﻿/* ========== CSS Variables ========== */
:root {
  --primary: #111111;
  --primary-light: #555555;
  --accent: #0056b3;
  --accent-light: #3380cc;
  --bg: #ffffff;
  --bg-light: #f9fafb;
  --bg-muted: #f3f4f6;
  --text: #222222;
  --text-light: #6b7280;
  --text-white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.08);
  --radius: 6px;
  --radius-sm: 4px;
  --transition: 0.2s ease;
  --sans: 'Times New Roman', serif;
  --heading: 'Times New Roman', serif;
  --sidebar-width: 220px;
  color-scheme: light;
}

/* ========== Reset ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* English default: Times New Roman */
html[lang="en"] body { font-family: 'Times New Roman', serif; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3,
html[lang="en"] .navbar-brand, html[lang="en"] .hero-subtitle,
html[lang="en"] .stat-count, html[lang="en"] .page-header h1 {
  font-family: 'Times New Roman', serif;
}

/* Chinese: SimSun / 宋体 */
html[lang="zh"] body { font-family: 'SimSun', '宋体', 'Times New Roman', serif; }
html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3,
html[lang="zh"] .navbar-brand, html[lang="zh"] .hero-subtitle,
html[lang="zh"] .stat-count, html[lang="zh"] .page-header h1 {
  font-family: 'SimSun', '宋体', 'Times New Roman', serif;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ========== Container ========== */
.container {
  width: 100%;
  max-width: 930px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 56px 0; }

/* ========== 首页延期提醒胶囊 ========== */
.extension-banner {
  padding: 20px 0 0;
  text-align: center;
}
.extension-capsule {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  background: #fdf3d0;
  border: 1px solid #ecd9a0;
  color: #7a5c14;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}
.extension-capsule:hover {
  background: #fbeebc;
  border-color: #d9c07a;
  transform: translateY(-2px);
}
.ext-capsule-badge {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: #b8860b;
  border-radius: 999px;
  padding: 3px 9px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ========== Navbar: Left Sidebar ========== */
.navbar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  background: var(--bg);
  border-right: 1px solid var(--border);
  z-index: 100;
  overflow: hidden;
}

.navbar-brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  padding: 22px 24px 20px;
  text-decoration: none;
  text-align: center;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.navbar-brand:hover { text-decoration: none; }

/* Actual transparent PNG: the page background shows through the artwork. */
.conference-logo {
  position: relative;
  display: block;
  width: 172px;
  aspect-ratio: 1606 / 979;
  overflow: hidden;
  border-radius: 0;
  flex-shrink: 0;
}
.conference-logo img {
  position: static;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.brand-label { display: none; }

.navbar-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 12px 12px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
}

.navbar-links a {
  display: block;
  padding: 7px 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
  border-left: 2px solid transparent;
  border-radius: var(--radius-sm);
  line-height: 1.6;
}

.navbar-links a:hover {
  background: var(--bg-light);
  color: var(--text);
  text-decoration: none;
  border-left-color: var(--border);
}

.navbar-links a.active {
  background: var(--bg-light);
  color: var(--primary);
  font-weight: 600;
  border-left-color: var(--primary);
}

.lang-item { padding: 18px 0 0; margin-top: auto; }

.lang-switcher {
  background: none;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
  width: 100%;
  text-align: center;
  min-height: 36px;
}

.lang-switcher:hover { background: var(--bg-light); color: var(--text); }

.menu-toggle { display: none; }

/* Push content right of sidebar */
main {
  margin-left: var(--sidebar-width);
  flex: 1;
  min-width: 0;
}

.footer {
  margin-left: var(--sidebar-width);
}

/* ========== Hero Banner ========== */
.hero {
  position: relative;
  width: 100%;
  height: clamp(300px, 28vw, 420px);
  background: url('../img/background.jpg') center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-bottom: none;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(17,17,17,0.32), rgba(17,17,17,0.30) 55%, rgba(17,17,17,0.42));
  z-index: 1;
}

.hero h1,
.hero .btn,
.hero .hero-actions {
  position: relative;
  z-index: 2;
  color: #ffffff !important;
}
.hero p,
.hero span,
.hero .hero-subtitle,
.hero .hero-info {
  position: relative;
  z-index: 2;
}

.hero .btn-primary {
  background: var(--primary);
  color: #fff !important;
}

.hero .btn-primary:hover {
  background: #333;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 64px 24px;
  max-width: 720px;
  text-align: center;
}

.hero h1 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 24px;
  font-style: italic;
}

.hero-info {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 15px;
  margin-bottom: 32px;
}

.hero-info span { display: flex; align-items: center; gap: 6px; }

.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* Overlay conference text on hero */
.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  width: 100%;
  padding: 28px 24px;
}

