/* Display the exact supplied Church Family cards, like the other Shelf cards.
   Original PNG bytes stay unchanged; SVG viewports show only the card itself. */
:root body[data-page=shelf] .reference-home .church-shelf-disclosure.family-disclosure .family-card {
 display:block;width:100%;min-height:0;height:auto;aspect-ratio:auto;
 padding:0;border:0!important;border-radius:9px;overflow:hidden;
 background:none!important;box-shadow:none!important;
}
:root body[data-page=shelf] .reference-home .church-shelf-disclosure.family-disclosure .family-card::before,
:root body[data-page=shelf] .reference-home .church-shelf-disclosure.family-disclosure .family-card::after,
:root body[data-page=shelf] .church-shelf-disclosure.family-disclosure .church-shelf-art::after {
 content:none!important;display:none!important;
}
:root body[data-page=shelf] .reference-home .church-shelf-disclosure.family-disclosure .church-shelf-art {
 position:static;display:block;inset:auto;width:100%;height:auto;
 mask:none;-webkit-mask:none;pointer-events:none;
}
.church-shelf-panorama {
 display:block;width:100%;height:auto;overflow:hidden;fill:none;stroke:none;
}
.church-shelf-panorama-light {display:none}
:root[data-theme=heirloom_light] .church-shelf-panorama-light {display:block}
:root[data-theme=heirloom_light] .church-shelf-panorama-dark {display:none}
:root body[data-page=shelf] .reference-home .church-shelf-disclosure.family-disclosure .family-card-copy {
 position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;
 clip-path:inset(50%);white-space:nowrap;border:0;
}
.church-shelf-disclosure.family-disclosure .family-card:focus-visible {
 outline:2px solid var(--gold);outline-offset:3px;
}
@media (forced-colors:active) {
 :root body[data-page=shelf] .reference-home .church-shelf-disclosure.family-disclosure .church-shelf-art {display:none}
 :root body[data-page=shelf] .reference-home .church-shelf-disclosure.family-disclosure .family-card-copy {
  position:static;width:auto;height:auto;margin:0;padding:12px;
  clip-path:none;white-space:normal;
 }
}

/* The light source includes a heavier photographed rim. Display its interior
   and use the same thin gold edge as the other illustrated Shelf buttons. */
:root[data-theme=heirloom_light] body[data-page=shelf] .reference-home .church-shelf-disclosure.family-disclosure .family-card {
 border:1px solid var(--reference-edge,#b28a49)!important;
 border-radius:9px;
 box-shadow:inset 0 1px #fff9,0 1px 2px #6c4a2538!important;
}

/* Match the dark Church Family card's proportions without stretching its
   daylight artwork. Live labels stay crisp at every Shelf width. */
:root[data-theme=heirloom_light] body[data-page=shelf] .reference-home .church-shelf-disclosure.family-disclosure .family-card {
 position:relative;
 container-type:inline-size;
 aspect-ratio:934 / 234;
 height:auto;
 min-height:0;
 background:
  linear-gradient(90deg,#fbefd9e8 0%,#fbefd9ba 25%,#fbefd96b 45%,#fbefd91f 62%,transparent 77%) center / 100% 100% no-repeat,
  url('/assets/images/420a892d34b768d8/church-shelf-daylight-wide.png') right 85% / cover no-repeat,
  #fbefd9!important;
}
:root[data-theme=heirloom_light] body[data-page=shelf] .reference-home .church-shelf-disclosure.family-disclosure .church-shelf-art {
 display:none;
}
:root[data-theme=heirloom_light] body[data-page=shelf] .reference-home .church-shelf-disclosure.family-disclosure .family-card-copy {
 position:absolute;
 inset:0;
 display:flex;
 flex-direction:column;
 justify-content:center;
 width:auto;
 height:auto;
 margin:0;
 padding:0 2.7%;
 overflow:visible;
 clip-path:none;
 white-space:normal;
 border:0;
 text-shadow:none;
}
:root[data-theme=heirloom_light] body[data-page=shelf] .reference-home .church-shelf-disclosure.family-disclosure .family-title {
 display:block;
 margin:0 0 2%;
 color:#3f2c1e;
 font:700 clamp(16px,4.5cqw,44px)/1.15 Georgia,serif;
}
:root[data-theme=heirloom_light] body[data-page=shelf] .reference-home .church-shelf-disclosure.family-disclosure .family-subtitle {
 display:block;
 max-width:76%;
 margin:0;
 color:#4c3826;
 font:italic 400 clamp(10px,3.05cqw,30px)/1.3 Georgia,serif;
}
:root[data-theme=heirloom_light] body[data-page=shelf] .reference-home .church-shelf-disclosure.family-disclosure .family-caret {
 position:static;
 display:inline-block;
 margin-left:.45em;
 color:#8d6023;
 font-size:1em;
}
@media (forced-colors:active) {
 :root[data-theme=heirloom_light] body[data-page=shelf] .reference-home .church-shelf-disclosure.family-disclosure .family-card {
  background:Canvas!important;
 }
 :root[data-theme=heirloom_light] body[data-page=shelf] .reference-home .church-shelf-disclosure.family-disclosure :is(.family-title,.family-subtitle,.family-caret) {
  color:ButtonText;
 }
}

/* Align the Church Family card with the other full-width light Shelf cards. */
:root[data-theme=heirloom_light] body[data-page=shelf][data-shelf-layout=reference] .reference-shelf-cards > .church-shelf-disclosure {
 width:100%;
 margin-inline:0;
}
