/*
 * Series landing page ([ds_series]): the hero (three layouts: split, center,
 * word), the scripture + "why this series" section, and the day cards.
 *
 * Colours, fonts and radii come from the DS token spine through the local
 * --dsr-* variables (literal fallbacks only, per design-system/core/principles.md).
 * Avada's global h1–h3, p, a and list rules reach into post content, so
 * headings use three classes + !important and links/lists are reset here.
 * The site's Global CSS also sets every <p> to 17px/1.75rem !important on
 * screens up to 800px, so each paragraph style here sets its size and
 * line-height with !important.
 *
 * Spacing follows the course pages (/superpowers/): a 640px text column,
 * 20/32 body, 56px H2s, 80–128px between sections.
 *
 * Doc: design-system/ds/components/ds-series.md
 */

.dsr {
    --dsr-base: var(--ds-base, #121212);
    --dsr-band: var(--ds-band, #181A1E);
    --dsr-card: var(--ds-card, #23262D);
    --dsr-hover: var(--ds-hover, #2C2F35);
    --dsr-border: var(--ds-border, rgba(255,255,255,0.11));
    --dsr-border-emph: var(--ds-border-emph, rgba(255,255,255,0.16));
    --dsr-t1: var(--ds-text-1, #F2F2F2);
    --dsr-t2: var(--ds-text-2, #E0E0E0);
    --dsr-t3: var(--ds-text-3, #A0A0A0);
    --dsr-t4: var(--ds-text-4, #6B6B6B);
    --dsr-teal-300: var(--ds-tw-teal-300, #5EEAD4);
    --dsr-teal-400: var(--ds-tw-teal-400, #2DD4BF);
    --dsr-teal-600: var(--ds-tw-teal-600, #0D9488);
    --dsr-teal-950: var(--ds-tw-teal-950, #042F2E);
    --dsr-mark: var(--ds-teal-600, #0E9384);
    --dsr-white: var(--ds-white, #FFFFFF);
    --dsr-serif: var(--ds-heading-serif, 'GT Sectra', Georgia, 'Times New Roman', serif);
    --dsr-body: var(--ds-body-font, 'source-serif-4', Georgia, 'Times New Roman', serif);
    --dsr-ui: var(--ds-ui-font, 'neue-haas-grotesk-text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);
    --dsr-radius: var(--ds-radius, 8px);
    --dsr-radius-card: var(--ds-radius-card, 16px);
    --dsr-glow: color-mix(in srgb, var(--dsr-teal-400) 24%, transparent);
    --dsr-gutter: clamp(20px, 4vw, 40px);
    --dsr-section: clamp(80px, 10vw, 128px);
    /* The site header is transparent and sits over the first section. */
    --dsr-header: 84px;
    --dsr-ease: cubic-bezier(.2, .8, .2, 1);

    position: relative;
    isolation: isolate;
    background: var(--dsr-base);
    color: var(--dsr-t2);
    font-family: var(--dsr-body);
    font-size: clamp(18px, 1.4vw, 20px);
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
.dsr *, .dsr *::before, .dsr *::after { box-sizing: border-box; }
.dsr [hidden] { display: none !important; }
.dsr :focus-visible { outline: 2px solid var(--dsr-teal-300); outline-offset: 3px; border-radius: 4px; }
.dsr p { margin: 0; }
.dsr a { text-decoration: none !important; }
.dsr .dsr-i { width: 1.1em; height: 1.1em; flex: none; }

/* The site's phone header is a solid bar; over the hero art it reads as a
   hard edge, so on series pages it's transparent (desktop's already is). */
body:has(.dsr-hero, .dsr-avhero) #dark-mode-header-mobile {
    background-color: transparent !important;
    --awb-background-color: transparent !important;
    background-image: none !important;
}
body:has(.dsr-hero, .dsr-avhero) #dark-mode-header-mobile .awb-background-pattern { display: none !important; }

/* The hero's "See the days" button glides down to the cards. */
@media (prefers-reduced-motion: no-preference) {
    html:has(.dsr-hero, .dsr-avhero) { scroll-behavior: smooth; }
}
.dsr-days { scroll-margin-top: 24px; }

/* Avada pads #main on 100%-width pages; this page runs edge to edge. */
#main:has(.dsr-hero, .dsr-avhero) { padding-top: 0 !important; padding-bottom: 0 !important; }

.dsr-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--dsr-gutter); }
.dsr-col  { width: 100%; max-width: calc(640px + 2 * var(--dsr-gutter)); margin: 0 auto; padding: 0 var(--dsr-gutter); }

/* ---- type ---- */
.dsr .dsr-eyebrow {
    font-family: var(--dsr-ui);
    font-weight: 500;
    font-size: 13px !important;
    line-height: 1.4 !important;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--dsr-teal-400);
}
.dsr.dsr-hero h1.dsr-h1,
.dsr.dsr-days h2.dsr-h2,
.dsr.dsr-about h2.dsr-h2,
.dsr .dsr-day h3.dsr-day__title,
.dsr .dsr-share h3.dsr-share__title {
    font-family: var(--dsr-serif) !important;
    font-weight: 500 !important;
    font-style: normal !important;
    color: var(--dsr-t1) !important;
    text-transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-wrap: balance;
}
.dsr.dsr-hero h1.dsr-h1 { margin: 18px 0 24px !important; font-size: clamp(52px, 7vw, 96px) !important; line-height: 1 !important; letter-spacing: -0.02em !important; }
.dsr.dsr-about h2.dsr-h2,
.dsr.dsr-days h2.dsr-h2 { font-size: clamp(36px, 4.4vw, 56px) !important; line-height: 1.14 !important; letter-spacing: -0.03em !important; }

/* ---- buttons + pills ---- */
.dsr .dsr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: var(--dsr-radius);
    border: 1px solid transparent;
    font-family: var(--dsr-ui) !important;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--dsr-ease);
}
.dsr .dsr-btn--primary { background: var(--dsr-teal-400); color: var(--dsr-teal-950) !important; }
.dsr .dsr-btn--primary:hover { background: var(--dsr-teal-300); }
.dsr .dsr-btn--ghost { background: color-mix(in srgb, var(--dsr-base) 40%, transparent); color: var(--dsr-t1) !important; border-color: var(--dsr-border-emph); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dsr .dsr-btn--ghost:hover { border-color: var(--dsr-teal-400); }

.dsr .dsr-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--dsr-border-emph);
    font-family: var(--dsr-ui);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--dsr-t3);
    white-space: nowrap;
}
.dsr .dsr-pill .dsr-i { width: 12px; height: 12px; }
.dsr .dsr-pill--new { background: var(--dsr-teal-400); border-color: transparent; color: var(--dsr-teal-950); }
.dsr .dsr-pill--new::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: dsr-pulse 1.6s infinite; }
@keyframes dsr-pulse { 50% { opacity: .25; } }

/* State switches: pills show only in their state. */
.dsr .dsr-pill--new, .dsr .dsr-pill--lock { display: none; }
.dsr .is-new .dsr-pill--new { display: inline-flex; }
.dsr .is-locked .dsr-pill--lock { display: inline-flex; }

/* =========================================================================
   Hero
   ========================================================================= */
.dsr-hero {
    padding: calc(var(--dsr-header) + clamp(56px, 9vw, 140px)) 0 clamp(88px, 11vw, 160px);
}
.dsr-hero__art {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--dsr-art, none) center 40% / cover no-repeat;
    opacity: .55;
}
.dsr-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, var(--dsr-base) 0%, color-mix(in srgb, var(--dsr-base) 55%, transparent) 55%, color-mix(in srgb, var(--dsr-base) 25%, transparent) 100%),
        linear-gradient(180deg, color-mix(in srgb, var(--dsr-base) 60%, transparent) 0%, transparent 25%, transparent 60%, var(--dsr-base) 100%);
}
.dsr-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
    gap: clamp(40px, 7vw, 96px);
    align-items: center;
}
.dsr-hero .dsr-lede {
    font-family: var(--dsr-serif);
    font-weight: 500;
    font-size: clamp(22px, 2.1vw, 28px) !important;
    line-height: 1.35 !important;
    color: var(--dsr-t1);
    max-width: 22ch;
}
.dsr-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Day-letter stack */
.dsr .dsr-acro { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.dsr .dsr-acro__item { margin: 0 !important; padding: 0 !important; border-bottom: 1px solid var(--dsr-border); animation: dsr-rise .8s var(--dsr-ease) both; animation-delay: calc(var(--dsr-i) * 90ms); }
.dsr .dsr-acro__item:last-child { border-bottom: 0; }
.dsr .dsr-acro__item::before, .dsr .dsr-acro__item::marker { content: none; }
.dsr .dsr-acro__link {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 8px 0;
    color: inherit !important;
}
.dsr .dsr-acro__L {
    font-family: var(--dsr-serif);
    font-weight: 500;
    font-size: 84px;
    line-height: 1;
    color: var(--dsr-t1);
    transition: color .3s, text-shadow .3s;
}
.dsr .dsr-acro__w { font-family: var(--dsr-serif); font-weight: 500; font-size: 23px; line-height: 1.15; color: var(--dsr-t1); }
.dsr .dsr-acro__w small { display: block; margin-bottom: 3px; font-family: var(--dsr-ui); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--dsr-t3); }
.dsr .dsr-acro__item.is-new .dsr-acro__L { color: var(--dsr-teal-400); text-shadow: 0 0 40px var(--dsr-glow); }
.dsr .dsr-acro__item.is-open .dsr-acro__link:hover .dsr-acro__L { color: var(--dsr-teal-300); }
.dsr .dsr-acro__item.is-locked .dsr-acro__link { pointer-events: none; }
.dsr .dsr-acro__item.is-locked .dsr-acro__L { color: transparent; -webkit-text-stroke: 1.2px var(--dsr-t4); }
.dsr .dsr-acro__item.is-locked .dsr-acro__w { color: var(--dsr-t4); }
@keyframes dsr-rise { from { opacity: 0; transform: translateY(14px); } }

/* =========================================================================
   Scripture + why this series
   ========================================================================= */
.dsr-about { padding: clamp(56px, 7vw, 96px) 0 var(--dsr-section); }

/* Scripture: a statement, as on the 12 Days of Prayer page: no card, big
   text in quotes, the key word on a teal marker, the reference underneath.
   Our serif instead of that page's bold sans. */
.dsr .dsr-verse { margin: 0 !important; padding: 0 !important; }
.dsr .dsr-verse blockquote {
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    quotes: none;
}
.dsr .dsr-verse blockquote::before, .dsr .dsr-verse blockquote::after { content: none !important; }
.dsr .dsr-verse blockquote p {
    margin: 0 !important;
    font-family: var(--dsr-serif) !important;
    font-weight: 500 !important;
    font-style: normal !important;
    font-size: clamp(28px, 3.4vw, 40px) !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
    color: var(--dsr-t1) !important;
    text-wrap: pretty;
}
.dsr .dsr-mark {
    padding: 0 .04em;
    color: inherit;
    background: linear-gradient(to top, var(--dsr-mark) 40%, transparent 40%);
}
.dsr .dsr-verse figcaption {
    margin-top: 18px;
    font-family: var(--dsr-ui);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--dsr-t2);
}

.dsr-about__head { text-align: center; margin: clamp(72px, 9vw, 112px) 0 clamp(36px, 4.5vw, 52px); }
.dsr-about__head .dsr-eyebrow { margin-bottom: 14px; }
.dsr .dsr-rule { display: block; width: 72px; height: 2px; margin: 28px auto 0; background: var(--dsr-teal-600); border-radius: 2px; }

.dsr .dsr-prose p {
    margin: 0 0 32px !important;
    font-family: var(--dsr-body);
    font-size: clamp(18px, 1.4vw, 20px) !important;
    line-height: 1.6 !important;
    color: var(--dsr-t2);
}
.dsr .dsr-prose p:last-child { margin-bottom: 0 !important; }
.dsr .dsr-prose a { color: var(--dsr-t1) !important; text-decoration: underline !important; text-underline-offset: .3em; text-decoration-thickness: 1px; }
.dsr .dsr-prose a:hover { color: var(--dsr-teal-300) !important; }
/* A quote in the copy is a statement like the scripture above it: large
   serif, no card and no rules, with an optional <mark> on the key words. */
.dsr .dsr-prose blockquote {
    margin: clamp(40px, 5vw, 56px) 0 0 !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    quotes: none;
}
.dsr .dsr-prose blockquote::before, .dsr .dsr-prose blockquote::after { content: none !important; }
.dsr .dsr-prose blockquote p {
    margin: 0 !important;
    font-family: var(--dsr-serif) !important;
    font-weight: 500 !important;
    font-style: normal !important;
    font-size: clamp(26px, 3vw, 36px) !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
    color: var(--dsr-t1) !important;
    text-wrap: pretty;
}
.dsr .dsr-prose mark {
    padding: 0 .04em;
    color: inherit;
    background: linear-gradient(to top, var(--dsr-mark) 40%, transparent 40%);
}

/* =========================================================================
   Days
   ========================================================================= */
.dsr-days { padding: var(--dsr-section) 0; }
.dsr-days__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 3vw, 40px); }
.dsr .dsr-days__sched { font-family: var(--dsr-ui); font-size: 15px !important; line-height: 1.5 !important; color: var(--dsr-t3); }
.dsr-days__list { display: grid; gap: 16px; }

