
/* ==========================================
   MISSION AND VISION CARDS
   ========================================== */

/* Card layout */
.tac-about-page .tac-about-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    align-items: stretch;
    gap: 32px;
    margin-top: 56px;
    padding-bottom: 12px;
}

/* Card styling */
.tac-about-page .purpose-card {
    --purpose-tab: #94bc48;
    --purpose-title: #547a22;

    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 0;
    border: 1px solid #edf0eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 14px rgba(22, 61, 49, .12);
    text-align: center;
}

/* Vision colors */
.tac-about-page .purpose-vision {
    --purpose-tab: #32ac91;
    --purpose-title: #167b69;
}

/* Icon background */
.purpose-icon {
    width: 114px;
    height: 106px;
    margin-top: -20px;

    display: grid;
    place-items: center;

    background: var(--purpose-tab);
    color: #fff;
    border-radius: 12px 12px 0 0;
    flex-shrink: 0;
}

/* Icon size */
.purpose-icon svg {
    width: 64px;
    height: 64px;
}

/* ==========================================
   MISSION AND VISION HEADINGS
   ========================================== */

.tac-about-page .purpose-card h3 {
    align-self: stretch;
    margin: 0;
    padding: 24px 20px 4px;

    border-top: 1px solid #e5eae2;
    border-bottom: 0;

    font-size: clamp(30px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .04em;

    color: var(--purpose-title);
    text-align: center;
}

/* ==========================================
   MISSION AND VISION DESCRIPTIONS
   ========================================== */

.tac-about-page .purpose-card p {
    align-self: stretch;

    margin: 0;
    padding: 8px 24px 28px;

    font-size: 20px;
    line-height: 1.5;

    color: #3e554c;
    text-align: center;
    white-space: normal;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 899px) {

    /* Stack Mission and Vision vertically */
    .tac-about-page .tac-about-values {
        grid-template-columns: minmax(0, 600px);
        gap: 48px;
    }

    /* Adjust description spacing */
    .tac-about-page .purpose-card p {
        padding: 8px 24px 28px;
        font-size: 18px;
    }

    /* About section photo positioning */
    .tac-about-intro > .tac-about-photo,
    .tac-about-story > .tac-about-photo {
        grid-row: 1;
    }
}

/* ==========================================
   CONTACT SECTION
   ========================================== */

/* Match the surrounding About section */
#contact.application-section {
    background: #fff;
}
