/* ═══════════════════════════════════════════════════════════════════════════
   fixes.css — точечные исправления по результатам тестирования
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Логотип (текстовый) ── */
.site-header__logo-text {
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: #1A1A1A;
    letter-spacing: -0.02em;
}
.custom-logo { max-height: 52px; width: auto; }

/* ── Шапка: тень при скролле ── */
.site-header.is-scrolled {
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

/* ── Hero placeholder высота ── */
.hero-placeholder { min-height: 420px; }

/* ── Победители: карточка без миниатюры ── */
.winner-card__placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2CC4B6 0%, #22A89B 100%);
}

/* ── Контент страницы (Gutenberg): убираем лишние отступы ── */
.home-page-content .entry-content,
.home-page-content > *:first-child { margin-top: 0; }

/* ── Изображения в page.php и контенте ── */
.page-content img,
.post-content img,
.home-page-content img {
    border-radius: 12px;
    max-width: 100%;
    height: auto;
}

/* ── Убираем outline у кнопок (оставляем только focus-visible) ── */
button:focus:not(:focus-visible) { outline: none; }
button:focus-visible { outline: 2px solid #2CC4B6; outline-offset: 2px; }

/* ── Исправляем стиль featured image в single.php ── */
.post-single__cover {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 2rem;
    display: block;
}

/* ── Breadcrumbs: первый разделитель скрыт ── */
.breadcrumbs__list > li:first-child .breadcrumbs__sep { display: none; }

/* ── Swiper: стрелки не обрезаются ── */
.hero__slider-wrap { overflow: visible; }
.hero { overflow: hidden; }

/* ── Фильтр-табы: mobile horizontal scroll ── */
@media (max-width: 767px) {
    .filter-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    .filter-tabs::-webkit-scrollbar { display: none; }
    .filter-tab { flex-shrink: 0; }
}

/* ── Мобильная кнопка Помочь ── */
@media (max-width: 1023px) {
    .mobile-help-bar { display: block; }
    .site-header__help { display: none; }
}

/* ── Форма CF7 ── */
.wpcf7 input[type="submit"] {
    background: #2CC4B6 !important;
    color: #fff !important;
    border-radius: 100px !important;
    padding: 14px 24px !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer;
    transition: background 0.2s;
}
.wpcf7 input[type="submit"]:hover { background: #22A89B !important; }

/* ── Пагинация ── */
.page-numbers { text-decoration: none; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin: 2rem 0; }
