#department-picker {
    padding: 60px 0;
}

.dept-cat-list {
    max-width: 760px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dept-cat {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(214, 215, 216, 0.5);
    overflow: hidden;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.25s ease;
}

.dept-cat.revealed {
    opacity: 1;
    transform: translateY(0);
}

.dept-cat-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
    font-family: "Poppins", sans-serif;
}

.dept-cat-icon {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff1ed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dept-cat-icon i {
    font-size: 24px;
    color: #e3493d;
}

.dept-cat-text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dept-cat-title {
    font-family: "Raleway", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #313030;
}

.dept-cat-sub {
    font-size: 14.5px;
    color: #7f6d68;
    line-height: 1.4;
}

.dept-cat-chevron {
    flex: 0 0 auto;
}

.dept-cat-chevron i {
    font-size: 18px;
    color: #ababab;
    transition: transform 0.25s ease;
}

.dept-cat-toggle[aria-expanded="true"] .dept-cat-chevron i {
    transform: rotate(180deg);
    color: #e3493d;
}

.dept-cat.is-open {
    box-shadow: 0 0 30px rgba(227, 73, 61, 0.18);
}

.dept-cat-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 24px 0 94px;
    border-top: 1px solid transparent;
    margin-top: -1px;
    transition: max-height 0.4s ease, opacity 0.35s ease, padding 0.35s ease, border-color 0.35s ease;
}

.dept-cat.is-open .dept-cat-panel {
    max-height: 1200px;
    opacity: 1;
    padding: 24px 24px 32px 94px;
    border-top-color: #f4f2f2;
}

.dept-detail + .dept-detail {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px dashed #f0eded;
}

.dept-detail-name {
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #e3493d;
    margin: 0 0 2px;
}

.dept-detail:first-child .dept-detail-name {
    margin-top: 0;
}

.dept-detail-desc {
    font-size: 13.5px;
    line-height: 1.45;
    color: #9a8f8a;
    margin: 8px 0 12px;
}

.dept-contact-address {
    font-size: 12px;
    color: #a89f99;
    line-height: 1.3;
    margin: 10px 0 14px;
    padding: 8px 12px;
    background: #fafafa;
    border-radius: 4px;
}

.dept-contact-address i {
    font-size: 12px;
    margin-right: 4px;
    opacity: 0.7;
}

.dept-detail-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    margin: 10px 0 14px;
}

.dept-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #5a5250;
    text-decoration: none;
    user-select: text;
    cursor: pointer;
}

.dept-contact-link i {
    font-size: 16px;
    color: #e3493d;
    opacity: 0.6;
}

.dept-contact-link:hover {
    color: #e3493d;
    text-decoration: underline;
}

.dept-contact-link:hover i {
    opacity: 1;
}

.dept-form-nudge {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #989595;
}

.dept-form-nudge a {
    color: #989595;
    text-decoration: underline;
}

.dept-form-nudge a:hover {
    color: #e3493d;
}

/* Mobile: tighter padding, panel content aligns full-width */
@media (max-width: 576px) {
    .dept-cat-toggle {
        padding: 18px;
        gap: 14px;
    }

    .dept-cat-icon {
        width: 42px;
        height: 42px;
    }

    .dept-cat-icon i {
        font-size: 20px;
    }

    .dept-cat-title {
        font-size: 16px;
    }

    .dept-cat-panel {
        padding: 0 18px 0 18px;
    }

    .dept-cat.is-open .dept-cat-panel {
        padding: 20px 18px 26px 18px;
    }

    .dept-detail-contact {
        gap: 4px 16px;
    }

    .dept-contact-address {
        font-size: 11px;
    }
}