/* ========================================
   ABOUT PAGE STYLES - NEWSPAPER DESIGN
   ======================================== */

/* Container Styles */
.about-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 2rem;
    background-color: transparent;
}

/* Page Header */
.about-header {
    text-align: center;
    margin-bottom: 5rem;
    color: var(--primary-text-color);
    padding: 0 2rem 3rem;
    position: relative;
}

.about-header h1 {
    color: var(--primary-text-color);
    font-family: var(--font-family-custom);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    margin-bottom: 5rem;
    position: relative;
    text-align: center;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.about-header h1::after {
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background-color: var(--accent-color);
}

/* Content Sections */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.about-content section {
    border-bottom: 1px solid rgba(6, 148, 59, 0.1);
    padding-bottom: 3rem;
}

.about-content section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.about-content section.contact-section {
    padding-bottom: 4rem;
}

/* Section Headings */
.about-content h2 {
    color: var(--primary-text-color);
    font-family: var(--font-family-custom);
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
}

/* Paragraphs */
.about-content p {
    color: var(--secondary-text-color);
    line-height: 1.8;
    font-size: 1.1rem;
    font-family: var(--font-family-custom);
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Emphasized Text */
.about-content em {
    font-style: normal;
    color: var(--accent-color);
    font-weight: 500;
}

/* Links */
.about-content a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed) ease;
    border-bottom: 1px solid rgba(6, 148, 59, 0.3);
}

.about-content a:hover {
    color: var(--primary-text-color);
    border-bottom-color: var(--accent-color);
}

/* Story Content with Image */
.story-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.story-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.story-text p {
    margin-bottom: 0;
}

/* Legacy Image Section */
.legacy-image {
    flex-shrink: 0;
    width: 350px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.legacy-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    border: 1px solid rgba(6, 148, 59, 0.2);
    box-shadow: 0 4px 12px rgba(6, 148, 59, 0.1);
    transition: all var(--transition-speed) ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    display: block;
}

.legacy-image:hover img {
    transform: scale(1.02);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1rem 0.75rem;
    font-style: italic;
    color: var(--primary-text-color);
    font-size: 0.75rem;
    font-family: var(--font-family-custom);
    line-height: 1.3;
    font-weight: 500;
    background: linear-gradient(to top, var(--accent-cream) 0%, rgba(248, 243, 230, 0.95) 50%, rgba(248, 243, 230, 0.6) 80%, transparent 100%);
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease;
}

.legacy-image:hover .image-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Commitments List */
.about-content ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-content ul li {
    color: var(--secondary-text-color);
    line-height: 1.7;
    font-size: 1.05rem;
    font-family: var(--font-family-custom);
    position: relative;
    padding-left: 2rem;
}

.about-content ul li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0.5rem;
    font-size: 1.2em;
    font-weight: bold;
}

.about-content ul li strong {
    color: var(--accent-color);
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: center;
    padding: 4rem 2rem 4rem 2rem;
    background-color: rgba(6, 148, 59, 0.08);
    border-radius: 8px;
    margin-top: 3rem;
    position: relative;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 0;
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    position: relative;
    padding-bottom: 1rem;
}

.contact-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
}

.contact-section p {
    font-size: 1.1rem;
    margin-bottom: 0;
    line-height: 1.8;
    max-width: 600px;
}

.contact-section a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(6, 148, 59, 0.3);
    transition: all var(--transition-speed) ease;
    padding: 0 0.25rem;
}

.contact-section a:hover {
    color: var(--primary-text-color);
    border-bottom-color: var(--accent-color);
    background-color: rgba(6, 148, 59, 0.05);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .about-container {
        padding: 4rem 1.5rem;
    }

    .about-header {
        padding: 0 0.5rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .about-header h1 {
        font-size: clamp(2rem, 6vw, 2.5rem);
        margin-bottom: 3rem;
    }
    
    .about-header h1::after {
        bottom: -1.5rem;
    }

    .about-content {
        gap: 3rem;
    }
    
    .story-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .legacy-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-content section {
        padding-bottom: 2rem;
    }

    .about-content h2 {
        font-size: clamp(1.35rem, 4vw, 1.5rem);
    }

    .about-content p {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .about-content ul li {
        font-size: 1rem;
        padding-left: 1.5rem;
    }

    .legacy-image {
        margin: 2rem 0;
    }

    .contact-section {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-container {
        padding: 3rem 1rem;
    }
    
    .about-header {
        padding: 0 0.25rem 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .about-header h1 {
        font-size: clamp(1.5rem, 7vw, 1.75rem);
        margin-bottom: 2.5rem;
    }
    
    .about-header h1::after {
        bottom: -1.25rem;
    }

    .about-content p {
        font-size: 1rem;
    }
}