/*
Theme Name: compare.flights Optimized
Theme URI: https://compare.flights/
Author: compare.flights
Description: Lightweight, responsive WordPress theme for compare.flights with Travelpayouts integration, SEO foundations and Core Web Vitals-focused frontend code.
Version: 1.1.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: compare-flights
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

    :root {
      --primary: #FCBA16;
      --primary-hover: #FCBA16;
      --primary-soft: #FCBA16;
      --primary-subtle: #FCBA16;
      --nav: #17191F;
      --ink: #17191F;
      --muted: #626670;
      --line: #E6E7EA;
      --soft: #F7F7F5;
      --white: #FFFFFF;
      --container: 1160px;
      --gutter: clamp(16px, 4vw, 28px);
      --radius: 12px;
      --shadow: 0 12px 32px rgba(23, 25, 31, .10);
      --font: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    }

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

    html {
      scroll-behavior: smooth;
      -webkit-text-size-adjust: 100%
    }

    body {
      margin: 0;
      font-family: var(--font);
      color: var(--ink);
      background: #fff;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased
    }

    body.is-locked {
      overflow: hidden
    }

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

    a {
      color: inherit;
      text-decoration: none
    }

    button {
      font: inherit;
      color: inherit
    }

    h1,
    h2,
    h3,
    p {
      margin: 0
    }

    h1 {
      font-size: clamp(2rem, 4vw, 3.35rem);
      line-height: 1.05;
      letter-spacing: -.04em
    }

    h2 {
      font-size: clamp(1.45rem, 2.4vw, 2rem);
      line-height: 1.15;
      letter-spacing: -.025em
    }

    h3 {
      font-size: 1rem
    }

    :focus-visible {
      outline: 3px solid var(--primary);
      outline-offset: 3px
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
      white-space: nowrap;
      border: 0
    }

    .skip {
      position: absolute;
      left: 16px;
      top: -60px;
      z-index: 300;
      background: #fff;
      padding: 10px 14px;
      border-radius: 8px;
      box-shadow: var(--shadow)
    }

    .skip:focus {
      top: 16px
    }

    .container {
      width: 100%;
      max-width: var(--container);
      margin-inline: auto;
      padding-inline: var(--gutter)
    }

    .section {
      padding: 56px 0;
      background: #fff
    }

    .section--soft {
      background: var(--soft)
    }

    .section-head {
      max-width: 620px;
      margin: 0 0 24px;
      text-align: left
    }

    .section-head p {
      margin-top: 8px;
      color: var(--muted)
    }

    .grid-4 {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px
    }


    .benefit-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px
    }

    .benefit-card {
      position: relative;
      min-height: 190px;
      padding: 22px 20px 20px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 10px;
      overflow: hidden
    }

    .benefit-card::before {
      content: '';
      position: absolute;
      inset: 0 auto auto 0;
      width: 100%;
      height: 3px;
      background: var(--primary)
    }

    .benefit-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      margin-bottom: 18px;
      border-radius: 9px;
      background: var(--primary-soft);
      color: var(--ink)
    }

    .benefit-icon .icon {
      width: 21px;
      height: 21px
    }

    .benefit-card h3 {
      margin-bottom: 7px;
      font-size: 1.05rem;
      font-weight: 800
    }

    .benefit-card p {
      color: var(--muted);
      font-size: .9rem
    }

    .icon,
    .icon-sm,
    svg[viewBox] {
      fill: none;
      stroke: currentColor;
      stroke-width: 1.8;
      stroke-linecap: round;
      stroke-linejoin: round
    }

    .icon {
      width: 22px;
      height: 22px
    }

    .icon-sm {
      width: 17px;
      height: 17px
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 11px 16px;
      border: 0;
      border-radius: 9px;
      font-weight: 700;
      cursor: pointer
    }

    .btn-primary {
      background: var(--primary);
      color: var(--ink)
    }

    .btn-primary:hover {
      background: var(--primary-hover)
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: var(--primary);
      box-shadow: 0 1px 0 rgba(0, 0, 0, .08)
    }

    .brand-band {
      background: var(--primary)
    }

    .header-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 72px;
      gap: 16px
    }

    .brand {
      display: inline-flex;
      align-items: center;
      line-height: 0
    }

    .brand-logo {
      display: block;
      width: auto;
      height: 58px;
      max-width: 180px;
      object-fit: contain
    }

    .menu-button {
      display: none;
      width: 42px;
      height: 42px;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(23, 25, 31, .18);
      background: rgba(255, 255, 255, .22);
      border-radius: 9px;
      cursor: pointer
    }

    .nav-band {
      background: var(--nav)
    }

    .nav-row,
    .nav-links {
      display: flex;
      align-items: center
    }

    .nav-links {
      width: 100%;
      gap: 4px
    }

    .nav-links>a {
      padding: 13px 14px;
      color: rgba(255, 255, 255, .86);
      font-size: .875rem;
      font-weight: 650
    }

    .nav-links>a:hover {
      color: #fff;
      background: rgba(255, 255, 255, .06)
    }

    .nav-links>a.is-active {
      color: #fff;
      box-shadow: inset 0 -3px 0 var(--primary)
    }

    .header-cta {
      margin-left: auto;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      background: var(--primary);
      color: var(--ink) !important;
      border-radius: 8px;
      padding: 13px 16px !important;
      line-height: 1;
      white-space: nowrap;
      font-weight: 750 !important
    }

    .header-cta:hover {
      background: #FCBA16 !important;
      color: var(--ink) !important
    }

    .nav-overlay[hidden],
    .modal[hidden] {
      display: none !important
    }

    .nav-overlay {
      position: fixed;
      inset: 0;
      z-index: 110;
      background: rgba(20, 24, 34, .5);
      opacity: 0;
      transition: opacity .18s ease
    }

    .nav-overlay.is-open {
      opacity: 1
    }

    .nav-drawer {
      position: fixed;
      top: 0;
      right: 0;
      z-index: 120;
      width: min(320px, 88vw);
      height: 100dvh;
      padding: 18px;
      background: #fff;
      box-shadow: -12px 0 30px rgba(0, 0, 0, .14);
      transform: translateX(105%);
      transition: transform .18s ease;
      display: flex;
      flex-direction: column;
      gap: 10px;
      overflow: auto
    }

    .nav-drawer.is-open {
      transform: translateX(0)
    }

    .nav-drawer>header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--line);
      font-weight: 800
    }

    .nav-drawer .close {
      width: 38px;
      height: 38px;
      border: 1px solid var(--line);
      background: #fff;
      border-radius: 8px;
      cursor: pointer
    }

    .nav-drawer nav {
      display: grid;
      gap: 2px
    }

    .nav-drawer nav a,
    .nav-drawer nav button {
      display: block;
      width: 100%;
      text-align: left;
      padding: 11px;
      border: 0;
      background: none;
      border-radius: 8px;
      font-weight: 650;
      cursor: pointer
    }

    .nav-drawer nav a:hover,
    .nav-drawer nav button:hover {
      background: var(--soft)
    }

    .drawer-cta {
      margin-top: auto
    }

    .hero {
      background: #FCBA16;
      padding: 64px 0 116px
    }

    .hero-inner {
      max-width: 760px;
      text-align: left
    }

    .hero-sub {
      max-width: 680px;
      margin-top: 14px;
      color: var(--muted);
      font-size: 1.05rem
    }

    .search-wrap {
      width: 100%;
      max-width: 1380px;
      margin: -72px auto 0;
      padding-inline: var(--gutter);
      position: relative;
      z-index: 5
    }

    .search-panel {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 22px
    }

    .tp-search-head {
      margin-bottom: 16px
    }

    .tp-search-head h2 {
      font-size: 1.35rem
    }

    #tpwl-search,
    #tpwl-search>* {
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important
    }

    /* Give the flight-search controls more usable horizontal space. */
    #tpwl-search form {
      width: 100% !important;
      max-width: none !important;
      min-width: 0 !important
    }

    #tpwl-search input,
    #tpwl-search select,
    #tpwl-search textarea,
    #tpwl-search button {
      box-sizing: border-box !important;
      max-width: 100% !important
    }

    @media(min-width:901px) {
      .search-panel {
        padding: 24px 26px
      }

      #tpwl-search input,
      #tpwl-search select,
      #tpwl-search textarea {
        width: 100% !important;
        min-width: 0 !important
      }
    }

    .results-free-space {
      width: 100%;
      max-width: var(--container);
      margin-inline: auto;
      padding-inline: var(--gutter)
    }

    .results-panel {
      display: none;
      margin-top: 20px
    }

    .results-panel.is-visible {
      display: block;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 14px
    }

    .dest-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px
    }

    .dest {
      position: relative;
      overflow: hidden;
      border-radius: 10px;
      background: #eee;
      min-height: 220px
    }

    .dest .photo,
    .dest .photo img {
      width: 100%;
      height: 100%;
      display: block
    }

    .dest .photo {
      position: absolute;
      inset: 0
    }

    .dest .photo img {
      object-fit: cover
    }

    .dest .overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 45%, rgba(20, 24, 34, .72))
    }

    .dest .meta {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      padding: 16px;
      color: #fff
    }

    .dest .city {
      display: block;
      font-size: 1.05rem;
      font-weight: 800
    }

    .dest .sub {
      display: block;
      margin-top: 2px;
      color: rgba(255, 255, 255, .8);
      font-size: .78rem
    }

    .route,
    .airport {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 15px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 10px;
      min-height: 74px
    }

    .route:hover,
    .airport:hover {
      border-color: #c9ccd3
    }

    .route>span:first-child,
    .airport .body {
      min-width: 0;
      flex: 1
    }

    .pair {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 800
    }

    .arrow,
    .go {
      color: #98a2b3
    }

    .go {
      margin-left: auto
    }

    .names,
    .loc {
      display: block;
      margin-top: 3px;
      color: var(--muted);
      font-size: .78rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis
    }

    .airport .code {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 48px;
      height: 38px;
      border-radius: 8px;
      background: var(--primary-soft);
      font-weight: 800
    }

    /* Top destinations by region */
    .region-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px
    }

    .region-card {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 10px;
      overflow: hidden
    }

    .region-card-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 15px 16px 12px;
      border-top: 3px solid var(--primary);
      border-bottom: 1px solid var(--line)
    }

    .region-card-head h3 {
      font-size: 1rem;
      font-weight: 800
    }

    .region-count {
      font-size: .72rem;
      font-weight: 700;
      color: var(--muted);
      white-space: nowrap
    }

    .region-list {
      display: grid
    }

    .region-link {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 11px 16px;
      border-top: 1px solid #f0f1f3;
      transition: background .15s ease
    }

    .region-link:first-child {
      border-top: 0
    }

    .region-link:hover {
      background: var(--primary-subtle)
    }

    .region-place {
      min-width: 0;
      flex: 1
    }

    .region-city {
      display: block;
      font-size: .9rem;
      font-weight: 700;
      color: var(--ink)
    }

    .region-country {
      display: block;
      margin-top: 1px;
      font-size: .75rem;
      color: var(--muted)
    }

    .region-link .go {
      font-size: .95rem;
      color: #98a2b3
    }

    .region-link:hover .go {
      color: var(--ink)
    }

    .partner-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px
    }

    .partner-card {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
      padding: 18px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 10px
    }

    .partner-icon {
      display: none
    }

    .partner-type {
      font-size: .75rem;
      color: var(--muted)
    }

    .partner-card .btn {
      margin-top: auto;
      width: 100%
    }

    .affiliate-note {
      margin-top: 12px;
      color: var(--muted);
      font-size: .78rem
    }

    .faq-inner {
      max-width: 800px
    }

    .faq-list {
      display: grid;
      gap: 8px
    }

    .faq-item {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 10px;
      padding: 0 16px
    }

    .faq-item summary {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 15px 0;
      font-weight: 700;
      cursor: pointer;
      list-style: none
    }

    .faq-item summary::-webkit-details-marker {
      display: none
    }

    .faq-item summary::after {
      content: '+';
      font-size: 1.2rem;
      color: #667085
    }

    .faq-item[open] summary::after {
      content: '−'
    }

    .faq-item p {
      padding: 0 0 15px;
      color: var(--muted);
      font-size: .9rem
    }

    .site-footer {
      background: var(--nav);
      color: rgba(255, 255, 255, .72);
      padding: 42px 0 22px;
      border-top: 4px solid var(--primary)
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr;
      gap: 28px
    }

    .footer-grid h3 {
      color: #fff;
      margin-bottom: 10px;
      font-size: .85rem;
      text-transform: uppercase;
      letter-spacing: .06em
    }

    .footer-grid p {
      max-width: 380px;
      font-size: .88rem
    }

    .footer-social {
      display: flex;
      gap: 8px;
      margin-top: 14px
    }

    .footer-social a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 34px;
      height: 34px;
      padding: 0;
      border: 1px solid rgba(255, 255, 255, .16);
      border-radius: 9px;
      color: rgba(255, 255, 255, .72);
      transition: border-color .2s ease, color .2s ease, background .2s ease
    }

    .footer-social a:hover {
      color: #fff;
      border-color: rgba(255, 255, 255, .32);
      background: rgba(255, 255, 255, .06)
    }

    .footer-social svg {
      width: 17px;
      height: 17px;
      fill: currentColor
    }

    .footer-grid a,
    .footer-grid button {
      display: block;
      width: 100%;
      padding: 4px 0;
      border: 0;
      background: none;
      text-align: left;
      color: rgba(255, 255, 255, .72);
      font-size: .88rem;
      cursor: pointer
    }

    .footer-grid a:hover,
    .footer-grid button:hover {
      color: #fff
    }

    .footer-bottom {
      margin-top: 26px;
      padding-top: 16px;
      border-top: 1px solid rgba(255, 255, 255, .12);
      font-size: .78rem;
      color: rgba(255, 255, 255, .5)
    }

    .modal {
      position: fixed;
      inset: 0;
      z-index: 200;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 18px;
      background: rgba(20, 24, 34, .55)
    }

    .modal-dialog {
      width: min(680px, 100%);
      max-height: 86dvh;
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 24px 60px rgba(0, 0, 0, .2);
      display: flex;
      flex-direction: column
    }

    .modal-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 17px 20px;
      border-bottom: 1px solid var(--line)
    }

    .modal-head h2 {
      font-size: 1.25rem
    }

    .modal-head button {
      width: 38px;
      height: 38px;
      border: 1px solid var(--line);
      background: #fff;
      border-radius: 8px;
      cursor: pointer
    }

    .modal-body {
      padding: 20px;
      overflow: auto;
      color: #4b5563;
      font-size: .9rem
    }

    .modal-body h3 {
      margin: 18px 0 6px;
      color: var(--ink)
    }

    .modal-body p {
      margin-bottom: 10px
    }

    .modal-body ul {
      padding-left: 20px
    }

    .modal-body a {
      text-decoration: underline;
      font-weight: 600
    }



    @media(max-width:900px) {
      .menu-button {
        display: inline-flex
      }

      .nav-band {
        display: none
      }

      .header-row {
        min-height: 62px
      }

      .brand-logo {
        height: 48px;
        max-width: 150px
      }


      .grid-4,
      .dest-grid,
      .partner-grid,
      .region-grid,
      .benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
      }
    }

    @media(max-width:640px) {
      .hero {
        padding: 38px 0 90px
      }

      .hero-sub {
        font-size: .95rem
      }

      .search-wrap {
        margin-top: -54px
      }

      .search-panel {
        padding: 14px;
        border-radius: 10px
      }

      .section {
        padding: 34px 0
      }

      .section-head {
        margin-bottom: 18px
      }

      .section-head p {
        font-size: .9rem
      }

      .mobile-slider {
        display: grid !important;
        grid-template-columns: none !important;
        grid-auto-flow: column;
        grid-auto-columns: 78vw;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        margin-inline: calc(var(--gutter) * -1);
        padding-inline: var(--gutter);
        padding-bottom: 4px
      }

      .mobile-slider::-webkit-scrollbar {
        display: none
      }

      .mobile-slider>* {
        scroll-snap-align: start;
        min-width: 0
      }

      .grid-4.mobile-slider,
      .partner-grid.mobile-slider,
      .benefit-grid.mobile-slider {
        grid-auto-columns: 84vw
      }

      .dest-grid.mobile-slider {
        grid-auto-columns: 76vw
      }

      .region-grid.mobile-slider {
        grid-auto-columns: 86vw
      }

      .dest {
        min-height: 210px
      }



      .footer-grid {
        grid-template-columns: 1fr 1fr
      }

      .footer-grid>div:first-child {
        grid-column: 1/-1
      }

      .site-footer {
        padding-top: 34px
      }
    }

    @media(prefers-reduced-motion:reduce) {
      html {
        scroll-behavior: auto
      }

      *,
      *::before,
      *::after {
        transition: none !important
      }
    }

    /* ============================================================
       CONSOLIDATED RESPONSIVE UI — debugged / cleaned
       ============================================================ */
    :root {
      --container: 1228px;
      /* 1180px content + 24px gutters */
      --gutter: 24px;
      --header-offset: 92px;
      --nav: #111318;
      --ink: #17191F;
      --muted: #686D77;
      --soft: #F7F7F5;
      --line: #E4E6EA;
      --radius: 12px;
      --shadow: 0 12px 34px rgba(17, 19, 24, .08);
    }

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

    html {
      max-width: 100%;
      overflow-x: hidden;
      scroll-behavior: smooth;
    }

    body {
      max-width: 100%;
      overflow-x: hidden;
      background: #fff;
      color: var(--ink);
    }

    img,
    svg,
    video,
    iframe {
      max-width: 100%;
    }

    [id] {
      scroll-margin-top: var(--header-offset);
    }

    h1,
    h2,
    h3 {
      text-wrap: balance;
    }

    p {
      text-wrap: pretty;
    }

    .container,
    .search-wrap,
    .results-free-space {
      width: 100%;
      max-width: var(--container) !important;
      margin-inline: auto !important;
      padding-inline: var(--gutter) !important;
      min-width: 0;
    }

    /* Header */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: var(--primary);
      box-shadow: 0 1px 0 rgba(17, 19, 24, .12);
    }

    .brand-band {
      background: var(--primary);
    }

    .header-row {
      min-height: 78px;
      display: flex;
      align-items: center;
      gap: 24px;
    }

    .brand {
      flex: 0 0 auto;
    }

    .brand-logo {
      display: block;
      width: auto;
      height: 66px;
      max-width: 230px;
      object-fit: contain;
    }

    .nav-links--compact {
      width: auto;
      margin-left: auto;
      gap: 2px;
    }

    .nav-links--compact>a {
      padding: 10px 11px;
      border-radius: 8px;
      color: var(--ink);
      font-size: .83rem;
      font-weight: 750;
      white-space: nowrap;
    }

    .nav-links--compact>a:hover,
    .nav-links--compact>a:focus-visible {
      color: var(--ink);
      background: rgba(17, 19, 24, .07);
    }

    .header-search-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 0 16px;
      border-radius: 9px;
      background: var(--nav);
      color: #fff;
      font-size: .82rem;
      font-weight: 800;
      white-space: nowrap;
    }

    .header-search-link:hover {
      color: #fff;
      background: #242832;
    }

    .menu-button {
      min-width: 44px;
      min-height: 44px;
    }

    /* Hero */
    .human-hero {
      position: relative;
      overflow: hidden;
      background: #FCBA16;
      color: var(--ink);
      padding: 72px 0 132px;
    }

    .human-hero-inner {
      max-width: 780px;
      margin: 0;
      text-align: left;
    }

    .human-hero-note {
      margin: 0 0 12px;
      color: #5F6570;
      font-size: .84rem;
      font-weight: 700;
    }

    .human-hero h1 {
      max-width: 14ch;
      margin: 0;
      color: var(--ink);
      font-size: clamp(2.8rem, 4.6vw, 4.45rem);
      line-height: 1.01;
      letter-spacing: -.052em;
    }

    .human-hero .hero-sub {
      max-width: 680px;
      margin: 18px 0 0;
      color: #414650;
      font-size: 1.06rem;
      line-height: 1.62;
    }

    /* Search */
    .search-wrap {
      position: relative;
      z-index: 5;
      margin-top: -70px !important;
    }

    .search-panel {
      width: 100%;
      min-width: 0;
      padding: 24px 26px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #fff;
      box-shadow: var(--shadow);
    }

    .tp-search-head {
      margin-bottom: 16px;
      text-align: left;
    }

    .tp-search-head h2 {
      font-size: 1.3rem;
      letter-spacing: -.025em;
    }

    .tp-search-head p {
      max-width: 620px;
      margin: 5px 0 0;
      color: var(--muted);
    }

    #tpwl-search,
    #tpwl-search>*,
    #tpwl-search form,
    #tpwl-search iframe {
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
      box-sizing: border-box !important;
    }

    #tpwl-search input,
    #tpwl-search select,
    #tpwl-search textarea,
    #tpwl-search button {
      max-width: 100% !important;
      box-sizing: border-box !important;
    }

    .human-search-foot {
      justify-content: flex-start;
      text-align: left;
    }

    /* Sections */
    .section {
      padding: 60px 0;
      background: #fff;
    }

    .section--soft {
      background: var(--soft);
    }

    .section-head {
      max-width: 720px;
      margin: 0 0 28px;
      text-align: left;
    }

    .section-kicker {
      display: none;
    }

    .section-head h2 {
      margin: 0;
      color: var(--ink);
      font-size: clamp(1.85rem, 2.7vw, 2.45rem);
      line-height: 1.1;
      letter-spacing: -.04em;
    }

    .section-head p {
      max-width: 620px;
      margin: 9px 0 0;
      color: var(--muted);
      line-height: 1.58;
    }

    /* Shared card system */
    .benefit-grid,
    .dest-grid,
    .grid-4,
    .region-grid,
    .partner-grid,
    .faq-list {
      gap: 16px;
      min-width: 0;
      max-width: 100%;
    }

    .benefit-card,
    .partner-card,
    .region-card,
    .route,
    .airport,
    .faq-item {
      min-width: 0;
      max-width: 100%;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fff;
      box-shadow: none;
    }

    .benefit-card::before {
      display: none;
    }

    .benefit-card {
      min-height: 0;
      padding: 22px;
      text-align: left;
    }

    .benefit-icon {
      margin: 0 0 15px;
      border-radius: 10px;
      background: var(--primary-soft);
    }

    .benefit-card p,
    .partner-card p {
      color: var(--muted);
      line-height: 1.55;
    }

    .dest {
      min-width: 0;
      min-height: 230px;
      border-radius: 12px;
      border: 1px solid var(--line);
      box-shadow: none;
    }

    .dest .meta {
      padding: 16px;
      text-align: left;
    }

    .route,
    .airport {
      min-height: 76px;
      padding: 14px 16px;
      transition: border-color .16s ease, background .16s ease;
    }

    .route:hover,
    .airport:hover,
    .region-link:hover {
      border-color: #C8CCD2;
      background: #FCFCFB;
    }

    .route>span:first-child,
    .airport .body,
    .region-place {
      min-width: 0;
    }

    .names,
    .loc,
    .region-city,
    .region-country {
      overflow-wrap: anywhere;
    }

    .region-card {
      overflow: hidden;
    }

    .region-card-head {
      padding: 16px;
      border-top: 3px solid var(--primary);
    }

    .region-link {
      padding: 12px 16px;
    }

    .partner-card {
      min-height: 0;
      padding: 22px;
      align-items: flex-start;
      text-align: left;
    }

    .partner-card .btn {
      width: auto;
      margin-top: 12px;
    }

    .affiliate-note {
      margin-top: 16px;
      color: var(--muted);
      text-align: left;
    }

    /* FAQ stays a normal accordion on every device */
    .faq-inner {
      max-width: 900px;
      margin: 0;
    }

    .faq-list,
    .faq-list.mobile-slider {
      display: grid !important;
      grid-template-columns: 1fr !important;
      grid-auto-flow: row !important;
      grid-auto-columns: auto !important;
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
      overflow: visible !important;
      scroll-snap-type: none !important;
    }

    .faq-item {
      padding: 0 18px;
    }

    .faq-item summary {
      padding: 17px 0;
      text-align: left;
    }

    .faq-item p {
      padding: 0 0 17px;
      text-align: left;
    }

    /* Footer */
    .site-footer {
      background: #111318;
      color: rgba(255, 255, 255, .68);
      padding: 58px 0 24px;
      border-top: 4px solid var(--primary);
    }

    .footer-shell {
      min-width: 0;
    }

    .footer-main {
      display: grid;
      grid-template-columns: minmax(280px, 1.7fr) repeat(3, minmax(130px, .65fr));
      gap: 54px;
      align-items: start;
    }

    .footer-brand-block {
      max-width: 430px;
      min-width: 0;
    }

    .footer-brand {
      display: inline-block;
      color: #fff;
      font-size: 1.8rem;
      font-weight: 900;
      letter-spacing: -.045em;
      line-height: 1;
    }

    .footer-brand:hover {
      color: #fff;
    }

    .footer-brand-block>p {
      max-width: 390px;
      margin: 16px 0 20px;
      color: rgba(255, 255, 255, .59);
      font-size: .9rem;
      line-height: 1.65;
    }

    .footer-cta {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-height: 44px;
      padding: 0 15px;
      border-radius: 9px;
      background: var(--primary);
      color: var(--ink);
      font-size: .84rem;
      font-weight: 850;
    }

    .footer-cta:hover {
      color: var(--ink);
      background: var(--primary-hover);
    }

    .footer-social-link {
      display: flex;
      align-items: center;
      gap: 8px;
      width: fit-content;
      margin-top: 18px;
      color: rgba(255, 255, 255, .65);
      font-size: .82rem;
    }

    .footer-social-link:hover {
      color: #fff;
    }

    .footer-social-link svg {
      width: 17px;
      height: 17px;
      fill: currentColor;
      stroke: none;
    }

    .footer-group h3 {
      margin: 2px 0 13px;
      color: rgba(255, 255, 255, .42);
      font-size: .69rem;
      font-weight: 850;
      letter-spacing: .11em;
      text-transform: uppercase;
    }

    .footer-links {
      display: grid;
      gap: 2px;
    }

    .footer-links a,
    .footer-links button {
      display: block;
      width: fit-content;
      min-height: 34px;
      padding: 6px 0;
      border: 0;
      background: none;
      color: rgba(255, 255, 255, .78);
      font: inherit;
      font-size: .86rem;
      line-height: 1.35;
      text-align: left;
      cursor: pointer;
    }

    .footer-links a:hover,
    .footer-links button:hover {
      color: #fff;
    }

    .footer-bottom {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      gap: 24px;
      margin-top: 44px;
      padding-top: 18px;
      border-top: 1px solid rgba(255, 255, 255, .10);
      color: rgba(255, 255, 255, .40);
      font-size: .76rem;
    }

    .footer-bottom-note {
      text-align: center;
    }

    .footer-bottom a {
      color: rgba(255, 255, 255, .62);
      white-space: nowrap;
    }

    .footer-bottom a:hover {
      color: #fff;
    }

    /* Drawer / modal hardening */
    .nav-drawer {
      overscroll-behavior: contain;
      max-height: 100dvh;
    }

    .nav-drawer nav a,
    .nav-drawer nav button,
    .nav-drawer .close,
    .modal-head button {
      min-height: 44px;
    }

    /* Tablet */
    @media (max-width: 1080px) and (min-width: 901px) {
      :root {
        --gutter: 20px;
      }

      .header-row {
        min-height: 72px;
        gap: 12px;
      }

      .brand-logo {
        height: 60px;
        max-width: 210px;
      }

      .nav-links--compact>a {
        padding-inline: 8px;
        font-size: .78rem;
      }

      .header-search-link {
        padding-inline: 12px;
        font-size: .78rem;
      }

      .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .footer-main {
        grid-template-columns: 1.45fr repeat(3, .7fr);
        gap: 32px;
      }
    }

    /* Mobile / small tablet */
    @media (max-width: 900px) {
      :root {
        --gutter: 18px;
        --header-offset: 76px;
      }

      .header-row {
        min-height: 66px;
      }

      .brand-logo {
        height: 56px;
        max-width: min(195px, 58vw);
      }

      .site-header .nav-links,
      .header-search-link {
        display: none;
      }

      .menu-button {
        display: inline-flex;
        margin-left: auto;
        border-radius: 10px;
      }

      .human-hero {
        padding: 48px 0 104px;
      }

      .human-hero-inner {
        max-width: 100%;
      }

      .human-hero h1 {
        max-width: 13ch;
        font-size: clamp(2.25rem, 8vw, 3.35rem);
      }

      .section {
        padding: 46px 0;
      }

      .section-head {
        margin-bottom: 22px;
      }

      .footer-main {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 30px 24px;
      }

      .footer-brand-block {
        grid-column: 1 / -1;
        max-width: 540px;
        padding-bottom: 8px;
      }

      .footer-group--legal {
        grid-column: auto;
      }

      .footer-bottom {
        grid-template-columns: 1fr auto;
        gap: 10px 18px;
      }

      .footer-bottom-note {
        grid-column: 1 / -1;
        grid-row: 2;
        text-align: left;
      }
    }

    /* Phones */
    @media (max-width: 640px) {
      :root {
        --gutter: 16px;
        --header-offset: 72px;
      }

      body {
        padding-bottom: 0;
      }

      .header-row {
        min-height: 62px;
      }

      .brand-logo {
        height: 52px;
        max-width: min(180px, 58vw);
      }

      .human-hero {
        padding: 36px 0 84px;
      }

      .human-hero-note {
        margin-bottom: 9px;
        font-size: .76rem;
      }

      .human-hero h1 {
        max-width: 12.5ch;
        font-size: clamp(2rem, 10.8vw, 2.72rem);
      }

      .human-hero .hero-sub {
        max-width: 34ch;
        margin-top: 14px;
        font-size: .94rem;
        line-height: 1.56;
      }

      .search-wrap {
        margin-top: -48px !important;
      }

      .search-panel {
        padding: 16px;
        border-radius: 12px;
      }

      #tpwl-search input,
      #tpwl-search select,
      #tpwl-search textarea {
        font-size: 16px !important;
      }

      .human-search-foot {
        gap: 6px;
        font-size: .72rem;
      }

      .section {
        padding: 38px 0;
      }

      .section-head {
        margin-bottom: 18px;
      }

      .section-head h2 {
        font-size: 1.58rem;
      }

      .section-head p {
        max-width: 35ch;
        font-size: .89rem;
      }

      /* Swipe cards stay fully contained inside the shared page frame. */
      .mobile-slider:not(.faq-list),
      .benefit-grid.mobile-slider,
      .partner-grid.mobile-slider,
      .grid-4.mobile-slider,
      .region-grid.mobile-slider,
      .dest-grid.mobile-slider {
        display: grid !important;
        grid-auto-flow: column !important;
        grid-template-columns: none !important;
        grid-auto-columns: min(84%, 330px) !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 12px !important;
        margin: 0 !important;
        padding: 2px 0 10px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x mandatory !important;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
      }

      .dest-grid.mobile-slider {
        grid-auto-columns: min(82%, 315px) !important;
      }

      .mobile-slider:not(.faq-list)::-webkit-scrollbar {
        display: none;
      }

      .mobile-slider:not(.faq-list)>* {
        min-width: 0 !important;
        max-width: 100% !important;
        scroll-snap-align: start;
      }

      .benefit-card,
      .partner-card {
        padding: 19px 17px;
      }

      .dest {
        min-height: 216px;
      }

      .route,
      .airport {
        min-height: 72px;
        padding: 13px 14px;
      }

      .faq-list.mobile-slider {
        display: grid !important;
      }

      .faq-item {
        min-height: 0 !important;
        height: auto !important;
        padding: 0 16px;
      }

      .faq-item summary {
        padding: 16px 0;
        line-height: 1.4;
      }

      .faq-item p {
        margin: 0;
        padding: 0 0 16px;
      }

      /* Cleaner mobile footer: one strong brand block + compact 3-column nav. */
      .site-footer {
        padding: 40px 0 max(24px, env(safe-area-inset-bottom));
      }

      .footer-main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px 14px;
      }

      .footer-brand-block {
        grid-column: 1 / -1;
        max-width: none;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, .10);
      }

      .footer-brand {
        font-size: 1.68rem;
      }

      .footer-brand-block>p {
        max-width: 35ch;
        margin: 13px 0 18px;
        font-size: .88rem;
      }

      .footer-cta {
        min-height: 48px;
        padding-inline: 16px;
        border-radius: 11px;
      }

      .footer-social-link {
        margin-top: 16px;
      }

      .footer-group h3 {
        margin-bottom: 10px;
        font-size: .65rem;
      }

      .footer-links {
        gap: 0;
      }

      .footer-links a,
      .footer-links button {
        width: 100%;
        min-height: 40px;
        padding: 7px 0;
        font-size: .82rem;
        white-space: normal;
      }

      .footer-bottom {
        grid-template-columns: 1fr auto;
        align-items: start;
        gap: 8px 14px;
        margin-top: 30px;
        padding-top: 16px;
      }

      .footer-bottom-note {
        grid-column: 1 / -1;
        text-align: left;
        line-height: 1.5;
      }

      .mobile-search-cta {
        left: 10px;
        right: 10px;
        bottom: max(9px, env(safe-area-inset-bottom));
      }

      .mobile-search-cta a {
        min-height: 56px;
        border-radius: 15px;
      }

      .modal {
        padding: 0;
        align-items: flex-end;
      }

      .modal-dialog {
        width: 100%;
        max-height: 92dvh;
        border-radius: 14px 14px 0 0;
      }

      .modal-head {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #fff;
        border-radius: 14px 14px 0 0;
      }
    }

    @media (max-width: 420px) {
      .footer-main {
        grid-template-columns: 1fr 1fr;
      }

      .footer-group--legal {
        grid-column: 1 / -1;
      }

      .footer-group--legal .footer-links {
        grid-template-columns: 1fr 1fr;
        column-gap: 16px;
      }

      .brand-logo {
        height: 48px;
        max-width: min(165px, 58vw);
      }
    }

    @media (max-width: 360px) {
      .footer-main {
        grid-template-columns: 1fr 1fr;
      }

      .human-hero h1 {
        font-size: 1.95rem;
      }
    }

    @media (max-width: 900px) and (orientation: landscape) and (max-height: 480px) {
      .site-header {
        position: static;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }

      *,
      *::before,
      *::after {
        transition: none !important;
        animation: none !important;
      }
    }

    @supports (padding: max(0px)) {
      .nav-drawer {
        padding-bottom: max(18px, env(safe-area-inset-bottom));
      }

      .modal-body {
        padding-bottom: max(20px, env(safe-area-inset-bottom));
      }
    }



    /* Footer brand cleanup */
    .footer-logo-link {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      max-width: 100%;
      border-radius: 10px;
      overflow: hidden;
      background: var(--primary);
      line-height: 0;
      transition: transform .16s ease, opacity .16s ease;
    }

    .footer-logo-link:hover {
      transform: translateY(-1px);
      opacity: .96;
    }

    .footer-logo {
      display: block;
      width: 270px;
      max-width: 100%;
      height: auto;
      object-fit: contain;
    }

    /* Old text-logo styling is no longer used */
    .footer-brand {
      display: none !important;
    }

    /* The old floating mobile search CTA has been removed */
    .mobile-search-cta {
      display: none !important;
    }

    @media (max-width: 640px) {
      .footer-logo-link {
        border-radius: 9px;
      }

      .footer-logo {
        width: 235px;
        max-width: min(100%, 72vw);
      }

      .footer-brand-block>p {
        margin-top: 15px;
      }
    }

    @media (max-width: 390px) {
      .footer-logo {
        width: 215px;
        max-width: 75vw;
      }
    }



    /* Plain text footer logo */
    .footer-logo-link,
    .footer-logo {
      display: none !important;
    }

    .footer-text-logo {
      display: inline-block;
      width: fit-content;
      padding: 0;
      margin: 0;
      background: none;
      color: #fff;
      font-family: inherit;
      font-size: 1.35rem;
      font-weight: 600;
      line-height: 1.2;
      letter-spacing: -.02em;
      text-decoration: none;
    }

    .footer-text-logo:hover {
      color: #fff;
      opacity: .82;
    }

    @media (max-width: 640px) {
      .footer-text-logo {
        font-size: 1.25rem;
      }
    }



    /* Footer typography: normal, calm weights */
    .footer-text-logo {
      font-family: inherit !important;
      font-size: 1.3rem !important;
      font-weight: 400 !important;
      letter-spacing: 0 !important;
      line-height: 1.25 !important;
    }

    .footer-brand-block>p,
    .footer-links a,
    .footer-links button,
    .footer-social-link,
    .footer-bottom,
    .footer-bottom a,
    .footer-bottom-note {
      font-weight: 400 !important;
    }

    .footer-group h3 {
      font-weight: 600 !important;
      letter-spacing: .08em !important;
    }

    .footer-cta {
      display: none !important;
    }

    @media (max-width: 640px) {
      .footer-text-logo {
        font-size: 1.22rem !important;
      }

      .footer-links a,
      .footer-links button {
        font-weight: 400 !important;
      }
    }



    /* ======================================================================
       2026 visual refresh — inspired by the travel-booking layout in the
       supplied reference screenshots. Keeps compare.flights branding/content.
       ====================================================================== */
    :root {
      --primary: #FCBA16;
      --primary-hover: #FCBA16;
      --primary-soft: #FCBA16;
      --nav: #074B87;
      --nav-deep: #063D73;
      --nav-light: #0B5EA8;
      --ink: #10213A;
      --muted: #637187;
      --line: #D9E4EF;
      --soft: #EEF5FB;
      --white: #FFFFFF;
      --radius: 16px;
      --shadow: 0 12px 34px rgba(8, 49, 89, .16);
      --container: 1228px;
    }

    html {
      scroll-padding-top: 86px;
    }

    body {
      background: #EEF5FB;
      color: var(--ink);
    }

    a {
      color: #075EB2;
    }

    /* Header */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: var(--nav);
      box-shadow: 0 1px 0 rgba(255, 255, 255, .12), 0 8px 24px rgba(6, 55, 100, .08);
    }

    .brand-band {
      background: var(--nav);
    }

    .header-row {
      min-height: 76px;
      gap: 22px;
    }

    .brand--navy {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: #fff;
      line-height: 1;
      flex: 0 0 auto;
    }

    .brand--navy:hover {
      color: #fff;
    }

    .brand-plane {
      width: 34px;
      height: 34px;
      display: inline-grid;
      place-items: center;
      border: 3px solid var(--primary);
      border-radius: 9px;
      color: #fff;
    }

    .brand-plane svg {
      width: 20px;
      height: 20px;
      fill: currentColor;
    }

    .brand-name {
      color: #fff;
      font-size: 1.43rem;
      font-weight: 850;
      letter-spacing: -.045em;
      white-space: nowrap;
    }

    .brand-name>span {
      color: var(--primary);
    }

    .header-book-link {
      margin-right: auto;
      min-height: 44px;
      padding: 0 18px;
      border-radius: 24px;
      background: var(--nav-light);
      color: #fff;
      font-size: .88rem;
      font-weight: 800;
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
    }

    .header-book-link:hover {
      background: #0C68B9;
      color: #fff;
    }

    .nav-links--compact {
      margin-left: 0;
      gap: 4px;
    }

    .nav-links--compact>a {
      color: rgba(255, 255, 255, .9);
      padding: 12px 12px;
      border-radius: 10px;
      font-weight: 700;
    }

    .nav-links--compact>a:hover {
      color: #fff;
      background: rgba(255, 255, 255, .08);
    }

    .menu-button {
      color: #fff;
      border-color: rgba(255, 255, 255, .25);
    }

    /* Hero */
    .cheaptickets-hero {
      position: relative;
      min-height: 480px;
      display: grid;
      align-items: center;
      overflow: hidden;
      padding: 74px 0 148px;
      background: #183B58;
      color: #fff;
    }

    .cheaptickets-hero-bg {
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(11, 37, 59, .40), rgba(11, 37, 59, .06) 52%, rgba(11, 37, 59, .24)),
        linear-gradient(0deg, rgba(11, 37, 59, .28), rgba(11, 37, 59, .02) 55%),
        url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?w=2000&q=82&auto=format&fit=crop') center 46% / cover no-repeat;
      transform: scale(1.01);
    }

    .cheaptickets-hero .human-hero-inner {
      position: relative;
      z-index: 1;
      max-width: 760px;
      margin-inline: auto;
      text-align: center;
      color: #fff;
    }

    .cheaptickets-hero .human-hero-note {
      margin: 0 0 4px;
      color: #fff;
      font-size: 1.3rem;
      line-height: 1.15;
      font-weight: 750;
      text-shadow: 0 2px 12px rgba(0, 0, 0, .28);
    }

    .cheaptickets-hero h1 {
      max-width: none;
      margin: 0;
      color: #fff;
      font-size: clamp(3rem, 5vw, 4.7rem);
      line-height: 1;
      letter-spacing: -.045em;
      text-shadow: 0 3px 16px rgba(0, 0, 0, .35);
    }

    .cheaptickets-hero .hero-sub {
      max-width: 620px;
      margin: 14px auto 0;
      color: rgba(255, 255, 255, .92);
      font-size: 1rem;
      line-height: 1.5;
      text-shadow: 0 2px 9px rgba(0, 0, 0, .30);
    }

    .hero-price {
      margin: 18px 0 0;
      color: #fff;
      font-size: .95rem;
      font-weight: 650;
      text-shadow: 0 2px 9px rgba(0, 0, 0, .30);
    }

    .hero-price strong {
      font-weight: 800;
    }

    .hero-price span {
      display: inline-block;
      margin-left: 6px;
      padding: 1px 4px 3px;
      color: #fff;
      font-size: 1.7rem;
      font-weight: 900;
      line-height: 1;
      border-bottom: 5px solid var(--primary);
    }

    /* Large rounded search bar */
    .search-wrap {
      position: relative;
      z-index: 8;
      max-width: var(--container) !important;
      margin-top: -92px !important;
      padding-inline: var(--gutter) !important;
    }

    .search-panel {
      width: 100%;
      padding: 14px 24px 16px;
      border: 0;
      border-radius: 44px;
      background: var(--nav);
      box-shadow: 0 18px 42px rgba(7, 75, 135, .28);
    }

    .tp-search-head {
      display: none;
    }

    #tpwl-search,
    #tpwl-search>*,
    #tpwl-search form {
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
      box-sizing: border-box !important;
    }

    #tpwl-search form {
      display: flex !important;
      align-items: stretch !important;
      gap: 0 !important;
      padding: 0 !important;
      overflow: hidden !important;
      border-radius: 25px !important;
      background: #fff !important;
      box-shadow: 0 0 0 1px rgba(8, 51, 91, .08) !important;
    }

    #tpwl-search form>* {
      min-width: 0 !important;
      border-radius: 0 !important;
      border-right: 1px solid #D9E4EF !important;
      background: #fff !important;
    }

    #tpwl-search form>*:last-child {
      border-right: 0 !important;
    }

    #tpwl-search input,
    #tpwl-search select,
    #tpwl-search textarea {
      min-height: 66px !important;
      padding: 0 18px !important;
      border: 0 !important;
      border-radius: 0 !important;
      background: #fff !important;
      color: #11243D !important;
      font-size: 16px !important;
      box-shadow: none !important;
      outline-color: #0B5EA8 !important;
    }

    #tpwl-search button,
    #tpwl-search input[type="submit"] {
      min-width: 72px !important;
      min-height: 66px !important;
      padding: 0 22px !important;
      border: 0 !important;
      border-radius: 0 !important;
      background: var(--primary) !important;
      color: var(--nav) !important;
      font-weight: 900 !important;
      box-shadow: none !important;
    }

    #tpwl-search button:hover,
    #tpwl-search input[type="submit"]:hover {
      background: var(--primary-hover) !important;
    }

    .human-search-foot {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 8px;
      color: rgba(255, 255, 255, .88);
      font-size: .76rem;
      font-weight: 650;
    }

    .human-search-foot span[aria-hidden="true"] {
      color: var(--primary);
    }

    /* Small inspiration text link inside the search panel */
    .search-inspiration-row {
      display: flex;
      justify-content: flex-start;
      margin: 0 0 4px;
    }

    #tpwl-search {
      margin-top: -2px;
    }

    .search-inspiration-cta {
      display: inline;
      padding: 0;
      border: 0;
      background: transparent;
      color: rgba(255, 255, 255, .82);
      font-size: .76rem;
      font-weight: 600;
      line-height: 1.4;
      text-decoration: none;
      transition: color .16s ease;
    }

    .search-inspiration-cta:hover,
    .search-inspiration-cta:focus-visible {
      color: #fff;
      text-decoration: underline;
      text-underline-offset: 3px;
    }


    /* Compact inspiration spacing + pre-search trust strip */
    .search-inspiration-row {
      margin-bottom: -6px;
      min-height: 18px;
      align-items: center;
    }

    .search-inspiration-cta {
      line-height: 1.18;
    }

    #tpwl-search {
      margin-top: -6px;
    }

    .search-benefits-strip {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0;
      margin-top: 10px;
      overflow: hidden;
      border-radius: 16px;
      background: var(--primary);
      box-shadow: 0 10px 24px rgba(17, 19, 24, .10);
    }

    .search-benefit-item {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 10px;
      min-height: 58px;
      padding: 10px 16px;
      color: var(--nav-deep);
      font-size: .82rem;
      font-weight: 800;
      line-height: 1.22;
    }

    .search-benefit-item+.search-benefit-item {
      border-left: 1px solid rgba(46, 48, 52, .12);
    }

    .search-benefit-icon {
      width: 32px;
      height: 32px;
      flex: 0 0 32px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: #fff;
      color: var(--nav-deep);
    }

    .search-benefit-icon svg {
      width: 18px;
      height: 18px;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.9;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    body.has-flight-results .search-benefits-strip,
    body.flight-search-started .search-benefits-strip {
      display: none;
    }

    @media (max-width: 900px) {
      .search-benefits-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-radius: 14px;
      }

      .search-benefit-item:nth-child(3) {
        border-left: 0;
      }

      .search-benefit-item:nth-child(n+3) {
        border-top: 1px solid rgba(46, 48, 52, .12);
      }
    }

    @media (max-width: 520px) {
      .search-benefits-strip {
        grid-template-columns: 1fr;
      }

      .search-benefit-item {
        min-height: 50px;
        padding: 8px 12px;
        font-size: .78rem;
      }

      .search-benefit-item+.search-benefit-item {
        border-left: 0;
        border-top: 1px solid rgba(46, 48, 52, .12);
      }

      .search-benefit-icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
      }
    }

    @media (max-width: 640px) {
      .search-inspiration-row {
        justify-content: flex-start;
        margin: 0 0 4px;
      }
    }

    /* Content canvas */
    .results-free-space {
      background: transparent;
    }

    .results-panel.is-visible {
      border-color: #C9D9E8;
      border-radius: 18px;
      box-shadow: 0 10px 28px rgba(8, 49, 89, .08);
    }

    .section {
      padding: 62px 0;
      background: #fff;
    }

    .section--soft {
      background: var(--soft);
    }

    #why-compare-flights {
      padding-top: 94px;
    }

    .section-head {
      max-width: 720px;
    }

    .section-head h2 {
      color: #0758A5;
      letter-spacing: -.035em;
    }

    .section-head p {
      color: #6B798D;
    }

    .section-kicker {
      display: inline-block;
      margin-bottom: 8px;
      color: #0758A5;
      font-size: .72rem;
      font-weight: 900;
      letter-spacing: .10em;
    }

    .benefit-card,
    .route,
    .airport,
    .partner-card,
    .faq-item {
      border-color: #D5E1EC;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(8, 49, 89, .03);
    }

    .benefit-icon {
      color: #0758A5;
    }

    .airport .code {
      background: #E7F1FA;
      color: #0758A5;
    }

    /* Region cards get the same image-header + route-list feel as the reference UI. */
    #top-destinations {
      background: #EEF5FB;
    }

    .region-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 22px;
      align-items: stretch;
    }

    .region-card {
      position: relative;
      overflow: hidden;
      /* Keep every region image in a consistent 16:9 ratio. */
      padding-top: 56.25%;
      border: 1px solid #C8DAEA;
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 7px 18px rgba(8, 49, 89, .05);
    }

    .region-card::before {
      content: '';
      position: absolute;
      inset: 0 0 auto 0;
      width: 100%;
      height: auto;
      aspect-ratio: 16 / 9;
      background-color: #D9E7F3;
      background-size: cover;
      background-position: center;
    }

    .region-card:nth-child(1)::before {
      background-image: linear-gradient(0deg, rgba(7, 75, 135, .35), rgba(7, 75, 135, .02)), url('https://images.unsplash.com/photo-1534351590666-13e3e96b5017?w=900&q=78&auto=format&fit=crop');
    }

    .region-card:nth-child(2)::before {
      background-image: linear-gradient(0deg, rgba(7, 75, 135, .35), rgba(7, 75, 135, .02)), url('https://images.unsplash.com/photo-1485871981521-5b1fd3805eee?w=900&q=78&auto=format&fit=crop');
    }

    .region-card:nth-child(3)::before {
      background-image: linear-gradient(0deg, rgba(7, 75, 135, .35), rgba(7, 75, 135, .02)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=900&q=78&auto=format&fit=crop');
    }

    .region-card:nth-child(4)::before {
      background-image: linear-gradient(0deg, rgba(7, 75, 135, .35), rgba(7, 75, 135, .02)), url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?w=900&q=78&auto=format&fit=crop');
    }

    .region-card:nth-child(5)::before {
      background-image: linear-gradient(0deg, rgba(7, 75, 135, .35), rgba(7, 75, 135, .02)), url('https://images.unsplash.com/photo-1516026672322-bc52d61a55d5?w=900&q=78&auto=format&fit=crop');
    }

    .region-card:nth-child(6)::before {
      background-image: linear-gradient(0deg, rgba(7, 75, 135, .35), rgba(7, 75, 135, .02)), url('https://images.unsplash.com/photo-1483729558449-99ef09a8c325?w=900&q=78&auto=format&fit=crop');
    }

    .region-card-head {
      position: absolute;
      z-index: 2;
      top: 0;
      left: 0;
      right: 0;
      height: auto;
      aspect-ratio: 16 / 9;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 10px;
      padding: 18px 18px 17px;
      color: #fff;
      background: linear-gradient(0deg, rgba(8, 36, 61, .50), rgba(8, 36, 61, 0) 58%);
    }

    .region-card-head h3 {
      color: #fff;
      font-size: 1.72rem;
      line-height: 1;
      text-shadow: 0 2px 8px rgba(0, 0, 0, .28);
    }

    .region-count {
      color: rgba(255, 255, 255, .88);
      font-size: .70rem;
      font-weight: 700;
    }

    .region-list {
      padding: 0;
    }

    .region-link {
      min-height: 70px;
      padding: 13px 16px;
      border-top: 1px solid #D9E4EF;
      background: #fff;
    }

    .region-link:first-child {
      border-top: 0;
    }

    .region-city {
      color: #075EB2;
      font-weight: 850;
    }

    .region-country {
      margin-top: 4px;
      color: #5D6D82;
    }

    .region-link .go {
      color: #075EB2;
    }

    /* Destination images stay clean, with sharper booking-site cards. */
    .dest-grid {
      gap: 18px;
    }

    .dest {
      min-height: 240px;
      border-radius: 8px;
      border: 1px solid #C8DAEA;
      box-shadow: 0 7px 18px rgba(8, 49, 89, .05);
    }

    .dest .overlay {
      background: linear-gradient(180deg, rgba(5, 33, 56, .02) 40%, rgba(5, 33, 56, .78));
    }

    .dest .city {
      font-size: 1.35rem;
    }

    /* Footer */
    .pre-footer-trust {
      border-top: 4px solid var(--primary);
      background: var(--nav);
      color: rgba(255, 255, 255, .92);
    }

    .pre-footer-trust-inner {
      min-height: 82px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      text-align: center;
      font-size: .92rem;
    }

    .pre-footer-trust strong {
      color: #fff;
    }

    .pre-footer-dot {
      color: var(--primary);
      font-size: 1.3rem;
    }

    .site-footer {
      padding: 50px 0 24px;
      border-top: 1px solid rgba(255, 255, 255, .08);
      background: var(--nav);
      color: rgba(255, 255, 255, .78);
    }

    .footer-text-logo,
    .footer-group h3 {
      color: #fff;
    }

    .footer-links a,
    .footer-links button {
      color: rgba(255, 255, 255, .86);
    }

    .footer-links a:hover,
    .footer-links button:hover {
      color: var(--primary);
    }

    .footer-social-link {
      border-color: rgba(255, 255, 255, .22);
      color: #fff;
    }

    .footer-bottom {
      border-top-color: rgba(255, 255, 255, .14);
      color: rgba(255, 255, 255, .54);
    }

    @media (max-width: 980px) {
      .nav-links--compact {
        display: none;
      }

      .header-book-link {
        margin-right: 0;
      }

      .menu-button {
        display: inline-flex;
      }

      .cheaptickets-hero {
        min-height: 420px;
        padding-bottom: 130px;
      }

      .region-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      #tpwl-search form {
        flex-wrap: wrap !important;
        border-radius: 18px !important;
      }

      #tpwl-search form>* {
        flex: 1 1 50% !important;
        border-bottom: 1px solid #D9E4EF !important;
      }
    }

    @media (max-width: 700px) {
      html {
        scroll-padding-top: 72px;
      }

      .header-row {
        min-height: 66px;
        gap: 10px;
      }

      .brand-name {
        font-size: 1.08rem;
      }

      .brand-plane {
        width: 30px;
        height: 30px;
        border-width: 2px;
      }

      .header-book-link {
        display: none;
      }

      .cheaptickets-hero {
        min-height: 390px;
        padding: 64px 0 118px;
      }

      .cheaptickets-hero-bg {
        background-position: 58% center;
      }

      .cheaptickets-hero .human-hero-note {
        font-size: 1rem;
      }

      .cheaptickets-hero h1 {
        font-size: clamp(2.65rem, 14vw, 4rem);
      }

      .cheaptickets-hero .hero-sub {
        font-size: .90rem;
      }

      .hero-price {
        font-size: .82rem;
      }

      .hero-price span {
        font-size: 1.35rem;
        border-bottom-width: 4px;
      }

      .search-wrap {
        margin-top: -78px !important;
      }

      .search-panel {
        padding: 16px;
        border-radius: 24px;
      }

      .tp-search-head {
        display: block;
        margin: 0 0 12px;
        color: #fff;
      }

      .tp-search-head h2 {
        color: #fff;
        font-size: 1.05rem;
      }

      .tp-search-head p {
        color: rgba(255, 255, 255, .76);
        font-size: .76rem;
      }

      #tpwl-search form {
        display: block !important;
        overflow: hidden !important;
        border-radius: 14px !important;
      }

      #tpwl-search form>* {
        width: 100% !important;
        border-right: 0 !important;
        border-bottom: 1px solid #D9E4EF !important;
      }

      #tpwl-search input,
      #tpwl-search select,
      #tpwl-search textarea,
      #tpwl-search button,
      #tpwl-search input[type="submit"] {
        min-height: 56px !important;
      }

      .human-search-foot {
        gap: 6px;
        font-size: .69rem;
      }

      #why-compare-flights {
        padding-top: 70px;
      }

      .section {
        padding: 42px 0;
      }

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

      .region-card {
        padding-top: 56.25%;
      }

      .region-card::before,
      .region-card-head {
        height: auto;
        aspect-ratio: 16 / 9;
      }

      .pre-footer-trust-inner {
        flex-direction: column;
        gap: 4px;
        padding-block: 18px;
      }

      .pre-footer-dot {
        display: none;
      }
    }


    /* ======================================================================
       Simple, human pass — keeps the booking-site feel without looking over-designed.
       ====================================================================== */
    :root {
      --radius: 12px;
      --shadow: 0 8px 24px rgba(8, 49, 89, .10);
    }

    body {
      background: #fff;
    }

    .site-header {
      box-shadow: none;
    }

    .header-row {
      min-height: 68px;
      gap: 18px;
    }

    .header-spacer {
      margin-right: auto;
    }

    .brand-plane {
      width: 30px;
      height: 30px;
      border-width: 2px;
      border-radius: 7px;
    }

    .brand-plane svg {
      width: 18px;
      height: 18px;
    }

    .brand-name {
      font-size: 1.26rem;
      font-weight: 800;
    }

    .nav-links--compact>a {
      padding: 10px 9px;
      font-size: .88rem;
      font-weight: 600;
    }

    .cheaptickets-hero {
      min-height: 290px;
      padding: 38px 0 72px;
      align-items: center;
    }

    .cheaptickets-hero-bg {
      background:
        linear-gradient(90deg, rgba(7, 31, 51, .52), rgba(7, 31, 51, .12) 70%),
        linear-gradient(0deg, rgba(7, 31, 51, .34), rgba(7, 31, 51, .02) 60%),
        url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?w=2000&q=82&auto=format&fit=crop') center 46% / cover no-repeat;
    }

    .cheaptickets-hero .human-hero-inner {
      max-width: 720px;
      margin-inline: 0 auto;
      text-align: left;
      padding-right: 24px;
    }

    .cheaptickets-hero h1 {
      max-width: 16ch;
      font-size: clamp(2.25rem, 4.25vw, 3.65rem);
      line-height: 1.04;
      letter-spacing: -.035em;
      text-wrap: balance;
      text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
    }

    .cheaptickets-hero .hero-sub {
      max-width: 610px;
      margin: 12px 0 0;
      font-size: 1.02rem;
      line-height: 1.48;
      text-wrap: pretty;
      text-shadow: 0 1px 7px rgba(0, 0, 0, .24);
    }

    .human-hero-note,
    .hero-price {
      display: none !important;
    }

    .search-wrap {
      margin-top: -66px !important;
    }

    .search-panel {
      padding: 18px;
      border-radius: 24px;
      box-shadow: var(--shadow);
    }

    #tpwl-search form {
      border-radius: 14px !important;
    }

    #tpwl-search input,
    #tpwl-search select,
    #tpwl-search textarea,
    #tpwl-search button,
    #tpwl-search input[type="submit"] {
      min-height: 60px !important;
    }

    .human-search-foot {
      margin-top: 10px;
      gap: 7px;
      font-size: .72rem;
      font-weight: 500;
    }

    .section {
      padding: 54px 0;
    }

    #why-compare-flights {
      padding-top: 76px;
    }

    .section-head {
      max-width: 650px;
    }

    .section-head h2 {
      color: var(--ink);
      font-size: clamp(1.65rem, 2.7vw, 2.2rem);
      letter-spacing: -.03em;
    }

    .section-head p {
      color: #66758A;
    }

    .section-kicker {
      display: none;
    }

    .benefit-card,
    .route,
    .airport,
    .partner-card,
    .faq-item,
    .dest,
    .region-card {
      box-shadow: none;
    }

    .benefit-card,
    .route,
    .airport,
    .partner-card,
    .faq-item {
      border-color: #DEE6EE;
      border-radius: 10px;
    }

    .benefit-card {
      padding: 22px;
    }

    .benefit-card h3 {
      font-size: 1rem;
    }

    .benefit-card p {
      color: #66758A;
      font-size: .9rem;
    }

    .dest,
    .region-card {
      border-radius: 10px;
    }

    .region-card-head h3 {
      font-size: 1.42rem;
    }

    .region-count {
      display: none;
    }

    .pre-footer-trust {
      display: none;
    }

    .site-footer {
      padding-top: 42px;
      border-top: 4px solid var(--primary);
    }

    @media (max-width: 700px) {
      .header-row {
        min-height: 62px;
      }

      .brand-name {
        font-size: 1rem;
      }

      .cheaptickets-hero {
        min-height: 250px;
        padding: 30px 0 58px;
        align-items: center;
      }

      .cheaptickets-hero .human-hero-inner {
        max-width: 100%;
        text-align: left;
        padding-right: 10px;
      }

      .cheaptickets-hero h1 {
        max-width: 15ch;
        font-size: clamp(2rem, 9.5vw, 2.65rem);
        line-height: 1.06;
        letter-spacing: -.03em;
      }

      .cheaptickets-hero .hero-sub {
        max-width: 36ch;
        margin: 10px 0 0;
        font-size: .95rem;
        line-height: 1.48;
      }

      .search-wrap {
        margin-top: -40px !important;
      }

      .search-panel {
        border-radius: 18px;
        padding: 14px;
      }

      .tp-search-head {
        display: none;
      }

      #why-compare-flights {
        padding-top: 58px;
      }

      .section {
        padding: 40px 0;
      }
    }



    /* ======================================================================
       compare.flights brand system — FCBA16 primary / gray secondary
       Primary actions and highlights use yellow; neutral grays carry the UI.
       ====================================================================== */
    :root {
      --primary: #FCBA16;
      --primary-hover: #FCBA16;
      --primary-soft: #FCBA16;
      --primary-subtle: #FCBA16;

      --secondary: #4A4D52;
      --secondary-dark: #2E3034;
      --secondary-mid: #6B6F76;
      --secondary-light: #E2E4E7;

      --nav: #3F4247;
      --nav-deep: #2E3034;
      --nav-light: #5A5E64;
      --ink: #292B2F;
      --muted: #70747A;
      --line: #E1E3E6;
      --soft: #F5F5F3;
      --white: #FFFFFF;
      --shadow: 0 10px 28px rgba(46, 48, 52, .10);
    }

    body {
      background: #FFFFFF;
      color: var(--ink);
    }

    a {
      color: var(--secondary-dark);
    }

    a:hover {
      color: #111214;
    }

    /* Header: primary yellow. Gray is the supporting brand colour. */
    .site-header,
    .brand-band {
      background: var(--primary) !important;
    }

    .site-header {
      border-bottom: 1px solid rgba(46, 48, 52, .14);
      box-shadow: 0 4px 18px rgba(46, 48, 52, .08);
    }

    .brand--navy,
    .brand--navy:hover,
    .brand-name,
    .brand-name>span {
      color: var(--secondary-dark) !important;
    }

    .brand-name>span {
      opacity: .72;
    }

    .brand-plane {
      color: var(--secondary-dark) !important;
      border-color: var(--secondary-dark) !important;
      background: rgba(255, 255, 255, .22) !important;
    }

    .nav-links--compact>a {
      color: rgba(46, 48, 52, .88) !important;
    }

    .nav-links--compact>a:hover,
    .nav-links--compact>a:focus-visible {
      color: var(--secondary-dark) !important;
      background: rgba(46, 48, 52, .08) !important;
    }

    .nav-links--compact>a.is-active {
      color: var(--secondary-dark) !important;
      box-shadow: inset 0 -3px 0 var(--secondary-dark) !important;
    }

    .menu-button {
      color: var(--secondary-dark) !important;
      border-color: rgba(46, 48, 52, .28) !important;
      background: rgba(255, 255, 255, .22) !important;
    }

    .menu-button:hover {
      background: rgba(255, 255, 255, .38) !important;
    }

    /* Search and footer: brand blue */
    .search-panel,
    .site-footer {
      background: #002b5c !important;
    }

    /* Keep the pre-footer trust strip unchanged */
    .pre-footer-trust {
      background: var(--secondary-dark) !important;
    }

    .search-panel {
      border: 1px solid rgba(255, 255, 255, .08);
      box-shadow: 0 12px 30px rgba(46, 48, 52, .18);
    }

    .pre-footer-trust {
      border-top-color: var(--primary) !important;
    }

    /* Primary actions */
    #tpwl-search button,
    #tpwl-search input[type="submit"],
    .btn-primary,
    .footer-cta,
    .mobile-search-cta {
      background: var(--primary) !important;
      color: var(--secondary-dark) !important;
      border-color: var(--primary) !important;
    }

    #tpwl-search button:hover,
    #tpwl-search input[type="submit"]:hover,
    .btn-primary:hover,
    .footer-cta:hover,
    .mobile-search-cta:hover {
      background: var(--primary-hover) !important;
      color: var(--secondary-dark) !important;
    }

    #tpwl-search input:focus,
    #tpwl-search select:focus,
    #tpwl-search textarea:focus,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible,
    button:focus-visible,
    a:focus-visible {
      outline-color: #FCBA16 !important;
    }

    /* Content: neutral gray hierarchy + selective yellow accents */
    .results-free-space {
      background: transparent !important;
    }

    .results-panel.is-visible {
      border-color: var(--line) !important;
      box-shadow: 0 10px 28px rgba(46, 48, 52, .08) !important;
    }

    .section {
      background: #FFFFFF !important;
    }

    .section--soft,
    #top-destinations {
      background: var(--soft) !important;
    }

    .section-head h2,
    .section-kicker {
      color: var(--secondary-dark) !important;
    }

    .section-head p,
    .benefit-card p,
    .partner-card p,
    .region-country {
      color: var(--muted) !important;
    }

    .section-kicker {
      text-decoration-color: var(--primary);
      text-decoration-thickness: 3px;
      text-underline-offset: 5px;
    }

    .benefit-card,
    .route,
    .airport,
    .partner-card,
    .faq-item,
    .region-card,
    .dest {
      border-color: var(--line) !important;
      box-shadow: 0 5px 16px rgba(46, 48, 52, .045) !important;
    }

    .route:hover,
    .airport:hover,
    .region-link:hover,
    .partner-card:hover,
    .benefit-card:hover {
      border-color: #C9CCD0 !important;
      background: #FAFAF8 !important;
    }

    .benefit-icon {
      color: var(--secondary-dark) !important;
      background: var(--primary-soft) !important;
    }

    .airport .code {
      background: var(--primary-soft) !important;
      color: var(--secondary-dark) !important;
    }

    .region-city,
    .region-link .go,
    .route strong,
    .airport strong {
      color: var(--secondary-dark) !important;
    }

    .region-card-head {
      border-top-color: var(--primary) !important;
    }

    .region-link {
      border-top-color: var(--line) !important;
    }

    /* Keep photo cards legible, but neutral instead of blue-toned. */
    .dest .overlay {
      background: linear-gradient(180deg, rgba(35, 36, 39, .02) 38%, rgba(35, 36, 39, .80)) !important;
    }

    .region-card::after {
      content: '';
      position: absolute;
      inset: 0 0 auto 0;
      height: 158px;
      pointer-events: none;
      background: linear-gradient(180deg, rgba(46, 48, 52, .02), rgba(46, 48, 52, .24));
    }

    .region-card-head,
    .region-list {
      position: relative;
      z-index: 1;
    }

    /* FAQ / controls */
    .faq-item summary:hover {
      color: var(--secondary-dark) !important;
    }

    .faq-item[open] {
      border-color: #D2D4D7 !important;
    }

    /* Footer: gray foundation, yellow only for interaction/accent. */
    .site-footer {
      border-top: 4px solid var(--primary) !important;
    }

    .footer-text-logo,
    .footer-group h3 {
      color: #FFFFFF !important;
    }

    .footer-links a,
    .footer-links button {
      color: rgba(255, 255, 255, .80) !important;
    }

    .footer-links a:hover,
    .footer-links button:hover {
      color: var(--primary) !important;
    }

    .footer-social-link {
      border-color: rgba(255, 255, 255, .22) !important;
      color: #FFFFFF !important;
    }

    .footer-social-link:hover {
      border-color: var(--primary) !important;
      color: var(--primary) !important;
    }

    .footer-bottom {
      border-top-color: rgba(255, 255, 255, .14) !important;
      color: rgba(255, 255, 255, .56) !important;
    }

    .human-search-foot span[aria-hidden="true"],
    .pre-footer-dot {
      color: var(--primary) !important;
    }

    /* Drawer/modal surfaces follow the same neutral system. */
    .mobile-drawer,
    .modal-panel {
      color: var(--ink);
    }

    .mobile-drawer a:hover,
    .mobile-drawer button:hover {
      background: var(--primary-subtle) !important;
    }

    @media (max-width: 700px) {

      .site-header,
      .brand-band {
        background: var(--primary) !important;
      }
    }


    /* Header logo override: use uploaded compare.flights image mark */
    .brand {
      display: inline-flex;
      align-items: center;
      line-height: 0;
    }

    .brand-logo {
      display: block;
      width: auto;
      height: 38px !important;
      max-width: 260px !important;
      object-fit: contain;
    }

    @media (max-width: 1080px) {
      .brand-logo {
        height: 44px !important;
        max-width: 290px !important;
      }
    }

    @media (max-width: 900px) {
      .brand-logo {
        height: 40px !important;
        max-width: min(250px, 62vw) !important;
      }
    }

    @media (max-width: 640px) {
      .brand-logo {
        height: 36px !important;
        max-width: min(220px, 62vw) !important;
      }
    }

    /* Final region-card layout fix: keep photo, overlay and heading in one 16:9 layer.
       A later theme rule made .region-card-head relative, which created a second
       16:9 block and the large empty gap visible between the photo and routes. */
    .region-card {
      padding-top: 56.25% !important;
    }

    .region-card::before,
    .region-card::after,
    .region-card-head {
      position: absolute !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      width: 100% !important;
      height: auto !important;
      aspect-ratio: 16 / 9 !important;
    }

    .region-card::before {
      z-index: 0;
    }

    .region-card::after {
      z-index: 1;
      pointer-events: none;
      background: linear-gradient(180deg, rgba(46, 48, 52, .02) 36%, rgba(46, 48, 52, .48) 100%) !important;
    }

    .region-card-head {
      z-index: 2 !important;
      align-items: flex-end;
      border-top: 0 !important;
      border-bottom: 3px solid var(--primary) !important;
      background: linear-gradient(0deg, rgba(35, 36, 39, .52), rgba(35, 36, 39, 0) 58%) !important;
    }

    .region-list {
      position: relative !important;
      z-index: 3 !important;
    }

    /* Final search-head spacing: keep inspiration text tight to TP currency row. */
    .search-inspiration-row {
      margin-top: -2px !important;
      margin-bottom: -10px !important;
    }

    #tpwl-search {
      margin-top: -4px !important;
    }

    @media (max-width: 640px) {
      .search-inspiration-row {
        margin-top: 0 !important;
        margin-bottom: -4px !important;
      }

      #tpwl-search {
        margin-top: -2px !important;
      }
    }

    /* Mobile header menu: simple hamburger with label underneath */
    .menu-label {
      display: none;
    }

    @media (max-width: 900px) {
      .site-header .menu-button {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        width: 48px;
        height: 50px;
        margin-left: auto;
        padding: 2px 0 0;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: var(--secondary-dark) !important;
      }

      .site-header .menu-button:hover,
      .site-header .menu-button:active {
        background: transparent !important;
      }

      .site-header .menu-button .icon {
        width: 27px;
        height: 23px;
        stroke-width: 2;
      }

      .site-header .menu-button .menu-label {
        display: block;
        margin: 0;
        font-size: 10px;
        line-height: 1;
        font-weight: 700;
        letter-spacing: .02em;
      }
    }

    /* Compact mobile hero */
    @media (max-width: 700px) {
      .cheaptickets-hero {
        min-height: 220px !important;
        padding: 20px 0 44px !important;
        align-items: center !important;
      }

      .cheaptickets-hero-bg {
        background-position: 58% center;
      }

      .cheaptickets-hero .human-hero-inner {
        padding-right: 8px;
      }

      .cheaptickets-hero h1 {
        font-size: clamp(1.9rem, 8.8vw, 2.4rem) !important;
        line-height: 1.05;
      }

      .cheaptickets-hero .hero-sub {
        max-width: 35ch;
        margin-top: 8px;
        font-size: .90rem !important;
        line-height: 1.42;
      }

      .search-wrap {
        margin-top: -32px !important;
      }
    }


    /* Travel announcement bar */
    .announcement-bar {
      position: relative;
      z-index: 60;
      background: rgba(255, 250, 235, .96);
      color: #2a241a;
      border-bottom: 1px solid rgba(42, 36, 26, .08);
      box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }

    .announcement-inner {
      width: min(100% - 32px, var(--container));
      min-height: 38px;
      margin-inline: auto;
      padding: 7px 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      text-align: center;
      font-size: .78rem;
      line-height: 1.35;
      font-weight: 560;
      letter-spacing: -.005em;
    }

    .announcement-icon {
      width: 17px;
      height: 17px;
      flex: 0 0 17px;
      color: #8d6412;
    }

    .announcement-inner strong {
      font-weight: 800;
      color: #17191f;
    }

    .announcement-inner>div {
      max-width: 1080px;
    }

    @media (max-width: 700px) {
      .announcement-inner {
        width: min(100% - 24px, var(--container));
        min-height: 0;
        padding: 8px 0;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 8px;
        text-align: left;
        font-size: .72rem;
        line-height: 1.38;
      }

      .announcement-icon {
        width: 15px;
        height: 15px;
        flex-basis: 15px;
        margin-top: 1px;
      }

      .announcement-inner>div {
        max-width: none;
      }
    }

    /* =========================================================
       Mobile menu — simple full-width drawer below the header
       ========================================================= */
    @media (max-width: 980px) {
      .nav-overlay {
        position: fixed;
        left: 0;
        right: 0;
        top: var(--drawer-top, 76px);
        bottom: 0;
        z-index: 110;
        background: rgba(20, 24, 34, .28);
        opacity: 0;
        transition: opacity .18s ease;
      }

      .nav-overlay.is-open {
        opacity: 1;
      }

      .nav-drawer.mobile-simple-menu {
        position: fixed;
        left: 0;
        right: 0;
        top: var(--drawer-top, 76px);
        z-index: 120;
        width: 100%;
        max-width: none;
        height: calc(100dvh - var(--drawer-top, 76px));
        padding: 18px 18px max(18px, env(safe-area-inset-bottom));
        background: #fff;
        box-shadow: 0 14px 30px rgba(0, 0, 0, .14);
        display: flex;
        flex-direction: column;
        gap: 10px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform .18s ease, opacity .18s ease, visibility 0s linear .18s;
      }

      .nav-drawer.mobile-simple-menu.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: transform .18s ease, opacity .18s ease;
      }

      .nav-drawer.mobile-simple-menu>header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 46px;
        padding: 0 0 12px;
        border-bottom: 1px solid var(--line);
        font-size: 1rem;
        font-weight: 800;
      }

      .nav-drawer.mobile-simple-menu .close {
        width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        color: var(--ink);
        font-size: 21px;
        line-height: 1;
        cursor: pointer;
      }

      .nav-drawer.mobile-simple-menu nav {
        display: grid;
        gap: 2px;
      }

      .nav-drawer.mobile-simple-menu nav a,
      .nav-drawer.mobile-simple-menu nav button {
        display: block;
        width: 100%;
        min-height: 48px;
        padding: 12px 10px;
        border: 0;
        border-radius: 8px;
        background: none;
        color: var(--ink);
        text-align: left;
        font: inherit;
        font-weight: 650;
        text-decoration: none;
        cursor: pointer;
      }

      .nav-drawer.mobile-simple-menu nav a:hover,
      .nav-drawer.mobile-simple-menu nav a:focus-visible,
      .nav-drawer.mobile-simple-menu nav button:hover,
      .nav-drawer.mobile-simple-menu nav button:focus-visible {
        background: var(--soft);
        outline: none;
      }

      .nav-drawer.mobile-simple-menu .drawer-cta {
        margin-top: auto;
        width: 100%;
        justify-content: center;
        text-align: center;
      }

      body.is-locked {
        overflow: hidden;
        touch-action: none;
      }
    }



    /* International FAQ quick links */
    .faq-shortcuts {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      margin: -4px 0 20px;
    }

    .faq-shortcuts-label {
      margin-right: 2px;
      color: var(--muted);
      font-size: .82rem;
      font-weight: 700;
    }

    .faq-shortcuts a {
      display: inline-flex;
      align-items: center;
      min-height: 36px;
      padding: 8px 11px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #fff;
      color: var(--ink);
      font-size: .82rem;
      font-weight: 650;
      line-height: 1.15;
      transition: background .16s ease, border-color .16s ease, transform .16s ease;
    }

    .faq-shortcuts a:hover {
      border-color: #C9CCD0;
      background: var(--primary-soft);
    }

    .faq-shortcuts a:active {
      transform: translateY(1px);
    }

    .faq-item {
      scroll-margin-top: 110px;
    }

    .faq-item:target {
      border-color: #FCBA16 !important;
      box-shadow: 0 0 0 3px rgba(252, 186, 22, .18) !important;
    }

    @media (max-width: 640px) {
      .faq-shortcuts {
        flex-wrap: nowrap;
        width: calc(100% + var(--gutter));
        margin-right: calc(var(--gutter) * -1);
        padding-right: var(--gutter);
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
      }

      .faq-shortcuts::-webkit-scrollbar {
        display: none;
      }

      .faq-shortcuts-label,
      .faq-shortcuts a {
        flex: 0 0 auto;
      }
    }


    /* ===== INTERNATIONAL SEO CONTENT ===== */
    .seo-flight-guide {
      background: #fff;
    }

    .seo-flight-guide .container {
      max-width: 1040px;
    }

    .seo-flight-guide .section-head {
      max-width: 760px;
      margin-bottom: 22px;
    }

    .seo-flight-guide .section-head p {
      max-width: 720px;
      line-height: 1.7;
    }

    .seo-copy {
      max-width: 820px;
    }

    .seo-copy-block {
      padding: 18px 0;
      border-top: 1px solid var(--line);
    }

    .seo-copy-block:last-child {
      border-bottom: 1px solid var(--line);
    }

    .seo-copy-block h3 {
      margin: 0 0 7px;
      font-size: 1.02rem;
      line-height: 1.35;
      color: var(--ink);
    }

    .seo-copy-block p {
      margin: 0;
      color: var(--muted);
      line-height: 1.65;
    }

    .seo-copy-block a,
    .seo-footer-link {
      color: var(--ink);
      text-decoration: underline;
      text-decoration-thickness: 1px;
      text-underline-offset: 3px;
    }

    .seo-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      margin-top: 20px;
    }

    .seo-footer p {
      margin: 0;
      color: var(--muted);
      line-height: 1.55;
    }

    .seo-footer .btn {
      width: auto;
      flex: 0 0 auto;
      white-space: nowrap;
    }

    @media (max-width: 700px) {
      .seo-flight-guide .section-head {
        margin-bottom: 16px;
      }

      .seo-copy-block {
        padding: 16px 0;
      }

      .seo-footer {
        flex-direction: column;
        align-items: stretch;
      }

      .seo-footer .btn {
        width: 100%;
      }
    }


    /* Social proof CTA above the Travelpayouts search bar */
    .search-social-proof {
      display: block;
      margin: 0 0 14px;
      color: #fff;
      line-height: 1.3;
      text-align: left;
    }

    .search-social-proof::before {
      content: none;
    }

    .search-social-proof strong {
      color: #fff;
      font-weight: 900;
    }

    .search-intro-kicker {
      display: block;
      margin-bottom: 4px;
      font-size: .76rem;
      letter-spacing: .12em;
    }

    .search-intro h2 {
      margin: 0;
      color: #fff;
      font-size: 1.35rem;
      line-height: 1.15;
      letter-spacing: -.025em;
    }

    .search-intro {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      grid-template-rows: auto auto;
      column-gap: 24px;
      align-items: center;
    }

    .search-intro-kicker,
    .search-intro h2 {
      grid-column: 1;
    }

    .search-intro-subtitle {
      display: block;
      grid-column: 2;
      grid-row: 1 / span 2;
      margin: 0;
      font-size: .82rem;
      line-height: 1.35;
      text-align: right;
      white-space: nowrap;
    }

    @media (max-width: 700px) {
      .search-social-proof {
        margin-bottom: 8px;
        font-size: .73rem;
      }

      .search-intro {
        grid-template-columns: 1fr;
      }

      .search-intro-subtitle {
        grid-column: 1;
        grid-row: auto;
        margin-top: 5px;
        text-align: left;
        white-space: normal;
        opacity: .6;
      }
    }

    /* Solid search bar + footer color override */
    .search-panel,
    .site-footer {
      background: #002b5c !important;
      background-color: #002b5c !important;
      background-image: none !important;
    }
  



