/*
 * ==========================================================
 * DEAUVILLE INSIDER — SNCF
 * PREMIUM DESIGN V1
 * ==========================================================
 *
 * Couche visuelle canonique.
 *
 * Aucun style SNCF historique n'est conservé ici :
 * ce fichier remplace intégralement l'ancienne présentation.
 */


/* ==========================================================
   PAGE
   ========================================================== */

.di-sncf-body {
    background:
        linear-gradient(
            180deg,
            #f8fbfd 0%,
            #edf4f8 52%,
            #f7fafc 100%
        );

    color:
        #082d52;
}


.di-sncf-main {
    padding:
        18px 0 92px;
}




/* ==========================================================
   HEADER GLOBAL — VERSION SNCF
   ========================================================== */

.di-sncf-body .di-header {
    background:
        rgba(255,255,255,.97);

    border-bottom:
        1px solid
        rgba(7,46,83,.08);

    box-shadow:
        0 8px 28px
        rgba(7,46,83,.07);

    backdrop-filter:
        blur(16px);
}


.di-sncf-body .di-header-inner {
    min-height:
        92px;

    gap:
        16px;
}


.di-sncf-body .di-logo {
    display:
        flex;

    align-items:
        center;

    min-width:
        0;

    text-decoration:
        none;
}


.di-sncf-body .di-logo img {
    display:
        block;

    width:
        min(410px, 54vw);

    max-width:
        100%;

    max-height:
        78px;

    object-fit:
        contain;

    object-position:
        left center;
}


.di-sncf-body .di-logo-text {
    color:
        #063865;
}


.di-sncf-body .di-header-tools {
    display:
        flex;

    align-items:
        center;

    gap:
        8px;
}


.di-sncf-body .di-header-weather {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        6px;

    min-height:
        44px;

    padding:
        7px 13px;

    border:
        1px solid
        #dce7ef;

    border-radius:
        999px;

    background:
        #f7fafc;

    color:
        #07345f;

    font-size:
        14px;

    font-weight:
        800;

    box-shadow:
        0 3px 12px
        rgba(7,46,83,.04);
}


.di-sncf-body .di-header-weather-icon {
    font-size:
        20px;

    line-height:
        1;
}


.di-sncf-body .di-lang {
    display:
        flex;

    align-items:
        center;

    gap:
        3px;

    padding:
        3px;

    background:
        #f5f8fa;

    border:
        1px solid
        #dce7ef;

    border-radius:
        999px;
}


.di-sncf-body .di-lang a {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-width:
        42px;

    min-height:
        42px;

    padding:
        8px 10px;

    border:
        0;

    border-radius:
        999px;

    background:
        transparent;

    color:
        #123b5f;

    font-size:
        13px;

    font-weight:
        800;

    text-decoration:
        none;
}


.di-sncf-body .di-lang a.is-active {
    background:
        linear-gradient(
            145deg,
            #0a426f,
            #052d53
        );

    color:
        white;

    box-shadow:
        0 5px 14px
        rgba(5,45,83,.20);
}


/* ==========================================================
   PHOTO HERO
   ========================================================== */

.di-sncf-hero {
    position:
        relative;

    overflow:
        hidden;

    min-height:
        248px;

    aspect-ratio:
        16 / 7;

    border:
        1px solid
        rgba(7,46,83,.08);

    border-radius:
        28px;

    background:
        linear-gradient(
            145deg,
            #c8e5f7,
            #6fb9ec
        );

    box-shadow:
        0 18px 42px
        rgba(7,46,83,.13);
}


.di-sncf-hero-image {
    position:
        absolute;

    inset:
        0;

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    object-position:
        50% 50%;
}


.di-sncf-hero-shade {
    position:
        absolute;

    inset:
        0;

    pointer-events:
        none;

    background:
        linear-gradient(
            180deg,
            rgba(5,32,58,.02) 30%,
            rgba(5,32,58,.34) 100%
        );
}


.di-sncf-hero-placeholder {
    position:
        absolute;

    inset:
        0;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    padding:
        30px;

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

    font-size:
        24px;

    font-weight:
        900;

    text-align:
        center;
}


.di-sncf-hero-caption {
    position:
        absolute;

    left:
        18px;

    bottom:
        16px;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        8px;

    min-height:
        36px;

    padding:
        8px 13px;

    border:
        1px solid
        rgba(255,255,255,.35);

    border-radius:
        999px;

    background:
        rgba(5,32,58,.62);

    color:
        white;

    font-size:
        12px;

    font-weight:
        800;

    letter-spacing:
        .01em;

    backdrop-filter:
        blur(12px);
}


