/*
Theme Name: KBIE 2027 Bilingual
Theme URI: https://fjyunzhan.com/
Author: Quanzhou Yunzhan Exhibition Services Co., Ltd.
Description: Bilingual English/Chinese website for the 5th Fujian (Nan'an) Kitchen & Bath Expo 2027.
Version: 1.2.4
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: kbie-2027
*/

:root {
  --navy-950: #042c49;
  --navy-900: #053a5c;
  --navy-800: #075071;
  --blue-700: #126a97;
  --green-600: #2db33f;
  --green-500: #43c63a;
  --green-100: #e7f7e8;
  --white: #fff;
  --ink: #062f51;
  --text: #35536d;
  --muted: #667e92;
  --line: #d8e5ee;
  --mist: #f3f8fb;
  --shadow: 0 18px 48px rgba(4, 44, 73, .12);
  --radius: 2px;
  --container: 1460px;
  --gutter: clamp(20px, 4vw, 64px);
  --section: clamp(72px, 7vw, 116px);
  --font-sans: Inter, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-zh: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
html[lang="zh-CN"] body { font-family: var(--font-zh); }
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #ffe45a; outline-offset: 3px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 10000; top: 12px; left: 12px; width: auto; height: auto; padding: 12px 18px; margin: 0; clip: auto; color: var(--white); background: var(--navy-950); }

.container { width: min(var(--container), calc(100% - (var(--gutter) * 2))); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--navy { color: var(--white); background: var(--navy-950); }
.eyebrow { margin: 0 0 18px; color: var(--navy-800); font-size: 14px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
html[lang="zh-CN"] .eyebrow { letter-spacing: .12em; }
.eyebrow::after { content: ""; display: block; width: 68px; height: 3px; margin-top: 17px; background: var(--green-500); }
.section-title { max-width: 900px; margin: 0; color: var(--ink); font-size: clamp(36px, 4.3vw, 68px); line-height: 1.06; letter-spacing: -.045em; }
html[lang="zh-CN"] .section-title { letter-spacing: -.02em; }
.section-intro { max-width: 760px; margin: 22px 0 0; color: var(--text); font-size: clamp(18px, 1.5vw, 22px); }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 13px; padding: 14px 24px; border: 1px solid transparent; border-radius: var(--radius); font-size: 16px; font-weight: 800; line-height: 1.15; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--white); background: var(--green-600); }
.button--primary:hover { background: #249a34; }
.button--outline { color: var(--ink); border-color: var(--ink); background: var(--white); }
.button--ghost { color: var(--white); border-color: rgba(255,255,255,.72); background: transparent; }
.button__arrow { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.icon { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.site-header { position: sticky; z-index: 1000; top: 0; color: var(--ink); background: var(--white); box-shadow: 0 1px 0 var(--line); }
.countdown-bar { color: var(--white); background: var(--navy-950); border-bottom: 1px solid rgba(255,255,255,.12); }
.countdown-inner { min-height: 50px; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: clamp(22px, 3vw, 46px); }
.countdown-title { font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
html[lang="zh-CN"] .countdown-title { letter-spacing: .05em; }
.countdown-values { display: flex; align-items: center; gap: 8px; }
.countdown-values[hidden] { display: none; }
.countdown-unit { display: inline-flex; align-items: baseline; gap: 5px; min-width: 54px; }
.countdown-unit strong { min-width: 2ch; color: var(--white); font-size: 22px; font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: -.025em; }
.countdown-unit:first-child strong { min-width: 3ch; }
.countdown-unit small { color: rgba(255,255,255,.64); font-size: 9px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.countdown-separator { color: var(--green-500); font-size: 18px; font-weight: 800; }
.countdown-summary { justify-self: end; color: rgba(255,255,255,.78); font-size: 12px; font-weight: 650; white-space: nowrap; }
.header-inner { position: relative; min-height: 98px; display: grid; grid-template-columns: minmax(360px, 400px) minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.brand { position: relative; display: block; width: min(100%, 380px); text-decoration: none; }
.brand img { width: 100%; max-width: none; height: auto; object-fit: contain; object-position: left center; }
.nav-panel { min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: clamp(20px, 2vw, 34px); }
.site-nav { min-width: 0; }
.nav-list { display: flex; align-items: center; gap: clamp(17px, 1.8vw, 30px); margin: 0; padding: 0; list-style: none; }
.nav-link { position: relative; display: inline-flex; min-height: 44px; align-items: center; padding: 27px 0 24px; border: 0; color: var(--ink); background: transparent; font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.nav-link:hover, .nav-link[aria-current="page"], .nav-disclosure.is-context-active, .nav-disclosure[aria-expanded="true"] { color: var(--navy-800); }
.nav-link[aria-current="page"]::after, .nav-link:hover::after, .nav-disclosure.is-context-active::after, .nav-disclosure[aria-expanded="true"]::after { content: ""; position: absolute; right: 0; bottom: 16px; left: 0; height: 3px; background: var(--green-500); }
.nav-list.has-current-section .nav-link--home[aria-current="page"]::after { display: none; }
.nav-group { position: relative; }
.nav-disclosure { gap: 7px; }
.nav-chevron { width: 16px; height: 16px; flex: 0 0 auto; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.nav-disclosure[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
.nav-submenu { position: absolute; z-index: 10; top: calc(100% - 8px); left: 50%; width: clamp(280px, 21vw, 310px); margin: 0; padding: 10px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); list-style: none; transform: translateX(-50%); }
.nav-submenu[hidden] { display: none; }
.nav-submenu-link { display: flex; min-height: 44px; align-items: center; padding: 11px 13px; border-left: 3px solid transparent; color: var(--ink); font-size: 14px; font-weight: 680; line-height: 1.3; text-decoration: none; }
.nav-submenu-link:hover, .nav-submenu-link[aria-current="location"] { border-left-color: var(--green-500); color: var(--navy-800); background: var(--green-100); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.language-menu { position: relative; }
.language-switch { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 7px; padding: 10px 13px; border: 0; color: var(--white); background: var(--navy-950); font-size: 14px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.language-switch__chevron { width: 14px; height: 14px; flex: 0 0 auto; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.language-switch[aria-expanded="true"] .language-switch__chevron { transform: rotate(180deg); }
.language-menu__list { position: absolute; z-index: 20; top: calc(100% + 10px); right: 0; min-width: 150px; margin: 0; padding: 7px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); list-style: none; }
.language-menu__list[hidden] { display: none; }
.language-menu__list a { display: flex; min-height: 42px; align-items: center; padding: 10px 12px; border-left: 3px solid transparent; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.language-menu__list a:hover, .language-menu__list a:focus-visible { color: var(--navy-800); background: var(--green-100); }
.language-menu__list a[aria-current="page"] { border-left-color: var(--green-500); color: var(--navy-800); }
.header-cta { min-height: 48px; padding-inline: 19px; font-size: 14px; white-space: nowrap; }
.menu-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--ink); background: transparent; }
.menu-toggle svg { width: 25px; height: 25px; stroke: currentColor; }
.menu-icon__hamburger, .menu-icon__close { transition: opacity .18s ease; }
.menu-icon__close { opacity: 0; }
.menu-toggle.is-open .menu-icon__hamburger { opacity: 0; }
.menu-toggle.is-open .menu-icon__close { opacity: 1; }

#about, #exhibits, #programme, #past-editions, #venue, #contact, #visitor-information, #exhibitor-value { scroll-margin-top: 118px; }
body.admin-bar #about, body.admin-bar #exhibits, body.admin-bar #programme, body.admin-bar #past-editions, body.admin-bar #venue, body.admin-bar #contact, body.admin-bar #visitor-information, body.admin-bar #exhibitor-value { scroll-margin-top: 150px; }
body:has(.countdown-bar) #about, body:has(.countdown-bar) #exhibits, body:has(.countdown-bar) #programme, body:has(.countdown-bar) #past-editions, body:has(.countdown-bar) #venue, body:has(.countdown-bar) #contact { scroll-margin-top: 168px; }
body.admin-bar:has(.countdown-bar) #about, body.admin-bar:has(.countdown-bar) #exhibits, body.admin-bar:has(.countdown-bar) #programme, body.admin-bar:has(.countdown-bar) #past-editions, body.admin-bar:has(.countdown-bar) #venue, body.admin-bar:has(.countdown-bar) #contact { scroll-margin-top: 200px; }

/* Hero carousel */
.hero { position: relative; min-height: 650px; overflow: hidden; color: var(--white); background: var(--navy-950); }
.hero-slide { position: absolute; visibility: hidden; inset: 0; opacity: 0; pointer-events: none; transition: opacity .45s ease, visibility 0s linear .45s; }
.hero-slide.is-active { visibility: visible; z-index: 1; opacity: 1; pointer-events: auto; transition-delay: 0s; }
.hero__media, .hero__media picture { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__media::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 70%; background: linear-gradient(90deg, var(--navy-950) 0, rgba(4,44,73,.98) 36%, rgba(4,44,73,.72) 55%, rgba(4,44,73,0) 100%); pointer-events: none; }
.hero__content { position: relative; z-index: 1; display: flex; min-height: 650px; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 48px 142px; }
.hero__kicker { max-width: 720px; margin: 0 0 20px; font-size: 14px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.hero__kicker::after { content: ""; display: block; width: 70px; height: 4px; margin-top: 16px; background: var(--green-500); }
.hero h1, .hero h2 { max-width: 760px; margin: 0; color: var(--white); font-size: clamp(44px, 4.1vw, 68px); font-weight: 820; line-height: .98; letter-spacing: -.055em; }
html[lang="zh-CN"] .hero h1, html[lang="zh-CN"] .hero h2 { max-width: 700px; letter-spacing: -.035em; }
.hero__lead { max-width: 680px; margin: 27px 0 0; color: rgba(255,255,255,.92); font-size: clamp(18px, 1.65vw, 24px); line-height: 1.45; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 18px 30px; margin-top: 34px; }
.hero__fact { display: flex; align-items: center; gap: 12px; font-weight: 750; }
.hero__fact .icon { color: var(--green-500); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-carousel__controls { position: absolute; z-index: 3; right: 0; bottom: 38px; left: 0; display: flex; align-items: center; gap: 16px; pointer-events: none; }
.hero-carousel__controls > * { pointer-events: auto; }
.carousel-control { display: inline-flex; width: 48px; height: 48px; flex: 0 0 auto; align-items: center; justify-content: center; padding: 0; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; color: var(--white); background: rgba(4,44,73,.2); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.carousel-control:hover { border-color: var(--white); background: rgba(4,44,73,.72); transform: translateY(-2px); }
.carousel-control svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.carousel-count { display: inline-flex; min-width: 66px; align-items: baseline; color: rgba(255,255,255,.72); font-size: 14px; }
.carousel-count strong { color: var(--white); font-size: 17px; }
.carousel-dots { display: flex; align-items: center; gap: 10px; margin-right: 8px; }
.carousel-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.52); transition: background .2s ease, transform .2s ease; }
.carousel-dots button[aria-current="true"] { background: var(--green-500); transform: scale(1.25); }

/* Visitor, exhibitor and expo pathways */
.expo-pathways { padding-block: clamp(64px, 6vw, 92px); background: var(--white); }
.pathways-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pathway-item { min-width: 0; display: flex; flex-direction: column; padding: 0 clamp(30px, 3.3vw, 54px); border-left: 1px solid var(--line); }
.pathway-item:first-child { padding-left: 0; border-left: 0; }
.pathway-item:last-child { padding-right: 0; }
.pathway-item h2 { margin: 0; color: var(--ink); font-size: clamp(30px, 2.6vw, 42px); font-weight: 820; line-height: 1.08; letter-spacing: -.035em; }
html[lang="zh-CN"] .pathway-item h2 { letter-spacing: -.02em; }
.pathway-item p { flex: 1; margin: 22px 0 30px; color: var(--text); font-size: clamp(16px, 1.22vw, 19px); line-height: 1.72; }
.pathway-link { display: inline-flex; align-items: center; align-self: flex-start; gap: 13px; color: var(--ink); font-size: 16px; font-weight: 800; text-decoration: none; }
.pathway-link__icon { display: inline-flex; width: 40px; height: 40px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; color: var(--white); background: var(--green-600); transition: transform .2s ease, background .2s ease; }
.pathway-link__icon .icon { width: 19px; height: 19px; }
.pathway-link:hover .pathway-link__icon { background: #249a34; transform: translateX(3px); }

/* Why */
.why-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(42px, 6vw, 100px); align-items: center; }
.why-copy { display: grid; grid-template-columns: 1.2fr repeat(3, .75fr); gap: 0; align-items: end; }
.why-copy__intro { padding-right: 42px; }
.why-copy h2 { margin: 0 0 16px; color: var(--ink); font-size: clamp(34px, 3vw, 52px); line-height: 1.05; }
.why-copy p { margin: 0; }
.stat { min-height: 122px; padding: 0 24px; border-left: 1px solid var(--line); }
.stat strong { display: block; color: #2c8738; font-size: clamp(38px, 3vw, 55px); line-height: 1; letter-spacing: -.04em; }
.stat span { display: block; margin-top: 12px; color: var(--ink); font-size: 15px; font-weight: 650; line-height: 1.4; }
.why-image { position: relative; min-height: 330px; overflow: hidden; }
.why-image img { width: 100%; height: 100%; object-fit: cover; }
.why-image__label { position: absolute; right: 0; bottom: 0; max-width: 320px; padding: 24px 30px; color: var(--white); background: rgba(4,44,73,.88); font-size: 17px; font-weight: 800; line-height: 1.25; text-transform: uppercase; }

/* Exhibits */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-head__aside { color: var(--navy-800); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.exhibit-rail { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.exhibit-item { min-width: 0; padding: 28px 20px 30px; border-left: 1px solid var(--line); }
.exhibit-item:first-child { border-left: 0; }
.exhibit-item .icon { width: 42px; height: 42px; color: var(--green-600); }
.exhibit-item h3 { min-height: 48px; margin: 19px 0 0; color: var(--ink); font-size: 17px; line-height: 1.35; }

/* Programmes */
.programme-layout { display: grid; grid-template-columns: 1.15fr .85fr; align-items: stretch; }
.programme-copy { padding: clamp(50px, 6vw, 90px) var(--gutter); background: var(--mist); }
.programme-list { display: grid; grid-template-columns: 1fr 1fr; margin: 38px 0 0; padding: 0; list-style: none; }
.programme-list li { display: flex; min-height: 105px; align-items: center; gap: 17px; padding: 23px 28px 23px 0; border-top: 1px solid var(--line); color: var(--ink); font-weight: 750; }
.programme-list .icon { color: var(--green-600); flex: 0 0 auto; }
.programme-media { position: relative; min-height: 520px; }
.programme-media img { width: 100%; height: 100%; object-fit: cover; }
.programme-media__tag { position: absolute; right: 0; bottom: 0; max-width: 330px; padding: 28px 34px; color: var(--white); background: var(--navy-950); font-size: 20px; font-weight: 760; line-height: 1.3; }

/* Past editions */
.gallery { display: grid; grid-template-columns: 1.35fr .65fr .65fr; grid-template-rows: 240px 240px; gap: 14px; margin-top: 42px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; background: var(--navy-900); }
.gallery figure:first-child { grid-row: 1 / span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery figure:hover img { transform: scale(1.035); }
.gallery figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 28px 22px 17px; color: var(--white); background: linear-gradient(transparent, rgba(4,44,73,.82)); font-size: 14px; font-weight: 700; }
.gallery figure[role="button"] { cursor: zoom-in; }
.gallery-dialog { width: min(1080px, calc(100vw - 40px)); max-height: calc(100vh - 40px); padding: 0; border: 0; color: var(--white); background: #021d32; box-shadow: 0 24px 90px rgba(0,0,0,.55); }
.gallery-dialog::backdrop { background: rgba(2,29,50,.84); backdrop-filter: blur(5px); }
.gallery-dialog figure { margin: 0; }
.gallery-dialog img { width: 100%; max-height: calc(100vh - 130px); object-fit: contain; }
.gallery-dialog figcaption { padding: 18px 24px; }
.gallery-dialog__close { position: absolute; z-index: 2; top: 12px; right: 12px; display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: var(--white); background: rgba(2,29,50,.78); font-size: 30px; line-height: 1; }

/* Venue */
.venue-band { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 410px; }
.venue-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(55px, 7vw, 100px) var(--gutter); color: var(--white); background: var(--navy-950); }
.venue-copy h2 { margin: 0; font-size: clamp(39px, 4vw, 64px); line-height: 1.02; letter-spacing: -.04em; }
.venue-copy > p { margin: 20px 0 0; font-size: 21px; }
.venue-copy > .eyebrow { margin: 0 0 18px; font-size: 14px; }
.venue-address { display: flex; max-width: 620px; align-items: flex-start; gap: 13px; color: rgba(255,255,255,.88); font-size: 17px !important; line-height: 1.55; }
.venue-address .icon { width: 24px; height: 24px; flex: 0 0 auto; margin-top: 1px; color: var(--green-500); }
.venue-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.venue-map { position: relative; min-height: 410px; overflow: hidden; background: #e8eef2; }
.venue-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Inner page hero */
.inner-hero { position: relative; min-height: 560px; overflow: hidden; color: var(--white); background: var(--navy-950); }
.inner-hero__image, .inner-hero__image picture { position: absolute; inset: 0; }
.inner-hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.inner-hero__image::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 70%; background: linear-gradient(90deg, var(--navy-950) 0, rgba(4,44,73,.98) 38%, rgba(4,44,73,.72) 58%, rgba(4,44,73,0) 100%); }
.inner-hero__content { position: relative; z-index: 1; display: flex; min-height: 560px; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 54px; }
.inner-hero h1 { max-width: 720px; margin: 0; font-size: clamp(46px, 5vw, 72px); line-height: 1; letter-spacing: -.05em; }
.inner-hero__lead { max-width: 680px; margin: 22px 0 0; color: rgba(255,255,255,.9); font-size: clamp(18px, 1.55vw, 22px); line-height: 1.48; }
.inner-hero__status { margin: 22px 0 0; color: var(--green-500); font-size: 18px; font-weight: 800; line-height: 1.25; }
.inner-hero__meta { display: flex; align-items: center; gap: 12px; margin-top: 17px; font-size: 16px; font-weight: 760; }
.inner-hero__meta .icon { color: var(--green-500); }
.inner-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.info-layout { display: grid; grid-template-columns: 1.04fr .96fr .85fr; gap: clamp(36px, 4vw, 70px); align-items: start; }
.info-layout--exhibit { grid-template-columns: 1.05fr .72fr 1fr; }
.info-intro h2, .news-article h1 { margin: 0; color: var(--ink); font-size: clamp(39px, 3.7vw, 58px); line-height: 1.08; letter-spacing: -.04em; }
.info-intro > p { margin: 22px 0 28px; font-size: 20px; }
.info-photo { position: relative; margin-top: 32px; min-height: 350px; overflow: hidden; }
.info-photo img { width: 100%; height: 100%; object-fit: cover; }
.info-photo__caption { position: absolute; right: 0; bottom: 0; left: 0; padding: 50px 25px 22px; color: var(--white); background: linear-gradient(transparent, rgba(4,44,73,.92)); font-size: 16px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.info-items { margin: 0; padding: 0; list-style: none; }
.info-item { display: grid; grid-template-columns: 62px 1fr; gap: 22px; padding: 27px 0; border-top: 1px solid var(--line); }
.info-item:first-child { border-top: 0; padding-top: 8px; }
.icon-disc { display: flex; width: 62px; height: 62px; align-items: center; justify-content: center; border-radius: 50%; color: #0f7d4a; background: var(--green-100); }
.icon-disc .icon { width: 31px; height: 31px; }
.info-item h3 { margin: 0 0 7px; color: var(--ink); font-size: 22px; line-height: 1.2; }
.info-item p { margin: 0; font-size: 16px; line-height: 1.5; }
.info-item a { color: #0871c2; font-weight: 750; }
.info-location-address { margin-top: 13px; color: var(--ink); font-size: 15px; font-style: normal; font-weight: 720; line-height: 1.5; }
.map-inline-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; text-decoration: none; }
.map-inline-link:hover { text-decoration: underline; }
.map-inline-link .button__arrow { width: 17px; height: 17px; }
.status-panel { padding: clamp(34px, 4vw, 58px); border: 1px solid #e2edf4; background: linear-gradient(145deg, #f8fbfd, #eef6fa); box-shadow: var(--shadow); text-align: center; }
.status-panel .icon-disc { width: 90px; height: 90px; margin: 0 auto 24px; }
.status-panel .icon { width: 42px; height: 42px; }
.status-panel h2 { margin: 0; color: var(--ink); font-size: clamp(30px, 2.8vw, 42px); line-height: 1.12; }
.status-panel p { margin: 20px 0 0; font-size: 18px; }
.status-panel hr { margin: 31px 0; border: 0; border-top: 1px solid var(--line); }
.status-panel .button { width: 100%; }
.contact-inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 13px 20px; margin-top: 26px; color: var(--ink); font-size: 15px; font-weight: 720; }
.benefit-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 62px; border-bottom: 1px solid var(--line); }
.benefit { min-height: 150px; padding: 0 24px 32px; border-left: 1px solid var(--line); text-align: center; }
.benefit:first-child { border-left: 0; }
.benefit .icon-disc { margin: 0 auto 18px; color: var(--white); background: linear-gradient(145deg, var(--green-500), var(--navy-800)); }
.benefit h3 { margin: 0; color: var(--ink); font-size: 18px; }
.benefit p { margin: 8px 0 0; font-size: 15px; line-height: 1.42; }

/* News */
.news-shell { max-width: 1040px; margin-inline: auto; }
.news-article__meta { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 24px 0 38px; color: var(--muted); font-size: 15px; }
.news-article__image { width: 100%; max-height: 560px; object-fit: cover; }
.news-article__body { max-width: 820px; margin: 45px auto 0; }
.news-article__body h2 { margin: 48px 0 16px; color: var(--ink); font-size: 31px; line-height: 1.2; }
.news-article__body p { margin: 0 0 20px; }
.fact-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 42px 0; background: var(--line); border: 1px solid var(--line); }
.fact-row__item { padding: 28px 20px; background: var(--white); text-align: center; }
.fact-row__item strong { display: block; color: #2c8738; font-size: 34px; line-height: 1; }
.fact-row__item span { display: block; margin-top: 9px; color: var(--ink); font-size: 14px; }

/* Footer */
.site-footer { color: rgba(255,255,255,.82); background: #03243d; }
.footer-main { display: grid; grid-template-columns: 1.2fr .75fr .8fr; gap: 70px; padding-block: 62px; }
.footer-brand { align-self: start; }
.footer-logo { width: min(100%, 500px); max-width: none; margin-bottom: 22px; }
.footer-copy { max-width: 580px; margin: 0; font-size: 15px; }
.footer-title { margin: 0 0 18px; color: var(--white); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-contact p { margin: 0 0 10px; }
.footer-contact a { text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }

@media (max-width: 1180px) {
	.countdown-summary { display: none; }
	.countdown-inner { grid-template-columns: auto auto; justify-content: space-between; }
  .header-inner { min-height: 82px; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; }
  .brand { width: min(100%, 330px); }
  .menu-toggle { display: flex; }
  .nav-panel { position: absolute; top: 100%; right: calc(var(--gutter) * -1); left: calc(var(--gutter) * -1); display: none; max-height: calc(100dvh - 82px); overflow-x: hidden; overflow-y: auto; align-items: stretch; flex-direction: column; gap: 20px; padding: 10px var(--gutter) 28px; border-top: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); overscroll-behavior: contain; }
  body.admin-bar .nav-panel { max-height: calc(100dvh - 82px - 32px); }
  .nav-panel.is-open { display: flex; }
  .site-nav { width: 100%; }
  .nav-list { align-items: stretch; flex-direction: column; gap: 0; }
  .nav-link { width: 100%; min-height: 48px; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-disclosure.is-context-active::after, .nav-disclosure[aria-expanded="true"]::after { display: none; }
  .nav-group { width: 100%; }
  .nav-submenu { position: static; width: 100%; padding: 7px 0 8px 18px; border: 0; border-bottom: 1px solid var(--line); box-shadow: none; transform: none; }
  .nav-submenu-link { min-height: 46px; padding: 11px 14px; }
  .header-actions { display: flex; align-items: stretch; justify-content: flex-start; gap: 14px; padding-top: 2px; }
  .language-menu { min-width: 160px; }
  .language-switch { width: 100%; min-height: 48px; padding-inline: 20px; }
  .language-menu__list { position: static; width: 100%; margin-top: 8px; box-shadow: none; }
  .header-cta { min-height: 48px; }
  .hero, .hero__content { min-height: 650px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-image { min-height: 380px; }
  .exhibit-rail { grid-template-columns: repeat(3, 1fr); }
  .exhibit-item:nth-child(4) { border-left: 0; }
  .exhibit-item:nth-child(n+4) { border-top: 1px solid var(--line); }
  .info-layout { grid-template-columns: 1fr 1fr; }
  .status-panel { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .nav-panel { max-height: calc(100dvh - 82px - 46px); }
}

@media (max-width: 1040px) {
  .hero h1, .hero h2 { max-width: 720px; }
  .why-copy { grid-template-columns: 1fr repeat(3, 1fr); }
  .why-copy__intro { grid-column: 1 / -1; margin-bottom: 42px; }
  .stat:first-of-type { border-left: 0; }
  .programme-layout, .venue-band { grid-template-columns: 1fr; }
  .programme-media, .venue-map { min-height: 430px; }
  .gallery { grid-template-rows: 205px 205px; }
  .benefit-strip { grid-template-columns: 1fr 1fr; }
  .benefit:nth-child(3) { border-left: 0; }
  .benefit:nth-child(n+3) { padding-top: 30px; border-top: 1px solid var(--line); }
  .fact-row { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .pathways-grid { grid-template-columns: 1fr; }
  .pathway-item, .pathway-item:first-child, .pathway-item:last-child { padding: 34px 0; border-top: 1px solid var(--line); border-left: 0; }
  .pathway-item:first-child { padding-top: 0; border-top: 0; }
  .pathway-item:last-child { padding-bottom: 0; }
  .pathway-item p { margin-block: 16px 22px; }
}

@media (max-width: 700px) {
  :root { --gutter: 20px; --section: 66px; }
  body { font-size: 16px; }
  .header-inner { grid-template-columns: 1fr auto; gap: 12px; }
  .brand { width: min(100%, 260px); }
  .header-actions { flex-direction: column; }
  .language-menu, .language-switch, .header-cta { width: 100%; }
  .countdown-inner { min-height: 64px; grid-template-columns: minmax(64px, auto) 1fr; gap: 12px; }
  .countdown-title { max-width: 76px; font-size: 10px; line-height: 1.35; white-space: normal; }
  .countdown-values { justify-content: flex-end; gap: 4px; }
  .countdown-unit { min-width: 44px; gap: 3px; }
  .countdown-unit strong { font-size: 19px; }
  .countdown-unit small { font-size: 7px; }
  .countdown-separator { font-size: 15px; }
  #about, #exhibits, #programme, #past-editions, #venue, #contact, #visitor-information, #exhibitor-value { scroll-margin-top: 100px; }
  body.admin-bar #about, body.admin-bar #exhibits, body.admin-bar #programme, body.admin-bar #past-editions, body.admin-bar #venue, body.admin-bar #contact, body.admin-bar #visitor-information, body.admin-bar #exhibitor-value { scroll-margin-top: 146px; }
  body:has(.countdown-bar) #about, body:has(.countdown-bar) #exhibits, body:has(.countdown-bar) #programme, body:has(.countdown-bar) #past-editions, body:has(.countdown-bar) #venue, body:has(.countdown-bar) #contact { scroll-margin-top: 164px; }
  body.admin-bar:has(.countdown-bar) #about, body.admin-bar:has(.countdown-bar) #exhibits, body.admin-bar:has(.countdown-bar) #programme, body.admin-bar:has(.countdown-bar) #past-editions, body.admin-bar:has(.countdown-bar) #venue, body.admin-bar:has(.countdown-bar) #contact { scroll-margin-top: 210px; }
  .hero, .hero__content { min-height: 0; }
  .hero-slide.is-active { position: relative; }
  .hero__media, .hero__media picture { right: 0; bottom: auto; left: 0; height: 285px; }
  .hero__media::after { inset: auto 0 0; width: 100%; height: 62%; background: linear-gradient(0deg, var(--navy-950), rgba(4,44,73,0)); }
  .hero__content { justify-content: flex-start; padding-block: 325px 118px; }
  .hero__kicker { margin-bottom: 17px; font-size: 11px; line-height: 1.5; letter-spacing: .13em; }
  .hero__kicker::after { margin-top: 12px; }
  .hero h1, .hero h2 { font-size: 42px; line-height: 1.02; }
  .hero__lead { font-size: 18px; }
  .hero__facts { display: grid; gap: 15px; }
  .hero__actions { width: 100%; flex-direction: column; }
  .hero__actions .button { width: 100%; }
  .hero-carousel__controls { bottom: 26px; gap: 11px; }
  .carousel-control { width: 44px; height: 44px; }
  .carousel-count { min-width: 54px; }
  .carousel-dots { gap: 8px; margin-right: 0; }
  .carousel-dots button { width: 9px; height: 9px; }
  .expo-pathways { padding-block: 54px; }
  .why-copy { grid-template-columns: 1fr; }
  .stat { min-height: 0; padding: 25px 0; border-top: 1px solid var(--line); border-left: 0; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .exhibit-rail { grid-template-columns: 1fr 1fr; }
  .exhibit-item:nth-child(odd) { border-left: 0; }
  .exhibit-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .programme-list { grid-template-columns: 1fr; }
  .programme-list li { min-height: 84px; }
  .programme-media, .venue-map { min-height: 340px; }
  .venue-actions { width: 100%; flex-direction: column; }
  .venue-actions .button { width: 100%; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 270px 180px 180px; }
  .gallery figure:first-child { grid-column: 1 / -1; grid-row: auto; }
  .inner-hero { min-height: 0; }
  .inner-hero__image, .inner-hero__image picture { right: 0; bottom: auto; left: 0; height: 270px; }
  .inner-hero__image::after { inset: auto 0 0; width: 100%; height: 62%; background: linear-gradient(0deg, var(--navy-950), rgba(4,44,73,0)); }
  .inner-hero__content { min-height: 0; justify-content: flex-start; padding-block: 310px 50px; }
  .inner-hero h1 { font-size: 45px; }
  .inner-hero__lead { font-size: 18px; }
  .inner-hero__status { font-size: 17px; }
  .inner-hero__actions { width: 100%; flex-direction: column; }
  .inner-hero__actions .button { width: 100%; }
  .info-layout { grid-template-columns: 1fr; }
  .status-panel { grid-column: auto; }
  .benefit-strip { grid-template-columns: 1fr; }
  .benefit, .benefit:nth-child(3) { padding: 28px 0; border-top: 1px solid var(--line); border-left: 0; }
  .fact-row { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .brand { width: min(100%, 235px); }
  .hero h1, .hero h2 { font-size: 36px; line-height: 1.06; }
  html[lang="zh-CN"] .hero h1, html[lang="zh-CN"] .hero h2 { font-size: 34px; line-height: 1.1; letter-spacing: -.025em; }
  .hero__fact { font-size: 14px; }
  .inner-hero h1 { font-size: 38px; line-height: 1.04; }
  html[lang="zh-CN"] .inner-hero h1 { font-size: 36px; line-height: 1.08; letter-spacing: -.025em; }
  .section-title { font-size: 35px; }
  .exhibit-rail { grid-template-columns: 1fr; }
  .exhibit-item { border-top: 1px solid var(--line); border-left: 0; }
  .exhibit-item:first-child { border-top: 0; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: repeat(5, 230px); }
  .gallery figure:first-child { grid-column: auto; }
  .fact-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