.dsr .dsr-day {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    min-height: 188px;
    padding: 30px 36px;
    border-radius: var(--dsr-radius-card);
    border: 1px solid var(--dsr-border);
    background: var(--dsr-base);
    transition: border-color .25s, box-shadow .25s;
}
.dsr .dsr-day__art {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--dsr-art, none) var(--dsr-focus, center) / cover no-repeat;
    filter: hue-rotate(var(--dsr-hue, 0deg)) saturate(1.15);
    opacity: .62;
    transition: opacity .4s, transform .9s var(--dsr-ease), filter .4s;
}
.dsr .dsr-day::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, color-mix(in srgb, var(--dsr-base) 88%, transparent) 0%, color-mix(in srgb, var(--dsr-base) 50%, transparent) 55%, color-mix(in srgb, var(--dsr-base) 20%, transparent) 100%);
}
.dsr .dsr-day__L { font-family: var(--dsr-serif); font-weight: 500; font-size: 120px; line-height: .85; color: var(--dsr-t1); }
.dsr .dsr-day__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--dsr-ui); font-size: 12px !important; line-height: 1.4 !important; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--dsr-teal-300); }
.dsr .dsr-day h3.dsr-day__title { margin: 8px 0 8px !important; font-size: clamp(28px, 2.8vw, 36px) !important; line-height: 1.1 !important; letter-spacing: -0.01em !important; }
.dsr .dsr-day__line, .dsr .dsr-day__q { max-width: 48ch; font-family: var(--dsr-ui) !important; font-size: 18px !important; font-weight: 400; line-height: 1.5 !important; color: var(--dsr-t2); }
.dsr .dsr-day__go { position: relative; z-index: 2; background: color-mix(in srgb, var(--dsr-base) 40%, transparent); color: var(--dsr-t1) !important; border-color: var(--dsr-border-emph); }
.dsr .dsr-day__go:hover { border-color: var(--dsr-teal-400); }
.dsr .dsr-day__go--soon { cursor: default; opacity: .6; }
.dsr .dsr-day__cover { position: absolute; inset: 0; z-index: 1; }

