/*
Theme Name: KUBET Blue Orange
Theme URI: https://example.com/
Author: OpenAI
Description: Layout KUBET Blue Orange thế hệ mới, đầy đủ trang chủ, danh mục, bài viết, sidebar và footer widget.
Version: 2.0.0
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: kubet
*/

/* =========================================================
   KUBET V2 — OVERRIDE LAYER
   assets/css/main.css is loaded first. This file loads after it.
   ========================================================= */

:root {
    --blue: #0877cf;
    --blue-soft: #eaf5ff;
    --blue-dark: #064d8c;
    --blue-deep: #032e58;
    --navy: #031f3b;
    --orange: #ff9f1a;
    --orange-dark: #e77d00;
    --orange-soft: #fff3df;
    --text: #12233b;
    --muted: #63738a;
    --line: #dbe7f2;
    --bg: #f3f7fb;
    --white: #fff;
    --shadow: 0 18px 48px rgba(2, 55, 103, .12);
    --shadow-sm: 0 10px 28px rgba(2, 55, 103, .09);
    --radius: 18px;
    --radius-sm: 12px;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
}

body {
    max-width: 100%;
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.kubet-menu-open {
    overflow: hidden;
}

* {
    box-sizing: border-box;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
    max-width: 100%;
}

img {
    display: block;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(1220px, calc(100% - 40px));
    margin-inline: auto;
}

.section {
    padding: 76px 0;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.section-kicker::before {
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: var(--orange);
    content: "";
}

.section-head,
.section-head--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.section-head h2,
.section-title,
.why h2 {
    margin: 0;
    color: var(--blue-deep);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -.035em;
    text-transform: none;
}

.section-head h2::after,
.section-title::after {
    display: none;
}

.section-head > a {
    flex: 0 0 auto;
    padding: 10px 15px;
    border: 1px solid rgba(8, 119, 207, .28);
    border-radius: 999px;
    color: var(--blue-dark);
    background: var(--white);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    transition: .2s ease;
}

.section-head > a:hover {
    border-color: var(--blue);
    color: var(--white);
    background: var(--blue);
}

.section-head--center {
    justify-content: center;
    text-align: center;
}

/* Header */
.kubet-topbar {
    color: #dbefff;
    background: var(--navy);
    font-size: 12px;
}

.kubet-topbar__inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.kubet-topbar__inner > div {
    display: flex;
    gap: 20px;
}

.kubet-topbar a {
    color: #fff;
    font-weight: 700;
}

.site-header {
    height: auto;
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid rgba(6, 77, 140, .08);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 8px 28px rgba(3, 46, 88, .07);
    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 76px;
    height: auto;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
}

.brand,
.brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.brand img,
.brand .custom-logo,
.custom-logo {
    width: 132px;
    max-height: 54px;
    object-fit: contain;
}

.main-nav {
    min-width: 0;
    margin-left: 0;
}

.main-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: clamp(14px, 1.65vw, 25px);
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}

.main-menu > li {
    min-width: 0;
}

.main-menu a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 76px;
    padding: 0;
    color: #1c3350;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.main-menu a::after {
    position: absolute;
    right: 0;
    bottom: 18px;
    left: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--orange);
    content: "";
    transform: scaleX(0);
    transition: transform .2s ease;
}

.main-menu a:hover,
.main-menu .current-menu-item > a,
.main-menu .current-menu-parent > a {
    color: var(--blue-dark);
}

.main-menu a:hover::after,
.main-menu .current-menu-item > a::after,
.main-menu .current-menu-parent > a::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    gap: 9px;
}

.btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-orange {
    color: #fff;
    background: linear-gradient(135deg, #ffad2f, var(--orange-dark));
    box-shadow: 0 10px 22px rgba(231, 125, 0, .24);
}

.btn-orange:hover {
    background: linear-gradient(135deg, var(--orange), #d86e00);
}

.btn-outline {
    border-color: rgba(8, 119, 207, .32);
    color: var(--blue-dark);
    background: #fff;
}

.btn-ghost {
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(6px);
}

.btn-large {
    min-height: 50px;
    padding-inline: 26px;
}

.nav-toggle {
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    margin: 0;
    border-radius: 999px;
    background: var(--blue-deep);
}

/* Hero */
.hero,
.hero-v2 {
    min-height: 570px;
    overflow: hidden;
    position: relative;
    color: #fff;
    background:
        radial-gradient(circle at 76% 20%, rgba(26, 154, 255, .45), transparent 32%),
        linear-gradient(122deg, #03274b 0%, #054c8b 48%, #0877cf 100%);
}

.hero::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 42px 42px;
    content: "";
    mask-image: linear-gradient(to right, #000, transparent 90%);
}

.hero::after {
    width: 540px;
    height: 540px;
    position: absolute;
    right: -260px;
    bottom: -320px;
    left: auto;
    border: 80px solid rgba(255, 159, 26, .16);
    border-radius: 50%;
    background: transparent;
    content: "";
    opacity: 1;
}

.hero-v2__inner {
    min-height: 570px;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 64px;
}

.hero-v2__copy {
    min-width: 0;
    position: relative;
    z-index: 3;
    padding: 72px 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: #d8efff;
    background: rgba(255, 255, 255, .07);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

.hero-v2 h1,
.hero h1 {
    max-width: 650px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(40px, 5vw, 66px);
    font-weight: 950;
    line-height: 1.02;
    letter-spacing: -.055em;
}

.hero-v2 h1 span,
.hero h1 span {
    color: var(--orange);
}

.hero-v2 p,
.hero p {
    max-width: 620px;
    margin: 0;
    color: #d7eaff;
    font-size: 17px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin-top: 32px;
    color: #dceeff;
    font-size: 12px;
}

.hero-proof span {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.hero-proof b {
    color: var(--orange);
    font-size: 18px;
}

.hero-v2__art {
    min-width: 0;
    height: 460px;
    align-self: center;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.hero-v2__frame {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 34px 34px 110px 34px;
    background: rgba(255,255,255,.08);
    box-shadow: 0 34px 80px rgba(0, 24, 54, .34);
    transform: rotate(1.5deg);
}

.hero-v2__frame::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 28, 61, .48));
    content: "";
}

.hero-v2__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.06);
}

.hero-floating-card {
    min-width: 185px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    z-index: 4;
    padding: 13px 16px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 15px;
    color: var(--text);
    background: rgba(255, 255, 255, .93);
    box-shadow: 0 18px 44px rgba(0, 28, 61, .22);
    backdrop-filter: blur(8px);
}

.hero-floating-card > span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
}

.hero-floating-card strong,
.hero-floating-card small {
    display: block;
}

.hero-floating-card strong {
    color: var(--blue-deep);
    font-size: 13px;
}

.hero-floating-card small {
    color: var(--muted);
    font-size: 11px;
}

.hero-floating-card--top {
    top: 34px;
    left: -34px;
}

.hero-floating-card--bottom {
    right: -28px;
    bottom: 34px;
}

/* Short SEO section */
.home-seo-brief {
    position: relative;
    z-index: 5;
    margin-top: -32px;
}

.home-seo-brief__inner {
    min-width: 0;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 26px 30px;
    border: 1px solid #d6e7f6;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
}

.home-seo-brief__mark {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(145deg, var(--blue), var(--blue-deep));
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -.08em;
}

.home-seo-brief h2 {
    margin: 0 0 7px;
    color: var(--blue-deep);
    font-size: 19px;
    font-weight: 900;
    line-height: 1.3;
}

.home-seo-brief p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #42546b;
    font-size: 14px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
}

.home-seo-brief__link {
    color: var(--blue-dark);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

/* Benefits */
.benefits-wrap,
.benefits-v2 {
    padding: 38px 0 18px;
    background: #fff;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: none;
}

.benefit {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px;
    border-right: 1px solid var(--line);
}

.benefit:last-child {
    border-right: 0;
}

.benefit-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 13px;
    color: var(--blue-dark);
    background: var(--blue-soft);
    font-size: 13px;
    font-weight: 950;
}

.benefit strong,
.benefit small {
    display: block;
}

.benefit strong {
    color: var(--blue-deep);
    font-size: 14px;
}

.benefit small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}

/* Games */
.games,
.games-v2 {
    background: linear-gradient(180deg, #fff, #f3f8fd);
}

.game-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, 220px);
    gap: 18px;
}

.game-card-v2 {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    position: relative;
    border-radius: 18px;
    background: var(--blue-deep);
    box-shadow: var(--shadow-sm);
    isolation: isolate;
}

.game-card-v2--featured {
    grid-row: span 2;
    grid-column: span 2;
}

.game-card-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.game-card-v2:hover img {
    transform: scale(1.06);
}

.game-card-v2__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 35%, rgba(1, 24, 49, .9));
}

.game-card-v2__number {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    color: rgba(255,255,255,.9);
    font-size: 12px;
    font-weight: 900;
}

.game-card-v2__content {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 2;
    color: #fff;
}

.game-card-v2__content strong,
.game-card-v2__content small {
    display: block;
}

.game-card-v2__content strong {
    font-size: 20px;
    font-weight: 900;
}

.game-card-v2--featured .game-card-v2__content strong {
    font-size: 31px;
}

.game-card-v2__content small {
    margin-top: 3px;
    color: #dceeff;
    font-size: 12px;
}

/* Promotions */
.promo-zone {
    background: #fff;
}

.promo-zone__grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 42px;
    align-items: center;
}

