/* One cue baseline; larger text can extend the opening without clipping. */
/* Continue appearance E was selected by Wyatt on 2026-10-16.
   Appearance only: each page keeps its established dimensions and destination. */
body.fc-site.fc-site.fc-site.fc-site :is(.fc-unified-continue, .fc-scroll-cue, .fc-mobile-scroll-cue, .fc-art-continue, .fc-covenant-continue),
body.fc-site.fc-site.fc-site.fc-site .fc-study-nav a[href="#continue-study"],
body.fc-site.fc-site.fc-site.fc-site :is([data-artwork-detail-continue], [data-topic-art-continue]) {
  background: linear-gradient(180deg, #22b6b5, #116488) !important;
  border-color: #f7cc70 !important;
  color: #fff !important;
  box-shadow: inset 0 2px 0 #8be0d580, 0 4px 10px #0005 !important;
  /* Opaque halo keeps the lettering readable across the luminous gradient. */
  text-shadow: -1px -1px 0 #063c50, 0 -1px 0 #063c50, 1px -1px 0 #063c50,
    -1px 0 0 #063c50, 1px 0 0 #063c50,
    -1px 1px 0 #063c50, 0 1px 0 #063c50, 1px 1px 0 #063c50 !important;
}
body.fc-site.fc-site.fc-site.fc-site :is(.fc-unified-continue, .fc-scroll-cue, .fc-mobile-scroll-cue, .fc-art-continue, .fc-covenant-continue) > [aria-hidden="true"] {
  color: #f7cc70 !important;
}
/* End Continue appearance E. */

/* Continue appearance B was approved by Wyatt on 2026-10-16.
   Deeper teal and a softer highlight; preserve each existing capsule box. */
body.fc-site.fc-site.fc-site.fc-site :is(.fc-unified-continue, .fc-scroll-cue, .fc-mobile-scroll-cue, .fc-art-continue, .fc-covenant-continue),
body.fc-site.fc-site.fc-site.fc-site .fc-study-nav a[href="#continue-study"],
body.fc-site.fc-site.fc-site.fc-site :is([data-artwork-detail-continue], [data-topic-art-continue]) {
  background: linear-gradient(180deg, #148f91, #10546c) !important;
  box-shadow: inset 0 1px 0 #8be0d538, 0 3px 8px #0003 !important;
}
body.fc-site.fc-site.fc-site.fc-site :is(.fc-unified-continue, .fc-scroll-cue, .fc-mobile-scroll-cue, .fc-art-continue, .fc-covenant-continue) > [aria-hidden="true"] {
  visibility: hidden !important;
}
/* End Continue appearance B. */

body.fc-site [data-unified-opening][data-unified-opening][data-unified-opening] {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
  height: auto !important;
  max-height: none !important;
  min-height: max(0px, calc(100svh - var(--unified-opening-top, 0px))) !important;
  padding-bottom: calc(20px - var(--unified-opening-border, 0px)) !important;
  overflow: visible !important;
}
body.fc-site [data-unified-opening][data-unified-opening][data-unified-opening] > :is(.fc-container--standard,.jj-wrap) {
  min-height: 0 !important;
  height: auto !important;
  flex: 0 0 auto !important;
  padding-bottom: 8px !important;
}
body.fc-site [data-unified-old-cue] { display: none !important; }
body.fc-site [data-unified-opening][data-unified-opening][data-unified-opening] > .fc-unified-continue {
  display: inline-flex !important;
  position: static !important;
  flex: 0 0 auto !important;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 12px;
  box-sizing: border-box;
  min-height: 44px;
  max-width: 100%;
  margin: auto 0 0 !important;
  padding: 10px 20px;
  border: 1px solid #f0c36a;
  border-radius: 999px;
  color: #f0c36a;
  font: 700 .85rem/1.25 'Segoe UI',sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
}
body.fc-site .fc-unified-continue:focus-visible { outline: 3px solid #f0c36a; outline-offset: 4px; }

body.fc-site [data-unified-shell] { padding-bottom: 0 !important; gap: 0 !important; }
body.fc-site [data-unified-opening][data-unified-opening][data-unified-opening] {
  padding-top: 12px !important;
  padding-inline: 20px !important;
  gap: 8px !important;
  text-align: center;
}
body.fc-site [data-unified-opening][data-unified-opening][data-unified-opening] > :is(.fc-container--standard,.jj-wrap) {
  display: flex !important; flex-direction: column; align-items: center;
  gap: 8px !important; padding: 0 !important; margin: 0 !important;
}
body.fc-site [data-unified-opening][data-unified-opening][data-unified-opening] :is(h1,p,.fc-eyebrow,.lede,.fc-display) { margin-block: 0 !important; }
body.fc-site [data-unified-opening][data-unified-opening][data-unified-opening] h1 {
  font: 400 clamp(2rem, calc(50svh - 16.69921875vw - 95px), 3rem)/1.12 Georgia,serif !important;
  text-align: center; text-wrap: balance;
}
body.fc-site [data-unified-opening][data-unified-opening][data-unified-opening] .fc-eyebrow { font-size: .75rem !important; line-height: 1.35 !important; }
body.fc-site [data-unified-opening][data-unified-opening][data-unified-opening] :is(.fc-page-intro-copy,.fc-topic-subtitle,.lede,.gc-opening-tagline,.cfm-hero__copy > p:not(.fc-eyebrow)) {
  font-size: 1rem !important; line-height: 1.4 !important; max-width: 850px;
}
.fc-unified-opening-continuation { scroll-margin-top: var(--fc-anchor-offset, 68px); max-width: 1200px; margin-inline: auto; padding: 24px; }
@media(max-width:700px) {
  body.fc-site [data-unified-opening][data-unified-opening][data-unified-opening] { padding-inline: 16px !important; }
  body.fc-site [data-unified-opening][data-unified-opening][data-unified-opening] h1 { font-size: 2rem !important; }
  body.fc-site [data-unified-opening][data-unified-opening][data-unified-opening] :is(.fc-page-intro-copy,.fc-topic-subtitle,.lede,.gc-opening-tagline,.cfm-hero__copy > p:not(.fc-eyebrow)) { font-size: .96rem !important; }
}

/* Retained introduction content keeps the same centered reading order. */
body.fc-site .fc-unified-opening-continuation:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-sizing: border-box;
  text-align: center;
}
body.fc-site .fc-unified-opening-continuation > :is(.fc-page-intro-scripture,.fc-actions,.cfm-actions,.fc-conference-actions) {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}
body.fc-site .fc-unified-opening-continuation > :is(.fc-actions,.cfm-actions,.fc-conference-actions) {
  justify-content: center;
}

/* Balance the introduction within the fixed hero-to-Continue interval. */
@media (min-width: 701px) {
  body.fc-site [data-unified-opening][data-unified-opening][data-unified-opening]:has(> .fc-unified-continue) > :is(.fc-container--standard,.jj-wrap,.fc-eyebrow):first-child:not([hidden]):not([data-unified-old-cue]) {
    margin-block-start: auto !important;
  }
}

/* A real-height correction activates only when the shared opening needs it.
   Keep the complete scene and fade its outside edges into existing site color. */
body.fc-site .fc-visual-hero[data-fc-fit-hero][data-fc-fit-hero][data-fc-fit-hero][data-fc-fit-hero] {
  height:var(--fc-fit-hero-height) !important;
  min-height:var(--fc-fit-hero-height) !important;
  max-height:var(--fc-fit-hero-height) !important;
  aspect-ratio:auto !important;
}
body.fc-site .fc-visual-hero[data-fc-fit-hero]::before {
  left:50% !important;right:auto !important;
  width:min(100%,calc(var(--fc-fit-hero-height) * 3)) !important;
  max-width:none !important;
  transform:translateX(-50%) !important;
  background-size:contain !important;
  background-position:center !important;
  mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);
}
body.fc-site .fc-visual-hero[data-fc-fit-hero] :is(img,picture img) {
  object-fit:contain !important;
}
body.fc-site .cfm-desktop-picture[data-fc-fit-hero] {
  height:var(--fc-fit-hero-height) !important;
  min-height:0 !important;
  aspect-ratio:auto !important;
}
body.fc-site .cfm-desktop-picture[data-fc-fit-hero] img {object-fit:contain !important;}
/* Some approved heroes use responsive picture elements instead of background
   art. Feather their physical image edge at the same width as the panorama. */
body.fc-site .fc-visual-hero[data-fc-fit-hero] > img,
body.fc-site .fc-visual-hero[data-fc-fit-hero] > picture > img {
  left:50% !important;right:auto !important;
  width:min(100%,calc(var(--fc-fit-hero-height) * 3)) !important;
  height:100% !important;max-width:none !important;
  transform:translateX(-50%) !important;
  object-position:center !important;
  mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);
}
body.fc-site .cfm-desktop-picture[data-fc-fit-hero] img {
  width:min(100%,calc(var(--fc-fit-hero-height) * 3)) !important;
  margin-inline:auto;
  mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);
}