.di-sncf-hero-caption-dot {
    width:
        7px;

    height:
        7px;

    border-radius:
        50%;

    background:
        #31d67b;

    box-shadow:
        0 0 0 4px
        rgba(49,214,123,.17);
}


/* ==========================================================
   IDENTITE SNCF
   ========================================================== */

.di-sncf-brand-card {
    position:
        relative;

    z-index:
        2;

    display:
        grid;

    grid-template-columns:
        104px
        minmax(0, 1fr);

    align-items:
        center;

    gap:
        20px;

    margin: 0 0 16px;

    padding:
        18px 20px;

    border:
        1px solid
        rgba(7,46,83,.08);

    border-radius:
        24px;

    background:
        rgba(255,255,255,.98);

    box-shadow:
        0 15px 38px
        rgba(7,46,83,.12);
}


.di-sncf-brand-logo {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    min-width:
        0;
}


.di-sncf-brand-logo-image {
    display:
        block;

    width:
        96px;

    max-width:
        100%;

    height:
        auto;

    max-height:
        76px;

    object-fit:
        contain;
}


.di-sncf-brand-logo-fallback {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        96px;

    min-height:
        70px;

    padding:
        12px;

    border-radius:
        18px;

    background:
        linear-gradient(
            145deg,
            #ad0051,
            #ef154d
        );

    color:
        white;

    font-size:
        22px;

    font-weight:
        900;

    letter-spacing:
        -.03em;

    box-shadow:
        0 8px 20px
        rgba(176,0,79,.20);
}


.di-sncf-brand-copy {
    min-width:
        0;
}


.di-sncf-brand-copy h1 {
    margin:
        0;

    color:
        #082d52;

    font-size:
        30px;

    font-weight:
        900;

    line-height:
        1;
}


.di-sncf-brand-station {
    margin:
        5px 0 0;

    color:
        #1c4568;

    font-size:
        18px;

    line-height:
        1.25;
}


.di-sncf-realtime {
    display:
        flex;

    flex-wrap:
        wrap;

    align-items:
        center;

    gap:
        7px;

    margin-top:
        8px;

    color:
        #4c687d;

    font-size:
        12px;
}


.di-sncf-realtime strong {
    color:
        #123b5d;

    font-weight:
        800;
}


.di-sncf-realtime-dot {
    width:
        10px;

    height:
        10px;

    border-radius:
        50%;

    background:
        #20b968;

    box-shadow:
        0 0 0 4px
        rgba(32,185,104,.13);
}


/* ==========================================================
   BOARD
   ========================================================== */

.di-sncf-board {
    margin-bottom:
        16px;
}


.di-sncf-tabs {
    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        7px;

    padding:
        6px;

    border:
        1px solid
        rgba(7,46,83,.08);

    border-radius:
        20px;

    background:
        rgba(255,255,255,.94);

    box-shadow:
        0 9px 25px
        rgba(7,46,83,.07);
}


.di-sncf-tab {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        9px;

    min-height:
        52px;

    padding:
        8px 14px;

    border:
        0;

    border-radius:
        15px;

    background:
        transparent;

    color:
        #133c5f;

    font:
        inherit;

    font-size:
        15px;

    font-weight:
        850;

    cursor:
        pointer;

    transition:
        transform .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}


.di-sncf-tab:hover {
    transform:
        translateY(-1px);
}


.di-sncf-tab.is-active {
    background:
        linear-gradient(
            145deg,
            #0b4777,
            #052f57
        );

    color:
        white;

    box-shadow:
        0 7px 18px
        rgba(5,47,87,.19);
}


.di-sncf-tab-symbol {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        28px;

    height:
        28px;

    border-radius:
        9px;

    background:
        rgba(8,56,94,.07);

    font-size:
        17px;

    line-height:
        1;
}


.di-sncf-tab.is-active
.di-sncf-tab-symbol {
    background:
        rgba(255,255,255,.13);
}


/* ==========================================================
   CONTENU LIVE
   ========================================================== */

.di-sncf-placeholder {
    padding:
        18px 0 0;

    color:
        #5c7182;

    text-align:
        center;
}


.di-sncf-placeholder strong {
    display:
        block;

    color:
        #082d52;
}


.di-sncf-placeholder p {
    margin:
        6px 0 0;
}


.di-sncf-placeholder.is-live {
    padding:
        14px 0 0;

    text-align:
        left;
}


