/*
Theme Name: Abre Tu Corazón
Theme URI: https://abretucorazon.org
Author: Abre Tu Corazón
Author URI: https://abretucorazon.org
Description: Tema oficial del sitio web de Abre Tu Corazón.
Version: 1.10
License: GNU General Public License v2 or later
Text Domain: rebranding
*/

:root {
    --primary-blue: #145A8A;
    --primary-magenta: #E22391;
    --dark-blue: #0A3D62;
    --white: #FFFFFF;
    --text-color: #444444;
    --gradient-hero: linear-gradient(90deg, #145A8A 0%, #E22391 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(20, 58, 100, 0.8) 0%, rgba(226, 35, 145, 0.8) 100%);
}

body { font-family: 'Poppins', sans-serif; margin: 0; padding: 0; color: var(--text-color); line-height: 1.6; background-color: white; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; }
.text-center { text-align: center; }

/* Header */
.top-bar { background-color: var(--primary-blue); color: white; padding: 10px 0; font-size: 0.75rem; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-news::before { content: '●'; color: var(--primary-magenta); margin-right: 10px; }

.site-header { background: white; padding: 15px 0; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.site-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo-text { color: var(--primary-blue); line-height: 0.9; display: inline-block; font-size: 1.4rem; text-transform: lowercase; text-decoration: none; }
.logo-text strong { text-transform: uppercase; font-weight: 800; color: var(--primary-magenta); font-size: 1.6rem; }

.custom-logo { max-height: 80px; width: auto; display: block; }
.custom-logo-link { display: inline-block; }

.main-navigation ul { list-style: none; display: flex; margin: 0; padding: 0; gap: 25px; }
.main-navigation a { text-decoration: none; color: var(--primary-blue); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; padding: 10px 0; }
.main-navigation .current-menu-item a { color: var(--primary-magenta); border-bottom: 2px solid var(--primary-magenta); }

/* Hero */
.hero { background: var(--gradient-hero); color: white; text-align: center; padding: 140px 0 180px; }
.hero-tag { background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.3); padding: 8px 25px; border-radius: 50px; font-size: 0.7rem; font-weight: 600; display: inline-block; margin-bottom: 30px; text-transform: uppercase; letter-spacing: 1px; }
.hero h1 { font-size: 4.5rem; font-weight: 800; margin: 0 auto 20px; line-height: 1.1; max-width: 950px; color: white; }
.hero p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 40px; opacity: 0.9; }

/* Cards Section General */
.section-intro { background-color: #f7f8fa; background-size: cover; background-position: center; position: relative; padding: 72px 0; display: flex; align-items: center; }
.section-intro::before { content: ''; position: absolute; inset: 0; background: rgba(8, 37, 55, 0.52); }
.section-intro .container { width: 100%; position: relative; z-index: 1; }
.floating-card { background: white; border-radius: 20px; padding: 70px 60px; margin-top: -100px; box-shadow: 0 25px 70px rgba(0,0,0,0.15); position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 620px; }
.support-floating-card { box-sizing: border-box; width: min(100%, 680px); min-height: 0; margin: 0 0 0 auto; padding: 34px 32px 30px; border-radius: 22px; align-items: stretch; }
.floating-card .text-center { width: 100%; }
.support-floating-card h2 { color: var(--primary-blue); font-size: 2.4rem; line-height: 1.1; margin: 0 0 12px; }
.support-floating-card .text-center > p { max-width: 470px; margin: 0 auto; color: #4c5961; font-size: 0.9rem; line-height: 1.45; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.support-item { background: #fcf5fc; border-radius: 14px; padding: 14px; display: flex; align-items: flex-start; gap: 10px; border-left: 3px solid var(--primary-magenta); text-align: left; }
.support-icon { background: var(--gradient-hero); color: white; width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.15rem; }
.support-item h3 { color: var(--primary-blue); font-size: 0.92rem; line-height: 1.08; margin: 2px 0 7px; }
.support-item h3 span { color: var(--primary-magenta); display: block; font-size: 1.5rem; line-height: 0.95; margin-bottom: 3px; }
.support-item p { color: #4c5961; font-size: 0.72rem; line-height: 1.28; margin: 0; }
.support-link { margin-top: 22px; }
.support-floating-card .text-center a { color: var(--primary-magenta); font-weight: 700; text-decoration: none; font-size: 0.8rem; }

/* Nosotros: indicadores de trayectoria */
.nosotros-intro .stats-row .stat-box { flex: 1; text-align: center; }
.nosotros-intro .stat-icon-wrap { align-items: center; background: var(--gradient-hero); border-radius: 10px; color: white; display: flex; font-size: 1.25rem; height: 50px; justify-content: center; margin: 0 auto 14px; width: 50px; }
.nosotros-intro .stat-icon-wrap i { color: inherit; }
.nosotros-intro .stat-icon-wrap img { border-radius: inherit; height: 100%; object-fit: cover; width: 100%; }
.nosotros-intro .floating-card { box-sizing: border-box; max-width: 900px; min-height: 0; margin: 0 auto; padding: 42px 48px 34px; }
.nosotros-intro .floating-card .section-title h2 { font-size: 2.6rem !important; margin-bottom: 20px !important; }
.nosotros-intro .floating-card .section-title p { font-size: 0.92rem !important; line-height: 1.55 !important; margin: 0 0 14px !important; }
.nosotros-intro .floating-card .stats-row { margin-top: 30px !important; padding-top: 28px !important; }
.nosotros-intro .floating-card .stats-row > .stat-box > span { font-size: 1.6rem !important; }
.nosotros-intro .floating-card .stats-row > .stat-box > p { font-size: 0.65rem !important; margin-bottom: 0; }

/* Pilares */
.section-pillars { background-color: var(--primary-blue); color: white; }
.pillars-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 60px; }
.pillar-card { background: white; color: var(--text-color); padding: 40px; border-radius: 20px; position: relative; transition: transform 0.3s ease; text-align: left; }
.pillar-card:hover { transform: translateY(-5px); }
.pillar-badge { position: absolute; top: 20px; right: 20px; background: var(--primary-magenta); color: white; font-size: 0.7rem; padding: 4px 12px; border-radius: 50px; font-weight: 700; }

/* Impacto */
.section-impact { background-image: url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?auto=format&fit=crop&w=1920&q=80'); background-size: cover; background-position: center; position: relative; color: white; }
.section-impact::before { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: var(--gradient-overlay); }
.impact-card { background: white; color: var(--text-color); border-radius: 25px; padding: 60px; max-width: 600px; margin-left: auto; position: relative; z-index: 2; box-shadow: 0 20px 50px rgba(0,0,0,0.2); text-align: left; }
.impact-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; text-align: center; }
.impact-stat-icon { display: flex; justify-content: center; margin-bottom: 12px; }
.impact-stat-icon img { display: block; width: 50px; height: 50px; object-fit: cover; border-radius: 12px; }
.impact-stat-icon i { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary-magenta), var(--primary-blue)); color: white; font-size: 1.25rem; }
.impact-number { font-size: 3rem; font-weight: 800; color: var(--primary-blue); display: block; line-height: 1; margin-bottom: 5px; }

/* Aliados */
.section-allies { background: white; text-align: center; padding: 80px 0; }
.allies-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 50px; align-items: center; }
.ally-item { text-align: center; }
.ally-logo { max-width: 150px; height: auto; filter: grayscale(100%); opacity: 0.6; transition: 0.3s; }
.ally-logo:hover { filter: grayscale(0%); opacity: 1; }

/* CTA Final */
.section-final-cta { background-image: url('https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1920&q=80'); background-size: cover; background-position: center; position: relative; color: white; text-align: center; padding: 120px 0; }
.section-final-cta::before { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: var(--gradient-overlay); }
.nosotros-final-cta::before {
    background: linear-gradient(90deg,
        #0065A1 0%,
        #3064A0 7%,
        #47639F 14%,
        #59629E 21%,
        #68609E 29%,
        #775E9D 36%,
        #845B9C 43%,
        #91589B 50%,
        #9D549A 57%,
        #A95099 64%,
        #B54A98 71%,
        #C14597 79%,
        #CF3C96 86%,
        #D92F94 93%,
        #E31D93 100%
    );
}
.cta-content { position: relative; z-index: 2; }

