/*
Theme Name: Australia Jiangsu Business Council Inc
Theme URI: https://jiangsu.org.au
Author: Australia Jiangsu Business Council Inc
Description: English-language WordPress theme for the Australia Jiangsu Business Council Inc. Features a Chinese-inspired fish-scale wave pattern design system with crimson, gold, and navy colour palette.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aja
Tags: association, business, news, events, responsive
*/

/* ─────────────────────────────────────────────
   RESET & CUSTOM PROPERTIES
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:       #1A2A3A;
  --ink-mid:   #2C3E50;
  --silk:      #F9F9F7;
  --silk-dim:  #F0EFEB;
  --vermil:    #B22222;
  --vermil-dk: #8B1A1A;
  --gold:      #C9A84C;
  --gold-lt:   #E8C96A;
  --mist:      #D6CFC4;
  --text-sub:  #6B7280;
  --serif: 'Noto Serif SC', Georgia, serif;
  --sans:  'Noto Sans SC', sans-serif;
}

/* ─────────────────────────────────────────────
   WAVE PATTERN CLASSES
   Pure CSS SVG recreation of the 青花鱼鳞纹
   (fish-scale wave pattern): vermil red bg + gold arc lines
───────────────────────────────────────────── */
.wave-red {
  background-color: var(--vermil);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='36'%3E%3Cellipse cx='30' cy='36' rx='30' ry='22' fill='none' stroke='%23C9A84C' stroke-width='0.9' opacity='0.5'/%3E%3Cellipse cx='0' cy='36' rx='30' ry='22' fill='none' stroke='%23C9A84C' stroke-width='0.9' opacity='0.5'/%3E%3Cellipse cx='60' cy='36' rx='30' ry='22' fill='none' stroke='%23C9A84C' stroke-width='0.9' opacity='0.5'/%3E%3Cellipse cx='15' cy='18' rx='30' ry='22' fill='none' stroke='%23C9A84C' stroke-width='0.7' opacity='0.28'/%3E%3Cellipse cx='45' cy='18' rx='30' ry='22' fill='none' stroke='%23C9A84C' stroke-width='0.7' opacity='0.28'/%3E%3C/svg%3E");
  background-size: 52px 32px;
}
.wave-ink {
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='36'%3E%3Cellipse cx='30' cy='36' rx='30' ry='22' fill='none' stroke='%23C9A84C' stroke-width='0.7' opacity='0.13'/%3E%3Cellipse cx='0' cy='36' rx='30' ry='22' fill='none' stroke='%23C9A84C' stroke-width='0.7' opacity='0.13'/%3E%3Cellipse cx='60' cy='36' rx='30' ry='22' fill='none' stroke='%23C9A84C' stroke-width='0.7' opacity='0.13'/%3E%3Cellipse cx='15' cy='18' rx='30' ry='22' fill='none' stroke='%23C9A84C' stroke-width='0.5' opacity='0.07'/%3E%3Cellipse cx='45' cy='18' rx='30' ry='22' fill='none' stroke='%23C9A84C' stroke-width='0.5' opacity='0.07'/%3E%3C/svg%3E");
  background-size: 52px 32px;
}
.wave-ink-mid {
  background-color: var(--ink-mid);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='36'%3E%3Cellipse cx='30' cy='36' rx='30' ry='22' fill='none' stroke='%23C9A84C' stroke-width='0.7' opacity='0.13'/%3E%3Cellipse cx='0' cy='36' rx='30' ry='22' fill='none' stroke='%23C9A84C' stroke-width='0.7' opacity='0.13'/%3E%3Cellipse cx='60' cy='36' rx='30' ry='22' fill='none' stroke='%23C9A84C' stroke-width='0.7' opacity='0.13'/%3E%3Cellipse cx='15' cy='18' rx='30' ry='22' fill='none' stroke='%23C9A84C' stroke-width='0.5' opacity='0.07'/%3E%3Cellipse cx='45' cy='18' rx='30' ry='22' fill='none' stroke='%23C9A84C' stroke-width='0.5' opacity='0.07'/%3E%3C/svg%3E");
  background-size: 52px 32px;
}
.wave-silk {
  background-color: var(--silk);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='36'%3E%3Cellipse cx='30' cy='36' rx='30' ry='22' fill='none' stroke='%232C3E50' stroke-width='0.6' opacity='0.06'/%3E%3Cellipse cx='0' cy='36' rx='30' ry='22' fill='none' stroke='%232C3E50' stroke-width='0.6' opacity='0.06'/%3E%3Cellipse cx='60' cy='36' rx='30' ry='22' fill='none' stroke='%232C3E50' stroke-width='0.6' opacity='0.06'/%3E%3Cellipse cx='15' cy='18' rx='30' ry='22' fill='none' stroke='%232C3E50' stroke-width='0.5' opacity='0.035'/%3E%3Cellipse cx='45' cy='18' rx='30' ry='22' fill='none' stroke='%232C3E50' stroke-width='0.5' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 52px 32px;
}

