/* ── SECTION HEADER ── */
    .ga-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #e60000; margin-bottom: 8px; }
    .ga-title { font-size: 42px; font-weight: 900; color: #b1222a; line-height: 1.1; margin-bottom: 14px; }
    .ga-subtitle { font-size: 17px; color: #444; line-height: 1.9; margin-bottom: 56px; }

    /* ── PART DIVIDERS ── */
    .ga-part { margin-bottom: 72px; padding-bottom: 72px; border-bottom: 1px solid #ececec; }
    .ga-part:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
    .ga-part-spaced {
  margin-top: 20px; /* adjust to taste */
}

    .ga-part-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b1222a;
  margin-bottom: 6px;
}
    
   .ga-part-title {
  font-size: 31px;
  font-weight: 900;
  color: #b1222a;
  line-height: 1.1;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.ga-part-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: #ff0000;   /* 🔴 underline */
}
    .ga-part-intro { font-size: 17px; color: #444; line-height: 1.9; margin-bottom: 28px; max-width: 1000px; }

    /* ── AIRPORT IMAGE CARDS ── */
.airport-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 48px;
}

.airport-card {
  position: relative;
  min-height: 380px; /* was 340px — gives CTS more breathing room */
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  color: #fff;
  border: 1px solid #ececec;
  cursor: pointer;
}


.airport-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.45s ease;
  z-index: 0;
}

.airport-card:hover .airport-card-bg {
  transform: scale(1.06);
}

.airport-card-base-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.72),
    rgba(0,0,0,0.18)
  );
  z-index: 1;
}

.airport-card-identity {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 22px; /* slightly higher for balance */
  z-index: 2;
}

/* CODE (OBO style) */
.airport-card-code {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  color: #fff;
}

/* NAME */
.airport-card-name {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.airport-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 26px 22px 24px; /* more room */
  background: rgba(0,0,0,0.74);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.airport-card:hover .airport-card-identity {
  opacity: 0;
  transform: translateY(8px);
}

.airport-card:hover .airport-card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.airport-card-overlay-code {
  font-size: 32px;
}

.airport-card-overlay-name {
  font-size: 17px;
}

.airport-card-region {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e60000;
  background: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  display: inline-block;
  width: fit-content;
  margin-bottom: 12px;
  margin-top: 10px; 
}

.airport-card-desc {
  font-size: 13px; /* slightly smaller */
  color: rgba(255,255,255,0.86);
  line-height: 1.55; /* tighter */
  margin-bottom: 12px;
}

.airport-card-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.airport-route-tag {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.26);
  color: #fff;
}

