:root {
  --primary-color: #004d40;
  --secondary-color: #009688;
  --nav-color: #f0f0f0;
  --accent-color: #ff9800;
  --text-color: #333;
  --light-text-color: #004d40;
  --bg-color: #f0f0f0;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Botões de Tradução */
.translation-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 0.3rem;
  padding: 0.5rem 1rem;
  background-color: #f8f8f8;
}

.translation-buttons .lang-btn {
  text-decoration: none;
  color: var(--text-color);
  font-weight: bold;
  border: 1px solid #ccc;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  font-size: 0.8rem;
}

.translation-buttons .lang-btn:hover {
  background-color: #e8e8e8;
}

.translation-buttons .active-lang {
  background-color: var(--primary-color);
  color: white;
}

/* Navegação */
.top-nav {
  background-color: var(--primary-color);
  color: var(--light-text-color);
  padding: 1rem 0;
  position: relative;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.nav-logo img {
  height: 60px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  color: var(--nav-color);
  text-decoration: none;
  font-weight: 400;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  display: block;
  padding: 0.5rem 0;
}

.nav-links a:hover {
  color: var(--accent-color);
}

/* Menu suspenso */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary-color);
  min-width: 200px;
  padding: 0.5rem 0;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-menu a {
  padding: 0.7rem 1.5rem;
  white-space: nowrap;
  display: block;
  color: var(--nav-color);
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--accent-color);
  padding-left: 1.8rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--nav-color);
  border-radius: 5px;
  transition: all 0.3s linear;
}

/* Header */
.header {
  background-color: var(--secondary-color);
  color: var(--light-text-color);
}

.header-main {
  padding: 2rem 0;
  background: linear-gradient(to right, #ffffff, #ffffff);
}

.header-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2rem;
}

.header-text {
  text-align: center;
}

.header-location, .header-date {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
}

.header-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 1rem 0;
}

.header-theme {
  font-size: 1.2rem;
  font-weight: 400;
}

.header-image img {
  max-width: 100%;
  height: auto;
}

.header-cta {
  background-color: var(--primary-color);
  padding: 1rem 0;
  text-align: center;
}

.cta-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  color: var(--light-text-color);
}

.cta-btn {
  background-color: var(--accent-color);
  color: var(--light-text-color);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  transition: background-color 0.3s ease;
  text-align: center;
  display: inline-block;
}

.cta-btn:hover {
  background-color: #d88100;
}

.about-section {
  background-color: #fff;
  text-align: justify;
}

.about-section h2 {
  color: var(--secondary-color);
  text-align: center;
  margin-top: 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-top: 0;
}

.countdown-section {
  background-color: var(--secondary-color);
  color: var(--nav-color);
  text-align: center;
  padding: 3rem 0;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  background-color: var(--primary-color);
  color: var(--nav-color);
  padding: 1rem;
  border-radius: 10px;
}

.countdown-item {
  text-align: center;
  min-width: 70px;
}

.countdown-item span {
  font-size: 2rem;
  font-weight: 700;
  display: block;
}

.countdown-item p {
  margin: 0;
  font-size: 0.9rem;
}

.countdown-text {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1rem;
}

.submission-text {
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
  margin-top: 0.5rem;
}

.logos-section {
  background-color: #fff;
  text-align: center;
}

.logos-section h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.logos-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* Container para as imagens de logos */
.logo-item {
  width: 280px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  padding: 0.5rem;
  box-sizing: border-box;
}