/* WordPress menu support without changing the original visual system. */
.nav-links .primary-menu,
.nav-drawer .drawer-menu,
.footer-links .footer-menu { list-style:none; margin:0; padding:0; }
.nav-links .primary-menu { display:flex; align-items:center; gap:2px; }
.nav-links .primary-menu a { display:block; padding:10px 11px; border-radius:8px; color:var(--ink); font-size:.83rem; font-weight:750; white-space:nowrap; }
.nav-links .primary-menu a:hover,
.nav-links .primary-menu a:focus-visible { color:var(--ink); background:rgba(17,19,24,.07); }
.nav-drawer .drawer-menu { display:grid; gap:2px; }
.nav-drawer .drawer-menu li { margin:0; }
.nav-drawer .drawer-menu a { display:block; width:100%; padding:11px; border-radius:8px; font-weight:650; }
.nav-drawer .drawer-menu a:hover { background:var(--soft); }
.footer-links .footer-menu { display:grid; gap:2px; }
.footer-links .footer-menu li { margin:0; }
@media (max-width:1080px) and (min-width:901px) {
  .nav-links .primary-menu a { padding-inline:8px; font-size:.78rem; }
}

/* ============================================================
   WordPress integration / SEO content templates
   ============================================================ */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.custom-logo { display:block; width:auto; height:66px; max-width:230px; object-fit:contain; }

