:root {
    --ink: #31004f;
    --muted: #666b75;
    --line: #e8e6e3;
    --cream: #f8f5f2;
    --soft: #f7f8fb;
    --white: #ffffff;
    --accent: #5b087b;
    --accent-dark: #3d005f;
    --warm: #b88a00;
    --green: #15803d;
    --shadow: 0 18px 50px rgba(24, 24, 27, .08);
    --radius: 24px;
}
* { box-sizing: border-box; }
html { max-width:100%; overflow-x:clip; scroll-behavior: smooth; }
body { max-width:100%; margin:0; overflow-x:clip; font-family:Arial,Helvetica,sans-serif; color:var(--ink); background:var(--white); line-height:1.65; }
img { max-width:100%; display:block; }
a { color:inherit; }
button,input,select,textarea { font:inherit; }
.container { width:min(1180px,calc(100% - 40px)); margin:0 auto; }
.site-header { position:sticky; top:0; z-index:100; background:rgba(255,255,255,.95); border-bottom:1px solid rgba(232,230,227,.9); backdrop-filter:blur(14px); }
.nav-wrap { min-height:76px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { display:inline-flex; align-items:center; gap:10px; text-decoration:none; font-weight:800; letter-spacing:-.02em; font-size:1.08rem; }
.brand-mark { width:42px; height:42px; border-radius:50%; display:grid; place-items:center; background:#fff url('../images/arise-woman-ministry-logo.jpeg') center/cover no-repeat; color:transparent; font-size:0; box-shadow:0 2px 8px rgba(49,0,79,.18); }
.site-nav { display:flex; align-items:center; gap:24px; }
.site-nav a { text-decoration:none; color:#444854; font-size:.95rem; font-weight:600; }
.site-nav a:hover { color:var(--accent-dark); }
.site-nav .nav-admin { padding:9px 14px; border:1px solid var(--line); border-radius:999px; color:var(--ink); }
.nav-toggle { display:none; border:1px solid var(--line); background:var(--white); border-radius:10px; padding:8px 12px; cursor:pointer; }
.hero { background:radial-gradient(circle at 85% 20%,rgba(124,58,237,.12),transparent 30%),radial-gradient(circle at 10% 70%,rgba(180,83,9,.08),transparent 28%),linear-gradient(180deg,#fbfaf9 0%,#f7f5f3 100%); padding:82px 0 70px; }
.hero-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:70px; align-items:center; }
.eyebrow { display:inline-block; text-transform:uppercase; letter-spacing:.14em; font-size:.75rem; font-weight:800; color:var(--accent-dark); margin-bottom:14px; }
.hero h1,.section-heading h2,.cta-card h2 { margin:0; letter-spacing:-.045em; line-height:1.05; }
.hero h1 { font-size:clamp(3rem,8vw,6.2rem); max-width:820px; }
.hero-lead { font-size:clamp(1.2rem,2vw,1.65rem); margin:24px 0 12px; max-width:720px; color:#343740; }
.hero-text { color:var(--muted); max-width:700px; font-size:1.05rem; }
.hero-actions,.cta-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.btn { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:0 20px; border-radius:14px; text-decoration:none; font-weight:700; transition:transform .18s ease,box-shadow .18s ease,background .18s ease; }
.btn:hover { transform:translateY(-2px); }
.btn-primary { background:var(--ink); color:var(--white); box-shadow:0 12px 25px rgba(23,25,31,.15); }
.btn-secondary { background:var(--white); border:1px solid var(--line); }
.btn-light { background:var(--white); color:var(--ink); }
.btn-outline-light { border:1px solid rgba(255,255,255,.45); color:var(--white); }
.hero-panel { background:var(--ink); color:var(--white); border-radius:30px; padding:36px; box-shadow:var(--shadow); }
.hero-panel-label { font-size:.8rem; text-transform:uppercase; letter-spacing:.12em; color:#c7c9d1; }
.hero-panel h2 { margin:12px 0 28px; font-family:"Trebuchet MS",Arial,sans-serif; font-size:clamp(1.9rem,3vw,2.7rem); line-height:1.12; letter-spacing:-.035em; }
.hero-points { display:grid; gap:14px; }
.hero-points div { display:grid; grid-template-columns:90px 1fr; gap:14px; padding-top:14px; border-top:1px solid rgba(255,255,255,.12); }
.hero-points span { color:#c7c9d1; }
.site-search { display:flex; gap:8px; width:min(760px,100%); padding:6px; background:var(--white); border:1px solid var(--line); border-radius:18px; box-shadow:0 14px 35px rgba(24,24,27,.08); }
.site-search input { flex:1; min-width:0; min-height:48px; border:0; outline:0; box-shadow:none; padding:0 12px; background:transparent; color:var(--ink); }
.site-search input:focus,
.site-search input:focus-visible { outline:none !important; border:0 !important; box-shadow:none !important; }
.site-search input::placeholder { color:#8a8f98; }
.site-search .btn { min-height:34px; padding:0 11px; border:0; border-radius:17px; background:var(--accent); color:var(--white); box-shadow:0 5px 12px rgba(124,58,237,.16); font-size:.8rem; line-height:1; align-self:center; }
.site-search .btn:hover { background:var(--accent-dark); transform:translateY(-1px); box-shadow:0 7px 15px rgba(91,33,182,.2); }
.home-site-search { margin-top:24px; }
.home-site-search-help { margin:8px 0 0; color:var(--muted); font-size:.86rem; }
.site-search-results-form { margin-bottom:30px; }
.search-summary { margin:0 0 28px; color:var(--muted); }
.search-summary strong { color:var(--ink); }
.site-search-results { display:grid; gap:34px; }
.search-result-group { display:grid; gap:16px; }
.search-result-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; padding-bottom:12px; border-bottom:1px solid var(--line); }
.search-result-heading h2 { margin:0; font-size:clamp(1.5rem,3vw,2.2rem); letter-spacing:-.03em; }
.search-result-heading span { color:var(--muted); font-size:.9rem; }
.search-result-list { display:grid; gap:12px; }
.search-result-card { display:grid; grid-template-columns:1fr auto; align-items:center; gap:24px; padding:22px; border:1px solid var(--line); border-radius:18px; background:var(--white); box-shadow:0 8px 24px rgba(24,24,27,.035); }
.search-result-card h3 { margin:10px 0 6px; font-size:1.18rem; line-height:1.3; }
.search-result-card h3 a { text-decoration:none; }
.search-result-card h3 a:hover { color:var(--accent-dark); }
.search-result-card p { margin:0; color:var(--muted); }
.search-empty { margin-top:26px; }
.stats-strip { border-bottom:1px solid var(--line); background:var(--white); }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.stats-grid div { padding:28px 20px; text-align:center; border-right:1px solid var(--line); }
.stats-grid div:last-child { border-right:0; }
.stats-grid strong,.stats-grid span { display:block; }
.stats-grid strong { font-size:1.9rem; letter-spacing:-.03em; }
.stats-grid span { color:var(--muted); font-size:.9rem; }
.section { padding:88px 0; }
.section-soft { background:var(--soft); }
.section-heading { display:grid; grid-template-columns:1fr minmax(260px,430px); align-items:end; gap:40px; margin-bottom:34px; }
.section-heading h2 { font-size:clamp(2.2rem,4vw,3.8rem); }
.section-heading p { margin:0; color:var(--muted); }
.featured-card { display:grid; grid-template-columns:1fr 1fr; background:var(--white); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.featured-media,.card-media { min-height:320px; overflow:hidden; background:#ece8f5; }
.featured-media img,.card-media img { width:100%; height:100%; object-fit:cover; }
.placeholder-media { display:grid; place-items:center; background:linear-gradient(135deg,rgba(124,58,237,.18),rgba(180,83,9,.08)),#f1eef8; }
.placeholder-media > span { font-size:clamp(2rem,5vw,4rem); font-weight:800; color:rgba(23,25,31,.2); }
.teaching-preview-media{padding:28px;background:linear-gradient(145deg,#3b075c 0%,#5e168d 54%,#8b2bb6 100%)}.teaching-preview{height:100%;min-height:264px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:18px;padding:34px;border:1px solid rgba(255,255,255,.22);border-radius:18px;color:#fff;text-decoration:none;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(14,2,29,.18));transition:transform .18s ease,background .18s ease}.teaching-preview:hover{transform:translateY(-3px);background:linear-gradient(180deg,rgba(255,255,255,.15),rgba(14,2,29,.28))}.teaching-preview:focus-visible{outline:3px solid #f4df4e;outline-offset:4px}.teaching-preview-label{font-size:.78rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#f7dc51}.teaching-preview strong{font-size:clamp(2rem,4vw,3.5rem);line-height:1.04;letter-spacing:-.04em}.teaching-preview-scripture{font-size:1rem;line-height:1.5;color:rgba(255,255,255,.86)}.teaching-preview-action{display:inline-flex;align-items:center;gap:8px;margin-top:6px;padding:10px 14px;border-radius:999px;background:#fff;color:#4c0870;font-weight:800}.teaching-preview-action span{font-size:1.1em;color:inherit}
.featured-content { padding:44px; align-self:center; }
.featured-content h3,.content-card h3,.resource-card h3,.devotional-card h3,.person-card h3 { margin:12px 0 10px; line-height:1.2; letter-spacing:-.025em; }
.featured-content h3 { font-size:clamp(2rem,3vw,3rem); }
.meta-row { display:flex; align-items:center; flex-wrap:wrap; gap:10px; color:var(--muted); font-size:.85rem; }
.pill { display:inline-flex; align-items:center; min-height:28px; padding:0 11px; border-radius:999px; background:#f0edfa; color:var(--accent-dark); font-size:.78rem; font-weight:700; }
.pill-warm { background:#fff3e7; color:var(--warm); }
.byline,.person-title { color:var(--muted); font-weight:600; }
.scripture { border-left:3px solid var(--accent); padding-left:14px; color:#4d4558; }
.devotional-card { position:relative; display:grid; grid-template-columns:1fr 130px; gap:30px; background:var(--white); border-radius:var(--radius); padding:42px; border:1px solid var(--line); }
.devotional-card h3 { font-size:clamp(1.9rem,3vw,2.8rem); }
.devotional-mark { display:grid; place-items:center; font-family:Georgia,serif; font-size:8rem; line-height:1; color:rgba(124,58,237,.17); }
.card-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.content-card,.resource-card,.person-card { background:var(--white); border:1px solid var(--line); border-radius:20px; overflow:hidden; }
.content-card { box-shadow:0 10px 30px rgba(24,24,27,.04); }
.content-card .card-media { min-height:210px; }
.card-body { padding:24px; }
.content-card h3 { font-size:1.25rem; }
.content-card p,.resource-card p,.person-card p { color:var(--muted); }
.resource-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.resource-card { display:grid; grid-template-columns:56px 1fr; gap:18px; padding:24px; }
.resource-icon { width:56px; height:56px; display:grid; place-items:center; border-radius:16px; background:#e9f7ee; color:var(--green); font-size:1.4rem; font-weight:800; }
.text-link { text-decoration:none; color:var(--accent-dark); font-weight:700; }
.people-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.person-card { padding:24px; text-align:center; }
.person-card img,.person-placeholder { width:92px; height:92px; margin:0 auto 16px; border-radius:50%; object-fit:cover; }
.person-placeholder { display:grid; place-items:center; background:#eeeaf9; color:var(--accent-dark); font-size:2rem; font-weight:800; }
.empty-public { display:grid; gap:5px; text-align:center; border:1px dashed #d8d5d1; border-radius:18px; padding:42px 24px; color:var(--muted); background:rgba(255,255,255,.65); }
.empty-public strong { color:var(--ink); font-size:1.1rem; }
.cta-section { padding:20px 0 80px; }
.cta-card { background:linear-gradient(135deg,#17191f,#2c223d); color:var(--white); border-radius:28px; padding:44px; display:grid; grid-template-columns:1fr auto; align-items:center; gap:30px; }
.cta-card h2 { font-size:clamp(2rem,4vw,3.4rem); }
.cta-card p { color:#d7d5dc; margin-bottom:0; }
.eyebrow-light { color:#d8c7ff; }
.site-footer { background:#111318; color:#d7d9df; padding:60px 0 24px; }
.footer-grid { display:grid; grid-template-columns:1.5fr .7fr .7fr; gap:50px; }
.footer-brand { color:var(--white); }
.footer-grid p { max-width:520px; color:#aeb1ba; }
.footer-links { display:grid; align-content:start; gap:8px; }
.footer-links strong { color:var(--white); margin-bottom:5px; }
.footer-links a { text-decoration:none; color:#bfc2ca; }
.footer-links a:hover { color:var(--white); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); margin-top:42px; padding-top:22px; color:#888d98; font-size:.86rem; }
@media (max-width:980px) {
.site-nav { display:none; position:absolute; left:20px; right:20px; top:68px; padding:18px; border:1px solid var(--line); border-radius:16px; background:var(--white); box-shadow:var(--shadow); flex-direction:column; align-items:stretch; gap:6px; }
.site-nav.is-open { display:flex; }
.site-nav a { padding:10px 8px; }
.nav-toggle { display:inline-block; }
.hero-grid,.featured-card,.section-heading,.cta-card { grid-template-columns:1fr; }
.hero-grid { gap:38px; }
.stats-grid { grid-template-columns:repeat(2,1fr); }
.stats-grid div:nth-child(2) { border-right:0; }
.stats-grid div:nth-child(-n+2) { border-bottom:1px solid var(--line); }
.card-grid,.resource-grid { grid-template-columns:repeat(2,1fr); }
.people-grid { grid-template-columns:repeat(2,1fr); }
.cta-actions { margin-top:0; }
}
@media (max-width:640px) {
.container { width:calc(100% - 28px); max-width:1180px; min-width:0; }
.site-header { position:relative; }
.nav-wrap,.hero-grid,.section-heading,.featured-card,.devotional-card,.card-grid,.resource-grid,.people-grid,.footer-grid,.content-card,.card-body { min-width:0; }
.nav-wrap { min-height:68px; }
.brand { min-width:0; font-size:1rem; line-height:1.28; }
.brand > span:last-child { max-width:235px; }
.nav-toggle { flex:0 0 auto; min-width:72px; min-height:46px; border-radius:13px; font-weight:800; }
.site-nav { top:76px; left:14px; right:14px; max-height:calc(100vh - 92px); overflow-y:auto; padding:14px; border-radius:18px; box-shadow:0 20px 50px rgba(49,0,79,.18); z-index:150; }
.site-nav a { padding:12px 11px; border-radius:10px; }
.site-nav a[aria-current="page"] { background:#f4efff; color:var(--accent-dark); }
.hero { padding:58px 0 50px; }
.hero .eyebrow { font-family:"Trebuchet MS",Arial,sans-serif; font-size:.92rem; line-height:1.45; letter-spacing:.11em; margin-bottom:16px; }
.hero h1 { font-size:clamp(2.7rem,15vw,4.2rem); }
.hero-panel,.featured-content,.devotional-card,.cta-card { padding:28px; }
.hero-points div { grid-template-columns:1fr; gap:4px; }
.site-search { flex-direction:column; padding:8px; }
.site-search .btn { width:auto; min-width:76px; align-self:flex-end; }
.search-result-card { grid-template-columns:1fr; gap:14px; }
.search-result-heading { align-items:flex-start; flex-direction:column; gap:4px; }
.section { padding:64px 0; }
.section-heading { margin-bottom:26px; gap:14px; }
.section-heading .eyebrow { font-family:"Trebuchet MS",Arial,sans-serif; font-size:.92rem; line-height:1.45; letter-spacing:.11em; }
.featured-media { min-height:240px; }
.card-grid,.resource-grid,.people-grid,.footer-grid { grid-template-columns:1fr; }
.resource-card { grid-template-columns:48px 1fr; }
.resource-icon { width:48px; height:48px; }
.devotional-card { grid-template-columns:1fr; }
.devotional-mark { display:none; }
.stats-grid strong { font-size:1.55rem; }
.stats-grid span { font-size:.78rem; }
.cta-actions,.hero-actions { flex-direction:column; align-items:stretch; }
.footer-grid { gap:28px; }
}

.idle-showcase{position:fixed;inset:0;z-index:250;display:grid;place-items:center;padding:28px;background:rgba(14,16,22,.68);backdrop-filter:blur(10px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .35s ease,visibility .35s ease}.idle-showcase.is-visible{opacity:1;visibility:visible;pointer-events:auto}.idle-showcase-card{position:relative;width:min(720px,100%);min-height:390px;display:grid;align-content:center;padding:58px;background:radial-gradient(circle at 92% 5%,rgba(154,105,235,.36),transparent 34%),linear-gradient(135deg,#161921,#2b2039);border:1px solid rgba(255,255,255,.16);border-radius:32px;box-shadow:0 30px 90px rgba(0,0,0,.4);color:#fff;overflow:hidden}.idle-showcase-content{animation:idleShowcaseIn .55s ease both}.idle-showcase-eyebrow{display:block;margin-bottom:14px;color:#d9c7ff;text-transform:uppercase;letter-spacing:.14em;font-size:.76rem;font-weight:800}.idle-showcase h2{max-width:610px;margin:0;font-family:"Trebuchet MS",Arial,sans-serif;font-size:clamp(2.25rem,5vw,4.25rem);line-height:1.05;letter-spacing:-.045em}.idle-showcase p{max-width:570px;margin:20px 0 30px;color:#ddd7e8;font-size:1.08rem;line-height:1.7}.idle-showcase-close{position:absolute;top:18px;right:20px;width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;font-size:1.8rem;line-height:1;cursor:pointer}.idle-showcase-close:hover{background:rgba(255,255,255,.2)}.idle-showcase-progress{position:absolute;bottom:0;left:0;right:0;height:4px;background:rgba(255,255,255,.14)}.idle-showcase-progress span{display:block;width:100%;height:100%;transform-origin:left;background:#d4b8ff;animation:idleShowcaseProgress 30s linear infinite}.idle-showcase:not(.is-visible) .idle-showcase-progress span{animation-play-state:paused}@keyframes idleShowcaseIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes idleShowcaseProgress{from{transform:scaleX(0)}to{transform:scaleX(1)}}@media(max-width:640px){.idle-showcase{padding:18px}.idle-showcase-card{min-height:360px;padding:42px 28px;border-radius:24px}.idle-showcase h2{font-size:clamp(2.2rem,11vw,3.4rem)}.idle-showcase p{font-size:1rem}.idle-showcase .btn{width:100%}}

.featured-now{padding:34px 0;background:linear-gradient(180deg,#fff 0%,#f7f5fb 100%);border-bottom:1px solid var(--line)}.featured-now-shell{display:grid;grid-template-columns:minmax(220px,.62fr) minmax(0,1.38fr) auto;gap:28px;align-items:center}.featured-now-heading .eyebrow{margin-bottom:7px}.featured-now-heading h2{margin:0;font-size:clamp(1.8rem,3.2vw,2.7rem);letter-spacing:-.04em;line-height:1.08}.featured-now-heading p{margin:9px 0 0;color:var(--muted);line-height:1.55}.featured-now-card{min-height:190px;padding:27px 30px;border:1px solid #ded8ea;border-radius:22px;background:#fff;box-shadow:0 13px 32px rgba(43,29,68,.07);will-change:opacity,transform;transition:opacity .9s cubic-bezier(.22,1,.36,1),transform .9s cubic-bezier(.22,1,.36,1)}.featured-now-card.is-fading{opacity:0;transform:translateY(10px);transition-duration:.46s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.featured-now-type{display:block;margin-bottom:6px;color:var(--accent-dark);font-size:.74rem;font-weight:800;text-transform:uppercase;letter-spacing:.11em}.featured-now-card h3{margin:0;font-size:clamp(1.35rem,2.4vw,2rem);line-height:1.15;letter-spacing:-.03em}.featured-now-card p{margin:9px 0 13px;color:#59606c;line-height:1.55}.featured-now-controls{display:flex;align-items:center;justify-content:center;gap:9px}.featured-now-arrow,.featured-now-dot{border:0;cursor:pointer}.featured-now-arrow{display:grid;place-items:center;width:38px;height:38px;border:1px solid #ddd7e7;border-radius:50%;background:#fff;color:#332341;font-size:1.15rem}.featured-now-arrow:hover{background:#eee8f7}.featured-now-dots{display:flex;gap:6px}.featured-now-dot{width:8px;height:8px;padding:0;border-radius:50%;background:#cbc5d4}.featured-now-dot.is-active{width:23px;border-radius:999px;background:var(--accent)}@media(max-width:980px){.featured-now-shell{grid-template-columns:1fr}.featured-now-controls{justify-content:flex-start}.featured-now-card{min-height:0}}@media(max-width:640px){.featured-now{padding:26px 0}.featured-now-card{padding:23px}.featured-now-controls{justify-content:center}}
