/* A quiet final layer: compact navigation, consistent type, original family photos. */
.home-page .principles {
  width: min(100% - 2.5rem, 60rem);
  margin: 1.5rem auto 1.25rem;
  border-radius: .6rem;
  background: linear-gradient(110deg, #eef2eb, #fffdf7 52%, #f3ebdc);
  box-shadow: none;
}
.home-page .principles > div { padding: .8rem 1.1rem; }
.home-page .principles strong { font-size: 1.1rem; line-height: 1.35; }
.home-page .principles p { margin: .25rem auto 0; font-size: .875rem; line-height: 1.5; }
.vsta-tonal-depth .launch-card h3,
.vsta-tonal-depth .pathway h3,
.vsta-tonal-depth .professional-card h3,
.vsta-tonal-depth .support-card h3 {
  font-family: var(--display-font, 'VSTA Lora'), Georgia, serif;
}
.theme-rocco main h2:not(.child-art-heading):not(.school-art-story h2) {
  font-family: Nunito, ui-rounded, system-ui, sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.3;
  font-weight: 900;
}
.theme-school .resource-header::before {
  background-size: cover;
  background-position: center 62%;
  opacity: .28;
  -webkit-mask-image: linear-gradient(180deg, #0002, #0009 40%, #000 80%);
  mask-image: linear-gradient(180deg, #0002, #0009 40%, #000 80%);
}
.theme-school .resource-hero,
.theme-hospital .resource-hero,
.theme-responders .resource-hero { padding-block: 2.7rem 3rem; }
.theme-school .resource-hero h1,
.theme-hospital .resource-hero h1,
.theme-responders .resource-hero h1 { font-size: clamp(2.4rem, 4.7vw, 4.1rem); }

.favorites-page .find-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  align-items: center;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto 1rem;
  padding: 2rem 1.5rem;
}
.favorites-page .find-hero > div { max-width: 44rem; }
.favorites-page .find-hero h1 {
  font-family: 'VSTA Lora', Lora, Georgia, serif !important;
  font-size: clamp(2rem, 3.4vw, 3rem) !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: -.025em !important;
  margin: .65rem auto 1rem;
}
.favorites-page .find-hero p:not(.eyebrow):not(.lead) { font-size: .9375rem; line-height: 1.65; }
.favorites-page .find-hero .lead { font-size: 1.1rem; margin-bottom: .5rem; }
.favorites-page .family-favorite-photo {
  display: block;
  width: 210px;
  height: 250px;
  object-fit: cover;
  border-radius: 1.2rem;
  filter: saturate(.9);
  -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 74%, transparent 100%);
}
.favorites-page .layla-favorites-intro {
  display: grid;
  grid-template-columns: 230px minmax(0, 32rem);
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 2rem auto 1rem;
  padding: 1.4rem 1rem;
  border-block: 1px solid #dccdb5;
  background: linear-gradient(120deg, #f6eee3, #fffdf8 62%, #f2e8ec);
}
.favorites-page .layla-favorites-intro .section-heading { padding: 0; }
.favorites-page .layla-favorites-intro .family-favorite-photo {
  width: 230px;
  height: auto;
  border-radius: .8rem;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 17%, #000 78%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 17%, #000 78%, transparent);
}
.favorites-page .find-grid { gap: 0 1.75rem; }
.favorites-page .find-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  align-content: center;
  align-items: center;
  column-gap: 1rem;
  padding: 1.2rem .25rem;
}
.favorites-page .find-card > .find-label,
.favorites-page .find-card > h3,
.favorites-page .find-card > p,
.favorites-page .find-card > .retailer-buttons { grid-column: 2; }
.favorites-page .find-card h3 { margin: .3rem auto; font-size: 1.05rem; }
.favorites-page .find-card p { margin: .2rem auto; font-size: .875rem; }
.favorites-page .find-card .find-label { font-size: .75rem; color: #4d6257; }
.favorites-page .product-thumbnail {
  grid-column: 1;
  grid-row: 1 / span 5;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 108px;
  height: 120px;
  padding: .35rem;
  background: #fff;
  border: 1px solid #e3e2d9;
  border-radius: .65rem;
}
.favorites-page .product-thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.favorites-page .product-thumbnail:hover { border-color: #7b9a8b; }
.favorites-page .retailer-buttons { margin-top: .15rem; padding-top: 0; }
.favorites-page .retailer-buttons a { min-height: 44px; font-size: .875rem; }
.favorites-page .find-card.current-favorite { border-top: 2px solid #9d8da6; }
.favorites-page .find-card.no-product-photo { grid-template-columns: 1fr; }
.favorites-page .find-card.no-product-photo > * { grid-column: 1; }
.favorites-page .category-nav { padding-bottom: 1rem; }
.favorites-page .affiliate-notice { max-width: 60rem; margin: 1rem auto .5rem; }

@font-face { font-family: 'VSTA Text Lora'; src: url('/assets/fonts/lora-regular.ttf'); font-display: swap; }
.vsta-text-companion { background: #faf8f1; }
.vsta-text-companion .text-companion-header {
  display: flex;
  justify-content: center;
  padding: .5rem 0 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #c9b47f;
}
.vsta-text-companion .text-companion-header img { display: block; width: 170px; height: auto; }
.vsta-text-companion h1,
.vsta-text-companion h2 { font-family: 'VSTA Text Lora', Georgia, serif; font-weight: 400; line-height: 1.3; }
.vsta-text-companion h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-block: 2rem 1rem; }
.vsta-text-companion h2 { font-size: 1.8rem; }
.vsta-text-companion section { margin-block: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #d8cfb9; }
.vsta-text-companion summary { min-height: 44px; padding-block: .4rem; }
@media (max-width: 760px) {
  .favorites-page .find-hero { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem 1rem; }
  .favorites-page .find-hero .family-favorite-photo { margin: auto; width: 170px; height: 205px; }
  .favorites-page .layla-favorites-intro { grid-template-columns: 1fr; gap: .5rem; }
  .favorites-page .layla-favorites-intro .family-favorite-photo { width: min(230px, 100%); margin: auto; }
  .favorites-page .find-grid { grid-template-columns: 1fr; max-width: 36rem; }
  .theme-school .resource-hero,
  .theme-hospital .resource-hero,
  .theme-responders .resource-hero { padding-block: 2.1rem 2.4rem; }
}
@media (max-width: 640px) {
  .home-page .principles > div { padding: .65rem 1rem; }
  .home-page .principles strong { font-size: 1rem; }
  .home-page .principles p { font-size: .875rem; }
  .favorites-page .find-card { grid-template-columns: 84px minmax(0, 1fr); gap: .6rem; }
  .favorites-page .product-thumbnail { width: 84px; height: 105px; }
}
@media print, (forced-colors: active) {
  .favorites-page .family-favorite-photo { -webkit-mask-image: none; mask-image: none; }
}

/* The setting is a supporting layer; the three covers remain the focal point. */
.home-page #books .book-image-wrap { background: #f0eee4; }
.home-page #books .book-image-wrap::before { opacity: .46; filter: saturate(.75); }
.home-page #books .book-image-wrap::after { background: linear-gradient(180deg, #fffaf038, #faf5e65c); }
.theme-hospital .resource-header::before,
.theme-responders .resource-header::before { opacity: .18; }

/* Original family photographs, without a fade crossing either face. */
.favorites-page .layla-favorites-intro {
  grid-template-columns: 170px minmax(0, 32rem);
  background: #fff;
  border: 1px solid #e3dfd4;
  border-radius: .8rem;
}
.favorites-page .layla-favorites-intro .family-favorite-photo {
  width: 160px;
  height: auto;
  border-radius: .7rem;
  -webkit-mask-image: none;
  mask-image: none;
  filter: none;
}
.favorites-page .find-hero.opening-light::before {
  -webkit-mask-image: radial-gradient(ellipse at 55% 50%, #000 30%, transparent 73%);
  mask-image: radial-gradient(ellipse at 55% 50%, #000 30%, transparent 73%);
}
@media (max-width:760px) {
  .favorites-page .layla-favorites-intro { grid-template-columns: 1fr; }
  .favorites-page .layla-favorites-intro .family-favorite-photo { width: 150px; }
}