.promo-zone__visual {
    min-width: 0;
    min-height: 420px;
    overflow: hidden;
    position: relative;
    border-radius: 28px 80px 28px 28px;
    background: var(--blue-deep);
    box-shadow: var(--shadow);
}

.promo-zone__visual img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
}

.promo-zone__badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 9px 13px;
    border-radius: 999px;
    color: #fff;
    background: var(--orange);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.promo-zone__content h2 {
    margin: 0 0 17px;
    color: var(--blue-deep);
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 950;
    line-height: 1.12;
    letter-spacing: -.04em;
}

.promo-zone__content > p {
    margin: 0 0 24px;
    color: var(--muted);
}

.promo-mini-grid {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
}

.promo-mini-grid article {
    min-width: 0;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
}

.promo-mini-grid article > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    grid-row: span 2;
    border-radius: 12px;
    color: var(--blue-dark);
    background: var(--blue-soft);
    font-weight: 950;
}

.promo-mini-grid strong,
.promo-mini-grid small {
    min-width: 0;
    display: block;
}

.promo-mini-grid strong {
    color: var(--blue-deep);
    font-size: 14px;
}

.promo-mini-grid small {
    color: var(--muted);
    font-size: 12px;
}

/* Quick start */
.quick-start {
    color: #fff;
    background:
        radial-gradient(circle at 80% 20%, rgba(8, 119, 207, .46), transparent 30%),
        linear-gradient(135deg, var(--navy), #064b88);
}

.quick-start .section-kicker {
    color: #ffd28c;
}

.quick-start .section-head h2 {
    color: #fff;
}

.quick-start__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.quick-start__grid article {
    min-width: 0;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    padding: 25px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(9px);
}

.quick-start__grid article > span {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: var(--navy);
    background: var(--orange);
    font-size: 18px;
    font-weight: 950;
}

.quick-start__grid h3 {
    margin: 2px 0 6px;
    font-size: 18px;
}

.quick-start__grid p {
    margin: 0;
    color: #d8ebff;
    font-size: 13px;
}

/* Overview */
.overview,
.overview-v2 {
    background: var(--bg);
}

.overview-grid-v2 {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    gap: 22px;
}

.card {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.why-v2 {
    padding: 34px;
}

.why-v2 ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.why-v2 li {
    min-width: 0;
    position: relative;
    padding: 15px 16px 15px 46px;
    border: 1px solid var(--line);
    border-radius: 13px;
    color: #40536a;
    background: #fbfdff;
    font-size: 13px;
}

.why-v2 li::before {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    position: absolute;
    top: 14px;
    left: 14px;
    border-radius: 50%;
    color: #fff;
    background: var(--blue);
    content: "✓";
    font-size: 12px;
    font-weight: 900;
}

.stats-v2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
}

.stats-v2 div {
    min-width: 0;
    min-height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.stats-v2 div:nth-child(2n) {
    border-right: 0;
}

.stats-v2 div:nth-child(n+3) {
    border-bottom: 0;
}

.stats-v2 b {
    color: var(--blue);
    font-size: 34px;
    font-weight: 950;
}

.stats-v2 span {
    color: var(--muted);
    font-size: 12px;
}

/* Post cards */
.latest-posts-home {
    background: #fff;
}

.post-grid,
.post-grid--home,
.post-grid--archive {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.post-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.post-card-media {
    min-height: 215px;
    display: block;
    overflow: hidden;
    background: var(--blue-deep);
}

.post-card-media img,
.post-card .post-placeholder {
    width: 100%;
    height: 215px;
    object-fit: cover;
    transition: transform .35s ease;
}

.post-card:hover .post-card-media img {
    transform: scale(1.04);
}

.post-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--blue-deep), var(--blue));
    font-size: 42px;
    font-weight: 950;
    letter-spacing: -.08em;
}

.post-placeholder span {
    color: #66c4ff;
}

.post-placeholder b {
    color: var(--orange);
}

.post-card-body {
    min-width: 0;
    padding: 20px;
}

.post-card-top,
.post-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 11px;
}

.post-category-pill {
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--blue-dark);
    background: var(--blue-soft);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.post-card-title {
    margin: 13px 0 9px;
    color: var(--blue-deep);
    font-size: 19px;
    line-height: 1.38;
}

.post-card-body > p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 17px;
    color: var(--muted);
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.post-card-footer {
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.post-card-footer a {
    color: var(--blue-dark);
    font-weight: 900;
}

/* Detailed SEO */
.kubet-seo-section {
    background: linear-gradient(180deg, #f4f8fc, #fff);
}

.kubet-seo-intro {
    margin: 0 0 22px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: #40536a;
}

.kubet-seo-grid {
    min-width: 0;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) minmax(270px, 330px);
    gap: 20px;
    align-items: start;
}

.kubet-seo-tabs {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.kubet-seo-tabs button {
    width: 100%;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 15px;
    border: 0;
    border-bottom: 1px solid var(--line);
    color: var(--blue-deep);
    background: #fff;
    text-align: left;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.kubet-seo-tabs button:last-child {
    border-bottom: 0;
}

.kubet-seo-tabs button > span {
    color: var(--orange-dark);
    font-size: 10px;
}

.kubet-seo-tabs button.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--blue-deep));
}

