*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --cor-texto: #333;
    --cor-fundo: #ffffff;
    --fonte-principal: 'Montserrat', sans-serif;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--fonte-principal);
    color: var(--cor-texto);
    background-color: var(--cor-fundo);
    margin: 0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.site-main {
    flex: 1 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header__menu li {
    margin-left: 20px;
}

.header__menu a {
    text-decoration: none;
    color: var(--cor-texto);
    font-weight: 600;
    transition: color 0.3s;
}

.header__menu a:hover {
    color: var(--header-menu-hover, #5d69be);
}

/* Footer - BEM + Flexbox */
.footer {
    background-color: var(--footer-bg, #1d1d1d);
    color: var(--footer-text, #94a3b8);
    font-family: var(--fonte-principal);
    margin-top: 0;
    width: 100%;
}

.footer a {
    color: var(--footer-link, #ffffff);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer a:hover,
.footer__col a:hover,
.footer-widget a:hover,
.footer__menu a:hover,
.footer__copyright a:hover,
.footer__sobre a:hover {
    color: var(--footer-link-hover, #F6A91C) !important;
}

/* Corpo (3 colunas) */
.footer__body {
    padding: 56px 0 40px;
}

.footer__body-container {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    box-sizing: border-box !important;
}

/* Colunas */
.footer__col {
    box-sizing: border-box;
}

.footer__col--brand {
    flex: 0 0 340px;
    max-width: 340px;
}

.footer__col--links,
.footer__col--institucional {
    flex: 1;
    min-width: 0;
}

/* Título das colunas */
.footer__col-title-wrap {
    position: relative;
    margin-bottom: 16px;
}

.footer__col-title-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,0.12);
}

.footer__col-title {
    font-family: var(--fonte-principal);
    font-size: var(--footer-font-size-title, 18px);
    font-weight: 700;
    color: var(--footer-title, #fff);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--footer-title, #fff);
    line-height: 1.2;
    display: inline-block;
    position: relative;
    z-index: 1;
}

/* Logo */
.footer__logo {
    display: block;
    margin-bottom: 16px;
}

.footer__logo a {
    display: inline-block;
    line-height: 0;
}

.footer__logo-img {
    max-height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* Texto sobre */
.footer__sobre {
    font-size: var(--footer-font-size-sobre, 14px);
    line-height: 1.7;
    color: var(--footer-text, #94a3b8);
    margin-bottom: 20px;
}

.footer__sobre p {
    margin: 0 0 8px;
}

.footer__sobre p:last-child {
    margin-bottom: 0;
}

/* Redes sociais */
.footer__socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.footer__socials-item {
    margin: 0;
    padding: 0;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    transition: background 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.footer__social-link:hover {
    background: var(--footer-link-hover, #F6A91C) !important;
    transform: translateY(-2px);
}

.footer__social-icon {
    width: 17px;
    height: 17px;
    fill: var(--footer-text, #94a3b8);
    display: block;
    transition: fill 0.2s ease;
}

.footer__social-link:hover .footer__social-icon {
    fill: #1C160C !important;
}

/* Widgets nas colunas */
.footer-widget {
    margin-bottom: 20px;
    box-sizing: border-box;
    font-family: var(--fonte-principal);
}

.footer-widget:last-child {
    margin-bottom: 0;
}

.footer-widget__title-wrap {
    position: relative;
    margin-bottom: 12px;
}

.footer-widget__title-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,0.12);
}

.footer-widget__title {
    font-family: var(--fonte-principal);
    font-size: var(--footer-font-size-title, 18px);
    font-weight: 700;
    color: var(--footer-title, #fff);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--footer-title, #fff);
    line-height: 1.2;
    display: inline-block;
    position: relative;
    z-index: 1;
}

/* Listas padrão dos widgets */
.footer-widget ul,
.footer-widget ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-widget ul li,
.footer-widget ol li {
    padding: 5px 0;
    border-bottom: none;
    font-size: var(--footer-font-size-link, 14px);
    font-weight: 500;
    line-height: 1.4;
}

.footer-widget ul li:last-child,
.footer-widget ol li:last-child {
    border-bottom: none;
}

.footer-widget a {
    color: var(--footer-link, #ffffff);
    font-size: var(--footer-font-size-link, 14px);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-widget a:hover {
    color: var(--footer-link-hover, #F6A91C);
}

/* Remove contador (N) dos widgets de Categorias/Arquivos */
.footer-widget ul li .post-count,
.footer-widget ul li > span {
    display: none;
}

.footer-widget p {
    font-size: 0.82rem;
    line-height: 1.65;
    color: var(--footer-text, #94a3b8);
    margin: 0 0 8px;
}

.footer-widget p:last-child {
    margin-bottom: 0;
}

/* Colunas 2 e 3 do rodapé: listas em 2 colunas automáticas */
.footer__widgets--col2 .footer-widget ul,
.footer__widgets--col2 .footer-widget ol,
.footer__widgets--col3 .footer-widget ul,
.footer__widgets--col3 .footer-widget ol {
    column-count: 2;
    column-gap: 24px;
    column-fill: balance;
}

/* Widget de busca padrão do WP */
.footer-widget .search-form {
    display: flex;
    gap: 6px;
}

.footer-widget .search-field {
    flex: 1;
    padding: 7px 10px;
    font-size: 0.8rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-family: var(--fonte-principal);
    min-width: 0;
}

.footer-widget .search-submit {
    padding: 7px 12px;
    font-size: 0.8rem;
    border-radius: 4px;
    border: none;
    background: rgba(255,255,255,0.12);
    color: #fff;
    cursor: pointer;
    font-family: var(--fonte-principal);
    transition: background 0.2s;
}

.footer-widget .search-submit:hover {
    background: rgba(255,255,255,0.22);
}

/* Rodapé sem corpo: remove linha separadora do bottom */
.footer--no-body .footer__bottom {
    padding-top: 0;
}

.footer--no-body .footer__bottom-container {
    border-top: none;
    padding-top: 20px;
}

/* Barra inferior (copyright + menu) */
.footer__bottom {
    padding: 20px 0;
}

.footer__bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    box-sizing: border-box !important;
}

/* ============================================================
   LARGURA DO CONTEÚDO DO FOOTER (ALINHADO AO CONTAINER DE CONTEÚDO)
   ============================================================ */
.footer__body-container,
.footer__bottom-container {
    box-sizing: border-box !important;
    transition: margin-left 0.25s cubic-bezier(0.4, 0, 0.2, 1), max-width 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 992px) {
    /* Largura Padronizada do Footer em todas as páginas (Home, Categorias, Tags, Search, Single, Pages etc.) */
    .footer__body-container,
    .footer__bottom-container {
        margin-left: calc(16px + var(--game-sidebar-collapsed-width, 68px) + 20px) !important;
        margin-right: 20px !important;
        max-width: calc(100% - (16px + var(--game-sidebar-collapsed-width, 68px) + 20px) - 20px) !important;
        width: calc(100% - (16px + var(--game-sidebar-collapsed-width, 68px) + 20px) - 20px) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 991px) {
    .footer__body-container,
    .footer__bottom-container {
        margin-left: 12px !important;
        margin-right: 12px !important;
        max-width: calc(100% - 24px) !important;
        width: calc(100% - 24px) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.footer__copyright {
    font-size: var(--footer-font-size-credits, 14px);
    color: var(--footer-text, #94a3b8);
    margin: 0;
    line-height: 1.5;
}

/* Menu do rodapé */
.footer__nav {
    flex-shrink: 0;
}

.footer__menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px 0;
}

.footer__menu li {
    margin: 0;
}

.footer__menu li + li::before {
    content: '';
    display: inline-block;
    width: 1px;
    height: 0.75em;
    background: rgba(255,255,255,0.2);
    margin: 0 12px;
    vertical-align: middle;
}

.footer__menu a {
    font-size: var(--footer-font-size-credits, 14px);
    color: var(--footer-link, #ffffff);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.footer__menu a:hover {
    color: var(--footer-link-hover, #F6A91C);
}

/* Responsivo: tablet */
@media (max-width: 1024px) {
    .footer__col--brand {
        flex: 0 0 260px;
        max-width: 260px;
    }

    /* Barra inferior: menu acima dos créditos, tudo centralizado em tablets */
    .footer__bottom-container {
        flex-direction: column-reverse;
        align-items: center;
        gap: 10px;
        text-align: center;
    }

    .footer__copyright {
        text-align: center;
        margin-top: 8px;
        border-top: 1px dashed rgba(255,255,255,0.15);
        padding-top: 10px;
        width: 100%;
    }

    .footer__nav {
        width: 100%;
    }

    .footer__menu {
        justify-content: center;
    }

    .footer__menu li + li::before {
        margin: 0 8px;
    }
}

@media (max-width: 768px) {
    .footer__body {
        padding: 40px 0 28px;
    }

    .footer__body-container {
        flex-wrap: wrap;
        flex-direction: row;
        gap: 32px;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Coluna brand: 100% e centralizada */
    .footer__col--brand {
        flex: 0 0 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer__logo,
    .footer__sobre {
        width: 100%;
        text-align: center;
    }

    .footer__socials {
        justify-content: center;
    }

    /* Colunas 2 e 3: lado a lado em tablet/mobile */
    .footer__col--links,
    .footer__col--institucional {
        flex: 1 1 calc(50% - 16px);
        min-width: 0;
    }

    /* Widgets col2 e col3 mantêm 2 colunas internas em tablet */
    .footer__widgets--col2 .footer-widget ul,
    .footer__widgets--col2 .footer-widget ol,
    .footer__widgets--col3 .footer-widget ul,
    .footer__widgets--col3 .footer-widget ol {
        column-count: 2;
        column-gap: 24px;
    }

    /* Barra inferior: menu acima dos créditos, tudo centralizado */
    .footer__bottom-container {
        flex-direction: column-reverse;
        align-items: center;
        gap: 10px;
        text-align: center;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .footer__copyright {
        text-align: center;
        border-top: 1px dashed rgba(255,255,255,0.15);
        padding-top: 10px;
        width: 100%;
    }

    .footer__nav {
        width: 100%;
    }

    .footer__menu {
        justify-content: center;
    }

    .footer__menu li + li::before {
        margin: 0 8px;
    }
}

@media (max-width: 480px) {
    .footer__body {
        padding: 32px 0 20px;
    }

    /* Colunas 2 e 3 permanecem lado a lado em celular */
    .footer__col--links,
    .footer__col--institucional {
        flex: 1 1 calc(50% - 12px);
        min-width: 0;
    }

    /* Listas internas mantêm 2 colunas em celular */
    .footer__widgets--col2 .footer-widget ul,
    .footer__widgets--col2 .footer-widget ol,
    .footer__widgets--col3 .footer-widget ul,
    .footer__widgets--col3 .footer-widget ol {
        column-count: 2;
        column-gap: 16px;
    }

    .footer__socials {
        gap: 8px;
    }

    .footer__social-link {
        width: 32px;
        height: 32px;
    }

    .footer__social-icon {
        width: 15px;
        height: 15px;
    }
}

/* Em telas muito estreitas (< 360px) as colunas empilham */
@media (max-width: 359px) {
    .footer__col--links,
    .footer__col--institucional {
        flex: 0 0 100%;
        width: 100%;
    }

    .footer__widgets--col2 .footer-widget ul,
    .footer__widgets--col2 .footer-widget ol,
    .footer__widgets--col3 .footer-widget ul,
    .footer__widgets--col3 .footer-widget ol {
        column-count: 1;
    }
}

/* Header Base - BEM + Flexbox */
.header {
    background-color: var(--header-bg);
    color: var(--header-text);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s ease;
    display: block;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    gap: 15px;
    padding: 0 20px;
}

/* Toggle (Menu Hamburger) */
.header__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    transition: opacity 0.2s ease;
}

.header__toggle:hover {
    opacity: 0.8;
}

.header__toggle:focus {
    outline: none;
}

.header__toggle-icon {
    display: block;
    width: var(--header-toggle-size);
    height: 3px;
    background-color: var(--header-text);
    border-radius: 2px;
    transition: var(--header-transition);
}

.header__toggle[aria-expanded="true"] .header__toggle-icon:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.header__toggle[aria-expanded="true"] .header__toggle-icon:nth-child(2) {
    opacity: 0;
}
.header__toggle[aria-expanded="true"] .header__toggle-icon:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Toggle order: desktop-only — mobile CSS per-header takes over below 992px */
@media (min-width: 992px) {
    .header__toggle--left   { order: 1; }
    .header__toggle--center { order: 2; margin: 0 auto; }
    .header__toggle--right  { order: 3; }
}

.header__toggle--mobile-only {
    display: none;
}

/* Logo */
.header__logo {
    display: flex;
    align-items: center;
}

.header__logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.header__logo-link:hover {
    opacity: 1 !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
}

.header__logo-img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.header__logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Logo order/margin: desktop-only — mobile CSS per-header takes over below 992px */
@media (min-width: 992px) {
    .header:not(.header--header-3) .header__logo--left   { order: 2; margin-right: auto; }
    .header:not(.header--header-3) .header__logo--center { order: 2; margin: 0 auto; }
    .header:not(.header--header-3) .header__logo--right  { order: 2; margin-left: auto; }
}

/* Botão de busca */
.header__search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    margin-right: -10px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--header-text);
    transition: var(--header-transition);
    border-radius: 50%;
}

.header__search-btn:hover {
    background: rgba(0,0,0,0.05);
}

.header__search-btn:focus {
    outline: none;
}

.header__search-icon svg {
    width: var(--header-search-size);
    height: var(--header-search-size);
}

/* Search order: desktop-only — mobile CSS per-header takes over below 992px */
@media (min-width: 992px) {
    .header__search--left   { order: 1; }
    .header__search--center { order: 2; }
    .header__search--right  { order: 3; }
}

/* Barra de menu - Header 1 (.header__nav-bar fica fora do <header>) */
.header__nav-bar {
    background: var(--header-bg, #ffffff) !important;
    border-top: 1px solid rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    min-height: var(--header-nav-height);
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 5;
    margin-top: 0;
}

.header__nav-bar .container {
    padding: 0 20px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.header__nav-bar .header__menu--bar {
    justify-content: center;
    gap: 8px;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header__nav-bar .header__menu--bar > .header__menu-item > .header__menu-link {
    padding: 14px 18px;
    font-size: var(--header-menu-font-size, 14px) !important;
    color: var(--header-menu-text, #1e293b) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    transition: color 0.2s ease, background 0.2s ease;
    border-radius: 6px;
}

/* Hover para itens SEM dropdown: aplica cor de hover + background */
.header__nav-bar .header__menu--bar > .header__menu-item:not(.header__menu-item--has-children):hover > .header__menu-link,
.header__nav-bar .header__menu--bar > .header__menu-item:not(.header__menu-item--has-children) > .header__menu-link:hover {
    color: var(--header-menu-hover, #5d69be) !important;
}

/* Hover para itens COM dropdown: apenas background (o link permanece hovered enquanto navega o submenu) */
.header__nav-bar .header__menu--bar > .header__menu-item.header__menu-item--has-children:hover > .header__menu-link {
    color: var(--header-menu-hover, #5d69be) !important;
}

.header__nav-bar .header__menu--bar > .header__menu-item.current-menu-item > .header__menu-link {
    color: var(--header-menu-text, #ffffff) !important;
    font-weight: 700;
}

/* Navegação - Header 3 (menu inline) */
.header--header-3 .header__nav--inline {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.header--header-3 .header__container {
    flex-wrap: wrap;
}

/* Menu principal (desktop) */
.header__menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.header__menu-item {
    position: relative;
}

.header__menu-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--header-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease, background-color 0.2s ease;
    border-radius: 6px;
}

/* Hover scoped: aplica apenas a links diretos de top-level, não a links de submenu */
.header__menu--bar > .header__menu-item:not(.header__menu-item--has-children) > .header__menu-link:hover,
.header__menu--bar > .header__menu-item > .header__menu-link:hover {
    color: var(--header-menu-hover, #5d69be);
}

.header__menu-item--has-children > .header__menu-link {
    padding-right: 24px;
}

.header__dropdown-icon {
    display: inline-flex;
    align-items: center;
    margin-left: 2px;
    transition: transform 0.2s ease;
    opacity: 0.7;
}

.header__menu-item--has-children:hover .header__dropdown-icon {
    transform: rotate(180deg);
    opacity: 1;
}

/* Submenu (dropdown) */
.header__submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 8px 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--header-transition);
    z-index: 1001;
}

.header__menu-item:hover > .header__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header__submenu .header__menu-link {
    padding: 10px 16px 10px 20px;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1e293b !important;
    background: transparent !important;
}

.header__submenu .header__dropdown-icon {
    transform: rotate(-90deg);
}

.header__submenu--nested {
    top: 0;
    left: 100%;
    margin-left: 10px;
}

.header__submenu .header__menu-item:hover > .header__submenu--nested {
    margin-left: 0;
}

/* Menu mobile / overlay */
.header__nav--mobile,
.header__nav--overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--header-transition);
    pointer-events: none;
}

.header__nav--mobile[aria-hidden="false"],
.header__nav--overlay[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.header__nav-mobile-inner,
.header__nav-overlay-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 50vw;
    max-width: 320px;
    min-width: 280px;
    height: 100%;
    background: #ffffff;
    padding: 20px 16px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 25px rgba(0,0,0,0.15);
    z-index: 1;
}

@media (max-width: 375px) {
    .header__nav-mobile-inner,
    .header__nav-overlay-inner {
        width: 80vw;
        min-width: unset;
    }
}

.header__nav--mobile[aria-hidden="false"] .header__nav-mobile-inner,
.header__nav--overlay[aria-hidden="false"] .header__nav-overlay-inner {
    transform: translateX(0);
}

.header__nav-close {
    align-self: flex-end;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    background: rgba(0,0,0,0.05);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: var(--header-menu-text, #1e293b);
    cursor: pointer;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.header__nav-close:hover,
.header__nav-close:focus {
    background: rgba(0,0,0,0.1);
    transform: scale(1.05);
    outline: none;
}

.header__nav-close:active {
    transform: scale(0.98);
}

.header__nav-close:hover {
    color: var(--header-primary);
}

.header__menu--mobile,
.header__menu--overlay {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.header__menu--mobile .header__menu-link,
.header__menu--overlay .header__menu-link {
    width: 100%;
    padding: 14px 16px;
    font-size: 1.05rem;
    border-radius: 8px;
}

.header__menu--mobile .header__submenu,
.header__menu--overlay .header__submenu {
    position: static;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    box-shadow: none;
    background: #f8fafc;
    border-radius: 8px;
    margin: 0;
    padding: 0;
    border: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease, margin 0.2s ease, padding 0.2s ease;
}

.header__menu--mobile .header__menu-item--has-children.active > .header__submenu,
.header__menu--overlay .header__menu-item--has-children.active > .header__submenu {
    max-height: 800px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    margin: 4px 0 6px 16px;
    padding: 4px 0;
}

.header__menu--mobile .header__submenu--nested,
.header__menu--overlay .header__submenu--nested {
    margin-left: 12px;
    background: #f1f5f9;
}

/* Modal de busca */
.header__search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    visibility: hidden;
    transition: var(--header-transition);
    pointer-events: none;
}

.header__search-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.header__search-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.header__search-modal-content {
    position: relative;
    width: 90%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s ease;
    z-index: 1;
}

.header__search-modal[aria-hidden="false"] .header__search-modal-content {
    transform: scale(1) translateY(0);
}

.header__search-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header__search-input {
    flex: 1;
    padding: 14px 16px;
    font-size: 1.1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s;
}

.header__search-input:focus {
    border-color: var(--header-primary);
}

.header__search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    background: var(--header-primary);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: var(--header-transition);
}

.header__search-submit:hover {
    background: #4a54a4;
    transform: scale(1.05);
}

.header__search-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    background: rgba(0,0,0,0.05);
    border: none;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.header__search-modal-close:hover {
    background: #f1f5f9;
    color: var(--header-text);
    transform: scale(1.05);
}

/* Header scrolled effect */
.header--scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.header--scrolled .header__container {
    min-height: 60px;
}

/* Responsividade */
@media (max-width: 991px) {
    /* .header__nav-bar fica FORA da tag <header>, seletor direto */
    .header__nav-bar {
        display: none;
    }

    .header--header-3 .header__nav--inline {
        display: none;
    }

    .header__toggle--mobile-only {
        display: flex;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .header__container {
        padding: 0 15px;
    }

    .header__logo-img {
        max-height: 40px;
    }

    .header__logo-text {
        font-size: 1.1rem;
    }

    /* Reordenacao mobile para H1 e H2 — H3 tem CSS proprio soberano no mobile */
    .header:not(.header--header-3) .header__toggle--right { order: 1; }
    .header:not(.header--header-3) .header__logo--center { margin: 0 auto; }
    .header:not(.header--header-3) .header__search--left { order: 3; }
}

@media (max-width: 480px) {
    .header__search-modal {
        padding: 12px;
        padding-top: 15vh;
    }

    .header__search-modal-content {
        max-width: 100%;
        padding: 20px 24px;
        border-radius: 12px;
    }

    .header__search-input {
        font-size: 16px;
        padding: 14px 16px;
    }

    .header__nav-mobile-inner,
    .header__nav-overlay-inner {
        width: 100%;
        max-width: none;
    }
}

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

.screen-reader-text:focus {
    position: static;
    width: auto;
    height: auto;
    padding: inherit;
    margin: inherit;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

.header__menu-link:focus,
.header__search-btn:focus,
.header__toggle:focus {
    outline: none;
}

/* Header 1 - Toggle com label e hamburger diferenciado */

/* Reset da aparência de botão — sem borda visível no desktop */
.header__toggle--h1 {
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    width: auto;
    height: 40px;
    padding: 6px 10px 6px 8px;
    margin-left: -8px;
    background: transparent;
    border: none;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--header-transition);
    color: var(--header-text);
    font-family: inherit;
    flex-shrink: 0;
    gap: 0;
    justify-content: center;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.header__toggle--h1:hover {
    opacity: 0.8;
    background: rgba(0,0,0,0.04);
}

/* Foco acessível — sem outline colorido no toggle */
.header__toggle--h1:focus-visible {
    outline: none;
}

/* Bloqueia outline padrão em todos os browsers */
.header__toggle--h1:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

.header__toggle-h1-inner {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
    pointer-events: none;
}

.header__toggle-h1-bars {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 20px;
    flex-shrink: 0;
}

.header__toggle-icon--h1 {
    display: block;
    width: 20px;
    height: 2.5px;
    background-color: currentColor;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease, width 0.2s ease;
}

/* Traço do meio mais curto */
.header__toggle-icon--short {
    width: 12px;
}

.header__toggle-h1-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
    user-select: none;
    color: currentColor;
}

/* Estado expandido → X */
.header__toggle--h1[aria-expanded="true"] .header__toggle-icon--h1:nth-child(1) {
    transform: rotate(45deg) translate(4.5px, 4.5px);
    width: 20px;
}
.header__toggle--h1[aria-expanded="true"] .header__toggle-icon--h1:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.header__toggle--h1[aria-expanded="true"] .header__toggle-icon--h1:nth-child(3) {
    transform: rotate(-45deg) translate(4.5px, -4.5px);
    width: 20px;
}

/* Header 1 - Nav-bar desktop */
.header__nav-bar {
    min-height: 42px !important;  /* barra mais fina */
}

.header__nav-bar .header__menu--bar > .header__menu-item > .header__menu-link {
    font-weight: 700 !important;
    font-size: var(--header-menu-font-size, 13px) !important;
    padding: 10px 14px !important;
    letter-spacing: 0.03em;
}

/* Header 1 - Responsivo mobile (≤991px) */
@media (max-width: 991px) {
    .header--header-1 .header__toggle--h1 {
        order: 3 !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        background: transparent !important;
        padding: 6px;
        margin-left: 0 !important;
    }

    .header--header-1 .header__search-btn {
        margin-right: 0 !important;
    }

    .header--header-1 .header__toggle-h1-label {
        display: none;
    }

    .header--header-1 .header__logo {
        order: 1 !important;
        margin-right: auto !important;
        margin-left: 0 !important;
    }

    .header--header-1 .header__search-btn {
        order: 2 !important;
    }
}

/* Header 1 - Drawer mobile escuro */

.header__nav--h1-mobile .header__nav-mobile-inner {
    background: #1e293b;
    /* largura máxima do drawer */
    width: 75vw;
    max-width: 300px;
    min-width: 240px;
    padding: 16px 0 20px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* X de fechar — posição fixa dentro do drawer, canto direito */
.header__nav--h1-mobile .header__nav-mobile-inner > .header__nav-close {
    position: relative;
    align-self: flex-end;
    margin: 0 12px 16px auto;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    border-radius: 50%;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 20px;
}

.header__nav--h1-mobile .header__nav-close:hover,
.header__nav--h1-mobile .header__nav-close:focus {
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
    outline: none !important;
}

/* Links: tamanho moderado, uppercase, separador sutil */
.header__nav--h1-mobile .header__menu-link {
    color: #ffffff !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 0 !important;
    padding: 12px 20px !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

.header__nav--h1-mobile .header__menu-link:hover,
.header__nav--h1-mobile .header__menu-link:focus {
    color: #e2e8f0 !important;
    background: rgba(255,255,255,0.05) !important;
    outline: none !important;
}

/* Itens filho — menores, sem uppercase, indentados */
.header__nav--h1-mobile .header__submenu .header__menu-link {
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0.02em;
    padding-left: 32px !important;
    color: #94a3b8 !important;
}

.header__nav--h1-mobile .header__submenu {
    background: rgba(0,0,0,0.2) !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header__nav--h1-mobile .header__submenu--nested {
    background: rgba(0,0,0,0.15) !important;
    margin-left: 12px !important;
}

.header__nav--h1-mobile .header__dropdown-icon svg {
    stroke: #64748b;
}

/* Backdrop escurece mais no H1 para contrastar com o drawer escuro */
.header__nav--h1-mobile {
    background: rgba(0,0,0,0.6);
}

/* Header 1 - Neutraliza herança de outline do toggle base */
.header__toggle--h1:focus,
.header__toggle--h1:active,
.header__toggle--h1:focus-within {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.header__toggle--h1:focus-visible {
    outline: none !important;
}

/* Header 1 */

/* Drawer: fundo escuro com hierarquia de tons */
.header__nav--h1-mobile .header__nav-mobile-inner {
    background: #2e2e2e !important;
}

/* Itens de nível 1 (categoria) — fundo levemente mais escuro */
.header__nav--h1-mobile .header__menu--mobile > .header__menu-item {
    background: #333333;
}

/* Links nível 1 */
.header__nav--h1-mobile .header__menu--mobile > .header__menu-item > .header__menu-link {
    color: #ffffff !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 13px 20px !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    background: transparent !important;
}

/* Itens de nível 2 (filhos) — fundo mais claro que o pai */
.header__nav--h1-mobile .header__submenu {
    background: #3a3a3a !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* Links nível 2 */
.header__nav--h1-mobile .header__submenu > .header__menu-item > .header__menu-link {
    color: #d4d4d4 !important;
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0.02em;
    padding: 11px 20px 11px 32px !important;
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
    background: transparent !important;
}

.header__nav--h1-mobile .header__submenu > .header__menu-item > .header__menu-link:hover,
.header__nav--h1-mobile .header__submenu > .header__menu-item > .header__menu-link:focus {
    color: #ffffff !important;
    background: rgba(255,255,255,0.06) !important;
}

.header__nav--h1-mobile .header__submenu--nested {
    background: #444444 !important;
    margin-left: 0 !important;
}

/* Botão X: quadrado, sem arredondamento */
.header__nav--h1-mobile .header__nav-mobile-inner > .header__nav-close {
    border-radius: 4px !important;   /* sem arredondamento (quase reto) */
    font-size: 26px !important;
    line-height: 1 !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    background: rgba(255,255,255,0.08) !important;
    color: #ffffff !important;
    margin: 0 12px 14px auto !important;
    align-self: flex-end !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Botão lupa: sem outline ao clicar */
.header__search-btn:focus,
.header__search-btn:active,
.header__search-btn:focus-within {
    outline: none !important;
    box-shadow: none !important;
}

.header__search-btn:focus-visible {
    outline: none !important;
}

/* Input do modal: sem borda ao focar */
.header__search-input:focus,
.header__search-input:active {
    outline: none !important;
    box-shadow: none !important;
    border-color: var(--header-primary) !important;
}

/* Remove botão X redondo que sobrepõe a busca */
.header__search-modal-close {
    display: none !important;
}

/* Backdrop do modal: fecha ao clicar */
.header__search-modal-backdrop {
    cursor: pointer;
}

/* Drawer: categorias pai ocupam 100% da largura */
.header__nav--h1-mobile .header__nav-mobile-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
}

/* Botão X continua com margem para ficar no canto direito dentro do inner */
.header__nav--h1-mobile .header__nav-mobile-inner > .header__nav-close {
    margin: 12px 12px 12px auto !important;
}

/* Itens de nível 1 — sem margem/padding lateral, ocupa 100% */
.header__nav--h1-mobile .header__menu--mobile {
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

.header__nav--h1-mobile .header__menu--mobile > .header__menu-item {
    width: 100%;
    margin: 0 !important;
    background: #333333 !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

/* Links nível 1 — padding interno para o texto, mas item cola nas bordas */
.header__nav--h1-mobile .header__menu--mobile > .header__menu-item > .header__menu-link {
    width: 100% !important;
    padding: 13px 20px !important;
    margin: 0 !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    display: block !important;
}

/* Submenu: também 100% largura, colado nas bordas */
.header__nav--h1-mobile .header__submenu {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: #3a3a3a !important;
}

.header__nav--h1-mobile .header__submenu > .header__menu-item {
    width: 100%;
    margin: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
}

.header__nav--h1-mobile .header__submenu > .header__menu-item > .header__menu-link {
    width: 100% !important;
    display: block !important;
    padding: 11px 20px 11px 28px !important;
    margin: 0 !important;
    border-bottom: none !important;
    border-radius: 0 !important;
}

/* Search modal */

/* Modal de busca */
.header__search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    visibility: hidden;
    transition: var(--header-transition);
    pointer-events: none;
}

.header__search-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Backdrop com blur */
.header__search-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

/* Caixa branca do modal: padding reduzido, input + lupa */
.header__search-modal-content {
    position: relative;
    width: 90%;
    max-width: 520px;
    background: #ffffff;
    border-radius: 8px;
    padding: 10px 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    transform: scale(0.97) translateY(8px);
    transition: transform 0.25s ease;
    z-index: 1;
}

.header__search-modal[aria-hidden="false"] .header__search-modal-content {
    transform: scale(1) translateY(0);
}

/* Formulário: input + lupa lado a lado, sem gap visível */
.header__search-form {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
}

/* Input: sem borda, fundo branco, limpo */
.header__search-input {
    flex: 1 !important;
    padding: 10px 12px !important;
    font-size: 0.95rem !important;
    border: none !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #1e293b !important;
    transition: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.header__search-input:focus,
.header__search-input:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.header__search-input::placeholder {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Botão lupa: transparente, ícone escuro, dentro da caixa */
.header__search-submit {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 4px !important;
    color: #475569 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: color 0.15s !important;
}

.header__search-submit:hover,
.header__search-submit:focus {
    color: #1e293b !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.header__search-submit svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    display: block !important;
}

/* X de fechar: oculto (fecha via backdrop ou Esc) */
.header__search-modal-close {
    display: none !important;
}

/* Lupa do header: sem outline ao clicar com mouse */
.header__search-btn:focus,
.header__search-btn:active {
    outline: none !important;
    box-shadow: none !important;
}

.header__search-btn:focus-visible {
    outline: none !important;
}

/* HEADER 1 — DROPDOWN DESKTOP: borda 2px, sem radius, hover estilo mobile */

.header__nav-bar .header__submenu {
    border-radius: 0 !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Cada item: separador inferior igual ao drawer mobile */
.header__nav-bar .header__submenu > .header__menu-item {
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header__nav-bar .header__submenu > .header__menu-item:last-child {
    border-bottom: none !important;
}

/* Link: ocupa 100% da largura, hover escuro cola nas bordas */
.header__nav-bar .header__submenu > .header__menu-item > .header__menu-link {
    display: block !important;
    width: 100% !important;
    padding: 11px 20px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    color: #1e293b !important;
    border-radius: 0 !important;
    transition: background 0.15s, color 0.15s !important;
    box-sizing: border-box !important;
}

.header__nav-bar .header__submenu > .header__menu-item > .header__menu-link:hover,
.header__nav-bar .header__submenu > .header__menu-item > .header__menu-link:focus {
    background: #2e2e2e !important;
    color: #ffffff !important;
}

/* Header 2 - Drawer mobile (overlay) */
 
/* Backdrop do overlay H2 */
.header--header-2 ~ .header__nav--overlay,
.header__nav--overlay {
    background: rgba(0,0,0,0.6);
}
 
/* Drawer lateral */
.header__nav--overlay .header__nav-overlay-inner {
    background: #9d0a00;
    width: 75vw;
    max-width: 300px;
    min-width: 240px;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
}
 
@media (max-width: 375px) {
    .header__nav--overlay .header__nav-overlay-inner {
        width: 80vw;
        min-width: unset;
    }
}
 
/* Botão X — canto direito, quadrado, fundo semi-transparente */
.header__nav--overlay .header__nav-overlay-inner > .header__nav-close {
    position: relative;
    align-self: flex-end;
    margin: 12px 12px 12px auto !important;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    border-radius: 4px !important;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    font-size: 26px;
}
 
.header__nav--overlay .header__nav-close:hover,
.header__nav--overlay .header__nav-close:focus {
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
    outline: none !important;
}
 
/* Lista de itens — ocupa 100% da largura */
.header__nav--overlay .header__menu--overlay {
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
}
 
/* Item nível 1 */
.header__nav--overlay .header__menu--overlay > .header__menu-item {
    width: 100%;
    margin: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
 
/* Link nível 1 */
.header__nav--overlay .header__menu--overlay > .header__menu-item > .header__menu-link {
    color: #ffffff !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    text-transform: none !important;
    padding: 14px 20px !important;
    margin: 0 !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    display: block !important;
    width: 100% !important;
    background: transparent !important;
}
 
/* Sem hover personalizado nos links — comportamento padrão do browser */
.header__nav--overlay .header__menu--overlay > .header__menu-item > .header__menu-link:hover,
.header__nav--overlay .header__menu--overlay > .header__menu-item > .header__menu-link:focus {
    background: transparent !important;
    color: #ffffff !important;
    outline: none !important;
}
 
/* Submenu nível 2 */
.header__nav--overlay .header__submenu {
    background: rgba(0,0,0,0.2) !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
 
.header__nav--overlay .header__submenu > .header__menu-item {
    width: 100%;
    margin: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}
 
/* Link nível 2 */
.header__nav--overlay .header__submenu > .header__menu-item > .header__menu-link {
    color: rgba(255,255,255,0.8) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    padding: 11px 20px 11px 32px !important;
    display: block !important;
    width: 100% !important;
    border-radius: 0 !important;
    border-bottom: none !important;
    background: transparent !important;
}
 
.header__nav--overlay .header__submenu > .header__menu-item > .header__menu-link:hover,
.header__nav--overlay .header__submenu > .header__menu-item > .header__menu-link:focus {
    background: transparent !important;
    color: #ffffff !important;
    outline: none !important;
}
 
/* Ícone de dropdown */
.header__nav--overlay .header__dropdown-icon svg {
    stroke: rgba(255,255,255,0.6);
}

/* Header 2 - Layout mobile fixo */
@media (max-width: 991px) {
    .header--header-2 .header__toggle {
        order: 1 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .header--header-2 .header__logo {
        order: 2 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .header--header-2 .header__search-btn {
        order: 3 !important;
        margin-right: 0 !important;
    }
}

/* Header 3 - Menu inline desktop */
 
/* Nav inline: flex, entre logo e lupa */
.header--header-3 .header__nav--inline {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    margin-left: 20px;
    margin-right: 0;
    order: 2;
}
 
/* Container do H3: sem flex-wrap */
.header--header-3 .header__container {
    flex-wrap: nowrap;
}
 
/* Logo H3: fixo à esquerda (desktop injeta media query via functions.php) */
.header--header-3 .header__logo {
    order: 1;
    flex-shrink: 0;
    margin-left: 0;
    margin-right: auto;
}
 
/* Lupa direita — cor via var(--header-text) para respeitar a opção "Cor do Ícone" do painel */
.header--header-3 .header__search-btn {
    order: 3;
    flex-shrink: 0;
    color: var(--header-text);
}
 
.header--header-3 .header__search-btn:hover {
    background: rgba(128,128,128,0.15);
    color: var(--header-text);
}
 
/* Toggle mobile: aparece só em mobile */
.header--header-3 .header__toggle--mobile-only {
    order: 4;
}
 
/* Header 3 - Links do menu inline */
.header--header-3 .header__menu--inline .header__menu-link {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: var(--header-menu-text, #ffffff) !important;
    font-size: var(--header-menu-font-size, 14px) !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    padding: 10px 14px !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
    background: transparent !important;
    text-decoration: none !important;
}
 
/* Hover: mantém peso e cor, sem background */
.header--header-3 .header__menu--inline > .header__menu-item > .header__menu-link:hover,
.header--header-3 .header__menu--inline > .header__menu-item:hover > .header__menu-link {
    color: var(--header-menu-hover, #ffffff) !important;
    background: transparent !important;
    font-weight: 600 !important;
}
 
/* Item ativo e ancestral ativo: mesmo peso, sem destaque extra */
.header--header-3 .header__menu--inline > .header__menu-item.current-menu-item > .header__menu-link,
.header--header-3 .header__menu--inline > .header__menu-item.current-menu-ancestor > .header__menu-link {
    color: var(--header-menu-text, #ffffff) !important;
    font-weight: 600 !important;
    background: transparent !important;
}
 
 
/* Ícone dropdown: herda a cor do texto */
.header--header-3 .header__menu--inline .header__dropdown-icon svg,
.header__menu--inline .header__dropdown-icon svg {
    stroke: currentColor !important;
}
 
/* DROPDOWN: igual ao header 1 (sem radius, sombra suave, hover escuro) */
.header--header-3 .header__menu--inline .header__submenu {
    border-radius: 0 !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #ffffff !important;
}
 
/* Separador entre itens */
.header--header-3 .header__menu--inline .header__submenu > .header__menu-item {
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
    margin: 0 !important;
    padding: 0 !important;
}
 
.header--header-3 .header__menu--inline .header__submenu > .header__menu-item:last-child {
    border-bottom: none !important;
}
 
/* Link filho: mesma estilização do H1 */
.header--header-3 .header__menu--inline .header__submenu > .header__menu-item > .header__menu-link {
    display: block !important;
    width: 100% !important;
    padding: 11px 20px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    color: #1e293b !important;
    border-radius: 0 !important;
    background: transparent !important;
    transition: background 0.15s, color 0.15s !important;
    box-sizing: border-box !important;
}
 
/* Hover filho: fundo escuro + texto branco, igual ao H1 */
.header--header-3 .header__menu--inline .header__submenu > .header__menu-item > .header__menu-link:hover,
.header--header-3 .header__menu--inline .header__submenu > .header__menu-item > .header__menu-link:focus {
    background: #2e2e2e !important;
    color: #ffffff !important;
}
 
/* Mobile: esconde menu inline, mostra toggle */
@media (max-width: 991px) {
    .header--header-3 .header__nav--inline {
        display: none !important;
    }
 
    .header--header-3 .header__toggle--mobile-only {
        display: flex !important;
    }
 
    .header--header-3 .header__container {
        flex-wrap: nowrap;
    }

    .header--header-3 .header__search-btn {
        margin-right: 0 !important;
    }
}

/* Header 3 - Drawer mobile lateral */

/* Backdrop do overlay H3 */
.header__nav--mobile:not(.header__nav--h1-mobile) {
    background: rgba(0, 0, 0, 0.6);
}

/* Drawer lateral */
.header__nav--mobile:not(.header__nav--h1-mobile) .header__nav-mobile-inner {
    background: #333333;
    width: 75vw;
    max-width: 300px;
    min-width: 240px;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
}

@media (max-width: 375px) {
    .header__nav--mobile:not(.header__nav--h1-mobile) .header__nav-mobile-inner {
        width: 80vw;
        min-width: unset;
    }
}

/* Botão X — canto direito, quase quadrado, fundo semi-transparente */
.header__nav--mobile:not(.header__nav--h1-mobile) .header__nav-mobile-inner > .header__nav-close {
    position: relative;
    align-self: flex-end;
    margin: 12px 12px 12px auto !important;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 4px !important;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__nav--mobile:not(.header__nav--h1-mobile) .header__nav-close:hover,
.header__nav--mobile:not(.header__nav--h1-mobile) .header__nav-close:focus {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    outline: none !important;
}

/* Lista de itens — ocupa 100% da largura */
.header__nav--mobile:not(.header__nav--h1-mobile) .header__menu--mobile {
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

/* Item nível 1 */
.header__nav--mobile:not(.header__nav--h1-mobile) .header__menu--mobile > .header__menu-item {
    width: 100%;
    margin: 0 !important;
    background: transparent !important;
    border-bottom: 1px solid var(--game-border, #EADEC4) !important;
}

/* Link nível 1 */
.header__nav--mobile:not(.header__nav--h1-mobile) .header__menu--mobile > .header__menu-item > .header__menu-link {
    color: var(--game-text-main, #1C160C) !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    letter-spacing: normal;
    text-transform: none;
    padding: 12px 16px !important;
    margin: 0 !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    display: block !important;
    width: 100% !important;
    background: transparent !important;
}

/* Hover nível 1 */
.header__nav--mobile:not(.header__nav--h1-mobile) .header__menu--mobile > .header__menu-item > .header__menu-link:hover,
.header__nav--mobile:not(.header__nav--h1-mobile) .header__menu--mobile > .header__menu-item > .header__menu-link:focus {
    color: var(--game-accent, #F6A91C) !important;
    background: var(--game-bg-surface-elevated, #F6EEDA) !important;
    outline: none !important;
}

/* Submenu nível 2 */
.header__nav--mobile:not(.header__nav--h1-mobile) .header__submenu {
    background: var(--game-bg-surface-elevated, #F6EEDA) !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.header__nav--mobile:not(.header__nav--h1-mobile) .header__submenu > .header__menu-item {
    width: 100%;
    margin: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Link nível 2 */
.header__nav--mobile:not(.header__nav--h1-mobile) .header__submenu > .header__menu-item > .header__menu-link {
    color: var(--game-text-sub, #5C5243) !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0.02em;
    padding: 11px 20px 11px 28px !important;
    display: block !important;
    width: 100% !important;
    border-radius: 0 !important;
    border-bottom: none !important;
    background: transparent !important;
    margin: 0 !important;
}

/* Hover nível 2 */
.header__nav--mobile:not(.header__nav--h1-mobile) .header__submenu > .header__menu-item > .header__menu-link:hover,
.header__nav--mobile:not(.header__nav--h1-mobile) .header__submenu > .header__menu-item > .header__menu-link:focus {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06) !important;
    outline: none !important;
}

/* Submenu aninhado nível 3 */
.header__nav--mobile:not(.header__nav--h1-mobile) .header__submenu--nested {
    background: #555454 !important;
    margin-left: 0 !important;
}

/* Ícone dropdown */
.header__nav--mobile:not(.header__nav--h1-mobile) .header__dropdown-icon svg {
    stroke: rgba(255, 255, 255, 0.5);
}

/* Layout 1 — ÚLTIMAS NOTÍCIAS Metodologia BEM — prefixo l1- */

/* Variáveis do Layout 1 (Gamershood Style) */
:root {
    --l1-cor-titulo:         #1C160C;
    --l1-cor-categoria:      #F6A91C;
    --l1-cor-badge-destaque: #F6A91C;
    --l1-cor-texto:          #1C160C;
    --l1-cor-card-titulo:    #1C160C;
    --l1-cor-excerpt:        #5C5243;
    --l1-cor-data:           #8C7E6C;
    --l1-cor-sidebar-titulo: #1C160C;
    --l1-cor-num:            #F6A91C;
    --l1-card-titulo-hover:  #F6A91C;
}

/* Seção wrapper */
.l1-section {
    padding: 30px 0 40px;
}

/* Cabeçalho: linha vermelha curta à esquerda do título */
.l1-section__header {
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    position: relative;
}

.l1-section__titulo {
    font-size: var(--l1-font-size-titulo-secao, 1.15rem);
    font-weight: 700;
    color: var(--l1-cor-titulo);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
    font-family: var(--fonte-principal);
    padding-bottom: 10px;
    border-bottom: 3px solid var(--l1-cor-titulo);
    display: inline-block;
    position: relative;
    z-index: 1;
}

/* Linha cinza full-width abaixo do header */
.l1-section__header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e5e5;
    z-index: 0;
}

/* Bloco de 3 posts destaque (desktop only) */
.l1-destaque-wrapper {
    margin-bottom: 40px;
}

.l1-destaque-mobile-cards {
    display: none;
}

.l1-destaque {
    display: flex;
    gap: 4px;
    width: 100%;
    height: 420px;
}

/* Post principal: ~57% de largura */
.l1-destaque__principal {
    flex: 0 0 57%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    display: block;
    text-decoration: none;
}
.l1-destaque__principal:not(.has-thumb) {
    background-image: url('../img/wpxminify-full.png');
    background-size: cover;
    background-position: center;
}

/* Coluna dos 2 menores: ~43% */
.l1-destaque__coluna {
    flex: 0 0 43%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.l1-destaque__secundario {
    flex: 1 1 0;
    min-height: 0;
    max-height: calc(50% - 2px);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    display: block;
    text-decoration: none;
    overflow: hidden;
}
.l1-destaque__secundario:not(.has-thumb) {
    background-image: url('../img/wpxminify-lg.png');
    background-size: cover;
    background-position: center;
}

.l1-destaque__img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    max-width: 100%;
}

.l1-destaque__principal:hover .l1-destaque__img,
.l1-destaque__secundario:hover .l1-destaque__img {
    transform: scale(1.04);
}

.l1-destaque__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.l1-destaque__cat {
    font-size: var(--l1-badge-destaque-font-size, 10px);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
    background: var(--l1-cor-badge-destaque);
    padding: 2px 7px;
    align-self: flex-start;
    border-radius: 2px;
    text-transform: uppercase;
    line-height: 1.6;
}

/* Título do card PRINCIPAL (grande) — spec: 32px / lh 33px / text-shadow */
.l1-destaque__principal .l1-destaque__titulo {
    color: #fff;
    font-size: var(--l1-destaque-principal-titulo-font-size, 32px);
    line-height: 33px;
    font-weight: 700;
    margin: 0;
    font-family: var(--fonte-principal);
    text-shadow: 0 3px 6px #000000B1;
}

/* Títulos dos cards SECUNDÁRIOS (menores) */
.l1-destaque__secundario .l1-destaque__titulo {
    color: #fff;
    font-size: var(--l1-destaque-sec-titulo-font-size, 18px);
    line-height: 22px;
    font-weight: 700;
    margin: 0;
    font-family: var(--fonte-principal);
    text-shadow: 0 2px 5px rgba(0,0,0,0.7);
}

/* Bloco de Destaque B (1 post grande + 3 posts grade) */
.lb-destaque {
    width: 100%;
    margin-bottom: 0;
}

/* Topo: imagem grande à esquerda + info à direita */
.lb-destaque__topo {
    display: flex;
    gap: 28px;
    align-items: center;
    margin-bottom: 4px;
}

.lb-destaque__img-wrap {
    flex: 0 0 57%;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    text-decoration: none;
    max-width: 57%;
    max-height: 360px;
    aspect-ratio: 16/9;
}
.lb-destaque__img-wrap:not(.has-thumb) {
    background-image: url('../img/wpxminify-full.png');
    background-size: cover;
    background-position: center;
}

.lb-destaque__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    max-width: 100%;
}

.lb-destaque__img-wrap:hover .lb-destaque__img {
    transform: scale(1.04);
}

.lb-destaque__info {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding-top: 0;
}

.lb-destaque__cat {
    display: inline-block;
    font-size: var(--l1-card-cat-font-size, 12px);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--l1-cor-categoria, #F6A91C);
    line-height: 1.4;
    order: 3;
    align-self: flex-start;
}

.lb-destaque__titulo-link {
    text-decoration: none;
    display: block;
    order: 1;
}

.lb-destaque__titulo {
    font-size: var(--l1-destaque-principal-titulo-font-size, 32px);
    line-height: 34px;
    font-weight: 700;
    color: var(--l1-cor-card-titulo, #181818);
    margin: 0;
    font-family: var(--fonte-principal);
    transition: color 0.2s;
}

.lb-destaque__titulo-link:hover .lb-destaque__titulo {
    color: var(--l1-card-titulo-hover, #F6A91C);
}

.lb-destaque__excerpt {
    font-size: var(--l1-card-excerpt-font-size, 17px);
    line-height: 1.55;
    color: var(--l1-cor-excerpt, #555555);
    margin: 0;
    order: 2;
    -webkit-text-stroke: 0.2px currentColor;
}

/* Grade inferior: 3 posts lado a lado */
.lb-destaque__grade {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.lb-destaque__item {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    min-width: 0;
}

.lb-destaque__item-thumb {
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 16/9;
}
.lb-destaque__item-thumb:not(.has-thumb) {
    background-image: url('../img/wpxminify-lg.png');
    background-size: cover;
    background-position: center;
}

.lb-destaque__item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    max-width: 100%;
    min-width: 0;
}

.lb-destaque__item:hover .lb-destaque__item-img {
    transform: scale(1.04);
}

.lb-destaque__item-body {
    padding: 10px 0 6px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.lb-destaque__item-titulo {
    font-size: var(--l1-destaque-sec-titulo-font-size, 18px);
    line-height: 1.35;
    font-weight: 700;
    color: var(--l1-cor-card-titulo, #181818);
    margin: 0;
    font-family: var(--fonte-principal);
    transition: color 0.2s;
}

.lb-destaque__item:hover .lb-destaque__item-titulo {
    color: var(--l1-card-titulo-hover, #F6A91C);
}

/* Layout principal: lista + sidebar */
.l1-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.l1-layout__main {
    flex: 1 1 0;
    min-width: 0;
}

.l1-layout__sidebar {
    flex: 0 0 300px;
    width: 300px;
    min-width: 0;
}

/* Layout sem sidebar: main ocupa 100% */
.l1-layout--sem-sidebar {
    gap: 0;
}

.l1-layout--sem-sidebar .l1-layout__main {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
}

/* Card da lista (horizontal) */
.l1-card {
    display: block;
    border-bottom: 1px solid #e8e8e8;
    padding: 20px 0;
}

.l1-card:first-child {
    padding-top: 0;
}

.l1-card:last-of-type {
    border-bottom: none;
}

.l1-card__link {
    display: flex;
    gap: 18px;
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
}

.l1-card__link:hover .l1-card__titulo {
    color: var(--l1-card-titulo-hover, #F6A91C);
}

.l1-card__thumb {
    flex: 0 0 316px;
    height: auto;
    overflow: hidden;
    border-radius: 8px;
    align-self: flex-start;
    aspect-ratio: 16/9;
}
.l1-card__thumb:not(.has-thumb) {
    background-image: url('../img/wpxminify-lg.png');
    background-size: cover;
    background-position: center;
}

.l1-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
    max-width: 100%;
}

.l1-card__link:hover .l1-card__img {
    transform: scale(1.04);
}

.l1-card__body {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding-top: 2px;
}

.l1-card__cat {
    font-size: var(--l1-card-cat-font-size, 12px);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--l1-cor-categoria);
    text-transform: uppercase;
    line-height: 1;
}

.l1-card__titulo {
    color: var(--l1-cor-card-titulo, #181818);
    font-size: var(--l1-card-titulo-font-size, 22px);
    font-weight: 700;
    line-height: 29px;
    margin: 0;
    font-family: var(--fonte-principal);
    transition: color 0.2s;
}

.l1-card__excerpt {
    font-size: var(--l1-card-excerpt-font-size, 17px);
    color: var(--l1-cor-excerpt);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-text-stroke: 0.2px currentColor;
}

.l1-card__data {
    font-size: var(--l1-card-data-font-size, 12px);
    font-weight: 700;
    color: var(--l1-cor-data);
    margin-top: auto;
    padding-top: 6px;
    display: block;
}

/* Card Modelo B — grade de 4 posts */
.l1-card-b {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.l1-card-b__item {
    min-width: 0;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.l1-card-b__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.l1-card-b__thumb {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 16/9;
}
.l1-card-b__thumb:not(.has-thumb) {
    background-image: url('../img/wpxminify-lg.png');
    background-size: cover;
    background-position: center;
}

.l1-card-b__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    max-width: 100%;
    min-width: 0;
}

.l1-card-b__link:hover .l1-card-b__img {
    transform: scale(1.04);
}

.l1-card-b__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-block;
    font-size: var(--l1-badge-destaque-font-size, 10px);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: var(--l1-cor-badge-destaque, #F6A91C);
    padding: 3px 8px;
    border-radius: 4px;
    line-height: 1.4;
    white-space: nowrap;
    max-width: calc(100% - 20px);
    overflow: hidden;
    text-overflow: ellipsis;
}

.l1-card-b__body {
    padding: 10px 0 6px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.l1-card-b__titulo {
    font-size: var(--l1-card-b-titulo-font-size, 16px);
    line-height: 1.35;
    font-weight: 700;
    color: var(--l1-cor-card-titulo, #181818);
    margin: 0;
    font-family: var(--fonte-principal);
    transition: color 0.2s;
}

.l1-card-b__link:hover .l1-card-b__titulo {
    color: var(--l1-card-titulo-hover, #F6A91C);
}

/* Sidebar "Mais Lidas" */
.l1-sidebar {
    position: sticky;
    top: calc(var(--header-height, 70px) + 16px);
}

.l1-sidebar__header {
    margin-bottom: 10px;
    padding-bottom: 0;
    border-bottom: none;
    position: relative;
}

.l1-sidebar__header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e5e5;
}

.l1-sidebar__titulo {
    font-size: var(--l1-sidebar-titulo-font-size, 18px);
    font-weight: 700;
    color: var(--l1-cor-sidebar-titulo);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
    font-family: var(--fonte-principal);
    padding-bottom: 10px;
    border-bottom: 3px solid var(--l1-cor-sidebar-titulo);
    position: relative;
    z-index: 1;
    display: inline-block;
}

.l1-sidebar__lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* ITEM 1 — imagem + barra escura embaixo */
.l1-sidebar__item--destaque {
    overflow: hidden;
    border-radius: 4px;
    
    padding: 0;
}

.l1-sidebar__item--destaque .l1-sidebar__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #fff;
    min-height: 0;
}

.l1-sidebar__item--destaque .l1-sidebar__thumb-wrap {
    width: 100%;
    height: 140px;
    overflow: hidden;
    flex: none;
}
.l1-sidebar__item--destaque .l1-sidebar__thumb-wrap:not(.has-thumb) {
    background-image: url('../img/wpxminify-full.png');
    background-size: cover;
    background-position: center;
}

.l1-sidebar__item--destaque .l1-sidebar__thumb {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    max-width: 100%;
}

.l1-sidebar__item--destaque:hover .l1-sidebar__thumb {
    transform: scale(1.04);
}

/* Barra sólida escura: num vermelho + título branco */
.l1-sidebar__item--destaque .l1-sidebar__info {
    display: flex;
    align-items: stretch;
    background: var(--l1-cor-sidebar-destaque-bg, #3d2b2b);
    flex: none;
    min-height: 76px;
}

.l1-sidebar__item--destaque .l1-sidebar__num {
    flex: 0 0 36px;
    width: 36px;
    font-size: var(--l1-font-size-num, 1.6rem);
    font-weight: 900;
    color: #fff;
    background: var(--l1-cor-num);
    padding: 10px 4px;
    line-height: 1;
    font-family: var(--fonte-principal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.l1-sidebar__item--destaque .l1-sidebar__item-titulo {
    flex: 1 1 0;
    font-size: var(--l1-font-size-titulo, 0.88rem);
    font-weight: 700;
    line-height: 1.38;
    color: var(--l1-cor-sidebar-destaque-titulo, var(--l1-cor-sidebar-titulo-texto, #fff));
    padding: 10px 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: none;
}

/* ITENS 2+ — num | thumb | título escuro */
.l1-sidebar__item {
    padding: 0;
    border-radius: 4px;
    background: var(--l1-cor-sidebar-item-bg, #595959);
    overflow: hidden;
}

.l1-sidebar__link {
    display: flex;
    align-items: stretch;
    text-decoration: none;
    color: #fff;
    min-height: 76px;
}

.l1-sidebar__link:hover .l1-sidebar__item-titulo {
    opacity: 0.8;
}

.l1-sidebar__num {
    flex: 0 0 36px;
    width: 36px;
    font-size: var(--l1-font-size-num, 1.35rem);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    font-family: var(--fonte-principal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.l1-sidebar__info {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: stretch;
}

.l1-sidebar__thumb-wrap {
    flex: 0 0 90px;
    width: 90px;
    overflow: hidden;
    align-self: flex-start;
    align-self: stretch;
}
.l1-sidebar__thumb-wrap:not(.has-thumb) {
    background-image: url('../img/wpxminify-lg.png');
    background-size: cover;
    background-position: center;
}

.l1-sidebar__thumb {
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    display: block;
    max-width: 100%;
}

.l1-sidebar__item-titulo {
    flex: 1 1 0;
    font-size: var(--l1-font-size-titulo, 0.8rem);
    font-weight: 600;
    line-height: 1.35;
    color: var(--l1-cor-sidebar-titulo-texto, #fff);
    padding: 10px;
    transition: opacity 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.l1-sidebar__excerpt {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255,255,255,0.75);
    padding: 0 10px 8px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.l1-sidebar__vazio {
    font-size: 0.85rem;
    color: #999;
    padding: 10px 0;
}

/* Sidebar Mais Lidas - Layout 2 */

.l2-sidebar {
    position: static
}

.l2-sidebar__header {
    margin-bottom: 10px;
    padding-bottom: 0;
    border-bottom: none;
    position: relative;
}

.l2-sidebar__header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e5e5;
}

.l2-sidebar__titulo {
    font-size: var(--l2-font-size-secao, 1.05rem);
    font-weight: 700;
    color: var(--l2-cor-sidebar-titulo, #1C160C);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
    font-family: var(--fonte-principal);
    padding-bottom: 10px;
    border-bottom: 3px solid var(--l2-cor-sidebar-titulo, #1C160C);
    position: relative;
    z-index: 1;
    display: inline-block;
}

.l2-sidebar__lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.l2-sidebar__item {
    border-bottom: 1px solid var(--l2-cor-item-border, #e5e5e5);
    padding: 0px;
    border-radius: 4px;
}

.l2-sidebar__item:last-child {
    border-bottom: none;
}

.l2-sidebar__link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    padding: 10px 0;
    min-height: 72px;
}

/* Imagem + badge wrapper */
.l2-sidebar__thumb-wrap {
    position: relative;
    flex: 0 0 90px;
    width: 90px;
    height: 68px;
    overflow: hidden;
    border-radius: 4px;
    background: #e0e0e0;
    flex-shrink: 0;
}

.l2-sidebar__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
    max-width: 100%;
}

.l2-sidebar__link:hover .l2-sidebar__thumb {
    transform: scale(1.05);
}

.l2-sidebar__thumb-placeholder {
    width: 100%;
    height: 100%;
    background-image: url('../img/wpxminify-lg.png');
    background-size: cover;
    background-position: center;
}

/* Badge numérico redondo sobre canto superior esquerdo da imagem */
.l2-sidebar__badge {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--l2-cor-badge-bg, #F6A91C);
    color: var(--l2-cor-badge-texto, #fff);
    font-size: var(--l2-font-size-badge, 13px);
    font-weight: 800;
    font-family: var(--fonte-principal);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 1px 4px rgba(0,0,0,.35);
    pointer-events: none;
}

/* Título do artigo */
.l2-sidebar__item-titulo {
    flex: 1 1 0;
    min-width: 0;
    font-size: var(--l2-font-size-titulo, 15px);
    font-weight: 600;
    line-height: 1.38;
    color: var(--l2-cor-titulo-texto, #181818);
    font-family: var(--fonte-principal);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.l2-sidebar__link:hover .l2-sidebar__item-titulo {
    color: var(--l2-cor-titulo-hover, #F6A91C);
}

.l2-sidebar__vazio {
    font-size: 0.85rem;
    color: #999;
    padding: 10px 0;
}

/* Widgets da Sidebar (abaixo das Mais Lidas) */
.l1-sidebar-widgets {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.l1-sidebar-widget {
    width: 100%;
    box-sizing: border-box;
    font-family: var(--fonte-principal);
    font-size: var(--l1-font-size-titulo, 0.8rem);
    color: var(--cor-texto, #333);
}

/* Wrapper do titulo — mesmo padrao do .l1-sidebar__header */
.l1-sidebar-widget__titulo-wrap {
    margin-bottom: 10px;
    padding-bottom: 0;
    border-bottom: none;
    position: relative;
}

.l1-sidebar-widget__titulo-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e5e5;
}

/* Titulo do widget — identico ao .l1-sidebar__titulo */
.l1-sidebar-widget__titulo {
    font-size: var(--l1-sidebar-titulo-font-size, 18px);
    font-weight: 700;
    color: var(--l1-cor-sidebar-titulo);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--l1-cor-sidebar-titulo);
    font-family: var(--fonte-principal);
    display: inline-block;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

/* Listas (Categorias, Arquivos, Páginas, Links, etc.) */
.l1-sidebar-widget ul,
.l1-sidebar-widget ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.l1-sidebar-widget ul li,
.l1-sidebar-widget ol li {
    padding: 7px 0;
    border-bottom: 1px solid #e8e8e8;
    font-size: var(--l1-font-size-titulo, 0.8rem);
    font-weight: 600; 
    font-family: var(--fonte-principal);
    line-height: 1.35;
    color: var(--cor-texto, #333);
}

.l1-sidebar-widget ul li:last-child,
.l1-sidebar-widget ol li:last-child {
    border-bottom: none;
}

/* Contador de posts nos widgets de Categorias/Arquivos */
.l1-sidebar-widget ul li .post-count,
.l1-sidebar-widget ul li span {
    font-family: var(--fonte-principal);
    font-size: var(--l1-font-size-titulo, 0.8rem);
    font-weight: 400;
    color: #999;
}

/* Links */
.l1-sidebar-widget a {
    color: var(--cor-texto, #333);
    text-decoration: none;
    font-family: var(--fonte-principal);
    font-size: var(--l1-font-size-titulo, 0.8rem);
    font-weight: 600;
    transition: color 0.2s;
}

.l1-sidebar-widget a:hover {
    color: var(--l1-cor-sidebar-titulo, #1C160C);
}

/* Imagens */
.l1-sidebar-widget img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Parágrafos (widget Texto) */
.l1-sidebar-widget p {
    font-size: var(--l1-font-size-titulo, 0.8rem);
    font-weight: 600;
    font-family: var(--fonte-principal);
    line-height: 1.55;
    color: var(--cor-texto, #333);
    margin: 0 0 8px;
}

.l1-sidebar-widget p:last-child {
    margin-bottom: 0;
}

/* Widget Calendário */
.l1-sidebar-widget .wp-calendar-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--fonte-principal);
    font-size: var(--l1-font-size-titulo, 0.8rem);
    color: var(--cor-texto, #333);
}

.l1-sidebar-widget .wp-calendar-table caption {
    font-family: var(--fonte-principal);
    font-size: var(--l1-sidebar-titulo-font-size, 1.05rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--cor-texto, #333);
    margin-bottom: 6px;
    caption-side: top;
    text-align: center;
}

.l1-sidebar-widget .wp-calendar-table th {
    font-family: var(--fonte-principal);
    font-size: var(--l1-font-size-titulo, 0.8rem);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--cor-texto, #333);
    padding: 4px 2px;
    text-align: center;
}

.l1-sidebar-widget .wp-calendar-table td {
    font-family: var(--fonte-principal);
    font-size: var(--l1-font-size-titulo, 0.8rem);
    text-align: center;
    padding: 4px 2px;
    color: var(--cor-texto, #333);
}

.l1-sidebar-widget .wp-calendar-table td a {
    font-family: var(--fonte-principal);
    font-size: var(--l1-font-size-titulo, 0.8rem);
    font-weight: 700;
    color: var(--l1-cor-sidebar-titulo, #1C160C);
}

.l1-sidebar-widget .wp-calendar-table td a:hover {
    color: var(--l1-cor-sidebar-titulo, #1C160C);
    text-decoration: underline;
}

.l1-sidebar-widget .wp-calendar-nav {
    display: flex;
    justify-content: space-between;
    font-family: var(--fonte-principal);
    font-size: var(--l1-font-size-titulo, 0.8rem);
    font-weight: 600;
    margin-top: 6px;
}

.l1-sidebar-widget .wp-calendar-nav a {
    font-family: var(--fonte-principal);
    font-size: var(--l1-font-size-titulo, 0.8rem);
    font-weight: 600;
    color: var(--l1-cor-sidebar-titulo, #1C160C);
}

/* Widget Pesquisa */
.l1-sidebar-widget .search-form {
    display: flex;
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
}

.l1-sidebar-widget .search-field {
    flex: 1 1 0;
    font-family: var(--fonte-principal);
    font-size: var(--l1-font-size-titulo, 0.8rem);
    font-weight: 600;
    padding: 7px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: var(--cor-texto, #333);
    box-sizing: border-box;
    background: #fff;
}

.l1-sidebar-widget .search-submit {
    font-family: var(--fonte-principal);
    font-size: var(--l1-font-size-titulo, 0.8rem);
    font-weight: 700;
    padding: 7px 12px;
    background: var(--l1-cor-sidebar-titulo, #1C160C);
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    white-space: nowrap;
}

.l1-sidebar-widget .search-submit:hover {
    opacity: 0.88;
}

/* Widget Nuvem de Tags */
.l1-sidebar-widget .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.l1-sidebar-widget .tagcloud a {
    font-family: var(--fonte-principal) !important;
    font-size: var(--l1-font-size-titulo, 0.8rem) !important;
    font-weight: 600 !important;
    color: var(--cor-texto, #333);
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 3px 8px;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
}

.l1-sidebar-widget .tagcloud a:hover {
    background: var(--l1-cor-sidebar-titulo, #1C160C);
    color: #fff;
    border-color: var(--l1-cor-sidebar-titulo, #1C160C);
}

/* Widget Posts Recentes — meta (data/autor) */
.l1-sidebar-widget .post-date {
    display: block;
    font-family: var(--fonte-principal);
    font-size: var(--l1-font-size-titulo, 0.8rem);
    font-weight: 400;
    color: #999;
    margin-top: 2px;
}

/* Segurança de anúncios dentro dos widgets */
.l1-sidebar-widget ins.adsbygoogle,
.l1-sidebar-widget [class*="adsbygoogle"],
.l1-sidebar-widget [id*="google_ads"],
.l1-sidebar-widget [id*="div-gpt-ad"] {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Proteção Contra Anúncios Automáticos (Auto Ads / AdSense) */
 
/* — Header (todas as variantes) — */
.header ins.adsbygoogle,
.header [class*="adsbygoogle"],
.header [id*="google_ads"],
.header [id*="div-gpt-ad"],
.header__container ins.adsbygoogle,
.header__container [class*="adsbygoogle"],
.header__nav-bar ins.adsbygoogle,
.header__nav-bar [class*="adsbygoogle"],
.header__nav--mobile ins.adsbygoogle,
.header__nav--overlay ins.adsbygoogle,
.header__submenu ins.adsbygoogle,
 
/* — Menus e navegação — */
.header__menu ins.adsbygoogle,
.header__menu [class*="adsbygoogle"],
.footer__menu ins.adsbygoogle,
.footer__menu [class*="adsbygoogle"],
.footer__nav ins.adsbygoogle,
.footer__nav [class*="adsbygoogle"],
 
/* — Rodapé estrutural — */
.footer ins.adsbygoogle,
.footer [class*="adsbygoogle"],
.footer [id*="google_ads"],
.footer [id*="div-gpt-ad"],
.footer__body ins.adsbygoogle,
.footer__body [class*="adsbygoogle"],
.footer__bottom ins.adsbygoogle,
.footer__bottom [class*="adsbygoogle"],
.footer__col ins.adsbygoogle,
.footer__col [class*="adsbygoogle"],
.footer__socials ins.adsbygoogle,
.footer__socials [class*="adsbygoogle"],
 
/* — Widgets do rodapé — */
.footer-widget ins.adsbygoogle,
.footer-widget [class*="adsbygoogle"],
.footer-widget [id*="google_ads"],
 
/* — Breadcrumb — */
.single-post__breadcrumb ins.adsbygoogle,
.single-post__breadcrumb [class*="adsbygoogle"],
 
/* — Meta bar (autor, data) — */
.single-post__meta-bar ins.adsbygoogle,
.single-post__meta-bar [class*="adsbygoogle"],
 
/* — Barra de compartilhamento — */
.single-post__share--mobile ins.adsbygoogle,
.single-post__share--desktop ins.adsbygoogle,
.single-post__share-wrap ins.adsbygoogle,
 
/* — Seção de posts relacionados — */
.single-post__related ins.adsbygoogle,
.single-post__related [class*="adsbygoogle"],
.single-post__related-grid ins.adsbygoogle,
 
/* — Seção de tags — */
.single-post__tags ins.adsbygoogle,
.single-post__tags [class*="adsbygoogle"],
 
/* — Comentários — */
.single-post__comments ins.adsbygoogle,
.single-post__comments [class*="adsbygoogle"],
.single-post__comments-respond ins.adsbygoogle,
.single-post__comments-respond [class*="adsbygoogle"],
 
/* — Cards e layouts de listagem — */
.card ins.adsbygoogle,
.card [class*="adsbygoogle"],
.lb-destaque ins.adsbygoogle,
.lb-destaque [class*="adsbygoogle"],
.lb-mais-lidas ins.adsbygoogle,
.lb-mais-lidas [class*="adsbygoogle"],
.l1-card ins.adsbygoogle,
.l1-card [class*="adsbygoogle"],
.l1-card-b ins.adsbygoogle,
.l1-card-b [class*="adsbygoogle"],
.l1-destaque ins.adsbygoogle,
.l1-destaque [class*="adsbygoogle"],
 
/* — Paginação — */
.pagination ins.adsbygoogle,
.pagination [class*="adsbygoogle"],
 
/* — Botão voltar ao topo — */
.back-to-top ins.adsbygoogle,
.back-to-top [class*="adsbygoogle"],
 
/* — Lightbox de galeria — */
.wpxm-lb ins.adsbygoogle,
.wpxm-lb [class*="adsbygoogle"] {
    /* Colapsa o elemento sem remover do DOM (o AdSense precisa do nó).
       overflow:hidden impede que o conteúdo vaze para fora do container. */
    max-height: 0 !important;
    max-width: 0 !important;
    overflow: hidden !important;
    /* Garante que não ocupe espaço no fluxo do documento */
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    /* Mantém display:block exigido pelo AdSense para inicializar */
    display: block !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Proteção contra elementos ocultos com aria-hidden="true". */
.header__nav--mobile iframe,
.header__nav--overlay iframe,
.header__search-modal iframe {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* Paginação */
.l1-paginacao {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.l1-paginacao .page-numbers {
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
    flex-wrap: wrap;
}

.l1-paginacao .page-numbers li {
    margin: 0;
}

.l1-paginacao .page-numbers a,
.l1-paginacao .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    font-size: var(--pag-font-size, 16px);
    font-weight: 600;
    border: 1px solid #dde1e7;
    border-radius: 4px;
    text-decoration: none;
    color: #444;
    background: #fff;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.l1-paginacao .page-numbers a:hover {
    background: var(--pag-cor-bg, #F6A91C);
    color: var(--pag-cor-texto, #fff);
    border-color: var(--pag-cor-bg, #F6A91C);
}

.l1-paginacao .page-numbers .current {
    background: var(--pag-cor-bg, #F6A91C);
    color: var(--pag-cor-texto, #fff);
    border-color: var(--pag-cor-bg, #F6A91C);
}

.l1-paginacao .page-numbers .dots {
    border: none;
    background: none;
    color: #999;
}

/* Sem posts */

/* Search Page */
.search-page__header {
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
}

.search-page__titulo {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.search-page__term {
    color: var(--cor-destaque, #5d69be);
    font-weight: 700;
}

.search-page__count {
    font-size: 13px;
    color: #888;
    white-space: nowrap;
    margin-left: auto;
}

.search-page__form {
    margin: 16px 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Formulário da página de busca: classes BEM próprias */
.search-page__form-inner {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,.16);
    background: #fff;
    overflow: hidden;
    padding: 0 8px 0 4px;
}

.search-page__form-input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    font-size: 1rem;
    border: none;
    border-radius: 0;
    outline: none;
    background: #fff;
    color: #1e293b;
    font-family: var(--fonte-principal);
    -webkit-appearance: none;
    appearance: none;
}

.search-page__form-input::placeholder {
    color: #94a3b8;
}

.search-page__form-input:focus {
    outline: none;
    box-shadow: none;
}

.search-page__form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: #475569;
    cursor: pointer;
    transition: color 0.15s;
}

.search-page__form-submit:hover,
.search-page__form-submit:focus {
    color: #1e293b;
    background: transparent;
    outline: none;
}

.search-page__no-results {
    padding: 16px 0 32px;
    text-align: center;
}

.search-page__no-results .l1-sem-posts {
    text-align: center;
}

/* Responsivo: tablet */
@media (max-width: 1023px) {
    .search-page__sidebar {
        display: none;
    }
}

/* Responsivo: mobile */
@media (max-width: 767px) {
    .search-page__sidebar {
        display: none;
    }
    .search-page__header {
        flex-wrap: nowrap;
        align-items: flex-start;
        margin-bottom: 36px;
    }
    .search-page__count {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        margin-top: 8px;
        text-align: center;
        width: 100%;
    }
}


.l1-sem-posts {
    padding: 30px 0;
    color: #666;
}

/* Paginação: Numérica Jornal */
.l1-paginacao--jornal {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
}

.l1-pag-jornal__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 20px;
    line-height: 1;
    color: #888;
    text-decoration: none;
    border: none;
    background: none;
    transition: color 0.2s;
}

.l1-pag-jornal__arrow:hover {
    color: var(--pag-cor-bg, #F6A91C);
}

.l1-pag-jornal__arrow--disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.l1-pag-jornal__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 32px;
    padding: 0 4px;
    font-size: var(--pag-font-size, 16px);
    font-weight: 600;
    color: #333;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.l1-pag-jornal__num:hover {
    color: var(--pag-cor-bg, #F6A91C);
    border-bottom-color: var(--pag-cor-bg, #F6A91C);
}

.l1-pag-jornal__num--current {
    color: var(--pag-cor-bg, #F6A91C);
    border-bottom-color: var(--pag-cor-bg, #F6A91C);
    cursor: default;
}

.l1-pag-jornal__dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 32px;
    font-size: 0.85rem;
    color: #999;
}

/* Paginação: Botão AJAX */
.l1-paginacao--ajax {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.l1-mais-btn,
.game-load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 36px;
    background: var(--pag-cor-bg, #F6A91C);
    color: var(--pag-cor-texto, #ffffff);
    border: none;
    border-radius: 6px;
    font-size: var(--pag-font-size, 16px);
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
}

.l1-mais-btn:hover,
.game-load-more-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.l1-mais-btn:active,
.game-load-more-btn:active {
    transform: translateY(0);
}

.l1-mais-btn--loading {
    opacity: 0.7;
    pointer-events: none;
}

.l1-mais-btn__spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: wpxm-spin 0.7s linear infinite;
}

.l1-mais-btn--loading .l1-mais-btn__spinner {
    display: inline-block;
}

@keyframes wpxm-spin {
    to { transform: rotate(360deg); }
}

/* Publicidade */
.wpxm-ad {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    line-height: normal;
}

/* Anúncio abaixo do bloco de destaque na homepage */
.wpxm-ad--home-destaque {
    margin-bottom: 28px;
}

/* Anúncio abaixo do Player de Jogo (acima da barra de ações) */
.wpxm-ad--single-player {
    margin-bottom: 20px;
}

/* Anúncio abaixo da Sidebar Mais Lidas */
.wpxm-ad--single-sidebar {
    width: 100%;
}

/* Anúncio abaixo do Card de Informações/Specs */
.wpxm-ad--single-specs {
    width: 100%;
}

.wpxm-ad ins,
.wpxm-ad iframe,
.wpxm-ad img {
    /* height:auto removido — o AdSense define height via inline style;*/
}

/* Responsividade Layout 1 */

/* Tablet: 768px–1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .lb-destaque__topo {
        gap: 18px;
    }
    .lb-destaque__titulo {
        font-size: 22px;
        line-height: 28px;
    }
    .lb-destaque__excerpt {
        font-size: 15px;
    }
    .lb-destaque__item-titulo {
        font-size: 18px;
        line-height: 24px;
    }
    .l1-layout {
        flex-direction: column;
        gap: 24px;
    }
    .l1-layout__main {
        width: 100%;
    }
    .l1-layout__sidebar {
        flex: none;
        width: 100%;
        position: static;
    }
    .l1-sidebar__sticky-wrap {
        position: static;
    }
    .l1-sidebar {
        position: static;
    }
    .l1-sidebar__lista {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .l1-sidebar__item--destaque {
        grid-column: 1 / -1;
    }
    .l1-sidebar__item--destaque .l1-sidebar__thumb-wrap {
        height: 260px;
    }
    .l2-sidebar {
        position: static;
    }
    .l2-sidebar__lista {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
    .l2-sidebar__item {
        border-bottom: 1px solid var(--l2-cor-item-border, #e5e5e5);
    }
    .l1-card__thumb {
        flex: 0 0 270px;
        width: 270px;
        height: auto;
    }
    .l1-card__titulo {
        font-size: 18px;
        line-height: 24px;
    }
    .l1-destaque {
        height: 340px;
    }
    .l1-destaque__principal .l1-destaque__titulo {
        font-size: 24px;
        line-height: 28px;
    }
    .l1-card-b {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .l1-card-b__titulo {
        font-size: 18px;
    }
}

/* Mobile: até 767px */
@media (max-width: 767px) {
    .lb-destaque {
        display: none;
    }
    .l1-destaque-wrapper {
        display: none;
    }
    .l1-destaque-mobile-cards {
        display: block;
    }
    .l1-layout {
        flex-direction: column;
        gap: 24px;
    }
    .l1-layout__sidebar {
        flex: none;
        width: 100%;
        order: -1;
        position: static;
    }
    .l1-sidebar__sticky-wrap {
        position: static;
    }
    .l1-sidebar__sticky-wrap {
        position: static;
    }
    .l1-layout__main {
        width: 100%;
    }
    .l1-sidebar__item--destaque .l1-sidebar__thumb-wrap {
        height: 200px;
    }
    .l2-sidebar {
        position: static;
    }
    .l2-sidebar__thumb-wrap {
        flex: 0 0 80px;
        width: 80px;
        height: 60px;
    }
    .l1-card__thumb {
        flex: 0 0 165px;
        width: 165px;
        height: 110px;
    }
    .l1-card__titulo {
        font-size: 18px;
        line-height: 21px;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .l1-card__excerpt {
        display: none;
    }
    .l1-card-b {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .l1-card-b__item {
        border-bottom: 1px solid #e8e8e8;
        padding: 20px 0;
    }
    .l1-card-b__item:first-child {
        padding-top: 0;
    }
    .l1-card-b__item:last-child {
        border-bottom: none;
    }
    .l1-card-b__body {
        padding: 7px 0 0;
    }
    .l1-card-b__titulo {
        font-size: 18px;
    }
    .l1-layout--paginado .l1-layout__sidebar {
        display: none;
    }
}

/* Segurança de anúncios: adstags nunca expandem o layout */
ins.adsbygoogle,
[class*="adsbygoogle"],
[id*="google_ads"],
[id*="div-gpt-ad"] {
    display: block !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
 
/* Blocos Gutenberg */
.wp-block,
.wp-block-group,
.wp-block-columns,
.wp-block-column,
.wp-block-group__inner-container,
.entry-content > * {
    box-sizing: border-box;
    max-width: 100%;
}

/* Tag Page */

/* Cabeçalho: título + botão RSS */
.tag-page__header {
    margin-top: 32px;
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: none;
    position: relative;
}
.tag-page__header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e5e5;
    z-index: 0;
}
/* Sobrescreve display do título para border-bottom apenas sob o texto */
.tag-page__titulo {
    display: inline-block;
    width: fit-content;
    position: relative;
    z-index: 1;
}
.tag-page__feed-btn {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--l1-cor-titulo, #1C160C);
    color: #fff;
    text-decoration: none;
    transition: opacity .2s;
    z-index: 1;
}
.tag-page__feed-btn svg {
    fill: #fff;
    display: block;
}
.tag-page__feed-btn:hover {
    opacity: .82;
    text-decoration: none;
}

/* Tags relacionadas */
.tag-page__related-tags {
    margin-bottom: 28px;
}
.tag-page__related-tags-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
/* Exibe apenas os 3 primeiros itens */
.tag-page__related-tags-item:nth-child(n+4) {
    display: none;
}
.tag-page__related-tags-item {
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}
.tag-page__related-tags-link {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 25px;
    border: none;
    background: #fff;
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0,0,0,.16);
}

/* Espaçamento: destaque → header (desktop) */
.tag-page .l1-destaque-wrapper {
    margin-bottom: 0;
}
.tag-page .tag-page__header {
    margin-top: 20px;
}

/* Responsivo: tablet */
@media (max-width: 1023px) {
    .tag-page__sidebar {
        display: none;
    }
}

/* Responsivo: mobile */
@media (max-width: 767px) {
    .tag-page__sidebar {
        display: none;
    }
    .tag-page .l1-destaque-mobile-cards .l1-card:last-of-type {
        padding-bottom: 0;
    }
    .tag-page .tag-page__header {
        margin-top: 20px;
    }
}

/* Category Page */

/* Cabeçalho: título + botão RSS */
.category-page__header {
    margin-top: 32px;
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: none;
    position: relative;
}
.category-page__header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e5e5;
    z-index: 0;
}
/* Sobrescreve display do título para border-bottom apenas sob o texto */
.category-page__titulo {
    display: inline-block;
    width: fit-content;
    position: relative;
    z-index: 1;
}
.category-page__feed-btn {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--l1-cor-titulo, #1C160C);
    color: #fff;
    text-decoration: none;
    transition: opacity .2s;
    z-index: 1;
}
.category-page__feed-btn svg {
    fill: #fff;
    display: block;
}
.category-page__feed-btn:hover {
    opacity: .82;
    text-decoration: none;
}

/* Categorias relacionadas */
.category-page__related-cats {
    margin-bottom: 28px;
}
.category-page__related-cats-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
/* Exibe apenas os 3 primeiros itens */
.category-page__related-cats-item:nth-child(n+4) {
    display: none;
}
.category-page__related-cats-item {
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}
.category-page__related-cats-link {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 25px;
    border: none;
    background: #fff;
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0,0,0,.16);
}

/* Espaçamento: destaque → header (desktop) */
.category-page .l1-destaque-wrapper {
    margin-bottom: 0;
}
.category-page .category-page__header {
    margin-top: 20px;
}

/* Responsivo: tablet */
@media (max-width: 1023px) {
    .category-page__sidebar {
        display: none;
    }
}

/* Responsivo: mobile */
@media (max-width: 767px) {
    .category-page__sidebar {
        display: none;
    }
    .category-page .l1-destaque-mobile-cards .l1-card:last-of-type {
        padding-bottom: 0;
    }
    .category-page .category-page__header {
        margin-top: 20px;
    }
}

/* Single Post */

article.single-post {
    background: #fff;
}

body.single,
body.single-post {
    background-color: var(--game-bg-main, #FBF1D8) !important;
}

/* Cabeçalho */
.single-post__header {
    background: #fff;
    padding: 28px 0 0;
}

/* Badge de categoria */
.single-post__category {
    margin-bottom: 10px;
}
.single-post__category-link {
    display: inline-block;
    background: var(--l1-cor-badge-destaque, #F6A91C);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
    text-decoration: none;
    line-height: 1.6;
}

/* Título H1 */
.single-post__title {
    font-family: var(--fonte-principal);
    font-size: var(--single-fs-title, 34px);
    font-weight: var(--fonte-peso-titulo, 700);
    color: var(--single-cor-title, #181818);
    line-height: 1.25;
    margin: 0 0 16px;
    word-break: break-word;
}

/* Subtítulo / Resumo */
.single-post__subtitle {
    margin: 0 0 18px;
}
.single-post__subtitle-text {
    font-size: var(--single-fs-subtitle, 18px);
    color: var(--single-cor-secondary-text, #666666);
    line-height: 1.55;
    margin: 0;
    font-weight: 400;
    -webkit-text-stroke: 0.2px currentColor;
}

/* Breadcrumb */
.single-post__breadcrumb {
    margin-bottom: 10px;
}
.single-post__breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
    align-items: center;
}
.single-post__breadcrumb-item {
    font-size: var(--single-fs-breadcrumb, 13px);
    color: var(--single-cor-secondary-text, #666666);
}
.single-post__breadcrumb-item--sep {
    color: #94a3b8;
    user-select: none;
}
.single-post__breadcrumb-item--current {
    color: var(--single-cor-secondary-text, #666666);
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    max-width: none;
    word-break: break-word;
}
.single-post__breadcrumb-link {
    color: var(--single-cor-secondary-text, #666666);
    text-decoration: none;
}
.single-post__breadcrumb-link:hover {
    text-decoration: underline;
}

/* Linha separadora */
.single-post__divider {
    border: none;
    border-top: 1px solid var(--single-cor-divider, #e5e7eb);
    
}
.single-post__divider--header {
    margin-bottom: 5px;
}
.single-post__divider--meta {
    margin-top: 0px;
    margin-bottom: 15px;
}

/* Barra meta: autor + data + share desktop */
.single-post__meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
    padding-bottom: 12px;
}
.single-post__meta-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    flex-shrink: 1;
    min-width: 0;
    font-size: var(--single-fs-meta, 14px);
    color: var(--single-cor-meta, #64748b);
}
/* Link do autor na meta-bar do single */
.single-post__author-link {
    color: var(--single-cor-meta, #64748b);
    font-weight: 600;
    text-decoration: none;
    text-underline-offset: 2px;
}
.single-post__author-link:hover {
    color: var(--single-cor-link, #004aad);
}
.single-post__date-sep {
    color: #cbd5e1;
}
.single-post__date {
    color: var(--single-cor-meta, #64748b);
}

/* Card flutuante do autor (tooltip hover no single) */
.single-post__author-wrap {
    position: relative;
    display: inline-block;
}
/* Ponte invisível: cobre o gap entre link e card para não quebrar o hover */
.single-post__author-wrap::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 18px;
    display: block;
}
.single-post__author-card {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    transform: translateY(6px);
    z-index: 999;
    width: 300px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,.15);
    padding: 24px 20px 18px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease .05s, transform .2s ease .05s, visibility .2s ease .05s;
    box-sizing: border-box;
    text-align: center;
}
.single-post__author-wrap:hover .single-post__author-card,
.single-post__author-wrap:focus-within .single-post__author-card,
.single-post__author-wrap--open .single-post__author-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

/* Seta decorativa: aponta para o nome do autor (canto esquerdo) */
.single-post__author-card::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 24px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid #e5e7eb;
    border-top: 1px solid #e5e7eb;
    transform: rotate(45deg);
}

/* Layout interno: tudo empilhado e centralizado */
.single-post__author-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* top agora é só o avatar, centralizado */
.single-post__author-card-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.single-post__author-card-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #f1f5f9;
    display: block;
}

/* meta: nome + bio, centralizado */
.single-post__author-card-meta {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.single-post__author-card-name {
    font-family: var(--fonte-principal);
    font-size: 15px;
    font-weight: 700;
    color: #181818;
    text-decoration: none;
    line-height: 1.3;
    display: block;
    text-align: center;
}
.single-post__author-card-name:hover {
    color: var(--single-cor-link, #004aad);
}
.single-post__author-card-bio {
    font-family: var(--fonte-principal);
    font-size: 12px;
    color: #4b5563;
    line-height: 1.55;
    margin: 0;
    text-align: center;
}

/* Redes sociais do card: centralizadas */
.single-post__author-card-socials {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
    width: 100%;
}
.single-post__author-card-socials-item {
    margin: 0;
    padding: 0;
}
.single-post__author-card-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    transition: background .2s ease, transform .2s ease;
    text-decoration: none;
}
.single-post__author-card-social-link:hover {
    background: #181818;
    transform: translateY(-2px);
}
.single-post__author-card-social-link svg {
    width: 15px;
    height: 15px;
    fill: #4b5563;
    display: block;
    transition: fill .2s ease;
}
.single-post__author-card-social-link:hover svg {
    fill: #fff;
}
/* Cores por rede */
.single-post__author-card-social-link--twitter:hover  { background: #000; }
.single-post__author-card-social-link--instagram:hover { background: #e1306c; }
.single-post__author-card-social-link--facebook:hover  { background: #1877f2; }
.single-post__author-card-social-link--linkedin:hover  { background: #0a66c2; }
.single-post__author-card-social-link--youtube:hover   { background: #ff0000; }
.single-post__author-card-social-link--website:hover   { background: #181818; }
/* Responsivo mobile: já está ancorado à esquerda, só ajusta largura se necessário */
@media (max-width: 480px) {
    .single-post__author-card {
        width: 270px;
    }
}

/* Página de Autor - BEM | AdSense-safe | Responsivo */

/* Box geral do autor */
.author-page__box {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px 32px;
    margin-bottom: 32px;
    box-sizing: border-box;
}

/* Avatar com box-shadow destacado */
.author-page__avatar-wrap {
    flex-shrink: 0;
}
.author-page__avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid #f1f5f9;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .18), 0 2px 8px rgba(0, 0, 0, .10);
}

/* Info: nome, bio, redes, contador */
.author-page__info {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.author-page__name {
    font-family: var(--fonte-principal);
    font-size: 1.35rem;
    font-weight: 700;
    color: #181818;
    margin: 0;
    line-height: 1.25;
}
.author-page__bio {
    font-family: var(--fonte-principal);
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* Redes sociais */
.author-page__socials {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.author-page__socials-item {
    margin: 0;
    padding: 0;
}
.author-page__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    transition: background .2s ease, transform .2s ease;
    text-decoration: none;
}
.author-page__social-link:hover {
    background: #181818;
    transform: translateY(-2px);
}
.author-page__social-link svg {
    width: 16px;
    height: 16px;
    fill: #4b5563;
    display: block;
    transition: fill .2s ease;
}
.author-page__social-link:hover svg {
    fill: #fff;
}
/* Cores individuais por rede social */
.author-page__social-link--twitter:hover   { background: #000; }
.author-page__social-link--instagram:hover { background: #e1306c; }
.author-page__social-link--facebook:hover  { background: #1877f2; }
.author-page__social-link--linkedin:hover  { background: #0a66c2; }
.author-page__social-link--youtube:hover   { background: #ff0000; }
.author-page__social-link--website:hover   { background: #181818; }

/* Contador de publicações */
.author-page__count {
    font-size: 12px;
    color: #888;
    font-family: var(--fonte-principal);
}

/* Sidebar */
@media (max-width: 1023px) {
    .author-page__sidebar {
        display: none;
    }
}
@media (max-width: 767px) {
    .author-page__sidebar {
        display: none;
    }
}

/* Estado vazio */
.author-page__no-results {
    padding: 16px 0 32px;
    text-align: center;
}

/* Responsivo: tablet */
@media (max-width: 1023px) {
    .author-page__box {
        padding: 22px 24px;
        gap: 22px;
    }
    .author-page__avatar {
        width: 100px;
        height: 100px;
    }
}

/* Responsivo: mobile */
@media (max-width: 767px) {
    .author-page__box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
        gap: 16px;
        margin-bottom: 24px;
    }
    .author-page__avatar {
        width: 90px;
        height: 90px;
    }
    .author-page__info {
        align-items: center;
    }
    .author-page__socials {
        justify-content: center;
    }
    .author-page__name {
        font-size: 1.15rem;
    }
}

/* Share mobile — aparece acima do breadcrumb em mobile */
.single-post__share--mobile {
    display: none;
    margin-bottom: 14px;
}
.single-post__share--desktop {
    display: flex;
    flex-shrink: 0;
    align-items: center;
}

/* Share wrap — contém o bloco "Siga-nos" + lista de botões */
.single-post__share-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    min-width: 0;
}

/* Bloco "Siga-nos + ícone gnews" — sem borda/fundo, texto puro + ícone */
.single-post__share-follow {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}
.single-post__share-follow:hover .single-post__share-follow-icon {
    opacity: .8;
}
.single-post__share-follow-label {
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .04em;
    align-self: center;
}

.single-post__share-follow-icon {
    width: 120px;
    height: auto;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
    transition: opacity 0.15s;
    align-self: center;
    margin-bottom: 5px;
}

/* Divisor | entre gnews e botões de share */
.single-post__share-divider {
    width: 1px;
    height: 24px;
    background: #cbd5e1;
    flex-shrink: 0;
    align-self: center;
}

/* Share list */
.single-post__share-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    flex-shrink: 0;
}
.single-post__share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.15s, opacity 0.15s;
    flex-shrink: 0;
}
.single-post__share-btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    display: block;
    flex-shrink: 0;
}
.single-post__share-btn:hover {
    transform: scale(1.08);
    opacity: .9;
}
.single-post__share-btn--facebook { background: #1877f2; }
.single-post__share-btn--whatsapp { background: #25d366; }
.single-post__share-btn--twitter  { background: #000; }
.single-post__share-btn--native {
    background: #000;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* Responsividade do share - ícones e gnews escalam para caber em uma linha */

/* Tablet com sidebar (641px–1024px): oculta "SIGA-NOS" para ganhar espaço */
@media (min-width: 641px) and (max-width: 1024px) {
    .single-post__share-follow-label { display: none; }
}

/* Tablet estreito / mobile grande (≤ 480px) */
@media (max-width: 480px) {
    .single-post__share-wrap { gap: 7px; }
    .single-post__share-list  { gap: 7px; }
    .single-post__share-follow-icon { width: 108px; }
    .single-post__share-follow-label { font-size: 12px; }
    .single-post__share-btn {
        width: 36px;
        height: 36px;
    }
    .single-post__share-btn svg {
        width: 17px;
        height: 17px;
    }
}

/* Mobile médio — iPhone SE, Galaxy S, etc. (≤ 390px) */
@media (max-width: 390px) {
    .single-post__share-wrap { gap: 5px; }
    .single-post__share-list  { gap: 5px; }
    .single-post__share-follow-icon  { width: 86px; }
    .single-post__share-follow-label { font-size: 11px; }
    .single-post__share-btn {
        width: 33px;
        height: 33px;
    }
    .single-post__share-btn svg {
        width: 15px;
        height: 15px;
    }
    .single-post__share-divider { height: 20px; }
}

/* Mobile pequeno (≤ 340px) */
@media (max-width: 340px) {
    .single-post__share-wrap { gap: 4px; }
    .single-post__share-list  { gap: 4px; }
    .single-post__share-follow-icon  { width: 76px; }
    .single-post__share-follow-label { font-size: 10px; }
    .single-post__share-btn {
        width: 30px;
        height: 30px;
    }
    .single-post__share-btn svg {
        width: 14px;
        height: 14px;
    }
    .single-post__share-divider { height: 18px; }
}

/* Imagem Destaque */
.single-post__thumbnail-wrap {
    background: #fff;
    padding: 0 0 20px;
    
}
.single-post__thumbnail {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    object-fit: cover;
}
.single-post__thumbnail-caption {
    font-size: var(--single-fs-caption, 13px);
    color: var(--single-cor-secondary-text, #666666);
    text-align: center;
    margin: 8px 0 0;
    font-style: italic;
}

/* Corpo do Artigo */
.single-post__body {
    background: #fff;
    padding: 8px 0 32px;
}

/* Typography reset para o conteúdo editorial */
.single-post__content {
    font-size: var(--single-fs-body, 17px);
    color: var(--single-cor-body, #181818);
    line-height: 1.7;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    min-width: 0;
}

/* Parágrafos */
.single-post__content p {
    margin: 0 0 1.1em;
    font-size: var(--single-fs-body, 18px);
    color: var(--single-cor-body, #181818);
    line-height: 1.7;
    -webkit-text-stroke: 0.2px currentColor;
}

/* Links */
.single-post__content a {
    color: var(--single-cor-link, #004aad);
    text-decoration: none;
    text-underline-offset: 2px;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.single-post__content a:hover {
    color: var(--single-cor-link-hover, #0553ef);
}

/* Headings */
.single-post__content h2 {
    font-size: var(--single-fs-h2, 26px);
    color: var(--single-cor-h2, #181818);
    font-weight: 700;
    line-height: 1.3;
    margin: 1.2em 0 .6em;
    font-family: var(--fonte-principal);
}
.single-post__content h3 {
    font-size: var(--single-fs-h3, 22px);
    color: var(--single-cor-h3, #181818);
    font-weight: 700;
    line-height: 1.35;
    margin: 1em 0 .5em;
    font-family: var(--fonte-principal);
}
.single-post__content h4 {
    font-size: var(--single-fs-h4, 19px);
    color: var(--single-cor-h3, #181818);
    font-weight: 700;
    line-height: 1.4;
    margin: .9em 0 .4em;
    font-family: var(--fonte-principal);
}
.single-post__content h5,
.single-post__content h6 {
    font-size: var(--single-fs-h4, 18px);
    color: var(--single-cor-h3, #181818);
    font-weight: 700;
    margin: .8em 0 .4em;
    font-family: var(--fonte-principal);
}

/* Negrito e itálico */
.single-post__content strong,
.single-post__content b {
    font-weight: 700;
    color: inherit;
}
.single-post__content em,
.single-post__content i {
    font-style: italic;
}

/* Listas */
.single-post__content ul,
.single-post__content ol,
.single-post__content .wp-block-list {
    margin: 0 0 1.4em 0;
    padding-left: 1.4em;
}
.single-post__content ul li,
.single-post__content ol li,
.single-post__content .wp-block-list li {
    margin-bottom: .25em;
    line-height: 1.65;
    font-size: var(--single-fs-body, 17px);
    color: var(--single-cor-body, #181818);
}
.single-post__content ul { list-style-type: disc; }
.single-post__content ol { list-style-type: decimal; }
.single-post__content ul ul,
.single-post__content ol ol,
.single-post__content ul ol,
.single-post__content ol ul {
    margin: .4em 0 .4em 0;
    padding-left: 1.2em;
}
/* Bullet points estilizados */
.single-post__content ul > li::marker {
    color: var(--single-cor-blockquote-border, #F6A91C);
}

/* Blockquote */
.single-post__content blockquote {
    margin: 1.6em 0;
    padding: 16px 20px 16px 20px;
    background: var(--single-cor-blockquote-bg, #f8fafc);
    border-left: 4px solid var(--single-cor-blockquote-border, #F6A91C);
    border-radius: 0 4px 4px 0;
}
.single-post__content blockquote p {
    margin: 0;
    font-style: italic;
    color: #374151;
}
.single-post__content blockquote cite {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #6b7280;
    font-style: normal;
}

/* Tabelas */
.single-post__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4em 0;
    font-size: var(--single-fs-body, 17px);
    /* Responsividade: tabelas largas rolam horizontalmente */
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Garante que a tabela não vaze do container em nenhuma tela */
    max-width: 100%;
    box-sizing: border-box;
}
.single-post__content table thead th,
.single-post__content table th {
    background: var(--single-cor-table-header, #f8fafc);
    color: var(--single-cor-body, #181818);
    font-weight: 700;
    padding: 10px 14px;
    border: 1px solid var(--single-cor-table-border, #e5e7eb);
    text-align: left;
    white-space: normal;
    min-width: 80px;
    word-break: normal;
    overflow-wrap: break-word;
}
.single-post__content table td {
    padding: 9px 14px;
    border: 1px solid var(--single-cor-table-border, #e5e7eb);
    vertical-align: top;
    line-height: 1.55;
    min-width: 80px;
    word-break: normal;
    overflow-wrap: break-word;
}
.single-post__content table tbody tr:nth-child(even) td {
    background: #f9fafb;
}

/* Código inline */
.single-post__content code {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    padding: 1px 5px;
    font-size: .9em;
    font-family: monospace;
    color: #d97706;
}
.single-post__content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 16px 20px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 1.4em 0;
    font-size: 14px;
    line-height: 1.6;
}
.single-post__content pre code {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
}

/* Legendas de imagem (figcaption, wp-caption) */
.single-post__content figcaption,
.single-post__content .wp-caption-text,
.single-post__content .wp-element-caption {
    font-size: var(--single-fs-caption, 13px);
    color: var(--single-cor-secondary-text, #666666);
    font-style: italic;
    text-align: center;
    margin-top: 6px;
    line-height: 1.45;
}

/* Imagens dentro do conteúdo */
.single-post__content img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}
.single-post__content figure {
    margin: 1.4em 0;
}
.single-post__content .wp-caption {
    max-width: 100%;
}
.single-post__content .wp-caption img {
    width: 100%;
}

/* Alinhamentos do editor clássico / Gutenberg */
.single-post__content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.single-post__content .alignleft {
    float: left;
    margin: 0 20px 12px 0;
    width: auto;
    max-width: 50%;
}
.single-post__content .alignright {
    float: right;
    margin: 0 0 12px 20px;
    width: auto;
    max-width: 50%;
}
.single-post__content .alignfull {
    width: 100%;
    max-width: 100%;
}

/* Separador HR dentro do conteúdo */
.single-post__content hr {
    border: none;
    border-top: 1px solid var(--single-cor-divider, #e5e7eb);
    margin: 2em 0;
}

/* AdSense / Anúncios — jamais quebram o layout */
.single-post__content ins,
.single-post__content .adsbygoogle,
.single-post__content [class*="ad-"],
.single-post__content [id*="google_ads"],
.single-post__content [class*="wp-block-"] > ins {
    display: block !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Imagens dentro de containers de anúncio não herdam width:100% do editorial */
.single-post__content ins img,
.single-post__content .adsbygoogle img,
.single-post__content [id*="google_ads"] img {
    width: auto;
    max-width: 100%;
}

/* Tags do Post */
.single-post__divider--tags-top {
    border: 0;
    border-top: 1px solid var(--single-cor-divider, #e5e7eb);
    margin: 24px 0;
}
.single-post__tags {
    padding: 0 0 24px;
}
.single-post__tags-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.single-post__tags-item {
    margin: 0 15px 10px 0;
    padding: 0;
}
.single-post__tags-link {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 25px;
    border: none;
    background: #fff;
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0,0,0,.16);
}
@media (max-width: 1023px) {
    .single-post__tags-list { justify-content: center; }
}
@media (max-width: 768px) {
    .single-post__tags-list { justify-content: center; }
}

/* Posts Relacionados */
.single-post__related {
    background: #fff;
    padding: 0 0 40px;
}
/* Layout flexível: corpo do artigo + sidebar */
.single-post__body-wrap {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}
.single-post__body-main {
    flex: 1 1 0;
    min-width: 0;
}
.single-post__body-sidebar {
    flex: 0 0 300px;
    width: 300px;
    min-width: 0;
    position: sticky;
    top: calc(var(--header-height, 70px) + 16px);
    max-height: calc(100vh - var(--header-height, 70px) - 32px);
    overflow-y: auto;
}
.single-post__body-wrap--full .single-post__body-main {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
}
/* Relacionados: seção e título */
.single-post__related-section {
    border-top: 1px solid var(--single-cor-divider, #e5e7eb);
    padding-top: 28px;
}
/* Wrapper do título — mesmo padrão do .l1-sidebar__header */
.single-post__related-heading-wrap {
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: none;
    position: relative;
}
.single-post__related-heading-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e5e5;
}
/* Título "Leia Também" — idêntico ao .l1-sidebar__titulo */
.single-post__related-heading {
    font-family: var(--fonte-principal);
    font-size: var(--single-fs-related-heading, 18px);
    font-weight: 700;
    color: var(--single-cor-related-heading, #181818);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--single-cor-related-heading, #181818);
    position: relative;
    z-index: 1;
    display: inline-block;
}

/* Relacionados: grade desktop */
/* Grade de relacionados: auto-fit até 4 colunas */
.single-post__related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}
/* Com sidebar ativa: coluna principal estreita — fixa 3 colunas */
.single-post__body-wrap:not(.single-post__body-wrap--full) .single-post__related-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* Relacionados: item */
.single-post__related-item {
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.single-post__related-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* Thumb: aspecto 16:9, badge de categoria sobre a imagem */
.single-post__related-thumb-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 16 / 9;
}
.single-post__related-thumb-wrap:not(.has-thumb) {
    background-image: url('../img/wpxminify-lg.png');
    background-size: cover;
    background-position: center;
}
.single-post__related-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    max-width: 100%;
    min-width: 0;
}
.single-post__related-link:hover .single-post__related-thumb {
    transform: scale(1.04);
}
.single-post__related-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    background: var(--l1-cor-badge-destaque, #F6A91C);
    padding: 3px 8px;
    border-radius: 4px;
    line-height: 1.4;
    white-space: nowrap;
    max-width: calc(100% - 20px);
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Corpo: título abaixo da imagem */
.single-post__related-body {
    padding: 10px 0 6px;
    display: flex;
    flex-direction: column;
}
.single-post__related-title {
    font-family: var(--fonte-principal);
    font-size: var(--single-fs-related-title, 16px);
    font-weight: 700;
    line-height: 1.35;
    color: var(--single-cor-title, #111827);
    margin: 0;
    transition: color 0.2s;
}
.single-post__related-link:hover .single-post__related-title {
    color: var(--l1-card-titulo-hover, #F6A91C);
}

/* Responsividade */

/* Tablet: 1023px — sidebar do single vira coluna */
@media (max-width: 1023px) {
    .single-post__body-wrap {
        flex-direction: column;
        gap: 32px;
    }
    .single-post__body-main {
        width: 100%;
        max-width: 100%;
    }
    .single-post__body-sidebar {
        display: none;
    }
}

/* Tablet: 768px */
@media (max-width: 768px) {
    .single-post__related {
        padding-bottom: 20px;
    }
    .single-post__title {
        font-size: calc(var(--single-fs-title, 34px) * .82);
    }
    .single-post__content {
        font-size: calc(var(--single-fs-body, 17px) - 1px);
    }
    /* Alinhamentos: float desativa em tablet */
    .single-post__content .alignleft,
    .single-post__content .alignright {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 16px;
    }
    /* Relacionados tablet: lista horizontal (thumb + título), igual ao mobile */
    .single-post__related-grid,
    .single-post__body-wrap:not(.single-post__body-wrap--full) .single-post__related-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .single-post__related-item {
        border-bottom: 1px solid var(--single-cor-divider, #e5e7eb);
    }
    .single-post__related-item:last-child {
        border-bottom: none;
    }
    .single-post__related-link {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding: 12px 0;
        min-height: 80px;
    }
    .single-post__related-thumb-wrap {
        flex: 0 0 180px;
        width: 180px;
        height: 128px;
        aspect-ratio: unset;
        border-radius: 6px;
        flex-shrink: 0;
    }
    .single-post__related-thumb {
        border-radius: 6px;
    }
    .single-post__related-body {
        flex: 1 1 0;
        min-width: 0;
        padding: 0;
    }
    .single-post__related-title {
        font-size: var(--single-fs-related-title-tablet, 18px);
        color: var(--single-cor-related-cards, #181818);
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    /* Badge oculto no tablet */
    .single-post__related-badge {
        display: none;
    }
}

/* Mobile: 640px — share no header, meta-bar em coluna */
@media (max-width: 640px) {
    .single-post__related {
        padding-bottom: 12px;
    }
    .single-post__share--mobile {
        display: flex;
        justify-content: center;
    }
    .single-post__share--desktop { display: none; }
    .single-post__meta-bar {
        flex-direction: column;
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .single-post__meta-info {
        flex-wrap: wrap;
    }
    .single-post__title {
        font-size: calc(var(--single-fs-title, 34px) * .72);
    }
    /* Relacionados mobile: herda lista do tablet, ajusta thumb menor */
    .single-post__related-thumb-wrap {
        flex: 0 0 120px;
        width: 120px;
        height: 88px;
    }
    .single-post__related-link {
        gap: 12px;
        padding: 10px 0;
        min-height: 72px;
    }
    .single-post__related-title {
        font-size: var(--single-fs-related-title-mobile, 18px);
        color: var(--single-cor-related-cards, #181818);
    }
    /* Badge oculto no mobile */
    .single-post__related-badge {
        display: none;
    }
}

/* Landscape mobile — evita fonte muito grande em orientação horizontal */
@media (max-height: 500px) and (max-width: 900px) {
    .single-post__title {
        font-size: calc(var(--single-fs-title, 34px) * .75);
    }
    .single-post__body-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
}

/* Gutenberg block styles — compatibilidade */
.single-post__content .wp-block-image img {
    border-radius: 4px;
    width: 100%;
    height: auto;
}
.single-post__content .wp-block-image {
    width: 100%;
    max-width: 100%;
    margin: 1.4em 0;
}
.single-post__content .wp-block-image.aligncenter {
    text-align: center;
}
.single-post__content .wp-block-image.alignleft img {
    float: left;
    margin: 0 20px 12px 0;
    width: auto;
    max-width: 50%;
}
.single-post__content .wp-block-image.alignright img {
    float: right;
    margin: 0 0 12px 20px;
    width: auto;
    max-width: 50%;
}
@media (max-width: 768px) {
    .single-post__content .wp-block-image.alignleft img,
    .single-post__content .wp-block-image.alignright img {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 16px;
    }
}
.single-post__content .wp-block-pullquote {
    border-top: 4px solid var(--single-cor-blockquote-border, #F6A91C);
    border-bottom: 4px solid var(--single-cor-blockquote-border, #F6A91C);
    padding: 1.2em 0;
    margin: 1.8em 0;
}
.single-post__content .wp-block-pullquote blockquote {
    border: none;
    background: none;
    padding: 0;
}
.single-post__content .wp-block-separator {
    border: none;
    border-top: 1px solid var(--single-cor-divider, #e5e7eb);
    margin: 2em auto;
}

/* Tabela Gutenberg — o wrapper rola, a <table> ocupa largura natural */
.single-post__content .wp-block-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    display: block;
    box-sizing: border-box;
    margin: 1.4em 0;
}
.single-post__content .wp-block-table table {
    display: table;
    width: 100%;
    min-width: 100%;
    margin: 0;
    border-collapse: collapse;
}
.single-post__content .wp-block-table th {
    white-space: normal;
    min-width: 80px;
    overflow-wrap: break-word;
}
.single-post__content .wp-block-table td {
    min-width: 80px;
    overflow-wrap: break-word;
}

.single-post__content .wp-block-code {
    border-radius: 6px;
    overflow-x: auto;
    max-width: 100%;
    box-sizing: border-box;
}
.single-post__content ul,
.single-post__content ol,
.single-post__content .wp-block-list {
    margin-left: 1.5em;
}

/* Columns */
.single-post__content .wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
    margin: 1.4em 0;
}
.single-post__content .wp-block-column {
    flex: 1 1 200px;
    min-width: 0;
}
@media (max-width: 640px) {
    .single-post__content .wp-block-columns {
        flex-direction: column;
    }
    .single-post__content .wp-block-column {
        flex: 1 1 100%;
    }
}

/* Vídeo e embed — responsivos e contidos */
.single-post__content .wp-block-video video,
.single-post__content .wp-block-video {
    max-width: 100%;
    height: auto;
    display: block;
}
.single-post__content .wp-block-embed {
    max-width: 100%;
    overflow: hidden;
}
.single-post__content .wp-block-embed__wrapper {
    position: relative;
    overflow: hidden;
}
.single-post__content .wp-block-embed__wrapper iframe {
    max-width: 100%;
}
/* YouTube / iFrame aspect ratio */
.single-post__content .wp-block-embed.is-type-video .wp-block-embed__wrapper {
    aspect-ratio: 16 / 9;
}
.single-post__content .wp-block-embed.is-type-video .wp-block-embed__wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* iFrame de vídeo (YouTube, Vimeo, etc.) - aspect-ratio 16:9 sem afetar anúncios */
.single-post__content iframe[src*="youtube.com"],
.single-post__content iframe[src*="youtu.be"],
.single-post__content iframe[src*="vimeo.com"],
.single-post__content iframe[src*="dailymotion.com"],
.single-post__content iframe[src*="facebook.com/plugins/video"],
.single-post__content iframe[src*="twitter.com/i/videos"],
.single-post__content iframe[src*="player.twitch.tv"] {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    aspect-ratio: 16 / 9;
    box-sizing: border-box;
}

/* Áudio */
.single-post__content .wp-block-audio audio {
    width: 100%;
    max-width: 100%;
    display: block;
}

/* Gallery */
.single-post__content .wp-block-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1.4em 0;
}
.single-post__content .wp-block-gallery .wp-block-image {
    flex: 1 1 200px;
    min-width: 0;
    margin: 0;
}
.single-post__content .wp-block-gallery .wp-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Buttons */
.single-post__content .wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1.4em 0;
}
.single-post__content .wp-block-button__link {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.4;
    max-width: 100%;
    word-break: break-word;
}

/* AdSense / Anúncios dentro de blocos Gutenberg */
.single-post__content .wp-block-html ins,
.single-post__content .wp-block-html .adsbygoogle {
    display: block !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Single Post - Comentários (BEM) */
.single-post__comments {
    width: 100%;
    box-sizing: border-box;
    padding: 0 0 40px;
}

/* Lista de comentários — separador visual acima do bloco */
.single-post__comments-list {
    border-top: 1px solid var(--single-cor-divider, #e5e7eb);
    padding-top: 20px;
    margin-top: 10px;
}

/* Lista de comentários */
.single-post__comments-count {
    font-size: 16px;
    font-weight: 600;
    color: var(--single-cor-comments-heading, #181818);
    margin: 0 0 16px;
}

/* Contador "N comentários" */
.single-post__comments-count {
    font-family: var(--fonte-principal);
    font-size: var(--single-fs-related-heading, 18px);
    font-weight: 700;
    color: var(--single-cor-comments-heading, #181818);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0 0 20px;
}

.single-post__commentlist {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

/* Item de comentário */
.single-post__comment {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

/* Respostas (children) — indentação via padding */
.single-post__comment .children {
    list-style: none;
    margin: 12px 0 0;
    padding: 0 0 0 40px;
}

/* Fundo para comentários de resposta */
.single-post__comment .children .single-post__comment-inner {
    background: var(--single-cor-comments-reply-bg, #f4f6fa);
    border-color: var(--single-cor-comments-reply-border, #d1d9e8);
}

.single-post__comment-inner {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--single-cor-comments-bg, #ffffff);
    border: 1px solid var(--single-cor-divider, #e5e7eb);
    border-radius: 6px;
    padding: 14px;
    box-sizing: border-box;
    width: 100%;
}

/* Avatar */
.single-post__comment-avatar {
    flex: 0 0 48px;
    width: 48px;
}
.single-post__comment-avatar-img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50%;
    display: block;
    object-fit: cover;
}

/* Corpo */
.single-post__comment-body {
    flex: 1 1 0;
    min-width: 0;
}

/* Meta: autor + data */
.single-post__comment-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    line-height: 1.4;
}
.single-post__comment-author {
    font-size: 13px;
    font-style: italic;
    color: var(--single-cor-meta, #181818);
}
.single-post__comment-author strong {
    color: var(--single-cor-meta, #181818);
    font-style: normal;
}
.single-post__comment-author a {
    color: var(--single-cor-link, #004aad);
    text-decoration: underline;
}
.single-post__comment-author a:hover {
    color: var(--single-cor-link-hover, #0553ef);
}
.single-post__comment-date {
    font-size: 11px;
    color: var(--single-cor-secondary-text, #666666);
    font-style: italic;
}

/* Moderação */
.single-post__comment-moderation {
    font-size: 12px;
    color: var(--single-cor-secondary-text, #666666);
    font-style: italic;
    margin: 0 0 6px;
}

/* Texto do comentário */
.single-post__comment-text {
    font-size: 13px;
    color: var(--single-cor-body, #181818);
    line-height: 1.6;
    margin: 0 0 8px;
    word-break: break-word;
    overflow-wrap: break-word;
}
.single-post__comment-text p {
    margin: 0;
    padding: 0;
}
.single-post__comment-text a {
    color: var(--single-cor-link, #004aad);
    text-decoration: none;
}
.single-post__comment-text a:hover {
    color: var(--single-cor-link-hover, #0553ef);
    text-decoration: underline;
}

/* Link responder */
.single-post__comment-reply {
    font-size: 12px;
}
.single-post__comment-reply a {
    display: inline-block;
    padding: 3px 10px;
    background: var(--single-cor-comments-btn, #333333);
    color: var(--single-cor-comments-btn-text, #ffffff) !important;
    border-radius: 3px;
    text-decoration: none;
    transition: opacity .2s;
    line-height: 1.6;
}
.single-post__comment-reply a:hover {
    opacity: .8;
    text-decoration: none;
}

/* Navegação de comentários (páginas anterior/próxima) */
.single-post__comments-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 20px;
    font-size: 13px;
}
.single-post__comments-nav-prev a,
.single-post__comments-nav-next a {
    display: inline-block;
    padding: 5px 14px;
    background: var(--single-cor-comments-btn, #333333);
    color: var(--single-cor-comments-btn-text, #ffffff) !important;
    border-radius: 3px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    transition: opacity .2s;
}
.single-post__comments-nav-prev a:hover,
.single-post__comments-nav-next a:hover {
    opacity: .8;
    text-decoration: none;
}

/* Notices */
.single-post__comments-notice,
.single-post__comments-closed {
    font-size: 14px;
    color: var(--single-cor-secondary-text, #666666);
    margin: 0 0 16px;
}

/* Formulário de comentário */
.single-post__comments-respond {
    margin-top: 24px;
    width: 100%;
    box-sizing: border-box;
}

.single-post__comments-form-title-wrap {
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: none;
    position: relative;
}
.single-post__comments-form-title-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e5e5;
}
.single-post__comments-form-title {
    font-family: var(--fonte-principal);
    font-size: var(--single-fs-related-heading, 18px);
    font-weight: 700;
    color: var(--single-cor-comments-heading, #181818);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--single-cor-comments-heading, #181818);
    position: relative;
    z-index: 1;
    display: inline-block;
}

.single-post__comments-form-wrap {
    border: 1px solid var(--single-cor-divider, #e5e7eb);
    border-radius: 6px;
    padding: 16px;
    background: var(--single-cor-comments-bg, #ffffff);
    box-sizing: border-box;
    width: 100%;
}

/* Cancelar resposta */
.single-post__comments-cancel-reply {
    margin-bottom: 8px;
    font-size: 12px;
}
.single-post__comments-cancel-reply-link {
    color: var(--single-cor-link, #004aad);
    cursor: pointer;
}

/* Logado como */
.single-post__comments-logged-as {
    font-size: 13px;
    color: var(--single-cor-secondary-text, #666666);
    margin: 0 0 12px;
}
.single-post__comments-logged-as a {
    color: var(--single-cor-link, #004aad);
    text-decoration: none;
}
.single-post__comments-logged-as a:hover {
    text-decoration: underline;
}

/* Login required */
.single-post__comments-login-required {
    font-size: 14px;
    color: var(--single-cor-secondary-text, #666666);
    margin: 0;
}
.single-post__comments-login-required a {
    color: var(--single-cor-link, #004aad);
    text-decoration: none;
}
.single-post__comments-login-required a:hover {
    text-decoration: underline;
}

/* Campos */
.single-post__comments-field {
    margin-bottom: 10px;
    box-sizing: border-box;
    width: 100%;
}

/* Linha de campos nome+email+submit */
.single-post__comments-fields-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
}
.single-post__comments-field--name,
.single-post__comments-field--email {
    flex: 1 1 160px;
    min-width: 0;
    margin-bottom: 0;
}
.single-post__comments-field--submit {
    flex: 0 0 auto;
    margin-bottom: 0;
}

/* Inputs */
.single-post__comments-input {
    display: block;
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background: #ffffff;
    color: var(--single-cor-body, #181818);
    box-sizing: border-box;
    line-height: 1.5;
    -webkit-appearance: none;
    appearance: none;
}
.single-post__comments-input:focus {
    outline: none;
    border-color: var(--single-cor-link, #004aad);
    box-shadow: 0 0 0 2px rgba(0,74,173,.12);
}

/* Textarea */
.single-post__comments-field--textarea {
    margin-bottom: 10px;
}
.single-post__comments-textarea {
    display: block;
    width: 100%;
    min-height: 100px;
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background: #ffffff;
    color: var(--single-cor-body, #181818);
    resize: vertical;
    box-sizing: border-box;
    line-height: 1.5;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}
.single-post__comments-textarea:focus {
    outline: none;
    border-color: var(--single-cor-link, #004aad);
    box-shadow: 0 0 0 2px rgba(0,74,173,.12);
}

/* Botão submit (quando logado — full width) */
.single-post__comments-submit-wrap {
    width: 100%;
    box-sizing: border-box;
}

/* Botão submit */
.single-post__comments-submit {
    display: block;
    padding: 8px 18px;
    background: var(--single-cor-comments-btn, #333333);
    color: var(--single-cor-comments-btn-text, #ffffff);
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.5;
    transition: opacity .2s;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    box-sizing: border-box;
}
.single-post__comments-submit:hover {
    opacity: .85;
}
.single-post__comments-submit:focus {
    outline: 2px solid var(--single-cor-link, #004aad);
    outline-offset: 2px;
}

/* Responsividade */

/* Tablet — ≤ 900px: margens compactas, linha separadora acima do título */
@media (max-width: 900px) {
    .single-post__comment .children {
        padding-left: 24px;
    }
    .single-post__comments-field--submit .single-post__comments-submit {
        white-space: normal;
    }
    .single-post__comments {
        padding-bottom: 0;
    }
    .single-post__comments-respond {
        margin-top: 0;
    }
    /* Linha separadora acima de "Deixe seu comentário" em tablet/mobile */
    .single-post__comments-form-title-wrap {
        border-top: 1px solid var(--single-cor-divider, #e5e7eb);
        padding-top: 16px;
        margin-top: 0;
        margin-bottom: 14px;
    }
}

/* Mobile — ≤ 640px */
@media (max-width: 640px) {
    .single-post__comments-fields-row {
        flex-direction: column;
        gap: 8px;
    }
    .single-post__comments-field--name,
    .single-post__comments-field--email,
    .single-post__comments-field--submit {
        flex: none;
        width: 100%;
    }
    .single-post__comments-field--submit .single-post__comments-submit {
        width: 100%;
    }
    .single-post__comment-inner {
        gap: 8px;
        padding: 10px;
    }
    .single-post__comment-avatar {
        flex: 0 0 36px;
        width: 36px;
    }
    .single-post__comment-avatar-img {
        width: 36px !important;
        height: 36px !important;
    }
    .single-post__comment .children {
        padding-left: 16px;
    }
    .single-post__comments-form-title-wrap {
        padding-top: 14px;
        margin-bottom: 12px;
    }
}

/* 404 - Página não encontrada */
.not-found {
    padding: 60px 0 80px;
}
 
.not-found__inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
 
/* Número 404 decorativo */
.not-found__code {
    font-size: clamp(80px, 18vw, 160px);
    font-weight: 900;
    line-height: 1;
    color: var(--l1-cor-titulo);
    opacity: 0.12;
    letter-spacing: -4px;
    margin-bottom: -20px;
    font-family: var(--fonte-principal);
    user-select: none;
}
 
/* Cabeçalho: alinha título ao centro */
.not-found__header {
    justify-content: center;
    margin-bottom: 16px;
}
 
.not-found__titulo {
    display: inline-block;
}
 
/* Descrição */
.not-found__desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin: 0 0 28px;
}
 
/* Formulário: herda todo o estilo do search-page__form */
.not-found__form {
    margin-bottom: 28px;
}
 
/* Botão voltar à home */
.not-found__actions {
    display: flex;
    justify-content: center;
}
 
.not-found__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: var(--l1-cor-titulo);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--fonte-principal);
    text-decoration: none;
    border-radius: 6px;
    transition: opacity 0.2s;
}
 
.not-found__btn:hover,
.not-found__btn:focus {
    opacity: 0.85;
    color: #fff;
}
 
/* Responsivo: mobile */
@media (max-width: 767px) {
    .not-found {
        padding: 40px 0 60px;
    }
    .not-found__code {
        letter-spacing: -2px;
        margin-bottom: -10px;
    }
    .not-found__desc {
        font-size: 0.95rem;
    }
}

/* ============================================================
   BOTÃO VOLTAR AO TOPO — BEM: .wpxm-back-to-top
   Cor de fundo via var(--l1-cor-badge-destaque) gerada em functions.php
   ============================================================ */
.wpxm-back-to-top {
    position: fixed;
    bottom: 76px;
    right: 24px;
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: none;
    background-color: var(--l1-cor-badge-destaque, #F6A91C);
    color: #fff;
    cursor: pointer;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    /* Nunca empurra o layout — é fixed e fora do fluxo */
    pointer-events: none;
}

.wpxm-back-to-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.wpxm-back-to-top:hover,
.wpxm-back-to-top:focus-visible {
    opacity: 0.88;
    background-color: var(--l1-cor-badge-destaque, #F6A91C);
    outline-offset: 2px;
}

.wpxm-back-to-top svg {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .wpxm-back-to-top {
        bottom: 70px;
        right: 16px;
    }
}

/* Galeria personalizada */
.wpxm-gallery-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
    margin: 0.5rem 0;
}

.wpxm-gallery {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    background: transparent;
    border-radius: 4px;
    overflow: visible;
    margin: 0;
    box-sizing: border-box;
    user-select: none;
}

.wpxm-gallery__title,
.single-post__content .wpxm-gallery__title {
    display: block;
    margin: 0;
    padding: 9px 16px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    background: color-mix(in srgb, var(--l1-cor-badge-destaque, #F6A91C) 95%, transparent);
    color: #fff !important;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
    box-sizing: border-box;
    border-radius: 2px 2px 0 0;
}

.wpxm-gallery__main {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-shrink: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.wpxm-gallery__slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    box-sizing: border-box;
    background: #111;
    display: block;
    font-size: 0;
    line-height: 0;
}

.wpxm-gallery__slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    animation: wpxm-fade 0.4s ease;
}

.wpxm-gallery__slide.is-active {
    display: block;
}

@keyframes wpxm-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.wpxm-gallery__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #111;
    box-sizing: border-box;
}

.wpxm-gallery__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 0.82rem;
    line-height: 1.4;
    padding: 8px 14px;
    text-align: center;
    pointer-events: none;
    box-sizing: border-box;
}

.wpxm-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: color-mix(in srgb, var(--l1-cor-badge-destaque, #F6A91C) 55%, transparent);
    border: none;
    color: #fff;
    font-size: 2rem;
    padding: 16px 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background .25s;
    z-index: 10;
}

.wpxm-gallery__nav:hover {
    background: var(--l1-cor-badge-destaque, #F6A91C);
}

.wpxm-gallery__nav--prev { left: 10px; }
.wpxm-gallery__nav--next { right: 10px; }

.wpxm-gallery__thumbs {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-self: stretch;
    gap: 4px;
    padding: 6px;
    min-width: 0;
    box-sizing: border-box;
    background: #000;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 0 0 4px 4px;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.wpxm-gallery__thumbs::-webkit-scrollbar {
    display: none;
}

.wpxm-gallery__thumbs.is-dragging {
    cursor: grabbing;
}

.wpxm-gallery__thumb {
    flex: 0 0 100px;
    width: 100px;
    height: 72px;
    padding: 0;
    border: 2px solid transparent;
    background: #222;
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
    opacity: 1;
    transition: border-color 0.2s;
    box-sizing: border-box;
    flex-shrink: 0;
}

.wpxm-gallery__thumb:hover,
.wpxm-gallery__thumb.is-active {
    border-color: #fff;
    opacity: 1;
}

.wpxm-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Responsividade tablet */
@media (max-width: 768px) {
    .wpxm-gallery {
        padding: 0;
    }
    .wpxm-gallery__title {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    .wpxm-gallery__nav {
        font-size: 2rem;
        padding: 16px 14px;
    }
    .wpxm-gallery__thumbs {
        gap: 3px;
        padding: 4px;
    }
    .wpxm-gallery__thumb {
        flex: 0 0 72px;
        width: 72px;
        height: 56px;
    }
}

/* Responsividade mobile */
@media (max-width: 480px) {
    .wpxm-gallery__title {
        font-size: 0.82rem;
        padding: 7px 10px;
    }
    .wpxm-gallery__thumbs {
        gap: 3px;
        padding: 3px;
    }
    .wpxm-gallery__thumb {
        flex: 0 0 60px;
        width: 60px;
        height: 48px;
    }
    .wpxm-gallery__nav {
        font-size: 2rem;
        padding: 14px 12px;
    }
}

/* Isolamento total das imagens do artigo */
.single-post__content .wpxm-gallery img {
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    width: 100% !important;
}

.single-post__content .wpxm-gallery figure {
    margin: 0 !important;
    padding: 0 !important;
}

/* Lightbox da galeria */
.wpxm-gallery__slide {
    position: relative;
}

.wpxm-gallery__lightbox-trigger {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: color-mix(in srgb, var(--l1-cor-badge-destaque, #F6A91C) 55%, transparent);
    border: none;
    border-radius: 4px;
    color: #fff;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transition: opacity .25s, background-color .25s;
    z-index: 10;
}

.wpxm-gallery__slide:hover .wpxm-gallery__lightbox-trigger,
.wpxm-gallery__slide:focus-within .wpxm-gallery__lightbox-trigger {
    opacity: 1;
}

.wpxm-gallery__lightbox-trigger:hover {
    background-color: var(--l1-cor-badge-destaque, #F6A91C);
}

.wpxm-lb {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,.95);
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

.wpxm-lb--active {
    display: flex;
}

.wpxm-lb__content {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpxm-lb__img-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(90vw, calc(90vh * 16 / 9));
    aspect-ratio: 16 / 9;
}

.wpxm-lb__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.wpxm-lb__loading {
    position: absolute;
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255,255,255,.15);
    border-top-color: #fff;
    border-radius: 50%;
    animation: wpxm-lb-spin 1s linear infinite;
    display: none;
}

@keyframes wpxm-lb-spin {
    to { transform: rotate(360deg); }
}

.wpxm-lb__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background-color: color-mix(in srgb, var(--l1-cor-badge-destaque, #F6A91C) 55%, transparent);
    border: none;
    color: #fff;
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    border-radius: 4px;
    transition: background-color .2s;
    padding: 6px 14px;
}

.wpxm-lb__close:hover {
    background-color: var(--l1-cor-badge-destaque, #F6A91C);
}

.wpxm-lb__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: color-mix(in srgb, var(--l1-cor-badge-destaque, #F6A91C) 55%, transparent);
    border: none;
    color: #fff;
    font-size: 2rem;
    padding: 16px 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color .2s;
    z-index: 10;
    line-height: 1;
}

.wpxm-lb__nav:hover {
    background-color: var(--l1-cor-badge-destaque, #F6A91C);
}

.wpxm-lb__nav--prev { left: 16px; }
.wpxm-lb__nav--next { right: 16px; }

.wpxm-lb__counter {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    background-color: color-mix(in srgb, var(--l1-cor-badge-destaque, #F6A91C) 55%, transparent);
    padding: 6px 18px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Responsivo — tablet */
@media (max-width: 900px) {
    .wpxm-lb__nav {
        font-size: 2rem;
        padding: 16px 14px;
    } 
    .wpxm-lb__nav--prev { left: 8px; }
    .wpxm-lb__nav--next { right: 8px; }

    .wpxm-gallery__lightbox-trigger {
        opacity: 1;
        padding: 12px 14px;
    }
}

/* Responsivo — mobile */
@media (max-width: 600px) {
    .wpxm-lb__close {
        top: 8px;
        right: 10px;
        font-size: 2.4rem;
        padding: 4px 12px;
    }
    .wpxm-lb__nav {
        font-size: 2rem;
        padding: 14px 12px;
    }
    .wpxm-lb__nav--prev { left: 4px; }
    .wpxm-lb__nav--next { right: 4px; }
    .wpxm-lb__counter {
        font-size: .75rem;
        padding: 4px 12px;
        bottom: 10px;
    }
    .wpxm-gallery__lightbox-trigger {
        opacity: 1;
        padding: 10px 12px;
    }
}

/* ============================================================
   HTML5 GAMES PORTAL - GAMERSHOOD DESIGN SYSTEM
   ============================================================ */

:root {
    --game-bg-main: #FBF1D8;
    --game-bg-surface: #FFFFFF;
    --game-bg-surface-elevated: #F6EEDA;
    --game-bg-card: #FFFFFF;
    --game-border: #EADEC4;
    --game-border-focus: #F6A91C;
    --game-accent: #F6A91C;
    --game-accent-gradient: linear-gradient(135deg, #F8AF1F 0%, #EAA015 100%);
    --game-accent-hover: #E5980F;
    --game-accent-glow: rgba(246, 169, 28, 0.35);
    --game-play-btn-grad: linear-gradient(135deg, #F8AF1F 0%, #EAA015 100%);
    --game-play-btn-glow: rgba(246, 169, 28, 0.45);
    --game-text-main: #1C160C;
    --game-text-sub: #5C5243;
    --game-text-muted: #8C7E6C;
    --game-badge-new: #10B981;
    --game-badge-new-text: #ffffff;
    --game-badge-hot: #F6A91C;
    --game-badge-hot-text: #ffffff;
    --game-badge-updated: #3B82F6;
    --game-badge-updated-text: #ffffff;
    --game-badge-classic: #F59E0B;
    --game-badge-classic-text: #ffffff;
    --game-badge-cat-bg: #F6EEDA;
    --game-badge-cat-text: #F6A91C;
    --game-badge-cat-border: #EADEC4;
    --game-heart-active: #EF4444;
    --game-radius-sm: 8px;
    --game-radius-md: 12px;
    --game-radius-lg: 16px;
    --game-sidebar-width: 245px;
    --game-sidebar-collapsed-width: 68px;
}

body {
    background-color: var(--game-bg-main);
    color: var(--game-text-main);
}

/* ------------------------------------------------------------
   1. GAMING HEADER & INSTANT SEARCH
   ------------------------------------------------------------ */
.header--gaming {
    background-color: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--game-border);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: none;
}

.header__gaming-container {
    max-width: 100%;
    margin: 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header__left-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.header__toggle--sidebar-trigger {
    background: var(--game-bg-surface);
    border: 1px solid var(--game-border);
    color: var(--game-text-main);
    width: 40px;
    height: 40px;
    border-radius: var(--game-radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.header__toggle--sidebar-trigger:hover {
    background: var(--game-bg-surface-elevated);
    border-color: var(--game-accent);
}

.header__toggle--sidebar-trigger .header__toggle-icon {
    display: block;
    width: 18px;
    height: 2px;
    background-color: var(--game-text-main);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* No Desktop (>= 992px): o botão SEMPRE exibe o ícone de hambúrguer e alinha o search ao container de jogos */
@media (min-width: 992px) {
    .header__gaming-container {
        padding: 0 20px 0 16px !important;
        gap: 20px !important;
        justify-content: flex-start !important;
    }

    .header__toggle--sidebar-trigger .header__toggle-icon,
    .header__toggle--sidebar-trigger[aria-expanded="true"] .header__toggle-icon,
    .header__toggle--sidebar-trigger[aria-expanded="false"] .header__toggle-icon {
        transform: none !important;
        opacity: 1 !important;
    }

    .header__left-group {
        width: var(--game-sidebar-width, 245px) !important;
        min-width: var(--game-sidebar-width, 245px) !important;
        max-width: var(--game-sidebar-width, 245px) !important;
        flex-shrink: 0 !important;
    }

    .header__center-group {
        flex: 1 !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 28px 0 0 !important;
    }

    .header__right-group {
        margin-left: auto !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        flex-shrink: 0 !important;
    }

    /* Oculta botão de busca mobile no desktop (já possui barra de busca central) */
    .header__search-btn--mobile-only {
        display: none !important;
    }
}

.header__logo-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.header__logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--game-text-main);
    letter-spacing: -0.02em;
}

.header__center-group {
    flex: 1;
    min-width: 0;
    max-width: none;
    margin: 0;
}

.header__gaming-search-form {
    width: 100%;
}

.header__search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 44px;
    background: var(--game-bg-surface-elevated);
    border: 1px solid var(--game-border);
    border-radius: 50px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header__search-input-wrap:focus-within {
    border-color: var(--game-accent);
    box-shadow: 0 0 0 3px var(--game-accent-glow);
    background: var(--game-bg-surface);
}

.header__search-icon-inline {
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    color: var(--game-text-muted);
    display: flex;
    align-items: center;
    pointer-events: none;
}

.header__search-icon-inline svg {
    width: 100%;
    height: 100%;
}

.header__gaming-search-input {
    width: 100%;
    height: 100%;
    padding: 10px 52px 10px 48px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--game-text-main);
    font-size: 15px;
    font-family: inherit;
}

.header__gaming-search-input::placeholder {
    color: var(--game-text-muted);
}

.header__search-shortcut-hint {
    position: absolute;
    right: 14px;
    background: var(--game-bg-main);
    border: 1px solid var(--game-border);
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 12px;
    font-family: monospace;
    color: var(--game-text-sub);
    pointer-events: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}

.header__right-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header__favorites-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--game-bg-surface);
    border: 1px solid var(--game-border);
    border-radius: 50px !important;
    color: var(--header-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: border-color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.header__favorites-btn svg {
    width: 16px;
    height: 16px;
    color: #ef4444;
}

.header__favorites-btn:hover {
    background: var(--game-bg-surface-elevated);
    border-color: rgba(239, 68, 68, 0.4);
    transform: translateY(-1px);
}

.header__favorites-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    line-height: 1;
    text-align: center;
    box-sizing: border-box;
}

.header__search-btn--mobile-only,
#headerMobileSearchBtn {
    display: none;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50px !important;
    border: 1px solid var(--game-border, #EADEC4) !important;
    background: var(--game-bg-surface, #ffffff) !important;
    color: var(--header-text, #1C160C) !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, color 0.2s ease !important;
}

.header__search-btn--mobile-only,
.header__search-btn--mobile-only:hover,
.header__search-btn--mobile-only:focus,
.header__search-btn--mobile-only:active,
.header__search-btn--mobile-only:focus-visible,
.header__search-btn--mobile-only[aria-expanded="true"],
.header__search-btn--mobile-only[aria-expanded="false"],
#headerMobileSearchBtn,
#headerMobileSearchBtn:hover,
#headerMobileSearchBtn:focus,
#headerMobileSearchBtn:active,
#headerMobileSearchBtn:focus-visible,
#headerMobileSearchBtn[aria-expanded="true"],
#headerMobileSearchBtn[aria-expanded="false"] {
    border-radius: 50px !important;
    border: 1px solid var(--game-border, #EADEC4) !important;
    outline: none !important;
    box-shadow: none !important;
}

.header__search-btn--mobile-only:hover,
.header__search-btn--mobile-only:focus,
.header__search-btn--mobile-only:active,
.header__search-btn--mobile-only:focus-visible,
.header__search-btn--mobile-only[aria-expanded="true"],
#headerMobileSearchBtn:hover,
#headerMobileSearchBtn:focus,
#headerMobileSearchBtn:active,
#headerMobileSearchBtn:focus-visible,
#headerMobileSearchBtn[aria-expanded="true"] {
    background: var(--game-bg-surface-elevated, #F6EEDA) !important;
    color: var(--game-accent, #F6A91C) !important;
}

.header__search-btn--mobile-only svg {
    width: 20px;
    height: 20px;
    display: block;
}

.header__favorites-btn,
.header__favorites-btn:hover,
.header__favorites-btn:focus,
.header__favorites-btn:active,
.header__favorites-btn:focus-visible {
    border: 1px solid var(--game-border) !important;
    outline: none !important;
}

.header__toggle--sidebar-trigger,
.header__toggle--sidebar-trigger:hover,
.header__toggle--sidebar-trigger:focus,
.header__toggle--sidebar-trigger:active,
.header__toggle--sidebar-trigger:focus-visible {
    border: 1px solid var(--game-border) !important;
    outline: none !important;
}

/* ------------------------------------------------------------
   2. GAMING PORTAL LAYOUT & CONTAINER
   ------------------------------------------------------------ */
.game-portal {
    padding: 20px 0 60px;
    min-height: calc(100vh - 180px);
}

.game-portal-container {
    max-width: 100%;
    margin: 0;
    padding: 0 20px 0 16px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-sizing: border-box;
}

.game-portal-main {
    flex: 1;
    min-width: 0;
}

/* ------------------------------------------------------------
   3. LEFT GAMING SIDEBAR (ALINHADO NO CANTO & COLAPSÁVEL)
   ------------------------------------------------------------ */
.game-sidebar {
    width: var(--game-sidebar-width);
    flex-shrink: 0;
    position: sticky;
    top: 65px;
    max-height: calc(100vh - 75px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--game-border) transparent;
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), min-width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-sidebar::-webkit-scrollbar {
    width: 4px;
}

.game-sidebar::-webkit-scrollbar-thumb {
    background-color: var(--game-border);
    border-radius: 4px;
}

.game-sidebar__inner {
    background: var(--game-bg-surface);
    border: 1px solid var(--game-border);
    border-radius: var(--game-radius-lg);
    padding: 14px 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: padding 0.25s ease;
}

.game-sidebar__section {
    display: flex;
    flex-direction: column;
}

.game-sidebar__heading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--game-text-muted);
    padding: 6px 12px 10px;
    display: block;
}

.game-sidebar__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.game-sidebar__nav-item {
    margin: 0;
}

.game-sidebar__nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: var(--game-radius-sm);
    color: var(--game-text-sub);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.15s ease;
    position: relative;
}

.game-sidebar__nav-link:hover {
    background: var(--game-bg-surface-elevated);
    color: var(--game-text-main);
}

.game-sidebar__nav-link.is-active {
    background: var(--game-accent);
    color: var(--game-text-main);
    font-weight: 700;
    box-shadow: 0 3px 10px var(--game-accent-glow);
}

.game-sidebar__icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.game-sidebar__icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.game-sidebar__nav-link.is-active .game-sidebar__icon svg {
    color: var(--game-text-main);
    stroke: var(--game-text-main);
}

.game-sidebar__label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-sidebar__count {
    font-size: 11px;
    color: var(--game-text-muted);
    background: var(--game-bg-main);
    padding: 2px 7px;
    border-radius: 12px;
    font-weight: 600;
}

.game-sidebar__nav-link.is-active .game-sidebar__count {
    background: rgba(0, 0, 0, 0.1);
    color: var(--game-text-main);
}

.game-sidebar__badge--mygames-count {
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
}

.game-sidebar__divider {
    height: 1px;
    background: var(--game-border);
    margin: 10px 6px;
}

/* --- ESTADO RECOLHIDO / MINI-RAIL (menuocultadosingle.png) - Exclusivo para Desktop --- */
@media (min-width: 992px) {
    .game-sidebar.is-collapsed {
        width: var(--game-sidebar-collapsed-width, 68px);
        min-width: var(--game-sidebar-collapsed-width, 68px);
    }

    .game-sidebar.is-collapsed .game-sidebar__inner {
        padding: 12px 6px;
    }

    .game-sidebar.is-collapsed .game-sidebar__label,
    .game-sidebar.is-collapsed .game-sidebar__count,
    .game-sidebar.is-collapsed .game-sidebar__badge,
    .game-sidebar.is-collapsed .game-sidebar__heading,
    .game-sidebar.is-collapsed .game-sidebar__divider {
        display: none !important;
    }

    .game-sidebar.is-collapsed .game-sidebar__nav-list {
        align-items: center;
        gap: 6px;
    }

    .game-sidebar.is-collapsed .game-sidebar__nav-item {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .game-sidebar.is-collapsed .game-sidebar__nav-link {
        width: 44px;
        height: 44px;
        padding: 0;
        justify-content: center;
        border-radius: var(--game-radius-md, 12px);
        margin: 0 auto;
        transform: none !important;
    }

    .game-sidebar.is-collapsed .game-sidebar__icon {
        width: 22px;
        height: 22px;
        margin: 0;
    }

    .game-sidebar.is-collapsed .game-sidebar__icon svg {
        width: 20px;
        height: 20px;
    }

    .game-sidebar.is-collapsed .game-sidebar__nav-link.is-active {
        background: var(--game-accent, #F6A91C);
        color: var(--game-text-main, #1C160C);
        box-shadow: 0 4px 12px var(--game-accent-glow);
    }

    .game-sidebar.is-collapsed .game-sidebar__nav-link.is-active .game-sidebar__icon svg {
        color: var(--game-text-main, #1C160C);
        stroke: var(--game-text-main, #1C160C);
    }

    .game-sidebar.is-collapsed .game-sidebar__nav-link:hover:not(.is-active) {
        background: var(--game-bg-surface-elevated, #F6EEDA);
        color: var(--game-text-main, #1C160C);
    }
}

/* ------------------------------------------------------------
   4. GAME HERO / HEADER BANNER
   ------------------------------------------------------------ */
.game-hero {
    margin-bottom: 24px;
    background: var(--game-bg-surface);
    border: 1px solid var(--game-border);
    border-radius: var(--game-radius-lg);
    padding: 22px 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.game-hero::before {
    display: none;
}

.game-hero__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.game-hero__header .game-hero__title {
    margin-bottom: 0;
}

.game-hero__badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--game-text-main, #1C160C);
    background: var(--game-bg-surface-elevated, #F6EEDA);
    border: 1px solid var(--game-border, #EADEC4);
    border-radius: 9999px;
    line-height: 1.3;
}

.game-hero__title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--game-text-main);
    letter-spacing: -0.01em;
    position: relative;
    padding-left: 14px;
    display: flex;
    align-items: center;
}

.game-hero__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--game-accent, #F6A91C);
    border-radius: 2px;
}

.game-hero__title:last-child {
    margin-bottom: 0;
}

.game-hero__subtitle {
    font-size: 14px;
    line-height: 1.6;
    color: var(--game-text-sub);
    margin: 0;
    max-width: 900px;
}

.game-hero__subtitle p {
    margin: 0 0 10px 0;
    line-height: inherit;
    color: inherit;
    font-size: inherit;
}

.game-hero__subtitle p:last-child {
    margin-bottom: 0;
}

.game-grid-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.game-grid-loading__spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--game-border, #EADEC4);
    border-top-color: var(--game-accent, #F6A91C);
    border-radius: 50%;
    animation: wpxmSpin 0.8s linear infinite;
    margin-bottom: 12px;
}

.game-grid-loading__text {
    font-size: 14px;
    color: var(--game-text-sub, #5C5243);
    margin: 0;
}

@keyframes wpxmSpin {
    to { transform: rotate(360deg); }
}

.game-hero__tags {
    margin-top: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.game-hero__tags-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--game-text-muted);
}

.game-hero__tags-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.game-hero__tag-chip {
    display: inline-block;
    background: var(--game-bg-surface-elevated);
    border: 1px solid var(--game-border);
    color: var(--game-text-sub);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.game-hero__tag-chip:hover {
    color: var(--game-accent);
    border-color: var(--game-accent);
    transform: translateY(-1px);
}

.game-hero__tag-chip--btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    background: var(--game-accent-gradient);
    color: #fff;
    border: none;
}

/* ------------------------------------------------------------
   5. GAMES GRID & 16:9 GAME CARDS (BUBBLEBOX STYLE)
   ------------------------------------------------------------ */
.games-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
}

.games-grid--related {
    grid-template-columns: repeat(8, 1fr);
    margin-top: 16px;
    gap: 16px;
}

/* Telas intermediárias: notebooks, tablets (portrait/landscape) e celulares em landscape */
@media (max-width: 1399px) {
    .games-grid,
    .games-grid--related {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
}

/* Telas pequenas: celulares em portrait */
@media (max-width: 600px) {
    .games-grid,
    .games-grid--related {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.game-card {
    background: var(--game-bg-card);
    border: 1px solid var(--game-border);
    border-radius: var(--game-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
}

.game-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--game-accent);
    border-color: var(--game-accent);
    z-index: 2;
}

.game-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

.game-card__thumb-outer {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--game-bg-surface-elevated, #F6EEDA);
}

.game-card__thumb-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.game-card__thumb-inner:not(.has-thumb) {
    background-image: url('../img/wpxminify-lg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.game-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.game-card:hover .game-card__img,
.game-card:hover .game-card__img-fallback {
    transform: scale(1.08);
}

.game-card__img-fallback {
    width: 100%;
    height: 100%;
    background-image: url('../img/wpxminify-lg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    transition: transform 0.3s ease;
}

/* Hover play overlay */
.game-card__hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.game-card:hover .game-card__hover-overlay {
    opacity: 1;
}

.game-card__play-icon {
    width: 44px;
    height: 44px;
    background: var(--game-play-btn-grad);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    padding-left: 3px;
    box-shadow: 0 0 16px var(--game-play-btn-glow);
    transform: scale(0.85);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.game-card:hover .game-card__play-icon {
    transform: scale(1);
}

/* Badges */
.game-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 3px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    color: #ffffff;
    z-index: 3;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    line-height: 1.2;
}

.game-card__badge--new {
    background: var(--game-badge-new);
    color: var(--game-badge-new-text, #ffffff);
}

.game-card__badge--hot {
    background: var(--game-badge-hot);
    color: var(--game-badge-hot-text, #ffffff);
}

.game-card__badge--updated {
    background: var(--game-badge-updated);
    color: var(--game-badge-updated-text, #ffffff);
}

.game-card__badge--classic {
    background: var(--game-badge-classic);
    color: var(--game-badge-classic-text, #ffffff);
}

/* Heart favorite button */
.game-card__favorite-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    transition: all 0.2s ease;
}

.game-card:hover .game-card__favorite-btn,
.game-card__favorite-btn.is-active {
    opacity: 1;
}

.game-card__favorite-btn svg {
    width: 14px;
    height: 14px;
}

.game-card__favorite-btn:hover {
    background: rgba(0, 0, 0, 0.85);
    color: #ef4444;
    transform: scale(1.15);
}

.game-card__favorite-btn.is-active {
    color: #ef4444;
}

/* Title overlay */
.game-card__title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 13, 20, 0.95) 100%);
    padding: 24px 10px 8px;
    z-index: 2;
    pointer-events: none;
}

.game-card__title {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

/* Pills bar */
.game-card__pills {
    padding: 8px 10px 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    background: var(--game-bg-card);
}

.game-card__pill {
    font-size: 10.5px;
    padding: 2px 7px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.3;
}

.game-card__pill--category {
    background: var(--game-badge-cat-bg, var(--game-bg-surface-elevated, #F6EEDA));
    color: var(--game-badge-cat-text, var(--l1-cor-categoria, var(--game-accent)));
    border: 1px solid var(--game-badge-cat-border, var(--game-border, #EADEC4));
    font-weight: 600;
}

a.game-card__pill--category:hover {
    opacity: 0.85;
}

.game-card__pill--tag {
    background: var(--game-bg-surface-elevated);
    color: var(--game-text-muted);
}

/* Empty state */
.game-empty-state {
    padding: 60px 20px;
    text-align: center;
    background: var(--game-bg-surface);
    border: 1px dashed var(--game-border);
    border-radius: var(--game-radius-lg);
}

.game-empty-state__text {
    font-size: 16px;
    color: var(--game-text-sub);
    margin: 0;
}

/* ------------------------------------------------------------
   6. SINGLE GAME PLAYER (16:9 STAGE & CONTROLS)
   ------------------------------------------------------------ */
.game-player-article {
    display: flex;
    flex-direction: column;
}

/* Breadcrumbs */
.game-breadcrumb {
    margin-bottom: 14px;
}

.game-breadcrumb__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
}

.game-breadcrumb__link {
    color: var(--game-text-sub);
    text-decoration: none;
}

.game-breadcrumb__link:hover {
    color: var(--game-accent);
}

.game-breadcrumb__sep {
    color: var(--game-text-muted);
}

.game-breadcrumb__current {
    color: var(--game-text-main);
    font-weight: 600;
}

/* Game Stage Wrapper */
.game-stage-wrapper {
    background: #000000;
    border: 1px solid var(--game-border, #EADEC4);
    border-radius: var(--game-radius-lg, 16px);
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.14);
    position: relative;
    margin-bottom: 14px;
    /* Transição restrita a propriedades visuais para evitar reflows contínuos que quebram o WebGL canvas */
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.game-stage-wrapper.is-theater {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: var(--game-radius-lg, 16px);
    z-index: 20;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    margin-bottom: 18px;
}

/* Fullscreen Styling (Native Fullscreen API + Webkit + CSS Fallback) */
#gameStageWrapper:fullscreen,
#gameStageWrapper:-webkit-full-screen {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: #000000 !important;
    box-shadow: none !important;
    position: relative !important;
    overflow: hidden !important;
}

#gameStageWrapper.is-fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: #000000 !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

#gameStageWrapper:fullscreen .game-stage,
#gameStageWrapper:-webkit-full-screen .game-stage,
#gameStageWrapper.is-fullscreen .game-stage {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    aspect-ratio: auto !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #000000 !important;
}

#gameStageWrapper:fullscreen .game-splash,
#gameStageWrapper:-webkit-full-screen .game-splash,
#gameStageWrapper.is-fullscreen .game-splash {
    border-radius: 0 !important;
    border: none !important;
}

#gameStageWrapper:fullscreen .game-stage__iframe-holder,
#gameStageWrapper:-webkit-full-screen .game-stage__iframe-holder,
#gameStageWrapper.is-fullscreen .game-stage__iframe-holder {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    inset: 0 !important;
    border: none !important;
    border-radius: 0 !important;
}

#gameStageWrapper:fullscreen .game-stage__iframe-holder iframe,
#gameStageWrapper:-webkit-full-screen .game-stage__iframe-holder iframe,
#gameStageWrapper.is-fullscreen .game-stage__iframe-holder iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    display: block !important;
}

/* Floating Exit Fullscreen Button (Active only in Fullscreen) */
.game-fullscreen-exit-btn {
    display: none;
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 99999999;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(18, 18, 20, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid var(--game-accent, #F6A91C);
    border-radius: 8px;
    color: var(--game-accent, #F6A91C);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    transition: all 0.2s ease;
    padding: 0;
    pointer-events: auto;
}

.game-fullscreen-exit-btn:hover {
    background: rgba(28, 28, 32, 0.95);
    border-color: #ffffff;
    color: #ffffff;
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(246, 169, 28, 0.35);
}

.game-fullscreen-exit-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    display: block;
    transition: transform 0.2s ease;
}

.game-fullscreen-exit-btn:hover svg {
    transform: scale(0.92);
}

/* Tooltip on hover (matching media_1788563582717.png) */
.game-fullscreen-exit-btn__tooltip {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #ffffff;
    color: #111111;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
    pointer-events: none;
}

.game-fullscreen-exit-btn:hover .game-fullscreen-exit-btn__tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#gameStageWrapper:fullscreen .game-fullscreen-exit-btn,
#gameStageWrapper:-webkit-full-screen .game-fullscreen-exit-btn,
#gameStageWrapper.is-fullscreen .game-fullscreen-exit-btn {
    display: flex !important;
}

.game-stage {
    position: relative;
    width: 100%;
    background: #05070a;
}

.game-stage--16-9 {
    aspect-ratio: 16 / 9;
}

.game-stage--4-3 {
    aspect-ratio: 4 / 3;
}

.game-stage--custom {
    min-height: 580px;
}

/* Splash Launcher */
.game-splash {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 10;
    background-color: #07090e;
}

.game-splash__backdrop {
    position: absolute;
    inset: 0;
    background-image: var(--splash-bg);
    background-size: cover;
    background-position: center;
    filter: blur(28px) brightness(0.35);
    transform: scale(1.15);
    z-index: 1;
}

.game-splash__content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    max-width: 500px;
}

.game-splash__thumb-wrap {
    width: 100px;
    height: 75px;
    border-radius: var(--game-radius-sm);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    margin-bottom: 14px;
    border: 2px solid rgba(255,255,255,0.15);
}

.game-splash__thumb-wrap:not(.has-thumb) {
    background-image: url('../img/wpxminify-full.png');
    background-size: cover;
    background-position: center;
}

.game-splash__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-splash__title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.game-splash .game-card__badge,
.game-splash__badge {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 2px auto 0 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    padding: 4px 14px !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45) !important;
    z-index: 2 !important;
    line-height: 1.3 !important;
    text-shadow: none !important;
}

.game-splash .game-card__badge + .game-splash__play-btn,
.game-splash__badge + .game-splash__play-btn {
    margin-top: 14px !important;
}

.game-splash__play-btn {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 44px;
    background: var(--game-accent, #F6A91C);
    border: none;
    border-radius: 50px;
    color: var(--game-text-main, #1C160C);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 0 28px var(--game-play-btn-glow), 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
    animation: gamePulse 2.4s infinite;
}

@keyframes gamePulse {
    0% { transform: scale(1); box-shadow: 0 0 20px var(--game-play-btn-glow); }
    50% { transform: scale(1.05); box-shadow: 0 0 35px var(--game-play-btn-glow); }
    100% { transform: scale(1); box-shadow: 0 0 20px var(--game-play-btn-glow); }
}

.game-splash__play-btn:hover {
    transform: scale(1.08) !important;
    animation: none;
}

.game-splash__play-icon {
    font-size: 18px;
}

/* Dynamic Iframe Container */
.game-stage__iframe-holder {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: 5;
}

.game-stage__iframe-holder iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ------------------------------------------------------------
   7. GAME ACTION BAR (CONTROLS, LIKES, FULLSCREEN)
   ------------------------------------------------------------ */
.game-action-bar {
    background: var(--game-bg-surface, #ffffff);
    border: 1px solid var(--game-border, #EADEC4);
    border-radius: var(--game-radius-lg, 16px);
    padding: 16px 22px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.game-action-bar__left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.game-action-bar__game-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.game-action-bar__title {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    color: var(--game-text-main, #1C160C);
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.game-action-bar__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.game-action-bar .game-card__pill--category {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    background: var(--game-cor-badge-categoria, var(--game-accent, #F6A91C));
    color: var(--game-cor-badge-categoria-txt, #ffffff);
    display: inline-flex;
    align-items: center;
    line-height: 1.5;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.game-action-bar .game-card__pill--category:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.game-action-bar__dev {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--game-text-muted, #8C7E6A);
}

.game-action-bar__right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.game-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: var(--game-bg-surface-elevated, #F6EEDA);
    border: 1px solid var(--game-border, #EADEC4);
    border-radius: 50px;
    color: var(--game-text-main, #1C160C);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.game-action-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.game-action-btn:hover {
    background: var(--game-accent, #F6A91C);
    border-color: var(--game-accent, #F6A91C);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(246, 169, 28, 0.28);
}

.game-action-btn:hover svg {
    stroke: currentColor;
    fill: currentColor;
}

.game-action-btn:active {
    transform: translateY(0);
}

.game-action-btn.is-active {
    background: var(--game-accent, #F6A91C);
    border-color: var(--game-accent, #F6A91C);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(246, 169, 28, 0.28);
}

.game-like-btn.is-liked {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.game-favorite-toggle.is-favorited {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.game-favorite-toggle--pop {
    animation: gameHeartPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes gameHeartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ------------------------------------------------------------
   8. GAME SINGLE 2-COLUMN LAYOUT & CARDS
   ------------------------------------------------------------ */
.game-single-row {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 28px;
    width: 100%;
    box-sizing: border-box;
}

.game-single-main-col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.game-single-row--no-sidebar .game-single-main-col {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
}

.game-single-sidebar-col {
    flex: 0 0 320px;
    width: 320px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.game-single-sidebar-col.is-sticky {
    position: sticky;
    top: calc(var(--header-height, 70px) + 16px);
    max-height: calc(100vh - var(--header-height, 70px) - 32px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--game-border) transparent;
}

.game-single-sidebar-col.is-sticky::-webkit-scrollbar {
    width: 4px;
}

.game-single-sidebar-col.is-sticky::-webkit-scrollbar-thumb {
    background: var(--game-border);
    border-radius: 4px;
}

/* Theater Mode Container Behavior */
.game-single-row.has-theater-mode {
    flex-direction: column !important;
}

.game-single-row.has-theater-mode .game-single-main-col {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
}

.game-single-row.has-theater-mode .game-stage-wrapper.is-theater {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 20px 0 !important;
}

/* No Modo Teatro: oculta a barra lateral "Mais Lidas" em desktops e tablets (telas >= 768px) */
.game-single-row.has-theater-mode .game-single-sidebar-col {
    display: none !important;
}

/* Em telas mobile (< 768px), permite que a barra lateral apareça abaixo do conteúdo */
@media (max-width: 767px) {
    .game-single-row.has-theater-mode .game-single-sidebar-col {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        position: static !important;
        max-height: none !important;
        overflow-y: visible !important;
        margin-top: 24px;
    }
}

/* Single Sidebar Card */
.game-single-sidebar-card {
    background: var(--game-bg-surface, #ffffff);
    border: 1px solid var(--game-border, #EADEC4);
    border-radius: var(--game-radius-lg, 16px);
    padding: 20px 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

.game-single-sidebar-card .l1-sidebar,
.game-single-sidebar-card .l2-sidebar {
    position: static;
    top: auto;
}

.game-single-sidebar-card .l1-sidebar__header,
.game-single-sidebar-card .l2-sidebar__header {
    margin-bottom: 16px;
    padding-bottom: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
}

.game-single-sidebar-card .l1-sidebar__header::after,
.game-single-sidebar-card .l2-sidebar__header::after {
    display: none;
}

.game-single-sidebar-card .l1-sidebar__titulo,
.game-single-sidebar-card .l2-sidebar__titulo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 700;
    color: var(--l1-cor-sidebar-titulo, var(--game-text-main, #1C160C));
    text-transform: none;
    letter-spacing: normal;
    border-bottom: none;
    padding-bottom: 0;
    margin: 0;
}

.game-single-sidebar-card .l1-sidebar__titulo::before,
.game-single-sidebar-card .l2-sidebar__titulo::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--l1-cor-num, var(--game-accent, #F6A91C));
    border-radius: 2px;
    flex-shrink: 0;
}

/* Item 1 Destaque (large thumb + dark title bar) */
.game-single-sidebar-card .l1-sidebar__item--destaque {
    border: 1px solid var(--game-border, #EADEC4);
    border-radius: var(--game-radius-sm, 8px);
    margin-bottom: 14px;
    overflow: hidden;
    background: var(--l1-cor-sidebar-destaque-bg, #231F1A);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.game-single-sidebar-card .l1-sidebar__item--destaque:hover {
    border-color: var(--game-accent, #F6A91C);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.game-single-sidebar-card .l1-sidebar__item--destaque .l1-sidebar__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.game-single-sidebar-card .l1-sidebar__item--destaque .l1-sidebar__thumb-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--game-bg-surface-elevated, #F6EEDA);
}

.game-single-sidebar-card .l1-sidebar__item--destaque .l1-sidebar__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.game-single-sidebar-card .l1-sidebar__item--destaque:hover .l1-sidebar__thumb {
    transform: scale(1.05);
}

.game-single-sidebar-card .l1-sidebar__item--destaque .l1-sidebar__info {
    display: flex;
    align-items: center;
    background: var(--l1-cor-sidebar-destaque-bg, #231F1A);
    min-height: 52px;
}

.game-single-sidebar-card .l1-sidebar__item--destaque .l1-sidebar__num {
    align-self: stretch;
    flex: 0 0 38px;
    width: 38px;
    font-size: var(--l1-font-size-num, 1.4rem);
    font-weight: 900;
    color: #ffffff;
    background: var(--l1-cor-num, var(--game-accent, #F6A91C));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--fonte-principal);
    line-height: 1;
}

.game-single-sidebar-card .l1-sidebar__item--destaque .l1-sidebar__item-titulo {
    flex: 1 1 0;
    min-width: 0;
    color: var(--l1-cor-sidebar-destaque-titulo, #ffffff) !important;
    font-size: var(--l1-font-size-titulo, 14px);
    font-weight: 700;
    line-height: 1.35;
    padding: 10px 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: none !important;
    margin: 0;
}

/* Items 2+ (clean row card: rank number badge | thumb | dark title) */
.game-single-sidebar-card .l1-sidebar__item:not(.l1-sidebar__item--destaque) {
    background: var(--game-bg-surface, #ffffff);
    border: 1px solid var(--game-border, #EADEC4);
    border-radius: var(--game-radius-sm, 8px);
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.game-single-sidebar-card .l1-sidebar__item:not(.l1-sidebar__item--destaque):hover {
    border-color: var(--game-accent, #F6A91C);
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.game-single-sidebar-card .l1-sidebar__item:not(.l1-sidebar__item--destaque) .l1-sidebar__link {
    display: flex;
    align-items: stretch;
    text-decoration: none;
    min-height: 72px;
}

.game-single-sidebar-card .l1-sidebar__item:not(.l1-sidebar__item--destaque) .l1-sidebar__num {
    flex: 0 0 36px;
    width: 36px;
    font-size: var(--l1-font-size-num, 15px);
    font-weight: 800;
    font-family: var(--fonte-principal);
    color: var(--l1-cor-num, var(--game-accent, #F6A91C));
    background: var(--game-bg-surface-elevated, #F6EEDA);
    border-right: 1px solid var(--game-border, #EADEC4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease;
}

.game-single-sidebar-card .l1-sidebar__item:not(.l1-sidebar__item--destaque):hover .l1-sidebar__num {
    background: var(--l1-cor-num, var(--game-accent, #F6A91C));
    color: #ffffff;
}

.game-single-sidebar-card .l1-sidebar__item:not(.l1-sidebar__item--destaque) .l1-sidebar__info {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
}

.game-single-sidebar-card .l1-sidebar__item:not(.l1-sidebar__item--destaque) .l1-sidebar__thumb-wrap {
    flex: 0 0 84px;
    width: 84px;
    height: 72px;
    position: relative;
    overflow: hidden;
    background: var(--game-bg-surface-elevated, #F6EEDA);
    flex-shrink: 0;
}

.game-single-sidebar-card .l1-sidebar__item:not(.l1-sidebar__item--destaque) .l1-sidebar__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.game-single-sidebar-card .l1-sidebar__item:not(.l1-sidebar__item--destaque):hover .l1-sidebar__thumb {
    transform: scale(1.06);
}

.game-single-sidebar-card .l1-sidebar__item:not(.l1-sidebar__item--destaque) .l1-sidebar__item-titulo {
    flex: 1 1 0;
    min-width: 0;
    font-size: var(--l1-font-size-titulo, 13px);
    font-weight: 600;
    line-height: 1.35;
    color: var(--l1-cor-sidebar-titulo-texto, var(--game-text-main, #1C160C)) !important;
    padding: 8px 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.game-single-sidebar-card .l1-sidebar__item:not(.l1-sidebar__item--destaque):hover .l1-sidebar__item-titulo {
    color: var(--l1-card-titulo-hover, var(--game-accent, #F6A91C)) !important;
}

.game-single-sidebar-card .l1-sidebar__item:not(.l1-sidebar__item--destaque) .l1-sidebar__excerpt {
    color: var(--game-text-sub, #5C5243);
    font-size: 11px;
}

/* Layout 2 in Sidebar Card */
.game-single-sidebar-card .l2-sidebar__item {
    background: var(--game-bg-surface, #ffffff);
    border: 1px solid var(--game-border, #EADEC4);
    border-radius: var(--game-radius-sm, 8px);
    margin-bottom: 10px;
    padding: 8px;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.game-single-sidebar-card .l2-sidebar__item:hover {
    border-color: var(--game-accent, #F6A91C);
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.game-single-sidebar-card .l2-sidebar__item-titulo {
    color: var(--l2-cor-titulo-texto, var(--game-text-main, #1C160C)) !important;
    font-size: var(--l2-font-size-titulo, 13px);
    font-weight: 600;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.game-single-sidebar-card .l2-sidebar__link:hover .l2-sidebar__item-titulo {
    color: var(--l2-cor-titulo-hover, var(--game-accent, #F6A91C)) !important;
}

/* Related Games Card (Gamershood style) */
.game-related-card {
    background: var(--game-bg-surface, #ffffff);
    border: 1px solid var(--game-border, #EADEC4);
    border-radius: var(--game-radius-lg, 16px);
    padding: 24px;
    margin-top: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

.game-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.game-section-header__bar {
    display: inline-block;
    width: 4px;
    height: 20px;
    background: var(--game-accent, #F6A91C);
    border-radius: 2px;
    flex-shrink: 0;
}

.game-section-header__title {
    font-size: var(--single-fs-related-heading, 20px);
    font-weight: 700;
    color: var(--single-cor-related-heading, var(--game-text-main, #1C160C));
    margin: 0;
    line-height: 1.3;
}

.game-info-columns {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.game-info-col--main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.game-info-col--side {
    width: 260px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.game-controls-card,
.game-description-card,
.game-specs-card,
.game-comments-card {
    background: var(--game-bg-surface, #ffffff);
    border: 1px solid var(--game-border, #EADEC4);
    border-radius: var(--game-radius-lg, 16px);
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

.game-comments-card {
    margin-top: 28px;
}

.game-controls-card__title,
.game-description-card__title,
.game-specs-card__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--game-text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.game-controls-card__title svg {
    width: 20px;
    height: 20px;
    color: var(--game-accent);
}

.game-controls-card__body {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--game-text-sub);
    word-break: break-word;
}

.game-controls-card__body p {
    margin: 0 0 10px;
}

.game-controls-card__body p:last-child {
    margin-bottom: 0;
}

.game-controls-card__body kbd {
    display: inline-block;
    background: var(--game-bg-surface-elevated);
    border: 1px solid rgba(15, 23, 42, 0.15);
    box-shadow: 0 2px 0 rgba(15, 23, 42, 0.15);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 12px;
    font-family: inherit;
    font-weight: 700;
    color: var(--game-text-main);
    margin: 0 3px;
}

.game-description-card__content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--game-text-sub);
}

.game-specs-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.game-specs-card__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--game-border);
    font-size: 13px;
}

.game-specs-card__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.game-specs-card__label {
    color: var(--game-text-muted);
}

.game-specs-card__val {
    color: var(--game-text-main);
    font-weight: 600;
}

/* 404 Game Box */
.game-404-box {
    text-align: center;
    padding: 60px 20px;
    background: var(--game-bg-surface);
    border: 1px solid var(--game-border);
    border-radius: var(--game-radius-lg);
    max-width: 600px;
    margin: 40px auto;
}

.game-404-box__code {
    font-size: 90px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.game-404-box__title {
    font-size: 24px;
    font-weight: 800;
    color: var(--game-text-main);
    margin: 0 0 12px;
}

.game-404-box__desc {
    font-size: 14px;
    color: var(--game-text-sub);
    margin: 0 0 24px;
    line-height: 1.6;
}

.game-404-box__search {
    max-width: 440px;
    margin: 0 auto 28px;
    width: 100%;
}

.game-404-box__search-form {
    width: 100%;
}

.game-404-box__input-wrap {
    width: 100%;
}

.game-404-box__search-icon-btn {
    background: transparent;
    border: none;
    padding: 0;
    pointer-events: auto !important;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.15s ease;
}

.game-404-box__search-icon-btn:hover {
    color: var(--game-accent);
    transform: scale(1.1);
}

.game-404-box__search-input {
    padding: 10px 20px 10px 48px !important;
}

/* Author Profile */
.author-game-profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-game-profile__avatar img {
    border-radius: 50%;
    border: 2px solid var(--game-accent);
}

.author-game-profile__badge {
    display: inline-block;
    background: var(--game-accent-gradient);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 8px;
}

/* ------------------------------------------------------------
   9. RESPONSIVE BREAKPOINTS (PORTAL DE JOGOS & MENU LATERAL)
   ------------------------------------------------------------ */
@media (min-width: 992px) {
    .game-sidebar__mobile-header,
    .game-sidebar-backdrop,
    .game-sidebar__divider--menu-principal,
    .game-sidebar__section--menu-principal {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .game-info-columns {
        flex-direction: column;
    }

    .game-info-col--side {
        width: 100%;
    }
}

/* Modo Mobile & Tablet: Drawer Lateral Off-Canvas Completo */
@media (max-width: 991px) {
    .header__toggle--sidebar-trigger {
        display: inline-flex;
    }

    .header__search-btn--mobile-only,
    #headerMobileSearchBtn {
        display: inline-flex !important;
        border-radius: 50px !important;
        border: 1px solid var(--game-border, #EADEC4) !important;
    }

    /* Oculta nav inline no mobile */
    .header__nav--inline {
        display: none !important;
    }

    /* Trava de overflow para layout mobile de jogos */
    .game-portal {
        padding: 14px 0 40px !important;
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    .game-portal-container {
        padding: 0 12px !important;
        gap: 0 !important;
        display: block !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    .game-portal-main {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Menu Lateral como Gaveta Off-Canvas deslizante */
    .game-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 285px !important;
        max-width: 85vw !important;
        height: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        z-index: 99999 !important;
        background: var(--game-bg-surface) !important;
        box-shadow: 6px 0 30px rgba(0, 0, 0, 0.35) !important;
        transform: translateX(-100%) !important;
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.28s !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        border-radius: 0 !important;
        border: none !important;
        border-right: 1px solid var(--game-border) !important;
        margin: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .game-sidebar * {
        box-sizing: border-box !important;
    }

    .game-sidebar.is-mobile-open {
        transform: translateX(0) !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .game-sidebar__inner {
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 14px 12px 30px !important;
        background: transparent !important;
        flex: 1;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        box-sizing: border-box !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Backdrop escuro com blur */
    .game-sidebar-backdrop {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.6) !important;
        backdrop-filter: blur(3px) !important;
        -webkit-backdrop-filter: blur(3px) !important;
        z-index: 99990 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity 0.28s ease, visibility 0.28s ease !important;
    }

    .game-sidebar-backdrop.is-active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    html.game-sidebar-mobile-open,
    body.game-sidebar-mobile-open {
        overflow: hidden !important;
        overflow-x: hidden !important;
        touch-action: none !important;
        max-width: 100vw !important;
        width: 100% !important;
    }

    /* Cabeçalho do menu lateral mobile com botão X */
    .game-sidebar__mobile-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
        border-bottom: 1px solid var(--game-border);
        background: var(--game-bg-surface);
        position: sticky;
        top: 0;
        z-index: 2;
        flex-shrink: 0;
    }

    .game-sidebar__mobile-logo-link {
        display: inline-flex !important;
        align-items: center !important;
        text-decoration: none !important;
        max-height: 38px !important;
    }

    .game-sidebar__mobile-logo-img {
        max-height: 38px !important;
        max-width: 170px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
    }

    .game-sidebar__mobile-title {
        font-size: 16px;
        font-weight: 800;
        color: var(--game-text-main);
        letter-spacing: -0.01em;
    }

    .game-sidebar__close-btn {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        border: 1px solid var(--game-border);
        background: var(--game-bg-surface-elevated, #F6EEDA);
        color: var(--game-text-main);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
        transition: background 0.15s ease, color 0.15s ease;
        -webkit-tap-highlight-color: transparent !important;
    }

    .game-sidebar__close-btn:hover {
        background: var(--game-accent);
        color: var(--game-text-main);
    }

    /* Formatação e hierarquia do Menu Principal na Barra Lateral Mobile */
    .game-sidebar .header__menu--mobile {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 3px !important;
    }

    .game-sidebar .header__menu--mobile .header__menu-item {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        width: 100% !important;
        background: transparent !important;
        border: none !important;
    }

    .game-sidebar .header__menu--mobile .header__menu-link {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 12px !important;
        border-radius: 8px !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        color: var(--game-text-main, #1C160C) !important;
        background: transparent !important;
        transition: background 0.15s ease, color 0.15s ease !important;
    }

    .game-sidebar .header__menu--mobile .header__menu-link:hover,
    .game-sidebar .header__menu--mobile .header__menu-link:focus {
        background: var(--game-bg-surface-elevated, #F6EEDA) !important;
        color: var(--game-accent, #F6A91C) !important;
    }

    /* Submenu fechado: 100% oculto, sem espaço, sem borda, sem padding, sem margem */
    .game-sidebar .header__menu--mobile .header__submenu {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        border-radius: 8px !important;
        background: var(--game-bg-surface-elevated, #F6EEDA) !important;
        max-height: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, margin 0.2s ease, padding 0.2s ease !important;
    }

    .game-sidebar .header__menu--mobile .header__submenu > .header__menu-item > .header__menu-link {
        color: var(--game-text-sub, #5C5243) !important;
        font-size: 13px !important;
        padding: 8px 12px !important;
    }

    .game-sidebar .header__menu--mobile .header__submenu > .header__menu-item > .header__menu-link:hover,
    .game-sidebar .header__menu--mobile .header__submenu > .header__menu-item > .header__menu-link:focus {
        color: var(--game-accent, #F6A91C) !important;
        background: rgba(246, 169, 28, 0.12) !important;
    }

    /* Submenu aberto apenas com a classe .active no item pai */
    .game-sidebar .header__menu--mobile .header__menu-item--has-children.active > .header__submenu {
        max-height: 800px !important;
        margin: 6px 0 8px 12px !important;
        padding: 6px 0 !important;
        border: 1px solid var(--game-border, #EADEC4) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .game-sidebar .header__menu--mobile .header__dropdown-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 18px !important;
        height: 18px !important;
        transition: transform 0.25s ease !important;
    }

    .game-sidebar .header__menu--mobile .header__dropdown-icon svg {
        stroke: currentColor !important;
    }

    .game-sidebar .header__menu--mobile .header__menu-item--has-children.active > .header__menu-link .header__dropdown-icon {
        transform: rotate(180deg) !important;
    }

    /* No mobile, o toggle do header vira "X" quando aberto */
    .header__toggle--sidebar-trigger[aria-expanded="true"] .header__toggle-icon:nth-child(1),
    .game-sidebar-mobile-open .header__toggle--sidebar-trigger .header__toggle-icon:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px) !important;
    }
    .header__toggle--sidebar-trigger[aria-expanded="true"] .header__toggle-icon:nth-child(2),
    .game-sidebar-mobile-open .header__toggle--sidebar-trigger .header__toggle-icon:nth-child(2) {
        opacity: 0 !important;
    }
    .header__toggle--sidebar-trigger[aria-expanded="true"] .header__toggle-icon:nth-child(3),
    .game-sidebar-mobile-open .header__toggle--sidebar-trigger .header__toggle-icon:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px) !important;
    }
}

@media (max-width: 768px) {
    .header__center-group {
        display: none;
    }

    .header__search-btn--mobile-only,
    #headerMobileSearchBtn {
        display: inline-flex !important;
        border-radius: 50px !important;
        border: 1px solid var(--game-border, #EADEC4) !important;
    }

    .header__favorites-btn {
        padding: 6px;
    }

    .header__logo-img {
        max-height: 28px;
    }

    .header__logo-text {
        font-size: 15px;
    }

    .header__gaming-container {
        padding: 8px 12px;
    }

    .game-hero {
        padding: 18px 16px;
    }

    .game-hero__title {
        font-size: 20px;
    }

    .game-action-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .game-action-bar__right {
        width: 100%;
        justify-content: space-between;
    }
}

/* ------------------------------------------------------------
   RESPONSIVIDADE SINGLE GAME (MOBILE & TABLET)
   ------------------------------------------------------------ */
@media (max-width: 991px) {
    .game-single-row {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .game-single-main-col,
    .game-single-sidebar-col {
        width: 100% !important;
        max-width: 100% !important;
    }

    .game-single-sidebar-col.is-sticky {
        position: static !important;
        top: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
    }

    .game-info-columns {
        flex-direction: column !important;
    }

    .game-info-col--side {
        width: 100% !important;
    }
}

/* Altura Responsiva do Player em Dispositivos Móveis (Proporcional 4:3, sem cortes inferiores e sem altura excessiva) */
@media (max-width: 768px) {
    .game-stage-wrapper {
        border-radius: var(--game-radius-md, 12px) !important;
        margin-bottom: 12px !important;
    }
    .game-stage,
    .game-stage--16-9,
    .game-stage--4-3,
    .game-stage--custom {
        aspect-ratio: 4 / 3 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: 350px !important;
    }
}

@media (max-width: 900px) and (orientation: landscape), (max-height: 500px) {
    .game-stage,
    .game-stage--16-9,
    .game-stage--4-3,
    .game-stage--custom {
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        max-height: 80vh !important;
        min-height: 0 !important;
    }
}

@media (max-width: 640px) {
    .game-splash__content {
        padding: 10px !important;
        max-width: 90% !important;
    }

    .game-splash__thumb-wrap {
        width: 68px !important;
        height: 50px !important;
        margin-bottom: 6px !important;
    }

    .game-splash__title {
        font-size: 17px !important;
        margin: 0 0 4px !important;
        line-height: 1.2 !important;
    }

    .game-splash .game-card__badge,
    .game-splash__badge {
        font-size: 9.5px !important;
        padding: 2px 10px !important;
        margin: 2px auto 0 !important;
    }

    .game-splash .game-card__badge + .game-splash__play-btn,
    .game-splash__badge + .game-splash__play-btn {
        margin-top: 8px !important;
    }

    .game-splash__play-btn {
        margin-top: 8px !important;
        padding: 9px 24px !important;
        font-size: 14px !important;
    }

    .game-action-bar {
        padding: 12px 14px !important;
        gap: 12px !important;
    }

    .game-action-btn {
        padding: 7px 10px !important;
        font-size: 12px !important;
    }

    .game-related-card,
    .game-single-sidebar-card,
    .game-controls-card,
    .game-description-card,
    .game-specs-card,
    .game-comments-card {
        padding: 18px 14px !important;
        border-radius: var(--game-radius-md, 12px) !important;
    }
}

@media (max-width: 480px) {
    .game-action-btn__label {
        display: none !important;
    }

    .game-action-bar__right {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        gap: 6px !important;
    }

    .game-action-btn {
        flex: 1 1 0 !important;
        justify-content: center !important;
        padding: 9px 6px !important;
        min-width: 0 !important;
    }

    .game-action-bar__title {
        font-size: 16px !important;
    }
}

/* ============================================================
   DARK MODE — GAMING PORTAL PREMIUM HIGH CONTRAST PALETTE
   ============================================================ */

/* Botão de Modo Escuro no Header Desktop */
.header__dark-mode-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    background: var(--game-bg-surface);
    border: 1px solid var(--game-border);
    border-radius: 50% !important;
    color: var(--header-text, var(--game-text-main));
    transition: border-color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.header__dark-mode-btn:hover {
    background: var(--game-bg-surface-elevated);
    border-color: var(--game-accent);
    transform: translateY(-1px);
}

.header__dark-mode-btn:focus-visible {
    outline: 2px solid var(--game-accent);
    outline-offset: 2px;
}

/* No Mobile e Tablet, o toggle de modo escuro aparece APENAS no menu lateral (drawer), nunca no header */
@media (max-width: 991px) {
    .header__dark-mode-btn {
        display: none !important;
    }
}

/* Ações no Topo do Menu Lateral Mobile (Dark Mode Toggle + Close X) */
.game-sidebar__mobile-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: auto !important;
}

.game-sidebar__dark-mode-btn {
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    border: 1px solid var(--game-border);
    background: var(--game-bg-surface-elevated, #F6EEDA);
    color: var(--game-text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    -webkit-tap-highlight-color: transparent !important;
}

.game-sidebar__dark-mode-btn:hover {
    background: var(--game-accent);
    color: var(--game-text-main);
    border-radius: 50% !important;
}

/* Animação suave do ícone */
.wpxm-dark-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html.dark-mode .wpxm-dark-icon,
html[data-theme="dark"] .wpxm-dark-icon,
body.dark-mode .wpxm-dark-icon {
    transform: rotate(180deg);
}

/* ── REGRAS GLOBAIS DO MODO ESCURO ── */
html.dark-mode,
html[data-theme="dark"],
body.dark-mode {
    --game-bg-main: #12151c;
    --game-bg-surface: #1a1e27;
    --game-bg-surface-elevated: #242a36;
    --game-bg-card: #1a1e27;
    --game-border: #2a3242;
    --game-border-focus: #F6A91C;
    --game-text-main: #f1f5f9;
    --game-text-sub: #cbd5e1;
    --game-text-muted: #94a3b8;
    --header-bg: #161922;
    --header-text: #f1f5f9;
    --header-menu-text: #f1f5f9;
    --game-badge-cat-bg: #242a36;
    --game-badge-cat-text: #F6A91C;
    --game-badge-cat-border: #323b4c;
    --single-cor-related-heading: #f1f5f9;
    color-scheme: dark;
}

html.dark-mode body,
body.dark-mode {
    background-color: #12151c !important;
    color: #f1f5f9 !important;
}

/* Header Gaming no Modo Escuro */
html.dark-mode .header,
html.dark-mode .header--gaming,
body.dark-mode .header,
body.dark-mode .header--gaming {
    background-color: #161922 !important;
    border-bottom-color: #2a3242 !important;
    transition: none !important;
}

/* Barra de Busca Gaming (Preserva layout em pílula de 50px de radius do modo claro) */
html.dark-mode .header__search-input-wrap,
body.dark-mode .header__search-input-wrap {
    background: #1c212c !important;
    border: 1px solid #2a3242 !important;
    box-shadow: none !important;
}

html.dark-mode .header__search-input-wrap:focus-within,
body.dark-mode .header__search-input-wrap:focus-within {
    background: #181c25 !important;
    border-color: #F6A91C !important;
    box-shadow: 0 0 0 3px rgba(246, 169, 28, 0.2) !important;
}

html.dark-mode .header__gaming-search-input,
body.dark-mode .header__gaming-search-input {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #f1f5f9 !important;
}

html.dark-mode .header__gaming-search-input::placeholder,
body.dark-mode .header__gaming-search-input::placeholder {
    color: #64748b !important;
}

html.dark-mode .header__search-shortcut-hint,
body.dark-mode .header__search-shortcut-hint {
    background: #242a36 !important;
    color: #94a3b8 !important;
    border: 1px solid #364154 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
}

html.dark-mode .header__search-icon-inline svg,
body.dark-mode .header__search-icon-inline svg {
    color: #94a3b8 !important;
}

html.dark-mode .header__toggle--sidebar-trigger,
body.dark-mode .header__toggle--sidebar-trigger,
html.dark-mode .header__search-btn--mobile-only,
body.dark-mode .header__search-btn--mobile-only,
html.dark-mode #headerMobileSearchBtn,
body.dark-mode #headerMobileSearchBtn,
html.dark-mode .header__favorites-btn,
body.dark-mode .header__favorites-btn,
html.dark-mode .header__dark-mode-btn,
body.dark-mode .header__dark-mode-btn,
html.dark-mode .wpxm-lang-switcher__btn,
body.dark-mode .wpxm-lang-switcher__btn {
    background: #202531 !important;
    border-color: #2a3242 !important;
    color: #f1f5f9 !important;
    transition: none !important;
}

html.dark-mode .header__toggle--sidebar-trigger .header__toggle-icon,
body.dark-mode .header__toggle--sidebar-trigger .header__toggle-icon {
    background-color: #f1f5f9 !important;
    transition: none !important;
}

html.dark-mode .header__toggle--sidebar-trigger:hover,
body.dark-mode .header__toggle--sidebar-trigger:hover,
html.dark-mode .header__search-btn--mobile-only:hover,
body.dark-mode .header__search-btn--mobile-only:hover,
html.dark-mode #headerMobileSearchBtn:hover,
body.dark-mode #headerMobileSearchBtn:hover {
    background: #282e3c !important;
    border-color: var(--game-accent) !important;
    color: var(--game-accent) !important;
}

html.dark-mode .header__favorites-btn:hover,
body.dark-mode .header__favorites-btn:hover {
    background: #282e3c !important;
    border-color: rgba(239, 68, 68, 0.6) !important;
}

html.dark-mode .header__dark-mode-btn:hover,
body.dark-mode .header__dark-mode-btn:hover {
    background: #282e3c !important;
    border-color: var(--game-accent) !important;
    color: var(--game-accent) !important;
}

html.dark-mode .header__menu--inline > .header__menu-item > .header__menu-link,
body.dark-mode .header__menu--inline > .header__menu-item > .header__menu-link {
    color: #f1f5f9 !important;
}

html.dark-mode .header__menu--inline > .header__menu-item > .header__menu-link:hover,
body.dark-mode .header__menu--inline > .header__menu-item > .header__menu-link:hover {
    color: #F6A91C !important;
}

html.dark-mode .header__submenu,
body.dark-mode .header__submenu {
    background: #1a1e27 !important;
    border-color: #2a3242 !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5) !important;
}

html.dark-mode .header__submenu .header__menu-link,
body.dark-mode .header__submenu .header__menu-link {
    color: #cbd5e1 !important;
}

html.dark-mode .header__submenu .header__menu-link:hover,
body.dark-mode .header__submenu .header__menu-link:hover {
    background: #242a36 !important;
    color: #F6A91C !important;
}

/* Header 1 Nav-bar */
html.dark-mode .header__nav-bar,
body.dark-mode .header__nav-bar {
    background: #161922 !important;
    border-top-color: #2a3242 !important;
    border-bottom-color: #2a3242 !important;
}

html.dark-mode .header__nav-bar .header__menu--bar > .header__menu-item > .header__menu-link,
body.dark-mode .header__nav-bar .header__menu--bar > .header__menu-item > .header__menu-link {
    color: #f1f5f9 !important;
}

/* Modal de busca mobile / popup unificado no Modo Escuro */
html.dark-mode .header__search-modal-content,
body.dark-mode .header__search-modal-content {
    background: #1a1e27 !important;
    border: 1px solid #2a3242 !important;
    border-radius: 12px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
}

html.dark-mode .header__search-modal-content:focus-within,
body.dark-mode .header__search-modal-content:focus-within {
    border-color: #F6A91C !important;
    box-shadow: 0 0 0 2px rgba(246, 169, 28, 0.25), 0 16px 40px rgba(0, 0, 0, 0.6) !important;
}

html.dark-mode .header__search-modal .header__search-input,
body.dark-mode .header__search-modal .header__search-input {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: #f1f5f9 !important;
}

html.dark-mode .header__search-modal .header__search-input::placeholder,
body.dark-mode .header__search-modal .header__search-input::placeholder {
    color: #94a3b8 !important;
}

html.dark-mode .header__search-modal .header__search-submit,
body.dark-mode .header__search-modal .header__search-submit {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #94a3b8 !important;
}

html.dark-mode .header__search-modal .header__search-submit:hover,
body.dark-mode .header__search-modal .header__search-submit:hover,
html.dark-mode .header__search-modal .header__search-submit:focus,
body.dark-mode .header__search-modal .header__search-submit:focus {
    color: #F6A91C !important;
    background: transparent !important;
}

html.dark-mode .header__search-modal-close,
body.dark-mode .header__search-modal-close {
    color: #94a3b8 !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

html.dark-mode .header__search-modal-close:hover,
body.dark-mode .header__search-modal-close:hover {
    color: #f1f5f9 !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

/* Sidebar Lateral de Jogos & Menu Drawer Mobile */
@media (min-width: 901px) {
    .game-sidebar,
    html.dark-mode .game-sidebar,
    body.dark-mode .game-sidebar {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    html.dark-mode .game-sidebar__inner,
    body.dark-mode .game-sidebar__inner {
        background: #1a1e27 !important;
        border: 1px solid #2a3242 !important;
    }
}

@media (max-width: 900px) {
    html.dark-mode .game-sidebar,
    body.dark-mode .game-sidebar {
        background: #1a1e27 !important;
        border-right: 1px solid #2a3242 !important;
    }
}

html.dark-mode .game-sidebar__mobile-header,
body.dark-mode .game-sidebar__mobile-header {
    background: #1a1e27 !important;
    border-bottom-color: #2a3242 !important;
}

html.dark-mode .game-sidebar__mobile-title,
body.dark-mode .game-sidebar__mobile-title {
    color: #f1f5f9 !important;
}

html.dark-mode .game-sidebar__dark-mode-btn,
body.dark-mode .game-sidebar__dark-mode-btn {
    background: #242a36 !important;
    border-color: #2a3242 !important;
    color: #f1f5f9 !important;
    border-radius: 50% !important;
}

html.dark-mode .game-sidebar__close-btn,
body.dark-mode .game-sidebar__close-btn {
    background: #242a36 !important;
    border-color: #2a3242 !important;
    color: #f1f5f9 !important;
}

html.dark-mode .game-sidebar__dark-mode-btn:hover,
body.dark-mode .game-sidebar__dark-mode-btn:hover {
    background: #F6A91C !important;
    color: #1C160C !important;
    border-color: #F6A91C !important;
    border-radius: 50% !important;
}

html.dark-mode .game-sidebar__close-btn:hover,
body.dark-mode .game-sidebar__close-btn:hover {
    background: #F6A91C !important;
    color: #1C160C !important;
}

html.dark-mode .game-sidebar__nav-link,
body.dark-mode .game-sidebar__nav-link {
    color: #cbd5e1 !important;
}

html.dark-mode .game-sidebar__nav-link:hover,
body.dark-mode .game-sidebar__nav-link:hover {
    background: #242a36 !important;
    color: #f1f5f9 !important;
}

html.dark-mode .game-sidebar__nav-link.is-active,
body.dark-mode .game-sidebar__nav-link.is-active {
    background: #F6A91C !important;
    color: #1C160C !important;
    font-weight: 700 !important;
}

html.dark-mode .game-sidebar__section-title,
body.dark-mode .game-sidebar__section-title,
html.dark-mode .game-sidebar__heading,
body.dark-mode .game-sidebar__heading {
    color: #94a3b8 !important;
}

html.dark-mode .game-sidebar__cat-count,
body.dark-mode .game-sidebar__cat-count {
    background: #242a36 !important;
    color: #94a3b8 !important;
}

html.dark-mode .game-sidebar__cat-link.is-active .game-sidebar__cat-count,
body.dark-mode .game-sidebar__cat-link.is-active .game-sidebar__cat-count {
    background: #F6A91C !important;
    color: #1C160C !important;
}

/* Menu Principal no Drawer Mobile */
html.dark-mode .game-sidebar .header__menu--mobile .header__menu-link,
body.dark-mode .game-sidebar .header__menu--mobile .header__menu-link {
    color: #f1f5f9 !important;
}

html.dark-mode .game-sidebar .header__menu--mobile .header__menu-link:hover,
body.dark-mode .game-sidebar .header__menu--mobile .header__menu-link:focus,
html.dark-mode .game-sidebar .header__menu--mobile .header__menu-item.active > .header__menu-link,
body.dark-mode .game-sidebar .header__menu--mobile .header__menu-item.active > .header__menu-link {
    color: #F6A91C !important;
    background: #242a36 !important;
}

html.dark-mode .game-sidebar .header__menu--mobile .header__submenu,
body.dark-mode .game-sidebar .header__menu--mobile .header__submenu {
    background: #202531 !important;
    border-color: #2a3242 !important;
}

html.dark-mode .game-sidebar .header__menu--mobile .header__submenu > .header__menu-item > .header__menu-link,
body.dark-mode .game-sidebar .header__menu--mobile .header__submenu > .header__menu-item > .header__menu-link {
    color: #cbd5e1 !important;
}

html.dark-mode .game-sidebar .header__menu--mobile .header__submenu > .header__menu-item > .header__menu-link:hover,
body.dark-mode .game-sidebar .header__menu--mobile .header__submenu > .header__menu-item > .header__menu-link:focus {
    color: #F6A91C !important;
    background: rgba(246, 169, 28, 0.12) !important;
}

html.dark-mode .game-sidebar .header__menu--mobile .header__dropdown-icon svg,
body.dark-mode .game-sidebar .header__menu--mobile .header__dropdown-icon svg {
    stroke: currentColor !important;
}

html.dark-mode .game-sidebar__divider,
body.dark-mode .game-sidebar__divider {
    background: #2a3242 !important;
}

/* Hero & Seção de Títulos */
html.dark-mode .game-hero__card,
body.dark-mode .game-hero__card {
    background: #1a1e27 !important;
    border-color: #2a3242 !important;
}

html.dark-mode .game-hero__title,
body.dark-mode .game-hero__title {
    color: #f1f5f9 !important;
}

html.dark-mode .game-hero__subtitle,
body.dark-mode .game-hero__subtitle {
    color: #94a3b8 !important;
}

html.dark-mode .game-hero__count-badge,
body.dark-mode .game-hero__count-badge {
    background: #242a36 !important;
    color: #f1f5f9 !important;
    border-color: #2a3242 !important;
}

/* Cards de Jogos */
html.dark-mode .game-card,
body.dark-mode .game-card {
    background: #1a1e27 !important;
    border-color: #2a3242 !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.4) !important;
}

html.dark-mode .game-card:hover,
body.dark-mode .game-card:hover {
    border-color: #F6A91C !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5) !important;
}

html.dark-mode .game-card__title,
body.dark-mode .game-card__title {
    color: #f1f5f9 !important;
}

html.dark-mode .game-card__pill--category,
body.dark-mode .game-card__pill--category {
    background: #242a36 !important;
    border-color: #323b4c !important;
    color: #F6A91C !important;
}

html.dark-mode .game-card__pill--category:hover,
body.dark-mode .game-card__pill--category:hover {
    background: #2d3545 !important;
}

/* Single Game Page */
html.dark-mode .game-breadcrumb__link,
body.dark-mode .game-breadcrumb__link {
    color: #94a3b8 !important;
}

html.dark-mode .game-breadcrumb__link:hover,
body.dark-mode .game-breadcrumb__link:hover {
    color: #F6A91C !important;
}

html.dark-mode .game-breadcrumb__sep,
body.dark-mode .game-breadcrumb__sep {
    color: #475569 !important;
}

html.dark-mode .game-breadcrumb__current,
body.dark-mode .game-breadcrumb__current {
    color: #f1f5f9 !important;
}

html.dark-mode .game-stage-wrapper,
body.dark-mode .game-stage-wrapper {
    background: #0d0f14 !important;
    border-color: #2a3242 !important;
}

html.dark-mode .game-action-bar,
body.dark-mode .game-action-bar {
    background: #1a1e27 !important;
    border-color: #2a3242 !important;
}

html.dark-mode .game-action-bar__title,
body.dark-mode .game-action-bar__title {
    color: #f1f5f9 !important;
}

html.dark-mode .game-action-bar__dev,
body.dark-mode .game-action-bar__dev {
    color: #94a3b8 !important;
}

html.dark-mode .game-action-btn,
body.dark-mode .game-action-btn {
    background: #242a36 !important;
    border: 1px solid #2a3242 !important;
    color: #cbd5e1 !important;
    box-shadow: none !important;
    transform: none;
}

html.dark-mode .game-action-btn:hover,
body.dark-mode .game-action-btn:hover {
    background: #2d3545 !important;
    border-color: #3b4559 !important;
    color: #f1f5f9 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

html.dark-mode .game-action-btn:active,
body.dark-mode .game-action-btn:active {
    transform: translateY(0) !important;
}

/* Botão de Like no Modo Escuro (Sem glow estranho ou halos borrados) */
html.dark-mode .game-like-btn.is-liked,
body.dark-mode .game-like-btn.is-liked {
    background: rgba(16, 185, 129, 0.18) !important;
    border-color: #10b981 !important;
    color: #34d399 !important;
    box-shadow: none !important;
}

html.dark-mode .game-like-btn.is-liked svg,
body.dark-mode .game-like-btn.is-liked svg {
    color: #34d399 !important;
    fill: #34d399 !important;
    stroke: none !important;
}

html.dark-mode .game-like-btn.is-liked .game-action-btn__count,
body.dark-mode .game-like-btn.is-liked .game-action-btn__count {
    color: #34d399 !important;
}

html.dark-mode .game-like-btn.is-liked:hover,
body.dark-mode .game-like-btn.is-liked:hover {
    background: rgba(16, 185, 129, 0.28) !important;
    border-color: #34d399 !important;
    color: #34d399 !important;
    box-shadow: none !important;
}

/* Botão de Favorito no Modo Escuro (Sem glow estranho ou halos borrados) */
html.dark-mode .game-favorite-toggle.is-favorited,
body.dark-mode .game-favorite-toggle.is-favorited {
    background: rgba(239, 68, 68, 0.18) !important;
    border-color: #ef4444 !important;
    color: #f87171 !important;
    box-shadow: none !important;
}

html.dark-mode .game-favorite-toggle.is-favorited svg,
body.dark-mode .game-favorite-toggle.is-favorited svg {
    color: #f87171 !important;
    fill: #f87171 !important;
}

html.dark-mode .game-favorite-toggle.is-favorited .game-action-btn__label,
body.dark-mode .game-favorite-toggle.is-favorited .game-action-btn__label {
    color: #f87171 !important;
}

html.dark-mode .game-favorite-toggle.is-favorited:hover,
body.dark-mode .game-favorite-toggle.is-favorited:hover {
    background: rgba(239, 68, 68, 0.28) !important;
    border-color: #f87171 !important;
    color: #f87171 !important;
    box-shadow: none !important;
}

/* Estado Ativo Genérico (Modo Teatro, Tela Cheia, etc.) */
html.dark-mode .game-action-btn.is-active,
body.dark-mode .game-action-btn.is-active {
    background: rgba(246, 169, 28, 0.18) !important;
    border-color: #F6A91C !important;
    color: #F6A91C !important;
    box-shadow: none !important;
}

html.dark-mode .game-action-btn.is-active svg,
body.dark-mode .game-action-btn.is-active svg {
    color: #F6A91C !important;
}

html.dark-mode .game-controls-card,
body.dark-mode .game-controls-card,
html.dark-mode .game-description-card,
body.dark-mode .game-description-card,
html.dark-mode .game-specs-card,
body.dark-mode .game-specs-card,
html.dark-mode .game-single-sidebar-card,
body.dark-mode .game-single-sidebar-card,
html.dark-mode .game-comments-card,
body.dark-mode .game-comments-card {
    background: #1a1e27 !important;
    border-color: #2a3242 !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3) !important;
}

html.dark-mode .game-section-header__title,
html[data-theme="dark"] .game-section-header__title,
body.dark-mode .game-section-header__title,
html.dark-mode .game-controls-card__title,
body.dark-mode .game-controls-card__title,
html.dark-mode .game-description-card__title,
body.dark-mode .game-description-card__title,
html.dark-mode .game-specs-card__title,
body.dark-mode .game-specs-card__title,
html.dark-mode .single-post__comments-form-title,
body.dark-mode .single-post__comments-form-title {
    color: #f1f5f9 !important;
}

html.dark-mode .game-controls-card__body,
body.dark-mode .game-controls-card__body,
html.dark-mode .game-description-card__content,
body.dark-mode .game-description-card__content {
    color: #cbd5e1 !important;
}

html.dark-mode .game-specs-card__item,
body.dark-mode .game-specs-card__item {
    border-bottom-color: #242a36 !important;
}

html.dark-mode .game-specs-card__label,
body.dark-mode .game-specs-card__label {
    color: #94a3b8 !important;
}

html.dark-mode .game-specs-card__val,
body.dark-mode .game-specs-card__val {
    color: #f1f5f9 !important;
}

html.dark-mode .game-tag-chip,
body.dark-mode .game-tag-chip {
    background: #242a36 !important;
    border-color: #2a3242 !important;
    color: #cbd5e1 !important;
}

html.dark-mode .game-tag-chip:hover,
body.dark-mode .game-tag-chip:hover {
    background: #2d3545 !important;
    color: #F6A91C !important;
}

/* Comentários */
html.dark-mode .comment-form textarea,
body.dark-mode .comment-form textarea,
html.dark-mode .comment-form input[type="text"],
body.dark-mode .comment-form input[type="text"],
html.dark-mode .comment-form input[type="email"],
body.dark-mode .comment-form input[type="email"],
html.dark-mode .comment-form input[type="url"],
body.dark-mode .comment-form input[type="url"] {
    background: #202531 !important;
    border-color: #2a3242 !important;
    color: #f1f5f9 !important;
}

html.dark-mode .comment-body,
body.dark-mode .comment-body {
    background: #202531 !important;
    border-color: #2a3242 !important;
    color: #cbd5e1 !important;
}

html.dark-mode .comment-author,
body.dark-mode .comment-author {
    color: #f1f5f9 !important;
}

/* Footer */
html.dark-mode .footer,
body.dark-mode .footer {
    background: #0d0f14 !important;
    border-top: 1px solid #2a3242 !important;
}

html.dark-mode .footer__col-title,
body.dark-mode .footer__col-title {
    color: #f1f5f9 !important;
}

html.dark-mode .footer__sobre,
body.dark-mode .footer__sobre,
html.dark-mode .footer__copyright,
body.dark-mode .footer__copyright {
    color: #94a3b8 !important;
}

html.dark-mode .footer__menu a,
body.dark-mode .footer__menu a {
    color: #cbd5e1 !important;
}

html.dark-mode .footer__menu a:hover,
body.dark-mode .footer__menu a:hover {
    color: #F6A91C !important;
}

html.dark-mode .footer__bottom,
body.dark-mode .footer__bottom {
    border-top-color: #1a1e27 !important;
}

html.dark-mode .wpxm-back-to-top,
body.dark-mode .wpxm-back-to-top {
    background: #242a36 !important;
    border: 1px solid #2a3242 !important;
    color: #f1f5f9 !important;
}

html.dark-mode .wpxm-back-to-top:hover,
body.dark-mode .wpxm-back-to-top:hover {
    background: #F6A91C !important;
    color: #1C160C !important;
}

/* Empty States & Avisos */
html.dark-mode .game-empty-state,
body.dark-mode .game-empty-state {
    background: #1a1e27 !important;
    border-color: #2a3242 !important;
}

html.dark-mode .game-empty-state__title,
body.dark-mode .game-empty-state__title {
    color: #f1f5f9 !important;
}

html.dark-mode .game-empty-state__text,
body.dark-mode .game-empty-state__text {
    color: #94a3b8 !important;
}

/* Sidebar Mais Jogados / Mais Lidas no Modo Escuro */
html.dark-mode .game-single-sidebar-card,
body.dark-mode .game-single-sidebar-card,
html.dark-mode .l1-sidebar,
body.dark-mode .l1-sidebar {
    background: #1a1e27 !important;
    border-color: #2a3242 !important;
}

html.dark-mode .l1-sidebar__header,
body.dark-mode .l1-sidebar__header {
    border-bottom-color: #2a3242 !important;
}

html.dark-mode .l1-sidebar__titulo,
body.dark-mode .l1-sidebar__titulo {
    color: #f1f5f9 !important;
}

html.dark-mode .game-single-sidebar-card .l1-sidebar__item,
body.dark-mode .game-single-sidebar-card .l1-sidebar__item,
html.dark-mode .l1-sidebar__item,
body.dark-mode .l1-sidebar__item {
    background: #202531 !important;
    border-color: #2a3242 !important;
}

html.dark-mode .game-single-sidebar-card .l1-sidebar__item:hover,
body.dark-mode .game-single-sidebar-card .l1-sidebar__item:hover,
html.dark-mode .l1-sidebar__item:hover,
body.dark-mode .l1-sidebar__item:hover {
    background: #282e3c !important;
    border-color: #3b4559 !important;
}

html.dark-mode .game-single-sidebar-card .l1-sidebar__item:not(.l1-sidebar__item--destaque) .l1-sidebar__item-titulo,
body.dark-mode .game-single-sidebar-card .l1-sidebar__item:not(.l1-sidebar__item--destaque) .l1-sidebar__item-titulo,
html.dark-mode .l1-sidebar__item:not(.l1-sidebar__item--destaque) .l1-sidebar__item-titulo,
body.dark-mode .l1-sidebar__item:not(.l1-sidebar__item--destaque) .l1-sidebar__item-titulo {
    color: #f1f5f9 !important;
}

html.dark-mode .game-single-sidebar-card .l1-sidebar__item:not(.l1-sidebar__item--destaque):hover .l1-sidebar__item-titulo,
body.dark-mode .game-single-sidebar-card .l1-sidebar__item:not(.l1-sidebar__item--destaque):hover .l1-sidebar__item-titulo,
html.dark-mode .l1-sidebar__item:not(.l1-sidebar__item--destaque):hover .l1-sidebar__item-titulo,
body.dark-mode .l1-sidebar__item:not(.l1-sidebar__item--destaque):hover .l1-sidebar__item-titulo {
    color: #F6A91C !important;
}

html.dark-mode .l1-sidebar__item:not(.l1-sidebar__item--destaque) .l1-sidebar__num,
body.dark-mode .l1-sidebar__item:not(.l1-sidebar__item--destaque) .l1-sidebar__num {
    background: #242a36 !important;
    color: #f1f5f9 !important;
    border-color: #2a3242 !important;
}

html.dark-mode .game-single-sidebar-card .l1-sidebar__item:not(.l1-sidebar__item--destaque) .l1-sidebar__excerpt,
body.dark-mode .game-single-sidebar-card .l1-sidebar__item:not(.l1-sidebar__item--destaque) .l1-sidebar__excerpt {
    color: #94a3b8 !important;
}

/* ============================================================
   PÁGINAS ESTÁTICAS (page.php) & ARTIGOS NO MODO ESCURO
   ============================================================ */
html.dark-mode article.single-post,
body.dark-mode article.single-post,
html.dark-mode .single-post,
body.dark-mode .single-post,
html.dark-mode .single-post__header,
body.dark-mode .single-post__header,
html.dark-mode .single-post__body,
body.dark-mode .single-post__body {
    background: #1a1e27 !important;
    color: #cbd5e1 !important;
}

html.dark-mode .site-main {
    background: transparent !important;
}

.page article.single-post {
    border-radius: var(--game-radius-lg, 14px);
    border: 1px solid var(--game-border, #EADEC4);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 30px;
    background: var(--game-bg-surface, #ffffff);
}

html.dark-mode .page article.single-post,
body.dark-mode .page article.single-post {
    background: #1a1e27 !important;
    border-color: #2a3242 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}

html.dark-mode .single-post__title,
body.dark-mode .single-post__title {
    color: #f1f5f9 !important;
}

html.dark-mode .single-post__subtitle-text,
body.dark-mode .single-post__subtitle-text {
    color: #94a3b8 !important;
}

html.dark-mode .single-post__divider,
body.dark-mode .single-post__divider {
    border-top-color: #2a3242 !important;
}

html.dark-mode .single-post__content,
body.dark-mode .single-post__content,
html.dark-mode .single-post__content p,
body.dark-mode .single-post__content p,
html.dark-mode .single-post__content ul li,
body.dark-mode .single-post__content ul li,
html.dark-mode .single-post__content ol li,
body.dark-mode .single-post__content ol li,
html.dark-mode .single-post__content .wp-block-list li,
body.dark-mode .single-post__content .wp-block-list li {
    color: #cbd5e1 !important;
    -webkit-text-stroke: 0 !important;
}

html.dark-mode .single-post__content h1,
body.dark-mode .single-post__content h1,
html.dark-mode .single-post__content h2,
body.dark-mode .single-post__content h2,
html.dark-mode .single-post__content h3,
body.dark-mode .single-post__content h3,
html.dark-mode .single-post__content h4,
body.dark-mode .single-post__content h4,
html.dark-mode .single-post__content h5,
body.dark-mode .single-post__content h5,
html.dark-mode .single-post__content h6,
body.dark-mode .single-post__content h6,
html.dark-mode .single-post__content strong,
body.dark-mode .single-post__content strong,
html.dark-mode .single-post__content b,
body.dark-mode .single-post__content b {
    color: #f1f5f9 !important;
}

html.dark-mode .single-post__content a,
body.dark-mode .single-post__content a {
    color: #F6A91C !important;
}

html.dark-mode .single-post__content a:hover,
body.dark-mode .single-post__content a:hover {
    color: #ffd074 !important;
}

html.dark-mode .single-post__content blockquote,
body.dark-mode .single-post__content blockquote {
    background: #202531 !important;
    border-left-color: #F6A91C !important;
}

html.dark-mode .single-post__content blockquote p,
body.dark-mode .single-post__content blockquote p {
    color: #cbd5e1 !important;
}

html.dark-mode .single-post__content blockquote cite,
body.dark-mode .single-post__content blockquote cite {
    color: #94a3b8 !important;
}

html.dark-mode .single-post__content table thead th,
body.dark-mode .single-post__content table thead th,
html.dark-mode .single-post__content table th,
body.dark-mode .single-post__content table th {
    background: #202531 !important;
    color: #f1f5f9 !important;
    border-color: #2a3242 !important;
}

html.dark-mode .single-post__content table td,
body.dark-mode .single-post__content table td {
    border-color: #2a3242 !important;
    color: #cbd5e1 !important;
}

html.dark-mode .single-post__content table tbody tr:nth-child(even) td,
body.dark-mode .single-post__content table tbody tr:nth-child(even) td {
    background: #1e2430 !important;
}

html.dark-mode .single-post__content code,
body.dark-mode .single-post__content code {
    background: #202531 !important;
    border-color: #2a3242 !important;
    color: #F6A91C !important;
}

html.dark-mode .single-post__content pre,
body.dark-mode .single-post__content pre {
    background: #0f131a !important;
    border: 1px solid #2a3242 !important;
    color: #e2e8f0 !important;
}

html.dark-mode .single-post__content figcaption,
body.dark-mode .single-post__content figcaption,
html.dark-mode .single-post__content .wp-caption-text,
body.dark-mode .single-post__content .wp-caption-text,
html.dark-mode .single-post__content .wp-element-caption,
body.dark-mode .single-post__content .wp-element-caption {
    color: #94a3b8 !important;
}

html.dark-mode .single-post__author-card,
body.dark-mode .single-post__author-card {
    background: #1a1e27 !important;
    border-color: #2a3242 !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5) !important;
}

html.dark-mode .single-post__breadcrumb-item,
body.dark-mode .single-post__breadcrumb-item,
html.dark-mode .single-post__breadcrumb-link,
body.dark-mode .single-post__breadcrumb-link,
html.dark-mode .single-post__meta-info,
body.dark-mode .single-post__meta-info,
html.dark-mode .single-post__date,
body.dark-mode .single-post__date {
    color: #94a3b8 !important;
}

/* Paginação no Modo Escuro */
html.dark-mode .l1-paginacao .page-numbers a,
body.dark-mode .l1-paginacao .page-numbers a,
html.dark-mode .l1-paginacao .page-numbers span,
body.dark-mode .l1-paginacao .page-numbers span {
    background: #202531 !important;
    border-color: #2a3242 !important;
    color: #cbd5e1 !important;
}

html.dark-mode .l1-paginacao .page-numbers a:hover,
body.dark-mode .l1-paginacao .page-numbers a:hover,
html.dark-mode .l1-paginacao .page-numbers .current,
body.dark-mode .l1-paginacao .page-numbers .current {
    background: #F6A91C !important;
    border-color: #F6A91C !important;
    color: #1C160C !important;
}

html.dark-mode .l1-pag-jornal__num,
body.dark-mode .l1-pag-jornal__num,
html.dark-mode .l1-pag-jornal__arrow,
body.dark-mode .l1-pag-jornal__arrow {
    color: #cbd5e1 !important;
}

html.dark-mode .l1-pag-jornal__num:hover,
body.dark-mode .l1-pag-jornal__num:hover,
html.dark-mode .l1-pag-jornal__num--current,
body.dark-mode .l1-pag-jornal__num--current,
html.dark-mode .l1-pag-jornal__arrow:hover,
body.dark-mode .l1-pag-jornal__arrow:hover {
    color: #F6A91C !important;
    border-bottom-color: #F6A91C !important;
}

html.dark-mode .game-load-more-btn,
body.dark-mode .game-load-more-btn {
    background: #F6A91C !important;
    color: #1C160C !important;
}

html.dark-mode .game-load-more-btn:hover,
body.dark-mode .game-load-more-btn:hover {
    background: #f59e0b !important;
    color: #1C160C !important;
}

/* ============================================================
   MULTI-LANGUAGE SWITCHER (I18N) — DESKTOP & MOBILE
   ============================================================ */

.wpxm-lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    user-select: none;
}

.wpxm-lang-switcher__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 12px;
    background: var(--game-bg-surface, #F6EEDA);
    border: 1px solid var(--game-border, #EADEC4);
    border-radius: 50px !important;
    color: var(--header-text, var(--game-text-main, #1C160C));
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    line-height: 1;
}

.wpxm-lang-switcher__btn:hover {
    background: var(--game-bg-surface-elevated, #FFFDF8);
    border-color: var(--game-accent, #F6A91C);
    transform: translateY(-1px);
}

.wpxm-lang-switcher__flag {
    font-size: 14px;
    line-height: 1;
    display: inline-block;
}

.wpxm-lang-switcher__code {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.wpxm-lang-switcher__arrow {
    display: inline-block;
    transition: transform 0.2s ease;
    stroke: currentColor;
}

.wpxm-lang-switcher.is-open .wpxm-lang-switcher__arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.wpxm-lang-switcher__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 155px;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #FFFDF8;
    border: 1px solid var(--game-border, #EADEC4);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.06);
    display: none;
    z-index: 1000;
    overflow: hidden;
    animation: wpxmLangFadeIn 0.15s ease-out forwards;
}

.wpxm-lang-switcher.is-open .wpxm-lang-switcher__dropdown {
    display: block;
}

@keyframes wpxmLangFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wpxm-lang-switcher__item {
    margin: 0;
    padding: 0;
}

.wpxm-lang-switcher__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--game-text-main, #1C160C);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.wpxm-lang-switcher__link:hover {
    background: rgba(246, 169, 28, 0.12);
    color: var(--game-text-main, #1C160C);
}

.wpxm-lang-switcher__link.is-active {
    font-weight: 800;
    color: #b45309;
    background: rgba(246, 169, 28, 0.08);
}

.wpxm-lang-switcher__item-flag {
    font-size: 15px;
    line-height: 1;
}

.wpxm-lang-switcher__item-name {
    flex: 1;
    white-space: nowrap;
}

.wpxm-lang-switcher__check {
    font-size: 13px;
    font-weight: 900;
    color: #F6A91C;
}

/* Desktop Switcher: Hide on Mobile/Tablet */
@media (max-width: 991px) {
    .wpxm-lang-switcher--desktop {
        display: none !important;
    }
}

/* Mobile Switcher (inside Drawer) */
.wpxm-lang-switcher--mobile .wpxm-lang-switcher__btn {
    height: 36px;
    padding: 0 10px;
    font-size: 12px;
    background: var(--game-bg-surface-elevated, #F6EEDA);
    border: 1px solid var(--game-border, #EADEC4);
}

.wpxm-lang-switcher--mobile .wpxm-lang-switcher__dropdown {
    right: 0;
    top: calc(100% + 6px);
}

/* ── DARK MODE STYLING ── */
html.dark-mode .wpxm-lang-switcher__btn,
body.dark-mode .wpxm-lang-switcher__btn {
    background: #202531 !important;
    border-color: #2a3242 !important;
    color: #f1f5f9 !important;
    transition: none !important;
}

html.dark-mode .wpxm-lang-switcher__btn:hover,
body.dark-mode .wpxm-lang-switcher__btn:hover {
    background: #272e3d !important;
    border-color: #F6A91C !important;
}

html.dark-mode .wpxm-lang-switcher__dropdown,
body.dark-mode .wpxm-lang-switcher__dropdown {
    background: #1a1f2c !important;
    border-color: #2d3748 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
}

html.dark-mode .wpxm-lang-switcher__link,
body.dark-mode .wpxm-lang-switcher__link {
    color: #cbd5e1 !important;
}

html.dark-mode .wpxm-lang-switcher__link:hover,
body.dark-mode .wpxm-lang-switcher__link:hover {
    background: rgba(246, 169, 28, 0.15) !important;
    color: #ffffff !important;
}

html.dark-mode .wpxm-lang-switcher__link.is-active,
body.dark-mode .wpxm-lang-switcher__link.is-active {
    color: #F6A91C !important;
    background: rgba(246, 169, 28, 0.1) !important;
}




