@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ══ EVENTS GRID [aqiq_events] ══ */
.aqev-wrap { font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif; padding: 72px 24px; background: #f8faff; color: #334155; }
.aqev-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.aqev-head__tag { display: inline-flex; align-items: center; gap: 7px; padding: 6px 16px; border-radius: 999px; background: rgba(37,99,235,0.1); color: #2563eb; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; }
.aqev-head__tag span { width: 6px; height: 6px; border-radius: 50%; background: #2563eb; display: inline-block; }
.aqev-head__h { font-size: clamp(28px,4vw,42px); font-weight: 800; color: #0f172a; line-height: 1.15; margin-bottom: 14px; letter-spacing: -0.02em; }
.aqev-head__h em { color: #2563eb; font-style: normal; }
.aqev-head__p { font-size: 16px; color: #64748b; line-height: 1.7; }
.aqev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; max-width: 1100px; margin: 0 auto; }
.aqev-card, .aqev-card:link, .aqev-card:visited, .aqev-card:active { background: #fff; border-radius: 20px; border: 1.5px solid #e8edf5; overflow: hidden; text-decoration: none !important; color: inherit; display: flex; flex-direction: column; transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease; }
.aqev-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(15,23,42,0.12); border-color: #bfdbfe; text-decoration: none !important; color: inherit; }
.aqev-card *, .aqev-card *:hover { text-decoration: none !important; }
.aqev-card__img-wrap { position: relative; overflow: hidden; }
.aqev-card__img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform 0.4s ease; }
.aqev-card:hover .aqev-card__img { transform: scale(1.04); }
.aqev-card__img-placeholder { width: 100%; height: 220px; background: linear-gradient(135deg,#dbeafe,#eff6ff); display: flex; align-items: center; justify-content: center; font-size: 56px; }
.aqev-card__badge { position: absolute; top: 14px; left: 14px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; backdrop-filter: blur(8px); }
.aqev-card__badge--past     { background: rgba(255,255,255,0.88); color: #475569; border: 1px solid rgba(255,255,255,0.6); }
.aqev-card__badge--upcoming { background: rgba(37,99,235,0.9); color: #fff; border: 1px solid rgba(37,99,235,0.4); }
.aqev-card__body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.aqev-card__date { font-size: 11px; color: #94a3b8; font-weight: 600; display: flex; align-items: center; gap: 5px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.06em; }
.aqev-card__title { font-size: 19px; font-weight: 700; color: #0f172a; line-height: 1.3; margin-bottom: 8px; }
.aqev-card__loc { font-size: 13px; color: #64748b; display: flex; align-items: center; gap: 5px; margin-bottom: 12px; }
.aqev-card__desc { font-size: 14px; color: #475569; line-height: 1.65; margin-bottom: 20px; flex: 1; }
.aqev-card__footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid #f1f5f9; }
.aqev-card__cta { font-size: 13px; font-weight: 700; color: #2563eb; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.18s; }
.aqev-card:hover .aqev-card__cta { gap: 10px; }
.aqev-card__arrow { width: 30px; height: 30px; border-radius: 50%; background: rgba(37,99,235,0.08); display: flex; align-items: center; justify-content: center; transition: background 0.18s, transform 0.18s; }
.aqev-card:hover .aqev-card__arrow { background: #2563eb; transform: translateX(2px); }
.aqev-card:hover .aqev-card__arrow svg { stroke: #fff; }

/* ══ SINGLE EVENT PAGE [aqiq_event] ══ */
.evp { font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif; color: #334155; }
.evp * { box-sizing: border-box; margin: 0; padding: 0; }
.evp__back { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #64748b; text-decoration: none; padding: 20px 0 0; transition: color .18s; margin-bottom: 0; }
.evp__back:hover { color: #2563eb; text-decoration: none; }
.evp__hero { position: relative; width: 100%; border-radius: 22px; overflow: hidden; margin: 22px 0 0; background: linear-gradient(135deg,#dbeafe,#eff6ff); }
.evp__hero-img { width: 100%; height: 460px; object-fit: cover; display: block; }
.evp__hero-placeholder { width: 100%; height: 460px; background: linear-gradient(135deg,#dbeafe,#eff6ff); display: flex; align-items: center; justify-content: center; font-size: 96px; }
.evp__hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,.62) 0%, rgba(15,23,42,.1) 55%, transparent 100%); pointer-events: none; }
.evp__hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 32px 36px; }
.evp__hero-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 12px; backdrop-filter: blur(6px); }
.evp__hero-badge--past     { background: rgba(255,255,255,.2); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.evp__hero-badge--upcoming { background: rgba(37,99,235,.8); color: #fff; border: 1px solid rgba(37,99,235,.5); }
.evp__hero-title { font-size: clamp(24px,4vw,40px); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 10px; letter-spacing: -.02em; text-shadow: 0 2px 16px rgba(0,0,0,.3); }
.evp__hero-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.evp__hero-meta-item { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 6px; }
/* ── Hero Slideshow (integrated) ── */
.evp__hero--slideshow { height: 460px; }
.evp__slide { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; z-index: 1; }
.evp__slide.active { display: flex; }
.evp__slide-bg { position: absolute; inset: -24px; background-size: cover; background-position: center; filter: blur(22px) brightness(0.38); }
.evp__slide-img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; }
.evp__hero--slideshow .evp__hero-overlay { z-index: 2; }
.evp__hero--slideshow .evp__hero-content { z-index: 3; }
.evp__slide-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.22); color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 26px; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; line-height: 1; padding: 0; }
.evp__slide-btn:hover { background: rgba(255,255,255,.3); transform: translateY(-50%) scale(1.1); }
.evp__slide-prev { left: 16px; }
.evp__slide-next { right: 16px; }
.evp__slide-count { position: absolute; top: 14px; right: 16px; z-index: 10; background: rgba(0,0,0,.42); backdrop-filter: blur(6px); color: rgba(255,255,255,.78); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; pointer-events: none; }
.evp__slide-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.evp__slide-dot { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; border: none; cursor: pointer; padding: 0; transition: background .2s, width .2s, border-radius .2s; }
.evp__slide-dot.active { background: #2563eb; width: 24px; border-radius: 4px; }
.evp__layout { display: grid; grid-template-columns: 1fr 340px; gap: 36px; margin-top: 36px; }
.evp__section-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #2563eb; margin-bottom: 14px; display: flex; align-items: center; gap: 7px; }
.evp__section-label::after { content: ''; flex: 1; height: 1px; background: #e8edf5; }
.evp__desc { font-size: 15.5px; color: #475569; line-height: 1.8; margin-bottom: 36px; }
.evp__desc p + p { margin-top: 1em; }
.evp__hl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 36px; }
.evp__hl-card { background: #f8faff; border: 1px solid #e0e7ff; border-radius: 14px; padding: 16px; display: flex; align-items: flex-start; gap: 12px; transition: border-color .18s, box-shadow .18s; }
.evp__hl-card:hover { border-color: #bfdbfe; box-shadow: 0 4px 16px rgba(37,99,235,.07); }
.evp__hl-icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.evp__hl-text { font-size: 13.5px; font-weight: 500; color: #334155; line-height: 1.5; }
.evp__photogrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 36px; }
.evp__photogrid-item { aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; cursor: pointer; transition: transform .2s, box-shadow .2s; position: relative; background: #0a0f1e; }
.evp__photogrid-item:hover { transform: scale(1.03); box-shadow: 0 8px 24px rgba(15,23,42,.18); }
.evp__photogrid-bg { position: absolute; inset: -8px; background-size: cover; background-position: center; filter: blur(10px) brightness(0.5); }
.evp__photogrid-item img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; display: block; }
.evp__ig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 36px; }
.evp__ig-embed iframe { width: 100%; min-height: 430px; border-radius: 12px; border: 1px solid #e5e7eb; }
.evp__ig-caption { font-size: 12px; color: #94a3b8; margin-top: 6px; text-align: center; }
.evp__videos { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.evp__video-wrap iframe { width: 100%; aspect-ratio: 16/9; border-radius: 12px; border: 1px solid #e5e7eb; }
.evp__video-caption { font-size: 12px; color: #94a3b8; margin-top: 6px; }
.evp__info-card { background: #fff; border: 1.5px solid #e8edf5; border-radius: 18px; padding: 24px; margin-bottom: 20px; }
.evp__info-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid #f1f5f9; gap: 12px; }
.evp__info-row:last-child { border-bottom: none; padding-bottom: 0; }
.evp__info-key { font-size: 12px; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: .07em; flex-shrink: 0; }
.evp__info-val { font-size: 14px; font-weight: 600; color: #1e293b; text-align: right; }
.evp__stats-card { background: linear-gradient(135deg,#EFF6FF,#F0F9FF); border: 1px solid #bfdbfe; border-radius: 18px; padding: 24px; margin-bottom: 20px; }
.evp__stats-title { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #2563eb; margin-bottom: 16px; }
.evp__stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.evp__stat { text-align: center; }
.evp__stat-val { font-size: 26px; font-weight: 800; color: #1d4ed8; display: block; letter-spacing: -.02em; }
.evp__stat-lbl { font-size: 11px; color: #64748b; font-weight: 500; margin-top: 2px; display: block; }
.evp__cta-card { background: linear-gradient(135deg,#1e3a8a,#2563eb); border-radius: 18px; padding: 26px; text-align: center; color: #fff; }
.evp__cta-head { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.evp__cta-sub { font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.55; margin-bottom: 18px; }
.evp__cta-btn { display: block; padding: 12px 20px; border-radius: 10px; background: #fff; color: #1d4ed8; font-size: 14px; font-weight: 700; text-decoration: none; transition: background .18s; }
.evp__cta-btn:hover { background: #eff6ff; text-decoration: none; color: #1d4ed8; }
.evp-lb { display: none; position: fixed; inset: 0; z-index: 99999; background: rgba(10,14,26,.92); align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.evp-lb.open { display: flex; }
.evp-lb img { max-width: 90vw; max-height: 88vh; border-radius: 12px; box-shadow: 0 32px 80px rgba(0,0,0,.5); cursor: default; }
.evp-lb__close { position: fixed; top: 20px; right: 24px; font-size: 32px; color: #fff; cursor: pointer; font-family: sans-serif; line-height: 1; opacity: .7; }
.evp-lb__close:hover { opacity: 1; }

@media(max-width:860px){
  .evp__layout { grid-template-columns: 1fr; }
  .evp__sidebar { order: -1; }
  .evp__hero-img, .evp__hero-placeholder { height: 280px; }
  .evp__hero--slideshow { height: 280px; }
  .evp__hl-grid { grid-template-columns: 1fr; }
  .evp__photogrid { grid-template-columns: 1fr 1fr; }
  /* Shrink arrows and move them to the upper-third so they don't overlap the badge/title */
  .evp__slide-btn { width: 34px; height: 34px; font-size: 18px; top: 30%; }
  .evp__slide-count { font-size: 11px; padding: 3px 9px; top: 10px; right: 10px; }
}
@media(max-width:640px){
  .aqev-wrap { padding: 52px 14px; }
  .aqev-grid { grid-template-columns: 1fr; }
  .evp__photogrid { grid-template-columns: 1fr; }
  .evp__hero-content { padding: 20px; }
  .evp__slide-btn { width: 30px; height: 30px; font-size: 16px; top: 28%; }
  .evp__slide-prev { left: 8px; }
  .evp__slide-next { right: 8px; }
}