/* Retain the original gold conference title and white supporting text. */
.hero .logo-classic {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  margin: 0 0 22px;
  font-size: inherit;
}
.logo-title {
  font-family: "Times New Roman", Georgia, serif;
  font-weight: 700;
  font-size: clamp(36px, 3.4vw, 48px);
  color: #ffd700 !important;
  letter-spacing: 5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.logo-year {
  font-family: "Times New Roman", Georgia, serif;
  font-weight: 700;
  font-size: 22px;
  color: #fff !important;
  letter-spacing: 6px;
  margin-top: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.hero-conf {
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
  color: rgba(255,255,255,0.95) !important;
  margin: 0 auto 16px;
  max-width: 660px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 5px rgba(0,0,0,0.4);
}
.hero-date {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.9) !important;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 5px rgba(0,0,0,0.4);
}

/* One shared rhythm for headings and content throughout the site. */
.container > .section { padding: 40px 0; }
.container > .section + .section { padding-top: 0; }
.container > .section:last-child { padding-bottom: 56px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-white);
}

.btn-primary:hover {
  background: #333333;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--bg-light);
  border-color: var(--primary);
  text-decoration: none;
}

.btn-lg { padding: 12px 32px; font-size: 16px; }

.submission-closed {
  display: inline-block;
  margin: 0;
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-light);
  font-weight: 600;
}

/* ========== Stats Bar ========== */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 32px 24px;
  margin: -32px auto 0;
  max-width: 760px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  z-index: 2;
}

.stat-item { text-align: center; }

.stat-icon { font-size: 28px; margin-bottom: 4px; }

.stat-count {
  font-family: var(--heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

.stat-label { font-size: 13px; color: var(--text-light); margin-top: 2px; }

/* ========== Page Header ========== */
.page-header {
  text-align: center;
  padding: 30px 24px 26px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-family: var(--heading);
  font-size: 30px;
  color: var(--primary);
  margin-bottom: 0;
  line-height: 1.4;
}

.page-header p { font-size: 16px; color: var(--text-light); max-width: 560px; margin: 8px auto 0; }

/* ========== Accepted Papers ========== */
.accepted-papers-section { padding: 32px 0 56px; }

.accepted-papers-list {
  margin: 0;
  padding-left: 2rem;
  color: var(--primary);
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.25;
}

.accepted-papers-list li {
  margin-bottom: 24px;
  padding-left: 0.2em;
  overflow-wrap: break-word;
}

.accepted-papers-list li:last-child { margin-bottom: 0; }
.accepted-papers-list li::marker { font-weight: 400; }

.accepted-papers-list .paper-title {
  display: block;
  font-weight: 700;
}

.accepted-papers-list .paper-authors { margin-top: 2px; }
.accepted-papers-list sup { font-size: 0.7em; line-height: 0; }

/* ========== Typography ========== */
h2 {
  font-family: var(--heading);
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 16px;
}

h3 {
  font-size: 17px;
  color: var(--primary);
  margin-bottom: 8px;
}

.intro-text {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
  text-align: justify;
  text-indent: 2em;
}

/* ========== Topics Grid ========== */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.topic-tag {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
}

.topic-tag:hover { background: var(--bg-light); border-color: var(--text-light); }

/* ========== Dates Timeline ========== */
.dates-timeline { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }

.date-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: var(--transition);
}

.date-item:hover { background: var(--bg-light); }

.date-item.highlight { border-color: var(--primary); background: var(--bg-light); }

.date-icon { font-size: 20px; }

.date-info { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }

.date-info strong { font-size: 15px; color: var(--primary); }

.date-info span { font-size: 14px; color: var(--text-light); }

.date-ext { font-size: 12px; color: var(--accent); font-style: normal; margin-left: 4px; }

/* 延期日期：旧日期划线 + 新日期 + 延期标签 */
.date-info .date-strike {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: line-through;
  opacity: 0.65;
}
.date-info .date-new {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}
.date-info .date-ext-badge {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #8a6d1a;
  background: #fdf3d0;
  border: 1px solid #ecd9a0;
  border-radius: 999px;
  padding: 3px 9px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  align-self: center;
}

/* ========== Guidelines List ========== */
.guidelines-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  padding-left: 20px;
  list-style: disc;
}

