
/* =============================================================
   LWSOM Section — Sub-nav, Term Cards, Accordion, Course Tags
   Parallel to BTC section; uses gold (#c8a84b) accent
   ============================================================= */

/* --- LWSOM Sub-nav ------------------------------------------ */
.lwsom-subnav {
    background: #f5f5f5;
    border-bottom: 1px solid #e2e2e2;
}

.lwsom-subnav .container,
.lwsom-subnav .kingster-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.lwsom-subnav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
    min-width: max-content;
}

.lwsom-subnav-link {
    display: inline-block;
    padding: 14px 20px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--navy);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.lwsom-subnav-link:hover {
    color: #c8a84b;
    border-bottom-color: #c8a84b;
}

.lwsom-subnav-link.active {
    color: #c8a84b;
    border-bottom-color: #c8a84b;
    font-weight: 700;
}

/* --- Three-column term overview cards ----------------------- */
.lwsom-term-cards {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
}

.lwsom-term-card {
    flex: 1 1 0;
    padding: 28px 24px 24px;
    border-radius: 3px;
    color: #fff;
    min-width: 0;
}

.lwsom-term-card-number {
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    opacity: 0.25;
    margin-bottom: 6px;
    font-family: var(--font-heading, 'Playfair Display', serif);
}

.lwsom-term-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.3;
}

.lwsom-term-card-term {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 12px;
}

.lwsom-term-card-focus {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    line-height: 1.65;
    margin: 0;
}

/* --- Accordion ---------------------------------------------- */
.lwsom-accordion {
    border-radius: 3px;
    overflow: hidden;
}

.lwsom-accordion-item {
    border: 1px solid #e2e4ea;
    border-radius: 3px;
    margin-bottom: 6px;
    overflow: hidden;
}

.lwsom-accordion-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    background: #fff;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-size: 15px;
    font-weight: 600;
    color: #192f59;
    transition: background-color 0.15s;
}

.lwsom-accordion-btn:hover {
    background-color: #f9f7f2;
}

.lwsom-accordion-btn[aria-expanded="true"] {
    background-color: #192f59;
    color: #fff;
}

.lwsom-accordion-btn[aria-expanded="true"] .lwsom-accordion-icon {
    color: #c8a84b;
    transform: rotate(180deg);
}

.lwsom-accordion-btn:focus-visible {
    outline: 2px solid #c8a84b;
    outline-offset: -2px;
}

.lwsom-accordion-label {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.lwsom-course-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: #c8a84b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.lwsom-accordion-btn[aria-expanded="true"] .lwsom-course-num {
    background: rgba(200,168,75,0.9);
}

.lwsom-accordion-icon {
    font-size: 13px;
    color: #c8a84b;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.lwsom-accordion-content {
    padding: 20px 24px 20px 58px;
    background: #fafafa;
    border-top: 1px solid #e2e4ea;
    font-size: 15px;
    line-height: 1.8;
    color: #4a5568;
}

.lwsom-accordion-content p:last-child {
    margin-bottom: 0;
}

/* --- Course tag chips --------------------------------------- */
.lwsom-course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lwsom-course-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #f5f6fa;
    border: 1px solid #e2e4ea;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #192f59;
    line-height: 1;
}

/* --- Staff row (faculty page admin listing) ----------------- */
.lwsom-staff-row {
    padding: 18px 22px;
    background: #f5f6fa;
    border-left: 4px solid #c8a84b;
    border-radius: 2px;
}

/* --- Faculty photo cards ----------------------------------- */
.lwsom-faculty-photo-col {
    margin-bottom: 0.75rem;
}

.lwsom-faculty-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
    display: block;
    background: #d8d8d8;
}

@media (max-width: 767px) {
    .lwsom-faculty-photo {
        width: 100%;
        aspect-ratio: 4 / 3;
    }
}

/* --- Responsive -------------------------------------------- */
@media (max-width: 767px) {
    .lwsom-subnav .kingster-container {
        padding-left: 0;
        padding-right: 0;
    }

    .lwsom-subnav-list {
        padding: 0 16px;
    }

    .lwsom-term-cards {
        flex-direction: column;
    }

    .lwsom-accordion-content {
        padding-left: 20px;
    }

    .lwsom-accordion-label {
        gap: 8px;
    }
}

@media (max-width: 991px) {
    .lwsom-term-cards {
        flex-direction: column;
    }
}
