/* ══════════════════════════════════════
   Boletines Section
══════════════════════════════════════ */

.boletines-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 80px 80px;
}

.boletines-search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 56px;
}

.boletines-search-form {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 500px;
    padding: 4px 6px;
    border-radius: 30px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.boletines-search-form input[type="text"] {
    flex: 1;
    padding: 14px 20px;
    border-radius: 30px;
    border: none;
    font-size: 1rem;
    color: #07193d;
    background: transparent;
    outline: none;
}

.boletines-search-form input[type="text"]::placeholder {
    color: #9a9a9a;
}

.btn-search {
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, #dca84d, #ffd76d);
    color: #07193d;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: box-shadow 0.25s, transform 0.25s;
    flex-shrink: 0;
}

.btn-search:hover {
    box-shadow: 0 6px 20px rgba(220, 168, 77, 0.35);
    transform: translateY(-2px);
}

/* ══════════════════════════════════════
   News Grid (reutilizado de home.css)
══════════════════════════════════════ */

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

.news-card {
    background: white;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 16px;
}

.news-card--fullimg {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card--fullimg .news-img {
    height: 260px;
    min-height: 200px;
    max-height: 320px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    background: #eaeaea;
}

.news-card--fullimg .news-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.13);
}

.news-img {
    height: 190px;
    background: linear-gradient(135deg, #07193d, #1a3d7c, #0c2b66);
}

.news-body {
    padding: 24px;
}

.news-date {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #dca84d;
}

.news-body h3 {
    font-size: 1rem;
    color: #07193d;
    line-height: 1.45;
    margin: 10px 0 12px;
}

.news-body p {
    font-size: 0.88rem;
    color: #5a6a85;
    line-height: 1.65;
    margin-bottom: 18px;
}

.news-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0c2b66;
    text-decoration: none;
    transition: color 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-link:hover {
    color: #dca84d;
    gap: 10px;
}

/* ══════════════════════════════════════
   No Results
══════════════════════════════════════ */

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    color: #888;
    font-size: 1.1rem;
    padding: 60px 20px;
}

/* ══════════════════════════════════════
   Pagination
══════════════════════════════════════ */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.page-link {
    background: white;
    border: 2px solid #dca84d;
    color: #07193d;
    border-radius: 30px;
    padding: 10px 24px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}

.page-link:hover {
    background: #dca84d;
    color: white;
}

.page-info {
    font-size: 0.98rem;
    color: #07193d;
    font-weight: 500;
}

/* ══════════════════════════════════════
   Responsive
══════════════════════════════════════ */

@media (max-width: 1100px) {
    .boletines-section {
        padding-left: 40px;
        padding-right: 40px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .boletines-section {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 320px;
    }

    .boletines-section {
        padding: 48px 24px 56px;
    }

    .boletines-search-form {
        flex-direction: column;
    }

    .btn-search {
        width: 100%;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-card--fullimg .news-img {
        height: 240px;
    }
}

@media (max-width: 600px) {
    .page-hero {
        height: 280px;
    }

    .page-hero__content h1 {
        font-size: 1.8rem;
    }

    .page-hero__content p {
        font-size: 0.95rem;
    }

    .boletines-section {
        padding: 32px 16px 40px;
    }

    .boletines-search-container {
        margin-bottom: 40px;
    }

    .pagination {
        gap: 10px;
    }

    .news-body {
        padding: 18px;
    }

    .news-body h3 {
        font-size: 0.95rem;
    }
}
