/* =========================================
   PÁGINA: NOTÍCIAS & BLOG
========================================= */

/* Cabeçalho 100% Centralizado */
.news-main-header {
    text-align: center;
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.news-main-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    line-height: 1.2;
}
.news-main-subtitle {
    font-size: 1.15rem;
    max-width: 600px;
    line-height: 1.6;
}

/* Hover Dourado Reutilizável */
.hover-gold-border {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.hover-gold-border:hover {
    border-color: var(--gold) !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* =========================================
   CARROSSEL (DESTAQUES - Fundo Branco)
========================================= */
.carousel-container {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; 
    -ms-overflow-style: none; 
    border-radius: 4px;
}
.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-slide {
    min-width: 100%;
    scroll-snap-align: start;
    padding: 10px; /* Margem para a sombra do hover não cortar */
}

/* Cartão do Carrossel (Branco para contrastar no Verde) */
.feat-card {
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.feat-img-wrapper {
    height: 400px; 
    overflow: hidden;
}
.feat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.feat-content {
    padding: 3rem;
    color: #555;
    text-align: left;
}
.feat-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--forest);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.feat-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 1.5rem 0;
    color: #666;
}

/* Botões do Carrossel */
.carousel-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background-color: var(--gold);
    color: var(--forest);
    border: none;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.carousel-btn:hover {
    background-color: #fff;
    color: var(--gold);
    transform: translateY(-50%) scale(1.1);
}
.btn-left { left: -20px; }
.btn-right { right: -20px; }

/* Pontinhos do Carrossel (Visíveis no fundo verde) */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4); /* Branco semitransparente */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.dot.active {
    background-color: var(--gold);
    transform: scale(1.3);
}

/* =========================================
   GRELHA: A NOSSA JORNADA (3 Colunas)
========================================= */
.news-grid-wide {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.news-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

/* O Selo Dourado em cima da Imagem */
.news-badge-gold {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background-color: var(--gold);
    color: var(--forest);
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    z-index: 5;
    border-radius: 2px;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.news-card:hover .news-img {
    transform: scale(1.05);
}

.news-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    display: block;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1rem;
}

.news-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--forest);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.news-excerpt {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.news-read-more {
    text-decoration: none;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto; 
    transition: color 0.3s ease;
}
.news-read-more .arrow { transition: transform 0.3s ease; }
.news-read-more:hover { color: var(--forest); }
.news-read-more:hover .arrow { transform: translateX(5px); }

/* Responsividade Mobile */
@media (max-width: 1100px) {
    .news-grid-wide { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .news-grid-wide { grid-template-columns: 1fr; }
    .carousel-btn { width: 35px; height: 35px; }
    .btn-left { left: 5px; }
    .btn-right { right: 5px; }
    .feat-content { padding: 2rem; }
    .feat-title { font-size: 1.8rem; }
}