@font-face {
    font-family: "KellinhaCMSRoboto";
    src: url("../fonts/Roboto-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "KellinhaCMSRoboto";
    src: url("../fonts/Roboto-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-color: hsl(224 71% 4%);
    --text-color: #ffffff;
    --header-bg: linear-gradient(to right, #000000e6, #1e3a8ae6);
    --card-bg: #252525;
    --search-bg: #333333;
    --accent-color: #ff0000;
    --cor-link: #fff;
    --footer-bg: #030711;
    --paginacao: linear-gradient(to right, #000000e6 0%, #1e3a8ae6 13%);
    --line-color: #eeeeee1a;
    --muted-color: #aaa;
    --panel-color: #0a1020;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg-color);
}

body.kellinha-template {
    margin: 0;
    min-height: 100%;
    padding-top: 60px;
    background: var(--bg-color);
    color: var(--text-color);
    font-family: "KellinhaCMSRoboto", Roboto, Arial, sans-serif;
}

body.kellinha-template ul,
body.kellinha-template li {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.kellinha-template a {
    color: inherit;
    text-decoration: none;
}

body.kellinha-template img {
    max-width: 100%;
}

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

.skip-to-main-content:focus {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 2000;
    width: auto;
    height: auto;
    clip: auto;
    padding: 10px 14px;
    border-radius: 6px;
    background: #fff;
    color: #111827;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
}

header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    width: 100%;
    height: 60px;
    padding: 0 20px;
    border-bottom: 1px solid var(--line-color);
    background: var(--header-bg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.headerint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0;
}

.logo {
    display: flex;
    align-items: center;
    min-width: 0;
    font-size: 24px;
    font-weight: 700;
}

.kellinha-text-logo {
    display: inline-flex;
    align-items: baseline;
    max-width: 360px;
    overflow: hidden;
    color: var(--cor-link);
    line-height: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.kellinha-logo-main {
    overflow: hidden;
    text-overflow: ellipsis;
}

.kellinha-logo-accent {
    color: var(--accent-color);
}

.menu {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    justify-content: center;
}

.menu ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-item a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 5px 10px;
    border-radius: 4px;
    color: var(--text-color);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.menu-item a:hover,
.menu-item.current-menu-item a,
.menu-item.current_page_item a {
    background-color: rgba(255, 255, 255, 0.1);
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.search-btn,
.kellinha-language-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
}

.search-btn svg {
    fill: currentColor;
}

.search-btn:hover,
.kellinha-language-button:hover,
.kellinha-language.open .kellinha-language-button {
    background-color: rgba(255, 255, 255, 0.1);
}

.kellinha-language {
    position: relative;
}

.kellinha-language-button {
    width: auto;
    min-width: 42px;
    padding: 0 10px;
    border-radius: 999px;
    font-weight: 700;
}

.kellinha-language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 1200;
    display: none;
    min-width: 150px;
    padding: 8px;
    border: 1px solid var(--line-color);
    border-radius: 10px;
    background: #030711;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
}

.kellinha-language.open .kellinha-language-menu {
    display: block;
}

.kellinha-language-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 6px;
    color: var(--text-color);
    font-size: 13px;
    font-weight: 700;
}

.kellinha-language-menu a span {
    color: var(--muted-color);
    font-size: 11px;
    font-weight: 400;
}

.kellinha-language-menu a:hover,
.kellinha-language-menu a.active {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger {
    display: none;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: var(--text-color);
}

.search-bar {
    position: fixed;
    top: 60px;
    left: 0;
    z-index: 999;
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 20px;
    background: var(--header-bg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-100%);
    transition: transform 0.3s, opacity 0.3s;
}

.search-bar.active {
    opacity: 1;
    transform: translateY(0);
}

.search-bar input {
    display: block;
    width: min(800px, 100%);
    padding: 10px 15px;
    border: 1px solid #33333359;
    border-radius: 20px;
    background-color: #f3f3f3;
    color: #111827;
    font-size: 16px;
    outline: none;
}

.search-bar input:focus {
    border-color: #58a6ff;
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.18);
}

.kellinha-search-submit {
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: #1e3a8a;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.ads-container {
    width: 100%;
    margin: 0 0 20px;
}

.ads-container--bottom {
    margin: 30px 0 0;
}

.ads-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ad-slot {
    min-height: 0;
    overflow: hidden;
    text-align: center;
}

.descricao-toggle {
    margin-bottom: 20px;
}

.descricao-toggle summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.descricao-toggle summary::-webkit-details-marker {
    display: none;
}

.descricao-toggle h1,
.kellinha-listing-head h1 {
    margin: 0;
    color: var(--text-color);
    font-size: 20px;
    line-height: 1.25;
}

.descricao-toggle summary span {
    flex: 0 0 auto;
    color: #58a6ff;
    font-size: 13px;
    text-decoration: underline;
}

.kellinha-listing-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.kellinha-listing-head span {
    color: var(--muted-color);
    font-size: 13px;
}

.cms-seo-text {
    color: #d8dee9;
    font-size: 14px;
    line-height: 1.65;
}

.cms-seo-text p:first-child {
    margin-top: 0;
}

.cms-seo-text--inside {
    margin-top: 10px;
}

.cms-seo-text--top {
    margin: 0 0 20px;
}

.cms-alert,
.empty-content {
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid var(--line-color);
    border-radius: 8px;
    background: var(--panel-color);
    color: #d8dee9;
}

.empty-content h2 {
    margin: 0;
    font-size: 18px;
}

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

.video-card {
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--card-bg);
    cursor: pointer;
}

.thumbnail-link {
    display: block;
}

.thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    background-color: #555;
}

.thumbnail img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .thumbnail img {
    transform: scale(1.1);
}

.kellinha-empty-thumb {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
    font-size: 13px;
}

.kellinha-duration {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 3px 7px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.video-info {
    padding: 10px;
}

.video-title {
    display: -webkit-box;
    min-height: 36px;
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.video-title a {
    color: var(--cor-link);
    letter-spacing: 0.5px;
}

.video-title a:hover {
    color: #58a6ff;
}

.video-channel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted-color);
    font-size: 12px;
}

.paginacao {
    margin: 30px 0;
    text-align: center;
}

.paginacao .pagination-holder,
.paginacao .pagination,
.paginacao .pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.paginacao .pagination-holder > div[style] {
    display: none;
}

.paginacao li {
    display: inline-flex;
}

.paginacao a,
.paginacao span,
.paginacao strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 10px 15px;
    border-radius: 5px;
    background: var(--paginacao);
    color: var(--text-color);
    font-weight: 700;
    transition: background 0.3s, color 0.3s;
}

.paginacao .current,
.paginacao .chosen span,
.paginacao strong {
    background: white;
    color: #1e3a8a;
}

.paginacao a:hover {
    background: #1e3a8a;
    color: white;
}

.single-grid {
    display: grid;
    gap: 20px;
    padding: 0;
}

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

.content-area {
    min-width: 0;
    padding: 0;
    border-radius: 8px;
}

.kellinha-single-post {
    width: 100%;
}

.post-title {
    margin: 0 0 20px;
    color: var(--text-color);
    font-size: 22px;
    line-height: 1.25;
}

.kellinha-player-frame {
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.kellinha-player-frame .jwplayer,
.kellinha-player-frame #player {
    width: 100% !important;
}

.infopots {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 25px 0;
    padding: 15px 0;
    border-top: 1px solid #ffffff12;
    border-bottom: 1px solid #eeeeee12;
}

.post-categories {
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-size: 14px;
}

.botao-curtidas-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 20px;
}

