:root {
    /* Brand Palette (Mantendo a identidade que você configurou) */
    --cor-principal: #EE1B24;
    --cor-secundaria: #000080;
    --azul-suave: #1A2C8B;

    --fundo: #FFFFFF;
    --fundo-alt: #F9FAFB;
    /* Um pouco mais limpo */

    --texto: #111827;
    /* Quase preto para máxima legibilidade */
    --texto-secundario: #6B7280;

    /* Theme Mapping */
    --bg-color: var(--fundo-alt);
    --surface-color: var(--fundo);
    --text-color: var(--texto);
    --text-muted: var(--texto-secundario);
    --border-color: #E5E7EB;

    --primary: var(--cor-principal);
    --primary-hover: #c9141e;
    --secondary: var(--cor-secundaria);

    --header-bg: rgba(255, 255, 255, 0.98);

    /* UX Variables - Focando na Leveza */
    --border-radius-lg: 20px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);

    /* Cores do Rodapé (Suavizadas) */
    --footer-bg: #192763;
    --footer-text: #ffffff;
    --footer-muted: rgba(255, 255, 255, 0.7);
    --footer-title: var(--cor-principal);
}

[data-theme="dark"] {
    --fundo: #0f172a;
    --fundo-alt: #0b0f19;
    --texto: #f8fafc;
    --texto-secundario: #94a3b8;
    --border-color: #1e293b;

    --primary: #ff3b44;
    --primary-hover: #EE1B24;
    --secondary: #60a5fa;

    --header-bg: rgba(15, 23, 42, 0.98);

    /* Cores do Rodapé (Dark Mode) */
    --footer-bg: #0b0f19;
    --footer-text: #f8fafc;
    --footer-muted: #94a3b8;
    --footer-title: #ff3b44;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color var(--transition), color var(--transition);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

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

li {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1100px;
    /* Mais estreito focado na leitura */
    margin: 0 auto;
    padding: 0 24px;
}

/* Theme Toggle Button */
.theme-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: var(--transition);
}

.theme-btn:hover {
    transform: translateY(-3px) scale(1.05);
    color: var(--primary);
}

/* Header UI - Limpo e Minimalista */
.header-glass {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    transition: background-color var(--transition), border-color var(--transition);
    margin-bottom: 2rem;
}

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

/* Flexbox Avançado para 3 colunas equivalentes */
.header-col-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.header-col-center {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
}

.header-col-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.logo a {
    display: flex;
    align-items: flex-start;
    /* Impede o flex de puxar pro meio pra gente controlar a queda */
}

.brand-logo {
    max-height: 100px;
    /* Muito maior */
    width: auto;
    display: block;
    margin-top: 5px;
    /* Desce um pouco do teto */
    margin-bottom: -50px;
    /* Vaza pra fora da base de vidro */
    position: relative;
    z-index: 120;

}

.brand-logo:hover {
    transform: scale(1.05);
}

[data-theme="dark"] .brand-logo {
    /* Clarea a logo caso ela perca contraste no fundo preto */
    filter: drop-shadow(0px 8px 16px rgba(255, 255, 255, 0.15)) brightness(1.2);
}

/* Hamburger Toggle Button */
.hamburger-btn {
    background: transparent;
    border: none;
    font-size: 26px;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: transform var(--transition);
}

.hamburger-btn:hover {
    transform: scale(1.1);
    color: var(--primary);
}

/* Barra de pesquisa elegante e minimalista */
.search-bar form {
    display: flex;
    background-color: var(--surface-color);
    border-bottom: 2px solid var(--border-color);
    /* Apenas linha inferior para visual clean */
    padding: 6px 10px;
    align-items: center;
    transition: border-color var(--transition);
}

.search-bar form:focus-within {
    border-color: var(--primary);
}

#search-input {
    border: none;
    background: transparent;
    outline: none;
    color: var(--text-color);
    font-family: inherit;
    font-size: 15px;
    width: 200px;
}

#search-input::placeholder {
    color: var(--text-muted);
    font-weight: 300;
}

