/* ============================================================
   Asia Expo DB - Main Stylesheet
   new-connections.jp/expo/
   ============================================================ */

/* ===== Variables ===== */
:root {
  --primary: #1e3a5f;
  --primary-dark: #15293f;
  --accent: #c8961c;
  --accent-dark: #a87a16;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-warm: #fef9ec;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --text: #1f2937;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --success: #059669;
  --info: #0284c7;
  --warn: #d97706;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.08);
  --radius: 8px;
  --radius-lg: 12px;
}

/* ===== Reset / Base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Page-specific body backgrounds */
body.page-event,
body.page-country,
body.page-industry,
body.page-contact { background: var(--bg-soft); }

/* ============================================================
   Site Header
   ============================================================ */
.site-header {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.logo {
  font-weight: 700; font-size: 20px; color: var(--primary);
  display: flex; align-items: center; gap: 10px;
}
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--primary); color: white; font-size: 16px;
}
.logo-sub { font-size: 12px; color: var(--text-muted); font-weight: 400; }
.global-nav { display: flex; gap: 28px; font-size: 14px; }
.global-nav a { color: var(--text); font-weight: 500; }
.cta-header {
  background: var(--accent); color: white;
  padding: 8px 18px; border-radius: 6px; font-size: 14px; font-weight: 600;
}
.cta-header:hover { background: var(--accent-dark); color: white; text-decoration: none; }

/* ============================================================
   Hero (Top Page)
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2d4f7a 100%);
  color: white;
  padding: 72px 0 96px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 400'><circle cx='100' cy='100' r='60' fill='%23ffffff' opacity='0.04'/><circle cx='1100' cy='300' r='80' fill='%23ffffff' opacity='0.04'/><circle cx='600' cy='350' r='40' fill='%23ffffff' opacity='0.04'/></svg>") center/cover;
}
.hero .inner { position: relative; }
.hero-badge {
  display: inline-block; padding: 6px 14px; background: rgba(255,255,255,0.15);
  border-radius: 20px; font-size: 13px; margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero h1 {
  font-size: 40px; font-weight: 700; line-height: 1.4; margin-bottom: 16px;
}
.hero h1 strong { color: var(--accent); font-weight: 700; }
.hero p.lead {
  font-size: 17px; line-height: 1.8; opacity: 0.95;
  margin-bottom: 36px; max-width: 720px;
}

/* Search Box */
.search-box {
  background: white; border-radius: var(--radius-lg);
  padding: 20px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 12px; align-items: end;
}
.search-field { display: flex; flex-direction: column; gap: 6px; }
.search-field label {
  font-size: 12px; color: var(--text-muted);
  font-weight: 600; letter-spacing: 0.5px;
}
.search-field select, .search-field input {
  border: 1px solid var(--border); border-radius: 6px;
  padding: 12px 14px; font-size: 15px; font-family: inherit;
  background: white; color: var(--text);
}
.search-button {
  background: var(--accent); color: white; border: none;
  padding: 14px 28px; border-radius: 6px; font-size: 15px;
  font-weight: 600; cursor: pointer; height: 47px;
  display: flex; align-items: center; gap: 8px;
}
.search-button:hover { background: var(--accent-dark); }

.hero-stats { display: flex; gap: 36px; margin-top: 36px; flex-wrap: wrap; }
.hero-stat .num { font-size: 28px; font-weight: 700; color: var(--accent); line-height: 1; }
.hero-stat .label { font-size: 13px; opacity: 0.85; margin-top: 4px; }

/* ============================================================
   Sections
   ============================================================ */
section.block { padding: 72px 0; }
section.block.alt { background: var(--bg-soft); }
.section-head { margin-bottom: 36px; }
.section-head h2 {
  font-size: 28px; font-weight: 700; color: var(--primary);
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 12px;
}
.section-head h2::before {
  content: ""; display: inline-block; width: 4px; height: 28px;
  background: var(--accent); border-radius: 2px;
}
.section-head p { color: var(--text-muted); font-size: 15px; }
.section-head .more {
  float: right; font-size: 14px; color: var(--primary); font-weight: 500;
}