.di-sncf-live-message {
    margin-top:
        10px;

    padding:
        26px 18px;

    border:
        1px solid
        rgba(7,46,83,.08);

    border-radius:
        18px;

    background:
        white;

    color:
        #587084;

    text-align:
        center;

    box-shadow:
        0 8px 24px
        rgba(7,46,83,.05);
}


.di-sncf-live-list {
    display:
        grid;

    gap:
        10px;

    margin-top:
        10px;
}


/* ==========================================================
   DATE
   ========================================================== */

.di-sncf-day-divider {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        10px;

    min-height:
        54px;

    margin:
        2px 0;

    padding:
        10px 18px;

    border:
        1px solid
        rgba(7,46,83,.08);

    border-radius:
        18px;

    background:
        rgba(255,255,255,.96);

    color:
        #0b385e;

    font-size:
        14px;

    font-weight:
        900;

    line-height:
        1.2;

    text-align:
        center;

    box-shadow:
        0 7px 20px
        rgba(7,46,83,.05);
}


.di-sncf-day-divider::before {
    content:
        "▣";

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        28px;

    height:
        28px;

    border-radius:
        9px;

    background:
        #eef5fa;

    color:
        #0b4777;

    font-size:
        15px;
}


.di-sncf-day-divider::after {
    display:
        none;
}


/* ==========================================================
   TRAINS
   ========================================================== */

.di-sncf-train-row {
    position:
        relative;

    display:
        grid;

    grid-template-columns:
        80px
        minmax(0, 1fr)
        auto;

    align-items:
        center;

    gap:
        13px;

    min-height:
        86px;

    overflow:
        hidden;

    padding:
        13px 14px 13px 18px;

    border:
        1px solid
        rgba(7,46,83,.08);

    border-radius:
        18px;

    background:
        rgba(255,255,255,.98);

    box-shadow:
        0 7px 22px
        rgba(7,46,83,.055);

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}


.di-sncf-train-row:hover {
    transform:
        translateY(-1px);

    box-shadow:
        0 11px 26px
        rgba(7,46,83,.08);
}


.di-sncf-train-row::before {
    content:
        "";

    position:
        absolute;

    inset:
        0 auto 0 0;

    width:
        5px;

    background:
        #bfcfd9;
}


.di-sncf-train-row.is-paris::before {
    background:
        #ec2b69;
}


.di-sncf-train-row:has(.is-on-time)::before {
    background:
        #26b96a;
}


.di-sncf-train-row:has(.is-delayed)::before {
    background:
        #f39a22;
}


.di-sncf-train-row:has(.is-disrupted)::before {
    background:
        #e83d66;
}


.di-sncf-train-row:has(.is-cancelled)::before {
    background:
        #c72d37;
}


.di-sncf-train-time {
    display:
        flex;

    flex-direction:
        column;

    align-items:
        flex-start;

    color:
        #062e57;
}


.di-sncf-train-time strong {
    font-size:
        22px;

    font-weight:
        900;

    line-height:
        1.05;

    letter-spacing:
        -.025em;
}


.di-sncf-scheduled {
    margin-bottom:
        2px;

    color:
        #94a2ad;

    font-size:
        11px;

    font-weight:
        700;

    text-decoration:
        line-through;
}


.di-sncf-train-main {
    min-width:
        0;
}


.di-sncf-place-line {
    display:
        flex;

    flex-wrap:
        wrap;

    align-items:
        center;

    gap:
        7px;

    min-width:
        0;
}


.di-sncf-train-place {
    display:
        inline;

    min-width:
        0;

    overflow:
        hidden;

    color:
        #082d52;

    font-size:
        16px;

    font-weight:
        900;

    line-height:
        1.2;

    text-overflow:
        ellipsis;
}


.di-sncf-paris-pill {
    display:
        inline-flex;

    align-items:
        center;

    min-height:
        22px;

    padding:
        3px 8px;

    border-radius:
        999px;

    background:
        #ffe6ef;

    color:
        #d51959;

    font-size:
        10px;

    font-weight:
        900;

    line-height:
        1;
}


.di-sncf-journey-meta {
    display:
        block;

    margin-top:
        3px;

    color:
        #3d5e78;

    font-size:
        12.5px;

    font-weight:
        650;

    line-height:
        1.35;
}


.di-sncf-journey-dot {
    color:
        #96a6b1;
}


.di-sncf-train-number {
    display:
        block;

    margin-top:
        4px;

    color:
        #708291;

    font-size:
        11.5px;

    font-weight:
        600;

    line-height:
        1.25;
}


