/* =============================================================
   CoolCN.com — front-end stylesheet
   News-portal / editorial magazine aesthetic.
   White newsprint base, red accent, channel navigation,
   dense story feeds with sidebar rankings.
   ============================================================= */

/* Palette: travel green as the primary, Chinese red as a warm accent.
   Green = nature / journeys; red = highlights, badges, prices, top ranks. */
:root {
  --paper:      #FFFFFF;
  --surface:    #F4F7F5;
  --surface-2:  #E8EFEB;
  --ink:        #16201C;
  --ink-soft:   #37423C;
  --grey:       #6B756E;
  --line:       #E2E8E4;
  --line-dark:  #C7D2CB;
  --accent:     #C8102E;   /* Chinese red — accent only */
  --accent-dk:  #9E0B24;
  --jade:       #1B7A5E;   /* travel green — primary */
  --jade-dk:    #125743;
  --jade-lt:    #E7F3ED;
  --navy:       #103B2F;   /* deep forest green (dark blocks) */
  --white:      #FFFFFF;
  --sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif: Georgia, 'Times New Roman', Times, serif;
  --wrap: 1240px;
  --shadow: 0 8px 24px rgba(16,59,47,.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 800; letter-spacing: -.015em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.eyebrow {
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--jade); font-weight: 800; margin: 0 0 .8rem;
}
.eyebrow.light { color: rgba(255,255,255,.85); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 20px; font-size: .82rem; font-weight: 700; letter-spacing: .02em;
  border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background .2s, color .2s, transform .2s, border-color .2s;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--jade); color: #fff; }
.btn-primary:hover { background: var(--jade-dk); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--surface); }
.btn-block { width: 100%; }
.text-link { color: var(--jade); font-weight: 700; font-size: .82rem; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

/* ---------------- Top utility bar ---------------- */
.site-topbar {
  background: var(--navy); color: rgba(255,255,255,.7);
  font-size: .72rem; letter-spacing: .02em;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 30px;
}
.topbar-date { text-transform: uppercase; letter-spacing: .12em; }
.topbar-right { display: flex; gap: 18px; align-items: center; }
.topbar-right a:hover { color: #fff; }
.topbar-live { color: #FF6B6B; font-weight: 800; letter-spacing: .1em; }
.topbar-live::before {
  content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #FF6B6B; margin-right: 6px; vertical-align: middle;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

/* ---------------- Masthead ---------------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex; align-items: center; gap: 24px;
  padding-top: 20px; padding-bottom: 18px;
}
.brand { display: flex; flex-direction: column; line-height: 1; margin-right: auto; }
.brand-mark {
  font-size: 2rem; font-weight: 900; letter-spacing: -.06em;
  color: var(--ink); text-transform: uppercase;
}
.brand-mark span { color: var(--accent); }
.brand-tag {
  font-size: .56rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--grey); margin-top: 5px; font-weight: 700;
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.search-box {
  display: flex; align-items: center; border: 1px solid var(--line-dark);
  background: var(--surface); border-radius: 2px;
}
.search-box input {
  border: 0; padding: 10px 12px; width: 210px; font: inherit;
  font-size: .84rem; background: transparent; outline: none;
}
.search-box button { border: 0; background: transparent; padding: 8px 11px; cursor: pointer; color: var(--grey); }
.search-box button:hover { color: var(--accent); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 23px; height: 2px; background: var(--ink); display: block; }

/* Channel navigation — soft bottom rule, green pill for the active channel */
.channel-nav { background: var(--paper); border-bottom: 1px solid var(--line); }
.channel-nav-inner { display: flex; align-items: center; gap: 6px; overflow-x: auto; padding-top: 8px; padding-bottom: 8px; }
.channel-nav a {
  display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px;
  font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  color: var(--ink-soft); white-space: nowrap; transition: color .15s, background .15s;
}
.channel-nav a:hover { color: var(--jade); background: var(--jade-lt); }
.channel-nav a.active { color: #fff; background: var(--jade); }
.channel-nav .nav-home { color: var(--jade); }
.channel-nav .nav-home.active { color: #fff; }
.channel-nav-inner::-webkit-scrollbar { height: 0; }

.flash { padding: 11px 24px; text-align: center; font-size: .85rem; background: var(--jade); color: #fff; font-weight: 600; }
.flash-error { background: var(--accent); }

/* ---------------- Breadcrumbs (site-wide) ---------------- */
.breadcrumb-bar { background: var(--surface); border-bottom: 1px solid var(--line); }
.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 12px 0; margin: 0; font-size: .76rem; color: var(--grey);
}
.breadcrumbs a { color: var(--ink-soft); font-weight: 600; }
.breadcrumbs a:hover { color: var(--jade); }
.breadcrumbs .sep { color: var(--line-dark); }
.breadcrumbs .current { color: var(--jade); font-weight: 700; }

/* ---------------- Tags (site-wide) ---------------- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag-chip {
  display: inline-block; padding: 3px 9px; border-radius: 3px;
  background: var(--jade-lt); color: var(--jade-dk);
  font-size: .66rem; font-weight: 700; letter-spacing: .02em;
  border: 1px solid transparent;
}
.tag-chip:hover { border-color: var(--jade); }
.tag-chip.tint-red { background: #FBEAEC; color: var(--accent-dk); }
.tag-chip.tint-navy { background: #E7EFEC; color: var(--navy); }

/* ---------------- Section heading (portal style) ---------------- */
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; margin-bottom: 22px;
}
.section-title {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.35rem; font-weight: 900; text-transform: uppercase; letter-spacing: .01em;
  margin: 0;
}
.section-title::before {
  content: ''; width: 5px; height: 26px; background: var(--jade); flex: 0 0 5px;
}
.section-head .text-link { align-self: center; }
.read-time, .meta-line { font-size: .76rem; color: var(--grey); }

/* ---------------- Kicker / byline ---------------- */
.kicker {
  display: inline-block; font-size: .66rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--jade);
}
.kicker.navy { color: var(--navy); }
.kicker.red { color: var(--accent); }
.byline { font-size: .72rem; color: var(--grey); }
.byline strong { color: var(--ink-soft); font-weight: 700; }
.dot-sep { color: var(--line-dark); padding: 0 6px; }

/* ---------------- Lead / hero ---------------- */
.hero {
  position: relative; min-height: 470px; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: var(--navy);
}
.hero-media {
  position: absolute; inset: 0;
  background-image: linear-gradient(0deg, rgba(8,18,28,.92) 0%, rgba(8,18,28,.25) 70%), url('https://picsum.photos/seed/coolcn-hero/1920/1080');
  background-size: cover; background-position: center;
}
.hero-inner { position: relative; z-index: 2; padding: 60px 24px 54px; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.04; margin: 0 0 1rem;
  color: #fff; font-weight: 900; letter-spacing: -.04em; max-width: 760px;
}
.hero h1 em { font-style: normal; color: #FFD54A; }
.hero-sub { max-width: 620px; font-size: 1.05rem; color: rgba(255,255,255,.9); margin-bottom: 1.6rem; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 18px; right: 24px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.65); z-index: 2; }

/* ---------------- Portal top: lead + headline rail ---------------- */
.portal-top { padding: 26px 0 0; }
.portal-top-grid {
  display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); gap: 28px;
}
.lead-story {
  display: block; position: relative; min-height: 430px; color: #fff; overflow: hidden;
  background: var(--navy);
}
.lead-story .lead-media {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .5s ease;
}
.lead-story:hover .lead-media { transform: scale(1.04); }
.lead-story::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6,14,22,.94) 0%, rgba(6,14,22,.15) 65%);
}
.lead-story-body { position: relative; z-index: 2; padding: 30px; margin-top: auto; }
.lead-story { display: flex; align-items: flex-end; }
.lead-story .kicker { color: #8FE3BE; }
.lead-story h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 900; margin: 8px 0 10px; line-height: 1.12; }
.lead-story p { color: rgba(255,255,255,.85); font-size: .92rem; margin: 0 0 4px; }
.lead-story .tag-chip { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.3); }
.lead-story .tag-chip.tint-red { background: rgba(200,16,46,.7); color: #fff; border-color: transparent; }

.headline-rail { display: flex; flex-direction: column; }
.rail-head {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2px solid var(--ink); padding-bottom: 9px; margin-bottom: 4px;
}
.rail-head h2 { font-size: .95rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.rail-head span { font-size: .7rem; color: var(--grey); }
.headline-item {
  display: grid; grid-template-columns: 30px 1fr; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  transition: color .15s;
}
.headline-item:last-child { border-bottom: 0; }
.headline-item:hover h3 { color: var(--accent); }
.headline-num { font-size: 1.5rem; font-weight: 900; color: var(--line-dark); line-height: 1; }
.headline-item:first-child .headline-num { color: var(--accent); }
.headline-item .kicker { font-size: .62rem; }
.headline-item h3 { font-size: .98rem; line-height: 1.3; margin: 4px 0 5px; font-weight: 800; }

/* ---------------- Portal body: main feed + sidebar ---------------- */
.portal-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 312px; gap: 36px;
  align-items: start;
}
.portal-sidebar { display: flex; flex-direction: column; gap: 26px; }
.feed { display: flex; flex-direction: column; }
.story-row {
  display: grid; grid-template-columns: 190px 1fr; gap: 20px;
  padding: 24px 0; margin-bottom: 2px; border-bottom: 1px solid var(--line);
  transition: transform .18s, background .18s;
}
.story-row:last-child { border-bottom: 0; margin-bottom: 0; }
.story-row:hover { transform: translateX(3px); }
.story-row:hover h3 { color: var(--accent); }
.story-thumb {
  aspect-ratio: 16/10; background-size: cover; background-position: center;
  background-color: var(--surface); width: 100%;
}
.story-body { display: flex; flex-direction: column; justify-content: center; }
.story-body h3 { font-size: 1.16rem; line-height: 1.28; margin: 7px 0 8px; font-weight: 800; }
.story-body p { font-size: .86rem; color: var(--grey); margin: 0 0 8px; }
.story-body .byline { margin-top: auto; }

/* Compact story list (two-column mini) */
.story-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.story-mini { display: block; }
.story-mini:hover h3 { color: var(--accent); }
.story-mini .story-thumb { aspect-ratio: 16/9; }
.story-mini h3 { font-size: 1rem; line-height: 1.3; margin: 9px 0 5px; }

/* ---------------- Sidebar widgets ---------------- */
.widget { border-top: 3px solid var(--ink); padding-top: 14px; }
.widget-title {
  font-size: .95rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: .05em; margin: 0 0 14px;
}
.widget-title .accent { color: var(--accent); }
.rank-list { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.rank-list li {
  display: grid; grid-template-columns: 30px 1fr; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.rank-list li::before {
  counter-increment: rank; content: counter(rank);
  font-size: 1.4rem; font-weight: 900; color: var(--line-dark); line-height: 1;
}
.rank-list li:nth-child(-n+3)::before { color: var(--accent); }
.rank-list a { font-size: .88rem; font-weight: 700; line-height: 1.35; }
.rank-list a:hover { color: var(--accent); }
.rank-list .kicker { font-size: .6rem; }

.place-list { display: flex; flex-direction: column; }
.place-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 700;
}
.place-link:hover { color: var(--accent); }
.place-link span { font-size: .74rem; color: var(--grey); font-weight: 500; }

.widget-cta { background: var(--surface); padding: 22px; }
.widget-cta h3 { font-size: 1.1rem; font-weight: 900; }
.widget-cta p { font-size: .85rem; color: var(--ink-soft); }
.newsletter-widget { background: var(--navy); color: #fff; padding: 24px; }
.newsletter-widget h3 { font-size: 1.05rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.newsletter-widget p { font-size: .82rem; color: rgba(255,255,255,.72); }
.newsletter { display: flex; border-bottom: 1px solid rgba(255,255,255,.35); margin-top: 12px; }
.newsletter input {
  flex: 1; background: transparent; border: 0; color: #fff; padding: 8px 0;
  font: inherit; font-size: .84rem; outline: none; min-width: 0;
}
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter button { background: transparent; border: 0; color: #FF6B6B; font-size: 1.2rem; cursor: pointer; }

/* ---------------- Channel blocks ---------------- */
.channel-block { padding: 52px 0; border-top: 1px solid var(--line); }
.channel-block.alt { background: var(--surface); border-top: 0; }
main > .channel-block:first-child { margin-top: 8px; }
.channel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.channel-lead { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.channel-lead .story-thumb { aspect-ratio: 4/3; }

/* ---------------- Generic grids & cards (inner pages) ---------------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  display: block; background: #fff; border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.card-img { aspect-ratio: 4/3; background-size: cover; background-position: center; background-color: var(--surface); }
.card-lg .card-img { aspect-ratio: 16/10; }
.card-body { padding: 15px 16px 17px; }
.card-body h3 { font-size: 1.02rem; margin: 6px 0 6px; line-height: 1.3; }
.card-body p { font-size: .82rem; color: var(--grey); margin: 0; }
.card-sm .card-img { aspect-ratio: 3/2; }
.card-sm .card-body { padding: 11px 13px 13px; }
.card-sm .card-body h3 { font-size: .92rem; margin: 0; }
.tag { display: inline-block; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 800; }
.price { color: var(--accent); font-weight: 800; margin-top: 8px !important; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; padding: 48px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { font-size: 1.9rem; font-weight: 900; margin: 0 0 .5rem; }
.cta-inner p { margin: 0; color: rgba(255,255,255,.78); }

/* ---------------- Page heroes ---------------- */
.page-hero { padding: 54px 0 40px; background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero.slim { padding: 40px 0 32px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; margin: 0; letter-spacing: -.03em; }
.page-hero-sub { color: var(--grey); font-size: 1rem; margin: .8rem 0 0; max-width: 640px; }

/* ---------------- Destination / detail hero ---------------- */
.dest-hero, .detail-hero {
  min-height: 390px; display: flex; align-items: flex-end; color: #fff;
  background-size: cover; background-position: center;
}
.dest-hero-inner, .detail-hero-inner { width: 100%; padding: 50px 24px 42px; }
.dest-hero h1, .detail-hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); color: #fff; margin: .3rem 0; font-weight: 900; }
.dest-sub { max-width: 680px; font-size: 1.02rem; color: rgba(255,255,255,.9); }
.dest-zh { font-size: .92rem; color: rgba(255,255,255,.72); margin: .5rem 0 0; }
.pill { display: inline-block; padding: 5px 11px; background: var(--accent); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }

/* ---------------- Article / prose ---------------- */
.prose { font-size: 1rem; color: var(--ink-soft); line-height: 1.9; }
.prose p { margin-bottom: 1.4em; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; font-weight: 900; color: var(--ink); }
.prose-wide { max-width: 760px; }
.cta-inline { margin-top: 40px; padding: 26px; background: var(--surface); border-left: 4px solid var(--accent); }
.detail-lead {
  font-family: var(--serif); font-size: 1.3rem; line-height: 1.55; color: var(--ink);
  margin-bottom: 1.6rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line);
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  padding: 16px 0; margin-bottom: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.article-meta .avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent);
  color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800;
}

/* ---------------- Inner page layouts ---------------- */
.dest-layout, .detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 44px; padding-top: 28px; align-items: start; }
.dest-main .section, .detail-main .section { padding: 38px 0; border-bottom: 1px solid var(--line); }
.dest-aside, .detail-aside { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 22px; }
.aside-card { background: var(--surface); padding: 20px; border-top: 3px solid var(--ink); }
.aside-card h3 { font-size: 1rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }
.aside-cta { background: var(--surface); }
.aside-cta p { font-size: .84rem; color: var(--grey); }
.fact-list { list-style: none; margin: 0; padding: 0; }
.fact-list li { display: flex; flex-direction: column; padding: 9px 0; border-bottom: 1px solid var(--line-dark); }
.fact-list li:last-child { border-bottom: 0; }
.fact-list span { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.fact-list strong { font-size: .9rem; font-weight: 700; }

/* Guide rows */
.list-guides { display: flex; flex-direction: column; gap: 12px; }
.guide-row, .search-row {
  display: flex; align-items: center; gap: 16px; padding: 13px; background: #fff; border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.guide-row:hover, .search-row:hover { border-color: var(--accent); transform: translateX(3px); }
.guide-row h3, .search-row h3 { font-size: 1rem; margin: 4px 0; }
.guide-row p, .search-row p { font-size: .83rem; color: var(--grey); margin: 0; }
.guide-thumb, .search-thumb { width: 116px; height: 78px; flex: 0 0 116px; background-size: cover; background-position: center; background-color: var(--surface); }
.arrow { margin-left: auto; color: var(--accent); font-size: 1.3rem; }

/* Timeline */
.timeline { border-left: 2px solid var(--line); padding-left: 22px; }
.timeline-item { position: relative; padding: 0 0 26px; }
.timeline-item::before { content: ''; position: absolute; left: -29px; top: 4px; width: 12px; height: 12px; background: var(--accent); border-radius: 50%; }
.timeline-day { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 800; }
.timeline-item h3 { font-size: 1.05rem; margin: 4px 0; }
.timeline-item p { color: var(--grey); margin: 0; }
.amenities { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.amenities li { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }

/* ---------------- Listing / filters ---------------- */
.listing-layout { display: grid; grid-template-columns: 200px minmax(0,1fr) 280px; gap: 32px; padding: 32px 24px 72px; align-items: start; }
.filters { position: sticky; top: 20px; }
.filters h3 { font-size: .92rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.filters label { display: block; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin: 14px 0 6px; font-weight: 700; }
.filters select { width: 100%; padding: 9px; border: 1px solid var(--line-dark); background: #fff; font: inherit; font-size: .85rem; }
.filter-count { font-size: .8rem; color: var(--grey); margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.empty-state { padding: 56px; text-align: center; background: var(--surface); }
.empty-state h2 { font-size: 1.5rem; }
.empty-state a { color: var(--accent); text-decoration: underline; }

/* ---------------- Forms ---------------- */
.enquiry-form { display: flex; flex-direction: column; gap: 9px; }
.enquiry-form input, .enquiry-form textarea {
  width: 100%; padding: 10px 11px; border: 1px solid var(--line-dark); background: #fff;
  font: inherit; font-size: .85rem; outline: none; resize: vertical;
}
.enquiry-form input:focus, .enquiry-form textarea:focus { border-color: var(--accent); }
.enquiry-form-page { background: #fff; border: 1px solid var(--line); padding: 26px; }
.enquiry-form-page label { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-top: 8px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-info { display: grid; gap: 16px; margin-top: 28px; }
.contact-info h3 { font-size: .92rem; margin: 0; }
.contact-info p { color: var(--accent); margin: 2px 0 0; }
.big-search { display: flex; gap: 10px; margin-top: 22px; }
.big-search input { flex: 1; padding: 13px; border: 1px solid var(--line-dark); font: inherit; font-size: 1rem; }
.result-count { color: var(--grey); margin-bottom: 16px; }
.search-results { display: flex; flex-direction: column; gap: 10px; }

/* ---------------- Error ---------------- */
.error-page { padding: 110px 0; text-align: center; }
.error-page h1 { font-size: 3rem; }
.error-page p { color: var(--grey); font-size: 1.05rem; margin-bottom: 2rem; }
.error-page .hero-cta { justify-content: center; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding-top: 52px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 42px; }
.footer-brand .brand-mark { color: #fff; font-size: 1.7rem; }
.footer-brand .brand-mark span { color: #FF6B6B; }
.footer-brand p { font-size: .85rem; margin-top: 12px; max-width: 280px; }
.site-footer h4 { color: #fff; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer h4 + a, .footer-grid > div > a { display: block; font-size: .85rem; padding: 5px 0; }
.site-footer a:hover { color: #FF6B6B; }
.footer-note { font-size: .82rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 18px 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .75rem; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .portal-grid { grid-template-columns: minmax(0,1fr) 280px; gap: 26px; }
  .listing-layout { grid-template-columns: 180px minmax(0,1fr); }
  .listing-layout > .portal-sidebar { display: none; }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .portal-top-grid { grid-template-columns: 1fr; }
  .lead-story { min-height: 360px; }
  .dest-layout, .detail-layout, .portal-grid { grid-template-columns: 1fr; }
  .dest-aside, .detail-aside, .portal-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .dest-aside > *, .detail-aside > *, .portal-sidebar > * { flex: 1 1 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .site-topbar { display: none; }
  .header-inner { flex-wrap: wrap; padding-top: 14px; padding-bottom: 12px; }
  .search-box { order: 3; width: 100%; }
  .search-box input { width: 100%; }
  .menu-toggle { display: flex; }
  .channel-nav-inner { display: none; }
  .channel-nav-inner.open { display: flex; flex-direction: column; }
  .channel-nav a { border-bottom: 1px solid var(--line); padding: 12px 18px; }
  .story-mini-grid, .channel-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .story-row { grid-template-columns: 128px 1fr; gap: 14px; }
  .section { padding: 56px 0; }
  .cta-inner, .contact-layout, .listing-layout { display: flex; flex-direction: column; }
  .listing-layout { padding: 26px 24px 56px; }
  .filters { position: static; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .guide-thumb, .search-thumb { width: 84px; flex-basis: 84px; height: 62px; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .story-row { grid-template-columns: 1fr; }
  .story-thumb { aspect-ratio: 16/9; }
}

/* =============================================================
   Enhancements: level-1 page spacing + secondary sidebar
   ============================================================= */

/* Generic section vertical rhythm — was missing on desktop, causing
   Destinations / About content to sit flush against the hero. */
.section { padding: 48px 0; }

/* Level-1 pages with a side navigation column. */
.page-with-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  padding-top: 44px;
  padding-bottom: 64px;
  align-items: start;
}
.page-with-aside > .page-main-col { min-width: 0; }
.page-with-aside > .page-main-col > .prose h2:first-child { margin-top: 0; }
.page-with-aside .enquiry-form-page { margin-top: 26px; max-width: 640px; }

.page-aside { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 22px; }
.page-nav-list { list-style: none; margin: 0; padding: 0; }
.page-nav-list li { border-bottom: 1px solid var(--line); }
.page-nav-list li:last-child { border-bottom: 0; }
.page-nav-list a { display: block; padding: 11px 2px; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.page-nav-list a:hover { color: var(--jade); }
.page-nav-list li.current > a { color: var(--jade); font-weight: 800; }

/* Attraction image gallery on detail pages. */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.gallery-grid figure { margin: 0; }
.gallery-grid img { width: 100%; height: 150px; object-fit: cover; display: block; border-radius: 2px; background: var(--surface); }

@media (max-width: 900px) {
  .page-with-aside { grid-template-columns: 1fr; gap: 30px; }
  .page-aside { position: static; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* =============================================================
   Enhancements: region filter list, city picks, pagination
   ============================================================= */
.filter-subhead {
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--grey); font-weight: 800; margin: 22px 0 8px;
  padding-bottom: 6px; border-bottom: 1px solid var(--line);
}
.region-list ul, .city-picks ul { list-style: none; margin: 0; padding: 0; }
.region-list li a, .city-picks li a {
  display: block; padding: 5px 8px; font-size: .8rem; color: var(--ink-soft);
  border-left: 2px solid transparent; line-height: 1.3;
}
.region-list li a:hover, .city-picks li a:hover { color: var(--jade); background: rgba(27,122,94,.05); }
.region-list li a.current { color: var(--jade); font-weight: 800; border-left-color: var(--jade); background: rgba(27,122,94,.06); }
.region-list { max-height: 340px; overflow-y: auto; }
.city-picks li a { color: var(--ink-soft); position: relative; padding-left: 14px; }
.city-picks li a::before { content: '›'; position: absolute; left: 3px; color: var(--accent); font-weight: 900; }

.pagination { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; margin: 34px 0 8px; }
.page-link {
  display: inline-flex; align-items: center; justify-content: center; min-width: 36px;
  height: 36px; padding: 0 11px; font-size: .85rem; font-weight: 700;
  color: var(--ink); background: #fff; border: 1px solid var(--line-dark); border-radius: 2px;
}
.page-link:hover { border-color: var(--jade); color: var(--jade); }
.page-link.active { background: var(--jade); color: #fff; border-color: var(--jade); }
.page-link.disabled { color: #bbb; background: #f6f4f0; cursor: default; }
.page-ellipsis { padding: 0 4px; color: var(--grey); }

/* =============================================================
   Enhancements: homepage hero carousel + Top Stories rail
   The carousel and the rail share one tinted panel so they read
   as a single editorial block under the navigation.
   ============================================================= */
.portal-top { padding: 22px 0 0; }
.portal-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr);
  gap: 0;
  background: #f3f1ea;                 /* shared light tint */
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

/* Carousel ---------------------------------------------------- */
.hero-carousel { position: relative; min-height: 420px; overflow: hidden; background: #0e1a17; }
.hero-slide {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; position: relative; }
.hero-slide-media {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.02); transition: transform 6s ease;
}
.hero-slide.is-active .hero-slide-media { transform: scale(1.09); }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,16,24,.92) 0%, rgba(8,16,24,.35) 45%, rgba(8,16,24,.05) 100%);
}
.hero-slide-body { position: relative; z-index: 2; padding: 34px 38px; max-width: 90%; }
.hero-kicker {
  display: inline-block; font-size: .66rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: .14em; color: #8fe3be; margin-bottom: 10px;
}
.hero-slide-body h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.7rem); font-weight: 900; line-height: 1.1;
  color: #fff; margin: 0 0 12px; letter-spacing: -.02em;
}
.hero-slide-body p { color: rgba(255,255,255,.86); font-size: .95rem; margin: 0 0 16px; max-width: 46ch; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 800;
  font-size: .85rem; padding-bottom: 3px; border-bottom: 2px solid var(--accent);
}
.hero-cta span { transition: transform .2s; }
.hero-slide:hover .hero-cta span { transform: translateX(4px); }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 38px; height: 38px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.16); color: #fff; font-size: 1.5rem; line-height: 1;
  backdrop-filter: blur(4px); transition: background .2s;
}
.hero-arrow:hover { background: rgba(255,255,255,.32); }
.hero-prev { left: 14px; }
.hero-next { right: 14px; }
.hero-dots {
  position: absolute; bottom: 16px; right: 20px; z-index: 5; display: flex; gap: 7px;
}
.hero-dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.5); transition: background .2s, transform .2s;
}
.hero-dot.is-active { background: var(--accent); transform: scale(1.3); }

/* Top Stories rail -------------------------------------------- */
.headline-rail {
  background: #f3f1ea;                 /* same tint as carousel panel */
  border-left: 1px solid var(--line);
  padding: 24px 26px;
}
.headline-rail .rail-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 14px; margin-bottom: 6px; border-bottom: 2px solid var(--ink);
}
.headline-rail .rail-head h2 {
  font-size: 1.05rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; margin: 0;
}
.headline-rail .rail-head span { font-size: .68rem; color: var(--grey); text-transform: uppercase; letter-spacing: .08em; }
.headline-list { display: flex; flex-direction: column; }
.headline-item {
  display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: start;
  padding: 14px 0; border-bottom: 1px solid var(--line); color: inherit;
  transition: transform .18s;
}
.headline-item:hover { transform: translateX(3px); }
.headline-item:hover h3 { color: var(--accent); }
.headline-num { font-size: 1.5rem; font-weight: 900; color: var(--line-dark); line-height: 1; }
.headline-item:first-child .headline-num { color: var(--accent); }
.headline-item .kicker { font-size: .6rem; }
/* Slightly richer card feel for the first story */
.headline-item:first-child h3 { font-size: 1.05rem; }
.headline-item h3 { font-size: .9rem; line-height: 1.32; margin: 4px 0 5px; font-weight: 800; }

@media (max-width: 900px) {
  .portal-top-grid { grid-template-columns: 1fr; }
  .hero-carousel { min-height: 340px; }
  .headline-rail { border-left: 0; border-top: 1px solid var(--line); }
  .hero-slide-body { padding: 24px; }
}

/* =============================================================
   Enhancement: province filter as a 2-column grid (no scrollbar)
   ============================================================= */
.region-list { max-height: none !important; overflow-y: visible !important; }
.region-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 8px;
}
.region-list li a { font-size: .74rem; padding: 5px 6px; border-left: 0; border-bottom: 1px solid var(--line); }
.region-list li a.current { border-radius: 2px; }
.filters .filter-count { margin: 0 0 4px; font-size: .8rem; color: var(--grey); font-weight: 700; }
.listing-layout { grid-template-columns: 230px minmax(0,1fr) 280px; }
@media (max-width: 1100px) { .listing-layout { grid-template-columns: 230px minmax(0,1fr); } }

/* =============================================================
   Fix: carousel stays inside the page frame, slides fill their box
   ============================================================= */

/* The block sits inside .container again, so it aligns with the
   rest of the page. Keep the shared tinted panel look. */
.portal-top { padding: 22px 0 0; }

/* Every slide is absolutely positioned inside a fixed-height box.
   Previously the active slide became `position: relative`, which
   collapsed its height to the text body — the photo then only covered
   the lower part of the box and the rest showed the dark background. */
.hero-carousel { min-height: 480px; }
.hero-slide { height: 100%; }
.hero-slide.is-active { position: absolute; inset: 0; }
.hero-slide-media {
  transform: none !important;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/* Light gradient only behind the bottom text so the photo stays clear */
.hero-slide::after {
  background: linear-gradient(0deg, rgba(8,16,24,.66) 0%, rgba(8,16,24,.20) 32%, rgba(8,16,24,0) 60%) !important;
}
.hero-slide-body { padding-left: 30px; padding-right: 30px; padding-bottom: 30px; }

@media (max-width: 900px) {
  .hero-carousel { min-height: 360px; }
  .hero-slide-body { padding: 22px; }
}
@media (max-width: 560px) {
  .hero-carousel { min-height: 320px; }
  .hero-slide-body h2 { font-size: 1.5rem; }
}

/* =============================================================
   Enhancement: mobile header — compact logo, right-aligned icons,
   tap-to-open search box.
   ============================================================= */
.search-toggle { display: none; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--ink); }

@media (max-width: 760px) {
  .brand-tag { display: none !important; }
  .brand-mark { font-size: 1.7rem; }
  .header-inner { flex-wrap: nowrap; justify-content: space-between; }
  .header-actions { gap: 6px; order: 2; }
  .search-toggle { display: inline-flex; }

  /* Search box hides as a dropdown under the header, opened by the icon. */
  .search-box {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    width: 100%;
    z-index: 60;
    padding: 10px 16px;
    background: var(--paper);
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: 0 8px 22px rgba(0,0,0,.1);
  }
  .search-box.open { display: flex; }
  .search-box input { width: 100%; }
  .site-header { position: relative; }
}