/* ============================================================
   Country Cards (Top Page)
   ============================================================ */
.country-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.country-card {
  background: white; border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 22px; cursor: pointer;
  transition: all 0.2s;
  display: flex; flex-direction: column; gap: 10px;
}
.country-card:hover {
  transform: translateY(-2px); box-shadow: var(--shadow);
  border-color: var(--accent); text-decoration: none;
}
.country-card .flag-name {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; color: var(--primary);
}
.country-card .flag {
  width: 32px; height: 24px; border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; background: var(--bg-soft); border: 1px solid var(--border);
}
.country-card .count { font-size: 13px; color: var(--text-muted); }
.country-card .count strong { color: var(--accent); font-size: 16px; }
.country-card .top-events {
  font-size: 12px; color: var(--text-light);
  margin-top: auto; padding-top: 8px;
  border-top: 1px dashed var(--border);
  line-height: 1.5;
}

/* ============================================================
   Industry Tags
   ============================================================ */
.industry-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; background: white;
  border: 1px solid var(--border); border-radius: 999px;
  font-size: 14px; color: var(--text); font-weight: 500;
  transition: all 0.15s;
}
.tag:hover {
  background: var(--primary); color: white;
  border-color: var(--primary); text-decoration: none;
}
.tag .count {
  font-size: 12px; color: var(--text-muted);
  background: var(--bg-soft); padding: 2px 8px; border-radius: 10px;
}
.tag:hover .count { background: rgba(255,255,255,0.2); color: white; }

/* ============================================================
   Event Cards (List)
   ============================================================ */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.event-card {
  background: white; border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  transition: all 0.2s;
  display: flex; flex-direction: column;
}
.event-card:hover {
  box-shadow: var(--shadow); border-color: var(--accent); text-decoration: none;
}
.event-card .img {
  background: linear-gradient(135deg, #eef2ff 0%, #ddd6fe 100%);
  height: 140px; position: relative;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 14px; font-weight: 600;
}
.event-card .country-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,0.95); padding: 4px 10px;
  border-radius: 4px; font-size: 12px; color: var(--primary); font-weight: 600;
}
.event-card .body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.event-card .title { font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.5; }
.event-card .meta { font-size: 13px; color: var(--text-muted); display: flex; flex-direction: column; gap: 2px; }
.event-card .meta-item { display: flex; gap: 6px; align-items: center; }
.event-card .industry { font-size: 12px; color: var(--accent); font-weight: 600; margin-top: auto; padding-top: 10px; }

/* ============================================================
   CTA Blocks
   ============================================================ */
