/*
Theme Name: SOAR Ministry
Theme URI: https://www.solaareogunministries.org/
Author: SOAR Ministry
Description: A fully editable ministry theme with a combined homepage slider and video, automatic event countdowns, event flyers, ministry pictures, event galleries, and session teaching/transcript/impartation archives.
Version: 1.3.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: soar-ministry
*/

:root {
  --blue: #149ed9;
  --blue-deep: #047eaf;
  --blue-soft: #e9f7fd;
  --ink: #07131c;
  --ink-2: #102a3b;
  --muted: #5f6f7b;
  --line: #dbe4e9;
  --paper: #ffffff;
  --soft: #f4f8fa;
  --shadow: 0 18px 50px rgba(7, 25, 38, .10);
  --radius: 4px;
  --shell: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.nav-open, body.lightbox-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-weight: 700; line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(2.8rem, 6vw, 6.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
p { margin: 0 0 1.2rem; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.narrow { max-width: 820px; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-soft { background: var(--soft); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; top: 8px; left: 8px; display: block; width: auto; height: auto; padding: 12px 18px; clip: auto !important; background: #fff; color: #000; }
.eyebrow { margin: 0 0 14px; color: var(--blue-deep); font-size: .74rem; font-weight: 800; letter-spacing: .18em; line-height: 1.3; text-transform: uppercase; }
.eyebrow.light { color: #79d1f5; }
.lead { color: #405460; font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.75; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 25px; border: 1px solid var(--blue); border-radius: 2px; background: var(--blue); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.button:hover, .button:focus-visible { border-color: var(--blue-deep); background: var(--blue-deep); color: #fff; transform: translateY(-2px); }
.button-outline { border-color: rgba(255,255,255,.55); background: transparent; }
.button-outline:hover { border-color: #fff; background: #fff; color: var(--ink); }
.button-light { border-color: #fff; background: #fff; color: var(--ink); }
.button-light:hover { border-color: var(--ink); background: var(--ink); }
.button-dark { border-color: var(--ink); background: var(--ink); }
.button-dark:hover { border-color: var(--blue); background: var(--blue); }
.button-small { min-height: 40px; padding: 10px 17px; font-size: .67rem; }
.button-block { width: 100%; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: var(--ink); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.text-link span { color: var(--blue); font-size: 1.2em; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

.topbar { background: #02080c; color: #c9d5dc; font-size: .74rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; }
.topbar p { margin: 0; letter-spacing: .08em; text-transform: uppercase; }
.topbar-contact { display: flex; gap: 22px; }
.topbar a:hover { color: var(--blue); }
.site-header { position: relative; z-index: 50; background: var(--ink); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 88px; }
.brand { display: block; width: 158px; }
.brand img { width: 100%; max-height: 58px; object-fit: contain; object-position: left center; }
.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav ul { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); margin: 0; padding: 0; list-style: none; }
.primary-nav li { position: relative; }
.primary-nav li a { display: block; padding: 33px 0; color: #e6edf1; font-size: .74rem; font-weight: 700; letter-spacing: .065em; text-transform: uppercase; }
.primary-nav li a::after { position: absolute; right: 0; bottom: 25px; left: 0; height: 2px; background: var(--blue); content: ""; transform: scaleX(0); transition: transform .2s; }
.primary-nav li a:hover::after, .primary-nav .current-menu-item > a::after { transform: scaleX(1); }
.primary-nav .sub-menu { position: absolute; top: 100%; left: -20px; display: none; min-width: 220px; padding: 10px 20px; background: var(--ink-2); box-shadow: var(--shadow); }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: block; }
.primary-nav .sub-menu a { padding: 10px 0; }
.nav-toggle { display: none; width: 44px; padding: 8px; border: 0; background: transparent; }
.nav-toggle > span:not(.screen-reader-text) { display: block; width: 100%; height: 2px; margin: 6px 0; background: #fff; }

.home-media { display: grid; grid-template-columns: minmax(0, 2.08fr) minmax(340px, .92fr); min-height: 670px; background: var(--ink); }
.hero-slider { position: relative; min-height: 670px; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; padding: clamp(70px, 9vw, 125px) max(40px, calc((100vw - var(--shell)) / 2)); padding-right: clamp(40px, 8vw, 120px); visibility: hidden; opacity: 0; background: var(--ink) var(--hero-image) center/cover no-repeat; transition: opacity .8s ease, visibility .8s; }
.hero-slide.is-active { z-index: 2; visibility: visible; opacity: 1; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,10,16,.95) 0%, rgba(2,10,16,.78) 48%, rgba(2,10,16,.2) 100%); }
.hero-grid { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, black, transparent 75%); }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-content h1 { max-width: 770px; margin-bottom: 18px; color: #fff; }
.hero-accent { margin-bottom: 18px; color: var(--blue); font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-copy { max-width: 620px; color: #d9e3e9; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.hero-copy p { margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.slider-controls { position: absolute; z-index: 4; right: 38px; bottom: 30px; display: flex; align-items: center; gap: 14px; }
.slider-controls > button { display: grid; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; place-items: center; background: rgba(3,14,21,.45); color: #fff; cursor: pointer; }
.slider-dots { display: flex; gap: 7px; }
.slider-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.35); cursor: pointer; transition: width .2s, border-radius .2s, background .2s; }
.slider-dots button.is-active { width: 24px; border-radius: 8px; background: var(--blue); }
.video-panel { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: clamp(45px, 6vw, 80px) clamp(28px, 4vw, 58px); overflow: hidden; background: var(--blue); color: #fff; }
.video-panel::before { position: absolute; top: -80px; right: -95px; width: 280px; height: 280px; border: 60px solid rgba(255,255,255,.09); border-radius: 50%; content: ""; }
.video-panel h2 { color: #fff; font-size: clamp(2rem, 3.5vw, 3.6rem); }
.video-panel p { color: rgba(255,255,255,.88); }
.video-copy, .video-launch { position: relative; z-index: 1; }
.video-launch { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 260px; margin-top: 30px; border: 1px solid rgba(255,255,255,.36); background: rgba(0,0,0,.09); text-align: center; }
.video-launch iframe, .event-video iframe { width: 100%; height: 100%; border: 0; aspect-ratio: 16/9; }
.video-launch.is-playing { min-height: 0; border: 0; }
.video-launch.is-playing iframe { aspect-ratio: 16/9; }
.play-button { display: grid; width: 78px; height: 78px; padding: 0; border: 0; border-radius: 50%; place-items: center; background: #fff; color: var(--blue-deep); cursor: pointer; box-shadow: 0 14px 35px rgba(0,0,0,.18); transition: transform .2s; }
.play-button:hover { transform: scale(1.06); }
.play-button span { margin-left: 5px; font-size: 1.45rem; }
.video-launch > p { margin: 14px 0 0; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.countdown-bar { background: var(--ink-2); color: #fff; }
.countdown-inner { display: grid; grid-template-columns: minmax(250px, 1fr) auto auto; gap: clamp(24px, 5vw, 68px); align-items: center; padding-top: 34px; padding-bottom: 34px; }
.countdown-title h2 { margin-bottom: 7px; color: #fff; font-size: clamp(1.5rem, 2.5vw, 2.25rem); }
.countdown-title h2 a:hover { color: var(--blue); }
.countdown-title p:last-child { margin: 0; color: #b7c5ce; font-size: .85rem; }
.countdown-units { display: flex; gap: clamp(16px, 3vw, 38px); }
.countdown-units div { min-width: 58px; text-align: center; }
.countdown-units strong { display: block; color: #fff; font-family: Georgia, serif; font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 400; line-height: 1; }
.countdown-units span { display: block; margin-top: 7px; color: #8da0ac; font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.split-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 9vw, 130px); align-items: start; }
.split-intro .text-link { margin-top: 12px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 42px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 500px; margin: 0; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.content-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: box-shadow .25s, transform .25s; }
.content-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.card-image { position: relative; display: block; overflow: hidden; background: var(--ink-2); aspect-ratio: 16/10; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.content-card:hover .card-image img { transform: scale(1.04); }
.flyer-frame { aspect-ratio: 4/5; background: #e7edf1; }
.flyer-frame img { object-fit: cover; }
.ministry-image { aspect-ratio: 16/11; }
.image-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: rgba(255,255,255,.82); font-family: Georgia, serif; font-size: 2.2rem; font-weight: 700; letter-spacing: .12em; background: linear-gradient(135deg, var(--ink), var(--blue-deep)); }
.card-body { padding: 28px; }
.card-body h2, .card-body h3 { margin-bottom: 12px; }
.card-body h2 a:hover, .card-body h3 a:hover { color: var(--blue-deep); }
.card-body > p:not(.eyebrow) { color: var(--muted); }
.meta-line { display: flex; gap: 8px; font-size: .83rem; }
.meta-line span { color: var(--blue); }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.filter, .calendar-tools { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 34px; padding: 16px 20px; border: 1px solid var(--line); background: #fff; }
.filter input { flex: 1; min-width: 0; padding: 10px 2px; border: 0; outline: 0; color: var(--ink); font-size: 1rem; }
.filter span { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.calendar-tools button { padding: 10px 16px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
[data-filter-item][hidden] { display: none !important; }

.quote-band { position: relative; overflow: hidden; padding: clamp(82px, 10vw, 145px) 0; background: var(--ink); color: #fff; text-align: center; }
.quote-band::before { position: absolute; inset: 0; opacity: .07; background-image: radial-gradient(circle at 20% 20%, var(--blue) 0, transparent 34%), radial-gradient(circle at 80% 80%, var(--blue) 0, transparent 28%); content: ""; }
.quote-band .shell { position: relative; max-width: 950px; }
.quote-mark { display: block; height: 45px; color: var(--blue); font-family: Georgia, serif; font-size: 6rem; line-height: 1; }
.quote-band blockquote { margin: 0 0 24px; color: #fff; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 4rem); line-height: 1.22; }
.quote-band p { margin: 0; color: #8fa5b2; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.channels { text-align: center; }
.channels h2 { max-width: 740px; margin-inline: auto; }
.channel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 950px; margin: 45px auto 0; border: 1px solid var(--line); background: #fff; }
.channel-grid a { display: flex; flex-direction: column; align-items: center; padding: 36px 25px; border-right: 1px solid var(--line); transition: background .2s, color .2s; }
.channel-grid a:last-child { border: 0; }
.channel-grid a:hover { background: var(--ink); color: #fff; }
.channel-grid a > span { display: grid; width: 48px; height: 48px; margin-bottom: 15px; border-radius: 50%; place-items: center; background: var(--blue-soft); color: var(--blue-deep); font-weight: 800; }
.channel-grid strong { font-family: Georgia, serif; font-size: 1.4rem; }
.channel-grid small { color: var(--muted); }
.channel-grid a:hover small { color: #aabac4; }

.newsletter { padding: clamp(72px, 9vw, 115px) 0; overflow: hidden; background: linear-gradient(120deg, #07131c, #0d3349); color: #fff; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px, 9vw, 120px); align-items: center; }
.newsletter h2 { max-width: 580px; margin-bottom: 0; color: #fff; }
.newsletter form > p { color: #c2d0d8; }
.emailbox { display: flex; border-bottom: 1px solid rgba(255,255,255,.45); }
.emailbox input { flex: 1; min-width: 0; padding: 17px 2px; border: 0; outline: 0; background: transparent; color: #fff; }
.emailbox input::placeholder { color: #97aab5; }
.emailbox button { padding: 12px 2px 12px 18px; border: 0; background: transparent; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.newsletter small { display: block; margin-top: 10px; color: #7f939f; }
.form-success { display: block; padding: 24px; border: 1px solid rgba(255,255,255,.25); color: #fff; font-family: Georgia, serif; font-size: 1.4rem; }

.leader-section { padding: clamp(78px, 10vw, 135px) 0; background: var(--ink); color: #c2d1da; }
.leader-grid { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.15fr); gap: clamp(45px, 9vw, 120px); align-items: center; }
.leader-grid h2 { color: #fff; }
.leader-grid p:not(.eyebrow) { max-width: 650px; font-size: 1.12rem; }
.leader-portrait { display: grid; min-height: 480px; place-items: center; overflow: hidden; background: radial-gradient(circle at 60% 30%, rgba(20,158,217,.75), transparent 32%), linear-gradient(145deg, #123b52, #030a0f); box-shadow: var(--shadow); }
.leader-portrait span { color: rgba(255,255,255,.88); font-family: Georgia, serif; font-size: clamp(5rem, 12vw, 9rem); letter-spacing: -.08em; }

.sermon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.sermon-card { overflow: hidden; border: 1px solid var(--line); background: #fff; }
.sermon-card > div { padding: 25px; }
.sermon-card h3 { min-height: 2.15em; }
.sermon-card > div > p:not(.eyebrow) { color: var(--muted); }
.sermon-art { position: relative; display: flex; min-height: 245px; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(135deg, var(--ink), var(--blue-deep)); background-position: center; background-size: cover; }
.sermon-art::before { position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(45deg, transparent 47%, #fff 48%, #fff 49%, transparent 50%); background-size: 28px 28px; content: ""; }
.sermon-art-2 { background: linear-gradient(135deg, #1c2a33, #586b78); }
.sermon-art-3 { background: linear-gradient(135deg, #4a2467, #149ed9); }
.sermon-art-4 { background: linear-gradient(135deg, #3b2819, #bc741d); }
.sermon-art-5 { background: linear-gradient(135deg, #15341c, #459252); }
.sermon-art-6 { background: linear-gradient(135deg, #321628, #b02e6d); }
.sermon-play { position: relative; z-index: 1; display: grid; width: 68px; height: 68px; border-radius: 50%; place-items: center; background: #fff; color: var(--blue-deep); box-shadow: 0 15px 35px rgba(0,0,0,.2); }
.sermon-art small { position: absolute; z-index: 1; right: 16px; bottom: 14px; color: #fff; font-weight: 800; letter-spacing: .12em; }

.media-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr); gap: 35px; align-items: start; }
.video-stage { overflow: hidden; background: var(--ink); color: #c6d4dc; box-shadow: var(--shadow); }
.video-stage iframe { display: block; width: 100%; border: 0; aspect-ratio: 16/9; }
.video-stage > div { padding: 25px 30px; }
.video-stage h2 { margin: 10px 0 5px; color: #fff; }
.video-stage p { margin: 0; }
.live-pill { color: #7bd5f8; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.broadcast-card { padding: 35px; border-top: 4px solid var(--blue); background: var(--soft); }
.broadcast-card hr { margin: 28px 0; border: 0; border-top: 1px solid var(--line); }

.give-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .8fr); gap: clamp(45px, 9vw, 110px); align-items: start; }
.impact { display: flex; margin-top: 38px; border: 1px solid var(--line); }
.impact span { flex: 1; padding: 24px; }
.impact span + span { border-left: 1px solid var(--line); }
.impact b, .impact small { display: block; }
.impact b { font-family: Georgia, serif; font-size: 2rem; }
.impact small { color: var(--muted); }
.give-card { display: grid; gap: 20px; padding: clamp(28px, 4vw, 45px); border-top: 5px solid var(--blue); background: var(--soft); box-shadow: var(--shadow); }
.give-card label, .contact-form label { display: grid; gap: 7px; color: var(--ink); font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.give-card input, .give-card select, .contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid #cad6dc; border-radius: 0; outline: 0; background: #fff; color: var(--ink); font-size: .95rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.give-card input:focus, .give-card select:focus, .contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,158,217,.12); }
.give-card small { color: var(--muted); line-height: 1.5; }

.contact-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.1fr); gap: clamp(50px, 9vw, 120px); align-items: start; }
.contact-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item b { display: block; margin-bottom: 3px; color: var(--blue-deep); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-item p { margin: 0; color: var(--muted); }
.contact-form { display: grid; gap: 20px; padding: clamp(28px, 5vw, 48px); border-top: 5px solid var(--blue); background: var(--soft); }
.form-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.success { padding: 45px; border: 1px solid #b6e1c2; background: #effaf2; }
.success h2 { color: #175e2b; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 4px; color: var(--ink); font-family: Georgia, serif; font-size: 1.35rem; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { display: grid; min-width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; place-items: center; color: var(--blue-deep); font-family: inherit; font-style: normal; transition: transform .2s; }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details > div { padding: 0 65px 25px 4px; }

.page-hero { padding: clamp(85px, 11vw, 150px) 0; background: radial-gradient(circle at 85% 25%, rgba(20,158,217,.28), transparent 28%), linear-gradient(120deg, #06121a, #102d3f); color: #dce7ed; }
.page-hero.compact { padding: clamp(70px, 8vw, 110px) 0; }
.page-hero .shell { max-width: var(--shell); }
.page-hero h1 { max-width: 900px; color: #fff; }
.page-hero p:last-child { max-width: 740px; margin-bottom: 0; color: #bdccd5; font-size: 1.08rem; }
.detail-hero { position: relative; display: flex; align-items: end; min-height: 650px; overflow: hidden; background: var(--ink); }
.detail-backdrop { position: absolute; inset: 0; background: var(--ink-2) center/cover no-repeat; filter: saturate(.85); }
.detail-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,9,14,.96), rgba(2,9,14,.65) 56%, rgba(2,9,14,.25)), linear-gradient(0deg, rgba(2,9,14,.7), transparent 58%); }
.detail-hero-content { position: relative; z-index: 2; padding-bottom: clamp(65px, 9vw, 120px); color: #fff; }
.detail-hero h1 { max-width: 900px; color: #fff; }
.detail-hero-content > p:not(.eyebrow) { max-width: 740px; color: #d3e0e7; font-size: 1.15rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 22px 0 32px; color: #d2dee5; font-weight: 600; }
.hero-meta span { position: relative; }
.hero-meta span + span::before { position: absolute; left: -17px; color: var(--blue); content: "•"; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .7fr); gap: clamp(45px, 8vw, 100px); align-items: start; }
.detail-main > .eyebrow { margin-bottom: 25px; }
.prose { color: #314651; font-size: 1.05rem; }
.prose > *:first-child { margin-top: 0; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.6em; }
.prose a:not(.button) { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 2em 0; padding: 8px 0 8px 28px; border-left: 4px solid var(--blue); color: var(--ink); font-family: Georgia, serif; font-size: 1.35rem; }
.prose ul, .prose ol { padding-left: 1.4em; }
.page-feature-image { margin-bottom: 45px; }
.event-flyer, .ministry-feature-image { overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow); }
.event-flyer img, .ministry-feature-image img { width: 100%; }
.facts-card { margin-top: 22px; padding: 30px; border-top: 4px solid var(--blue); background: var(--soft); }
.facts-card h2 { font-size: 1.65rem; }
.facts-card p { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.facts-card strong, .facts-card span { display: block; }
.facts-card strong { margin-bottom: 3px; color: var(--muted); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.event-video { margin-top: 45px; overflow: hidden; background: #000; box-shadow: var(--shadow); aspect-ratio: 16/9; }

.session-list { border-top: 1px solid var(--line); }
.session-item { border-bottom: 1px solid var(--line); }
.session-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 25px; padding: 28px 5px; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.session-toggle span { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, .55fr); gap: 25px; align-items: center; width: 100%; }
.session-toggle small { color: var(--blue-deep); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.session-toggle strong { font-family: Georgia, serif; font-size: 1.4rem; line-height: 1.2; }
.session-toggle em { color: var(--muted); font-size: .88rem; font-style: normal; }
.session-toggle i { display: grid; min-width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; place-items: center; color: var(--blue-deep); font-size: 1.3rem; font-style: normal; transition: transform .25s; }
.session-item.is-open .session-toggle i { transform: rotate(45deg); }
.session-content { display: none; padding: 8px 65px 38px 140px; color: #3c515d; }
.session-item.is-open .session-content { display: block; }
.session-summary { max-width: 850px; }
.session-content h3 { margin-top: 0; font-size: 1.25rem; }
.session-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; margin: 32px 0; }
.teaching-list, .impartation-list { margin: 0; padding: 0; list-style: none; }
.teaching-list li, .impartation-list li { position: relative; margin-bottom: 12px; padding-left: 24px; }
.teaching-list li::before, .impartation-list li::before { position: absolute; top: 2px; left: 0; color: var(--blue); content: "✦"; }
.transcript { border: 1px solid var(--line); background: #fff; }
.transcript summary { padding: 16px 20px; color: var(--ink); font-weight: 800; cursor: pointer; }
.transcript .prose { max-height: 520px; padding: 5px 25px 25px; overflow: auto; font-size: .96rem; }
.photo-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.gallery-item { position: relative; grid-column: span 4; overflow: hidden; background: var(--ink); aspect-ratio: 4/3; }
.gallery-item:nth-child(5n + 1), .gallery-item:nth-child(5n + 2) { grid-column: span 6; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s, transform .4s; }
.gallery-item span { position: absolute; right: 15px; bottom: 12px; padding: 6px 10px; opacity: 0; background: #fff; color: var(--ink); font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transition: opacity .2s; }
.gallery-item:hover img { opacity: .72; transform: scale(1.04); }
.gallery-item:hover span { opacity: 1; }
.lightbox { position: fixed; z-index: 1000; inset: 0; display: none; align-items: center; justify-content: center; padding: 35px 80px; background: rgba(0,7,12,.96); }
.lightbox.is-open { display: flex; }
.lightbox figure { max-width: min(1100px, 85vw); max-height: 90vh; margin: 0; text-align: center; }
.lightbox img { max-width: 100%; max-height: 82vh; margin: auto; object-fit: contain; }
.lightbox figcaption { margin-top: 10px; color: #bdcbd3; }
.lightbox button { position: absolute; display: grid; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; place-items: center; background: transparent; color: #fff; cursor: pointer; }
.lightbox-close { top: 25px; right: 25px; font-size: 1.7rem; }
.lightbox-prev { top: 50%; left: 24px; }
.lightbox-next { top: 50%; right: 24px; }

.pagination { margin-top: 50px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: grid; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); place-items: center; }
.page-numbers.current, .page-numbers:hover { border-color: var(--blue); background: var(--blue); color: #fff; }
.empty-state { padding: 60px; border: 1px solid var(--line); background: var(--soft); text-align: center; }
.not-found { min-height: 66vh; padding: clamp(100px, 14vw, 190px) 0; background: radial-gradient(circle at 80%, rgba(20,158,217,.26), transparent 35%), var(--ink); color: #cbd8df; }
.not-found h1 { color: #fff; }

.site-footer { padding-top: 75px; background: #030a0f; color: #98aab5; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .8fr 1fr 1fr; gap: 55px; padding-bottom: 58px; }
.footer-brand img { width: 175px; margin-bottom: 24px; }
.footer-brand p { max-width: 330px; }
.site-footer h4 { color: #fff; font-family: inherit; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; columns: 2; }
.site-footer li { margin-bottom: 7px; }
.site-footer a:hover { color: var(--blue); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid #182631; }
.footer-bottom p { margin: 0; font-size: .75rem; }

@media (max-width: 1080px) {
  .home-media { grid-template-columns: 1fr; }
  .hero-slider, .hero-slide { min-height: 630px; }
  .video-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 45px; align-items: center; }
  .video-launch { margin: 0; }
  .countdown-inner { grid-template-columns: 1fr auto; }
  .countdown-inner > .button { display: none; }
  .card-grid { gap: 20px; }
  .primary-nav { gap: 15px; }
  .primary-nav ul { gap: 14px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child:nth-child(4) { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  .topbar { display: none; }
  .nav-wrap { min-height: 76px; }
  .brand { width: 142px; }
  .nav-toggle { display: block; cursor: pointer; }
  .primary-nav { position: fixed; top: 76px; right: 0; bottom: 0; left: 0; display: block; padding: 25px 20px 60px; overflow: auto; visibility: hidden; opacity: 0; background: var(--ink); transition: opacity .2s, visibility .2s; }
  .primary-nav.is-open { visibility: visible; opacity: 1; }
  .primary-nav ul { display: block; }
  .primary-nav li { border-bottom: 1px solid rgba(255,255,255,.09); }
  .primary-nav li a { padding: 15px 4px; }
  .primary-nav li a::after { display: none; }
  .primary-nav .sub-menu { position: static; display: block; padding: 0 0 8px 20px; background: transparent; box-shadow: none; }
  .nav-give { margin-top: 24px; }
  .countdown-inner { grid-template-columns: 1fr; }
  .countdown-units { justify-content: start; }
  .split-intro, .detail-layout { grid-template-columns: 1fr; }
  .detail-main { max-width: 820px; }
  .event-facts { max-width: 500px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { align-items: start; }
  .session-toggle span { grid-template-columns: 88px 1fr; }
  .session-toggle em { grid-column: 2; }
  .session-content { padding-left: 98px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-inner, .leader-grid, .media-grid, .give-grid, .contact-grid { grid-template-columns: 1fr; }
  .leader-portrait { min-height: 390px; }
  .sermon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 30px), var(--shell)); }
  .section { padding: 68px 0; }
  .home-media, .hero-slider, .hero-slide { min-height: 620px; }
  .hero-slide { padding: 70px 24px 115px; }
  .hero-content h1 { font-size: clamp(2.65rem, 13vw, 4.4rem); }
  .slider-controls { right: auto; left: 24px; }
  .video-panel { display: block; padding: 55px 24px; }
  .video-launch { min-height: 210px; margin-top: 35px; }
  .countdown-units { gap: 8px; justify-content: space-between; }
  .countdown-units div { min-width: 48px; }
  .countdown-units strong { font-size: 1.8rem; }
  .section-heading { display: block; }
  .section-heading > a, .section-heading > p { margin-top: 20px; }
  .card-grid, .post-grid, .channel-grid, .sermon-grid { grid-template-columns: 1fr; }
  .channel-grid a { border-right: 0; border-bottom: 1px solid var(--line); }
  .detail-hero { min-height: 570px; }
  .detail-hero h1, .page-hero h1 { font-size: clamp(2.7rem, 13vw, 4.6rem); }
  .hero-meta { display: block; }
  .hero-meta span { display: block; margin-bottom: 7px; }
  .hero-meta span + span::before { display: none; }
  .session-toggle { padding: 22px 0; }
  .session-toggle span { display: block; }
  .session-toggle span > * { display: block; margin-bottom: 7px; }
  .session-content { padding: 0 0 30px; }
  .session-columns { grid-template-columns: 1fr; gap: 20px; }
  .photo-gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-item, .gallery-item:nth-child(5n + 1), .gallery-item:nth-child(5n + 2) { grid-column: span 1; }
  .gallery-item:nth-child(3n + 1) { grid-column: 1 / -1; }
  .lightbox { padding: 65px 15px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer ul { columns: 1; }
  .form-split { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  .footer-bottom p + p { margin-top: 8px; }
  .filter, .calendar-tools { align-items: stretch; flex-direction: column; }
  .filter span { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* 1.2 mobile messages, app downloads, connected sites and social updates */
.message-access-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr; gap: 18px; }
.message-access-grid > article { min-height: 280px; padding: 34px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; background: #fff; border: 1px solid var(--line); }
.message-access-grid h3 { margin: 10px 0; font: 2rem/1.05 var(--serif); }
.message-access-grid .card-label { position: absolute; top: 25px; left: 28px; color: var(--blue); font-weight: 900; letter-spacing: .15em; }
.message-audio { grid-template-columns: 80px 1fr; align-items: end; gap: 24px; color: #fff; background: radial-gradient(circle at 85% 12%, rgba(36,184,237,.32), transparent 32%), var(--ink) !important; }
.message-audio p { color: #bed0d9; }
.round-play { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: var(--blue); font-size: 1.2rem; }
.apps-band { color: #fff; background: var(--ink); }
.apps-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.apps-layout > div:first-child h2 { margin: 12px 0; font: clamp(2.5rem, 5vw, 4rem)/1 var(--serif); }
.apps-layout > div:first-child > p:not(.eyebrow) { color: #abc0ca; line-height: 1.75; }
.app-downloads { display: grid; gap: 15px; }
.app-downloads article { display: grid; grid-template-columns: 78px 1fr; gap: 22px; padding: 24px; border: 1px solid rgba(255,255,255,.1); background: #0d2637; }
.app-downloads article > span { width: 78px; height: 78px; display: grid; place-items: center; color: var(--ink); background: var(--blue); font-weight: 950; }
.app-downloads h3 { margin: 0; font: 1.75rem var(--serif); }
.app-downloads p { margin: 7px 0 13px; color: #a9bdc7; }
.app-downloads a { display: inline-block; margin-right: 16px; color: #64cff5; font-size: .76rem; font-weight: 850; }
.social-update-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.social-update-grid > a { min-height: 245px; padding: 30px; display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; }
.social-update-grid span { color: var(--blue); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.social-update-grid small { margin-top: 7px; color: #73858e; }
.social-update-grid h3 { margin: 22px 0 8px; font: 1.65rem/1.1 var(--serif); }
.social-update-grid p { color: var(--muted); line-height: 1.55; }
.social-update-grid b { margin-top: auto; color: var(--blue-deep); font-size: .75rem; }
.connected-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.connected-grid > a { min-height: 175px; padding: 28px; position: relative; border: 1px solid var(--line); background: #fff; }
.connected-grid > a > span { position: absolute; top: 18px; right: 20px; color: var(--blue); font-size: 1.3rem; }
.connected-grid h3 { margin: 20px 0 10px; font: 1.6rem/1.1 var(--serif); }
.connected-grid p { color: var(--muted); line-height: 1.55; }
.interactive-sermon { position: relative; }
.save-message { position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: #fff; background: rgba(7,21,33,.88); font-size: 1.25rem; cursor: pointer; }
.save-message.is-saved { color: var(--ink); background: var(--blue); }
.sermon-library audio { width: 100%; margin: 14px 0 4px; }
.sermon-actions { display: flex; gap: 16px; align-items: center; margin-top: 15px; }
.sermon-actions .read-message { padding: 0; border: 0; color: var(--blue-deep); background: transparent; font: 800 .75rem var(--sans); cursor: pointer; }
.message-text { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.message-text h4 { margin: 0 0 8px; font: 1.1rem var(--serif); }
.message-text p { line-height: 1.7; }
@media (max-width: 960px) { .message-access-grid { grid-template-columns: 1fr 1fr; } .message-audio { grid-column: 1 / -1; } .apps-layout { gap: 35px; } .social-update-grid, .connected-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .message-access-grid, .apps-layout, .social-update-grid, .connected-grid { grid-template-columns: 1fr; } .message-audio { grid-column: auto; display: flex !important; } .app-downloads article { grid-template-columns: 56px 1fr; } .app-downloads article > span { width: 56px; height: 56px; } .app-downloads a { display: block; margin: 8px 0 0; } }
