/* ── EVENTS 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 (same as other pages) */
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:0.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}
.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:0.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(180px,30vw,400px);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}
.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}
.view-toggle{display:flex;gap:4px}
.vtog{width:32px;height:32px;border:1px solid var(--border);border-radius:6px;background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:14px;transition:all .18s}
.vtog.active,.vtog:hover{background:var(--red);border-color:var(--red);color:#fff}

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

/* FEATURED EVENT */
.featured-event{
  background:var(--black);border-radius:16px;overflow:hidden;
  display:grid;grid-template-columns:auto 1fr;margin-bottom:3rem;
  box-shadow:0 4px 32px rgba(0,0,0,0.15);
}
.feat-date-col{
  background:var(--red);padding:2.5rem 2rem;display:flex;flex-direction:column;
  align-items:center;justify-content:center;text-align:center;min-width:130px;
}
.feat-month{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,0.7);font-weight:500}
.feat-day{font-family:'Cormorant Garamond',serif;font-size:5rem;font-weight:700;color:#fff;line-height:.9}
.feat-year{font-size:13px;color:rgba(255,255,255,0.6);margin-top:.25rem}
.feat-body{padding:2.5rem;display:flex;flex-direction:column;justify-content:center}
.feat-badge{display:inline-block;background:rgba(192,39,45,0.2);color:var(--red-light);font-size:11px;padding:4px 12px;border-radius:100px;letter-spacing:.07em;text-transform:uppercase;font-weight:500;margin-bottom:1rem;width:fit-content}
.feat-body h2{font-family:'Cormorant Garamond',serif;font-size:clamp(1.8rem,3vw,2.8rem);font-weight:600;color:#fff;line-height:1.2;margin-bottom:.75rem}
.feat-meta{display:flex;gap:1.5rem;flex-wrap:wrap;margin-bottom:1.25rem}
.feat-meta-item{display:flex;align-items:center;gap:.4rem;color:rgba(255,255,255,0.5);font-size:13px}
.feat-meta-item span:first-child{color:var(--red-light)}
.feat-body p{color:rgba(255,255,255,0.55);font-size:14px;line-height:1.8;margin-bottom:1.5rem;max-width:560px}
.register-btn{background:var(--red);color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;font-family:'DM Sans',sans-serif;transition:background .2s;display:inline-flex;align-items:center;gap:6px}
.register-btn:hover{background:var(--red-dark)}

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

/* EVENT CARDS */
.events-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.25rem;margin-bottom:3rem}
.event-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}
.event-card:hover{box-shadow:0 8px 32px rgba(0,0,0,0.1);transform:translateY(-2px)}
.event-card-header{display:flex;align-items:stretch}
.ec-date{background:var(--black);padding:.85rem 1rem;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:64px}
.ec-month{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--red-light)}
.ec-day{font-family:'Cormorant Garamond',serif;font-size:2.2rem;font-weight:700;color:#fff;line-height:.9}
.ec-type{flex:1;padding:.85rem 1rem;background:var(--cream);display:flex;align-items:center}
.ec-type-tag{font-size:11px;color:var(--red);font-weight:500;letter-spacing:.06em;text-transform:uppercase}
.event-card-body{padding:1.25rem;flex:1;display:flex;flex-direction:column}
.event-card-body h4{font-family:'Cormorant Garamond',serif;font-size:1.2rem;font-weight:600;color:var(--black);line-height:1.3;margin-bottom:.6rem}
.ev-meta{display:flex;flex-direction:column;gap:.3rem;margin-bottom:.85rem}
.ev-meta-row{display:flex;align-items:center;gap:.5rem;font-size:12px;color:var(--muted)}
.ev-meta-row span:first-child{width:14px;text-align:center;flex-shrink:0}
.event-card-body p{font-size:13px;color:var(--muted);line-height:1.7;flex:1;margin-bottom:1rem}
.event-card-footer{display:flex;align-items:center;justify-content:space-between;padding-top:1rem;border-top:1px solid var(--border)}
.ec-spots{font-size:12px;color:var(--muted)}
.ec-spots strong{color:var(--red)}
.reg-link{color:var(--red);font-size:13px;font-weight:500;text-decoration:none;border:1px solid rgba(192,39,45,0.3);padding:5px 14px;border-radius:6px;transition:all .2s}
.reg-link:hover{background:var(--red);color:#fff;border-color:var(--red)}

/* RECURRING */
.recurring{background:var(--black);padding:clamp(3rem,6vw,4.5rem) clamp(1.5rem,8vw,5.5rem);margin-top:1rem}
.recurring h2{font-family:'Cormorant Garamond',serif;font-size:clamp(1.8rem,3.5vw,2.5rem);font-weight:600;color:#fff;margin-bottom:.5rem}
.recurring>p{color:rgba(255,255,255,0.45);font-size:14px;margin-bottom:2rem;max-width:480px}
.recurring-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1rem}
.rec-card{background:rgba(255,255,255,0.04);border:1px solid rgba(192,39,45,0.15);border-radius:10px;padding:1.25rem;transition:all .2s}
.rec-card:hover{background:rgba(192,39,45,0.07);border-color:rgba(192,39,45,0.4)}
.rec-day{font-size:12px;color:var(--red-light);font-weight:500;letter-spacing:.07em;text-transform:uppercase;margin-bottom:.4rem}
.rec-time{font-family:'Cormorant Garamond',serif;font-size:1.6rem;font-weight:600;color:#fff;margin-bottom:.3rem}
.rec-card h4{font-size:14px;font-weight:500;color:rgba(255,255,255,0.8);margin-bottom:.5rem}
.rec-card p{font-size:12px;color:rgba(255,255,255,0.4);line-height:1.6}
.join-tag{display:inline-block;background:rgba(192,39,45,0.15);color:var(--red-light);font-size:10px;padding:3px 9px;border-radius:100px;margin-top:.75rem;cursor:pointer;border:1px solid rgba(192,39,45,0.2);transition:all .2s}
.join-tag:hover{background:var(--red);color:#fff;border-color:var(--red)}

/* REGISTER MODAL */
.modal-overlay{position:fixed;inset:0;z-index:300;background:rgba(0,0,0,0.7);display:none;align-items:center;justify-content:center;padding:1rem}
.modal-overlay.open{display:flex}
.modal-box{background:#fff;border-radius:16px;padding:2rem;width:100%;max-width:460px;max-height:90vh;overflow-y:auto}
.modal-hd{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.25rem}
.modal-hd h3{font-family:'Cormorant Garamond',serif;font-size:1.6rem;color:var(--black)}
.modal-hd button{background:none;border:none;font-size:22px;cursor:pointer;color:var(--muted)}
.modal-event-name{background:var(--red-bg);border:1px solid rgba(192,39,45,0.2);border-radius:8px;padding:.85rem 1rem;margin-bottom:1.25rem;font-size:14px;color:var(--red-dark);font-weight:500}
.fg{margin-bottom:1rem}
.fg label{display:block;font-size:12px;font-weight:500;color:var(--black);margin-bottom:4px}
.fg input,.fg select{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:8px;font-size:14px;font-family:'DM Sans',sans-serif;color:var(--black);outline:none;transition:border-color .2s}
.fg input:focus,.fg select:focus{border-color:var(--red)}
.fg-row{display:grid;grid-template-columns:1fr 1fr;gap:.85rem}
.modal-submit{width:100%;background:var(--red);color:#fff;border:none;padding:13px;border-radius:8px;font-size:15px;font-weight:500;cursor:pointer;font-family:'DM Sans',sans-serif;transition:background .2s;margin-top:.5rem}
.modal-submit:hover{background:var(--red-dark)}
.modal-confirm{display:none;text-align:center;padding:.5rem 0}
.modal-confirm .icon{font-size:2.5rem;margin-bottom:.75rem}
.modal-confirm h3{font-family:'Cormorant Garamond',serif;font-size:1.4rem;margin-bottom:.5rem}
.modal-confirm p{color:var(--muted);font-size:14px}

/* 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 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}

/* 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}
.chat-send svg{width:13px;height:13px;fill:#fff}

@media(max-width:768px){
  .nav-links,.nav-donate{display:none}
  .hamburger{display:block}
  .featured-event{grid-template-columns:1fr}
  .feat-date-col{flex-direction:row;justify-content:flex-start;gap:1rem;padding:1rem 1.5rem}
  .feat-day{font-size:2.5rem}
  .footer-grid{grid-template-columns:1fr 1fr;gap:2rem}
}
@media(max-width:500px){
  .footer-grid{grid-template-columns:1fr}
  .fg-row{grid-template-columns:1fr}
}