.btn-search {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 20px;
    cursor: pointer;
    transition: color var(--transition);
}

.btn-search:hover {
    color: var(--primary);
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.sidebar-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* Sidebar Menu */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    background: var(--surface-color);
    z-index: 1200;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 24px 20px 24px;
}

.sidebar-header h3 {
    font-size: 22px;
    color: var(--text-color);
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Sidebar Search Styling */
.sidebar-search {
    padding: 0 24px 24px 24px;
}

.sidebar-search form {
    display: flex;
    background: var(--bg-color);
    border-radius: var(--border-radius-md);
    padding: 10px 14px;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}

.sidebar-search form:focus-within {
    border-color: var(--primary);
    background: var(--surface-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.sidebar-search input {
    border: none;
    background: transparent;
    color: var(--text-color);
    width: 100%;
    font-size: 15px;
    outline: none;
}

.sidebar-search .btn-search {
    color: var(--text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 18px;
}

#sidebar-close {
    background: var(--bg-color);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
}

#sidebar-close:hover {
    color: var(--primary);
    background: rgba(238, 27, 36, 0.1);
}

.sidebar-nav {
    flex: 1;
    padding: 10px 24px 80px 24px;
    overflow-y: auto;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-links a {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    padding: 12px 16px;
    border-radius: var(--border-radius-md);
    transition: all var(--transition);
}

.sidebar-links a:hover {
    background: var(--bg-color);
    color: var(--primary);
    padding-left: 20px;
}

.sidebar-links a.active {
    background: rgba(238, 27, 36, 0.08);
    color: var(--primary);
    font-weight: 700;
}

[data-theme="dark"] .sidebar-links a:hover:not(.active) {
    background: rgba(255, 255, 255, 0.03);
}

/* Main Content */
main {
    flex: 1;
    padding: 60px 0 100px 0;
}

.page-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -1px;
    color: var(--text-color);
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 56px;
    font-weight: 400;
    letter-spacing: -0.2px;
}

/* Editorial Portal Grid Layout */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 48px 32px;
}

/* Destaque para a primeira notícia da grid (Manchete Principal Frontal) */
.news-grid .post-card:first-child {
    grid-column: 1 / -1;
    /* Ocupa a linha toda */
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.news-grid .post-card:first-child .post-cover {
    /* height: 420px; */
    height: auto;
    max-height: 420px;
    margin-bottom: 0;
}

.news-grid .post-card:first-child h3 {
    font-size: 26px;
    line-height: 1.25;
}

@media (max-width: 900px) {
    .news-grid .post-card:first-child {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .news-grid .post-card:first-child .post-cover {
        height: 280px;
        max-height: 280px;
        margin-bottom: 20px;
    }

    .news-grid .post-card:first-child h3 {
        font-size: 22px;
    }
}

/* Post Card - Editorial UX (Leve sem bordas marcadas) */
.post-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.post-cover {
    width: 100%;
    height: 220px;
    background: transparent;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Sombra limpa e sutil */
}

.post-cover img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.post-card:hover .post-cover img {
    transform: scale(1.03);
}

/* Sem padding pois o post card é sem borda */
.post-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.post-meta {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    gap: 12px;
}

.date {
    color: var(--primary);
}

.post-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.35;
    color: var(--text-color);
    letter-spacing: -0.2px;
    transition: color var(--transition);
}

.post-card:hover h3 {
    color: var(--primary);
}

.read-more {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition);
}

.post-card:hover .read-more {
    color: var(--primary);
}

.read-more i {
    transition: transform var(--transition);
    font-size: 16px;
}

.post-card:hover .read-more i {
    transform: translateX(4px);
}

/* --- Single Post View (Clean Reading Mode) --- */
/* --- News Page Layout (Main Content + Sidebar) --- */
.post-layout-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
    align-items: flex-start;
    margin-top: 5rem;
}

@media (max-width: 1024px) {
    .post-layout-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
        margin-top: 3rem;
    }
}