.cf-content-shell { max-width: 900px; margin-inline:auto; }
.cf-content-hero { padding: 52px 0 34px; background: var(--soft); border-bottom: 1px solid var(--line); }
.cf-content-hero h1 { max-width: 18ch; }
.cf-content-hero .cf-lead { margin-top: 14px; max-width: 720px; color: var(--muted); font-size: 1.05rem; }
.cf-content { padding: 44px 0 64px; }
.cf-content article { min-width:0; }
.cf-content .entry-content { font-size: 1rem; line-height: 1.75; }
.cf-content .entry-content > * { max-width: 760px; margin-left:auto; margin-right:auto; }
.cf-content .entry-content > .alignwide { max-width: 1080px; }
.cf-content .entry-content > .alignfull { max-width:none; }
.cf-content .entry-content p,
.cf-content .entry-content ul,
.cf-content .entry-content ol,
.cf-content .entry-content blockquote { margin-top: 0; margin-bottom: 1.25em; }
.cf-content .entry-content h2 { margin-top: 1.6em; margin-bottom: .55em; }
.cf-content .entry-content h3 { margin-top: 1.4em; margin-bottom: .45em; font-size: 1.2rem; }
.cf-content .entry-content a { color: #004f9f; text-decoration: underline; text-underline-offset: .15em; }
.cf-content .entry-content img { height:auto; border-radius: 12px; }
.cf-post-meta { margin-top: 12px; color: var(--muted); font-size: .85rem; }
.cf-featured { margin: 28px auto 0; max-width: 900px; }
.cf-featured img { width:100%; height:auto; border-radius: 14px; }

.cf-breadcrumbs { padding-top: 20px; color: var(--muted); font-size: .78rem; }
.cf-breadcrumbs ol { display:flex; flex-wrap:wrap; gap:7px; margin:0; padding:0; list-style:none; }
.cf-breadcrumbs li + li::before { content:'›'; margin-right:7px; color:#98a2b3; }
.cf-breadcrumbs a:hover { text-decoration:underline; }

.cf-guide-section { padding: 56px 0; background:#fff; }
.cf-guide-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.cf-guide-card { display:flex; flex-direction:column; min-width:0; overflow:hidden; border:1px solid var(--line); border-radius:12px; background:#fff; }
.cf-guide-card-media { aspect-ratio:16/9; overflow:hidden; background:var(--soft); }
.cf-guide-card-media img { width:100%; height:100%; object-fit:cover; }
.cf-guide-card-body { display:flex; flex:1; flex-direction:column; padding:18px; }
.cf-guide-card h3 { font-size:1.05rem; line-height:1.35; }
.cf-guide-card p { margin-top:8px; color:var(--muted); font-size:.88rem; }
.cf-guide-card .cf-read-more { margin-top:auto; padding-top:14px; font-weight:750; }

.cf-archive-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.cf-archive-card { min-width:0; border:1px solid var(--line); border-radius:12px; overflow:hidden; background:#fff; }
.cf-archive-card a { text-decoration:none !important; color:inherit !important; }
.cf-archive-card-media { aspect-ratio:16/9; background:var(--soft); overflow:hidden; }
.cf-archive-card-media img { width:100%; height:100%; object-fit:cover; }
.cf-archive-card-body { padding:18px; }
.cf-archive-card-body p { margin-top:8px; color:var(--muted); font-size:.88rem; }

.cf-flight-cta { margin: 34px auto 0; max-width: 900px; padding:22px; border:1px solid var(--line); border-radius:14px; background:#002b5c; color:#fff; }
.cf-flight-cta h2 { color:#fff; font-size:1.35rem; }
.cf-flight-cta p { margin-top:6px; color:rgba(255,255,255,.72); }
.cf-flight-cta .btn { margin-top:16px; }
.cf-flight-widget { margin-top:18px; }

.navigation.pagination { margin-top:32px; }
.nav-links { flex-wrap:wrap; }
.page-numbers { display:inline-flex; min-width:38px; height:38px; align-items:center; justify-content:center; padding:0 10px; border:1px solid var(--line); border-radius:8px; margin-right:5px; }
.page-numbers.current { background:var(--primary); border-color:var(--primary); font-weight:800; }

.comments-area { max-width:760px; margin:48px auto 0; padding-top:32px; border-top:1px solid var(--line); }
.comment-list { padding-left:20px; }
.comment-form input:not([type=submit]), .comment-form textarea { width:100%; padding:12px; border:1px solid var(--line); border-radius:8px; }
.comment-form .submit { padding:11px 16px; border:0; border-radius:9px; background:var(--primary); font-weight:800; cursor:pointer; }


@media(max-width:900px) {
  .cf-guide-grid, .cf-archive-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .custom-logo { height:56px; max-width:min(195px,58vw); }
}
@media(max-width:640px) {
  .cf-guide-grid, .cf-archive-grid { grid-template-columns:1fr; }
  .cf-content-hero { padding:36px 0 26px; }
  .cf-content { padding:32px 0 48px; }
}
