.vvv-weather-card-wrap {
    --vvv-weather-gold: #d9a30d;
    --vvv-weather-ink: #182238;
    --vvv-weather-muted: #62656b;
    --vvv-weather-border: #d9d9d9;
    --vvv-weather-cream: #fffaf0;
    width: 100%;
    color: var(--vvv-weather-ink);
}

.vvv-weather-card {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    border: 2px solid var(--vvv-weather-border);
    border-radius: 28px;
    background: linear-gradient(180deg, var(--vvv-weather-cream) 0%, #fff 58%);
    padding: 40px 36px 28px;
    font: inherit;
}

.vvv-weather-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 12px;
    background: var(--vvv-weather-gold);
}

.vvv-weather-card *,
.vvv-weather-card *::before,
.vvv-weather-card *::after {
    box-sizing: border-box;
}

.vvv-weather-card__header,
.vvv-weather-card__heading,
.vvv-weather-card__footer {
    display: flex;
    align-items: center;
}

.vvv-weather-card__header {
    justify-content: space-between;
    gap: 20px;
}

.vvv-weather-card__heading {
    gap: 20px;
    min-width: 0;
}

.vvv-weather-card__heading h2 {
    margin: 0;
    color: var(--vvv-weather-ink);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    line-height: 1.15;
    font-weight: 800;
}

.vvv-weather-card__heading p {
    margin: 5px 0 0;
    color: var(--vvv-weather-muted);
    font-size: .9rem;
    line-height: 1.4;
}

.vvv-weather-card__icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    color: var(--vvv-weather-ink);
}

.vvv-weather-card__icon svg {
    width: 100%;
    height: 100%;
}

.vvv-weather-svg-sun {
    color: var(--vvv-weather-gold);
}

.vvv-weather-svg-cloud {
    color: #5d6a7d;
}

.vvv-weather-svg-rain {
    color: #4779a8;
}

.vvv-weather-card__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 42px;
    border-radius: 999px;
    background: var(--vvv-weather-gold);
    color: #fff;
    padding: 8px 17px;
    font-size: 1rem;
    line-height: 1.1;
    font-weight: 800;
    white-space: nowrap;
}

.vvv-weather-card__status:is(a) {
    text-decoration: none;
}

.vvv-weather-card__status:is(a):hover,
.vvv-weather-card__status:is(a):focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.vvv-weather-card__status--warning {
    background: #c9342f;
}

.vvv-weather-status__mobile {
    display: none;
}

.vvv-weather-card__main {
    display: grid;
    grid-template-columns: minmax(250px, 1.05fr) minmax(340px, 1fr);
    align-items: center;
    gap: 42px;
    margin-top: 30px;
}

.vvv-weather-card__temperature {
    display: flex;
    align-items: flex-start;
    color: var(--vvv-weather-ink);
    font-size: clamp(3.4rem, 8vw, 5rem);
    line-height: .9;
    font-weight: 850;
    letter-spacing: -.055em;
}

.vvv-weather-card__temperature span {
    margin: 5px 0 0 6px;
    font-size: .42em;
    line-height: 1;
    letter-spacing: 0;
}

.vvv-weather-card__condition {
    margin: 14px 0 0;
    color: var(--vvv-weather-ink);
    font-size: clamp(1.35rem, 2.7vw, 2rem);
    line-height: 1.15;
    font-weight: 800;
}

.vvv-weather-card__range {
    margin: 9px 0 0;
    color: var(--vvv-weather-muted);
    font-size: 1.08rem;
}

.vvv-weather-card__metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 20px;
    margin: 0;
}

.vvv-weather-card__metric {
    min-width: 0;
    border-left: 1px solid var(--vvv-weather-border);
    padding-left: 18px;
}

.vvv-weather-card__metric dt,
.vvv-weather-card__metric dd,
.vvv-weather-card__metric span {
    display: block;
    margin: 0;
}

.vvv-weather-card__metric dt,
.vvv-weather-card__metric span {
    color: var(--vvv-weather-muted);
    font-size: .84rem;
    line-height: 1.35;
}

.vvv-weather-card__metric dd {
    margin-top: 4px;
    color: var(--vvv-weather-ink);
    font-size: 1.22rem;
    line-height: 1.2;
    font-weight: 800;
}

.vvv-weather-card__metric span {
    margin-top: 3px;
}

.vvv-weather-card__summary {
    margin: 28px 0 0;
    border-radius: 13px;
    background: rgba(217, 163, 13, .11);
    padding: 14px 17px;
    color: var(--vvv-weather-ink);
    font-size: 1rem;
    line-height: 1.55;
    font-weight: 600;
}

.vvv-weather-card__footer {
    justify-content: space-between;
    gap: 22px;
    margin-top: 27px;
}

.vvv-weather-card__footer a {
    color: var(--vvv-weather-gold);
    font-size: 1.05rem;
    line-height: 1.3;
    font-weight: 800;
    text-decoration: none;
}

.vvv-weather-card__footer a:hover,
.vvv-weather-card__footer a:focus-visible {
    text-decoration: underline;
}