/* ─────────────────────────────────────────────
   BASE
───────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--silk);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ─────────────────────────────────────────────
   TOP BAR
───────────────────────────────────────────── */
.topbar {
  color: rgba(255,255,255,0.62);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  padding: 7px 0;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: rgba(255,255,255,0.62); text-decoration: none; transition: color 0.2s; }
.topbar a:hover { color: var(--gold); }
.topbar-links { display: flex; gap: 1.5rem; }

/* ─────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────── */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 28px rgba(0,0,0,0.32);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-mark {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.logo-mark.color img { filter: none; }
.logo-mark.lg { width: 90px; height: 90px; }
.logo-mark.lg img { width: 90px; height: 90px; }
.logo-full { height: 52px; width: auto; display: block; }
.logo-text {
  color: white;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.3;
}
.logo-text small {
  display: block;
  font-size: 9.5px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.42);
  font-family: var(--sans);
}

/* WordPress nav_menu outputs a <ul> */
.nav-links,
.site-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav ul li a,
.nav-links a {
  display: block;
  padding: 0 16px;
  height: 68px;
  line-height: 68px;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  transition: color 0.2s, background 0.2s;
  position: relative;
  white-space: nowrap;
}
.site-nav ul li a::after,
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--vermil);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.site-nav ul li a:hover,
.nav-links a:hover { color: white; background: rgba(255,255,255,0.05); }
.site-nav ul li a:hover::after,
.site-nav ul li.current-menu-item a::after,
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.site-nav ul li.current-menu-item a { color: white; }

/* Join Us CTA button in nav */
.site-nav ul li.menu-item-cta a,
.nav-links .nav-cta {
  background: var(--vermil) !important;
  color: white !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
}
.site-nav ul li.menu-item-cta a:hover,
.nav-links .nav-cta:hover {
  background: var(--vermil-dk) !important;
}
.site-nav ul li.menu-item-cta a::after,
.nav-links .nav-cta::after { display: none !important; }

/* Mobile language switcher (hidden on desktop, shown on mobile) */
.mobile-lang-switcher {
  display: none;
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: white;
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, rgba(26,42,58,0.9) 0%, rgba(26,42,58,0.5) 55%, rgba(26,42,58,0.1) 100%);
}
.hero-slide-1 { background-image: url('http://req.snj.mycrazydomains.me/wp-content/uploads/2026/03/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20260119211255_439_170.jpg'); }
.hero-slide-2 { background-image: url('http://req.snj.mycrazydomains.me/wp-content/uploads/2026/03/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20250915082320_224_170.jpg'); }
.hero-slide-3 { background-image: url('http://req.snj.mycrazydomains.me/wp-content/uploads/2026/03/Weixin-Image_20241008112826.jpg'); }

/* Right-side wave panel */
.hero-wave-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 36%;
  z-index: 2;
  clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
  opacity: 0;
  transition: opacity 1.6s ease 0.3s;
}
.hero-wave-panel.active { opacity: 0.6; }

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  animation: fadeUp 0.7s ease both;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  color: white;
  font-weight: 700;
  line-height: 1.3;
  max-width: 540px;
  margin-bottom: 1.2rem;
  animation: fadeUp 0.7s ease 0.15s both;
}
.hero-desc {
  color: rgba(255,255,255,0.72);
  font-size: 14.5px;
  max-width: 440px;
  margin-bottom: 2rem;
  line-height: 1.9;
  animation: fadeUp 0.7s ease 0.28s both;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease 0.4s both;
}
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}
.hero-dot {
  width: 28px;
  height: 2px;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.hero-dot.active {
  background: var(--vermil);
  width: 44px;
}

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn-prim {
  background: var(--vermil);
  color: white;
  padding: 13px 28px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.btn-prim:hover { background: var(--vermil-dk); transform: translateY(-2px); }
.btn-out {
  border: 1px solid rgba(255,255,255,0.38);
  color: white;
  padding: 13px 28px;
  text-decoration: none;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  transition: all 0.2s;
  display: inline-block;
}
.btn-out:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7); }
.btn-vermil {
  display: inline-block;
  background: var(--vermil);
  color: white;
  padding: 13px 30px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.09em;
  align-self: flex-start;
  transition: background 0.2s, transform 0.15s;
}
.btn-vermil:hover { background: var(--vermil-dk); transform: translateY(-2px); }

