/* ==========================================================================
   Gateway to Learn Hub — Design System (logo palette: yellow, brown, coral accent)
   ========================================================================== */

:root {
  --brown-900: #3a1212;
  --brown-800: #521a1a;
  --brown-700: #6b2a22;
  --coral-700: #d4473b;
  --coral-600: #fd6155;
  --coral-500: #ff7d72;
  --coral-100: #ffe8e4;
  --gold-600: #e9a23b;
  --gold-500: #ffbd59;
  --gold-400: #ffcf80;
  --gold-100: #fff3dc;
  --peach: #fddfb9;
  --cream: #fffaf2;
  --ink: #2a1a17;
  --ink-2: #523f3a;
  --muted: #8d7a72;
  --line: #f0e2cc;
  --white: #ffffff;
  --success: #1f8a5b;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(82, 26, 26, 0.06);
  --shadow: 0 12px 32px rgba(82, 26, 26, 0.1);
  --shadow-lg: 0 24px 60px rgba(82, 26, 26, 0.18);

  --font-body: "IBM Plex Sans Thai", "Noto Sans Thai", system-ui, sans-serif;
  --font-head: "Prompt", "IBM Plex Sans Thai", system-ui, sans-serif;
  --font-cn: "Noto Serif SC", serif;

  --container: 1200px;
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-2); }
ul { padding-left: 1.2em; margin: 0 0 1em; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--white { background: var(--white); }
.section--dark {
  background: radial-gradient(700px 360px at 100% 0%, rgba(255, 189, 89, .22), transparent 60%), var(--brown-800);
  color: var(--cream);
}
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(255, 250, 242, .78); }
.cn { font-family: var(--font-cn); }
.text-gold { color: var(--gold-500); }
.text-red { color: var(--coral-700); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }

/* Section heading */
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brown-700); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--gold-500); }
.section--dark .eyebrow { color: var(--gold-400); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: .98rem; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; transition: transform .25s; }
.btn:hover .btn-icon { transform: rotate(-10deg) scale(1.1); }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--brown-800); box-shadow: 0 8px 20px rgba(233, 162, 59, .35); }
.btn--primary:hover { box-shadow: 0 12px 28px rgba(233, 162, 59, .45); }
.btn--gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--brown-800); box-shadow: 0 8px 20px rgba(233, 162, 59, .35); }
.btn--dark { background: var(--brown-800); color: var(--gold-400); box-shadow: 0 8px 20px rgba(82, 26, 26, .25); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--light { background: var(--white); color: var(--brown-700); }
.btn--sm { padding: 8px 16px; font-size: .88rem; }
.btn--block { width: 100%; }

/* Badges & chips */
.badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; background: var(--coral-100); color: var(--coral-700);
}
.badge--gold { background: var(--gold-100); color: var(--brown-700); }
.badge--green { background: #e3f4ec; color: var(--success); }
.badge--dark { background: var(--brown-800); color: var(--gold-400); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--white); font-weight: 500; color: var(--ink-2); transition: all .2s;
}
.chip:hover { border-color: var(--gold-500); color: var(--brown-700); }
.chip.is-active { background: var(--gold-500); border-color: var(--gold-500); color: var(--brown-800); font-weight: 600; }

/* Grid */
.grid { display: grid; gap: 24px; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }

/* Cards */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-400); }
.card h3 { margin-top: 12px; }
.card p:last-child { margin-bottom: 0; }
.card .card-foot { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.card--media { padding: 0; overflow: hidden; }
.card--media .card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.icon-box {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--peach), var(--gold-100)); font-size: 1.5rem;
}
.price { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--brown-700); }
.price small { font-size: .8rem; color: var(--muted); font-weight: 400; text-decoration: line-through; margin-left: 6px; }

/* Photo placeholder (falls back to gradient when image fails) */
.ph {
  position: relative; overflow: hidden; background:
    radial-gradient(circle at 20% 20%, rgba(230, 191, 115, .55), transparent 45%),
    linear-gradient(135deg, var(--gold-500), var(--brown-700));
  aspect-ratio: 4 / 3;
}
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .ph img { transform: scale(1.05); }
.ph[data-label]::after {
  content: attr(data-label); position: absolute; left: 14px; bottom: 12px;
  font-size: .78rem; color: var(--white); background: rgba(0, 0, 0, .35); padding: 3px 10px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.ph--square { aspect-ratio: 1; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--tall { aspect-ratio: 3 / 4; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 250, 242, .85); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; line-height: 1.1; }
.logo-img { width: 60px; height: 60px; object-fit: contain; flex-shrink: 0; }
.logo-img--footer { width: 88px; height: 88px; padding: 6px; border-radius: var(--radius); background: var(--cream); }
.logo small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .72rem; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop > button {
  padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--ink-2);
  background: none; border: 0; transition: background .2s, color .2s;
}
.nav > a:hover, .nav-drop > button:hover { background: var(--gold-100); color: var(--brown-700); }
.nav > a.is-active, .nav-drop.is-active > button { color: var(--brown-800); background: var(--gold-500); font-weight: 600; }
.nav-drop { position: relative; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  min-width: 280px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transition: all .2s;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-drop-menu a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 12px; }
.nav-drop-menu a:hover { background: var(--cream); }
.nav-drop-menu strong { display: block; font-size: .95rem; }
.nav-drop-menu span { font-size: .8rem; color: var(--muted); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line);
  background: var(--white); display: flex; align-items: center; justify-content: center;
  padding: 0; margin: 0; line-height: 0; font-size: 1.15rem; box-sizing: border-box;
  color: var(--brown-900); transition: background .2s, border-color .2s, transform .2s;
}
.cart-btn svg { display: block; width: 21px; height: 21px; margin: 0; padding: 0; flex-shrink: 0; }
.cart-btn:hover { background: var(--gold-500); border-color: transparent; transform: translateY(-2px); }
.cart-empty-icon {
  width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-100); color: var(--brown-700);
}
.cart-empty-icon svg { width: 34px; height: 34px; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--coral-600); color: var(--white); font-size: .72rem; font-weight: 700; display: grid; place-items: center;
}
.cart-count:empty, .cart-count[data-count="0"] { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); font-size: 1.2rem; }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--cream); z-index: 49;
  padding: 24px 20px; overflow-y: auto; transform: translateX(100%); transition: transform .3s;
}
.mobile-nav.is-open { transform: none; }
.mobile-nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 1.05rem; }
.mobile-nav .btn { margin-top: 24px; width: 100%; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; padding: 72px 0 96px;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(212, 162, 76, .25), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(253, 223, 185, .7), transparent 60%),
    var(--cream);
}
.hero::before {
  content: "学"; position: absolute; right: -60px; bottom: -80px; font-family: var(--font-cn);
  font-size: 380px; line-height: 1; color: rgba(255, 189, 89, .1); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  font-size: .86rem; font-weight: 600; color: var(--brown-800); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.hero-badge i { width: 10px; height: 10px; border-radius: 50%; background: #2fb36d; box-shadow: 0 0 0 4px rgba(47, 179, 109, .18); }
.hero-kicker {
  margin: 26px 0 6px; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--coral-700);
}
.hero h1 { margin: 0 0 20px; font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.2; color: var(--brown-900); letter-spacing: -.01em; }
.hero h1 mark {
  display: inline-block; margin-top: 8px; padding: 2px 18px 6px; border-radius: 16px; line-height: 1.25;
  color: var(--brown-900); background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 10px 24px rgba(233, 162, 59, .3); transform: rotate(-1deg);
}
.hero-lead { font-size: 1.12rem; max-width: 540px; color: var(--ink-2); }
.hero-lead strong { color: var(--brown-800); }
.hero-steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 560px; }
.hero-steps li {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.hero-steps li:not(:last-child)::after {
  content: "›"; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); z-index: 1;
  width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .9rem; line-height: 1;
  background: var(--gold-500); color: var(--brown-800);
}
.hero-steps b {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--font-head); font-size: .9rem; background: var(--brown-800); color: var(--gold-400);
}
.hero-steps span { font-size: .74rem; line-height: 1.35; color: var(--muted); }
.hero-steps strong { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 30px; }
.hero-trust { display: flex; align-items: center; gap: 14px; font-size: .9rem; color: var(--muted); }
.hero-trust > div:last-child { display: grid; line-height: 1.4; }
.hero-trust strong { color: var(--brown-800); }
.hero-avatars, .hero-teachers { display: flex; }
.hero-avatars img, .hero-teachers img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 3px solid var(--cream); margin-left: -12px; background: var(--gold-100);
}
.hero-avatars img:first-child, .hero-teachers img:first-child { margin-left: 0; }
.hero-teachers img { width: 34px; height: 34px; border-color: var(--white); }
.avatars { display: flex; }
.avatars span {
  width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--cream); margin-left: -10px;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: var(--white);
  background: linear-gradient(135deg, var(--coral-500), var(--brown-800));
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2n) { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--brown-900); }

.hero-visual { position: relative; padding: 0 0 56px 0; }
.hero-photo { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--gold-400), var(--coral-600)); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo--main { width: 86%; margin-left: auto; aspect-ratio: 4 / 4.6; border-radius: 160px 160px var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-photo--sub {
  position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 1; border-radius: var(--radius-lg);
  border: 6px solid var(--cream); box-shadow: var(--shadow-lg);
}
.float-card--c { right: -12px; top: 6%; animation-delay: -1.2s; }
.float-card {
  position: absolute; background: var(--white); border-radius: var(--radius); padding: 14px 18px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-size: .9rem;
  animation: float 5s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.float-card span { color: var(--muted); font-size: .8rem; }
.float-card--a { left: -8px; top: 30%; }
.float-card--b { right: -16px; bottom: 18%; animation-delay: -2.5s; }
.float-card .dot { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--gold-100); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #e23; margin-right: 6px; animation: pulse 1.4s infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes pulse { 50% { opacity: .3; } }

/* Page hero (sub pages) */
.page-hero {
  position: relative; overflow: hidden; padding: 80px 0 72px; color: var(--brown-800);
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(255, 255, 255, .45), transparent 60%),
    radial-gradient(500px 260px at 0% 100%, rgba(253, 97, 85, .14), transparent 60%),
    linear-gradient(135deg, var(--gold-400), var(--gold-500));
}
.page-hero::after {
  content: attr(data-cn); position: absolute; right: 4%; bottom: -60px; font-family: var(--font-cn);
  font-size: 240px; line-height: 1; color: rgba(82, 26, 26, .08); pointer-events: none;
}
.page-hero h1 { color: var(--brown-800); max-width: 760px; }
.page-hero p { color: var(--brown-700); font-size: 1.1rem; max-width: 640px; }
.page-hero .eyebrow { color: var(--brown-700); }
.page-hero .eyebrow::before { background: var(--coral-600); }
.page-hero .text-gold { color: var(--coral-700); }
.breadcrumb { font-size: .85rem; color: rgba(82, 26, 26, .65); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--brown-800); text-decoration: underline; }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line);
  margin-top: -56px; position: relative; z-index: 2;
}
.stat { padding: 28px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--brown-700); line-height: 1.2; }
.stat span { font-size: .9rem; color: var(--muted); }

