/* Laleh interactive Persian medical heritage section — isolated styles */
.heritage-section {
  position: relative;
  overflow: hidden;
  padding: 118px 7vw 108px;
  color: #fdf8f4;
  background:
    radial-gradient(circle at 9% 18%, rgba(214, 148, 160, .22), transparent 24%),
    radial-gradient(circle at 88% 76%, rgba(181, 139, 69, .18), transparent 22%),
    linear-gradient(135deg, #551127 0%, #801738 46%, #3e4936 100%);
}

.heritage-section::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  inset-inline-end: -220px;
  top: -150px;
  background: url("assets/logo-mark-transparent.png") center/contain no-repeat;
  opacity: .095;
  filter: saturate(.9);
  mix-blend-mode: screen;
  pointer-events: none;
}

.heritage-section__pattern {
  position: absolute;
  inset: 0;
  opacity: .16;
  pointer-events: none;
  background-image:
    linear-gradient(30deg, transparent 47%, rgba(244, 216, 184, .22) 48%, rgba(244, 216, 184, .22) 52%, transparent 53%),
    linear-gradient(150deg, transparent 47%, rgba(244, 216, 184, .14) 48%, rgba(244, 216, 184, .14) 52%, transparent 53%);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.heritage-section__tulip {
  position: absolute;
  width: 220px;
  height: 330px;
  inset-inline-start: -40px;
  bottom: 36px;
  opacity: .12;
  transform: rotate(-10deg);
  background: url("assets/logo-mark-transparent.png") center/contain no-repeat;
  mix-blend-mode: screen;
  pointer-events: none;
}

.heritage-shell {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
}

.heritage-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(36px, 7vw, 100px);
  align-items: end;
  margin-bottom: 54px;
}

.heritage-kicker,
.heritage-timeline-label,
.heritage-story__category,
.heritage-bridge__kicker {
  margin: 0 0 12px;
  color: #efc9cf;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.heritage-heading h2 {
  max-width: 850px;
  margin: 0;
  font-family: var(--serif, "Playfair Display", Georgia, serif);
  font-size: clamp(48px, 6vw, 88px);
  line-height: .99;
  letter-spacing: -.035em;
}

html[dir="rtl"] .heritage-heading h2,
html[dir="rtl"] .heritage-story__content h3,
html[dir="rtl"] .heritage-bridge h3 {
  font-family: var(--persian, "Vazirmatn", sans-serif);
  letter-spacing: 0;
}

.heritage-heading > p {
  max-width: 600px;
  margin: 0;
  color: #f2dfe3;
  font-size: 18px;
  line-height: 1.75;
}

.heritage-explorer {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 2fr);
  gap: 22px;
  align-items: stretch;
}

.heritage-timeline-wrap {
  padding: 25px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  background: rgba(255,255,255,.065);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}

.heritage-timeline {
  position: relative;
  display: grid;
  gap: 9px;
}

.heritage-timeline::before {
  content: "";
  position: absolute;
  inset-inline-start: 21px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(232,195,134,.8), transparent);
}

.heritage-tab {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: center;
  width: 100%;
  min-height: 70px;
  padding: 10px 12px 10px 7px;
  border: 1px solid transparent;
  border-radius: 18px;
  color: #f6e9ec;
  background: transparent;
  text-align: start;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

html[dir="rtl"] .heritage-tab {
  padding: 10px 7px 10px 12px;
}

.heritage-tab:hover {
  transform: translateX(4px);
  background: rgba(255,255,255,.075);
}

html[dir="rtl"] .heritage-tab:hover {
  transform: translateX(-4px);
}

.heritage-tab[aria-selected="true"] {
  background: linear-gradient(135deg, rgba(255,255,255,.17), rgba(255,255,255,.085));
  border-color: rgba(239, 201, 207, .34);
  box-shadow: 0 15px 30px rgba(35, 5, 17, .16);
}

.heritage-tab__dot {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 45px;
  border-radius: 60% 60% 52% 52%;
  color: #7b1535;
  background: #d7b681;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(20,0,10,.2);
  transform: rotate(8deg);
}

.heritage-tab[aria-selected="true"] .heritage-tab__dot {
  color: white;
  background: linear-gradient(180deg, #d35b79, #9b1a43);
}

.heritage-tab__copy strong,
.heritage-tab__copy span {
  display: block;
}

.heritage-tab__copy strong {
  margin-bottom: 2px;
  font-family: var(--serif, "Playfair Display", Georgia, serif);
  font-size: 18px;
  line-height: 1.15;
}

html[dir="rtl"] .heritage-tab__copy strong {
  font-family: var(--persian, "Vazirmatn", sans-serif);
}

.heritage-tab__copy span {
  color: #d9c5ca;
  font-size: 12px;
}

.heritage-story {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  min-height: 610px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 34px;
  background: rgba(255,250,246,.96);
  color: #30272a;
  box-shadow: 0 35px 80px rgba(32, 4, 15, .22);
}

.heritage-story__visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 16%, rgba(219, 154, 165, .40), transparent 25%),
    radial-gradient(circle at 22% 82%, rgba(181, 139, 69, .27), transparent 25%),
    linear-gradient(155deg, #f8e5e2 0%, #edd3d4 48%, #e5ddc5 100%);
}

.heritage-story__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(30deg, transparent 47%, rgba(154,31,65,.13) 48%, rgba(154,31,65,.13) 52%, transparent 53%),
    linear-gradient(150deg, transparent 47%, rgba(181,139,69,.14) 48%, rgba(181,139,69,.14) 52%, transparent 53%);
  background-size: 68px 68px;
}

