/* Shared AirTrack-style layout for Manyflights internal pages.
   Typography: see typography.css (AirTrack Open Sans + Overpass + semantic text colors).
   - Body: Open Sans 14→16 / 400
   - H1 (hero): Overpass 26→54.4 / 800 / 100% / -1.75px
   - H2: Overpass 26→38 / 700 / 110% / -0.5px
   - H3 / cards: Overpass / 600
   - CTA: 18 / 600 / 24 / .5px
*/

.page-manyflights {
    --bg-color-primary: #F5FAFA;
    --bg-color-secondary: #005fff;
    --bg-color-btn: #005fff;
    --primary-color: #005fff;
    --text-color-primary: #383838;
    --text-color-secondary: #4B5563;
    --text-color-muted: #6b7280;
    --text-color-label: #9CA3AF;
    --text-color-placeholder: #c3cdd2;
    --color-tealBlue: #10374c;
    /* Clearance below sticky global header — match .mf-plans-hero top padding */
    --mf-page-top-gap: 48px;
    background-color: var(--bg-color-primary);
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: normal;
    color: var(--text-color-primary);
}

@media (min-width: 992px) {
    .page-manyflights {
        --mf-page-top-gap: 56px;
        font-size: 16px;
    }
}

.page-manyflights .main {
    background-color: var(--bg-color-primary);
    font-family: inherit;
}

.page-manyflights h1,
.page-manyflights h2,
.page-manyflights h3,
.page-manyflights h4,
.page-manyflights h5 {
    font-family: Overpass, sans-serif;
}

.page-manyflights h2 {
    font-size: 26px;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: var(--text-color-primary);
}

@media (min-width: 992px) {
    .page-manyflights h2 {
        font-size: 38px;
    }
}

.page-manyflights h3 {
    font-size: 22.4px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: normal;
    color: var(--text-color-primary);
}

.page-manyflights p {
    font-family: "Open Sans", sans-serif;
    font-size: inherit;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: normal;
}

/* Hero — light airy intro (Plans-style; not a blue band) */
.mf-shell {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 max(20px, var(--page-gutter, 20px));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .mf-shell {
        padding-left: 40px;
        padding-right: 40px;
    }
}

.mf-shell--narrow {
    max-width: 760px;
}

.mf-page-kicker {
    margin: 0 0 10px;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-color-muted, #6b7280);
    text-align: center;
}

