.mct-weather-widget {
    --mct-blue: #20a7e8;
    --mct-text: #2d2d2d;
    --mct-muted: #9a9a9a;
    --mct-border: #edf0f2;
    --mct-shadow: 0 2px 12px rgba(0, 0, 0, 0.13);
    box-sizing: border-box;
    width: 100%;
    max-width: 280px;
    color: var(--mct-text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.2;
}

.mct-weather-widget *,
.mct-weather-widget *::before,
.mct-weather-widget *::after {
    box-sizing: border-box;
}

.mct-weather-heading {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px 2px;
    font-weight: 800;
    text-transform: uppercase;
}

.mct-weather-heading__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 3px;
    border-radius: 2px;
    background: var(--mct-blue);
    color: #fff;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: -0.4px;
}

.mct-weather-heading__title {
    color: var(--mct-blue);
    font-size: 14px;
    letter-spacing: -0.2px;
}

.mct-weather-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #f1f2f4;
    border-radius: 9px;
    background: #fff;
    box-shadow: var(--mct-shadow);
}

.mct-weather-card__top {
    padding: 12px 14px 9px;
}

.mct-weather-city {
    margin-bottom: 6px;
    color: #343434;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mct-weather-current {
    display: grid;
    grid-template-columns: 58px auto 1fr;
    align-items: center;
    column-gap: 8px;
    min-height: 55px;
}

.mct-weather-current__icon {
    width: 56px;
    height: 56px;
}

.mct-svg-icon {
    display: block;
    width: 100%;
    height: auto;
}

.mct-svg-icon--large {
    width: 56px;
    height: 56px;
}

.mct-svg-icon--small {
    width: 27px;
    height: 27px;
    margin: 0 auto;
}

.mct-weather-current__temp {
    color: #1f1f1f;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: -1.2px;
    white-space: nowrap;
}

.mct-weather-current__label {
    align-self: center;
    justify-self: end;
    max-width: 86px;
    color: #373737;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 12px;
    font-weight: 600;
    text-align: right;
    line-height: 1.1;
}

.mct-weather-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: -2px;
    color: #b4b4b4;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.mct-weather-sep {
    color: #d2d2d2;
}

.mct-weather-hi-lo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 17px;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 700;
}

.mct-weather-hi {
    color: #e47170;
}

.mct-weather-lo {
    color: #6c9fc7;
}

.mct-weather-days {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--mct-border);
    background: #fff;
}

.mct-weather-day {
    min-height: 66px;
    padding: 8px 4px 7px;
    text-align: center;
    border-left: 1px solid var(--mct-border);
}

.mct-weather-day:first-child {
    border-left: 0;
}

.mct-weather-day__name {
    margin-bottom: 3px;
    color: #606060;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.mct-weather-day__icon {
    min-height: 28px;
    margin-bottom: 1px;
}

.mct-weather-day__temps {
    color: #5f5f5f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.mct-weather-attribution {
    position: absolute;
    right: 8px;
    bottom: 2px;
    color: rgba(120, 120, 120, 0.52);
    font-size: 7px;
    line-height: 1;
    pointer-events: none;
}

.mct-weather-error {
    max-width: 280px;
    padding: 10px 12px;
    border: 1px solid #f0d6d6;
    border-radius: 8px;
    background: #fff8f8;
    color: #8a3131;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

@media (max-width: 360px) {
    .mct-weather-widget {
        max-width: 100%;
    }

    .mct-weather-current {
        grid-template-columns: 52px auto 1fr;
        column-gap: 6px;
    }

    .mct-weather-current__temp {
        font-size: 28px;
    }
}