/* ─────────────────────────────────────────────
   MARQUEE
───────────────────────────────────────────── */
.marquee-strip {
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-block;
  animation: marquee 30s linear infinite;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.88);
}
.marquee-inner span { margin: 0 1.8rem; color: var(--gold-lt); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────────
   SECTIONS
───────────────────────────────────────────── */
section { padding: 72px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--mist);
}
.section-eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vermil);
  margin-bottom: 5px;
}
.section-title {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.section-title em { font-style: normal; color: var(--vermil); }
.see-all {
  color: var(--ink-mid);
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  white-space: nowrap;
  transition: color 0.2s;
}
.see-all:hover { color: var(--vermil); }

/* ─────────────────────────────────────────────
   NEWS GRID
───────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
  background: var(--mist);
}
.news-card {
  background: var(--silk);
  text-decoration: none;
  color: inherit;
  display: block;
  overflow: hidden;
  transition: background 0.2s;
}
.news-card:hover { background: #F4F3EF; }
.news-card.featured { grid-row: 1 / 3; }
.news-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #e5e2db;
}
.news-card.featured .news-card-img { aspect-ratio: 4/3; }
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 1.4rem 1.6rem; }
.news-card.featured .news-card-body { padding: 1.8rem 2rem; }
.news-tag {
  display: inline-block;
  background: var(--ink);
  color: white;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  margin-bottom: 0.7rem;
}
.news-tag.red { background: var(--vermil); }
.news-card-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.news-card.featured .news-card-title { font-size: 1.4rem; }
.news-card:hover .news-card-title { color: var(--vermil); }
.news-card-excerpt {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 0.9rem;
}
.news-meta {
  font-size: 11px;
  color: var(--text-sub);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.news-meta::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--mist);
}

/* No posts placeholder */
.no-posts {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-sub);
  font-size: 14px;
  background: var(--silk);
}

/* ─────────────────────────────────────────────
   WAVE BANNER (full-width decorative strip)
───────────────────────────────────────────── */
.wave-banner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.wave-banner-text {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.82);
  text-transform: uppercase;
}
.wave-banner::before, .wave-banner::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 72px;
  height: 1px;
  background: rgba(201,168,76,0.5);
}
.wave-banner::before { right: calc(50% + 200px); }
.wave-banner::after  { left:  calc(50% + 200px); }

/* ─────────────────────────────────────────────
   STATS
───────────────────────────────────────────── */
.stats-section { padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item {
  text-align: center;
  padding: 2.2rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.14);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num em { color: var(--gold-lt); font-style: normal; }
.stat-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.68);
}

/* ─────────────────────────────────────────────
   EVENTS
───────────────────────────────────────────── */
.events-section { padding: 72px 0; }
.events-section .section-title { color: white; }
.events-section .section-eyebrow { color: var(--gold); }
.events-section .section-header { border-color: rgba(255,255,255,0.1); }
.events-section .see-all { color: rgba(255,255,255,0.58); border-color: rgba(255,255,255,0.38); }
.events-section .see-all:hover { color: var(--gold); border-color: var(--gold); }
.events-list {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2px;
  background: rgba(255,255,255,0.06);
}
.event-card {
  background: rgba(255,255,255,0.03);
  padding: 2rem 1.8rem;
  text-decoration: none;
  color: white;
  display: block;
  transition: background 0.25s;
  border-top: 2px solid transparent;
}
.event-card:hover { background: rgba(255,255,255,0.07); border-top-color: var(--vermil); }
.event-day {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--vermil);
  display: block;
}
.event-month {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
  display: block;
  margin-bottom: 1.3rem;
}
.event-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.6rem;
  line-height: 1.45;
}
.event-loc {
  font-size: 11.5px;
  color: rgba(255,255,255,0.38);
  display: flex;
  align-items: center;
  gap: 5px;
}
.no-events {
  color: rgba(255,255,255,0.45);
  text-align: center;
  padding: 3rem;
  font-size: 14px;
  grid-column: 1/-1;
}