/* open / newest / locked */
.dsr .dsr-day.is-open:hover { border-color: var(--dsr-teal-400); }
.dsr .dsr-day.is-open:hover .dsr-day__art { opacity: .78; transform: scale(1.03); }
.dsr .dsr-day.is-new { border-color: var(--dsr-teal-400); box-shadow: 0 24px 70px -30px var(--dsr-glow); }
.dsr .dsr-day.is-new .dsr-day__L { color: var(--dsr-teal-400); }
.dsr .dsr-day.is-new .dsr-day__go:not(.dsr-day__go--soon) { background: var(--dsr-teal-400); border-color: transparent; color: var(--dsr-teal-950) !important; }
.dsr .dsr-day.is-locked { background: var(--dsr-base); border-color: var(--dsr-border-emph); }
.dsr .dsr-day.is-locked .dsr-day__art { opacity: .22; filter: hue-rotate(var(--dsr-hue, 0deg)) saturate(.7) blur(2px); }
.dsr .dsr-day.is-locked .dsr-day__L { color: transparent; -webkit-text-stroke: 1.2px var(--dsr-t3); }
.dsr .dsr-day.is-locked .dsr-day__meta { color: var(--dsr-t3); }
.dsr .dsr-day.is-locked h3.dsr-day__title { color: var(--dsr-t3) !important; }
.dsr .dsr-day.is-locked .dsr-day__line,
.dsr .dsr-day.is-locked .dsr-day__go,
.dsr .dsr-day.is-locked .dsr-day__cover,
.dsr .dsr-day:not(.is-locked) .dsr-day__q,
.dsr .dsr-day:not(.is-locked) .dsr-day__opens { display: none; }