.post-main-column .single-post {
    max-width: 100%;
    margin: 0;
}

.post-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    margin-top: 30px;
}

.widget-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--texto);
    margin-top: 30px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    border-bottom: 2px dotted var(--border-color);
}

.widget-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--cor-principal);
    z-index: 1;
}

.sidebar-news-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-news-list li:last-child {
    border-bottom: none;
}

.sidebar-news-list li a {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--texto);
    display: block;
    transition: color var(--transition);
}

.sidebar-news-list li a:hover {
    color: var(--cor-principal);
}

.post-sidebar .banner-slot {
    margin: 0 0 20px 0;
}

.single-post-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.single-post h1 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
    color: var(--text-color);
    font-weight: 800;
}

@media (max-width: 768px) {
    .single-post h1 {
        font-size: 26px;
    }
}

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 48px;
}

.single-content {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-color);
    font-weight: 400;
}

.single-content p {
    margin-bottom: 32px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 40px;
    transition: color var(--transition);
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-btn:hover {
    color: var(--primary);
}

.back-btn i {
    font-size: 20px;
    transition: transform var(--transition);
}

.back-btn:hover i {
    transform: translateX(-4px);
}

/* Pagination Modernization - Minimalista */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 80px;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.page-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition);
}

.page-btn:hover:not(:disabled) {
    background: var(--surface-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-btn.active {
    background: var(--text-color);
    color: var(--surface-color);
}

.page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Spinner Minimalista */
.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.empty-state {
    text-align: center;
    padding: 100px 0;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 64px;
    color: var(--border-color);
    margin-bottom: 24px;
}

.empty-state h3 {
    font-size: 28px;
    color: var(--text-color);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.empty-state .btn-search {
    background: var(--text-color);
    color: var(--surface-color);
    padding: 12px 28px !important;
    border-radius: 30px !important;
    font-size: 15px !important;
    font-weight: 600;
    margin-top: 24px !important;
    display: inline-flex;
}

.empty-state .btn-search:hover {
    background: var(--primary);
    color: white;
}

.fade {
    animation: fadeIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 15px;
    background-color: var(--bg-color);
}

/* Radio Audio Player Bar */
.radio-bar {
    background: var(--cor-secundaria);
    /* Azul marinho combina bem com o topo */
    background: linear-gradient(90deg, var(--cor-secundaria), var(--azul-suave));
    color: white;
    padding: 10px 0;
    font-size: 14px;
    position: relative;
    z-index: 101;
}

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

.radio-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-badge {
    background: var(--cor-principal);
    /* Vermelho */
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    animation: flash 2s infinite;
}

@keyframes flash {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.radio-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.station-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    outline: none;
    font-family: inherit;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition);
}

.station-select:hover {
    background: rgba(255, 255, 255, 0.2);
}

.station-select option {
    background: var(--surface-color);
    color: var(--texto);
}

.play-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: transform var(--transition);
}

.play-btn:hover {
    transform: scale(1.1);
    color: var(--cor-principal);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
}

.volume-control i {
    font-size: 20px;
}

.volume-control input[type="range"] {
    width: 60px;
    height: 4px;
    accent-color: var(--cor-principal);
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
}

[data-theme="dark"] .radio-bar {
    background: #0f1524;
    border-bottom: 1px solid var(--border-color);
}

/* --- Hero Slider --- */
.hero-slider-container {
    position: relative;
    width: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-top: 60px;
    margin-bottom: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hero-slider {
    position: relative;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto;
    width: 100%;
    background: #000;
    /* Previne flash branco na transição */
}

.hero-slide {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    visibility: hidden;
    cursor: pointer;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transform: scale(1.05);
    /* Efeito Ken Burns Inicial */
    transition: transform 10s linear;
}

.hero-slide.active img {
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    align-items: flex-end;
    padding: 60px;
}

.hero-slide-content {
    max-width: 800px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease-out 0.3s;
}

.hero-slide.active .hero-slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-tag {
    background: var(--cor-principal);
    color: white;
    font-size: 13px;
    font-weight: 800;
    padding: 6px 12px;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(238, 27, 36, 0.3);
}

.hero-slide-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -1px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

.slide-meta {
    color: #f1f1f1;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all var(--transition);
}

.slider-btn:hover {
    background: var(--cor-principal);
    border-color: var(--cor-principal);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 24px;
}

.slider-btn.next {
    right: 24px;
}

.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
    background: var(--cor-principal);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .hero-slider {
        height: auto;
    }

    .hero-slide-overlay {
        padding: 24px 16px;
    }

    .hero-slide-content h2 {
        font-size: 20px;
        letter-spacing: -0.5px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .slide-tag {
        font-size: 11px;
        padding: 4px 8px;
        margin-bottom: 10px;
    }

    .slide-meta {
        font-size: 13px;
    }

    .slider-btn {
        display: flex;
        width: 38px;
        height: 38px;
        font-size: 18px;
        background: rgba(0, 0, 0, 0.3);
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }

    .hero-slider-container {
        border-radius: 0;
        margin-left: -24px;
        width: calc(100% + 48px);
    }
}

/* --- Home Category Layout --- */
.category-section {
    margin-bottom: 60px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.category-header h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.5px;
    position: relative;
}

.category-header h2::after {
    content: '';
    position: absolute;
    bottom: -14px;
    /* alinha sobre a borda container */
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--cor-principal);
    border-radius: 4px 4px 0 0;
}

[data-theme="dark"] .category-header h2 {
    color: var(--texto);
}

.btn-ver-mais {
    font-size: 13px;
    font-weight: 700;
    color: var(--cor-principal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition);
}

.btn-ver-mais:hover {
    color: var(--cor-secundaria);
}

.btn-ver-mais i {
    font-size: 16px;
    transition: transform var(--transition);
}

.btn-ver-mais:hover i {
    transform: translateX(6px);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Ajustes no Post-card quando ele está em trios */
.category-grid .post-card h3 {
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 12px;
}

.category-grid .post-cover {
    /* height: 180px;  */
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .category-grid .post-cover {
        height: auto;
        min-height: auto;
    }
}

/* =========================================
   Responsive Styles (Mobile First Quality)
   ========================================= */
@media (max-width: 768px) {

    /* Topbar Radio Otimizado para Mobile (MiniPlayer Fixo no Rodapé) */
    .radio-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        padding: 12px 0;
    }

    body {
        padding-bottom: 76px;
        /* Impede que o player esconda rodapé do site */
    }

    .radio-container {
        flex-wrap: nowrap;
        /* Tudo numa mesma linha super otimizado */
        gap: 12px;
        padding: 0 16px;
        justify-content: space-between;
        align-items: center;
    }

    .radio-info span:last-child {
        display: none;
    }

    /* Esconde texto "Ouça Agora:" poupando espaço */

    .volume-control {
        display: none;
        /* No mobile o volume é de fato via botão físico */
    }

    .radio-controls {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 8px;
        /* Reduz o gap de 16px para 8px para economizar espaço no celular */
    }

    .station-select {
        text-align: left;
        font-size: 13px;
        flex: 1;
        width: auto;
        max-width: 45vw;
        /* Corrigido o nome da classe de .radio-select para .station-select e reduzido para 45vw para evitar clipping */
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    /* Theme Button posicionado abaixo à esquerda no Celular */
    .theme-btn {
        bottom: 86px;
        /* Logo acima da barra fixa do mini-player */
        left: 20px;
        right: auto;
    }

    /* Header e Busca: Ocupa a linha debaixo */
    .header-container {
        flex-wrap: wrap;
        gap: 16px;
        position: relative;
    }

    /* Pseudo elemento para balancear a logo no centro quando a busca desce */
    .header-container::after {
        content: '';
        flex: 1;
        order: 2;
    }

    .header-col-left {
        flex: 1;
    }

    .header-col-center {
        flex: 0 0 auto;
        order: 1;
    }

    .search-bar {
        display: none;
        /* Oculta no topo para usar dentro do menu lateral */
    }

    .search-bar form {
        width: 100%;
        border-bottom: 2px solid var(--border-color);
        background: transparent;
        padding: 8px 4px;
    }

    #search-input {
        width: 100%;
        font-size: 16px;
    }

    /* 16px previne zoom no iOS */

    /* Touch Targets (Áreas mínimas de toque) */
    .hamburger-btn,
    .btn-search,
    .play-btn {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Category Headers Otimizado */
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 24px;
    }

    .category-header h2::after {
        bottom: -6px;
        /* Ajuste da borda inferior colorida */
    }

    .btn-ver-mais {
        padding: 8px 0;
        font-size: 14px;
    }

    .single-post-image {
        max-height: 300px;
        margin-bottom: 24px;
        border-radius: 0;
        margin-left: -24px;
        /* Ignora padding do container */
        width: calc(100% + 48px);
    }

    .single-post h1 {
        font-size: 26px;
        margin-top: 10px;
    }

    .category-grid {
        /* height: 240px; */
        /* Capas maiores no mobile */
    }

    .post-cover {
        /* height: 180px !important; */
        /* Capas maiores no mobile */
    }

    .news-grid {
        gap: 40px;
    }

    .pagination {
        margin-top: 40px;
    }
}

/* --- Video Gallery & Player --- */
.home-videos-section {
    margin: 60px 0;
    padding-top: 40px;
    border-top: 4px solid var(--border-color);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.video-card {
    cursor: pointer;
    transition: var(--transition);
}

.video-thumb {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: #000;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.video-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(238, 27, 36, 0.9);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    opacity: 0;
    transition: all var(--transition);
    box-shadow: 0 0 20px rgba(238, 27, 36, 0.4);
}

.video-card:hover .video-thumb img {
    transform: scale(1.05);
}

.video-card:hover .video-play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info h3 {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-color);
}

.video-date {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Individual Video Detail Page */
.single-video-view {
    max-width: 950px;
    margin: 40px auto;
}

.video-player-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin: 20px 0 30px 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}


.video-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-detail-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.video-detail-meta {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}


/* --- RODAPÉ PREMIUM MAZZA V3 (RESTAURADO) --- */
.main-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 80px 0 40px 0;
    margin-top: 80px;
    border-top: 4px solid var(--footer-title);
    transition: background-color 0.4s ease, color 0.4s ease;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-col.branding {
    padding-right: 20px;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-brand-logo {
    max-height: 80px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.footer-description {
    color: var(--footer-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 30px;
    text-align: center;
}

.footer-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    color: var(--footer-title);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--footer-muted);
    font-size: 14px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--footer-text);
    transform: translateX(5px);
}

.footer-info-list {
    list-style: none;
    padding: 0;
}

.footer-info-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centraliza conforme solicitado */
    gap: 15px;
    margin-bottom: 20px;
    color: var(--footer-muted);
    font-size: 14px;
}

