/* =========================================
   1. GLOBAL VARIABLES & THEMES
========================================= */
:root {
  /* Neutral palette */
  --white: #ffffff;
  --black: #000000;
  --gray-bg: #f4f3ef;
  --gray-border: #e2e8f0;
  --text-main: #2d3748;
  --text-light: #4a5568;

  --font-family: 'Rubik', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
  --container-width: 1200px;

  /* Spacing tokens */
  --section-gap: 80px;
  --card-padding: 35px 40px;
  --content-max-width: 850px;
  --hero-padding: 140px 20px 120px;

  /* Typography scale */
  --title-h1: 3.2rem;
  --title-h2: 2rem;
  --title-h3: 1.4rem;
  --text-lead: 1.25rem;
  --text-base: 1.1rem;
  --text-small: 0.95rem;
  --badge-text: 0.85rem;

  /* Default brand tokens (eDreams)  templates without a theme class fall back here */
  --brand-primary: #005DAD;
  --brand-primary-hover: #004a8f;
  --brand-secondary: #FFD633;
  --brand-dark: #073b70;
  --brand-light: #deeffe;
  --brand-gradient: linear-gradient(135deg, #073b70 0%, #005DAD 100%);
  --text-on-primary: #ffffff;
  --text-on-secondary: #073b70;
  --focus-ring: #FFD633;
}

/*  eDreams Theme   */
[data-brand="ED"] {
  --brand-primary: #005DAD;
  --brand-primary-hover: #004a8f;
  --brand-secondary: #FFD633;
  --brand-dark: #073b70;
  --brand-light: #deeffe;
  --brand-gradient: linear-gradient(135deg, #073b70 0%, #005DAD 100%);
  --text-on-primary: #ffffff;
  --text-on-secondary: #073b70;
  --focus-ring: #FFD633;
}

/*  Opodo Theme  */
[data-brand="OP"] {
  --brand-primary: #262626;
  --brand-primary-hover: #7a2f00;
  --brand-secondary: #f66000;
  --brand-dark: #7a2f00;
  --brand-light: #fff0e6;
  --brand-gradient: linear-gradient(135deg, #262626 0%, #7c7c7c 100%);
  --text-on-primary: #ffffff;
  --text-on-secondary: #7a2f00;
  --focus-ring: #f96302;
}


/* =========================================
   2. RESET & BASE
========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
  /* offset for sticky nav */
}

/* With a countdown bar below the nav, anchors have a taller stack to clear.
   These are the no-JS fallbacks; main-scripts.js measures the stack and
   overrides them with its real height. */
html:has(.sticky-stack) {
  scroll-padding-top: 144px;
  /* measured stack: 136px */
}

@media (max-width: 900px) {
  html:has(.sticky-stack) {
    scroll-padding-top: 120px;
    /* measured stack: 108–112px */
  }
}

body {
  font-family: var(--font-family);
  background-color: var(--gray-bg) !important;
  color: var(--text-main);
  margin: 0;
  padding: 0;
  font-size: var(--text-base);
  line-height: 1.7;
}

@media (max-width: 768px) {
  body {
    background-color: var(--gray-bg) !important;
  }
}




h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--text-main);
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
}

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

a {
  text-decoration: none;
  color: var(--brand-primary);
  transition: var(--transition);
}

[data-brand="OP"] .articleFULL a {
  color: var(--brand-secondary);
}

[data-brand="OP"] .zigzag-content a {
  color: var(--brand-secondary);
}

a:hover {
  color: var(--brand-dark);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .container {
    margin: 0px;
  }
}

/*  Accessibility: focus ring  */
:focus-visible {
  outline: 3px solid var(--focus-ring, var(--brand-secondary));
  outline-offset: 3px;
  border-radius: 4px;
}

/*  Reduced motion  */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/*  Lists inside articleFULL  */
.articleFULL ul {
  list-style-type: disc;
  /* Forces the bullet to show up */
  padding-left: 24px;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.85;
}

.articleFULL ol {
  list-style-type: decimal;
  /* Forces the numbers to show up */
  padding-left: 24px;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.85;
}

.articleFULL li {
  margin-bottom: 8px;
}

.articleFULL li:last-child {
  margin-bottom: 0;
}

.articleFULL ul li::marker {
  color: var(--brand-primary);
  font-size: 1.15em;
}

.articleFULL ol li::marker {
  color: var(--brand-primary);
  font-weight: 700;
}

/*  Bold text inside articleFULL  */
.articleFULL strong,
.articleFULL b {
  font-weight: 700;
  color: var(--text-main);
}


.articleFULL:has(em) {
  background-color: var(--brand-light);
  border: 2px solid rgba(0, 93, 173, 0.2);
  font-size: 0.9rem;
  padding: 18px;
}


/* =========================================
   SECTION HEADER UTILITY
========================================= */
.section-header {
  text-align: center;
  margin: 80px 0px 20px 0px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--brand-primary);
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-light);
  font-size: var(--text-base);
  margin: 0 auto;
}

/* Section padding wrapper */
.section-block {
  padding: var(--section-gap) 0;
}

/* All top-level section wrappers get vertical breathing room */
/* body > [id]:not(#hero-searcher):not(#hero-standard):not(#hero-video):not(#zigzag):not(#tabs):not([data-component="zigzag-content"]):not([data-component="tabs"]) {
  padding-top: 60px;
  padding-bottom: 60px;
} */
/* Hero components must never inherit section padding regardless of their id */
body>.hero-searcher,
body>.hero,
body>.hero-video-wrapper {
  padding-top: 0;
  padding-bottom: 0;
}

/* Full-bleed white sections  bg spans 100vw, content stays within container */
#zigzag,
[data-component="zigzag-content"],
#tabs,
[data-component="tabs"] {
  background: var(--white);
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Section header inside full-bleed sections uses the container */
#zigzag>.container,
[data-component="zigzag-content"]>.container,
#tabs>.container,
[data-component="tabs"]>.container {
  padding-bottom: 40px;
}


/* =========================================
   3. LIBRARY ADMIN SHELL
========================================= */
.library-header {
  background: #1e293b;
  color: white;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  gap: 12px;
}

.library-header h3 {
  margin: 0;
  font-size: 1.05rem;
}

.library-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.library-controls select {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  background: white;
  color: #1e293b;
  font-weight: 600;
}

.library-wrapper {
  padding: 2rem;
  max-width: 1280px;
  margin: auto;
}

.library-component {
  background: white;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: 1px solid var(--gray-border);
}

.library-component-header {
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  color: #1e293b;
  user-select: none;
  border-bottom: 1px solid transparent;
  transition: background 0.2s;
}

.library-component-header:hover {
  background: #f1f5f9;
}

.library-component.open .library-component-header {
  border-bottom-color: var(--gray-border);
}

.library-component-body {
  display: none;
  background: var(--gray-bg);
}

.library-component.open .library-component-body {
  display: block;
}

.component-demo {
  background: transparent;
  padding: 0;
}


/* =========================================
   4. BUTTONS
========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background-color: var(--brand-primary);
  color: var(--text-on-primary);
}

.btn-primary:hover {
  background-color: var(--brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  color: var(--text-on-primary);
}

.btn-secondary {
  background-color: var(--brand-secondary);
  color: var(--text-on-secondary);
}

.btn-secondary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  color: var(--text-on-secondary);
}

.btn-outline {
  background: var(--brand-light);
  border-color: currentColor;
  color: var(--brand-primary);
}

.btn-outline:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--text-on-primary);
  transform: translateY(-2px);
}


/* =========================================
   5. STICKY NAV
========================================= */
.sticky-nav {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--white);
  border-bottom: 2px solid var(--gray-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s;
}

.sticky-nav-links {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0 auto;
  padding: 0 12px;
  overflow-x: auto;
  white-space: nowrap;
  max-width: var(--container-width);
  width: 100%;
  scrollbar-width: none;
  /* hide scrollbar on Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

.sticky-nav-links::-webkit-scrollbar {
  display: none;
}

@media (max-width: 768px) {
  .sticky-nav-links {
    justify-content: flex-start;
  }
}

.sticky-nav-links li {
  padding: 0;
}

.sticky-nav-links a {
  display: block;
  padding: 20px 18px;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.sticky-nav-links a:hover {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-light);
}

.sticky-nav-links a.active {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
}


/* ---- Sticky stack: nav + countdown pinned as one block ---- */
/* Only emitted when a countdown is switched on. The wrapper does the pinning for
   both children, so neither needs to know the other's height. */
.sticky-stack {
  position: sticky;
  top: 0;
  z-index: 10002;
}

.sticky-stack>.sticky-nav {
  position: static;
  z-index: auto;
}

/* The countdown sits on top, so the nav is the stack's bottom edge and keeps the
   shadow; a shadow on the countdown would fall between the two. */
.sticky-stack>.countdown-bar {
  box-shadow: none;
}


/* ---- Countdown bar (sits above .sticky-nav) ---- */
.countdown-bar {
  width: 100%;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Hidden until main-scripts.js works out which campaign phase is current, and
   hidden again for good once the campaign ends. Without JS it never shows —
   better than a bar frozen at "--". */
.countdown-bar[data-countdown-pending],
.countdown-bar[hidden] {
  display: none;
}

/* Needs to outrank the narrow-screen `display: -webkit-box` on .countdown-text,
   or the phase that is meant to be hidden keeps rendering. */
.countdown-text[hidden] {
  display: none;
}

.countdown-bar-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.countdown-text {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.countdown-text a {
  color: inherit;
  text-decoration: underline;
}

.countdown-timer {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

/* The unit is just a column: the tile is the number itself, and the label sits
   below it on the bar rather than inside the tile. */
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}

.countdown-value {
  display: block;
  min-width: 54px;
  padding: 3px 10px 4px;
  border-radius: 10px;
  background: var(--brand-dark);
  color: var(--text-on-primary);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  line-height: 1.1;
  /* inherits the bar's brand-primary — dark on the brand-secondary background */
}


/* Below 900px the boxed treatment gives way to one inline row —
   "Deals end in 02d 14h 33m 12s". The message and the digits stay on the same
   line, which keeps the pinned stack from eating the viewport.
   900px rather than the usual 768px breakpoint: measured, a long message beside
   the boxed digits wraps the timer onto a second row anywhere under ~880px,
   which pushes the pinned stack to 178px. */
@media (max-width: 900px) {
  .countdown-bar-inner {
    gap: 8px;
    padding: 7px 12px;
    flex-wrap: nowrap;
  }

  .countdown-text {
    font-size: 0.85rem;
    line-height: 1.25;
    min-width: 0;
    /* A long message would otherwise wrap to three or four lines on a small
       phone and push the pinned stack past 145px. Two lines is the ceiling. */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .countdown-timer {
    gap: 5px;
    flex-shrink: 0;
  }

  /* The tile stays, shrunk; the label beside it rather than beneath, so the
     whole bar is one row. */
  .countdown-unit {
    flex-direction: row;
    align-items: center;
    gap: 2px;
  }

  /* The full word is replaced by its abbreviation, taken from data-short so a
     translated bar shortens in its own language. */
  .countdown-unit::after {
    content: attr(data-short);
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0.8;
  }

  .countdown-value {
    min-width: 0;
    padding: 2px 6px 3px;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .countdown-label {
    display: none;
  }
}


/* =========================================
   6. HERO SECTIONS
========================================= */

/* Standard Image Hero */
.hero {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.15));
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 1000px;
}

.hero h1 {
  font-size: clamp(2.5rem, 3vw, 3.5rem);
  line-height: 1.15;
  font-weight: 700;
  margin-top: 40px;
  color: #fff;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 32px;
  opacity: 0.9;
  font-weight: 600;
}

/* Video Hero */
.hero-video-wrapper {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
  z-index: 1;
}

.hero-video-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
  padding: 20px;
}

.hero-video-content h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  color: white;
  margin-bottom: 16px;
}

.hero-video-content p {
  font-size: 1.2rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

/* Hero with Searcher */
.hero-searcher {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  min-height: 420px;
  color: white;
  display: flex;
  align-items: center;
}

.hero-searcher::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(99 99 99 / 40%) 0%, rgb(57 57 57 / 27%) 100%);
}

.hero-searcher .container {
  position: relative;
  z-index: 2;
}

.hero .breadcrums {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 6px;
  color: #fff;
  font-size: 0.875rem;
  backdrop-filter: blur(6px);
  margin-top: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero .breadcrums a {
  color: white !important;
  font-weight: 500;
}

.hero .breadcrums a:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .hero {
    padding: 0px;
    min-height: 540px;
  }

  .hero .breadcrums {
    margin-top: 0px;
  }

  .hero h1 {
    margin-top: 20px;
  }
}

.hero-searcher .breadcrums {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 6px;
  color: #fff;
  font-size: 0.875rem;
  backdrop-filter: blur(6px);
  margin-top: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-searcher .breadcrums a {
  color: white !important;
  font-weight: 500;
}

.hero-searcher .breadcrums a:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .hero-searcher .breadcrums {
    margin-top: 0px;
  }
}

.hero-searcher h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  margin-bottom: 28px;
}

