/* Editorial article helpers (Europe from Canada and similar guides) */

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

/* Width comes from shared page-article shell (920px). Keep editorial helpers width-neutral. */
/* Editorial 8:5 image standard: pages.css (.mf-article__hero / __inline-image) + blog/_editorial_image.html.twig */

.mf-article__deck {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.55;
    color: var(--text-color-secondary, #4B5563);
    text-wrap: pretty;
}

.mf-article__method-note {
    margin: 0 0 1.5em;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-color-muted, #6b7280);
    background: #f5f8fc;
    border-left: 3px solid #c9d7ea;
    border-radius: 0 8px 8px 0;
}

.mf-fare-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 12px;
    align-items: start;
    margin: 0 0 1.1em;
    padding: 10px 12px;
    background: #f7fafc;
    border-top: 1px solid #e5ebf3;
    border-bottom: 1px solid #e5ebf3;
    border-radius: 8px;
}

.mf-fare-summary--with-view-deal {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
}

/* Four U.S. origins + month weather */
.mf-fare-summary--us-origins {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mf-fare-summary__item {
    min-width: 0;
    padding: 4px 6px;
    border-radius: 6px;
}

.mf-fare-summary__item--best {
    background: #eef6ff;
}

.mf-fare-summary__item--view-deal {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 2px 0 2px 4px;
}

.mf-fare-summary__label {
    display: block;
    margin: 0 0 2px;
    font-family: Overpass, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3;
    color: var(--text-color-muted, #6b7280);
}

.mf-fare-summary__value {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-color-primary, #383838);
    text-wrap: balance;
}

.mf-fare-summary__item--nights .mf-fare-summary__value {
    font-weight: 600;
}

.mf-fare-summary__view-deal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid #1f4b7a;
    border-radius: 6px;
    background: #fff;
    color: #1f4b7a;
    font-family: Overpass, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.mf-fare-summary__view-deal:hover,
.mf-fare-summary__view-deal:focus-visible {
    background: #1f4b7a;
    border-color: #1f4b7a;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 640px) {
    .mf-fare-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 10px;
        padding: 10px;
    }

    .mf-fare-summary--with-view-deal {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mf-fare-summary--with-view-deal .mf-fare-summary__item--view-deal {
        grid-column: 1 / -1;
        justify-content: stretch;
        margin-top: 2px;
        padding: 8px 0 0;
        border-top: 1px solid #e5ebf3;
    }

    .mf-fare-summary--with-view-deal .mf-fare-summary__view-deal {
        width: 100%;
    }

    /* 2x2 fare grid, then January weather full-width secondary */
    .mf-fare-summary--us-origins {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mf-fare-summary--us-origins .mf-fare-summary__item:last-child {
        grid-column: 1 / -1;
        margin-top: 2px;
        padding-top: 8px;
        border-top: 1px solid #e5ebf3;
    }

    .mf-fare-summary--us-origins .mf-fare-summary__item:last-child .mf-fare-summary__value {
        font-weight: 600;
        color: var(--text-color-secondary, #4B5563);
    }
}

/* Legacy fare/nights paragraphs (kept for older drafts) */
.mf-dest-fares {
    margin: 0 0 0.35em !important;
    font-size: 15px;
    color: var(--text-color-primary, #383838);
}

.mf-dest-nights {
    margin: 0 0 1em !important;
    font-size: 15px;
    color: var(--text-color-muted, #6b7280);
}

.mf-fare-table-wrap {
    margin: 8px 0 18px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.mf-fare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.45;
    color: var(--text-color-secondary, #4B5563);
    background: #fff;
}

.mf-fare-table th,
.mf-fare-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #e5ebf3;
    vertical-align: top;
}

.mf-fare-table thead th {
    font-family: Overpass, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-color-primary, #383838);
    background: #f7fafc;
    white-space: nowrap;
}

.mf-fare-table tbody th {
    font-weight: 600;
    color: var(--text-color-primary, #383838);
    white-space: nowrap;
}

.mf-fare-table td.is-best {
    font-weight: 700;
    color: var(--text-color-primary, #383838);
    background: #eef6ff;
}

/* Four-origin U.S. compare: keep six columns compact in article width */
.mf-fare-table--us-origins {
    font-size: 13px;
}

.mf-fare-table--us-origins th,
.mf-fare-table--us-origins td {
    padding: 8px 8px;
}

.mf-fare-table--us-origins thead th {
    font-size: 12px;
}

.mf-fare-table--us-origins tbody th {
    white-space: normal;
    max-width: 9.5em;
}

/* Post-table editorial notes — plain bullets, compact, not a card */
.mf-article__table-notes {
    margin: 0 0 1em;
    padding-left: 1.15em;
    list-style: disc;
}

.mf-article__table-notes li {
    margin: 0 0 0.4em;
    padding: 0;
    line-height: 1.55;
    color: var(--text-color-secondary, #4B5563);
}

.mf-article__table-notes li:last-child {
    margin-bottom: 0;
}

/* Closing shortlist — plain editorial bullets, compact, lighter than alert CTA below */
.mf-article__shortlist {
    margin: 0 0 0.85em;
    padding-left: 1.15em;
    list-style: disc;
}

.mf-article__shortlist li {
    margin: 0 0 0.35em;
    padding: 0;
    line-height: 1.5;
    color: var(--text-color-secondary, #4B5563);
}

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

.mf-article__shortlist + p {
    margin-top: 0.35em;
    margin-bottom: 1.1em;
    color: var(--text-color-secondary, #4B5563);
}

/* Mid-article fare methodology — compact editorial info block (not the quiet bottom note) */
.mf-fare-method {
    margin: 4px 0 20px;
    padding: 12px 14px;
    background: #f0f5fa;
    border: 1px solid #d8e2ec;
    border-radius: 12px;
    text-align: left;
    box-shadow: none;
}

.mf-fare-method__title {
    margin: 0 0 6px;
    font-family: Overpass, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-tealBlue, #10374c);
}

/* Beat .page-manyflights p (0,1,1) so title weight sticks; size/color/margin unchanged */
.page-manyflights p.mf-fare-method__title,
.mf-fare-method p.mf-fare-method__title {
    font-weight: 700;
}

.mf-fare-method__body {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-color-muted, #6b7280);
    text-wrap: pretty;
}

/* Quick answers FAQ — divider rows, no cards; uses shared accordionBehaviour.js */
.mf-article-faq {
    margin: 2em 0 1.5em;
}

.mf-article-faq > h2 {
    margin: 0 0 10px;
}

.mf-article-faq__list.accordion {
    display: flex;
    flex-direction: column;
    margin: 0;
    border-top: 1px solid #e5ebf3;
}

.mf-article-faq .accordion-item {
    border: 0;
    border-bottom: 1px solid #e5ebf3;
    border-radius: 0;
    background: transparent;
    overflow: hidden;
}

.mf-article-faq .accordion-summary {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin: 0;
    padding: 14px 2px;
    background: transparent;
    border: 0;
    border-radius: 0;
    text-align: left;
    cursor: pointer;
    font-family: Overpass, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-color-primary, #383838);
}

.mf-article-faq .accordion-summary:hover {
    color: var(--primary-color, #005fff);
}

.mf-article-faq .accordion-summary:focus-visible {
    outline: 2px solid rgba(0, 95, 255, 0.35);
    outline-offset: 2px;
}

.mf-article-faq .accordion-summary__text {
    flex: 1 1 auto;
    min-width: 0;
}

.mf-article-faq .summary-icon {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    margin: 4px 2px 0 0;
    border-right: 1.5px solid #9aa3b2;
    border-bottom: 1.5px solid #9aa3b2;
    background: none;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

.mf-article-faq .accordion-item.open .summary-icon {
    transform: rotate(225deg);
    margin-top: 8px;
}

.mf-article-faq .accordion-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 2px;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
}

.mf-article-faq .accordion-item.open .accordion-content {
    max-height: 320px;
    opacity: 1;
    padding: 0 2px 14px;
}

.mf-article-faq .accordion-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-color-secondary, #4B5563);
    text-wrap: pretty;
}


/* Related reading — inherit shared grid cards from pages.css; editorial spacing only */
.mf-article--editorial .mf-article-related {
    margin: 8px 0 18px;
    max-width: none;
}

.mf-article--editorial .mf-article-related__title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color-primary, #383838);
    text-align: left;
}

.mf-article--editorial .mf-article-related__list {
    gap: 8px;
}

.mf-article--editorial .mf-article-related__link {
    background: #fafbfd;
    color: var(--color-tealBlue, #10374c);
    font-weight: 500;
    text-decoration: none;
}

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

/* Compact bottom fare methodology — muted, left-aligned, before final CTA */
.mf-article-method-note {
    margin: 4px 0 18px;
    padding: 14px 0 0;
    border-top: 1px solid #e5ebf3;
}

.mf-article-method-note__title {
    margin: 0 0 8px;
    font-family: Overpass, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-color-muted, #6b7280);
    text-align: left;
}

.mf-article-method-note__body {
    margin: 0 0 0.55em;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-color-muted, #6b7280);
    text-wrap: pretty;
}

.mf-article-method-note__body:last-child {
    margin-bottom: 0;
}

/* Shared Manyflights blog promo banners — native in-article ads.
   Container polish mirrors Premium discovery card (radius, border, shadow, density). */
.mf-article-cta {
    /* Midnight Blue family — same Premium discovery palette */
    --mf-promo-navy: #102c52;
    --mf-promo-navy-deep: #08172b;
    --mf-promo-navy-mid: #0c2344;
    --mf-promo-blue: #005fff;
    --mf-promo-blue-hover: #0046cc;
    --mf-promo-blue-soft: #9ec5ff;
    --mf-promo-ink: #08172b;
    --mf-promo-muted: #4a6278;
    --mf-promo-light-bg: #eef4fb;
    --mf-promo-light-border: rgba(16, 44, 82, 0.12);
    --mf-promo-save: #1b7a3d;
    --mf-promo-save-bg: #e7f6ec;
    margin: 10px 0 22px;
    padding: 0;
    border: 0;
}

.mf-article-cta--compact {
    margin: 10px 0 18px;
}

.mf-article-cta--final {
    margin: 12px 0 1.5em;
}

.mf-article-cta__card {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    overflow: hidden;
    border-radius: 14px;
    min-height: 0;
    isolation: isolate;
}

.mf-article-cta--split .mf-article-cta__card {
    /* ~60% copy / ~40% visual — compact 200–220px Premium-density band */
    grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
    min-height: 200px;
    height: 210px;
    max-height: 220px;
}

.mf-article-cta--dark .mf-article-cta__card {
    background:
        radial-gradient(120% 80% at 0% 100%, rgba(15, 50, 110, 0.35) 0%, transparent 55%),
        linear-gradient(155deg, #08172b 0%, #0c2344 52%, #102c52 100%);
    color: #f7f9ff;
    border: 1px solid rgba(120, 170, 230, 0.18);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 10px 28px rgba(8, 23, 43, 0.28);
}

.mf-article-cta--light .mf-article-cta__card {
    background: var(--mf-promo-light-bg);
    color: var(--mf-promo-ink);
    border: 1px solid var(--mf-promo-light-border);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 8px 22px rgba(8, 23, 43, 0.08);
}

.mf-article-cta__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 18px 24px 18px 26px;
    min-width: 0;
}

.mf-article-cta__eyebrow {
    margin: 0 0 6px;
    font-family: Overpass, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    line-height: 1.25;
}

.mf-article-cta--dark .mf-article-cta__eyebrow {
    color: var(--mf-promo-blue-soft);
}

.mf-article-cta--light .mf-article-cta__eyebrow {
    color: var(--mf-promo-blue);
}

.mf-article-cta p.mf-article-cta__title {
    margin: 0;
    font-family: Overpass, sans-serif;
    font-size: clamp(38px, 4vw, 42px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-wrap: balance;
    max-width: 9.5em;
}

.mf-article-cta p.mf-article-cta__title--split {
    text-wrap: unset;
    max-width: none;
}

.mf-article-cta .mf-article-cta__title-lead,
.mf-article-cta .mf-article-cta__title-rest {
    display: block;
    font-family: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}

/* Elegant weight/size contrast — compact Premium-adjacent hierarchy */
.mf-article-cta .mf-article-cta__title-lead {
    font-size: clamp(40px, 4.2vw, 44px);
    font-weight: 700;
    letter-spacing: -0.032em;
}

.mf-article-cta .mf-article-cta__title-rest {
    font-size: clamp(38px, 4vw, 42px);
    font-weight: 500;
    letter-spacing: -0.028em;
}

.mf-article-cta--dark p.mf-article-cta__title {
    color: #ffffff;
}

.mf-article-cta--light p.mf-article-cta__title {
    color: var(--mf-promo-navy);
}

/* 2-tone split headline — MF blue lead + neutral rest */
.mf-article-cta--dark .mf-article-cta__title-lead {
    color: var(--mf-promo-blue);
}

.mf-article-cta--light .mf-article-cta__title-lead {
    color: var(--mf-promo-blue);
}

.mf-article-cta--dark .mf-article-cta__title-rest {
    color: #ffffff;
}

.mf-article-cta--light .mf-article-cta__title-rest {
    color: var(--mf-promo-navy);
}

/*
 * Desktop/tablet split band: keep long city names from wrapping onto a third
 * headline line. Shared by light + dark CTAs; mobile sizes stay unchanged.
 */
@media (min-width: 721px) {
    .mf-article-cta .mf-article-cta__title-lead {
        font-size: clamp(37px, 4vw, 42px);
    }

    .mf-article-cta .mf-article-cta__title-rest {
        font-size: clamp(33px, 3.55vw, 38px);
        white-space: nowrap;
    }
}

.mf-article-cta p.mf-article-cta__body {
    margin: 0;
    font-family: Overpass, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.01em;
    text-wrap: pretty;
    max-width: 28em;
}

.mf-article-cta--cta-visual p.mf-article-cta__body {
    margin-bottom: 0;
}

.mf-article-cta--dark p.mf-article-cta__body {
    color: rgba(214, 224, 255, 0.78);
}

.mf-article-cta--light p.mf-article-cta__body {
    color: #5a7188;
}

.mf-article-cta__actions {
    margin: 14px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
}

.mf-article-cta__actions--text-secondary {
    margin: 4px 0 0;
}

.mf-article-cta__actions--visual {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    pointer-events: none;
    background: none;
}

.mf-article-cta__actions--visual .mf-article-cta__btn {
    pointer-events: auto;
    margin: 0;
    width: 180px;
    min-width: 170px;
    max-width: 190px;
    height: 48px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 11px;
    box-shadow: 0 4px 16px rgba(8, 23, 43, 0.32);
}

.mf-article-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 11px;
    background: var(--mf-promo-blue);
    color: #fff !important;
    font-family: Overpass, sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.25;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.mf-article-cta__btn:hover {
    background: var(--mf-promo-blue-hover);
    color: #fff !important;
    transform: translateY(-1px);
}

.mf-article-cta__link-secondary {
    font-family: Overpass, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.35;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.mf-article-cta--dark .mf-article-cta__link-secondary {
    color: rgba(207, 224, 255, 0.88);
}

.mf-article-cta--light .mf-article-cta__link-secondary {
    color: #5a7188;
}

.mf-article-cta--light .mf-article-cta__link-secondary:hover {
    color: var(--mf-promo-blue);
}

.mf-article-cta__origins {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.45;
}

.mf-article-cta--dark .mf-article-cta__origins {
    color: rgba(245, 248, 252, 0.62);
}

.mf-article-cta--light .mf-article-cta__origins {
    color: #6b7c8f;
}

.mf-article-cta__origin-link {
    font-weight: 600;
    text-decoration: none;
}

.mf-article-cta--dark .mf-article-cta__origin-link {
    color: #9ec5ff;
}

.mf-article-cta--light .mf-article-cta__origin-link {
    color: var(--mf-promo-blue);
}

.mf-article-cta__origin-link:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mf-article-cta__secondary-prefix {
    margin-right: 0.35em;
}

.mf-article-cta__sep {
    margin: 0 0.35em;
    opacity: 0.55;
}

.mf-article-cta__visual {
    position: relative;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    background: var(--mf-promo-navy-deep);
}

/* Light theme: never show the dark navy fallback strip behind the photo */
.mf-article-cta--light .mf-article-cta__visual {
    background: #d7e6f7;
}

/* Subtle whole-image dim for CTA contrast — no separate dark box behind the button */
.mf-article-cta__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(8, 23, 43, 0.18) 0%,
        rgba(8, 23, 43, 0.28) 100%
    );
}

.mf-article-cta__visual--product {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 16px;
    background: var(--mf-promo-navy-deep);
}

.mf-article-cta__visual--product::after {
    display: none;
}

.mf-article-cta--light .mf-article-cta__visual--product {
    background: #d5e4f6;
}

.mf-article-cta__picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
}

/*
 * Beat .mf-article__body img (margin 1.5em + radius 12px) so in-body light
 * banners keep the same edge-to-edge photo fill as the dark promo.
 */
.mf-article-cta .mf-article-cta__img,
.mf-article__body .mf-article-cta .mf-article-cta__img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    object-position: center center;
}

/* Keep 25 de Abril Bridge / Lisbon skyline in frame above the CTA */
.mf-article-cta__img--lisbon {
    object-position: center 28%;
}

/* Warm coastal crop — keep turquoise water + palm line balanced */
.mf-article-cta__img--aruba {
    object-position: center 45%;
}

.mf-article-cta__img--liberia {
    object-position: center 40%;
}

.mf-article-cta__img--cancun {
    object-position: center 35%;
}


.mf-article-cta__proof {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 1;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(12, 35, 68, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
}

.mf-article-cta__proof--tiny {
    left: auto;
    right: 12px;
    bottom: 12px;
    max-width: 9.5em;
    padding: 8px 10px;
}

.mf-article-cta__proof-route {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.78);
}

.mf-article-cta__proof-price {
    margin: 0;
    font-family: Overpass, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
}

.mf-article-cta__proof--tiny .mf-article-cta__proof-price {
    font-size: 18px;
}

.mf-article-cta__proof-price-note {
    margin-left: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.72);
}

.mf-article-cta__proof-save {
    margin: 6px 0 0;
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--mf-promo-save-bg);
    color: var(--mf-promo-save);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.mf-article-cta__proof-typical {
    margin: 6px 0 0;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.mf-article-cta__product {
    width: 100%;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mf-article-cta__product-chrome {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 2px;
}

.mf-article-cta__product-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.mf-article-cta--light .mf-article-cta__product-dot {
    background: rgba(16, 55, 76, 0.28);
}

.mf-article-cta__product-label {
    margin-left: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.mf-article-cta--light .mf-article-cta__product-label {
    color: var(--mf-promo-ink);
}

.mf-article-cta__fare-card {
    padding: 16px 16px 14px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(16, 55, 76, 0.08);
    box-shadow: 0 14px 28px rgba(8, 23, 43, 0.18);
    color: var(--mf-promo-ink);
}

.mf-article-cta__fare-route {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: #4b6073;
}

.mf-article-cta__fare-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.mf-article-cta__fare-price {
    margin: 0;
    font-family: Overpass, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--mf-promo-navy-deep);
    font-variant-numeric: tabular-nums;
}

.mf-article-cta__fare-save {
    margin: 2px 0 0;
}

.mf-article-cta__fare-save-pct {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--mf-promo-save-bg);
    color: var(--mf-promo-save);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.mf-article-cta__fare-typical {
    margin: 8px 0 0;
    font-size: 12px;
    color: #6b7c8f;
}

.mf-article-cta__fare-note,
.mf-article-cta__fare-meta {
    margin: 4px 0 0;
    font-size: 12px;
    color: #6b7c8f;
}

.mf-article-cta__alert-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--mf-promo-ink);
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(8, 23, 43, 0.12);
}

.mf-article-cta__alert-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mf-promo-blue);
    box-shadow: 0 0 0 3px rgba(0, 95, 255, 0.2);
}

@media (max-width: 720px) {
    .mf-article-cta--compact,
    .mf-article-cta--final {
        margin-bottom: 20px;
    }

    .mf-article-cta--split .mf-article-cta__card {
        grid-template-columns: 1fr;
        min-height: 0;
        height: auto;
        max-height: none;
    }

    .mf-article-cta__copy {
        padding: 18px 16px 14px;
        gap: 6px;
    }

    .mf-article-cta p.mf-article-cta__title {
        font-size: 28px;
        line-height: 1.08;
        max-width: none;
    }

    .mf-article-cta .mf-article-cta__title-lead {
        font-size: 30px;
        font-weight: 700;
    }

    .mf-article-cta .mf-article-cta__title-rest {
        font-size: 28px;
        font-weight: 500;
    }

    .mf-article-cta p.mf-article-cta__body {
        font-size: 16px;
        max-width: none;
    }

    .mf-article-cta__actions:not(.mf-article-cta__actions--visual) {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .mf-article-cta__actions--visual {
        padding: 14px;
        align-items: center;
        justify-content: center;
        background: none;
    }

    .mf-article-cta__actions--visual .mf-article-cta__btn {
        margin: 0;
        width: 170px;
        height: 48px;
    }

    .mf-article-cta__btn {
        padding: 12px 16px;
        white-space: normal;
        text-align: center;
    }

    .mf-article-cta__actions:not(.mf-article-cta__actions--visual) .mf-article-cta__btn {
        width: 100%;
    }

    .mf-article-cta__link-secondary {
        text-align: center;
    }

    .mf-article-cta__origins {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        row-gap: 4px;
    }

    .mf-article-cta__visual {
        min-height: 168px;
        height: auto;
    }

    .mf-article-cta__visual--product {
        min-height: 0;
        padding: 8px 16px 18px;
    }

    .mf-article-cta__proof {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 8px 10px;
    }

    .mf-article-cta__proof-price {
        font-size: 18px;
    }

    .mf-article-cta__fare-price {
        font-size: 28px;
    }

    .mf-article-cta__product {
        max-width: none;
    }
}

@media (max-width: 720px) {
    .mf-fare-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .mf-fare-table,
    .mf-fare-table tbody,
    .mf-fare-table tr,
    .mf-fare-table th,
    .mf-fare-table td {
        display: block;
        width: 100%;
    }

    .mf-fare-table tr {
        margin: 0 0 14px;
        padding: 12px 12px 4px;
        border: 1px solid #e5ebf3;
        border-radius: 10px;
        background: #fff;
    }

    .mf-fare-table tbody th {
        padding: 0 0 8px;
        border-bottom: 1px solid #eef2f7;
        font-size: 16px;
    }

    .mf-fare-table td {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 8px 0;
        border-bottom: 1px solid #f0f3f7;
    }

    .mf-fare-table td:last-child {
        border-bottom: 0;
        display: block;
    }

    .mf-fare-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-color-primary, #383838);
        flex: 0 0 auto;
    }

    .mf-fare-table td:last-child::before {
        display: block;
        margin-bottom: 4px;
    }

    .mf-fare-table td.is-best {
        background: transparent;
        box-shadow: inset 3px 0 0 #9ec5ff;
        padding-left: 8px;
    }

    /*
     * Three-origin comparison cards (Canada Dec/Jan).
     * Destination on top, three origin fares in one aligned row, temp secondary.
     */
    .mf-fare-table--dec-origins tr,
    .mf-fare-table--jan-origins tr {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 8px;
        row-gap: 4px;
        margin: 0 0 10px;
        padding: 10px;
        border: 1px solid #e5ebf3;
        border-radius: 10px;
        background: #fff;
        box-sizing: border-box;
    }

    .mf-fare-table--dec-origins tbody th,
    .mf-fare-table--jan-origins tbody th {
        display: block;
        grid-column: 1 / -1;
        grid-row: 1;
        width: auto;
        padding: 0 0 6px;
        border-bottom: 1px solid #eef2f7;
        font-size: 15px;
        line-height: 1.3;
        white-space: normal;
    }

    .mf-fare-table--dec-origins td,
    .mf-fare-table--jan-origins td {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 2px;
        width: auto;
        padding: 4px;
        border-bottom: 0;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.25;
        color: var(--text-color-primary, #383838);
        min-width: 0;
        border-radius: 6px;
    }

    .mf-fare-table--dec-origins td::before,
    .mf-fare-table--jan-origins td::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        font-weight: 600;
        line-height: 1.2;
        color: #6b7280;
        flex: none;
    }

    .mf-fare-table--dec-origins td:nth-child(2),
    .mf-fare-table--dec-origins td:nth-child(3),
    .mf-fare-table--dec-origins td:nth-child(4),
    .mf-fare-table--jan-origins td:nth-child(2),
    .mf-fare-table--jan-origins td:nth-child(3),
    .mf-fare-table--jan-origins td:nth-child(4) {
        grid-row: 2;
    }

    .mf-fare-table--dec-origins td:nth-child(2),
    .mf-fare-table--jan-origins td:nth-child(2) {
        grid-column: 1;
    }

    .mf-fare-table--dec-origins td:nth-child(3),
    .mf-fare-table--jan-origins td:nth-child(3) {
        grid-column: 2;
    }

    .mf-fare-table--dec-origins td:nth-child(4),
    .mf-fare-table--jan-origins td:nth-child(4) {
        grid-column: 3;
    }

    .mf-fare-table--dec-origins td:last-child,
    .mf-fare-table--jan-origins td:last-child {
        grid-column: 1 / -1;
        grid-row: 3;
        display: flex;
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
        gap: 10px;
        margin-top: 2px;
        padding: 6px 0 0;
        border-top: 1px solid #f0f3f7;
        border-radius: 0;
        font-size: 13px;
        font-weight: 500;
        color: var(--text-color-secondary, #4B5563);
    }

    .mf-fare-table--dec-origins td:last-child::before,
    .mf-fare-table--jan-origins td:last-child::before {
        display: inline;
        margin-bottom: 0;
        font-size: 12px;
        font-weight: 600;
        color: #6b7280;
    }

    .mf-fare-table--dec-origins td.is-best,
    .mf-fare-table--jan-origins td.is-best {
        background: #eef6ff;
        box-shadow: none;
        padding-left: 4px;
    }

    /*
     * Four-origin U.S. comparison cards.
     * Destination on top, 2x2 fare grid (NY/Chicago, Dallas/LA), then Dec high.
     */
    .mf-fare-table--us-origins tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 8px;
        row-gap: 4px;
        margin: 0 0 10px;
        padding: 10px;
        border: 1px solid #e5ebf3;
        border-radius: 10px;
        background: #fff;
        box-sizing: border-box;
    }

    .mf-fare-table--us-origins tbody th {
        display: block;
        grid-column: 1 / -1;
        grid-row: 1;
        width: auto;
        max-width: none;
        padding: 0 0 6px;
        border-bottom: 1px solid #eef2f7;
        font-size: 15px;
        line-height: 1.3;
        white-space: normal;
    }

    .mf-fare-table--us-origins td {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 2px;
        width: auto;
        padding: 4px;
        border-bottom: 0;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.25;
        color: var(--text-color-primary, #383838);
        min-width: 0;
        border-radius: 6px;
    }

    .mf-fare-table--us-origins td::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        font-weight: 600;
        line-height: 1.2;
        color: #6b7280;
        flex: none;
    }

    .mf-fare-table--us-origins td:nth-child(2),
    .mf-fare-table--us-origins td:nth-child(3) {
        grid-row: 2;
    }

    .mf-fare-table--us-origins td:nth-child(4),
    .mf-fare-table--us-origins td:nth-child(5) {
        grid-row: 3;
    }

    .mf-fare-table--us-origins td:nth-child(2),
    .mf-fare-table--us-origins td:nth-child(4) {
        grid-column: 1;
    }

    .mf-fare-table--us-origins td:nth-child(3),
    .mf-fare-table--us-origins td:nth-child(5) {
        grid-column: 2;
    }

    .mf-fare-table--us-origins td:last-child {
        grid-column: 1 / -1;
        grid-row: 4;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 2px;
        margin-top: 2px;
        padding: 6px 0 0;
        border-top: 1px solid #f0f3f7;
        border-radius: 0;
        font-size: 13px;
        font-weight: 500;
        color: var(--text-color-secondary, #4B5563);
    }

    .mf-fare-table--us-origins td:last-child::before {
        display: block;
        margin-bottom: 0;
        font-size: 11px;
        font-weight: 600;
        color: #6b7280;
    }

    .mf-fare-table--us-origins td.is-best {
        background: #eef6ff;
        box-shadow: none;
        padding-left: 4px;
    }
}


/* Four-origin Europe compares:
   AU (Sydney / Melbourne / Brisbane / Perth) and
   US (New York / Chicago / Dallas / Los Angeles) */
.mf-fare-summary--au-origins,
.mf-fare-summary--us-europe {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 640px) {
    .mf-fare-summary--au-origins,
    .mf-fare-summary--us-europe {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.mf-fare-table--au-origins,
.mf-fare-table--us-europe {
    table-layout: fixed;
    width: 100%;
}

.mf-fare-table--au-origins th,
.mf-fare-table--au-origins td,
.mf-fare-table--us-europe th,
.mf-fare-table--us-europe td {
    padding: 10px 12px;
    box-sizing: border-box;
}

.mf-fare-table--au-origins thead th,
.mf-fare-table--us-europe thead th {
    font-size: 12px;
}

/* Long names need room + gap before the first fare column. */
.mf-fare-table--au-origins thead th:first-child,
.mf-fare-table--au-origins tbody th,
.mf-fare-table--us-europe thead th:first-child,
.mf-fare-table--us-europe tbody th {
    width: 34%;
    min-width: 12em;
    padding-right: 18px;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
}

.mf-fare-table--au-origins thead th:not(:first-child),
.mf-fare-table--au-origins tbody td,
.mf-fare-table--us-europe thead th:not(:first-child),
.mf-fare-table--us-europe tbody td {
    width: 16.5%;
    white-space: nowrap;
}

@media (max-width: 720px) {
    .mf-fare-table--au-origins thead,
    .mf-fare-table--us-europe thead {
        display: none;
    }

    .mf-fare-table--au-origins tr,
    .mf-fare-table--us-europe tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 8px;
        row-gap: 4px;
        margin: 0 0 10px;
        padding: 10px;
        border: 1px solid #e5ebf3;
        border-radius: 10px;
        background: #fff;
        box-sizing: border-box;
    }

    .mf-fare-table--au-origins tbody th,
    .mf-fare-table--us-europe tbody th {
        display: block;
        grid-column: 1 / -1;
        grid-row: 1;
        width: auto;
        max-width: none;
        padding: 0 0 6px;
        border-bottom: 1px solid #eef2f7;
        font-size: 15px;
        line-height: 1.3;
        white-space: normal;
    }

    .mf-fare-table--au-origins td,
    .mf-fare-table--us-europe td {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 2px;
        width: auto;
        padding: 4px;
        border-bottom: 0;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.25;
        color: var(--text-color-primary, #383838);
        min-width: 0;
        border-radius: 6px;
    }

    .mf-fare-table--au-origins td::before,
    .mf-fare-table--us-europe td::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        font-weight: 600;
        line-height: 1.2;
        color: #6b7280;
        flex: none;
    }

    .mf-fare-table--au-origins td:nth-child(2),
    .mf-fare-table--au-origins td:nth-child(3),
    .mf-fare-table--us-europe td:nth-child(2),
    .mf-fare-table--us-europe td:nth-child(3) {
        grid-row: 2;
    }

    .mf-fare-table--au-origins td:nth-child(4),
    .mf-fare-table--au-origins td:nth-child(5),
    .mf-fare-table--us-europe td:nth-child(4),
    .mf-fare-table--us-europe td:nth-child(5) {
        grid-row: 3;
    }

    .mf-fare-table--au-origins td:nth-child(2),
    .mf-fare-table--au-origins td:nth-child(4),
    .mf-fare-table--us-europe td:nth-child(2),
    .mf-fare-table--us-europe td:nth-child(4) {
        grid-column: 1;
    }

    .mf-fare-table--au-origins td:nth-child(3),
    .mf-fare-table--au-origins td:nth-child(5),
    .mf-fare-table--us-europe td:nth-child(3),
    .mf-fare-table--us-europe td:nth-child(5) {
        grid-column: 2;
    }

    .mf-fare-table--au-origins td.is-best,
    .mf-fare-table--us-europe td.is-best {
        background: #eef6ff;
        box-shadow: none;
        padding-left: 4px;
    }
}

/* Single-origin monthly deal table (Destination | Fare | Dates | Trip length | Below typical) */
.mf-fare-table--single-deal {
    table-layout: fixed;
    width: 100%;
}

.mf-fare-table--single-deal th,
.mf-fare-table--single-deal td {
    padding: 10px 12px;
    box-sizing: border-box;
    vertical-align: top;
}

.mf-fare-table--single-deal thead th {
    font-size: 12px;
}

.mf-fare-table--single-deal thead th:first-child,
.mf-fare-table--single-deal tbody th {
    width: 34%;
    padding-right: 16px;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
}

.mf-fare-table--single-deal thead th:nth-child(2),
.mf-fare-table--single-deal tbody td:nth-child(2) {
    width: 15%;
    white-space: nowrap;
}

.mf-fare-table--single-deal thead th:nth-child(3),
.mf-fare-table--single-deal tbody td:nth-child(3) {
    width: 20%;
    white-space: nowrap;
}

.mf-fare-table--single-deal thead th:nth-child(4),
.mf-fare-table--single-deal tbody td:nth-child(4),
.mf-fare-table--single-deal thead th:nth-child(5),
.mf-fare-table--single-deal tbody td:nth-child(5) {
    width: 15.5%;
    white-space: nowrap;
}

.mf-article__deals-link {
    margin: 0 0 1.25em;
    font-size: 15px;
    line-height: 1.55;
}

.mf-article__deals-link a {
    color: var(--link-color, #1a5fb4);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mf-article__deals-link a:hover {
    color: var(--link-color-hover, #124a8c);
}

.mf-article__direct-note {
    margin: -0.55em 0 1em;
    font-family: Overpass, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-color-muted, #6b7280);
}

@media (max-width: 720px) {
    .mf-fare-table--single-deal thead {
        display: none;
    }

    .mf-fare-table--single-deal tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 8px;
        row-gap: 4px;
        margin: 0 0 10px;
        padding: 10px;
        border: 1px solid #e5ebf3;
        border-radius: 10px;
        background: #fff;
        box-sizing: border-box;
    }

    .mf-fare-table--single-deal tbody th {
        display: block;
        grid-column: 1 / -1;
        grid-row: 1;
        width: auto;
        max-width: none;
        padding: 0 0 6px;
        border-bottom: 1px solid #eef2f7;
        font-size: 15px;
        line-height: 1.3;
        white-space: normal;
    }

    .mf-fare-table--single-deal td {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 2px;
        width: auto;
        padding: 4px;
        border-bottom: 0;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.25;
        color: var(--text-color-primary, #383838);
        min-width: 0;
        border-radius: 6px;
        white-space: normal;
    }

    .mf-fare-table--single-deal td::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        font-weight: 600;
        line-height: 1.2;
        color: #6b7280;
        flex: none;
    }

    .mf-fare-table--single-deal td:nth-child(2),
    .mf-fare-table--single-deal td:nth-child(3) {
        grid-row: 2;
    }

    .mf-fare-table--single-deal td:nth-child(4),
    .mf-fare-table--single-deal td:nth-child(5) {
        grid-row: 3;
    }

    .mf-fare-table--single-deal td:nth-child(2),
    .mf-fare-table--single-deal td:nth-child(4) {
        grid-column: 1;
    }

    .mf-fare-table--single-deal td:nth-child(3),
    .mf-fare-table--single-deal td:nth-child(5) {
        grid-column: 2;
    }

    .mf-fare-table--single-deal td.is-best {
        background: #eef6ff;
        box-shadow: none;
        padding-left: 4px;
    }
}


.mf-fare-table__footnote {
    margin: 0.65em 0 0;
    font-family: Overpass, sans-serif;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-color-muted, #6b7280);
}

.mf-fare-table__mobile-note {
    display: none;
}

@media (max-width: 720px) {
    .mf-fare-table__mobile-note {
        display: block;
        margin-top: 4px;
        font-family: Overpass, sans-serif;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.02em;
        color: #6b7280;
    }

    .mf-fare-table__footnote {
        font-size: 12px;
        margin-top: 0.35em;
        margin-bottom: 0.75em;
    }
}

/* ---- Blog lead-generation modal (anonymous readers) ---- */
.mf-blog-lead-modal {
    --mf-lead-navy: #102c52;
    --mf-lead-ink: #08172b;
    --mf-lead-muted: #4a6278;
    --mf-lead-blue: #005fff;
    --mf-lead-blue-hover: #0046cc;
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.mf-blog-lead-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mf-blog-lead-modal[hidden] {
    display: none !important;
}

.mf-blog-lead-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 23, 43, 0.62);
}

.mf-blog-lead-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 440px);
    max-height: min(88vh, 640px);
    overflow: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(8, 23, 43, 0.28);
    transform: translateY(12px) scale(0.98);
    transition: transform 0.28s ease;
}

.mf-blog-lead-modal.is-open .mf-blog-lead-modal__dialog {
    transform: translateY(0) scale(1);
}

.mf-blog-lead-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--mf-lead-ink);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(8, 23, 43, 0.12);
}

.mf-blog-lead-modal__close:hover,
.mf-blog-lead-modal__close:focus-visible {
    background: #fff;
    outline: 2px solid rgba(0, 95, 255, 0.35);
    outline-offset: 1px;
}

.mf-blog-lead-modal__media {
    aspect-ratio: 8 / 5;
    overflow: hidden;
    background: #eef4fb;
}

.mf-blog-lead-modal__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mf-blog-lead-modal__content {
    padding: 22px 24px 26px;
    text-align: left;
}

.page-manyflights p.mf-blog-lead-modal__brand,
.mf-blog-lead-modal__brand {
    margin: 0 0 10px;
    font-family: Overpass, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: left;
    color: var(--mf-lead-blue);
}

.page-manyflights h2.mf-blog-lead-modal__title,
.mf-blog-lead-modal__title {
    margin: 0;
    font-family: Overpass, sans-serif;
    font-size: 1.28rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-align: left;
    color: var(--mf-lead-navy);
}

/* Origin-formula modals omit body; keep CTA spacing consistent. */
.mf-blog-lead-modal__title + .mf-blog-lead-modal__cta {
    margin-top: 16px;
}

.page-manyflights p.mf-blog-lead-modal__body,
.mf-blog-lead-modal__body {
    margin: 12px 0 0;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    line-height: 1.55;
    text-align: left;
    color: var(--mf-lead-muted);
    text-wrap: pretty;
}

.mf-blog-lead-modal__body + .mf-blog-lead-modal__cta {
    margin-top: 18px;
}

.mf-blog-lead-modal__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 11px;
    background: var(--mf-lead-blue);
    color: #fff !important;
    font-family: Overpass, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none !important;
    transition: background 0.15s ease, transform 0.15s ease;
}

.mf-blog-lead-modal__cta:hover {
    background: var(--mf-lead-blue-hover);
    color: #fff !important;
    transform: translateY(-1px);
}

.mf-blog-lead-modal__cta:focus-visible {
    outline: 2px solid rgba(0, 95, 255, 0.45);
    outline-offset: 2px;
}

body.mf-blog-lead-modal-open {
    overflow: hidden;
}

@media (max-width: 540px) {
    .mf-blog-lead-modal {
        padding: 12px;
        align-items: flex-end;
    }

    .mf-blog-lead-modal__dialog {
        width: 100%;
        max-height: 90vh;
        border-radius: 16px 16px 12px 12px;
    }

    .mf-blog-lead-modal__content {
        padding: 18px 18px 22px;
    }

    .page-manyflights h2.mf-blog-lead-modal__title,
    .mf-blog-lead-modal__title {
        font-size: 1.18rem;
    }

    .mf-blog-lead-modal__body {
        font-size: 14px;
    }
}
