/* Custom CSS for Social Enterprise Page & Frontend Elements */

.enterprise-card-body .description-text {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    line-height: 22px;
    color: #3D1810;
    margin-bottom: 15px;
}

.enterprise-card-body .meta-details {
    margin-bottom: 15px;
}

.enterprise-card-body .meta-item {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    line-height: 22px;
    color: #3D1810;
    margin-bottom: 4px;
}

.enterprise-card-body .meta-item b {
    font-weight: 700;
    font-size: 15px;
}

.enterprise-card-body .card-section {
    margin-top: 12px;
}

.enterprise-card-body .card-section h3 {
    font-family: "Neuton", serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 25px;
    color: #3D1810;
    margin-top: 10px;
    margin-bottom: 6px;
}

.enterprise-card-body .card-section h3.section-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    user-select: none;
    transition: color 0.2s ease;
}

.enterprise-card-body .card-section h3.section-toggle:hover {
    color: #005745;
}

.enterprise-card-body .card-section .toggle-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 8px;
}

.enterprise-card-body .card-section.active .toggle-icon {
    transform: rotate(180deg);
}

.enterprise-card-body .card-section .section-content {
    overflow: hidden;
}

.enterprise-card-body .card-section ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.enterprise-card-body .card-section ul li {
    font-family: "Lato", serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 21px;
    color: #3D1810;
    margin-bottom: 6px;
    list-style-type: disc;
}

.resources-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.filter-tags {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #ddb545;
    padding: 10px 15px;
    border-radius: 60px;
}

.filter-tags.have-select {
    gap: 10px;
    max-width: 518px;
}

.filter-tags select {
    width: 250px;
    background: transparent;
    border: none;
}

.fl-btn {
    background: #005745;
    color: #fff;
    padding: 12px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.resources-search {
    width: 500px;
}

.resources-search .input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #005745;
    border-radius: 50px;
    overflow: hidden;
    background: #f2e9db;
}

.resources-search .icon {
    padding-left: 18px;
    display: flex;
    align-items: center;
}

.resources-search input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 14px 15px;
    font-size: 16px;
}

.resources-search button {
    border-radius: 50px;
    min-width: 120px;
}

/* Select2 Presentation Layer Layout Settings */
.select2-container {
    width: 160px !important;
}

.select2-container--default .select2-selection--single {
    height: 30px !important;
    border: none !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 30px !important;
    padding-left: 10px !important;
    padding-right: 30px !important;
    color: #2b2118 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 30px !important;
    right: 5px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #2b2118 transparent transparent transparent !important;
    border-width: 6px 5px 0 5px !important;
}

/* Search Engine Dropdown Panel Box Formatting Overrides */
.select2-dropdown {
    background-color: #ffffff !important;
    border: 1px solid #005745 !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
    z-index: 9999999 !important;
    padding: 8px !important;
    min-width: 320px !important;
}

.select2-search--dropdown {
    padding: 4px 4px 8px 4px !important;
}

.select2-search--dropdown .select2-search__field {
    border: 1px solid #005745 !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    background-color: #fdfbf7 !important;
    outline: none !important;
    width: 100% !important;
}

.select2-results__options {
    max-height: 240px !important;
}

.select2-results__option {
    padding: 8px 12px !important;
    font-size: 14px !important;
    color: #2b2118 !important;
    border-radius: 6px !important;
    line-height: 1.4 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #005745 !important;
    color: #ffffff !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #ddb545 !important;
    color: #2b2118 !important;
}

@media(max-width: 991px) {
    .resources-filter {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-tags {
        flex-wrap: wrap;
        border-radius: 30px;
    }
    .resources-search {
        width: 100%;
    }
    .select2-container {
        width: 100% !important;
    }
}
