/*
Theme Name: Ironbets
Theme URI: https://ironbets.kz
Author: Ironbets Team
Author URI: https://ironbets.kz
Description: Standalone theme for Ironbets — букмекеры, бонусы, прогнозы (football-predictions API).
Version: 1.2.79
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ironbets
*/

/*
 * Design tokens (defaults; переопределяются в Customizer → Ironbets — цвета).
 * В шаблонах и плагинах внутри .child3-* используйте var(--c3-*), не hex.
 */
:root {
    /* ProGorki-метод: navy+cyan + gold CTA + ruby spark */
    --c3-bg: #f6f8fb;
    --c3-surface: #ffffff;
    --c3-text: #172033;
    --c3-text-muted: #667085;
    --c3-border: #e2e8f0;
    --c3-info: #0e3a5b;
    --c3-info-hover: #0b2742;
    --c3-info-text: #ffffff;
    --c3-accent-light: #1e7fbf;
    --c3-accent-light-hover: #0e5f8f;
    --c3-brand: #d62828;
    --c3-brand-hover: #b91c1c;
    --c3-cta-primary: #d62828;
    --c3-cta-primary-end: #b91c1c;
    --c3-cta-primary-hover: #e03a3a;
    --c3-cta-primary-text: #ffffff;
    --c3-safe: #1e7fbf;
    --c3-safe-hover: #0e5f8f;
    --c3-safe-text: #ffffff;
    --c3-danger: #b42318;
    --c3-hero-bg-from: #061827;
    --c3-hero-bg-to: #0e3a5b;
    --c3-hero-text: #ffffff;
    --c3-hero-btn-bg: #d62828;
    --c3-hero-btn-text: #ffffff;
    --c3-accent: var(--c3-brand);
    --c3-accent-hover: var(--c3-brand-hover);
    --c3-accent-blue: var(--c3-info);
    --c3-accent-gold: var(--c3-cta-primary);
    --c3-cta-text: var(--c3-info-text);
    --c3-cta-primary-gradient: linear-gradient(180deg, var(--c3-cta-primary) 0%, var(--c3-cta-primary-end) 100%);
    --c3-font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --c3-font-size-base: 16px;
    --c3-heading-weight: 700;
    --c3-heading-tracking: -0.02em;
    --c3-brand-soft: color-mix(in srgb, var(--c3-brand) 8%, var(--c3-surface));
    --c3-brand-border: color-mix(in srgb, var(--c3-brand) 18%, var(--c3-border));
    --c3-info-soft: color-mix(in srgb, var(--c3-info) 8%, var(--c3-surface));
    --c3-info-border: color-mix(in srgb, var(--c3-info) 18%, var(--c3-border));
    --c3-header-nav-size: 13px;
    --c3-header-nav-weight: 700;
    --c3-mega-menu-color: #f5b82e;
    --c3-mega-menu-hover: #ffd166;
    --c3-mega-menu-active: #ffffff;
    --c3-footer-nav-link: #dfe6e9;
    --c3-footer-nav-link-hover: #ffffff;
    --c3-footer-nav-link-visited: #dfe6e9;
    --c3-footer-nav-size: 13px;
    --c3-footer-nav-weight: 600;
    --c3-accent-light-soft: color-mix(in srgb, var(--c3-accent-light) 12%, var(--c3-surface));
    --c3-accent-light-border: color-mix(in srgb, var(--c3-accent-light) 35%, var(--c3-border));
    --c3-accent-soft: var(--c3-accent-light-soft);
    --c3-accent-border: var(--c3-accent-light-border);
    --c3-shadow: 0 1px 3px color-mix(in srgb, var(--c3-text) 5%, transparent);
    --c3-shadow-lg: 0 10px 32px color-mix(in srgb, var(--c3-info) 10%, transparent);
    --c3-radius-sm: 8px;
    --c3-radius-md: 12px;
    --c3-radius-lg: 16px;
}

* {
    box-sizing: border-box;
}

body.child3-shell {
    margin: 0;
    overflow-x: clip;
    background: var(--c3-bg);
    color: var(--c3-text);
    font-family: var(--c3-font-sans);
    font-size: var(--c3-font-size-base);
    line-height: var(--c3-line-height, 1.55);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.child3-shell h1,
body.child3-shell .child3-single-hero__title {
    font-family: var(--c3-font-h1, var(--c3-font-sans));
    font-size: var(--c3-h1-size, 34px);
    font-weight: var(--c3-h1-weight, var(--c3-heading-weight, 700));
    letter-spacing: var(--c3-h1-tracking, var(--c3-heading-tracking, -0.02em));
    line-height: 1.2;
}

body.child3-shell h2,
body.child3-shell h3,
body.child3-shell h4,
body.child3-shell h5,
body.child3-shell h6 {
    font-family: var(--c3-font-sans);
    font-weight: var(--c3-heading-weight, 700);
    letter-spacing: var(--c3-heading-tracking, -0.02em);
    line-height: 1.25;
}

/* Цвет текста — только вне hero; hero использует --c3-hero-text / --c3-single-header-text. */
body.child3-shell .child3-card h1,
body.child3-shell .child3-card h2,
body.child3-shell .child3-card h3,
body.child3-shell .child3-blog-header h1,
body.child3-shell .child3-hub-header:not(.child3-page-hero):not(.has-color):not(.has-image) h1:not(.child3-hub-hero-title--light),
body.child3-shell .child3-page-container > .child3-card h1,
body.child3-shell .child3-page-container > .child3-card h2 {
    color: var(--c3-text);
}

body.child3-shell p {
    line-height: var(--c3-line-height, 1.55);
}

body.child3-shell img {
    max-width: 100%;
    height: auto;
}

body.child3-shell a {
    color: var(--c3-info);
}

.child3-site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--c3-bg);
}

.child3-site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    overflow: visible;
    background: linear-gradient(135deg, var(--c3-hero-bg-from) 0%, var(--c3-hero-bg-to) 100%);
    border-bottom: 1px solid color-mix(in srgb, var(--c3-info) 35%, transparent);
    box-shadow: 0 8px 28px color-mix(in srgb, var(--c3-info) 18%, transparent);
}

.child3-site-header__inner {
    width: 100%;
    max-width: var(--child3-content-max, 1240px);
    min-height: 64px;
    margin: 0 auto;
    padding: 0 1.25rem;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.75rem;
    overflow: visible;
}

.child3-site-branding {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    min-width: 0;
}

.child3-site-logo-link,
.child3-site-branding .custom-logo-link,
.child3-site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--c3-hero-text);
}

.child3-site-logo-img,
.child3-site-branding .custom-logo {
    display: block;
    width: auto;
    max-height: 40px;
}