.mock-searcher {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}


/* =========================================
   7. ARTICLE / FULL-WIDTH CONTENT
========================================= */
.articleFULL {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  padding: 48px 56px;
  margin: 32px 0;
}

.articleFULL h2 {
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 16px;
}

.articleFULL h3 {
  font-size: 1.4rem;
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.articleFULL p {
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .articleFULL {
    padding: 28px 20px;
  }
}


/* =========================================
   8. CITY CARDS
========================================= */
.card-city-container {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-primary) var(--gray-border);
}

.card-city-container::-webkit-scrollbar {
  height: 5px;
}

.card-city-container::-webkit-scrollbar-track {
  background: var(--gray-border);
  border-radius: 10px;
}

.card-city-container::-webkit-scrollbar-thumb {
  background: var(--brand-primary);
  border-radius: 10px;
}

.card-city {
  flex: 1;
  min-width: 300px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  border: 1px solid var(--gray-border);
}

.card-city:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.card-city-image {
  height: 210px;
  overflow: hidden;
}

.card-city-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-city:hover .card-city-image img {
  transform: scale(1.07);
}

.card-city-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-city-content h4 {
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.card-city-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 20px !important;
  flex-grow: 1;
}

.card-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.btn-round {
  background-color: var(--brand-primary);
  color: var(--white);
  font-weight: 700;
  padding: 11px 28px;
  border-radius: 50px;
  display: inline-block;
  transition: var(--transition);
  font-size: 0.95rem;
  text-align: center;
  width: 100%;
}

[data-brand="OP"] .btn-round {
  background-color: var(--brand-secondary);
}

.btn-round:hover {
  background-color: var(--brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  color: white !important;
}

.link-secondary {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-secondary:hover {
  color: var(--brand-dark);
}


/* =========================================
   9. IMAGE SLIDER
========================================= */
.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 40px 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.slider {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.slider-info-box {
  position: absolute;
  bottom: 40px;
  left: 40px;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  backdrop-filter: blur(12px);
  padding: 28px 32px;
  border-radius: var(--radius);
  max-width: 480px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s 0.3s, transform 0.5s 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.slide.active .slider-info-box {
  opacity: 1;
  transform: translateY(0);
}

.slider-info-box h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.slider-info-box p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
  font-size: 1rem;
}

.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  pointer-events: none;
}

.slider-btn {
  pointer-events: auto;
  width: 48px;
  height: 48px;
  background: white;
  color: var(--brand-primary);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--brand-primary);
  color: white;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .slide img {
    height: 620px;
  }

  .slider-info-box {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 20px;
  }

  .slider-info-box h3 {
    font-size: 1.1rem;
  }

  .slider-info-box p {
    font-size: 0.75rem;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .slider-controls {
    transform: translateY(-200%);
  }
}

/* Single Image Component - responsive height */
.single-image .slide img {
  height: auto;
  max-height: none;
}

/* =========================================
   10. FEATURE GRID
========================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.feature-grid::-webkit-scrollbar {
  height: 5px;
}

.feature-grid::-webkit-scrollbar-track {
  background: var(--gray-border);
  border-radius: 10px;
}

.feature-grid::-webkit-scrollbar-thumb {
  background: var(--brand-primary);
  border-radius: 10px;
}

.feature-card {
  background: white;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  text-align: left;
  border: 1px solid var(--gray-border);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
  border-color: var(--brand-light);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--brand-light);
  color: var(--brand-secondary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

[data-brand="ED"] .feature-icon {
  color: var(--brand-primary);
}

.feature-card h3 {
  color: var(--brand-primary);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}


/* =========================================
   11. BENTO / FAQ CARDS
========================================= */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Base faq-card: solid brand-light, NOT transparent */
.faq-card {
  background: var(--brand-light);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  border: none;
  transition: var(--transition);
}

.faq-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.faq-card h3 {
  color: var(--brand-primary);
  margin-bottom: 12px;
  font-weight: 500;
}

.faq-card p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.75;
}

/* Hero card (gradient) */
.hero-card {
  grid-column: span 2;
  background: var(--brand-gradient);
  color: white;
}

.hero-card h3 {
  color: var(--brand-secondary);
}

.hero-card p {
  color: rgba(255, 255, 255, 0.88);
}

/* Standard cards already inherit brand-light from .faq-card */
.standard-card h3 {
  color: var(--brand-primary);
  font-weight: 500;
}

.tag {
  background: var(--brand-secondary);
  color: var(--text-on-secondary);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: inline-block;
  margin-bottom: 16px;
}

.hero-card .tag {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}


/* =========================================
   12. ZIG-ZAG CONTENT
========================================= */
/* --container-width = 1200px. The padding trick centers content at container width
   while the element itself is full viewport width. */
.zigzag-section {
  display: flex;
  gap: 48px;
  align-items: center;
  margin: 0;
  background: var(--white);
  padding: 48px max(24px, calc((100% - var(--container-width)) / 2));
}

/* Alternation is handled by inline style="flex-direction: row-reverse;" applied by the renderer.
   No CSS nth-child rule needed  it would conflict with inline styles and break the pattern. */

.zigzag-content {
  flex: 1;
}

.zigzag-content h3 {
  font-size: 1.5rem;
  color: var(--brand-primary);
  margin-bottom: 16px;
}

.zigzag-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px !important;
}

.zigzag-image {
  flex: 1;
}

.zigzag-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 520px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {

  .zigzag-section {
    flex-direction: column !important;
    /* override inline row-reverse on mobile */
    padding: 28px 20px;
    background: #fff !important;
  }

  .zigzag-content {
    order: 1;
  }

  .zigzag-image {
    order: 2;
  }

  .zigzag-image img {
    height: 420px;
  }
}


/* =========================================
   12b. ZIG-ZAG OVERFLOW  3-col card grid
   Renderer wraps items 5+ in this element.
   The padding trick centers the grid at
   container-width, same as .zigzag-section.
========================================= */

.zigzag-overflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px max(24px, calc((100% - var(--container-width)) / 2)) 0;
  background: var(--white);
}

.zigzag-overflow .zigzag-section {
  flex-direction: column !important;
  padding: 0;
  gap: 0;
  align-items: stretch;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  background-color: var(--brand-light);
}

.zigzag-overflow .zigzag-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.11);
  border-color: var(--brand-light);
}

/* Image: pushed to bottom, shorter height, rounded bottom corners */
.zigzag-overflow .zigzag-image {
  flex: none;
  order: 2;
}

.zigzag-overflow .zigzag-image img {
  height: 200px;
  border-radius: var(--radius-lg);
  box-shadow: none;
  padding: 10px;
}

/* Content: top of card, compact padding, always left-aligned */
.zigzag-overflow .zigzag-content {
  padding: 18px 20px 16px;
  flex: 1;
  order: 1;
  text-align: left;
}

.zigzag-overflow .zigzag-content h2 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* Text clamped to 3 lines  keeps all cards in a row the same height */
.zigzag-overflow .zigzag-content p {

  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0 !important;
  font-size: 0.9rem;
}


/* =========================================
   13. ACCORDION / FAQ
========================================= */
.accordion-wrapper {
  max-width: 800px;
  margin: 40px auto;
  border-radius: var(--radius-lg);
  padding: 8px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 22px 32px;
  background: transparent;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s, background 0.2s;
  gap: 16px;
  background: var(--white);
}

.accordion-header:hover {
  color: var(--brand-primary);
}

.accordion-header::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  transition: transform 0.3s;
  font-size: 0.8rem;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.accordion-item.active .accordion-header {
  color: var(--brand-primary);
}

.accordion-item.active .accordion-header::after {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-light);
  padding: 0 32px;
  font-size: 0.98rem;
  line-height: 1.8;
  background: var(--white);
}

.accordion-item.active .accordion-content {
  max-height: 400px;
  padding: 0 32px 24px;
}


/* =========================================
   14. TABS
========================================= */
.tabs-wrapper {
  margin: 0;
  background: var(--white);
  padding: 0;
  overflow: hidden;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--white);
  /* Pad horizontally so buttons align with container-width content */
  padding-left: max(24px, calc((100% - var(--container-width)) / 2));
  padding-right: max(24px, calc((100% - var(--container-width)) / 2));
}

.tabs-nav::-webkit-scrollbar {
  display: none;
}

@media (max-width: 768px) {
  .tabs-nav {
    justify-content: flex-start;
  }
}

.tab-btn {
  padding: 10px 20px;
  background: var(--brand-light);
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-primary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s, border-color 0.2s;
  border: none;
}

.tab-btn:hover {
  color: var(--brand-dark);
  transition: all 0.2s;
}

.tab-btn.active {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
  background-color: var(--brand-secondary)
}

.tab-pane {
  display: none;
  padding: 32px max(24px, calc((100% - var(--container-width)) / 2));
  animation: fadeInTab 0.35s ease;
}

@media (max-width: 768px) {
  .tab-pane {
    padding: none;
  }
}



/* When a zigzag-section lives inside a tab pane, remove its own padding
   so the tab-pane padding handles spacing uniformly */