/* Introduction ("Day 0"): an icon where the letter goes; on phones it's
   the drop cap. */
.dsr .dsr-day__L--icon { display: flex; align-items: center; justify-content: center; }
.dsr .dsr-day__L--icon .dsr-i { width: 96px; height: 96px; }
.dsr .dsr-cap--icon { display: none; }

/* Share */
.dsr-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    flex-wrap: wrap;
    margin-top: clamp(48px, 6vw, 72px);
    padding: 32px 36px;
    border-radius: var(--dsr-radius-card);
    border: 1px solid var(--dsr-border);
    background: linear-gradient(135deg, var(--dsr-teal-950), var(--dsr-band));
}
.dsr .dsr-share h3.dsr-share__title { font-size: clamp(24px, 2.4vw, 30px) !important; line-height: 1.2 !important; margin-bottom: 6px !important; }
.dsr .dsr-share p { font-size: 17px !important; line-height: 1.5 !important; color: var(--dsr-t3); }

/* =========================================================================
   Phones and tablets
   ========================================================================= */
@media (max-width: 900px) {
    .dsr { --dsr-header: 76px; }
    .dsr-hero { padding: calc(var(--dsr-header) + 40px) 0 72px; }
    .dsr-hero__grid { grid-template-columns: 1fr; gap: 72px; }
    .dsr-acro { padding-top: 8px !important; }
    .dsr-hero::after {
        background: linear-gradient(180deg, color-mix(in srgb, var(--dsr-base) 45%, transparent) 0%, color-mix(in srgb, var(--dsr-base) 72%, transparent) 45%, var(--dsr-base) 100%);
    }
    .dsr-hero .dsr-lede { max-width: none; }
    .dsr-cta .dsr-btn { flex: 1 1 auto; }
    .dsr .dsr-acro__link { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; }
    .dsr .dsr-acro__L { font-size: 68px; }
    .dsr .dsr-acro__w { font-size: 21px; }
}
@media (max-width: 760px) {
    .dsr .dsr-day { grid-template-columns: 1fr; gap: 0; min-height: 0; padding: 22px 20px; }
    .dsr .dsr-day::after { background: linear-gradient(180deg, color-mix(in srgb, var(--dsr-base) 50%, transparent) 0%, color-mix(in srgb, var(--dsr-base) 88%, transparent) 70%); }
    .dsr .dsr-day__L { display: none; }
    .dsr .dsr-day__txt { position: relative; }
    /* "Day N" sits top right; the title gets a drop-cap first letter. */
    .dsr .dsr-day__meta { position: absolute; top: 0; right: 0; justify-content: flex-end; }
    .dsr .dsr-day h3.dsr-day__title { margin: 24px 0 10px !important; line-height: 1.05 !important; }
    .dsr .dsr-cap { font-size: 2.5em; line-height: .7; vertical-align: -.12em; margin-right: 1px; }
    .dsr .dsr-day.is-new .dsr-cap { color: var(--dsr-teal-400); }
    .dsr .dsr-day.is-locked .dsr-cap { color: transparent; -webkit-text-stroke: 1.2px var(--dsr-t3); }
    .dsr .dsr-cap--icon { display: inline-block; font-size: 1em; line-height: 1; margin-right: 10px; vertical-align: -.35em; }
    .dsr .dsr-cap--icon .dsr-i { width: 1.7em; height: 1.7em; }
    .dsr .dsr-day__line, .dsr .dsr-day__q { font-size: 16.5px !important; }
    .dsr .dsr-day__go { margin-top: 16px; width: 100%; }
    .dsr .dsr-day__when { justify-self: start; margin-top: 14px; }
    .dsr .dsr-day__opens { display: none !important; }
    .dsr-share { padding: 24px 20px; }
    .dsr-share .dsr-btn { width: 100%; }
}
@media (max-width: 420px) {
    .dsr .dsr-acro__link { grid-template-columns: 56px minmax(0, 1fr) auto; }
    .dsr .dsr-acro__L { font-size: 60px; }
    .dsr .dsr-acro__w { font-size: 19px; }
}

