/* ============================================================
   OROSEIMETEO · V-MODEL
   Stile nuovo + mappe a larghezza piena.
   ============================================================ */

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

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

.vmodel-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;
}

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

.vmodel-kicker,
.vmodel-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;
}

.vmodel-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;
}

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

.vmodel-toolbar{
    display:grid;
    grid-template-columns:.72fr 1.6fr;
    gap:26px;
    margin-top:34px;
    padding:0 0 22px;
    border-bottom:1px solid var(--om-line,#e1e5e8);
}

.vmodel-filter-block{
    min-width:0;
}

.vmodel-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;
}

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

.vmodel-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;
}

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

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

.vmodel-section-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:28px;
    margin:34px 0 20px;
}

.vmodel-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;
}

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

.vmodel-section-area{
    flex:0 0 auto;
    text-align:right;
}

.vmodel-section-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;
}

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

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


.vmodel-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    bottom:0;
    z-index:2;
    width:4px;
    background:var(--accent);
}

.vmodel-card.is-region-only{
    --accent:#738da0;
}

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

.vmodel-card-heading{
    min-width:0;
}

.vmodel-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;
}

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

.vmodel-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;
}

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

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

.vmodel-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;
}

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

.vmodel-region-notice{
    display:none;
    margin:16px 22px 0 25px;
    padding:12px 14px;
    border-left:3px solid #879aa4;
    background:#f7f8f9;
    color:#60747e;
    font-size:13px;
    line-height:1.5;
}

.vmodel-card.is-region-only .vmodel-region-notice{
    display:block;
}

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

.vmodel-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;
}

.vmodel-map-wrap:has(.vmodel-map-image[src]){
    min-height:0;
}

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

.vmodel-placeholder,
.vmodel-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;
}

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

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

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

.vmodel-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;
}

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

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

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

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

.vmodel-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;
}

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

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

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

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

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

.vmodel-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;
}

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

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

.vmodel-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;
}

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

@media(max-width:900px){
    .vmodel-toolbar{
        grid-template-columns:1fr;
        gap:18px;
    }

    .vmodel-map-wrap{
        min-height:480px;
    }

    .vmodel-map-wrap:has(.vmodel-map-image[src]){
        min-height:0;
    }
}

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

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

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

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

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

    .vmodel-toolbar{
        margin-top:28px;
        padding-bottom:18px;
    }

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

    .vmodel-section-head{
        align-items:flex-start;
        flex-direction:column;
        gap:12px;
        margin-top:28px;
    }

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

    .vmodel-section-area{
        text-align:left;
    }

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

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

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

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

    .vmodel-region-notice{
        margin:13px 15px 0 18px;
    }

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

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

    .vmodel-map-wrap:has(.vmodel-map-image[src]){
        min-height:0;
    }

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

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

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

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

    .vmodel-actions{
        width:100%;
    }

    .vmodel-action{
        flex:1;
    }
}

@media(max-width:430px){
    .vmodel-category-row{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .vmodel-category-row .vmodel-chip{
        width:100%;
    }

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