.heritage-story__visual::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  left: -72px;
  bottom: -70px;
  background: url("assets/logo-mark-transparent.png") center/contain no-repeat;
  opacity: .15;
  mix-blend-mode: multiply;
}

.heritage-story__arch {
  position: absolute;
  inset: 52px 38px 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 22px;
  text-align: center;
  border: 2px solid rgba(138,23,57,.38);
  border-radius: 180px 180px 28px 28px;
  background: rgba(255,250,246,.42);
  box-shadow: inset 0 0 0 9px rgba(181,139,69,.08);
  backdrop-filter: blur(5px);
}

.heritage-story__arch::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(181,139,69,.42);
  border-radius: inherit;
}

.heritage-story__era,
.heritage-story__place,
.heritage-story__monogram {
  position: relative;
  z-index: 2;
}

.heritage-story__era {
  color: #8a1739;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.heritage-story__monogram {
  margin: 30px 0 24px;
  color: #7d1232;
  font-family: var(--serif, "Playfair Display", Georgia, serif);
  font-size: clamp(76px, 9vw, 142px);
  line-height: .75;
  text-shadow: 0 14px 32px rgba(138,23,57,.12);
}

.heritage-story__place {
  max-width: 220px;
  color: #65565a;
  font-size: 13px;
  font-weight: 700;
}

.heritage-story__petal {
  position: absolute;
  width: 90px;
  height: 145px;
  border-radius: 65% 65% 54% 54%;
  opacity: .43;
}

.heritage-story__petal--one {
  right: -20px;
  top: 80px;
  background: linear-gradient(180deg, #b42853, #e0aab4);
  transform: rotate(27deg);
}

.heritage-story__petal--two {
  left: -30px;
  top: 260px;
  background: linear-gradient(180deg, #a6a077, #d8bd88);
  transform: rotate(-28deg);
}

.heritage-story__content {
  display: flex;
  flex-direction: column;
  padding: clamp(34px, 4.2vw, 66px);
}

.heritage-story__category {
  color: #8a1739;
}

.heritage-story__content h3 {
  margin: 0 0 16px;
  color: #5f1029;
  font-family: var(--serif, "Playfair Display", Georgia, serif);
  font-size: clamp(38px, 4.4vw, 66px);
  line-height: 1.02;
  letter-spacing: -.025em;
}

.heritage-story__summary {
  margin: 0;
  color: #5d5054;
  font-size: 17px;
  line-height: 1.75;
}

.heritage-story__impact {
  margin: 30px 0 22px;
  padding: 23px 24px;
  border-inline-start: 3px solid #b58b45;
  border-radius: 0 18px 18px 0;
  background: linear-gradient(90deg, rgba(181,139,69,.10), rgba(201,141,154,.08));
}

html[dir="rtl"] .heritage-story__impact {
  border-radius: 18px 0 0 18px;
}

.heritage-story__impact-title {
  margin: 0 0 10px;
  color: #7d1232;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.heritage-story__impact ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-inline-start: 19px;
  color: #493e42;
}

.heritage-story__impact li::marker {
  color: #a61e49;
}

.heritage-story__note {
  margin-top: auto;
  padding: 14px 17px;
  border: 1px solid rgba(138,23,57,.11);
  border-radius: 14px;
  color: #6b5a5e;
  background: #fff7f3;
  font-size: 13px;
}

.heritage-story__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
}

.heritage-source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #861638;
  font-weight: 800;
}

.heritage-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #75666a;
  font-size: 13px;
}