/* ==========================================================================
   Teachers & classroom
   ========================================================================== */
.teacher-grid { gap: 28px; }
.tcard {
  position: relative; display: flex; flex-direction: column; overflow: hidden; text-align: left;
  background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s;
}
.tcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.tcard-media {
  position: relative; aspect-ratio: 4 / 4.3; overflow: hidden; margin: 10px 10px 0; border-radius: calc(var(--radius-lg) - 6px);
  background: linear-gradient(135deg, var(--gold-400), var(--coral-600));
}
.tcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.tcard:hover .tcard-media img { transform: scale(1.06); }
.tcard-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(42, 12, 12, .9)); }
.tcard-cat { position: absolute; top: 14px; left: 14px; z-index: 1; color: var(--white); background: rgba(42, 12, 12, .35); }
.tcard-years {
  position: absolute; top: 14px; right: 14px; z-index: 1; padding: 8px 12px; border-radius: 14px; text-align: center;
  font-size: .68rem; line-height: 1.25; font-weight: 600; color: var(--brown-800);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); box-shadow: 0 6px 18px rgba(82, 26, 26, .25);
}
.tcard-years strong { display: block; font-family: var(--font-head); font-size: 1.5rem; line-height: 1.1; }
.tcard-years small { font-size: .75rem; margin-left: 2px; }
.tcard-id { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: var(--white); }
.tcard-id h3 { margin: 0 0 4px; color: var(--white); font-size: 1.45rem; }
.tcard-id h3 .cn { font-size: 1rem; color: var(--gold-400); font-weight: 600; }
.tcard-id > span { display: inline-block; font-size: .9rem; color: rgba(255, 255, 255, .85); }
.tcard-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.tcard-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tcard blockquote {
  position: relative; margin: 0 0 12px; padding: 12px 14px 12px 40px; border-radius: 14px; background: var(--gold-100);
  font-size: .92rem; color: var(--brown-700); font-weight: 500;
}
.tcard blockquote::before {
  content: "“"; position: absolute; left: 12px; top: 2px; font-family: var(--font-head); font-size: 2.2rem; color: var(--gold-600);
}
.tcard-body p { margin: 0 0 18px; color: var(--ink-2); font-size: .95rem; }
.tcard-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line);
}
.tcard-social { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tcard-social-label { width: 100%; font-size: .72rem; font-weight: 600; letter-spacing: .06em; color: var(--muted); margin-bottom: 2px; }
.tsocial {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); color: var(--brown-700); border: 1px solid var(--line);
  transition: transform .25s, background .25s, color .25s, border-color .25s;
}
.tsocial svg { width: 17px; height: 17px; }
.tsocial:hover, .tsocial:focus-visible { transform: translateY(-3px); color: var(--white); border-color: transparent; }
.tsocial--line:hover, .tsocial--line:focus-visible { background: #06c755; }
.tsocial--facebook:hover, .tsocial--facebook:focus-visible { background: #1877f2; }
.tsocial--instagram:hover, .tsocial--instagram:focus-visible { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.tsocial--tiktok:hover, .tsocial--tiktok:focus-visible { background: #111; }
.tsocial--youtube:hover, .tsocial--youtube:focus-visible { background: #ff0000; }
.tsocial--email:hover, .tsocial--email:focus-visible { background: var(--coral-600); }
.tcard-book {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; align-self: flex-end;
  background: var(--brown-800); color: var(--gold-400); font-weight: 600; font-size: .88rem; transition: background .25s, color .25s;
}
.tcard-book i { font-style: normal; transition: transform .25s; }
.tcard-book:hover { background: var(--gold-500); color: var(--brown-800); }
.tcard-book:hover i { transform: translateX(3px); }
.play-btn {
  position: absolute; inset: 0; z-index: 2; margin: auto; width: 64px; height: 64px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .92); color: var(--brown-700); font-size: 1.4rem; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .3s, opacity .3s;
}
.tcard .play-btn { opacity: 0; transform: scale(.8); }
.tcard:hover .play-btn, .tcard .play-btn:focus-visible { opacity: 1; transform: none; }
.play-btn:hover { transform: scale(1.1); }
@media (hover: none) { .tcard .play-btn { opacity: 1; transform: none; width: 52px; height: 52px; } }

/* Gallery — shared */
.gallery-filters { justify-content: center; }
.chip-count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 8px;
  border-radius: 999px; font-size: .72rem; font-weight: 700; background: var(--gold-100); color: var(--brown-700);
}
.chip.is-active .chip-count { background: var(--brown-800); color: var(--gold-400); }
.g-panel, .g-tile, .g-item {
  position: relative; overflow: hidden; padding: 0; border: 0; font: inherit; color: var(--white); text-align: left;
  background: linear-gradient(135deg, var(--gold-500), var(--brown-700));
}
.g-panel img, .g-tile img, .g-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Gallery — featured accordion */
.g-feature { margin-bottom: 20px; }
.g-accordion { display: flex; gap: 12px; height: 480px; }
.g-panel {
  flex: 1; min-width: 0; border-radius: var(--radius-lg); cursor: pointer;
  transition: flex .7s cubic-bezier(.2, .8, .2, 1), box-shadow .4s;
}
.g-panel.is-active { flex: 4.5; box-shadow: var(--shadow-lg); cursor: zoom-in; }
.g-panel img { filter: saturate(.8) brightness(.8); transition: transform 1.2s cubic-bezier(.2, .8, .2, 1), filter .5s; }
.g-panel.is-active img { filter: none; transform: scale(1.04); }
.g-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(42, 12, 12, .88)); }
.g-panel-no {
  position: absolute; left: 50%; bottom: 22px; z-index: 1; transform: translateX(-50%);
  font-family: var(--font-head); font-weight: 700; letter-spacing: .1em; color: var(--gold-400); transition: opacity .3s;
}
.g-panel.is-active .g-panel-no { opacity: 0; }
.g-panel-info {
  position: absolute; left: 28px; bottom: 26px; z-index: 1; width: min(460px, calc(100% - 56px));
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  opacity: 0; transform: translateY(16px); transition: opacity .3s, transform .4s;
}
.g-panel.is-active .g-panel-info { opacity: 1; transform: none; transition-delay: .25s; }
.g-panel-info strong { font-family: var(--font-head); font-size: clamp(1.25rem, 2.2vw, 1.8rem); line-height: 1.3; }
.g-panel-open { padding: 8px 16px; border-radius: 999px; background: var(--gold-500); color: var(--brown-800); font-weight: 600; font-size: .88rem; }

/* Gallery — infinite marquee */
.g-marquee {
  display: grid; gap: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.g-row { overflow: hidden; }
.g-track { display: flex; gap: 14px; width: max-content; animation: marquee var(--dur, 90s) linear infinite; }
.g-row--reverse .g-track { animation-direction: reverse; }
.g-marquee:hover .g-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
.g-tile { flex: none; height: 210px; border-radius: var(--radius); cursor: zoom-in; }
.g-tile img { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.g-tile:hover img { transform: scale(1.08); }
.g-tile-cap {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px;
  font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: rgba(42, 12, 12, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.g-tile:hover .g-tile-cap { opacity: 1; transform: none; }

/* Gallery — bento mosaic */
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 14px; }
.g-item { border-radius: var(--radius); cursor: zoom-in; box-shadow: var(--shadow-sm); transition: box-shadow .3s; }
.g-item.is-new { animation: fadeUp .5s ease both; animation-delay: var(--d); }
.g-item--big { grid-column: span 2; grid-row: span 2; }
.g-item--wide { grid-column: span 2; }
.g-item--tall { grid-row: span 2; }
.g-item img { transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.g-item:hover { box-shadow: var(--shadow-lg); }
.g-item:hover img { transform: scale(1.07); }
.g-cap {
  position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px;
  padding: 8px 12px 8px 8px; border-radius: 14px; font-size: .86rem; font-weight: 500; color: var(--brown-800);
  background: rgba(255, 255, 255, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transform: translateY(calc(100% + 16px)); transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.g-cap > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-cap .badge { flex-shrink: 0; }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { transform: none; }
.g-zoom {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .9); color: var(--brown-800); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s;
}
.g-item:hover .g-zoom { opacity: 1; transform: none; }
@media (hover: none) {
  .g-cap { transform: none; font-size: .78rem; }
  .g-tile-cap { opacity: 1; transform: none; }
}

/* Scholarship spotlight */
.schol {
  position: relative; overflow: hidden; color: var(--cream);
  background:
    radial-gradient(600px 400px at 0% 100%, rgba(253, 97, 85, .28), transparent 60%),
    radial-gradient(700px 420px at 100% 0%, rgba(255, 189, 89, .3), transparent 60%),
    var(--brown-900);
}
.schol::before {
  content: "奖学金"; position: absolute; right: -2%; bottom: -70px; font-family: var(--font-cn);
  font-size: 220px; line-height: 1; color: rgba(255, 189, 89, .06); pointer-events: none;
}
.schol h2, .schol h3 { color: var(--white); }
.schol .eyebrow { color: var(--gold-400); }
.schol-copy > p { color: rgba(255, 250, 242, .78); }
.schol-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.schol h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.schol-cover { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 28px 0; }
.schol-cover > div {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 12px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 207, 128, .18);
}
.schol-cover span { font-size: 1.4rem; margin-bottom: 4px; }
.schol-cover strong { font-family: var(--font-head); color: var(--white); font-size: 1rem; }
.schol-cover small { font-size: .76rem; color: var(--gold-400); }
.schol-steps { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.schol-steps li { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: rgba(255, 250, 242, .82); line-height: 1.45; }
.schol-steps b {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-size: .8rem; color: var(--brown-900); background: var(--gold-500);
}
.schol-tickets { display: grid; gap: 14px; }
.ticket {
  --notch: var(--brown-900);
  position: relative; display: grid; grid-template-columns: 1fr 150px; border-radius: 20px; overflow: hidden;
  background: var(--cream); color: var(--ink);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s;
}
.ticket:hover { transform: translateX(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.ticket-main { padding: 18px 22px; }
.ticket-main h3 { margin: 6px 0 2px; color: var(--brown-800); font-size: 1.2rem; }
.ticket-main p { margin: 0; font-size: .88rem; color: var(--ink-2); }
.ticket-top { display: flex; gap: 8px; align-items: center; }
.ticket-flag { font-size: .78rem; font-weight: 600; color: var(--brown-700); }
.ticket-hot { padding: 3px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700; background: var(--coral-600); color: var(--white); }
.ticket-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ticket-chips span { padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; background: rgba(82, 26, 26, .1); color: var(--brown-800); }
.ticket-chips span::before { content: "✓ "; }
.ticket-stub {
  position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: 14px 10px; background: var(--gold-100); border-left: 2px dashed rgba(82, 26, 26, .25);
}
.ticket-stub::before, .ticket-stub::after {
  content: ""; position: absolute; left: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--notch);
}
.ticket-stub::before { top: -10px; }
.ticket-stub::after { bottom: -10px; }
.ticket-stub small { font-size: .7rem; color: var(--brown-700); }
.ticket-stub strong { font-family: var(--font-head); font-size: 1.55rem; line-height: 1.15; color: var(--brown-800); }
.ticket--feature { background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); }
.ticket--feature .ticket-main { padding: 24px 26px; }
.ticket--feature h3 { font-size: 1.6rem; }
.ticket--feature .ticket-stub { background: var(--brown-800); border-left-color: rgba(255, 207, 128, .4); }
.ticket--feature .ticket-stub small { color: rgba(255, 250, 242, .7); }
.ticket--feature .ticket-stub strong { color: var(--gold-400); font-size: 2rem; }
.ticket-go {
  margin-top: 8px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-500); color: var(--brown-800); font-weight: 700; transition: transform .3s;
}
.ticket:hover .ticket-go { transform: translateX(3px); }
.schol-note { margin: 2px 0 0; font-size: .75rem; color: rgba(255, 250, 242, .55); }

/* Student stories */
.stories { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.story {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 26px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s;
}
.story:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.story blockquote { margin: 0; font-size: 1.02rem; line-height: 1.7; color: var(--ink); }
.story-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.story-tag { padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 600; background: var(--gold-100); color: var(--brown-700); }
.story-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); }
.story-who { display: flex; align-items: center; gap: 12px; }
.story-who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-400); flex-shrink: 0; }
.story-who strong { display: block; font-family: var(--font-head); }
.story-who span { font-size: .82rem; color: var(--muted); }
.story-route {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  font-family: var(--font-head); font-size: .74rem; font-weight: 600; letter-spacing: .08em;
  background: var(--brown-800); color: var(--gold-400);
}
.story-route i { font-style: normal; color: var(--white); }
.story--gold { background: linear-gradient(135deg, var(--gold-100), var(--peach)); border-color: transparent; }
.story--gold .story-tag { background: var(--white); }
.story--gold .story-foot { border-top-color: rgba(82, 26, 26, .15); }
.story--photo { display: grid; grid-template-columns: minmax(150px, 42%) 1fr; gap: 0; padding: 0; overflow: hidden; }
.story-photo { position: relative; min-height: 240px; overflow: hidden; background: linear-gradient(135deg, var(--gold-400), var(--coral-600)); }
.story-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.story--photo:hover .story-photo img { transform: scale(1.07); }
.story-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(42, 12, 12, .7)); }
.story-photo .story-route { position: absolute; top: 12px; left: 12px; z-index: 1; }
.story-city { position: absolute; left: 12px; bottom: 12px; z-index: 1; font-size: .8rem; font-weight: 600; color: var(--white); }
.story-content { display: flex; flex-direction: column; gap: 14px; padding: 22px; }
.story--photo blockquote { font-size: .95rem; }
.story--feature {
  grid-row: span 2; justify-content: space-between; min-height: 520px; padding: 28px; overflow: hidden; border: 0; color: var(--white);
  background: linear-gradient(135deg, var(--brown-700), var(--brown-900));
}
.story-media { position: absolute; inset: 0; }
.story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.story--feature:hover .story-media img { transform: scale(1.05); }
.story--feature::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(42, 12, 12, .25) 0%, rgba(42, 12, 12, .2) 35%, rgba(42, 12, 12, .92) 100%);
}
.story-top, .story-body { position: relative; z-index: 2; }
.story-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.story--feature .pill { color: var(--white); }
.story--feature .story-route { background: var(--gold-500); color: var(--brown-800); }
.story--feature .story-route i { color: var(--brown-800); }
.story-mark { display: block; height: 56px; font-family: Georgia, serif; font-size: 6rem; line-height: 1; color: var(--gold-500); }
.story--feature blockquote { font-family: var(--font-head); font-size: clamp(1.25rem, 2.2vw, 1.65rem); font-weight: 500; line-height: 1.5; color: var(--white); margin-bottom: 22px; }
.story--feature .story-who span { color: rgba(255, 250, 242, .75); }
.story-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 20px;
  padding: 18px 22px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
}
.story-avatars { display: flex; align-items: center; }
.story-avatars img, .story-avatars span {
  width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--white); margin-left: -12px; object-fit: cover;
}
.story-avatars img:first-child { margin-left: 0; }
.story-avatars span { display: grid; place-items: center; font-size: .72rem; font-weight: 700; background: var(--brown-800); color: var(--gold-400); }
.story-score { display: flex; align-items: center; gap: 12px; }
.story-score strong { font-family: var(--font-head); font-size: 2.2rem; line-height: 1; color: var(--brown-800); }
.story-score small { display: block; font-size: .82rem; color: var(--muted); }