.botao-curtidas-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid #ffffff1f;
    border-radius: 999px;
    background: transparent;
    color: var(--text-color);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.botao-curtidas-svg:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.kellinha-description {
    margin: 20px 0;
    color: #d8dee9;
    font-size: 14px;
    line-height: 1.65;
}

.kellinha-description h2 {
    margin: 0 0 10px;
    color: var(--text-color);
    font-size: 18px;
}

.kellinha-post-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.kellinha-post-links a {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-color);
    font-size: 13px;
}

.kellinha-post-links a:hover {
    background: #1e3a8a;
}

.kellinha-share {
    display: grid;
    gap: 8px;
    margin: 20px 0 0;
}

.kellinha-share label {
    color: var(--muted-color);
    font-size: 13px;
}

.kellinha-share input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ffffff1f;
    border-radius: 8px;
    background: #101827;
    color: var(--text-color);
}

.kellinha-related {
    margin-top: 30px;
}

.kellinha-section-title {
    margin-bottom: 18px;
}

.kellinha-section-title h2 {
    margin: 0;
    color: var(--text-color);
    font-size: 20px;
}

.linha {
    width: 20%;
    height: 2px;
    margin: 15px 0;
    background: linear-gradient(to left, #000000e6 0%, #1e3a8ae6 60%);
}

footer {
    margin-top: 40px;
    padding: 30px 0;
    border-top: 1px solid var(--line-color);
    background-color: var(--footer-bg);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 22px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 190px;
}

.footer-section h3 {
    margin: 0 0 15px;
    color: var(--text-color);
    font-size: 18px;
}

.footer-section li {
    margin-bottom: 10px;
    color: var(--muted-color);
    font-size: 14px;
}

.footer-section a {
    color: var(--text-color);
    font-size: 14px;
}

.footer-section a:hover,
.footer-section a.active {
    text-decoration: underline;
}

.footer-languages {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-languages li {
    margin: 0;
}

.footer-languages a {
    display: inline-flex;
    padding: 6px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.footer-counters {
    max-width: 1300px;
    margin: 20px auto 0;
    padding: 0 20px;
}

.footer-bottom {
    max-width: 1300px;
    margin: 20px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted-color);
    text-align: center;
    font-size: 14px;
}

.error-hero {
    padding: 40px 0;
}

.error-hero__panel {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 30px;
    align-items: center;
    padding: 30px;
    border: 1px solid var(--line-color);
    border-radius: 16px;
    background: var(--panel-color);
}

.error-hero__code {
    color: #1e3a8a;
    font-size: clamp(72px, 12vw, 150px);
    font-weight: 700;
    line-height: 1;
}

.error-hero h1 {
    margin: 0 0 10px;
}

.error-hero__eyebrow,
.error-hero__text {
    color: #d8dee9;
}

.error-hero__search {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.error-hero__search input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #ffffff1f;
    border-radius: 999px;
    background: #101827;
    color: var(--text-color);
}

.error-hero__search button,
.error-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border: 0;
    border-radius: 999px;
    background: #1e3a8a;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.error-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.error-button:not(.error-button--primary) {
    background: rgba(255, 255, 255, 0.1);
}

.is-rtl .kellinha-language-menu {
    right: auto;
    left: 0;
}

@media (max-width: 920px) {
    .kellinha-text-logo {
        max-width: 260px;
        font-size: 20px;
    }

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

@media (max-width: 768px) {
    header.site-header {
        padding: 0 14px;
    }

    .headerint {
        gap: 10px;
    }

    .hamburger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        order: -1;
    }

    .menu {
        position: fixed;
        top: 60px;
        left: -100%;
        z-index: 998;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        width: min(82vw, 320px);
        height: calc(100vh - 60px);
        padding: 20px;
        background: #030711;
        transition: left 0.3s;
    }

    .menu.active {
        left: 0;
    }

    .menu ul {
        display: block;
        width: 100%;
    }

    .menu li {
        margin-bottom: 14px;
    }

    .menu-item a {
        width: 100%;
    }

    .logo {
        flex: 1 1 auto;
    }

    .kellinha-text-logo {
        max-width: calc(100vw - 190px);
        font-size: 18px;
    }

    .header-right {
        gap: 6px;
    }

    .search-btn,
    .kellinha-language-button {
        height: 36px;
        min-width: 36px;
    }

    .search-bar {
        padding: 12px 14px;
    }

    .ads-row {
        grid-template-columns: 1fr;
    }

    .descricao-toggle summary,
    .kellinha-listing-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .single-grid {
        gap: 16px;
    }

    .infopots {
        gap: 12px;
        justify-content: space-between;
        padding: 12px 0;
    }

    .error-hero__panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 16px 12px;
    }

    .videos-grid {
        gap: 12px;
    }

    .video-info {
        padding: 8px;
    }

    .video-title {
        font-size: 13px;
    }

    .video-channel {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .paginacao a,
    .paginacao span,
    .paginacao strong {
        min-width: 36px;
        min-height: 36px;
        padding: 8px 10px;
    }

    .post-title {
        font-size: 20px;
    }

    .error-hero__search {
        flex-direction: column;
    }
}
