/* ===== NOTICIAS PAGE STYLES ===== */
.noticias-hero {
    background: linear-gradient(rgba(15, 63, 138, 0.85), rgba(12, 45, 102, 0.9)), url('img/webp/Banner.webp');
    background-size: cover;
    background-position: center;
    padding: 100px 0 60px;
    color: #ffffff;
    text-align: center;
}

.noticias-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    font-family: Georgia, 'Times New Roman', serif;
}

.noticias-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== NEWS GRID ===== */
.news-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e2e8f0;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.news-img {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-img img {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #0f3f8a;
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.news-content {
    padding: 25px;
}

.news-date {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
    display: block;
}

.news-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s;
}

.news-card:hover .news-content h3 {
    color: #0f3f8a;
}

.news-content p {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-size: 14px;
    font-weight: 700;
    color: #0f3f8a;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.read-more:hover svg {
    transform: translateX(5px);
}

/* ===== FEATURED NEWS ===== */
.featured-news {
    margin-bottom: 50px;
}

.featured-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.featured-img {
    height: 400px;
}

.featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-img {
        height: 300px;
    }
}

@media (max-width: 640px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .noticias-hero h1 {
        font-size: 32px;
    }
}

/* ===== JORNAL DIGITAL SECTION ===== */
.journal-section {
    padding: 80px 0 100px;
    background: #f8fafc;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #0f3f8a;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}
.label-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0f3f8a;
    display: inline-block;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    color: #1e293b;
    font-family: Georgia, 'Times New Roman', serif;
    margin-bottom: 14px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 16px;
    color: #64748b;
    max-width: 680px;
    line-height: 1.7;
    margin-bottom: 60px;
}

/* --- FEATURED --- */
.journal-featured {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: center;
    background: #ffffff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 4px 30px rgba(15, 63, 138, 0.08);
    margin-bottom: 70px;
    border: 1px solid #e2e8f0;
}

/* Cover card visual */
.journal-cover-card {
    border-radius: 14px;
    padding: 30px 28px 28px;
    display: flex;
    flex-direction: column;
    min-height: 380px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.20);
}

.journal-cover-card.jc-vol1 {
    background: linear-gradient(150deg, #0a2d6e 0%, #1a56b0 60%, #1e6fc2 100%);
    color: #fff;
}

.jc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: auto;
}

.jc-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    border-radius: 4px;
}

.jc-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.jc-name {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
}

.jc-tagline {
    font-size: 9px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.jc-badge {
    margin-left: auto;
    background: #f59e0b;
    color: #1e293b;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jc-title-block {
    margin: 30px 0 18px;
}

.jc-title-block h3 {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 3px;
    line-height: 1.35;
    border-top: 2px solid rgba(255,255,255,0.3);
    padding-top: 18px;
}

.jc-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}

.jc-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
}

.jc-dots span:first-child {
    background: #f59e0b;
}

.jc-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 14px;
}

/* Featured info panel */
.jfi-vol {
    font-size: 12px;
    font-weight: 700;
    color: #0f3f8a;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 14px;
}

.jfi-title {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.2;
    margin-bottom: 18px;
}

.jfi-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 28px;
}

.jfi-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jfi-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #334155;
    font-weight: 500;
}

.jfi-highlights li svg {
    width: 18px;
    height: 18px;
    color: #16a34a;
    flex-shrink: 0;
}

.jfi-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-download-main {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #0f3f8a;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 26px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    box-shadow: 0 4px 14px rgba(15, 63, 138, 0.30);
}

.btn-download-main svg {
    width: 18px;
    height: 18px;
}

.btn-download-main:hover {
    background: #0a2d6e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 63, 138, 0.35);
}

.btn-view-main {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: transparent;
    color: #0f3f8a;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 26px;
    border-radius: 10px;
    text-decoration: none;
    border: 2px solid #0f3f8a;
    transition: background 0.25s, color 0.25s;
}

.btn-view-main svg {
    width: 18px;
    height: 18px;
}

.btn-view-main:hover {
    background: #0f3f8a;
    color: #fff;
}

/* --- ARCHIVE HEADER --- */
.journal-archive-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 2px solid #e2e8f0;
}

.journal-archive-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
}

.archive-count {
    font-size: 13px;
    color: #64748b;
    background: #f1f5f9;
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 600;
}

/* --- ARCHIVE GRID --- */
.journal-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.journal-edition-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.journal-edition-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(15, 63, 138, 0.12);
}

.jec-cover {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.jec-cover-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 22px 20px 18px;
}

.jec-cover-inner.vol1 {
    background: linear-gradient(150deg, #0a2d6e 0%, #1a56b0 60%, #1e6fc2 100%);
}

.jec-cover-inner.vol2 {
    background: linear-gradient(150deg, #0d3870 0%, #1547a0 50%, #1a5fbf 100%);
}

.jec-cover-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: auto;
}

.jec-mini-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.jec-cover-brand {
    font-size: 16px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
}

.jec-cover-title {
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    line-height: 1.5;
    border-top: 1px solid rgba(255,255,255,0.25);
    padding-top: 10px;
    margin-top: 12px;
}

.jec-cover-vol {
    font-size: 10px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 2px;
    margin-top: 6px;
}

.jec-new-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #f59e0b;
    color: #1e293b;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jec-info {
    padding: 22px 22px 20px;
}

.jec-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.jec-vol-badge {
    font-size: 11px;
    font-weight: 700;
    color: #0f3f8a;
    background: #eff6ff;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jec-date {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

.jec-info h4 {
    font-size: 16px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.3;
}

.jec-info p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jec-actions {
    display: flex;
    gap: 10px;
}

.jec-btn-download {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #0f3f8a;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s;
}

.jec-btn-download svg {
    width: 15px;
    height: 15px;
}

.jec-btn-download:hover {
    background: #0a2d6e;
    transform: translateY(-1px);
}

.jec-btn-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #f1f5f9;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
    border: 1px solid #e2e8f0;
}

.jec-btn-view svg {
    width: 15px;
    height: 15px;
}

.jec-btn-view:hover {
    background: #0f3f8a;
    color: #fff;
    border-color: #0f3f8a;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .journal-featured {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 36px;
    }
    .journal-cover-card {
        min-height: 260px;
    }
}

@media (max-width: 640px) {
    .section-title { font-size: 28px; }
    .jfi-title { font-size: 24px; }
    .jfi-actions { flex-direction: column; }
    .btn-download-main,
    .btn-view-main { justify-content: center; }
    .journal-archive-header { flex-direction: column; align-items: flex-start; gap: 10px; }
}