/* ==========================================================================
   Partners & Team Page Layout Template Stylesheet
   ========================================================================== */

/* Page Ground Variable Definitions */
.partners-page-body {
    background-color: #f6f4ee; /* Warm Off-white / Ivory canvas */
    color: #4a4a4a;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero Section Layout */
.partners-hero-section {
    padding: 60px 0 20px 0;
    text-align: center;
}

.partners-main-title {
    font-family: Georgia, serif; /* Updated to Georgia */
    font-weight: 700;
    font-size: 3rem;
    color: #3b60c0; /* Signature Royal Blue Header Accent */
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.partners-hero-lead {
    font-size: 1.15rem;
    line-height: 1.65;
    max-width: 900px;
    margin: 0 auto;
    color: #555555;
}

/* Partners Category Card Structure Grid */
.partners-grid-section {
    padding: 20px 0 60px 0;
}

.partners-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.partner-type-card {
    background-color: #ffffff;
    border-radius: 32px; /* Extruded deep rounded profiles */
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
}

.partner-type-card:hover {
    transform: translateY(-4px);
}

.partner-card-icon-wrap {
    width: 70px;
    height: 70px;
    background-color: #f6f4ee;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.partner-card-icon-wrap i {
    font-size: 1.8rem;
    color: #444444;
}

.partner-type-card h3 {
    font-family: Georgia, serif; /* Updated to Georgia */
    font-weight: 700;
    font-size: 1.6rem;
    color: #3b60c0;
    margin-bottom: 15px;
}

.partner-type-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

/* Team Section Stylesheet Configuration */
.team-roster-section {
    padding: 60px 0;
    text-align: center;
}

.team-section-title {
    font-family: Georgia, serif; /* Updated to Georgia */
    font-weight: 700;
    font-size: 3rem;
    color: #3b60c0;
    margin-bottom: 20px;
}

.team-section-lead {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 950px;
    margin: 0 auto 50px auto;
    color: #555555;
}

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 40px;
    row-gap: 50px;
    margin-bottom: 50px;
}

.team-member-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.member-role-badge {
    font-family: Georgia, serif; /* Updated to Georgia */
    font-weight: 700;
    font-size: 1.15rem;
    color: #d8763d; /* Terracotta Orange Subtitle Style Context */
    margin-bottom: 15px;
    display: block;
}

.member-photo-frame {
    width: 100%;
    max-width: 240px;
    aspect-ratio: 1 / 1;
    background-color: #e2dfd7;
    margin-bottom: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from 'cover' to 'contain' to display full team photos without truncation */
}

/* Volunteer Frame Container Strip */
.volunteer-network-banner {
    background-color: #edebe2;
    border-radius: 16px;
    padding: 24px 40px;
    max-width: 1060px;
    margin: 40px auto 0 auto;
    text-align: center;
}

.volunteer-network-banner p {
    font-size: 1.05rem;
    color: #555555;
    line-height: 1.5;
    margin: 0;
}

/* Green Background Action Box Frame Layout */
.collaboration-cta-section {
    background-color: #3da62b; /* Vibrant Action Green Panel Canvas */
    padding: 70px 0;
    color: #ffffff;
}

.split-cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.cta-left-content {
    flex: 1;
}

.cta-heading {
    font-family: Georgia, serif; /* Updated to Georgia */
    font-weight: 700;
    font-size: 3.2rem;
    color: #3b60c0; /* Deep contrasting blue head text */
    margin-top: 0;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.cta-intro-para {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ffffff;
}

.cta-opportunities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cta-opportunities-list li {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    padding-left: 0;
    color: #ffffff;
}

.cta-opportunities-list li:last-child {
    margin-bottom: 0;
}

.cta-opportunities-list li strong {
    color: #ffffff;
}

.cta-right-action {
    flex-shrink: 0;
}

.cta-amber-btn {
    display: inline-block;
    background-color: #e07a44; /* Terracotta Amber Accent Call Action Button Link */
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 16px 36px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.cta-amber-btn:hover {
    background-color: #cd6933;
    transform: translateY(-2px);
}

/* ==========================================================================
   Responsive Viewport Adaptive Layout Overrides
   ========================================================================== */

@media (max-width: 992px) {
    .partners-main-title, .team-section-title, .cta-heading {
        font-size: 2.5rem;
    }
    .partners-card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .team-members-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 30px;
    }
    .split-cta-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    .cta-right-action {
        width: 100%;
        text-align: center;
    }
    .cta-amber-btn {
        width: 100%;
        max-width: 300px;
        box-sizing: border-box;
    }
}

@media (max-width: 576px) {
    .partners-main-title, .team-section-title, .cta-heading {
        font-size: 2rem;
    }
    .partner-type-card {
        padding: 30px 20px;
    }
    .team-members-grid {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }
    .member-photo-frame {
        max-width: 200px;
    }
    .volunteer-network-banner {
        padding: 20px;
    }
}
