/* Public page extras (home, services, events, help, church). Builds on site.css. */

/* hero: warm "flame and sea" art when there is no photo */
.hero-art { background: radial-gradient(60% 80% at 85% 30%, rgba(239, 125, 34, .35) 0%, rgba(239, 125, 34, 0) 60%), radial-gradient(70% 70% at 100% 100%, rgba(15, 107, 120, .55) 0%, rgba(15, 107, 120, 0) 65%), linear-gradient(120deg, #1f1b1a 0%, #2b2522 55%, #352a25 100%); }
.hero-art::before { background: none; }
.hero-glow { position: absolute; z-index: -1; right: -8%; top: 8%; width: 46vw; max-width: 640px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(246, 181, 59, .22) 0%, rgba(239, 125, 34, .08) 45%, transparent 70%); pointer-events: none; }
.hero-visit { margin-top: 26px; font-size: .95rem; color: #d9cfc5; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-visit .ic { color: var(--gold); }

/* quick links strip overlapping the hero wave */
.quick-strip { padding-top: 0; margin-top: -54px; position: relative; z-index: 2; }
.quick { gap: 14px; }
.quick-item { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-lg); text-decoration: none; color: var(--ink); transition: transform .18s, border-color .18s; }
.quick-item:hover { transform: translateY(-3px); border-color: var(--line-2); color: var(--ink); }
.quick-item .icon-tile { margin: 0; width: 46px; height: 46px; flex: none; }
.quick-item b { display: block; font: 700 1rem var(--font-head); }
.quick-item small { display: block; color: var(--muted); font-size: .86rem; }

/* service cards: keep "Find out more" on the bottom line */
.service-card { display: flex; flex-direction: column; }
.service-card .link-arrow { margin-top: auto; padding-top: 14px; }
.service-card .when { margin-top: auto; padding-top: 14px; }
.service-card .when + .link-arrow { margin-top: 0; padding-top: 12px; }

/* how it works */
.how-steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 20px; }
.how-steps li { display: flex; gap: 18px; align-items: flex-start; }
.how-steps .n { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--flame-grad); color: #fff; font: 700 1.1rem var(--font-head); box-shadow: 0 6px 16px -6px rgba(216, 64, 31, .6); }
.how-steps h3 { margin: 4px 0 4px; font-size: 1.15rem; }
.how-steps p { margin: 0; color: var(--muted); }
.home-photo { aspect-ratio: 4 / 3; }
.art-panel { height: 100%; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: radial-gradient(80% 80% at 30% 20%, #3c2f29 0%, var(--ink) 70%); color: #efe6dc; font: 600 1.05rem var(--font-head); letter-spacing: .08em; }
.thumb-fallback { height: 100%; display: grid; place-items: center; background: radial-gradient(80% 90% at 30% 20%, #3c2f29 0%, var(--ink) 75%); }

/* section heading with a link on the right */
.head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.head-row h2 { margin-bottom: 0; }

/* verse */
.verse-section { background: radial-gradient(70% 120% at 50% 0%, #3a2e29 0%, var(--ink) 70%); }
.verse blockquote p { margin: 0; }
.verse .eyebrow { justify-content: center; }

/* church band */
.church-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.church-facts li { display: flex; gap: 16px; align-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 18px 20px; }
.church-facts .ic { width: 28px; height: 28px; color: var(--gold); }
.church-facts b { display: block; color: #fff; font: 700 1.05rem var(--font-head); }
.church-facts span { font-size: .95rem; }

/* whole card clickable through its heading link */
.card-link-wrap { position: relative; transition: transform .18s, box-shadow .18s; }
.card-link-wrap:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-link-wrap h3 a { color: var(--ink); text-decoration: none; }
.card-link-wrap h3 a:hover { color: var(--flame-ink); }
.stretched::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.event-card h3 { font-size: 1.15rem; }

/* page header breadcrumbs */
.page-head .crumbs span[aria-current] { opacity: .85; }

/* layout with sidebar */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 920px) { .with-aside { grid-template-columns: 1fr; } }
.aside-stack { display: grid; gap: 20px; position: sticky; top: 120px; }
@media (max-width: 920px) { .aside-stack { position: static; } }
.aside-card h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 8px; }
.aside-card h3 .ic { color: var(--flame); }
.aside-dark { background: var(--ink); color: #e9e0d6; border-color: var(--ink); }
.aside-dark h3 { color: #fff; }

/* month heading on the events list */
.month-head { display: flex; align-items: center; gap: 14px; margin: 40px 0 18px; font: 700 1rem var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--sea-deep); }
.month-head::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.month-group:first-child .month-head { margin-top: 10px; }
.events-list { display: grid; gap: 16px; }
.past-list { list-style: none; padding: 0; margin: 0; }
.past-list li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; justify-content: space-between; flex-wrap: wrap; }

/* event detail facts */
.facts { list-style: none; padding: 0; margin: 0 0 20px; }
.facts li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts .ic { color: var(--flame); width: 22px; height: 22px; margin-top: 2px; }
.facts b { display: block; font-family: var(--font-head); }
.btn-col { display: grid; gap: 10px; }

/* service detail */
.service-hero-icon { width: 76px; height: 76px; border-radius: 20px; margin-bottom: 20px; }
.service-hero-icon .ic { width: 38px; height: 38px; }
.page-head .service-hero-icon { background: rgba(255, 255, 255, .1); color: var(--gold); }

/* help form */
.form-card { padding: clamp(22px, 4vw, 38px); }
.radio-row { display: flex; gap: 22px; flex-wrap: wrap; }
.signed-in-note { display: flex; gap: 10px; align-items: center; }
.ref-box { display: inline-block; font: 700 1.6rem var(--font-head); letter-spacing: .06em; padding: 10px 22px; border-radius: var(--radius); background: var(--gold-soft); color: #8a4b05; margin: 8px 0 20px; }
.urgent-box .ic { color: var(--err); }
.thanks-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; background: var(--ok-soft); color: var(--ok); }
.thanks-icon .ic { width: 38px; height: 38px; }

/* about */
.values .card h3 { display: flex; align-items: center; gap: 10px; }
.team-placeholder { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.team-card { text-align: center; }
.team-card .avatar-lg { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--sand-2), var(--sand-3)); color: var(--muted); }
.team-card .avatar-lg .ic { width: 40px; height: 40px; }

/* church page link cards */
.link-card { display: flex; gap: 16px; align-items: flex-start; }
.link-card .icon-tile { margin: 0; flex: none; }
.link-card h3 { display: flex; align-items: center; gap: 8px; }
.link-card h3 .ic { width: .8em; height: .8em; color: var(--muted); }

/* legal pages */
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal .updated { color: var(--muted); font-size: .92rem; }
.crisis-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 20px 0; }
.crisis-list .card b { display: block; font: 700 1.6rem var(--font-head); color: var(--ember); }
.crisis-list .card a { text-decoration: none; }

/* contact */
.map-card { padding: 0; overflow: hidden; }
.map-card .map-art { height: 180px; background: linear-gradient(160deg, var(--sea-deep), var(--sea)); display: grid; place-items: center; color: #fff; }
.map-card .map-art .ic { width: 48px; height: 48px; color: var(--gold); }
.map-card .body { padding: 20px 22px; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours-table tr.today { color: var(--flame-ink); font-weight: 700; }
.hours-table td:last-child { text-align: right; }