.tab-pane .zigzag-section {
  padding: 0;
  margin: 0 0 32px;
}

.tab-pane .zigzag-section:last-child {
  margin-bottom: 0;
}

.tab-pane .articleFULL {
  background-color: var(--brand-light);
}

.tab-pane.active {
  display: block;
}

.tab-pane h3 {
  font-size: 1.4rem;
  color: var(--brand-primary);
  margin-bottom: 12px;
  font-weight: 500;
}

.tab-pane p {
  color: var(--text-light);
  margin: 0;
  margin-bottom: 1rem;
}

.tab-pane .section-header {
  margin: 20px 0px;
}

.tab-pane .articleFULL {
  background-color: var(--brand-light);
  font-weight: 500;
  color: var(--brand-dark);
  padding: 24px 26px;
}

.tab-pane .articleFULL h4 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 10px;

}

@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================================
   15. STATS
========================================= */
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  margin: 40px 0;
  background: var(--brand-gradient);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  text-align: center;
  padding: 48px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--brand-secondary);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.stat-languages {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
}

.stat-flag {
  width: 28px;
  height: 18px;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}

@media (max-width: 600px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 32px 16px;
  }

  .stat-item:nth-child(2n) {
    border-right: none;
  }
}


/* =========================================
   16. CTA STRIP
========================================= */
.cta-strip {
  background: var(--brand-gradient);
  color: white;
  padding: 72px 40px;
  text-align: center;
  border-radius: var(--radius-lg);
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255, 255, 255, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.cta-strip h2 {
  color: var(--brand-secondary);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.cta-strip p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 32px;
  margin-left: auto;
  margin-right: auto;
}


/* =========================================
   17. BENTO IMAGE CARDS (bento-grid-cards)
========================================= */
.bento-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 40px 0;
}

.bento-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-border);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.11);
}

.bento-card-img {
  height: 200px;
  overflow: hidden;
}

.bento-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.bento-card:hover .bento-card-img img {
  transform: scale(1.05);
}

.bento-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bento-card-body h3 {
  font-size: 1.1rem;
  color: var(--brand-primary);
  margin-bottom: .5rem;
}

.bento-card-body p {
  font-size: .9rem;
  color: var(--text-light);
  flex: 1;
}

.bento-card-body .btn-outline {
  margin-top: 1rem;
  align-self: flex-start;
}


/* =========================================
   18. NEWS PORTAL / HUB CARDS
========================================= */
.hub-content {
  padding: 60px 0 100px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
  display: none;
}

.news-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.09);
}

.card-image {
  height: 240px;
  background-color: var(--gray-border);
  background-size: cover;
  background-position: center;
  position: relative;
}

.card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent);
}

.card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--brand-secondary);
  color: var(--text-on-secondary);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: var(--badge-text);
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

.card-content {
  padding: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-date {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.card-title {
  font-size: 1.3rem;
  color: var(--brand-dark);
  margin-bottom: 14px;
  line-height: 1.35;
  font-weight: 700;
}

.card-excerpt {
  font-size: 0.98rem;
  color: var(--text-light);
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-link {
  color: var(--brand-primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  margin-top: auto;
  font-size: 0.98rem;
}

.news-card:hover .card-link {
  color: var(--brand-secondary);
  gap: 14px;
}

.load-more-wrapper {
  text-align: center;
  margin-top: 56px;
}

.btn-discover {
  background-color: var(--brand-primary);
  color: var(--text-on-primary);
  border: none;
  padding: 15px 44px;
  border-radius: 40px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.btn-discover:hover {
  background-color: var(--brand-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.btn-discover:active {
  transform: translateY(0);
}

.btn-discover.hidden {
  display: none;
}


/* =========================================
   19. UNIFIED HERO BANNERS (PR/Product/Travel Tips)
========================================= */
.pr-hero,
.prod-header,
.trip-hero {
  position: relative;
  text-align: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
  padding: var(--hero-padding);
}

.pr-hero {
  background-image: url('/images/seo/new-wmp/media/flights-sky/flight-sky-hero.webp');
}

.prod-header {
  background: var(--brand-gradient);
}

.trip-hero {
  background-image: url('/images/seo/new-wmp/media/flights-sky/flight-sky-hero.webp');
}

.pr-hero::before,
.trip-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.pr-hero::before {
  background: var(--brand-gradient);
  opacity: 0.82;
}

.trip-hero::before {
  background: linear-gradient(180deg, rgba(7, 59, 112, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.pr-hero-content,
.prod-header-content,
.trip-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-max-width);
  margin: 0 auto;
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Badges */
.pr-badge,
.prod-badge,
.trip-badge {
  display: inline-block;
  background-color: var(--brand-secondary);
  color: var(--text-on-secondary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}


/* =========================================
   20. STICKY NAV SCROLLSPY ACTIVE HELPER
========================================= */
.sticky-nav-links a[aria-current="true"] {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
}


/* =========================================
   21. RESPONSIVE BREAKPOINTS
========================================= */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    grid-column: span 1;
  }

  .bento-grid-cards {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    width: 100%;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 24px;
    scroll-snap-type: x mandatory;
    padding: 20px;
  }

  .feature-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
  }

  .card-city {
    flex: 0 0 300px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .library-wrapper {
    padding: 1rem;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-card {
    padding: 24px 20px;
  }

  .cta-strip {
    padding: 48px 24px;
  }

  /* Collapse overflow card grid to single column on mobile */
  .zigzag-overflow {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 16px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 0;
  }
}


/* =========================================
   22. BACK BUTTON (floating, all article templates)
========================================= */
.back-btn {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 50px;
  height: 50px;
  background: var(--brand-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  opacity: 0;
  transform: translateY(12px) scale(0.85);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  z-index: 1000;
  pointer-events: none;
}

.back-btn.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-btn:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-3px) scale(1.08);
  color: #fff;
}


/* =========================================
   23. ARTICLE HERO  TITLES & META
       (shared across all three templates)
========================================= */
.pr-title,
.prod-title,
.trip-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
}

.pr-meta,
.prod-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  flex-wrap: wrap;
  margin-top: 8px;
}

.pr-meta span,
.prod-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}


/* =========================================
   24. COMPANY NEWS (PR) ARTICLE
========================================= */
.pr-container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 60px 24px 100px;
}

/* Key Highlights box */
.pr-summary {
  background: var(--brand-light);
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius);
  padding: 32px 40px;
  margin-bottom: 48px;
}

.pr-summary h3 {
  font-size: 1.1rem;
  color: var(--brand-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pr-summary ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-light);
  line-height: 1.85;
}

.pr-summary ul li {
  margin-bottom: 6px;
}

/* Article body */
.pr-body h2 {
  font-size: 1.75rem;
  color: var(--brand-dark);
  margin: 44px 0 16px;
  padding-top: 8px;
}

.pr-body p {
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.pr-body ul,
.pr-body ol {
  color: var(--text-light);
  padding-left: 24px;
  margin-bottom: 1rem;
  line-height: 1.85;
}

.pr-body ul li,
.pr-body ol li {
  margin-bottom: 6px;
}

.pr-body blockquote {
  border-left: 4px solid var(--brand-primary);
  margin: 32px 0;
  padding: 16px 28px;
  background: var(--brand-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-main);
}

/* Image block */
.pr-image-block {
  margin: 40px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.pr-image-block img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.pr-image-caption {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-light);
  padding: 10px 0 4px;
  font-style: italic;
}

/* Data table */
.pr-table-wrapper {
  overflow-x: auto;
  margin: 32px 0;
  border-radius: var(--radius);
  border: 1px solid var(--gray-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.pr-table thead tr {
  background: var(--brand-gradient);
  color: white;
}

.pr-table thead th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.pr-table tbody tr {
  border-bottom: 1px solid var(--gray-border);
  transition: background 0.2s;
}

.pr-table tbody tr:last-child {
  border-bottom: none;
}

.pr-table tbody tr:hover {
  background: var(--brand-light);
}

.pr-table td {
  padding: 14px 20px;
  color: var(--text-light);
}

.pr-table td:first-child {
  color: var(--text-main);
  font-weight: 600;
}

@media (max-width: 768px) {
  .pr-summary {
    padding: 24px 20px;
  }

  .pr-image-block img {
    max-height: 240px;
  }
}


/* =========================================
   25. PRODUCT NEWS ARTICLE
========================================= */
.prod-container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 60px 24px 100px;
}

/* Hero image below the gradient header */
.prod-hero-image {
  margin-bottom: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.prod-hero-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.prod-hero-caption {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-light);
  padding: 10px 0 4px;
  font-style: italic;
}

/* Article body */
.prod-body h2 {
  font-size: 1.75rem;
  color: var(--brand-dark);
  margin: 48px 0 16px;
}

.prod-body p {
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.prod-body ul {
  color: var(--text-light);
  padding-left: 24px;
  margin-bottom: 1rem;
  line-height: 1.85;
}

.prod-body ul li {
  margin-bottom: 6px;
}

/* Zigzag variant used inside product-news article
   .zigzag-section = outer wrapper
   .zigzag-row     = flex row (alternates direction)
   .zigzag-text    = text column
   .zigzag-media   = image column                    */
.prod-body .zigzag-section {
  background: transparent;
  padding: 0;
  margin: 0;
}

.zigzag-row {
  display: flex;
  gap: 48px;
  align-items: center;
  padding: 40px 0;
}

.zigzag-section .zigzag-row:nth-child(even) {
  flex-direction: row-reverse;
}

.zigzag-text {
  flex: 1 1 0;
}

.zigzag-text h3 {
  font-size: 1.4rem;
  color: var(--brand-primary);
  margin-bottom: 14px;
}

.zigzag-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.zigzag-text ul {
  color: var(--text-light);
  padding-left: 20px;
  line-height: 1.8;
}

.zigzag-media {
  flex: 1 1 0;
}

.zigzag-media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: block;
}

/* Feature comparison table */
.prod-table-wrapper {
  overflow-x: auto;
  margin: 32px 0;
  border-radius: var(--radius);
  border: 1px solid var(--gray-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.prod-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.prod-table thead tr {
  background: var(--brand-gradient);
  color: white;
}

.prod-table thead th {
  padding: 14px 20px;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-align: left;
}

.prod-table thead th:not(:first-child) {
  text-align: center;
}

.prod-table tbody tr {
  border-bottom: 1px solid var(--gray-border);
  transition: background 0.2s;
}

.prod-table tbody tr:last-child {
  border-bottom: none;
}

.prod-table tbody tr:hover {
  background: var(--brand-light);
}

.prod-table td {
  padding: 14px 20px;
  color: var(--text-light);
}

.prod-table td:first-child {
  color: var(--text-main);
  font-weight: 600;
}

.prod-table td:not(:first-child) {
  text-align: center;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .prod-hero-image img {
    max-height: 240px;
  }

  .zigzag-row,
  .zigzag-section .zigzag-row:nth-child(even) {
    flex-direction: column;
    padding: 24px 0;
    gap: 24px;
  }

  .zigzag-media img {
    height: 220px;
  }
}


/* =========================================
   26. BLOG / TRAVEL TIPS ARTICLE
========================================= */
.trip-container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 48px 24px 100px;
}

/* Author + read-time bar */
.trip-author-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-border);
  flex-wrap: wrap;
  gap: 16px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--brand-gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-info strong {
  color: var(--brand-dark);
  font-size: 0.98rem;
}

.author-info span {
  font-size: 0.875rem;
  color: var(--text-light);
}

.read-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
  white-space: nowrap;
}

/* "In this guide" summary box */
.trip-summary {
  background: var(--brand-light);
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius);
  padding: 28px 36px;
  margin-bottom: 40px;
}

.trip-summary h3 {
  font-size: 1.05rem;
  color: var(--brand-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trip-summary ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-light);
  line-height: 1.85;
}

.trip-summary ul li {
  margin-bottom: 6px;
}

/* Article body */
.trip-body p {
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.trip-body p.intro {
  font-size: 1.18rem;
  color: var(--text-main);
  line-height: 1.8;
  border-left: 3px solid var(--brand-primary);
  padding-left: 20px;
  margin-bottom: 36px;
}

.trip-body h2 {
  font-size: 1.7rem;
  color: var(--brand-dark);
  margin: 44px 0 16px;
}

.trip-body h3 {
  font-size: 1.25rem;
  color: var(--brand-primary);
  margin: 28px 0 12px;
}

/* Styled content list */
.trip-body ul.content-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.trip-body ul.content-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--gray-border);
  color: var(--text-light);
  line-height: 1.7;
}

.trip-body ul.content-list li:last-child {
  border-bottom: none;
}

.trip-body ul.content-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 8px;
  height: 8px;
  background: var(--brand-primary);
  border-radius: 50%;
}

.trip-body ul.content-list li strong {
  color: var(--text-main);
}

/* Inline image */
.trip-image {
  margin: 36px 0;
}

.trip-image img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  display: block;
}

