/* ── DEVOTIONALS PAGE — page-specific styles ── */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --red:#C0272D;--red-dark:#8B1A1E;--red-light:#E8474D;--red-bg:#FDF2F2;
  --black:#111111;--cream:#FAF9F7;--border:#E8E4DF;--muted:#6B6360;--radius:12px;
}
body{font-family:'DM Sans',sans-serif;background:var(--cream);color:var(--black);line-height:1.6;font-size:16px;overflow-x:hidden}

/* ── NAV ── */
nav{position:sticky;top:0;z-index:100;background:rgba(17,17,17,0.97);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(1rem,5vw,3.5rem);height:62px;border-bottom:1px solid rgba(192,39,45,0.25)}
.nav-logo{display:flex;align-items:center;gap:10px;text-decoration:none}
.logo-pill{height:38px;display:flex;align-items:center;background:#fff;border-radius:6px;padding:4px 9px}
.logo-rg{font-family:'Cormorant Garamond',serif;font-weight:700;font-size:24px;color:var(--red);line-height:1}
.logo-a{font-family:'Cormorant Garamond',serif;font-weight:700;font-size:24px;color:var(--black);line-height:1}
.logo-tagline{font-size:10px;letter-spacing:.07em;color:rgba(255,255,255,0.35);text-transform:uppercase;margin-left:6px;line-height:1.3}
.nav-links{display:flex;gap:1.75rem;list-style:none}
.nav-links a{color:rgba(255,255,255,0.62);text-decoration:none;font-size:14px;transition:color .2s}
.nav-links a:hover,.nav-links a.active{color:var(--red-light)}
.nav-right{display:flex;align-items:center;gap:1rem}
.nav-donate{color:rgba(255,255,255,0.5);font-size:13px;text-decoration:none;transition:color .2s}
.nav-donate:hover{color:#fff}
.nav-cta{background:var(--red);color:#fff;border:none;padding:8px 20px;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;font-family:'DM Sans',sans-serif;text-decoration:none;transition:background .2s;white-space:nowrap}
.nav-cta:hover{background:var(--red-dark)}
.hamburger{display:none;background:none;border:none;color:#fff;font-size:22px;cursor:pointer;padding:4px}

/* ── MOBILE DRAWER ── */
.mob-drawer{position:fixed;inset:0;z-index:200;pointer-events:none}
.mob-overlay{position:absolute;inset:0;background:rgba(0,0,0,0);transition:background .3s}
.mob-panel{position:absolute;top:0;right:0;bottom:0;width:min(300px,85vw);background:var(--black);transform:translateX(100%);transition:transform .3s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column;padding:2rem 1.5rem;border-left:3px solid var(--red)}
.mob-drawer.open{pointer-events:all}
.mob-drawer.open .mob-overlay{background:rgba(0,0,0,0.6)}
.mob-drawer.open .mob-panel{transform:translateX(0)}
.mob-close{background:none;border:none;color:rgba(255,255,255,0.5);font-size:22px;cursor:pointer;align-self:flex-end;margin-bottom:2rem}
.mob-links{list-style:none;display:flex;flex-direction:column}
.mob-links li a{display:block;color:rgba(255,255,255,0.75);text-decoration:none;font-family:'Cormorant Garamond',serif;font-size:1.4rem;padding:.9rem 0;border-bottom:1px solid rgba(255,255,255,0.06);transition:color .2s}
.mob-links li a:hover{color:var(--red-light)}
.mob-cta{margin-top:2rem;background:var(--red);color:#fff;border:none;padding:14px;border-radius:8px;font-size:15px;font-weight:500;cursor:pointer;font-family:'DM Sans',sans-serif;width:100%}

/* ── PAGE HERO ── */
.page-hero{background:var(--black);padding:clamp(3.5rem,8vw,6rem) clamp(1.5rem,8vw,5.5rem);position:relative;overflow:hidden}
.page-hero::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--red),var(--red-light),var(--red))}
.hero-watermark{position:absolute;right:-2%;top:50%;transform:translateY(-50%);font-family:'Cormorant Garamond',serif;font-size:clamp(150px,25vw,340px);font-weight:700;color:rgba(192,39,45,0.05);line-height:1;user-select:none}
.hero-inner{position:relative;z-index:2;max-width:720px}
.breadcrumb{font-size:12px;color:rgba(255,255,255,0.3);margin-bottom:1.5rem}
.breadcrumb a{color:rgba(255,255,255,0.3);text-decoration:none}
.breadcrumb a:hover{color:var(--red-light)}
.breadcrumb span{color:var(--red-light)}
.page-hero h1{font-family:'Cormorant Garamond',serif;font-size:clamp(2.8rem,7vw,5.5rem);font-weight:600;color:#fff;line-height:1.05;margin-bottom:1.25rem}
.page-hero h1 em{color:var(--red-light);font-style:normal}
.page-hero p{color:rgba(255,255,255,0.52);font-size:15px;max-width:520px;font-weight:300;line-height:1.9}

/* ── FILTER BAR ── */
.filter-bar{background:#fff;border-bottom:1px solid var(--border);padding:0 clamp(1.5rem,8vw,5.5rem);display:flex;align-items:center;gap:1rem;flex-wrap:wrap;position:sticky;top:62px;z-index:90;min-height:56px}
.filter-tabs{display:flex;gap:.25rem;flex:1;flex-wrap:wrap;padding:.6rem 0}
.ftab{padding:6px 14px;border-radius:100px;font-size:13px;border:1px solid transparent;cursor:pointer;background:none;color:var(--muted);font-family:'DM Sans',sans-serif;transition:all .18s;white-space:nowrap}
.ftab:hover{color:var(--red);background:var(--red-bg)}
.ftab.active{background:var(--red);color:#fff;border-color:var(--red);font-weight:500}
.search-wrap{position:relative;flex-shrink:0}
.search-wrap input{border:1px solid var(--border);border-radius:100px;padding:7px 14px 7px 34px;font-size:13px;font-family:'DM Sans',sans-serif;outline:none;width:180px;transition:all .2s;background:var(--cream);color:var(--black)}
.search-wrap input:focus{border-color:var(--red);width:220px}
.search-icon{position:absolute;left:11px;top:50%;transform:translateY(-50%);font-size:13px;color:var(--muted);pointer-events:none}

/* ── SHARED ── */
.section-eyebrow{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--red);font-weight:500;margin-bottom:.9rem;display:flex;align-items:center;gap:8px}
.section-eyebrow::before{content:'';display:block;width:22px;height:2px;background:var(--red);border-radius:2px}

/* ── MAIN CONTENT ── */
.main-wrap{padding:clamp(2rem,5vw,3.5rem) clamp(1.5rem,8vw,5.5rem)}

/* ── TODAY'S FEATURED DEVOTIONAL ── */
.featured-dev{
  background:var(--black);border-radius:16px;overflow:hidden;
  display:grid;grid-template-columns:1fr 1fr;
  margin-bottom:3rem;box-shadow:0 4px 32px rgba(0,0,0,0.15);
}
.feat-left{
  background:var(--red);padding:2.5rem;
  display:flex;flex-direction:column;justify-content:space-between;
  position:relative;overflow:hidden;
}
.feat-left::before{
  content:'✝';position:absolute;right:-15px;bottom:-20px;
  font-size:180px;color:rgba(0,0,0,0.12);line-height:1;user-select:none;
}
.feat-day-badge{
  display:inline-flex;align-items:center;gap:6px;
  background:rgba(0,0,0,0.2);color:rgba(255,255,255,0.9);
  font-size:11px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;
  padding:5px 12px;border-radius:100px;width:fit-content;
}
.feat-left h2{
  font-family:'Cormorant Garamond',serif;font-size:clamp(1.8rem,3vw,2.6rem);
  font-weight:600;color:#fff;line-height:1.2;margin:1.5rem 0 1rem;position:relative;
}
.feat-verse-preview{
  font-family:'Cormorant Garamond',serif;font-style:italic;
  color:rgba(255,255,255,0.7);font-size:15px;line-height:1.65;position:relative;
}
.feat-right{padding:2.5rem;display:flex;flex-direction:column;gap:1.25rem}
.feat-tags{display:flex;gap:.5rem;flex-wrap:wrap}
.tag{background:rgba(192,39,45,0.12);color:var(--red-dark);font-size:11px;font-weight:500;padding:3px 10px;border-radius:100px;letter-spacing:.04em}
.scripture-block{
  background:var(--red-bg);border-left:3px solid var(--red);
  padding:.85rem 1.1rem;border-radius:0 8px 8px 0;
}
.scripture-text{font-family:'Cormorant Garamond',serif;font-style:italic;color:var(--red-dark);font-size:1.05rem;line-height:1.7}
.scripture-ref{font-size:11px;color:var(--muted);margin-top:5px;font-weight:500;font-style:normal}
.feat-excerpt{color:var(--muted);font-size:14px;line-height:1.85;flex:1}
.feat-actions{display:flex;align-items:center;gap:.85rem;flex-wrap:wrap;padding-top:1rem;border-top:1px solid var(--border)}

/* ── AUDIO BUTTON ── */
.audio-btn{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--black);color:#fff;padding:9px 18px;
  border-radius:100px;font-size:13px;font-weight:400;border:none;cursor:pointer;
  font-family:'DM Sans',sans-serif;transition:background .2s;
}
.audio-btn:hover,.audio-btn.playing{background:var(--red)}
.play-dot{width:24px;height:24px;border-radius:50%;background:var(--red);display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .2s}
.audio-btn.playing .play-dot{background:rgba(255,255,255,0.2)}
.play-dot svg{width:9px;height:9px;fill:#fff;margin-left:1px}
.dur-lbl{font-size:12px}
.wave-mini{display:none;align-items:center;gap:2px}
.audio-btn.playing .wave-mini{display:flex}
.audio-btn.playing .dur-lbl{display:none}
.wm{width:3px;background:rgba(255,255,255,0.75);border-radius:2px;animation:wv .9s ease-in-out infinite}
.wm:nth-child(1){height:7px}.wm:nth-child(2){height:13px;animation-delay:.12s}
.wm:nth-child(3){height:9px;animation-delay:.24s}.wm:nth-child(4){height:15px;animation-delay:.06s}
.wm:nth-child(5){height:7px;animation-delay:.18s}
@keyframes wv{0%,100%{transform:scaleY(1)}50%{transform:scaleY(0.35)}}
.read-link{color:var(--red);font-size:14px;font-weight:500;text-decoration:none;display:inline-flex;align-items:center;gap:4px;transition:gap .15s}
.read-link:hover{gap:8px}

/* ── ARCHIVE SECTION HEADER ── */
.section-hd{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:1.5rem;flex-wrap:wrap;gap:.5rem}
.section-hd h3{font-family:'Cormorant Garamond',serif;font-size:1.7rem;font-weight:600;color:var(--black)}
.see-all{color:var(--red);font-size:13px;font-weight:500;text-decoration:none}
.see-all:hover{text-decoration:underline}

/* ── DEVOTIONAL GRID ── */
.dev-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:1.25rem;margin-bottom:2.5rem}
.dev-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}
.dev-card:hover{box-shadow:0 8px 32px rgba(0,0,0,0.1);transform:translateY(-2px)}
.dev-card-stripe{height:3px;background:var(--red)}
.dev-card-body{padding:1.25rem;flex:1;display:flex;flex-direction:column}
.dev-card-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:.65rem}
.dev-day{font-size:11px;color:var(--red);font-weight:500;letter-spacing:.08em;text-transform:uppercase}
.dev-topic{background:var(--red-bg);color:var(--red-dark);font-size:10px;padding:2px 9px;border-radius:100px;font-weight:500}
.dev-card h4{font-family:'Cormorant Garamond',serif;font-size:1.2rem;font-weight:600;color:var(--black);line-height:1.3;margin-bottom:.6rem}
.dev-mini-verse{font-family:'Cormorant Garamond',serif;font-style:italic;color:var(--muted);font-size:13px;line-height:1.6;margin-bottom:.75rem}
.dev-excerpt{color:var(--muted);font-size:13px;line-height:1.75;flex:1;margin-bottom:1rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.dev-card-footer{display:flex;align-items:center;justify-content:space-between;padding-top:.85rem;border-top:1px solid var(--border)}
.mini-audio-btn{
  display:inline-flex;align-items:center;gap:6px;
  background:none;border:1px solid var(--border);border-radius:100px;
  padding:5px 12px;font-size:12px;cursor:pointer;font-family:'DM Sans',sans-serif;
  color:var(--black);transition:all .18s;
}
.mini-audio-btn:hover,.mini-audio-btn.playing{border-color:var(--red);color:var(--red);background:var(--red-bg)}
.mini-play{width:18px;height:18px;border-radius:50%;background:var(--red);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.mini-play svg{width:7px;height:7px;fill:#fff;margin-left:1px}
.mini-read{color:var(--red);font-size:12px;font-weight:500;text-decoration:none}
.mini-read:hover{text-decoration:underline}

/* ── PAGINATION ── */
.pagination{display:flex;justify-content:center;align-items:center;gap:.5rem;padding:1.5rem 0 .5rem}
.pg-btn{width:36px;height:36px;border-radius:8px;border:1px solid var(--border);background:#fff;cursor:pointer;font-size:14px;font-family:'DM Sans',sans-serif;color:var(--black);transition:all .18s;display:flex;align-items:center;justify-content:center}
.pg-btn:hover,.pg-btn.active{background:var(--red);color:#fff;border-color:var(--red)}

/* ── SUBSCRIBE STRIP ── */
.subscribe-strip{
  background:var(--black);border-radius:16px;
  padding:2.5rem;margin:0 clamp(1.5rem,8vw,5.5rem) 3.5rem;
  display:flex;align-items:center;justify-content:space-between;
  gap:2rem;flex-wrap:wrap;position:relative;overflow:hidden;
}
.subscribe-strip::before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--red)}
.sub-text h3{font-family:'Cormorant Garamond',serif;color:#fff;font-size:1.6rem;font-weight:600;margin-bottom:.35rem}
.sub-text p{color:rgba(255,255,255,0.45);font-size:14px}
.sub-form{display:flex;gap:.5rem;flex-wrap:wrap}
.sub-form input{
  border:1px solid rgba(255,255,255,0.15);background:rgba(255,255,255,0.07);
  color:#fff;padding:10px 16px;border-radius:8px;font-size:14px;
  font-family:'DM Sans',sans-serif;outline:none;width:220px;transition:border-color .2s;
}
.sub-form input::placeholder{color:rgba(255,255,255,0.28)}
.sub-form input:focus{border-color:var(--red)}
.sub-btn{background:var(--red);color:#fff;border:none;padding:10px 22px;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;font-family:'DM Sans',sans-serif;transition:background .2s;white-space:nowrap}
.sub-btn:hover{background:var(--red-dark)}

/* ── WEEKLY SCHEDULE STRIP ── */
.schedule-strip{background:var(--red);padding:clamp(2.5rem,5vw,4rem) clamp(1.5rem,8vw,5.5rem)}
.schedule-strip h2{font-family:'Cormorant Garamond',serif;font-size:clamp(1.8rem,3.5vw,2.5rem);font-weight:600;color:#fff;margin-bottom:.5rem}
.schedule-strip>p{color:rgba(255,255,255,0.75);font-size:15px;margin-bottom:2rem;max-width:480px}
.schedule-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem}
.sched-card{background:rgba(0,0,0,0.2);border:1px solid rgba(255,255,255,0.15);border-radius:10px;padding:1.25rem;transition:all .2s}
.sched-card:hover{background:rgba(0,0,0,0.35)}
.sched-day{font-size:11px;color:rgba(255,255,255,0.65);font-weight:500;letter-spacing:.08em;text-transform:uppercase;margin-bottom:.4rem}
.sched-time{font-family:'Cormorant Garamond',serif;font-size:1.6rem;font-weight:600;color:#fff;margin-bottom:.3rem}
.sched-name{font-size:14px;font-weight:500;color:rgba(255,255,255,0.9);margin-bottom:.4rem}
.sched-card p{font-size:12px;color:rgba(255,255,255,0.55);line-height:1.6}
.join-tag{display:inline-block;background:rgba(255,255,255,0.15);color:#fff;font-size:10px;padding:3px 9px;border-radius:100px;margin-top:.75rem;cursor:pointer;border:1px solid rgba(255,255,255,0.2);transition:all .2s;text-decoration:none}
.join-tag:hover{background:rgba(255,255,255,0.3)}

/* ── FOOTER ── */
footer{background:#0A0A0A;padding:clamp(3rem,5vw,4rem) clamp(1.5rem,8vw,5.5rem) 1.75rem}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:3rem;margin-bottom:2.5rem}
.ft-rg{color:var(--red);font-weight:700;font-size:26px;font-family:'Cormorant Garamond',serif}
.ft-a{color:#fff;font-weight:700;font-size:26px;font-family:'Cormorant Garamond',serif}
.footer-brand p{color:rgba(255,255,255,0.35);font-size:13px;line-height:1.8;max-width:260px;margin-top:.6rem}
.footer-contact{margin-top:.85rem}
.footer-contact a{display:block;color:rgba(255,255,255,0.35);font-size:12px;text-decoration:none;margin-bottom:3px;transition:color .2s}
.footer-contact a:hover{color:var(--red-light)}
.footer-socials{display:flex;gap:.6rem;margin-top:.85rem}
.fsoc{width:30px;height:30px;border-radius:6px;border:1px solid rgba(255,255,255,0.1);display:flex;align-items:center;justify-content:center;font-size:12px;text-decoration:none;color:rgba(255,255,255,0.4);transition:all .2s}
.fsoc:hover{border-color:var(--red);color:var(--red-light)}
.footer-col h4{color:rgba(255,255,255,0.6);font-size:11px;font-weight:500;letter-spacing:.07em;text-transform:uppercase;margin-bottom:.85rem}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:.45rem}
.footer-col ul a{color:rgba(255,255,255,0.35);font-size:13px;text-decoration:none;transition:color .2s}
.footer-col ul a:hover{color:var(--red-light)}
.footer-bottom{border-top:1px solid rgba(255,255,255,0.06);padding-top:1.5rem;display:flex;justify-content:space-between;font-size:12px;color:rgba(255,255,255,0.22);flex-wrap:wrap;gap:.5rem}

/* ── AI CHAT ── */
.chat-bubble{position:fixed;bottom:1.5rem;right:1.5rem;z-index:150;width:52px;height:52px;border-radius:50%;background:var(--red);border:none;cursor:pointer;box-shadow:0 4px 20px rgba(192,39,45,0.45);display:flex;align-items:center;justify-content:center;font-size:20px;transition:transform .2s}
.chat-bubble:hover{transform:scale(1.08)}
.chat-badge{position:absolute;top:-2px;right:-2px;width:14px;height:14px;background:#22C55E;border:2px solid #0A0A0A;border-radius:50%}
.chat-window{position:fixed;bottom:5rem;right:1.5rem;z-index:150;width:min(360px,calc(100vw - 2rem));background:#fff;border-radius:16px;box-shadow:0 12px 48px rgba(0,0,0,0.2);display:none;flex-direction:column;border:1px solid #EEE;max-height:500px}
.chat-window.open{display:flex}
.chat-header{background:var(--black);padding:.85rem 1rem;border-radius:16px 16px 0 0;display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid var(--red)}
.ch-left{display:flex;align-items:center;gap:8px}
.ch-logo{height:26px;background:#fff;border-radius:4px;padding:2px 5px;display:flex;align-items:center}
.ch-rg{font-family:'Cormorant Garamond',serif;font-weight:700;font-size:16px;color:var(--red)}
.ch-a{font-family:'Cormorant Garamond',serif;font-weight:700;font-size:16px;color:var(--black)}
.ch-title{color:#fff;font-size:13px;font-weight:500}
.ch-sub{color:rgba(255,255,255,0.35);font-size:11px}
.close-chat{background:none;border:none;color:rgba(255,255,255,0.45);font-size:17px;cursor:pointer}
.chat-messages{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:.6rem;min-height:160px}
.msg{max-width:83%;padding:8px 12px;border-radius:12px;font-size:13px;line-height:1.65}
.msg.bot{background:#F4F2EF;color:var(--black);align-self:flex-start;border-bottom-left-radius:3px}
.msg.user{background:var(--red);color:#fff;align-self:flex-end;border-bottom-right-radius:3px}
.typing-dots{display:flex;gap:4px;padding:4px 0}
.typing-dots span{width:6px;height:6px;background:var(--muted);border-radius:50%;animation:dot 1.2s infinite}
.typing-dots span:nth-child(2){animation-delay:.2s}.typing-dots span:nth-child(3){animation-delay:.4s}
@keyframes dot{0%,60%,100%{opacity:.3;transform:scale(.8)}30%{opacity:1;transform:scale(1)}}
.chat-input-row{display:flex;gap:7px;padding:.6rem .8rem;border-top:1px solid #EEE}
.chat-input-row input{flex:1;border:1px solid #DDD;border-radius:100px;padding:7px 12px;font-size:13px;font-family:'DM Sans',sans-serif;outline:none}
.chat-input-row input:focus{border-color:var(--red)}
.chat-send{background:var(--red);border:none;border-radius:50%;width:32px;height:32px;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .2s}
.chat-send:hover{background:var(--red-dark)}
.chat-send svg{width:13px;height:13px;fill:#fff}

/* ── RESPONSIVE ── */
@media(max-width:900px){
  .featured-dev{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr;gap:2rem}
}
@media(max-width:768px){
  .nav-links,.nav-donate{display:none}
  .hamburger{display:block}
  .filter-bar{top:62px}
}
@media(max-width:560px){
  .footer-grid{grid-template-columns:1fr}
  .subscribe-strip{flex-direction:column;text-align:center}
  .sub-form{justify-content:center}
  .sub-form input{width:100%}
}