/*
Theme Name: Brasil 2000 Custom
Author: Victor Martins
Description: Tema Rock V2.3 - Imagens Inteiras (Contain).
Version: 2.3
*/

/* Importando fontes */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Roboto:wght@400;700;900&display=swap');

body {
    background-color: #0a0a0a;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    margin: 0; padding: 0;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
a:hover { color: #ff0000; }

/* LAYOUT DUPLO */
.main-content-wrapper {
    display: flex;
    gap: 40px;
    padding: 40px 20px;
    min-height: 600px;
    overflow: hidden; 
}

.content-area {
    flex: 2; 
    min-width: 0; 
}

.main-sidebar {
    flex: 1; 
    max-width: 300px; 
}

/* --- MENU DE TOPO --- */
.top-nav-bar {
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
    padding: 0;
}

.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.main-menu {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.main-menu li { position: relative; }

.main-menu a {
    display: block;
    padding: 15px 20px;
    color: #cccccc;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
}

.main-menu a:hover { color: #ff0000; background-color: #000; }

/* --- BANNER HERO --- */
.hero-banner {
    background-color: #000;
    padding: 25px 0;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.side-logo img { height: 110px; width: auto; display: block; }

.center-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
}

.radio-name {
    font-family: 'Anton', sans-serif;
    font-size: 65px;
    color: white;
    margin: 0;
    line-height: 0.9;
    letter-spacing: 2px;
}

.highlight-red { color: #ff0000; }

.radio-slogan {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 28px;
    color: #cccccc;
    margin-top: 15px;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 4px;
    border: none;
    padding-top: 0;
    width: 100%;
}

/* --- TICKER --- */
.news-ticker-bar {
    background-color: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    height: 45px;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    border-bottom: 1px solid #333;
}

.ticker-label {
    background-color: #ff0000;
    color: white;
    padding: 0 25px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

.ticker-content {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding-left: 20px;
}

.ticker-text {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
}

.ticker-item { margin-right: 30px; font-weight: bold; text-transform: uppercase; }
.ticker-item a { color: #000; }
.ticker-item a:hover { color: #ff0000; }

@keyframes marquee {
    0% { transform: translate(100%, 0); }
    100% { transform: translate(-100%, 0); }
}

/* --- WIDGETS --- */
.widget {
    margin-bottom: 40px;
    background-color: #111;
    border: 1px solid #222;
    border-radius: 0 0 8px 8px;
}

.widget-title {
    background-color: #d00000;
    color: white;
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 18px;
    text-transform: uppercase;
    padding: 15px 20px;
    margin: 0;
    border-radius: 8px 8px 0 0;
    letter-spacing: 1px;
}

.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li {
    border-bottom: 1px solid #222;
    padding: 15px 20px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}
.widget li:last-child { border-bottom: none; }
.widget li a { color: #fff; display: block; }
.widget li a::before { content: ">"; color: #ff0000; margin-right: 10px; font-weight: 900; }
.widget li a:hover { color: #ff0000; padding-left: 5px; }


/* --- SLIDERS --- */
.slider-section {
    margin-bottom: 60px; 
    padding: 10px 0;
}

.swiper-wrapper { align-items: stretch; }
.swiper-slide { height: auto; display: flex; }

.section-header { display: flex; align-items: center; margin-bottom: 30px; }
.section-title { font-family: 'Anton', sans-serif; font-size: 32px; color: #fff; margin: 0; padding-right: 20px; white-space: nowrap; }
.red-line { height: 4px; background-color: #ff0000; width: 100%; }

.slider-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 350px; 
    background-color: #111;
    border: 1px solid #222;
    border-radius: 8px;
    overflow: hidden;
    margin: 2px;
}

.slider-card .post-thumbnail {
    height: 200px; 
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #000;
    flex-shrink: 0; 
}

.slider-card .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
}

.slider-card:hover .post-thumbnail img { transform: scale(1.05); }

.slider-card .post-info {
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px;
}

.category-tag {
    display: inline-block;
    background-color: #ff0000;
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 8px;
    align-self: flex-start;
}

.slider-card h3 { 
    margin: 0; 
    font-size: 18px; 
    line-height: 1.3; 
    color: #fff; 
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slider-card:hover h3 { color: #ff0000; }
.no-thumb { height: 100%; display: flex; align-items: center; justify-content: center; color: #444; font-weight: bold; }

.swiper-button-next, .swiper-button-prev {
    color: #ff0000 !important;
    font-weight: bold;
    transform: scale(0.6); 
    background: rgba(0,0,0,0.5); 
    padding: 25px;
    border-radius: 50%;
}

/* --- SINGLE POST --- */
.single-post-container { max-width: 800px; margin: 40px auto; padding: 0 20px; }
.article-header { text-align: center; margin-bottom: 30px; }
.article-meta { color: #ff0000; font-weight: bold; font-size: 14px; text-transform: uppercase; margin-bottom: 15px; }
.meta-category { color: #fff; background: #ff0000; padding: 2px 6px; border-radius: 3px; font-size: 12px; }
.meta-separator { color: #444; margin: 0 10px; }
.article-title { font-family: 'Anton', sans-serif; font-size: 42px; line-height: 1.1; margin: 0; }
.article-featured-image { width: 100%; margin-bottom: 30px; border-radius: 8px; overflow: hidden; border: 1px solid #333; }
.article-featured-image img { width: 100%; height: auto; display: block; }
.entry-content { font-size: 18px; color: #e0e0e0; margin-bottom: 40px; }
.article-footer { border-top: 1px solid #333; padding-top: 30px; margin-top: 50px; text-align: center; }
.back-button { display: inline-block; padding: 10px 30px; border: 2px solid #ff0000; color: #ff0000; font-weight: bold; border-radius: 50px; }

/* --- RODAPÉ --- */
.site-footer {
    background-color: #000;
    border-top: 4px solid #ff0000;
    padding: 50px 0 30px 0;
    margin-top: 50px;
    color: #888;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col { flex: 1; min-width: 250px; }
.footer-title { color: white; font-family: 'Anton', sans-serif; font-size: 20px; margin-bottom: 20px; letter-spacing: 1px; }

.links-col ul { list-style: none; padding: 0; }
.links-col li { margin-bottom: 10px; border-bottom: 1px solid #222; padding-bottom: 5px; }
.links-col a { color: #888; font-weight: bold; font-size: 14px; text-transform: uppercase; }
.links-col a:hover { color: #ff0000; padding-left: 5px; }

.copyright { font-size: 12px; margin-top: 20px; border-top: 1px solid #222; padding-top: 20px; }
.dev-signature { margin-top: 15px; color: #555; font-size: 11px; }
.dev-signature strong { color: #ff0000; font-weight: bold; }

/* Responsividade */
@media (max-width: 900px) {
    .main-content-wrapper { flex-direction: column; }
    .main-sidebar { max-width: 100%; }
}

@media (max-width: 768px) {
    .desktop-only { display: none; }
    .hero-container { flex-direction: column; }
    .side-logo { margin-bottom: 15px; }
    .radio-name { font-size: 40px; }
    .main-menu { flex-direction: column; }
    .footer-container { flex-direction: column; text-align: center; }
    .slider-card .post-thumbnail { height: 180px; }
    .swiper-button-next, .swiper-button-prev { display: none; }
}

/* --- ESTILOS PARA LISTAGEM (Archive/Grid) --- */
.archive-header { margin-bottom: 30px; padding-bottom: 10px; border-bottom: 2px solid #ff0000; }
.archive-title { color: #fff; font-size: 32px; text-transform: uppercase; }

.posts-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;
    margin-bottom: 40px;
}

.post-card { background: #111; border: 1px solid #222; overflow: hidden; display: flex; flex-direction: column; }
.post-card a { display: block; color: #fff; }

.post-thumbnail { height: 200px; width: 100%; overflow: hidden; position: relative; flex-shrink: 0; }
.post-thumbnail img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.post-info { padding: 15px; }
.post-info h3 { font-size: 18px; margin-top: 5px; line-height: 1.3; }
.post-excerpt { color: #aaa; font-size: 14px; margin-top: 10px; }

/* --- CORREÇÃO CSS ROBUSTA PARA MODO ESTÁTICO --- */
.slider-section .swiper.static-layout { overflow: visible !important; padding-bottom: 0 !important; }
.slider-section .static-layout .swiper-wrapper {
    display: flex !important; flex-wrap: wrap !important; justify-content: flex-start !important; 
    transform: none !important; transition: none !important; width: 100% !important; margin: 0 -10px !important; 
}
.slider-section .static-layout .swiper-slide {
    width: calc(50% - 20px) !important; margin: 0 10px 20px 10px !important; flex-shrink: 0 !important; height: auto !important; 
}
@media (max-width: 768px) {
    .slider-section .static-layout .swiper-slide { width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
}
.swiper.static-layout ~ .swiper-button-next, .swiper.static-layout ~ .swiper-button-prev { display: none !important; }


/* ====================================================== 
   FIX FINAL: PAGINAÇÃO E PLAYER VISÍVEL
   ====================================================== */

/* 1. PAGINAÇÃO VISÍVEL */
.pagination {
    margin: 40px 0;
    text-align: center;
    width: 100%;
    display: block;
}
.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background-color: #222 !important; /* Força fundo escuro */
    color: #fff !important; /* Força texto branco */
    border: 1px solid #333;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    font-size: 14px;
    transition: 0.3s;
}
.pagination .page-numbers.current {
    background-color: #ff0000 !important; /* Força destaque vermelho */
    border-color: #ff0000;
}
.pagination .page-numbers:hover {
    background-color: #fff !important;
    color: #000 !important;
}

/* 2. FORÇAR PLAYER VISÍVEL (Z-INDEX) */
.wp-block-audio, 
.audio-player-container, 
#radio-player,
#radio-player-plugin-id,
.station-player {
    z-index: 999999 !important;
    position: relative; /* Ou fixed, dependendo do plugin */
}

/* 3. ESPAÇO EXTRA EM NOTÍCIAS */
body.single {
    padding-bottom: 120px !important;
}

/* 4. REDES SOCIAIS (ÍCONES SVG) */
.social-icons {
    display: flex;
    flex-direction: row; /* Coloca um do lado do outro */
    justify-content: flex-start; /* Alinha à esquerda */
    gap: 15px; /* Espaço entre eles */
    margin-bottom: 20px;
}

/* Responsividade: Centraliza no celular */
@media (max-width: 768px) {
    .social-icons { justify-content: center; }
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;  /* Largura da bolinha */
    height: 40px; /* Altura da bolinha */
    background-color: #222; /* Fundo cinza escuro */
    color: #fff; /* Ícone branco */
    border-radius: 50%; /* Faz ficar redondo */
    padding: 0;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

/* Tamanho do desenho do ícone dentro da bolinha */
.social-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor; /* Pega a cor do texto definida acima */
}

/* Efeito ao passar o mouse */
.social-btn:hover {
    background-color: #ff0000; /* Fundo vermelho */
    color: #fff; 
    border-color: #ff0000;
    transform: translateY(-3px); /* Leve pulinho pra cima */
}