/* ==========================================================================
   Internal pages — loaded last, after legacy page CSS.
   1. Maps the legacy --site-* tokens onto the design system.
   2. Unifies typography and shared components across every template.
   Page-specific refinements follow in clearly marked sections.
   ========================================================================== */

/* ---------- 1. Legacy token map ---------- */
body.tij{
  --site-paper:var(--paper);--site-ivory:var(--ivory);--site-surface:var(--white);--site-surface-warm:var(--paper);
  --site-soft:var(--lavender-50);--site-soft-gold:var(--gold-100);
  --site-navy:var(--plum-900);--site-ink:var(--ink);--site-charcoal:var(--ink-soft);--site-muted:#596176;
  --site-primary:var(--plum-700);--site-primary-hover:var(--plum-800);--site-green:var(--plum-700);--site-green-hover:var(--plum-800);
  --site-gold:#755826;--site-gold-bright:var(--gold-500);--site-gold-champagne:var(--gold-300);--site-gold-line:#E8DEC9;
  --site-crimson:#8A2A3A;--site-line:rgba(78,45,114,.14);--site-line-strong:rgba(78,45,114,.3);--site-focus:var(--focus);
  --site-sans:var(--font-body);--site-serif:var(--font-display);--site-display:var(--font-display);
  --site-radius-sm:6px;--site-radius:10px;--site-radius-lg:14px;
  --site-shadow:0 2px 10px rgba(29,17,41,.05);--site-shadow-lg:0 26px 50px -30px rgba(29,17,41,.42);
  --site-font-title:var(--step-4);
  /* page-template palettes */
  --women-ink:var(--plum-900);--men-navy:var(--plum-900);--men-ink:var(--plum-900);--memory-ink:var(--plum-900);
  background:var(--ivory);color:var(--ink);font-family:var(--font-body);
}

/* ---------- 2. Typography ---------- */
/* Headings: one family everywhere (legacy page rules are more specific, so this is enforced). */
body.tij main :is(h1,h2,h3,h4){font-family:var(--font-display)!important;font-weight:600!important;letter-spacing:-.005em!important;text-transform:none!important}
:where(body.tij main) :is(h1,h2,h3,h4){color:var(--plum-900)}
/* No all-caps, widely tracked labels: they read as decoration and are harder to read. */
body.tij main :not(h1,h2,h3,h4,.ref,cite,abbr){text-transform:none!important;letter-spacing:normal!important}
body.tij main h1{font-size:var(--step-4)!important;line-height:1.05!important}
body.tij main h2{font-size:var(--step-3);line-height:1.1}
body.tij main h3{font-size:var(--step-2);line-height:1.18}
body.tij main h4{font-size:var(--step-1);line-height:1.25}
body.tij main :is(p,li,dd){font-family:var(--font-body)}
body.tij main :is(blockquote,.scripture,.verse-text) p{font-family:var(--font-display)}
body.tij main{font-size:var(--step-0);line-height:1.7}

/* Decorative labels above headings are removed (they repeated the heading). */
body.tij main :is([class$="-kicker"],[class*="-kicker "],.site-eyebrow,.sc-eyebrow,.audience-eyebrow,.about-photo-label){display:none!important}

/* ---------- Breadcrumbs ---------- */
body.tij .breadcrumbs{width:min(100% - 2*var(--gutter),var(--wrap));margin:0 auto;padding:1.1rem 0 0;display:flex;flex-wrap:wrap;gap:.4rem;font-size:.88rem;color:var(--ink-soft);background:none;border:0}
body.tij .breadcrumbs a{color:var(--plum-700);font-weight:600;text-decoration:none}
body.tij .breadcrumbs a:hover{text-decoration:underline}
body.tij .breadcrumbs [aria-current]{color:var(--ink-soft)}

/* ---------- Links & buttons inside content ---------- */
:where(body.tij main) a{color:var(--plum-700)}
:where(body.tij main) a:hover{color:var(--violet-600)}
body.tij main :is(.btn-primary,.button,.site-button,.sc-button,.primary-button,.cta-button,[class$="-button"]:not([class*="share"]):not([class*="icon"])){border-radius:var(--radius-pill);font-family:var(--font-body);font-weight:700;letter-spacing:.005em;text-transform:none}

/* ---------- Scripture quotations ---------- */
body.tij main blockquote{font-family:var(--font-display)}
body.tij main blockquote :is(cite,footer),body.tij main figcaption cite{font-family:var(--font-display);font-style:normal;font-variant:small-caps;letter-spacing:.04em;font-weight:600;color:var(--plum-700)}

/* ---------- Disclosure / accordions ---------- */
body.tij main details>summary{cursor:pointer}
body.tij main details>summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}

/* ---------- Main canvas ---------- */
body.tij main#content{background:transparent}
body.tij .site-footer{margin-top:0}

/* ==========================================================================
   Page mastheads — every template's header uses .page-masthead
   A full-bleed lavender band (painted with box-shadow, so no template layout changes).
   ========================================================================== */
body.tij .breadcrumbs{position:relative;background:var(--lavender-100);box-shadow:0 0 0 100vmax var(--lavender-100);clip-path:inset(0 -100vmax)}
body.tij .page-masthead{position:relative;background-color:var(--lavender-100);box-shadow:0 0 0 100vmax var(--lavender-100);clip-path:inset(0 -100vmax);padding-top:clamp(1.25rem,1rem + 2vw,2.5rem)!important;padding-bottom:clamp(2rem,1.4rem + 3vw,3.75rem)!important;margin-bottom:clamp(2rem,1.5rem + 2vw,3.5rem)!important;border:0!important;border-radius:0!important}
body.tij .page-masthead::after{content:"";position:absolute;left:calc(50% - 50vw);right:calc(50% - 50vw);bottom:0;height:1px;background:linear-gradient(90deg,transparent,rgba(185,151,91,.55) 20%,rgba(185,151,91,.55) 80%,transparent)}
body.tij .page-masthead h1{max-width:18ch}
body.tij .page-masthead :is(.lede,.lead,p[class$="-intro"],p[class$="-lead"],p[class$="-lede"]){font-size:var(--step-1)!important;line-height:1.6;color:var(--ink-soft);max-width:56ch}
/* Generic CMS pages */
body.tij .study-hero .study-reference-bar{margin-top:1.1rem;padding:0;background:none;border:0;box-shadow:none;font-size:.95rem;color:var(--ink-soft)}
body.tij .study-hero .study-reference-text strong{font-weight:700;color:var(--plum-800)}
body.tij .study-hero .study-reference-text span{font-family:var(--font-display);font-size:1.12rem;font-weight:600;color:var(--plum-700)}