/* Buttons */
.btn-donar { background: var(--primary-magenta); color: white; padding: 16px 45px; border-radius: 10px; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; box-shadow: 0 4px 15px rgba(0,0,0,0.2); border: none; cursor: pointer; }
.btn-donar:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
.btn-white { background: white; color: var(--primary-magenta); padding: 16px 45px; border-radius: 10px; text-decoration: none; font-weight: 700; display: inline-block; transition: 0.3s; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

/* Timeline (Nosotros) */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding: 40px 0; }
.timeline::after { content: ''; position: absolute; width: 2px; background: linear-gradient(to bottom, var(--primary-magenta), var(--primary-blue)); top: 0; bottom: 0; left: 50%; margin-left: -1px; }
.timeline-item { padding: 10px 40px; position: relative; background-color: inherit; width: 50%; box-sizing: border-box; }
.timeline-item::after { content: ''; position: absolute; width: 16px; height: 16px; right: -8px; background-color: white; border: 2px solid var(--primary-magenta); top: 25px; border-radius: 50%; z-index: 1; }
.left { left: 0; text-align: right; }
.right { left: 50%; text-align: left; }
.right::after { left: -8px; }
.timeline-content { padding: 28px; background: linear-gradient(135deg, #fff5fc 0%, #f3f9ff 100%); position: relative; border-radius: 18px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); text-align: left; transition: 0.3s; }
.timeline-year { display: block; color: var(--primary-magenta); font-size: 2.2rem; font-weight: 800; line-height: 1; margin-bottom: 14px; text-align: right; }
.timeline-content h3 { margin: 0 0 12px; color: var(--primary-blue); font-size: 1.45rem; font-weight: 800; }
.timeline-content p { margin: 0; font-size: 0.9rem; color: #5a6470; line-height: 1.5; }
.timeline-item.left .timeline-content { text-align: right; }
.timeline-item.left .timeline-year { text-align: right; }
.timeline-item.right .timeline-content { text-align: left; }
.timeline-item.right .timeline-year { text-align: left; }
.timeline-content--current { background: linear-gradient(135deg, var(--primary-magenta) 0%, var(--primary-blue) 100%); color: white; }
.timeline-content--current .timeline-year,
.timeline-content--current h3,
.timeline-content--current p { color: white; }

/* Footer */
.site-footer { background: var(--primary-blue); color: white; padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 60px; text-align: left; padding-bottom: 60px; }
.footer-col h4 { font-size: 1.1rem; margin-bottom: 25px; font-weight: 700; position: relative; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 30px; height: 2px; background: var(--primary-magenta); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: white; text-decoration: none; opacity: 0.8; font-size: 0.9rem; transition: 0.3s; }
.footer-links a:hover { opacity: 1; color: var(--primary-magenta); padding-left: 5px; }
.contact-info { list-style: none; padding: 0; margin: 0; }
.contact-info li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; font-size: 0.9rem; opacity: 0.9; }
.contact-info i { color: var(--primary-magenta); font-size: 1.1rem; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 30px; opacity: 0.7; font-size: 0.9rem; text-align: center; }

/* Responsive fixes */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .support-grid, .pillars-grid, .impact-stats, .allies-grid, .footer-grid { grid-template-columns: 1fr; }
    .section-intro { padding: 32px 0; }
    .support-floating-card { width: 100%; padding: 32px 24px; }
    .nosotros-intro .stats-row { flex-wrap: wrap; gap: 24px; }
    .nosotros-intro .stats-row .stat-box { flex-basis: 30%; }
    .nosotros-intro .floating-card { width: 100%; padding: 32px 24px; }
    .impact-card { margin-left: 0; max-width: 100%; }
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; text-align: left; }
    .timeline-item::after { left: 21px; }
    .right { left: 0; }
}

/* Page Impacto Custom Styles */
.page-impacto-custom .impact-hero {
    background-image: url('assets/mision-vision-default.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 160px 0 120px;
    color: white;
    text-align: center;
}
.page-impacto-custom .impact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(20, 90, 138, 0.72) 0%, rgba(226, 35, 145, 0.62) 100%);
}
.page-impacto-custom .impact-hero .container {
    position: relative;
    z-index: 2;
}
.page-impacto-custom .hero-tag-pill {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 25px;
    text-transform: uppercase;
}
.page-impacto-custom .impact-hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin: 0 auto 25px;
    max-width: 900px;
    line-height: 1.1;
}
.page-impacto-custom .impact-hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.page-impacto-custom .section-header h2 {
    color: var(--primary-blue);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}
.page-impacto-custom .section-header p {
    font-size: 1.1rem;
    color: #777;
    max-width: 750px;
    margin: 0 auto 50px;
}

.page-impacto-custom .impact-numbers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.page-impacto-custom .impact-number-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 18px 36px rgba(17, 54, 84, 0.18);
    overflow: hidden;
    position: relative;
}
.page-impacto-custom .impact-number-card::after { background: rgba(115, 75, 209, 0.08); border-radius: 50%; content: ''; height: 92px; position: absolute; right: -38px; top: -38px; width: 92px; }
.page-impacto-custom .card-icon-wrap {
    background: linear-gradient(135deg, #9C27B0 0%, #E22391 100%);
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.page-impacto-custom .card-icon-wrap img { border-radius: inherit; height: 100%; object-fit: cover; width: 100%; }
.page-impacto-custom .card-content { position: relative; z-index: 1; }
.page-impacto-custom .stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-magenta);
    line-height: 1;
    margin-bottom: 8px;
}
.page-impacto-custom .stat-label {
    display: block;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-size: 1rem;
}
.page-impacto-custom .card-content p {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
    line-height: 1.5;
}