.acc-more { margin-top: 18px; text-align: right; }

/* Course post cards */
.course-grid { gap: 22px; }
.ccard {
  display: flex; flex-direction: column; overflow: hidden; color: inherit;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s;
}
.ccard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ccard-media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; margin: 8px 8px 0; border-radius: calc(var(--radius-lg) - 6px);
  background: linear-gradient(135deg, var(--gold-400), var(--coral-600));
}
.ccard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.ccard:hover .ccard-media img { transform: scale(1.08); }
.ccard-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42, 12, 12, .35), transparent 40%); }
.ccard-media .pill { position: absolute; top: 12px; left: 12px; z-index: 1; color: var(--white); background: rgba(42, 12, 12, .4); }
.ccard-flag {
  position: absolute; right: 12px; bottom: 12px; z-index: 1; padding: 5px 12px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; background: var(--gold-500); color: var(--brown-800);
}
.ccard-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.ccard-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: .78rem; color: var(--muted); margin-bottom: 8px; }
.ccard h3 { margin: 0 0 6px; font-size: 1.15rem; }
.ccard p { margin: 0 0 16px; font-size: .9rem; color: var(--ink-2); }
.ccard-foot {
  display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line);
}
.ccard-go {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700;
  background: var(--gold-100); color: var(--brown-800); transform: rotate(-45deg); transition: transform .35s, background .35s;
}
.ccard:hover .ccard-go { transform: none; background: var(--gold-500); }
.ccard-link { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--brown-700); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 130; display: grid; grid-template-columns: 72px 1fr 72px; grid-template-rows: auto 1fr auto;
  background: rgba(30, 12, 12, .94); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lb-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; color: rgba(255, 255, 255, .8); font-size: .9rem; }
.lb-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08);
  color: var(--white); font-size: 1.3rem; display: grid; place-items: center; transition: background .2s, color .2s;
}
.lb-btn:hover { background: var(--gold-500); color: var(--brown-800); border-color: var(--gold-500); }
.lb-nav { grid-row: 2; align-self: center; justify-self: center; font-size: 2rem; line-height: 1; }
.lb-prev { grid-column: 1; }
.lb-next { grid-column: 3; }
.lb-stage { grid-column: 2; grid-row: 2; margin: 0; min-width: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 230px); object-fit: contain; border-radius: var(--radius-sm); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: fadeUp .35s ease; }
.lb-stage figcaption { display: flex; align-items: center; gap: 10px; color: var(--white); font-size: 1rem; text-align: center; }
.lb-stage.is-broken img { display: none; }
.lb-stage.is-broken::before {
  content: "ไม่สามารถโหลดรูปตัวอย่างได้"; width: min(640px, 90%); aspect-ratio: 4 / 3; border-radius: var(--radius-sm);
  display: grid; place-items: center; color: var(--white); background: linear-gradient(135deg, var(--gold-500), var(--brown-700));
}
.lb-thumbs { grid-column: 1 / -1; grid-row: 3; display: flex; gap: 8px; overflow-x: auto; padding: 14px 20px 20px; scrollbar-width: none; justify-content: safe center; }
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumbs button {
  flex: 0 0 72px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden;
  background: var(--brown-700); opacity: .5; transition: opacity .2s, border-color .2s;
}
.lb-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumbs button:hover { opacity: .85; }
.lb-thumbs button.is-active { opacity: 1; border-color: var(--gold-500); }

.timeline { position: relative; display: grid; gap: 20px; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold-500), var(--coral-600)); }
.tl-item { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; }
.tl-dot {
  width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 2px solid var(--gold-500);
  display: grid; place-items: center; font-size: 1.1rem; position: relative; z-index: 1;
}
.tl-item h4 { margin: 6px 0 4px; font-size: 1.05rem; }
.tl-item p { margin: 0; font-size: .95rem; }
.tl-time { font-size: .8rem; font-weight: 600; color: var(--coral-700); }

/* ==========================================================================
   Tables
   ========================================================================== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--brown-800); color: var(--cream); font-weight: 600; font-family: var(--font-head); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--cream); }

/* ==========================================================================
   Accordion (details) & tabs
   ========================================================================== */
.acc { display: grid; gap: 16px; }
.acc details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.acc details[open] { box-shadow: var(--shadow); border-color: var(--gold-400); }
.acc summary {
  list-style: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; gap: 16px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .acc-title { flex: 1; }
.acc summary h3 { margin: 0; }
.acc summary .acc-sub { font-size: .9rem; color: var(--muted); }
.acc summary::after {
  content: "+"; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--gold-100); color: var(--brown-700); font-size: 1.3rem; font-weight: 600; transition: transform .25s;
}
.acc details[open] summary::after { transform: rotate(45deg); background: var(--brown-700); color: var(--white); }
.acc-body { padding: 0 26px 26px; border-top: 1px dashed var(--line); padding-top: 22px; }
.acc-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.acc-cols h4 { font-size: 1rem; color: var(--brown-700); margin-bottom: 8px; }
.acc-cols ul { font-size: .94rem; color: var(--ink-2); }