.vvv-weather-card__footer small {
    max-width: 60%;
    color: var(--vvv-weather-muted);
    font-size: .76rem;
    line-height: 1.45;
    text-align: right;
}

.vvv-weather-card__fallback {
    margin-top: 38px;
    min-height: 125px;
}

.vvv-weather-card__fallback p:last-child {
    max-width: 680px;
    margin: 12px 0 0;
    color: var(--vvv-weather-muted);
    font-size: 1rem;
    line-height: 1.55;
}

@media (max-width: 820px) {
    .vvv-weather-card {
        padding-right: 26px;
        padding-left: 26px;
    }

    .vvv-weather-card__main {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .vvv-weather-card__metrics {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .vvv-weather-card__metric:first-child {
        border-left: 0;
        padding-left: 0;
    }
}

@media (max-width: 620px) {
    .vvv-weather-card {
        border-radius: 22px;
        padding: 34px 20px 23px;
    }

    .vvv-weather-card::before {
        height: 10px;
    }

    .vvv-weather-card__header {
        align-items: flex-start;
    }

    .vvv-weather-card__heading {
        gap: 13px;
    }

    .vvv-weather-card__icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .vvv-weather-card__status {
        min-height: 36px;
        padding: 7px 12px;
        font-size: .84rem;
    }

    .vvv-weather-status__desktop {
        display: none;
    }

    .vvv-weather-status__mobile {
        display: inline;
    }

    .vvv-weather-card__main {
        margin-top: 26px;
    }

    .vvv-weather-card__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vvv-weather-card__metric:nth-child(odd) {
        border-left: 0;
        padding-left: 0;
    }

    .vvv-weather-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .vvv-weather-card__footer small {
        max-width: none;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vvv-weather-card *,
    .vvv-weather-card *::before,
    .vvv-weather-card *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}


.vvv-weather-hourly-wrap {
    --vvv-weather-gold: #d9a30d;
    --vvv-weather-ink: #182238;
    --vvv-weather-muted: #62656b;
    --vvv-weather-border: #d9d9d9;
    width: 100%;
    margin-top: 16px;
    color: var(--vvv-weather-ink);
}

.vvv-weather-hourly {
    box-sizing: border-box;
    overflow: hidden;
    border: 2px solid var(--vvv-weather-border);
    border-radius: 22px;
    background: #fff;
}

.vvv-weather-hourly *,
.vvv-weather-hourly *::before,
.vvv-weather-hourly *::after {
    box-sizing: border-box;
}

.vvv-weather-hourly__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--vvv-weather-border);
    padding: 17px 22px 15px;
}

.vvv-weather-hourly__header h3 {
    margin: 0;
    color: var(--vvv-weather-ink);
    font-size: 1.15rem;
    line-height: 1.2;
    font-weight: 800;
}

.vvv-weather-hourly__header p {
    margin: 3px 0 0;
    color: var(--vvv-weather-muted);
    font-size: .82rem;
    line-height: 1.35;
}

.vvv-weather-hourly__header > span {
    color: var(--vvv-weather-muted);
    font-size: .76rem;
    white-space: nowrap;
}

.vvv-weather-hourly__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.vvv-weather-hourly__item {
    min-width: 0;
    border-left: 1px solid var(--vvv-weather-border);
    padding: 16px 10px 17px;
    text-align: center;
}

.vvv-weather-hourly__item:first-child {
    border-left: 0;
}

.vvv-weather-hourly__item time,
.vvv-weather-hourly__item strong,
.vvv-weather-hourly__item small {
    display: block;
}

.vvv-weather-hourly__item time {
    color: var(--vvv-weather-muted);
    font-size: .82rem;
    line-height: 1.2;
}

.vvv-weather-hourly__icon {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    margin: 9px auto 6px;
    color: var(--vvv-weather-ink);
}

.vvv-weather-hourly__icon svg {
    width: 100%;
    height: 100%;
}

.vvv-weather-hourly__item strong {
    color: var(--vvv-weather-ink);
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 800;
}

.vvv-weather-hourly__item small {
    margin-top: 4px;
    color: var(--vvv-weather-muted);
    font-size: .76rem;
    line-height: 1.3;
}

.vvv-weather-hourly__item .vvv-weather-hourly__gust {
    color: var(--vvv-weather-gold);
    font-weight: 700;
}

@media (max-width: 820px) {
    .vvv-weather-hourly__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vvv-weather-hourly__item:nth-child(4) {
        border-left: 0;
    }

    .vvv-weather-hourly__item:nth-child(n+4) {
        border-top: 1px solid var(--vvv-weather-border);
    }
}

@media (max-width: 480px) {
    .vvv-weather-hourly-wrap {
        margin-top: 12px;
    }

    .vvv-weather-hourly {
        border-radius: 18px;
    }

    .vvv-weather-hourly__header {
        align-items: flex-start;
        padding: 15px 16px 13px;
    }

    .vvv-weather-hourly__header > span {
        display: none;
    }

    .vvv-weather-hourly__item {
        padding: 14px 6px 15px;
    }

    .vvv-weather-hourly__icon {
        width: 39px;
        height: 39px;
    }
}
