/* ========================================
   EPINOZIA | FINANCE
   ABOUT PAGE
======================================== */


/* ========================================
   ABOUT PAGE
======================================== */

.about-page {
    background-color: #f8fafc;
    color: #0f172a;
}


/* ========================================
   ABOUT HEADER
======================================== */

.about-header {
    width: min(90%, 900px);

    margin-inline: auto;

    padding-block:
        clamp(45px, 6vw, 70px)
        clamp(30px, 4vw, 45px);

    text-align: center;
}

.about-eyebrow {
    margin-bottom: 10px;

    color: #2563eb;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.about-header h1 {
    margin-bottom: 18px;

    color: #123a63;

    font-size: clamp(32px, 4.5vw, 46px);
    line-height: 1.15;
}

.about-intro {
    max-width: 720px;

    margin-inline: auto;

    color: #475569;

    font-size: clamp(15px, 1.5vw, 17px);
    line-height: 1.7;
}


/* ========================================
   ABOUT LAYOUT
======================================== */

.about-layout {
    width: min(96%, 1600px);

    margin-inline: auto;

    padding-bottom: clamp(55px, 6vw, 80px);

    display: grid;

    grid-template-columns:
        minmax(120px, 200px)
        minmax(0, 1000px)
        minmax(120px, 200px);

    justify-content: center;
    align-items: start;

    gap: clamp(20px, 3vw, 40px);
}


/* ========================================
   AD SPACES
======================================== */

.about-ad {
    min-height: 500px;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    padding-top: 10px;

    color: #94a3b8;

    font-size: 10px;
    letter-spacing: 0.5px;
}


/* ========================================
   MAIN CONTENT
======================================== */

.about-content {
    width: 100%;
    min-width: 0;
}


/* ========================================
   ABOUT SECTIONS
======================================== */

.about-section {
    margin-bottom: clamp(22px, 3vw, 32px);

    padding: clamp(26px, 4vw, 38px);

    background-color: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.about-section-last {
    margin-bottom: 0;
}


/* ========================================
   SECTION HEADINGS
======================================== */

.about-section-heading {
    margin-bottom: 24px;
}

.about-section-heading > span,
.about-epinozia > span,
.about-important-heading > span,
.about-responsibility > span {
    display: block;

    margin-bottom: 9px;

    color: #2563eb;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.4px;
}

.about-section-heading h2,
.about-epinozia h2,
.about-important-heading h2,
.about-responsibility h2 {
    margin: 0 0 14px;

    color: #0f172a;

    font-size: clamp(23px, 3vw, 30px);
    line-height: 1.25;
}

.about-section-heading > p,
.about-important-heading > p {
    max-width: 760px;

    margin: 0;

    color: #64748b;

    font-size: 15px;
    line-height: 1.7;
}


/* ========================================
   GENERAL SECTION TEXT
======================================== */

.about-section > p {
    max-width: 800px;

    margin: 0;

    color: #475569;

    font-size: 15px;
    line-height: 1.75;
}

.about-section > p + p {
    margin-top: 16px;
}


/* ========================================
   LEARN / CALCULATE
======================================== */

.about-feature-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.about-feature-card {
    min-height: 220px;

    padding: clamp(22px, 3vw, 28px);

    display: flex;
    flex-direction: column;

    background-color: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 12px;

    color: inherit;
    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.about-feature-card:hover {
    transform: translateY(-3px);

    background-color: #ffffff;

    border-color: #93c5fd;

    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.about-feature-card:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.28);
    outline-offset: 3px;
}

.about-feature-number {
    margin-bottom: 20px;

    color: #2563eb;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;
}

.about-feature-card h3 {
    margin: 0 0 10px;

    color: #123a63;

    font-size: 20px;
}

.about-feature-card p {
    margin: 0 0 22px;

    color: #64748b;

    font-size: 14px;
    line-height: 1.65;
}

.about-feature-link {
    margin-top: auto;

    color: #2563eb;

    font-size: 14px;
    font-weight: 700;
}

.about-feature-card:hover .about-feature-link {
    text-decoration: underline;
}

/* ========================================
   OUR APPROACH
======================================== */

.about-principles-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;
}

.about-principle-card {
    padding: clamp(20px, 2.5vw, 24px);

    background-color: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.about-principle-card h3 {
    margin: 0 0 9px;

    color: #123a63;

    font-size: 16px;
    line-height: 1.3;
}

.about-principle-card p {
    margin: 0;

    color: #64748b;

    font-size: 13px;
    line-height: 1.65;
}


/* ========================================
   THE EPINOZIA IDEA
======================================== */

.about-epinozia{
    padding: clamp(24px, 4vw, 32px);

    background-color: #eff6ff;

    border-left: 4px solid #2563eb;
    border-radius: 10px;
}

.about-epinozia p {
    max-width: 780px;

    margin: 0;

    color: #475569;

    font-size: 15px;
    line-height: 1.75;
}

.about-epinozia p + p {
    margin-top: 15px;
}


/* ========================================
   IMPORTANT INFORMATION
======================================== */

.about-important-heading {
    margin-bottom: 26px;
}

.about-important-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;
}

.about-important-card {
    padding: clamp(20px, 2.5vw, 24px);

    background-color: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.about-important-card h3 {
    margin: 0 0 9px;

    color: #123a63;

    font-size: 16px;
    line-height: 1.3;
}

.about-important-card p {
    margin: 0;

    color: #64748b;

    font-size: 13px;
    line-height: 1.65;
}


/* ========================================
   RESPONSIBILITY
======================================== */

.about-responsibility {
    padding: clamp(24px, 4vw, 32px);

    background-color: #f8fafc;

    border-left: 4px solid #2563eb;
    border-radius: 10px;
}

.about-responsibility p {
    max-width: 800px;

    margin: 0;

    color: #475569;

    font-size: 14px;
    line-height: 1.75;
}

.about-responsibility p + p {
    margin-top: 15px;
}


/* ========================================
   RESPONSIVE - STRUCTURAL CHANGES ONLY
======================================== */

@media (max-width: 1200px) {

    .about-layout {
        width: min(92%, 1000px);

        grid-template-columns:
            minmax(0, 1fr);
    }

    .about-ad-left,
    .about-ad-right {
        display: none;
    }

}


@media (max-width: 800px) {

    .about-principles-grid,
    .about-important-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 650px) {

    .about-feature-grid {
        grid-template-columns: 1fr;
    }

    .about-section {
        padding: 22px;
    }

    .about-header {
        width: min(92%, 900px);
    }

}


@media (max-width: 480px) {

    .about-layout {
        width: 92%;
    }

    .about-section {
        padding: 19px;
    }

    .about-epinozia,
    .about-responsibility {
        padding: 20px;
    }

}