.tabs-nav { display: flex; gap: 8px; flex-wrap: wrap; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; width: fit-content; margin-bottom: 40px; }
.tabs-nav button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font-weight: 600; color: var(--ink-2); }
.tabs-nav button.is-active { background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--brown-800); box-shadow: 0 6px 16px rgba(233, 162, 59, .35); }
.tab-panel { display: none; animation: fadeUp .4s ease; }
.tab-panel.is-active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--cream); cursor: pointer; font-size: .94rem; }
.checklist input { accent-color: var(--coral-600); margin-top: 5px; width: 16px; height: 16px; flex-shrink: 0; }
.checklist input:checked + span { text-decoration: line-through; color: var(--muted); }
.progress { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 10px 0 14px; }
.progress > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-500), var(--coral-600)); transition: width .3s; }
.progress-label { font-size: .85rem; color: var(--muted); }

/* ==========================================================================
   Feature list, steps, CTA, testimonials
   ========================================================================== */
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before {
  content: "\2713"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: .72rem; font-weight: 700; background: var(--gold-100); color: var(--brown-700);
}
.section--dark .ticks li { color: rgba(255, 250, 242, .85); }
.section--dark .ticks li::before { background: var(--gold-500); color: var(--brown-900); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding: 28px 24px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-weight: 700; font-size: 2.4rem;
  color: var(--gold-400); line-height: 1; display: block; margin-bottom: 12px;
}

.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 56px;
  background: radial-gradient(500px 260px at 100% 0%, rgba(255, 189, 89, .4), transparent 60%), linear-gradient(135deg, var(--brown-800), var(--brown-900));
  color: var(--cream); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 250, 242, .8); margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

.testimonial { position: relative; }
.testimonial::before { content: "“"; position: absolute; top: 4px; right: 24px; font-family: Georgia, serif; font-size: 5rem; color: var(--gold-100); line-height: 1; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; }
.testimonial .who .av {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--white);
  background: linear-gradient(135deg, var(--coral-500), var(--brown-800));
}
.testimonial .who strong { display: block; }
.stars { color: #f9a825; letter-spacing: 3px; font-size: 1.15rem; line-height: 1; display: inline-flex; align-items: center; }

.note {
  display: flex; gap: 12px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: .9rem;
  background: var(--gold-100); border: 1px dashed var(--gold-500); color: var(--ink-2); margin-bottom: 24px;
}

/* Explore posts (bento) */
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head-row .section-head { margin: 0; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 300px; gap: 20px; }
.post {
  position: relative; isolation: isolate; overflow: hidden; grid-column: span 5;
  display: flex; flex-direction: column; justify-content: space-between; padding: 24px;
  border-radius: var(--radius-lg); background: var(--brown-800); color: var(--white); box-shadow: var(--shadow-sm);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s;
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post--feature { grid-column: span 7; grid-row: span 2; padding: 32px; }
.post--banner { grid-column: span 12; flex-direction: row; align-items: center; padding: 36px 40px; background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--brown-800); }
.post-media { position: absolute; inset: 0; z-index: -2; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.post:hover .post-media img { transform: scale(1.08); }
.post::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(58, 18, 18, .1) 0%, rgba(58, 18, 18, .35) 45%, rgba(42, 12, 12, .94) 100%);
}
.post--banner::before { display: none; }
.post--banner .post-media { left: 42%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }

.post-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.post-top--inline { justify-content: flex-start; margin-bottom: 18px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.post-no {
  padding: 6px 12px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .12em;
  color: var(--gold-400); background: rgba(42, 12, 12, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.post-body { position: relative; }
.post-body h3 { color: inherit; font-size: 1.35rem; margin: 0 0 8px; }
.post--feature .post-body h3 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.post-body p { color: rgba(255, 255, 255, .8); font-size: .96rem; margin: 0 0 18px; max-width: 520px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.post-tags span {
  padding: 6px 12px; border-radius: 999px; font-size: .82rem; background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.post-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.post-stats div {
  padding: 10px 8px; border-radius: 14px; text-align: center; line-height: 1.3;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.post-stats strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--gold-400); }
.post-stats span { font-size: .75rem; color: rgba(255, 255, 255, .78); }
.post-rating { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: .88rem; color: rgba(255, 255, 255, .85); }
.post-rating .score { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--gold-400); line-height: 1; }
.post-rating .avatars span { width: 32px; height: 32px; border-color: var(--brown-800); font-size: .72rem; }
.post-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .18); font-size: .85rem; color: rgba(255, 255, 255, .75);
}
.post-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }
.post-cta { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--white); }
.post-cta i {
  font-style: normal; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-500); color: var(--brown-800); transform: rotate(-45deg); transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.post:hover .post-cta i { transform: none; }

.post--banner .post-body { max-width: 560px; }
.post--banner .post-body p { color: var(--brown-700); }
.post--banner .pill { background: rgba(82, 26, 26, .08); border-color: rgba(82, 26, 26, .18); }
.post--banner .post-no { color: var(--gold-400); background: var(--brown-800); }
.post--banner .post-tags span { background: rgba(255, 255, 255, .55); border-color: rgba(82, 26, 26, .12); }
.post--banner .post-meta { color: var(--brown-700); border-top-color: rgba(82, 26, 26, .18); }
.post--banner .post-cta { color: var(--brown-800); }
.post--banner .post-cta i { background: var(--brown-800); color: var(--gold-400); }

/* Forms */
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white);
  font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(212, 162, 76, .18); }

/* Cost of living bars */
.bar-chart { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 140px 1fr 120px; gap: 16px; align-items: center; font-size: .95rem; }
.bar-track { height: 14px; background: var(--line); border-radius: 999px; overflow: hidden; }
.bar-track i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold-500), var(--coral-600)); width: 0; transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.bar-row strong { text-align: right; font-family: var(--font-head); color: var(--brown-700); }
.cost-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; font-size: .93rem; }
.cost-list li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.cost-list li span:last-child { font-weight: 600; color: var(--ink); }
.cost-total { display: flex; justify-content: space-between; align-items: center; flex-wrap: nowrap; gap: 8px; margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: var(--gold-100); }
.cost-total span { font-size: 0.88rem; font-weight: 500; white-space: nowrap; }
.cost-total strong { font-family: var(--font-head); font-size: 1.02rem; color: var(--brown-700); white-space: nowrap; font-weight: 700; }

/* Career finder */
.finder { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 40px; }
.finder-select { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.finder-result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.finder-result .card { box-shadow: none; }
.finder-result h4 { color: var(--brown-700); margin-bottom: 10px; }

/* ==========================================================================
   Cart drawer & modal
   ========================================================================== */
.overlay { position: fixed; inset: 0; background: rgba(31, 26, 23, .5); z-index: 90; opacity: 0; visibility: hidden; transition: all .25s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--cream); z-index: 100;
  transform: translateX(100%); transition: transform .3s; display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.drawer.is-open { transform: none; }
.drawer-head { padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); font-size: 1rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); background: var(--white); }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item strong { font-size: .95rem; display: block; }
.cart-item .meta { font-size: .82rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin-top: 6px; background: var(--white); }
.qty button { width: 30px; height: 28px; border: 0; background: none; }
.qty span { min-width: 24px; text-align: center; font-size: .9rem; }
.cart-empty { text-align: center; padding: 60px 0; color: var(--muted); }
.cart-total { display: flex; justify-content: space-between; font-size: 1.1rem; margin-bottom: 14px; }
.cart-total strong { font-family: var(--font-head); color: var(--brown-700); font-size: 1.4rem; }

.modal {
  position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: all .25s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-box { background: var(--white); border-radius: var(--radius-lg); padding: 36px; width: min(480px, 100%); box-shadow: var(--shadow-lg); text-align: center; position: relative; }
.modal-box .icon-btn { position: absolute; top: 16px; right: 16px; }
.qr { width: 180px; height: 180px; margin: 16px auto; border-radius: 16px; display: grid; place-items: center; background:
  repeating-conic-gradient(var(--ink) 0 25%, var(--white) 0 50%) 0 0 / 22px 22px; border: 10px solid var(--white); outline: 1px solid var(--line); }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 120px); z-index: 120;
  background: var(--ink); color: var(--white); padding: 12px 22px; border-radius: 999px; font-size: .95rem;
  box-shadow: var(--shadow-lg); transition: transform .3s;
}
.toast.is-show { transform: translate(-50%, 0); }

/* Floating contact */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.fab a {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--white); font-weight: 700; font-size: .8rem;
  box-shadow: var(--shadow-lg); transition: transform .2s;
}
.fab a:hover { transform: scale(1.08); }
.fab .line { background: #06c755; }
.fab .call { position: relative; background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--brown-800); }
.fab .call svg { width: 24px; height: 24px; }
.fab .call::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold-500);
  animation: fabRing 2.2s ease-out infinite; pointer-events: none;
}
.fab .call:hover svg { animation: fabShake .5s ease-in-out; }
@keyframes fabRing { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
@keyframes fabShake { 25% { transform: rotate(-14deg); } 50% { transform: rotate(12deg); } 75% { transform: rotate(-8deg); } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 72px 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.site-footer p { color: rgba(255, 255, 255, .65); }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--gold-400); }
.site-footer .logo { color: var(--white); margin-bottom: 16px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.social {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--gold-400);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 207, 128, .18);
  transition: transform .25s, background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.social svg { width: 20px; height: 20px; }