.guidelines-list li {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
}

/* ========== Schedule Table ========== */
.schedule-table-wrapper { overflow-x: auto; margin-top: 12px; }

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.schedule-table thead { background: var(--bg-light); }

.schedule-table th {
  padding: 10px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--border);
}

.schedule-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.schedule-table tbody tr:hover { background: var(--bg-light); }

.time-col { color: var(--text-light); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ========== Speakers Detail ========== */
.speaker-detail {
  display: flex;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 20px;
  background: var(--bg);
  transition: var(--transition);
}

.speaker-detail:hover { box-shadow: var(--shadow); }

.speaker-detail-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.speaker-detail-info { flex: 1; }

.speaker-detail-info h3 { font-size: 18px; color: var(--primary); margin-bottom: 4px; }

.speaker-affiliation { font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 10px; }

.speaker-title { font-size: 14px; color: var(--primary); font-weight: 600; margin-bottom: 10px; font-style: italic; }

.speaker-abstract, .speaker-bio {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 10px;
}

/* ========== News List ========== */
.news-list { display: flex; flex-direction: column; gap: 0; margin-top: 12px; }

.news-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--bg-light);
  transition: var(--transition);
}

.news-list-item:hover { background: var(--bg-light); padding-left: 8px; padding-right: 8px; margin: 0 -8px; border-radius: var(--radius-sm); }

.news-list-item a {
  font-size: 15px;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
}

.news-list-item a:hover { color: var(--accent); text-decoration: underline; }

.news-date { font-size: 13px; color: var(--text-light); white-space: nowrap; margin-left: 16px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }

.pagination a, .pagination span {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  text-decoration: none;
  color: var(--text);
}

.pagination a:hover { background: var(--bg-light); }

.pagination .current { background: var(--primary); color: var(--text-white); border-color: var(--primary); }

.pagination .disabled { color: var(--border); }

/* ========== News Detail ========== */
.news-detail { max-width: 720px; margin: 0 auto; }

.news-detail h2 { font-family: var(--heading); font-size: 28px; color: var(--primary); margin-bottom: 8px; }

.news-detail-meta { font-size: 14px; color: var(--text-light); margin-bottom: 20px; }

.news-detail-body { font-size: 16px; color: var(--text); line-height: 1.9; }

.news-detail-body p { margin-bottom: 14px; }

.news-detail-body img { margin: 16px 0; border-radius: var(--radius-sm); }

.news-back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.news-back-link:hover { text-decoration: underline; }

/* ========== Registration Form ========== */
.registration-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label { font-size: 14px; font-weight: 600; color: var(--primary); }

.required { color: #dc2626; }

.form-group input, .form-group select, .form-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--sans);
  background: var(--bg);
  transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,86,179,0.1);
}

.success-message { text-align: center; padding: 48px 24px; }

/* ========== Contact ========== */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 0; margin-bottom: 48px; }

.contact-card {
  text-align: center;
  padding: 28px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: var(--transition);
}

.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.contact-card h3 { font-size: 15px; color: var(--primary); margin-bottom: 6px; }

.contact-card p { font-size: 14px; color: var(--text-light); word-break: break-all; }

/* ========== Footer ========== */
.footer {
  margin-top: 0;
  padding: 26px 24px;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-content { max-width: 560px; margin: 0 auto; }

.footer p { font-size: 14px; color: var(--text-light); }

.footer-organizer { margin-top: 6px; font-size: 13px; color: var(--text-light); white-space: pre-line; }

/* ========== Overview Section ========== */
.overview h2 { text-align: center; }
.overview { padding: 44px 0 48px; }
.overview h2 { font-size: 28px; margin-bottom: 20px; }

.overview p {
  max-width: 720px;
  margin: 0 auto;
  text-align: justify;
  line-height: 1.9;
  font-size: 17px;
}

.home-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  max-width: 720px;
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.home-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  font-size: 15px;
}
.home-links a::after { content: '\2192'; font-size: 16px; }

