/* Jesu liv: kronologiske fortellinger med samme leserytme som bibelgalleriene. */
.jl-page { background: var(--paper); }
.jl-hero { background: #f6efe1; border-bottom: 1px solid #e3d6c1; }
.jl-hero__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2.5rem; padding-block: clamp(2rem, 5vw, 4.5rem); }
.jl-hero h1 { margin: .6rem 0 1rem; font-size: clamp(2.8rem, 5.5vw, 4.6rem); line-height: 1.05; }
.jl-hero__copy > p { max-width: 45ch; color: #405967; font-size: 1.08rem; line-height: 1.65; }
.jl-hero .eyebrow { color: #705020; }
.jl-hero__foot { font-size: .94rem !important; margin-top: 1.2rem; }
.jl-hero__art { overflow: hidden; border-radius: 26px; border: 6px solid #fffcf5; box-shadow: 0 12px 34px #513b2014; }
.jl-hero picture, .jl-card picture { display: block; }
.jl-hero img, .jl-card img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; filter: none; }
.jl-art-pending { display: grid; place-items: center; aspect-ratio: 3/2; background: #eee7d8; color: #706447; font: 700 1.35rem var(--font-title); }
.jl-route { padding-block: 2rem; scroll-margin-top: 1rem; }
.jl-route h2 { margin: 0 0 .5rem; font-size: 1.6rem; }
.jl-route > p { color: #526355; margin-top: 0; }
.jl-route__links { display: flex; flex-wrap: wrap; gap: .65rem; }
.jl-route__links a { display: flex; align-items: center; gap: .7rem; min-height: 50px; padding: .65rem 1rem; background: #fff; border: 1px solid #d5ddd8; border-radius: 14px; color: var(--fjord-deep); text-decoration: none; font-weight: 800; }
.jl-route__links a:hover { background: #eaf2e9; border-color: #55775e; }
.jl-route__links span { color: #65735d; font-size: .82rem; }
.jl-section { padding-block: 2.75rem; scroll-margin-top: 1rem; }
.jl-section:nth-of-type(even) { background: #f0f3eb; }
.jl-section--intro, .jl-section--epilogue { border-block: 1px solid #e3e2d3; background: #f6f1e7 !important; }
.jl-section__head { margin-bottom: 1.5rem; max-width: 70ch; }
.jl-section__head .eyebrow { color: #65441a; }
.jl-section h2 { margin: .35rem 0 .45rem; font-size: clamp(1.75rem, 3vw, 2.4rem); }
.jl-section__head p { margin: 0; color: #4b635d; }
.jl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 1.3rem; }
.jl-card { background: #fff; border: 1px solid #dbdfd3; border-radius: 21px; overflow: hidden; scroll-margin-top: 1rem; box-shadow: 0 4px 18px #233d2c06; }
.jl-card > summary { list-style: none; display: block; cursor: pointer; color: var(--ink); }
.jl-card > summary::-webkit-details-marker { display: none; }
.jl-card__sequence { display: block; padding: .9rem 1rem 0; color: #68734f; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.jl-card__name { display: block; padding: .4rem 1rem 0; font: 700 clamp(1.3rem, 1.8vw, 1.6rem)/1.2 var(--font-title); }
.jl-card__tagline { display: block; padding: .55rem 1rem .85rem; color: #4d625a; font-size: .96rem; line-height: 1.45; }
.jl-card__action { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 48px; margin: 0 1rem .5rem; border-top: 1px solid #ecebe3; color: #315e45; font-weight: 800; font-size: .94rem; }
.jl-card__action::after { content: '+'; font-size: 1.6rem; line-height: 1; }
.jl-card[open] .jl-card__action::after { content: '−'; }
.jl-card__less, .jl-card[open] .jl-card__more { display: none; }
.jl-card[open] .jl-card__less { display: inline; }
.jl-card[open] { grid-column: 1/-1; display: grid; grid-template-columns: minmax(230px, 32%) minmax(0, 1fr); border-color: #71917a; }
.jl-card[open] > summary { align-self: start; }
.jl-card__body { padding: 1.5rem 1.75rem; font-size: 1.05rem; line-height: 1.75; }
.jl-reading { max-width: 64ch; }
.jl-reading > p { margin: 0 0 1.2rem; }
.jl-card__body .text-narration { margin: 0 0 1.3rem; }
.jl-explanation, .jl-sacraments { max-width: 64ch; margin: 1.3rem 0; padding: 1.15rem; background: #fbf1d8; border-left: 4px solid #bd8835; border-radius: 0 14px 14px 0; }
.jl-explanation h3, .jl-sacraments h3 { margin: 0 0 .8rem; color: #65441a; font-size: 1.3rem; line-height: 1.35; }
.jl-explanation p, .jl-sacraments p { margin: 0 0 .8rem; }
.jl-explanation p:last-child { margin-bottom: 0; }
.jl-sacraments { background: #edf3f6; border-color: #597d91; }
.jl-sacraments h3, .jl-sacraments h4 { color: #214d63; }
.jl-sacrament + .jl-sacrament { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #c9d9df; }
.jl-sacrament h4 { margin: 0 0 .4rem; font-size: 1.1rem; }
.jl-sacrament a { display: inline-flex; align-items: center; min-height: 44px; color: #214d63; font-weight: 700; }
.jl-question { padding: 1rem; background: #edf4e9; border-radius: 14px; }
.jl-question strong { display: block; margin-bottom: .3rem; color: #31553a; font-size: .95rem; }
.jl-question p { margin: 0; }
.jl-related { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.1rem; }
.jl-related a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .75rem; color: #315e45; font-size: .95rem; font-weight: 700; border: 1px solid #cfddcf; border-radius: 12px; }
.jl-bible { margin-block: 1.2rem; color: #526457; font-size: .88rem; }
.jl-bible strong { display: block; }
.jl-bible a { display: inline-block; padding-block: .35rem; color: #285d71; }
.jl-card__journey { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; border-top: 1px solid #ddd; padding-top: 1.2rem; }
.jl-card__journey a { min-height: 64px; padding: .8rem; border: 1px solid #c9d6c5; border-radius: 13px; background: #f4f7ef; color: #284d39; font-size: .91rem; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
.jl-card__journey a span { display: block; font-weight: 800; font-size: 1rem; }
.jl-card__journey a[data-jl-next] { grid-column: 2; background: #e4eedc; }
.jl-card__journey a:hover { border-color: #617c51; background: #e4eedc; }
.jl-more { padding-block: 3rem; background: #163f50; color: #fff; }
.jl-more h2 { color: #fff; margin: 0 0 .6rem; }
.jl-more p { color: #e4eff0; max-width: 65ch; }
.jl-more .button-row { margin-top: 1.2rem; }
.jl-adults { padding-block: 2rem 3rem; }
.jl-adults details { background: #f2eee5; border-radius: 18px; padding: 1rem 1.3rem; }
.jl-adults summary { cursor: pointer; min-height: 44px; font-weight: 800; padding-block: .55rem; }
.jl-adults__copy { max-width: 88ch; padding-top: 1rem; }
.jl-adults__sources { padding-left: 1.3rem; }
.jl-adults__sources li { margin-bottom: 1.5rem; }
.jl-adults__sources li p { margin-block: .4rem; }
.jl-adults__sources a { color: #285d71; overflow-wrap: anywhere; }
.jl-page :is(a, summary, button):focus-visible { outline: 3px solid #a74921; outline-offset: 4px; }
.jl-page .jl-card > summary:focus-visible { outline-offset: -4px; border-radius: 20px; }
@media (max-width: 980px) {
  .jl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jl-hero__inner { gap: 1.4rem; }
}
@media (max-width: 760px) {
  .jl-hero__inner { grid-template-columns: 1fr; }
  .jl-hero__art { width: 100%; max-width: 620px; }
  .jl-card[open] { display: block; }
  .jl-card[open] > summary img { object-fit: contain; }
}
@media (max-width: 620px) {
  .jl-section { padding-block: 2rem; }
  .jl-grid { gap: .8rem; }
  .jl-card { border-radius: 16px; }
  .jl-card__sequence { padding: .75rem .75rem 0; font-size: .72rem; }
  .jl-card__name { padding-inline: .75rem; font-size: 1.2rem; }
  .jl-card__tagline { padding-inline: .75rem; font-size: .9rem; }
  .jl-card__action { margin-inline: .75rem; font-size: .86rem; }
  .jl-card__body { padding: 1rem; font-size: 1.04rem; }
  .jl-card[open] .jl-card__name { font-size: 1.55rem; }
  .jl-route__links { gap: .5rem; }
  .jl-route__links a { padding: .6rem .8rem; font-size: .95rem; }
}
@media print {
  .site-header, .site-footer, .jl-hero__art, .jl-route, .jl-more, .olav-companion, .text-narration, .jl-card__action, .jl-card__journey { display: none !important; }
  .jl-hero__inner, .jl-grid, .jl-card[open] { display: block; }
  .jl-card { break-inside: avoid; margin-bottom: 1rem; }
  .jl-card img { max-height: 180px; object-fit: contain; }
}
