/* ============================================================
   OROSEIMETEO · V-MARINE
   Stile coerente con il nuovo portale.
   Mappe a larghezza piena, senza barra decorativa laterale.
   ============================================================ */

.vmarine-page{
    padding:0 0 64px;
    background:#fff;
}

.vmarine-page .container{
    width:min(1280px,calc(100% - 40px));
}

/* ============================================================
   TESTATA
   ============================================================ */

.vmarine-hero{
    margin:0 calc(50% - 50vw);
    padding:54px max(20px,calc((100vw - min(1280px,calc(100vw - 40px))) / 2));
    border-bottom:1px solid var(--om-line-strong,#d9e0e4);
    background:#fff;
}

.vmarine-hero-copy{
    max-width:860px;
}

.vmarine-kicker,
.vmarine-section-kicker{
    display:block;
    color:var(--om-blue,#147fa8);
    font-size:14px;
    line-height:1.25;
    font-weight:700;
    letter-spacing:.055em;
    text-transform:uppercase;
}

.vmarine-hero h1{
    margin:8px 0 0;
    color:var(--om-blue-dark,#163f58);
    font-size:clamp(44px,5vw,62px);
    line-height:1.02;
    letter-spacing:-.8px;
    font-weight:700;
}

.vmarine-hero p{
    max-width:780px;
    margin:15px 0 0;
    color:var(--om-muted,#6e7f88);
    font-size:19px;
    line-height:1.55;
}

/* ============================================================
   AREA
   ============================================================ */

.vmarine-toolbar{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:28px;
    margin-top:34px;
    padding:0 0 22px;
    border-bottom:1px solid var(--om-line,#e1e5e8);
}

.vmarine-filter-label{
    display:block;
    margin-bottom:9px;
    color:var(--om-muted-2,#87949b);
    font-size:12px;
    line-height:1.2;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.vmarine-chip-row{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
}

.vmarine-chip{
    min-height:42px;
    padding:0 14px;
    border:1px solid var(--om-line-strong,#d9e0e4);
    border-radius:4px;
    background:#fff;
    color:#4b606b;
    font:inherit;
    font-size:14px;
    line-height:1.2;
    font-weight:700;
    cursor:pointer;
    transition:
        background-color .15s ease,
        border-color .15s ease,
        color .15s ease;
}

.vmarine-chip:hover{
    border-color:#9fb5c0;
    background:#f7f7f7;
}

.vmarine-chip.is-active{
    border-color:var(--om-blue,#147fa8);
    background:var(--om-blue,#147fa8);
    color:#fff;
}

.vmarine-current-area{
    flex:0 0 auto;
    text-align:right;
}

.vmarine-current-area span{
    display:block;
    color:var(--om-muted-2,#87949b);
    font-size:12px;
    line-height:1.2;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.vmarine-current-area strong{
    display:block;
    margin-top:4px;
    color:var(--om-blue-dark,#163f58);
    font-size:18px;
    line-height:1.2;
}

/* ============================================================
   INTESTAZIONE SEZIONE
   ============================================================ */

.vmarine-section-head{
    margin:34px 0 20px;
}

.vmarine-section-head h2{
    margin:7px 0 5px;
    color:var(--om-blue-dark,#163f58);
    font-size:clamp(30px,3.6vw,42px);
    line-height:1.05;
    letter-spacing:-.4px;
    font-weight:700;
}

.vmarine-section-head p{
    max-width:820px;
    margin:0;
    color:var(--om-muted,#6e7f88);
    font-size:16px;
    line-height:1.5;
}

/* ============================================================
   CARD
   ============================================================ */

.vmarine-list{
    display:grid;
    grid-template-columns:1fr;
    gap:22px;
}

.vmarine-card{
    --accent:#158eb8;
    position:relative;
    overflow:hidden;
    border:1px solid var(--om-line,#e1e5e8);
    border-radius:4px;
    background:#fff;
    box-shadow:none;
}

/* Nessuna barra colorata laterale:
   il colore del prodotto resta solo negli elementi testuali. */

.vmarine-card-head{
    display:grid;
    grid-template-columns:1fr auto;
    gap:24px;
    align-items:start;
    padding:20px 22px 18px;
    border-bottom:1px solid var(--om-line,#e1e5e8);
}

.vmarine-card-eyebrow{
    display:flex;
    align-items:center;
    gap:8px;
    color:var(--accent);
    font-size:12px;
    line-height:1.2;
    font-weight:700;
    letter-spacing:.045em;
    text-transform:uppercase;
}

.vmarine-card-eyebrow::before{
    content:"";
    width:7px;
    height:7px;
    flex:0 0 auto;
    border-radius:50%;
    background:var(--accent);
}

.vmarine-card h3{
    margin:6px 0 6px;
    color:var(--om-blue-dark,#163f58);
    font-size:27px;
    line-height:1.1;
    letter-spacing:-.3px;
    font-weight:700;
}

.vmarine-card-description{
    margin:0;
    max-width:820px;
    color:var(--om-muted,#6e7f88);
    font-size:15px;
    line-height:1.5;
}

.vmarine-card-meta{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:7px;
}

.vmarine-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:36px;
    padding:0 12px;
    border:1px solid var(--om-line-strong,#d9e0e4);
    border-radius:4px;
    background:#fff;
    color:#536b78;
    font-size:13px;
    line-height:1.2;
    font-weight:700;
    white-space:nowrap;
}

.vmarine-badge.is-step{
    border-color:#bcdbe7;
    background:#f4fafc;
    color:var(--om-blue,#147fa8);
}

/* ============================================================
   MAPPA
   Nessun limite a 900 px: la PNG usa tutta la larghezza.
   ============================================================ */

.vmarine-map-frame{
    display:block;
    padding:0;
    background:#fff;
}

.vmarine-map-wrap{
    position:relative;
    width:100%;
    min-height:620px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border:0;
    border-radius:0;
    background:#f4f7f8;
}

.vmarine-map-wrap.is-loaded{
    min-height:0;
}

.vmarine-map-image{
    display:block;
    width:100%;
    height:auto;
    max-width:none;
    max-height:none;
    object-fit:initial;
    background:#fff;
}

.vmarine-placeholder,
.vmarine-loading{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:30px;
    text-align:center;
    color:#6f838e;
    font-size:14px;
    line-height:1.4;
    font-weight:700;
}

.vmarine-loading{
    background:rgba(248,250,251,.92);
}

.vmarine-placeholder{
    display:none;
    background:#f7f9fa;
}

/* ============================================================
   PLAYER
   ============================================================ */

.vmarine-player{
    display:grid;
    grid-template-columns:auto auto auto minmax(180px,1fr) auto;
    gap:10px;
    align-items:center;
    padding:16px 22px 14px;
    border-top:1px solid var(--om-line,#e1e5e8);
    background:#fff;
}

.vmarine-control-btn{
    width:44px;
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid var(--om-line-strong,#d9e0e4);
    border-radius:4px;
    background:#fff;
    color:#31566a;
    font:inherit;
    font-size:21px;
    line-height:1;
    cursor:pointer;
}

.vmarine-control-btn:hover{
    border-color:#9fb5c0;
    background:#f7f7f7;
}

.vmarine-control-btn.is-play{
    border-color:var(--om-blue,#147fa8);
    background:var(--om-blue,#147fa8);
    color:#fff;
    font-size:14px;
}

.vmarine-range{
    width:100%;
    accent-color:var(--om-blue,#147fa8);
}

.vmarine-step-readout{
    min-width:84px;
    text-align:right;
}

.vmarine-step-readout span{
    display:block;
    color:var(--om-muted-2,#87949b);
    font-size:11px;
    line-height:1.2;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.vmarine-step-readout strong{
    display:block;
    margin-top:3px;
    color:var(--om-blue-dark,#163f58);
    font-size:17px;
    line-height:1.2;
}

/* ============================================================
   FOOTER
   ============================================================ */

.vmarine-card-foot{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:10px 22px 18px;
}

.vmarine-frequency{
    color:var(--om-muted,#6e7f88);
    font-size:13px;
    line-height:1.5;
}

.vmarine-frequency strong{
    color:#486474;
}

.vmarine-actions{
    display:flex;
    align-items:center;
    gap:7px;
    flex:0 0 auto;
}

.vmarine-action{
    min-height:38px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 12px;
    border:1px solid var(--om-line-strong,#d9e0e4);
    border-radius:4px;
    background:#fff;
    color:#526d7c;
    font-size:13px;
    line-height:1.2;
    font-weight:700;
    text-decoration:none;
    cursor:pointer;
}

.vmarine-action:hover{
    border-color:#9fb5c0;
    background:#f7f7f7;
}

.vmarine-action.is-primary{
    border-color:#bcdbe7;
    background:#f4fafc;
    color:var(--om-blue,#147fa8);
}

/* ============================================================
   NOTA
   ============================================================ */

.vmarine-page-note{
    margin-top:22px;
    padding-top:17px;
    border-top:1px solid var(--om-line-strong,#d9e0e4);
    color:var(--om-muted,#6e7f88);
    font-size:14px;
    line-height:1.55;
}

.vmarine-page-note strong{
    color:var(--om-blue-dark,#163f58);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media(max-width:760px){
    .vmarine-page{
        padding-bottom:52px;
    }

    .vmarine-page .container{
        width:min(100% - 20px,1280px);
    }

    .vmarine-hero{
        padding-top:40px;
        padding-bottom:34px;
    }

    .vmarine-hero h1{
        font-size:38px;
        letter-spacing:-.4px;
    }

    .vmarine-hero p{
        font-size:17px;
        line-height:1.5;
    }

    .vmarine-toolbar{
        align-items:flex-start;
        flex-direction:column;
        gap:14px;
        margin-top:28px;
        padding-bottom:18px;
    }

    .vmarine-current-area{
        text-align:left;
    }

    .vmarine-chip{
        min-height:40px;
        padding:0 12px;
        font-size:13px;
    }

    .vmarine-section-head{
        margin-top:28px;
    }

    .vmarine-section-head p{
        font-size:15px;
    }

    .vmarine-card-head{
        grid-template-columns:1fr;
        gap:12px;
        padding:18px 15px 16px;
    }

    .vmarine-card-meta{
        justify-content:flex-start;
    }

    .vmarine-card h3{
        font-size:25px;
    }

    .vmarine-card-description{
        font-size:14px;
    }

    .vmarine-map-frame{
        margin:0;
        padding:0;
    }

    .vmarine-map-wrap{
        width:100%;
        min-height:320px;
    }

    .vmarine-map-wrap.is-loaded{
        min-height:0;
    }

    .vmarine-map-image{
        width:100%;
        height:auto;
        max-width:none;
        max-height:none;
    }

    .vmarine-player{
        grid-template-columns:auto auto auto 1fr;
        padding:13px 15px 12px;
    }

    .vmarine-step-readout{
        grid-column:1/-1;
        display:flex;
        align-items:center;
        justify-content:space-between;
        min-width:0;
        text-align:left;
        padding-top:3px;
    }

    .vmarine-card-foot{
        align-items:flex-start;
        flex-direction:column;
        padding:10px 15px 16px;
    }

    .vmarine-actions{
        width:100%;
    }

    .vmarine-action{
        flex:1;
    }
}

@media(max-width:430px){
    .vmarine-chip-row{
        width:100%;
        display:grid;
        grid-template-columns:1fr 1fr;
    }

    .vmarine-chip{
        width:100%;
    }

    .vmarine-control-btn{
        width:40px;
        height:40px;
    }
}
