:root {
    --ep-blue: #0d2951;
    --ep-yellow: #fec20a;
    --ep-gray-bg: #f8f9fa;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #333;
}

/* Sobrescrevendo cores do Bootstrap */
.btn-warning {
    background-color: var(--ep-yellow) !important;
    border-color: var(--ep-yellow) !important;
    color: var(--ep-blue) !important;
}

.btn-warning:hover {
    background-color: #e5ae08 !important;
    border-color: #e5ae08 !important;
    color: var(--ep-blue) !important;
}

.bg-warning {
    background-color: var(--ep-yellow) !important;
}

.text-warning {
    color: var(--ep-yellow) !important;
}

/* Navbars */
.top-nav {
    background-color: var(--ep-blue);
    font-size: 0.85rem;
    padding: 10px 0;
}

.top-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s;
}

.top-nav a:hover {
    color: var(--ep-yellow);
}

/* Header Banner - COMPACTO */
.header-banner {
    padding-top: 50px;
    padding-bottom: 20px;
    background-color: var(--ep-blue);
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-image: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
}

.text-outline {
    font-size: 8.5rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px white;
    letter-spacing: 2px;
    margin: 0;
    line-height: 1;
}

.banner-divider {
    width: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 20px;
}

.banner-text-main {
    font-size: 1.95rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 1px;
}

.banner-text-sub {
    color: var(--ep-yellow);
    font-size: 0.8rem;
    font-weight: 600;
}

.years-badge {
    font-size: 5.5rem;
    font-weight: 900;
    color: var(--ep-yellow);
    line-height: 1;
}

/* --- NOTÍCIA DESTAQUE (HERO) --- */
.news-hero {
    background-color: var(--ep-blue);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(13, 41, 81, 0.08);
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    
}

@media (min-width: 992px) {
    .news-hero {
        flex-direction: row;
        height: 480px;
        width: 100%;
    }

    .news-hero-content::before {
        /* No desktop, volta a ser uma barra vertical na esquerda */
        width: 10px !important;
        height: 100% !important;
    }
}

.news-hero-img-wrapper {
    flex: 1.2;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
}

.news-hero-img {
    display: block;
    width: 115%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.news-hero:hover .news-hero-img {
    transform: scale(1.03);
}

.news-hero-content {
    flex: 1;
    padding: 50px 40px;
    background-color: var(--ep-blue);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.news-hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    /* Por padrão (mobile), é uma barra horizontal separando a foto do texto */
    width: 100%;
    height: 10px;
    background-color: var(--ep-yellow);
}

.news-badge {
    background-color: var(--ep-yellow);
    color: var(--ep-blue);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 4px;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    margin-top: 10px;
    /* Um pequeno respiro da borda nova no mobile */
}

.news-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 15px;
    color: white;
}

.news-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
    line-height: 1.5;
    font-weight: 300;
}

.news-meta {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    font-weight: 500;
}

.news-meta i {
    color: var(--ep-yellow);
    margin-right: 6px;
}

.news-meta .separator {
    margin: 0 12px;
    color: rgba(255, 255, 255, 0.3);
}

/* --- SESSÃO EXPLORE NOSSOS EDITORIAIS --- */
.section-title {
    font-weight: 800;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--ep-blue);
    position: relative;
    padding-left: 18px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 80%;
    width: 5px;
    background-color: var(--ep-yellow);
    border-radius: 4px;
}

.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    padding: 8px 22px;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    color: var(--ep-blue);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-custom:hover {
    background: var(--ep-blue);
    color: white;
    border-color: var(--ep-blue);
}

.btn-outline-custom i {
    transition: transform 0.3s ease;
}

.btn-outline-custom:hover i {
    transform: translateX(4px);
}

.card-link-wrapper {
    text-decoration: none !important;
    display: block;
    height: 100%;
}

.category-card-v2 {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(13, 41, 81, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(13, 41, 81, 0.12);
}

.category-card-v2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 0;
    background-color: var(--ep-yellow);
    transition: width 0.4s ease;
}

.category-card-v2:hover::after {
    width: 100%;
}

.category-card-v2 .img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.category-card-v2 .category-img-v2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card-v2:hover .category-img-v2 {
    transform: scale(1.08);
}

.category-card-v2 .img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(13, 41, 81, 0.3), transparent);
}

.category-card-v2 .icon-wrapper {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--ep-blue);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
}

.category-card-v2:hover .icon-wrapper {
    background-color: var(--ep-yellow);
    color: var(--ep-blue);
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 20px rgba(254, 194, 10, 0.3);
}