.kubet-seo-tabs button.is-active > span {
    color: #ffd492;
}

.kubet-seo-panels {
    min-width: 0;
    min-height: 330px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.kubet-seo-panel {
    display: none;
    color: #40536a;
    font-size: 14px;
}

.kubet-seo-panel.is-active {
    display: block;
}

.kubet-seo-panel h3 {
    margin: 0 0 16px;
    color: var(--blue-deep);
    font-size: 25px;
}

.kubet-seo-faq {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.kubet-seo-faq > h3 {
    margin: 0;
    padding: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--blue-deep));
    font-size: 15px;
}

.kubet-seo-faq details {
    border-bottom: 1px solid var(--line);
}

.kubet-seo-faq details:last-child {
    border-bottom: 0;
}

.kubet-seo-faq summary {
    position: relative;
    padding: 15px 42px 15px 16px;
    color: var(--blue-deep);
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

.kubet-seo-faq summary::-webkit-details-marker {
    display: none;
}

.kubet-seo-faq summary::after {
    position: absolute;
    top: 50%;
    right: 16px;
    color: var(--orange);
    content: "+";
    font-size: 20px;
    transform: translateY(-50%);
}

.kubet-seo-faq details[open] summary::after {
    content: "−";
}

.kubet-seo-faq details > div {
    padding: 0 16px 15px;
    color: var(--muted);
    font-size: 13px;
}

/* Footer */
.join-cta,
.join-cta-v2 {
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 80% 30%, rgba(255,159,26,.25), transparent 25%),
        linear-gradient(115deg, #064a86, #0877cf);
}

.join-inner {
    min-height: 185px;
    height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: center;
    gap: 34px;
}

.join-inner > div > span {
    color: #ffd18a;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

.join-inner h2 {
    margin: 6px 0 4px;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15;
}

.join-inner p {
    margin: 0 0 14px;
    color: #dceeff;
}

.join-inner img {
    width: 100%;
    height: 185px;
    object-fit: cover;
    object-position: center;
    align-self: stretch;
}

.footer-trust-strip {
    color: #d9ebfb;
    background: #042b51;
}

.footer-trust-strip .container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255,255,255,.08);
}

.footer-trust-strip span {
    padding: 15px 18px;
    background: #042b51;
    font-size: 11px;
    text-align: center;
}

.footer-trust-strip b {
    margin-right: 5px;
    color: var(--orange);
}