.heritage-controls button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(138,23,57,.15);
  border-radius: 50%;
  color: #831536;
  background: #fffaf7;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.heritage-controls button:hover {
  color: white;
  background: #8a1739;
  transform: translateY(-2px);
}

.heritage-bridge {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 25px;
  padding: 28px 30px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  background: rgba(255,255,255,.075);
  backdrop-filter: blur(10px);
}

.heritage-bridge__flower {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #801738;
  background: #e3c88e;
  font-size: 28px;
}

.heritage-bridge__kicker {
  margin-bottom: 5px;
}

.heritage-bridge h3 {
  max-width: 820px;
  margin: 0;
  font-family: var(--serif, "Playfair Display", Georgia, serif);
  font-size: clamp(24px, 2.5vw, 37px);
  line-height: 1.15;
}

.heritage-bridge__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 17px;
  border-radius: 999px;
  color: #681028;
  background: #f7e9e4;
  font-weight: 800;
  white-space: nowrap;
}

.heritage-disclaimer {
  max-width: 920px;
  margin: 22px auto 0;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  text-align: center;
}

.heritage-story.is-changing .heritage-story__content,
.heritage-story.is-changing .heritage-story__arch {
  animation: heritageFade .34s ease;
}

@keyframes heritageFade {
  from { opacity: .2; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1120px) {
  .heritage-heading,
  .heritage-explorer {
    grid-template-columns: 1fr;
  }

  .heritage-timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .heritage-timeline::before {
    display: none;
  }

  .heritage-tab {
    grid-template-columns: 34px 1fr;
  }
}

@media (max-width: 820px) {
  .heritage-section {
    padding: 86px 22px 78px;
  }

  .heritage-story {
    grid-template-columns: 1fr;
  }

  .heritage-story__visual {
    min-height: 390px;
  }

  .heritage-story__arch {
    inset: 30px 46px;
  }

  .heritage-bridge {
    grid-template-columns: auto 1fr;
  }

  .heritage-bridge__link {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .heritage-heading h2 {
    font-size: 45px;
  }

  .heritage-timeline {
    grid-template-columns: 1fr;
  }

  .heritage-story__content {
    padding: 30px 22px;
  }

  .heritage-story__content h3 {
    font-size: 40px;
  }

  .heritage-story__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .heritage-bridge {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .heritage-bridge__flower {
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .heritage-tab,
  .heritage-controls button,
  .heritage-story.is-changing .heritage-story__content,
  .heritage-story.is-changing .heritage-story__arch {
    animation: none !important;
    transition: none !important;
  }
}


/* Evidence-based heritage image and reference upgrades */
.heritage-story__visual{margin:0;display:block;isolation:isolate;background:#ead8cf;}
.heritage-story__image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.86) contrast(.96);}
.heritage-story__image-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(61,15,32,.10),rgba(61,15,32,.38)),linear-gradient(90deg,transparent 38%,rgba(251,244,237,.18));z-index:1;}
.heritage-story__arch{z-index:2;background:rgba(255,250,246,.14);backdrop-filter:blur(2px);border-color:rgba(255,255,255,.48);text-shadow:0 2px 16px rgba(32,4,15,.42);}
.heritage-story__era,.heritage-story__place{color:#fff8f4!important;}
.heritage-story__monogram{color:#fff!important;text-shadow:0 3px 22px rgba(45,5,20,.55);}
.heritage-story__image-credit{position:absolute;z-index:4;inset-inline:16px;bottom:14px;margin:0;padding:9px 11px;border-radius:12px;background:rgba(34,22,25,.72);color:#fff8f4;font-size:10px;line-height:1.45;backdrop-filter:blur(9px);}
.heritage-story__image-credit a{color:#f1cf91;text-decoration:underline;text-underline-offset:2px;}
.heritage-story__citation{margin:10px 0 0;color:#8a1739;font-weight:700;font-size:14px;}
.heritage-source span:first-child{font-weight:700;}
.heritage-references{margin-top:30px;border:1px solid rgba(255,255,255,.18);border-radius:24px;background:rgba(255,255,255,.07);overflow:hidden;}
.heritage-references summary{cursor:pointer;padding:20px 24px;color:#fff7f3;font-weight:800;letter-spacing:.02em;}
.heritage-references[open] summary{border-bottom:1px solid rgba(255,255,255,.14);}
.heritage-references__grid{display:grid;grid-template-columns:1.2fr .8fr;gap:30px;padding:28px 30px 32px;}
.heritage-references h3{margin:0 0 16px;font-family:var(--serif,"Playfair Display",Georgia,serif);font-size:24px;color:#fff;}
.heritage-references ol,.heritage-references ul{margin:0;padding-inline-start:22px;display:grid;gap:14px;color:#f1dfe3;font-size:13px;line-height:1.6;}
.heritage-references a{color:#f3d49b;text-decoration:underline;text-underline-offset:3px;}
.heritage-references__note{margin:20px 0 0;color:#ead4d9;font-size:12px;line-height:1.6;}
@media(max-width:900px){.heritage-references__grid{grid-template-columns:1fr}.heritage-story__visual{min-height:460px}.heritage-story__image{object-position:center}}

/* =========================================================
   MEDICAL HERITAGE — FULL-BLEED IMAGE + MULTILINGUAL FIX
   This block intentionally comes last so it wins over earlier
   heritage image rules.
   ========================================================= */

.heritage-story {
  grid-template-columns: minmax(360px, .92fr) minmax(0, 1.08fr) !important;
  min-height: 680px !important;
}

.heritage-story__visual {
  position: relative !important;
  min-height: 680px !important;
  margin: 0 !important;
  overflow: hidden !important;
  isolation: isolate;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: #5a2536 !important;
}

/* Soft full-bleed version of the same image behind the main image.
   This keeps the visual column full even for landscape source images. */
.heritage-story__visual::before {
  content: "" !important;
  position: absolute !important;
  inset: -18px !important;
  z-index: 0 !important;
  display: block !important;
  background: inherit !important;
  background-size: cover !important;
  background-position: inherit !important;
  filter: blur(18px) saturate(.84) brightness(.72) !important;
  transform: scale(1.08);
  opacity: .92 !important;
}

.heritage-story__visual::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  background: linear-gradient(180deg, rgba(58,18,31,.10), rgba(58,18,31,.28)) !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  pointer-events: none;
}

.heritage-story__image {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  filter: none !important;
  box-shadow: none !important;
}

/* Entries such as Jorjani and Mansur have landscape/document images.
   Keep the full image visible while the blurred duplicate fills the panel. */
.heritage-story__visual--contain .heritage-story__image {
  inset: 22px !important;
  width: calc(100% - 44px) !important;
  height: calc(100% - 44px) !important;
  object-fit: contain !important;
  border-radius: 22px !important;
  background: rgba(255,248,244,.92) !important;
  box-shadow: 0 22px 55px rgba(31,5,15,.28) !important;
}

/* The large decorative initials are no longer used. */
.heritage-story__monogram {
  display: none !important;
}

.heritage-story__image-overlay,
.heritage-story__petal {
  display: none !important;
}

/* Keep the era and location, but make them small museum-style labels
   rather than covering the artwork. */
.heritage-story__arch {
  position: absolute !important;
  z-index: 5 !important;
  inset: auto 22px 54px 22px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding: 10px 14px !important;
  border: 1px solid rgba(255,255,255,.34) !important;
  border-radius: 14px !important;
  background: rgba(47,19,28,.74) !important;
  box-shadow: 0 10px 28px rgba(24,4,11,.18) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  text-align: start !important;
  text-shadow: none !important;
}

.heritage-story__arch::before {
  display: none !important;
}

.heritage-story__era,
.heritage-story__place {
  position: static !important;
  z-index: auto !important;
  margin: 0 !important;
  color: #fff8f4 !important;
  text-shadow: none !important;
}

.heritage-story__era {
  font-size: 10px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}

.heritage-story__place {
  max-width: 190px !important;
  font-size: 10px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-align: end !important;
}

.heritage-story__image-credit {
  position: absolute !important;
  z-index: 6 !important;
  inset-inline: 14px !important;
  bottom: 10px !important;
  margin: 0 !important;
  padding: 6px 9px !important;
  border-radius: 9px !important;
  background: rgba(26,12,16,.78) !important;
  color: rgba(255,248,244,.92) !important;
  font-size: 8.5px !important;
  line-height: 1.35 !important;
  backdrop-filter: blur(8px) !important;
}

.heritage-story__image-credit a {
  color: #f3d49b !important;
}

/* Slightly tighten the written panel so image and text feel like
   two equal parts of one editorial feature. */
.heritage-story__content {
  padding: clamp(34px, 4vw, 62px) !important;
}

.heritage-story__content h3 {
  font-size: clamp(38px, 4.15vw, 64px) !important;
  text-wrap: balance;
}

/* Tablet */
@media (max-width: 1120px) {
  .heritage-story {
    grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr) !important;
  }
}

/* Stack image above text on smaller screens. */
@media (max-width: 820px) {
  .heritage-story {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
  }

  .heritage-story__visual {
    min-height: 520px !important;
  }

  .heritage-story__visual--contain .heritage-story__image {
    inset: 16px !important;
    width: calc(100% - 32px) !important;
    height: calc(100% - 32px) !important;
  }
}

@media (max-width: 560px) {
  .heritage-story__visual {
    min-height: 430px !important;
  }

  .heritage-story__arch {
    inset: auto 14px 49px 14px !important;
  }

  .heritage-story__place {
    max-width: 145px !important;
  }
}


/* =========================================================
   SEPT 2026 — HERITAGE PHOTO COLUMN FINAL FIX
   Keeps the photo full-height beside the text, prevents page
   overflow, and displays local supplied images reliably.
   ========================================================= */

html, body { max-width: 100%; overflow-x: clip; }
.heritage-section, .heritage-shell, .heritage-explorer,
.heritage-story, .heritage-story__visual, .heritage-story__content {
  min-width: 0 !important;
}

.heritage-explorer {
  grid-template-columns: minmax(260px, .66fr) minmax(0, 2.34fr) !important;
  width: 100% !important;
  max-width: 100% !important;
}

.heritage-story {
  grid-template-columns: minmax(380px, .96fr) minmax(0, 1.04fr) !important;
  min-height: 720px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  align-items: stretch !important;
}

.heritage-story__visual {
  position: relative !important;
  height: 100% !important;
  min-height: 720px !important;
  overflow: hidden !important;
  background: #ead8cf !important;
}

/* A subtle blurred version of the photograph fills any tiny crop gaps. */
.heritage-story__visual::before {
  content: "" !important;
  position: absolute !important;
  inset: -22px !important;
  z-index: 0 !important;
  display: block !important;
  background-image: inherit !important;
  background-position: inherit !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  filter: blur(18px) brightness(.72) saturate(.78) !important;
  transform: scale(1.08) !important;
  opacity: .6 !important;
}

.heritage-story__visual::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: block !important;
  background: linear-gradient(180deg, rgba(61,15,32,.02), rgba(61,15,32,.10)) !important;
  pointer-events: none !important;
}

.heritage-story__image {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  background: transparent !important;
  filter: none !important;
  box-shadow: none !important;
}

/* No decorative initials or giant arch over the photograph. */
.heritage-story__monogram,
.heritage-story__arch,
.heritage-story__image-overlay,
.heritage-story__petal {
  display: none !important;
}

/* Only the compact credit remains over the image. */
.heritage-story__image-credit {
  position: absolute !important;
  left: 14px !important;
  right: 14px !important;
  bottom: 14px !important;
  z-index: 5 !important;
  width: auto !important;
  margin: 0 !important;
  padding: 8px 10px !important;
  border-radius: 10px !important;
  background: rgba(28,14,18,.70) !important;
  color: rgba(255,248,244,.94) !important;
  font-size: 9px !important;
  line-height: 1.4 !important;
  backdrop-filter: blur(8px) !important;
}

.heritage-story__visual--missing {
  background:
    radial-gradient(circle at 50% 38%, rgba(201,141,154,.28), transparent 22%),
    linear-gradient(145deg,#5e2336,#35151f) !important;
}
.heritage-story__visual--missing::before { display:none !important; }
.heritage-story__visual--missing::after {
  background: url("assets/logo-mark-transparent.png") center/46% no-repeat !important;
  opacity:.18 !important;
}

.heritage-story__content {
  position: relative !important;
  z-index: 3 !important;
  overflow-wrap: anywhere !important;
  padding: clamp(38px, 4vw, 64px) !important;
}
.heritage-story__content h3 {
  font-size: clamp(42px, 4.1vw, 66px) !important;
  line-height: 1.01 !important;
}

@media (max-width: 1180px) {
  .heritage-explorer {
    grid-template-columns: minmax(225px, .62fr) minmax(0, 2.38fr) !important;
  }
  .heritage-story {
    grid-template-columns: minmax(330px, .9fr) minmax(0, 1.1fr) !important;
  }
}

@media (max-width: 900px) {
  .heritage-explorer { grid-template-columns: 1fr !important; }
  .heritage-story { grid-template-columns: 1fr !important; min-height: 0 !important; }
  .heritage-story__visual { min-height: 520px !important; height: 520px !important; }
}

@media (max-width: 560px) {
  .heritage-story__visual { min-height: 400px !important; height: 400px !important; }
  .heritage-story__content { padding: 30px 22px !important; }
  .heritage-story__content h3 { font-size: 40px !important; }
}
