/* SarvTalk introduction and future subscription invitation. */
.sarvtalk-welcome {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-block: 1rem 3rem;
  font-family: var(--sarv-font);
  text-align: right;
}
.sarvtalk-welcome__card {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 3rem);
  border: 1px solid #d9bd83;
  border-radius: 1.5rem;
  background: #faf4e7;
  box-shadow: 0 0.6rem 1.8rem rgb(88 62 20 / 6%);
}
.sarvtalk-welcome__intro {
  border-block-start: 4px solid #b47a26;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 8% 9%, #f4d998 0, #faefd7 22%, #faf4e7 58%);
}
.sarvtalk-welcome__intro::before {
  content: "";
  position: absolute;
  width: 16rem;
  height: 16rem;
  left: -6rem;
  top: -7rem;
  border: 1px solid rgb(180 122 38 / 18%);
  border-radius: 50%;
  box-shadow: 0 0 0 1.8rem rgb(180 122 38 / 5%), 0 0 0 3.8rem rgb(180 122 38 / 3%);
  pointer-events: none;
  z-index: -1;
}
.sarvtalk-welcome__heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-block-end: 1.25rem; }
.sarvtalk-welcome .sarvtalk-welcome__heading h2 { margin: 0; text-shadow: 0 2px 18px rgb(204 147 47 / 15%); }
.sarvtalk-emblem {
  position: relative;
  flex: 0 0 clamp(5rem, 8vw, 7rem);
  color: #a56e20;
  border-radius: 50%;
  background: radial-gradient(circle, #fff7dd 15%, rgb(246 211 132 / 45%) 58%, transparent 72%);
  filter: drop-shadow(0 0 13px rgb(218 165 55 / 38%));
}
.sarvtalk-emblem__image { display: block; width: 100%; height: auto; position: relative; z-index: 1; filter: brightness(0) saturate(100%) invert(47%) sepia(57%) saturate(654%) hue-rotate(357deg) brightness(91%) contrast(91%); }
.sarvtalk-emblem::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 221 132 / 85%) 0%, rgb(239 179 54 / 38%) 45%, transparent 72%);
  box-shadow: 0 0 38px 18px rgb(226 177 69 / 42%);
  pointer-events: none;
  animation: sarvtalk-glow 3.6s ease-in-out infinite;
}
.sarvtalk-emblem__spark { transform-origin: 79px 24px; animation: sarvtalk-shine 5s ease-in-out infinite; }
@keyframes sarvtalk-glow {
  0%, 100% { opacity: .22; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.3); }
}
.sarvtalk-welcome__intro::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgb(255 249 216 / 0%) 39%, rgb(255 252 235 / 78%) 49%, rgb(255 227 151 / 38%) 54%, transparent 64%);
  transform: translateX(-125%);
  animation: sarvtalk-card-shine 6s ease-in-out infinite reverse;
}
@keyframes sarvtalk-card-shine {
  0%, 12% { transform: translateX(-125%); opacity: 0; }
  22% { opacity: .85; }
  72% { transform: translateX(125%); opacity: .85; }
  82%, 100% { transform: translateX(125%); opacity: 0; }
}
@keyframes sarvtalk-shine { 0%, 100% { opacity: .45; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) {
  .sarvtalk-emblem::before, .sarvtalk-emblem__spark { animation: none; }
  .sarvtalk-welcome__intro::after { animation: none; display: none; }
}
.sarvtalk-welcome h2 { margin: 0 0 1rem; color: #745019; font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1.65; }
.sarvtalk-welcome .sarvtalk-welcome__title { font-size: clamp(2.3rem, 4vw, 3.5rem); font-weight: 800; line-height: 1.35; }
.sarvtalk-welcome p { margin: 0; color: #443c2f; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 2.15; }
.sarvtalk-welcome__subscribe { background: #f7f2e9; display: flex; flex-direction: column; align-items: flex-start; }
.sarvtalk-welcome__eyebrow { color: #745019; font-size: .9rem; font-weight: 600; margin-block-end: .75rem; }
.sarvtalk-welcome .sarvtalk-welcome__notice { margin-block-start: 1.25rem; padding-block-start: 1rem; border-block-start: 1px solid #d9bd83; font-size: .9rem; }
@media (max-width: 767px) {
  .sarvtalk-welcome { grid-template-columns: minmax(0, 1fr); margin-block-end: 2rem; }
}
:root {
  color-scheme: light;
  --sarv-blue: #075773;
  --sarv-teal: #187d9b;
  --sarv-clay: #c47d6d;
  --sarv-sage: #a8bfaf;
  --sarv-cream: #f7f2e9;
  --sarv-mist: #e8f2f3;
  --sarv-white: #fcfbf8;
  --sarv-charcoal: #26383d;
  --sarv-font: "Vazirmatn", Tahoma, Arial, sans-serif;
  --sarv-content-width: 100%;
  --sarv-content-narrow: 48rem;
  --sarv-radius-small: 0.5rem;
  --sarv-radius-card: 1rem;
  --sarv-radius-large: 1.5rem;
  --sarv-shadow-soft: 0 0.6rem 1.8rem rgb(38 56 61 / 8%);
  --sarv-border: 1px solid rgb(7 87 115 / 14%);
}

@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/vazirmatn-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/vazirmatn-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html {
  direction: rtl;
  scroll-behavior: smooth;
  scroll-padding-block-start: 1rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--sarv-charcoal);
  background: var(--sarv-white);
  font-family: var(--sarv-font);
  line-height: 1.85;
}

button,
input,
textarea,
select {
  font: inherit;
}

label {
  display: inline-block;
  margin-block-end: 0.35rem;
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="search"],
input[type="date"],
input[type="time"],
input[type="number"],
select,
textarea {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid rgb(38 56 61 / 40%);
  border-radius: var(--sarv-radius-small);
  padding: 0.55rem 0.7rem;
  color: var(--sarv-charcoal);
  background: var(--sarv-white);
}

textarea {
  min-height: 10rem;
  resize: vertical;
}

button,
input[type="submit"],
.forminator-button {
  min-height: 2.75rem;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  color: var(--sarv-white);
  background: var(--sarv-blue);
  cursor: pointer;
  font-weight: 700;
}

button:hover,
input[type="submit"]:hover,
.forminator-button:hover {
  background: #06465d;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--sarv-blue);
  text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--sarv-clay);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  z-index: 1000;
  inset-block-start: 0.5rem;
  inset-inline-start: 0.5rem;
  padding: 0.65rem 1rem;
  color: var(--sarv-white);
  background: var(--sarv-blue);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-main {
  min-height: 50vh;
  flex: 1 0 auto;
}

#site {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: var(--sarv-border);
  background: var(--sarv-white);
}

.site-header__inner {
  display: grid;
  width: min(100% - 2rem, var(--sarv-content-width));
  min-height: 5.25rem;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
  margin-inline: auto;
  direction: ltr;
}

.site-branding {
  min-width: 0;
  direction: rtl;
}

.site-branding .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.site-branding .custom-logo {
  width: auto;
  max-width: min(12rem, 42vw);
  max-height: 3.75rem;
  object-fit: contain;
}

.site-title,
.site-footer__title {
  color: var(--sarv-blue);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.primary-navigation {
  justify-self: end;
  direction: rtl;
}

.menu-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-navigation .menu-list {
  justify-content: flex-start;
}

.menu-list a {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  border-radius: var(--sarv-radius-small);
  padding: 0.35rem 0.5rem;
  color: var(--sarv-charcoal);
  font-size: 0.87rem;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.menu-list a:hover,
.menu-list .current-menu-item > a,
.menu-list .current_page_item > a {
  color: var(--sarv-blue);
  background: var(--sarv-mist);
}

.menu-toggle {
  display: none;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: var(--sarv-border);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  color: var(--sarv-blue);
  background: var(--sarv-white);
  cursor: pointer;
  font-weight: 700;
}

.menu-toggle:hover {
  background: var(--sarv-mist);
}

.menu-toggle__icon {
  position: relative;
  display: inline-block;
  width: 1.15rem;
  height: 0.12rem;
  border-radius: 1rem;
  background: currentColor;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
  position: absolute;
  inset-inline: 0;
  height: 0.12rem;
  border-radius: 1rem;
  background: currentColor;
  content: "";
}

.menu-toggle__icon::before {
  inset-block-start: -0.36rem;
}

.menu-toggle__icon::after {
  inset-block-start: 0.36rem;
}

.site-footer {
  margin-block-start: 4rem;
  color: var(--sarv-blue);
  background: var(--sarv-cream);
}

.site-footer__inner {
  display: grid;
  width: min(100% - 2rem, var(--sarv-content-width));
  grid-template-columns: 1fr;
  text-align: center;
  align-items: start;
  gap: 2rem;
  margin-inline: auto;
  padding-block: 2.5rem;
}

.site-footer .site-footer__inner {
  display: flex;
  direction: ltr;
  justify-content: space-between;
  align-items: center;
  min-height: 15rem;
  padding-block: 3rem;
}
.site-footer__brand { text-align: left; direction: rtl; }
.site-footer .site-footer__brand .custom-logo { height: 9rem; }
.site-footer .site-footer__description { color: var(--sarv-blue); }
.site-footer__social { text-align: right; order: 2; }
.site-footer__social p { margin: 0 0 1rem; font-size: 1.15rem; font-weight: 600; }
.site-footer__social-links { display: flex; gap: 1rem; }
.site-footer__social-links a { display: inline-flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; border: var(--sarv-border); border-radius: 50%; background: var(--sarv-white); color: var(--sarv-blue); }
.site-footer__social-links a:hover { background: var(--sarv-mist); }
.site-footer__social-links a:focus-visible { outline: 3px solid var(--sarv-blue); outline-offset: 3px; }
.site-footer .footer-navigation { order: 1; }
.site-footer .footer-navigation:not(:has(ul)) { display: none; }
@media (max-width: 36rem) {
  .site-footer .site-footer__inner { gap: 1rem; }
  .site-footer .site-footer__brand .custom-logo { height: 7.5rem; }
  .site-footer__social { max-width: 60%; }
  .site-footer__social p { font-size: 1rem; }
}
.site-footer__title {
  display: inline-block;
  color: var(--sarv-white);
}

.site-footer__brand .custom-logo-link {
  display: inline-block;
}

.site-footer__brand .custom-logo {
  display: block;
  width: auto;
  height: 7rem;
  max-width: 100%;
  object-fit: contain;
}

.site-footer__description {
  max-width: 34rem;
  margin-block: 0.6rem 0;
  color: rgb(252 251 248 / 82%);
  font-size: 0.95rem;
}

.footer-navigation {
  justify-self: center;
  direction: rtl;
}

.footer-navigation .menu-list {
  justify-content: flex-start;
  gap: 0.2rem 0.6rem;
}

.footer-navigation .menu-list a {
  color: var(--sarv-blue);
}

.footer-navigation .menu-list a:hover,
.footer-navigation .menu-list .current-menu-item > a,
.footer-navigation .menu-list .current_page_item > a {
  color: var(--sarv-blue);
  background: rgb(252 251 248 / 14%);
}

.site-footer__bottom {
  border-top: 1px solid rgb(252 251 248 / 22%);
  background: var(--sarv-blue);
}

.site-copyright {
  text-align: center;
  width: min(100% - 2rem, var(--sarv-content-width));
  margin: 0 auto;
  padding-block: 0.85rem 1rem;
  color: rgb(252 251 248 / 82%);
  font-size: 0.85rem;
}

.picture-placeholder {
  display: grid;
  min-height: 12rem;
  place-items: center;
  border: 1px dashed rgb(7 87 115 / 28%);
  border-radius: var(--sarv-radius-card);
  color: var(--sarv-blue);
  background: transparent;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
}

.screen-reader-text:focus {
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
  position: static;
}

.content-shell {
  width: min(100% - 2rem, var(--sarv-content-width));
  margin-inline: auto;
  padding-block: clamp(2rem, 5vw, 4.5rem);
}

.content-shell--narrow {
  width: min(100% - 2rem, var(--sarv-content-narrow));
}

.archive-header {
  max-width: var(--sarv-content-narrow);
  margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
}

.archive-header h1,
.entry-title {
  margin: 0;
  color: var(--sarv-blue);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.35;
  text-wrap: pretty;
}

.archive-description {
  margin-block-start: 0.75rem;
}

.archive-header--editorial {
  position: relative;
  max-width: 57rem;
  margin-block-end: clamp(2rem, 5vw, 3.25rem);
  border-inline-start: 0.3rem solid var(--sarv-clay);
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.1rem, 3vw, 2rem);
  background: linear-gradient(110deg, var(--sarv-cream), rgb(247 242 233 / 25%));
}

.archive-eyebrow {
  margin: 0 0 0.45rem;
  color: var(--sarv-teal);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.archive-header--editorial h1 {
  color: var(--sarv-blue);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
}

.archive-header--editorial .archive-description {
  max-width: 44rem;
  font-size: 1.03rem;
}

.page-editorial-header {
  margin-inline: 0;
}

.page-collection {
  margin-block-start: clamp(2rem, 5vw, 3.5rem);
}

.page-collection__title {
  margin: 0 0 1.25rem;
  color: var(--sarv-blue);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.page-collection__empty {
  margin-block-start: 2rem;
  border: var(--sarv-border);
  border-radius: var(--sarv-radius-card);
  padding: 1.25rem;
  background: var(--sarv-mist);
}

.page-collection__empty p {
  margin: 0;
}

.contact-notice {
  margin-block: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: var(--sarv-border);
  border-radius: var(--sarv-radius-large);
  background: var(--sarv-mist);
  color: var(--sarv-charcoal);
  text-align: center;
}
.contact-notice h1 {
  margin: 0 0 1rem;
  color: var(--sarv-blue);
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.contact-notice__email {
  display: inline-block;
  color: var(--sarv-blue);
  font-size: clamp(1rem, 3vw, 1.4rem);
  font-weight: 700;
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.contact-notice__note {
  margin-block-end: 0;
  font-size: 0.9rem;
}

.marketplace-coming-soon {
  display: grid;
  place-items: center;
  min-height: clamp(22rem, 55vh, 36rem);
  padding: clamp(2rem, 6vw, 6rem);
  margin-block: 2rem;
  border-radius: var(--sarv-radius-large);
  background: linear-gradient(135deg, #174b3b, #2d6951);
  color: #fcfbf8;
  text-align: center;
  box-shadow: var(--sarv-shadow-soft);
}

.marketplace-coming-soon h1 {
  max-width: 22ch;
  margin: 0;
  color: inherit;
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.65;
}

.bookstore-card {
  background: linear-gradient(180deg, var(--sarv-white), rgb(232 242 243 / 40%));
}

.bookstore-card__body {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.15rem;
}

.bookstore-card__body .archive-eyebrow {
  margin-block-end: 0.25rem;
}

.bookstore-card__body .entry-title {
  font-size: 1.3rem;
}

.bookstore-card__author {
  margin: 0.35rem 0 0;
  color: #42575d;
  font-weight: 700;
}

.bookstore-card__body .entry-content {
  padding: 0;
  margin-block: 0.6rem 1rem;
}

.bookstore-card__body .content-details__action {
  margin-block-start: auto;
}

.entry-card .content-details {
  margin: 0.4rem 1.15rem 1rem;
  padding: 0.85rem;
  box-shadow: none;
}

.entry-card .content-details__list {
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.entry-card .content-details__action {
  min-height: 2.5rem;
  padding-inline: 0.9rem;
  font-size: 0.9rem;
}


/* Compact book metadata on listing and homepage cards, including future books. */
:is(.entry-card.sarv_book, .home-feature--sarv_book) .content-details {
  gap: 0.5rem;
  padding: 0.65rem 0.8rem;
  margin-block: 0.5rem;
}
:is(.entry-card.sarv_book, .home-feature--sarv_book) .content-details__list {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(3, minmax(1.5rem, auto));
  gap: 0.25rem;
}
:is(.entry-card.sarv_book, .home-feature--sarv_book) .content-details__item {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: baseline;
  column-gap: 0.5rem;
  line-height: 1.65;
}
:is(.entry-card.sarv_book, .home-feature--sarv_book) .content-details__item dt {
  font-size: 0.85rem;
}
:is(.entry-card.sarv_book, .home-feature--sarv_book) .content-details__item dt::after {
  content: "：";
}
:is(.entry-card.sarv_book, .home-feature--sarv_book) .content-details__item dd {
  margin: 0;
  min-width: 0;
  font-size: 0.9rem;
}

/* Remove embedded letterbox bands from older YouTube thumbnails, using the same widescreen frame as newer episodes. */
.entry-card.sarv_podcast .entry-card__image-link,
.home-feature--sarv_podcast .home-feature__media {
  background: var(--sarv-mist);
}
.entry-card.sarv_podcast .entry-card__image-link img[width="480"][height="360"],
.home-feature--sarv_podcast .home-feature__image[width="480"][height="360"] {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  clip-path: none;
}

/* Preserve complete widescreen YouTube thumbnails in podcast cards. */
.entry-card.sarv_podcast .entry-card__image-link img:not([width="480"][height="360"]),
.home-feature--sarv_podcast .home-feature__image:not([width="480"][height="360"]) {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  clip-path: none;
}

/* Compact metadata for all podcast cards, including homepage features. */
:is(.entry-card.sarv_podcast, .home-feature--sarv_podcast) .content-details {
  gap: 0.5rem;
  padding: 0.65rem 0.8rem;
  margin-block: 0.5rem;
}
:is(.entry-card.sarv_podcast, .home-feature--sarv_podcast) .content-details__list {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.25rem;
}
:is(.entry-card.sarv_podcast, .home-feature--sarv_podcast) .content-details__item {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: baseline;
  column-gap: 0.5rem;
  line-height: 1.65;
}
:is(.entry-card.sarv_podcast, .home-feature--sarv_podcast) .content-details__item dt {
  font-size: 0.85rem;
}
:is(.entry-card.sarv_podcast, .home-feature--sarv_podcast) .content-details__item dt::after {
  content: ":";
}
:is(.entry-card.sarv_podcast, .home-feature--sarv_podcast) .content-details__item dd {
  margin: 0;
  min-width: 0;
  font-size: 0.9rem;
}
:is(.entry-card.sarv_podcast, .home-feature--sarv_podcast) .content-details__action {
  min-height: 2.25rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
}

.entry-card.sarv_book { scroll-margin-top: 8rem; }

/* Show complete portrait book covers without cropping. */
.entry-card.sarv_book .entry-card__image-link img,
.home-feature--sarv_book .home-feature__image {
  display: block;
  width: 100%;
  height: 24rem;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: var(--sarv-mist);
}
.sarv_book .entry-featured-image img {
  height: auto;
  max-height: none;
  object-fit: contain;
}
.entry-card.sarv_book .entry-card__placeholder,
.home-feature--sarv_book .home-feature__placeholder {
  height: 24rem;
  min-height: 0;
  aspect-ratio: auto;
}

/* Shared book-talk card layout, including future events. */
:is(.entry-card.sarv_event, .home-feature--sarv_event) .content-details {
  gap: 0.5rem;
  padding: 0.65rem 0.8rem;
  margin-block: 0.5rem;
}
:is(.entry-card.sarv_event, .home-feature--sarv_event) .content-details__list {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.25rem;
}
:is(.entry-card.sarv_event, .home-feature--sarv_event) .content-details__item {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: baseline;
  column-gap: 0.5rem;
  line-height: 1.65;
}
:is(.entry-card.sarv_event, .home-feature--sarv_event) .content-details__item dt {
  font-size: 0.85rem;
}
:is(.entry-card.sarv_event, .home-feature--sarv_event) .content-details__item dt::after {
  content: ":";
}
:is(.entry-card.sarv_event, .home-feature--sarv_event) .content-details__item dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
}
:is(.entry-card.sarv_event, .home-feature--sarv_event) .content-details__action {
  min-height: 2.25rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
}
.entry-card.sarv_event .entry-card__image-link img,
.home-feature--sarv_event .home-feature__image {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.visitor-page__article {
  overflow: hidden;
  border: var(--sarv-border);
  border-radius: var(--sarv-radius-large);
  background: var(--sarv-white);
  box-shadow: var(--sarv-shadow-soft);
}

.visitor-page__header {
  width: auto;
  max-width: none;
  margin: 0;
  border: 0;
  border-block-end: var(--sarv-border);
  padding: clamp(1.4rem, 4vw, 2.5rem);
}

.visitor-page--support .visitor-page__header {
  background: linear-gradient(135deg, var(--sarv-cream), rgb(196 125 109 / 12%));
}

.visitor-page--collaborate .visitor-page__header {
  background: linear-gradient(135deg, var(--sarv-mist), rgb(168 191 175 / 25%));
}

.visitor-page--contact .visitor-page__header {
  background: linear-gradient(135deg, var(--sarv-cream), var(--sarv-mist));
}

.visitor-page__content {
  padding: clamp(1.4rem, 4vw, 2.5rem);
}

.visitor-page__content > :first-child {
  margin-block-start: 0;
}

.visitor-page__content > :last-child {
  margin-block-end: 0;
}

.visitor-page__content .wp-block-group,
.visitor-page__content .wp-block-columns {
  margin-block: 1.5rem;
}

.visitor-page__content .wp-block-button__link {
  border-radius: 999px;
  background: var(--sarv-blue);
  color: var(--sarv-white);
  text-decoration: none;
}

.home-destinations--expanded {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-destination:nth-child(5) {
  border-inline-start-color: var(--sarv-clay);
}

.home-destination:nth-child(6) {
  border-inline-start-color: var(--sarv-sage);
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.entry {
  min-width: 0;
}

.entry-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: var(--sarv-border);
  border-radius: var(--sarv-radius-card);
  background: var(--sarv-white);
  box-shadow: var(--sarv-shadow-soft);
}

.entry-card__image-link {
  display: block;
  overflow: hidden;
  background: var(--sarv-mist);
}

.entry-image,
.entry-card__image-link img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.entry-card__image-link img {
  aspect-ratio: 4 / 3;
}

/* Fill the first SarvTalk card's image frame with its 16:9 landscape artwork. */
.entry-card.sarv_event#post-302 .entry-card__image-link {
  position: relative;
  aspect-ratio: 16 / 9;
}

.entry-card.sarv_event#post-302 .entry-card__image-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.entry-card__placeholder {
  min-height: 0;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 0;
  background: var(--sarv-mist);
}

.entry-card .entry-header,
.entry-card .entry-content {
  padding-inline: 1.15rem;
}

.entry-card .entry-header {
  padding-block-start: 1.1rem;
}

.entry-card .entry-title {
  font-size: 1.25rem;
}

.entry-title a {
  color: inherit;
  text-decoration-thickness: 0.08em;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.85rem;
  margin-block: 0.5rem 0;
  color: #42575d;
  font-size: 0.9rem;
}

.entry-card .entry-content {
  padding-block: 0.5rem 1.25rem;
}

.entry-content > :first-child {
  margin-block-start: 0;
}

.entry-content > :last-child {
  margin-block-end: 0;
}

.entry-attribution {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.65rem;
  margin-block: 0.9rem 0;
  color: #42575d;
  font-size: 0.92rem;
}

.entry-attribution__name {
  color: var(--sarv-blue);
  font-weight: 700;
}

.entry-card .entry-attribution {
  margin-inline: 1.15rem;
  padding-block-end: 1.25rem;
}

.entry-featured-image {
  margin: 1.5rem 0;
}

.entry-featured-image img {
  width: 100%;
  max-height: 40rem;
  border-radius: var(--sarv-radius-card);
  object-fit: cover;
}

.entry-content {
  overflow-wrap: anywhere;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--sarv-blue);
  line-height: 1.5;
  text-wrap: pretty;
}

.entry-content figure {
  max-width: 100%;
}

.entry-content .wp-block-table {
  max-width: 100%;
  overflow-x: auto;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  border: var(--sarv-border);
  padding: 0.5rem 0.75rem;
  text-align: start;
}

.content-details {
  display: grid;
  gap: 1rem;
  margin-block: 1.5rem;
  border: var(--sarv-border);
  border-radius: var(--sarv-radius-card);
  padding: clamp(1rem, 3vw, 1.5rem);
  background: var(--sarv-cream);
}

.content-details__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.5rem;
  margin: 0;
}

.content-details__item dt {
  color: #42575d;
  font-size: 0.88rem;
}

.content-details__item dd {
  margin: 0.15rem 0 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.content-details__action {
  display: inline-flex;
  width: fit-content;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  color: var(--sarv-white);
  background: var(--sarv-blue);
  font-weight: 700;
  text-decoration: none;
}

.content-details__action:hover {
  background: #06465d;
}

.pagination {
  margin-block-start: 2.5rem;
}

.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pagination .page-numbers {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: var(--sarv-border);
  border-radius: 999px;
  padding-inline: 0.7rem;
}

.pagination a.page-numbers {
  text-decoration: none;
}

.pagination .current {
  color: var(--sarv-white);
  background: var(--sarv-blue);
}

.entry-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-block-start: 2rem;
  border-block-start: var(--sarv-border);
  padding-block-start: 1rem;
}

.home-shell,
.home-section {
  width: min(100% - 2rem, var(--sarv-content-width));
  margin-inline: auto;
}

.home-hero {
  width: min(100% - 2rem, var(--sarv-content-width));
  margin: clamp(1.25rem, 3vw, 2.5rem) auto 0;
  border: var(--sarv-border);
  border-radius: var(--sarv-radius-large);
  background: var(--sarv-cream);
}

.home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(15rem, 0.8fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.25rem, 4vw, 3rem);
}

/* Two homepage pathways; existing destinations and assets retained. */
.home-pathways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.home-pathway {
  min-width: 0;
  border: 1px solid var(--sarv-sage);
  border-radius: 1.5rem;
  padding: clamp(1rem, 2.2vw, 2rem);
  background: var(--sarv-cream);
  color: var(--sarv-blue);
}
.home-pathway--free { background: var(--sarv-mist); border-color: #a6ced5; }
.home-pathway__label {
  display: flex; align-items: center; gap: 1rem;
  margin: 0 0 1rem; font-size: 1.1rem; font-weight: 800;
}
.home-pathway__label::after { display: none; }
.home-pathway--free .home-pathway__label { display: table; width: fit-content; background: #819d86; color: var(--sarv-white); border-radius: 2rem; padding: .1rem .8rem; }
.home-pathway--services .home-pathway__label { display: table; width: fit-content; background: var(--sarv-clay); color: var(--sarv-white); border-radius: 2rem; padding: .1rem .8rem; }
.home-pathway__heading { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.home-pathway__heading h2 { margin: 0; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.6; font-weight: 900; }
.home-pathway__badge { background: #819d86; color: var(--sarv-white); border-radius: 2rem; padding: .1rem .8rem; font-size: .9rem; font-weight: 700; white-space: nowrap; }
.home-pathway--services .home-pathway__badge { background: var(--sarv-clay); }
.home-pathway__description { margin: .75rem 0 1.7rem; font-size: 1rem; line-height: 1.9; }
.home-pathway__links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; }
.home-pathway__link {
 display: flex; align-items: center; justify-content: center; gap: .65rem;
 min-width: 0; padding: 1rem .65rem; border: 1px solid #aec8cb; border-radius: 1rem;
 color: var(--sarv-blue); text-decoration: none; font-weight: 800; font-size: 1.05rem;
}
.home-pathway--services .home-pathway__link { border-color: #dbb6a1; }
.home-pathway__link:hover { background: var(--sarv-white); }
.home-pathway__link:focus-visible { outline: 3px solid var(--sarv-teal); outline-offset: 3px; }
.home-pathway__icon { display: block; width: 2.75rem; height: 2.75rem; flex: none; background-color: #819d86; -webkit-mask: var(--pathway-icon) center / contain no-repeat; mask: var(--pathway-icon) center / contain no-repeat; }
.home-pathway--services .home-pathway__icon { background-color: var(--sarv-clay); }
.home-pathway__icon { filter: saturate(1.25); }
.home-pathway__icon--larger { transform: scale(1.3); }
@media(max-width:75rem) { .home-pathway__link { flex-direction: column; gap: .4rem; } }
@media(max-width:48rem) {
 .home-pathways { grid-template-columns: 1fr; }
 .home-pathway__links { gap: .5rem; }
 .home-pathway__link { font-size: .95rem; padding: .75rem .35rem; }
 .home-pathway__label::after { width: 4rem; }
}
.home-discovery-watermark {
  position: relative;
  isolation: isolate;
  display: flow-root;
  padding-bottom: var(--discovery-logo-space, 17.5rem);
}
.home-discovery-watermark::before {
  content: "";
  position: absolute;
  top: var(--discovery-logo-top, 50%);
  left: 50%;
  width: var(--discovery-logo-size, 50rem);
  height: var(--discovery-logo-size, 50rem);
  transform: translateX(-50%);
  z-index: -1;
  background: url("https://sarvspace.com/wp-content/uploads/2026/09/SarvSpaceLogoTransparent.png") center / contain no-repeat;
  opacity: 0.30;
  pointer-events: none;
}
.home-hero__copy {
  min-width: 0;
  position: relative;
  isolation: isolate;
}
.home-hero__copy::before {
  content: "";
  position: absolute;
  inset: -0.5rem;
  z-index: -1;
  background: url("https://sarvspace.com/wp-content/uploads/2026/09/SarvSpaceLogoTransparent.png") center / contain no-repeat;
  opacity: 0.10;
  pointer-events: none;
}

.home-hero__title {
  margin: 0;
  color: var(--sarv-blue);
  font-size: clamp(1.8rem, 4.2vw, 3.1rem);
  line-height: 1.45;
  text-wrap: pretty;
}

.home-hero__lead {
  margin-block-start: 0.75rem;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.home-hero__lead > :first-child {
  margin-block-start: 0;
}

.home-hero__lead > :last-child {
  margin-block-end: 0;
}

.home-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block-start: 1.5rem;
}

.home-link-button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.6rem 1.15rem;
  color: var(--sarv-white);
  background: var(--sarv-blue);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.home-link-button:hover {
  color: var(--sarv-white);
  background: #06465d;
}

.home-link-button--quiet {
  border: var(--sarv-border);
  color: var(--sarv-blue);
  background: transparent;
}

.home-link-button--quiet:hover {
  color: var(--sarv-blue);
  background: var(--sarv-mist);
}

.home-hero__media {
  min-width: 0;
}

.home-hero__image,
.home-hero__placeholder {
  width: 100%;
  min-height: 17rem;
  aspect-ratio: 1.1;
  border-radius: var(--sarv-radius-card);
  object-fit: cover;
}

/* Compact connected-families homepage hero only. */
.home-hero--connected {
  width: calc(100% - 2rem);
  overflow: hidden;
}
.home-hero--connected .home-hero__inner {
  width: 100%;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1rem, 2vw, 2rem);
  padding: 4px clamp(1rem, 2vw, 1.75rem);
}
.home-hero--connected .home-hero__copy::before {
  display: block;
  inset: 0.5rem;
  background-size: auto 85%;
  opacity: 0.07;
}
.home-hero--connected .home-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 0.75rem;
  color: var(--sarv-clay);
  font-size: clamp(1.125rem, 1.75vw, 1.375rem);
  font-weight: 750;
}
.home-hero--connected .home-hero__eyebrow::after { display: none; }
.home-hero--connected .home-hero__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.5;
  font-weight: 900;
}
.home-hero--connected .home-hero__lead {
  font-size: clamp(1.125rem, 1.5625vw, 1.3125rem);
  line-height: 1.9;
}
.home-hero--connected .home-hero__lead p { margin: 0.75rem 0 0; }
.home-hero--connected .home-hero__image {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
}
@media (max-width: 48rem) {
  .home-hero--connected .home-hero__inner { grid-template-columns: 1fr; }
  .home-hero--connected .home-hero__media { grid-row: 2; }
  .home-hero--connected .home-hero__title { font-size: clamp(2.5rem, 8.75vw, 3.75rem); }
}

.home-hero__placeholder {
  border: 1px dashed rgb(7 87 115 / 28%);
  background: rgb(252 251 248 / 65%);
}

.home-section {
  padding-block: clamp(2.25rem, 5vw, 4rem);
}

.home-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-block-end: 1.25rem;
}

.home-section__title {
  margin: 0;
  color: var(--sarv-blue);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.home-section__more {
  flex: 0 0 auto;
  font-weight: 700;
  text-decoration-thickness: 0.08em;
}

.home-destinations {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.8vw, 1.25rem);
}

.home-destination {
  min-width: 0;
  border: var(--sarv-border);
  border-inline-start: 0.25rem solid var(--sarv-teal);
  border-radius: var(--sarv-radius-card);
  background: var(--sarv-white);
  box-shadow: var(--sarv-shadow-soft);
  transition: border-color 160ms ease, transform 160ms ease;
}

.home-destination:nth-child(2) {
  border-inline-start-color: var(--sarv-clay);
}

.home-destination:nth-child(3) {
  border-inline-start-color: var(--sarv-sage);
}

.home-destination__link {
  display: flex;
  min-height: 6.5rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  padding: 1rem 1.15rem;
  color: inherit;
  text-decoration: none;
}

.home-destinations--expanded .home-destination__link {
  position: relative;
  padding-left: 5.5rem;
}
.home-destination__talk-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  pointer-events: none;
}
.home-destination__link--gift {
  position: relative;
}
.home-destination__gift-logo {
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  pointer-events: none;
}
a.home-destination__link:hover {
  color: var(--sarv-blue);
}

.home-destination__title {
  color: var(--sarv-blue);
  font-size: 1.1rem;
  font-weight: 700;
}

.home-destination__description {
  color: #42575d;
  font-size: 0.9rem;
}

.home-feature {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: var(--sarv-border);
  border-radius: var(--sarv-radius-card);
  background: var(--sarv-white);
  box-shadow: var(--sarv-shadow-soft);
}

.home-feature--wide {
  display: grid;
  grid-template-columns: minmax(14rem, 0.8fr) minmax(0, 1.2fr);
  align-items: stretch;
}

.home-feature__media {
  min-width: 0;
  overflow: hidden;
  background: var(--sarv-mist);
}

.home-feature__image,
.home-feature__placeholder {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-feature__placeholder {
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: var(--sarv-mist);
}

.home-feature__body {
  min-width: 0;
  padding: clamp(1rem, 2.2vw, 1.5rem);
}

.home-feature__label {
  margin: 0 0 0.3rem;
  color: #42575d;
  font-size: 0.9rem;
  font-weight: 700;
}

.home-feature__title {
  margin: 0;
  color: var(--sarv-blue);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.home-feature__title a {
  color: inherit;
  text-decoration-thickness: 0.08em;
}

.home-feature__excerpt {
  margin-block-start: 0.65rem;
}

.home-feature__excerpt > :first-child {
  margin-block-start: 0;
}

.home-feature__excerpt > :last-child {
  margin-block-end: 0;
}

.home-feature .content-details {
  margin-block: 1rem 0;
}

.home-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.home-entry-grid .entry-card {
  box-shadow: none;
}

.home-section--testimonials {
  padding-block-end: clamp(2.5rem, 6vw, 4.5rem);
}

.not-found,
.no-results {
  width: min(100% - 2rem, var(--sarv-content-narrow));
  margin-inline: auto;
  padding-block: 3rem;
}

@media (max-width: 58rem) {
  .entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.75fr);
    gap: 1.25rem;
  }

  .home-destinations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header__inner {
    min-height: 4.5rem;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem 1rem;
    padding-block: 0.5rem;
  }

  .site-branding {
    grid-column: 1;
  }

  .site-branding .custom-logo {
    max-height: 3rem;
  }

  .menu-toggle {
    grid-column: 2;
    justify-self: end;
  }

  .primary-navigation {
    grid-column: 1 / -1;
    justify-self: stretch;
    padding-block: 0 0.6rem;
    direction: rtl;
  }

  .primary-navigation .menu-list {
    align-items: stretch;
    flex-direction: column;
    gap: 0.15rem;
  }

  .primary-navigation .menu-list a {
    display: flex;
    width: 100%;
    padding-inline: 0.75rem;
  }

  html.has-menu-toggle .menu-toggle {
    display: inline-flex;
  }

  html.has-menu-toggle .primary-navigation:not(.is-open) {
    display: none;
  }
}

@media (min-width: 58.01rem) {
  .site-header {
    position: sticky;
    inset-block-start: 0;
  }
}

@media (max-width: 42rem) {
  .entry-grid {
    grid-template-columns: 1fr;
  }

  .home-hero {
    width: min(100% - 1.25rem, var(--sarv-content-width));
  }

  .home-hero__inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.15rem;
  }

  .home-hero__media {
    grid-row: 1;
  }

  .home-hero__image,
  .home-hero__placeholder {
    min-height: 12rem;
    aspect-ratio: 1.35;
  }

  .home-section__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-destinations,
  .home-features-grid {
    grid-template-columns: 1fr;
  }

  .home-feature--wide {
    grid-template-columns: 1fr;
  }

  .home-feature--wide .home-feature__image,
  .home-feature--wide .home-feature__placeholder {
    min-height: 12rem;
    aspect-ratio: 1.35;
  }

  .content-details__list {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-block: 2rem;
  }

  .footer-navigation {
    justify-self: stretch;
  }

  .footer-navigation .menu-list {
    align-items: flex-start;
  }
}

.home-destinations--expanded {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sarv-detail .entry {
  border-radius: var(--sarv-radius-large);
  padding: clamp(1.15rem, 3vw, 2rem);
  background: var(--sarv-white);
  box-shadow: var(--sarv-shadow-soft);
}

.sarv-detail .entry-header {
  border-inline-start: 0.25rem solid var(--sarv-teal);
  padding-inline-start: 1rem;
}

.sarv-detail--sarv_event .entry-header {
  border-inline-start-color: var(--sarv-clay);
}

.sarv-detail--sarv_podcast .entry-header {
  border-inline-start-color: var(--sarv-sage);
}

.sarv-detail--sarv_masterclass .entry-header {
  border-inline-start-color: var(--sarv-teal);
}

.sarv-detail .entry-featured-image img {
  max-height: 36rem;
}

.masterclass-schedule {
  margin-block: 1.5rem;
  padding: 1.1rem 1.35rem;
  background: var(--sarv-cream);
  border-inline-start: 4px solid var(--sarv-teal);
  border-radius: var(--sarv-radius-small);
}

.masterclass-schedule__title {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  color: var(--sarv-blue);
}

.masterclass-schedule__label {
  margin: 0 0 0.25rem;
  font-weight: 700;
  color: var(--sarv-blue);
}

.masterclass-schedule__body > :first-child,
.masterclass-schedule--compact > :last-child {
  margin-block-start: 0;
}

.masterclass-schedule__body > :last-child,
.masterclass-schedule--compact > :last-child {
  margin-block-end: 0;
}

.masterclass-schedule--compact {
  margin-block: 0.85rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.93rem;
}

@media (max-width: 58rem) {
  .home-destinations--expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 42rem) {
  .home-destinations--expanded {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}