.social:hover, .social:focus-visible { transform: translateY(-4px); color: var(--white); border-color: transparent; box-shadow: 0 10px 22px rgba(0, 0, 0, .3); }
.social--line:hover, .social--line:focus-visible { background: #06c755; }
.social--facebook:hover, .social--facebook:focus-visible { background: #1877f2; }
.social--instagram:hover, .social--instagram:focus-visible { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social--tiktok:hover, .social--tiktok:focus-visible { background: #111; box-shadow: -2px -2px 0 #25f4ee, 2px 2px 0 #fe2c55; }
.social--youtube:hover, .social--youtube:focus-visible { background: #ff0000; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

/* Reveal on scroll */
/* Uses `translate` + animation so hover `transform` / `transition` on cards stay intact */
.reveal:not(.is-visible) { opacity: 0; }
.reveal.is-visible { animation: revealUp .7s ease both; }
@keyframes revealUp { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .post { grid-column: span 6; }
  .post--feature { grid-column: span 12; grid-row: span 1; min-height: 420px; }
  .post--banner { grid-column: span 12; }
  .bento { grid-auto-rows: minmax(300px, auto); }
}
@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .hero-grid, .split, .cta-band { grid-template-columns: 1fr; gap: 40px; }
  .cta-band { padding: 36px 28px; }
  .cta-band .actions { justify-content: flex-start; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .acc-cols, .finder-result { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .post, .post--feature, .post--banner { grid-column: auto; grid-row: auto; min-height: 320px; }
  .post--feature { min-height: 480px; padding: 24px; }
  .post--banner { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .post--banner .post-media { left: 0; opacity: .22; -webkit-mask-image: none; mask-image: none; }
  .lightbox { grid-template-columns: 0 1fr 0; }
  .lb-stage { padding: 0 12px; }
  .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .float-card--a { left: 8px; }
  .float-card--b { right: 8px; }
  .float-card--c { right: 8px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .hero::before { font-size: 260px; }
  .g-accordion { height: 420px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .g-panel, .g-panel.is-active { flex: 0 0 78%; scroll-snap-align: center; }
  .g-panel img { filter: none; }
  .g-panel-no { display: none; }
  .g-panel-info { opacity: 1; transform: none; left: 20px; bottom: 20px; width: calc(100% - 40px); }
  .schol-grid { grid-template-columns: 1fr; gap: 40px; }
  .stories { grid-template-columns: 1fr; }
  .story--feature { grid-row: auto; min-height: 460px; }
  .schol::before { font-size: 140px; bottom: -40px; }
}
@media (max-width: 600px) {
  .site-header .logo > span { display: none; }
  .site-header .logo-img { width: 64px; height: 64px; }
  .grid-2, .grid-3, .grid-4, .steps, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 90px 1fr 90px; font-size: .85rem; }
  .finder { padding: 24px; }
  .tabs-nav { border-radius: var(--radius); }
  .g-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .g-item { border-radius: var(--radius-sm); }
  .g-tile { height: 150px; }
  .gallery-filters { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; scrollbar-width: none; }
  .gallery-filters .chip { flex-shrink: 0; }
  .schol-cover { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 40px 0 80px; }
  .hero-steps { grid-template-columns: 1fr; max-width: none; }
  .hero-steps li:not(:last-child)::after { content: "⌄"; right: auto; left: 22px; top: auto; bottom: -11px; transform: none; }
  .float-card { padding: 10px 12px; font-size: .8rem; }
  .float-card .dot { width: 34px; height: 34px; font-size: 1.05rem; }
  .story, .story--feature { padding: 22px; }
  .story--photo { grid-template-columns: 1fr; padding: 0; }
  .story-photo { min-height: 0; aspect-ratio: 16 / 9; }
  .story-summary { justify-content: center; text-align: left; }
  .schol-steps { grid-template-columns: 1fr; }
  .ticket { grid-template-columns: 1fr 112px; }
  .ticket-main, .ticket--feature .ticket-main { padding: 16px 18px; }
  .ticket--feature h3 { font-size: 1.3rem; }
  .ticket-stub strong { font-size: 1.25rem; }
  .ticket--feature .ticket-stub strong { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal:not(.is-visible) { opacity: 1; }
  .g-row { overflow-x: auto; }
}

/* ==========================================================================
   Study Abroad Components & Country Cards
   ========================================================================== */
.card--country .card-body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card--country h3 {
  font-size: 1.18rem;
  margin: 0 0 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}
.card--country p {
  font-size: .88rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 12px;
}
.card--country .meta-box {
  background: var(--cream);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .82rem;
}
.card--country .pros-cons-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.card--country .pros-cons-col h4 {
  font-size: .86rem;
  margin: 0 0 4px;
}
.card--country .pros-cons-col ul {
  font-size: .82rem;
  line-height: 1.45;
  margin: 0;
  padding-left: 1.1em;
  color: var(--ink-2);
}

.card--clickable,
.card-country-clickable,
.card-city-clickable,
[data-href] {
  cursor: pointer !important;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s;
  user-select: none;
}

.card--clickable:hover,
.card-country-clickable:hover,
.card-city-clickable:hover,
[data-href]:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-500);
}

.card-city-clickable.is-active {
  border: 2.5px solid var(--gold-500);
  background: #fffdf8;
  box-shadow: 0 10px 28px rgba(233, 162, 59, .22);
}
.city-click-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--brown-700);
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  transition: color .2s, gap .2s;
}
.card-city-clickable:hover .city-click-hint {
  color: var(--coral-600);
  gap: 10px;
}
.country-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s;
  position: relative;
}
.country-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-400);
}
.country-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.country-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.country-card:hover .country-media img {
  transform: scale(1.07);
}
.country-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 12, 12, .2) 0%, rgba(42, 12, 12, .65) 100%);
}
.country-flag-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .85rem;
  color: var(--brown-800);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}
.country-tag-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: var(--gold-500);
  color: var(--brown-800);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.country-media-title {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  z-index: 2;
  color: var(--white);
}
.country-media-title h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.country-media-title .native-name {
  font-size: 1rem;
  font-family: var(--font-cn);
  opacity: .85;
  font-weight: normal;
}
.country-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.country-desc {
  font-size: .92rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}
.country-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 12px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: .82rem;
}
.country-fact-item span {
  display: block;
  color: var(--muted);
  font-size: .74rem;
  margin-bottom: 2px;
}
.country-fact-item strong {
  color: var(--brown-800);
  font-weight: 600;
}
.country-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: .86rem;
}
.country-highlights li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  color: var(--ink-2);
}
.country-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--coral-600);
  font-weight: bold;
}
.country-foot {
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.country-link-btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--brown-700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .2s, gap .2s;
}
.country-card:hover .country-link-btn {
  color: var(--coral-600);
  gap: 12px;
}

/* Taiwan Feature Box */
.taiwan-spotlight-card {
  background: linear-gradient(135deg, #fffdfa 0%, #fff3dc 100%);
  border: 2px solid var(--gold-400);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.taiwan-spotlight-card::before {
  content: "🇹🇼";
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 140px;
  opacity: .12;
  pointer-events: none;
}
.taiwan-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.spotlight-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.spotlight-pill {
  background: var(--white);
  border: 1px solid var(--gold-400);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--brown-800);
}

/* Post Detail Article Styles */
.detail-hero {
  background: radial-gradient(700px 360px at 100% 0%, rgba(255, 189, 89, .22), transparent 60%), var(--brown-800);
  color: var(--cream);
  padding: 80px 0 60px;
}
.detail-hero h1 { color: var(--white); }
.detail-hero p { color: rgba(255, 250, 242, .85); }
.detail-content {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 48px;
  box-shadow: var(--shadow);
  margin-top: -40px;
  position: relative;
  z-index: 3;
}
.detail-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .95rem;
}
.detail-table th, .detail-table td {
  padding: 14px 18px;
  border: 1px solid var(--line);
  text-align: left;
}
.detail-table th {
  background: var(--cream);
  font-family: var(--font-head);
  color: var(--brown-800);
  font-weight: 600;
}
.detail-table tr:hover td {
  background: #fffcf7;
}
@media (max-width: 900px) {
  .taiwan-grid { grid-template-columns: 1fr; }
  .detail-content { padding: 24px; }
}

/* Destination Portal Cards (Option 1 + 2) */
.portal-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s, border-color .28s;
  cursor: pointer;
  position: relative;
}
.portal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-500);
}
.portal-media {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--cream);
}
.portal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.portal-card:hover .portal-media img {
  transform: scale(1.05);
}
.portal-badge-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .88rem;
  color: var(--brown-900);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.portal-stars {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(24, 21, 18, 0.7);
  color: #f9a825;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .75rem;
  letter-spacing: 2px;
  backdrop-filter: blur(4px);
}
.portal-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.portal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.portal-tag {
  background: var(--cream);
  color: var(--brown-800);
  font-size: .78rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(233, 162, 59, 0.25);
}
.portal-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #fffcf8;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 14px;
}
.portal-metric-item {
  display: flex;
  flex-direction: column;
}
.portal-metric-label {
  font-size: .76rem;
  color: var(--muted);
  margin-bottom: 2px;
}
.portal-metric-val {
  font-size: .88rem;
  font-weight: 600;
  color: var(--brown-900);
}
.portal-city-fastpills {
  margin-bottom: 16px;
}
.portal-city-fastpills-label {
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}
.portal-city-fastpills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.portal-city-pill {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--brown-800);
  font-size: .8rem;
  padding: 3px 10px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  transition: all .2s;
  cursor: pointer;
}
.portal-city-pill:hover {
  background: var(--gold-500);
  color: var(--brown-900);
  border-color: var(--gold-500);
  transform: translateY(-1px);
}
.portal-btn {
  width: 100%;
  text-align: center;
  margin-top: auto;
  padding: 10px 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--gold-500);
  color: var(--brown-900);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s, transform .2s;
  text-decoration: none;
}
.portal-card:hover .portal-btn {
  background: #e59929;
  transform: translateY(-1px);
}

/* ==========================================================================
   Full Cover Hero Banner (Camp Detail Style with Background Image & Title)
   ========================================================================== */
.gtl-hero-banner-full {
  position: relative;
  width: 100%;
  min-height: auto;
  max-height: 480px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  padding: 28px 24px 68px;
  box-sizing: border-box;
  color: #fff;
  overflow: hidden;
}
@media (min-width: 992px) {
  .gtl-hero-banner-full {
    min-height: auto;
    max-height: 480px;
    padding: 32px 48px 72px;
  }
}
@media (max-width: 768px) {
  .gtl-hero-banner-full {
    padding: 20px 16px 56px;
    max-height: 480px;
  }
}
.gtl-hero-overlay {
  position: absolute !important;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.52) 0%, rgba(20,8,6,0.68) 45%, rgba(15,5,4,0.88) 100%);
  pointer-events: none;
  z-index: 1 !important;
}
.gtl-hero-banner-full > *:not(.gtl-hero-overlay) {
  position: relative;
  z-index: 2;
}
.gtl-hero-topbar {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.gtl-hero-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.84rem;
  text-decoration: none;
  transition: all .25s ease;
}
.gtl-hero-back-btn:hover {
  background: var(--gold-500);
  color: var(--brown-900);
  border-color: var(--gold-500);
  transform: translateX(-3px);
  box-shadow: 0 4px 18px rgba(255, 189, 89, 0.45);
}
.gtl-hero-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  flex-wrap: wrap;
}
.gtl-hero-breadcrumbs a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color .2s;
}
.gtl-hero-breadcrumbs a:hover {
  color: var(--gold-400);
}
.gtl-hero-breadcrumbs .sep {
  color: rgba(255, 255, 255, 0.4);
}
.gtl-hero-breadcrumbs .current {
  color: #fff;
  font-weight: 500;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gtl-hero-content-wrap {
  max-width: 1240px;
  width: 100%;
  margin: 16px auto 0;
}
.gtl-hero-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.gtl-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.gtl-hero-pill.cat {
  background: rgba(255, 189, 89, 0.22);
  border: 1px solid rgba(255, 189, 89, 0.65);
  color: #ffe6b3;
}
.gtl-hero-pill.location,
.gtl-hero-pill.duration {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}
.gtl-hero-main-title {
  font-family: var(--font-head);
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 14px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55);
  max-width: 950px;
}
@media (max-width: 768px) {
  .gtl-hero-main-title {
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 10px;
  }
  .gtl-hero-content-wrap {
    margin-top: 10px;
  }
}
.gtl-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.gtl-hero-actions a,
.gtl-hero-btn-primary,
.gtl-hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all .25s ease;
}
.gtl-hero-btn-primary {
  background: var(--gold-500);
  color: var(--brown-900);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(255, 189, 89, 0.4);
}
.gtl-hero-btn-primary:hover {
  background: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 189, 89, 0.55);
  color: var(--brown-900);
}
.gtl-hero-btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.gtl-hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
  color: #fff;
}
@media (max-width: 768px) {
  .gtl-hero-actions a,
  .gtl-hero-btn-primary,
  .gtl-hero-btn-secondary {
    padding: 7px 14px;
    font-size: 0.8rem;
  }
}
.gtl-hero-highlight-pill {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 207, 128, 0.38);
  border-left: 5px solid var(--gold-500);
  padding: 13px 20px;
  border-radius: 14px;
  margin-bottom: 22px;
  max-width: 960px;
}
.gtl-hero-highlight-pill span {
  font-size: 0.95rem;
  color: #fcefdc;
  line-height: 1.55;
}