/* Ajuste da imagem dentro do "quadradinho" */
.logo-item img {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Estilo para o texto "Em breve" dentro do "quadradinho" */
.logo-item p {
  margin: 0;
  font-size: 1rem;
  color: #555;
  text-align: center;
}

/* Rodapé */
.footer {
  background-color: var(--primary-color);
  color: var(--nav-color);
  padding: 2rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: var(--nav-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-left img {
  height: 60px;
  width: auto;
  display: block;
  margin: 0 auto;
}

/* Media Queries para Responsividade */

/* Tablets */
@media (min-width: 768px) {
  .header-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .header-text {
    text-align: left;
  }
  
  .header-title {
    font-size: 2.2rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .cta-content {
    flex-direction: row;
  }
  
  .footer-content {
    grid-template-columns: auto 1fr auto;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .footer-left img {
    margin: 0;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .nav-logo img {
    height: 80px;
  }
  
  .header-main {
    padding: 4rem 0;
  }
  
  .header-title {
    font-size: 2.5rem;
  }
  
  .header-location, .header-date {
    font-size: 1.2rem;
  }
  
  .header-theme {
    font-size: 1.5rem;
  }
  
  .about-text h2 {
    font-size: 2.5rem;
  }
  
  .countdown-item span {
    font-size: 2.5rem;
  }
  
  .logos-section h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
    .menu-toggle {
        display: flex;
        z-index: 1000;
    }
    
    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
        padding: 0 1rem;
        
        /* Adiciona a rolagem para que todo o conteúdo caiba */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-links.active {
        max-height: 500px;
        padding: 1rem;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links li {
        text-align: center;
        padding: 0.5rem 0;
        width: 100%;
    }
    
    /* Menu suspenso em mobile */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(255, 255, 255, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-left: 1rem;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }
    
    .dropdown-menu a {
        padding: 0.5rem 1rem;
    }
    
    .countdown-item {
        min-width: 60px;
    }
    
    .countdown-item span {
        font-size: 1.8rem;
    }
    
    .logo-item {
        width: 250px;
        height: 180px;
    }
    
    .translation-buttons {
        justify-content: center;
    }
    
    /* Animação do menu hamburger */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Pequenos dispositivos móveis */
@media (max-width: 480px) {
    .header-title {
        font-size: 1.8rem;
    }
    
    .countdown-grid {
        gap: 0.5rem;
    }
    
    .countdown-item {
        min-width: 50px;
    }
    
    .countdown-item span {
        font-size: 1.5rem;
    }
    
    .countdown-item p {
        font-size: 0.8rem;
    }
    
    .logo-item {
        width: 100%;
        max-width: 280px;
        height: 160px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ---------- Formulário de Contato ---------- */
.contact-section {
    padding: 50px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.contact-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact-section p {
    font-size: 16px;
    margin-bottom: 30px;
    color: var(--text-color);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 30px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form label {
    text-align: left;
    font-weight: 600;
    color: var(--text-color);
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
    transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact-form .btn {
    background: var(--primary-color);
    color: var(--nav-color);
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s;
}

.contact-form .btn:hover {
    background: var(--accent-color);
}

/* ---------- Mensagem de Sucesso ou Erro ---------- */
.contact-message {
    margin-top: 15px;
    font-weight: 600;
}

.contact-message.success {
    color: green;
}

.contact-message.error {
    color: red;
}

/* ---------- Redes Sociais ---------- */
.social-links {
    margin-top: 20px;
}

.social-links a {
    margin: 0 10px;
    font-size: 20px;
    color: var(--primary-color);
    transition: color 0.3s;
     text-decoration: none;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* ---------- Responsividade ---------- */
@media(max-width: 767px) {
    .contact-section h2 {
        font-size: 28px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
    }

    .contact-form .btn {
        font-size: 14px;
        padding: 10px;
    }
}

@media(max-width: 480px) {
    .contact-section h2 {
        font-size: 24px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
    }

    .contact-form .btn {
        font-size: 14px;
        padding: 10px;
    }
}

/* --- Estilo para o Bloco do Presidente --- */
.main-organizer {
    text-align: center;
    margin-bottom: 40px;
}

.organizer-image {
    margin-bottom: 10px;
}

.organizer-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.organizer-details span {
    display: block;
}

.organizer-details .role {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.organizer-details .name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.organizer-details .institution {
    font-size: 1rem;
    color: var(--text-color);
}

#organizacao-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Estilo para o grid de comissões */
.organization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.committee-block {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.committee-block h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 10px;
}

.names-list {
    margin-top: 20px;
}

.names-list h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 15px;
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(0, 77, 64, 0.1);
    padding-bottom: 5px;
}

.names-list p {
    margin: 0;
    padding: 3px 0;
    font-size: 0.95rem;
    color: var(--text-color);
}

/* --- Estilos para a página de Local do Evento --- */

.local-content {
    padding: 40px 0;
}

.local-header {
    margin-bottom: 40px;
    padding-left: 20px;
    text-align: center;
}

.local-title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--primary-color); /* Cor verde para o título */
    position: relative;
    padding-bottom: 5px;
}

.local-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
    margin-top: -40 px;
}

.local-block h2 {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.local-info-content {
    flex: 1;
}

.local-text {
  text-align: justify;
}

.local-text a {
    color: #555;
    text-decoration: underline;
}

.local-text a:hover {
    color: #000;
    text-decoration: none;
}

.local-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.local-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.campus-block {
    flex-direction: row-reverse;
}

.local-logo img {
    width: 200px; /* Ajuste o tamanho do logo conforme necessário */
    height: auto;
}

.divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 40px 0;
}

.in-brief {
    font-style: italic;
    color: #777;
    margin-top: 10px;
}

/* Responsividade */
@media (max-width: 768px) {
    .local-block {
        flex-direction: column;
        gap: 20px;
    }

    .local-images,
    .local-image-campus {
        width: 100%;
    }

    .local-logo {
        text-align: center;
        margin-top: 20px;
    }

    .campus-block {
        flex-direction: column;
    }
}

/* Container principal da tabela de estatísticas */
.stats-table {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Roboto', sans-serif;
}

/* Container para agrupar as estatísticas em uma linha */
.stats-row {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    text-align: center;
    background-color: #f9f9f9;
}

/* Novo estilo para o agrupamento de rótulo e número */
.stat-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
}

/* Estilo para o rótulo (Certificados Emitidos, etc.) */
.stats-label {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 0.9em;
}

/* Estilo para o número */
.stats-number {
    font-size: 2.5em;
    font-weight: 700;
    color: #1abc9c; /* Cor de destaque para os números */
}

/* Título da seção de estatísticas */
h2 {
    text-align: center;
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 10px;
}

/* Responsividade para telas menores */
@media (max-width: 600px) {
    .stats-row {
        flex-direction: column; /* Empilha os grupos de estatísticas verticalmente */
        align-items: center;
    }
    .stat-group {
        margin-bottom: 20px;
        padding: 15px 0;
        border-bottom: 1px solid #e0e0e0;
        width: 100%; /* Ocupa a largura total */
    }
    .stat-group:last-child {
        border-bottom: none; /* Remove a borda do último item */
    }
    .stats-number {
        font-size: 2em;
    }
}

.photo-gallery-container {
    padding: 1rem;
    background-color: #f7f7f7;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    justify-items: center;
    align-items: center;
}

.gallery-item {
    display: block;
    width: 100%;
    max-width: 250px;
    height: 200px; /* Altura fixa para todos os itens */
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Esta é a propriedade que causa o corte */
    transition: transform 0.3s ease;
}

/* Alteração importante */
/* Mudamos o object-fit para 'contain' para mostrar a imagem completa */
.gallery-item.show-full-image img {
    object-fit: contain;
}

/* Link/botão que abre o album de edição anterior, externo*/
.album-link {
    display: inline-block;
    text-decoration: none;
    background-color: var(--nav-color);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.album-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.album-link i {
    margin-right: 8px; /* Espaço entre o ícone e o texto */
}

/* Garante que o container se ajuste */
.gallery-link-container {
    text-align: center;
    margin-top: 2rem;
}

/* Estilo para a link do album */
.album-link {
  text-decoration: none;
  color: var(--secondary-color)
}

/* --- NOVOS ESTILOS PARA A JANELA POP-UP (MODAL) --- */
/* O Modal (fundo escurecido) */
.modal-backdrop {
    display: none; /* Escondido por padrão */
    position: fixed; /* Fica na frente de tudo */
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

/* O conteúdo do modal (a imagem em si) */
.modal-content {
    margin: auto;
    display: block;
    max-width: 90%; /* Limita a largura máxima a 90% da tela */
    max-height: 90vh; /* Limita a altura máxima a 90% da altura da tela */
    animation-name: zoom;
    animation-duration: 0.6s;
}

/* Esta é a regra mais importante! */
/* Faz a imagem se ajustar perfeitamente ao container */
#modalImage {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Redimensiona a imagem para caber no container */
}

/* O Botão de Fechar */
.modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Container para as imagens das notícias */
.news-images-container {
    display: flex;
    flex-wrap: wrap; 
    gap: 1.5rem; 
    justify-content: center; 
    margin-top: 1rem;
}

/* Container do link para a imagem */
.news-link-image {
    display: block; /* Essencial para que o link ocupe toda a área do container */
    max-width: 350px;
}

/* Container para a imagem e o texto sobreposto */
.image-overlay-container {
    position: relative; /* Define a posição de referência para o texto */
    overflow: hidden; /* Garante que nada saia dos limites */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Estilo para a imagem dentro do container */
.image-overlay-container img {
    width: 100%;
    display: block;
    height: auto;
}

/* O container do texto sobreposto */
.news-text-overlay {
    position: absolute; /* Posição absoluta em relação ao .image-overlay-container */
    bottom: 0; /* Começa na parte inferior do container */
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Fundo semi-transparente */
    color: white;
    padding: 1rem 0.5rem;
    text-align: center;
    transform: translateY(100%); /* Esconde o texto abaixo do container por padrão */
    transition: transform 0.3s ease;
}

/* Estilo para o título do texto sobreposto */
.news-text-overlay h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
}

/* Efeito de hover (mouse sobre a imagem) */
.news-link-image:hover .image-overlay-container {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Mostra o texto sobreposto quando o mouse está sobre o link */
.news-link-image:hover .news-text-overlay {
    transform: translateY(0); /* Desliza o texto para cima */
}

/* Garante que em telas menores as imagens fiquem uma embaixo da outra */
@media (max-width: 767px) {
    .news-images-container {
        flex-direction: column;
        align-items: center;
    }
    
    /* Em telas pequenas, o texto fica visível sempre */
    .news-text-overlay {
        position: static;
        transform: none;
    }
}

/* Estilos para a seção de GTs e Regras */
.gt-list {
	list-style: none;
	padding: 0;
}

.gt-item {
	margin-bottom: 25px;
	padding: 15px;
	border-left: 5px solid #ff9800;
	/* Cor primária, ajuste conforme seu tema */
	background-color: #f8f9fa;
	/* Fundo leve, ajuste conforme seu tema */
}

.gt-item strong {
	display: block;
	font-size: 1.1em;
	margin-bottom: 5px;
	color: #333;
}

.dates-block {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.date-item {
	padding: 10px;
	border-bottom: 1px dashed #ccc;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.countdown-timer {
	font-size: 1.5em;
	font-weight: bold;
	color: #dc3545;
	/* Cor para destaque, como vermelho */
	min-width: 150px;
	/* Para manter o layout estável */
	text-align: right;
}

.rules-content {
	display: flex;
	gap: 40px;
}

.rules-column {
	flex: 1;
}

.rules-column ul {
	list-style-type: disc;
	padding-left: 20px;
}

/* Container dos botões */
.icon-link-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

/* Estilo do Botão Individual (Icon-Link-Item) */
/* ESTILOS PARA OS BOTÕES DE SUBMISSÃO (CHAMADA, TEMPLATE, SUBMETER ARTIGO) */

/* Container dos botões: organiza-os em coluna */
.icon-link-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

/* Estilo do Botão Individual (Icon-Link-Item) - IDÊNTICO AO .album-link em cor e efeitos */
.icon-link-item {
    /* Layout para alinhar ícone e texto */
    display: flex;
    align-items: center;
    width: 100%; /* Ocupa a largura total do contêiner */
    
    /* Cores e Formatação - Espelhando .album-link */
    text-decoration: none;
    background-color: var(--nav-color); /* Usando a cor de navegação/fundo do .album-link */
    color: var(--secondary-color); /* Cor do texto branca */
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;

    /* Efeitos de Transição - Idênticos ao .album-link */
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Efeito Hover - Idêntico ao .album-link */
.icon-link-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    /* Não precisa mudar o background-color no hover, já que .album-link também não muda explicitamente */
}

/* Estilo do Ícone */
.icon-link-item i {
    margin-right: 15px; /* Espaço entre o ícone e o texto */
    font-size: 1.5em; /* Tamanho do ícone para destacá-lo */
}

/* Limpeza de regras redundantes do .album-link */
/* O .album-link tem uma regra extra que define 'color: var(--secondary-color)'. 
   Se essa cor fosse aplicada aqui, o texto não ficaria branco. 
   Manterei a cor branca (#fff) na regra principal do .icon-link-item para garantir a leitura.
*/

/* Responsividade básica */
@media (max-width: 768px) {
	.rules-content {
		flex-direction: column;
	}

	.date-item {
		flex-direction: column;
		align-items: flex-start;
	}

	.countdown-timer {
		margin-top: 5px;
		text-align: left;
	}
}