/* ── Silk-background variant for the Events listing page ── */
.events-section.is-light { background: var(--silk); }
.events-section.is-light .section-title { color: var(--ink); }
.events-section.is-light .section-eyebrow { color: var(--vermil); }
.events-section.is-light .section-header { border-color: rgba(0,0,0,0.08); }
.events-section.is-light .see-all { color: var(--vermil); border-color: var(--vermil); }
.events-section.is-light .see-all:hover { color: var(--ink); border-color: var(--ink); }
.events-section.is-light .events-list { background: rgba(0,0,0,0.04); gap: 1px; }
.events-section.is-light .event-card { background: #fff; color: var(--ink); border-top: 2px solid transparent; }
.events-section.is-light .event-card:hover { background: var(--silk); border-top-color: var(--vermil); }
.events-section.is-light .event-title { color: var(--ink); }
.events-section.is-light .event-loc { color: var(--ink-light); }
.events-section.is-light .no-events { color: var(--ink-light); }

/* ─────────────────────────────────────────────
   ABOUT STRIP
───────────────────────────────────────────── */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
}
.about-img {
  background: url('https://images.unsplash.com/photo-1546054454-aa26e2b734c7?w=900&q=80') center/cover;
  position: relative;
}
.about-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--silk));
}
.about-body {
  padding: 4rem 3.5rem 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-title {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 1.2rem;
  margin-top: 8px;
}
.about-desc {
  font-size: 14px;
  color: #4A5568;
  line-height: 1.9;
  margin-bottom: 1.8rem;
}

/* ─────────────────────────────────────────────
   CTA BANNER
───────────────────────────────────────────── */
.cta-banner { padding: 60px 2rem; text-align: center; }
.cta-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 1.4rem;
}
.cta-eyebrow::before, .cta-eyebrow::after {
  content: '';
  width: 60px;
  height: 1px;
  background: rgba(201,168,76,0.5);
}
.cta-eyebrow span {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.cta-banner h2 {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.8rem;
}
.cta-banner p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-bottom: 2rem;
  letter-spacing: 0.03em;
}

/* ─────────────────────────────────────────────
   PARTNERS
───────────────────────────────────────────── */
.partners { background: var(--silk-dim); padding: 48px 0; }
.partners-label {
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-sub);
  margin-bottom: 2rem;
}
.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}
.partner-logo {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--mist);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
  cursor: default;
}
.partner-logo:hover { color: var(--text-sub); }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
footer.site-footer { color: rgba(255,255,255,0.52); font-size: 13px; }
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem 2.5rem;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand .logo { display: inline-flex; margin-bottom: 1rem; }
.footer-brand p { line-height: 1.9; font-size: 13px; }
.footer-col h4 {
  color: white;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul a {
  color: rgba(255,255,255,0.48);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--gold); }
.footer-col address { font-style: normal; }
.footer-col address p { color: rgba(255,255,255,0.48); font-size: 13px; margin-bottom: 0.55rem; }
.footer-rule { height: 4px; max-width: 1200px; margin: 0 auto; opacity: 0.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: rgba(255,255,255,0.28);
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.28); text-decoration: none; transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.65); }

/* ─────────────────────────────────────────────
   NEWS LISTING PAGE (home.php / archive.php)
───────────────────────────────────────────── */
.page-hero {
  padding: 56px 0;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}
.page-hero p { color: rgba(255,255,255,0.62); font-size: 14px; }

.news-listing { padding: 56px 0; }
.news-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--mist);
  margin-bottom: 3rem;
}
.news-listing-grid .news-card { height: 100%; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 13px;
  color: var(--ink-mid);
  border: 1px solid var(--mist);
  text-decoration: none;
  transition: all 0.2s;
}
.pagination a:hover { background: var(--vermil); color: white; border-color: var(--vermil); }
.pagination span.current { background: var(--vermil); color: white; border-color: var(--vermil); }

/* ─────────────────────────────────────────────
   SINGLE POST
───────────────────────────────────────────── */
.single-post-wrap { padding: 56px 0 80px; }
.single-post-header { margin-bottom: 2rem; }
.single-post-header .news-tag { margin-bottom: 1rem; }
.single-post-header h1 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 1rem;
}
.single-post-meta {
  font-size: 12px;
  color: var(--text-sub);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--mist);
  margin-bottom: 2rem;
}
.featured-image {
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-content { max-width: 780px; }
.post-content p { margin-bottom: 1.4rem; font-size: 15px; line-height: 1.85; color: #374151; }
.post-content h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--ink); margin: 2.5rem 0 1rem; }
.post-content h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--ink); margin: 2rem 0 0.8rem; }
.post-content ul, .post-content ol { margin: 0 0 1.4rem 1.8rem; font-size: 15px; line-height: 1.85; color: #374151; }
.post-content li { margin-bottom: 0.4rem; }
.post-content blockquote {
  border-left: 3px solid var(--vermil);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--silk-dim);
  font-style: italic;
  color: var(--ink-mid);
}
.post-content a { color: var(--vermil); text-decoration: underline; }
.post-back { display: inline-flex; align-items: center; gap: 6px; color: var(--vermil); text-decoration: none; font-size: 13px; letter-spacing: 0.05em; margin-top: 2.5rem; transition: gap 0.2s; }
.post-back:hover { gap: 10px; }