/* ========== Responsive ========== */
@media (max-width: 960px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: 26px; }
  .hero-subtitle { font-size: 17px; }
  .hero-info { flex-direction: column; gap: 8px; align-items: center; }
  .stats-bar { flex-wrap: wrap; gap: 24px; margin: -24px 16px 0; }
  .topics-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 28px; }
  .news-list-item { flex-direction: column; align-items: flex-start; gap: 4px; }
  .news-date { margin-left: 0; }

  /* Sidebar → top bar */
  .navbar {
    position: sticky;
    top: 0;
    left: auto;
    bottom: auto;
    width: 100%;
    height: 64px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-right: none;
    border-bottom: 1px solid var(--border);
    overflow: visible;
  }
  .navbar-brand {
    padding: 0;
    border-bottom: none;
    font-size: 18px;
  }
  .conference-logo { width: 46px; aspect-ratio: 1100 / 710; }
  .conference-logo img {
    position: absolute;
    width: 146%;
    max-width: none;
    left: -25%;
    top: -11%;
  }
  .brand-label { display: inline; font-size: 17px; }
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--text);
    padding: 6px 10px;
    min-width: 44px;
    min-height: 44px;
    border-radius: var(--radius-sm);
  }
  .menu-icon { font-size: 20px; }
  .navbar-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    bottom: 0;
    width: min(280px, 100%);
    background: var(--bg);
    flex-direction: column;
    padding: 12px;
    border-right: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 99;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .navbar-links.open { display: flex; }
  .navbar-links a {
    padding: 10px 16px;
    width: 100%;
    border-left: 2px solid transparent;
    min-height: 44px;
  }
  .navbar-links a.active {
    background: var(--bg-light);
    border-left-color: var(--primary);
  }
  .lang-item { margin-top: auto; padding: 16px 0 0; }

  main { margin-left: 0; }
  .footer { margin-left: 0; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 22px; }
  .hero { height: 300px; }
  .hero-overlay { padding: 28px 20px; }
  .hero-conf { font-size: 17px; max-width: 360px; }
  .hero-date { font-size: 14px; letter-spacing: 0; }
  .logo-title { font-size: 36px; }
  .hero-info { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .stats-bar { flex-direction: column; margin: -20px 12px 0; }
  .speaker-detail { flex-direction: column; align-items: flex-start; padding: 20px; }
  .speaker-detail-avatar { width: 44px; height: 44px; font-size: 16px; }
  .org-aff { text-align: left; }
  .registration-form { padding: 20px; }
  .page-header { padding: 26px 20px 24px; }
  .page-header h1 { font-size: 24px; }
  .footer { margin-top: 0; }
  .news-detail h2 { font-size: 22px; }
  .section { padding: 40px 0; }
  .overview h2 { font-size: 25px; }
  .overview p { font-size: 16px; text-align: left; }
  .home-links { justify-content: flex-start; gap: 10px 24px; }
}

/* ========== Organization Cards ========== */
.org-section h2 {
  font-size: 18px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--sans);
  font-weight: 600;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.org-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 4px;
  background: var(--bg);
  transition: all 0.25s ease;
}

.org-card:hover {
  background: var(--bg-light);
  border-color: var(--text-light);
}

.org-card-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.org-card-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}

.org-card-aff {
  font-size: 14px;
  color: var(--text-light);
  text-align: right;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .org-card { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px; }
  .org-card-aff { text-align: left; }
}

/* Reveal prepared content after translation; navigation and banner stay steady. */
.page-loading main > :not(.hero) { visibility: hidden; }

@keyframes page-arrive {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-ready main > :not(.hero) {
  animation: page-arrive 220ms cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Registration and official payment access. */
.registration-access .intro-text { margin-bottom: 20px; }
.registration-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.registration-actions .btn { min-height: 48px; max-width: 100%; text-align: center; justify-content: center; white-space: normal; }
.registration-portal-link { text-decoration: underline; text-underline-offset: 4px; }
.registration-requirement { margin: 24px 0 0; padding: 18px 22px; border-left: 4px solid #a66f12; background: #fff6df; color: #63430b; font-size: 18px; line-height: 1.7; }
.registration-access a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@media (max-width: 640px) {
  .registration-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .registration-actions .btn { width: 100%; padding-inline: 16px; }
  .registration-requirement { padding: 16px; font-size: 17px; }
}

/* Hotel notices: readable text and clear separation between properties. */
.hotel-info .intro-text, .news-detail-body .intro-text { text-align: left; text-indent: 0; }
.hotel-entry { margin-top: 32px; }
.hotel-entry h3 { margin-bottom: 12px; }
.hotel-entry p { margin-top: 8px; }
.hotel-fx { margin-top: 28px; }