.site-footer,
.site-footer-v2 {
    padding: 48px 0 15px;
    color: #fff;
    background: linear-gradient(135deg, #031f3b, #02172d);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
    gap: 34px;
}

.footer-brand,
.footer-widget-column {
    min-width: 0;
}

.footer-brand img {
    width: 132px;
    margin-bottom: 14px;
}

.footer-grid h3,
.footer-widget-column .widget-title {
    margin: 0 0 14px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.footer-grid a,
.footer-grid p {
    display: block;
    margin: 7px 0;
    color: #bcd2e7;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.footer-grid a:hover {
    color: var(--orange);
}

.socials {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.socials a {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    margin: 0;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.06);
}

.copyright {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.11);
    color: #8faac2;
    font-size: 11px;
    text-align: center;
}

/* Archive and category */
.archive-page,
.single-page,
.page-main-v2 {
    min-width: 0;
    background: var(--bg);
}

.archive-hero,
.archive-hero-v2 {
    padding: 48px 0 54px;
    color: #fff;
    background:
        radial-gradient(circle at 78% 20%, rgba(19,139,234,.46), transparent 30%),
        linear-gradient(125deg, var(--navy), var(--blue-dark));
}

.kubet-breadcrumb {
    min-width: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.kubet-breadcrumb a {
    color: #fff;
    font-weight: 700;
}

.single-article .kubet-breadcrumb,
.page-content-card .kubet-breadcrumb {
    margin-bottom: 22px;
    color: var(--muted);
}

.single-article .kubet-breadcrumb a,
.page-content-card .kubet-breadcrumb a {
    color: var(--blue-dark);
}

.archive-hero-inner {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr);
    gap: 42px;
    align-items: center;
}

.archive-hero-inner > * {
    min-width: 0;
}

.archive-kicker {
    display: inline-flex;
    color: #ffd08a;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.archive-hero h1 {
    margin: 8px 0 14px;
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 950;
    line-height: 1.08;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
}

.archive-hero p,
.archive-intro {
    max-width: 760px;
    margin: 0;
    color: #d8eaff;
}

.archive-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.archive-meta span {
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.archive-visual {
    min-width: 0;
    min-height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 28px;
    background: rgba(255,255,255,.07);
    box-shadow: inset 0 1px rgba(255,255,255,.1);
    font-size: 56px;
    font-weight: 950;
    letter-spacing: -.08em;
}

.archive-visual span {
    color: #64c6ff;
}

.archive-visual b {
    color: var(--orange);
}

.archive-visual small {
    width: 100%;
    color: #d8eaff;
    font-size: 11px;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
}

.archive-description-section {
    margin-top: -24px;
    position: relative;
    z-index: 4;
}

.archive-description-card {
    padding: 22px 25px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.archive-list-section {
    padding: 64px 0 78px;
}

.archive-content-layout,
.page-layout-v2 {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: start;
}

.archive-main-column,
.single-column,
.page-content-card {
    min-width: 0;
}

.category-featured-post {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.category-featured-post__media {
    min-width: 0;
    min-height: 335px;
    overflow: hidden;
    background: var(--blue-deep);
}

.category-featured-post__media img,
.category-featured-post__media .post-placeholder {
    width: 100%;
    height: 100%;
    min-height: 335px;
    object-fit: cover;
}

.category-featured-post__content {
    min-width: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
}

.category-featured-post__content h2 {
    margin: 14px 0 12px;
    color: var(--blue-deep);
    font-size: 27px;
    line-height: 1.28;
    overflow-wrap: anywhere;
}

.category-featured-post__content p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 14px;
}

.category-featured-post__content > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 15px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
}

.category-featured-post__content > div a {
    color: var(--blue-dark);
    font-weight: 900;
}

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

.pagination-wrap {
    margin-top: 30px;
}

.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.nav-links .page-numbers {
    min-width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--blue-dark);
    background: #fff;
    font-size: 12px;
    font-weight: 900;
}

.nav-links .page-numbers.current,
.nav-links .page-numbers:hover {
    color: #fff;
    background: var(--blue);
}

/* Sidebar */
.site-sidebar {
    min-width: 0;
    display: grid;
    gap: 18px;
    position: sticky;
    top: 98px;
}

.sidebar-widget,
.widget.sidebar-widget {
    min-width: 0;
    overflow: hidden;
    padding: 21px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget > h2,
.sidebar-widget > h3,
.sidebar-widget .widget-title {
    margin: 0 0 15px;
    color: var(--blue-deep);
    font-size: 17px;
    font-weight: 900;
}

.search-form {
    min-width: 0;
    display: flex;
    gap: 8px;
}

.search-form label {
    min-width: 0;
    flex: 1;
}

.search-field {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    outline: none;
}

.search-field:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(8,119,207,.1);
}

.search-form button {
    flex: 0 0 auto;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--orange);
    font-size: 12px;
    font-weight: 900;
}

.sidebar-posts {
    min-width: 0;
    display: grid;
    gap: 13px;
}

.sidebar-post {
    min-width: 0;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
}

.sidebar-post img,
.sidebar-placeholder {
    width: 76px;
    height: 62px;
    border-radius: 10px;
    object-fit: cover;
}

.sidebar-placeholder {
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--blue);
    font-size: 12px;
    font-weight: 900;
}

.sidebar-post span,
.sidebar-post b {
    min-width: 0;
}

.sidebar-post b {
    display: -webkit-box;
    overflow: hidden;
    color: #20364f;
    font-size: 13px;
    line-height: 1.38;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sidebar-post small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}

.sidebar-categories-widget ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-categories-widget li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    color: #40536a;
    font-size: 13px;
}

.sidebar-categories-widget li:last-child {
    border-bottom: 0;
}

.sidebar-categories-widget a {
    min-width: 0;
    overflow-wrap: anywhere;
}

.sidebar-cta {
    color: #fff;
    background:
        radial-gradient(circle at 80% 20%, rgba(255,159,26,.22), transparent 30%),
        linear-gradient(145deg, var(--blue-deep), var(--blue));
}

.sidebar-cta > span {
    color: #ffd08a;
    font-size: 11px;
    font-weight: 900;
}

.sidebar-cta > h2 {
    margin-top: 5px;
    color: #fff;
}

.sidebar-cta p {
    color: #dceeff;
    font-size: 13px;
}

/* Single post */
.single-page-v2 {
    padding: 48px 0 76px;
}

.single-layout {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: start;
}

.single-layout > * {
    min-width: 0;
}

.single-article {
    min-width: 0;
    overflow: hidden;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.single-header {
    min-width: 0;
}

.single-header h1 {
    margin: 14px 0 16px;
    color: var(--blue-deep);
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 950;
    line-height: 1.16;
    letter-spacing: -.04em;
    overflow-wrap: anywhere;
}

.single-meta {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: var(--muted);
    font-size: 12px;
}

.single-featured {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin: 28px 0 20px;
    border-radius: 16px;
    background: var(--blue-soft);
}

.single-featured img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover;
}