/* Floating Facts Card overlapping hero */
.gtl-floating-facts-card {
  position: relative;
  z-index: 10;
  margin-top: -44px;
  margin-bottom: 48px;
  background: var(--white, #fff);
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 22px 28px;
  box-shadow: 0 14px 40px rgba(82, 26, 26, 0.1);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
@media (max-width: 640px) {
  .gtl-floating-facts-card {
    margin-top: -28px;
    margin-bottom: 36px;
    grid-template-columns: 1fr;
    padding: 18px 20px;
  }
}
.gtl-fact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.gtl-fact-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--gold-100);
  border: 1px solid var(--gold-400);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.gtl-fact-meta span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 2px;
}
.gtl-fact-meta strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.98rem;
  color: var(--brown-800);
  font-weight: 600;
}

/* University Campus Gallery */
/* ==========================================================================
   Gateway to Learn Hub — Bento Mosaic Gallery (matching camp-detail)
   ========================================================================== */
.uni-gallery-wrap {
  margin-top: 50px;
}
.gtl-sec-head.center {
  text-align: center;
  margin-bottom: 28px;
}
.gtl-sec-head.center h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-family: var(--font-head);
  color: var(--brown-800);
  margin: 0 0 10px;
}
.gtl-sec-head.center p {
  color: var(--ink-2);
  font-size: 0.95rem;
  max-width: 680px;
  margin: 0 auto;
}
.gtl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brown-700);
  margin-bottom: 12px;
}
.gtl-eyebrow::before, .gtl-sec-head.center .gtl-eyebrow::after {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gold-500);
}

.gtl-g-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  grid-auto-flow: dense;
  gap: 14px;
}
.gtl-g-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  margin: 0;
  font: inherit;
  color: #fff;
  text-align: left;
  background: linear-gradient(135deg, var(--gold-500), var(--brown-700));
  cursor: zoom-in;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(82, 26, 26, 0.06);
  transition: box-shadow .3s, transform .3s;
}
.gtl-g-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 0;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.gtl-g-item--big { grid-column: span 2; grid-row: span 2; }
.gtl-g-item--wide { grid-column: span 2; }
.gtl-g-item--tall { grid-row: span 2; }

.gtl-g-item:hover {
  box-shadow: 0 24px 60px rgba(82, 26, 26, 0.18);
}
.gtl-g-item:hover img {
  transform: scale(1.07);
}
.gtl-g-cap {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 8px;
  border-radius: 14px;
  font-size: .86rem;
  font-weight: 500;
  color: var(--brown-800);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(calc(100% + 16px));
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
  z-index: 2;
}
.gtl-g-cap > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gtl-g-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--brown-700);
  font-family: var(--font-head);
  font-size: .76rem;
  font-weight: 600;
}
.gtl-g-item:hover .gtl-g-cap, .gtl-g-item:focus-visible .gtl-g-cap {
  transform: none;
}
.gtl-g-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brown-800);
  opacity: 0;
  transform: scale(.8);
  transition: opacity .3s, transform .3s;
  z-index: 2;
}
.gtl-g-item:hover .gtl-g-zoom {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .gtl-g-cap {
    transform: none;
    font-size: .78rem;
  }
}
@media (max-width: 992px) {
  .gtl-g-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .gtl-g-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    gap: 10px;
  }
  .gtl-g-item {
    border-radius: 12px;
  }
}



ream); font-weight: 600; font-family: var(--font-head); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--cream); }

/* ==========================================================================
   Accordion (details) & tabs
   ========================================================================== */
.acc { display: grid; gap: 16px; }
.acc details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.acc details[open] { box-shadow: var(--shadow); border-color: var(--gold-400); }
.acc summary {
  list-style: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; gap: 16px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .acc-title { flex: 1; }
.acc summary h3 { margin: 0; }
.acc summary .acc-sub { font-size: .9rem; color: var(--muted); }
.acc summary::after {
  content: "+"; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--gold-100); color: var(--brown-700); font-size: 1.3rem; font-weight: 600; transition: transform .25s;
}
.acc details[open] summary::after { transform: rotate(45deg); background: var(--brown-700); color: var(--white); }
.acc-body { padding: 0 26px 26px; border-top: 1px dashed var(--line); padding-top: 22px; }
.acc-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.acc-cols h4 { font-size: 1rem; color: var(--brown-700); margin-bottom: 8px; }
.acc-cols ul { font-size: .94rem; color: var(--ink-2); }

.tabs-nav { display: flex; gap: 8px; flex-wrap: wrap; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; width: fit-content; margin-bottom: 40px; }
.tabs-nav button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font-weight: 600; color: var(--ink-2); }
.tabs-nav button.is-active { background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--brown-800); box-shadow: 0 6px 16px rgba(233, 162, 59, .35); }
.tab-panel { display: none; animation: fadeUp .4s ease; }
.tab-panel.is-active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--cream); cursor: pointer; font-size: .94rem; }
.checklist input { accent-color: var(--coral-600); margin-top: 5px; width: 16px; height: 16px; flex-shrink: 0; }
.checklist input:checked + span { text-decoration: line-through; color: var(--muted); }
.progress { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 10px 0 14px; }
.progress > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-500), var(--coral-600)); transition: width .3s; }
.progress-label { font-size: .85rem; color: var(--muted); }

/* ==========================================================================
   Feature list, steps, CTA, testimonials
   ========================================================================== */
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before {
  content: "\2713"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: .72rem; font-weight: 700; background: var(--gold-100); color: var(--brown-700);
}
.section--dark .ticks li { color: rgba(255, 250, 242, .85); }
.section--dark .ticks li::before { background: var(--gold-500); color: var(--brown-900); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding: 28px 24px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-weight: 700; font-size: 2.4rem;
  color: var(--gold-400); line-height: 1; display: block; margin-bottom: 12px;
}

.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 56px;
  background: radial-gradient(500px 260px at 100% 0%, rgba(255, 189, 89, .4), transparent 60%), linear-gradient(135deg, var(--brown-800), var(--brown-900));
  color: var(--cream); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 250, 242, .8); margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

.testimonial { position: relative; }
.testimonial::before { content: "“"; position: absolute; top: 4px; right: 24px; font-family: Georgia, serif; font-size: 5rem; color: var(--gold-100); line-height: 1; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; }
.testimonial .who .av {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--white);
  background: linear-gradient(135deg, var(--coral-500), var(--brown-800));
}
.testimonial .who strong { display: block; }
.stars { color: #f9a825; letter-spacing: 3px; font-size: 1.15rem; line-height: 1; display: inline-flex; align-items: center; }

.note {
  display: flex; gap: 12px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: .9rem;
  background: var(--gold-100); border: 1px dashed var(--gold-500); color: var(--ink-2); margin-bottom: 24px;
}

/* Explore posts (bento) */
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head-row .section-head { margin: 0; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 300px; gap: 20px; }
.post {
  position: relative; isolation: isolate; overflow: hidden; grid-column: span 5;
  display: flex; flex-direction: column; justify-content: space-between; padding: 24px;
  border-radius: var(--radius-lg); background: var(--brown-800); color: var(--white); box-shadow: var(--shadow-sm);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s;
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post--feature { grid-column: span 7; grid-row: span 2; padding: 32px; }
.post--banner { grid-column: span 12; flex-direction: row; align-items: center; padding: 36px 40px; background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--brown-800); }
.post-media { position: absolute; inset: 0; z-index: -2; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.post:hover .post-media img { transform: scale(1.08); }
.post::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(58, 18, 18, .1) 0%, rgba(58, 18, 18, .35) 45%, rgba(42, 12, 12, .94) 100%);
}
.post--banner::before { display: none; }
.post--banner .post-media { left: 42%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }

.post-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.post-top--inline { justify-content: flex-start; margin-bottom: 18px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.post-no {
  padding: 6px 12px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .12em;
  color: var(--gold-400); background: rgba(42, 12, 12, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.post-body { position: relative; }
.post-body h3 { color: inherit; font-size: 1.35rem; margin: 0 0 8px; }
.post--feature .post-body h3 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.post-body p { color: rgba(255, 255, 255, .8); font-size: .96rem; margin: 0 0 18px; max-width: 520px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.post-tags span {
  padding: 6px 12px; border-radius: 999px; font-size: .82rem; background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.post-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.post-stats div {
  padding: 10px 8px; border-radius: 14px; text-align: center; line-height: 1.3;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.post-stats strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--gold-400); }
.post-stats span { font-size: .75rem; color: rgba(255, 255, 255, .78); }
.post-rating { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: .88rem; color: rgba(255, 255, 255, .85); }
.post-rating .score { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--gold-400); line-height: 1; }
.post-rating .avatars span { width: 32px; height: 32px; border-color: var(--brown-800); font-size: .72rem; }
.post-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .18); font-size: .85rem; color: rgba(255, 255, 255, .75);
}
.post-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }
.post-cta { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--white); }
.post-cta i {
  font-style: normal; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-500); color: var(--brown-800); transform: rotate(-45deg); transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.post:hover .post-cta i { transform: none; }

