/* Shared, responsive presentation for Covenant Press and the Free Bible Project. */
@font-face {
  font-family: Caudex;
  src: url('/assets/fonts/Caudex-400-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Caudex;
  src: url('/assets/fonts/Caudex-700-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: block;
}
@font-face {
  font-family: Caudex;
  src: url('/assets/fonts/Caudex-400-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  --ink: #252328;
  --muted: #646068;
  --paper: #ffffff;
  --surface: #f6f5f3;
  --line: #e3dfdb;
  --brand: #722630;
  --deep: #29151b;
  --gold: #a27b37;
  --gold-light: #ead8ab;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 9rem; scrollbar-gutter: stable; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.75 var(--sans); }
body.bibles { --brand: #235b49; --deep: #102f27; --gold: #9b7835; --surface: #f4f7f5; }
body.covenant { --serif: Caudex, Georgia, serif; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--gold); }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
img { max-width: 100%; height: auto; }
svg { display: inline-block; vertical-align: middle; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -6rem; padding: .6rem 1rem; color: white; background: var(--deep); }
.skip-link:focus { top: 1rem; }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.utility { background: linear-gradient(115deg, #ffffff08, transparent 50%, #a27b3718), var(--deep); color: #f0e9e2; font-size: .82rem; border-bottom: 1px solid #c5a26245; }
.utility .container { display: flex; justify-content: space-between; align-items: center; min-height: 39px; }
.utility a { color: inherit; text-decoration: none; }
.utility nav, .social-links { display: flex; gap: 1.6rem; align-items: center; }
.utility a:hover { color: var(--gold-light); }
.mobile-shop { display: none; }
.brand-effects { position: absolute; width: 0; height: 0; pointer-events: none; overflow: hidden; }
.site-header { background: linear-gradient(115deg, #f8f4eb 0%, #fffdf8 28%, #f2ece0 65%, #fcfaf5 100%); border-bottom: 1px solid #b6955b66; box-shadow: 0 3px 18px #26161a09; position: sticky; top: 0; z-index: 30; }
.bibles .site-header { background: linear-gradient(115deg, #f0f4ec 0%, #fcfdf8 28%, #e8efe7 65%, #f9fbf6 100%); }
.header-row { min-height: 104px; display: flex; align-items: center; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--deep); flex-shrink: 0; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand, .brand img, .footer-brand, .footer-brand img { transition: none; }
.covenant .brand img { width: 100px; height: 100px; }
.brand:hover, .brand:focus-visible { color: var(--gold); }
.brand:is(:hover, :focus-visible) img, .footer-brand:is(:hover, :focus-visible) img { filter: url('#brand-gold-outline'); }
.bibles .brand:is(:hover, :focus-visible) img, .bibles .footer-brand:is(:hover, :focus-visible) img { filter: drop-shadow(0 2px 3px #102f274d); }
.brand-name { font: small-caps 1.65rem/1.05 var(--serif); letter-spacing: .025em; }
.covenant .brand-name { font-family: Caudex, Georgia, serif; font-variant: normal; }
.bibles .brand-name { font-variant: normal; font-size: 1.45rem; }
.brand-name small { display: block; font: .65rem/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.primary-nav { margin-left: auto; }
.primary-nav > ul { display: flex; align-items: center; gap: 1.7rem; list-style: none; padding: 0; margin: 0; }
.primary-nav a { font-size: .94rem; line-height: 1.4; font-weight: 600; letter-spacing: .015em; text-decoration: none; color: var(--deep); white-space: nowrap; transition: color .2s; }
.covenant .primary-nav a { font-family: Caudex, Georgia, serif; font-weight: 700; }
.primary-nav a:hover, .primary-nav a[aria-current='page'] { color: var(--brand); }
.primary-nav a[aria-current='page'] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .65rem; }
.nav-group { position: relative; display: flex; align-items: center; gap: .25rem; }
.nav-group details > summary { list-style: none; padding: .5rem .15rem; line-height: 1; }
summary::-webkit-details-marker { display: none; }
.nav-group details > summary::after { content: ''; display: block; width: 6px; height: 6px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); }
.nav-group details ul { position: absolute; top: 100%; left: -.8rem; min-width: 240px; list-style: none; padding: .7rem; margin: .5rem 0 0; background: #fffefb; border: 1px solid var(--line); border-top: 2px solid var(--gold); box-shadow: 0 14px 35px #0002; }
.nav-group details ul::before { content: ''; position: absolute; left: 0; right: 0; height: .7rem; bottom: 100%; }
.nav-group details li a { display: block; padding: .5rem .7rem; }
.nav-group details li a:hover { background: var(--surface); }
.header-tools { position: relative; flex-shrink: 0; display: flex; gap: .5rem; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; background: transparent; border: 1px solid var(--line); border-radius: 50%; }
.icon-button:hover, .icon-button[aria-expanded='true'] { background: var(--brand); color: white; border-color: var(--brand); }
#menu-toggle { display: none; }
.search-panel { position: absolute; right: 0; top: calc(100% + 15px); width: min(440px, calc(100vw - 48px)); max-height: calc(100dvh - 155px); overflow-y: auto; overscroll-behavior: contain; background: white; border: 1px solid var(--line); border-top: 3px solid var(--gold); box-shadow: 0 18px 50px #1b141b28; padding: 1.3rem; }
.search-panel label { display: block; font-weight: 600; margin-bottom: .6rem; }
.search-input-row { display: flex; align-items: stretch; gap: .7rem; width: 100%; }
input[type='search'], input[type='text'], input[type='email'], textarea { background: white; color: var(--ink); border: 1px solid #b7b3b0; padding: .7rem .9rem; min-width: 0; border-radius: 2px; }
.search-input-row input[type='search'] { width: 0; min-width: 0; flex: 1 1 0%; }
.search-input-row button { flex: 0 0 auto; position: static; margin: 0; }
.search-input-row button, .button, .contact-form button { display: inline-block; border: 1px solid var(--brand); background: var(--brand); color: white; padding: .7rem 1rem; text-decoration: none; font-size: .9rem; font-weight: 600; text-align: center; }
.button:hover, .search-input-row button:hover, .contact-form button:hover { background: var(--deep); color: white; }
#search-suggestions:empty { display: none; }
#search-suggestions { max-height: 65vh; overflow-y: auto; margin-top: .8rem; font-size: .9rem; }
#search-suggestions a { display: block; padding: .7rem 0; text-decoration: none; border-top: 1px solid var(--line); }
.hero { position: relative; isolation: isolate; background: var(--deep); color: white; min-height: 510px; display: grid; align-items: center; text-align: center; overflow: hidden; }
.hero-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #160c1110, #160c112e 35%, #160c1147 50%, #160c112e 65%, #160c1110), linear-gradient(0deg, #160c1155, transparent 30%); }
.covenant .hero-photo { filter: saturate(.65); }
.covenant .hero::after { background: radial-gradient(ellipse at 50% 46%, rgba(12,14,16,.80) 0%, rgba(12,14,16,.75) 44%, rgba(12,14,16,.62) 100%); }
.bibles .hero::after { background: linear-gradient(90deg, #09271f77, #102f2766, #09271f77); }
.hero-content { width: 100%; max-width: 880px; min-width: 0; margin: 3rem auto; padding: 0 25px; }
.hero h1 { font: min(4.3rem, 8.6vw)/1.13 var(--serif); font-weight: normal; margin: 0; letter-spacing: .035em; white-space: nowrap; text-shadow: 0 2px 24px #0009; }
.bibles .hero h1 { font-size: min(4.6rem, 8.6vw); letter-spacing: -.025em; }
.hero-rule { width: min(440px, 70%); height: 1px; margin: 1.8rem auto; background: linear-gradient(90deg, transparent, var(--gold-light), transparent); }
.hero p { max-width: 760px; font: 1.3rem/1.65 var(--serif); margin: 0 auto; text-wrap: balance; }
.covenant .hero h1 { color: #fffdf5; font-weight: 700; letter-spacing: .065em; text-shadow: 0 2px 1px #0009, 0 4px 10px #0005; }
.covenant .hero-rule { position: relative; height: 1px; margin-block: 2.2rem; background: linear-gradient(90deg, transparent, #b89149 18%, #f5e4b9 50%, #b89149 82%, transparent); }
.covenant .hero-rule::after { content: ''; position: absolute; top: 50%; left: 50%; width: 6px; height: 6px; background: linear-gradient(135deg, #f5e4b9, #b89149); border: 1px solid #e0c286; transform: translate(-50%, -50%) rotate(45deg); }
.covenant .hero p { font-size: 1.4rem; font-style: italic; font-weight: 400; text-shadow: 0 1px 4px #000; transform: scaleY(1.12); transform-origin: center top; }
.section-heading { text-align: center; font: min(2.2rem, 6.4vw)/1.3 var(--serif); font-weight: normal; white-space: nowrap; margin: 0 0 2.5rem; }
.section-heading::after { content: ''; display: block; width: 52px; height: 2px; background: var(--gold); margin: 1.2rem auto 0; }
.home-main { padding-block: 4rem 5rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.content-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); background: white; box-shadow: 0 4px 20px #29151b05; transition: border-color .2s, box-shadow .2s, transform .2s; }
.content-card:hover { border-color: var(--gold); box-shadow: 0 9px 27px #251a1a0c; }
.card-image { display: block; height: 210px; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line); }
.card-image img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; transition: transform .3s; }
.covenant .home-main .card-image img { object-fit: cover; padding: 0; }
.content-card:hover .card-image img { transform: scale(1.035); }
.home-main .card-grid { grid-template-columns: 1fr 1.28fr 1fr; align-items: center; padding-top: 1rem; }
.home-main .content-card:nth-child(2) { order: -1; }
.home-main .featured-card { border: 1px solid #b18e4d; box-shadow: 0 12px 38px #29151b15, inset 0 3px var(--gold); }
.home-main .featured-card .card-image { height: 280px; }
.home-main .featured-card .card-body { padding: 1.9rem; background: linear-gradient(135deg, #fbf7ee, #fff 80%); }
.home-main .featured-card h2 { font-size: 1.8rem; }
.home-main .featured-card .read-more { color: white; background: var(--brand); padding: .65rem 1rem; border: 1px solid var(--brand); }
.home-main .featured-card .read-more:hover { background: var(--deep); }
.bibles .home-main .featured-card .card-image { height: 340px; }
.bibles .home-main .featured-card .card-body { background: linear-gradient(135deg, #edf5ef, #fff 85%); }
.bibles .card-image { height: 270px; background: radial-gradient(ellipse at center, #fff, #e9eeeb); }
.card-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; align-items: start; }
.card-body h2, .card-body h3 { font: 1.45rem/1.35 var(--serif); margin: 0 0 1rem; font-weight: normal; }
.card-body h2 a, .card-body h3 a { color: var(--ink); text-decoration: none; }
.home-main .card-body h2 a { text-decoration: none; transition: color .2s; }
.home-main .card-body h2 a:is(:hover, :focus-visible) { color: var(--gold); text-decoration: none; }
.card-body p { color: var(--muted); font-size: .95rem; margin: 0 0 1.4rem; }
.card-body .read-more { margin-top: auto; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: .2rem; }
.home-main .card-body .read-more { align-self: center; margin-inline: auto; }
.page-mast { padding-block: 3rem 3.2rem; background: var(--surface); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .82rem; margin-bottom: 1.3rem; color: var(--muted); }
.breadcrumb a { text-decoration: none; }
.breadcrumb span + span::before { content: '/'; padding-right: .5rem; color: #8f8a85; }
.page-mast h1 { font: 3.05rem/1.2 var(--serif); font-weight: normal; margin: 0; max-width: 990px; text-wrap: balance; }
.article-meta { font-size: .8rem; color: var(--muted); margin-top: 1.2rem; }
.content-layout { display: grid; grid-template-columns: minmax(0, 800px) minmax(200px, 280px); gap: 5rem; padding-block: 3.5rem 5rem; align-items: start; }
.article-body { min-width: 0; font-size: 1.06rem; line-height: 1.85; overflow-wrap: break-word; }
.article-body p { margin: 0 0 1.4em; }
.article-body .address-line { margin: 0; line-height: 1.6; }
.article-body .content-heading { font-size: 1.65rem; line-height: 1.4; margin-block: 2.2rem 1.1rem; }
.article-body > .content-heading:first-child { margin-top: 0; }
.article-body h2 { font: 1.9rem/1.3 var(--serif); margin: 2.5rem 0 1rem; }
.article-body h3 { font: 1.5rem/1.4 var(--serif); }
.article-body > .post-body { display: contents; }
.article-body > div, .article-body .separator { max-width: 100%; }
.article-body .separator { margin-block: .5rem; }
.article-body .separator > a { margin-inline: 0 !important; }
.article-body img { display: inline-block; max-height: 650px; object-fit: contain; }
.article-body a { transition: color .2s, background-color .2s, text-decoration-color .2s; }
.article-body a:hover { text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.article-body a img { transition: transform .3s, filter .3s, opacity .3s; }
.article-body a:hover img { transform: translateY(-3px) scale(1.015); filter: drop-shadow(0 8px 10px #102f2729); opacity: .94; }
.article-body img[src$='download-guide.svg'] { width: min(100%, 720px); height: auto; }
.article-body > .separator:first-child img, .article-body > .post-body > .separator:first-child img { max-height: 460px; }
.article-body hr { clear: both; height: 1px; border: none; background: var(--line); margin: 2rem 0; }
.article-body blockquote { margin: 1.7rem 0; padding: 1.3rem 1.6rem; border-left: 3px solid var(--gold); background: var(--surface); }
.article-body iframe { max-width: 100%; border: 0; aspect-ratio: 16/9; height: auto; min-height: 220px; }
.article-body table { max-width: 100%; }
.article-body table img { width: auto; height: auto; max-height: 240px; }
.article-body table.tr-caption-container { width: 100%; border: 1px solid var(--line); background: var(--surface); padding: 1.5rem; border-spacing: 0; margin-block: 1.5rem; }
.tr-caption { padding-top: .8rem; font-size: 1rem; }
.article-body ul { padding-left: 1.5rem; }
.article-body li { margin-block: .4rem; }
.getlsv ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; padding: 0; list-style: none; }
.getlsv li { margin: 0; border: 1px solid var(--line); padding: .7rem; background: white; font-size: .94rem; }
.getlsv li { transition: border-color .2s, box-shadow .2s, background-color .2s; }
.getlsv li:hover { border-color: var(--gold); box-shadow: 0 4px 14px #102f2710; background: #faf8f2; }
.getlsv li a { text-decoration: none; font-weight: 600; }
.getlsv .print-format { background: #8a5c20; color: white; border-radius: 2px; padding: .15rem .35rem; }
.article-body .getlsv li span { font-size: inherit !important; }
.article-body .press-list { display: flex; flex-wrap: wrap; gap: .75rem 1.2rem; }
.article-sidebar { border-top: 3px solid var(--gold); padding-top: 1.2rem; }
.article-sidebar h2 { font: 1.45rem/1.4 var(--serif); margin-top: 0; }
.article-sidebar ul { list-style: none; padding: 0; margin: 0 0 2rem; }
.article-sidebar li { border-bottom: 1px solid var(--line); }
.article-sidebar li a { display: block; padding: .7rem 0; font-size: .9rem; text-decoration: none; }
.sidebar-feature { display: block; text-decoration: none; margin-bottom: 2rem; }
.sidebar-feature img { max-height: 210px; object-fit: contain; width: 100%; background: var(--surface); }
.sidebar-feature span { display: block; font: 1.2rem/1.4 var(--serif); padding-top: .7rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; }
.tags a { border: 1px solid var(--line); font-size: .78rem; padding: .2rem .7rem; text-decoration: none; }
.rating { display: flex; justify-content: center; gap: .45rem; margin: 2rem 0; }
.rating svg { width: 52px; height: 52px; filter: drop-shadow(0 2px 1px #5038164d); }
.rating.small { justify-content: start; margin: 0 0 .8rem; gap: .2rem; }
.rating.small svg { width: 23px; height: 23px; }
.review-cover { display: block; margin: 0 auto 2rem; max-height: 430px !important; }
.disclosure { padding: 1.1rem 1.3rem; background: var(--surface); border-left: 3px solid var(--gold); font-size: .92rem; }
.footer { padding-top: 2.4rem; background: radial-gradient(ellipse at 5% 0, #a27b371f, transparent 55%), repeating-linear-gradient(135deg, #ffffff02 0 1px, transparent 1px 6px), var(--deep); color: #e8e0dc; border-top: 3px solid var(--gold); }
.footer a { color: #e8e0dc; text-decoration: none; }
.footer a:hover { color: var(--gold-light); }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr .8fr; gap: 3.5rem; padding-bottom: 2.5rem; }
.footer-popularposts2 > ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.6rem; }
.footer-pagelist3 a { display: inline-block; padding-block: .15rem; }
.footer-label1 > ul { display: flex; flex-wrap: wrap; align-content: start; gap: .45rem; }
.footer-label1 li { margin: 0; }
.footer-label1 a { display: block; padding: .3rem .65rem; border: 1px solid #c6a66b40; border-radius: 2px; }
.footer-label1 a:hover { border-color: var(--gold-light); background: #ffffff08; }
.footer-signature { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-bottom: 1.7rem; margin-bottom: 2.2rem; border-bottom: 1px solid #c6a66b35; }
.footer-brand { display: inline-flex; align-items: center; gap: 1rem; font: 1.65rem/1.2 var(--serif); }
.footer-brand img { width: 56px; height: 56px; object-fit: contain; padding: 0; background: transparent; border: 0; }
.bibles .footer-brand img { padding: 6px; background: #fff; border: 1px solid #ead8ab; border-radius: 50%; }
.covenant .footer-brand img { width: 144px; height: 144px; }
.footer .footer-brand:is(:hover, :focus-visible) { color: var(--gold); }
.footer h2 { color: var(--gold-light); font: 1.3rem/1.4 var(--serif); margin: 0 0 1.3rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .65rem; font-size: .88rem; line-height: 1.6; }
.footer-excerpt { font-size: .8rem; color: #bfb4b0; margin: .25rem 0 1rem; }
.social-links { gap: .6rem; }
.social-links a { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid transparent; border-radius: 50%; transition: color .2s, background-color .2s, border-color .2s; }
.social-links svg { display: block; width: auto; height: 17px; flex: 0 0 auto; fill: currentColor; overflow: visible; }
.social-links a:hover { background: #ffffff10; border-color: #c6a66b75; }
.footer .social-links { gap: .7rem; }
.footer .social-links a { width: 40px; height: 40px; border-color: #c6a66b50; }
.footer .social-links svg { width: auto; height: 17px; }
.social-links a[aria-label='Amazon'] svg { height: 18px; }
.copyright { border-top: 1px solid #c6a66b35; padding: 1.3rem 0; color: #cfc5c1; text-align: center; font-size: .8rem; }
.copyright p { margin: 0; }
.search-page { max-width: 850px; padding-block: 3rem 5rem; }
.search-page form { margin-bottom: 2rem; }
.search-result { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.search-result h2 { font: 1.5rem/1.4 var(--serif); margin: 0 0 .5rem; }
.search-result p { margin: .4rem 0; color: var(--muted); }
.search-result a { text-decoration: none; }
mark { color: inherit; background: #e8d6a7; padding-inline: .1rem; }
.contact-form { max-width: 600px; margin: 2.5rem auto 0; border-top: 1px solid var(--line); padding-top: 2rem; }
.contact-form label { display: block; font-weight: 600; margin-top: 1rem; }
.contact-form input, .contact-form textarea { width: 100%; }
.contact-form textarea { min-height: 180px; }
.contact-form .form-note { color: var(--muted); font-size: .85rem; margin: .8rem 0; }
.archive-main { padding-block: 3rem 5rem; }
.resource-links { list-style: none; padding: 0 !important; margin: 1.2rem 0 1.8rem; }
.resource-links a { display: block; padding: .8rem 1.1rem; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; }
.resource-links a:hover { border-color: var(--gold); background: #faf8f2; }
.sitemap-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; padding-block: 3rem 4rem; }
.sitemap-section { border: 1px solid var(--line); border-top: 3px solid var(--gold); background: linear-gradient(135deg, var(--surface), white 70%); padding: 2rem; }
.sitemap-section h2 { font: 1.65rem/1.3 var(--serif); margin: 0 0 1rem; }
.sitemap-section ul { list-style: none; margin: 0; padding: 0; }
.sitemap-section li + li { border-top: 1px solid var(--line); }
.sitemap-section a { display: block; padding: .65rem 0; text-decoration: none; }
.sitemap-categories { grid-column: 1 / -1; }
.sitemap-categories ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 2rem; }
@media (min-width: 1100px) {
  .catalog .article-body { column-count: 2; column-gap: 1.5rem; }
  .catalog .article-body > .separator:first-child { column-span: all; }
  .catalog .article-body table { break-inside: avoid; }
}
@media (min-width: 901px) {
  .covenant .primary-nav > ul { display: grid; grid-template-columns: 3.6rem 4.6rem 5.8rem 7.6rem; }
  .covenant .primary-nav > ul > li { display: flex; justify-content: center; }
  .covenant .primary-nav > ul > .nav-item > a { width: 100%; text-align: center; }
  .covenant .primary-nav > ul > .nav-group > a { width: 4.4rem; text-align: center; }
}
@media (max-width: 1100px) {
  .header-row { gap: 1.1rem; }
  .primary-nav > ul { gap: 1rem; }
  .brand-name { font-size: 1.4rem; }
  .brand img { width: 48px; height: 48px; }
  .bibles .brand-name { font-size: 1.2rem; }
  .content-layout { gap: 2.5rem; }
  .footer-grid { gap: 2.5rem; }
}
@media (max-width: 900px) {
  .container { width: calc(100% - 40px); }
  .header-row { min-height: 85px; }
  .covenant .brand img { width: 81px; height: 81px; }
  .header-tools { margin-left: auto; }
  #menu-toggle { display: grid; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: white; border-bottom: 1px solid var(--line); padding: .7rem 20px; box-shadow: 0 12px 20px #0001; }
  .primary-nav.is-open { display: block; }
  .primary-nav > ul { display: block; }
  .primary-nav > ul > li { border-bottom: 1px solid var(--line); padding: .65rem 0; }
  .primary-nav > ul > li:last-child { border-bottom: 0; }
  .nav-group { flex-wrap: wrap; }
  .nav-group details { margin-left: auto; }
  .nav-group details ul { right: 0; left: auto; z-index: 2; }
  .hero { min-height: 420px; }
  .card-grid { gap: 1rem; }
  .card-body { padding: 1.2rem; }
  .card-body h2, .card-body h3 { font-size: 1.3rem; }
  .content-layout { grid-template-columns: minmax(0,1fr); }
  .article-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
  .sidebar-feature { grid-column: 1 / -1; max-width: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid section:last-child { grid-column: 1 / -1; }
  .footer-grid section:last-child ul { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
}
@media (max-width: 800px) {
  .home-main .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; padding-top: 0; }
  .home-main .featured-card { order: -2; grid-column: 1 / -1; }
  .home-main .featured-card .card-image { height: 300px; }
  .home-main .featured-card .card-body { padding: 1.6rem; }
  .home-main .featured-card h2 { font-size: 1.7rem; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .sitemap-categories { grid-column: auto; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .utility .social-links { display: none; }
  .covenant .mobile-shop { display: inline; }
  .utility .container { justify-content: center; min-height: 34px; }
  .utility nav { gap: 2rem; }
  .brand { gap: .5rem; }
  .brand-name { font-size: 1.22rem; }
  .brand-name small { font-size: .55rem; letter-spacing: .12em; }
  .brand img { width: 42px; height: 42px; }
  .bibles .brand-name { font-size: 1.12rem; }
  .header-row { min-height: 77px; gap: .5rem; }
  .covenant .brand img { width: 73px; height: 73px; }
  .icon-button { width: 36px; height: 36px; }
  .header-tools { gap: .35rem; }
  .hero { min-height: 390px; }
  .covenant .hero h1 { letter-spacing: .025em; }
  .covenant .hero-rule { margin-block: 1.9rem; }
  .hero p { font-size: 1.12rem; line-height: 1.65; }
  .covenant .hero p { font-size: 1.2rem; }
  .hero-content { margin-block: 2.5rem; padding-inline: 20px; }
  .home-main { padding-block: 3rem; }
  .card-grid { grid-template-columns: minmax(0,1fr); gap: 1.4rem; }
  .home-main .card-grid { grid-template-columns: minmax(0,1fr); }
  .home-main .featured-card { grid-column: auto; }
  .home-main .featured-card .card-image { height: 260px; }
  .bibles .home-main .featured-card .card-image { height: 320px; }
  .card-image { height: 205px; }
  .bibles .card-image { height: 255px; }
  .card-body { padding: 1.5rem; }
  .card-body h2, .card-body h3 { font-size: 1.55rem; }
  .page-mast { padding-block: 1.7rem 2rem; }
  .page-mast h1 { font-size: 2.15rem; overflow-wrap: anywhere; }
  .content-layout { padding-block: 2rem 3rem; gap: 2rem; }
  .article-body { font-size: 1rem; }
  .getlsv ul { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; }
  .getlsv li { padding: .6rem; }
  .article-body iframe { min-height: 170px; }
  .article-sidebar { display: block; }
  .footer { padding-top: 2.5rem; }
  .footer-grid { gap: 2rem; grid-template-columns: 1fr; }
  .footer-grid section:last-child { grid-column: auto; }
  .footer-popularposts2 > ul { grid-template-columns: 1fr; gap: .35rem; }
  .footer-signature { flex-direction: column; gap: 1.2rem; align-items: center; text-align: center; }
  .footer-brand { font-size: 1.5rem; }
  .footer .social-links { flex-wrap: wrap; justify-content: center; gap: .7rem; }
  .sitemap-section { padding: 1.5rem; }
  .sitemap-categories ul { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 1rem; }
  .copyright { line-height: 1.8; }
  .rating svg { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (max-width: 360px) {
  .brand-name, .bibles .brand-name { font-size: 1rem; }
  .covenant .brand-name { font-size: .9rem; }
  .brand img { width: 34px; height: 34px; }
  .brand { gap: .35rem; }
  .icon-button { width: 32px; height: 32px; }
}