/* Content sections in the shared renderer */
body.tij .study-section{background:transparent;border:0;box-shadow:none;padding:0;margin:0 0 2.5rem}
body.tij .study-section p{max-width:var(--measure)}
body.tij .study-response-grid.two-col{gap:clamp(1.5rem,1rem + 2vw,3rem)}
body.tij .study-response-grid .study-section{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-md);padding:clamp(1.25rem,1rem + 1vw,2rem)}
body.tij .study-response-grid .study-live{border-top:2px solid var(--gold-500)}

/* "Continue exploring" — one compact next step */
body.tij .core-next{background:transparent!important;border:0!important;border-top:1px solid var(--line)!important;border-radius:0!important;box-shadow:none!important;padding:2rem 0 0!important;margin:3rem 0 4rem!important}
body.tij .core-next h2{font-size:var(--step-2)!important;margin-bottom:1rem}
body.tij .core-next a{border-radius:var(--radius-md)!important;border:1px solid var(--line)!important;background:var(--white)!important;font-weight:700}
body.tij .core-next a:hover{border-color:var(--plum-700)!important}

/* ==========================================================================
   404
   ========================================================================== */
.notfound{padding:clamp(3rem,2rem + 6vw,7rem) 0 clamp(4rem,3rem + 5vw,7rem)}
.notfound-inner{max-width:760px}
.tij .notfound h1{font-size:var(--step-4)}
.notfound-lead{margin-top:1rem;font-size:var(--step-1);color:var(--ink-soft);max-width:48ch}
.notfound-search{display:flex;gap:.6rem;margin-top:2rem;max-width:560px}
.notfound-search input{flex:1;min-width:0;font:inherit;padding:.8rem 1rem;min-height:48px;border:1.5px solid var(--line-strong);border-radius:var(--radius-pill);background:var(--white)}
.notfound-search input:focus{outline:none;border-color:var(--violet-600);box-shadow:0 0 0 4px rgba(107,76,154,.18)}
.notfound-links{list-style:none;padding:0;margin:2rem 0 0;display:flex;flex-wrap:wrap;gap:.6rem 1.6rem}
.tij .notfound-links a{font-weight:700;text-decoration:underline;text-decoration-color:var(--gold-500);text-decoration-thickness:2px;text-underline-offset:.3em}
.notfound-verse{margin:3rem 0 0;padding-left:1.25rem;border-left:2px solid var(--gold-500)}
.notfound-verse blockquote{margin:0}
.notfound-verse p{font-family:var(--font-display);font-style:italic;font-size:var(--step-2);color:var(--ink)}
.notfound-verse .ref{color:var(--plum-700)}

/* ==========================================================================
   Bible Books — a compact index (grouped headings already name the section)
   ========================================================================== */
body.tij .book-meta{display:none!important}
body.tij .discovery-results [data-discovery-group]>h2{font-size:var(--step-2)!important;margin:2.5rem 0 1rem;padding-bottom:.6rem;border-bottom:1px solid var(--gold-500)}
body.tij .book-index{list-style:none;margin:0;padding:0;display:grid!important;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1rem!important}
body.tij .book-index>li>article{height:100%;background:var(--white)!important;border:1px solid var(--line)!important;border-radius:var(--radius-md)!important;box-shadow:none!important;padding:1.1rem 1.15rem 1rem!important;display:flex;flex-direction:column}
body.tij .book-index h3{font-size:1.45rem!important;margin:0 0 .35rem!important}
body.tij .book-index article>p{font-size:.94rem;line-height:1.55;color:var(--ink-soft);margin:0}
body.tij .book-detail{margin-top:auto;padding-top:.75rem}
body.tij .book-detail summary{font-size:.88rem;font-weight:700;color:var(--plum-700);list-style:none}
body.tij .book-detail summary::-webkit-details-marker{display:none}
body.tij .book-detail[open] p{font-size:.92rem;margin-top:.5rem}
@media (max-width:700px){
  body.tij .book-index{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem!important}
  body.tij .book-index>li>article{padding:.85rem .8rem!important}
  body.tij .book-index h3{font-size:1.22rem!important}
  body.tij .book-index article>p{font-size:.84rem;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
  body.tij .book-index article .book-detail[open]~p,body.tij .book-index article:has(.book-detail[open])>p{-webkit-line-clamp:unset}
}

/* ==========================================================================
   Bible Timeline — tighter entries
   ========================================================================== */
body.tij .timeline-list>li>article,body.tij .timeline-list article{background:var(--white)!important;border:1px solid var(--line)!important;border-radius:var(--radius-md)!important;box-shadow:none!important}
body.tij .timeline-lesson{background:var(--lavender-50)!important;border:0!important;border-left:2px solid var(--gold-500)!important;border-radius:0!important}
body.tij .discovery-uncertainty{font-size:.9rem;color:var(--ink-soft)}

/* ==========================================================================
   Search
   ========================================================================== */
body.tij .search-form{width:min(100% - 2*var(--gutter),760px);margin:0 auto 1.5rem}
body.tij .search-form label{display:block;font-weight:700;color:var(--plum-900);margin-bottom:.5rem}
body.tij .search-controls{display:flex;gap:.6rem}
body.tij .search-controls input{flex:1;min-width:0;min-height:52px;padding:.8rem 1.1rem;font:inherit;border:1.5px solid var(--line-strong);border-radius:var(--radius-pill);background:var(--white)}
body.tij .search-controls input:focus{outline:none;border-color:var(--violet-600);box-shadow:0 0 0 4px rgba(107,76,154,.18)}
body.tij .search-controls button{min-height:52px;padding-inline:1.6rem;border-radius:var(--radius-pill);background:var(--plum-700);color:var(--white);border:0;font-weight:700}
body.tij .search-status{width:min(100% - 2*var(--gutter),var(--wrap));margin:2rem auto 1rem;font-weight:700;color:var(--ink-soft)}
body.tij .search-results{list-style:none;width:min(100% - 2*var(--gutter),var(--wrap));margin:0 auto 4rem;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem}
body.tij .search-results>li{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-md);padding:1.15rem 1.25rem;margin:0}
body.tij .search-results .result-type{font-size:.82rem;font-weight:700;color:var(--violet-600);margin:0 0 .25rem}
body.tij .search-results h2{font-size:1.4rem!important;margin:0 0 .35rem}
body.tij .search-results h2 a{text-decoration:none;color:var(--plum-900)}
body.tij .search-results h2 a:hover{color:var(--violet-600);text-decoration:underline;text-decoration-color:var(--gold-500)}
body.tij .search-results p{font-size:.94rem;color:var(--ink-soft);margin:0}
body.tij .empty-state{width:min(100% - 2*var(--gutter),760px);margin:2rem auto 4rem}
body.tij .book-detail summary{white-space:nowrap}
@media (max-width:700px){body.tij .book-detail summary{font-size:.8rem}}