.mf-page-hero {
    padding: var(--mf-page-top-gap, 48px) 0 48px;
    background: linear-gradient(180deg, #e9f1ff 0%, #eaeef6 42%, var(--bg-color-primary, #F5FAFA) 100%);
    color: var(--text-color-primary, #383838);
}

.mf-page-hero--compact {
    padding: var(--mf-page-top-gap, 48px) 0 22px;
}

.page-contact .mf-page-hero--compact .mf-page-hero__subtitle {
    margin-top: 10px;
    max-width: 32rem;
    font-size: 15px;
    line-height: 150%;
}

@media (min-width: 992px) {
    .mf-page-hero--compact {
        padding: var(--mf-page-top-gap, 56px) 0 28px;
    }
}


.mf-page-hero .mf-breadcrumbs {
    margin-bottom: 24px;
}

.mf-page-hero__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}

.mf-page-hero__title {
    font-family: Overpass, sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 112%;
    letter-spacing: -0.5px;
    margin: 0;
    color: var(--text-color-primary, #383838);
    text-wrap: pretty;
    text-align: center;
}

.mf-page-hero__subtitle {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: normal;
    margin: 14px auto 0;
    max-width: 40rem;
    color: var(--text-color-secondary, #4B5563);
    text-align: center;
}

.mf-page-hero .theme-btn {
    margin-top: 20px;
}

/* Homepage / city landing intro — keep SEO intro rhythm separate from content-page top gap */
.mf-home-intro {
    padding: 36px 0 52px;
    background: linear-gradient(180deg, #e9f1ff 0%, #eaeef6 42%, var(--bg-color-primary, #F5FAFA) 100%);
}

.mf-home-intro .mf-breadcrumbs {
    margin-bottom: 20px;
}

.mf-home-intro__content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.mf-home-intro__content h1 {
    margin: 0 0 14px;
    font-family: Overpass, sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    line-height: 105%;
    letter-spacing: -1px;
    color: var(--text-color-primary, #383838);
    text-wrap: pretty;
}

.mf-home-intro__content > p,
.mf-home-intro__content .text > p {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 160%;
    color: var(--text-color-secondary, #4B5563);
}

.page-manyflights .get-alert {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: stretch;
    max-width: 560px;
    margin: 0 auto;
}

.page-manyflights .get-alert .col {
    flex: 1 1 180px;
    width: auto;
    max-width: 100%;
    padding: 0;
}

.page-manyflights .get-alert .theme-btn {
    width: 100%;
}

.page-manyflights .save-up-text {
    margin: 14px 0 0;
    font-size: 14px;
    color: var(--text-color-muted, #6b7280);
}

@media (min-width: 992px) {
    .mf-page-hero__title {
        font-size: clamp(32px, 4vw, 42px);
    }
}

/* Breadcrumbs */
.mf-breadcrumbs {
    width: 100%;
    margin-bottom: 16px;
    font-family: "Open Sans", sans-serif;
}

.mf-breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: normal;
}

.mf-breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.78);
}

.mf-breadcrumbs__item:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    opacity: 0.65;
}

.mf-breadcrumbs__link {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font: inherit;
}

.mf-breadcrumbs__link:hover {
    color: #fff;
    text-decoration: underline;
}

.mf-breadcrumbs__item--current {
    color: #fff;
    font-weight: 600;
}

.mf-breadcrumbs--light .mf-breadcrumbs__item,
.mf-breadcrumbs--light .mf-breadcrumbs__link,
.mf-breadcrumbs--light .mf-breadcrumbs__text {
    color: var(--text-color-secondary);
}

.mf-breadcrumbs--light .mf-breadcrumbs__item--current {
    color: var(--text-color-primary);
}

.mf-breadcrumbs--light .mf-breadcrumbs__link:hover {
    color: var(--primary-color);
}

/* Content sections */
.mf-page-section {
    padding: var(--gap-section) 0;
}

.mf-page-section .container-wrapper {
    flex-direction: column;
}

/* Legal pages — shared typography/layout (privacy, cookie, terms) */
.mf-page-section--legal {
    /* Compact hero already shortens the title band; keep a natural start for copy */
    padding-top: 8px;
    padding-bottom: 48px;
}

@media (min-width: 992px) {
    .mf-page-section--legal {
        padding-top: 12px;
        padding-bottom: 64px;
    }
}

.mf-page-section--legal .mf-legal-content {
    max-width: 42rem; /* comfortable legal reading width */
    margin: 0 auto;
    width: 100%;
    font-family: "Open Sans", sans-serif;
    color: var(--text-color-secondary);
    text-align: left;
}

.page-manyflights.page-legal .legal {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Section headings — override global centered h2/h3 from shell.css */
.mf-page-section--legal .mf-legal-content :is(h2, h3) {
    font-family: Overpass, sans-serif;
    font-weight: 700;
    color: var(--text-color-primary);
    letter-spacing: -0.02em;
    text-align: left;
    text-wrap: pretty;
    margin: 2rem 0 0.75rem;
    line-height: 1.3;
}

.mf-page-section--legal .mf-legal-content h2 {
    font-size: clamp(1.125rem, 1rem + 0.4vw, 1.35rem); /* ~18–21.6px */
}

.mf-page-section--legal .mf-legal-content h3 {
    font-size: clamp(1.05rem, 0.98rem + 0.25vw, 1.2rem);
    font-weight: 600;
    margin-top: 1.5rem;
}

.mf-page-section--legal .mf-legal-content :is(h2, h3):first-child {
    margin-top: 0;
}

/* Nested spans inside headings must inherit heading type, not body rules */
.mf-page-section--legal .mf-legal-content :is(h2, h3) span {
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
}

/* Body copy */
.mf-page-section--legal .mf-legal-content p {
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: normal;
    color: var(--text-color-secondary);
    margin: 0 0 1rem;
    text-align: left;
}

.mf-page-section--legal .mf-legal-content p span,
.mf-page-section--legal .mf-legal-content li span {
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
}

.mf-page-section--legal .mf-legal-content p:last-child,
.mf-page-section--legal .mf-legal-content ul:last-child,
.mf-page-section--legal .mf-legal-content ol:last-child {
    margin-bottom: 0;
}

/* Lists — restore padding zeroed by shell reset */
.mf-page-section--legal .mf-legal-content :is(ul, ol) {
    margin: 0 0 1rem;
    padding-left: 1.35rem;
    text-align: left;
}

.mf-page-section--legal .mf-legal-content ul {
    list-style: disc;
}

.mf-page-section--legal .mf-legal-content ol {
    list-style: decimal;
}

.mf-page-section--legal .mf-legal-content :is(ul, ol) :is(ul, ol) {
    margin: 0.4rem 0 0.4rem;
    padding-left: 1.25rem;
}

.mf-page-section--legal .mf-legal-content li {
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-color-secondary);
    margin: 0 0 0.45rem;
    padding-left: 0.15rem;
}

.mf-page-section--legal .mf-legal-content li:last-child {
    margin-bottom: 0;
}

/* Numbered clause rows (Terms): "1.1" + body in adjacent spans */
.mf-page-section--legal .mf-legal-content li > span:first-child:not(:only-child) {
    font-variant-numeric: tabular-nums;
}

/* Terms already carry clause numbers in the copy — drop redundant bullets */
.mf-page-section--legal .mf-legal-content.terms-and-conditions > ul {
    list-style: none;
    padding-left: 0;
}

.mf-page-section--legal .mf-legal-content.terms-and-conditions > ul > li {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    column-gap: 0.55rem;
    padding-left: 0;
}

.mf-page-section--legal .mf-legal-content.terms-and-conditions > ul > li > span:only-child {
    grid-column: 1 / -1;
}

.mf-page-section--legal .mf-legal-content :is(b, strong) {
    font-weight: 600;
    color: var(--text-color-primary);
}

.mf-page-section--legal .mf-legal-content a {
    color: var(--primary-color);
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mf-page-section--legal .mf-legal-content a:hover {
    color: var(--mf-primary-hover, #0046cc);
}

/* Contact — cardless, centered content on page background */
.mf-page-section.mf-page-section--contact {
    padding: 28px 0 56px;
}

@media (min-width: 992px) {
    .mf-page-section.mf-page-section--contact {
        padding: 36px 0 72px;
    }
}

.mf-contact-panel {
    max-width: 36rem;
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
}

.mf-contact-panel h2 {
    font-family: Overpass, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    color: var(--text-color-primary, #383838);
    text-align: center;
}

.mf-contact-panel p {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: normal;
    color: var(--text-color-secondary, #4B5563);
    margin: 0 0 22px;
    text-align: center;
}

.mf-contact-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 0;
    padding: 8px 14px;
    border-radius: 999px;
    border: 0;
    background: rgba(0, 95, 255, 0.06);
    color: var(--primary-color, #005fff);
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mf-contact-email .mf-contact-email__icon {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    color: currentColor;
    opacity: 0.9;
}

.mf-contact-email:hover {
    background: rgba(0, 95, 255, 0.1);
    border-color: transparent;
    color: #0046cc;
}

.mf-contact-email:hover .mf-contact-email__icon {
    color: inherit;
    opacity: 1;
}

@media (max-width: 575.98px) {
    .mf-page-section.mf-page-section--contact {
        padding: 20px 0 48px;
    }

    .mf-contact-panel h2 {
        font-size: 22px;
    }

    .mf-contact-panel p {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .mf-contact-email {
        max-width: 100%;
        font-size: 14px;
        padding: 8px 12px;
    }
}

/* Cards / grids — adapt legacy markup to AirTrack surfaces */
.page-manyflights .flights-found,
.page-manyflights .regions-categories,
.page-manyflights .blog-categories,
.page-manyflights .pricing,
.page-manyflights .features.process {
    padding-top: 0;
    padding-bottom: 0;
}

.page-manyflights .flights-found .container,
.page-manyflights .regions-categories .container,
.page-manyflights .blog-categories .container,
.page-manyflights .pricing .container,
.page-manyflights .features.process .container {
    max-width: var(--container-width);
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
}

.page-manyflights .flights-found .glow,
.page-manyflights .intro-two::before,
.page-manyflights .intro-two::after,
.page-manyflights .intro .glow,
.page-manyflights .features.process .glow-up {
    display: none !important;
}

/* Cities — override flights-by-city.css */
.page-manyflights .flights-found h4 {
    font-family: Overpass, sans-serif;
    font-size: 22.4px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: normal;
    color: var(--text-color-primary);
    margin-bottom: 16px;
    text-align: left;
}

.page-manyflights .flights-found ul li {
    line-height: 160%;
}

.page-manyflights .flights-found ul li a {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: normal;
    color: var(--text-color-secondary);
}

.page-manyflights .flights-found ul li a:hover {
    color: var(--primary-color);
}

/* Regions cards — keep overlay treatment, align type to Overpass */
.page-manyflights .regions-card {
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(28, 36, 55, 0.08);
}

.page-manyflights .regions-card h3 {
    font-family: Overpass, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 110%;
    letter-spacing: normal;
    text-align: center;
}

.page-manyflights .regions-card h3 span {
    font-family: Overpass, sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: -0.5px;
    display: block;
}

/* Blog — override regions-and-blog.css */
.page-manyflights .blog-category-card {
    border-radius: 14px;
    box-shadow: none;
}

.page-manyflights .blog-category-card a,
.page-manyflights .blog-category-card .blog-name {
    font-family: Overpass, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--text-color-primary);
    text-decoration: none;
}

.page-manyflights .category-list a {
    font-family: "Open Sans", sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: normal;
    border-radius: 999px;
}

.page-manyflights .category-list a.active {
    background: var(--primary-color);
}

.page-manyflights .meta-info a {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: normal;
    color: var(--text-color-secondary);
}

/* Plans — override plans.css (esp. Roboto theme-btn) */
.page-manyflights .pricing .title,
.page-manyflights .features.process .title {
    font-family: Overpass, sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: -0.5px;
    text-align: center;
    color: var(--text-color-primary);
}

@media (min-width: 992px) {
    .page-manyflights .pricing .title,
    .page-manyflights .features.process .title {
        font-size: 38px;
    }
}

.page-manyflights .pricing .desc {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: normal;
    text-align: center;
    color: var(--text-color-secondary);
}

.page-manyflights .pricing .card {
    border-radius: 20px;
}

.page-manyflights .pricing .card-title {
    font-family: Overpass, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 110%;
    letter-spacing: normal;
}

.page-manyflights .pricing span.h2 {
    font-family: Overpass, sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.page-manyflights .pricing .card-text {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 160%;
}

.page-manyflights .pricing ul li,
.page-manyflights .pricing .list-group-item {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: normal;
    color: var(--text-color-secondary);
}

.page-manyflights .off {
    background: var(--primary-color);
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: normal;
}

.page-manyflights .pricing sub {
    text-decoration-color: var(--primary-color);
}

/* Buttons — match shell .jump-link / .faq-header-btn (not Roboto from plans.css) */
.page-manyflights .theme-btn,
.page-manyflights a.theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 15px 24px;
    border-radius: 11px;
    background: var(--primary-color);
    color: #fff !important;
    font-family: "Open Sans", sans-serif !important;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.page-manyflights .theme-btn:hover,
.page-manyflights a.theme-btn:hover {
    background: #0046cc;
    color: #fff !important;
}

.page-manyflights .theme-btn.alt,
.page-manyflights .pricing .card .theme-btn.alt {
    background: #fff;
    color: var(--text-color-primary) !important;
    border: 1px solid #dae3f5;
}

.page-manyflights .theme-btn.alt:hover,
.page-manyflights .pricing .card .theme-btn.alt:hover {
    background: var(--bg-color-primary);
    color: var(--text-color-primary) !important;
}

.page-manyflights .features.process .item {
    text-align: center;
    padding: 12px;
}

.page-manyflights .features.process .item h3 {
    font-family: Overpass, sans-serif;
    font-size: 22.4px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: normal;
    margin-top: 12px;
    color: var(--text-color-primary);
    text-align: center;
}

.page-manyflights .features.process .item p {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: normal;
    color: var(--text-color-secondary);
}

/* FAQ — shell h2 + landing-sections accordion */
.page-manyflights.page-faq .faq {
    padding-top: var(--gap-section);
}

.page-manyflights.page-faq .faq .container-wrapper {
    flex-direction: column;
}

.page-faq .faq-header-title {
    font-family: Overpass, sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: -0.5px;
    text-align: center;
    color: var(--text-color-primary);
}

@media (min-width: 992px) {
    .page-faq .faq-header-title {
        font-size: 38px;
    }
}

.page-manyflights.page-faq .faq-header-subtitle {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: normal;
}

@media (min-width: 719px) {
    .page-manyflights.page-faq .faq .container-wrapper {
        flex-direction: row;
    }

    .page-faq .faq-header-title {
        text-align: left;
    }
}

/* ——— Home / landing shared sections ——— */
.page-landing .process,
.page-home .process,
.page-landing .features.process,
.page-home .features.process,
.page-landing .roundtrip,
.page-home .roundtrip,
.page-flight-deals-finder.page-landing .roundtrip,
.page-landing .how-to-find,
.page-home .how-to-find,
.page-flight-deals-finder.page-landing .how-to-find,
.page-landing .flights-found,
.page-home .flights-found,
.page-flight-deals-finder.page-landing .flights-found,
.page-flight-deals-finder.page-landing .flight-deals-city-seo .flights-found {
    padding: var(--gap-section, 32px) 0;
}

.page-landing .process .title,
.page-home .process .title,
.page-landing .features.process .title,
.page-home .features.process .title,
.page-landing .roundtrip .title,
.page-home .roundtrip .title,
.page-landing .how-to-find .title,
.page-landing .flights-found .title,
.page-home .flights-found .title {
    margin: 0 0 28px;
    text-align: center;
}

.page-landing .roundtrip .title-desc,
.page-home .roundtrip .title-desc {
    max-width: 40rem;
    margin: -12px auto 28px;
    text-align: center;
    color: var(--text-color-secondary, #4B5563);
}

.page-landing .process .item img,
.page-home .process .item img,
.page-landing .features.process .item img,
.page-home .features.process .item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.page-landing .roundtrip .item,
.page-home .roundtrip .item {
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #dce6f2;
    border-radius: 14px;
    background: #fff;
}

.page-landing .roundtrip .item a,
.page-home .roundtrip .item a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.page-landing .roundtrip .image,
.page-home .roundtrip .image {
    position: relative;
}

.page-landing .roundtrip .image img,
.page-home .roundtrip .image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.page-landing .roundtrip .image .label,
.page-home .roundtrip .image .label {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--primary-color, #005fff) !important;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.page-landing .roundtrip .item .text,
.page-home .roundtrip .item .text {
    padding: 12px 14px 14px;
}

.page-landing .roundtrip .item h3,
.page-home .roundtrip .item h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.page-landing .roundtrip .item h3 i,
.page-home .roundtrip .item h3 i {
    margin: 0 4px;
    font-style: normal;
}

.page-landing .roundtrip .item h3 i.fa-exchange::before,
.page-home .roundtrip .item h3 i.fa-exchange::before {
    content: "↔";
    font-family: inherit;
}

.page-landing .roundtrip .item p,
.page-home .roundtrip .item p {
    margin: 0;
    font-size: 14px;
    color: var(--text-color-muted, #6b7280);
}

.page-landing .roundtrip .item strong,
.page-home .roundtrip .item strong {
    color: var(--text-color-primary, #383838);
    font-weight: 700;
}

.page-landing .how-to-find,
.page-home .how-to-find {
    background: #fff;
    border-top: 1px solid #e2eaf4;
    border-bottom: 1px solid #e2eaf4;
}

.page-landing .how-to-find .title,
.page-landing .how-to-find h2.title {
    text-align: left;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.page-landing .how-to-find p {
    max-width: 760px;
    margin: 0 auto 1.1em;
    color: var(--text-color-secondary, #4B5563);
    line-height: 1.7;
}

.page-home .cta {
    padding: var(--gap-section, 32px) 0;
    background: #eef4ff;
    text-align: center;
}

.page-home .cta .title {
    margin: 0 0 20px;
}

.page-landing .glow,
.page-landing .glow-up,
.page-home .glow,
.page-home .glow-up {
    display: none !important;
}

.page-landing .theme-primary-color,
.page-home .theme-primary-color {
    color: var(--primary-color, #005fff);
}

.page-landing .bold-text,
.page-home .bold-text {
    font-weight: 600;
}

.page-landing .get-alert .select2-container,
.page-home .get-alert .select2-container {
    width: 100% !important;
}

@media (max-width: 767.98px) {
    .page-landing .get-alert,
    .page-home .get-alert {
        flex-direction: column;
    }

    .page-landing .get-alert .col,
    .page-home .get-alert .col {
        flex-basis: 100%;
    }
}

/* ——— Region cards ——— */
.page-manyflights .regions-categories {
    /* Default zero; SEO landings override via seo-landing-spacing.css */
    padding: 0;
}

.page-seo-landing .regions-categories {
    /* Mirror homepage --gap-section; seo-landing-spacing.css may refine when both apply */
    padding: var(--seo-gap-default, var(--gap-section, 32px)) 0;
}

.page-manyflights .regions-card {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    width: 100%;
    padding: 20px;
    border-radius: 10px;
    background: #fafafa;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.page-manyflights .regions-card::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #00173f;
    border-radius: 10px;
    opacity: 0.7;
    transition: opacity 0.3s;
    z-index: -1;
}

.page-manyflights .regions-card:hover::before {
    opacity: 0.75;
}

.page-manyflights .regions-card img {
    position: absolute;
    top: 0;
    left: 0;
    height: 200px;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s, filter 0.3s;
    z-index: -2;
}

.page-manyflights .regions-card:hover img {
    transform: scale(1.08);
    filter: blur(1px);
}

.page-manyflights .regions-card h3 {
    color: #fff;
    text-align: center;
    margin: 0;
}

.page-manyflights .regions-card h3 span {
    display: block;
    text-transform: uppercase;
}

/* ——— Blog index ——— */
/* Keep shared --mf-page-top-gap on top; only tighten hero bottom into the listing */
.page-manyflights.page-blog .mf-page-hero--compact {
    padding-top: var(--mf-page-top-gap, 48px);
    padding-bottom: 16px;
}

.page-manyflights.page-blog .mf-page-hero--compact .mf-page-hero__subtitle {
    margin-top: 10px;
    max-width: 34rem;
    font-size: 15px;
    line-height: 150%;
}

@media (min-width: 992px) {
    .page-manyflights.page-blog .mf-page-hero--compact {
        padding-top: var(--mf-page-top-gap, 56px);
        padding-bottom: 20px;
    }
}

/* Beat .mf-page-section { padding: var(--gap-section) 0 } (56px desktop) */
.page-manyflights .mf-page-section.mf-page-section--blog {
    padding: 8px 0 40px;
}

@media (min-width: 992px) {
    .page-manyflights .mf-page-section.mf-page-section--blog {
        padding: 12px 0 48px;
    }
}

.page-manyflights .mf-blog-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 auto 24px;
    max-width: 720px;
}

.page-manyflights .mf-blog-filters__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 14px;
    border: 1px solid #d5e0ee;
    border-radius: 999px;
    background: #fff;
    color: var(--text-color-secondary, #4B5563);
    font-family: "Open Sans", sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: normal;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.page-manyflights .mf-blog-filters__chip:hover {
    border-color: #9ec5ff;
    color: var(--primary-color, #005fff);
    background: #f5faff;
}

.page-manyflights .mf-blog-filters__chip.is-active,
.page-manyflights .mf-blog-filters__chip[aria-current="page"] {
    background: var(--primary-color, #005fff);
    border-color: var(--primary-color, #005fff);
    color: #fff;
}

.page-manyflights .mf-blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
}

@media (min-width: 768px) {
    .page-manyflights .mf-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (min-width: 992px) {
    .page-manyflights .mf-blog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }
}

.page-manyflights .mf-blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding: 14px;
    border: 1px solid #e3ebf5;
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
}

.page-manyflights .mf-blog-card__link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.page-manyflights .mf-blog-card__media {
    position: relative;
    margin-bottom: 12px;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eef3f9;
}

.page-manyflights .mf-blog-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.page-manyflights .mf-blog-card:hover .mf-blog-card__media img {
    transform: scale(1.03);
}

.page-manyflights .mf-blog-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(16, 55, 76, 0.92);
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    z-index: 1;
}

.page-manyflights .mf-blog-card__title {
    margin: 0;
    font-family: Overpass, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--text-color-primary, #383838);
    text-wrap: pretty;
}

.page-manyflights .mf-blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--text-color-secondary, #6b7280);
}

.page-manyflights .mf-blog-card__dot {
    width: 1px;
    height: 12px;
    background: #c5ced8;
}

/* ——— Article reading column (shared across blog articles) ——— */
.page-manyflights.page-article .mf-page-section {
    padding: var(--mf-page-top-gap, 48px) 0 40px;
}

@media (min-width: 992px) {
    .page-manyflights.page-article .mf-page-section {
        padding: var(--mf-page-top-gap, 56px) 0 48px;
    }
}

.page-manyflights.page-article .mf-page-section .mf-breadcrumbs {
    max-width: 760px;
    margin: 0 auto 14px;
}

.mf-article {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 0 24px;
}

.mf-article__title {
    margin: 0 0 10px;
    font-family: Overpass, sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--text-color-primary, #383838);
    text-wrap: pretty;
}

.mf-article__meta {
    margin: 0 0 22px;
    font-size: 14px;
    color: var(--text-color-muted, #6b7280);
}

.mf-article__body {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color-secondary, #4B5563);
}

.mf-article__body h2,
.mf-article__body h3,
.mf-article__body h4 {
    margin: 1.75em 0 0.65em;
    font-family: Overpass, sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-color-primary, #383838);
}

.mf-article__body p {
    margin: 0 0 1.1em;
}

.mf-article__body ul,
.mf-article__body ol {
    margin: 0 0 1.25em;
    padding-left: 1.25em;
}

.mf-article__body a {
    color: var(--primary-color, #005fff);
}

.mf-article__body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5em auto;
    border-radius: 12px;
}

.page-manyflights.page-article .mf-article__body {
    padding-bottom: 8px;
}

.mf-article-related {
    width: 100%;
    max-width: 760px;
    margin: 20px auto 24px;
}

.mf-article-related__title {
    margin: 0 0 12px;
    font-family: Overpass, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-color-primary, #383838);
}

.mf-article-related__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mf-article-related__item {
    margin: 0;
}

.mf-article-related__link {
    display: block;
    padding: 12px 14px;
    border: 1px solid #dce6f2;
    border-radius: 10px;
    background: #fff;
    color: var(--color-tealBlue, #10374c);
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.mf-article-related__link:hover {
    border-color: #9ec5ff;
    background: #f5faff;
    color: var(--primary-color, #005fff);
}

.mf-article-alerts {
    width: 100%;
    max-width: 760px;
    margin: 0 auto 40px;
}

.mf-article-alerts__card {
    padding: 20px 20px 18px;
    border: 1px solid #d5e3f4;
    border-radius: 14px;
    background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
    box-shadow: none;
}

.mf-article-alerts__title {
    margin: 0 0 8px;
    font-family: Overpass, sans-serif;
    font-size: clamp(20px, 2.4vw, 24px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text-color-primary, #383838);
}

.mf-article-alerts__copy {
    margin: 0 0 14px;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-color-secondary, #4B5563);
}

.mf-article-alerts__form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 640px) {
    .mf-article-alerts__form {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: stretch;
    }
}

.mf-article-alerts__field .select2-container {
    width: 100% !important;
}

.mf-article-alerts__field .select2-container .select2-selection--single,
.mf-article-alerts__field .form-control,
.mf-article-alerts__field select {
    min-height: 46px;
    height: 46px;
    border: 1px solid #c9d7ea;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
}

.mf-article-alerts__field .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 44px;
    padding-left: 14px;
    color: var(--text-color-primary, #383838);
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
}

.mf-article-alerts__field .select2-container .select2-selection--single .select2-selection__arrow {
    height: 44px;
}

.mf-article-alerts__field .select2-container--bootstrap .select2-selection--single,
.mf-article-alerts__field .select2-container--default .select2-selection--single {
    border-color: #c9d7ea;
}

.mf-article-alerts__submit,
.mf-article-alerts__submit.blog_page_get_alerts {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 10px;
    background: var(--primary-color, #005fff);
    color: #fff !important;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    transition: background-color 0.15s ease;
}

.mf-article-alerts__submit:hover,
.mf-article-alerts__submit.blog_page_get_alerts:hover {
    background: var(--mf-primary-hover, #0046cc);
    color: #fff !important;
}

/* Legacy subscription blocks — keep harmless if leftover markup exists */
.mf-article .subscription-block,
.mf-article-aside .subscription-block {
    display: none;
}

.mf-article-aside {
    display: none;
}

.page-article .mf-page-section .mf-shell,
.page-article .mf-page-section .container-wrapper {
    flex-direction: column;
}

/* ——— How it works steps ——— */
.mf-steps {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    gap: 22px;
}

.mf-steps__item {
    padding: 0 0 18px;
    border-bottom: 1px solid #e2eaf4;
}

.mf-steps__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.mf-steps__item h3 {
    margin: 0 0 8px;
    font-family: Overpass, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color-primary, #383838);
}

.mf-steps__item p {
    margin: 0;
    color: var(--text-color-secondary, #4B5563);
}

.mf-steps__cta {
    margin-top: 32px;
    text-align: center;
}

/* ——— SEO link directories (departure points + regions) ——— */
.mf-seo-links {
    padding: var(--gap-section, 32px) 0;
}

.mf-seo-links + .mf-seo-links {
    padding-top: 0;
}

.mf-seo-links__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: var(--container-width, 1200px);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--page-gutter, 20px);
    padding-right: var(--page-gutter, 20px);
}

.mf-seo-links__inner.container,
.mf-seo-links__inner.container-wrapper {
    /* Preserve caller container class for max-width tokens; layout handled above.
       Override body .container-wrapper { display:flex } so title stacks above grid. */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: var(--container-width, 1200px);
}

.mf-seo-links__title {
    margin: 0 0 28px;
    text-align: center;
    font-family: Overpass, sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: var(--color-tealBlue, #10374c);
    text-wrap: balance;
}

@media (min-width: 992px) {
    .mf-seo-links__title {
        font-size: 38px;
        margin-bottom: 32px;
    }
}

.mf-seo-links__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    column-gap: 24px;
    row-gap: 28px;
    width: 100%;
}

@media (min-width: 576px) {
    .mf-seo-links__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 28px;
        row-gap: 32px;
    }
}

@media (min-width: 992px) {
    .mf-seo-links__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: 32px;
        row-gap: 24px;
    }
}

.mf-seo-links__column {
    min-width: 0;
}

.mf-seo-links__column-title {
    margin: 0 0 12px;
    font-family: Overpass, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: normal;
    text-align: left;
    color: var(--text-color-primary, #383838);
}

@media (min-width: 992px) {
    .mf-seo-links__column-title {
        font-size: 20px;
        margin-bottom: 14px;
    }
}

.mf-seo-links__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mf-seo-links__item {
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

.mf-seo-links__link {
    display: inline-block;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--text-color-secondary, #4B5563);
    text-decoration: none;
    transition: color 0.2s ease;
}

.mf-seo-links__link:hover,
.mf-seo-links__link:focus-visible {
    color: var(--primary-color, #005fff);
}

.mf-seo-links__link:focus-visible {
    outline: 2px solid rgba(0, 95, 255, 0.35);
    outline-offset: 2px;
    border-radius: 2px;
}

@media (min-width: 992px) {
    .mf-seo-links__link {
        font-size: 16px;
    }

    .mf-seo-links__list {
        gap: 8px;
    }
}

@media (max-width: 575.98px) {
    .mf-seo-links__title {
        font-size: 22px;
        margin-bottom: 22px;
    }

    .mf-seo-links__column-title {
        font-size: 17px;
    }
}

