/*
 * Mix Agora Premium UI
 * Camada visual sobre Varient/Bootstrap 3.
 * Mantém a estrutura editorial, anúncios, Stories e automações.
 */

:root {
    --mix-navy: #0b1f3a;
    --mix-blue: #145da0;
    --mix-blue-2: #1f78c1;
    --mix-red: #d9272e;
    --mix-gold: #f2b84b;
    --mix-ink: #182230;
    --mix-muted: #667085;
    --mix-bg: #f4f7fb;
    --mix-surface: #ffffff;
    --mix-line: #e5eaf1;
    --mix-radius: 14px;
    --mix-radius-sm: 9px;
    --mix-shadow: 0 10px 30px rgba(11, 31, 58, .09);
    --mix-shadow-hover: 0 16px 38px rgba(11, 31, 58, .15);
}

html {
    scroll-behavior: smooth;
}

body.mix-premium {
    background: var(--mix-bg);
    color: var(--mix-ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.mix-premium a {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.mix-premium img {
    max-width: 100%;
}

/* Header */
body.mix-premium #header {
    position: relative;
    z-index: 50;
    background: var(--mix-surface);
    box-shadow: 0 1px 0 rgba(11, 31, 58, .08);
}

body.mix-premium .top-bar {
    min-height: 36px;
    background: var(--mix-navy) !important;
    border: 0;
}

body.mix-premium .top-bar,
body.mix-premium .top-bar a,
body.mix-premium .top-bar .top-item {
    color: rgba(255, 255, 255, .9) !important;
}

body.mix-premium .top-bar a:hover {
    color: #fff !important;
}

body.mix-premium .top-menu > li > a,
body.mix-premium .top-info-left,
body.mix-premium .top-info-right {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
}

body.mix-premium .logo-banner {
    padding: 16px 0;
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

body.mix-premium .logo-banner .row {
    display: flex;
    align-items: center;
}

body.mix-premium .logo-banner .mix-header-social {
    display: flex;
    align-items: center;
    min-height: 72px;
}

body.mix-premium .logo-banner .header-widget.f-widget-follow {
    margin: 0;
}

body.mix-premium .logo-banner .header-widget.f-widget-follow ul {
    display: flex;
    gap: 6px;
    margin: 0;
}

body.mix-premium .logo-banner .header-widget.f-widget-follow li a {
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(11, 31, 58, .08);
}

body.mix-premium .mix-header-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
}

body.mix-premium .mix-header-brand .logo {
    width: auto;
    max-width: 260px;
    max-height: 82px;
    object-fit: contain;
}

body.mix-premium .mix-header-ad {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 72px;
}

body.mix-premium .main-menu {
    min-height: 52px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: var(--mix-surface);
    box-shadow: 0 8px 22px rgba(11, 31, 58, .07);
}

body.mix-premium .main-menu .navbar-nav > li > a {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: var(--mix-ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .015em;
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
}

body.mix-premium .main-menu .navbar-nav > li > a:hover,
body.mix-premium .main-menu .navbar-nav > li.active > a {
    color: var(--mix-blue);
    background: rgba(20, 93, 160, .05);
    border-bottom-color: var(--mix-red);
}

body.mix-premium .main-menu .dropdown-menu {
    border: 1px solid var(--mix-line);
    border-radius: 0 0 var(--mix-radius-sm) var(--mix-radius-sm);
    box-shadow: var(--mix-shadow);
}

/* Home shell */
body.mix-premium .title-index {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.mix-premium .section-mix-agora-tv {
    margin-top: 22px !important;
    margin-bottom: 18px !important;
}

body.mix-premium .section-mix-agora-tv .section-head {
    margin-bottom: 14px;
}

body.mix-premium .featured-video,
body.mix-premium .videolive {
    overflow: hidden;
    border-radius: var(--mix-radius);
    background: #071526;
    box-shadow: var(--mix-shadow);
}

/* Ads remain neutral and readable */
body.mix-premium .bn-mix-tv-below,
body.mix-premium .bn-index-middle,
body.mix-premium .bn-p-b {
    padding: 12px 0;
}

body.mix-premium .bn-mix-tv-below .bn,
body.mix-premium .bn-index-middle .bn,
body.mix-premium .bn-p-b .bn {
    overflow: hidden;
    border-radius: var(--mix-radius-sm);
}

/* Stories */
body.mix-premium .news-stories-strip-outer {
    margin: 10px 0 22px;
    padding: 14px 16px 12px;
    background: var(--mix-surface);
    border: 1px solid var(--mix-line);
    border-radius: var(--mix-radius);
    box-shadow: 0 6px 20px rgba(11, 31, 58, .06);
}

body.mix-premium .news-stories-strip-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

body.mix-premium .news-stories-strip-label {
    color: var(--mix-navy);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

body.mix-premium .news-stories-strip-label::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--mix-red);
    box-shadow: 0 0 0 5px rgba(217, 39, 46, .11);
}

body.mix-premium .news-stories-strip-hint {
    color: var(--mix-muted);
    font-size: 12px;
}

body.mix-premium .news-stories-strip {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
}

body.mix-premium .news-story-pill {
    flex: 0 0 92px;
    width: 92px;
    color: var(--mix-ink);
    text-align: center;
    scroll-snap-align: start;
}

body.mix-premium .news-story-ring {
    display: inline-flex;
    width: 72px;
    height: 72px;
    padding: 3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mix-red), var(--mix-gold), var(--mix-blue));
}

body.mix-premium .news-story-img {
    width: 66px;
    height: 66px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
}

body.mix-premium .news-story-pill:hover {
    color: var(--mix-blue);
    transform: translateY(-2px);
}

body.mix-premium .news-story-title {
    display: -webkit-box;
    margin-top: 7px;
    overflow: hidden;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* Featured editorial composition */
body.mix-premium .section-featured {
    margin-bottom: 24px;
}

body.mix-premium #featured {
    display: grid !important;
    grid-template-columns: minmax(0, 1.25fr) minmax(380px, .75fr);
    gap: 18px;
    height: auto !important;
    min-height: 430px;
    padding: 0 !important;
    background: transparent;
}

body.mix-premium #featured .featured-left,
body.mix-premium #featured .featured-right {
    float: none !important;
    width: auto !important;
    height: auto !important;
}