.post--banner .post-body { max-width: 560px; }
.post--banner .post-body p { color: var(--brown-700); }
.post--banner .pill { background: rgba(82, 26, 26, .08); border-color: rgba(82, 26, 26, .18); }
.post--banner .post-no { color: var(--gold-400); background: var(--brown-800); }
.post--banner .post-tags span { background: rgba(255, 255, 255, .55); border-color: rgba(82, 26, 26, .12); }
.post--banner .post-meta { color: var(--brown-700); border-top-color: rgba(82, 26, 26, .18); }
.post--banner .post-cta { color: var(--brown-800); }
.post--banner .post-cta i { background: var(--brown-800); color: var(--gold-400); }

/* Forms */
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white);
  font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(212, 162, 76, .18); }

/* Cost of living bars */
.bar-chart { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 140px 1fr 120px; gap: 16px; align-items: center; font-size: .95rem; }
.bar-track { height: 14px; background: var(--line); border-radius: 999px; overflow: hidden; }
.bar-track i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold-500), var(--coral-600)); width: 0; transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.bar-row strong { text-align: right; font-family: var(--font-head); color: var(--brown-700); }
.cost-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; font-size: .93rem; }
.cost-list li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.cost-list li span:last-child { font-weight: 600; color: var(--ink); }
.cost-total { display: flex; justify-content: space-between; align-items: center; flex-wrap: nowrap; gap: 8px; margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: var(--gold-100); }
.cost-total span { font-size: 0.88rem; font-weight: 500; white-space: nowrap; }
.cost-total strong { font-family: var(--font-head); font-size: 1.02rem; color: var(--brown-700); white-space: nowrap; font-weight: 700; }

/* Career finder */
.finder { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 40px; }
.finder-select { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.finder-result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.finder-result .card { box-shadow: none; }
.finder-result h4 { color: var(--brown-700); margin-bottom: 10px; }

/* ==========================================================================
   Cart drawer & modal
   ========================================================================== */
.overlay { position: fixed; inset: 0; background: rgba(31, 26, 23, .5); z-index: 90; opacity: 0; visibility: hidden; transition: all .25s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--cream); z-index: 100;
  transform: translateX(100%); transition: transform .3s; display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.drawer.is-open { transform: none; }
.drawer-head { padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); font-size: 1rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); background: var(--white); }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item strong { font-size: .95rem; display: block; }
.cart-item .meta { font-size: .82rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin-top: 6px; background: var(--white); }
.qty button { width: 30px; height: 28px; border: 0; background: none; }
.qty span { min-width: 24px; text-align: center; font-size: .9rem; }
.cart-empty { text-align: center; padding: 60px 0; color: var(--muted); }
.cart-total { display: flex; justify-content: space-between; font-size: 1.1rem; margin-bottom: 14px; }
.cart-total strong { font-family: var(--font-head); color: var(--brown-700); font-size: 1.4rem; }

.modal {
  position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: all .25s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-box { background: var(--white); border-radius: var(--radius-lg); padding: 36px; width: min(480px, 100%); box-shadow: var(--shadow-lg); text-align: center; position: relative; }
.modal-box .icon-btn { position: absolute; top: 16px; right: 16px; }
.qr { width: 180px; height: 180px; margin: 16px auto; border-radius: 16px; display: grid; place-items: center; background:
  repeating-conic-gradient(var(--ink) 0 25%, var(--white) 0 50%) 0 0 / 22px 22px; border: 10px solid var(--white); outline: 1px solid var(--line); }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 120px); z-index: 120;
  background: var(--ink); color: var(--white); padding: 12px 22px; border-radius: 999px; font-size: .95rem;
  box-shadow: var(--shadow-lg); transition: transform .3s;
}
.toast.is-show { transform: translate(-50%, 0); }

/* Floating contact */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.fab a {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--white); font-weight: 700; font-size: .8rem;
  box-shadow: var(--shadow-lg); transition: transform .2s;
}
.fab a:hover { transform: scale(1.08); }
.fab .line { background: #06c755; }
.fab .call { position: relative; background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--brown-800); }
.fab .call svg { width: 24px; height: 24px; }
.fab .call::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold-500);
  animation: fabRing 2.2s ease-out infinite; pointer-events: none;
}
.fab .call:hover svg { animation: fabShake .5s ease-in-out; }
@keyframes fabRing { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
@keyframes fabShake { 25% { transform: rotate(-14deg); } 50% { transform: rotate(12deg); } 75% { transform: rotate(-8deg); } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 72px 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.site-footer p { color: rgba(255, 255, 255, .65); }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--gold-400); }
.site-footer .logo { color: var(--white); margin-bottom: 16px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.social {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--gold-400);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 207, 128, .18);
  transition: transform .25s, background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.social svg { width: 20px; height: 20px; }
.social:hover, .social:focus-visible { transform: translateY(-4px); color: var(--white); border-color: transparent; box-shadow: 0 10px 22px rgba(0, 0, 0, .3); }
.social--line:hover, .social--line:focus-visible { background: #06c755; }
.social--facebook:hover, .social--facebook:focus-visible { background: #1877f2; }
.social--instagram:hover, .social--instagram:focus-visible { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social--tiktok:hover, .social--tiktok:focus-visible { background: #111; box-shadow: -2px -2px 0 #25f4ee, 2px 2px 0 #fe2c55; }
.social--youtube:hover, .social--youtube:focus-visible { background: #ff0000; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

/* Reveal on scroll */
/* Uses `translate` + animation so hover `transform` / `transition` on cards stay intact */
.reveal:not(.is-visible) { opacity: 0; }
.reveal.is-visible { animation: revealUp .7s ease both; }
@keyframes revealUp { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .post { grid-column: span 6; }
  .post--feature { grid-column: span 12; grid-row: span 1; min-height: 420px; }
  .post--banner { grid-column: span 12; }
  .bento { grid-auto-rows: minmax(300px, auto); }
}
@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .hero-grid, .split, .cta-band { grid-template-columns: 1fr; gap: 40px; }
  .cta-band { padding: 36px 28px; }
  .cta-band .actions { justify-content: flex-start; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .acc-cols, .finder-result { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .post, .post--feature, .post--banner { grid-column: auto; grid-row: auto; min-height: 320px; }
  .post--feature { min-height: 480px; padding: 24px; }
  .post--banner { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .post--banner .post-media { left: 0; opacity: .22; -webkit-mask-image: none; mask-image: none; }
  .lightbox { grid-template-columns: 0 1fr 0; }
  .lb-stage { padding: 0 12px; }
  .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .float-card--a { left: 8px; }
  .float-card--b { right: 8px; }
  .float-card--c { right: 8px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .hero::before { font-size: 260px; }
  .g-accordion { height: 420px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .g-panel, .g-panel.is-active { flex: 0 0 78%; scroll-snap-align: center; }
  .g-panel img { filter: none; }
  .g-panel-no { display: none; }
  .g-panel-info { opacity: 1; transform: none; left: 20px; bottom: 20px; width: calc(100% - 40px); }
  .schol-grid { grid-template-columns: 1fr; gap: 40px; }
  .stories { grid-template-columns: 1fr; }
  .story--feature { grid-row: auto; min-height: 460px; }
  .schol::before { font-size: 140px; bottom: -40px; }
}
@media (max-width: 600px) {
  .site-header .logo > span { display: none; }
  .site-header .logo-img { width: 64px; height: 64px; }
  .grid-2, .grid-3, .grid-4, .steps, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 90px 1fr 90px; font-size: .85rem; }
  .finder { padding: 24px; }
  .tabs-nav { border-radius: var(--radius); }
  .g-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .g-item { border-radius: var(--radius-sm); }
  .g-tile { height: 150px; }
  .gallery-filters { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; scrollbar-width: none; }
  .gallery-filters .chip { flex-shrink: 0; }
  .schol-cover { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 40px 0 80px; }
  .hero-steps { grid-template-columns: 1fr; max-width: none; }
  .hero-steps li:not(:last-child)::after { content: "⌄"; right: auto; left: 22px; top: auto; bottom: -11px; transform: none; }
  .float-card { padding: 10px 12px; font-size: .8rem; }
  .float-card .dot { width: 34px; height: 34px; font-size: 1.05rem; }
  .story, .story--feature { padding: 22px; }
  .story--photo { grid-template-columns: 1fr; padding: 0; }
  .story-photo { min-height: 0; aspect-ratio: 16 / 9; }
  .story-summary { justify-content: center; text-align: left; }
  .schol-steps { grid-template-columns: 1fr; }
  .ticket { grid-template-columns: 1fr 112px; }
  .ticket-main, .ticket--feature .ticket-main { padding: 16px 18px; }
  .ticket--feature h3 { font-size: 1.3rem; }
  .ticket-stub strong { font-size: 1.25rem; }
  .ticket--feature .ticket-stub strong { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal:not(.is-visible) { opacity: 1; }
  .g-row { overflow-x: auto; }
}

/* ==========================================================================
   Study Abroad Components & Country Cards
   ========================================================================== */
.card--country .card-body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card--country h3 {
  font-size: 1.18rem;
  margin: 0 0 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}
.card--country p {
  font-size: .88rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 12px;
}
.card--country .meta-box {
  background: var(--cream);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .82rem;
}
.card--country .pros-cons-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.card--country .pros-cons-col h4 {
  font-size: .86rem;
  margin: 0 0 4px;
}
.card--country .pros-cons-col ul {
  font-size: .82rem;
  line-height: 1.45;
  margin: 0;
  padding-left: 1.1em;
  color: var(--ink-2);
}

.card--clickable,
.card-country-clickable,
.card-city-clickable,
[data-href] {
  cursor: pointer !important;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s;
  user-select: none;
}

.card--clickable:hover,
.card-country-clickable:hover,
.card-city-clickable:hover,
[data-href]:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-500);
}

.card-city-clickable.is-active {
  border: 2.5px solid var(--gold-500);
  background: #fffdf8;
  box-shadow: 0 10px 28px rgba(233, 162, 59, .22);
}
.city-click-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--brown-700);
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  transition: color .2s, gap .2s;
}
.card-city-clickable:hover .city-click-hint {
  color: var(--coral-600);
  gap: 10px;
}
.country-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s;
  position: relative;
}
.country-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-400);
}
.country-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.country-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.country-card:hover .country-media img {
  transform: scale(1.07);
}
.country-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 12, 12, .2) 0%, rgba(42, 12, 12, .65) 100%);
}
.country-flag-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .85rem;
  color: var(--brown-800);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}
.country-tag-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: var(--gold-500);
  color: var(--brown-800);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.country-media-title {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  z-index: 2;
  color: var(--white);
}
.country-media-title h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.country-media-title .native-name {
  font-size: 1rem;
  font-family: var(--font-cn);
  opacity: .85;
  font-weight: normal;
}
.country-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.country-desc {
  font-size: .92rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}
