.best-time-page {
    --best-time-border: #d9c6b9;
    --best-time-surface: #fff8ef;
    --best-time-soft: #f2e7df;
    --best-time-accent: #2f4738;
    --best-time-warning: #93451D;
}

.best-time-page h1 {
    margin-bottom: 28px;
}

.best-time-page p {
    margin-bottom: 22px;
}

.best-time-page p .text-link {
    display: inline;
    margin-bottom: 0;
}

.text-link {
    display: inline-block;
    color: var(--text-main-color);
    text-decoration: none;
    position: relative;
    margin-bottom: 10px;
    font-family: var(--font-links);
}

.text-link::after {
    content: "" !important;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5px;
    background: #EFE2DC;
    z-index: 1;
}

.text-link:hover::after {
    background: #93451D !important;
}

.quick-answer {
    border: 1px solid var(--best-time-border);
    border-radius: 8px;
    background-color: var(--best-time-surface);
    padding: 28px;
    margin-bottom: 34px;
}

.quick-answer h2,
.guide-section h2,
.best-plan h2 {
    margin-bottom: 18px;
}

.quick-answer-lead {
    font-size: 24px;
    line-height: 1.35;
    max-width: 720px;
}

.quick-answer-grid,
.situation-grid,
.special-grid {
    display: grid;
    gap: 16px;
}

.quick-answer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
}

.answer-card,
.situation-grid article,
.special-grid article,
.best-plan {
    border: 1px solid var(--best-time-border);
    border-radius: 8px;
    background-color: #fffefa;
    padding: 20px;
}

.answer-card-primary {
    border-color: var(--best-time-accent);
    background-color: #edf4ef;
}

.answer-card strong {
    display: block;
    font-family: var(--font-headers);
    font-size: 26px;
    font-weight: 400;
    line-height: 1.2;
    margin: 8px 0 10px;
}

.answer-card p,
.situation-grid p,
.special-grid p,
.best-plan p {
    margin-bottom: 0;
}

.answer-label,
.timing-label {
    color: var(--best-time-accent);
    display: inline-block;
    font-family: var(--font-links);
    font-size: 16px;
    line-height: 1.2;
    text-transform: uppercase;
}

.quick-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 24px;
}

.quick-actions .check-button {
    margin: 0;
    width: auto;
}

.quick-actions .text-link {
    line-height: 1.3;
    margin-bottom: 0;
}

.main-photo {
    margin-bottom: 28px;
}

.page-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 18px 0 32px;
}

.intro-text {
    margin-bottom: 42px;
}

.guide-section {
    margin-bottom: 52px;
}

.timing-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.timing-row {
    align-items: flex-start;
    border-left: 5px solid var(--best-time-accent);
    background-color: #fffefa;
    display: grid;
    gap: 18px;
    grid-template-columns: 132px minmax(0, 1fr);
    padding: 18px 20px;
}

.timing-row-warning {
    border-left-color: var(--best-time-warning);
}

.timing-row h3,
.situation-grid h3,
.special-grid h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.timing-row p {
    margin-bottom: 0;
}

.compact-list {
    display: grid;
    gap: 10px;
    list-style-position: inside;
    margin: 0;
    padding: 0;
}

.season-table-wrap {
    overflow-x: auto;
}

.season-table {
    border-collapse: collapse;
    font-size: 18px;
    line-height: 1.35;
    min-width: 760px;
    width: 100%;
}

.season-table th,
.season-table td {
    border-bottom: 1px solid var(--best-time-border);
    padding: 16px 14px;
    text-align: left;
    vertical-align: top;
}

.season-table thead th {
    background-color: var(--best-time-soft);
    font-family: var(--font-links);
}

.season-table tbody th {
    color: var(--best-time-warning);
    font-family: var(--font-headers);
    font-size: 22px;
    font-weight: 400;
    width: 180px;
}

.season-table span {
    color: var(--text-main-color);
    font-family: var(--font-body);
    font-size: 16px;
}

.situation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.best-plan {
    background-color: #edf4ef;
    margin-bottom: 52px;
}

.best-time-page .faq-item p {
    margin-bottom: 0;
}

@media (max-width: 799px) {
    .best-time-page h1 {
        margin-bottom: 20px;
    }

    .quick-answer {
        padding: 18px;
        margin-bottom: 24px;
    }

    .quick-answer-lead {
        font-size: 20px;
    }

    .quick-answer-grid,
    .situation-grid,
    .special-grid {
        grid-template-columns: 1fr;
    }

    .answer-card,
    .situation-grid article,
    .special-grid article,
    .best-plan {
        padding: 16px;
    }

    .answer-card strong {
        font-size: 22px;
    }

    .quick-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .quick-actions .check-button {
        width: 100%;
    }

    .page-navigation {
        gap: 8px 10px;
        margin-bottom: 28px;
    }

    .guide-section {
        margin-bottom: 42px;
    }

    .timing-row {
        gap: 8px;
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .timing-row h3,
    .situation-grid h3,
    .special-grid h3 {
        font-size: 24px;
    }

    .season-table {
        display: block;
        font-size: 16px;
        min-width: 0;
    }

    .season-table thead {
        display: none;
    }

    .season-table tbody,
    .season-table tr,
    .season-table th,
    .season-table td {
        display: block;
        width: 100%;
    }

    .season-table tr {
        border: 1px solid var(--best-time-border);
        border-radius: 8px;
        margin-bottom: 14px;
        padding: 14px;
    }

    .season-table th,
    .season-table td {
        border-bottom: none;
        padding: 6px 0;
    }

    .season-table tbody th {
        font-size: 20px;
    }

    .season-table td::before {
        color: var(--best-time-accent);
        content: attr(data-label);
        display: block;
        font-family: var(--font-links);
        font-size: 14px;
        line-height: 1.2;
        margin-bottom: 2px;
        text-transform: uppercase;
    }

}
