/* ============================================================
   ISC2 Vietnam Chapter — Main Stylesheet
   Version: 1.0.0
   ============================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green:        #9ec744;
  --green-hover:  #88b32e;
  --green-deep:   #253317;
  --green-mid:    #2e4a18;
  --green-light:  #eef4d8;
  --green-dim:    rgba(158,199,68,0.12);
  --white:        #ffffff;
  --off-white:    #f5f7f0;
  --light:        #eef1e8;
  --border:       #dde5cc;
  --text:         #1a1e14;
  --text-mid:     #3a4a28;
  --text-muted:   #647050;
  --text-faint:   #96a882;
  --font-head:    'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --radius:       10px;
  --radius-sm:    6px;
  --max-width:    1180px;
  --nav-height:   68px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
}

/* ── LAYOUT CONTAINER ── */
.isc2-container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 52px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: var(--text);
  padding: 13px 26px; border-radius: var(--radius-sm);
  font-family: var(--font-head); font-size: 14px; font-weight: 700;
  transition: all 0.2s; border: 2px solid var(--green);
}
.btn-primary:hover { background: var(--green-hover); border-color: var(--green-hover); color: white; }

.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  padding: 13px 26px; border-radius: var(--radius-sm);
  font-family: var(--font-head); font-size: 14px; font-weight: 700;
  border: 2px solid var(--border); transition: all 0.2s;
}
.btn-outline-dark:hover { border-color: var(--text); }

.btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--text); color: white;
  padding: 12px 22px; border-radius: var(--radius-sm);
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  white-space: nowrap; transition: all 0.2s;
}
.btn-dark:hover { background: var(--green-mid); }

.btn-nav {
  background: var(--green); color: var(--text);
  padding: 9px 20px; border-radius: var(--radius-sm);
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  letter-spacing: 0.3px; transition: all 0.2s;
}
.btn-nav:hover { background: var(--green-hover); color: white; }

/* ── SECTION LABEL ── */
.section-label {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.section-label .bar { width: 22px; height: 2px; background: var(--green); flex-shrink: 0; }
.section-label span {
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--green);
}
.section-label.on-green .bar { background: var(--text-mid); }
.section-label.on-green span { color: var(--text-mid); }

/* ── NAV ── */
#site-header {
  position: fixed; top: 0; width: 100%; z-index: 300;
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
#site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.06); }

.site-logo img { height: 34px; width: auto; }
.site-logo a { display: flex; align-items: center; }

#primary-navigation { position: absolute; left: 50%; transform: translateX(-50%); }
#primary-navigation ul { display: flex; gap: 28px; }
#primary-navigation ul li a {
  color: var(--text-muted); font-size: 14px; font-weight: 500;
  letter-spacing: 0.2px; transition: color 0.2s; padding: 4px 0;
  position: relative;
}
#primary-navigation ul li a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform 0.2s;
}
#primary-navigation ul li a:hover,
#primary-navigation ul li.current-menu-item a { color: var(--text); }
#primary-navigation ul li.current-menu-item a::after { transform: scaleX(1); }
#primary-navigation ul li a:hover::after { transform: scaleX(1); }

/* WP dropdown menus */
#primary-navigation ul li.menu-item-has-children { position: relative; }
#primary-navigation ul li.menu-item-has-children > ul {
  position: absolute; top: 100%; left: 0;
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 8px 0;
  min-width: 200px; opacity: 0; pointer-events: none;
  transform: translateY(8px); transition: all 0.2s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  display: flex; flex-direction: column; gap: 0;
}
#primary-navigation ul li.menu-item-has-children:hover > ul {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
#primary-navigation ul li.menu-item-has-children > ul li a {
  display: block; padding: 10px 18px; font-size: 13px;
}
#primary-navigation ul li.menu-item-has-children > ul li a::after { display: none; }
#primary-navigation ul li.menu-item-has-children > ul li a:hover { background: var(--off-white); color: var(--text); }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-text-link { color: var(--text-muted); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-text-link:hover { color: var(--text); }

/* Mobile toggle */
.mobile-menu-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 4px;
}
.mobile-menu-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text);
  margin: 5px 0; transition: all 0.3s; border-radius: 2px;
}