.image-caption {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-light);
  padding: 10px 0 0;
  font-style: italic;
}

/* Data table */
.trip-table-wrapper {
  overflow-x: auto;
  margin: 32px 0;
  border-radius: var(--radius);
  border: 1px solid var(--gray-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.trip-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.trip-table thead tr {
  background: var(--brand-gradient);
  color: white;
}

.trip-table thead th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.trip-table tbody tr {
  border-bottom: 1px solid var(--gray-border);
  transition: background 0.2s;
}

.trip-table tbody tr:last-child {
  border-bottom: none;
}

.trip-table tbody tr:hover {
  background: var(--brand-light);
}

.trip-table td {
  padding: 14px 20px;
  color: var(--text-light);
}

.trip-table td:first-child {
  color: var(--text-main);
  font-weight: 600;
}

/* CTA block at end of article */
.trip-actions {
  background: var(--brand-gradient);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  margin-top: 56px;
  color: white;
}

.trip-actions h3 {
  color: var(--brand-secondary);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.trip-actions p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .trip-author-block {
    padding: 16px 20px;
  }

  .trip-summary {
    padding: 20px 24px;
  }

  .trip-actions {
    padding: 36px 24px;
  }

  .trip-actions h3 {
    font-size: 1.35rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }
}


/* =========================================
   27. CURSOR FIX & NEWS-CARD DISPLAY BUG
========================================= */

/* Missing cursor pointer on interactive elements */
.card-city,
.faq-card,
.feature-card,
.bento-card,
.related-card,
.accordion-header,
.tab-btn,
.slider-btn,
.btn-round,
.filter-pill,
.page-btn,
.share-btn,
.back-btn,
.news-card,
.library-component-header {
  cursor: pointer;
}

/* Bug fix: .news-card starts display:none but .visible never restores display */
.news-card.visible {
  display: flex;
  flex-direction: column;
}




/* =========================================
   33. TABLE OF CONTENTS (TOC)
========================================= */
.toc {
  background: var(--brand-light);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 40px;
  border-left: 4px solid var(--brand-primary);
}

.toc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
}

.toc ol li {
  margin-bottom: 8px;
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.5;
}

.toc ol li a {
  color: var(--brand-primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.toc ol li a:hover {
  color: var(--brand-dark);
}

.toc ol li ol {
  margin-top: 6px;
  padding-left: 16px;
}

.toc ol li ol li {
  font-size: 0.875rem;
  margin-bottom: 4px;
}


/* =========================================
   34. SOCIAL SHARE BAR
========================================= */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  margin: 32px 0;
  flex-wrap: wrap;
}

.share-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  margin-right: 2px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  font-family: var(--font-family);
  white-space: nowrap;
}

.share-btn.x {
  background: #000;
  color: white;
}

.share-btn.x:hover {
  background: #333;
  color: white;
  transform: translateY(-1px);
}

.share-btn.facebook {
  background: #1877F2;
  color: white;
}

.share-btn.facebook:hover {
  background: #1558b0;
  color: white;
  transform: translateY(-1px);
}

.share-btn.linkedin {
  background: #0A66C2;
  color: white;
}

.share-btn.linkedin:hover {
  background: #084e96;
  color: white;
  transform: translateY(-1px);
}

.share-btn.copy {
  background: var(--gray-border);
  color: var(--text-main);
}

.share-btn.copy:hover {
  background: var(--brand-light);
  color: var(--brand-primary);
}

.share-btn.copy.copied {
  background: #dcfce7;
  color: #16a34a;
}


/* =========================================
   35. RELATED POSTS
========================================= */
.related-posts {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 2px solid var(--gray-border);
}

.related-posts h3 {
  font-size: 1.4rem;
  color: var(--brand-primary);
  margin-bottom: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.related-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-border);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--brand-light);
  color: inherit;
}

.related-card-img {
  height: 150px;
  overflow: hidden;
}

.related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.related-card:hover .related-card-img img {
  transform: scale(1.06);
}

.related-card-body {
  padding: 16px 18px;
}

.related-card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand-primary);
  margin-bottom: 6px;
  display: block;
}

.related-card-body h4 {
  font-size: 0.97rem;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================
   36. AUTHOR BIO CARD
========================================= */
.author-bio-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  margin-top: 48px;
  border: 1px solid var(--gray-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.author-bio-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  overflow: hidden;
}

.author-bio-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-bio-info h4 {
  color: var(--brand-dark);
  font-size: 1.05rem;
  margin-bottom: 3px;
}

.author-bio-role {
  font-size: 0.8rem;
  color: var(--brand-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
  display: block;
}

.author-bio-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* =========================================
   DATA TABLE (webmasterpage component)
========================================= */
.content-table-wrapper {
  overflow-x: auto;
  margin: 32px 0;
  border-radius: var(--radius);
  border: 1px solid var(--gray-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.content-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.content-table thead tr {
  background: var(--brand-gradient);
  color: white;
}

.content-table thead th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--brand-secondary);
}

.content-table tbody tr {
  border-bottom: 1px solid var(--gray-border);
  transition: background 0.2s;
}

.content-table tbody tr:last-child {
  border-bottom: none;
}

.content-table tbody tr:hover {
  background: var(--brand-light);
}

.content-table td {
  background-color: white;
  padding: 14px 20px;
  color: var(--text-light);
}

.content-table td:first-child {
  color: var(--text-main);
  font-weight: 600;
}

@media (max-width: 768px) {

  .content-table thead th,
  .content-table td {
    padding: 10px 14px;
    font-size: 0.875rem;
  }
}

@media (max-width: 600px) {
  .author-bio-card {
    flex-direction: column;
  }
}


/* =========================================
   38. COVER GRID
   Interactive visual list (10+ items).
   Hero panel shows selected item detail.
   Selector grid below  click any thumbnail.
   No rank numbers  use ranking-list for that.
========================================= */
#cover-grid,
[data-component="cover-grid"] {
  background: var(--gray-bg);
  padding-top: 60px;
  padding-bottom: 60px;
}

.cover-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  margin-bottom: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: opacity 0.22s ease;
}

.cover-hero.switching {
  opacity: 0;
}

.cover-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.cover-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.55) 45%,
      rgba(0, 0, 0, 0.54) 100%);
}

.cover-hero-body {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  padding: 0 52px;
  max-width: 580px;
  color: white;
}

.cover-hero-body h3 {
  font-size: 1.9rem;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
  line-height: 1.2;
}

.cover-hero-loc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.cover-hero-loc i {
  font-size: 0.75rem;
}

.cover-hero-desc {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.72;
  margin-bottom: 22px;
}

.cover-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-secondary);
  color: var(--brand-dark);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: box-shadow 0.25s, transform 0.25s;
  width: fit-content;
}

.cover-hero-cta:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
  color: var(--brand-dark);
}

.cover-selector {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.cover-thumb {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 128px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border-color 0.2s;
  background: none;
  padding: 0;
  display: block;
  width: 100%;
  text-align: left;
}

.cover-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.cover-thumb:hover img {
  transform: scale(1.08);
}

.cover-thumb:focus-visible {
  outline: 3px solid var(--brand-secondary);
  outline-offset: 2px;
}

.cover-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.18) 60%, transparent 100%);
  transition: opacity 0.2s;
}

.cover-thumb:hover .cover-thumb-overlay {
  opacity: 0.88;
}

.cover-thumb-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 9px 10px;
}

.cover-thumb-content h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: white;
  margin: 0 0 1px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cover-thumb-loc {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cover-thumb.active {
  border-color: var(--brand-secondary);
}

.cover-thumb.active .cover-thumb-overlay {
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.82) 0%, rgba(255, 214, 51, 0.14) 100%);
}

@media (max-width: 900px) {
  .cover-hero {
    height: 320px;
  }

  .cover-hero-body {
    padding: 0 32px;
  }

  .cover-hero-body h3 {
    font-size: 1.55rem;
  }
}

@media (max-width: 640px) {
  .cover-hero {
    height: auto;
    overflow: visible;
    box-shadow: none;
  }

  .cover-hero-img {
    height: 220px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 1;
  }

  .cover-hero-overlay {
    height: 220px;
    bottom: auto;
    z-index: 2;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.5) 100%);
  }

  .cover-hero-body {
    position: relative;
    top: auto;
    transform: none;
    padding: 20px 20px 22px;
    max-width: 100%;
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  }

  .cover-hero-body h3 {
    font-size: 1.15rem;
    color: var(--brand-dark);
  }

  .cover-hero-loc {
    color: var(--text-light);
  }

  .cover-hero-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 18px;
  }

  .cover-selector {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .cover-thumb {
    height: 110px;
  }

  .cover-thumb-content h4 {
    font-size: 0.88rem;
  }

  .cover-thumb-loc {
    font-size: 0.72rem;
  }
}

@media (max-width: 420px) {
  .cover-thumb {
    height: 96px;
  }
}


/* =========================================
   39. RANKING LIST
   Ordered/ranked list (Top 3, 5, 10).
   Always has a rank number.
   Image optional  add .no-image to item.
   Location + CTA link also optional.
========================================= */
#ranking-list,
[data-component="ranking-list"] {
  background: var(--white);
  padding-top: 60px;
  padding-bottom: 60px;
}

