/* professional_section.css */
.professional-section-container {
    max-width: 800px;
    margin: 0 auto; /* Keep this if you want it centered in its parent */
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif; /* Add font family here for component only */
    color: #333; /* Add base text color here for component only */
}

.professional-section-title {
    cursor: pointer;
    background-color: #0056b3;
    color: white;
    padding: 12px 15px;
    margin-bottom: 5px;
    border-radius: 5px;
    font-size: 1.2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.professional-section-title:hover {
    background-color: #004494;
}

.professional-section-title .professional-section-arrow {
    transition: transform 0.3s ease;
}

.professional-section-title.collapsed .professional-section-arrow {
    transform: rotate(-90deg);
}

.professional-section-options-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #e9ecef;
    border-radius: 5px;
    margin-bottom: 10px;
}
/* ORIGINAL
.professional-section-options-container.expanded {
    max-height: 500px;  /* 500px Adjust as needed to fit content */
    /*transition: max-height 0.4s ease-in;
}*/

.professional-section-options-container.expanded {
    max-height: none;
    overflow: visible;
}



.professional-section-options-list {
    list-style-type: none;
    padding: 10px 20px;
    margin: 0;
}

.professional-section-options-list li {
    padding: 8px 0;
    border-bottom: 1px solid #dee2e6;
}

.professional-section-options-list li:last-child {
    border-bottom: none;
}

.professional-section-options-list a {
    text-decoration: none;
    color: #0056b3;
    display: block;
}

.professional-section-options-list a:hover {
    text-decoration: underline;
}

.professional-section-subtitle {
    font-weight: bold;
    padding: 10px 20px 5px;
    color: #004494;
}