/* Weather — Sidebar Zone */

.wx-sidebar-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    font-family: Roboto, sans-serif;
    container-type: size;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wx-sidebar-wrap .wx-sidebar-card {
    width: 80cqw;
    height: 80cqh;
    display: grid;
    grid-template-rows: 1.2fr 1fr 1fr;
    gap: 0.5cqmin;
    overflow: hidden;
    box-shadow: 0 0.5cqmin 1cqmin rgba(0, 0, 0, 0.15), 0 2cqmin 4cqmin rgba(0, 0, 0, 0.2);
}

/* Top: city + temp */
.wx-sidebar-wrap .wx-sidebar-city-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3cqmin;
    background: linear-gradient(135deg, var(--text), var(--accent));
}

.wx-sidebar-wrap .wx-sidebar-city {
    font-family: Montserrat, sans-serif;
    font-size: 7cqmin !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: var(--bg);
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
}

.wx-sidebar-wrap .wx-sidebar-country {
    font-size: 3cqmin !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    color: var(--bg);
    opacity: 0.6;
    letter-spacing: 0.1em;
    margin-top: 0.3cqmin;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
}

.wx-sidebar-wrap .wx-sidebar-temp {
    font-family: Montserrat, sans-serif;
    font-size: 18cqmin !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    color: var(--bg);
    margin-top: 1cqmin;
    direction: ltr;
    unicode-bidi: embed;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
}

.wx-sidebar-wrap .wx-sidebar-deg {
    font-size: 5cqmin !important;
    vertical-align: top;
    opacity: 0.6;
}

/* Middle: icon + condition */
.wx-sidebar-wrap .wx-sidebar-icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3cqmin;
    background: linear-gradient(225deg, var(--text), var(--accent));
}

.wx-sidebar-wrap .wx-sidebar-icon {
    font-size: 14cqmin !important;
    color: var(--bg);
    display: block;
    margin-bottom: 1cqmin;
}

.wx-sidebar-wrap .wx-sidebar-condition {
    font-size: 7cqmin !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: var(--bg);
    letter-spacing: 0.05em;
    text-align: center;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
}

/* Bottom: 2x2 stats */
.wx-sidebar-wrap .wx-sidebar-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.5cqmin;
}

.wx-sidebar-wrap .wx-sidebar-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5cqmin;
    background: linear-gradient(to bottom, var(--accent), var(--text));
}

.wx-sidebar-wrap .wx-sidebar-stat-icon {
    font-size: 4cqmin !important;
    color: var(--bg);
    opacity: 0.7;
    margin-bottom: 0.5cqmin;
}

.wx-sidebar-wrap .wx-sidebar-stat-val {
    font-family: Montserrat, sans-serif;
    font-size: 6cqmin !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: var(--bg);
    direction: ltr;
    unicode-bidi: embed;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
}

.wx-sidebar-wrap .wx-sidebar-stat-unit {
    font-size: 2.5cqmin !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    color: var(--bg);
    opacity: 0.5;
    margin-top: 0.2cqmin;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
}

.wx-sidebar-wrap .wx-sidebar-stat-label {
    font-size: 2.5cqmin !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    color: var(--bg);
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.3cqmin;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
}
