/* CPW_CITY_PREMIUM_V1 */

.cpw-city-premium {
    max-width: 1240px;
    margin-inline: auto;
    color: #20372d;
}

.cpw-city-premium > nav {
    font-size: 13px;
    margin-bottom: 22px;
    line-height: 1.8;
}

.cpw-city-hero {
    padding: clamp(26px, 5vw, 58px);
    background: linear-gradient(125deg, #102c24, #285541);
    color: #fff;
    border-radius: 22px;
    margin: 0 0 28px;
}

.cpw-city-hero h1 {
    color: #fff !important;
    font-size: clamp(28px, 4vw, 46px) !important;
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 16px 0;
}

.cpw-city-hero p {
    color: #e0ece4;
    max-width: 720px;
    line-height: 1.7;
    font-size: 16px;
}

.cpw-city-eyebrow {
    color: #cce6ba;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.cpw-city-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.cpw-city-actions a {
    background: #e0edcf;
    color: #173b2e !important;
    padding: 13px 18px;
    border-radius: 9px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}

.cpw-city-panel {
    padding: clamp(18px, 3vw, 32px);
    background: #fff;
    border: 1px solid #dce4dc;
    border-radius: 18px;
    margin: 26px 0;
}

.cpw-city-premium h2 {
    font-size: clamp(22px, 2.5vw, 29px);
    line-height: 1.3;
    margin: 26px 0 14px;
}

.cpw-city-panel h2:first-child {
    margin-top: 0;
}

.cpw-city-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.cpw-city-grid a {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 23px 18px;
    background: #f5f7f2;
    border: 1px solid #dce5d8;
    border-radius: 13px;
    text-decoration: none;
    color: #173b2e;
    transition: border-color .2s, background .2s;
}

.cpw-city-grid a:hover {
    background: #e9f1e2;
    border-color: #79967d;
}

.cpw-city-grid strong {
    font-size: 17px;
    line-height: 1.4;
}

.cpw-city-grid span {
    font-size: 13px;
    line-height: 1.5;
    color: #53685b;
}

.cpw-city-premium details {
    background: #fff;
    border: 1px solid #dce4dc;
    border-radius: 10px;
    padding: 17px;
    margin-bottom: 10px;
}

.cpw-city-premium summary {
    cursor: pointer;
    font-weight: 600;
}

.cpw-city-premium #professionnels-locaux,
.cpw-city-premium #alentours {
    scroll-margin-top: 30px;
}

@media (max-width: 800px) {
    .cpw-city-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .cpw-city-grid {
        grid-template-columns: 1fr;
    }

    .cpw-city-actions {
        flex-direction: column;
    }

    .cpw-city-actions a {
        text-align: center;
    }
}