/* ─────────────────────────────────────────────
   SINGLE EVENT
───────────────────────────────────────────── */
.single-event-wrap { padding: 56px 0 80px; }
.event-header { display: flex; gap: 2rem; align-items: flex-start; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--mist); }
.event-date-block { flex-shrink: 0; text-align: center; background: var(--vermil); color: white; padding: 1rem 1.5rem; min-width: 90px; }
.event-date-block .event-day { font-family: var(--serif); font-size: 3rem; font-weight: 700; line-height: 1; }
.event-date-block .event-month { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-top: 4px; }
.event-header-info h1 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--ink); line-height: 1.3; margin-bottom: 0.8rem; }
.event-meta-row { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: 13px; color: var(--text-sub); }
.event-meta-row span { display: flex; align-items: center; gap: 5px; }
.event-content { max-width: 780px; }
.event-content p { margin-bottom: 1.4rem; font-size: 15px; line-height: 1.85; color: #374151; }

/* ─────────────────────────────────────────────
   GENERIC PAGE
───────────────────────────────────────────── */
.page-content-wrap { padding: 64px 0 80px; }
.page-content-wrap h1 { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--ink); margin-bottom: 1.5rem; }
.page-content-body { max-width: 860px; font-size: 15px; line-height: 1.85; color: #374151; }
.page-content-body p { margin-bottom: 1.4rem; }
.page-content-body h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--ink); margin: 2.5rem 0 1rem; }
.page-content-body a { color: var(--vermil); }

/* ─────────────────────────────────────────────
   404
───────────────────────────────────────────── */
.error-404-wrap {
  padding: 100px 2rem;
  text-align: center;
}
.error-404-wrap h1 {
  font-family: var(--serif);
  font-size: 6rem;
  font-weight: 700;
  color: var(--vermil);
  line-height: 1;
  margin-bottom: 1rem;
}
.error-404-wrap p { font-size: 16px; color: var(--text-sub); margin-bottom: 2rem; }

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 920px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-card.featured { grid-row: auto; }
  .news-listing-grid { grid-template-columns: repeat(2, 1fr); }
  .events-list { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .about-strip { grid-template-columns: 1fr; }
  .about-img { min-height: 260px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: flex; }
  .mobile-lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: .5rem;
  }
  .mobile-lang-item {
    color: rgba(255,255,255,0.65);
    font-size: 11px;
    font-family: var(--sans);
    text-decoration: none;
    letter-spacing: .05em;
    padding: 3px 7px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 3px;
    line-height: 1;
  }
  .mobile-lang-item:hover { color: var(--gold); border-color: var(--gold); }
  .mobile-lang-item.active-lang { color: #fff; border-color: rgba(255,255,255,0.6); font-weight: 600; }
  .site-nav ul,
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 0.5rem 0;
    background-color: var(--ink-mid);
  }
  .site-nav ul.open,
  .nav-links.open { display: flex; }
  .site-nav ul li a,
  .nav-links a { height: auto; line-height: 1; padding: 14px 2rem; }
  .site-nav ul li a::after,
  .nav-links a::after { display: none; }
  .hero-wave-panel { display: none; }
  .event-header { flex-direction: column; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .hero { height: 500px; }
  .hero h1 { font-size: 1.65rem; }
  .news-listing-grid { grid-template-columns: 1fr; }
  .wave-banner-text { font-size: 10px; letter-spacing: 0.18em; }
}

/* ─────────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────
   WordPress Core Classes
───────────────────────────────────────────── */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--text-sub); text-align: center; margin-top: 0.5rem; }
.alignleft  { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute; height: 1px; width: 1px; overflow: hidden; }

/* ─────────────────────────────────────────────
   Polylang Language Switcher
───────────────────────────────────────────── */
.pll-language-switcher { list-style: none; margin: 0; padding: 0; display: flex; gap: .75rem; }
.pll-language-switcher li { display: inline; }
.pll-language-switcher a,
.lang-toggle { color: rgba(255,255,255,.65); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: color .2s; }
.pll-language-switcher a:hover,
.lang-toggle:hover { color: #fff; }
.pll-language-switcher .current-lang a { color: #fff; font-weight: 600; }
.topbar-links .lang-en,
.topbar-links .lang-zh { display: inline-block; }