/* ── HERO ── */
.hero-section {
  min-height: 100vh;
  background: var(--off-white);
  padding: calc(var(--nav-height) + 52px) 52px 80px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-dot-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(158,199,68,0.2) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
}
.hero-blob {
  position: absolute; top: -100px; right: -100px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(158,199,68,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-width); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 380px;
  gap: 72px; align-items: center; position: relative; z-index: 2;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--border);
  padding: 7px 16px; border-radius: 20px;
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 28px;
}
.hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.hero-section h1 {
  font-size: clamp(44px, 5vw, 68px); font-weight: 800; line-height: 1.04;
  color: var(--text); margin-bottom: 24px; letter-spacing: -1.5px;
}
.hero-section h1 .green { color: var(--green); }
.hero-desc {
  font-size: 17px; line-height: 1.8;
  color: var(--text-muted); font-weight: 300;
  max-width: 500px; margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 12px; align-items: center; margin-bottom: 48px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.hero-stat { padding: 20px; border-right: 1px solid var(--border); text-align: center; }
.hero-stat:last-child { border-right: none; }
.hero-stat-num { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--green); line-height: 1; }
.hero-stat-label { font-size: 11px; color: var(--text-faint); margin-top: 4px; }
.hero-cards { display: flex; flex-direction: column; gap: 10px; }
.hero-info-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px;
  display: flex; align-items: center; gap: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hero-info-card:hover { border-color: var(--green); box-shadow: 0 4px 20px rgba(158,199,68,0.12); }
.info-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--green-light); border: 1px solid rgba(158,199,68,0.3);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-icon svg { width: 18px; height: 18px; stroke: var(--green-mid); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-label { font-size: 11px; color: var(--text-faint); margin-bottom: 3px; }
.info-value { font-size: 15px; font-weight: 600; color: var(--text); }

/* ── PILLARS ── */
.pillars-section {
  background: var(--white);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.pillar {
  padding: 38px 32px; border-right: 1px solid var(--border);
  position: relative; transition: background 0.3s;
}
.pillar:last-child { border-right: none; }
.pillar-bar { width: 28px; height: 3px; background: var(--green); margin-bottom: 20px; border-radius: 2px; transition: width 0.3s; }
.pillar:hover { background: var(--off-white); }
.pillar:hover .pillar-bar { width: 48px; }
.pillar-num { font-family: var(--font-head); font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--green); margin-bottom: 10px; display: block; }
.pillar h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.pillar p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* ── ABOUT ── */
.about-section { background: var(--white); padding: 110px 52px; }
.about-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; }
.about-text h2 { font-size: clamp(32px, 3vw, 46px); margin-bottom: 24px; letter-spacing: -0.5px; }
.about-text h2 em { color: var(--green); font-style: normal; }
.about-text p { font-size: 15px; color: var(--text-muted); line-height: 1.85; font-weight: 300; margin-bottom: 16px; }
.about-text p strong { color: var(--text); font-weight: 500; }
.about-actions { display: flex; gap: 12px; margin-top: 32px; }
.cert-panel { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cert-panel-head { padding: 16px 22px; border-bottom: 1px solid var(--border); background: var(--light); }
.cert-panel-head span { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-mid); }
.cert-row { display: flex; align-items: center; gap: 14px; padding: 15px 22px; border-bottom: 1px solid var(--border); transition: background 0.2s; }
.cert-row:last-child { border-bottom: none; }
.cert-row:hover { background: var(--light); }
.cert-tag { font-family: var(--font-head); font-size: 10px; font-weight: 700; color: white; background: var(--green-mid); padding: 4px 9px; border-radius: 4px; min-width: 52px; text-align: center; letter-spacing: 0.5px; flex-shrink: 0; }
.cert-name { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.cert-desc { font-size: 11px; color: var(--text-faint); }

/* ── EVENTS ── */
.events-section { background: var(--green); padding: 110px 52px; }
.events-inner { max-width: var(--max-width); margin: 0 auto; }
.events-top { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-bottom: 48px; }
.events-top h2 { font-size: clamp(36px, 4vw, 56px); color: var(--text); letter-spacing: -1px; }
.view-all-link { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 6px; transition: gap 0.2s; padding-bottom: 6px; }
.view-all-link:hover { gap: 10px; }
.events-layout { display: grid; grid-template-columns: 1fr 340px; gap: 20px; }
.featured-card { background: var(--green-deep); border-radius: 14px; padding: 40px; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.featured-card::after { content: ''; position: absolute; bottom: -80px; right: -80px; width: 240px; height: 240px; border-radius: 50%; background: rgba(158,199,68,0.08); pointer-events: none; }
.featured-tag { display: inline-block; background: var(--green); color: var(--text); font-family: var(--font-head); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 12px; border-radius: 4px; margin-bottom: 22px; align-self: flex-start; }
.featured-card h3 { font-size: 28px; color: white; margin-bottom: 14px; }
.featured-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 32px; }
.btn-featured { display: inline-flex; align-items: center; gap: 8px; background: var(--green); color: var(--text); padding: 12px 22px; border-radius: var(--radius-sm); font-family: var(--font-head); font-size: 13px; font-weight: 700; align-self: flex-start; transition: all 0.2s; }
.btn-featured:hover { background: var(--green-hover); color: white; }
.sidebar-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sidebar-head h4 { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--text); }
.sidebar-view-all { font-size: 13px; font-weight: 600; color: var(--text-mid); transition: color 0.2s; }
.sidebar-view-all:hover { color: var(--text); }
.event-item { background: rgba(37,51,23,0.12); border: 1px solid rgba(37,51,23,0.15); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 8px; display: block; transition: background 0.2s, border-color 0.2s; }
.event-item:hover { background: rgba(37,51,23,0.2); border-color: rgba(37,51,23,0.3); }
.event-item-date { font-family: var(--font-head); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-mid); margin-bottom: 5px; }
.event-item-title { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 3px; }
.event-item-loc { font-size: 11px; color: var(--text-muted); }
.no-events { color: var(--text-muted); font-size: 14px; padding: 16px 0; }