body.mix-premium #featured .featured-left {
    overflow: hidden;
    min-height: 430px;
    border-radius: var(--mix-radius);
    background: var(--mix-navy);
    box-shadow: var(--mix-shadow);
}

body.mix-premium #featured .featured-left .featured-slider,
body.mix-premium #featured .featured-left .owl-stage-outer,
body.mix-premium #featured .featured-left .owl-stage,
body.mix-premium #featured .featured-left .owl-item,
body.mix-premium #featured .featured-left .item {
    height: 100%;
    min-height: 430px;
}

body.mix-premium #featured .featured-left img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

body.mix-premium #featured .featured-left .caption {
    padding: 80px 28px 24px;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 17, 32, .9) 100%);
}

body.mix-premium #featured .featured-left .caption .title {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.12;
}

body.mix-premium #featured .featured-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

body.mix-premium .row-eventos-patrocinio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0;
}

body.mix-premium .col-eventos,
body.mix-premium .col-patrocinio {
    min-width: 0;
}

body.mix-premium .title-box {
    margin: 0 0 8px;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
}

body.mix-premium .title-box h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--mix-navy);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

body.mix-premium .title-box h2::before {
    content: "";
    width: 4px;
    height: 16px;
    border-radius: 4px;
    background: var(--mix-red);
}

body.mix-premium .featured-event-single,
body.mix-premium .featured-boxes-patrocinio {
    overflow: hidden;
    min-height: 154px;
    border: 1px solid var(--mix-line);
    border-radius: var(--mix-radius-sm);
    background: var(--mix-surface);
}

body.mix-premium .news-featured {
    margin-top: 2px;
}

body.mix-premium .row-destaques {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

body.mix-premium .box-destaque-pequeno {
    float: none !important;
    width: auto !important;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--mix-line);
    border-radius: var(--mix-radius-sm);
    background: var(--mix-surface);
}

/* Tickers */
body.mix-premium .news-ticker-cnt,
body.mix-premium .noticias-em-destaque-bar {
    overflow: hidden;
    margin: 0 0 16px;
    border: 1px solid rgba(20, 93, 160, .12);
    border-radius: var(--mix-radius-sm);
    background: var(--mix-surface);
    box-shadow: 0 4px 14px rgba(11, 31, 58, .05);
}