.footer-info-list i {
    font-size: 18px;
    color: var(--footer-text);
}

.footer-info-list a {
    color: inherit;
    text-decoration: none;
}

.footer-info-list .accent-green {
    color: #22c55e;
}

.footer-social-square {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.footer-social-square a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text);
    font-size: 20px;
    transition: all 0.3s;
}

.footer-social-square a:hover {
    background: var(--footer-title);
    transform: translateY(-5px);
    color: #fff;
}

.footer-divider-mazza {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.footer-bottom-mazza {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--footer-muted);
    font-size: 13px;
}

.mazza-credits strong {
    color: var(--footer-text);
}

/* Responsividade Rodapé & Vídeo Final */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 60px 0 110px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-social-square {
        justify-content: center;
    }

    .footer-info-list li {
        justify-content: center;
    }

    .footer-bottom-mazza {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* --- GALERIA DE FOTOS (PREMIUM V5) --- */
.post-gallery-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.gallery-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--texto);
    display: flex;
    align-items: center;
    gap: 12px;
}

.gallery-title i {
    color: var(--cor-principal);
    font-size: 24px;
}

.post-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    aspect-ratio: 1 / 1;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    cursor: pointer;
    background: var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-item:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Responsividade Galeria */
@media (max-width: 1024px) {
    .post-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .post-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-title {
        font-size: 18px;
    }
}