/* ==========================================================================
   Bible references ("Read in your Bible")
   One quiet reference line. Hidden where the card already quotes the passage.
   ========================================================================== */
body.tij .bible-reading-prompt{display:inline-flex!important;align-items:baseline;gap:.45rem;padding:0!important;margin:.35rem 0!important;border:0!important;background:none!important;box-shadow:none!important}
body.tij .bible-reading-prompt .bible-reading-label{font-size:.82rem;font-weight:600;color:var(--ink-soft)}
body.tij .bible-reading-prompt strong{font-family:var(--font-display)!important;font-size:1.08rem!important;font-weight:600!important;color:var(--plum-700)!important}
body.tij article:has(blockquote) .bible-reading-prompt:not(:only-child),
body.tij :is(.jc-pillar-card,.el-pillar-card,.gospel-truth-card,.jc-iam-card,.el-truth-card,.prayer-comfort-card) .bible-reading-prompt{display:none!important}
/* Lists of supporting passages: inline, comma-like */
body.tij :is(.sof-ref-pills,[class$="-ref-list"],[class$="-reading-list"]){display:flex!important;flex-wrap:wrap;gap:.2rem 1.1rem}
body.tij :is(.sof-ref-pills,[class$="-ref-list"]) .bible-reading-label{display:none}
body.tij .sof-references-bar{display:flex;flex-wrap:wrap;align-items:baseline;gap:.25rem 1rem;padding:.9rem 0 0!important;margin-top:1rem;border:0!important;border-top:1px solid var(--line)!important;background:none!important}
body.tij .sof-ref-label{font-size:.85rem;font-weight:700;color:var(--ink-soft)}

/* Quotations inside teaching cards: lighter than the legacy gold panels */
body.tij main :is(article,section,div)[class*="card"] blockquote{background:var(--lavender-50)!important;border:0!important;border-left:2px solid var(--gold-500)!important;border-radius:0 var(--radius-sm) var(--radius-sm) 0!important;box-shadow:none!important}
/* Statement of Faith: supporting-passage lists are the point; always show them. */
body.tij article .sof-references-bar .sof-ref-pills .bible-reading-prompt:not(.x){display:inline-flex!important}
body.tij #quiz-app .answer-card{text-align:left;justify-content:flex-start}
/* Scripture citations: small caps (as printed Bibles), never forced capitals */
body.tij main :is(cite,.ref){text-transform:none!important;font-variant:small-caps;letter-spacing:.04em!important}

/* ==========================================================================
   Long pages: compact layouts on phones
   ========================================================================== */
body.tij .timeline-period{margin:0 0 .3rem;font-size:.85rem;font-weight:700;color:var(--violet-600)}
body.tij .timeline-more{margin-top:.9rem;border-top:1px solid var(--line);padding-top:.7rem}
body.tij .timeline-more>summary{list-style:none;font-size:.9rem;font-weight:700;color:var(--plum-700)}
body.tij .timeline-more>summary::-webkit-details-marker{display:none}
body.tij .timeline-more>summary::after{content:"  +";color:var(--gold-500)}
body.tij .timeline-more[open]>summary::after{content:"  –"}
body.tij .timeline-more[open]>*:not(summary){margin-top:.6rem}
@media (max-width:700px){
  /* Kids: activities and memory cards two-up */
  body.tij .kids-activity-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.65rem!important}
  body.tij .kids-activity-card{padding:.85rem!important}
  body.tij .kids-activity-card :is(h3){font-size:1.12rem!important}
  body.tij .kids-activity-card p{font-size:.85rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  body.tij .kids-activity-card .kids-card-art{max-height:84px;overflow:hidden}
  body.tij .kids-activity-card .kids-card-art svg{max-height:72px;width:auto}
  body.tij .kids-wisdom-grid>*{padding:1rem!important}
  body.tij .kids-wisdom-grid .kids-card-art,body.tij .kids-wisdom-grid svg{max-height:56px;width:auto}
  /* Scripture Memory: passage library two-up */
  body.tij .memory-card{padding:.85rem!important}
  body.tij :has(>.memory-card){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.6rem!important}
  body.tij .memory-card h3{font-size:1.15rem!important}
  body.tij .memory-card p{font-size:.85rem}
}
/* Contrast fixes found in the accessibility pass */
body.tij .study-response-grid .study-section,body.tij .study-response-grid .study-section :is(p,li){color:var(--ink)!important}
body.tij .study-response-grid .study-section h2{color:var(--plum-900)!important}
body.tij .about-foundation :is(cite,figcaption,.ref){color:var(--gold-300)!important}
body.tij :is(.jc-pillar-badge,.sof-article-badge,.el-contrast-badge,.family-tag,.memory-tag,.level-state,.women-topic-number,.step-badge){color:var(--plum-800)!important}
body.tij main cite{color:var(--plum-700)}
body.tij .answer-card{width:100%!important;justify-self:stretch;font:inherit;cursor:pointer}

/* ==========================================================================
   PREMIUM LAYER (v2)
   One shared "sanctuary" page hero, a consistent reading column, elevated
   cards and a calmer section rhythm for every internal page.
   ========================================================================== */