.ranking-list {
  margin-top: 8px;
}

.ranking-item {
  display: grid;
  grid-template-columns: 80px 280px 1fr;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border-bottom: 1px solid var(--gray-border);
  border-left: 4px solid transparent;
  transition: all 0.25s ease;
  cursor: default;
}

.ranking-item:last-child {
  border-bottom: none;
}

.ranking-item:hover {
  border-left-color: var(--brand-secondary);
  background-color: var(--brand-light);
}

.ranking-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.25s ease;
}

.ranking-item:hover .ranking-body {
  transform: translateX(6px);
}

.ranking-item.no-image {
  grid-template-columns: 110px 1fr;
}

.ranking-item.no-image .ranking-num {
  font-size: 4.8rem;
}

.ranking-num {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
  user-select: none;
  text-align: center;
  align-self: center;
}

.ranking-image {
  width: 280px;
  height: 178px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.ranking-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.ranking-item:hover .ranking-image img {
  transform: scale(1.05);
}

.ranking-body .ranking-title {
  display: block;
  font-size: 1.2rem;
  color: var(--brand-dark);
  margin: 0;
  line-height: 1.3;
  font-weight: 700;
}

.ranking-item.no-image .ranking-body .ranking-title {
  font-size: 1.3rem;
}

.ranking-location {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
}

.ranking-location i {
  font-size: 0.7rem;
  color: var(--brand-primary);
}

.ranking-body p {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.75;
  margin: 4px 0 0;
  max-width: 600px;
}

.ranking-item.no-image .ranking-body p {
  max-width: 100%;
}

.ranking-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  transition: var(--transition);
  width: fit-content;
  min-height: 44px;
  align-self: flex-start;
}

.ranking-link i {
  font-size: 0.72rem;
  transition: transform 0.2s;
}

.ranking-link:hover {
  color: var(--brand-dark);
}

.ranking-link:hover i {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .ranking-item {
    grid-template-columns: 56px 1fr;
    gap: 18px;
  }

  .ranking-num {
    font-size: 2.6rem;
    align-self: start;
    padding-top: 4px;
  }

  .ranking-image {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    height: 220px;
  }

  .ranking-num {
    order: 1;
  }

  .ranking-body {
    order: 2;
  }

  .ranking-item.no-image {
    grid-template-columns: 80px 1fr;
  }

  .ranking-item.no-image .ranking-num {
    font-size: 3.6rem;
  }
}

@media (max-width: 560px) {
  .ranking-item {
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    gap: 12px 16px;
    padding: 10px;
  }

  .ranking-image {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    height: 210px;
    border-radius: var(--radius);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  }

  .ranking-num {
    font-size: 2.8rem;
    grid-row: 2;
    grid-column: 1;
    align-self: start;
    padding-top: 2px;
  }

  .ranking-body {
    grid-row: 2;
    grid-column: 2;
    transform: none !important;
  }

  .ranking-body h3 {
    font-size: 1.05rem;
  }

  .ranking-body p {
    font-size: 0.875rem;
    max-width: 100%;
  }

  .ranking-link {
    min-height: 44px;
  }

  .ranking-item.no-image {
    grid-template-rows: auto;
  }

  .ranking-item.no-image .ranking-num {
    grid-row: 1;
    font-size: 2.8rem;
  }

  .ranking-item.no-image .ranking-body {
    grid-row: 1;
  }
}

@media (max-width: 380px) {

  .ranking-num,
  .ranking-item.no-image .ranking-num {
    font-size: 2.2rem;
  }
}




/* ===== COMPONENT-SPECIFIC STYLES ===== */

/* Horizontal Bar Chart - Data Comparison */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bar-chart-wrapper {
  margin: 40px 0px;
  background: var(--brand-gradient);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.bar-chart-item {
  display: grid;
  grid-template-columns: 320px 1fr 80px;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--brand-light);
  transition: background-color 0.3s ease;
  opacity: 0;
  animation: slideInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.bar-chart-item:last-child {
  border-bottom: none;
}

.bar-chart-item:hover {
  background-color: rgba(0, 93, 173, 0.04);
}

.bar-item-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bar-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--brand-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.bar-item-info h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--white);
  font-weight: 700;
}

.bar-item-info p {
  margin: 4px 0 0 0;
  font-size: 0.85rem;
  color: var(--white);
}

.bar-item-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bar-item-bar-wrapper {
  flex: 1;
  position: relative;
  height: 20px;
  background: var(--brand-light);
  border-radius: 6px;
  overflow: hidden;
}

.bar-item-bar {
  height: 100%;
  background: var(--brand-secondary);
  border-radius: 6px;
  width: var(--bar-width);
  transition: width 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 93, 173, 0.2);
}

.bar-item-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.bar-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand-secondary);
  min-width: 70px;
  text-align: right;
}

@media (max-width: 768px) {
  .bar-chart-item {
    grid-template-columns: 240px 1fr 60px;
    gap: 16px;
    padding: 16px;
  }

  .bar-item-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .bar-item-info h3 {
    font-size: 0.95rem;
  }

  .bar-item-info p {
    font-size: 0.8rem;
  }

  .bar-value {
    font-size: 1.6rem;
    min-width: 50px;
  }
}

@media (max-width: 560px) {
  .bar-chart-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 16px;
  }

  .bar-item-label {
    margin-bottom: 8px;
  }

  .bar-item-content {
    width: 100%;
  }

  .bar-item-icon {
    width: 32px;
    height: 32px;
  }

  .bar-item-info h3 {
    font-size: 0.9rem;
  }

  .bar-item-info p {
    font-size: 0.75rem;
  }

  .bar-value {
    font-size: 1.6rem;
  }
}

/* Comparison Bar Chart - Horizontal with Headers */
.comparison-bar-chart-wrapper {
  margin: 40px 0px;
  background: var(--brand-gradient);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.comparison-bar-header {
  display: grid;
  grid-template-columns: 320px repeat(2, 1fr);
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 2px solid var(--brand-light);
  background: rgba(0, 0, 0, 0.1);
}

.comparison-header-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-header-column {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.comparison-bar-item {
  display: grid;
  grid-template-columns: 320px repeat(2, 1fr);
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--brand-light);
  transition: background-color 0.3s ease;
  opacity: 0;
  animation: slideInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.comparison-bar-item:last-child {
  border-bottom: none;
}

.comparison-bar-item:hover {
  background-color: rgba(0, 93, 173, 0.04);
}

.comparison-bar-label h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--white);
  font-weight: 700;
}

.comparison-bar-label p {
  margin: 4px 0 0 0;
  font-size: 0.85rem;
  color: var(--white);
}

.comparison-bar-column {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comparison-bar-wrapper {
  flex: 1;
  position: relative;
  height: 18px;
  background: var(--brand-light);
  border-radius: 6px;
  overflow: hidden;
  min-width: 100px;
}

.comparison-bar {
  height: 100%;
  background: var(--brand-secondary);
  border-radius: 6px;
  width: var(--bar-width);
  transition: width 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 93, 173, 0.2);
}

.comparison-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.comparison-bar-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-secondary);
  min-width: 45px;
  text-align: right;
}

@media (max-width: 1024px) {
  .comparison-bar-header {
    grid-template-columns: 280px repeat(2, 1fr);
    gap: 20px;
    padding: 18px 20px;
  }

  .comparison-bar-item {
    grid-template-columns: 280px repeat(2, 1fr);
    gap: 20px;
    padding: 18px 20px;
  }
}

@media (max-width: 768px) {
  .comparison-bar-header {
    display: none;
  }

  .comparison-bar-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 16px;
  }

  .comparison-bar-label {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: block;
  }

  .comparison-bar-label h3 {
    font-size: 0.85rem;
    margin-bottom: 4px;
  }

  .comparison-bar-label p {
    font-size: 0.7rem;
    margin-top: 2px;
  }

  .comparison-bar-column {
    display: block;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .comparison-bar-column:first-of-type {
    border-top: none;
  }

  .comparison-bar-column::before {
    content: attr(data-label);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
    display: block;
  }

  .comparison-bar-wrapper {
    display: block;
    height: 16px;
    width: 100%;
    position: relative;
    background: var(--brand-light);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
  }

  .comparison-bar {
    display: block;
    height: 100%;
    background: var(--brand-secondary);
    border-radius: 6px;
    width: var(--bar-width);
  }

  .comparison-bar-value {
    display: block;
    font-size: 2rem;
    text-align: left;
    margin-top: 4px;
  }
}

@media (max-width: 480px) {
  .comparison-bar-item {
    padding: 12px;
  }

  .comparison-bar-label h3 {
    font-size: 0.8rem;
  }

  .comparison-bar-label p {
    font-size: 0.65rem;
  }

  .comparison-bar-wrapper {
    height: 14px;
  }

  .comparison-bar-value {
    font-size: 1.75rem;
  }
}

/* Metric Cards Grid (Percentage data) */
.metric-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding: 20px 0;
}

.metric-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.11);
}

.metric-header {
  padding: 24px;
  background: linear-gradient(135deg, rgba(0, 93, 173, 0.05) 0%, rgba(255, 214, 51, 0.05) 100%);
  border-bottom: 1px solid var(--gray-border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.metric-header h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-main);
  flex: 1;
}

.metric-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  display: inline-block;
}

.metric-tag.info {
  background: #e3f2fd;
  color: #0d47a1;
}

.metric-tag.success {
  background: #e8f5e9;
  color: #1b5e20;
}

.metric-tag.warning {
  background: #fff3e0;
  color: #e65100;
}

.metric-tag.trending {
  background: #fce4ec;
  color: #c2185b;
}

.metric-body {
  padding: 24px;
  flex: 1;
}

.metric-value {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0 0 8px 0;
  line-height: 1;
}

.metric-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.metric-progress {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.progress-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.progress-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  min-width: 100px;
  flex-shrink: 0;
}

.progress-bar {
  flex: 1;
  height: 6px;
  background: var(--brand-light);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--brand-secondary);
  border-radius: 3px;
  transition: var(--transition);
  animation: fillBar 0.8s ease-out;
}

@keyframes fillBar {
  from {
    width: 0 !important;
  }

  to {
    opacity: 1;
  }
}

.progress-value {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  min-width: 45px;
  text-align: right;
  flex-shrink: 0;
}

.metric-footer {
  padding: 16px 24px;
  background: var(--brand-light);
  border-top: 1px solid var(--gray-border);
}

.metric-footer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--brand-primary);
  line-height: 1.5;
  font-weight: 600;
}

.metric-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.metric-link i {
  font-size: 0.7rem;
  transition: transform 0.2s;
}

.metric-link:hover {
  color: var(--brand-dark);
}

.metric-link:hover i {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .metric-cards-wrapper {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .metric-card {
    border-radius: var(--radius);
  }
}

@media (max-width: 560px) {
  .metric-header {
    flex-direction: column;
  }

  .metric-header h3 {
    font-size: 1rem;
  }

  .metric-body {
    padding: 16px;
  }

  .metric-value {
    font-size: 1.6rem;
  }

  .metric-header,
  .metric-footer {
    padding: 16px;
  }
}

/* Sparkline Cards */
.sparkline-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 20px 0;
}

