@import url('brand-vars.css');

/* =====================
   Estilização da Página de News
===================== */
.views-element-container {
    max-width: 95vw; /* Permite que o container quase ocupe toda a largura da tela */
    width: 100%; /* Garante que fique próximo da largura total sem ultrapassar */
    padding: 0 20px; /* Mantém um pequeno espaçamento lateral */
    box-sizing: border-box;
    overflow-x: hidden; /* Previne estouro horizontal */
}

.views-exposed-form {
    margin-bottom: 0 !important;
}

div {
    height: 100%;
  }

.news-title-section {
  background-image: url('../images/contato.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: left;
  color: #000;
  font-weight: bold;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-title-section .news-title-content {
  max-width: 1200px;
  width: 100%;
  padding: 10px;
}

.news-title-section .news-title-content .news-title-text{
  display: flex;
}

.news-title-section .news-title-content .news-title-text .col-title {
  font-size: 3.5rem;
  padding-top: 10px;
  padding-bottom: 0px;
  color: var(--azul-escuro);
}

.news-container {
    max-width: 100%; /* Deixa o container próximo ao limite da página */
    margin: 0 auto;
    padding: 40px 20px;
    padding-top: 10px;
    text-align: center;
    flex: 1;
    overflow-x: hidden; /* Evita que o conteúdo ultrapasse a página */
}

.block h2{
    text-align: center;
    /* margin-top: 0; */
    margin-bottom: 20px;
    border-bottom: 2px solid var(--azul-escuro);
    font-size: 4rem;
    color: var(--azul-escuro);
}

.news-title {
    font-size: 1rem;
    font-weight: bold;
    color: var(--azul-escuro);
    margin-bottom: 20px;
    text-decoration: none;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.news-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-date {
    font-size: 1rem;
    color: var(--cinza);
    margin-bottom: 10px;
    font-weight: bold;
    width: fit-content;
    white-space: nowrap;
    margin-left: 100px;
}

.news-title-link {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--azul-escuro);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.news-title-link:hover {
    text-decoration: underline;
    color: #002080;
}

/* =====================
   Ajuste de Espaçamento Extra
===================== */
.view-content.gin-layer-wrapper {
    padding: 0 !important;
    margin: 0 auto;
    width: 100%;
}

.views-table {
    border-collapse: collapse;
    width: 100%;
    margin: 0;
    padding: 0;
}

.views-table th, 
.views-table td {
    padding: 8px;
    text-align: left;
    height: 60px;
}

.views-field-field-data{
    white-space: nowrap;
}

.region-newspost-content {
    padding: 0 !important;
    margin: 0 auto;
    max-width: 100%;
}


/* =====================
   Responsividade
===================== */
@media (max-width: 768px) {
}

@media (max-width: 480px) {
}