body.tij{--p-paper:#FFFDF9;--p-white:#FFFFFF;--p-line:rgba(78,45,114,.14);--p-line-strong:rgba(78,45,114,.26);--p-ink:#1C2740;--p-ink-soft:#4A5368;--hero-ink:#F3EEF8;--hero-soft:#D9CCE8;--card-shadow:0 1px 2px rgba(29,17,41,.04),0 12px 32px -18px rgba(29,17,41,.22);--card-shadow-hover:0 2px 4px rgba(29,17,41,.05),0 22px 44px -20px rgba(29,17,41,.32);--radius-lg:18px}
body.tij main#content{padding-top:0!important}

/* ---------- Breadcrumb + hero = one dark band ---------- */
body.tij main .breadcrumbs{position:relative;z-index:2;width:auto!important;max-width:none!important;margin:0!important;padding:1.35rem 0 0!important;background:transparent!important;box-shadow:none!important;clip-path:none!important;color:rgba(217,204,232,.78);font-size:.86rem;letter-spacing:.01em}
body.tij main .breadcrumbs::before{content:"";position:absolute;z-index:-1;top:0;bottom:-1px;left:calc(50% - 50vw);right:calc(50% - 50vw);background:var(--plum-950)}
body.tij main:has(.page-masthead:not(.kids-hero)) .breadcrumbs::before{background:transparent}
body.tij main .breadcrumbs a{color:var(--gold-300)!important;font-weight:600}
body.tij main .breadcrumbs [aria-current],body.tij main .breadcrumbs span{color:rgba(217,204,232,.8)!important}

body.tij .page-masthead{position:relative;z-index:1;isolation:isolate;color:var(--hero-ink);background:transparent!important;box-shadow:none!important;clip-path:none!important;margin-top:0!important;padding-top:clamp(1.75rem,1.2rem + 2.4vw,3.25rem)!important;padding-bottom:clamp(3rem,2rem + 4vw,5.25rem)!important;margin-bottom:clamp(2.5rem,1.8rem + 3vw,4.5rem)!important;min-height:0!important}
body.tij .page-masthead::before{content:"";display:block!important;position:absolute;z-index:-1;top:-8rem;bottom:0;left:calc(50% - 50vw);right:calc(50% - 50vw);background:
  radial-gradient(60rem 26rem at 78% 20%,rgba(164,140,200,.22),transparent 62%),
  linear-gradient(180deg,var(--plum-950) 0%,rgba(29,17,41,.86) 16%,rgba(43,26,61,.74) 58%,rgba(20,31,54,.88) 100%),linear-gradient(90deg,rgba(29,17,41,.55),rgba(29,17,41,0) 70%),
  url('/assets/images/home/hero-open-bible-blur-1600.webp') center 42%/cover no-repeat,var(--plum-950)}
body.tij .page-masthead::after{content:"";display:block!important;position:absolute;bottom:0;left:calc(50% - 50vw)!important;right:calc(50% - 50vw)!important;height:1px!important;background:linear-gradient(90deg,transparent,rgba(227,205,157,.7) 30%,rgba(227,205,157,.7) 70%,transparent)!important}
@media (max-width:760px){body.tij .page-masthead::before{background:linear-gradient(180deg,var(--plum-950) 0%,rgba(29,17,41,.9) 20%,rgba(43,26,61,.86) 100%),url('/assets/images/home/hero-open-bible-blur-800.webp') 70% 50%/cover no-repeat,var(--plum-950)}}

/* Hero type */
body.tij .page-masthead h1{color:var(--p-paper)!important;font-size:clamp(2.4rem,1.55rem + 3.3vw,4.15rem)!important;font-weight:600!important;line-height:1.05!important;letter-spacing:-.012em!important;max-width:17ch!important;margin:0!important}
body.tij .page-masthead h1 span{color:var(--gold-300)!important;font-style:italic;font-weight:500}
body.tij .page-masthead h1::after{content:"";display:block!important;width:56px;height:2px;margin-top:clamp(1rem,.8rem + .8vw,1.4rem);background:linear-gradient(90deg,var(--gold-300),var(--gold-500))}
body.tij .page-masthead :is(p,li,span,small,strong,em,dd,dt,label,figcaption,div){color:inherit}
body.tij .page-masthead :is(.lede,.lead,.hero-description,p[class$="-intro"],p[class$="-lead"],p[class$="-lede"],p[class$="-motto"]){color:var(--hero-soft)!important;font-size:var(--step-1)!important;line-height:1.62!important;max-width:54ch!important;margin-top:1.1rem!important}
body.tij .page-masthead p[class$="-motto"]{font-family:var(--font-display);font-style:italic;font-size:var(--step-2)!important;color:var(--gold-300)!important}
body.tij .page-masthead :is(.hero-note,.audience-reassurance,.kids-hero-note){color:rgba(217,204,232,.72)!important;font-size:.9rem!important;margin-top:1.1rem!important}
body.tij .page-masthead .study-reference-bar{margin-top:1.4rem!important;color:var(--hero-soft)!important}
body.tij .page-masthead .study-reference-text strong{color:rgba(217,204,232,.8)!important;font-weight:600!important}
body.tij .page-masthead .study-reference-text span{color:var(--gold-300)!important}
body.tij .page-masthead cite,body.tij .page-masthead .ref{color:var(--gold-300)!important}

/* Hero actions: first is gold, the rest are light outlines */
body.tij .page-masthead [class*="-actions"]{display:flex!important;flex-wrap:wrap;gap:.75rem!important;margin-top:clamp(1.5rem,1.2rem + 1vw,2.1rem)!important}
body.tij .page-masthead [class*="-actions"]>:is(a,button){display:inline-flex!important;align-items:center;justify-content:center;gap:.5em;min-height:48px;padding:.72rem 1.4rem!important;border-radius:999px!important;font-family:var(--font-body)!important;font-size:.95rem!important;font-weight:700!important;line-height:1.2;text-decoration:none!important;background:rgba(255,253,249,.04)!important;color:var(--p-paper)!important;border:1.5px solid rgba(255,253,249,.42)!important;box-shadow:none!important;transition:background-color .2s,border-color .2s,transform .2s}
body.tij .page-masthead [class*="-actions"]>:is(a,button):hover{background:rgba(255,253,249,.12)!important;border-color:var(--p-paper)!important;transform:translateY(-1px)}
body.tij .page-masthead [class*="-actions"]>:is(a,button):first-child{background:var(--gold-300)!important;color:var(--plum-950)!important;border-color:var(--gold-300)!important}
body.tij .page-masthead [class*="-actions"]>:is(a,button):first-child:hover{background:var(--gold-100)!important;border-color:var(--gold-100)!important}
body.tij .page-masthead [class*="-actions"] span{color:inherit!important}

/* Hero side panels: frosted glass with a gold hairline */
body.tij .page-masthead>:is(aside,figure,div:not(:first-child)):not(.study-reference-bar){position:relative}
body.tij .page-masthead>aside{background:rgba(255,253,249,.06)!important;border:1px solid rgba(227,205,157,.32)!important;border-radius:var(--radius-lg)!important;box-shadow:0 30px 60px -32px rgba(0,0,0,.6)!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:var(--hero-ink)!important;padding:clamp(1.4rem,1rem + 1.4vw,2.2rem)!important}
body.tij .page-masthead>aside::before{content:"";position:absolute;top:0;left:1.6rem;right:1.6rem;height:1px;background:linear-gradient(90deg,transparent,var(--gold-300),transparent)}
body.tij .page-masthead>aside :is(h2,h3,.aside-title){color:var(--p-paper)!important;font-family:var(--font-display)!important}
body.tij .page-masthead>aside :is(p,span,strong){color:var(--hero-soft)!important}
body.tij .page-masthead>aside :is(blockquote,blockquote p){font-family:var(--font-display)!important;font-style:italic;font-size:clamp(1.2rem,1.05rem + .5vw,1.45rem)!important;line-height:1.45!important;color:var(--p-paper)!important;background:none!important;border:0!important;padding:0!important;margin:0!important}
body.tij .page-masthead>aside cite{display:block;margin-top:.55rem;font-size:1rem;font-style:normal}
body.tij .page-masthead>aside [class*="-divider"],body.tij .page-masthead>aside .aside-rule{height:1px!important;background:rgba(227,205,157,.3)!important;border:0!important;margin:1.2rem 0!important}
body.tij .page-masthead>aside :is([class*="-reference"]){font-family:var(--font-display)!important;font-size:1.35rem!important;color:var(--gold-300)!important}
body.tij .page-masthead>aside a{color:var(--gold-300)!important;font-weight:700;text-decoration:none}
body.tij .page-masthead>aside a:hover{text-decoration:underline}
body.tij .page-masthead>aside svg{color:var(--gold-300)}
body.tij .page-masthead>aside svg :is(path,circle,rect,line){stroke:var(--gold-300)}
body.tij .page-masthead .bible-reading-prompt .bible-reading-label{color:rgba(217,204,232,.75)!important}
body.tij .page-masthead .bible-reading-prompt strong{color:var(--gold-300)!important}
body.tij .page-masthead figure img{border-radius:var(--radius-lg)!important;box-shadow:0 30px 60px -28px rgba(0,0,0,.7)!important;outline:1px solid rgba(227,205,157,.35);outline-offset:6px}
/* Illustrations: set on a soft ivory medallion so their colours keep working */
body.tij .page-masthead :is(.gospel-hero-art,.women-hero-art){background:radial-gradient(circle at 50% 45%,rgba(255,253,249,.96),rgba(244,234,211,.9) 60%,rgba(244,234,211,.0) 71%)!important;border:0!important;box-shadow:none!important}
body.tij .page-masthead :is(.gospel-hero-art,.women-hero-art)>:is(span,p){color:var(--gold-300)!important}

/* Children keep their bright, illustrated welcome */
body.tij main:has(.kids-hero) .breadcrumbs{color:var(--p-ink-soft)}
body.tij main:has(.kids-hero) .breadcrumbs::before{background:transparent}
body.tij main:has(.kids-hero) .breadcrumbs a{color:var(--plum-700)!important}
body.tij main:has(.kids-hero) .breadcrumbs span{color:var(--p-ink-soft)!important}
body.tij .kids-hero.page-masthead{color:var(--p-ink);border-radius:28px!important;margin-top:1rem!important;padding:clamp(2rem,1.5rem + 2vw,3.5rem)!important;background:linear-gradient(135deg,#EEF4F8,#F7F1E6)!important;box-shadow:var(--card-shadow)!important}
body.tij .kids-hero.page-masthead::before,body.tij .kids-hero.page-masthead::after,body.tij .kids-hero.page-masthead h1::after{display:none!important}
body.tij .kids-hero.page-masthead h1{color:var(--plum-900)!important}
body.tij .kids-hero.page-masthead :is(p,span){color:inherit!important}
body.tij .kids-hero.page-masthead .kids-hero-summary{color:var(--p-ink-soft)!important}
body.tij .kids-hero.page-masthead [class*="-actions"]>:is(a,button){color:var(--plum-800)!important;border-color:var(--p-line-strong)!important;background:var(--p-white)!important}
body.tij .kids-hero.page-masthead [class*="-actions"]>:is(a,button):first-child{background:var(--plum-700)!important;color:var(--p-white)!important;border-color:var(--plum-700)!important}

/* ---------- Reading workspace: a refined side rail ---------- */
body.tij .reading-workspace{gap:clamp(2rem,1.2rem + 3vw,4.5rem)!important;align-items:start}
body.tij .workspace-rail{position:sticky;top:calc(var(--nav-height,72px) + 1.25rem);background:var(--p-paper)!important;border:1px solid var(--p-line)!important;border-radius:var(--radius-lg)!important;padding:1.25rem 1.1rem!important;box-shadow:var(--card-shadow)!important}
body.tij .workspace-label{font-family:var(--font-display)!important;font-size:1.2rem!important;font-weight:600!important;color:var(--plum-900)!important;margin:0 0 .6rem!important;padding-bottom:.6rem;border-bottom:1px solid var(--p-line);display:block!important;text-transform:none!important;letter-spacing:0!important}
body.tij .workspace-rail .page-outline a,body.tij .workspace-rail .section-links a{display:block;padding:.45rem .7rem!important;border-radius:8px;border-left:2px solid transparent!important;font-size:.92rem;font-weight:600;color:var(--p-ink-soft)!important;text-decoration:none!important;background:none!important}
body.tij .workspace-rail .page-outline a:hover,body.tij .workspace-rail .page-outline a[aria-current],body.tij .workspace-rail .page-outline a.is-active{color:var(--plum-800)!important;background:var(--lavender-50)!important;border-left-color:var(--gold-500)!important}
body.tij .workspace-rail .reading-tools{margin-top:.9rem;padding-top:.8rem;border-top:1px solid var(--p-line)}

/* ---------- Section rhythm ---------- */
body.tij main :is(.study-section-head h2,.workspace-content>section>h2){font-size:var(--step-3)!important;line-height:1.12;margin-bottom:1rem!important}
body.tij main .study-section-head h2::before{content:"";display:block;width:40px;height:2px;margin-bottom:.9rem;background:var(--gold-500)}
body.tij .study-understand>p:first-of-type{font-size:var(--step-1);line-height:1.7;color:var(--p-ink)}
body.tij .study-section p{line-height:1.78}
body.tij .study-response-grid .study-section{background:var(--p-white)!important;border:1px solid var(--p-line)!important;border-radius:var(--radius-lg)!important;box-shadow:var(--card-shadow)!important;padding:clamp(1.4rem,1.1rem + 1.2vw,2.25rem)!important}
body.tij .study-response-grid .study-section h2{font-size:var(--step-2)!important}
body.tij .study-response-grid .study-section h2::before{width:28px}
body.tij .study-response-grid .study-reflect{background:linear-gradient(180deg,var(--lavender-50),var(--p-white))!important}
body.tij .study-response-grid .study-live{border-top:1px solid var(--p-line)!important;background:linear-gradient(180deg,#FBF6EA,var(--p-white))!important}

/* ---------- Cards across templates: one elevated surface ---------- */
body.tij main :is(article,section,div,li,a)[class$="-card"]:not(.answer-card):not(.page-masthead *),
body.tij .search-results>li,body.tij .book-index>li>article,body.tij .timeline-list article{border-radius:var(--radius-lg)!important;border:1px solid var(--p-line)!important;box-shadow:var(--card-shadow)!important;transition:box-shadow .25s var(--ease,ease),transform .25s var(--ease,ease),border-color .25s}
body.tij main :is(article,section,div,li,a)[class$="-card"]:not(.answer-card):not(.page-masthead *):hover,
body.tij .search-results>li:hover,body.tij .book-index>li>article:hover{box-shadow:var(--card-shadow-hover)!important;border-color:var(--p-line-strong)!important}
body.tij main a[class$="-card"]:hover,body.tij .search-results>li:hover,body.tij .book-index>li>article:hover{transform:translateY(-2px)}
@media (prefers-reduced-motion:reduce){body.tij main [class$="-card"],body.tij .search-results>li{transition:none!important;transform:none!important}}

/* ---------- Continue exploring ---------- */
body.tij .core-next{position:relative;margin:clamp(3rem,2rem + 3vw,5rem) 0 clamp(3rem,2rem + 3vw,5rem)!important;padding:clamp(1.75rem,1.2rem + 2vw,2.75rem)!important;border:1px solid var(--p-line)!important;border-radius:var(--radius-lg)!important;background:linear-gradient(135deg,var(--lavender-50),var(--p-paper) 60%,#FBF6EA)!important;box-shadow:var(--card-shadow)!important}
body.tij .core-next h2{font-size:var(--step-2)!important}
body.tij .core-next ul{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.8rem!important;list-style:none;margin:0;padding:0}
body.tij .core-next a{display:flex!important;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem!important;color:var(--plum-900)!important;text-decoration:none!important;box-shadow:var(--card-shadow)}
body.tij .core-next a::after{content:"→";color:var(--gold-500);font-weight:700;transition:transform .2s}
body.tij .core-next a:hover::after{transform:translateX(3px)}

/* ---------- Search: the box sits on the hero edge ---------- */
body.tij main:has(>.search-form)>.page-masthead{margin-bottom:0!important;padding-bottom:clamp(4.5rem,3.5rem + 3vw,6.5rem)!important}
body.tij .search-form{position:relative;z-index:3;width:min(100% - 2*var(--gutter),var(--wrap))!important;margin:clamp(-3.6rem,-2.6rem - 1.6vw,-3rem) auto 0!important;padding:clamp(1.25rem,1rem + 1vw,1.9rem)!important;background:var(--p-white);border:1px solid var(--p-line);border-radius:var(--radius-lg);box-shadow:0 2px 4px rgba(29,17,41,.05),0 30px 60px -30px rgba(29,17,41,.4)}
body.tij .search-form label{font-family:var(--font-display);font-size:var(--step-1);font-weight:600}
body.tij .search-controls button{background:var(--plum-700)!important;transition:background-color .2s}
body.tij .search-controls button:hover{background:var(--plum-800)!important}
body.tij .search-status{font-family:var(--font-display);font-size:var(--step-2)!important;font-weight:600!important;color:var(--plum-900)!important;margin:clamp(2.5rem,2rem + 2vw,3.5rem) auto 1.25rem!important}
body.tij .search-results{gap:1.1rem!important}
body.tij .search-results>li{padding:1.4rem 1.5rem!important;position:relative}
body.tij .search-results>li h2 a::after{content:"";position:absolute;inset:0;border-radius:inherit}
body.tij .search-results .result-type{display:inline-block;font-size:.76rem!important;letter-spacing:.06em;color:var(--plum-700)!important;background:var(--lavender-100);padding:.2rem .6rem;border-radius:999px;margin-bottom:.7rem!important}
body.tij :is(.search-status,.search-results,.search-form)~.empty-state{margin-top:3rem}

/* Simple pages without a sidebar (articles, testimonies): one comfortable column */
body.tij main>.page-masthead+:is(.cards,.ministry-layout),body.tij main>.page-masthead~.study-body{margin-top:0}

/* Layouts whose old sidebar was retired: let the remaining column use the width */
body.tij main :is(div,section)[class$="-layout"]:not(:has(>:nth-child(2))){grid-template-columns:minmax(0,1fr)!important}
body.tij .study-subhead{font-size:var(--step-2)!important;color:var(--plum-900);margin:2.25rem 0 .6rem!important;padding-top:1.5rem;border-top:1px solid var(--p-line)}
body.tij .study-section-head+.study-subhead{margin-top:.5rem!important;padding-top:0;border-top:0}

/* Statement of Faith: each article is one clear card — number, title, statement, passages */
body.tij main .sof-articles-list{display:grid;gap:clamp(1.25rem,1rem + 1vw,1.75rem)}
body.tij main .sof-article-card{display:block!important;grid-template-columns:none!important;background:var(--p-white)!important;padding:clamp(1.5rem,1.1rem + 1.6vw,2.5rem)!important;margin:0!important}
body.tij main .sof-article-card>*{grid-column:auto!important;grid-row:auto!important}
body.tij main .sof-article-header{display:flex!important;align-items:baseline;flex-wrap:wrap;gap:.35rem 1rem;width:auto!important;margin:0 0 1rem!important;padding:0 0 1rem!important;border-bottom:1px solid var(--p-line)}
body.tij main .sof-article-header h2{width:auto!important;font-size:var(--step-3)!important;line-height:1.1;margin:0!important}
body.tij main .sof-article-badge{order:-1;flex-basis:100%;width:auto!important;padding:0!important;background:none!important;border:0!important;font-family:var(--font-display);font-style:italic;font-size:1.05rem!important;font-weight:500;color:var(--gold-500)!important;letter-spacing:.02em}
body.tij main .sof-statement{max-width:68ch!important;font-size:var(--step-1);line-height:1.7;margin:0 0 1.4rem!important;color:var(--p-ink)}
body.tij main .sof-verses-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;gap:1rem!important}
body.tij main .sof-verse-box{margin:0!important;padding:1.1rem 1.25rem!important;background:var(--lavender-50)!important;border:0!important;border-left:2px solid var(--gold-500)!important;border-radius:0 12px 12px 0!important;font-family:var(--font-display);font-style:italic;font-size:1.12rem;line-height:1.55;color:var(--p-ink)}
body.tij main .sof-closing{margin-top:clamp(2rem,1.5rem + 2vw,3rem)!important;padding:clamp(1.75rem,1.2rem + 2vw,2.75rem)!important;border-radius:var(--radius-lg)!important;background:linear-gradient(135deg,var(--plum-900),var(--plum-950))!important;color:var(--hero-ink)!important;border:0!important;box-shadow:0 30px 60px -34px rgba(29,17,41,.6)!important}
body.tij main .sof-closing :is(h2){color:var(--p-paper)!important}
body.tij main .sof-closing p{color:var(--hero-soft)!important}
body.tij main .sof-closing .sof-actions>a{background:transparent!important;color:var(--p-paper)!important;border:1.5px solid rgba(255,253,249,.42)!important;border-radius:999px!important}
body.tij main .sof-closing .sof-actions>a:first-child{background:var(--gold-300)!important;color:var(--plum-950)!important;border-color:var(--gold-300)!important}

/* Hero copy written as plain paragraphs (articles, legacy pages) */
body.tij .page-masthead:not(.kids-hero) p:not([class*="kicker"]):not([class*="eyebrow"]){color:var(--hero-soft)!important}
body.tij .page-masthead:not(.kids-hero)>p:not([class*="kicker"]):not([class*="eyebrow"]){font-size:var(--step-1);line-height:1.62;max-width:56ch;margin-top:1.1rem}
body.tij .page-masthead .hero-sub{font-family:var(--font-display);font-style:italic;font-size:var(--step-2)!important;color:var(--gold-100)!important}

/* Articles: Scripture set as quiet, printed-Bible callouts */
body.tij .workspace-content .verse{margin:1.75rem 0!important;padding:1.35rem 1.6rem!important;background:var(--lavender-50)!important;border:0!important;border-left:2px solid var(--gold-500)!important;border-radius:0 14px 14px 0!important;box-shadow:none!important}
body.tij .workspace-content .verse blockquote{margin:0!important;padding:0!important;border:0!important;background:none!important;font-family:var(--font-display)!important;font-style:italic;font-size:clamp(1.2rem,1.1rem + .4vw,1.4rem)!important;line-height:1.5!important;color:var(--p-ink)!important}
body.tij .workspace-content .verse cite{display:block;margin-top:.5rem;color:var(--plum-700)!important;font-style:normal}
body.tij .workspace-content>h2{font-size:var(--step-3)!important;margin:3rem 0 .9rem!important}
body.tij .workspace-content>h2::before{content:"";display:block;width:40px;height:2px;margin-bottom:.9rem;background:var(--gold-500)}
body.tij .workspace-content>p{line-height:1.8;max-width:68ch}
body.tij .workspace-content>p.lede{font-size:var(--step-1)!important;line-height:1.7}
body.tij .page-masthead .hero-sub{font-family:var(--font-display)!important;font-style:italic!important;line-height:1.4!important}
body.tij .page-masthead .women-hero-art>p{display:none!important}
@media (max-width:760px){body.tij .page-masthead :is(.gospel-hero-art,.women-hero-art){display:none!important}}
/* Women: numbered section titles */
body.tij main .women-section-label{display:flex!important;align-items:baseline;gap:.9rem;margin:0 0 1.1rem!important}
body.tij main .women-section-label>span{font-family:var(--font-display);font-style:italic;font-size:1.2rem;color:var(--gold-500)}
body.tij main .women-section-label h2{font-size:var(--step-3)!important;margin:0!important}
body.tij main .women-foundation{display:block!important}
body.tij main .women-foundation-copy{max-width:68ch}
body.tij main .women-foundation-copy p{font-size:var(--step-1);line-height:1.75}
body.tij main .women-section-label>span{background:none!important;padding:0!important;border:0!important;min-width:0!important;width:auto!important;height:auto!important}
body.tij main .women-foundation{background:linear-gradient(135deg,var(--lavender-50),var(--p-white))!important;border:1px solid var(--p-line)!important;border-left:2px solid var(--gold-500)!important;border-radius:0 var(--radius-lg) var(--radius-lg) 0!important;padding:clamp(1.5rem,1.1rem + 1.6vw,2.5rem)!important}

/* ---------- Phase 9 refinements ---------- */
/* Small hero labels stay hidden everywhere */
body.tij .page-masthead :is(.eyebrow,.site-eyebrow){display:none!important}

/* Women: reflection titles in the display serif, like every other card */
body.tij main .women-topic-title{font-family:var(--font-display)!important;font-size:1.32rem!important;font-weight:600!important;line-height:1.25!important;color:var(--plum-900)!important}

/* Prayer: the Lord's Prayer set like a printed page, not a coloured panel */
body.tij main .lords-prayer-card{background:var(--p-white)!important;border:1px solid var(--p-line)!important;border-top:2px solid var(--gold-500)!important;border-radius:var(--radius-lg)!important;box-shadow:var(--card-shadow)!important;padding:clamp(1.5rem,1.1rem + 1.6vw,2.4rem)!important}
body.tij main .lords-prayer-card h3{font-size:var(--step-2)!important;margin-bottom:1rem!important}
body.tij main .lords-prayer-card blockquote{background:none!important;border:0!important;padding:0!important;margin:0!important}
body.tij main .lords-prayer-card blockquote p{margin:0 0 .35rem!important;padding:0!important;border:0!important;background:none!important;font-family:var(--font-display)!important;font-style:italic;font-size:clamp(1.15rem,1.05rem + .4vw,1.32rem)!important;line-height:1.55!important;color:var(--p-ink)!important}
body.tij main .lords-prayer-card cite{display:block;margin-top:1rem;padding-top:.8rem;border-top:1px solid var(--p-line)}
body.tij main .prayer-steps-card{background:linear-gradient(180deg,var(--lavender-50),var(--p-white))!important;border:1px solid var(--p-line)!important;border-radius:var(--radius-lg)!important;box-shadow:var(--card-shadow)!important}

/* Wisdom library: topic cards two-up on phones to shorten the page */
body.tij main .wisdom-topic h2{font-size:1.45rem!important}
@media (max-width:700px){
  body.tij main .wisdom-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.65rem!important}
  body.tij main .wisdom-topic{padding:.9rem .85rem!important}
  body.tij main .wisdom-topic h2{font-size:1.18rem!important}
  body.tij main .wisdom-topic>p:not(.site-eyebrow){font-size:.85rem;line-height:1.5}
  body.tij main .wisdom-topic details summary{font-size:.82rem}
}

/* 404: the same sanctuary band as every other page */
body.tij main.notfound{position:relative;isolation:isolate;color:var(--hero-ink);padding:clamp(3.5rem,2.5rem + 5vw,6.5rem) 0 clamp(4rem,3rem + 5vw,7rem)!important}
body.tij main.notfound::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(60rem 26rem at 78% 20%,rgba(164,140,200,.22),transparent 62%),linear-gradient(180deg,rgba(29,17,41,.9),rgba(43,26,61,.78) 60%,rgba(20,31,54,.92)),url('/assets/images/home/hero-open-bible-blur-1600.webp') center 42%/cover no-repeat,var(--plum-950)}
body.tij main.notfound h1{color:#FFFDF9!important}
body.tij main.notfound h1::after{content:"";display:block;width:56px;height:2px;margin-top:1.2rem;background:linear-gradient(90deg,var(--gold-300),var(--gold-500))}
body.tij main.notfound .notfound-lead{color:var(--hero-soft)!important}
body.tij main.notfound .notfound-search .btn{background:var(--gold-300)!important;color:var(--plum-950)!important}
body.tij main.notfound .notfound-search input{border-color:rgba(255,253,249,.35)!important}
body.tij main.notfound .notfound-links a{color:var(--gold-300)!important;text-decoration-color:rgba(227,205,157,.5)!important}
body.tij main.notfound .notfound-verse{border-left-color:var(--gold-300)!important}
body.tij main.notfound .notfound-verse p{color:#FFFDF9!important}
body.tij main.notfound .notfound-verse :is(.ref,figcaption){color:var(--gold-300)!important}
/* Reading options on pages without a side rail: tucked to the right above the tools */
body.tij main article>details.reading-tools,body.tij main .page-masthead~details.reading-tools{width:fit-content;max-width:100%;margin:0 0 1rem auto!important}
/* Finder panels (books, timeline, wisdom, questions, plans, memory, audience) */
body.tij main :is(.discovery-filter,.rp-filters,.memory-filters,.audience-toolbar form,.women-search){background:var(--p-white)!important;border:1px solid var(--p-line)!important;border-radius:var(--radius-lg)!important;box-shadow:var(--card-shadow)!important}
body.tij main :is(.discovery-filter,.rp-filters,.memory-filters) :is(input,select){border-radius:12px!important}

/* ---------- Complete Scripture: key phrase, full-verse note, memory verses ---------- */
body.tij .verse-key{font-weight:600;color:var(--plum-800);background:linear-gradient(transparent 62%,rgba(227,205,157,.45) 62%);font-style:inherit;padding:0 .05em}
body.tij .page-masthead .verse-key,body.tij :is(.sof-closing,.home-hero) .verse-key{color:#FFFDF9;background:linear-gradient(transparent 62%,rgba(227,205,157,.35) 62%)}
body.tij blockquote.verse-full{margin:.85rem 0 1.6rem!important;padding:.85rem 1.15rem .9rem!important;background:var(--lavender-50)!important;border:0!important;border-left:2px solid var(--gold-500)!important;border-radius:0 12px 12px 0!important;box-shadow:none!important;max-width:68ch}
body.tij blockquote.verse-full p{margin:0!important;font-family:var(--font-display)!important;font-style:italic;font-size:clamp(1.08rem,1rem + .3vw,1.22rem)!important;line-height:1.55!important;color:var(--p-ink)!important}
body.tij blockquote.verse-full cite{display:block;margin-top:.4rem;font-size:.95rem;font-style:normal;color:var(--plum-700)!important}
body.tij .page-masthead blockquote.verse-full{background:rgba(255,253,249,.06)!important;border-left-color:var(--gold-300)!important}
body.tij .page-masthead blockquote.verse-full p{color:#FFFDF9!important}
body.tij .page-masthead blockquote.verse-full cite{color:var(--gold-300)!important}
body.tij .verse-inline{font-family:var(--font-display);font-style:italic;font-size:1.08em;line-height:1.5;color:var(--p-ink)}
body.tij :is(.el-contrast-points,.el-mini-verse) cite{font-style:normal;white-space:nowrap;color:var(--plum-700)}
body.tij .el-mini-label{display:block;font-family:var(--font-body);font-style:normal;font-size:.78rem;font-weight:700;letter-spacing:.04em;color:var(--plum-700);margin-bottom:.35rem}
/* Scripture Memory: the verse itself leads */
body.tij .memory-verse{margin:.6rem 0 1.25rem!important;padding:1.1rem 1.3rem!important;background:linear-gradient(180deg,#FBF6EA,var(--p-white))!important;border:1px solid rgba(185,151,91,.35)!important;border-radius:14px!important;font-family:var(--font-display);font-style:italic;font-size:clamp(1.25rem,1.1rem + .6vw,1.55rem);line-height:1.5;color:var(--p-ink)}
body.tij .memory-card-verse{margin:.35rem 0 .7rem!important;padding:0 0 0 .8rem!important;border:0!important;border-left:2px solid var(--gold-500)!important;background:none!important;font-family:var(--font-display);font-style:italic;font-size:1.05rem;line-height:1.5;color:var(--p-ink)}
body.tij .page-masthead .memory-feature-verse{margin:.5rem 0 .9rem!important;padding:0!important;border:0!important;background:none!important;font-family:var(--font-display);font-style:italic;font-size:1.2rem;line-height:1.5;color:#FFFDF9!important}
@media (max-width:700px){body.tij .memory-card-verse{font-size:.95rem;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}}
body.tij main :is(article,section,div)[class*="card"] blockquote:not(.verse-full){padding:.8rem 1rem!important}
body.tij :is(.el-contrast-points) cite{margin-left:.2rem}
