/* ============================
   Estilos gerais do site
============================ */

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #222;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Reset geral para evitar espaços indesejados */
h1, h2, h3, h4, h5, h6, p {
    margin-top: 0;
}

/* ============================
   Header geral
============================ */
.site-header {
    background-color: #000000;
    color: #fff;
    position: relative;
    width: 100%;
}

/* Container para limitar largura máxima */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* ============================
   Header topo (logo + hamburger)
============================ */
.header-top {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: center; /* desktop: logo centralizado */
    align-items: center;
    position: relative;
    background-color: #000000;
    box-sizing: border-box;
}

/* Logo */
.logo {
    text-align: center;
    margin: 0;
    max-width: 400px;
    flex-shrink: 0;
}

.logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ícone hamburger - escondido no desktop */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #fff;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 18px;
    z-index: 1001;
}

/* ============================
   Menu principal
============================ */
.main-menu {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #000000;
    padding: 10px 0;
    border-top: 2px solid #e50914;
    border-bottom: 2px solid #e50914;
    text-align: center;
    box-sizing: border-box;
}

.main-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.main-menu li {
    margin: 0 20px;
    position: relative;
}

.main-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    display: block;
    transition: all 0.3s ease;
}

.main-menu a:hover,
.main-menu .current-menu-item a {
    background-color: #e50914;
    color: #fff;
    border-radius: 4px;
}

/* ============================
   Responsividade - Mobile
============================ */
@media (max-width: 768px) {

    .header-top {
        justify-content: space-between; /* logo esquerda, hamburger direita */
        padding: 15px 20px;
        position: relative;
        background-color: #000000;
    }

    .logo {
        max-width: 300px; /* limita o tamanho da logo no mobile */
        text-align: left;
        flex-shrink: 0;
        margin: 0;
    }

    .logo img {
        width: 100%;
        height: auto;
        display: block;
    }

    .menu-toggle {
        display: block; /* mostra hamburger */
        position: absolute;
        right: 20px;
        top: 18px;
        font-size: 2.2rem;
        background: none;
        border: none;
        color: #fff;
        cursor: pointer;
        z-index: 1001;
    }

    .main-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 50%;
        width: 280px;
        background-color: #000000;
        border-top: 2px solid #e50914;
        border-bottom: 2px solid #e50914;
        padding: 10px 0;
        transform: translateX(-50%);
        border-radius: 6px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
        flex-direction: column;
        z-index: 1000;
    }

    .main-menu.open {
        display: flex;
    }

    .main-menu ul {
        flex-direction: column;
        align-items: center;
    }

    .main-menu li {
        margin: 10px 0;
    }

    .main-menu a {
        padding: 12px 20px;
    }
    
    .main-content a {
        color: #ff0000;
        text-decoration: none;
    }

    .main-content a:hover,
    .main-content a:active {
        color: #fff;
    }

    .related-posts .related-card a {
        color: #fff;
        text-decoration: none;
    }

    .related-posts .related-card a:hover,
    .related-posts .related-card a:active {
        color: #ff0000;
    }

    .comments-area a {
        color: #fff;
        text-decoration: none;
    }

    .comments-area a:hover,
    .comments-area a:active {
        color: #ff0000;
    }
}