@media (max-width: 800px) {
  .airport-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .airport-strip {
    grid-template-columns: 1fr;
  }
}

    /* ── DEPARTURE CITY TABS ── */
    .departure-tabs {
      display: flex; flex-wrap: wrap; gap: 8px;
      margin-bottom: 0;
      border-bottom: 1px solid #ececec;
      padding-bottom: 0;
    }

    .departure-tab {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 11px 18px; border: none;
      border-bottom: 3px solid transparent;
      background: none; font-family: inherit;
      font-size: 17px; font-weight: 700; color: #767676;
      cursor: pointer; transition: all 0.18s ease;
      white-space: nowrap; margin-bottom: -1px;
    }

    .departure-tab:hover { color: #e60000; }
    .departure-tab.active { color: #e60000; border-bottom-color: #e60000; }

    .departure-panel { display: none; padding-top: 36px; }
    .departure-panel.active { display: block; }

    .departure-city-name {
      font-size: 31px; font-weight: 900; color: #111;
      margin-bottom: 14px; line-height: 1.1;
    }

    .departure-city-desc {
      font-size: 17px; color: #444; line-height: 1.85;
      margin-bottom: 20px;
    }

    /* ── DEPARTURE PANEL — where-to-eat style ── */
    .departure-city-intro {
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 0;
      margin-bottom: 40px;
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid #e8e4e0;
    }

    .departure-city-img {
  position: relative;  /* ← add this */
  overflow: hidden;
  min-height: 280px;
}

.departure-city-img img {
  position: absolute;  /* ← change to absolute */
  inset: 0;            /* ← add this */
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;      /* ← add this */
  margin: 0;           /* ← add this */
  transition: transform 0.5s ease;
}


    .departure-city-img-ph {
      width: 100%; height: 100%; min-height: 280px;
      background: linear-gradient(135deg, #1a1a2e, #16213e);
      display: flex; align-items: center; justify-content: center;
      font-size: 48px; color: rgba(255,255,255,0.08);
      font-weight: 900; letter-spacing: 0.1em;
    }

    .departure-city-body {
      padding: 32px 36px;
      background: #fff;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .departure-panel:not([data-panel="hokkaido"]) .departure-city-name {
      font-size: 34px; font-weight: 900; color: #111;
      margin-bottom: 14px; line-height: 1.0;
      letter-spacing: -0.02em;
    }

    .departure-panel:not([data-panel="hokkaido"]) .departure-city-desc {
      font-size: 14px; color: #444; line-height: 1.85;
    }

    /* ── TRANSPORT LIST ITEMS ── */
    .transport-list-section {
      margin-bottom: 40px;
    }

  .transport-section-divider {
  font-size: 22px;          /* ← match section headings */
  font-weight: 900;
  letter-spacing: 0.01em;   /* remove wide spacing */
  text-transform: none;     /* ← IMPORTANT: remove uppercase */

  color: #b1222a;           /* match heading color */

  margin: 42px 0 22px;
  padding-bottom: 14px;

  border-bottom: 1px solid #ececec;

  display: block;
}

    .transport-section-divider::after {
      content: ''; flex: 1; height: 1px; background: #ececec;
    }

    .transport-list-grid {
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    .transport-list-entry {
      display: grid;
      grid-template-columns: 1fr 280px;
      gap: 0;
      border-bottom: 1px solid #ececec;
      align-items: stretch;
    }

    .transport-list-entry:last-child { border-bottom: none; }

    .transport-list-item {
      display: grid;
      grid-template-columns: 140px 1fr;
      gap: 18px;
      padding: 24px 28px 24px 0;
      align-items: start;
      cursor: default;
      border-right: 1px solid #ececec;
    }

    .transport-list-img-wrap {
      width: 140px; aspect-ratio: 4/3;
      border-radius: 10px; overflow: hidden;
      flex-shrink: 0; background: #111;
      position: relative;
    }

    .transport-list-thumb {
      width: 100%; height: 100%;
      display: flex; align-items: center; justify-content: center;
      transition: transform 0.4s ease;
    }

    .transport-list-thumb i { font-size: 36px; }

    /* Colour per mode */
    .transport-list-item.tm-fly .transport-list-img-wrap     { background: #00838f; }
    .transport-list-item.tm-train .transport-list-img-wrap   { background: linear-gradient(135deg, #1a5fa8, #0d3a6e); }
    .transport-list-item.tm-ferry .transport-list-img-wrap   { background: #455a64; }
    .transport-list-item.tm-fly .transport-list-thumb i      { color: rgba(255,255,255,0.9); }
    .transport-list-item.tm-train .transport-list-thumb i    { color: rgba(255,255,255,0.9); }
    .transport-list-item.tm-ferry .transport-list-thumb i    { color: rgba(255,255,255,0.9); }

    .transport-list-body { padding-top: 2px; }

    .transport-list-tag {
      display: inline-block;
      font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
      text-transform: uppercase; padding: 3px 10px;
      border-radius: 999px; margin-bottom: 7px;
    }

    .tm-fly .transport-list-tag     { background: #fff0f0; border: 1px solid #f5c6c6; color: #b1222a; }
    .tm-train .transport-list-tag   { background: #f0f4ff; border: 1px solid #c6d4f5; color: #1a5fa8; }
    .tm-ferry .transport-list-tag   { background: #f0fff2; border: 1px solid #c6e8c9; color: #2e7d32; }

    .transport-list-name {
      font-size: 18px; font-weight: 900; color: #111;
      margin-bottom: 5px; line-height: 1.25;
    }

    .transport-list-meta {
      display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap;
    }

    .transport-list-meta-tag {
      font-size: 12.5px; font-weight: 700; color: #767676;
      background: #f5f5f5; border-radius: 6px;
      padding: 2px 8px;
    }

    .transport-list-desc {
      font-size: 14.5px; color: #555; line-height: 1.75;
      margin-bottom: 8px;
    }

    .transport-list-note {
      font-size: 13px; color: #767676; line-height: 1.6;
      display: flex; align-items: flex-start; gap: 5px;
    }

    .transport-list-note i { font-size: 10px; color: #e60000; margin-top: 2px; flex-shrink: 0; }

    /* Recommendations panel — right column */
    .transport-list-recs {
      background: #faf8f6;
      padding: 24px 0 24px 28px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .transport-list-recs-label {
      font-size: 9px; font-weight: 700; letter-spacing: 0.16em;
      text-transform: uppercase; color: #767676;
      margin-bottom: 10px;
    }

    .transport-list-recs-text {
      font-size: 13px; color: #444; line-height: 1.85;
    }

    .transport-list-recs-text strong { color: #111; font-weight: 700; }

    .transport-list-entry:has(.tm-train) .transport-list-recs { background: #f5f8ff; }
    .transport-list-entry:has(.tm-ferry) .transport-list-recs { background: #f5fff6; }


    /* ── TRANSPORT BREAKDOWN — horizontal cards ── */
    .transport-breakdown {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .transport-breakdown-item {
      display: grid;
      grid-template-columns: 90px 1fr;
      gap: 0;
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid #ececec;
      transition: box-shadow 0.2s ease, transform 0.2s ease;
    }

    .transport-breakdown-item:hover {
      box-shadow: 0 6px 24px rgba(0,0,0,0.08);
      transform: translateY(-2px);
    }

    .transport-breakdown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  border-radius: 14px 0 0 14px;
}

    .transport-breakdown-icon i { font-size: 28px; color: #fff; }

    /* Colour coding per transport type */
    .transport-breakdown-item.tc-car .transport-breakdown-icon    { background: #b1222a; }
    .transport-breakdown-item.tc-rail .transport-breakdown-icon   { background: #1a5fa8; }
    .transport-breakdown-item.tc-subway .transport-breakdown-icon { background: #2e7d32; }
    .transport-breakdown-item.tc-bus .transport-breakdown-icon    { background: #e65100; }
    .transport-breakdown-item.tc-plane .transport-breakdown-icon  { background: #00838f; }
    .transport-breakdown-item.tc-taxi .transport-breakdown-icon   { background: #6a1b9a; }

    /* Left border accent matching icon colour */
   

    .transport-breakdown-body {
      padding: 20px 24px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0 32px;
      background: #fff;
      align-items: start;
    }

    .transport-breakdown-right { padding-top: 2px; }

    .transport-breakdown-title {
      font-size: 18px; font-weight: 900; color: #111;
      margin-bottom: 6px; line-height: 1.2;
    }

    .transport-breakdown-tags {
      display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px;
    }

    .transport-breakdown-tag {
      font-size: 9px; font-weight: 700; letter-spacing: 0.12em;
      text-transform: uppercase; padding: 3px 9px;
      border-radius: 999px; border: 1px solid #ececec;
      color: #555; background: #faf8f6;
    }

    .transport-breakdown-tag.best { background: #fff8f8; border-color: #ead7d7; color: #b1222a; }

    .transport-breakdown-desc {
      font-size: 14px; color: #444; line-height: 1.8;
    }

    .transport-breakdown-facts { display: flex; flex-direction: column; gap: 6px; }

    .transport-fact {
      font-size: 13px; color: #555;
      display: flex; align-items: flex-start; gap: 8px; line-height: 1.6;
    }

    .transport-fact i { font-size: 9px; margin-top: 4px; flex-shrink: 0; }

    .transport-breakdown-item.tc-car    .transport-fact i { color: #b1222a; }
    .transport-breakdown-item.tc-rail   .transport-fact i { color: #1a5fa8; }
    .transport-breakdown-item.tc-subway .transport-fact i { color: #2e7d32; }
    .transport-breakdown-item.tc-bus    .transport-fact i { color: #e65100; }
    .transport-breakdown-item.tc-plane  .transport-fact i { color: #00838f; }
    .transport-breakdown-item.tc-taxi   .transport-fact i { color: #6a1b9a; }

    @media (max-width: 800px) {
      .transport-breakdown-item { grid-template-columns: 70px 1fr; }
      .transport-breakdown-body { grid-template-columns: 1fr; }
    }

    /* ── COMMON QUESTIONS ── */
    .questions-list { display: flex; flex-direction: column; gap: 0; }

    .question-item {
      padding: 28px 0;
      border-bottom: 1px solid #ececec;
      display: grid;
      grid-template-columns: 1fr 1.4fr;
      gap: 40px;
      align-items: start;
    }

    .question-item:last-child { border-bottom: none; }

    .question-q {
      font-size: 19px; font-weight: 900; color: #111;
      line-height: 1.3; position: relative; padding-left: 16px;
    }

    .question-q::before {
      content: ''; position: absolute; left: 0; top: 4px;
      width: 3px; height: calc(100% - 4px);
      background: #e60000; border-radius: 999px;
    }

    .question-a { font-size: 16px; color: #444; line-height: 1.85; }
    .question-a strong { color: #111; font-weight: 700; }

    .question-tip {
      display: flex; align-items: flex-start; gap: 7px;
      margin-top: 10px; padding: 12px 16px;
      background: #fff8f8; border: 1px solid #ead7d7;
      border-radius: 8px; font-size: 14.5px; color: #555; line-height: 1.6;
    }

    .question-tip i { color: #e60000; font-size: 12.5px; margin-top: 2px; flex-shrink: 0; }

    /* KEY ROUTES TABLE */
    @media (max-width: 800px) {
      .airport-strip { grid-template-columns: 1fr 1fr; }
      .departure-layout { grid-template-columns: 1fr; }
      .transport-breakdown { grid-template-columns: 1fr; }
      .transport-breakdown-item:nth-child(odd) { padding-right: 0; border-right: none; }
      .transport-breakdown-item:nth-child(even) { padding-left: 0; }
      .transport-breakdown-item.last-row { border-bottom: 1px solid #ececec; }
      .transport-breakdown-item:last-child { border-bottom: none; }
      .question-item { grid-template-columns: 1fr; gap: 12px; }
    }

    @media (max-width: 560px) {
      .airport-strip { grid-template-columns: 1fr; }
      .departure-tabs { gap: 4px; }
      .departure-tab { padding: 10px 12px; font-size: 14.5px; }
    }


/* ========================================================================
   MOBILE  —  departure city tab strip
   Tab strip scrolls sideways on mobile. It carried flex-wrap: wrap, so on
   a phone the tabs broke into ragged rows and the underline tab style
   stopped reading as tabs. One row that scrolls instead, with the next tab
   clipped at the right edge as the cue. Paired with the .tabstrip cue CSS
   and the strip script, both of which live in e-duplicate_destinations_main.
   
   NOTE: the justify-content reset that this strip also needs is NOT here.
   `#getting-around .departure-tabs { justify-content: center }` lives in
   e-duplicate_destinations_main.css, which loads AFTER this sheet, so an
   override here would lose. It sits at the end of that sheet instead.
   ======================================================================== */
@media (max-width: 760px) {
  .departure-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 30px;
  }

  .departure-tabs::-webkit-scrollbar {
    display: none;
  }

  .departure-tab {
    flex: 0 0 auto;
    font-size: 15px;
    padding: 10px 15px;
  }

  .departure-tab:first-child {
    padding-left: 0;
  }

  .departure-tab:last-child {
    padding-right: 0;
  }
}