.country-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 12px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: .82rem;
}
.country-fact-item span {
  display: block;
  color: var(--muted);
  font-size: .74rem;
  margin-bottom: 2px;
}
.country-fact-item strong {
  color: var(--brown-800);
  font-weight: 600;
}
.country-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: .86rem;
}
.country-highlights li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  color: var(--ink-2);
}
.country-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--coral-600);
  font-weight: bold;
}
.country-foot {
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.country-link-btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--brown-700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .2s, gap .2s;
}
.country-card:hover .country-link-btn {
  color: var(--coral-600);
  gap: 12px;
}

/* Taiwan Feature Box */
.taiwan-spotlight-card {
  background: linear-gradient(135deg, #fffdfa 0%, #fff3dc 100%);
  border: 2px solid var(--gold-400);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.taiwan-spotlight-card::before {
  content: "🇹🇼";
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 140px;
  opacity: .12;
  pointer-events: none;
}
.taiwan-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.spotlight-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.spotlight-pill {
  background: var(--white);
  border: 1px solid var(--gold-400);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--brown-800);
}

/* Post Detail Article Styles */
.detail-hero {
  background: radial-gradient(700px 360px at 100% 0%, rgba(255, 189, 89, .22), transparent 60%), var(--brown-800);
  color: var(--cream);
  padding: 80px 0 60px;
}
.detail-hero h1 { color: var(--white); }
.detail-hero p { color: rgba(255, 250, 242, .85); }
.detail-content {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 48px;
  box-shadow: var(--shadow);
  margin-top: -40px;
  position: relative;
  z-index: 3;
}
.detail-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .95rem;
}
.detail-table th, .detail-table td {
  padding: 14px 18px;
  border: 1px solid var(--line);
  text-align: left;
}
.detail-table th {
  background: var(--cream);
  font-family: var(--font-head);
  color: var(--brown-800);
  font-weight: 600;
}
.detail-table tr:hover td {
  background: #fffcf7;
}
@media (max-width: 900px) {
  .taiwan-grid { grid-template-columns: 1fr; }
  .detail-content { padding: 24px; }
}

/* Destination Portal Cards (Option 1 + 2) */
.portal-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s, border-color .28s;
  cursor: pointer;
  position: relative;
}
.portal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-500);
}
.portal-media {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--cream);
}
.portal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.portal-card:hover .portal-media img {
  transform: scale(1.05);
}
.portal-badge-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .88rem;
  color: var(--brown-900);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.portal-stars {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(24, 21, 18, 0.7);
  color: #f9a825;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .75rem;
  letter-spacing: 2px;
  backdrop-filter: blur(4px);
}
.portal-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.portal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.portal-tag {
  background: var(--cream);
  color: var(--brown-800);
  font-size: .78rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(233, 162, 59, 0.25);
}
.portal-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #fffcf8;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 14px;
}
.portal-metric-item {
  display: flex;
  flex-direction: column;
}
.portal-metric-label {
  font-size: .76rem;
  color: var(--muted);
  margin-bottom: 2px;
}
.portal-metric-val {
  font-size: .88rem;
  font-weight: 600;
  color: var(--brown-900);
}
.portal-city-fastpills {
  margin-bottom: 16px;
}
.portal-city-fastpills-label {
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}
.portal-city-fastpills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.portal-city-pill {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--brown-800);
  font-size: .8rem;
  padding: 3px 10px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  transition: all .2s;
  cursor: pointer;
}
.portal-city-pill:hover {
  background: var(--gold-500);
  color: var(--brown-900);
  border-color: var(--gold-500);
  transform: translateY(-1px);
}
.portal-btn {
  width: 100%;
  text-align: center;
  margin-top: auto;
  padding: 10px 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--gold-500);
  color: var(--brown-900);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s, transform .2s;
  text-decoration: none;
}
.portal-card:hover .portal-btn {
  background: #e59929;
  transform: translateY(-1px);
}

/* ==========================================================================
   Full Cover Hero Banner (Camp Detail Style with Background Image & Title)
   ========================================================================== */
.gtl-hero-banner-full {
  position: relative;
  width: 100%;
  min-height: auto;
  max-height: 480px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  padding: 28px 24px 68px;
  box-sizing: border-box;
  color: #fff;
  overflow: hidden;
}
@media (min-width: 992px) {
  .gtl-hero-banner-full {
    min-height: auto;
    max-height: 480px;
    padding: 32px 48px 72px;
  }
}
@media (max-width: 768px) {
  .gtl-hero-banner-full {
    padding: 20px 16px 56px;
    max-height: 480px;
  }
}
.gtl-hero-overlay {
  position: absolute !important;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.52) 0%, rgba(20,8,6,0.68) 45%, rgba(15,5,4,0.88) 100%);
  pointer-events: none;
  z-index: 1 !important;
}
.gtl-hero-banner-full > *:not(.gtl-hero-overlay) {
  position: relative;
  z-index: 2;
}
.gtl-hero-topbar {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.gtl-hero-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.84rem;
  text-decoration: none;
  transition: all .25s ease;
}
.gtl-hero-back-btn:hover {
  background: var(--gold-500);
  color: var(--brown-900);
  border-color: var(--gold-500);
  transform: translateX(-3px);
  box-shadow: 0 4px 18px rgba(255, 189, 89, 0.45);
}
.gtl-hero-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  flex-wrap: wrap;
}
.gtl-hero-breadcrumbs a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color .2s;
}
.gtl-hero-breadcrumbs a:hover {
  color: var(--gold-400);
}
.gtl-hero-breadcrumbs .sep {
  color: rgba(255, 255, 255, 0.4);
}
.gtl-hero-breadcrumbs .current {
  color: #fff;
  font-weight: 500;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gtl-hero-content-wrap {
  max-width: 1240px;
  width: 100%;
  margin: 16px auto 0;
}
.gtl-hero-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.gtl-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.gtl-hero-pill.cat {
  background: rgba(255, 189, 89, 0.22);
  border: 1px solid rgba(255, 189, 89, 0.65);
  color: #ffe6b3;
}
.gtl-hero-pill.location,
.gtl-hero-pill.duration {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}
.gtl-hero-main-title {
  font-family: var(--font-head);
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 14px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55);
  max-width: 950px;
}
@media (max-width: 768px) {
  .gtl-hero-main-title {
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 10px;
  }
  .gtl-hero-content-wrap {
    margin-top: 10px;
  }
}
.gtl-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.gtl-hero-actions a,
.gtl-hero-btn-primary,
.gtl-hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all .25s ease;
}
.gtl-hero-btn-primary {
  background: var(--gold-500);
  color: var(--brown-900);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(255, 189, 89, 0.4);
}
.gtl-hero-btn-primary:hover {
  background: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 189, 89, 0.55);
  color: var(--brown-900);
}
.gtl-hero-btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.gtl-hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
  color: #fff;
}
@media (max-width: 768px) {
  .gtl-hero-actions a,
  .gtl-hero-btn-primary,
  .gtl-hero-btn-secondary {
    padding: 7px 14px;
    font-size: 0.8rem;
  }
}
.gtl-hero-highlight-pill {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 207, 128, 0.38);
  border-left: 5px solid var(--gold-500);
  padding: 13px 20px;
  border-radius: 14px;
  margin-bottom: 22px;
  max-width: 960px;
}
.gtl-hero-highlight-pill span {
  font-size: 0.95rem;
  color: #fcefdc;
  line-height: 1.55;
}

/* Floating Facts Card overlapping hero */
.gtl-floating-facts-card {
  position: relative;
  z-index: 10;
  margin-top: -44px;
  margin-bottom: 48px;
  background: var(--white, #fff);
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 22px 28px;
  box-shadow: 0 14px 40px rgba(82, 26, 26, 0.1);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
@media (max-width: 640px) {
  .gtl-floating-facts-card {
    margin-top: -28px;
    margin-bottom: 36px;
    grid-template-columns: 1fr;
    padding: 18px 20px;
  }
}
.gtl-fact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.gtl-fact-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--gold-100);
  border: 1px solid var(--gold-400);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.gtl-fact-meta span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 2px;
}
.gtl-fact-meta strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.98rem;
  color: var(--brown-800);
  font-weight: 600;
}

/* University Campus Gallery */
/* ==========================================================================
   Gateway to Learn Hub — Bento Mosaic Gallery (matching camp-detail)
   ========================================================================== */
.uni-gallery-wrap {
  margin-top: 50px;
}
.gtl-sec-head.center {
  text-align: center;
  margin-bottom: 28px;
}
.gtl-sec-head.center h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-family: var(--font-head);
  color: var(--brown-800);
  margin: 0 0 10px;
}
.gtl-sec-head.center p {
  color: var(--ink-2);
  font-size: 0.95rem;
  max-width: 680px;
  margin: 0 auto;
}
.gtl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brown-700);
  margin-bottom: 12px;
}
.gtl-eyebrow::before, .gtl-sec-head.center .gtl-eyebrow::after {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gold-500);
}

.gtl-g-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  grid-auto-flow: dense;
  gap: 14px;
}
.gtl-g-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  margin: 0;
  font: inherit;
  color: #fff;
  text-align: left;
  background: linear-gradient(135deg, var(--gold-500), var(--brown-700));
  cursor: zoom-in;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(82, 26, 26, 0.06);
  transition: box-shadow .3s, transform .3s;
}
.gtl-g-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 0;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.gtl-g-item--big { grid-column: span 2; grid-row: span 2; }
.gtl-g-item--wide { grid-column: span 2; }
.gtl-g-item--tall { grid-row: span 2; }

.gtl-g-item:hover {
  box-shadow: 0 24px 60px rgba(82, 26, 26, 0.18);
}
.gtl-g-item:hover img {
  transform: scale(1.07);
}
.gtl-g-cap {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 8px;
  border-radius: 14px;
  font-size: .86rem;
  font-weight: 500;
  color: var(--brown-800);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(calc(100% + 16px));
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
  z-index: 2;
}
.gtl-g-cap > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gtl-g-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--brown-700);
  font-family: var(--font-head);
  font-size: .76rem;
  font-weight: 600;
}
.gtl-g-item:hover .gtl-g-cap, .gtl-g-item:focus-visible .gtl-g-cap {
  transform: none;
}
.gtl-g-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brown-800);
  opacity: 0;
  transform: scale(.8);
  transition: opacity .3s, transform .3s;
  z-index: 2;
}
.gtl-g-item:hover .gtl-g-zoom {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .gtl-g-cap {
    transform: none;
    font-size: .78rem;
  }
}
@media (max-width: 992px) {
  .gtl-g-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .gtl-g-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    gap: 10px;
  }
  .gtl-g-item {
    border-radius: 12px;
  }
}