/* ==========================================================
   STATUTS
   ========================================================== */

.di-sncf-live-status {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        6px;

    min-height:
        34px;

    padding:
        7px 10px;

    border-radius:
        999px;

    font-size:
        10.5px;

    font-weight:
        900;

    line-height:
        1;

    white-space:
        nowrap;
}


.di-sncf-live-status::before {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        18px;

    height:
        18px;

    border-radius:
        50%;

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

    font-size:
        11px;

    font-weight:
        900;
}


.di-sncf-live-status.is-scheduled {
    background: #e7f6ec;
    color: #176b3a;
    border-color: #c8ead4;
}


.di-sncf-live-status.is-scheduled::before {
    content:
        "◷";
}


.di-sncf-live-status.is-on-time {
    background: #e7f6ec;
    color: #176b3a;
    border-color: #c8ead4;
}


.di-sncf-live-status.is-on-time::before {
    content:
        "✓";
}


.di-sncf-live-status.is-delayed {
    background:
        #fff0d9;

    color:
        #c96b00;
}


.di-sncf-live-status.is-delayed::before {
    content:
        "!";
}


.di-sncf-live-status.is-disrupted {
    background:
        #ffe3ea;

    color:
        #c81f50;
}


.di-sncf-live-status.is-disrupted::before {
    content:
        "!";
}


.di-sncf-live-status.is-cancelled {
    background:
        #fde3e4;

    color:
        #b4262f;
}


.di-sncf-live-status.is-cancelled::before {
    content:
        "×";
}


/* ==========================================================
   CONTROLES
   ========================================================== */

.di-sncf-live-controls {
    display:
        flex;

    justify-content:
        center;

    padding:
        11px 0 0;
}


.di-sncf-live-action {
    appearance:
        none;

    min-height:
        43px;

    padding:
        9px 18px;

    border:
        0;

    border-radius:
        14px;

    background:
        linear-gradient(
            145deg,
            #0b4777,
            #052f57
        );

    color:
        white;

    font:
        inherit;

    font-size:
        12px;

    font-weight:
        850;

    cursor:
        pointer;

    box-shadow:
        0 8px 19px
        rgba(5,47,87,.17);

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}


.di-sncf-live-action:hover {
    transform:
        translateY(-1px);

    box-shadow:
        0 11px 24px
        rgba(5,47,87,.22);
}


.di-sncf-live-action:focus-visible {
    outline:
        3px solid
        rgba(11,71,119,.26);

    outline-offset:
        3px;
}


.di-sncf-live-updated {
    padding:
        10px 4px 0;

    color:
        #83939e;

    font-size:
        10.5px;

    font-weight:
        600;

    text-align:
        right;
}


.di-sncf-admin-live {
    padding:
        10px 0;

    text-align:
        center;
}


.di-sncf-admin-live a {
    color:
        #0b4777;

    font-weight:
        800;
}


/* ==========================================================
   INFORMATIONS SECONDAIRES
   ========================================================== */

.di-sncf-secondary-grid {
    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        12px;

    margin-top:
        18px;
}


.di-sncf-card {
    padding:
        18px;

    border:
        1px solid
        rgba(7,46,83,.08);

    border-radius:
        20px;

    background:
        rgba(255,255,255,.88);

    box-shadow:
        0 7px 20px
        rgba(7,46,83,.04);
}


.di-sncf-card h2 {
    margin:
        0 0 11px;

    color:
        #082d52;

    font-size:
        16px;

    font-weight:
        900;
}


.di-sncf-address {
    display:
        grid;

    gap:
        3px;

    color:
        #60788a;

    font-size:
        12px;
}


.di-sncf-address strong {
    color:
        #173e5e;
}


.di-sncf-info-list {
    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        7px;
}


.di-sncf-info-list > div {
    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    gap:
        4px;

    min-height:
        64px;

    padding:
        7px;

    border-radius:
        12px;

    background:
        #f4f8fa;

    color:
        #173e5e;

    text-align:
        center;
}


.di-sncf-info-list span {
    font-size:
        18px;
}


.di-sncf-info-list strong {
    font-size:
        9px;

    line-height:
        1.2;
}


.di-sncf-source {
    margin:
        11px 3px 0;

    color:
        #8b9aa5;

    font-size:
        10px;

    text-align:
        center;
}


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

