/* =========================================================
   MNE PREMIUM TOUR HERO — CLEAN PREMIUM VERSION
========================================================= */

.mne-tour-hero {
    position: relative;
    width: 100%;
    height: 560px;
    max-width: 1600px;
    margin: 0 auto 50px;
    overflow: hidden;
    isolation: isolate;
}


/* =========================================================
   IMAGE
========================================================= */

.mne-tour-hero-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center center;

    max-width: none;
}


/* =========================================================
   OVERLAY
========================================================= */

.mne-tour-hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.72) 0%,
            rgba(0,0,0,.45) 50%,
            rgba(0,0,0,.20) 100%
        );
}


/* =========================================================
   HERO CONTENT
========================================================= */

.mne-tour-hero-inner {
    position: relative;

    z-index: 2;

    height: 100%;
    min-height: 520px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 70px 60px;

    box-sizing: border-box;
}


/* =========================================================
   BADGE
========================================================= */

.mne-tour-hero-badge {
    display: inline-flex;
    align-items: center;

    width: fit-content;

    gap: 9px;

    padding: 9px 16px;
    margin-bottom: 18px;

    background: #b7791f;
    color: #fff;

    font-size: 13px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .8px;

    border-radius: 4px;
}


/* =========================================================
   TITLE
========================================================= */

.mne-tour-hero-title {
    max-width: 850px;

    margin: 0 0 22px;

    color: #fff !important;

    font-size: clamp(34px, 4vw, 58px);

    line-height: 1.08;

    font-weight: 700;

    letter-spacing: -1px;
}


/* =========================================================
   ROUTE HERO
========================================================= */

.mne-tour-hero-route {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 14px;

    margin-bottom: 35px;

    color: #fff;

    font-size: 16px;
    font-weight: 600;
}

.mne-tour-hero-route span {
    display: inline-flex;
    align-items: center;

    gap: 7px;
}

.mne-tour-hero-route i {
    color: #d6a04b;
}

.mne-tour-hero-route > i {
    font-size: 14px;
}


/* =========================================================
   INFO BAR DESKTOP
========================================================= */

.mne-tour-hero-info {
    position: absolute;

    left: 50%;
    bottom: 0;

    transform: translateX(-50%);

    z-index: 5;

    width: 100%;
    max-width: 1600px;

    height: 90px;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    padding: 10px 35px;

    box-sizing: border-box;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0) 0%,
            rgba(0,0,0,.08) 25%,
            rgba(0,0,0,.28) 60%,
            rgba(0,0,0,.48) 100%
        );
}


/* =========================================================
   INFO ITEM
========================================================= */

.mne-tour-info-item {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 12px 20px;

    box-sizing: border-box;

    border-right: 1px solid rgba(255,255,255,.15);

    overflow: hidden;
}

.mne-tour-info-item:last-child {
    border-right: none;
}


/* =========================================================
   ICON
========================================================= */

.mne-tour-info-icon {
    width: 40px;
    height: 40px;

    min-width: 40px;

    flex: 0 0 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(183,121,31,.20);

    color: #d6a04b;

    font-size: 16px;
}


/* =========================================================
   TEXT CONTAINER
========================================================= */

.mne-tour-info-item > div:last-child {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 3px;

    overflow: hidden;
}


/* =========================================================
   LABEL
========================================================= */

