/* =========================================
   PÁGINA APORTES: ESTILOS ESPECÍFICOS
   ========================================= */

/* 1. CABECERA (Hero) */
.aportes-hero {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    background-color: #0B1713;
    background-image: radial-gradient(circle at 50% 120%, rgba(168, 100, 66, 0.15), transparent 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 5rem;
}

.aportes-tag {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #A86442;
    display: block;
    margin-bottom: 1.5rem;
}

.aportes-hero-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: #FDFBF7;
    font-weight: 400;
    line-height: 1.1;
}

.aportes-hero-content h1 .italic-text {
    font-style: italic;
    color: #E3D3C1;
}

/* =========================================
   ESTILO VINTAGE / PERIÓDICO ANTIGUO
   ========================================= */

/* Fondo de papel texturizado para toda la sección */
.vintage-wrapper {
    background-color: #EFEBE4; 
    background-image: url('https://www.transparenttextures.com/patterns/aged-paper.png');
    padding: 6rem 1.5rem;
    color: #222;
    font-family: var(--font-serif);
}

.vintage-section {
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

/* Encabezados de sección */
.vintage-header {
    text-align: center;
    margin-bottom: 4rem;
}

.vintage-kicker {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
}

.vintage-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #111;
    margin: 0;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.1); 
}

/* Divisor punteado clásico */
.vintage-divider {
    border: none;
    border-top: 2px dotted #999;
    margin: 4rem 0 0 0;
    width: 100%;
}

.vintage-subtitle {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #222;
}

/* SECCIÓN 1: ORGANIZACIÓN */
.layout-heros {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 2rem;
    align-items: center;
}

.heros-col p {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 2rem;
    text-align: justify;
}

.heros-center {
    text-align: center;
}

.heros-center img {
    width: 100%;
    max-width: 350px;
    filter: grayscale(100%) contrast(1.2); 
}

/* SECCIÓN 2: EDUCACIÓN */
.layout-author {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.author-image img {
    width: 100%;
    border: 1px solid #999;
    padding: 10px;
    background: #fff;
    filter: grayscale(100%) sepia(20%);
}

.author-text .lead-text {
    font-size: 1.8rem;
    font-style: italic;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #111;
}

.author-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1.5rem;
}

.vintage-tag {
    display: inline-block;
    background: #111;
    color: #EFEBE4;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
}

/* SECCIÓN 3: DERECHOS */
.layout-stories {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.story-item {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    align-items: center;
}

.story-image {
    position: relative;
}

.story-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border: 8px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15), inset 0 0 0 1px #ddd;
    filter: grayscale(100%) sepia(30%);
    transform: rotate(-2deg); 
    transition: transform 0.3s ease;
}

.story-item:nth-child(even) .story-image img {
    transform: rotate(2deg); 
}

.story-image::before, .story-image::after {
    content: ''; position: absolute; width: 15px; height: 15px; border: 1px solid #555; z-index: 2;
}
.story-image::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.story-image::after { bottom: 0; right: 0; border-left: none; border-top: none; }

.story-content h3 {
    font-size: 1.8rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: #111;
}

.story-meta {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: #777;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    display: flex;
    gap: 15px;
}

.story-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    text-align: justify;
}

/* LA FRASE INMORTAL */
.aportes-quote-section {
    background-color: #E3DBCB; 
    padding: 10rem 1.5rem;
    text-align: center;
}

.quote-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.quote-icon {
    font-family: var(--font-serif);
    font-size: 6rem;
    color: #A86442;
    line-height: 0;
    opacity: 0.3;
    display: block;
    margin-bottom: 2rem;
}

.quote-container blockquote {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #2D2522;
    font-style: italic;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 3rem;
}

.quote-container .highlight {
    font-weight: 500;
    color: #0B1713;
}

.quote-container cite {
    font-family: var(--font-sans);
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #5A4D45;
    font-style: normal;
}

/* RESPONSIVE MÓVIL */
@media (max-width: 900px) {
    .layout-heros {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .heros-col p { text-align: center; }
    
    .layout-author {
        grid-template-columns: 1fr;
    }
    
    .story-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .story-image img {
        height: 250px;
        transform: rotate(0) !important;
    }
    
    .story-content p {
        text-align: center;
    }
    
    .vintage-title {
        font-size: 2.5rem;
    }
}



/* =========================================
   FOOTER ESPECÍFICO PARA BIOGRAFÍA (Override)
   ========================================= */

/* Cambiamos el fondo del footer solo en esta página */
footer {
    background-color: #0B1713; /* Verde bosque profundo */
}

/* Ajustamos los colores de los elementos para que brillen sobre el fondo oscuro */
.footer-text {
    color: #E3D3C1; /* Dorado claro / beige */
}

.footer-bottom {
    color: #9CA89B; /* Verde salvia sutil para los derechos de autor */
}

.footer-star {
    color: #E3D3C1; /* Estrella en dorado claro */
}

.footer-line {
    background-color: rgba(227, 211, 193, 0.2); /* Líneas laterales doradas semitransparentes */
}