.entry-content .enp-front-weather {
    --weather-paper: #fbf3e3;
    --weather-ink: #2e2c28;
    --weather-muted: #5e5547;
    --weather-border: #e5d5b9;
    margin: 12px 0 0;
    padding: 10px 15px;
    display: grid;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--weather-border);
    border-radius: 12px;
    background: var(--weather-paper);
    color: var(--weather-ink);
    line-height: 1.3;
}

.entry-content .enp-front-weather :is(p, ul, table) {
    margin: 0;
}

.enp-front-weather .enp-weather-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 5px;
    font-size: 13px;
    font-weight: 750;
}

.enp-front-weather .enp-weather-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 8px;
    align-items: baseline;
}

.entry-content .enp-front-weather .enp-weather-place {
    box-sizing: border-box;
    width: auto;
    max-width: 100%;
    min-height: 44px;
    height: auto;
    margin: -8px 0;
    padding: 0 4px;
    border: 1px solid transparent;
    border-radius: 5px;
    appearance: auto;
    background: transparent;
    box-shadow: none;
    color: var(--weather-ink);
    font: inherit;
    font-weight: 650;
}

.entry-content .enp-front-weather .enp-weather-place:is(:hover, :focus-visible) {
    border-color: var(--weather-border);
    background: #f3e7ce;
}

.entry-content .enp-front-weather .enp-weather-message {
    grid-area: 2 / 1 / auto / -1;
    margin-top: 3px;
    font-size: clamp(15px, 1.45vw, 18px);
    font-weight: 700;
}

.entry-content .enp-front-weather .enp-weather-source {
    grid-area: 1 / 2;
    color: var(--weather-muted);
    font-size: 11px;
    text-underline-offset: 2px;
}

.enp-weather-preview:empty {
    display: none;
}

.enp-front-weather :is(.enp-weather-samples, .enp-weather-weekend) {
    display: grid;
    align-items: start;
    padding: 0;
    list-style: none;
}

.enp-weather-samples {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
}

.enp-weather-sample {
    display: grid;
    justify-items: center;
    gap: 1px;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.enp-weather-sample.enp-weather-extra {
    display: none;
}

.enp-weather-glyphs {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 40px;
}

.entry-content .enp-weather-sky {
    display: block;
    width: 40px;
    height: 39px;
}

.entry-content .enp-weather-glyphs:has(.enp-weather-wind) .enp-weather-sky {
    width: 35px;
    height: 37px;
}

.entry-content .enp-weather-wind {
    display: block;
    flex: none;
    width: 18px;
    height: 18px;
    margin-inline-start: -4px;
    color: #155967;
}

.enp-weather-weekend {
    gap: 4px 10px;
}

.enp-weather-weekend li {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
}

.enp-weather-weekend small, .enp-weather-hours td small {
    display: block;
    color: var(--weather-muted);
    font-size: 11px;
    font-weight: 500;
}

.enp-weather-detail[hidden] {
    display: none;
}

.enp-weather-detail summary {
    box-sizing: border-box;
    width: fit-content;
    min-height: 36px;
    padding: 8px 2px;
    color: var(--weather-muted);
    font-size: 13px;
    font-weight: 650;
    text-underline-offset: 3px;
}

.enp-weather-detail summary:hover {
    text-decoration: underline;
}

.enp-weather-detail summary:focus-visible {
    outline: 2px solid #23648a;
    outline-offset: 2px;
}

.enp-weather-hours {
    display: grid;
    gap: 14px;
    padding-top: 4px;
    font-size: 12px;
}

.entry-content .enp-weather-hours table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 4px;
    border: 0;
    text-align: left;
    font-variant-numeric: tabular-nums;
}

.enp-weather-hours caption {
    padding: 0 3px 4px;
    color: var(--weather-ink);
    text-align: left;
    font-weight: 700;
}

.entry-content .enp-weather-timeline :is(th, td) {
    padding: 4px 5px;
    border: 0;
    vertical-align: middle;
}

.enp-weather-timeline thead {
    color: var(--weather-muted);
    font-size: 11px;
}

.enp-weather-timeline tbody tr {
    background: #fffaef;
}

.enp-weather-timeline tbody tr > :first-child {
    border-radius: 7px 0 0 7px;
}

.enp-weather-timeline tbody tr > :last-child {
    border-radius: 0 7px 7px 0;
}

.enp-weather-timeline-hour {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.enp-weather-timeline-hour .enp-weather-glyphs,
.entry-content .enp-weather-timeline-hour .enp-weather-sky {
    width: 27px;
    height: 27px;
}

.enp-weather-level {
    display: inline-block;
    margin-bottom: 1px;
    padding: 1px 5px;
    border-radius: 5px;
    color: var(--weather-muted);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.25;
}

.enp-weather-level[data-tone="light"] {
    background: #e5efe5;
    color: #285543;
}

.enp-weather-level[data-tone="cool"] {
    background: #e5eff5;
    color: #315a70;
}

.enp-weather-level[data-tone="cold"] {
    background: #dce7f4;
    color: #274a72;
}

.enp-weather-level[data-tone="moderate"] {
    background: #f8eac8;
    color: #704909;
}

.enp-weather-level[data-tone="strong"] {
    background: #fae1d6;
    color: #823923;
}

.enp-weather-hours td {
    white-space: nowrap;
}

.enp-weather-hours p {
    color: var(--weather-muted);
}

@media (max-width: 360px) {
    .entry-content .enp-weather-timeline :is(th, td) {
        padding-inline: 3px;
    }

    .enp-weather-level {
        padding-inline: 4px;
    }
}

@media (min-width: 701px) {
    .entry-content .enp-front-weather {
        grid-template-columns: minmax(180px, 1fr) minmax(270px, 1.25fr) auto;
        gap: 10px 21px;
        padding: 11px 19px;
    }

    .enp-weather-sample.enp-weather-extra {
        display: grid;
    }

    .enp-front-weather .enp-weather-copy {
        display: block;
    }

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

    .entry-content .enp-front-weather:has(.enp-weather-detail[open]) {
        grid-template-columns: minmax(180px, 1fr) minmax(270px, 1.25fr);
    }

    .enp-weather-detail[open] {
        grid-column: 1 / -1;
    }
}

@media (pointer: coarse) {
    .entry-content .enp-front-weather .enp-weather-place {
        font-size: 16px;
    }

    .enp-weather-detail summary {
        min-height: 44px;
    }
}