@media (max-width: 560px) {

    .di-sncf-main {
        padding:
            9px 0 72px;
    }


    .di-sncf-shell {
        padding-left:
            10px;

        padding-right:
            10px;
    }


    .di-sncf-body .di-header-inner {
        min-height:
            78px;

        gap:
            7px;
    }


    .di-sncf-body .di-logo img {
        width:
            min(235px, 47vw);

        max-height:
            64px;
    }


    .di-sncf-body .di-header-tools {
        gap:
            4px;
    }


    .di-sncf-body .di-header-weather {
        min-height:
            38px;

        padding:
            6px 8px;

        font-size:
            12px;
    }


    .di-sncf-body .di-lang {
        padding:
            2px;
    }


    .di-sncf-body .di-lang a {
        min-width:
            34px;

        min-height:
            34px;

        padding:
            6px;

        font-size:
            11px;
    }


    .di-sncf-hero {
        min-height:
            190px;

        aspect-ratio:
            16 / 8.2;

        border-radius:
            22px;
    }


    .di-sncf-hero-image {
        object-position:
            50% 48%;
    }


    .di-sncf-hero-caption {
        left:
            12px;

        bottom:
            11px;

        min-height:
            30px;

        padding:
            6px 10px;

        font-size:
            10px;
    }


    .di-sncf-brand-card {
        grid-template-columns:
            74px
            minmax(0, 1fr);

        gap:
            12px;

        margin:
            -18px 9px 11px;

        padding:
            13px 14px;

        border-radius:
            19px;
    }


    .di-sncf-brand-logo-image {
        width:
            70px;

        max-height:
            55px;
    }


    .di-sncf-brand-logo-fallback {
        width:
            70px;

        min-height:
            54px;

        padding:
            8px;

        border-radius:
            14px;

        font-size:
            17px;
    }


    .di-sncf-brand-copy h1 {
        font-size:
            23px;
    }


    .di-sncf-brand-station {
        margin-top:
            3px;

        font-size:
            14px;
    }


    .di-sncf-realtime {
        margin-top:
            6px;

        font-size:
            10px;
    }


    .di-sncf-realtime-dot {
        width:
            8px;

        height:
            8px;
    }


    .di-sncf-tabs {
        padding:
            5px;

        border-radius:
            17px;
    }


    .di-sncf-tab {
        gap:
            5px;

        min-height:
            45px;

        padding:
            7px 8px;

        border-radius:
            13px;

        font-size:
            13px;
    }


    .di-sncf-tab-symbol {
        width:
            24px;

        height:
            24px;

        border-radius:
            8px;

        font-size:
            14px;
    }


    .di-sncf-placeholder.is-live {
        padding-top:
            9px;
    }


    .di-sncf-live-list {
        gap:
            8px;

        margin-top:
            8px;
    }


    .di-sncf-day-divider {
        min-height:
            48px;

        padding:
            8px 12px;

        border-radius:
            15px;

        font-size:
            12px;
    }


    .di-sncf-day-divider::before {
        width:
            24px;

        height:
            24px;

        font-size:
            13px;
    }


    .di-sncf-train-row {
        grid-template-columns:
            62px
            minmax(0, 1fr)
            auto;

        gap:
            8px;

        min-height:
            77px;

        padding:
            11px 9px 11px 13px;

        border-radius:
            15px;
    }


    .di-sncf-train-row::before {
        width:
            4px;
    }


    .di-sncf-train-time strong {
        font-size:
            19px;
    }


    .di-sncf-train-place {
        font-size:
            13.5px;
    }


    .di-sncf-paris-pill {
        min-height:
            19px;

        padding:
            3px 6px;

        font-size:
            8.5px;
    }


    .di-sncf-journey-meta {
        margin-top:
            2px;

        font-size:
            10.5px;

        line-height:
            1.28;
    }


    .di-sncf-train-number {
        margin-top:
            3px;

        font-size:
            10px;
    }


    .di-sncf-live-status {
        min-height:
            28px;

        padding:
            5px 7px;

        gap:
            4px;

        font-size:
            8.7px;
    }


    .di-sncf-live-status::before {
        width:
            15px;

        height:
            15px;

        font-size:
            9px;
    }


    .di-sncf-live-action {
        width:
            100%;

        min-height:
            42px;

        border-radius:
            13px;

        font-size:
            11px;
    }


    .di-sncf-live-updated {
        padding-top:
            8px;

        font-size:
            9px;
    }


    .di-sncf-secondary-grid {
        grid-template-columns:
            1fr;

        gap:
            9px;

        margin-top:
            14px;
    }


    .di-sncf-card {
        padding:
            14px;

        border-radius:
            16px;
    }


    .di-sncf-card h2 {
        margin-bottom:
            8px;

        font-size:
            14px;
    }
}