body.mix-premium .news-ticker-title,
body.mix-premium .noticias-em-destaque-bar .bar-title {
    background: var(--mix-navy) !important;
    color: #fff !important;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

/* Main content */
body.mix-premium #wrapper.index-wrapper {
    padding-top: 18px;
    padding-bottom: 40px;
}

body.mix-premium #content {
    padding-right: 20px;
}

body.mix-premium #sidebar {
    padding-left: 20px;
}

body.mix-premium .section {
    margin-bottom: 28px;
}

body.mix-premium .section-head {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-bottom: 16px;
    padding: 0 14px;
    overflow: hidden;
    border: 0 !important;
    border-radius: var(--mix-radius-sm);
    box-shadow: 0 5px 16px rgba(11, 31, 58, .07);
}

body.mix-premium .section-head::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, .38);
}

body.mix-premium .section-head .title,
body.mix-premium .section-head .title a {
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

body.mix-premium .section-head .a-view-all {
    margin-left: auto;
    color: rgba(255, 255, 255, .9) !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

body.mix-premium .post-item,
body.mix-premium .post-item-mid,
body.mix-premium .post-item-horizontal,
body.mix-premium .latest-articles .post-item {
    overflow: hidden;
    border-radius: var(--mix-radius-sm);
    background: var(--mix-surface);
}

body.mix-premium .post-item .post-image,
body.mix-premium .post-item-mid .post-image,
body.mix-premium .post-item-horizontal .post-image {
    overflow: hidden;
    border-radius: var(--mix-radius-sm);
}

body.mix-premium .post-item img,
body.mix-premium .post-item-mid img,
body.mix-premium .post-item-horizontal img,
body.mix-premium .post-item-small img {
    transition: transform .35s ease;
}

body.mix-premium .post-item:hover img,
body.mix-premium .post-item-mid:hover img,
body.mix-premium .post-item-horizontal:hover img,
body.mix-premium .post-item-small:hover img {
    transform: scale(1.035);
}

body.mix-premium .post-item .title,
body.mix-premium .post-item-mid .title,
body.mix-premium .post-item-horizontal .title {
    color: var(--mix-ink);
    font-weight: 750;
    line-height: 1.3;
}

body.mix-premium .post-meta,
body.mix-premium .post-meta a,
body.mix-premium .post-summary {
    color: var(--mix-muted);
}

body.mix-premium .category-label {
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

body.mix-premium .btn-load-more {
    min-height: 46px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: var(--mix-navy);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(11, 31, 58, .18);
}

body.mix-premium .btn-load-more:hover {
    background: var(--mix-blue);
    color: #fff;
    transform: translateY(-2px);
}

/* Sidebar */
body.mix-premium #sidebar .sidebar-widget {
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--mix-line);
    border-radius: var(--mix-radius);
    background: var(--mix-surface);
    box-shadow: 0 7px 22px rgba(11, 31, 58, .06);
}

body.mix-premium #sidebar .widget-head {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: linear-gradient(135deg, var(--mix-navy), var(--mix-blue));
}

body.mix-premium #sidebar .widget-head .title {
    margin: 0;
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
}

body.mix-premium #sidebar .widget-body {
    padding: 14px 16px;
}

body.mix-premium .mix-live-widgets .mix-lw-block {
    border-color: var(--mix-line);
}

body.mix-premium .mix-live-widgets .mix-lw-temp {
    color: var(--mix-blue);
    font-size: 28px;
}

/* Footer */
body.mix-premium #footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 10%, rgba(31, 120, 193, .22), transparent 32%),
        linear-gradient(145deg, #071526, var(--mix-navy));
    color: rgba(255, 255, 255, .72);
}

body.mix-premium #footer::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--mix-red), var(--mix-gold), var(--mix-blue));
}

body.mix-premium #footer .footer-widgets {
    padding-top: 40px;
    padding-bottom: 28px;
}

body.mix-premium #footer .footer-widget .title {
    color: #fff;
    font-weight: 800;
}

body.mix-premium #footer a {
    color: rgba(255, 255, 255, .82);
}

body.mix-premium #footer a:hover {
    color: #fff;
}

body.mix-premium #footer .newsletter input[type="email"] {
    height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--mix-radius-sm) 0 0 var(--mix-radius-sm);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