/* --- LIGHTBOX (PREMIUM MODAL) --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

#lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--border-radius-md);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lightbox.active #lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    transform: scale(1.1);
    color: var(--cor-principal);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 32px;
    }

    #lightbox-img {
        max-width: 95%;
    }
}


/* --- NAVEGACAO LIGHTBOX (PREMIUM) --- */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10002;
}

.lightbox-nav:hover {
    background: var(--cor-principal);
    border-color: var(--cor-principal);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: 40px;
}

.lightbox-nav.next {
    right: 40px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 24px;
        background: rgba(0, 0, 0, 0.5);
    }

    .lightbox-nav.prev {
        left: 15px;
    }

    .lightbox-nav.next {
        right: 15px;
    }
}


/* --- MIDIA RESPONSIVA NO CONTEUDO --- */
.single-content iframe,
.single-content video,
.single-content embed,
.single-content object {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    border-radius: var(--border-radius-md);
    margin: 30px 0;
    display: block;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
}


/* --- Related Videos Section --- */
.related-videos-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.related-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text-color);
    letter-spacing: -0.5px;
}



/* --- Related Posts Section --- */
.related-posts-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.related-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-title::before {
    content: "";
    display: block;
    width: 4px;
    height: 24px;
    background: var(--accent-light);
    border-radius: 4px;
}



