/* Grace & Truth Baptist Church – site styles */
:root {
  --gold: #c99a45;
  --gold-light: #dbb66d;
  --gold-pale: #efdfbf;
  --cream: #fbf6ea;
  --cream-2: #f4ead4;
  --ink: #2f2622;
  --ink-soft: #5d514a;
  --dark: #3a2e27;
  --dark-2: #2a211c;
  --line: #e8dcc2;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(58, 46, 39, .12);
  --font-body: "Frank Ruhl Libre", Georgia, "Times New Roman", serif;
  --font-head: "Arima Madurai", "Frank Ruhl Libre", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 18px/1.7 var(--font-body); color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: #a2742a; text-underline-offset: 2px; }
a:hover { color: var(--dark); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.25; color: var(--dark); margin: 0 0 .5em; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--dark); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.center { text-align: center; }
.center-text { text-align: center; }
.plain { list-style: none; padding: 0; margin: 0; }

/* ---------- top bar ---------- */
.topbar { background: var(--dark); color: #e9ddc6; font-size: 14px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar-in { display: flex; gap: 22px; align-items: center; min-height: 38px; }
.tb-item { display: inline-flex; align-items: center; gap: 7px; }
.tb-item svg { width: 14px; height: 14px; fill: var(--gold-light); }
.tb-right { margin-left: auto; }

/* ---------- header / nav ---------- */
.site-header { background: #fff; position: relative; z-index: 50; }
.brand-row { display: flex; justify-content: center; align-items: center; padding: 14px 0 12px; }
.brand img { width: min(420px, 78vw); height: auto; }
.primary-nav { background: var(--cream) linear-gradient(180deg, #fffdf8, var(--cream-2)); border-block: 1px solid var(--line); position: sticky; top: 0; z-index: 60; }
.primary-nav > ul { list-style: none; margin-inline: auto; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; }
.primary-nav li { position: relative; }
.primary-nav a { display: block; padding: 17px 17px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: .01em; position: relative; }
.primary-nav > ul > li > a::after { content: ""; position: absolute; left: 17px; right: 17px; bottom: 10px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.primary-nav > ul > li:hover > a::after, .primary-nav > ul > li.is-active > a::after { transform: scaleX(1); }
.primary-nav li.is-active > a, .primary-nav a:hover { color: #a2742a; }
.has-sub > a { padding-right: 26px; }
.has-sub > a::before { content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); }
.sub { list-style: none; margin: 0; padding: 8px 0; position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { padding: 9px 20px; font-weight: 500; font-size: 16px; }
.sub a:hover { background: var(--cream); }
.sub-toggle, .menu-toggle { display: none; }

/* ---------- hero slider ---------- */
.hero { position: relative; background: #1f1814; }
.hero-track { position: relative; aspect-ratio: 1240 / 744; max-height: 78vh; margin-inline: auto; overflow: hidden; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.slide.is-on { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-nav { position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; margin-top: -24px; border: 0; border-radius: 50%; background: rgba(255,255,255,.85); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.hero-nav:hover { background: #fff; }
.hero-nav svg { width: 24px; height: 24px; fill: var(--dark); }
.hero-nav.prev { left: 16px; } .hero-nav.next { right: 16px; }
.hero-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 9px; z-index: 3; }
.hero-dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; }
.hero-dots button.is-on { background: var(--gold-light); border-color: var(--gold-light); }

/* ---------- intro strip ---------- */
.intro-strip { background: var(--cream); border-bottom: 1px solid var(--line); }
.intro-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; padding: 52px 0; align-items: start; }
.eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .14em; font-size: 14px; color: var(--gold); margin-bottom: .6em; font-weight: 700; }
.intro-in h1 { font-size: clamp(28px, 3.4vw, 42px); }
.intro-times { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); }
.intro-times h2 { font-size: 22px; margin-bottom: .6em; }
.intro-times li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 16px; line-height: 1.45; }
.intro-times li span { display: block; color: var(--ink-soft); }
.intro-times .btn { margin-top: 18px; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.tint { background: var(--cream); }
.dark { background: var(--dark) url("../../uploads/2016/08/background-6.jpg") center / cover; position: relative; }
.dark::before { content: ""; position: absolute; inset: 0; background: rgba(42, 33, 28, .88); }
.dark > .wrap { position: relative; }
.sec-title { font-size: clamp(26px, 3vw, 36px); position: relative; margin-bottom: .35em; }
.sec-title.center { text-align: center; }
.sec-title.light { color: #fff; }
.entry .sec-title { margin-top: 1.4em; }
.sec-title::after { content: ""; display: block; width: 70px; height: 3px; background: var(--gold-light); margin-top: 12px; }
.sec-title.center::after { margin-inline: auto; }
.sec-sub { color: var(--ink-soft); font-style: italic; margin-bottom: 1.6em; }
.sec-sub.center { text-align: center; }
.sec-sub.gold { color: var(--gold-light); font-style: normal; font-weight: 500; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 34px 0 40px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; text-align: center; }
.card-img { display: block; overflow: hidden; }
.card-img img { width: 100%; aspect-ratio: 370/245; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 22px 24px 28px; display: flex; flex-direction: column; flex: 1; align-items: center; }
.card-body h3 { font-size: 20px; }
.card-body h3 a { color: var(--dark); text-decoration: none; }
.card-body p { color: var(--ink-soft); font-size: 16.5px; flex: 1; }

.featured-video { max-width: 860px; margin: 0 auto 28px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-frame { position: relative; aspect-ratio: 16/9; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-banner { background: #1f1814; }
.vb-play { display: block; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0; border: 0; background: none; position: relative; cursor: pointer; aspect-ratio: 960/550; max-height: 70vh; overflow: hidden; }
.vb-play img { width: 100%; height: 100%; object-fit: cover; }
.vb-play .video-frame { position: absolute; inset: 0; aspect-ratio: auto; }
.play-icon { position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; border-radius: 50%; background: rgba(201,154,69,.92); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255,255,255,.25); transition: transform .25s; }
.vb-play:hover .play-icon { transform: scale(1.1); }
.play-icon svg { width: 40px; height: 40px; fill: #fff; margin-left: 5px; }

.pastor { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream-2); min-height: 460px; }
.pastor-img { background-size: cover; background-position: center top; min-height: 340px; }
.pastor-text { padding: clamp(32px, 6vw, 80px); align-self: center; max-width: 640px; }
.pastor-text h2 { font-size: clamp(30px, 3.6vw, 44px); }
.pastor blockquote { margin: 0 0 1.6em; padding-left: 20px; border-left: 3px solid var(--gold); }
.pastor blockquote .q { font-family: var(--font-head); font-size: 22px; color: #a2742a; font-style: italic; }

.sermon-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 18px; text-align: center; color: #eadfca; }
.sermon-card .sc-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 6px; margin-bottom: 14px; }
.sermon-card h3 { color: #fff; font-size: 20px; margin-bottom: .2em; }
.sermon-card h3 a { color: #fff; text-decoration: none; }
.sermon-card .by { color: var(--gold-light); font-size: 15px; margin-bottom: .8em; }
.sermon-card audio { width: 100%; }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 28px; }
.c-card { text-align: center; padding: 30px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.c-card svg { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--gold); fill: #fff; margin-bottom: 12px; }
.c-card h3 { font-size: 20px; }
.c-card p { margin: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-block; background: var(--gold); color: #fff; border: 2px solid var(--gold); padding: 12px 28px; border-radius: 999px; font: 700 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: .2s; letter-spacing: .02em; }
.btn:hover { background: var(--dark); border-color: var(--dark); color: #fff; }
.btn-ghost { background: transparent; color: #a2742a; }
.btn-ghost:hover { background: var(--gold); border-color: var(--gold); }
.btn-ghost-light { background: transparent; color: var(--dark); border-color: var(--dark); margin-left: 8px; }
.btn-ghost-light:hover { background: var(--dark); color: #fff; }
.btn-light { background: transparent; color: #fff; border-color: var(--gold-light); }
.btn-small { padding: 8px 20px; font-size: 15px; }

/* ---------- inner pages ---------- */
.page-hero { background: var(--dark) url("../../uploads/2016/08/background-6.jpg") center / cover; position: relative; color: #fff; text-align: center; padding: 56px 0 50px; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,33,28,.8), rgba(42,33,28,.92)); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4.2vw, 46px); margin-bottom: .25em; }
.crumbs { font-size: 15px; color: var(--gold-pale); }
.crumbs a { color: var(--gold-light); text-decoration: none; }
.crumbs span::before, .crumbs a + a::before { content: "›"; margin: 0 9px; color: var(--gold); }
.crumbs a:first-child::before { content: none; }
.crumbs a:hover { color: #fff; }

.page-contact .section, .page-hero + .section { padding-top: 56px; }
.entry { min-width: 0; }
.entry-narrow { max-width: 820px; margin-inline: auto; }
.entry-wide { max-width: 1040px; margin-inline: auto; }
.entry .prose { font-size: 19px; }
.entry .prose p { margin-bottom: 1.15em; }
.entry h2.sec-title:first-child { margin-top: 0; }
.entry blockquote, .prose blockquote { margin: 1.6em 0; padding: 18px 26px; background: var(--cream); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; }
.entry blockquote p:last-child { margin: 0; }
.entry h4 { font-size: 22px; margin-top: 1.5em; }
.entry hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.entry img.inline-img { margin: 0 auto 1.6em; border-radius: var(--radius); }
.entry .legend { margin: 0; }
.rounded { border-radius: var(--radius); margin: 0 auto 1.4em; }
.lead { font-size: 21px; }
.meta { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 0; }
.meta.big { font-size: 17px; margin-bottom: 1.2em; }
.meta a { color: inherit; }
.empty-note { background: var(--cream); border: 1px dashed var(--gold); border-radius: var(--radius); padding: 22px 28px; margin: 2em 0; }
.empty-note p:last-child { margin: 0; }

.siblings { max-width: 820px; margin: 56px auto 0; padding-top: 28px; border-top: 1px solid var(--line); }
.siblings h2 { font-size: 20px; }
.siblings ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.siblings a { display: inline-block; padding: 7px 18px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 16px; background: var(--cream); }
.siblings a:hover, .siblings a.on { background: var(--gold); border-color: var(--gold); color: #fff; }
.card-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 2em; }
.link-card { display: block; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); text-decoration: none; color: var(--ink); transition: .2s; }
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }
.link-card h3 { font-size: 20px; color: #a2742a; }
.link-card p { margin: 0; font-size: 16px; color: var(--ink-soft); }

/* videos on the YouTube page */
.entry .video-card { margin: 0 0 2.2em; }
.entry .video-card .video-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.entry .video-card figcaption { font-family: var(--font-head); font-size: 20px; padding-top: 10px; color: var(--dark); }

/* testimonials & pastor's page */
.testimonial-full { padding: 8px 0 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.testimonial-full:last-child { border: 0; }
.testimonial-full .sub-title { font-size: 28px; color: #a2742a; }
.sub-title { font-size: 24px; margin-top: 1.4em; }
.items-leading, .items-row .item_innerDiv { background: var(--cream); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 22px; border: 1px solid var(--line); }
.items-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.items-row .item_innerDiv h4 { text-align: left !important; margin-top: 0; color: #a2742a; }
.entry .prose .item_innerDiv h2 { font-size: 20px; font-family: var(--font-body); font-weight: 500; margin: 0 0 .6em; }
.article-info { list-style: none; margin: 0 0 .8em; padding: 0; font-size: 14px; color: var(--ink-soft); }

/* ---------- sermons ---------- */
.sermon-tools { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-bottom: 26px; }
.sermon-tools input[type=search] { flex: 1 1 280px; padding: 13px 18px; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: var(--cream); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 15px; background: #fff; }
.chip:hover, .chip.on { background: var(--gold); border-color: var(--gold); color: #fff; }
.sermon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.sermon { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px 18px; transition: box-shadow .2s; }
.sermon:hover { box-shadow: var(--shadow); }
.sermon-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 8px; }
.sermon h3 { font-size: 20px; margin: 0 0 .15em; }
.sermon h3 a { text-decoration: none; color: var(--dark); }
.sermon h3 a:hover { color: #a2742a; }
.sermon audio, .player-card audio { width: 100%; height: 40px; }
.dl { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); }
.dl:hover { background: var(--gold); } .dl:hover svg { fill: #fff; }
.dl svg { width: 20px; height: 20px; fill: #a2742a; }
.player-card { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; background: var(--cream); padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); margin: 1.4em 0 2em; }
.related li { padding: 6px 0; border-bottom: 1px dashed var(--line); }

/* ---------- gallery ---------- */
.album-grid { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.album-card { display: block; text-decoration: none; color: var(--ink); background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; transition: transform .25s; }
.album-card:hover { transform: translateY(-4px); }
.album-img { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--cream-2); }
.album-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.album-card:hover img { transform: scale(1.06); }
.album-title { display: block; font-family: var(--font-head); font-weight: 700; padding: 12px 16px 0; line-height: 1.3; color: var(--dark); font-size: 17px; }
.album-count { display: block; padding: 2px 16px 14px; font-size: 14.5px; color: var(--ink-soft); }
.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.photo-grid a { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 8px; background: var(--cream-2); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photo-grid a:hover img { transform: scale(1.07); }
.pager { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(15,11,9,.94); display: grid; place-items: center; padding: 24px; }
.lb[hidden] { display: none; }
.lb img { max-width: min(96vw, 1200px); max-height: 82vh; object-fit: contain; border-radius: 4px; }
.lb p { color: #e7dcc7; text-align: center; margin: 12px 0 0; font-size: 15px; }
.lb button { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.lb button:hover { background: var(--gold); }
.lb .x { top: 18px; right: 18px; } .lb .p { left: 14px; top: 50%; } .lb .n { right: 14px; top: 50%; }

/* ---------- contact & forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.big-addr { font-style: normal; font-size: 20px; line-height: 1.6; margin-bottom: 1.2em; }
.info-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.info-list li { display: flex; gap: 12px; align-items: center; padding: 6px 0; }
.info-list svg { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--gold); fill: #fff; flex: none; }
.times { border-collapse: collapse; width: 100%; font-size: 16.5px; }
.times th, .times td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.times th { color: #a2742a; width: 110px; }
.form-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 34px; margin-top: 2em; }
.contact-grid .form-card { margin-top: 0; }
.form-card > .sec-title { margin-top: 0; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 5px; font-size: 16px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #d9caa6; border-radius: 8px; font: inherit; background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus { border-color: var(--gold); outline: 3px solid rgba(201,154,69,.25); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute; left: -9999px; }
.fine { font-size: 15px; color: var(--ink-soft); }
.notice { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-weight: 500; }
.notice.ok { background: #e6f3e4; border: 1px solid #9ccf95; color: #1e5a18; }
.notice.err { background: #fbe9e7; border: 1px solid #e3a59d; color: #8a2217; }
small.err { color: #a32a1c; display: block; margin-top: 4px; font-size: 14.5px; }
.map { margin-top: 56px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map iframe { display: block; width: 100%; height: 450px; border: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark-2); color: #d9ccb4; font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1.1fr 1.3fr 1.1fr; gap: 40px; padding: 60px 0 46px; }
.site-footer h3 { color: #fff; font-size: 18px; letter-spacing: .04em; margin-bottom: 1em; position: relative; padding-bottom: 10px; }
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 2px; background: var(--gold); }
.site-footer a { color: var(--gold-light); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.8; }
.foot-logo { background: #fff; padding: 8px 14px; border-radius: 8px; margin-bottom: 14px; width: 230px; height: auto; }
.foot-about { font-size: 16px; }
.foot-verse { font-style: italic; color: var(--gold-light); } .foot-verse span { display: block; font-style: normal; font-size: 14px; color: #bfae8f; }
.site-footer .plain li { padding: 5px 0; font-size: 15.5px; line-height: 1.5; }
.site-footer .plain strong { color: #fff; }
.two-col { columns: 2; column-gap: 20px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 14.5px; color: #a89a82; }
.foot-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; transform: translateY(10px); z-index: 40; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 22px; height: 22px; fill: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .primary-nav a { padding: 16px 11px; font-size: 16px; }
  .primary-nav > ul > li > a::after { left: 11px; right: 11px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  body { font-size: 17px; }
  .topbar .tb-hide { display: none; }
  .brand-row { justify-content: space-between; padding: 10px 0; }
  .brand img { width: min(300px, 64vw); }
  .menu-toggle { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 8px; background: var(--cream); cursor: pointer; }
  .menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { display: block; width: 22px; height: 2px; background: var(--dark); position: relative; transition: .25s; }
  .menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle .bars::before { top: -7px; } .menu-toggle .bars::after { top: 7px; }
  .menu-toggle[aria-expanded=true] .bars { background: transparent; }
  .menu-toggle[aria-expanded=true] .bars::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded=true] .bars::after { top: 0; transform: rotate(-45deg); }
  .primary-nav { display: none; position: static; border-top: 1px solid var(--line); max-height: calc(100vh - 120px); overflow-y: auto; }
  .primary-nav.open { display: block; }
  .primary-nav > ul { display: block; }
  .primary-nav li { border-bottom: 1px solid var(--line); }
  .primary-nav a { padding: 14px 4px; }
  .primary-nav > ul > li > a::after, .has-sub > a::before { display: none; }
  .has-sub { display: flex; flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { display: block; width: 52px; border: 0; background: none; cursor: pointer; position: relative; }
  .sub-toggle::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border: solid var(--dark); border-width: 0 2px 2px 0; transform: translate(-50%, -70%) rotate(45deg); transition: .2s; }
  .has-sub.open > .sub-toggle::before { transform: translate(-50%, -30%) rotate(-135deg); }
  .sub { position: static; display: none; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 3px solid var(--gold); background: var(--cream); border-radius: 0; padding: 4px 0; }
  .has-sub.open > .sub { display: block; }
  .has-sub:hover > .sub { opacity: 1; }
  .intro-in, .pastor, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .intro-in { padding: 36px 0; }
  .pastor-img { min-height: 320px; order: -1; }
  .cards-3, .contact-cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .items-row { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .hero-nav { display: none; }
}
@media (max-width: 560px) {
  .grid-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 30px; }
  .form-card { padding: 24px 20px; }
  .tb-right { display: none; }
  .btn-ghost-light { margin-left: 0; margin-top: 10px; }
  .two-col { columns: 1; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .primary-nav, .site-footer, .to-top, .hero { display: none; } }