.cta-block {
  background: linear-gradient(135deg, var(--primary) 0%, #2d4f7a 100%);
  color: white; padding: 56px 48px; border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta-block h2 { font-size: 26px; font-weight: 700; line-height: 1.5; margin-bottom: 12px; color: white; }
.cta-block h2::before { display: none; }
.cta-block p { font-size: 15px; opacity: 0.92; line-height: 1.8; }
.cta-block .btn-cta {
  background: var(--accent); color: white;
  padding: 16px 32px; border-radius: 6px;
  font-weight: 600; font-size: 16px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
}
.cta-block .btn-cta:hover { background: var(--accent-dark); color: white; text-decoration: none; }

/* Related country link (event page section 8) */
.related-country-link { display: flex; justify-content: center; padding: 16px 0; }
.btn-related-country {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: white;
  padding: 14px 28px; border-radius: 8px;
  font-weight: 600; font-size: 15px;
  border: 1px solid var(--primary);
}
.btn-related-country:hover { background: #2d4f7a; color: white; text-decoration: none; }

.esim-banner {
  background: white; border: 1px solid var(--border);
  border-left: 4px solid var(--success);
  padding: 24px; border-radius: var(--radius);
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 24px; align-items: center;
}
.esim-banner .icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: #ecfdf5; color: var(--success);
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.esim-banner h3 { font-size: 17px; color: var(--primary); margin-bottom: 4px; }
.esim-banner p { font-size: 13px; color: var(--text-muted); }
.esim-banner .btn {
  border: 1.5px solid var(--success); color: var(--success);
  padding: 10px 20px; border-radius: 6px; font-weight: 600; font-size: 14px;
}
.esim-banner .btn:hover { background: var(--success); color: white; text-decoration: none; }

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb { background: white; border-bottom: 1px solid var(--border); padding: 12px 0; font-size: 13px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb li { color: var(--text-muted); }
.breadcrumb li::after { content: "›"; margin-left: 8px; color: var(--text-light); }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb li:last-child { color: var(--text); font-weight: 500; }

/* ============================================================
   Event Hero (Event Page)
   ============================================================ */
.event-hero { background: white; border-bottom: 1px solid var(--border); padding: 36px 0; }
.event-hero .head-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.tag-pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.tag-country { background: #fef3c7; color: #92400e; }
.tag-industry { background: #dbeafe; color: #1e40af; }
.tag-status { background: #dcfce7; color: #166534; }
.event-hero h1 { font-size: 32px; font-weight: 700; color: var(--primary); line-height: 1.4; margin-bottom: 16px; }
.event-hero .alt-name { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.event-key-info {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: 20px; background: var(--bg-soft);
  border-radius: var(--radius); border: 1px solid var(--border);
}
.key-info-item .label { font-size: 11px; color: var(--text-muted); font-weight: 600; letter-spacing: 0.5px; margin-bottom: 4px; }
.key-info-item .value { font-size: 15px; font-weight: 600; color: var(--text); }

/* ============================================================
   Main Layout (Event Page with Sidebar)
   ============================================================ */
.main-layout {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 36px; padding: 36px 0; align-items: start;
}
.content { background: white; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.content section { margin-bottom: 40px; }
.content section:last-child { margin-bottom: 0; }
.content h2 {
  font-size: 22px; font-weight: 700; color: var(--primary);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: flex; align-items: center; gap: 8px;
}
.content h2 .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; background: var(--accent);
  color: white; font-size: 14px;
}
.content h3 { font-size: 17px; font-weight: 700; color: var(--text); margin: 20px 0 10px; }
.content p { margin-bottom: 12px; }
.content ul { margin: 0 0 12px 24px; }
.content li { margin-bottom: 6px; }

.detail-table { width: 100%; border-collapse: collapse; }
.detail-table th, .detail-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.detail-table th { background: var(--bg-soft); font-weight: 600; color: var(--primary); width: 30%; }
.detail-table td { color: var(--text); }

/* Trip.com CTA Box */
.cta-trip {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-lg); padding: 24px; margin: 16px 0;
}
.cta-trip .head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cta-trip .icon-box {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--info); color: white;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.cta-trip .head h3 { margin: 0; color: var(--primary); }
.cta-trip p { margin-bottom: 12px; color: var(--text-muted); font-size: 14px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-trip {
  background: var(--info); color: white; padding: 12px 20px;
  border-radius: 6px; font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-trip:hover { background: #0369a1; color: white; text-decoration: none; }
.btn-trip-outline {
  /* 東京ボタン (.btn-trip) と濃淡で差をつけたサブカラー：白地は視認性が低いため中間の青地に */
  background: #7dd3fc; color: #075985; padding: 12px 20px;
  border: 1.5px solid #7dd3fc; border-radius: 6px; font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-trip-outline:hover { background: #38bdf8; color: #0c4a6e; text-decoration: none; border-color: #38bdf8; }

/* eSIM CTA */
.cta-esim {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #6ee7b7;
  border-radius: var(--radius-lg); padding: 24px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
}
.cta-esim .icon-box { width: 48px; height: 48px; border-radius: 10px; background: var(--success); color: white; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.cta-esim h4 { font-size: 16px; color: var(--primary); margin-bottom: 4px; }
.cta-esim p { font-size: 13px; color: var(--text-muted); margin: 0; }
.btn-esim { background: var(--success); color: white; padding: 12px 20px; border-radius: 6px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.btn-esim:hover { background: #047857; color: white; text-decoration: none; }

/* Consult Form */
.consult-form {
  background: linear-gradient(135deg, var(--primary) 0%, #2d4f7a 100%);
  color: white; border-radius: var(--radius-lg); padding: 32px;
}
.consult-form h2 { color: white; border-bottom-color: var(--accent); }
.consult-form p { color: rgba(255,255,255,0.92); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-field label { display: block; font-size: 12px; color: rgba(255,255,255,0.85); margin-bottom: 4px; font-weight: 500; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1); border-radius: 6px;
  color: white; font-size: 14px; font-family: inherit;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(255,255,255,0.5); }
.form-field textarea { min-height: 90px; resize: vertical; }
.btn-submit {
  background: var(--accent); color: white; border: none;
  padding: 14px 28px; border-radius: 6px; font-weight: 600;
  font-size: 15px; cursor: pointer; margin-top: 16px;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-submit:hover { background: var(--accent-dark); }

/* Related Cards (Event Page) */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card { background: var(--bg-soft); padding: 16px; border-radius: var(--radius); border: 1px solid var(--border); transition: all 0.15s; }
.related-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); text-decoration: none; }
.related-card .cat { font-size: 11px; color: var(--accent); font-weight: 600; }
.related-card .ttl { font-size: 14px; font-weight: 600; color: var(--text); margin-top: 4px; line-height: 1.5; }
.related-card .meta { font-size: 11px; color: var(--text-muted); margin-top: 6px; }

/* ============================================================
   Sidebar (Event Page)
   ============================================================ */
.sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 16px; }
.side-block {
  background: white; border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.side-block h3 {
  font-size: 14px; font-weight: 700; color: var(--primary);
  margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.side-summary dl { display: grid; grid-template-columns: 80px 1fr; gap: 6px 12px; font-size: 13px; }
.side-summary dt { color: var(--text-muted); }
.side-summary dd { color: var(--text); font-weight: 500; }
.side-cta { background: linear-gradient(135deg, var(--accent) 0%, #d4a728 100%); color: white; padding: 20px; border-radius: var(--radius); }
.side-cta h3 { color: white; border-bottom-color: rgba(255,255,255,0.3); }
.side-cta p { font-size: 13px; opacity: 0.95; margin-bottom: 12px; line-height: 1.6; }
.side-cta .btn { display: block; background: white; color: var(--accent-dark); padding: 12px; border-radius: 6px; text-align: center; font-weight: 600; font-size: 14px; }
.side-cta .btn:hover { background: var(--bg-soft); text-decoration: none; }

.side-related { display: flex; flex-direction: column; gap: 10px; }
.side-event-item { display: flex; gap: 10px; padding: 8px; border-radius: 6px; transition: background 0.15s; }
.side-event-item:hover { background: var(--bg-soft); text-decoration: none; }
.side-event-item .date {
  flex-shrink: 0; width: 48px; text-align: center;
  background: var(--bg-soft); border-radius: 6px; padding: 6px 0;
}
.side-event-item .date .m { font-size: 10px; color: var(--text-muted); }
.side-event-item .date .d { font-size: 18px; font-weight: 700; color: var(--primary); line-height: 1; }
.side-event-item .info .ttl { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 2px; }
.side-event-item .info .loc { font-size: 11px; color: var(--text-muted); }

/* TOC */
.toc { font-size: 13px; }
.toc ol { list-style: none; padding: 0; }
.toc li { padding: 6px 0; border-bottom: 1px dashed var(--border); }
.toc li:last-child { border-bottom: none; }
.toc a { color: var(--text); display: block; }
.toc a:hover { color: var(--accent); }
.toc .num { color: var(--accent); font-weight: 700; margin-right: 6px; }

/* Affiliate Disclosure */
.affiliate-disclosure {
  font-size: 11px; color: var(--text-muted);
  background: var(--bg-warm); padding: 8px 12px;
  border-radius: 4px; margin-top: 8px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--primary-dark); color: rgba(255,255,255,0.85);
  padding: 56px 0 24px; margin-top: 80px;
}
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { font-size: 14px; color: white; margin-bottom: 16px; letter-spacing: 0.5px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; line-height: 1.5; }
.site-footer a { color: rgba(255,255,255,0.7); font-size: 13px; display: inline-block; line-height: 1.5; }
.site-footer a:hover { color: white; text-decoration: none; }
.footer-meta {
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px; color: rgba(255,255,255,0.5);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-brand { font-size: 18px; color: white; font-weight: 700; margin-bottom: 8px; }
.footer-desc { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.65); }

/* ============================================================
   Hub Pages (Country/City/Industry)
   ============================================================ */
.hub-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2d4f7a 100%);
  color: white; padding: 56px 0;
}
.hub-hero h1 { font-size: 36px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 16px; }
.hub-hero .flag-large { font-size: 48px; }
.hub-hero .lead { font-size: 16px; opacity: 0.9; max-width: 800px; margin-bottom: 24px; }
.hub-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hub-stat .num { font-size: 24px; font-weight: 700; color: var(--accent); }
.hub-stat .label { font-size: 12px; opacity: 0.85; margin-top: 2px; }

.hub-content { padding: 48px 0; }
.hub-section { margin-bottom: 48px; }
.hub-section h2 {
  font-size: 22px; font-weight: 700; color: var(--primary);
  margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

.event-list-table { width: 100%; border-collapse: collapse; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.event-list-table th, .event-list-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.event-list-table th { background: var(--bg-soft); font-weight: 600; color: var(--primary); }
.event-list-table tr:hover td { background: var(--bg-soft); }
.event-list-table .event-name a { color: var(--primary); font-weight: 600; }

/* ============================================================
   Guide Article
   ============================================================ */
.article-hero { padding: 36px 0; background: white; border-bottom: 1px solid var(--border); }
.article-hero .cat { font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: 0.5px; }
.article-hero h1 { font-size: 32px; font-weight: 700; color: var(--primary); line-height: 1.4; margin: 8px 0 12px; }
.article-hero .meta { font-size: 13px; color: var(--text-muted); display: flex; gap: 16px; }

.article-body { padding: 36px 0; max-width: 800px; margin: 0 auto; }
.article-body .content { padding: 36px; }
.article-body h2 { font-size: 22px; font-weight: 700; color: var(--primary); margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); }
.article-body h3 { font-size: 18px; font-weight: 700; margin: 24px 0 8px; }
.article-body p { margin-bottom: 14px; line-height: 1.85; }
.article-body ul, .article-body ol { margin: 0 0 14px 28px; }
.article-body li { margin-bottom: 6px; line-height: 1.7; }
.article-body blockquote { background: var(--bg-soft); border-left: 4px solid var(--accent); padding: 12px 18px; margin: 16px 0; color: var(--text-muted); }
.article-body code { background: var(--bg-soft); padding: 2px 6px; border-radius: 4px; font-size: 13px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.article-body th, .article-body td { padding: 10px 14px; border: 1px solid var(--border); text-align: left; }
.article-body th { background: var(--bg-soft); font-weight: 600; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 920px) {
  .country-grid, .events-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .search-box { grid-template-columns: 1fr 1fr; }
  .global-nav { display: none; }
  .hero h1 { font-size: 30px; }
  .cta-block { grid-template-columns: 1fr; }
  .main-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; order: 2; }
  .event-key-info { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .cta-esim { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 600px) {
  .country-grid, .events-grid, .related-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .search-box { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 64px; }
  .esim-banner { grid-template-columns: 1fr; text-align: center; }
  .event-hero h1 { font-size: 24px; }
  .content { padding: 24px 20px; }
  .hub-hero h1 { font-size: 26px; }
  .hub-hero .flag-large { font-size: 36px; }
}

/* ===== Archive banner (past events) ===== */
.archive-banner {
  background: #fef3f2;
  border-bottom: 1px solid #fecaca;
  padding: 14px 0;
  color: #991b1b;
  font-size: 14px;
  line-height: 1.6;
}
.archive-banner .container {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.archive-banner strong {
  color: #991b1b;
  font-weight: 700;
}
.archive-banner strong::before {
  content: '⏹  ';
}
.archive-banner a {
  color: #991b1b;
  text-decoration: underline;
  font-weight: 600;
}
.archive-banner a:hover { color: #7f1d1d; }

/* ===== Flight 4-airport grid (Trip.com 航空券 4都市) ===== */
.cta-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (max-width: 480px) {
  .cta-buttons-grid { grid-template-columns: 1fr; }
}
