/* LIDE 2026 - Static multi-page conference site
   Header/nav layout referenced from AIFE 2025 (2025.icaife.net)
   Font: Microsoft YaHei throughout — the de-facto standard for Chinese
   academic conference websites. Enlarged base type for readability.
   Motion policy (v2): restrained, professional only — hover transitions,
   subtle card lift, one-time fade-in on load. No carousels, no parallax,
   no looping animation. Fully disabled under prefers-reduced-motion. */

/* ===================== Design tokens ===================== */
:root {
  --c-primary: #0768AC;
  --c-primary-dark: #055a92;
  --c-nav: #0a63a8;              /* nav bar blue */
  --c-nav-active: #ffd75e;       /* active/hover gold */
  --c-text: #1f2937;
  --c-text-light: #4b5563;
  --c-muted: #6b7280;
  --c-border: #d8dee6;
  --c-bg-page: #eaeff5;          /* page background (non-white) */
  --c-bg-card: #ffffff;          /* content card background */
  --c-bg-soft: #f4f7fb;
  --c-link: #0768AC;
  --c-accent: #b45309;

  --max-w: 1160px;
  --nav-h: 52px;

  /* Single font family site-wide: Microsoft YaHei */
  --ff-base: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", "Heiti SC", Arial, Helvetica, sans-serif;
  --ff-display: var(--ff-base);
  --ff-h1: var(--ff-base);
  --ff-h2: var(--ff-base);
  --ff-body: var(--ff-base);
  --ff-label: var(--ff-base);
  --ff-nav: var(--ff-base);

  /* Motion & elevation (v2) */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .2s;
  --dur-slow: .45s;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(15, 36, 64, .06), 0 3px 10px rgba(15, 36, 64, .05);
  --shadow-md: 0 6px 20px rgba(15, 36, 64, .12);
  --shadow-lg: 0 14px 40px rgba(15, 36, 64, .18);
  --c-gold: #ffd75e;
  --c-gold-dark: #f2b600;
  --grad-primary: linear-gradient(135deg, #0768AC 0%, #0a4f86 100%);
  --grad-hero: linear-gradient(180deg, rgba(4,26,48,.30) 0%, rgba(4,26,48,.18) 42%, rgba(4,26,48,.72) 100%);
}

/* ===================== Reset ===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: var(--ff-base);
  font-size: 17px;               /* enlarged base type */
  line-height: 1.85;
  color: var(--c-text);
  background: var(--c-bg-page);
  background-image: linear-gradient(180deg, #e3eaf3 0%, #eef3f9 55%, #f5f8fc 100%);
}
a { color: var(--c-link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul, ol { padding-left: 1.5em; }

/* ===================== Motion (restrained, professional) ===================== */
a, button, .btn, .card, .speaker-card, .cm-group, .dl-item, .info-box,
.step, .hero-cta a, .date-chip, .feature {
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page, .banner-inner, .hero-cta { animation: fadeUp var(--dur-slow) var(--ease) both; }
.banner-inner { animation-delay: .05s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .card:hover, .speaker-card:hover, .feature:hover, .dl-item:hover,
  .cm-group:hover, .info-box:hover, .step:hover, .hero-cta a:hover,
  .date-chip:hover { transform: none !important; }
}

/* ===================== Language (English-only; safety net hides any residual zh) ===================== */
.en { display: inline; }
.zh { display: none !important; }

/* ===================== Site header (white, logo + full title) ===================== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e4eaf1;
}
.site-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 78px;
}
.brand {
  display: inline-block;
  max-width: 100%;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-title {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: .3px;
  line-height: 1.4;
  color: #0f2f4d;
}
@media (max-width: 980px) {
  .site-header-inner { padding: 16px 16px; min-height: 0; }
  .brand-title { font-size: 19px; letter-spacing: 0; line-height: 1.5; }
}

/* ===================== Horizontal nav (blue bar, white text) ===================== */
.site-nav {
  background: var(--c-nav);
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 18px;
}
.site-nav .nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.site-nav a {
  display: inline-block;
  padding: 0 6px;
  line-height: var(--nav-h);
  color: #ffffff;
  font-family: var(--ff-base);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { color: var(--c-nav-active); text-decoration: none; background: rgba(255,255,255,.08); }
.site-nav a.active { color: #ffffff; font-weight: 800; border-bottom-color: var(--c-nav-active); background: rgba(255,255,255,.10); }
.site-nav .lang-toggle {
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -15px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.55);
  color: #fff;
  padding: 5px 14px;
  font-size: 14px;
  font-family: var(--ff-base);
  font-weight: 600;
  cursor: pointer;
  border-radius: 3px;
  line-height: 1.4;
}
.site-nav .lang-toggle:hover { background: rgba(255,255,255,0.26); }

.nav-burger {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  padding: 5px 11px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 3px;
}
@media (max-width: 1100px) {
  .site-nav .nav-inner { display: none; flex-direction: column; align-items: stretch; position: static; padding: 6px 0; }
  .site-nav.open .nav-inner { display: flex; }
  .nav-burger { display: inline-block; }
  .site-nav a { line-height: 42px; border-bottom: 1px solid rgba(255,255,255,0.16); text-align: center; }
  .site-nav a.active { border-bottom-color: var(--c-nav-active); }
  .site-nav .lang-toggle { position: static; margin: 10px auto; display: block; }
  .site-nav { padding: 6px 16px; }
}

/* ===================== Banner (image + meta strip) ===================== */
.banner {
  position: relative;
  width: 100%;
  height: 340px;
  background-color: #063a64;
  background-image: url("assets/wuhan-banner-photo.jpg");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  overflow: hidden;
}
.banner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,40,70,0.12) 0%, rgba(6,40,70,0.16) 40%, rgba(6,40,70,0.58) 78%, rgba(6,40,70,0.86) 100%),
    linear-gradient(90deg, rgba(6,40,70,0.28) 0%, rgba(6,40,70,0.04) 50%, rgba(6,40,70,0.28) 100%);
}
.banner-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 30px 28px 26px;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.banner-text { width: 100%; }
.banner-meta {
  font-family: var(--ff-base);
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.banner-meta span.dot { color: #9fc4e3; font-weight: 400; }
/* 平板区间：压低 banner 高度并左移焦点，露出整幅武汉天际线（黄鹤楼 + 长江大桥 + 光谷）
   注意：媒体查询放在基础 .banner 规则之后，避免被后续同特异性规则覆盖 */
@media (min-width: 721px) and (max-width: 980px) {
  .banner { height: 250px; background-position: center 45%; }
}

@media (max-width: 720px) {
  /* 竖屏窄视口：全景图缩放到高度铺满，整幅天际线可见，横向焦点对准黄鹤楼+长江大桥 */
  .banner { height: 200px; background-position: 45% 42%; }
  .banner-meta { font-size: 15px; gap: 9px; }
}

/* 大屏：视口越宽，cover 的纵向裁切越狠，所以同步加高，保证「晚霞天空 + 黄鹤楼 + 长江大桥」都在画面内 */
@media (min-width: 1500px) {
  .banner { height: 370px; }
}
@media (min-width: 2200px) {
  .banner { height: 400px; }
}

/* ---- Homepage hero CTA (banner only) ---- */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}
.hero-cta a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ff-base);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .3px;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: var(--shadow-md);
}
.hero-cta a:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.hero-cta a svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(135deg, #ffd75e 0%, #f2b600 100%); color: #3a2a00; }
.btn-primary:hover { background: linear-gradient(135deg, #ffe082 0%, #ffc233 100%); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.7); box-shadow: none; }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
@media (max-width: 720px) {
  .hero-cta { gap: 10px; margin-bottom: 12px; }
  .hero-cta a { font-size: 14px; padding: 10px 18px; }
}

/* ===================== Main page (white card on gray bg) ===================== */
.page {
  max-width: var(--max-w);
  margin: 30px auto 40px;
  padding: 36px 38px 52px;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 4px 16px rgba(15, 36, 64, 0.05);
}
@media (max-width: 720px) { .page { margin: 14px 8px 24px; padding: 22px 18px 30px; } }

/* Page tag (kicker) */
.page .tag {
  color: var(--c-muted);
  font-family: var(--ff-base);
  font-size: 15px;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

/* Breadcrumb (Home › Current) */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-base);
  font-size: 14px;
  color: var(--c-muted);
  margin-bottom: 10px;
  letter-spacing: .3px;
}
.breadcrumb a { color: var(--c-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-primary); text-decoration: none; }
.breadcrumb .sep { color: #b6c2d1; }
.breadcrumb .cur { color: var(--c-text-light); font-weight: 600; }

/* H1 */
.page h1 {
  font-family: var(--ff-base);
  color: var(--c-primary);
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--c-primary);
  letter-spacing: 1px;
  line-height: 1.35;
}

/* H2 */
.page h2 {
  font-family: var(--ff-base);
  color: var(--c-primary);
  font-size: 24px;
  font-weight: 700;
  margin: 36px 0 14px;
  padding: 6px 0 6px 14px;
  border-left: 5px solid var(--c-primary);
  background: linear-gradient(90deg, rgba(7,104,172,0.09), rgba(7,104,172,0));
  letter-spacing: 0.5px;
  line-height: 1.45;
}

/* H3 */
.page h3 {
  font-family: var(--ff-base);
  color: var(--c-primary-dark);
  font-size: 19px;
  font-weight: 700;
  margin: 22px 0 9px;
}

.page p { margin-bottom: 14px; }
.page ul, .page ol { margin-bottom: 16px; }
.page li { margin-bottom: 8px; }

/* ===================== Home hero block ===================== */
.hero-block {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  padding: 24px 28px;
  margin: 20px 0 30px;
}
.hero-block .conf-title {
  font-family: var(--ff-base);
  font-size: 25px;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 8px;
  line-height: 1.45;
}
.hero-block .conf-en {
  font-family: var(--ff-base);
  color: var(--c-text-light);
  font-size: 15px;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}
.hero-block .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-family: var(--ff-base);
  color: var(--c-text);
  font-size: 16px;
}
.hero-block .meta b { color: var(--c-primary); margin-right: 4px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}
@media (max-width: 720px) { .cards { grid-template-columns: 1fr; } }
.card {
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-primary);
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin: 0 0 9px; font-size: 18px; }
.card p { margin: 0; color: var(--c-text-light); font-size: 16px; }

/* ---- Homepage: lede ---- */
.home-lede { font-size: 18px; color: var(--c-text); line-height: 1.95; }
.home-lede b { color: var(--c-primary); }

/* ---- Homepage: key dates strip + countdown ---- */
.dates-strip {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: stretch;
  margin: 8px 0 6px;
}
@media (max-width: 860px) { .dates-strip { grid-template-columns: 1fr; } }
.countdown {
  background: var(--grad-primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.countdown .cd-label {
  font-size: 15px;
  letter-spacing: .5px;
  opacity: .92;
  margin-bottom: 14px;
}
.countdown .cd-tiles { display: flex; gap: 10px; }
.countdown .cd-tile {
  flex: 1;
  background: rgba(255,255,255,.14);
  border-radius: var(--radius-sm);
  padding: 10px 4px;
  text-align: center;
}
.countdown .cd-num {
  display: block;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.countdown .cd-unit { display: block; font-size: 12px; opacity: .85; margin-top: 3px; }
.countdown .cd-date { margin-top: 14px; font-size: 14px; opacity: .9; }

.date-chips { display: flex; flex-direction: column; gap: 10px; }
.date-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 12px 16px;
}
.date-chip:hover { border-color: var(--c-primary); box-shadow: var(--shadow-sm); transform: translateX(2px); }
.date-chip .dc-date {
  font-weight: 700;
  color: var(--c-primary);
  font-size: 16px;
  min-width: 128px;
  font-variant-numeric: tabular-nums;
}
.date-chip .dc-desc { color: var(--c-text); font-size: 15px; }
.date-chip .dc-badge {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: #3a2a00;
  background: var(--c-gold);
  border-radius: 999px;
  padding: 3px 11px;
  white-space: nowrap;
}
.date-chip.is-next { border-color: var(--c-gold-dark); background: #fffdf3; }
.date-chip.is-passed { opacity: .58; }
.date-chip.is-passed .dc-badge { background: #e5e7eb; color: #6b7280; }
@media (max-width: 520px) {
  .date-chip { flex-wrap: wrap; }
  .date-chip .dc-date { min-width: 0; }
  .date-chip .dc-badge { margin-left: 0; }
}

/* ---- Homepage: features grid ---- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 6px 0 4px;
}
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }
.feature {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe0ef; }
.feature .fi {
  width: 52px; height: 52px;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(7,104,172,.10);
  color: var(--c-primary);
}
.feature .fi svg { width: 26px; height: 26px; }
.feature h3 { margin: 0 0 6px; font-size: 17px; color: var(--c-primary-dark); }
.feature p { margin: 0; font-size: 14.5px; color: var(--c-text-light); line-height: 1.7; }

/* ===================== Dates / contact lists ===================== */
.dl-list, .contact-list { border-top: 1px solid var(--c-border); }
.dl-list .row, .contact-list .row {
  display: flex;
  border-bottom: 1px solid var(--c-border);
  padding: 14px 0;
}
.dl-list .row .date,
.contact-list .row .k {
  width: 220px;
  font-family: var(--ff-base);
  color: var(--c-primary);
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
}
.contact-list .row .k { width: 160px; }
.dl-list .row .desc, .contact-list .row .v { color: var(--c-text); font-family: var(--ff-base); }
@media (max-width: 600px) {
  .dl-list .row, .contact-list .row { flex-direction: column; }
  .dl-list .row .date, .contact-list .row .k { width: auto; margin-bottom: 2px; }
}

/* ===================== Committee ===================== */
.cm-group {
  margin-bottom: 16px;
  padding: 18px 20px;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.cm-group:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cm-group .cm-role {
  font-family: var(--ff-base);
  color: var(--c-primary);
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.cm-group .cm-role::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 2px;
  background: var(--c-gold);
  box-shadow: inset 0 0 0 1.5px rgba(180,83,9,.35);
}
.cm-group .cm-members { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cm-group .cm-members .m {
  margin: 0;
  display: block;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
}
.cm-group .cm-members .m b { color: var(--c-text); font-family: var(--ff-base); font-weight: 700; display: block; margin-bottom: 4px; font-size: 15px; }
.cm-group .cm-members .m .m-aff { color: var(--c-text-light); font-size: 13px; font-family: var(--ff-base); }
.cm-group .cm-members .m .avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; margin-bottom: 10px; background: #dce8f3; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #0768ac; font-size: 20px; }
.cm-group .cm-members .m .avatar img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .cm-group .cm-members { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cm-group .cm-members { grid-template-columns: 1fr; }
}

/* ===================== Tables (fees / program) ===================== */
table.fees-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 18px;
  font-family: var(--ff-base);
}
table.fees-table th, table.fees-table td {
  border: 1px solid var(--c-border);
  padding: 12px 14px;
  text-align: center;
  font-size: 16px;
}
table.fees-table th {
  background: var(--c-primary);
  color: #fff;
  font-weight: 700;
  font-family: var(--ff-base);
  font-size: 16px;
  letter-spacing: 0.5px;
}
table.fees-table td:first-child {
  text-align: left;
  font-weight: 700;
  font-family: var(--ff-base);
  color: var(--c-text);
}

table.prog-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 18px;
  font-family: var(--ff-base);
}
table.prog-table th, table.prog-table td {
  border: 1px solid var(--c-border);
  padding: 11px 14px;
  font-size: 16px;
  vertical-align: top;
}
table.prog-table th {
  background: var(--c-primary);
  color: #fff;
  font-weight: 700;
  font-family: var(--ff-base);
  letter-spacing: 0.5px;
  text-align: left;
}
table.prog-table td.time {
  width: 190px;
  font-family: var(--ff-base);
  color: var(--c-primary);
  font-weight: 700;
  white-space: nowrap;
}
table.prog-table tbody tr:nth-child(even) { background: var(--c-bg-soft); }
@media (max-width: 600px) {
  table.prog-table td.time { width: auto; font-size: 14px; }
}

/* ===================== Topic groups ===================== */
.topic-group { margin-bottom: 16px; }
.topic-group .tg-title {
  font-family: var(--ff-base);
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 8px;
  font-size: 18px;
}
.topic-group ul { margin-top: 0; }

/* ===================== Submission page ===================== */
.template-box {
  border: 1px solid var(--c-border);
  background: var(--c-bg-soft);
  padding: 20px 24px;
  margin: 18px 0 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.template-box .desc { color: var(--c-text); font-size: 16px; }
.template-box .desc b { color: var(--c-primary); font-family: var(--ff-base); }
.template-box .btn {
  background: var(--c-primary);
  color: #fff;
  padding: 11px 24px;
  font-size: 16px;
  font-family: var(--ff-base);
  font-weight: 700;
  border-radius: 3px;
  display: inline-block;
  letter-spacing: 0.5px;
}
.template-box .btn:hover { background: var(--c-primary-dark); text-decoration: none; }

.note-box {
  border: 1px solid #f0c674;
  background: #fff8e6;
  padding: 15px 20px;
  color: #8a6d2a;
  font-size: 16px;
  font-family: var(--ff-base);
  margin: 18px 0;
}

/* ===================== Speakers ===================== */
.speaker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 16px 0 12px;
}
@media (max-width: 720px) { .speaker-grid { grid-template-columns: 1fr; } }
.speaker-card {
  border: 1px solid var(--c-border);
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.speaker-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe0ef; }
.speaker-card .sp-avatar {
  width: 128px; height: 128px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--grad-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 4px rgba(7,104,172,.10);
}
.speaker-card .sp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.speaker-card .sp-avatar svg { width: 58px; height: 58px; opacity: .9; }
.speaker-card .sp-avatar .sp-initials { font-size: 40px; font-weight: 800; letter-spacing: 1px; }
.speaker-card .sp-name {
  font-family: var(--ff-base);
  font-weight: 700;
  color: var(--c-primary);
  font-size: 19px;
  margin-bottom: 6px;
  line-height: 1.35;
}
.speaker-card .sp-aff {
  font-family: var(--ff-base);
  font-size: 15px;
  color: var(--c-text-light);
  line-height: 1.6;
}
.speaker-card .sp-topic {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--ff-base);
  font-size: 13.5px;
  color: var(--c-primary-dark);
  background: rgba(7,104,172,.08);
  border: 1px solid rgba(7,104,172,.16);
  border-radius: 999px;
  padding: 5px 13px;
  line-height: 1.5;
}

/* ===================== Numbered steps (registration flow) ===================== */
.steps { margin: 18px 0 26px; counter-reset: st; }
.step {
  position: relative;
  border-left: 4px solid var(--c-primary);
  background: var(--c-bg-soft);
  padding: 14px 18px 14px 54px;
  margin-bottom: 12px;
}
.step::before {
  counter-increment: st;
  content: counter(st);
  position: absolute;
  left: 16px;
  top: 14px;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  background: var(--c-primary);
  color: #fff;
  font-family: var(--ff-base);
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
}
.step .st-t {
  font-family: var(--ff-base);
  color: var(--c-primary);
  font-weight: 700;
  margin-bottom: 3px;
  font-size: 18px;
}
.step .st-d { font-size: 16px; color: var(--c-text); }

/* ===================== Program schedule ===================== */
.prog-day {
  font-family: var(--ff-base);
  color: var(--c-primary);
  font-size: 20px;
  font-weight: 700;
  margin: 30px 0 10px;
  padding: 6px 0 6px 14px;
  border-left: 5px solid var(--c-primary);
  background: linear-gradient(90deg, rgba(7,104,172,0.09), rgba(7,104,172,0));
}

/* ===================== Download cards ===================== */
.dl-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 18px 0 24px;
}
@media (max-width: 720px) { .dl-cards { grid-template-columns: 1fr; } }
.dl-item {
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-primary);
  background: #fff;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dl-item .t {
  font-family: var(--ff-base);
  color: var(--c-primary);
  font-weight: 700;
  font-size: 18px;
}
.dl-item .d {
  font-size: 15px;
  color: var(--c-text-light);
  flex: 1;
}
.dl-item .btn {
  align-self: flex-start;
  background: var(--c-primary);
  color: #fff;
  padding: 9px 20px;
  font-size: 15px;
  font-family: var(--ff-base);
  font-weight: 700;
  border-radius: 3px;
}
.dl-item .btn:hover { background: var(--c-primary-dark); text-decoration: none; }
.dl-item .btn-disabled {
  align-self: flex-start;
  border: 1px dashed var(--c-border);
  color: var(--c-muted);
  padding: 8px 18px;
  font-size: 15px;
  font-family: var(--ff-base);
}

/* ===================== Info boxes (More page) ===================== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 16px 0 20px;
}
@media (max-width: 720px) { .info-grid { grid-template-columns: 1fr; } }
.info-box {
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-primary);
  background: var(--c-bg-soft);
  padding: 16px 18px;
}
.info-box .ib-t {
  font-family: var(--ff-base);
  color: var(--c-primary);
  font-weight: 700;
  margin-bottom: 7px;
  font-size: 18px;
}
.info-box .ib-b { font-size: 16px; color: var(--c-text); }

/* ===================== Footer (dark, multi-column) ===================== */
.site-footer {
  background: #0a2740;
  color: #b9cbdd;
  font-family: var(--ff-base);
  font-size: 15px;
  line-height: 1.8;
  margin-top: 10px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 44px 28px 26px;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  gap: 32px;
}
.footer-brand .fb-mark { font-size: 26px; font-weight: 800; color: #fff; letter-spacing: 1px; }
.footer-brand .fb-mark span { color: var(--c-gold); font-size: 16px; font-weight: 700; margin-left: 6px; }
.footer-brand .fb-name { margin-top: 10px; color: #dce8f3; font-weight: 600; }
.footer-brand .fb-desc { margin-top: 10px; color: #8fa6bd; font-size: 14px; line-height: 1.75; }
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: .5px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255,215,94,.5);
  display: inline-block;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #b9cbdd; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-col .fi-row { display: flex; gap: 8px; color: #b9cbdd; margin-bottom: 9px; }
.footer-col .fi-row b { color: #dce8f3; font-weight: 600; flex-shrink: 0; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 28px 30px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: space-between;
  color: #7f97b0;
  font-size: 13.5px;
}
.footer-bottom a { color: #9db4cb; }
@media (max-width: 900px) { .footer-cols { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 560px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-inner { padding: 34px 20px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
/* legacy single-line footer kept harmless */
.site-footer .line { margin: 3px 0; }

/* v2 motion policy: only restrained hover transitions + one-time fade-in.
   No carousels, parallax, or looping animation. See prefers-reduced-motion block. */
/* ===================== CFP: scope, definition, focus areas & topics ===================== */
.def-box {
  border-left: 4px solid var(--c-primary);
  background: rgba(7,104,172,.07);
  padding: 18px 22px;
  margin: 20px 0 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.def-box .def-label {
  font-family: var(--ff-base);
  font-weight: 700;
  color: var(--c-primary);
  font-size: 16px;
  letter-spacing: .3px;
  margin-bottom: 6px;
}
.def-box p { margin: 0; font-size: 17px; color: var(--c-text); line-height: 1.85; }

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 18px 0 24px;
}
@media (max-width: 900px) { .focus-grid { grid-template-columns: 1fr; } }
.focus-card {
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-primary);
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.focus-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.focus-card .fc-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-primary-dark);
  background: rgba(7,104,172,.10);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
  letter-spacing: .5px;
}
.focus-card .fc-t { font-family: var(--ff-base); font-weight: 700; color: var(--c-primary-dark); font-size: 18px; margin-bottom: 6px; }
.focus-card .fc-d { font-size: 15px; color: var(--c-text-light); line-height: 1.7; }

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 18px 0 24px;
}
@media (max-width: 1080px) { .topics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .topics-grid { grid-template-columns: 1fr; } }
.topic-card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px 18px 14px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.topic-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfe0ef; }
.topic-card .tc-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.topic-card .tc-num {
  font-family: var(--ff-base);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: var(--grad-primary);
  border-radius: 6px;
  padding: 2px 7px;
  margin-top: 2px;
  flex-shrink: 0;
  letter-spacing: .5px;
}
.topic-card h3 { margin: 0; font-size: 16px; font-family: var(--ff-base); color: var(--c-primary-dark); line-height: 1.4; }
.topic-card ul { margin: 0; padding-left: 18px; }
.topic-card li { margin-bottom: 5px; font-size: 14px; color: var(--c-text-light); line-height: 1.6; }

.attend-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  margin: 12px 0 18px;
  padding-left: 0;
  list-style: none;
}
@media (max-width: 640px) { .attend-list { grid-template-columns: 1fr; } }
.attend-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 16px;
  color: var(--c-text);
}
.attend-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-primary);
  opacity: .55;
}
/* ===================== Sponsors page ===================== */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 18px 0 24px;
}
@media (max-width: 900px) { .sponsor-grid { grid-template-columns: 1fr; } }
.sponsor-card {
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-primary);
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.sponsor-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.sponsor-card .sp-logo {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-base);
  font-weight: 800;
  font-size: 20px;
  color: var(--c-primary);
  background: var(--c-bg-soft);
  border: 1px dashed var(--c-border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.sponsor-card .sp-logo.ph { color: var(--c-muted); font-weight: 700; font-size: 16px; }
.sponsor-card .sp-name { font-family: var(--ff-base); font-weight: 700; color: var(--c-primary-dark); font-size: 17px; margin-bottom: 6px; }
.sponsor-card .sp-desc { font-size: 14.5px; color: var(--c-text-light); line-height: 1.7; }
.sponsor-card .sp-logo.has-img { border-style: solid; border-color: #eef2f7; background: #fff; }
.sponsor-card .sp-logo img { max-height: 56px; max-width: 88%; object-fit: contain; }