/* --- Connection Status (Online/Offline) --- */
.connection-status {
    position: fixed;
    top: -120px;
    left: 0;
    width: 100%;
    padding: 12px 24px;
    /* Suporte para "Notches" (recortes de câmera) em celulares modernos */
    padding-top: calc(env(safe-area-inset-top) + 12px);
    text-align: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 99999;
    /* Z-index máximo para garantir visibilidade absoluta */
    transition: top 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.connection-status.active {
    top: 0;
}

.connection-status.online {
    background: rgba(16, 185, 129, 0.98);
    /* Emerald 500 */
}

.connection-status.offline {
    background: rgba(239, 68, 68, 0.98);
    /* Red 500 */
}

.connection-status i {
    font-size: 20px;
}


@media (max-width: 600px) {
    .connection-status {
        font-size: 12px;
        padding: 10px 16px;
        padding-top: calc(env(safe-area-inset-top) + 10px);
    }
}

/* --- BANNER SYSTEM (PREMIUM) --- */
.banner-slot {
    margin: 40px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.banner-link {
    display: block;
    width: 100%;
    max-width: 100%;
    transition: var(--transition);
}

.banner-link img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}

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

.banner-link:hover img {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .banner-slot {
        margin: 25px 0;
    }

    .banner-link img {
        border-radius: var(--border-radius-sm);
    }
}

/* --- LGPD Privacy Popup --- */
.lgpd-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease;
}

.lgpd-container.hide {
    transform: translateY(150%);
    opacity: 0;
    pointer-events: none;
}

.lgpd-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.lgpd-text {
    flex: 1;
}