/* =========================================================================
   Hero layouts. Everything above is "split" (copy left, letters stacked
   right); these two reuse the same markup.
   ========================================================================= */

/* ---- center: the copy and buttons only, centred over the art ---- */
.dsr-hero--center {
    display: flex;
    align-items: center;
    min-height: min(92vh, 880px);
    padding: calc(var(--dsr-header) + clamp(48px, 7vw, 96px)) 0 clamp(88px, 10vw, 144px);
}
.dsr-hero--center .dsr-hero__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.dsr-hero--center .dsr-hero__copy { max-width: 820px; }
.dsr-hero--center .dsr-acro { display: none !important; }
.dsr-hero--center .dsr-lede { margin: 0 auto; max-width: 28ch; text-wrap: balance; }
.dsr-hero--center .dsr-cta { justify-content: center; margin-top: 40px; }
.dsr-hero--center .dsr-hero__art { background-position: center 45%; opacity: .6; }
.dsr-hero--center::after {
    background:
        radial-gradient(ellipse 60% 55% at 50% 50%, color-mix(in srgb, var(--dsr-base) 62%, transparent) 0%, transparent 100%),
        linear-gradient(180deg, color-mix(in srgb, var(--dsr-base) 55%, transparent) 0%, transparent 30%, transparent 60%, var(--dsr-base) 100%);
}

