/* Component CSS: every selector is scoped to .ll-library. Shared @font-face rules live in assets/fonts/fonts.css. */
.ll-library {
  --ll-bg: #10121b;
  --ll-cocoa: #1b1210;
  --ll-ivory: #f6ead7;
  --ll-muted: #bcae9f;
  --ll-gold: #f0b44c;
  --ll-gold-top: #ffdf89;
  --ll-gold-bottom: #efaa28;
  --ll-ink: #2a170a;
  --ll-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ll-body: "Nunito Sans", system-ui, sans-serif;
  --ll-gutter: 48px;
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  background: radial-gradient(ellipse 900px 620px at 50% 210px, #8f522a13, transparent 85%), linear-gradient(180deg, var(--ll-bg) 0%, #151116 45%, var(--ll-cocoa) 100%);
  color: var(--ll-ivory);
  font: 400 16px/1.6 var(--ll-body);
  font-synthesis: none;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
}
.ll-library *, .ll-library *::before, .ll-library *::after { box-sizing: border-box; }
.ll-library [hidden] { display: none !important; }
.ll-library button, .ll-library a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.ll-library button { font: inherit; }
.ll-library a { color: inherit; }
.ll-library a:focus-visible, .ll-library button:focus-visible { outline: 3px solid #ffdf89; outline-offset: 5px; }
.ll-library .ll-library__container { width: min(1200px, calc(100% - var(--ll-gutter) * 2)); margin-inline: auto; }
.ll-library .ll-library__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.ll-library .ll-library__skip { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 12px 18px; border-radius: 9px; background: var(--ll-gold); color: var(--ll-ink); transform: translateY(-200%); }
.ll-library .ll-library__skip:focus { transform: translateY(0); }
.ll-library .ll-library__header { border-bottom: 1px solid #dbbb8b14; }
.ll-library .ll-library__header-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ll-library .ll-library__brand { display: block; flex-shrink: 0; width: 154px; line-height: 0; }
.ll-library .ll-library__brand img { display: block; width: 100%; height: auto; }
.ll-library .ll-library__nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 600; }
.ll-library .ll-library__nav a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.ll-library .ll-library__nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.ll-library .ll-library__nav .ll-library__nav-app { color: var(--ll-gold); }
.ll-library .ll-library__intro { padding-top: 96px; padding-bottom: 40px; text-align: center; }
.ll-library .ll-library__eyebrow { margin: 0 0 22px; color: var(--ll-gold); font-size: 12px; line-height: 1.4; font-weight: 700; letter-spacing: .24em; }
.ll-library .ll-library__intro h1 { margin: 0; font: 650 clamp(46px, 4.6vw, 64px)/1.12 var(--ll-display); letter-spacing: -.035em; text-wrap: balance; }
.ll-library .ll-library__intro h1 em { display: inline-block; color: var(--ll-gold); font-style: italic; font-weight: inherit; }
.ll-library .ll-library__subhead { margin: 22px 0 0; color: #cbbcaf; font-size: 18px; line-height: 1.6; text-wrap: balance; }
.ll-library .ll-library__mobile-break { display: none; }
.ll-library .ll-library__filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 0 0 50px; padding: 6px; }
.ll-library .ll-library__chip { flex-shrink: 0; min-height: 44px; padding: 10px 20px; border: 1px solid #d4b4872e; border-radius: 999px; background: #f6ead704; color: #d7c9b8; font-size: 14px; font-weight: 600; line-height: 1.4; white-space: nowrap; cursor: pointer; transition: background 150ms ease, border-color 150ms ease; }
.ll-library .ll-library__chip:hover { border-color: #e7bf6d80; background: #c9994310; }
.ll-library .ll-library__chip[aria-pressed="true"] { background: var(--ll-gold); border-color: #f7cd79; color: var(--ll-ink); font-weight: 700; }
.ll-library .ll-library__shelves { padding-bottom: 80px; }
.ll-library .ll-library__shelf + .ll-library__shelf { margin-top: 64px; }
.ll-library .ll-library__shelf-heading { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.ll-library .ll-library__shelf-heading h2 { margin: 0; flex-shrink: 0; font: 650 32px/1.2 var(--ll-display); letter-spacing: -.025em; }
.ll-library .ll-library__shelf-heading > span { flex: 1; height: 1px; background: linear-gradient(90deg, #bd946c42, #bd946c08); }
.ll-library .ll-library__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 24px; margin: 0; padding: 0; list-style: none; }
.ll-library .ll-library__item { min-width: 0; }
.ll-library .ll-library__card { display: block; height: 100%; color: inherit; text-decoration: none; border-radius: 18px; }
.ll-library .ll-library__cover { --cover-top: #292720; --cover-bottom: #17171c; position: relative; aspect-ratio: 3 / 4; border: 1px solid #cfaa7245; border-radius: 18px; overflow: hidden; background: radial-gradient(ellipse at 48% 45%, #bb854a12, transparent 65%), linear-gradient(155deg, var(--cover-top), var(--cover-bottom)); box-shadow: 0 8px 22px #0002; }
.ll-library [data-collection="heroes"] .ll-library__cover { --cover-top: #29202a; --cover-bottom: #171720; }
.ll-library [data-collection="jesus"] .ll-library__cover, .ll-library [data-collection="miracles"] .ll-library__cover { --cover-top: #1e2c31; --cover-bottom: #141821; }
.ll-library [data-collection="parables"] .ll-library__cover { --cover-top: #252a22; --cover-bottom: #19191a; }
.ll-library [data-collection="christmas"] .ll-library__cover { --cover-top: #30231d; --cover-bottom: #191820; }
.ll-library .ll-library__art { display: block; width: 100%; height: 100%; object-fit: cover; }
.ll-library .ll-library__free { position: absolute; top: 13px; left: 13px; padding: 5px 12px; min-height: 28px; border-radius: 999px; background: #efbe65; border: 1px solid #ffdf9a; color: #35200e; font-size: 12px; line-height: 1.35; font-weight: 700; box-shadow: 0 2px 6px #0002; }
.ll-library .ll-library__card-title { min-height: 2.5em; margin: 15px 0 7px; font: 650 20px/1.25 var(--ll-display); letter-spacing: -.015em; text-wrap: balance; }
.ll-library .ll-library__meta { display: flex; justify-content: space-between; gap: 7px; align-items: baseline; flex-wrap: wrap; margin: 0; color: var(--ll-muted); font-size: 13px; line-height: 1.5; }
.ll-library .ll-library__meta [data-runtime] { white-space: nowrap; }
.ll-library .ll-library__meta-dot { display: none; }
.ll-library a.ll-library__card .ll-library__cover { transition: border-color 160ms ease, box-shadow 160ms ease; }
.ll-library a.ll-library__card:hover .ll-library__cover { border-color: #e7bb76aa; box-shadow: 0 8px 24px #edab3020; }
.ll-library .ll-library__empty { padding: 30px 0 100px; text-align: center; }
.ll-library .ll-library__empty h2 { font: 650 30px/1.25 var(--ll-display); }
.ll-library .ll-library__empty p { color: var(--ll-muted); }
.ll-library .ll-library__reset { border: 1px solid #e7bb7680; border-radius: 999px; min-height: 44px; padding: 10px 22px; background: transparent; color: var(--ll-gold); cursor: pointer; }
.ll-library .ll-library__noscript { color: var(--ll-muted); padding: 30px 0; }
.ll-library .ll-library__closing { scroll-margin-top: 24px; border-top: 1px solid #d5a65b26; background: radial-gradient(ellipse 500px 260px at 50% 100%, #b47b2923, transparent 85%); }
.ll-library .ll-library__closing-inner { padding-block: 56px 72px; text-align: center; }
.ll-library .ll-library__closing-mark { margin-bottom: 16px; color: var(--ll-gold); font-size: 23px; line-height: 1; }
.ll-library .ll-library__closing h2 { margin: 0 0 28px; font: 650 clamp(30px, 3.2vw, 42px)/1.2 var(--ll-display); letter-spacing: -.025em; text-wrap: balance; }
.ll-library .ll-library__download { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; padding: 15px 25px; border: 1px solid #ffe6a5; border-radius: 999px; background: linear-gradient(180deg, var(--ll-gold-top) 0%, #ffc956 46%, var(--ll-gold-bottom) 100%); box-shadow: inset 0 0 0 2px #ffedb13b, 0 6px 28px #c980171c; color: var(--ll-ink); text-decoration: none; font-size: 18px; line-height: 1.2; font-weight: 700; white-space: nowrap; cursor: pointer; transition: transform 160ms ease, box-shadow 160ms ease; }
.ll-library .ll-library__download[href]:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px #ffedb150, 0 7px 28px #e8a53633; }
.ll-library .ll-library__download[aria-disabled="true"] { cursor: default; }
@media (min-width: 1600px) {
  .ll-library .ll-library__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 700px) and (max-width: 999px) {
  .ll-library { --ll-gutter: 32px; }
  .ll-library .ll-library__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ll-library .ll-library__filters { gap: 8px; }
  .ll-library .ll-library__chip { padding-inline: 15px; }
}
@media (max-width: 699px) {
  .ll-library { --ll-gutter: 20px; }
  .ll-library .ll-library__header-inner { min-height: 80px; gap: 18px; }
  .ll-library .ll-library__brand { width: 116px; }
  .ll-library .ll-library__nav { gap: 20px; font-size: 13px; }
  .ll-library .ll-library__nav a { gap: 4px; }
  .ll-library .ll-library__intro { padding-top: 48px; padding-bottom: 26px; }
  .ll-library .ll-library__eyebrow { font-size: 11px; margin-bottom: 20px; }
  .ll-library .ll-library__intro h1 { font-size: clamp(35px, 10.25vw, 44px); line-height: 1.13; }
  .ll-library .ll-library__intro h1 em { display: block; }
  .ll-library .ll-library__subhead { max-width: 350px; margin: 18px auto 0; font-size: 16px; line-height: 1.6; }
  .ll-library .ll-library__mobile-break { display: block; }
  .ll-library .ll-library__filters { width: calc(100% + var(--ll-gutter) * 2); margin-inline: calc(-1 * var(--ll-gutter)); margin-bottom: 34px; padding: 6px var(--ll-gutter) 12px; flex-wrap: nowrap; justify-content: flex-start; gap: 8px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; scrollbar-color: #b58a4660 transparent; }
  .ll-library .ll-library__chip { font-size: 13px; padding: 10px 17px; }
  .ll-library .ll-library__shelf + .ll-library__shelf { margin-top: 40px; }
  .ll-library .ll-library__shelf-heading { margin-bottom: 20px; gap: 18px; }
  .ll-library .ll-library__shelf-heading h2 { font-size: 27px; }
  .ll-library .ll-library__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .ll-library .ll-library__cover { border-radius: 14px; }
  .ll-library .ll-library__free { top: 10px; left: 10px; padding: 4px 9px; min-height: 25px; font-size: 11px; }
  .ll-library .ll-library__card-title { margin-top: 12px; font-size: 17px; line-height: 1.25; }
  .ll-library .ll-library__meta { gap: 3px 8px; font-size: 12px; }
  .ll-library .ll-library__meta-dot { display: none; }
  .ll-library .ll-library__shelves { padding-bottom: 52px; }
  .ll-library .ll-library__closing-inner { padding-block: 40px 52px; }
  .ll-library .ll-library__closing h2 { max-width: 330px; margin-inline: auto; font-size: 32px; }
  .ll-library .ll-library__download { width: 100%; max-width: 320px; min-height: 56px; font-size: 17px; }
}
@media (max-width: 340px) {
  .ll-library .ll-library__brand { width: 104px; }
  .ll-library .ll-library__nav { gap: 14px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ll-library .ll-library__chip, .ll-library .ll-library__download, .ll-library a.ll-library__card .ll-library__cover { transition: none; }
  .ll-library .ll-library__download[href]:hover { transform: none; }
}
@media (forced-colors: active) {
  .ll-library .ll-library__cover, .ll-library .ll-library__chip, .ll-library .ll-library__download, .ll-library .ll-library__free { border: 1px solid CanvasText; }
  .ll-library .ll-library__chip[aria-pressed="true"] { background: Highlight; color: HighlightText; }
}

/* ---- site additions ---- */
/* Story covers are 3:2 artwork; show them whole instead of cropping to a tall card. */
.ll-library .ll-library__cover { aspect-ratio: 3 / 2; }
.ll-library .ll-library__art { object-fit: cover; object-position: center 35%; }

/* All-stories index: plain links under the shelves (also what search engines and AI crawlers read). */
.ll-static-list { margin: 56px 0 0; padding-top: 28px; border-top: 1px solid rgba(246, 234, 215, 0.12); }
.ll-static-list summary { display: flex; align-items: center; gap: 12px; min-height: 52px; list-style: none; cursor: pointer; color: rgba(246, 234, 215, 0.9); font: 600 20px/1.3 "Fraunces", Georgia, serif; }
.ll-static-list summary::-webkit-details-marker { display: none; }
.ll-static-list summary::after { content: "+"; margin-left: auto; color: #f0b44c; font: 400 28px/1 "Nunito Sans", sans-serif; transition: transform 160ms ease; }
.ll-static-list details[open] summary::after { transform: rotate(45deg); }
.ll-static-list summary:focus-visible { outline: 3px solid #ffdf89; outline-offset: 4px; border-radius: 6px; }
.ll-static-list__count { padding: 2px 10px; border-radius: 999px; background: rgba(240, 180, 76, 0.14); color: #f0b44c; font: 800 13px/1.6 "Nunito Sans", sans-serif; }
.ll-static-list details[open] ul { margin-top: 14px; }
.ll-static-list ul { margin: 0; padding: 0; list-style: none; columns: 3 220px; column-gap: 28px; }
.ll-static-list li { break-inside: avoid; margin: 0 0 8px; font-size: 15px; line-height: 1.4; }
.ll-static-list a { color: rgba(246, 234, 215, 0.9); text-decoration: none; }
.ll-static-list a:hover, .ll-static-list a:focus-visible { text-decoration: underline; }
.ll-static-list span { display: block; color: rgba(246, 234, 215, 0.5); font-size: 13px; }