.child3-site-logo {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.child3-primary-nav {
    display: flex;
    align-items: stretch;
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-end;
    overflow: visible;
}

.child3-main-menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.child3-main-menu > li {
    position: relative;
    flex-shrink: 0;
    padding: 7px 0;
}

.child3-main-menu > li > a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
    color: var(--c3-hero-text) !important;
    text-decoration: none;
    font-size: var(--c3-header-nav-size, 13px);
    font-weight: var(--c3-header-nav-weight, 700);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    border: 1px solid transparent;
    border-radius: var(--c3-radius-sm);
    box-sizing: border-box;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.child3-shell .child3-main-menu > li.menu-item-mega-event > a,
body.child3-shell .child3-main-menu > li.menu-item-mega-event > a:link,
body.child3-shell .child3-main-menu > li.menu-item-mega-event > a:visited {
    color: var(--c3-mega-menu-color) !important;
    font-weight: var(--c3-header-nav-weight, 700) !important;
    background: color-mix(in srgb, var(--c3-mega-menu-color) 28%, transparent);
    border-color: color-mix(in srgb, var(--c3-mega-menu-color) 58%, transparent);
    box-shadow: 0 1px 8px color-mix(in srgb, var(--c3-mega-menu-color) 22%, transparent);
}

body.child3-shell .child3-main-menu > li.menu-item-mega-event > a:hover,
body.child3-shell .child3-main-menu > li.menu-item-mega-event:focus-within > a {
    color: var(--c3-mega-menu-hover) !important;
    background: color-mix(in srgb, var(--c3-mega-menu-color) 82%, transparent);
    border-color: var(--c3-mega-menu-color);
    box-shadow: 0 2px 12px color-mix(in srgb, var(--c3-mega-menu-color) 35%, transparent);
}

body.child3-shell .child3-main-menu > li.menu-item-mega-event > a:active {
    color: var(--c3-mega-menu-active) !important;
    background: color-mix(in srgb, var(--c3-mega-menu-color) 82%, transparent);
    border-color: var(--c3-mega-menu-color);
    box-shadow: 0 2px 12px color-mix(in srgb, var(--c3-mega-menu-color) 35%, transparent);
}

body.child3-shell .child3-main-menu > li.menu-item-mega-event.current-menu-item > a,
body.child3-shell .child3-main-menu > li.menu-item-mega-event.current-menu-ancestor > a {
    color: var(--c3-mega-menu-active) !important;
    background: color-mix(in srgb, var(--c3-mega-menu-color) 82%, transparent);
    border-color: var(--c3-mega-menu-color);
    box-shadow: 0 2px 12px color-mix(in srgb, var(--c3-mega-menu-color) 35%, transparent);
}

.child3-main-menu > li.menu-item-has-children > a {
    position: relative;
    padding-right: 30px;
}

.child3-main-menu > li.menu-item-has-children > a::after {
    content: "▾";
    position: absolute;
    right: 10px;
    font-size: 0.72rem;
    opacity: 0.85;
}

.child3-main-menu > li > a:hover,
.child3-main-menu > li:hover > a,
.child3-main-menu > li:focus-within > a,
.child3-main-menu > li.current-menu-item > a,
.child3-main-menu > li.current-menu-ancestor > a {
    background: color-mix(in srgb, var(--c3-hero-text) 14%, transparent);
    border-color: color-mix(in srgb, var(--c3-hero-text) 24%, transparent);
    color: var(--c3-hero-text) !important;
}

.child3-main-menu .sub-menu {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 230px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: var(--c3-surface);
    border: 1px solid var(--c3-border);
    border-radius: var(--c3-radius-md);
    box-shadow: var(--c3-shadow-lg);
    z-index: 120;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.child3-main-menu > li:hover > .sub-menu,
.child3-main-menu > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.child3-main-menu .sub-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: var(--c3-radius-sm);
    color: var(--c3-text) !important;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
}

.child3-main-menu .sub-menu a:hover,
.child3-main-menu .sub-menu a:focus-visible {
    background: var(--c3-info-soft);
    color: var(--c3-info) !important;
}

.child3-main-menu > li:last-child > .sub-menu,
.child3-main-menu > li:nth-last-child(2) > .sub-menu {
    left: auto;
    right: 0;
}

.child3-submenu-toggle-btn {
    display: none;
}

.child3-menu-toggle {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    padding: 8px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    align-self: center;
}

.child3-menu-toggle span {
    display: block;
    width: 1.35rem;
    height: 2px;
    margin: 5px 0;
    background: var(--c3-hero-text);
    border-radius: 2px;
}

.child3-search-toggle {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
}

.child3-search-toggle span {
    width: 1.1rem;
    height: 1.1rem;
    display: block;
    border: 2px solid var(--c3-hero-text);
    border-radius: 999px;
    position: relative;
}

.child3-search-toggle span::after {
    content: "";
    position: absolute;
    right: -0.45rem;
    bottom: -0.35rem;
    width: 0.55rem;
    height: 2px;
    background: var(--c3-hero-text);
    transform: rotate(45deg);
    transform-origin: center;
}

.child3-search-panel {
    background: var(--c3-surface);
    border-top: 1px solid var(--c3-border);
}

.child3-site-header__inner--search {
    min-height: 0;
    padding-top: 0.75rem;
    padding-bottom: 0.85rem;
}

.child3-search-panel form {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.child3-search-panel input[type="search"],
.child3-search-panel input[type="text"] {
    width: min(28rem, 100%);
    border: 1px solid var(--c3-border);
    border-radius: var(--c3-radius-sm);
    padding: 0.65rem 0.8rem;
}

.child3-search-panel input[type="submit"],
.child3-search-panel button[type="submit"] {
    border: 0;
    border-radius: var(--c3-radius-sm);
    padding: 0.65rem 1rem;
    background: var(--c3-cta-primary-gradient);
    color: var(--c3-cta-primary-text);
    font-weight: 700;
}

.child3-site .site-content {
    flex: 1 0 auto;
    width: 100%;
    background: var(--c3-bg);
    padding-top: 0;
}

.child3-site .site-content-inner {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
}

.child3-site-footer {
    margin-top: auto;
    background: #102844;
    color: color-mix(in srgb, #fff 80%, transparent);
    border-top: 4px solid var(--c3-accent-light);
}

.child3-site-footer__widgets {
    border-bottom: 1px solid color-mix(in srgb, #fff 12%, transparent);
}

.child3-site-footer__widgets-inner {
    width: 100%;
    max-width: var(--child3-content-max, 1240px);
    margin: 0 auto;
    padding: 2rem 1.5rem 1.75rem;
    display: grid;
    grid-template-columns: minmax(220px, 1.45fr) repeat(3, minmax(0, 1fr));
    gap: 1.75rem 1.5rem;
    align-items: start;
}

.child3-footer-col--brand {
    min-width: 0;
}

.child3-footer-brand__logo-link {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    text-decoration: none;
}

.child3-footer-brand__logo,
.child3-footer-brand__logo-link .custom-logo {
    display: block;
    max-width: 180px;
    max-height: 52px;
    width: auto;
    height: auto;
}

.child3-footer-brand__name {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
}

.child3-footer-brand__tagline {
    margin: 0.65rem 0 0;
    color: color-mix(in srgb, #fff 88%, transparent);
    font-size: 0.95rem;
    line-height: 1.45;
}

.child3-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.child3-footer-social a,
.child3-footer-social a:link,
.child3-footer-social a:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: color-mix(in srgb, #fff 14%, transparent);
    border: 1px solid color-mix(in srgb, #fff 28%, transparent);
    color: #fff;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.child3-footer-social a:hover,
.child3-footer-social a:focus-visible {
    background: color-mix(in srgb, #fff 24%, transparent);
    border-color: color-mix(in srgb, #fff 45%, transparent);
    color: #fff;
}

.child3-footer-social svg {
    width: 1.05rem;
    height: 1.05rem;
    display: block;
    fill: currentColor;
}

.child3-footer-social svg path {
    fill: currentColor;
}

.child3-footer-brand__disclaimer {
    margin: 1rem 0 0;
    color: color-mix(in srgb, #fff 68%, transparent);
    font-size: 0.82rem;
    line-height: 1.5;
}

.child3-footer-col--menu .widget {
    margin: 0;
}

.child3-footer-widget-title,
.child3-footer-col--menu .widget-title {
    margin: 0 0 0.85rem;
    color: var(--c3-footer-widget-title, #fff);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.child3-footer-menu,
.child3-footer-col--menu .menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.child3-footer-menu li,
.child3-footer-col--menu .menu li {
    margin: 0 0 0.45rem;
}

.child3-footer-menu a,
.child3-footer-col--menu .menu a {
    color: var(--c3-footer-widget-link, #dfe6e9);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.45;
}

.child3-footer-menu a:hover,
.child3-footer-col--menu .menu a:hover,
.child3-footer-menu a:focus-visible,
.child3-footer-col--menu .menu a:focus-visible {
    color: var(--c3-footer-widget-link-hover, #fff);
    text-decoration: underline;
}

.child3-site-footer__nav {
    width: 100%;
    max-width: var(--child3-content-max, 1240px);
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid color-mix(in srgb, #fff 12%, transparent);
}

.child3-site-footer__nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 1.1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.child3-site-footer__inner {
    width: 100%;
    max-width: var(--child3-content-max, 1240px);
    margin: 0 auto;
    padding: 1.15rem 1.5rem;
}

.child3-site-footer__inner--bar {
    padding-top: 1rem;
    padding-bottom: 1.15rem;
}

.child3-site-footer__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
}

.child3-site-footer__copy {
    min-width: 0;
    flex: 1 1 240px;
}

.child3-site-footer__copy a {
    color: color-mix(in srgb, #fff 92%, transparent);
}

.child3-site-footer__credit {
    flex: 0 1 auto;
    margin-left: auto;
    color: color-mix(in srgb, #fff 70%, transparent);
    font-size: 0.82rem;
    text-align: right;
}

.child3-site-footer__credit a {
    color: color-mix(in srgb, #fff 88%, transparent);
}

body.child3-shell .child3-site-footer__nav a:link,
body.child3-shell .child3-site-footer__nav a:visited {
    color: var(--c3-footer-nav-link) !important;
    text-decoration: none;
    font-size: var(--c3-footer-nav-size, 13px);
    font-weight: var(--c3-footer-nav-weight, 600);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

body.child3-shell .child3-site-footer__nav a:hover,
body.child3-shell .child3-site-footer__nav a:focus-visible {
    color: var(--c3-footer-nav-link-hover) !important;
    text-decoration: underline;
}

.child3-site-footer__note {
    display: none;
}

.child3-skip-link {
    position: absolute;
    left: -9999px;
}

.child3-skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 999;
    background: #fff;
    padding: 0.5rem 0.75rem;
}

@media (max-width: 980px) {
    .child3-site-header__inner {
        flex-wrap: wrap;
        padding-left: 1rem;
        padding-right: 1rem;
        min-height: 58px;
    }

    .child3-menu-toggle {
        display: block;
        order: 3;
    }

    .child3-search-toggle {
        order: 4;
    }

    .child3-site-logo {
        font-size: 0.98rem;
    }

    .child3-primary-nav {
        order: 5;
        flex: 1 0 100%;
        display: none;
        background: color-mix(in srgb, var(--c3-hero-bg-from) 92%, #000);
        margin: 0 -1rem;
        padding: 0.35rem 1rem 0.75rem;
        border-top: 1px solid color-mix(in srgb, var(--c3-hero-text) 18%, transparent);
    }

    .child3-primary-nav.is-open {
        display: block;
    }

    .child3-main-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .child3-main-menu > li {
        padding: 0;
        border-bottom: 1px solid color-mix(in srgb, var(--c3-hero-text) 12%, transparent);
    }

    .child3-main-menu > li > a {
        width: 100%;
        min-height: 44px;
        border-radius: 0;
        border: 0;
        font-size: calc(var(--c3-header-nav-size, 13px) * 0.952);
        font-weight: var(--c3-header-nav-weight, 700);
    }

    body.child3-shell .child3-main-menu > li.menu-item-mega-event > a,
    body.child3-shell .child3-main-menu > li.menu-item-mega-event > a:link,
    body.child3-shell .child3-main-menu > li.menu-item-mega-event > a:visited {
        border: 0;
        border-left: 3px solid var(--c3-mega-menu-color);
        padding-left: 11px;
        box-shadow: none;
    }

    body.child3-shell .child3-main-menu > li.menu-item-mega-event > a:hover,
    body.child3-shell .child3-main-menu > li.menu-item-mega-event:focus-within > a,
    body.child3-shell .child3-main-menu > li.menu-item-mega-event.current-menu-item > a,
    body.child3-shell .child3-main-menu > li.menu-item-mega-event.current-menu-ancestor > a {
        border-left-color: var(--c3-mega-menu-hover);
        box-shadow: none;
    }

    .child3-main-menu > li.menu-item-has-children {
        position: relative;
        padding-right: 2.75rem;
    }

    .child3-main-menu > li.menu-item-has-children > a::after {
        display: none;
    }

    .child3-main-menu > li.menu-item-has-children > .child3-submenu-toggle-btn {
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        width: 2.75rem;
        height: 44px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .child3-main-menu > li.menu-item-has-children > .child3-submenu-toggle-btn::before {
        content: "▾";
        color: var(--c3-hero-text);
        font-size: 0.85rem;
    }

    .child3-main-menu > li.menu-item-has-children.child3-submenu-open > .child3-submenu-toggle-btn::before {
        transform: rotate(180deg);
        display: inline-block;
    }

    .child3-main-menu > li:hover > .sub-menu,
    .child3-main-menu > li:focus-within > .sub-menu {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .child3-main-menu > li.menu-item-has-children > .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        display: none;
        min-width: 0;
        margin: 0;
        padding: 0 0 0.35rem 0.75rem;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .child3-main-menu > li.menu-item-has-children.child3-submenu-open > .sub-menu {
        display: block;
    }

    .child3-main-menu .sub-menu a {
        color: color-mix(in srgb, var(--c3-hero-text) 92%, transparent) !important;
        padding-left: 0;
    }
}

@media (max-width: 980px) {
    .child3-site-footer__widgets-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .child3-footer-col--brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .child3-site-footer__widgets-inner {
        grid-template-columns: 1fr;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .child3-site-footer__nav {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .child3-site-footer__nav ul {
        justify-content: flex-start;
    }

    .child3-site-footer__inner {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .child3-site-footer__bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .child3-site-footer__credit {
        margin-left: 0;
        text-align: left;
    }
}

/* Главная: свой grid, без flex-сайдбара Reboot. */
body.child3-home-surface .site-content,
body.child3-home-surface .site-content.fixed {
    max-width: none !important;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

body.child3-home-surface .site-content-inner {
    display: block;
    width: 100%;
    max-width: 100%;
    background: var(--c3-bg);
}

body.child3-home-surface .site-content-inner > .content-area,
body.child3-home-surface .site-content-inner > #primary,
body.child3-home-surface .site-content-inner > .site-main,
body.child3-home-surface .site-content-inner > main {
    max-width: 100% !important;
    width: 100% !important;
    flex: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    min-width: 0;
    box-sizing: border-box;
}

body.child3-home-surface #secondary,
body.child3-home-surface .widget-area {
    display: none !important;
}

body.child3-home-surface .child3-home-main {
    padding-bottom: 2rem;
}

body.child3-home-surface .child3-home-main:has(> .child3-page-hero) {
    padding-top: 0;
}

body.child3-home-surface .child3-home-main:not(:has(> .child3-page-hero)) {
    padding-top: 1.25rem;
}

body.child3-wide-layout .child3-blog-main {
    padding-bottom: 2rem;
}

body.child3-wide-layout .child3-blog-main:has(> .child3-page-hero) {
    padding-top: 0;
}

body.child3-wide-layout .child3-blog-main:not(:has(> .child3-page-hero)) {
    padding-top: 1.25rem;
}

.child3-blog-header h1 {
    margin: 0;
}

.child3-news-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(var(--child3-news-cols, 1), minmax(0, 1fr));
    margin: 0 0 1.5rem;
}

.child3-news-grid > .child3-promo-banner {
    grid-column: 1 / -1;
}

.child3-single-post > .child3-promo-banner {
    margin-top: 1.25rem;
}

@media (max-width: 719px) {
    .child3-news-grid {
        grid-template-columns: 1fr;
    }
}

.child3-blog-body.child3-hub-body--split .child3-news-grid {
    --child3-news-cols: 2;
}

@media (max-width: 960px) {
    .child3-blog-body.child3-hub-body--split .child3-news-grid {
        grid-template-columns: 1fr;
    }
}

.child3-post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    overflow: hidden;
}

.child3-post-card__thumb {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--c3-bg);
}

.child3-post-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.child3-post-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 0.5rem;
    padding: 1.1rem 1.15rem 1.15rem;
}

.child3-post-card__meta {
    margin: 0;
    font-size: 0.82rem;
    color: var(--c3-text-muted);
}

.child3-post-card__title {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.35;
}

.child3-post-card__title a {
    color: var(--c3-text);
    text-decoration: none;
}

.child3-post-card__title a:hover {
    color: var(--c3-info);
}

.child3-post-card__excerpt {
    margin: 0;
    flex: 1 1 auto;
    font-size: 0.92rem;
    color: var(--c3-text-muted);
    line-height: 1.5;
}

.child3-post-card__actions {
    margin: 0.35rem 0 0;
}

.child3-blog-pagination {
    margin: 0 0 1rem;
}

.child3-blog-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    justify-content: center;
}

.child3-scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 95;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c3-cta-primary-gradient);
    color: var(--c3-cta-primary-text);
    border: 1px solid color-mix(in srgb, var(--c3-cta-primary-text) 28%, transparent);
    border-radius: var(--c3-radius-md, 12px);
    box-shadow: var(--c3-shadow-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
}

.child3-scroll-top:hover {
    filter: brightness(1.04);
    transform: translateY(-2px);
}

.child3-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.child3-scroll-top svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* Child3 wide layout: Reboot flex резервирует 300px под .widget-area → контент липнет влево. */
body.child3-wide-layout {
    overflow-x: clip;
}

body.child3-wide-layout .site-content,
body.child3-wide-layout .site-content.fixed {
    max-width: none !important;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

body.child3-wide-layout .site-content-inner {
    display: block;
    width: 100%;
    max-width: 100%;
    background: var(--c3-bg);
}

body.child3-wide-layout .site-content-inner > .content-area,
body.child3-wide-layout .site-content-inner > #primary,
body.child3-wide-layout .site-content-inner > .site-main,
body.child3-wide-layout .site-content-inner > main {
    max-width: 100% !important;
    width: 100% !important;
    flex: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    min-width: 0;
    box-sizing: border-box;
}

body.child3-wide-layout .widget-area,
body.child3-wide-layout #secondary.widget-area {
    display: none !important;
}

body.child3-wide-layout .child3-hub-main .container,
body.child3-wide-layout .page-template-page-home .container {
    max-width: var(--child3-content-max, 1240px);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
}

.child3-hub-main,
.child3-home-entry-content {
    color: var(--c3-text);
}

/* Child3 conversion-first layer */
.child3-home-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 20px 0 30px;
}

.child3-card {
    border: 1px solid var(--c3-elev-border, var(--c3-border));
    border-radius: var(--c3-radius-lg, 16px);
    padding: 22px;
    background: var(--c3-surface);
    box-shadow: var(--c3-shadow-lg);
}

.child3-card h3 {
    margin: 0 0 10px;
}

.child3-card p {
    margin: 0 0 14px;
}

.child3-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.child3-cta {
    display: inline-block;
    border-radius: var(--c3-radius-sm);
    padding: 10px 14px;
    text-decoration: none;
    font-weight: 600;
    background: var(--c3-cta-primary-gradient);
    color: var(--c3-cta-primary-text);
    border: 1px solid transparent;
    transition: filter 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.child3-cta:not(.secondary):hover,
.child3-cta:not(.secondary):focus-visible {
    background: var(--c3-cta-primary-hover);
    filter: brightness(1.04);
    color: var(--c3-cta-primary-text);
}

.child3-cta.secondary {
    background: var(--c3-surface);
    color: var(--c3-accent-light);
    border: 2px solid var(--c3-accent-light);
    filter: none;
}

.child3-cta.secondary:hover,
.child3-cta.secondary:focus-visible {
    background: var(--c3-accent-light);
    color: var(--c3-info-text);
    border-color: var(--c3-accent-light);
}

.child3-badge {
    display: inline-block;
    font-size: 11px;
    line-height: 1.2;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--c3-bg);
    color: var(--c3-text-muted);
    border: 1px solid var(--c3-border);
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.child3-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.child3-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--c3-border);
}

/* Хаб прогнозов: обёртка .child3-hub-nav-latest-stack — колонка; nav + H2 не попадают в один ряд flex-родителя .container. */
.child3-page-container > .child3-hub-sport-editor,
.child3-page-container > .child3-hub-predictions-conversion,
.child3-page-container > .child3-hub-nav-latest-stack {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.child3-hub-nav-latest-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
}

.child3-hub-nav-latest-stack .child3-hub-nav--inline {
    justify-content: center;
}

.child3-hub-nav-latest-stack .child3-hub-latest-heading {
    margin: 0;
    font-size: 1.35rem;
    text-align: center;
}

.child3-hub-nav-latest-stack .child3-hub-latest-grid {
    margin: 0 0 1.5rem;
}

.child3-hub-nav-latest-stack .child3-muted {
    margin: 0;
    text-align: center;
}

.child3-hub-predictions-conversion {
    margin: 0 0 0.25rem;
}

.child3-hub-predictions-conversion + .child3-hub-nav-latest-stack {
    margin-top: 1.5rem;
}

.child3-hub-latest-heading {
    margin: 0;
    font-size: 1.35rem;
    text-align: center;
}

.child3-hub-latest-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(var(--child3-latest-cols, 3), minmax(0, 1fr));
    margin: 0 0 1.5rem;
}

.child3-hub-latest-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.child3-hub-latest-card-title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    line-height: 1.35;
}

.child3-hub-latest-card__type {
    margin: 0 0 0.4rem;
}

.child3-hub-latest-card__type .child3-badge {
    font-size: 0.72rem;
    letter-spacing: 0.03em;
}

.child3-hub-latest-card-excerpt {
    margin: 0 0 0.75rem;
    flex: 1;
    font-size: 0.9rem;
    color: var(--c3-text-muted);
}

.child3-hub-nav {
    margin: 0 0 0;
    padding: 0 0 1rem;
    border-bottom: 1px solid var(--c3-border);
}

.child3-hub-nav--inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1.1rem;
}

.child3-hub-nav--inline a {
    display: inline-block;
    padding: 0.2rem 0;
    text-decoration: none;
    color: var(--c3-accent-light);
    font-weight: 500;
    white-space: nowrap;
}

.child3-hub-nav--inline a:hover {
    text-decoration: underline;
    color: var(--c3-accent-light-hover);
}

.child3-hub-sport-editor {
    margin: 0 0 1.25rem;
}

.child3-muted {
    color: var(--c3-text-muted);
    margin: 1rem 0;
}

@media (min-width: 901px) {
    .child3-hub-predictions-conversion + .child3-hub-nav-latest-stack {
        margin-top: 2.25rem;
    }

    .child3-hub-nav-latest-stack {
        gap: 2.25rem;
    }
}

@media (max-width: 900px) {
    .child3-home-grid {
        grid-template-columns: 1fr;
    }

    .child3-hub-latest-grid {
        grid-template-columns: repeat(min(var(--child3-latest-cols, 3), 2), minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .child3-hub-nav--inline {
        gap: 0.25rem 0.75rem;
    }

    .child3-hub-latest-grid {
        grid-template-columns: 1fr;
    }
}

/* Букмекеры: таблица на хабе + single CPT */
.child3-hub-bookmakers-table {
    margin: 1.5rem 0 2rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Рейтинг: интро сразу над таблицей — без двойных отступов (gap + margin) */
.child3-hub-content:has(> .child3-hub-bookmakers-table) {
    gap: 0.75rem;
}

.child3-hub-content:has(> .child3-hub-bookmakers-table) > .child3-chip-nav {
    margin-bottom: 0.85rem;
}

.child3-hub-content:has(> .child3-hub-bookmakers-table) > .child3-hub-intro-block,
.child3-hub-content:has(> .child3-hub-bookmakers-table) > .child3-subhub-intro {
    margin-bottom: 0;
}

.child3-hub-intro-block + .child3-hub-bookmakers-table,
.child3-subhub-intro + .child3-hub-bookmakers-table {
    margin-top: 0;
}

.child3-hub-bookmakers-table .ibk-bookmakers-table-wrap {
    margin-top: 0;
    margin-bottom: 0;
}

.child3-hub-intro p:empty,
.child3-subhub-intro .entry-content p:empty {
    display: none;
}

@media (max-width: 768px) {
    .child3-hub-content:has(> .child3-hub-bookmakers-table) {
        gap: 0.55rem;
    }

    .child3-hub-content:has(> .child3-hub-bookmakers-table) > .child3-chip-nav {
        margin-bottom: 0.65rem;
    }

    .child3-hub-content:has(> .child3-hub-bookmakers-table) .child3-hub-intro-title,
    .child3-hub-content:has(> .child3-hub-bookmakers-table) .child3-subhub-intro h2 {
        font-size: 1.15rem;
        margin-bottom: 0.45rem;
    }

    .child3-hub-content:has(> .child3-hub-bookmakers-table) .child3-hub-intro,
    .child3-hub-content:has(> .child3-hub-bookmakers-table) .child3-subhub-intro .entry-content {
        font-size: 0.92rem;
        line-height: 1.48;
    }

    .child3-hub-content:has(> .child3-hub-bookmakers-table) .child3-subhub-intro {
        padding: 1rem 1rem 0.85rem;
    }

    .child3-hub-bookmakers-table .ibk-bookmakers-table-wrap {
        border-radius: 14px;
    }

    .child3-hub-bookmakers-table .ibk-bookmakers-table th,
    .child3-hub-bookmakers-table .ibk-bookmakers-table td {
        padding: 0.65rem 0.55rem;
        font-size: 0.85rem;
    }
}

/* Chip-nav (подборки букмекеров и др.) */
.child3-chip-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem auto 1.75rem;
    padding: 0;
    list-style: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.child3-chip-nav a {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--c3-accent-light);
    background: var(--c3-surface);
    border: 1px solid var(--c3-accent-light-border);
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.child3-chip-nav a:hover {
    background: var(--c3-accent-light-soft);
    color: var(--c3-info);
    border-color: var(--c3-accent-light);
}

.child3-chip-nav a.is-active {
    background: var(--c3-info);
    color: var(--c3-info-text);
    border-color: var(--c3-info);
}

.child3-single-bookmaker {
    margin: 0 0 2.5rem;
}

.child3-single-body.child3-hub-body--split .child3-single-bookmaker,
.child3-single-body.child3-hub-body--split .child3-single-bonus,
.child3-single-body.child3-hub-body--split .child3-single-post,
.child3-single-body.child3-hub-body--split .child3-news-related {
    margin-bottom: 0;
    max-width: 100%;
    min-width: 0;
}

.child3-single-post__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    color: var(--c3-text-muted);
    font-size: 0.94rem;
}

.child3-single-post__meta a,
.child3-single-post__tags a {
    color: var(--c3-info);
    text-decoration: none;
    font-weight: 700;
}

.child3-single-post__meta a:hover,
.child3-single-post__tags a:hover {
    color: var(--c3-info-hover);
}

.child3-single-post__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1.25rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--c3-border);
    color: var(--c3-text-muted);
}

.child3-single-post__tags a {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: var(--c3-info-soft);
}

.child3-single-post__author {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--c3-border);
}

.child3-single-post__author-avatar {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 999px;
    overflow: hidden;
    background: var(--c3-info-soft);
}

.child3-single-post__author-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.child3-single-post__author-name {
    margin: 0 0 0.4rem;
    color: var(--c3-text-muted);
}

.child3-single-post__author-name span {
    margin-right: 0.25rem;
}

.child3-single-post__author-name a {
    color: var(--c3-info);
    font-weight: 800;
    text-decoration: none;
}

.child3-single-post__author-name a:hover {
    color: var(--c3-info-hover);
}

.child3-single-post__author-bio {
    margin: 0 0 0.65rem;
    color: var(--c3-text);
}

.child3-news-related__grid .child3-post-card {
    margin: 0;
}

.child3-single-breadcrumbs {
    margin: 0 0 1rem;
    width: 100%;
}

.child3-single-breadcrumbs .breadcrumb {
    margin: 0;
}

.child3-single-body.child3-hub-body--split {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 270px);
    grid-template-areas: 'hub-content hub-sidebar';
    align-items: start;
}

.child3-single-body .child3-hub-content {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    grid-area: hub-content;
}

.child3-single-body .child3-single-related {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-column: 1;
}

.child3-single-body .child3-hub-sidebar {
    position: sticky;
    top: 1.25rem;
    align-self: start;
    justify-self: end;
    grid-area: hub-sidebar;
}

.child3-single-related {
    margin: 0;
}

.child3-single-related__title {
    margin: 0 0 1rem;
    font-size: 1.35rem;
    line-height: 1.3;
}

.child3-single-related__more {
    margin: 1.75rem 0 0;
    padding-top: 0.25rem;
}

.child3-single-related-grid--bookmakers {
    display: grid;
    gap: 1rem;
}

.child3-single-related-grid--bookmakers.child3-single-related-grid--cols-1 {
    grid-template-columns: 1fr;
}

.child3-single-related-grid--bookmakers.child3-single-related-grid--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.child3-single-related-grid--bookmakers.child3-single-related-grid--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.child3-single-related-card {
    margin: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.child3-single-related-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    line-height: 1.35;
}

.child3-single-related-card__title a {
    color: var(--c3-info);
    text-decoration: none;
}

.child3-single-related-card__title a:hover {
    color: var(--c3-info-hover);
}

.child3-single-related-card__meta {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    color: var(--c3-text-muted);
}

.child3-bookmaker-card-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0 0.55rem;
}

.child3-bookmaker-card-logo {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 9px;
    overflow: hidden;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--c3-border);
}

.child3-bookmaker-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.child3-bookmaker-logo-fallback {
    font-size: 0.86rem;
    font-weight: 800;
    color: var(--c3-text);
}

.child3-single-related-grid--bonuses {
    margin: 0;
}

.child3-single-predictions .fp-predictions-conversion-wrap,
.child3-single-predictions .fp-live-matches-wrap {
    margin-top: 0;
}

.child3-single-prediction-content {
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    column-count: 1;
    columns: auto;
}

.child3-single-prediction-content > * {
    width: 100%;
    max-width: 100%;
    column-span: all;
    float: none;
    clear: both;
    box-sizing: border-box;
}

.child3-single-predictions .fp-pc-row {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.15fr) minmax(4.5rem, 5.5rem) auto;
    gap: 0.65rem 1rem;
}

@media (max-width: 720px) {
    .child3-single-predictions .fp-pc-row {
        grid-template-columns: 1fr;
    }
}

/* Single bonus: промокод внутри карточки, не «поперёк» */
.child3-single-bonus.child3-card {
    padding: 0;
    overflow: hidden;
}

.child3-single-bonus.child3-card::before {
    display: none;
}

.ibo-single-bonus__promo-wrap {
    margin: 0 0 1rem;
    width: 100%;
    max-width: 100%;
}

.ibo-single-bonus__promo-label {
    margin: 0 0 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--c3-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ibo-single-bonus .ibo-card__promo-row {
    max-width: 100%;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.ibo-single-bonus .child3-single-bookmaker__actions {
    margin: 0 0 1rem;
}

.child3-single-related-grid--bonuses.ibk-bonus-cards--cols-1 {
    grid-template-columns: 1fr;
}

.child3-single-related-grid--bonuses.ibk-bonus-cards--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.child3-single-related-grid--bonuses.ibk-bonus-cards--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 960px) {
    .child3-single-related-grid--bookmakers.child3-single-related-grid--cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .child3-single-related-grid--bonuses.ibk-bonus-cards--cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .child3-single-related-grid--bookmakers[class*="child3-single-related-grid--cols-"] {
        grid-template-columns: 1fr;
    }

    .child3-single-related-grid--bonuses[class*="ibk-bonus-cards--cols-"] {
        grid-template-columns: 1fr;
    }
}

.child3-single-bookmaker.child3-card::before {
    display: none;
}

.child3-single-bookmaker__header {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--c3-border);
}

.child3-single-bookmaker__header--rich {
    display: grid;
    gap: 1.25rem 2rem;
    align-items: start;
}

@media (min-width: 768px) {
    .child3-single-bookmaker__header--rich {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    }
}

.child3-single-bookmaker__intro {
    min-width: 0;
}

.child3-single-bookmaker__panel {
    min-width: 0;
}

.child3-bookmaker-single-brand {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 0;
}

.child3-bookmaker-single-brand__logo {
    flex: 0 0 auto;
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 14px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--c3-border);
}

@media (min-width: 768px) {
    .child3-bookmaker-single-brand__logo {
        width: 6rem;
        height: 6rem;
    }
}

.child3-bookmaker-single-brand__text {
    min-width: 0;
    flex: 1 1 auto;
}

.child3-bookmaker-single-brand__text .child3-badge {
    display: inline-block;
    margin-bottom: 0.35rem;
}

.child3-single-bookmaker__brand-name {
    margin: 0;
}

.child3-single-bookmaker__subtitle {
    margin: 0.35rem 0 0;
    color: var(--c3-muted, #64748b);
    font-size: 0.98rem;
    line-height: 1.45;
}

.child3-bookmaker-single-brand__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.child3-single-bookmaker__header .entry-title {
    margin: 0.35rem 0 0.75rem;
}

.child3-single-bookmaker__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
}

.child3-single-bookmaker__facts {
    margin: 0 0 1rem;
}

.ibk-bk-facts {
    margin: 0;
    display: grid;
    gap: 0.45rem 0;
    font-size: 0.92rem;
}

.ibk-bk-facts__row {
    display: grid;
    grid-template-columns: minmax(6.5rem, 7.5rem) minmax(0, 1fr);
    gap: 0.35rem 0.75rem;
    align-items: start;
}

.ibk-bk-facts__row dt {
    margin: 0;
    color: var(--c3-muted, #64748b);
    font-weight: 500;
}

.ibk-bk-facts__row dd {
    margin: 0;
}

.ibk-bk-facts__site-text {
    word-break: break-word;
}

.ibk-bk-facts__apps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.ibk-bk-app-badge {
    --ibk-app-badge-size: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--ibk-app-badge-size);
    height: var(--ibk-app-badge-size);
    padding: 2px;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid var(--c3-border);
    background: #fff;
    color: #0f172a;
    line-height: 0;
    flex-shrink: 0;
}

.ibk-bk-app-badge__icon {
    display: block;
    width: calc(var(--ibk-app-badge-size) - 6px);
    height: calc(var(--ibk-app-badge-size) - 6px);
    max-width: 100%;
    max-height: 100%;
}

.ibk-bk-app-badge--ios {
    color: #111827;
}

.ibk-bk-app-badge--android {
    color: #15803d;
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.ibk-bk-app-badge--link {
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.ibk-bk-app-badge--link:hover,
.ibk-bk-app-badge--link:focus {
    border-color: #94a3b8;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    text-decoration: none;
    transform: translateY(-1px);
}

.ibk-bk-app-badge--static {
    opacity: 0.92;
    cursor: default;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.ibk-bk-proscons {
    display: grid;
    gap: 1rem 1.25rem;
    margin: 0 0 1.25rem;
}

@media (min-width: 640px) {
    .ibk-bk-proscons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.ibk-bk-proscons__col {
    padding: 0.95rem 1rem;
    border-radius: 12px;
    border: 1px solid transparent;
}

.ibk-bk-proscons__col--pros {
    background: #ecfdf5;
    border-color: #86efac;
    color: #14532d;
}

.ibk-bk-proscons__col--cons {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #7f1d1d;
}

.ibk-bk-proscons__title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.ibk-bk-proscons__col--pros .ibk-bk-proscons__title {
    color: #15803d;
}

.ibk-bk-proscons__col--cons .ibk-bk-proscons__title {
    color: #b91c1c;
}

.ibk-bk-proscons__title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    flex: 0 0 auto;
}

.ibk-bk-proscons__col--pros .ibk-bk-proscons__title-icon {
    background: #bbf7d0;
    color: #15803d;
}

.ibk-bk-proscons__col--cons .ibk-bk-proscons__title-icon {
    background: #fecaca;
    color: #b91c1c;
}

.ibk-bk-proscons__col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ibk-bk-proscons__col li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.ibk-bk-proscons__col li + li {
    margin-top: 0.45rem;
}

.ibk-bk-proscons__item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    flex: 0 0 auto;
}

.ibk-bk-proscons__col--pros .ibk-bk-proscons__item-icon {
    color: #16a34a;
}

.ibk-bk-proscons__col--cons .ibk-bk-proscons__item-icon {
    color: #dc2626;
}

.ibk-bk-proscons__item-text {
    flex: 1 1 auto;
    min-width: 0;
}

.ibk-bk-icon {
    display: block;
}

.child3-bookmaker-toc {
    margin: 0 0 1.25rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--c3-border);
    border-radius: 10px;
    background: #fff;
}

.child3-bookmaker-toc__title {
    margin: 0 0 0.45rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.child3-bookmaker-toc__list {
    margin: 0;
    padding-left: 1.15rem;
    font-size: 0.92rem;
    line-height: 1.45;
}

.child3-bookmaker-toc__list li + li {
    margin-top: 0.25rem;
}

.ibk-bk-faq {
    margin-top: 1.5rem;
    padding: 1rem 1.1rem 1.1rem;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
}

.ibk-bk-faq__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 0.85rem;
}

.ibk-bk-faq__head-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    flex: 0 0 auto;
}

.ibk-bk-faq__heading {
    margin: 0;
    font-size: 1.25rem;
    color: #1e3a8a;
}

.ibk-bk-faq__list {
    display: grid;
    gap: 0.55rem;
}

.ibk-bk-faq__item {
    border: 1px solid #dbeafe;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.ibk-bk-faq__q {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    color: #0f172a;
}

.ibk-bk-faq__q-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    margin-top: 0.05rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    flex: 0 0 auto;
}

.ibk-bk-faq__q-text {
    flex: 1 1 auto;
    min-width: 0;
}

.ibk-bk-faq__q::-webkit-details-marker {
    display: none;
}

.ibk-bk-faq__item[open] .ibk-bk-faq__q {
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.ibk-bk-faq__a {
    padding: 0.75rem 1rem 0.85rem;
    font-size: 0.95rem;
    line-height: 1.55;
}

.ibk-bk-faq__a p:first-child {
    margin-top: 0;
}

.ibk-bk-faq__a p:last-child {
    margin-bottom: 0;
}

.child3-single-bookmaker__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin: 0;
}

.child3-single-bookmaker__content {
    margin-top: 0.5rem;
    font-size: 1rem;
    line-height: 1.65;
}

.child3-home-mega-event-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: 0.75rem;
}

.child3-home-mega-event-head h2 {
    margin: 0;
    font-size: 1.35rem;
}

.child3-mega-event-archive-notice {
    margin-bottom: 1rem;
    border-left: 4px solid #94a3b8;
}

.child3-mega-event-more {
    margin: 1rem 0 0;
    text-align: center;
}

/* Hub shell 0.5 */
.child3-page-container > .child3-hub-intro-block,
.child3-page-container > .child3-hub-body,
.child3-page-container > .child3-hub-page-editor,
.child3-page-container > .child3-hub-footer-seo {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.child3-hub-header h1 {
    margin: 0 0 0.5rem;
}

.child3-hub-subtitle {
    margin: 0 0 0.25rem;
    line-height: 1.5;
}

.child3-hub-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 0 0 1.75rem;
}

.child3-page-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: var(--child3-content-max, 1240px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
}

.child3-hub-body--split {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 270px);
    grid-template-areas: 'hub-content hub-sidebar';
    gap: 1.5rem;
    align-items: start;
}

.child3-hub-content {
    grid-area: hub-content;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.child3-hub-sidebar {
    grid-area: hub-sidebar;
    min-width: 0;
    width: 100%;
    max-width: 270px;
    justify-self: end;
}

.child3-hub-sidebar-stack {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.child3-hub-sidebar-stack .fp-hub-sidebar-panel,
.child3-hub-sidebar-stack .fp-live-our-predictions {
    border: 1px solid var(--c3-border);
    border-radius: 16px;
    padding: 14px 14px 12px;
    background: var(--c3-surface);
    margin: 0 0 0.75rem;
    box-shadow: 0 12px 32px color-mix(in srgb, var(--c3-info) 7%, transparent);
}

.child3-hub-sidebar-nav .fp-hub-sidebar-link.is-active {
    background: var(--c3-accent-light-soft);
    border-color: var(--c3-accent-light-border);
    color: var(--c3-info);
}

.child3-hub-predictions-conversion.child3-card {
    padding: 14px 14px 12px;
}

.child3-hub-body--split .fp-live-matches-wrap,
.child3-hub-body--split .fp-predictions-conversion-wrap {
    margin-top: 0;
}

.child3-hub-wp-widget {
    margin: 0 0 0.75rem;
}

.child3-hub-wp-widget-title {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    line-height: 1.3;
}

/* Контентные хабы: WP-виджеты в своей grid-колонке (не flex Reboot). */
.child3-hub-body--wp-widgets .child3-hub-content {
    min-width: 0;
}

.child3-hub-body--wp-widgets .child3-hub-content .child3-home-grid,
.child3-hub-body--wp-widgets .child3-hub-content .ibk-bonus-cards,
.child3-hub-body--wp-widgets .child3-hub-content .child3-hub-bookmakers-table {
    max-width: 100%;
    min-width: 0;
}

.child3-hub-sidebar--wp .child3-hub-wp-widgets > .widget {
    border: 1px solid var(--c3-border);
    border-radius: var(--c3-radius-md);
    padding: 14px 14px 12px;
    background: var(--c3-surface);
    margin: 0 0 0.75rem;
    box-shadow: var(--c3-shadow);
}

.child3-hub-sidebar--wp .widget-title {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    line-height: 1.3;
}

@media (max-width: 960px) {
    .child3-hub-body--split {
        grid-template-columns: 1fr;
        grid-template-areas:
            'hub-content'
            'hub-sidebar';
    }

    .child3-hub-sidebar {
        max-width: none;
        justify-self: stretch;
    }

    .child3-single-body.child3-hub-body--split {
        grid-template-columns: 1fr;
        grid-template-areas:
            'hub-content'
            'hub-sidebar';
    }

    .child3-single-body .child3-hub-sidebar {
        max-width: none;
        justify-self: stretch;
        position: static;
    }
}

.child3-hub-intro-block {
    margin: 0 0 1.75rem;
    padding-bottom: 0.25rem;
}

.child3-hub-intro-title {
    margin: 0 0 0.65rem;
    font-size: 1.35rem;
    line-height: 1.3;
}

.child3-hub-intro {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--c3-text-muted);
}

.child3-hub-intro p:last-child {
    margin-bottom: 0;
}

.child3-hub-body > .child3-hub-intro-block {
    margin: 0 0 1.25rem;
}

.child3-hub-page-editor,
.child3-hub-footer-seo {
    margin-top: 1rem;
}

/* Верхняя навигация хабов — как нижняя строка ссылок: по центру, без pill-кнопок */
.child3-hub-body > .child3-hub-nav--primary {
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid var(--c3-border);
    padding-bottom: 1.1rem;
    margin: 0 0 1.25rem;
    gap: 0.35rem 1.25rem;
}

.child3-hub-nav--primary .child3-hub-nav__link {
    display: inline-block;
    padding: 0.2rem 0;
    text-decoration: none;
    color: var(--c3-accent-light);
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    border: none;
    background: none;
    border-radius: 0;
}

.child3-hub-nav--primary .child3-hub-nav__link:hover {
    text-decoration: underline;
    color: var(--c3-accent-light-hover);
}

.child3-hub-nav--primary .child3-hub-nav__current {
    color: var(--c3-brand);
    font-weight: 700;
    text-decoration: none;
    box-shadow: inset 0 -3px 0 var(--c3-brand);
}

.child3-hub-nav--secondary {
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid var(--c3-border);
    padding-bottom: 1.1rem;
    margin-bottom: 1rem;
}

@media (min-width: 901px) {
    .child3-hub-intro-block {
        margin-bottom: 2.25rem;
    }

    .child3-hub-body > .child3-hub-nav--primary {
        margin-bottom: 1.5rem;
        padding-bottom: 1.25rem;
    }

    .child3-hub-content {
        gap: 1.75rem;
    }
}

.child3-hub-page-editor,
.child3-hub-footer-seo {
    margin-top: 0.5rem;
}

/* Live-хаб: переключатель лиг + панели шорткода */
.child3-live-hub-toolbar {
    justify-content: center;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0.75rem;
    gap: 1rem;
}

.child3-live-filter-btn {
    border: none;
    background: none;
    padding: 0.2rem 0;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
    color: var(--c3-accent-light);
    text-decoration: none;
}

.child3-live-filter-btn:hover {
    text-decoration: underline;
    color: var(--c3-accent-light-hover);
}

.child3-live-filter-btn.is-active {
    color: var(--c3-brand);
    font-weight: 700;
    box-shadow: inset 0 -3px 0 var(--c3-brand);
}

.child3-live-hub-toolbar a.child3-live-filter-btn {
    text-decoration: none;
}

/* Плагин прогнозов внутри хабов — те же токены (Customizer). */
.child3-hub-main,
.child3-home-grid,
.page-template-page-home .site-main {
    --fp-border: var(--c3-border);
    --fp-text: var(--c3-text);
    --fp-muted: var(--c3-text-muted);
}

/* О нас */
.child3-about-section {
    margin-top: 2rem;
}

.child3-about-section__title {
    margin: 0 0 1rem;
    font-size: 1.35rem;
}

.child3-about-muted {
    color: var(--c3-text-muted);
}

.child3-team-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.child3-team-card {
    padding: 1rem 1.1rem;
    border: 1px solid var(--c3-border);
    border-radius: 8px;
    background: var(--c3-surface, #fff);
}

.child3-team-card__avatar {
    margin-bottom: 0.75rem;
}

.child3-team-card__avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.child3-team-card__name {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
}

.child3-team-card__role {
    margin: 0 0 0.5rem;
    font-size: 0.88rem;
    color: var(--c3-text-muted);
}

.child3-team-card__bio {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
}

.child3-team-card__bio p {
    margin: 0 0 0.5rem;
}

/* FAQ аккордеон */
.child3-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.child3-faq-item {
    border: 1px solid var(--c3-border);
    border-radius: 8px;
    background: var(--c3-surface, #fff);
    padding: 0.35rem 0.9rem;
}

.child3-faq-item__summary {
    cursor: pointer;
    font-weight: 600;
    padding: 0.55rem 0;
    list-style: none;
}

.child3-faq-item__summary::-webkit-details-marker {
    display: none;
}

.child3-faq-item__body {
    padding: 0 0 0.85rem;
    font-size: 0.95rem;
    line-height: 1.55;
}

.child3-faq-item__body p:first-child {
    margin-top: 0;
}

.child3-faq-intro {
    margin-bottom: 0.5rem;
}

/* Hero + wide container (100slots-style, без 100vw-хака) */
body.child3-wide-layout .child3-page-hero,
body.child3-hub-surface .child3-page-hero {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    margin: 0 0 1.5rem;
    border-radius: 0;
    overflow: hidden;
    color: #fff;
    box-sizing: border-box;
}

.child3-page-hero__inner {
    width: 100%;
    max-width: var(--child3-content-max, 1240px);
    margin-left: auto;
    margin-right: auto;
    padding: 1.75rem 1.5rem;
    box-sizing: border-box;
}

.child3-hub-header {
    min-height: var(--c3-hub-hero-h, 260px);
    background: linear-gradient(125deg, var(--c3-hub-hero-solid, var(--c3-hero-bg-from, #061827)), var(--c3-hero-bg-to, #0e3a5b));
}

.child3-hub-header.has-image {
    background-color: var(--c3-hub-hero-solid, var(--c3-hero-bg-from, #061827));
    background-image:
        linear-gradient(rgba(9, 20, 35, var(--c3-hub-hero-overlay, 0.38)), rgba(9, 20, 35, var(--c3-hub-hero-overlay, 0.38))),
        var(--c3-hub-hero-img);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.child3-hub-header.is-parallax.has-image {
    background-attachment: fixed;
}

.child3-hub-header__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .65rem;
    min-height: var(--c3-hub-hero-h, 260px);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

body.child3-wide-layout .child3-hub-header.child3-page-hero h1,
body.child3-wide-layout .child3-hub-header.has-color h1,
body.child3-wide-layout .child3-hub-header.has-image h1,
body.child3-hub-surface .child3-hub-header.child3-page-hero h1,
body.child3-hub-surface .child3-hub-header.has-color h1,
body.child3-hub-surface .child3-hub-header.has-image h1,
body.child3-wide-layout .child3-hub-header.child3-page-hero .child3-hub-subtitle,
body.child3-wide-layout .child3-hub-header.has-color .child3-hub-subtitle,
body.child3-wide-layout .child3-hub-header.has-image .child3-hub-subtitle,
body.child3-hub-surface .child3-hub-header.child3-page-hero .child3-hub-subtitle,
body.child3-hub-surface .child3-hub-header.has-color .child3-hub-subtitle,
body.child3-hub-surface .child3-hub-header.has-image .child3-hub-subtitle {
    color: var(--c3-hero-text, #fff);
    max-width: 52rem;
}

body.child3-wide-layout .child3-hub-header.child3-page-hero .child3-hub-subtitle,
body.child3-wide-layout .child3-hub-header.has-color .child3-hub-subtitle,
body.child3-wide-layout .child3-hub-header.has-image .child3-hub-subtitle,
body.child3-hub-surface .child3-hub-header.child3-page-hero .child3-hub-subtitle,
body.child3-hub-surface .child3-hub-header.has-color .child3-hub-subtitle,
body.child3-hub-surface .child3-hub-header.has-image .child3-hub-subtitle {
    color: color-mix(in srgb, var(--c3-hero-text, #fff) 88%, transparent);
}

.child3-single-hero {
    --bg: var(--c3-single-header-bg, #173a61);
    min-height: var(--c3-single-header-h, 240px);
    background: var(--bg);
}

.child3-single-hero.has-image {
    background-image: linear-gradient(rgba(8, 20, 34, .45), rgba(8, 20, 34, .45)), var(--c3-single-header-img);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.child3-single-hero__inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: .45rem;
    min-height: var(--c3-single-header-h, 240px);
}

.child3-single-hero--prediction {
    min-height: var(--c3-single-header-h, 200px);
}

.child3-single-hero--prediction .child3-single-hero__inner {
    min-height: var(--c3-single-header-h, 200px);
    justify-content: center;
}

.child3-single-hero,
.child3-single-hero__inner {
    color: var(--c3-hero-text, var(--c3-single-header-text, #fff));
}

.child3-single-hero__title {
    margin: .35rem 0 0;
    color: var(--c3-hero-text, var(--c3-single-header-text, #fff)) !important;
    -webkit-text-fill-color: var(--c3-hero-text, var(--c3-single-header-text, #fff));
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.2;
    font-weight: 700;
    max-width: 52rem;
}

.child3-single-hero--prediction .child3-single-hero__title {
    font-size: clamp(1.25rem, 1.8vw, 1.75rem);
}

.child3-single-hero .child3-single-breadcrumbs,
.child3-single-hero .breadcrumb {
    font-size: .82rem;
    line-height: 1.35;
}

.child3-single-hero .child3-single-breadcrumbs,
.child3-single-hero .breadcrumb,
.child3-single-hero .breadcrumb a,
.child3-single-hero .breadcrumb span {
    color: color-mix(in srgb, var(--c3-single-header-text, #fff) 88%, transparent);
}

.child3-today-empty-state {
    margin: 0 0 .75rem;
    padding: .8rem 1rem;
    border: 1px solid var(--c3-border);
    border-left: 4px solid var(--c3-accent-light);
    border-radius: 8px;
    background: #f8fbff;
}

.child3-about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.child3-about-bk-grid,
.child3-subhub-grid {
    grid-template-columns: repeat(var(--child3-subhub-cols, 3), minmax(0, 1fr));
}

@media (min-width: 1100px) {
    .child3-about-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.child3-about-steps,
.child3-about-list {
    margin: 0;
    padding-left: 1.2rem;
    line-height: 1.7;
}

.child3-about-disclaimer {
    border-left: 4px solid var(--c3-brand);
}

/* Бонусы/букмекеры: 3–4 карточки в ряд на широком экране (не minmax 18rem от плагина). */
body.child3-hub-surface .child3-hub-content .ibk-bonus-cards,
body.child3-hub-surface .child3-hub-content .ibo-bonus-grid {
    gap: 1rem;
}

body.child3-hub-surface .ibk-bonus-cards__title,
body.child3-hub-surface .ibk-bookmakers-table-heading {
    margin: 0 0 1rem;
    font-size: 1.45rem;
    line-height: 1.2;
    color: #14233a;
    letter-spacing: -0.02em;
}

body.child3-hub-surface .ibk-bonus-card.ibo-card {
    border: 1px solid color-mix(in srgb, var(--c3-border) 78%, transparent);
    border-radius: 18px;
    box-shadow: 0 18px 42px color-mix(in srgb, var(--c3-info) 10%, transparent);
    overflow: hidden;
    background: #fff;
}

body.child3-hub-surface .ibk-bonus-card.ibo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 54px color-mix(in srgb, var(--c3-info) 14%, transparent);
}

body.child3-hub-surface .ibo-card__hero {
    min-height: 138px;
}

body.child3-hub-surface .ibo-card__body {
    padding: 1rem;
}

body.child3-hub-surface .ibo-card__title {
    font-size: 1rem;
    line-height: 1.3;
}

body.child3-hub-surface .ibo-card__cta {
    border-radius: 10px;
    background: linear-gradient(180deg, #2f8cff 0%, #195de0 100%);
    box-shadow: 0 10px 22px color-mix(in srgb, #195de0 26%, transparent);
}

body.child3-hub-surface .ibk-bookmakers-table-wrap {
    border: 1px solid var(--c3-border);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 44px color-mix(in srgb, var(--c3-info) 9%, transparent);
}

body.child3-hub-surface .ibk-bookmakers-table {
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.95rem;
}

body.child3-hub-surface .ibk-bookmakers-table thead th {
    background: #f1f6fb;
    color: #17314e;
    font-weight: 800;
}

body.child3-hub-surface .ibk-bookmakers-table th,
body.child3-hub-surface .ibk-bookmakers-table td {
    padding: 0.85rem 1rem;
    border-color: var(--c3-border);
}

body.child3-hub-surface .ibk-bookmakers-table tbody tr:hover td,
body.child3-hub-surface .ibk-bookmakers-table tbody tr:hover th {
    background: var(--c3-info-soft);
}

body.child3-hub-surface .child3-hub-content .ibk-bonus-cards--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.child3-hub-surface .child3-hub-content .ibk-bonus-cards--cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.child3-hub-surface .child3-hub-body--split .child3-hub-content .ibk-bonus-cards--cols-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1280px) {
    body.child3-hub-surface .child3-hub-content .ibk-bonus-cards--cols-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    body.child3-hub-surface .child3-hub-content .ibk-bonus-cards--cols-3,
    body.child3-hub-surface .child3-hub-content .ibk-bonus-cards--cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body.child3-hub-surface .child3-hub-content .ibk-bonus-cards--cols-3,
    body.child3-hub-surface .child3-hub-content .ibk-bonus-cards--cols-4 {
        grid-template-columns: 1fr;
    }
}

.child3-faq-tools {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    margin: 0 0 1rem;
}

.child3-faq-search {
    width: 100%;
    border: 1px solid var(--c3-border);
    border-radius: 8px;
    padding: .7rem .85rem;
}

.child3-faq-cats button {
    border: 1px solid var(--c3-border);
    border-radius: 18px;
    background: #fff;
    padding: .25rem .7rem;
    cursor: pointer;
}

.child3-faq-cats button.is-active {
    background: var(--c3-accent-light-soft, #e9f4ff);
    border-color: var(--c3-accent-light-border, #acd6fb);
    color: var(--c3-info);
}

.child3-subhub-intro .entry-content p:last-child {
    margin-bottom: 0;
}

.child3-promo-banner {
    padding: .6rem;
    overflow: hidden;
}

.child3-promo-banner__link,
.child3-promo-banner__img {
    display: block;
    width: 100%;
}

.child3-promo-banner__img {
    border-radius: 10px;
    object-fit: cover;
    max-height: 360px;
}

body.child3-hub-surface .fp-live-matches-list {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
    body.child3-hub-surface .fp-live-matches-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .child3-about-grid,
    .child3-about-bk-grid,
    .child3-subhub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .child3-hub-header.is-parallax.has-image {
        background-attachment: scroll;
    }
}

@media (max-width: 680px) {
    .child3-about-grid,
    .child3-about-bk-grid,
    .child3-subhub-grid {
        grid-template-columns: 1fr;
    }
    .child3-single-hero__inner {
        padding: .9rem 1rem 1rem;
    }
}
