/* ==============================
   ABOUT PAGE DESIGN SYSTEM
   Adapted from Article Page Style
============================== */

:root {
    --about-navy: #0B132B;
    --about-gold: #D4A24C;
    --about-white: #FFFFFF;
    --about-soft: #F7F8FA;
    --about-dark: #1E1E1E;
    --about-muted: #64748b;
    --about-border: #e5e7eb;
    --about-shadow: 0 22px 60px rgba(15, 23, 42, .10);
    --about-shadow-soft: 0 14px 34px rgba(15, 23, 42, .08);
}

/* ==============================
   ABOUT HERO / BANNER
============================== */

.about-banner {
    position: relative;
    width: 100%;
    min-height: 760px;

    margin-top: -100px;
    padding: 150px 20px 190px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            rgba(11, 19, 43, .94),
            rgba(30, 30, 30, .82)
        ),
        url('../../assets/img/mta-banner.jpg');

    background-size: cover;
    background-position: center;

    text-align: center;
    overflow: hidden;
}

.about-banner::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at 20% 20%, rgba(212, 162, 76, .18), transparent 34%),
        radial-gradient(circle at 80% 35%, rgba(255, 255, 255, .08), transparent 28%);

    z-index: 1;
    pointer-events: none;
}

.about-banner::after {
    content: "";
    position: absolute;
    inset: auto 0 0;

    height: 160px;

    background: linear-gradient(
        to bottom,
        transparent,
        #f8fafc
    );

    z-index: 1;
    pointer-events: none;
}

.about-overlay {
    display: none;
}