.single-share {
    min-width: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 13px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}

.single-share a {
    padding: 7px 10px;
    border-radius: 8px;
    color: var(--blue-dark);
    background: var(--blue-soft);
    font-weight: 900;
}

.single-content-body,
.entry-content {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
}

.single-content-body {
    padding-top: 24px;
    color: #30445b;
    font-size: 16px;
    line-height: 1.82;
}

.single-content-body > :first-child {
    margin-top: 0;
}

.entry-content h2,
.single-content-body h2 {
    margin: 34px 0 13px;
    color: var(--blue-deep);
    font-size: clamp(24px, 3vw, 31px);
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.entry-content h3,
.single-content-body h3 {
    margin: 27px 0 11px;
    color: var(--blue-deep);
    font-size: clamp(20px, 2.6vw, 25px);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.entry-content a,
.single-content-body a {
    color: var(--blue-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
    overflow-wrap: anywhere;
}

.entry-content blockquote,
.single-content-body blockquote {
    margin: 24px 0;
    padding: 17px 20px;
    border-left: 4px solid var(--orange);
    border-radius: 0 12px 12px 0;
    background: var(--orange-soft);
}

.entry-content pre,
.single-content-body pre {
    max-width: 100%;
    overflow: auto;
    padding: 16px;
    border-radius: 10px;
    background: #0d2238;
    color: #fff;
    white-space: pre;
}

.entry-content code,
.single-content-body code {
    overflow-wrap: anywhere;
}

/* Critical image/media overflow protection for posts and pages. */
.single-post .single-column,
.single-post .single-article,
.single-post .single-content-body,
.single-post .entry-content,
.page-main-v2 .content-card,
.page-main-v2 .entry-content {
    min-width: 0;
    max-width: 100%;
}

.single-post .entry-content figure,
.single-post .entry-content .wp-caption,
.single-post .entry-content .wp-block-image,
.single-post .entry-content .wp-block-gallery,
.single-post .entry-content .aligncenter,
.single-post .entry-content .alignleft,
.single-post .entry-content .alignright,
.single-post .entry-content .alignwide,
.single-post .entry-content .alignfull,
.page-main-v2 .entry-content figure,
.page-main-v2 .entry-content .wp-caption,
.page-main-v2 .entry-content .wp-block-image,
.page-main-v2 .entry-content .alignwide,
.page-main-v2 .entry-content .alignfull {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.single-post .entry-content img:not(.emoji):not(.wp-smiley),
.page-main-v2 .entry-content img:not(.emoji):not(.wp-smiley) {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain;
}

.single-post .entry-content figure > img,
.single-post .entry-content .wp-caption > img,
.single-post .entry-content .wp-block-image > img,
.page-main-v2 .entry-content figure > img,
.page-main-v2 .entry-content .wp-caption > img,
.page-main-v2 .entry-content .wp-block-image > img {
    display: block;
    margin-right: auto !important;
    margin-left: auto !important;
}

.single-post .entry-content iframe,
.single-post .entry-content video,
.single-post .entry-content embed,
.single-post .entry-content object,
.single-post .entry-content svg,
.page-main-v2 .entry-content iframe,
.page-main-v2 .entry-content video,
.page-main-v2 .entry-content embed,
.page-main-v2 .entry-content object,
.page-main-v2 .entry-content svg {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
}

.single-post .entry-content .wp-block-embed,
.single-post .entry-content .wp-block-video,
.single-post .entry-content .wp-block-cover,
.single-post .entry-content .wp-block-media-text,
.page-main-v2 .entry-content .wp-block-embed,
.page-main-v2 .entry-content .wp-block-video,
.page-main-v2 .entry-content .wp-block-cover,
.page-main-v2 .entry-content .wp-block-media-text {
    min-width: 0;
    max-width: 100%;
}

.single-post .entry-content .wp-block-gallery,
.page-main-v2 .entry-content .wp-block-gallery {
    grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
}

.single-post .entry-content table,
.page-main-v2 .entry-content table {
    width: 100% !important;
    max-width: 100%;
    display: block;
    overflow-x: auto;
    margin: 22px 0;
    border-collapse: collapse;
    -webkit-overflow-scrolling: touch;
}

.single-post .entry-content th,
.single-post .entry-content td,
.page-main-v2 .entry-content th,
.page-main-v2 .entry-content td {
    padding: 10px 12px;
    border: 1px solid var(--line);
    white-space: nowrap;
}

.single-post .entry-content th,
.page-main-v2 .entry-content th {
    color: #fff;
    background: var(--blue-dark);
}

.wp-caption-text,
figcaption {
    max-width: 100%;
    padding: 8px 8px 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    overflow-wrap: anywhere;
}

.single-tags {
    margin: 26px 0;
}

.single-tags a {
    display: inline-flex;
    margin: 4px;
    padding: 6px 9px;
    border-radius: 8px;
    color: var(--blue-dark);
    background: var(--blue-soft);
    font-size: 11px;
}

.author-box {
    min-width: 0;
    display: flex;
    gap: 17px;
    padding: 21px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #f8fbfe;
}

.author-box img {
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    border-radius: 50%;
}

.author-box > div {
    min-width: 0;
}

.author-box span {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
}

.author-box h3 {
    margin: 2px 0 4px;
    color: var(--blue-deep);
}

.author-box p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.post-navigation-custom {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0;
}

.post-navigation-custom > div {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
}

.post-navigation-custom > div:last-child {
    text-align: right;
}

.post-navigation-custom span {
    display: block;
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
}

.post-navigation-custom a {
    display: block;
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.related-posts {
    min-width: 0;
    margin-top: 32px;
}

.related-grid {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.related-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.related-thumb {
    min-height: 150px;
    display: block;
    overflow: hidden;
    background: var(--blue-deep);
}

.related-thumb img,
.related-thumb .post-placeholder {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-card > div {
    min-width: 0;
    padding: 14px;
}

.related-card span {
    color: var(--muted);
    font-size: 10px;
}

.related-card h3 {
    margin: 5px 0 0;
    color: var(--blue-deep);
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

/* Page */
.page-main-v2 {
    padding: 48px 0 76px;
}

.content-card,
.page-content-card {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.page-header-v2 h1 {
    margin: 0 0 26px;
    color: var(--blue-deep);
    font-size: clamp(32px, 4.5vw, 48px);
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.screen-reader-text {
    width: 1px;
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 1120px) {
    .header-inner {
        grid-template-columns: 130px minmax(0, 1fr) auto;
        gap: 16px;
    }

    .main-menu {
        gap: 13px;
    }

    .main-menu a {
        font-size: 11px;
    }

    .header-actions .btn {
        padding-inline: 14px;
    }

    .hero-v2__inner {
        gap: 38px;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .kubet-topbar {
        display: none;
    }

    .header-inner {
        min-height: 68px;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .brand img,
    .brand .custom-logo {
        width: 122px;
    }

    .nav-toggle {
        display: flex;
    }

    .header-actions {
        display: none;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 68px;
        right: 0;
        left: 0;
        padding: 10px 20px 20px;
        border-top: 1px solid var(--line);
        background: #fff;
        box-shadow: 0 22px 42px rgba(3, 46, 88, .16);
    }

    .main-nav.open {
        display: block;
    }

    .main-menu {
        display: block;
        white-space: normal;
    }

    .main-menu li {
        border-bottom: 1px solid var(--line);
    }

    .main-menu li:last-child {
        border-bottom: 0;
    }

    .main-menu a {
        min-height: 48px;
        font-size: 12px;
    }

    .main-menu a::after {
        display: none;
    }

    .hero-v2__inner {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 10px;
        padding-bottom: 64px;
    }

    .hero-v2__copy {
        padding: 58px 0 24px;
    }

    .hero-v2__art {
        width: min(720px, 100%);
        height: 365px;
        justify-self: center;
    }

    .hero-floating-card--top {
        left: 18px;
    }

    .hero-floating-card--bottom {
        right: 18px;
    }

    .home-seo-brief__inner {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .home-seo-brief__mark {
        width: 58px;
        height: 58px;
    }

    .home-seo-brief__link {
        grid-column: 2;
        justify-self: start;
    }

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

    .benefit:nth-child(2) {
        border-right: 0;
    }

    .benefit:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .promo-zone__grid,
    .overview-grid-v2,
    .archive-content-layout,
    .page-layout-v2,
    .single-layout {
        grid-template-columns: 1fr;
    }

    .promo-zone__visual {
        min-height: 380px;
    }

    .quick-start__grid {
        grid-template-columns: 1fr;
    }

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

    .kubet-seo-grid {
        grid-template-columns: 200px minmax(0, 1fr);
    }

    .kubet-seo-faq {
        grid-column: 1 / -1;
    }

    .archive-hero-inner {
        grid-template-columns: 1fr .55fr;
    }

    .site-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        position: static;
    }

    .sidebar-search-widget,
    .sidebar-cta {
        grid-column: 1 / -1;
    }

    .join-inner {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    .footer-trust-strip .container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 24px, 1220px);
    }

    .section {
        padding: 54px 0;
    }

    .section-head,
    .section-head--split {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 22px;
    }

    .hero,
    .hero-v2 {
        min-height: 0;
    }

    .hero-v2__inner {
        padding-bottom: 48px;
    }

    .hero-v2__copy {
        padding-top: 42px;
    }

    .hero-eyebrow {
        font-size: 9px;
    }

    .hero-v2 h1,
    .hero h1 {
        font-size: clamp(34px, 11vw, 48px);
    }

    .hero-v2 p,
    .hero p {
        font-size: 15px;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .hero-v2__art {
        height: 285px;
    }

    .hero-v2__frame {
        border-radius: 24px 24px 60px 24px;
    }

    .hero-floating-card {
        min-width: 0;
        max-width: 175px;
        padding: 10px;
    }

    .hero-floating-card > span {
        width: 34px;
        height: 34px;
    }

    .hero-floating-card--top {
        top: 18px;
        left: 10px;
    }

    .hero-floating-card--bottom {
        right: 10px;
        bottom: 18px;
    }

    .home-seo-brief {
        margin-top: -22px;
    }

    .home-seo-brief__inner {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .home-seo-brief__mark {
        width: 52px;
        height: 52px;
    }

    .home-seo-brief__link {
        grid-column: auto;
    }

    .benefits {
        grid-template-columns: 1fr;
    }

    .benefit,
    .benefit:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .benefit:last-child {
        border-bottom: 0;
    }

    .game-grid-v2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
    }

    .game-card-v2,
    .game-card-v2--featured {
        min-height: 250px;
        grid-row: auto;
        grid-column: auto;
    }

    .game-card-v2--featured {
        grid-column: 1 / -1;
        min-height: 330px;
    }

    .promo-zone__grid {
        gap: 28px;
    }

    .promo-zone__visual {
        min-height: 310px;
        border-radius: 22px 54px 22px 22px;
    }

    .why-v2 {
        padding: 24px;
    }

    .why-v2 ul {
        grid-template-columns: 1fr;
    }

    .stats-v2 div {
        min-height: 120px;
    }

    .post-grid,
    .post-grid--home,
    .post-grid--archive {
        grid-template-columns: 1fr;
    }

    .kubet-seo-grid {
        grid-template-columns: 1fr;
    }

    .kubet-seo-tabs {
        display: flex;
        overflow-x: auto;
    }

    .kubet-seo-tabs button {
        width: auto;
        min-width: 185px;
        flex: 0 0 auto;
        border-right: 1px solid var(--line);
        border-bottom: 0;
    }

    .kubet-seo-panels {
        min-height: 0;
        padding: 22px;
    }

    .kubet-seo-faq {
        grid-column: auto;
    }

    .archive-hero,
    .archive-hero-v2 {
        padding: 34px 0 42px;
    }

    .archive-hero-inner {
        grid-template-columns: 1fr;
    }

    .archive-visual {
        display: none;
    }

    .archive-list-section {
        padding: 48px 0 58px;
    }

    .category-featured-post {
        grid-template-columns: 1fr;
    }

    .category-featured-post__media,
    .category-featured-post__media img,
    .category-featured-post__media .post-placeholder {
        min-height: 230px;
        height: 230px;
    }

    .category-featured-post__content {
        padding: 23px;
    }

    .category-featured-post__content h2 {
        font-size: 23px;
    }

    .site-sidebar {
        grid-template-columns: 1fr;
    }

    .sidebar-search-widget,
    .sidebar-cta {
        grid-column: auto;
    }

    .single-page-v2,
    .page-main-v2 {
        padding: 26px 0 54px;
    }

    .single-article,
    .content-card,
    .page-content-card {
        padding: 21px;
        border-radius: 16px;
    }

    .single-header h1 {
        font-size: 31px;
    }

    .single-content-body {
        font-size: 15px;
    }

    .post-navigation-custom {
        grid-template-columns: 1fr;
    }

    .post-navigation-custom > div:last-child {
        text-align: left;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .author-box {
        align-items: flex-start;
    }

    .join-inner {
        grid-template-columns: 1fr;
        padding-top: 30px;
    }

    .join-inner img {
        height: 155px;
    }

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

@media (max-width: 460px) {
    .hero-buttons {
        grid-template-columns: 1fr;
    }

    .hero-proof {
        gap: 12px 18px;
    }

    .hero-v2__art {
        height: 235px;
    }

    .hero-floating-card {
        display: none;
    }

    .game-grid-v2 {
        grid-template-columns: 1fr;
    }

    .game-card-v2--featured {
        grid-column: auto;
        min-height: 280px;
    }

    .stats-v2 {
        grid-template-columns: 1fr;
    }

    .stats-v2 div,
    .stats-v2 div:nth-child(2n),
    .stats-v2 div:nth-child(n+3) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .stats-v2 div:last-child {
        border-bottom: 0;
    }

    .footer-trust-strip .container,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .search-form {
        flex-direction: column;
    }

    .search-form button {
        min-height: 42px;
    }
}
