/* Справочник Telegram: компактная журнальная сетка. */
.faq_page {
    color: #334155;
    line-height: 1.55;
}
.faq_page h1, .faq_page h2 {
    color: #0f172a;
    font-family: system-ui, -apple-system, sans-serif;
    font-weight: 750;
    line-height: 1.25;
}
.faq_page h1 {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    margin: 0 0 .5rem;
}
.faq_page .lead {
    font-size: 1.1rem;
    font-weight: 400;
}
.faq_page a {
    color: #1d4ed8;
}
.faq_notice {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #991b1b;
    border-radius: 4px;
}
.faq_notice strong, .faq_kicker {
    color: #991b1b;
}
.faq_intro {
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #f8f9fa;
}
.faq_cover {
    display: block;
    width: clamp(104px, 17vw, 180px);
    height: auto;
    aspect-ratio: 1;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}
.faq_kicker {
    font-weight: 700;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.faq_meta, .faq_up {
    color: #64748b;
    font-size: .875rem;
    font-weight: 400;
}
.faq_navigation_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .375rem .75rem;
}
.faq_jump {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .35rem .6rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    text-decoration: none;
    font-size: .9rem;
    line-height: 1.35;
}
.faq_jump:hover {
    border-color: #1d4ed8;
    background: #f8f9fa;
}
.faq_search {
    background: #f1f3f5;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}
.faq_search .form-control, .faq_search .btn {
    border-radius: 4px;
    box-shadow: none;
}
.faq_search .form-control {
    min-width: 0;
    background: #fff;
    color: #334155;
    border-color: #cbd5e1;
}
.faq_search .btn {
    --bs-btn-color: #1d4ed8;
    --bs-btn-border-color: #1d4ed8;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #1d4ed8;
    --bs-btn-hover-border-color: #1d4ed8;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #1d4ed8;
    --bs-btn-active-border-color: #1d4ed8;
}
.faq_group, .faq_page, .faq_item {
    scroll-margin-top: 1rem;
}
.faq_group_title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    font-size: 1.2rem;
    padding: .65rem .75rem;
    margin: 0;
    border-top: 2px solid #991b1b;
    background: #f1f3f5;
}
.faq_up {
    white-space: nowrap;
    text-decoration: none;
}
.faq_item {
    border-bottom: 1px solid #e2e8f0;
}
.faq_item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    color: #0f172a;
    font-weight: 600;
    padding: .65rem .75rem;
    line-height: 1.4;
}
.faq_item summary::-webkit-details-marker {
    display: none;
}
.faq_item summary::after {
    content: '+';
    flex: 0 0 1rem;
    color: #1d4ed8;
    text-align: center;
    font-weight: 700;
}
.faq_item[open] summary::after {
    content: '−';
}
.faq_item summary:hover, .faq_item[open] summary {
    background: #f8f9fa;
    color: #1d4ed8;
}
.faq_answer {
    padding: .25rem .75rem .8rem;
    overflow-wrap: anywhere;
}
.faq_page :is(a, button, input, summary):focus-visible {
    outline: 2px solid #1d4ed8;
    outline-offset: 2px;
}
.faq_page [hidden] {
    display: none !important;
}
.faq_comments {
    border-top: 1px solid #e2e8f0;
}
@media (max-width: 991.98px) {
    .faq_navigation_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 575.98px) {
    .faq_navigation_grid {
        grid-template-columns: 1fr;
    }
    .faq_intro {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .faq_cover {
        width: 140px;
    }
    .faq_search .btn {
        padding-inline: .5rem;
    }
}