/* ---- word: the day letters set huge across the hero. An open day's letter
   is cut out of the art (in that day's hue), a locked one is an outline, so
   the word fills in as the week goes on. ---- */
.dsr-hero--word { padding: calc(var(--dsr-header) + clamp(48px, 7vw, 104px)) 0 clamp(80px, 9vw, 128px); }
.dsr-hero--word .dsr-hero__art { opacity: .22; filter: saturate(.8); }
.dsr-hero--word::after {
    background: linear-gradient(180deg, color-mix(in srgb, var(--dsr-base) 55%, transparent) 0%, color-mix(in srgb, var(--dsr-base) 30%, transparent) 50%, var(--dsr-base) 100%);
}
.dsr-hero--word .dsr-hero__grid { grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 80px); justify-items: center; text-align: center; }
.dsr-hero--word .dsr-hero__copy { max-width: 820px; }
.dsr-hero--word .dsr-lede { margin: 0 auto; max-width: 28ch; text-wrap: balance; }
.dsr-hero--word .dsr-cta { justify-content: center; }
:is(.dsr.dsr-hero--word, .dsr-hero--word .dsr) .dsr-acro {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 1120px;
    padding: 0 !important;
}
:is(.dsr.dsr-hero--word, .dsr-hero--word .dsr) .dsr-acro__item { border: 0; }
:is(.dsr.dsr-hero--word, .dsr-hero--word .dsr) .dsr-acro__link { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0; }
:is(.dsr.dsr-hero--word, .dsr-hero--word .dsr) .dsr-acro__item .dsr-acro__L {
    display: block;
    width: 100%;
    font-size: clamp(76px, 20vw, 248px);
    line-height: .9;
    text-align: center;
    /* One continuous picture across the word: each letter shows its slice. */
    background: var(--dsr-art, none) calc(var(--dsr-i) / max(var(--dsr-n) - 1, 1) * 100%) 46% / calc(var(--dsr-n) * 100%) auto no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 0;
    text-shadow: none;
    filter: hue-rotate(var(--dsr-hue, 0deg)) saturate(1.1) brightness(1.15);
    transition: transform .4s var(--dsr-ease), filter .4s;
}
:is(.dsr.dsr-hero--word, .dsr-hero--word .dsr) .dsr-acro__item.is-new .dsr-acro__L { filter: hue-rotate(var(--dsr-hue, 0deg)) saturate(1.1) brightness(1.25) drop-shadow(0 0 28px var(--dsr-glow)); }
:is(.dsr.dsr-hero--word, .dsr-hero--word .dsr) .dsr-acro__item.is-open .dsr-acro__link:hover .dsr-acro__L { transform: translateY(-6px); }
:is(.dsr.dsr-hero--word, .dsr-hero--word .dsr) .dsr-acro__item.is-locked .dsr-acro__L { background: none; filter: none; -webkit-text-stroke: 1.5px var(--dsr-t4); }
:is(.dsr.dsr-hero--word, .dsr-hero--word .dsr) .dsr-acro__w { font-size: 18px; line-height: 1.2; text-align: center; }
:is(.dsr.dsr-hero--word, .dsr-hero--word .dsr) .dsr-acro__w small { margin-bottom: 4px; }
:is(.dsr.dsr-hero--word, .dsr-hero--word .dsr) .dsr-acro__item.is-new .dsr-acro__w small { color: var(--dsr-teal-300); }
:is(.dsr.dsr-hero--word, .dsr-hero--word .dsr) .dsr-pill { display: none; }
@media (max-width: 900px) {
    .dsr-hero--center { min-height: 0; padding: calc(var(--dsr-header) + 64px) 0 96px; }
    .dsr-hero--center::after, .dsr-hero--word::after {
        background: linear-gradient(180deg, color-mix(in srgb, var(--dsr-base) 45%, transparent) 0%, color-mix(in srgb, var(--dsr-base) 65%, transparent) 50%, var(--dsr-base) 100%);
    }
    .dsr-hero--center .dsr-lede, .dsr-hero--word .dsr-lede { max-width: 24ch; }
    .dsr-hero--center .dsr-cta, .dsr-hero--word .dsr-cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; margin-left: auto; margin-right: auto; }
    .dsr-hero--word .dsr-hero__grid { gap: 56px; }
    /* Under each letter just "Day N". */
    :is(.dsr.dsr-hero--word, .dsr-hero--word .dsr) .dsr-acro__w { font-size: 0; }
    :is(.dsr.dsr-hero--word, .dsr-hero--word .dsr) .dsr-acro__w small { margin: 0; font-size: 11px; letter-spacing: .08em; }
    :is(.dsr.dsr-hero--word, .dsr-hero--word .dsr) .dsr-acro__item.is-locked .dsr-acro__L { -webkit-text-stroke-width: 1.2px; }
}

