/**
 * Additional Background & Affiliations Section Styles
 * Synergy Health Theme
 * Provider education history and professional affiliations
 */

/* ========================================
   SECTION BASE
   ======================================== */

.background-affiliations-section {
    position: relative;
    width: 100%;
    padding: var(--spacing-4xl) var(--spacing-lg);
    background-color: var(--white);
}

/* Container */
.aba-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

/* ========================================
   HEADING
   ======================================== */

.aba-heading {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-blue);
    text-align: center;
    margin: 0 0 80px 0;
}

/* ========================================
   CONTENT GRID (50/50 Desktop)
   ======================================== */

.aba-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* ========================================
   EDUCATION CARD (Left Column)
   ======================================== */

.aba-education-card {
    background-color: #E3EFED;
    border-radius: var(--radius-lg);
    padding: 40px;
}

.aba-card-title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    color: #272727;
    margin: 0 0 40px 0;
}

.aba-education-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.aba-education-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aba-education-subtitle {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--red);
    margin: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #C8C8C8;
}

.aba-education-details {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #272727;
    margin: 0;
}

.aba-education-details p {
    margin: 0 0 4px 0;
}

.aba-education-details p:last-child {
    margin-bottom: 0;
}

.aba-education-details em,
.aba-education-details i {
    font-style: italic;
    color: #666;
}

/* Note within education items */
.aba-education-item .aba-note {
    margin-top: 4px;
}

/* ========================================
   RIGHT COLUMN (Affiliations Cards)
   ======================================== */

.aba-right-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.aba-info-card {
    background-color: #E3EFED;
    border-radius: var(--radius-lg);
    padding: 35px;
}

/* List Styles */
.aba-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aba-list li {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #272727;
    padding-left: 24px;
    position: relative;
}

.aba-list li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #272727;
    font-weight: 700;
}

.aba-list-detail {
    padding-left: 24px !important;
    color: #666 !important;
}

.aba-list-detail::before {
    display: none !important;
}

/* Note Text (Italicized) */
.aba-note {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: #666;
    font-style: italic;
    margin: 20px 0 0 0;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Desktop Large (1200px) */
@media (max-width: 1200px) {
    .aba-heading {
        font-size: 42px;
        margin-bottom: 60px;
    }
    
    .aba-content-grid {
        gap: 30px;
    }
    
    .aba-education-card,
    .aba-info-card {
        padding: 35px;
    }
    
    .aba-card-title {
        font-size: 26px;
        margin-bottom: 35px;
    }
}

/* Tablet Landscape (1024px) */
@media (max-width: 1024px) {
    .background-affiliations-section {
        padding: 80px var(--spacing-md);
    }
    
    .aba-heading {
        font-size: 38px;
        margin-bottom: 50px;
    }
    
    .aba-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .aba-card-title {
        font-size: 24px;
    }
    
    .aba-education-items {
        gap: 28px;
    }
}

/* Tablet Portrait (768px) */
@media (max-width: 768px) {
    .background-affiliations-section {
        padding: 60px var(--spacing-md);
    }
    
    .aba-heading {
        font-size: 34px;
        margin-bottom: 40px;
    }
    
    .aba-education-card,
    .aba-info-card {
        padding: 30px 25px;
    }
    
    .aba-card-title {
        font-size: 22px;
        margin-bottom: 30px;
    }
    
    .aba-education-subtitle {
        font-size: 19px;
    }
    
    .aba-education-details,
    .aba-list li {
        font-size: 15px;
    }
    
    .aba-right-column {
        gap: 25px;
    }
}

/* Mobile (480px) */
@media (max-width: 480px) {
    .background-affiliations-section {
        padding: 50px 16px;
    }
    
    .aba-heading {
        font-size: 28px;
        margin-bottom: 35px;
    }
    
    .aba-education-card,
    .aba-info-card {
        padding: 25px 20px;
        border-radius: var(--radius-lg);
    }
    
    .aba-card-title {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .aba-education-items {
        gap: 24px;
    }
    
    .aba-education-subtitle {
        font-size: 18px;
    }
    
    .aba-education-details,
    .aba-list li {
        font-size: 14px;
    }
    
    .aba-note {
        font-size: 14px;
        margin-top: 16px;
    }
    
    .aba-right-column {
        gap: 20px;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .aba-education-card,
    .aba-info-card {
        border: 2px solid var(--primary-blue);
    }
}
