/* Good Weather – compact design for a narrow WordPress homepage column */
.gw-widget,
.gw-widget * {
    box-sizing: border-box;
}

.gw-widget {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    font-family: inherit;
    color: #303036;
    background: #fff;
    border: 1px solid #ececf1;
    border-radius: 10px;
    overflow: hidden;
}

.gw-widget a {
    color: #7b35d4;
}

.gw-current {
    padding: 18px 22px 14px;
}

.gw-location-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.gw-location {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.gw-updated {
    color: #909099;
    font-size: 10px;
    white-space: nowrap;
}

.gw-main-weather {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.gw-icon {
    font-size: 43px;
    line-height: 1;
}

.gw-temperature {
    font-size: 38px;
    line-height: .95;
    font-weight: 700;
    letter-spacing: -1.3px;
}

.gw-temperature sup {
    font-size: 17px;
    vertical-align: top;
    margin-left: 1px;
    letter-spacing: 0;
}

.gw-condition {
    margin-top: 4px;
    font-size: 13px;
    color: #55555d;
}

.gw-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 14px;
    color: #55555d;
    font-size: 11px;
}

.gw-metrics > div {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.gw-metric-icon {
    font-size: 12px;
}

.gw-metrics strong {
    color: #33333a;
    font-weight: 600;
}

.gw-attribution {
    margin-top: 12px;
    color: #909099;
    font-size: 9px;
}

.gw-attribution a {
    text-decoration: underline;
    color: #6f91bf;
}

.gw-radar {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid #eeeeF2;
    text-decoration: none !important;
}

.gw-radar-icon {
    font-size: 25px;
    line-height: 1;
}

.gw-radar strong,
.gw-radar small {
    display: block;
}

.gw-radar strong {
    font-size: 13px;
    line-height: 1.15;
    color: #45454d;
}

.gw-radar small {
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 700;
    color: #7b35d4;
}

.gw-forecast {
    border-top: 1px solid #ececf1;
    padding: 13px 14px 0;
}

.gw-forecast-title {
    margin: 0 5px 8px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
}

.gw-days {
    border: 1px solid #ececf1;
    border-radius: 8px;
    overflow: hidden;
}

.gw-day {
    min-height: 54px;
    display: grid;
    grid-template-columns: 67px 32px minmax(0, 1fr) 62px;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-bottom: 1px solid #ececf1;
}

.gw-day:last-child {
    border-bottom: 0;
}

.gw-day-name {
    font-size: 12px;
    line-height: 1.1;
    font-weight: 700;
}

.gw-day-date {
    display: block;
    margin-top: 2px;
    font-size: 9px;
    color: #909099;
    font-weight: 400;
}

.gw-day-icon {
    font-size: 21px;
    line-height: 1;
    text-align: center;
}

.gw-day-condition {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    color: #55555d;
}

.gw-day-temp {
    text-align: right;
    font-size: 12px;
    line-height: 1.1;
    font-weight: 700;
    white-space: nowrap;
}

.gw-day-temp span {
    color: #8b8b94;
    font-weight: 500;
}

.gw-day-rain {
    margin-top: 2px;
    text-align: right;
    font-size: 9px;
    color: #4c83cf;
    white-space: nowrap;
}

.gw-details {
    display: block;
    padding: 10px 5px 12px;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.gw-loading-row {
    padding: 18px;
    text-align: center;
    color: #8b8b94;
    font-size: 12px;
}

.gw-error {
    padding: 10px 14px;
    color: #8b3f3f;
    background: #fff7f7;
    border-top: 1px solid #f0dede;
    font-size: 11px;
}

@media (max-width: 420px) {
    .gw-current {
        padding: 16px 17px 13px;
    }

    .gw-location {
        font-size: 18px;
    }

    .gw-temperature {
        font-size: 35px;
    }

    .gw-metrics {
        gap: 5px 10px;
    }

    .gw-forecast {
        padding-left: 10px;
        padding-right: 10px;
    }

    .gw-day {
        grid-template-columns: 61px 29px minmax(0, 1fr) 58px;
        gap: 4px;
        padding-left: 7px;
        padding-right: 7px;
    }

    .gw-day-condition {
        font-size: 10px;
    }
}
