﻿/* About page – clean, responsive article layout */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;600;700&display=swap');

body.about-page {
    font-family: 'Heebo', 'Segoe UI', Tahoma, Arial, sans-serif;
    background:
        radial-gradient(ellipse 75% 45% at 0% 0%, rgba(208, 229, 236, 0.85) 0%, transparent 55%),
        radial-gradient(ellipse 65% 40% at 100% 20%, rgba(220, 237, 215, 0.8) 0%, transparent 50%),
        linear-gradient(180deg, #f5f8f6 0%, #eef3f0 100%);
    min-height: 100vh;
    margin: 0;
    color: #2f3a32;
}

body.about-page #page_div {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 18px 48px;
    text-align: right;
}

.about-stage {
    margin: 8px 0 36px;
    animation: aboutFade 0.55s ease both;
}

@keyframes aboutFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.about-intro {
    background: linear-gradient(145deg, #5f8f18 0%, #7bae00 45%, #4a7a2a 100%);
    color: #fff;
    border-radius: 18px;
    padding: 28px 30px 26px;
    margin-bottom: 22px;
    box-shadow: 0 12px 30px rgba(70, 110, 20, 0.2);
    position: relative;
    overflow: hidden;
}

.about-intro::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -60px;
    left: -40px;
    pointer-events: none;
}

.about-intro-brand {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

.about-intro-lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 40rem;
    position: relative;
    z-index: 1;
}

.about-article {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(90, 130, 70, 0.14);
    box-shadow: 0 10px 28px rgba(40, 60, 50, 0.08);
    padding: clamp(22px, 4vw, 40px);
    text-align: right;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

/* Reset old general_content / scroller constraints */
body.about-page .general_content,
body.about-page #left_general_content,
body.about-page .about-article.general_content {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    background: transparent !important;
    overflow: visible !important;
    text-align: right;
}

body.about-page .customScroll_wrap,
body.about-page .customScrollContent {
    height: auto !important;
    overflow: visible !important;
    position: static !important;
}

.about-article h1 {
    margin: 0 0 1rem;
    font-size: clamp(1.45rem, 3.5vw, 1.9rem);
    font-weight: 700;
    color: #3d6b12;
    line-height: 1.3;
}

.about-article h2 {
    margin: 2rem 0 0.85rem;
    padding-top: 0.35rem;
    font-size: clamp(1.2rem, 2.8vw, 1.45rem);
    font-weight: 700;
    color: #2f4a1c;
    border-top: 1px solid #e3ebe0;
}

.about-article h2:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.about-article h3 {
    margin: 1.5rem 0 0.55rem;
    font-size: 1.12rem;
    font-weight: 700;
    color: #5a8a18;
}

.about-article p {
    margin: 0 0 0.9rem;
    font-size: 1.02rem;
    line-height: 1.75;
    color: #3a453c;
}

.about-article br + br {
    display: none;
}

/* Soft “cards” for team sections after the office intro */
.about-article h3 {
    background: #f3f8ef;
    border-right: 4px solid #7bae00;
    padding: 10px 14px;
    border-radius: 0 10px 10px 0;
}

body.about-page #footer.footer {
    margin-top: 12px;
    text-align: right;
}

@media (max-width: 640px) {
    body.about-page #page_div {
        padding: 0 12px 32px;
    }

    .about-intro {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .about-article {
        padding: 18px 16px 22px;
        border-radius: 14px;
    }

    .about-article p {
        font-size: 0.98rem;
        line-height: 1.7;
    }
}