.category-body-v2 {
    padding: 30px 24px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-body-v2 h5 {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--ep-blue);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-body-v2 p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.category-link-v2 {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--ep-blue);
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.category-link-v2 i {
    margin-left: 8px;
    transition: transform 0.3s ease;
    color: var(--ep-yellow);
    font-size: 1rem;
}

.category-card-v2:hover .category-link-v2 {
    color: #000;
}

.category-card-v2:hover .category-link-v2 i {
    transform: translateX(6px);
}

/* --- NEWSLETTER ELEGANTE --- */
.newsletter-elegant-wrapper {
    background-color: var(--ep-blue);
    border-radius: 16px;
    padding: 40px 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(13, 41, 81, 0.15);
    margin-top: 60px;
    margin-bottom: 20px;
    width: 100%;
}

.newsletter-elegant-wrapper::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -20px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(254, 194, 10, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.newsletter-elegant-wrapper::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 10%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.icon-circle-elegant {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--ep-yellow);
    flex-shrink: 0;
}

.elegant-form-group {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    padding: 6px;
}

.elegant-form-group:focus-within {
    border-color: var(--ep-yellow);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(254, 194, 10, 0.1);
}

.elegant-form-group .form-control {
    border: none;
    background: transparent;
    color: white;
    box-shadow: none !important;
    font-size: 0.95rem;
}

.elegant-form-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.elegant-form-group .btn {
    border-radius: 6px;
    padding: 10px 24px;
}

/* --- NOVO DESIGN: LISTA EM ALTA --- */
.trending-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trending-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    color: inherit;
}

.trending-item:hover {
    background-color: #fafbfc;
    border-color: rgba(13, 41, 81, 0.08);
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(13, 41, 81, 0.04);
}

.trending-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(13, 41, 81, 0.15);
    margin-right: 20px;
    min-width: 45px;
    transition: all 0.3s ease;
    line-height: 1;
}

.trending-item:hover .trending-number {
    color: var(--ep-yellow);
    -webkit-text-stroke: 0px;
    text-shadow: 0 4px 10px rgba(254, 194, 10, 0.3);
}

.trending-content h6 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--ep-blue);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.trending-item:hover .trending-content h6 {
    color: #000;
}

.trending-meta {
    font-size: 0.75rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.trending-meta i {
    color: var(--ep-yellow);
}

/* --- NOVO DESIGN: CARDS ÚLTIMAS ATUALIZAÇÕES --- */
.news-card-modern {
    background: #fff;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 15px rgba(13, 41, 81, 0.04);
    position: relative;
}

.news-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(13, 41, 81, 0.1);
}

.news-card-img-container {
    position: relative;
    height: 190px;
    overflow: hidden;
    background-color: #f4f5f7;
}

.news-card-img-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(13, 41, 81, 0.2), transparent);
    pointer-events: none;
}

.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.news-card-modern:hover .news-card-img {
    transform: scale(1.08);
}

.news-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--ep-blue);
    background-color: var(--ep-yellow);
    padding: 6px 14px;
    border-radius: 30px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.news-card-body {
    padding: 45px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background-color: #fff;
}

.news-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.45;
    color: var(--ep-blue);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.news-card-modern:hover .news-card-title {
    color: #000;
}

.news-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #777;
    border-top: 1px solid #f0f4f8;
    padding-top: 16px;
    font-weight: 500;
}

.news-card-footer-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-card-footer-time i {
    color: #b5b5b5;
}

.news-card-readmore {
    color: var(--ep-blue);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.news-card-modern:hover .news-card-readmore {
    color: var(--ep-yellow);
    gap: 8px;
}

/* Footer Banner */
.footer-banner {
    background: linear-gradient(135deg, #0d2951 0%, #07162c 100%);
    color: white;
    border-radius: 12px;
    padding: 35px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    margin-bottom: 40px;
    box-shadow: 0 15px 30px rgba(13, 41, 81, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.footer-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(13, 41, 81, 0.25);
}

.footer-banner .banner-title {
    color: var(--ep-yellow);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.footer-banner .banner-subtitle {
    font-weight: 400;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.btn-assinar {
    background-color: var(--ep-yellow);
    color: var(--ep-blue);
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 6px;
    padding: 14px 30px;
    border: 2px solid var(--ep-yellow);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    white-space: nowrap;
}

.btn-assinar:hover {
    background-color: transparent;
    color: var(--ep-yellow);
}

.btn-assinar i {
    transition: transform 0.3s ease;
}

.btn-assinar:hover i {
    transform: translateX(5px);
}

/* Ajustes Responsivos */
@media (max-width: 991px) {
    .footer-banner {
        flex-direction: column;
        text-align: center;
        padding: 35px 20px;
        gap: 25px;
    }

    .text-outline {
        font-size: 3rem;
    }

    .banner-divider {
        display: none !important;
    }

    .header-banner .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .news-hero-content {
        padding: 30px 20px;
    }

    .news-title {
        font-size: 1.8rem;
    }

    .newsletter-elegant-wrapper {
        padding: 30px 20px;
    }
}

/* Estilos adicionais para o card do Instagram */
.instagram-card-container {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.instagram-card-header {
    padding: 15px 20px;
    background-color: #fafbfc;
    border-bottom: 1px solid #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.instagram-iframe-wrapper {
    flex-grow: 1;
    position: relative;
    min-height: 380px;
}
 /*ajuste para ficar reto* /
  