.lgpd-title {
    color: var(--primary);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.lgpd-text p {
    color: #f8fafc;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.lgpd-text a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

.lgpd-text a:hover {
    color: white;
}

.lgpd-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.lgpd-btn:hover {
    background-color: var(--primary-hover);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .lgpd-container {
        bottom: 15px;
        left: 15px;
        right: 15px;
        padding: 20px;
    }

    .lgpd-content {
        flex-direction: column;
        gap: 20px;
        text-align: left;
    }

    .lgpd-btn {
        width: 100%;
        padding: 12px;
    }
}

/* --- Privacy Policy Page --- */
.policy-content section {
    margin-bottom: 40px;
}

.policy-content h2 {
    font-size: 24px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 24px;
    color: var(--primary);
    font-weight: 800;
}

.policy-content h3 {
    font-size: 18px;
    margin-top: 24px;
    margin-bottom: 12px;
    font-weight: 700;
}

.policy-content ul {
    margin: 16px 0 24px 20px;
    list-style: disc;
}

.policy-content ul li {
    margin-bottom: 12px;
    list-style: disc;
    color: var(--text-color);
}

.contact-box {
    background: var(--bg-color);
    padding: 30px;
    border-radius: var(--border-radius-md);
    border-left: 5px solid var(--primary);
    margin: 32px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-box p {
    margin-bottom: 16px !important;
}

.contact-box ul {
    margin-bottom: 24px;
}

.btn-primary-mazza {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white !important;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary-mazza:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 27, 36, 0.3);
}

.policy-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
    font-style: italic;
    color: var(--text-muted);
    text-align: center;
    font-size: 14px;
}

/* --- Detalhes da Notícia & Acessibilidade --- */
.post-subtitle-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: -20px;
    margin-bottom: 30px;
    line-height: 1.5;
    font-style: italic;
}

.post-utility-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
}

.post-social-share {
    display: flex;
    gap: 15px;
}

.post-social-share a {
    font-size: 24px;
    color: var(--secondary);
    transition: all var(--transition);
}

.post-social-share a:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.post-font-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
}

.font-btn {
    width: 34px;
    height: 34px;
    background: var(--azul-suave);
    color: white;
    border: none;
    border-radius: 50%;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.font-btn:hover {
    background: var(--cor-secundaria);
    transform: scale(1.1);
}

.post-published-date {
    font-size: 16px;
    font-weight: 700;
    color: var(--texto);
    margin-bottom: 25px;
}

/* Ajuste para que o tamanho da fonte seja controlado via JS */
.single-content p {
    font-size: inherit;
    line-height: inherit;
}

@media (max-width: 600px) {
    .post-utility-bar {
        flex-direction: row;
        justify-content: space-between;
    }

    .post-font-controls span {
        display: none;
        /* Esconde a palavra "Texto:" em telas pequenas */
    }
}

/* --- Banner Grid Home --- */
.banner-grid-home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.banner-grid-home .banner-slot {
    margin: 0;
    /* Remove margem padrão para o grid controlar o espaçamento */
}

@media (max-width: 768px) {
    .banner-grid-home {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 25px;
    }
}

/* --- Premium Custom Toast Notifications --- */
.custom-toast-container {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 90%;
    max-width: 400px;
    pointer-events: none;
}

.custom-toast {
    background: rgba(25, 39, 99, 0.95);
    /* Combinando com --footer-bg */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    padding: 16px 20px;
    border-radius: var(--border-radius-md);
    border-left: 5px solid var(--cor-principal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
    font-weight: 500;
    pointer-events: auto;
    animation: toastSlideIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    transition: all 0.3s ease;
}

.custom-toast i {
    font-size: 22px;
    color: var(--cor-principal);
    flex-shrink: 0;
}

.custom-toast.success {
    border-left-color: #10b981;
}

.custom-toast.success i {
    color: #10b981;
}

.custom-toast.hide {
    animation: toastSlideOut 0.3s ease forwards;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(-15px) scale(0.95);
    }
}

/* Efeito de destaque dinâmico no seletor de rádio */
.station-select.pulse-highlight {
    border-color: var(--cor-principal) !important;
    box-shadow: 0 0 12px var(--cor-principal) !important;
    background: rgba(238, 27, 36, 0.15) !important;
}

/* Botão "Abrir Player" Popout */
.popout-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.popout-btn:hover {
    background: var(--cor-principal);
    border-color: var(--cor-principal);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(238, 27, 36, 0.3);
}

.popout-btn i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .popout-btn span {
        display: none;
        /* Esconde texto no mobile para economizar espaço */
    }

    .popout-btn {
        padding: 6px 10px;
    }
}