:root {
    --primary-blue: #0b2545;
    --accent-gold: #aa7c33;
    --bg-light: #f5f5f3;
    --white: #ffffff;
    --font-serif: 'Marcellus', serif;
    --font-sans: 'Montserrat', sans-serif;
}

.aportes-page .centered-heading {
    text-align: center;
    margin-bottom: 0;
}

.aportes-page .centered-heading h2::after {
    margin-left: auto;
    margin-right: auto;
}

.aportes-page .centered-heading p {
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
}

.aportes-hero {
    background:
        linear-gradient(135deg, rgba(11, 37, 69, 0.78), rgba(7, 26, 51, 0.72)),
        var(--aportes-hero-image, url('https://images.unsplash.com/photo-1469571486292-0ba58a3f068b?auto=format&fit=crop&w=1600&q=80')) no-repeat center center / cover;
    padding: 135px 8% 105px;
    color: var(--white);
}

.aportes-hero-container {
    max-width: 850px;
}

.aportes-hero h1 {
    font-family: var(--font-serif);
    font-size: 52px;
    line-height: 1.12;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 24px;
}

.aportes-hero h1::after {
    content: '';
    display: block;
    width: 160px;
    height: 2px;
    background-color: var(--accent-gold);
    margin-top: 24px;
}

.aportes-hero p {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
    max-width: 760px;
}

.aportes-intro-section {
    padding: 70px 0 20px;
    background: var(--white);
}

.aportes-browse {
    padding-top: 40px;
    padding-bottom: 90px;
}

.aportes-back-link {
    margin-top: 28px;
    font-size: 13px;
}

.aportes-back-link a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.aportes-back-link a:hover {
    color: var(--accent-gold);
}

.aportes-list {
    display: grid;
    gap: 22px;
}

.aporte-list-card {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 0;
    background: var(--white);
    border: 1px solid rgba(11, 37, 69, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.aporte-list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.aporte-list-side {
    background: linear-gradient(160deg, #0b2545 0%, #071a33 100%);
    color: var(--white);
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.aporte-list-tipo {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    background: rgba(170, 124, 51, 0.22);
    color: #f3e2c0;
    padding: 7px 12px;
    border-radius: 999px;
}

.aporte-list-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.12);
    padding: 5px 10px;
    border-radius: 999px;
}

.aporte-list-body {
    padding: 28px 30px;
}

.aporte-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.aporte-list-fecha {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-gold);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.aporte-list-body h2 {
    font-family: var(--font-serif);
    font-size: 26px;
    line-height: 1.25;
    font-weight: 400;
    color: var(--primary-blue);
    margin: 0 0 12px;
}

.aporte-list-resumen {
    font-size: 14px;
    line-height: 1.65;
    color: #555;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aporte-list-details {
    display: grid;
    gap: 14px;
    border-top: 1px solid rgba(11, 37, 69, 0.08);
    padding-top: 16px;
}

.aporte-list-block span {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 6px;
}

.aporte-list-block p {
    font-size: 14px;
    line-height: 1.65;
    color: #555;
    margin: 0;
}

.aportes-pagination {
    margin-top: 28px;
}

@media (max-width: 800px) {
    .aporte-list-card {
        grid-template-columns: 1fr;
    }

    .aporte-list-side {
        flex-direction: row;
        align-items: center;
        padding: 18px 20px;
    }

    .aportes-hero h1 {
        font-size: 36px;
    }

    .aporte-list-body h2 {
        font-size: 22px;
    }
}