/* ============================
   Carousel
============================ */
.custom-carousel {
  position: relative;
  width: 100%;
  margin: 20px 0 0 0;
  border-radius: 6px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.carousel-item {
  flex: 0 0 100%;
  max-width: 100%;
}

.carousel-image {
  position: relative;
  height: 600px; /* altura aumentada no desktop */
  background-size: cover;
  background-position: center;
  border-radius: 5px;
  overflow: hidden;
}

.carousel-title {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  padding: 12px;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.carousel-title h2 {
  color: white;
  font-size: 20px;
  margin: 0;
  text-align: center;
}

/* Botões de navegação */
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: red; /* cor vermelha */
  border: none;
  color: white;          /* ícones brancos */
  font-size: 24px;
  padding: 12px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.carousel-button:hover {
  background-color: #cc0000; /* vermelho escuro no hover */
}

/* Botão anterior (seta esquerda) */
.prev-button {
  left: 10px;
}

/* Botão próximo (seta direita) */
.next-button {
  right: 10px;
}

/* Responsivo */
@media (max-width: 768px) {
  .carousel-image {
    height: 300px;
  }
  .carousel-title h2 {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .carousel-image {
    height: 220px;
  }
  .carousel-title h2 {
    font-size: 14px;
  }
  .carousel-button {
    font-size: 24px;
    padding: 6px 10px;
  }
}


/* ============================
   Grid principal
============================ */
.main-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
  align-items: start;
}

.borda {
    background: #222222;
    padding: 20px;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 0; /* Garante que não haja espaço acima */
}


@media (max-width: 768px) {
  .main-grid {
    grid-template-columns: 1fr; /* só uma coluna */
  }
}



/* ============================
   Títulos
============================ */
.section-title {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    padding-left: 15px;
    margin: 0 0 25px 0; /* Remove espaço acima */
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0; /* Garante que a linha começa do topo */
    width: 5px;
    height: 100%;
    background-color: #E50914;
    border-radius: 6px;
}


/* ============================
   Links brancos e hover vermelho
============================ */



/* Links nos comentários */
.comments-area a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comments-area a:hover {
    color: #ff0000;
}







/* ============================
   Posts
============================ */
.post img {
    width: 100%;
    height: auto;
}
/* Links gerais no conteúdo principal */
.main-content a {
    color: #ff0000;
    text-decoration: none; /* remove sublinhado */
    transition: color 0.3s ease;
}

.main-content a:hover {
    color: #fff; /* branco ao passar o mouse */
}


/* ============================
   Rodapé
============================ */
.site-footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* ============================
   Responsividade category
============================ */
@media (max-width: 768px) {
    .main-content h1 {
        font-size: 1.8rem !important;
        margin-bottom: 20px !important;
    }
    
    .main-content a {
        color: #ff0000;
        text-decoration: none; /* remove sublinhado */
        transition: color 0.3s ease;
    }
    
    .main-content a:hover {
        color: #fff; /* branco ao passar o mouse */
    }

    .post-content h2 {
        font-size: 1.2rem !important;
    }

    .post a img {
        width: 100% !important;
        max-height: 220px !important;
        object-fit: cover !important;
        border-radius: 5px !important;
    }

    .post {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .post a {
        width: 100% !important;
        margin-bottom: 15px !important;
    }

    .post-content {
        width: 100% !important;
    }
	
	.horizontal-card h3 {
        font-size: 1rem !important; /* menor tamanho para o título */
    }
	
	.card-date {
        font-size: 0.7rem !important; /* menor tamanho para a data */
    }
	
	.card-thumb-category {
        width: 120px !important;
        height: 80px !important;
    }
}


/* ============================
   Dentro das postagens
============================ */

.post-content {
    text-align: justify;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    margin: 20px 0;
}

.video-container iframe,
.video-container embed,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* ============================
   Cards de outras postagens
============================ */
.related-posts .related-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.related-posts .related-card {
    background: #222;
    border-radius: 6px;
    overflow: hidden;
    width: calc(33.333% - 13.33px);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.related-posts .related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.7);
}

.related-posts .card-content {
    padding: 12px 15px;
    flex-grow: 1;
}

.related-posts .card-content h3 {
    font-size: 1.1rem;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.related-posts .card-date {
    font-size: 0.85rem;
    color: #bbb;
}

@media (max-width: 900px) {
    .related-posts .related-card {
        width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .related-posts .related-cards {
        flex-direction: column !important;
    }

    .related-posts .related-card {
        width: 100% !important;
    }
}

/* ============================
   Destaque de menu ativo
============================ */
.main-menu .current-menu-item a,
.main-menu .current-menu-parent a,
.main-menu .current-menu-ancestor a {
    background-color: #e50914;
    color: #fff;
    border-radius: 4px;
}

/* ============================
   Comentários
============================ */
.comments-area {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
    margin-top: 50px;
}

.comments-title {
    font-size: 1.6rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 25px;
    border-bottom: 2px solid #e50914;
    padding-bottom: 10px;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list li.comment {
    margin-bottom: 30px;
    background-color: #222;
    padding: 20px;
    border-radius: 6px;
    color: #eee;
}

.comment-list li.comment .reply {
    margin-top: 10px;
}

.comment-list li.comment .reply a {
    color: #e50914;
    font-weight: bold;
    font-size: 0.9rem;
    text-decoration: none;
}

.comment-list li.comment .reply a:hover {
    text-decoration: underline;
}

.comment-list li.comment .comment-meta {
    font-size: 0.9rem;
    color: #bbb;
    margin-bottom: 10px;
}

.comment-list li.comment .comment-meta strong {
    color: #fff;
}

.comment-list li.comment .comment-icon {
    font-size: 1.4rem;
    color: #e50914;
    margin-right: 8px;
}

.comment-list li.comment .comment-content {
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 10px;
}

.comment-form-wrapper {
    margin-top: 40px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    background-color: #111;
    border: 1px solid #444;
    color: #fff;
    border-radius: 4px;
    padding: 10px;
    font-size: 1rem;
    margin-top: 5px;
}

.comment-form p {
    margin-bottom: 20px;
}

.comment-form label {
    color: #ccc;
    font-weight: bold;
    margin-bottom: 5px;
}

.comment-form .submit {
    background-color: #e50914;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
}

.comment-form .submit:hover {
    background-color: #c10710;
}

.comment-list .children {
    margin-left: 30px;
    margin-top: 20px;
    border-left: 2px solid #333;
    padding-left: 20px;
}

/* ============================
   Player da rádio
============================ */
#volume {
  -webkit-appearance: none;  /* Remove estilo padrão no Chrome/Safari */
  width: 100%;
  height: 6px;
  background: #e50914;       /* cor vermelha da barra */
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}

/* Thumb Chrome, Safari, Edge */
#volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: #e50914;       /* cor vermelha do thumb */
  cursor: pointer;
  border-radius: 50%;
  border: 2px solid #fff;
}

/* Thumb Firefox */
#volume::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #e50914;
  cursor: pointer;
  border-radius: 50%;
  border: 2px solid #fff;
}

/* Responsividade para celulares */
@media (max-width: 480px) {
  #volume::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
  }

  #volume::-moz-range-thumb {
    width: 24px;
    height: 24px;
  }
}




/* ============================
   Carousel de videos
============================ */
.video-carousel-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  background-color: #000;
  padding: 20px;
  border-radius: 10px;
}

.video-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 300%;
}

.video-slide {
  flex: 0 0 100%;
  padding: 10px;
  box-sizing: border-box;
  background-color: #000;
}

.video-slide video {
  width: 100%;
  background-color: #000;
  border-radius: 8px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.3);
  border: none;
  color: white;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.6);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}



/* ============================
   Mais lidas
============================ */
.mais-lidos ol {
  padding-left: 20px;
  color: #fff;
}

.mais-lidos li {
  margin-bottom: 8px;
}