/* ── STAFF ── */
.staff-section { background: var(--off-white); padding: 110px 52px; }
.staff-inner { max-width: var(--max-width); margin: 0 auto; }
.staff-header { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--border); }
.staff-header h2 { font-size: clamp(32px, 3vw, 46px); letter-spacing: -0.5px; }
.staff-header p { font-size: 15px; color: var(--text-muted); line-height: 1.8; font-weight: 300; }
.staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.staff-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; transition: all 0.25s; }
.staff-card-bar { width: 28px; height: 3px; background: var(--green); border-radius: 2px; margin-bottom: 22px; transition: width 0.3s; }
.staff-card:hover { border-color: rgba(158,199,68,0.5); box-shadow: 0 8px 28px rgba(158,199,68,0.1); }
.staff-card:hover .staff-card-bar { width: 44px; }
.staff-avatar { width: 60px; height: 60px; border-radius: 8px; overflow: hidden; margin-bottom: 18px; background: var(--green-light); border: 1px solid rgba(158,199,68,0.3); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 18px; font-weight: 800; color: var(--green-mid); }
.staff-avatar img { width: 100%; height: 100%; object-fit: cover; }
.staff-name { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.staff-role { font-size: 10px; font-weight: 700; color: var(--green); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.staff-bio { font-size: 12px; color: var(--text-muted); line-height: 1.65; font-weight: 300; }

/* ── SPONSORS ── */
.sponsors-section { background: var(--white); padding: 100px 52px; border-top: 1px solid var(--border); }
.sponsors-inner { max-width: var(--max-width); margin: 0 auto; }
.sponsors-header { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 40px; margin-bottom: 44px; border-bottom: 1px solid var(--border); }
.sponsors-header h2 { font-size: 36px; letter-spacing: -0.5px; }
.sponsor-tier { margin-bottom: 36px; }
.tier-label { font-family: var(--font-head); font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-faint); margin-bottom: 14px; }
.sponsor-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.sponsor-logo-card { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 30px; display: flex; align-items: center; gap: 12px; min-height: 70px; min-width: 180px; transition: all 0.2s; }
.sponsor-logo-card:hover { border-color: var(--green); box-shadow: 0 4px 16px rgba(158,199,68,0.15); }
.sponsor-logo-card.tier-gold { background: var(--green-deep); border-color: transparent; }
.sponsor-logo-card.tier-gold:hover { border-color: var(--green); }
.sponsor-logo-card img { max-height: 36px; width: auto; }
.sponsor-logo-card.tier-gold img { filter: brightness(0) invert(1); opacity: 0.9; }
.sponsor-logo-name { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: 0.5px; }
.sponsor-logo-card.tier-gold .sponsor-logo-name { color: white; }
.sponsor-mark { width: 30px; height: 30px; border-radius: 5px; background: var(--green); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 14px; font-weight: 800; color: var(--text); }
.sponsor-placeholder { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 30px; display: flex; align-items: center; justify-content: center; min-height: 70px; min-width: 180px; }
.sponsor-placeholder span { font-size: 12px; color: var(--text-faint); font-weight: 500; letter-spacing: 0.3px; }
.sponsor-cta { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 30px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.sponsor-cta-text h3 { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.sponsor-cta-text p { font-size: 13px; color: var(--text-muted); }

/* ── NEWSLETTER ── */
.newsletter-section { background: var(--green); padding: 100px 52px; }
.newsletter-inner { max-width: 660px; margin: 0 auto; text-align: center; }
.newsletter-inner .section-label { justify-content: center; }
.newsletter-inner h2 { font-size: clamp(32px, 3.5vw, 46px); color: var(--text); line-height: 1.1; margin-bottom: 14px; letter-spacing: -0.5px; }
.newsletter-inner > p { font-size: 15px; color: rgba(30,40,15,0.65); line-height: 1.75; margin-bottom: 32px; font-weight: 300; }
.newsletter-form { display: flex; gap: 10px; margin-bottom: 12px; }
.newsletter-input { flex: 1; background: rgba(255,255,255,0.75); border: 1.5px solid rgba(255,255,255,0.9); border-radius: var(--radius-sm); padding: 14px 18px; color: var(--text); font-size: 14px; font-family: var(--font-body); outline: none; transition: all 0.2s; }
.newsletter-input:focus { background: white; border-color: var(--text); }
.newsletter-input::placeholder { color: rgba(30,40,15,0.4); }
.newsletter-btn { background: var(--text); color: white; border: none; padding: 14px 28px; border-radius: var(--radius-sm); font-family: var(--font-head); font-size: 13px; font-weight: 700; cursor: pointer; transition: background 0.2s; white-space: nowrap; }
.newsletter-btn:hover { background: var(--green-mid); }
.newsletter-note { font-size: 12px; color: rgba(30,40,15,0.45); }

/* ── FOOTER ── */
#site-footer { background: var(--green-deep); border-top: 1px solid rgba(255,255,255,0.06); padding: 72px 52px 40px; }
.footer-grid { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 32px; }
.footer-brand img { height: 28px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.8; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.75; max-width: 240px; font-weight: 300; }
.footer-col h4 { font-family: var(--font-head); font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--green); margin-bottom: 16px; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255,255,255,0.35); font-size: 13px; transition: color 0.2s; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { max-width: var(--max-width); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.2); transition: color 0.2s; }
.footer-legal a:hover { color: var(--green); }

/* ── INNER PAGE CONTENT ── */
.page-hero { background: var(--off-white); padding: calc(var(--nav-height) + 60px) 52px 60px; border-bottom: 1px solid var(--border); }
.page-hero-inner { max-width: var(--max-width); margin: 0 auto; }
.page-hero h1 { font-size: clamp(36px, 4vw, 56px); letter-spacing: -1px; }
.page-hero p { font-size: 17px; color: var(--text-muted); max-width: 560px; margin-top: 16px; font-weight: 300; line-height: 1.75; }
.page-content { max-width: var(--max-width); margin: 0 auto; padding: 80px 52px; }
.page-content .entry-content { font-size: 16px; color: var(--text-muted); line-height: 1.85; font-weight: 300; }
.page-content .entry-content h2 { font-size: 28px; color: var(--text); margin: 40px 0 16px; }
.page-content .entry-content h3 { font-size: 22px; color: var(--text); margin: 32px 0 12px; }
.page-content .entry-content p { margin-bottom: 18px; }
.page-content .entry-content a { color: var(--green-mid); border-bottom: 1px solid rgba(158,199,68,0.4); transition: border-color 0.2s; }
.page-content .entry-content a:hover { border-color: var(--green); }

/* ── EVENTS ARCHIVE PAGE ── */
.events-archive { max-width: var(--max-width); margin: 0 auto; padding: 80px 52px; }
.events-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.event-archive-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.25s; }
.event-archive-card:hover { border-color: rgba(158,199,68,0.4); box-shadow: 0 8px 28px rgba(158,199,68,0.1); transform: translateY(-3px); }
.event-archive-card-header { background: var(--green); padding: 28px; }
.event-archive-card-header .event-month { font-family: var(--font-head); font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-mid); }
.event-archive-card-header .event-day { font-family: var(--font-head); font-size: 44px; font-weight: 800; color: var(--text); line-height: 1; }
.event-archive-card-body { padding: 24px; }
.event-archive-card-body h3 { font-size: 17px; margin-bottom: 10px; line-height: 1.3; }
.event-archive-card-body .event-meta { font-size: 12px; color: var(--text-faint); margin-bottom: 16px; display: flex; gap: 16px; flex-wrap: wrap; }
.event-archive-card-body p { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; font-weight: 300; }