.about-content {
    position: relative;
    z-index: 2;

    width: min(100%, 980px);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: var(--about-white);

    padding-inline: 20px;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 24px;
    padding: 9px 16px;

    border: 1px solid rgba(212, 162, 76, .45);
    border-radius: 999px;

    background: rgba(212, 162, 76, .10);
    color: var(--about-gold);

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.about-content h1 {
    margin: 0 auto 24px;
    max-width: 860px;

    color: var(--about-white);

    font-size: clamp(44px, 6vw, 82px);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -2px;
}

.about-content p {
    max-width: 760px;
    margin: 0 auto;

    color: rgba(255, 255, 255, .84);

    font-size: clamp(17px, 1.7vw, 22px);
    line-height: 1.8;
}

/* ==============================
   SECTION BASE
============================== */

.about-section,
.faq-section {
    position: relative;
    z-index: 3;

    background: #f8fafc;
}

.about-section {
    padding-top: 90px;
    padding-bottom: 90px;
}

.faq-section {
    padding-top: 90px;
    padding-bottom: 100px;
}

/* ==============================
   SECTION TITLE
============================== */

.section-title {
    text-align: center;

    max-width: 780px;
    margin: 0 auto 56px;
}

.section-title span {
    display: inline-flex;

    margin-bottom: 12px;

    color: var(--about-gold);

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title h2 {
    margin: 0;

    color: var(--about-navy);

    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -1px;
}

/* ==============================
   ABOUT TEXT CONTENT
============================== */

.about-text {
    max-width: 1080px;
    margin: 0 auto;

    padding: 42px;

    background: var(--about-white);

    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: 28px;

    box-shadow: var(--about-shadow-soft);
}

.about-text p {
    margin: 0 0 24px;

    color: #334155;

    font-size: 18px;
    line-height: 1.9;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* ==============================
   TEAM LIST
============================== */

.team-list {
    display: flex;
    flex-direction: column;

    gap: 20px;
}

.team-item {
    background: var(--about-white);

    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: 26px;

    padding: 28px;

    cursor: pointer;

    box-shadow: var(--about-shadow-soft);

    transition: .22s ease;
}

.team-item:hover {
    transform: translateY(-3px);

    box-shadow: var(--about-shadow);
}

.team-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 22px;
}

.team-top h3 {
    margin: 0 0 8px;

    color: var(--about-navy);

    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -.3px;
}

.team-top span {
    color: var(--about-muted);

    font-size: 15px;
    font-weight: 600;
}

.team-toggle {
    width: 46px;
    height: 46px;

    border-radius: 50%;

    background: #f1f5f9;
    color: var(--about-navy);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 26px;
    font-weight: 700;

    flex-shrink: 0;

    transition: .22s ease;
}

.team-item:hover .team-toggle {
    background: rgba(212, 162, 76, .16);
    color: var(--about-navy);
}

.team-item.active .team-toggle {
    background: var(--about-gold);
    color: var(--about-navy);
}

/* ==============================
   TEAM BIO
============================== */

.team-bio {
    display: none;

    margin-top: 30px;
    padding-top: 28px;

    border-top: 1px solid rgba(148, 163, 184, .20);
}

.team-item.active .team-bio {
    display: block;
}

.team-bio-wrapper {
    display: grid;
    grid-template-columns: 210px 1fr;

    gap: 34px;
    align-items: flex-start;
}

.team-image img {
    width: 210px;
    height: 250px;

    display: block;

    object-fit: cover;

    border-radius: 22px;

    box-shadow: 0 18px 34px rgba(15, 23, 42, .12);
}

.team-info {
    flex: 1;
}

.team-info h4 {
    margin: 22px 0 10px;

    color: var(--about-navy);

    font-size: 20px;
    line-height: 1.3;
}

.team-info h4:first-child {
    margin-top: 0;
}

.team-info p {
    margin: 0;

    color: #475569;

    font-size: 17px;
    line-height: 1.9;
}

/* ==============================
   FAQ
============================== */

.faq-list {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--about-white);

    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: 22px;

    padding: 24px 26px;

    margin-bottom: 18px;

    cursor: pointer;

    box-shadow: var(--about-shadow-soft);

    transition: .22s ease;
}

.faq-item:hover {
    transform: translateY(-2px);

    box-shadow: var(--about-shadow);
}

.faq-question {
    color: var(--about-navy);

    font-size: 18px;
    font-weight: 900;
    line-height: 1.45;
}

.faq-answer {
    display: none;

    margin-top: 16px;

    color: var(--about-muted);

    line-height: 1.9;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ==============================
   ACCESSIBILITY
============================== */

.team-item:focus,
.faq-item:focus {
    outline: 3px solid rgba(212, 162, 76, .35);
    outline-offset: 3px;
}

/* ==============================
   RESPONSIVE - TABLET
============================== */

@media screen and (max-width: 992px) {
    .about-banner {
        min-height: 680px;
        padding: 160px 20px 110px;
    }

    .team-bio-wrapper {
        grid-template-columns: 180px 1fr;
    }

    .team-image img {
        width: 180px;
        height: 220px;
    }
}

/* ==============================
   RESPONSIVE - MOBILE
============================== */

@media screen and (max-width: 768px) {
    .about-banner {
        min-height: 660px;
        margin-top: -96px;
        padding: 205px 18px 90px;
    }

    .about-content {
        padding-inline: 0;
    }

    .about-content h1 {
        font-size: clamp(38px, 11vw, 56px);
        letter-spacing: -1px;
    }

    .about-section,
    .faq-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .section-title {
        text-align: left;

        margin-bottom: 36px;
    }

    .about-text {
        padding: 28px;

        border-radius: 24px;
    }

    .about-text p {
        font-size: 16px;
    }

    .team-item {
        padding: 24px;

        border-radius: 24px;
    }

    .team-top {
        align-items: flex-start;
    }

    .team-top h3 {
        font-size: 20px;
    }

    .team-toggle {
        width: 42px;
        height: 42px;

        font-size: 24px;
    }

    .team-bio-wrapper {
        grid-template-columns: 1fr;

        gap: 24px;
    }

    .team-image img {
        width: 100%;
        height: auto;
        max-height: 420px;
    }

    .team-info p {
        font-size: 16px;
    }

    .faq-item {
        padding: 22px;

        border-radius: 20px;
    }

    .faq-question {
        font-size: 17px;
    }
}