/*
Theme Name: Bethany Church of the Nazarene Master Theme
Theme URI: https://bethanynazchurch.com/
Author: OpenAI for Bethany Church of the Nazarene
Description: Master theme package combining the BethanyNaz Public Theme, page templates, prayer workflows, giving, events, livestream, newsletter, multilingual entry points, and starter assets for a fresh WordPress install.
Version: 2.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: bethanynaz-master-theme
*/

:root{
  --bn-primary:#15395b;
  --bn-primary-dark:#0f2941;
  --bn-accent:#d4a64d;
  --bn-accent-soft:#f4ead3;
  --bn-bg:#f7f8fb;
  --bn-card:#ffffff;
  --bn-text:#1e293b;
  --bn-muted:#64748b;
  --bn-border:#dbe3ee;
  --bn-radius:18px;
  --bn-shadow:0 18px 45px rgba(15,41,65,.08);
  --bn-gradient:linear-gradient(135deg,#15395b 0%,#245784 55%,#d4a64d 130%);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--bn-text);background:var(--bn-bg);font-family:Arial,Helvetica,sans-serif;line-height:1.65}
a{color:var(--bn-primary);text-decoration:none} a:hover{text-decoration:underline}
img{max-width:100%;height:auto}
.site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(21,57,91,.08)}
.bn-wrap{width:min(1180px,calc(100% - 32px));margin:0 auto}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0;flex-wrap:wrap}
.site-branding a{font-weight:700;font-size:1.15rem;color:var(--bn-primary-dark)}
.site-description{font-size:.92rem;color:var(--bn-muted)}
.header-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.language-switcher{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.language-switcher .label{font-size:.85rem;color:var(--bn-muted);font-weight:700}
.language-switcher a{display:inline-block;padding:8px 12px;border-radius:999px;border:1px solid var(--bn-border);background:#fff;font-weight:700;font-size:.84rem}
.language-switcher a.active{background:var(--bn-primary);color:#fff}
.main-navigation ul{display:flex;gap:18px;list-style:none;padding:0;margin:0;flex-wrap:wrap}
.main-navigation a{font-weight:600}
.bn-button,.wp-block-button__link,button,input[type=submit]{display:inline-block;background:var(--bn-primary);color:#fff;border:none;border-radius:999px;padding:14px 22px;font-weight:700;cursor:pointer;box-shadow:0 10px 24px rgba(21,57,91,.16)}
.bn-button.alt{background:var(--bn-accent);color:#1f2937}
.bn-button.ghost{background:#fff;color:var(--bn-primary);border:1px solid var(--bn-border);box-shadow:none}
.hero{position:relative;overflow:hidden;color:#fff;background:linear-gradient(rgba(10,23,38,.55),rgba(10,23,38,.6)),url('hero-master.jpg') center/cover}
.hero .bn-wrap{position:relative;padding:112px 0 96px}
.hero-kicker{display:inline-block;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.14);font-size:.82rem;letter-spacing:.08em;text-transform:uppercase}
.hero h1{font-size:clamp(2.4rem,5vw,4.4rem);line-height:1.03;margin:18px 0;white-space:pre-line}
.hero p{max-width:700px;font-size:1.1rem;color:rgba(255,255,255,.92)}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}
section.bn-section{padding:74px 0}
.section-head{max-width:760px;margin-bottom:28px}
.section-head h2{font-size:clamp(1.8rem,3vw,2.6rem);margin:.15em 0}
.section-head p{color:var(--bn-muted);margin:0}
.bn-grid{display:grid;gap:22px} .grid-3{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))} .grid-2{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.card{background:var(--bn-card);padding:28px;border-radius:var(--bn-radius);box-shadow:var(--bn-shadow);border:1px solid rgba(21,57,91,.06)} .card h3{margin-top:0}
.badge{display:inline-block;background:var(--bn-accent-soft);color:#7a5814;padding:7px 12px;border-radius:999px;font-size:.8rem;font-weight:700}
.split-layout{display:grid;grid-template-columns:1.15fr .85fr;gap:28px} @media (max-width:900px){.split-layout{grid-template-columns:1fr}}
.info-list{list-style:none;padding:0;margin:0} .info-list li{padding:10px 0;border-bottom:1px solid var(--bn-border)} .info-list li:last-child{border-bottom:none}
.notice{padding:16px 18px;border-radius:16px;background:#eef6ff;color:#1d4b7b;border-left:4px solid var(--bn-primary)}
.form-shell{background:#fff;border-radius:24px;padding:26px;border:1px solid var(--bn-border);box-shadow:var(--bn-shadow)}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px} .form-grid .full{grid-column:1 / -1} @media (max-width:760px){.form-grid{grid-template-columns:1fr}}
label{display:block;font-weight:700;margin-bottom:6px} input[type=text],input[type=email],input[type=tel],input[type=url],textarea,select{width:100%;padding:13px 14px;border-radius:14px;border:1px solid #cbd5e1;background:#fff;font:inherit;color:inherit} textarea{min-height:140px;resize:vertical}
.check-row{display:flex;gap:16px;flex-wrap:wrap;align-items:center} .check-row label{font-weight:600;margin:0}
.site-footer{background:#0f2941;color:#fff;margin-top:40px} .footer-grid{display:grid;grid-template-columns:1.1fr .8fr .8fr;gap:24px;padding:48px 0} @media (max-width:900px){.footer-grid{grid-template-columns:1fr}}
.site-footer a{color:#fff} .footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:16px 0;color:rgba(255,255,255,.78);font-size:.94rem}
.mobile-give{position:fixed;bottom:16px;right:16px;z-index:1001;display:none} @media (max-width:900px){.mobile-give{display:block}}
table.bn-table{width:100%;border-collapse:collapse;background:#fff;border-radius:18px;overflow:hidden;box-shadow:var(--bn-shadow)} table.bn-table th,table.bn-table td{padding:14px 16px;border-bottom:1px solid var(--bn-border);text-align:left;vertical-align:top} table.bn-table th{background:#edf3f9;color:var(--bn-primary-dark)}
.modal{position:fixed;inset:0;background:rgba(15,23,42,.55);display:none;align-items:center;justify-content:center;padding:20px;z-index:2000} .modal.active{display:flex}
.modal-card{width:min(560px,100%);background:#fff;border-radius:24px;padding:30px;box-shadow:0 26px 60px rgba(0,0,0,.18)}
.bulletin-box{padding:22px;border:2px dashed var(--bn-border);border-radius:18px;background:#fff}
.subscribe-wrap{background:var(--bn-gradient);color:#fff;padding:34px;border-radius:28px;box-shadow:var(--bn-shadow)} .subscribe-wrap input[type=email]{border:none}
.page-header-basic{padding:56px 0 18px} .page-header-basic h1{margin-bottom:8px}
.hero-card{background:rgba(255,255,255,.12);padding:22px;border-radius:24px;border:1px solid rgba(255,255,255,.14);max-width:420px}
.resource-list li{margin-bottom:10px}