/* =========================================================================
   Hero built from Avada elements. The container has class
   "dsr-avhero dsr-hero--<layout>", its background image and the gradient
   over it (both set in the builder). Inside: a copy column (class
   dsr-av-copy) with the eyebrow (Title, class "dsr-eyebrow-live
   dsr-av-eyebrow"), the H1 (Title, class dsr-av-h1), the subtitle (Title,
   tag p, as on the course pages) and a row of buttons (an inner column with
   class dsr-av-cta; buttons with class dsr-start, dsr-jump, dssh-launch); and
   a letters column (class dsr-av-letters) holding [ds_series section="letters"].
   Sizes, colours, spacing and copy are the builder's; this adds the fade at
   the bottom, the eyebrow and H1 sizes, phone buttons and the layouts.
   ========================================================================= */
.dsr-is-hidden { display: none !important; }
.dsr-avhero { position: relative; isolation: isolate; }
.dsr-avhero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, color-mix(in srgb, var(--ds-base, #121212) 55%, transparent) 0%, transparent 22%, transparent 62%, var(--ds-base, #121212) 100%);
}
.dsr-avhero > .fusion-builder-row { position: relative; z-index: 1; }
.dsr-avhero .dsr-av-h1 h1 { font-size: clamp(52px, 7vw, 96px) !important; line-height: 1 !important; letter-spacing: -0.02em !important; text-wrap: balance; }
.dsr-avhero .dsr-av-cta .fusion-column-wrapper { gap: 12px; }
.dsr-avhero .dsr-av-cta .fusion-button { margin: 0 !important; }
.dsr.dsr-letters { background: none; overflow: visible; }
@media (max-width: 900px) {
    .dsr-avhero .dsr-av-cta .fusion-column-wrapper > * { flex: 1 1 100%; }
    .dsr-avhero .dsr-av-cta .fusion-button { width: 100%; justify-content: center; }
}

/* Layouts in Avada. The builder holds the centred hero (both columns full
   width, Titles centred, radial gradient); split and word are made from it
   here, so ?dsr_hero= can show them. Center hides the
   letters; word puts them under the copy; split puts the copy left (3/5)
   and the letters right (2/5) on desktop. */
/* Only the copy and letters columns: any other column (a 2/5 logo column,
   a nested row) keeps the width set in the builder. */
.dsr-avhero:is(.dsr-hero--center, .dsr-hero--word) .fusion-builder-row > .fusion-layout-column:is(.dsr-av-copy, .dsr-av-letters) {
    --awb-width-large: 100% !important;
    --awb-width-medium: 100% !important;
    --awb-width-small: 100% !important;
}
.dsr-avhero.dsr-hero--center .dsr-av-letters { display: none !important; }
.dsr-avhero:is(.dsr-hero--center, .dsr-hero--word) .dsr-av-copy .fusion-title { justify-content: center; text-align: center; }
.dsr-avhero:is(.dsr-hero--center, .dsr-hero--word) .dsr-av-copy .fusion-title-heading { text-align: center !important; margin-left: auto !important; margin-right: auto !important; max-width: 820px; }
.dsr-avhero:is(.dsr-hero--center, .dsr-hero--word) .dsr-av-copy p.fusion-title-heading { max-width: 640px; text-wrap: balance; }
.dsr-avhero:is(.dsr-hero--center, .dsr-hero--word) .dsr-av-cta .fusion-column-wrapper { justify-content: center !important; }
.dsr-avhero.dsr-hero--word .dsr-av-letters { margin-top: clamp(48px, 6vw, 80px); }

.dsr-avhero.dsr-hero--split > .fusion-builder-row { align-items: center; }
.dsr-avhero.dsr-hero--split .dsr-av-copy { --awb-width-large: 60% !important; }
.dsr-avhero.dsr-hero--split .dsr-av-letters { --awb-width-large: 40% !important; }
.dsr-avhero.dsr-hero--split .dsr-av-copy .fusion-title { justify-content: flex-start; text-align: left; }
.dsr-avhero.dsr-hero--split .dsr-av-copy .fusion-title-heading { text-align: left !important; margin-left: 0 !important; max-width: none; }
.dsr-avhero.dsr-hero--split .dsr-av-cta .fusion-column-wrapper { justify-content: flex-start !important; }

/* Extra shading for the layouts the builder's gradient wasn't made for. */
.dsr-avhero:is(.dsr-hero--split, .dsr-hero--word)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.dsr-avhero.dsr-hero--split::before { background: linear-gradient(90deg, color-mix(in srgb, var(--ds-base, #121212) 75%, transparent) 0%, color-mix(in srgb, var(--ds-base, #121212) 30%, transparent) 55%, transparent 100%); }
.dsr-avhero.dsr-hero--word::before { background: color-mix(in srgb, var(--ds-base, #121212) 50%, transparent); }
@media (max-width: 1024px) {
    .dsr-avhero.dsr-hero--split .dsr-av-letters { margin-top: 64px; }
}
@media (max-width: 900px) {
    .dsr-avhero:is(.dsr-hero--center, .dsr-hero--word) .dsr-av-cta .fusion-column-wrapper { max-width: 360px; margin: 0 auto; }
}

/* =========================================================================
   Scripture + why this series, built from Avada elements. The container has
   class "dsr dsr-avabout" (so the section's styles apply) and one centred
   column (1/2 wide on desktop) holding:
     Text Block, class dsr-verse:  <blockquote><p>“…<mark>great</mark>.”</p></blockquote><p>— Psalm 18:35 NCV</p>
     Title (div), class dsr-av-eyebrow:  Why this series
     Title (h2), class dsr-av-h2
     Separator (72px, teal)
     Text Block, class dsr-prose:  paragraphs, then a <blockquote> statement
   Spacing is the builder's; type comes from here.
   ========================================================================= */
.dsr.dsr-avabout { overflow-x: visible; }
/* On a post, the site's "Copy Button on Scriptures" snippet (WPCode
   10019520) adds a copy button to every .single-post blockquote. The verse
   and closing statement here are statements, not copyable cards. */
.dsr .copy-btn { display: none !important; }
.dsr .dsr-verse > p:last-child {
    margin: 18px 0 0 !important;
    font-family: var(--dsr-ui);
    font-size: 14px !important;
    font-weight: 700;
    line-height: 1.2 !important;
    letter-spacing: -0.01em;
    color: var(--dsr-t2);
}
.dsr .dsr-verse mark {
    padding: 0 .04em;
    color: inherit;
    background: linear-gradient(to top, var(--dsr-mark) 40%, transparent 40%);
}
:is(.dsr-avhero, .dsr-avabout) .dsr-av-eyebrow .fusion-title-heading { font-size: 13px !important; line-height: 1.4 !important; }
.dsr-avabout .dsr-av-h2 h2 { font-size: clamp(36px, 4.4vw, 56px) !important; line-height: 1.14 !important; letter-spacing: -0.03em !important; text-wrap: balance; }

@media (prefers-reduced-motion: reduce) {
    .dsr *, .dsr *::before, .dsr *::after { animation: none !important; transition: none !important; }
}
