/* ==========================================
   WEERWIDGET – COMPACT
========================================== */

.weather-card{
    display:block;
    width:100%;
    max-width:390px;
    margin:0 auto;
    padding:18px 20px;
    color:#fff;
    background:linear-gradient(180deg, #163f6d 0%, #0F2D52 100%);
    border-radius:20px;
    text-decoration:none;
    box-shadow:0 10px 24px rgba(15,45,82,.18);
    transition:transform .2s ease, box-shadow .2s ease;
}

.weather-card:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 28px rgba(15,45,82,.24);
}

.weather-header{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:1.05rem;
    font-weight:700;
}

.weather-temp{
    margin:12px 0 13px;
    padding-bottom:12px;
    border-bottom:1px solid rgba(255,255,255,.2);
    font-size:2.65rem;
    font-weight:700;
    line-height:1;
}

.weather-grid{
    display:grid;
    grid-template-columns:1fr auto;
    gap:7px 16px;
    font-size:.92rem;
}

.weather-grid > div:nth-child(even){
    text-align:right;
    font-weight:600;
}

.weather-message{
    margin:15px 0 12px;
    padding:9px 12px;
    border-radius:12px;
    background:rgba(255,255,255,.12);
    text-align:center;
    font-size:.9rem;
}

.weather-link{
    color:#FFD54A;
    text-align:center;
    font-size:.95rem;
    font-weight:700;
}

@media (max-width:600px){
    .weather-card{
        max-width:300px;
        padding:15px 16px;
        border-radius:17px;
        margin-bottom:20px;
    }

    .weather-header{
        font-size:.9rem;
    }

    .weather-temp{
        margin:10px 0 11px;
        padding-bottom:10px;
        font-size:2.2rem;
        text-align:center;
    }

    .weather-grid{
        gap:6px 12px;
        font-size:.78rem;
    }

    .weather-message{
        margin:12px 0 10px;
        padding:8px 9px;
        font-size:.75rem;
    }

    .weather-link{
        font-size:.8rem;
    }
}