body.mix-premium #footer .newsletter-button {
    height: 44px;
    border-radius: 0 var(--mix-radius-sm) var(--mix-radius-sm) 0;
    background: var(--mix-red);
    font-weight: 800;
}

body.mix-premium #footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
}

body.mix-premium .cookies-warning {
    right: 18px;
    bottom: 18px;
    left: 18px;
    max-width: 680px;
    margin: auto;
    padding: 14px 48px 14px 18px;
    border-radius: var(--mix-radius-sm);
    background: rgba(7, 21, 38, .96);
    box-shadow: var(--mix-shadow-hover);
}

/* Tablet */
@media (max-width: 991px) {
    body.mix-premium .logo-banner .row {
        display: block;
    }

    body.mix-premium .mix-header-social,
    body.mix-premium .mix-header-ad {
        display: none;
    }

    body.mix-premium .mix-header-brand {
        min-height: 58px;
    }

    body.mix-premium #featured {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    body.mix-premium #featured .featured-left,
    body.mix-premium #featured .featured-left .featured-slider,
    body.mix-premium #featured .featured-left .owl-stage-outer,
    body.mix-premium #featured .featured-left .owl-stage,
    body.mix-premium #featured .featured-left .owl-item,
    body.mix-premium #featured .featured-left .item,
    body.mix-premium #featured .featured-left img {
        min-height: 380px;
        height: 380px;
    }

    body.mix-premium #content,
    body.mix-premium #sidebar {
        padding-right: 15px;
        padding-left: 15px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    :root {
        --mix-radius: 12px;
        --mix-radius-sm: 8px;
    }

    body.mix-premium {
        background: #fff;
    }

    body.mix-premium .top-info-left .top-item:not(:first-child),
    body.mix-premium .top-info-right {
        display: none;
    }

    body.mix-premium .logo-banner {
        display: none;
    }

    body.mix-premium .nav-mobile {
        border-bottom: 1px solid var(--mix-line);
        box-shadow: 0 4px 14px rgba(11, 31, 58, .07);
    }

    body.mix-premium .section-mix-agora-tv {
        margin-top: 12px !important;
    }

    body.mix-premium .news-stories-strip-outer {
        margin: 8px 0 16px;
        padding: 12px 10px 8px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: none;
    }

    body.mix-premium .news-stories-strip {
        gap: 12px;
    }

    body.mix-premium .news-story-pill {
        flex-basis: 80px;
        width: 80px;
    }

    body.mix-premium .news-story-ring {
        width: 66px;
        height: 66px;
    }

    body.mix-premium .news-story-img {
        width: 60px;
        height: 60px;
    }

    body.mix-premium #featured {
        display: block !important;
        margin: 0;
    }

    body.mix-premium #featured .featured-left,
    body.mix-premium #featured .featured-left .featured-slider,
    body.mix-premium #featured .featured-left .owl-stage-outer,
    body.mix-premium #featured .featured-left .owl-stage,
    body.mix-premium #featured .featured-left .owl-item,
    body.mix-premium #featured .featured-left .item,
    body.mix-premium #featured .featured-left img {
        min-height: 280px;
        height: 280px;
        border-radius: 0;
    }

    body.mix-premium #featured .featured-left .caption {
        padding: 60px 16px 18px;
    }

    body.mix-premium #featured .featured-left .caption .title {
        font-size: 24px;
    }

    body.mix-premium #featured .featured-right {
        padding: 16px 15px 0;
    }

    body.mix-premium .row-eventos-patrocinio {
        grid-template-columns: 1fr 1fr;
    }

    body.mix-premium .featured-event-single,
    body.mix-premium .featured-boxes-patrocinio {
        min-height: 130px;
    }

    body.mix-premium .row-destaques {
        grid-template-columns: 1fr;
    }

    body.mix-premium .box-destaque-pequeno {
        min-height: 82px;
    }

    body.mix-premium #wrapper.index-wrapper {
        padding-top: 10px;
    }

    body.mix-premium .section-head {
        margin-right: -15px;
        margin-left: -15px;
        border-radius: 0;
    }

    body.mix-premium #sidebar {
        margin-top: 26px;
    }

    body.mix-premium #footer .footer-widgets {
        padding-top: 28px;
    }
}

@media (max-width: 420px) {
    body.mix-premium .row-eventos-patrocinio {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.mix-premium *,
    body.mix-premium *::before,
    body.mix-premium *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
