/* ===== BASE ===== */
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0;font-family:var(--font-family-base);color:#0F172A;background:#fff;-webkit-font-smoothing:antialiased;}
:root{--orange:#F0895E;--orange-h:#d9733f;--dark:#0F172A;--gray:#F4F7F9;--max-w:1160px;--px:clamp(1.25rem,5vw,4rem);}
img{display:block;max-width:100%;}
a{text-decoration:none;color:inherit;}
button{cursor:pointer;border:none;background:none;padding:0;}

/* ===== HERO ===== */
.ev-hero{position:relative;overflow:hidden;padding-top:64px;}
.ev-hero-wrap{height:50vh;min-height:460px;max-height:580px;position:relative;}
.ev-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.ev-hero-overlay{position:absolute;inset:0;background:linear-gradient(105deg,rgba(15,23,42,0.96) 0%,rgba(15,23,42,0.82) 55%,rgba(15,23,42,0.50) 100%);}
.ev-hero-glow{position:absolute;bottom:-32px;right:8%;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,rgba(240,137,94,0.14) 0%,transparent 70%);pointer-events:none;}
.ev-hero-inner{position:relative;z-index:10;width:100%;max-width:var(--max-w);margin:0 auto;padding:0 clamp(2rem,5vw,4rem);height:100%;display:flex;flex-direction:column;justify-content:center;}
.ev-hero-eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:24px;}
.ev-hero-line{width:24px;height:1px;background:var(--orange);}
.ev-hero-label{font-size:0.6rem;font-weight:700;letter-spacing:0.22em;color:var(--orange);text-transform:uppercase;}
.ev-hero-h1{font-size:clamp(1.7rem,3.5vw,2.6rem);font-weight:700;color:#fff;line-height:1.12;letter-spacing:-0.04em;margin:0 0 16px;max-width:600px;}
.ev-hero-sub{font-size:0.85rem;color:rgba(255,255,255,0.45);line-height:1.95;max-width:460px;margin:0;}

/* ===== MAIN LAYOUT ===== */
.ev-main{max-width:var(--max-w);margin:0 auto;padding:64px clamp(2rem,5vw,4rem);}
.ev-layout{display:grid;grid-template-columns:1fr 280px;gap:56px;}

/* ===== FILTER ROW ===== */
.ev-filter-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:40px;}
.ev-filter-btn{font-size:16px;font-weight:500;padding:8px 20px;border-radius:9999px;border:1px solid rgba(15,23,42,0.15);color:#475569;background:none;cursor:pointer;transition:all 0.15s;font-family:inherit;}
.ev-filter-btn:hover{border-color:rgba(15,23,42,0.35);color:#0F172A;}
.ev-filter-btn.active{background:#0C294B;border-color:#0C294B;color:#fff;}
.ev-count{margin-left:auto;font-size:0.72rem;color:#94A3B8;}

/* ===== EVENT CARDS ===== */
.ev-list{border-top:1px solid rgba(15,23,42,0.07);}
.ev-card{display:block;margin:0 -16px;padding:28px 16px;border-bottom:1px solid rgba(15,23,42,0.07);border-radius:12px;transition:background 0.2s;cursor:pointer;}
.ev-card:hover{background:#F4F7F9;}
.ev-card-grid{display:grid;grid-template-columns:128px minmax(0,1fr) auto;gap:24px;align-items:center;}
.ev-card-img-wrap{position:relative;width:128px;height:80px;overflow:hidden;border-radius:12px;background:#E2E8F0;}
.ev-card-img{width:100%;height:100%;object-fit:cover;transition:transform 0.4s;}
.ev-card:hover .ev-card-img{transform:scale(1.05);}
.ev-card-img-overlay{position:absolute;inset:0;background:rgba(15,23,42,0.15);}
.ev-card-ended-overlay{position:absolute;inset:0;background:rgba(15,23,42,0.45);display:flex;align-items:center;justify-content:center;}
.ev-card-ended-label{font-size:12px;font-weight:700;color:#fff;background:rgba(15,23,42,0.70);padding:4px 8px;border-radius:9999px;}
.ev-card-body{min-width:0;display:flex;flex-direction:column;}
.ev-card-badges{display:flex;align-items:center;gap:12px;margin-bottom:8px;flex-wrap:wrap;}
.ev-badge,.ev-badge-webinar,.ev-badge-seminar,.ev-badge-workshop{background:var(--orange);color:#fff;font-size:0.6rem;font-weight:700;padding:4px 10px;border-radius:9999px;}
.ev-seats{padding:0;background:none;color:#94A3B8;font-size:14px;font-weight:400;}
.ev-seats-few{color:var(--orange);}
.ev-seats-ended{color:#94A3B8;}
.ev-card-title{display:-webkit-box;overflow:hidden;font-size:16px;font-weight:700;color:#0F172A;margin-bottom:8px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2;}
.ev-card:hover .ev-card-title{color:#0F172A;}
.ev-card-meta{display:flex;flex-direction:column;gap:3px;margin-bottom:10px;}
.ev-meta-row{display:flex;align-items:center;gap:8px;font-size:14px;color:#64748B;line-height:1.5;}
.ev-meta-icon{width:14px;height:14px;color:var(--orange);flex-shrink:0;transition:color 0.3s;}
.ev-card-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:auto;padding-top:8px;}
.ev-card:hover .ev-meta-row{color:#64748B;}
.ev-card:hover .ev-meta-icon{color:var(--orange);}
.ev-tags{display:flex;flex-wrap:wrap;gap:6px;}
.ev-tag{font-size:14px;font-weight:500;color:#475569;background:#F4F7F9;padding:2px 10px;border-radius:9999px;display:inline-block;transition:background 0.3s,color 0.3s;}
.ev-card:hover .ev-tag{background:#fff;color:#475569;}
.ev-btn-detail,.ev-btn-detail-ended{flex-shrink:0;color:var(--orange);font-size:14px;font-weight:700;white-space:nowrap;font-family:inherit;}
.ev-item-arrow{align-self:center;flex-shrink:0;opacity:0;transition:opacity 0.2s;}
.ev-card:hover .ev-item-arrow{opacity:1;}
.ev-item-arrow svg{width:16px;height:16px;color:var(--orange);}
.ev-empty{text-align:center;padding:64px 0;color:#94A3B8;font-size:0.85rem;}

/* ===== SIDEBAR ===== */
.ev-sidebar{display:flex;flex-direction:column;gap:32px;}
.ev-sidebar-section{border:1px solid rgba(15,23,42,0.08);border-radius:16px;overflow:hidden;}
.ev-sidebar-head{background:#F8FAFC;padding:16px 20px;border-bottom:1px solid rgba(15,23,42,0.07);}
.ev-sidebar-head-label{font-size:14px;font-weight:700;color:#0F172A;letter-spacing:0.14em;text-transform:uppercase;}
.ev-sidebar-items{list-style:none;padding:0;margin:0;}
.ev-sidebar-item{padding:16px;border-bottom:1px solid rgba(15,23,42,0.06);cursor:pointer;transition:background 0.3s;}
.ev-sidebar-item:last-child{border-bottom:none;}
.ev-sidebar-item:hover{background:#0C294B;}
.ev-sidebar-item-title{font-size:0.78rem;font-weight:700;color:#0F172A;margin-bottom:2px;transition:color 0.3s;}
.ev-sidebar-item:hover .ev-sidebar-item-title{color:#fff;}
.ev-sidebar-item-link{display:flex;align-items:center;gap:4px;font-size:14px;font-weight:600;color:var(--orange);transition:color 0.3s;}
.ev-sidebar-item-link svg{width:10px;height:10px;transition:color 0.3s;}
.ev-sidebar-item:hover .ev-sidebar-item-link,.ev-sidebar-item:hover .ev-sidebar-item-link svg{color:#fff;}
.ev-resources-label{font-size:14px;font-weight:700;letter-spacing:0.16em;color:#94A3B8;text-transform:uppercase;margin-bottom:16px;}
.ev-resource-list{display:flex;flex-direction:column;gap:12px;}
.ev-resource-item{display:flex;align-items:center;gap:12px;padding:12px;border-radius:12px;border:1px solid rgba(15,23,42,0.07);cursor:pointer;transition:background 0.3s,border-color 0.3s;}
.ev-resource-item:hover{border-color:rgba(240,137,94,0.25);background:#0C294B;}
.ev-resource-icon{width:32px;height:32px;border-radius:8px;background:#F8FAFC;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background 0.3s;}
.ev-resource-item:hover .ev-resource-icon{background:rgba(255,255,255,.25);}
.ev-resource-icon svg{width:16px;height:16px;color:#475569;transition:color 0.3s;}
.ev-resource-item:hover .ev-resource-icon svg{color:#fff;}
.ev-resource-name{font-size:0.78rem;font-weight:500;color:#334155;transition:color 0.3s;flex:1;}
.ev-resource-item:hover .ev-resource-name{color:#fff;}
.ev-resource-arrow{width:14px;height:14px;color:#CBD5E1;flex-shrink:0;transition:color 0.3s;}
.ev-resource-item:hover .ev-resource-arrow{color:#fff;}

/* ===== RELATED SECTION ===== */
.ev-related{padding:64px clamp(2rem,5vw,4rem);background:#F4F7F9;}
.ev-related-inner{max-width:var(--max-w);margin:0 auto;}
.ev-related-eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:12px;}
.ev-related-line{width:20px;height:1px;background:var(--orange);}
.ev-related-eye-label{font-size:0.6rem;font-weight:700;letter-spacing:0.2em;color:var(--orange);text-transform:uppercase;}
.ev-related-h2{font-size:1.5rem;font-weight:700;color:#0F172A;letter-spacing:-0.03em;margin:0 0 32px;}
.ev-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.ev-rel-card{background:#fff;border-radius:16px;overflow:hidden;border:1px solid rgba(15,23,42,0.07);cursor:pointer;transition:background 0.3s,box-shadow 0.3s,transform 0.3s;}
.ev-rel-card:hover{background:#0C294B;box-shadow:0 6px 28px rgba(15,23,42,0.09);transform:translateY(-2px);}
.ev-rel-card-img{height:176px;overflow:hidden;background:#E2E8F0;}
.ev-rel-card-img img{width:100%;height:100%;object-fit:cover;transition:transform 0.4s;}
.ev-rel-card:hover .ev-rel-card-img img{transform:scale(1.05);}
.ev-rel-card-body{padding:24px;}
.ev-rel-card-tag{font-size:14px;font-weight:700;background:var(--orange);color:#fff;padding:4px 10px;border-radius:9999px;display:inline-block;}
.ev-rel-card-title{font-size:16px;font-weight:700;color:#0F172A;margin:12px 0 8px;line-height:1.45;transition:color 0.3s;}
.ev-rel-card:hover .ev-rel-card-title{color:#fff;}
.ev-rel-card-desc{font-size:14px;color:#64748B;line-height:1.75;transition:color 0.3s;}
.ev-rel-card:hover .ev-rel-card-desc{color:rgba(255,255,255,.8);}

/* ===== CTA SECTION ===== */
.ev-cta{position:relative;overflow:hidden;height:470px;min-height:470px;max-height:470px;flex:0 0 470px;display:flex;align-items:center;justify-content:center;padding:0 !important;}
body .ev-cta{padding:0 !important;}
.ev-cta-bg{position:absolute;inset:0;}
.ev-cta-bg img{width:100%;height:100%;object-fit:cover;}
.ev-cta-overlay{position:absolute;inset:0;z-index:5;background:rgba(7,27,53,0.8);}
.ev-cta-dots{display:none;}
.ev-cta-glow{display:none;}
.ev-cta-inner{position:relative;z-index:10;width:100%;max-width:640px;margin:0 auto;padding:0 32px;text-align:center;}
.ev-cta-pill{display:inline-flex;align-items:center;gap:8px;background:rgba(240,137,94,0.15);border:1px solid rgba(240,137,94,0.30);padding:6px 16px;border-radius:9999px;margin-bottom:28px;}
.ev-cta-pill-dot{width:6px;height:6px;border-radius:50%;background:var(--orange);}
.ev-cta-pill-label{font-size:0.63rem;font-weight:700;letter-spacing:0.2em;color:var(--orange);text-transform:uppercase;}
.ev-cta-h2{font-size:2.1rem;font-weight:700;color:#fff;letter-spacing:-0.04em;line-height:1.15;margin:0 0 20px;}
.ev-cta-h2 span{color:var(--orange);}
.ev-cta-p{font-size:18px;color:rgba(255,255,255,0.72);line-height:1.95;margin:0 auto 32px;max-width:460px;}
.ev-cta-btns{display:flex;flex-wrap:nowrap;justify-content:center;gap:16px;}
.ev-cta-btn-primary{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;background:var(--orange);color:#fff;font-weight:700;font-size:0.88rem;padding:16px 36px;border-radius:9999px;border:none;cursor:pointer;transition:all 0.15s;box-shadow:0 8px 36px rgba(240,137,94,0.45);font-family:inherit;}
.ev-cta-btn-primary:hover{background:var(--orange-h);}
.ev-cta-btn-primary svg{width:16px;height:16px;}
.ev-cta-btn-secondary{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;border:1px solid rgba(255,255,255,0.20);color:rgba(255,255,255,0.65);font-size:0.88rem;padding:16px 32px;border-radius:9999px;cursor:pointer;transition:all 0.15s;background:none;font-family:inherit;}
.ev-cta-btn-secondary:hover{border-color:rgba(255,255,255,0.40);color:#fff;}
.ev-cta-btn-secondary svg{width:16px;height:16px;}
.ev-sidebar-item:hover .ev-sidebar-item-title,.ev-resource-item:hover .ev-resource-name,.ev-rel-card:hover .ev-rel-card-title{color:#fff!important;}