.sparkline-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-border);
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.sparkline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.11);
}

.sparkline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.sparkline-header h3 {
  margin: 0 0 6px 0;
  font-size: 1rem;
  color: var(--text-main);
}

.sparkline-change {
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
}

.sparkline-change.positive {
  color: #2e7d32;
}

.sparkline-change.negative {
  color: #c62828;
}

.sparkline-change.stable {
  color: #ff9800;
}

.sparkline-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-align: right;
}

.sparkline {
  width: 100%;
  height: 50px;
  display: block;
  animation: slideInSparkline 0.8s ease-out;
}

@keyframes slideInSparkline {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .sparkline-cards-wrapper {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Metric Donut Breakdown */
.donut-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin: 40px 0px;
}

.donut-chart-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  flex-shrink: 0;
}

.donut-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-circle-bg {
  fill: none;
  stroke: var(--brand-light);
  stroke-width: 20;
}

.donut-circle-fill {
  fill: none;
  stroke: var(--brand-secondary);
  stroke-width: 20;
  stroke-dasharray: 565.48;
  stroke-dashoffset: 565.48;
  transition: stroke-dashoffset 1.5s ease-out;
  stroke-linecap: square;
}

.donut-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.donut-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  display: block;
  line-height: 1;
}

.donut-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  display: block;
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 250px;
}

.legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.legend-item:hover {
  background-color: var(--gray-bg);
}

.legend-key-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legend-color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-text {
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--text-main);
}

.legend-value {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--brand-primary);
}

@media (max-width: 768px) {
  .donut-layout {
    flex-direction: column;
    gap: 32px;
  }

  .donut-chart-wrapper {
    margin: 0 auto;
  }

  .donut-legend {
    width: 100%;
  }
}

.legend-color-dot {
  background-color: var(--brand-primary);
}

/* Travel Timeline Stepper */
.timeline-container {
  position: relative;
  margin: 48px 0;
  padding: 40px 0;
}

.timeline-track {
  position: absolute;
  top: 54px;
  left: 40px;
  right: 40px;
  height: 6px;
  background-color: var(--gray-border);
  z-index: 1;
  border-radius: 3px;
}

.timeline-progress {
  height: 100%;
  width: 0%;
  background: var(--brand-gradient);
  transition: width 1.5s ease-in-out;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 93, 173, 0.3);
}

.timeline-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 120px;
}

.timeline-bubble {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--white);
  border: 3px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  font-size: 1.4rem;
}

.timeline-node.completed .timeline-bubble {
  border-color: var(--brand-primary);
  background: var(--brand-secondary);
  color: var(--brand-primary);
  box-shadow: 0 6px 18px rgba(0, 93, 173, 0.25);
}

.timeline-node.active .timeline-bubble {
  border-color: var(--brand-primary);
  background: var(--brand-light);
  border-width: 4px;
  transform: scale(1.15);
  box-shadow: 0 0 0 6px rgba(0, 93, 173, 0.15), 0 6px 18px rgba(0, 93, 173, 0.25);
}

.timeline-bubble i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.timeline-node.completed .timeline-bubble i {
  display: flex;
}

.timeline-node:not(.completed) .timeline-bubble i {
  color: var(--text-light);
}

.timeline-time {
  margin-top: 18px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-content {
  margin-top: 10px;
}

.timeline-content h4 {
  margin: 0 0 6px 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.timeline-content p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .timeline-track {
    top: 20px;
    left: 20px;
    bottom: 20px;
    width: 4px;
    height: calc(100% - 40px);
    right: auto;
  }

  .timeline-progress {
    width: 100%;
    height: 0%;
    transition: height 1.5s ease-in-out;
  }

  .timeline-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    padding-left: 12px;
  }

  .timeline-node {
    flex-direction: row;
    text-align: left;
    width: 100%;
    gap: 20px;
  }

  .timeline-time {
    margin-top: 0;
    min-width: 60px;
  }

  .timeline-content {
    margin-top: 0;
  }

  .timeline-bubble {
    width: 48px;
    height: 48px;
  }
}

/* Cover Grid Section */
.cover-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  margin-bottom: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: opacity 0.22s ease;
}

.cover-hero.switching {
  opacity: 0;
}

.cover-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.cover-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.67) 100%);
}

.cover-hero-body {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  padding: 0 52px;
  max-width: 100%;
  color: white;
  z-index: 2;
}

.cover-hero-body h3 {
  font-size: 1.9rem;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
  line-height: 1.2;
}

.cover-hero-loc {
  font-size: 0.88rem;
  color: var(--brand-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.cover-hero-loc i {
  font-size: 0.75rem;
}

.cover-hero-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.72;
  margin-bottom: 22px;
}

.cover-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-primary);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: box-shadow 0.25s, transform 0.25s;
  width: fit-content;
  border: none;
  cursor: pointer;
}

.cover-hero-cta:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
  color: var(--white);
  background: var(--brand-dark);
}

.cover-selector {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.cover-thumb {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 128px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: none;
  padding: 0;
  display: block;
  width: 100%;
  text-align: left;
}

.cover-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.cover-thumb:hover img {
  transform: scale(1.08);
}

.cover-thumb:focus-visible {
  outline: 3px solid var(--brand-secondary);
  outline-offset: 2px;
}

.cover-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.18) 60%, transparent 100%);
  transition: opacity 0.2s;
}

.cover-thumb:hover .cover-thumb-overlay {
  opacity: 0.88;
}

.cover-thumb-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 9px 10px;
}

.cover-thumb-content h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: white;
  margin: 0 0 1px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cover-thumb-loc {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cover-thumb.active {
  border-color: var(--brand-secondary);
}

.cover-thumb.active .cover-thumb-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(255, 214, 51, 0.14) 100%);
}

@media (max-width: 900px) {
  .cover-hero {
    height: 320px;
  }

  .cover-hero-body {
    padding: 0 32px;
  }

  .cover-hero-body h3 {
    font-size: 1.55rem;
  }
}

@media (max-width: 640px) {
  .cover-hero {
    height: auto;
    overflow: visible;
    box-shadow: none;
  }

  .cover-hero-img {
    height: 220px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 1;
  }

  .cover-hero-overlay {
    height: 220px;
    bottom: auto;
    z-index: 2;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.5) 100%);
  }

  .cover-hero-body {
    position: relative;
    top: auto;
    transform: none;
    padding: 20px 20px 22px;
    background: var(--brand-gradient);
  }

  .cover-hero-body h3 {
    font-size: 1.3rem;
  }

  .cover-selector {
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 8px 0;
    margin: 0;
    width: 100%;
  }

  .cover-thumb {
    min-width: 110px;
    width: 110px;
    height: 128px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
}

@media (max-width: 480px) {
  .cover-selector {
    gap: 6px;
    padding: 0 0 6px 0;
  }

  .cover-thumb {
    min-width: 95px;
    width: 95px;
    height: 110px;
  }
}

/* Featured Showcase (City Cards) */
.card-city-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.card-city {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--gray-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card-city:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.card-city-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card-city-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.card-city:hover .card-city-image img {
  transform: scale(1.08);
}

.card-city-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-city-content h4 {
  margin: 0 0 12px 0;
  font-size: 1.2rem;
  color: var(--text-main);
}

.card-city-content p {
  margin: 0 0 16px 0;
  font-size: 0.95rem;
  color: var(--text-light);
  flex: 1;
}

.card-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--brand-primary);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

[data-brand="OP"] .btn-round {
  background-color: var(--brand-secondary);
}

.btn-round:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.link-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  border: none;
  background: none;
  cursor: pointer;
}

.link-secondary:hover {
  color: var(--brand-dark);
}

@media (max-width: 600px) {
  .card-city-image {
    height: 180px;
  }

  .card-city-content {
    padding: 16px;
  }
}

/* Airlines Selector Component */
.airlines-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: stretch;
  margin: 40px 0px;
  min-height: 520px;
}

.airlines-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.airlines-right {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.airlines-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  flex: 1;
}

.airlines-grid .airline-logo-btn {
  width: 100%;
  height: auto;
  min-height: 70px;
  padding: 8px;
  border-radius: 12px;
}

.airlines-grid .airline-logo-btn img {
  max-width: 100%;
  max-height: 40px;
}

.airline-logo-btn {
  cursor: pointer;
  border: 2px solid var(--gray-border);
  border-radius: 16px;
  text-align: center;
  background: var(--white);
  transition: all 0.3s ease;
  padding: 20px;
  min-width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.airline-logo-btn:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 6px 20px rgba(0, 93, 173, 0.15);
  transform: translateY(-4px);
}

.airline-logo-btn.active {
  border-color: var(--brand-secondary);
  box-shadow: 0 10px 30px rgba(0, 93, 173, 0.2);
}

.airline-logo-btn img {
  max-width: 130px;
  max-height: 80px;
  object-fit: contain;
}

.airline-info-panel {
  display: none;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  animation: slideInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  height: 100%;
  flex-direction: column;
  overflow-y: auto;
}

.airline-info-panel.active {
  display: flex;
}

.airline-info-panel h3 {
  font-size: 1.4rem;
  margin: 0 0 28px 0;
  color: var(--text-main);
  font-weight: 800;
}

.airline-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--gray-border);
}

.airline-tab-btn {
  background: transparent;
  color: var(--text-light);
  padding: 12px 20px;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  margin-bottom: -2px;
}

.airline-tab-btn:hover {
  color: var(--brand-primary);
}

.airline-tab-btn.active {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-secondary);
}

.airline-tab-content {
  display: none;
}