/* ── SINGLE EVENT PAGE ── */
.single-event-header { background: var(--green-deep); padding: calc(var(--nav-height) + 60px) 52px 60px; }
.single-event-header-inner { max-width: var(--max-width); margin: 0 auto; }
.single-event-type { display: inline-block; background: var(--green); color: var(--text); font-family: var(--font-head); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 12px; border-radius: 4px; margin-bottom: 20px; }
.single-event-header h1 { font-size: clamp(32px, 4vw, 52px); color: white; margin-bottom: 16px; letter-spacing: -0.5px; }
.single-event-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: rgba(255,255,255,0.6); }
.single-event-body { max-width: var(--max-width); margin: 0 auto; padding: 72px 52px; display: grid; grid-template-columns: 1fr 360px; gap: 72px; }
.event-description { font-size: 16px; color: var(--text-muted); line-height: 1.85; font-weight: 300; }
.event-registration-box { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; position: sticky; top: calc(var(--nav-height) + 24px); }
.event-registration-box h3 { font-size: 20px; margin-bottom: 8px; }
.event-registration-box p { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.6; }
.event-details-list { margin-bottom: 24px; }
.event-details-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.event-details-list li:last-child { border-bottom: none; }
.event-details-list li span:first-child { color: var(--text-faint); font-weight: 500; }
.event-details-list li span:last-child { color: var(--text); font-weight: 600; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.anim-1 { animation: fadeUp 0.55s 0.05s ease both; }
.anim-2 { animation: fadeUp 0.55s 0.15s ease both; }
.anim-3 { animation: fadeUp 0.55s 0.25s ease both; }
.anim-4 { animation: fadeUp 0.55s 0.32s ease both; }
.anim-5 { animation: fadeUp 0.55s 0.38s ease both; }
.anim-r { animation: fadeUp 0.55s 0.18s ease both; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-cards { flex-direction: row; }
  .hero-info-card { flex: 1; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .events-layout { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .single-event-body { grid-template-columns: 1fr; }
  .event-registration-box { position: static; }
}
@media (max-width: 768px) {
  :root { --max-width: 100%; }
  #site-header { padding: 0 20px; }
  .isc2-container, .about-section, .events-section, .staff-section, .sponsors-section, .newsletter-section, #site-footer, .hero-section { padding-left: 20px; padding-right: 20px; }
  #primary-navigation { display: none; }
  #primary-navigation.open { display: block; position: fixed; top: var(--nav-height); left: 0; right: 0; background: white; border-bottom: 1px solid var(--border); padding: 16px 20px; }
  #primary-navigation.open ul { flex-direction: column; gap: 4px; }
  .mobile-menu-toggle { display: block; }
  .pillars-section { grid-template-columns: repeat(2, 1fr); }
  .hero-cards { flex-direction: column; }
  .events-archive-grid { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .newsletter-form { flex-direction: column; }
  .sponsor-cta { flex-direction: column; align-items: flex-start; }
  .sponsors-header { flex-direction: column; align-items: flex-start; gap: 20px; }
}