.page-impacto-custom .impact-geo {
    background-image: url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 140px 0;
}
.page-impacto-custom .impact-geo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(14, 83, 132, 0.84), rgba(226, 35, 145, 0.76));
}
.page-impacto-custom .geo-floating-card {
    background: white;
    border-radius: 18px;
    padding: 36px 30px 28px;
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-shadow: 0 25px 70px rgba(0,0,0,0.2);
}
.page-impacto-custom .geo-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
}
.page-impacto-custom .geo-icon-circle {
    background: #FFF5F8;
    color: var(--primary-magenta);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.page-impacto-custom .geo-header-text h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
}
.page-impacto-custom .geo-header-text p {
    margin: 2px 0 0;
    color: #888;
}
.page-impacto-custom .geo-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    margin-bottom: 26px;
}
.page-impacto-custom .geo-stat-col {
    background: linear-gradient(145deg, #edf5ff 0%, #fff2f9 100%);
    padding: 18px 14px;
    border-radius: 10px;
    text-align: center;
}
.page-impacto-custom .geo-stat-col:nth-child(2) { background: linear-gradient(145deg, #f2f1ff 0%, #fff4fb 100%); }
.page-impacto-custom .geo-stat-col:nth-child(3) { background: linear-gradient(145deg, #eef6ff 0%, #f7f2ff 100%); }
.page-impacto-custom .geo-stat-col h4 {
    color: var(--primary-blue);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 12px;
}
.page-impacto-custom .geo-stat-box {
    margin-bottom: 10px;
}
.page-impacto-custom .geo-stat-box + .geo-stat-box { border-top: 1px solid rgba(20, 90, 138, 0.12); padding-top: 10px; }
.page-impacto-custom .geo-stat-box:last-child {
    margin-bottom: 0;
}
.page-impacto-custom .geo-stat-box .val {
    display: block;
    color: var(--primary-magenta);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
}
.page-impacto-custom .geo-stat-box + .geo-stat-box .val { color: var(--primary-blue); }
.page-impacto-custom .geo-stat-box .lab {
    font-size: 0.75rem;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
}
.page-impacto-custom .geo-card-footer {
    border-top: 1px solid #eee;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
}
.page-impacto-custom .geo-card-footer p {
    color: #5a6470;
    font-size: 0.76rem;
    line-height: 1.45;
    margin: 0;
    padding-left: 14px;
    position: relative;
    width: calc(50% - 12px);
}
.page-impacto-custom .geo-card-footer p::before { color: var(--primary-magenta); content: '•'; font-size: 1.1rem; left: 0; line-height: 1; position: absolute; top: 0; }
.page-impacto-custom .geo-card-footer p strong { color: var(--primary-blue); font-weight: 700; }

.page-impacto-custom .impact-programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 0 auto;
    max-width: 1080px;
}
.page-impacto-custom .program-mini-card {
    background: white;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 12px 25px rgba(17, 54, 84, 0.18);
    padding: 28px 24px;
    text-align: left;
}
.page-impacto-custom .mini-icon {
    background: linear-gradient(135deg, #9C27B0 0%, #E22391 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 18px;
    font-size: 1.2rem;
}
.page-impacto-custom .mini-icon img { border-radius: inherit; height: 100%; object-fit: cover; width: 100%; }
.page-impacto-custom .program-mini-card h4 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 8px;
}
.page-impacto-custom .mini-stat {
    display: block;
    color: var(--primary-magenta);
    font-weight: 800;
    font-size: 1.35rem;
    margin-bottom: 8px;
}
.page-impacto-custom .program-mini-card p {
    font-size: 0.9rem;
    color: #5a6470;
    margin: 0;
    line-height: 1.4;
}

.page-impacto-custom .impact-growth {
    background: var(--gradient-hero);
}
.page-impacto-custom .growth-floating-card {
    background: white;
    border-radius: 30px;
    padding: 70px 60px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 30px 80px rgba(0,0,0,0.2);
}
.page-impacto-custom .growth-header h2 {
    color: var(--primary-blue);
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 10px;
}
.page-impacto-custom .growth-header p {
    color: #4c5961;
    font-size: 1.25rem;
    margin-bottom: 50px;
}
.page-impacto-custom .growth-timeline {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    text-align: center;
    margin-bottom: 50px;
}
.page-impacto-custom .timeline-tag {
    background: var(--primary-magenta);
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 8px 22px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 15px;
}
.page-impacto-custom .timeline-step h3 {
    color: var(--primary-blue);
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 10px;
}
.page-impacto-custom .timeline-step p {
    font-size: 1.1rem;
    color: #777;
    margin: 0;
}
.page-impacto-custom .growth-footer {
    border-top: 1px solid #eee;
    padding-top: 40px;
    text-align: center;
}
.page-impacto-custom .growth-arrow-icon {
    color: var(--primary-magenta);
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.page-impacto-custom .growth-footer p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-impacto-custom .impact-cta h2 {
    color: var(--primary-blue);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}
.page-impacto-custom .impact-cta p {
    font-size: 1.4rem;
    color: #4c5961;
    max-width: 700px;
    margin: 0 auto 40px;
}

@media (max-width: 992px) {
    .page-impacto-custom .impact-programs-grid { grid-template-columns: 1fr 1fr; }
    .page-impacto-custom .growth-timeline { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    .page-impacto-custom .impact-hero h1 { font-size: 3rem; }
    .page-impacto-custom .impact-numbers-grid { grid-template-columns: 1fr; }
    .page-impacto-custom .geo-stats-grid { grid-template-columns: 1fr; }
    .page-impacto-custom .geo-card-footer { flex-direction: column; gap: 10px; }
    .page-impacto-custom .section-header h2 { font-size: 2.2rem; }
}

/* Misión y Visión (Nosotros) */
.section-mission-vision {
    padding: 140px 0;
    background-image: url('https://images.unsplash.com/photo-1524178232363-1fb28f74b521?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.section-mission-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.section-mission-vision .container {
    position: relative;
    z-index: 2;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mv-card {
    background: white;
    padding: 60px 50px;
    border-radius: 40px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-10px);
}

.mv-card.dark {
    background: linear-gradient(135deg, var(--primary-magenta) 0%, var(--primary-blue) 100%);
    color: white;
}

.mv-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 35px;
}

.mv-card:not(.dark) .mv-icon-circle {
    background: linear-gradient(135deg, var(--primary-magenta) 0%, var(--primary-blue) 100%);
    color: white;
}

.mv-card.dark .mv-icon-circle {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.mv-card h3 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.mv-card:not(.dark) h3 {
    color: var(--primary-blue);
}

.mv-card p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin: 0;
    color: #555;
}

.mv-card.dark p {
    color: white;
    opacity: 0.95;
}

/* Responsive mission-vision */
@media (max-width: 992px) {
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .mv-card {
        padding: 50px 40px;
        border-radius: 30px;
    }
    .section-mission-vision {
        padding: 80px 0;
    }
}

/* Apoyos Económicos Page */
.page-apoyos-economicos .hero-apoyos {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 140px 0 170px;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 58, 100, 0.85) 0%, rgba(226, 35, 145, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.page-apoyos-economicos .hero-tag-pill {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 22px;
    padding: 7px 18px;
    text-transform: uppercase;
}

.breadcrumbs {
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 25px;
    opacity: 0.8;
}

.breadcrumbs a {
    color: white;
    text-decoration: none;
}

.breadcrumbs span {
    opacity: 0.6;
}

.hero-apoyos h1 {
    font-size: 4.25rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-apoyos p {
    font-size: 1.15rem;
    max-width: 640px;
    opacity: 0.9;
    margin-left: auto;
    margin-right: auto;
}

.section-stats-floating {
    position: relative;
    margin-top: -80px;
    z-index: 10;
}

.section-stats-floating .container {
    display: flex;
    justify-content: center;
}

/* Stats Floating Card */
.stats-floating-card {
    background: white;
    border-radius: 25px;
    padding: 36px 44px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 10;
    width: min(860px, 100%);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: white;
}

.stat-icon.magenta { background: linear-gradient(135deg, #9C27B0 0%, #E22391 100%); }
.stat-icon.blue    { background: linear-gradient(135deg, #145A8A 0%, #9C27B0 100%); }

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #888;
}

/* Programs List */
.programs-list {
    margin-top: 70px;
}

.program-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 110px;
}

.program-row.reverse {
    flex-direction: row-reverse;
}

.program-content {
    flex: 1;
}

.program-image {
    flex: 1;
}

.program-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.program-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.badge-icon {
    background: #FFF5F8;
    color: var(--primary-magenta);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.badge-text strong {
    display: block;
    color: var(--primary-magenta);
    font-size: 1.1rem;
    line-height: 1;
}

.badge-text span {
    font-size: 0.95rem;
    color: #4c5961;
    font-weight: 600;
}

.program-content h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 800;
}

.program-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
}

.program-bullets {
    list-style: none;
    padding: 0;
}

.program-bullets li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #666;
    font-size: 0.92rem;
}

.section-programs .section-header h2 {
    font-size: 3rem;
    color: var(--primary-blue);
    font-weight: 800;
    margin-bottom: 10px;
}

.section-programs .section-header p {
    font-size: 1.05rem;
    color: #666;
    max-width: 740px;
    margin: 0 auto;
}

.program-bullets li::before {
    content: '•';
    color: var(--primary-magenta);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* Responsive Apoyos */
@media (max-width: 992px) {
    .program-row, .program-row.reverse {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 80px;
    }
    .hero-apoyos h1 { font-size: 3rem; }
    .stats-floating-card { flex-wrap: wrap; gap: 30px; }
}

@media (max-width: 768px) {
    .hero-apoyos { padding: 80px 0 120px; text-align: center; }
    .hero-apoyos h1 { font-size: 2.5rem; }
    .stat-item { width: 45%; }
}


/* Header Navigation & Dropdowns */
.main-navigation ul { list-style: none; display: flex; margin: 0; padding: 0; gap: 30px; }
.main-navigation li { position: relative; }
.main-navigation a { 
    text-decoration: none; 
    color: var(--primary-blue); 
    font-weight: 700; 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    padding: 25px 0; 
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.main-navigation a i { font-size: 0.7rem; opacity: 0.7; }
.main-navigation a:hover, .main-navigation .current-menu-item > a { color: var(--primary-magenta); }

/* Dropdowns */
.main-navigation ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-radius: 0 0 15px 15px;
    display: block;
    min-width: 220px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s ease;
    z-index: 100;
    flex-direction: column;
    gap: 0;
}

.main-navigation li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation ul ul li { width: 100%; }
.main-navigation ul ul a {
    padding: 12px 25px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    border: none;
    text-transform: uppercase;
    display: block;
}

.main-navigation ul ul a:hover {
    background: #FFF5F8;
    color: var(--primary-magenta);
}

/* Salud y Nutrición Page */
.page-salud-nutricion .hero-salud {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 120px 0 180px;
    color: white;
    text-align: center;
}

.page-salud-nutricion .hero-salud .hero-content,
.page-apoyos-economicos .hero-apoyos .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-salud-nutricion .hero-salud .hero-overlay {
    background: linear-gradient(90deg, rgba(20, 58, 100, 0.88) 0%, rgba(226, 35, 145, 0.88) 100%);
}

.page-salud-nutricion .hero-salud .breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-decoration: none;
    color: white;
}

.page-salud-nutricion .hero-salud .breadcrumbs a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
}

.page-salud-nutricion .hero-salud h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin: 0 0 20px;
    line-height: 1.1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-salud-nutricion .hero-salud p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
}

.salud-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: -120px;
    position: relative;
    z-index: 10;
}

.salud-card {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.salud-card:hover {
    transform: translateY(-5px);
}

.salud-icon-wrap {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #9C27B0 0%, #E22391 100%);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.salud-icon-wrap img { border-radius: inherit; height: 100%; object-fit: cover; width: 100%; }

.salud-card h3 {
    color: var(--primary-blue);
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
}

.salud-card p {
    font-size: 1.1rem;
    color: #4c5961;
    line-height: 1.6;
    margin: 0;
}

.page-salud-nutricion .section-salud-cards {
    background: #f4f6f9;
    padding-top: 0;
    padding-bottom: 80px;
}

.salud-cta-section {
    background: linear-gradient(135deg, #E22391 0%, #145A8A 100%);
    padding: 100px 0;
    color: white;
    text-align: center;
}

.salud-cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 40px;
    color: white;
}

.btn-salud-cta {
    display: inline-block;
    background: white;
    color: var(--primary-magenta);
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 50px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-salud-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

@media (max-width: 992px) {
    .salud-grid { grid-template-columns: 1fr; margin-top: 40px; }
    .page-salud-nutricion .hero-salud h1 { font-size: 3rem; }
    .page-salud-nutricion .hero-salud { padding: 80px 0 140px; }
}

/* Infraestructura Educativa Page */
.page-infraestructura .hero-infra {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 120px 0 160px;
    color: white;
    text-align: center;
}

.page-infraestructura .hero-infra .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-infraestructura .hero-infra .hero-overlay {
    background: linear-gradient(90deg, rgba(20, 58, 100, 0.88) 0%, rgba(226, 35, 145, 0.88) 100%);
}

.page-infraestructura .hero-infra .breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: white;
}
.page-infraestructura .hero-infra .breadcrumbs a { color: white; text-decoration: none; opacity: 0.8; }

.page-infraestructura .hero-infra h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin: 0 0 20px;
    line-height: 1.1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-infraestructura .hero-infra p {
    font-size: 1.2rem;
    max-width: 580px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Sobre el programa Card */
.sobre-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-top: -60px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    display: flex;
    align-items: flex-start;
    gap: 30px;
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sobre-icon {
    width: 50px;
    height: 50px;
    background: #FFF5F8;
    color: var(--primary-magenta);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.sobre-content h3 {
    color: var(--primary-blue);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 800;
}

.sobre-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Proyectos Timeline */
.proyectos-timeline {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding-left: 145px;
}

.proyectos-timeline::before {
    content: '';
    position: absolute;
    left: 112px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-magenta);
    opacity: 0.3;
}

.proyecto-item {
    position: relative;
    margin-bottom: 32px;
}

.proyecto-year {
    position: absolute;
    left: -145px;
    top: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    width: 120px;
}

.proyecto-year span {
    font-weight: 800;
    color: var(--primary-magenta);
    font-size: 0.9rem;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background: white;
    border: 2px solid var(--primary-magenta);
    border-radius: 50%;
    z-index: 2;
}

.proyecto-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(17, 54, 84, 0.18);
}

.proyecto-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.proyecto-info {
    padding: 18px 20px;
}

.proyecto-info h4 {
    color: var(--primary-blue);
    font-size: 1rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 7px;
}

.proyecto-location {
    font-size: 0.65rem;
    color: #888;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.proyecto-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Stats Bar */
.section-stats-bar {
    background: var(--gradient-hero);
    padding: 60px 0;
    color: white;
}

.stats-bar-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-bar-item {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-lab {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .proyectos-timeline { padding-left: 50px; }
    .proyectos-timeline::before { left: 40px; }
    .proyecto-year { left: -50px; width: 50px; }
    .proyecto-year span { display: none; }
    .stats-bar-grid { flex-direction: column; gap: 40px; }
}

/* Fix overlap in Infraestructura CTA */
.page-infraestructura .section-final-cta {
    background: white !important;
    color: var(--primary-blue) !important;
}

.page-infraestructura .section-final-cta::before {
    display: none !important;
}

.page-infraestructura .section-final-cta h2 {
    color: var(--primary-blue) !important;
}

/* Apoyo Comunitario Page */
.page-apoyo-comunitario .hero-comun {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 120px 0 160px;
    color: white;
    text-align: center;
}

.page-apoyo-comunitario .hero-comun .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-apoyo-comunitario .hero-comun .hero-overlay {
    background: linear-gradient(90deg, rgba(20, 58, 100, 0.88) 0%, rgba(226, 35, 145, 0.88) 100%);
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.page-apoyo-comunitario .hero-comun .breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: white;
}
.page-apoyo-comunitario .hero-comun .breadcrumbs a { color: white; text-decoration: none; opacity: 0.8; }

.page-apoyo-comunitario .hero-comun h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin: 0 0 20px;
    line-height: 1.1;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.page-apoyo-comunitario .hero-comun p {
    font-size: 1.2rem;
    max-width: 560px;
    margin: 0 auto;
    opacity: 0.95;
    position: relative;
    z-index: 2;
}

.section-comun-cards {
    padding: 80px 0 20px; /* Reducido el espacio inferior */
    background: #fdfdfd;
}

.comun-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 0; /* Sin solape */
    position: relative;
    z-index: 10;
}

.comun-card {
    background: white;
    border-radius: 25px;
    padding: 40px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.comun-card:hover {
    transform: translateY(-10px);
}

.comun-icon-wrap {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #9C27B0 0%, #E22391 100%);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.comun-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
}

.comun-card-content h3 {
    color: var(--primary-blue);
    font-size: 1.6rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 10px;
}

.comun-card-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Impacto Comunitario Flex */
.section-impacto-comun {
    padding-top: 40px !important; /* Menos espacio arriba */
}

.impacto-flex {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-top: 0; /* Eliminado margen extra */
}

.impacto-content {
    flex: 1.2;
}

.impacto-image {
    flex: 1;
}

.impacto-image img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.impacto-content h2 {
    color: var(--primary-blue);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.1;
}

.impacto-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.8;
}

.impacto-bullets {
    list-style: none;
    padding: 0;
}

.impacto-bullets li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    color: var(--primary-magenta);
    font-weight: 600;
    font-size: 0.95rem;
}

.impacto-bullets li::before {
    content: '●';
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

@media (max-width: 992px) {
    .comun-grid { grid-template-columns: 1fr; margin-top: 40px; }
    .impacto-flex { flex-direction: column; gap: 40px; }
    .page-apoyo-comunitario .hero-comun h1 { font-size: 3rem; }
}

/* Page Eventos Custom Styles */
.page-eventos-custom .eventos-hero {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 160px 0 120px;
    color: white;
    text-align: left;
}

.page-eventos-custom .eventos-hero .hero-overlay {
    background: linear-gradient(90deg, rgba(20, 58, 100, 0.9) 0%, rgba(226, 35, 145, 0.85) 100%);
}

.page-eventos-custom .hero-tag-pill {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    display: inline-block;
}

.page-eventos-custom .eventos-hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    max-width: 800px;
}

.page-eventos-custom .eventos-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Sección Recaudo */
.section-recaudo {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 140px 0;
}

.recaudo-floating-card {
    background: white;
    border-radius: 30px;
    padding: 70px 60px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

.recaudo-icon {
    font-size: 3rem;
    color: var(--primary-magenta);
    margin-bottom: 25px;
}

.recaudo-floating-card h2 {
    color: var(--primary-blue);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.recaudo-floating-card p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

.eventos-dynamic-section {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 140px 0;
}

.evento-card {
    position: relative;
    z-index: 10;
}

.evento-card-formato-1 {
    max-width: 980px;
    margin: 0 auto;
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.22);
}

.evento-card-banner {
    position: relative;
    min-height: 300px;
    background: linear-gradient(135deg, rgba(20,90,138,0.85) 0%, rgba(230,98,178,0.72) 100%);
    overflow: hidden;
}

.evento-card-banner .evento-card-main-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    display: block;
}

.evento-card-banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 34px;
    background: linear-gradient(180deg, rgba(11, 25, 41, 0.1) 0%, rgba(11, 25, 41, 0.72) 100%);
    color: white;
}

.evento-card-banner-heading {
    display: flex;
    align-items: flex-end;
    gap: 24px;
}

.evento-logo {
    width: 84px;
    height: 84px;
    border-radius: 18px;
    object-fit: contain;
    background: rgba(255,255,255,0.92);
    padding: 10px;
    flex-shrink: 0;
}

.evento-card-banner-overlay h3,
.evento-format-2-header h3 {
    margin: 0 0 8px;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.1;
}

.evento-subtitle {
    display: inline-block;
    font-size: 1.05rem;
    color: var(--primary-magenta);
    font-weight: 700;
}

.evento-subtitle-light {
    color: rgba(255,255,255,0.92);
}

.evento-card-content {
    padding: 42px 34px 34px;
}

.evento-body-copy,
.evento-secondary-copy {
    color: #475467;
    line-height: 1.8;
    font-size: 1rem;
}

.evento-body-copy p:last-child,
.evento-secondary-copy p:last-child {
    margin-bottom: 0;
}

.evento-highlight-box {
    margin-top: 28px;
    padding: 28px 30px;
    background: #f8f5fb;
    border-radius: 20px;
}

.evento-highlight-box h4 {
    color: var(--primary-magenta);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.evento-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 28px;
}

.evento-list li {
    position: relative;
    padding-left: 18px;
    color: #667085;
}

.evento-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: -2px;
    color: var(--primary-magenta);
    font-size: 1.2rem;
}

.evento-footer-cta {
    margin-top: 24px;
    padding: 20px 24px;
    text-align: center;
    background: #f8f2fb;
    border-radius: 14px;
}

.evento-footer-cta p {
    margin: 0;
    color: var(--primary-magenta);
    font-weight: 700;
}

.evento-card-formato-2 {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
    max-width: 980px;
    margin: 0 auto;
    background: rgba(255,255,255,0.96);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 26px 72px rgba(0,0,0,0.18);
}

.evento-card-media {
    background: #d9d9d9;
    min-height: 360px;
}

.evento-card-media img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
}

.evento-card-body {
    padding: 38px;
}

.evento-format-2-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.evento-icon-chip {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(180deg, var(--primary-magenta) 0%, var(--primary-blue) 100%);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.evento-card-formato-2 .evento-format-2-header h3 {
    color: var(--primary-blue);
}

.evento-secondary-copy {
    margin-top: 18px;
}

.evento-inline-note {
    margin-top: 24px;
    padding: 18px 22px;
    background: #f4f7fb;
    border-left: 4px solid var(--primary-magenta);
    border-radius: 12px;
}

.evento-inline-note p {
    margin: 0;
    color: var(--primary-blue);
    font-weight: 700;
}

/* Sección Sabores */
.section-sabores {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 140px 0;
}

.sabores-card {
    background: white;
    border-radius: 30px;
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    box-shadow: 0 30px 80px rgba(0,0,0,0.2);
}

.sabores-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.sabores-title-fallback {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.sabores-sub {
    color: var(--primary-magenta);
    font-weight: 700;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 30px;
}

.sabores-main-desc {
    font-size: 1rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.6;
}

.sabores-edicion-box {
    background: #f9f9f9;
    border-radius: 20px;
    padding: 40px;
}

.sabores-edicion-box h4 {
    color: var(--primary-magenta);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.sabores-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    list-style: none;
    padding: 0;
    margin-top: 20px;
    gap: 10px 40px;
}

.sabores-list li {
    font-size: 0.9rem;
    color: #777;
    position: relative;
    padding-left: 20px;
}

.sabores-list li::before {
    content: '•';
    color: var(--primary-magenta);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
    top: -4px;
}

/* Sección Vino */
.section-vino {
    padding: 120px 0;
    background: #f4f7f9;
}

.vino-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.vino-flex {
    display: flex;
    align-items: stretch;
}

.vino-content {
    flex: 1.2;
    padding: 60px;
}

.vino-image {
    flex: 1;
}

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

.vino-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.vino-icon {
    width: 60px;
    height: 60px;
    background: #f0f7ff;
    color: var(--primary-blue);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.vino-header h3 {
    color: var(--primary-blue);
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
}

.vino-sub {
    color: var(--primary-magenta);
    font-weight: 600;
    font-size: 0.9rem;
}

.vino-edicion-subbox {
    margin-top: 40px;
    padding: 30px;
    background: #fcfcfc;
    border-radius: 15px;
}

.vino-edicion-subbox h5 {
    color: var(--primary-magenta);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.vino-next-box {
    margin-top: 30px;
    background: var(--primary-blue);
    color: white;
    padding: 20px 30px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Sección Arte */
.section-arte {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 140px 0;
}

.arte-card {
    background: white;
    border-radius: 30px;
    padding: 60px;
    max-width: 800px;
    margin-left: auto;
    position: relative;
    z-index: 10;
    box-shadow: 0 30px 80px rgba(0,0,0,0.2);
}

.arte-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.arte-icon {
    width: 60px;
    height: 60px;
    background: #fff0f7;
    color: var(--primary-magenta);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.arte-header h3 {
    color: var(--primary-blue);
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
}

.arte-sub {
    color: var(--primary-magenta);
    font-weight: 600;
    font-size: 0.9rem;
}

.arte-edicion-subbox {
    margin-top: 40px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 15px;
}

.arte-quote-box {
    margin-top: 30px;
    border-left: 4px solid var(--primary-magenta);
    padding: 10px 30px;
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

/* Eventos Final CTA */
.eventos-final-cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-magenta) 100%);
    padding: 120px 0;
    text-align: center;
    color: white;
}

.cta-icon {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.eventos-final-cta h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.eventos-final-cta p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

@media (max-width: 992px) {
    .evento-card-formato-2,
    .evento-list {
        grid-template-columns: 1fr;
    }
    .evento-card-banner-overlay {
        align-items: flex-start;
        justify-content: flex-end;
    }
    .evento-card-banner-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .evento-card-formato-2 .evento-card-body,
    .evento-card-content {
        padding: 30px 24px;
    }
    .evento-card-media,
    .evento-card-media img,
    .evento-card-banner,
    .evento-card-banner .evento-card-main-image {
        min-height: 260px;
    }
    .vino-flex { flex-direction: column; }
    .vino-image { height: 300px; }
    .sabores-list { grid-template-columns: 1fr; }
    .page-eventos-custom .eventos-hero h1 { font-size: 3rem; }
    .recaudo-floating-card h2, .eventos-final-cta h2 { font-size: 2.5rem; }
}

/* Page Cómo Ayudar Custom Styles */
.page-ayudar-custom .ayudar-hero {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 140px 0 180px;
    color: white;
}

.page-ayudar-custom .hero-icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
}

.page-ayudar-custom .ayudar-hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.page-ayudar-custom .ayudar-hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Donación Económica Floating Card */
.donacion-floating-card {
    background: white;
    border-radius: 30px;
    padding: 70px;
    margin-top: -120px;
    position: relative;
    z-index: 10;
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
    text-align: center;
}

.donacion-floating-card .badge-tag {
    background: var(--primary-magenta);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 25px;
}

.donacion-floating-card h2 {
    color: var(--primary-blue);
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.subtitle-deducible {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.subtitle-deducible .highlight {
    color: var(--primary-magenta);
    font-weight: 700;
}

.donacion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: left;
}

.donacion-col {
    padding: 40px;
    border-radius: 25px;
}

.donacion-col.recaudia { background: #fdf2f8; }
.donacion-col.transferencia { background: #f0f7ff; }

.col-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.col-header i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.col-header h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.donacion-col p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
}

/* Recaudia Box */
.recaudia-promo-img {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 25px;
    height: auto;
    aspect-ratio: 343 / 150;
}

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

.promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 2.7rem;
    letter-spacing: 5px;
    text-shadow: 0 3px 12px rgba(0,0,0,0.38);
}

.btn-ayudar-blue {
    display: block;
    background: var(--primary-blue);
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

/* Transferencia Box */
.banco-info-list {
    margin-bottom: 25px;
}

.banco-item {
    margin-bottom: 15px;
}

.banco-item label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.copy-box {
    background: white;
    padding: 12px 15px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #eee;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.copy-box i {
    color: #ccc;
    cursor: pointer;
}

.banco-footer-note {
    background: #fff9db;
    padding: 15px;
    border-radius: 10px;
    font-size: 0.85rem;
}

.banco-footer-note p { margin: 0; }

/* Otras formas */
.formas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.forma-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.forma-card:hover { transform: translateY(-5px); }

.forma-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-magenta), var(--primary-blue));
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.forma-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.forma-card p {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.5;
}

/* Deducibles Section */
.section-deducibles {
    background-image: url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 0;
    color: white;
}

.deducible-card {
    background: white;
    border-radius: 25px;
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    color: var(--text-color);
}

.deducible-flex {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.deducible-icon-wrap {
    width: 80px;
    height: 80px;
    background: #fdf2f8;
    color: var(--primary-magenta);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.deducible-content h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    font-weight: 800;
    margin-top: 0;
}

.deducible-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.deducible-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.deducible-list li::before {
    content: '●';
    color: var(--primary-magenta);
    position: absolute;
    left: 0;
}

/* Formulario */
.section-contacto-ayudar {
    background: #fdfdfd;
}

.form-container {
    background: white;
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
}

.ayudar-form .form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    background: #f9f9f9;
    font-family: inherit;
}

.form-group textarea { height: 120px; }

.btn-submit-ayudar {
    width: 100%;
    padding: 18px;
    background: linear-gradient(90deg, var(--primary-magenta), var(--primary-blue));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    font-size: 1rem;
    transition: opacity 0.2s;
}
.btn-submit-ayudar:disabled { opacity: 0.6; cursor: not-allowed; }

.form-feedback {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: none;
}
.form-feedback.success { display: block; background: #e8f5e9; color: #2e7d32; }
.form-feedback.error   { display: block; background: #fce4ec; color: #c62828; }

.form-note {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #999;
    text-align: center;
}

/* Contacto Directo */
.section-directo {
    position: relative;
    padding: 100px 0;
    color: white;
}

.section-directo .directo-overlay {
    background: linear-gradient(90deg,
        #0065A1 0%,
        #3064A0 7%,
        #47639F 14%,
        #59629E 21%,
        #68609E 29%,
        #775E9D 36%,
        #845B9C 43%,
        #91589B 50%,
        #9D549A 57%,
        #A95099 64%,
        #B54A98 71%,
        #C14597 79%,
        #CF3C96 86%,
        #D92F94 93%,
        #E31D93 100%
    );
}

.directo-content { position: relative; z-index: 10; }

.directo-content h2 { font-size: 2.8rem; font-weight: 800; margin-bottom: 10px; }

.directo-flex {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.directo-item {
    background: white;
    padding: 20px 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-color);
    text-align: left;
    min-width: 300px;
}

.d-icon {
    width: 45px;
    height: 45px;
    background: #fdf2f8;
    color: var(--primary-magenta);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.directo-item strong { display: block; color: var(--primary-blue); font-size: 0.8rem; }

/* Gracias */
.gracias-icon { font-size: 3.5rem; color: var(--primary-magenta); margin-bottom: 25px; }
.section-gracias h2 { color: var(--primary-blue); font-size: 3rem; font-weight: 800; margin-bottom: 20px; }
.section-gracias p { font-size: 1.2rem; color: #666; max-width: 800px; margin: 0 auto; }

@media (max-width: 992px) {
    .donacion-grid, .formas-grid, .directo-flex { grid-template-columns: 1fr; }
    .ayudar-form .form-row { flex-direction: column; gap: 0; }
    .donacion-floating-card, .deducible-card, .form-container { padding: 40px; }
    .deducible-flex { flex-direction: column; gap: 20px; }
    .page-ayudar-custom .ayudar-hero h1 { font-size: 3rem; }
    .donacion-floating-card h2 { font-size: 2.2rem; }
}

/* Page Informes Anuales */
.page-informe-custom .informe-hero {
    background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 160px 0 120px;
    color: white;
    text-align: left;
}
.page-informe-custom .informe-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(20, 58, 100, 0.88) 0%, rgba(226, 35, 145, 0.88) 100%);
}
.page-informe-custom .informe-hero .container {
    position: relative;
    z-index: 2;
}
.page-informe-custom .hero-tag-pill {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.page-informe-custom .informe-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    max-width: 600px;
}
.page-informe-custom .informe-hero p {
    font-size: 1.1rem;
    max-width: 600px;
    opacity: 0.9;
    line-height: 1.6;
}

.informe-intro {
    background: #FAFAFA;
    padding: 80px 0;
    text-align: center;
}
.informe-intro p {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.informe-grid-section {
    background: #FAFAFA;
    padding: 0 0 80px;
}
.informe-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 60px;
}
.informe-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}
.informe-card-header {
    padding: 25px 30px;
    color: white;
    position: relative;
}
.informe-card-header.magenta {
    background: linear-gradient(135deg, #E22391, #145A8A);
}
.informe-card-header.blue {
    background: linear-gradient(135deg, #145A8A, #E22391);
}
.informe-card-header .card-subtitle {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 5px;
}
.informe-card-header .card-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 5px;
    line-height: 1;
}
.informe-card-header .card-type {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.8;
}
.informe-card-header .icon-doc {
    position: absolute;
    right: 30px;
    top: 30px;
    font-size: 1.5rem;
    background: rgba(255,255,255,0.2);
    padding: 10px;
    border-radius: 50%;
}
.informe-card-body {
    padding: 0;
    background: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.informe-card-body a {
    display: block;
    position: relative;
}
.informe-card-body img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.informe-grid-empty { align-items: center; color: #647087; justify-content: center; min-height: 180px; }
.informe-card-art { min-height: 270px; overflow: hidden; }
.informe-card-art::before { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 50%; content: ''; height: 310px; position: absolute; right: -115px; top: -150px; width: 310px; }
.informe-card-art--anual { background: linear-gradient(135deg, #075b91 0%, #273f7d 55%, #b32789 100%); }
.informe-card-art--actividades { background: linear-gradient(135deg, #e22391 0%, #883d95 56%, #284e89 100%); }
.informe-card-art--resultados { background: linear-gradient(135deg, #126f9f 0%, #1c4d89 52%, #573d86 100%); }
.informe-card-art a { align-items: flex-start; box-sizing: border-box; color: white; display: flex; flex-direction: column; justify-content: center; min-height: 270px; overflow: hidden; padding: 32px; text-decoration: none; }
.informe-art-overline { border: 1px solid rgba(255,255,255,.48); border-radius: 999px; font-size: .65rem; font-weight: 700; letter-spacing: .08em; padding: 6px 10px; position: relative; text-transform: uppercase; }
.informe-art-year { font-size: clamp(3.6rem, 9vw, 5.4rem); font-weight: 800; letter-spacing: -.06em; line-height: .95; margin: 16px 0 10px; position: relative; text-shadow: 0 8px 20px rgba(0,0,0,.16); }
.informe-art-type { font-size: .82rem; font-weight: 700; letter-spacing: .04em; position: relative; text-transform: uppercase; }
.informe-card-art .visor-pdf-pill { background: white; bottom: 26px; left: 32px; transform: none; }
.informe-card-body .visor-pdf-pill {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    z-index: 10;
}

.informe-row-full {
    background-image: url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 20px;
    margin: 0 auto 60px;
    max-width: 1200px;
    border-radius: 0;
    display: flex;
    justify-content: center;
}

.evento-icon-chip-light {
    background: white;
    color: var(--primary-magenta);
    box-shadow: 0 4px 14px rgba(0,0,0,0.16);
    flex-shrink: 0;
}

.evento-icon-chip img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
}
.informe-row-full::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0, 85, 150, 0.85) 0%, rgba(226, 35, 145, 0.85) 100%);
}
.informe-row-full .informe-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 450px;
}

.acreditacion-section {
    background: var(--gradient-hero);
    padding: 72px 0;
}
.acreditacion-card {
    background: white;
    border-radius: 30px;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    overflow: hidden;
    max-width: 1020px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.acreditacion-image {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 590px;
    padding: 34px;
    text-align: center;
}
.acreditacion-image img {
    border: 0;
    box-shadow: none;
    height: auto;
    max-height: 570px;
    max-width: 100%;
    object-fit: contain;
}
.acreditacion-content {
    align-self: center;
    padding: 62px 58px 58px;
}
.acreditacion-content h2 {
    color: var(--primary-blue);
    font-size: clamp(1.55rem, 2.2vw, 1.95rem);
    font-weight: 800;
    line-height: 1.18;
    margin: 0 0 28px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.acreditacion-content h2 em {
    color: var(--primary-magenta);
    font-size: .75em;
    font-style: normal;
}
.acreditacion-content h2 .icon-badge {
    background: var(--gradient-hero);
    color: white;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.2rem;
}
.acreditacion-content p {
    color: #3d4a63;
    font-size: .9rem;
    line-height: 1.7;
    margin: 0 0 20px;
}
.acreditacion-content .acreditacion-text-blue { color: var(--primary-blue); }
.acreditacion-content .acreditacion-text-pink { color: var(--primary-magenta); }
.acreditacion-vigencia {
    background: linear-gradient(105deg, #f1f4fd, #fff4fa);
    border-radius: 16px;
    color: #46536a;
    display: flex;
    flex-direction: column;
    font-size: .93rem;
    gap: 7px;
    line-height: 1.55;
    margin-top: 26px;
    padding: 22px;
}
.acreditacion-vigencia strong {
    color: var(--primary-blue);
    font-size: 1rem;
}
.acreditacion-vigencia span strong {
    color: var(--primary-magenta);
}

.informe-cta {
    background: linear-gradient(180deg, #E22391 0%, #145A8A 100%);
    padding: 50px 0 100px;
    color: white;
    text-align: center;
}
.informe-cta h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}
.informe-cta p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .informe-row-2 { grid-template-columns: 1fr; padding: 0 20px; }
    .acreditacion-section { padding: 60px 0 68px; }
    .acreditacion-section .container { max-width: none; padding: 0; width: 100%; }
    .acreditacion-card { border-radius: 0 28px 28px 0; display: flex; flex-direction: column; margin: 0; max-width: 480px; text-align: left; width: calc(100% - 48px); }
    .acreditacion-image { min-height: 0; padding: 28px; }
    .acreditacion-image img { max-height: none; }
    .acreditacion-content { padding: 58px 36px 66px; }
    .acreditacion-content h2 { font-size: 1.75rem; justify-content: flex-start; text-align: left; }
    .acreditacion-content p { font-size: .87rem; }
    .page-informe-custom .informe-hero h1 { font-size: 3rem; }
}

/* Generic Inner Hero para páginas sin plantilla personalizada (ej. Noticias o 404) */
.inner-hero {
    background: var(--gradient-hero);
    color: white;
    text-align: center;
    padding: 120px 0 80px;
}
.inner-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0;
    color: white;
}
.inner-hero .hero-tag {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* ==========================================================================
   Page Noticias (Blog Home)
   ========================================================================== */
.noticias-hero {
    background-image: url('https://images.unsplash.com/photo-1593113563332-61e389e17b8f?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 160px 0 200px; /* Extra padding at bottom for overlapping card */
    color: white;
    text-align: left;
}
.noticias-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(226, 35, 145, 0.9) 0%, rgba(0, 85, 150, 0.8) 100%);
}
.noticias-hero .container {
    position: relative;
    z-index: 2;
}
.noticias-hero .hero-tag-pill {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.noticias-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}
.noticias-hero p {
    font-size: 1.1rem;
    max-width: 700px;
    opacity: 0.9;
    line-height: 1.6;
}

/* Featured Card */
.noticias-featured-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -120px;
    margin-bottom: 60px;
}
.noticias-featured-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    display: flex;
    min-height: 400px;
}
.featured-img-col {
    flex: 1;
    position: relative;
}
.featured-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pill-destacado {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    color: #E22391;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.featured-content-col {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.pill-categoria {
    display: inline-block;
    background: #FFF0F6;
    color: #E22391;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    align-self: flex-start;
    margin-bottom: 15px;
    border: 1px solid #f8cce1;
}
.post-date {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 15px;
    display: block;
}
.featured-content-col h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.2;
}
.featured-content-col p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}
.btn-magenta {
    background: #E22391;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    align-self: flex-start;
    transition: 0.3s ease;
}
.btn-magenta:hover {
    background: #c21a7a;
    color: white;
}

/* Filters & Search */
.noticias-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}
.filter-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.filter-pill {
    background: #f5f5f5;
    color: #555;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}
.filter-pill:hover, .filter-pill.active {
    background: #E22391;
    color: white;
}
.search-bar form {
    position: relative;
    width: 250px;
}
.search-bar input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 0.9rem;
    outline: none;
}
.search-bar i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

/* Grid */
.noticias-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}
.noticia-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: 0.3s ease;
}
.noticia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.noticia-card-img {
    height: 200px;
    position: relative;
}
.noticia-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pill-categoria-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: white;
    color: #E22391;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.noticia-card-body {
    padding: 25px;
}
.noticia-card-body h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #222;
    line-height: 1.3;
}
.noticia-card-body p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}
.read-more {
    color: #E22391;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}
.read-more:hover {
    color: #145A8A;
}
.noticias-load-more {
    margin-bottom: 80px;
}
.btn-outline-blue {
    border: 2px solid #145A8A;
    color: #145A8A;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}
.btn-outline-blue:hover {
    background: #145A8A;
    color: white;
}

/* CTA */
.noticias-cta {
    background: var(--gradient-hero);
    padding: 100px 0;
    color: white;
}
.noticias-cta .heart-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}
.noticias-cta h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}
.noticias-cta p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}
.btn-white-magenta {
    background: white;
    color: #E22391;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .noticias-featured-card { flex-direction: column; }
    .noticias-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .noticias-grid { grid-template-columns: 1fr; }
    .noticias-hero h1 { font-size: 3rem; }
}

/* ============================================================
   NOTICIAS — Listado (archive.php) y Single (single.php)
   ============================================================ */

/* Hero noticias */
.noticias-hero { position: relative; min-height: 420px; display: flex; align-items: center; background: var(--gradient-hero); color: white; overflow: hidden; }
.noticias-hero::before { display: none; }
.noticias-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(226,35,145,0.58) 0%, rgba(20,58,100,0.58) 100%); }
.noticias-hero .container { position: relative; z-index: 2; }
.noticias-hero h1 { font-size: 4rem; font-weight: 800; margin: 15px 0 10px; }
.noticias-hero p { font-size: 1.1rem; opacity: 0.9; max-width: 580px; line-height: 1.6; }

/* Noticia destacada */
.noticia-destacada-wrap { padding: 50px 0 30px; background: white; }
.noticia-destacada-card { display: grid; grid-template-columns: 380px 1fr; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,0.1); background: white; }
.nd-img-wrap { position: relative; display: block; height: 280px; overflow: hidden; }
.nd-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.noticia-img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #145A8A 0%, #E22391 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); gap: 10px; }
.noticia-img-placeholder i { font-size: 2.5rem; }
.noticia-img-placeholder span { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.nd-badge-destacado { position: absolute; top: 12px; left: 12px; background: var(--primary-magenta); color: white; font-size: 0.7rem; font-weight: 700; padding: 4px 12px; border-radius: 50px; z-index: 2; }
.nd-body { padding: 35px 40px; display: flex; flex-direction: column; justify-content: center; }
.nd-cat { font-size: 0.78rem; font-weight: 700; color: var(--primary-magenta); text-transform: uppercase; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.nd-body .noticia-fecha { margin-bottom: 12px; }
.nd-body h2 { font-size: 1.5rem; font-weight: 800; color: var(--primary-blue); margin: 0 0 12px; line-height: 1.3; }
.nd-body h2 a { text-decoration: none; color: inherit; }
.nd-body p { font-size: 0.95rem; color: #666; line-height: 1.65; flex: 1; margin-bottom: 20px; }
.nd-btn { font-size: 0.9rem; padding: 12px 28px; align-self: flex-start; }

/* Filtros + Buscador */
.noticias-filtros { background: white; border-bottom: 1px solid #eee; padding: 18px 0; }
.noticias-filtros-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.filtros-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.filtro-btn { padding: 7px 18px; border-radius: 50px; font-size: 0.82rem; font-weight: 600; text-decoration: none; color: #555; border: 1.5px solid #ddd; transition: 0.2s; background: white; }
.filtro-btn:hover, .filtro-btn.active { background: var(--primary-magenta); color: white; border-color: var(--primary-magenta); }
.noticias-search-form { position: relative; display: flex; align-items: center; }
.noticias-search-form i { position: absolute; left: 12px; color: #aaa; font-size: 0.85rem; pointer-events: none; }
.noticias-search-form input[type="search"] { padding: 8px 16px 8px 34px; border: 1.5px solid #ddd; border-radius: 50px; font-size: 0.85rem; width: 200px; outline: none; font-family: inherit; color: #444; }
.noticias-search-form input[type="search"]::placeholder { color: #aaa; }
.noticias-search-form input[type="search"]:focus { border-color: var(--primary-magenta); }

/* Grid de noticias */
.noticias-grid-section { padding: 40px 0 60px; }
.noticias-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* Card normal */
.noticia-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.07); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; }
.noticia-card:hover { transform: translateY(-5px); box-shadow: 0 10px 35px rgba(0,0,0,0.12); }

.noticia-img-wrap { position: relative; display: block; height: 220px; overflow: hidden; flex-shrink: 0; }
.noticia-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.noticia-card:hover .noticia-img-wrap img { transform: scale(1.05); }
.noticia-img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #145A8A 0%, #E22391 100%); }

.noticia-cat-badge { position: absolute; top: 14px; left: 14px; background: var(--primary-magenta); color: white; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 4px 12px; border-radius: 50px; letter-spacing: 0.5px; }

.noticia-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.noticia-fecha { font-size: 0.78rem; color: #999; margin-bottom: 8px; display: block; }
.noticia-fecha i { margin-right: 5px; }
.noticia-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary-blue); margin: 0 0 10px; line-height: 1.4; }
.noticia-body h3 a { text-decoration: none; color: inherit; }
.noticia-body p { font-size: 0.92rem; color: #666; line-height: 1.6; flex: 1; }
.noticia-leer-mas { color: var(--primary-magenta); font-weight: 700; font-size: 0.85rem; text-decoration: none; margin-top: 14px; display: inline-block; }
.noticia-leer-mas:hover { text-decoration: underline; }

/* Paginación */
.noticias-paginacion { margin-top: 50px; text-align: center; }
.noticias-paginacion .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.noticias-paginacion .page-numbers { padding: 8px 16px; border-radius: 8px; color: var(--primary-blue); text-decoration: none; font-weight: 600; border: 2px solid #e0e0e0; }
.noticias-paginacion .page-numbers.current { background: var(--primary-magenta); color: white; border-color: var(--primary-magenta); }

/* Sin noticias */
.noticias-empty { text-align: center; padding: 80px 20px; color: #aaa; }
.noticias-empty i { font-size: 4rem; margin-bottom: 20px; display: block; }
.noticias-empty h3 { font-size: 1.5rem; color: #888; }

/* CTA noticias */
.noticias-cta { background: var(--gradient-hero); color: white; padding: 80px 20px; text-align: center; }
.noticias-cta i { font-size: 2.5rem; margin-bottom: 20px; display: block; }
.noticias-cta h2 { font-size: 2.5rem; font-weight: 800; margin: 0 0 15px; }
.noticias-cta p { max-width: 550px; margin: 0 auto 30px; font-size: 1.05rem; opacity: 0.9; }

/* ============================================================
   SINGLE NOTICIA
   ============================================================ */

.single-hero { position: relative; min-height: 480px; display: flex; align-items: flex-end; padding-bottom: 60px; background-size: cover; background-position: center; color: white; }
.single-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20,90,138,0.4) 0%, rgba(10,30,60,0.85) 100%); }
.single-hero .container { position: relative; z-index: 2; max-width: 860px; }
.single-hero-meta { display: flex; align-items: center; gap: 15px; margin-bottom: 18px; flex-wrap: wrap; }
.single-cat-badge { background: var(--primary-magenta); color: white; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; padding: 5px 14px; border-radius: 50px; text-decoration: none; letter-spacing: 0.5px; }
.single-fecha { font-size: 0.85rem; opacity: 0.85; }
.single-fecha i { margin-right: 5px; }
.single-hero h1 { font-size: 2.8rem; font-weight: 800; line-height: 1.2; margin: 0; }

/* Contenido del artículo */
.single-contenido { padding: 60px 0 40px; }
.single-body { max-width: 780px; margin: 0 auto; font-size: 1.08rem; line-height: 1.85; color: #444; }
.single-body p { margin-bottom: 1.4em; }
.single-body img { max-width: 100%; border-radius: 12px; margin: 20px 0; box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.single-body .wp-block-video { max-width: 100%; margin: 0 auto 30px; }
.single-body .wp-block-video video { display: block; width: 100%; max-width: 100%; height: auto; margin: 0 auto; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.single-body blockquote { border-left: 4px solid var(--primary-magenta); margin: 30px 0; padding: 20px 30px; background: #fff5f8; border-radius: 0 12px 12px 0; font-style: italic; color: #555; font-size: 1.1rem; }
.single-body blockquote cite { display: block; margin-top: 12px; font-size: 0.85rem; color: var(--primary-magenta); font-weight: 700; font-style: normal; }
.single-body figcaption { text-align: center; font-size: 0.8rem; color: #999; margin-top: -10px; margin-bottom: 20px; }

/* Tags */
.single-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 30px; }
.single-tag { background: #f0f4f8; color: var(--primary-blue); padding: 6px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; text-decoration: none; transition: 0.2s; }
.single-tag:hover { background: var(--primary-magenta); color: white; }

/* Share */
.single-share { display: flex; align-items: center; gap: 12px; padding: 25px 0; border-top: 1px solid #eee; margin-top: 10px; }
.single-share span { font-weight: 700; color: #555; font-size: 0.9rem; }
.share-btn { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; font-size: 0.95rem; transition: transform 0.2s; }
.share-btn:hover { transform: scale(1.15); }
.share-fb { background: #1877F2; }
.share-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.share-wa { background: #25D366; }

/* Otras noticias */
.otras-noticias { background: #f9f9f9; }
.otras-titulo { font-size: 1.4rem; font-weight: 800; color: var(--primary-blue); display: flex; align-items: center; gap: 15px; margin-bottom: 35px; }
.otras-linea { display: inline-block; width: 40px; height: 3px; background: var(--primary-magenta); border-radius: 2px; }
.otras-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.btn-ver-todas { display: inline-block; padding: 12px 30px; border: 2px solid var(--primary-magenta); color: var(--primary-magenta); border-radius: 10px; font-weight: 700; text-decoration: none; transition: 0.2s; }
.btn-ver-todas:hover { background: var(--primary-magenta); color: white; }

/* Cargar más */
.noticias-cargar-mas { text-align: center; margin-top: 50px; }
.btn-cargar-mas { display: inline-block; padding: 13px 35px; border: 2px solid var(--primary-blue); color: var(--primary-blue); border-radius: 50px; font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: 0.2s; }
.btn-cargar-mas:hover { background: var(--primary-blue); color: white; }

/* CTA outline (noticias) */
.btn-white-outline { display: inline-block; padding: 14px 40px; border: 2px solid white; color: white; border-radius: 50px; font-weight: 700; font-size: 1rem; text-decoration: none; transition: 0.2s; }
.btn-white-outline:hover { background: white; color: var(--primary-magenta); }

/* Responsive noticias */
@media (max-width: 1024px) {
    .noticias-grid { grid-template-columns: repeat(2, 1fr); }
    .noticia-destacada-card { grid-template-columns: 1fr; }
    .nd-img-wrap { height: 240px; }
    .otras-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .noticias-grid { grid-template-columns: 1fr; }
    .noticias-hero h1 { font-size: 2.6rem; }
    .noticias-filtros-inner { flex-direction: column; align-items: flex-start; }
    .noticias-search-form input[type="search"] { width: 100%; }
    .single-hero h1 { font-size: 2rem; }
    .single-hero { min-height: 360px; padding-bottom: 40px; }
    .otras-grid { grid-template-columns: 1fr; }
    .nd-body { padding: 25px; }
}

/* Voluntariado / Servicio Social con QR */
.section-otras-formas { padding-bottom: 0; }
.section-otras-formas > .container { width: 100%; max-width: none; padding-left: 0; padding-right: 0; }
.section-otras-formas .section-header { padding: 0 20px 34px; }
.formas-qr-grid { display: flex; flex-direction: column; gap: 0; margin-top: 0; }
.forma-qr-panel { position: relative; min-height: 390px; padding: 72px 24px; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; isolation: isolate; }
.forma-qr-panel::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(226,35,145,0.78), rgba(20,90,138,0.78)); z-index: -1; }
.forma-qr-panel--ss::before { background: linear-gradient(135deg, rgba(20,90,138,0.9), rgba(226,35,145,0.86)); }
.forma-qr-card { width: min(100%, 760px); display: grid; grid-template-columns: 1fr 260px; gap: 0; background: white; border-radius: 18px; box-shadow: 0 14px 36px rgba(0,0,0,0.18); overflow: hidden; }
.forma-qr-panel--ss .forma-qr-card { grid-template-columns: 260px 1fr; }
.forma-qr-content { padding: 34px; display: flex; gap: 18px; align-items: flex-start; }
.forma-qr-icon-wrap { width: 48px; height: 48px; background: var(--gradient-hero); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; flex-shrink: 0; }
.forma-qr-content h3 { font-size: 1.3rem; font-weight: 800; color: var(--primary-blue); margin: 0 0 10px; }
.forma-qr-content p { font-size: 0.95rem; color: #666; line-height: 1.6; margin: 0 0 15px; }
.forma-qr-content .forma-qr-subtitle { color: var(--primary-magenta); font-weight: 700; margin-top: -4px; }
.forma-qr-content p strong { color: var(--primary-magenta); }
.forma-qr-info { display: flex; align-items: flex-start; gap: 10px; padding: 16px; border-radius: 14px; background: linear-gradient(135deg, #f0f5fc, #fff2f8); color: var(--primary-blue); }
.forma-qr-info > i { margin-top: 3px; color: var(--primary-magenta); }
.forma-qr-info strong, .forma-qr-info span { display: block; }
.forma-qr-info strong { font-size: 0.95rem; margin-bottom: 6px; }
.forma-qr-info span { color: #4c5961; font-size: 0.85rem; line-height: 1.45; }
.forma-qr-link { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-magenta); font-weight: 700; font-size: 0.85rem; text-decoration: none; }
.forma-qr-link:hover { text-decoration: underline; }
.forma-qr-img-wrap { background: #f8f8f8; display: flex; align-items: center; justify-content: center; padding: 20px; }
.forma-qr-img-wrap img { width: 100%; max-width: 200px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.forma-qr-placeholder { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #bbb; text-align: center; }
.forma-qr-placeholder i { font-size: 4rem; }
.forma-qr-placeholder span { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; max-width: 140px; }

/* Tarjeta contenida de Voluntariado */
.forma-qr-panel--vol { min-height: 650px; padding: 48px 0; }
.forma-qr-panel--vol::before { display: block; }
.forma-qr-panel--vol .forma-qr-card { width: calc(100% - 108px); max-width: 1010px; min-height: 550px; grid-template-columns: 1fr 1fr; border-radius: 30px; box-shadow: 0 18px 44px rgba(0,0,0,0.2); }
.forma-qr-panel--vol .forma-qr-content { padding: 72px 58px; align-self: center; display: block; }
.forma-qr-panel--vol .forma-qr-heading { display: flex; align-items: flex-start; gap: 22px; margin-bottom: 28px; }
.forma-qr-panel--vol .forma-qr-copy { width: 100%; }
.forma-qr-panel--vol .forma-qr-icon-wrap { width: 74px; height: 74px; border-radius: 16px; font-size: 1.65rem; }
.forma-qr-panel--vol .forma-qr-content h3 { font-size: clamp(2.4rem, 4vw, 3rem); line-height: 1.05; margin: 0; }
.forma-qr-panel--vol .forma-qr-content p { font-size: 1.1rem; color: #344158; }
.forma-qr-panel--vol .forma-qr-content .forma-qr-subtitle { color: var(--primary-magenta); font-weight: 700; }
.forma-qr-panel--vol .forma-qr-content .forma-qr-subtitle { font-size: 1.15rem; line-height: 1.25; margin: 8px 0 28px; }
.forma-qr-panel--vol .forma-qr-img-wrap { background: #f1f3f6; padding: 56px; }
.forma-qr-panel--vol .forma-qr-img-wrap img { max-width: 360px; background: white; padding: 18px; border-radius: 22px; box-shadow: 0 14px 26px rgba(0,0,0,0.18); }

/* Tarjeta de Servicio Social */
.forma-qr-panel--ss { min-height: 860px; padding: 0; background: white !important; background-image: none !important; }
.forma-qr-panel--ss::before { display: none; }
.forma-qr-panel--ss .forma-qr-card { width: calc(100% - 48px); max-width: 920px; min-height: 520px; grid-template-columns: 1fr 1fr; border-radius: 30px; box-shadow: 0 18px 44px rgba(0,0,0,0.18); }
.forma-qr-panel--ss .forma-qr-img-wrap { padding: 36px; background: linear-gradient(135deg, var(--primary-blue), var(--primary-magenta)); }
.forma-qr-panel--ss .forma-qr-img-wrap img { max-width: 360px; padding: 18px; background: white; border-radius: 22px; box-shadow: 0 14px 26px rgba(0,0,0,0.22); }
.forma-qr-panel--ss .forma-qr-content { padding: 48px 52px; display: block; align-self: center; }
.forma-qr-panel--ss .forma-qr-heading { display: flex; align-items: flex-start; gap: 22px; margin-bottom: 28px; }
.forma-qr-panel--ss .forma-qr-icon-wrap { width: 74px; height: 74px; border-radius: 16px; font-size: 1.65rem; }
.forma-qr-panel--ss .forma-qr-content h3 { font-size: clamp(2.1rem, 3.6vw, 2.7rem); line-height: 1.05; margin: 0; max-width: 250px; }
.forma-qr-panel--ss .forma-qr-content .forma-qr-subtitle { color: var(--primary-magenta); font-weight: 700; font-size: 1.15rem; margin: 10px 0 0; }
.forma-qr-panel--ss .forma-qr-copy { width: 100%; }
.forma-qr-panel--ss .forma-qr-copy > p { font-size: 1.05rem; color: #344158; margin-bottom: 20px; }
.forma-qr-panel--ss .forma-qr-copy > p strong { color: var(--primary-blue); }
.forma-qr-panel--ss .forma-qr-info { margin-top: 24px; }

@media (max-width: 768px) {
    .forma-qr-panel { min-height: auto; padding: 50px 20px; }
    .forma-qr-card { grid-template-columns: 1fr; }
    .forma-qr-panel--ss .forma-qr-card { grid-template-columns: 1fr; }
    .forma-qr-panel--ss { min-height: auto; padding: 30px 20px; }
    .forma-qr-panel--ss .forma-qr-card { min-height: 0; width: 100%; }
    .forma-qr-panel--ss .forma-qr-img-wrap { padding: 36px 28px; }
    .forma-qr-panel--ss .forma-qr-content { padding: 48px 28px; }
    .forma-qr-panel--vol { min-height: auto; padding: 30px 20px; }
    .forma-qr-panel--vol .forma-qr-card { width: 100%; min-height: 0; grid-template-columns: 1fr; }
    .forma-qr-panel--vol .forma-qr-content { padding: 48px 28px; }
    .forma-qr-panel--vol .forma-qr-img-wrap { padding: 36px 28px; }
    .forma-qr-panel--ss .forma-qr-img-wrap { order: 2; }
    .forma-qr-img-wrap { padding: 30px; border-top: 1px solid #eee; }
}

/* ============================================================
   INFORMES — CPT cards (page-informes.php)
   ============================================================ */
.informe-grid-section { max-width: none; margin: 0; padding: 0 0 60px; display: flex; flex-direction: column; gap: 30px; }
.informe-type-section { padding-top: 20px; }
.informe-type-section > h2 { color: var(--primary-blue); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; margin: 0 auto 8px; max-width: 900px; text-align: center; }
.informe-type-section > h2::after { background: var(--primary-magenta); border-radius: 999px; content: ''; display: block; height: 4px; margin: 12px auto 0; width: 58px; }
.informe-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 900px; width: calc(100% - 40px); margin: 0 auto 30px; }
.informe-row-single { grid-template-columns: minmax(0, 435px); justify-content: center; }
.informe-row-full { display: flex; justify-content: center; width: 100%; max-width: none; box-sizing: border-box; margin: 0; }
.informe-row-full .informe-card { max-width: 480px; width: 100%; }

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