.airline-tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.airline-info-item {
  background: var(--brand-light);
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.airline-info-item h4 {
  margin: 0 0 6px 0;
  font-size: 1.2rem;
  color: var(--brand-dark);
  font-weight: 700;
}

.airline-info-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.airline-cta-group {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.airline-cta {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.airline-cta.primary {
  background: var(--brand-primary);
  color: var(--white);
}

.airline-cta.primary:hover {
  background: var(--brand-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.airline-cta.secondary {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}

.airline-cta.secondary:hover {
  background: var(--brand-primary);
  color: var(--white);
  transform: translateY(-1px);
}

@media (max-width: 1200px) {
  .airlines-container {
    grid-template-columns: 220px 1fr;
    gap: 24px;
    min-height: 480px;
  }

  .airlines-left {
    padding: 10px;
  }

  .airlines-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .airlines-grid .airline-logo-btn {
    min-height: 65px;
    padding: 6px;
  }

  .airlines-grid .airline-logo-btn img {
    max-height: 38px;
  }
}

@media (max-width: 1024px) {
  .airlines-container {
    grid-template-columns: 200px 1fr;
    gap: 20px;
    min-height: 450px;
  }

  .airlines-left {
    padding: 8px;
  }

  .airlines-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .airlines-grid .airline-logo-btn {
    min-height: 60px;
    padding: 6px;
  }

  .airlines-grid .airline-logo-btn img {
    max-height: 35px;
  }

  .airline-info-panel {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .airlines-container {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: auto;
  }

  .airlines-left {
    padding: 10px;
    height: auto;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .airlines-right {
    height: auto;
  }

  .airlines-grid {
    display: flex;
    flex-direction: row;
    grid-template-columns: unset;
    gap: 6px;
    flex: unset;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 8px 0;
    margin: 0;
    width: 100%;
  }

  .airlines-grid .airline-logo-btn {
    min-width: 100px;
    width: 100px;
    max-width: 65px;
    min-height: 60px;
    padding: 6px;
    flex-shrink: 0;
    scroll-snap-align: start;
    border-radius: 10px;
  }

  .airlines-grid .airline-logo-btn img {
    max-height: 30px;
  }

  .airline-info-panel {
    padding: 20px;
    height: auto;
    overflow-y: visible;
  }

  .airline-tabs {
    margin-bottom: 20px;
  }

  .airline-tab-btn {
    padding: 10px 16px;
    font-size: 0.88rem;
  }

  .airline-cta {
    padding: 10px 22px;
    font-size: 0.85rem;
  }
}

@media (max-width: 640px) {
  .airlines-left {
    max-width: 100%;
  }

  .airlines-grid {
    gap: 5px;
    width: 100%;
  }

  .airlines-grid .airline-logo-btn {
    min-width: 100px;
    width: 100px;
    max-width: 55px;
    min-height: 50px;
    padding: 5px;
  }

  .airlines-grid .airline-logo-btn img {
    max-height: 25px;
  }

  .airline-tabs {
    margin-bottom: 18px;
  }

  .airline-tab-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 560px) {
  .airlines-container {
    gap: 16px;
  }

  .airlines-left {
    padding: 8px;
    max-width: 100%;
  }

  .airlines-grid {
    gap: 4px;
    width: 100%;
  }

  .airlines-grid .airline-logo-btn {
    min-width: 100px;
    width: 100px;
    max-width: 50px;
    min-height: 45px;
    padding: 4px;
    flex-shrink: 0;
  }

  .airlines-grid .airline-logo-btn img {
    max-height: 22px;
  }

  .airline-info-panel {
    padding: 16px;
  }

  .airline-info-panel h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }

  .airline-tabs {
    margin-bottom: 16px;
  }

  .airline-tab-btn {
    padding: 8px 10px;
    font-size: 0.75rem;
  }

  .airline-cta-group {
    gap: 8px;
  }

  .airline-cta {
    padding: 10px 16px;
    font-size: 0.8rem;
    text-transform: none;
    letter-spacing: 0;
  }
}

/* Section Header (reused across components) */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2rem;
  margin: 0 0 12px 0;
  color: var(--text-main);
}

.section-header p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-left: auto;
  margin-right: auto;
}

/* Featured Showcase - Interactive Accordion */
.featured-accordion-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin: 40px 0px;
}

.featured-row-card {
  position: relative;
  width: 100%;
  max-height: 120px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center 35%;
  display: flex;
  flex-direction: column;
  transition: max-height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.featured-row-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(59, 59, 59, 0.64) 0%, rgba(59, 59, 59, 0.64) 50%, rgba(59, 59, 59, 0.294) 100%);
  z-index: 1;
  transition: opacity 0.3s ease;
}

.featured-row-card:not(.active):hover {
  box-shadow: 0 6px 20px rgba(60, 60, 60, 0.12);
  transition: 0.5s all;
}

.featured-row-card:not(.active):hover::before {
  background: linear-gradient(90deg, rgba(59, 59, 59, 0.64) 0%, rgba(59, 59, 59, 0.64) 100%);
  transition: 0.5s all;
}

.featured-row-card.active {
  max-height: 2000px;
  cursor: default;
  box-shadow: 0 12px 25px rgba(0, 29, 68, 0.15);
}

.featured-header-line {
  position: relative;
  height: 90px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 2;
}

.featured-header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.featured-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-secondary);
  letter-spacing: -0.5px;
}

.featured-row-card.active .featured-num {
  color: #ffffff;
}

.featured-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.featured-flag {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.25);
  letter-spacing: 0.5px;
}

.featured-header-right {
  display: flex;
  align-items: center;
}

.featured-toggle {
  color: #ffffff;
  font-size: 1.2rem;
  transition: transform 0.4s ease;
}

.featured-row-card.active .featured-toggle {
  transform: rotate(180deg);
  color: var(--brand-secondary);
}

.featured-body-panel {
  position: relative;
  padding: 0 32px 32px 72px;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.4s ease;
}

.featured-row-card.active .featured-body-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0.2s;
}

.featured-body-panel p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 950px;
  margin: 0 0 20px 0;
}

.featured-body-panel p strong {
  color: #ffffff;
  font-weight: 700;
}

.featured-cta {
  display: inline-block;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  padding: 10px 26px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

[data-brand="OP"] .featured-cta {
  color: var(--white);
}

.featured-cta:hover {
  background: var(--brand-secondary);
  color: var(--brand-dark);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .featured-row-card {
    max-height: 100px;
    border-radius: 12px;
  }

  .featured-row-card.active {
    max-height: 2000px;
  }

  .featured-header-line {
    padding: 0 16px;
    height: 80px;
    min-height: 80px;
    gap: 12px;
  }

  .featured-body-panel {
    padding: 16px 16px 20px 60px;
  }

  .featured-body-panel p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 16px 0;
  }

  .featured-cta {
    padding: 10px 20px;
    font-size: 0.8rem;
  }

  .featured-title {
    font-size: 1.25rem;
  }

  .featured-num {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .featured-row-card {
    max-height: 90px;
  }

  .featured-header-line {
    padding: 0 12px;
    height: 70px;
    min-height: 70px;
  }

  .featured-body-panel {
    padding: 12px 12px 16px 50px;
  }

  .featured-body-panel p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0 0 12px 0;
  }

  .featured-cta {
    padding: 8px 18px;
    font-size: 0.75rem;
  }

  .featured-title {
    font-size: 1.1rem;
  }

  .featured-num {
    font-size: 1.2rem;
  }

  .featured-toggle {
    font-size: 1rem;
  }
}

/* Country Statistics Component */
.country-stats-wrapper {
  background: var(--brand-light);
  margin: 40px 0px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-border);
  padding: 48px 40px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.country-stats-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 93, 173, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.country-stats-header {
  position: relative;
  z-index: 1;
}

.country-stats-header h2 {
  margin: 0 0 12px 0;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.country-stats-header p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}

.country-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.country-stat-item {
  text-align: center;
  position: relative;
  padding: 32px 20px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-border);
  transition: all 0.3s ease;
}

.country-stat-item:hover {
  border-color: var(--brand-secondary);
  box-shadow: 0 8px 24px rgba(0, 93, 173, 0.12);
  transform: translateY(-4px);
}

.country-stat-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--brand-light);
  z-index: 0;
  transition: none;
}

.country-stat-item.animate::before {
  animation: fillBackground 2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes fillBackground {
  from {
    height: 0%;
    opacity: 0.2;
  }

  to {
    height: var(--bar-height);
    opacity: 0.4;
  }
}

.country-stat-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  gap: 16px;
}

.country-flag {
  width: 40px;
  height: 30px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 93, 173, 0.12);
  border: 2px solid var(--white);
}

.country-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.country-percentage {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--brand-primary);
  line-height: 1;
  margin: 0;
}

.country-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  letter-spacing: 0.3px;
}

.country-stat-item.animate .country-percentage {
  animation: countPercentage 2s ease-out forwards;
}

@keyframes countPercentage {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.country-stats-insight {
  background: var(--brand-gradient);
  padding: 28px 32px;
  border-radius: 12px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(0, 93, 173, 0.15);
}

.country-stats-insight i {
  color: var(--brand-secondary);
  margin-right: 12px;
  font-size: 1.3rem;
}

.country-stats-insight strong {
  color: var(--brand-secondary);
  font-weight: 700;
}

.country-stats-insight p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
}

@media (max-width: 1200px) {
  .country-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .country-stats-wrapper {
    padding: 40px 32px;
  }
}

@media (max-width: 768px) {
  .country-stats-wrapper {
    padding: 32px 24px;
  }

  .country-stats-header h2 {
    font-size: 1.7rem;
  }

  .country-stats-header p {
    font-size: 0.95rem;
  }

  .country-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
  }

  .country-stat-item {
    padding: 24px 16px;
    min-height: 240px;
    border-radius: 12px;
  }

  .country-flag {
    width: 70px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 10px;
  }

  .country-percentage {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }

  .country-name {
    font-size: 1rem;
  }

  .country-stats-insight {
    padding: 24px;
    margin-top: 32px;
  }

  .country-stats-insight i {
    font-size: 1.2rem;
    margin-right: 10px;
  }
}

@media (max-width: 480px) {
  .country-stats-wrapper {
    padding: 24px 16px;
  }

  .country-stats-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
  }

  .country-stats-header p {
    font-size: 0.9rem;
  }

  .country-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .country-stat-item {
    padding: 20px 14px;
    min-height: 200px;
    border-radius: 10px;
  }

  .country-flag {
    width: 60px;
    height: 45px;
    margin: 0 auto 12px;
    border-radius: 8px;
  }

  .country-percentage {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }

  .country-name {
    font-size: 0.95rem;
  }

  .country-stats-insight {
    padding: 20px;
    margin-top: 24px;
    border-radius: 10px;
  }

  .country-stats-insight i {
    font-size: 1.1rem;
    margin-right: 8px;
  }

  .country-stats-insight p {
    font-size: 0.9rem;
  }
}


/* =========================================
   40. AUTHOR MODULE & AUTHOR PAGE
========================================= */

/* Author Module - Reusable Component */
.author-module {
  background: transparent;
  border-radius: 0;
  padding: 28px 56px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  margin-top: 48px;
  border: none;
  border-top: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  box-shadow: none;
}

.author-module-content {
  display: flex;
  gap: 22px;
  align-items: center;
  width: 100%;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.author-avatar .avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.author-name {
  color: var(--brand-primary);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}

.author-name:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.author-role {
  font-size: 0.85rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin: 0;
}

.publish-date {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.publish-date i {
  font-size: 0.75rem;
  color: var(--brand-primary);
}

/* Author Share Wrapper */
.author-share-wrapper {
  position: relative;
  margin-left: auto;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
}

.share-toggle-btn {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border: 1px solid var(--gray-border);
  cursor: pointer;
  font-size: 1.25rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 0;
  z-index: 10001;
  position: relative;
}

.share-toggle-btn:hover {
  background: var(--brand-primary);
  color: var(--brand-secondary);
  border-color: var(--brand-primary);
  transform: scale(1.15);
}


.share-toggle-btn.active {
  background: var(--brand-primary);
  color: var(--brand-secondary);
  border-color: var(--brand-primary);
  transform: rotate(45deg) scale(1.15);
}

/* Share Bubbles Menu - Around the button */
.share-bubbles-menu {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-56%, -56%);
  width: 200px;
  height: 200px;
  z-index: 100;
  pointer-events: auto;
}

.share-bubble {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: var(--brand-primary);
  border: 2px solid var(--brand-light);
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  z-index: 10000;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Hidden by default */
  opacity: 0;
  transform: translate(0, 0) scale(0.3);
  pointer-events: none;
}

/* Show bubbles when menu is active */
.share-bubbles-menu.active .share-bubble {
  opacity: 1;
  transform: translate(var(--tx), var(--ty)) scale(1);
  pointer-events: auto;
}

.share-bubble:hover {
  background: var(--brand-light);
  transform: translate(var(--tx), var(--ty)) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 93, 173, 0.2);
}