.mne-tour-info-item span:not(.mne-route-arrow) {
    display: block;

    color: rgba(255,255,255,.62);

    font-size: 10px;
    line-height: 1.1;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   VALUE
========================================================= */

.mne-tour-info-item strong {
    display: block;

    min-width: 0;

    color: #fff;

    font-size: 14px;
    line-height: 1.3;

    font-weight: 700;
}


/* =========================================================
   PRICE
========================================================= */

.mne-tour-price {
    color: #d6a04b !important;

    font-size: 18px !important;

    white-space: nowrap;
}


/* =========================================================
   RATING
========================================================= */

.mne-tour-stars {
    color: #f5c542 !important;

    font-size: 15px !important;

    letter-spacing: 2px;

    white-space: nowrap;
}


/* =========================================================
   ROUTE ARROW
========================================================= */

.mne-route-arrow {
    display: inline !important;

    margin: 0 5px;

    color: #d6a04b !important;
}


/* =========================================================
   ARTICLE CONTENT
========================================================= */

.mne-tour-content {
    max-width: 100%;

    padding-top: 10px;
}


/* =========================================================
   H2 — ROUTE
========================================================= */

.entry-content h2.wp-block-heading {

    position: relative;

    display: flex !important;
    align-items: center;

    gap: 14px;

    margin: 45px 0 22px !important;

    padding: 17px 20px !important;

    background:
        linear-gradient(
            135deg,
            rgba(183,121,31,.07),
            rgba(183,121,31,.025)
        ) !important;

    border: 1px solid rgba(183,121,31,.13) !important;

    border-left: 4px solid #b7791f !important;

    border-radius: 12px !important;

    color: #222 !important;

    font-size: 28px !important;

    line-height: 1.3 !important;

    font-weight: 700 !important;

    box-shadow: 0 5px 18px rgba(0,0,0,.035);

    box-sizing: border-box;
}


/* =========================================================
   H2 ICON — ROUTE
========================================================= */

.entry-content h2.wp-block-heading::before {

    content: "\f4d7";

    font-family: "Font Awesome 6 Free";

    font-weight: 900;

    width: 38px;
    height: 38px;

    min-width: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(183,121,31,.10);

    border: 1px solid rgba(183,121,31,.20);

    border-radius: 50%;

    color: #b7791f;

    font-size: 17px;

    box-sizing: border-box;
}


/* =========================================================
   H2 DECORATION
========================================================= */

.entry-content h2.wp-block-heading::after {

    content: "";

    position: absolute;

    left: 20px;
    bottom: -7px;

    width: 48px;
    height: 3px;

    background: #b7791f;

    border-radius: 10px;
}


/* =========================================================
   H3 — LOCALISATION
========================================================= */

.entry-content h3.wp-block-heading {

    display: flex !important;
    align-items: center;

    gap: 12px;

    margin: 32px 0 16px !important;

    padding: 13px 17px !important;

    background:
        rgba(183,121,31,.035) !important;

    border: 1px solid rgba(183,121,31,.10) !important;

    border-left: 3px solid #b7791f !important;

    border-radius: 10px !important;

    color: #333 !important;

    font-size: 21px !important;

    line-height: 1.4 !important;

    font-weight: 700 !important;

    box-sizing: border-box;
}


/* =========================================================
   H3 ICON — LOCALISATION
========================================================= */

.entry-content h3.wp-block-heading::before {

    content: "\f3c5";

    font-family: "Font Awesome 6 Free";

    font-weight: 900;

    width: 31px;
    height: 31px;

    min-width: 31px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(183,121,31,.09);

    border-radius: 50%;

    color: #b7791f;

    font-size: 14px;

    box-sizing: border-box;
}


/* =========================================================
   H4 — POINTS CLÉS
========================================================= */

.entry-content h4.wp-block-heading {

    display: flex !important;
    align-items: center;

    gap: 10px;

    margin: 27px 0 13px !important;

    padding: 11px 15px !important;

    background:
        rgba(0,0,0,.018) !important;

    border: 1px solid rgba(0,0,0,.055) !important;

    border-left: 3px solid #b7791f !important;

    border-radius: 9px !important;

    color: #333 !important;

    font-size: 17px !important;

    line-height: 1.4 !important;

    font-weight: 700 !important;

    box-sizing: border-box;
}


/* =========================================================
   H4 ICON — CHECK
========================================================= */

.entry-content h4.wp-block-heading::before {

    content: "\f058";

    font-family: "Font Awesome 6 Free";

    font-weight: 900;

    color: #b7791f;

    font-size: 15px;

    flex-shrink: 0;
}


/* =========================================================
   PARAGRAPHS
========================================================= */

.mne-tour-content p {

    line-height: 1.8;

    margin-bottom: 20px;

    color: #444;
}


/* =========================================================
   LISTS
========================================================= */

.mne-tour-content ul {

    margin-bottom: 25px;

    padding-left: 25px;
}

.mne-tour-content li {

    margin-bottom: 9px;

    line-height: 1.7;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .mne-tour-hero {

        height: 600px;

        min-height: 600px;
    }


    .mne-tour-hero-inner {

        min-height: 600px;

        padding: 50px 30px 120px;
    }


    .mne-tour-hero-info {

        height: 90px;

        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        padding: 8px 15px;
    }


    .mne-tour-info-item {

        padding: 8px 10px;

        gap: 8px;
    }


    .mne-tour-info-icon {

        width: 32px;
        height: 32px;

        min-width: 32px;

        flex-basis: 32px;

        font-size: 13px;
    }


    .mne-tour-info-item strong {

        font-size: 12px;
    }


    .mne-tour-price {

        font-size: 15px !important;
    }


    .mne-tour-stars {

        font-size: 12px !important;
    }
}


/* =========================================================
   MOBILE — 2 LIGNES
   LIGNE 1 : DURATION | ROUTE
   LIGNE 2 : PRICE    | RATING
========================================================= */

@media (max-width: 600px) {

    .mne-tour-hero {

        width: 100%;

        height: 620px;

        min-height: 620px;

        margin-bottom: 35px;
    }


    /* IMAGE */

    .mne-tour-hero-image {

        width: 100%;

        height: 100%;

        object-fit: cover;
    }


    /* HERO CONTENT */

    .mne-tour-hero-inner {

        min-height: 620px;

        padding: 45px 18px 110px;

        justify-content: center;

        box-sizing: border-box;
    }


    /* BADGE */

    .mne-tour-hero-badge {

        font-size: 11px;

        padding: 7px 12px;

        margin-bottom: 14px;
    }


    /* TITLE */

    .mne-tour-hero-title {

        max-width: 100%;

        font-size: 32px;

        line-height: 1.08;

        margin: 10px 0 14px;

        letter-spacing: -.5px;
    }


    /* ROUTE HERO */

    .mne-tour-hero-route {

        gap: 7px;

        font-size: 13px;

        line-height: 1.4;

        margin-bottom: 20px;
    }


    /* =====================================================
       INFO BAR
    ===================================================== */

    .mne-tour-hero-info {

        left: 0;

        bottom: 0;

        transform: none;

        width: 100%;

        max-width: 100%;

        height: auto;

        min-height: 120px;

        padding: 8px 8px;

        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        grid-template-rows:
            repeat(2, minmax(0, 1fr));

        gap: 0;

        box-sizing: border-box;

        background:
            linear-gradient(
                to bottom,
                rgba(0,0,0,0) 0%,
                rgba(0,0,0,.18) 30%,
                rgba(0,0,0,.52) 100%
            );

        backdrop-filter: none;

        -webkit-backdrop-filter: none;
    }


    /* =====================================================
       ITEMS
    ===================================================== */

    .mne-tour-info-item {

        width: 100%;

        min-width: 0;

        min-height: 52px;

        display: flex;

        flex-direction: row;

        align-items: center;

        justify-content: flex-start;

        gap: 7px;

        padding: 7px 9px;

        box-sizing: border-box;

        border-right:
            1px solid rgba(255,255,255,.12);

        border-bottom:
            1px solid rgba(255,255,255,.12);

        overflow: hidden;
    }


    /* RIGHT COLUMN */

    .mne-tour-info-item:nth-child(2n) {

        border-right: none;
    }


    /* BOTTOM ROW */

    .mne-tour-info-item:nth-child(n+3) {

        border-bottom: none;
    }


    /* =====================================================
       ICON
    ===================================================== */

    .mne-tour-info-icon {

        width: 27px;
        height: 27px;

        min-width: 27px;

        flex: 0 0 27px;

        font-size: 11px;
    }


    /* =====================================================
       TEXT
    ===================================================== */

    .mne-tour-info-item > div:last-child {

        width: auto;

        min-width: 0;

        max-width:
            calc(100% - 34px);

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 2px;

        overflow: hidden;
    }


    /* LABEL */

    .mne-tour-info-item
    span:not(.mne-route-arrow) {

        display: block;

        width: 100%;

        margin: 0;

        color:
            rgba(255,255,255,.62);

        font-size: 10px;

        line-height: 1;

        letter-spacing: .5px;

        text-transform: uppercase;

        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }


    /* VALUE */

    .mne-tour-info-item strong {

        display: block;

        width: 100%;

        max-width: 100%;

        color: #fff;

        font-size: 8px;

        line-height: 1.2;

        font-weight: 700;

        white-space: normal;

        overflow: visible;

        text-overflow: clip;

        overflow-wrap: anywhere;
    }


    /* =====================================================
       ROUTE
    ===================================================== */

    .mne-tour-info-item:nth-child(2) strong {

        white-space: normal;

        line-height: 1.15;

        overflow-wrap: break-word;

        word-break: normal;
    }


    .mne-route-arrow {

        display: inline !important;

        margin: 0 3px;

        font-size: 9px !important;

        color: #d6a04b !important;
    }


    /* =====================================================
       PRICE
    ===================================================== */

    .mne-tour-price {

        font-size: 13px !important;

        white-space: nowrap !important;

        color: #d6a04b !important;
    }


    /* =====================================================
       RATING
    ===================================================== */

    .mne-tour-stars {

        font-size: 10px !important;

        letter-spacing: 1px;

        white-space: nowrap !important;
    }


    /* =====================================================
       H2 MOBILE
    ===================================================== */

    .entry-content h2.wp-block-heading {

        gap: 10px;

        font-size: 24px !important;

        padding: 14px 15px !important;

        margin-top: 35px !important;

        border-radius: 10px !important;
    }


    .entry-content h2.wp-block-heading::before {

        width: 32px;
        height: 32px;

        min-width: 32px;

        font-size: 14px;
    }


    /* =====================================================
       H3 MOBILE
    ===================================================== */

    .entry-content h3.wp-block-heading {

        gap: 9px;

        font-size: 19px !important;

        padding: 11px 14px !important;

        border-radius: 9px !important;
    }


    .entry-content h3.wp-block-heading::before {

        width: 28px;
        height: 28px;

        min-width: 28px;

        font-size: 12px;
    }


    /* =====================================================
       H4 MOBILE
    ===================================================== */

    .entry-content h4.wp-block-heading {

        font-size: 16px !important;

        padding: 9px 13px !important;

        border-radius: 8px !important;
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .mne-tour-hero-title {

        font-size: 29px;
    }


    .mne-tour-info-item {

        padding: 6px 6px;

        gap: 5px;
    }


    .mne-tour-info-icon {

        width: 24px;
        height: 24px;

        min-width: 24px;

        flex-basis: 24px;

        font-size: 10px;
    }


    .mne-tour-info-item
    span:not(.mne-route-arrow) {

        font-size: 7px;
    }


    .mne-tour-info-item strong {

        font-size: 10px;
    }


    .mne-tour-price {

        font-size: 12px !important;
    }


    .mne-tour-stars {

        font-size: 9px !important;

        letter-spacing: 0;
    }


    .entry-content h2.wp-block-heading {

        font-size: 21px !important;
    }


    .entry-content h3.wp-block-heading {

        font-size: 18px !important;
    }


    .entry-content h4.wp-block-heading {

        font-size: 15px !important;
    }
}