@media (max-width: 390px) {

    .di-sncf-train-row {
        grid-template-columns:
            57px
            minmax(0, 1fr);

        align-items:
            start;
    }


    .di-sncf-live-status {
        grid-column:
            2;

        justify-self:
            start;

        margin-top:
            4px;
    }
}


/* =========================================================
   SNCF — Départ Paris sur nouvelle ligne mobile
   ========================================================= */

@media (max-width: 767px) {

    .di-sncf-journey-dot.di-sncf-mobile-paris-break {
        display: block;
        width: 100%;
        height: 0;
        overflow: hidden;
        font-size: 0;
        line-height: 0;
    }

}


/*
 * ============================================================
 * DI_SNCF_LOCATION_V1
 * Nouveau haut de page SNCF + carte localisation
 * ============================================================
 */


.di-sncf-page-head {
    width: calc(100% - 32px);
    max-width: 900px;
    margin:
        10px
        auto
        24px;
}


.di-sncf-page-head h1 {
    margin: 0;
    color: #17345c;
    font-size: 38px;
    line-height: 1.08;
    font-weight: 850;
}


.di-sncf-page-head p {
    margin:
        7px
        0
        0;
    color: #738095;
    font-size: 18px;
    line-height: 1.35;
}


.di-sncf-location {
    width: calc(100% - 32px);
    max-width: 900px;
    margin:
        0
        auto
        24px;
}


.di-sncf-location-head {
    margin-bottom: 10px;
}


.di-sncf-location-title {
    color: #17345c;
    font-size: 19px;
    font-weight: 850;
}


.di-sncf-location-address {
    margin-top: 3px;
    color: #738095;
    font-size: 15px;
}


.di-sncf-distance {
    margin-top: 5px;
    color: #17345c;
    font-size: 14px;
    font-weight: 800;
}


.di-sncf-map-wrap {
    position: relative;
    overflow: hidden;
    height: 280px;
    border-radius: 22px;
    background: #e9eef4;
    box-shadow:
        0
        7px
        22px
        rgba(18, 39, 74, .08);
}


.di-sncf-map {
    width: 100%;
    height: 100%;
}


.di-sncf-locate {
    position: absolute;
    z-index: 800;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    min-height: 46px;
    border: 0;
    border-radius: 14px;
    background: #17345c;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    box-shadow:
        0
        4px
        14px
        rgba(0, 0, 0, .18);
}


.di-sncf-station-marker {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #d74432;
    border: 3px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    box-shadow:
        0
        4px
        12px
        rgba(0, 0, 0, .25);
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
}


.di-sncf-user-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2585e6;
    border: 4px solid #ffffff;
    box-shadow:
        0
        0
        0
        4px
        rgba(37, 133, 230, .20),
        0
        3px
        10px
        rgba(0, 0, 0, .25);
}


@media (max-width: 767px) {

    .di-sncf-page-head,
    .di-sncf-location {
        width: calc(100% - 24px);
    }


    .di-sncf-page-head {
        margin-top: 6px;
        margin-bottom: 20px;
    }


    .di-sncf-page-head h1 {
        font-size: 34px;
    }


    .di-sncf-page-head p {
        font-size: 17px;
    }


    .di-sncf-location {
        margin-bottom: 18px;
    }


    .di-sncf-location-title {
        font-size: 17px;
    }


    .di-sncf-location-address {
        font-size: 13px;
    }


    .di-sncf-map-wrap {
        height: 195px;
    }

}

/* ============================================================
   DI_SNCF_HEADER_SPACING_V1
   Espace entre le header de l'app et la carte/logo SNCF
   ============================================================ */

.di-sncf-brand-card {
  margin-top: 14px !important;
}

@media (max-width: 640px) {
  .di-sncf-brand-card {
    margin-top: 16px !important;
  }
}



/* ============================================================
   DI_SNCF_HISTORY_1H_CSS_V1
   Train parti / arrivé depuis moins d'une heure
   ============================================================ */

.di-sncf-live-status.is-past {
    background: linear-gradient(135deg, #1b4d79 0%, #0d2e54 100%);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    min-height: 36px;
    padding: 8px 13px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .01em;
    box-shadow:
        0 4px 12px rgba(13,46,84,.18),
        inset 0 1px 0 rgba(255,255,255,.18);
}

.di-sncf-live-status.is-past::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.40);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
}