/* Ensure X icon displays properly */
.share-bubble[data-platform="twitter"] i {
  font-size: 1.2rem;
  font-weight: 700;
}

.twitter-x-icon {
  font-size: 1.2rem;
  font-weight: 700;
  display: inline-block;
}

/* Staggered animation for smooth cascade effect */
.share-bubble[style*="--index: 0"] {
  animation-delay: 0.05s;
}

.share-bubble[style*="--index: 1"] {
  animation-delay: 0.1s;
}

.share-bubble[style*="--index: 2"] {
  animation-delay: 0.15s;
}

.share-bubble[style*="--index: 3"] {
  animation-delay: 0.2s;
}

.share-bubble[style*="--index: 4"] {
  animation-delay: 0.15s;
}

.share-bubble[style*="--index: 5"] {
  animation-delay: 0.1s;
}

.share-bubble[style*="--index: 6"] {
  animation-delay: 0.05s;
}

.share-bubbles-menu.active .share-bubble {
  animation: bubble-pop-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes bubble-pop-in {
  from {
    opacity: 0;
    transform: translate(0, 0) scale(0.3);
  }

  to {
    opacity: 1;
    transform: translate(var(--tx), var(--ty)) scale(1);
  }
}

/* Position each bubble in a perfect circle (7 bubbles) */
.share-bubble[style*="--index: 0"] {
  --tx: 0px;
  --ty: -85px;
}

.share-bubble[style*="--index: 1"] {
  --tx: 62px;
  --ty: -50px;
}

.share-bubble[style*="--index: 2"] {
  --tx: 78px;
  --ty: 16px;
}

.share-bubble[style*="--index: 3"] {
  --tx: 35px;
  --ty: 72px;
}

.share-bubble[style*="--index: 4"] {
  --tx: -33px;
  --ty: 73px;
}

.share-bubble[style*="--index: 5"] {
  --tx: -78px;
  --ty: 17px;
}

.share-bubble[style*="--index: 6"] {
  --tx: -62px;
  --ty: -50px;
}


/* Author Module - Compact Version */
.author-module-compact {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  background: transparent;
  border-radius: 0;
  border: none;
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
}

.author-avatar-sm {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.author-avatar-sm .avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info-compact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.author-name-sm {
  color: var(--brand-primary);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}

.author-name-sm:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.author-role-sm {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

@media (max-width: 768px) {
  .author-module {
    padding: 20px 30px;
    gap: 16px;
  }

  .author-avatar {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  .author-details {
    gap: 3px;
  }

  .author-name {
    font-size: 1rem;
  }

  .author-role {
    font-size: 0.8rem;
  }

  .publish-date {
    font-size: 0.75rem;
  }

  .author-share-wrapper {
    width: 50px;
    height: 50px;
  }

  .share-toggle-btn {
    font-size: 1, 25rem;
  }

  .share-bubble {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  /* Reduce bubble distance on mobile */
  .share-bubble[style*="--index: 0"] {
    --tx: 0px;
    --ty: -60px;
  }

  .share-bubble[style*="--index: 1"] {
    --tx: 45px;
    --ty: -36px;
  }

  .share-bubble[style*="--index: 2"] {
    --tx: 55px;
    --ty: 12px;
  }

  .share-bubble[style*="--index: 3"] {
    --tx: 25px;
    --ty: 52px;
  }

  .share-bubble[style*="--index: 4"] {
    --tx: -24px;
    --ty: 52px;
  }

  .share-bubble[style*="--index: 5"] {
    --tx: -55px;
    --ty: 12px;
  }

  .share-bubble[style*="--index: 6"] {
    --tx: -45px;
    --ty: -36px;
  }
}


/* =========================================
   AUTHOR PAGE STYLES
========================================= */

.author-hero {
  background: var(--brand-gradient);
  color: white;
  padding: 100px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255, 255, 255, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.author-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.author-hero-avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.author-avatar-large {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.author-hero-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.author-hero-name {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 8px;
  font-weight: 800;
}

.author-hero-role {
  font-size: 1.25rem;
  color: var(--brand-secondary);
  font-weight: 600;
  letter-spacing: 0.3px;
  margin: 0;
}

.author-social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 16px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.social-link:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .author-hero {
    padding: 60px 24px;
    min-height: 360px;
  }

  .author-avatar-large {
    width: 140px;
    height: 140px;
  }

  .author-hero-name {
    font-size: 2rem;
    margin-bottom: 6px;
  }

  .author-hero-role {
    font-size: 1rem;
  }

  .author-social-links {
    gap: 12px;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}


/* Author Bio Section */
.author-bio-section {
  background: var(--white);
  padding: 80px 0px 0px 0px;
}

.bio-header {
  margin-bottom: 60px;
}

.bio-header h2 {
  font-size: 2.2rem;
  color: var(--brand-primary);
  margin-bottom: 24px;
  margin-top: 0;
  font-weight: 800;
}

.bio-intro {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.bio-header p {
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.bio-header p:last-child {
  margin-bottom: 0;
}

/* Quick Stats Row */
.author-quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--gray-border);
}

.stat-box {
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Author Sections */
.author-section {
  margin-bottom: 80px;
}

.section-title {
  font-size: 1.8rem;
  color: var(--brand-primary);
  margin-bottom: 32px;
  margin-top: 0;
  font-weight: 700;
}

/* Author Sections */
.author-section {
  margin-bottom: 80px;
}

/* Core Interests */
.core-interests-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.interest-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--brand-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-border);
  transition: all 0.3s ease;
}

.interest-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.interest-icon {
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.interest-content h4 {
  color: var(--brand-dark);
  font-size: 1.05rem;
  margin: 0 0 8px 0;
  font-weight: 700;
}

.interest-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Languages Container */
.languages-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
}

.language-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.flag-icon {
  width: 50px;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.language-item:hover .flag-icon {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.language-name {
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.95rem;
}

/* Favorite Destinations Section */
.destinations-subtitle {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
  margin-top: -12px;
}

.destinations-ranking-list {
  margin-top: 0;
}

.destination-ranking-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border-bottom: 1px solid var(--gray-border);
  border-left: 4px solid transparent;
  transition: all 0.25s ease;
  cursor: default;
}

.destination-ranking-item:last-child {
  border-bottom: none;
}

.destination-ranking-item:hover {
  border-left-color: var(--brand-secondary);
  background-color: var(--brand-light);
}

.destination-ranking-image {
  width: 280px;
  height: 178px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.destination-ranking-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.destination-ranking-item:hover .destination-ranking-image img {
  transform: scale(1.05);
}

.destination-ranking-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.destination-ranking-title {
  display: block;
  font-size: 1.2rem;
  color: var(--brand-dark);
  margin: 0;
  line-height: 1.3;
  font-weight: 700;
}

.destination-ranking-desc {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.75;
  margin: 4px 0 0;
  max-width: 100%;
}

.destination-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.highlight {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand-primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .languages-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .destination-ranking-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .author-bio-section {
    padding: 60px 24px;
  }

  .bio-header h2 {
    font-size: 1.8rem;
  }

  .author-section {
    margin-bottom: 60px;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 24px;
  }

  .core-interests-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .interest-item {
    padding: 20px;
  }

  .destination-ranking-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .destination-ranking-image {
    width: 100%;
    height: 220px;
  }

  .destination-ranking-title {
    font-size: 1.1rem;
  }

  .destination-ranking-desc {
    font-size: 0.9rem;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .languages-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .language-circle-content {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
}

@media (max-width: 1024px) {
  .author-bio-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bio-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .author-bio-section {
    padding: 60px 24px;
  }

  .bio-sidebar {
    grid-template-columns: 1fr;
  }

  .author-info-card {
    padding: 20px;
  }

  .bio-main h2 {
    font-size: 1.6rem;
  }

  .bio-intro {
    font-size: 1.05rem;
  }
}

@media (max-width: 1024px) {
  .author-bio-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bio-sidebar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .author-bio-section {
    padding: 60px 24px;
  }

  .bio-main h2 {
    font-size: 1.6rem;
  }

  .bio-main h3 {
    font-size: 1.2rem;
    margin-top: 24px;
  }

  .bio-intro {
    font-size: 1.05rem;
  }

  .bio-sidebar {
    grid-template-columns: 1fr;
  }

  .author-stats,
  .author-featured-articles,
  .author-contact-cta {
    padding: 20px 24px;
  }
}


/* Author Articles Section */
.author-articles-section {
  background: var(--gray-bg);
  padding: 80px 0;
}

.author-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.author-article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  color: inherit;
}

.author-article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.09);
}

.author-article-card .card-image {
  height: 240px;
  background-color: var(--gray-border);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.author-article-card .card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent);
}

.author-article-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.author-article-card:hover .card-image img {
  transform: scale(1.06);
}

.author-article-card .card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--brand-secondary);
  color: var(--text-on-secondary);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

.author-article-card .card-content {
  padding: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.author-article-card .card-date {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.author-article-card .card-title {
  font-size: 1.3rem;
  color: var(--brand-dark);
  margin-bottom: 14px;
  line-height: 1.35;
  font-weight: 700;
}

.author-article-card .card-excerpt {
  font-size: 0.98rem;
  color: var(--text-light);
  margin-bottom: 24px;
  flex-grow: 1;
  line-height: 1.6;
}

.author-article-card .card-link {
  color: var(--brand-primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  margin-top: auto;
  font-size: 0.98rem;
  text-decoration: none;
}

.author-article-card:hover .card-link {
  color: var(--brand-secondary);
  gap: 14px;
}

@media (max-width: 768px) {
  .author-articles-section {
    padding: 60px 24px;
  }

  .author-articles-grid {
    grid-template-columns: 1fr;
  }

  .author-article-card .card-image {
    height: 200px;
  }

  .author-article-card .card-content {
    padding: 20px 24px;
  }
}


/* Author Contact Section */
.author-contact-section {
  background: var(--brand-gradient);
  color: white;
  padding: 80px 40px;
  text-align: center;
}

.contact-box {
  max-width: 600px;
  margin: 0 auto;
}

.contact-box h2 {
  color: var(--brand-secondary);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  margin-top: 0;
}

.contact-box p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.88);
}

.contact-box .btn {
  display: inline-block;
}

@media (max-width: 768px) {
  .author-contact-section {
    padding: 60px 24px;
  }

  .contact-box p {
    font-size: 1.05rem;
    margin-bottom: 24px;
  }
}