/* National AI SEO only. The text sets the spread height; the photo sits in
   the cover's lower-right window, as it does on the homepage notebook. */
body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .sb-foundation-spread {
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  align-items: start;
  gap: 32px;
  padding: 0 8px 5px 0;
}
body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .sb-foundation-spread > .ai-story-book {
  width: 100%;
  max-width: 360px;
  height: 100%;
  min-height: 340px;
  padding: 24px 24px 22px 28px;
}
body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .ai-story-book > :not(.ai-story-book-scene) {
  position: relative;
  z-index: 1;
}
body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .ai-story-book-logo {
  width: 140px;
  height: 62px;
  margin-bottom: 10px;
}
body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .ai-story-book h3 {
  margin-bottom: 18px;
  font-size: 34px;
}
body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .ai-story-book-scene {
  position: absolute;
  z-index: 0;
  top: auto;
  right: -1px;
  bottom: -1px;
  width: 64%;
  height: 55%;
  max-height: 310px;
  margin: 0;
  border: 0;
  border-top: 4px solid #c9beaa;
  border-left: 4px solid #c9beaa;
  border-radius: 120px 0 9px 0;
  object-fit: cover;
  object-position: 50% 55%;
  box-shadow: none;
}
body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .ai-story-book ul {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  width: 32%;
  margin-top: auto;
}
body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .ai-story-book-sign {
  width: 34%;
}
body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .sb-foundation-page {
  align-self: start;
  padding: 28px 30px 24px;
}
body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .sb-foundation-page .dn-section-opening {
  gap: 12px;
  margin-bottom: 18px;
}
body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .sb-customer-path {
  margin-block: 16px 14px;
}
body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .sb-foundation-notes {
  margin-bottom: 12px;
}
body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .sb-foundation-notes > li {
  padding-block: 12px;
}
@media (max-width: 1100px) and (min-width: 851px) {
  body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .sb-foundation-spread {
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    gap: 24px;
  }
  body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .sb-foundation-page {
    padding: 26px 24px 22px;
  }
}
@media (max-width: 850px) {
  body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .sb-foundation-spread {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .sb-foundation-spread > .ai-story-book {
    height: auto;
    min-height: 0;
    max-width: 600px;
    padding: 22px 24px;
  }
  body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .ai-story-book > :not(.ai-story-book-scene) {
    max-width: 60%;
  }
  body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .ai-story-book-logo {
    width: 120px;
    height: 54px;
    margin-bottom: 8px;
  }
  body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .ai-story-book h3 {
    font-size: 28px;
    margin-bottom: 14px;
  }
  body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .ai-story-book-scene {
    width: 38%;
    height: calc(100% + 2px);
    max-height: none;
    border-top: 0;
    border-radius: 100px 0 9px 0;
  }
  body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .ai-story-book ul {
    width: 60%;
    gap: 4px;
    margin-top: 0;
  }
  body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .ai-story-book-sign {
    width: 60%;
    margin-top: 10px;
  }
}
@media (max-width: 600px) {
  body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .sb-foundation-page {
    padding: 24px 20px 20px;
  }
  body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .sb-foundation-spread > .ai-story-book {
    padding: 20px 18px 20px 22px;
  }
  body #main[data-search-branding="1"] #website-and-seo-first[data-booklet-refinement="1"] .ai-story-book h3 {
    font-size: clamp(24px, 6.7vw, 28px);
  }
}
