.wap-expert-single h1,
.wap-expert-single .h1,
.wap-expert-single h2,
.wap-expert-single .h2,
.wap-expert-single h3,
.wap-expert-single h3,
.wap-expert-single h4,
.wap-expert-single .h4,
.wap-expert-single h5,
.wap-expert-single .h5,
.wap-expert-single h6,
.wap-expert-single .h6 {
    font-family: 'Lora', sans-serif !important;
}

.wap-expert-single h1,
.wap-expert-single .h1 {
    font-size: 1.875rem !important;
}

.wap-expert-single .serif {
    font-family: 'Lora', sans-serif !important;
}

.wap-expert-details {
    font-family: 'Noto sans', sans-serif !important;
    color: #000 !important;
}



.wap-experts-container {
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* Location Filter within Standard Filters */
.wap-map-filter-group {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.wap-location-filter-compact {
    margin-top: 8px;
}

.wap-location-filter-row {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.wap-location-filter-field {
    flex: 1;
    min-width: 0;
}

.wap-location-filter-field input[type="text"],
.wap-location-filter-field select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
    height: 36px;
}

.wap-location-filter-field input[type="text"]:focus,
.wap-location-filter-field select:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.wap-location-filter-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.wap-location-filter-actions .button {
    padding: 8px 12px;
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.wap-location-filter-actions .button .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    margin: 0;
}

.wap-map-container {
    margin-bottom: 30px;
    background: #fff;
}

.wap-map-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.wap-experts-map {
    width: 100%;
    height: 400px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

@media (max-width: 999px) {
    .wap-experts-container {
        display: block;
    }

    .wap-location-filter-row {
        flex-wrap: wrap;
    }

    .wap-location-filter-field {
        flex: 1 1 auto;
        min-width: 120px;
    }

    .wap-experts-map {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .wap-location-filter-row {
        flex-direction: column;
    }

    .wap-location-filter-field {
        width: 100%;
    }

    .wap-location-filter-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .wap-experts-map {
        height: 280px;
    }
}

.wap-experts-container>.wap-filter-toggle-mobile {
    order: 1;
}

.wap-experts-filters-wrapper {
    order: 2;
}

.wap-experts-list-wrapper {
    order: 3;
}

@media (min-width: 1000px) {
    .wap-experts-container {
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 25px;
        align-items: start;
    }

    .wap-experts-filters-wrapper {
        top: 20px;
    }

    .wap-experts-list-wrapper {
        min-width: 0;
    }
}

/* Mobile Filter Toggle Button */
.wap-filter-toggle-mobile {
    display: none;
    background-color: #0d2f57;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    width: 100%;
    justify-content: center;
    max-width: 200px;
}

.wap-filter-toggle-mobile .dashicons {
    font-size: 20px;
}

.wap-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.wap-filters-header {
    display: none;
}

.wap-filter-close-mobile {
    display: none;
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
    font-size: 24px;
    line-height: 1;
}

.wap-filter-close-mobile:hover {
    color: #000;
}

/* Off-Canvas Overlay */
.wap-filter-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.wap-filter-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Experts Header */
.wap-experts-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 20px;
}

.wap-experts-count h2 {
    margin: 0 0 5px 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.wap-experts-count-text {
    margin: 0;
    font-size: 16px;
    color: #666;
}

.wap-experts-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wap-sort-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background: #fff;
    cursor: pointer;
}

.wap-name-search {
    min-width: 240px;
}

.wap-search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background: #fff;
}

.wap-search-input:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.wap-view-toggle {
    display: flex;
    display: none;
    gap: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.wap-view-btn {
    padding: 8px 12px;
    border: none;
    background: #fff;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wap-view-btn:hover {
    background: #f5f5f5;
}

.wap-view-btn.active {
    background: #2271b1;
    color: #fff;
}

.wap-view-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.wap-experts-list {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.wap-experts-list.list-view {
    grid-template-columns: 1fr;
}

.wap-experts-list.list-view .wap-expert-card {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.wap-experts-list.list-view .wap-expert-card img {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.wap-experts-list.list-view .wap-expert-card-content {
    flex: 1;
}

/* Pagination */
.wap-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding-top: 30px;
}

.wap-pagination-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.wap-pagination-btn:hover:not(:disabled) {
    background: #f5f5f5;
    border-color: #2271b1;
}

.wap-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wap-pagination-numbers {
    display: flex;
    gap: 5px;
}

.wap-pagination-number {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
}

.wap-pagination-number:hover {
    background: #f5f5f5;
    border-color: #2271b1;
}

.wap-pagination-number.active {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}

.wap-pagination-ellipsis {
    padding: 0 5px;
    color: #666;
}

.wap-expert-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.wap-expert-card-content {
    padding: 10px;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}


.wap-expert-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.wap-accordion-content {
    overflow: hidden;
    height: 0;
    transition: height 500ms ease;
  }
  
  .wap-accordion-item.active .wap-accordion-content {
    /* height wird per JS gesetzt */
  }
  
  /* optional: wenn du den Inhalt zusätzlich weich einblenden willst */
  .wap-accordion-content > * {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
    transition: opacity 250ms ease, transform 350ms ease;
  }
  .wap-accordion-item.active .wap-accordion-content > * {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  

.wap-expert-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* max-height: 180px; */
    max-height: 250px;
    border-radius: 4px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.wap-expert-card h3 {
    margin: 10px 0 5px;
    padding-bottom: 0;
    font-size: 1.2em;
}

.wap-expert-card .academic-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: normal;
}

.wap-expert-card .location {
    color: #000;
    margin-bottom: 15px;
}

.wap-expert-card .btn-more {
    background-color: #0d2f57;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.description.wap-location-country-hint,
.description.wap-group-selection-hint {
    font-size: 12px !important;
    background-color: #fff6c6;
    padding: 7px !important;
    color: #000;
}

.wap-expert-card .btn-more:hover {
    background-color: #feefa0;
    color: #0d2f57;
}

.wap-filter-section {
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.wap-filter-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 15px !important;
    font-weight: 600;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.wap-filter-group {
    margin-bottom: 10px;
}

.wap-filter-group select,
.wap-filter-group-selector select,
.wap-filter-options-container select,
.wap-filter-standard {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.wap-filter-group select:focus,
.wap-filter-group-selector select:focus,
.wap-filter-options-container select:focus,
.wap-filter-standard:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

/* Multi-Select Dropdown with Checkboxes */
.wap-multiselect-dropdown {
    position: relative;
    width: 100%;
}

.wap-multiselect-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    user-select: none;
}

.wap-multiselect-toggle:hover {
    border-color: #999;
}

.wap-multiselect-toggle .dashicons {
    font-size: 16px;
    color: #666;
    transition: transform 0.2s;
}

.wap-multiselect-dropdown.active .wap-multiselect-toggle .dashicons {
    transform: rotate(180deg);
}

.wap-multiselect-text {
    flex: 1;
    color: #333;
    font-size: 16px;
}

.wap-multiselect-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10003;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: -1px;
}

.wap-multiselect-dropdown.active .wap-multiselect-options {
    display: block;
}

.wap-checkbox-option {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.wap-checkbox-option:hover {
    background: #f5f5f5;
}

.wap-checkbox-option input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
}

.wap-checkbox-option span {
    flex: 1;
    font-size: 16px;
    color: #333;
}

.wap-filter-reset {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #ddd;
    position: sticky;
    bottom: 0;
    background: #fff;
    z-index: 10;
}

.wap-reset-filters {
    width: 100%;
    background: #dc3232;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}

.wap-reset-filters:hover {
    background: #c32323;
}

.wap-filter-group-selector {
    margin-bottom: 15px;
}

.wap-filter-options-container {
    margin-top: 10px;
}

.wap-filter-options-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

/* Frontend Expert Edit Page */
.wap-expert-edit-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wap-expert-edit-container h1 {
    margin-bottom: 30px;
}

.wap-expert-edit-container .form-table {
    width: 100%;
}

.wap-expert-edit-container .form-table th {
    width: 200px;
    padding: 15px 0;
    font-weight: 600;
}

.wap-expert-edit-container .form-table td {
    padding: 15px 0;
}

/* Compact form layout - 2 columns */
.wap-expert-edit-container .wap-compact-form {
    width: 100%;
}

.wap-expert-edit-container .wap-compact-form th {
    width: 15%;
    padding-right: 15px;
}

.wap-expert-edit-container .wap-compact-form td {
    width: 35%;
    padding-right: 15px;
}

.wap-expert-edit-container .wap-compact-form th:first-child,
.wap-expert-edit-container .wap-compact-form td:first-child {
    width: 15%;
}

.wap-expert-edit-container .wap-compact-form th:nth-child(3),
.wap-expert-edit-container .wap-compact-form td:nth-child(3) {
    width: 15%;
}

.wap-expert-edit-container .wap-compact-form th:nth-child(4),
.wap-expert-edit-container .wap-compact-form td:nth-child(4) {
    width: 35%;
}

.wap-expert-edit-container .wap-compact-form td[colspan="3"] {
    width: 85%;
}

.wap-expert-edit-container .wap-compact-form select[multiple] {
    width: 100%;
    min-width: 200px;
}

/* Two-column form layout */
.wap-expert-edit-container .wap-form-two-columns {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.wap-expert-edit-container .wap-form-left-column,
.wap-expert-edit-container .wap-form-right-column {
    flex: 1;
}

.wap-expert-edit-container .wap-form-left-column,
.wap-expert-edit-container .wap-form-right-column {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Form field structure with flexbox */
.wap-expert-edit-container .wap-form-field-group {
    margin-bottom: 20px;
}

.wap-expert-edit-container .wap-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wap-expert-edit-container .wap-form-field-row {
    flex-direction: row;
    gap: 15px;
    align-items: flex-start;
}

.wap-expert-edit-container .wap-form-field-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wap-expert-edit-container .wap-form-label {
    font-weight: 600;
    color: #23282d;
    font-size: 16px;
    line-height: 1.4;
}

.wap-expert-edit-container .wap-form-input {
    width: 100%;
}

.wap-expert-edit-container .wap-form-input input[type="text"],
.wap-expert-edit-container .wap-form-input input[type="email"],
.wap-expert-edit-container .wap-form-input input[type="url"],
.wap-expert-edit-container .wap-form-input select,
.wap-expert-edit-container .wap-form-field-item input[type="text"],
.wap-expert-edit-container .wap-form-field-item input[type="email"],
.wap-expert-edit-container .wap-form-field-item input[type="url"] {
    width: auto;
}

.wap-expert-edit-container .wap-checkbox-option-separator {
    border-top: 1px solid #eee;
    margin-top: 5px;
    padding-top: 5px;
}

.wap-expert-edit-container .wap-languages-other-input {
    margin-top: 5px;
    margin-left: 25px;
}

/* Image upload styles */
.wap-expert-edit-container .wap-image-preview {
    margin-bottom: 10px;
    border: 2px dashed #ddd;
    padding: 20px;
    text-align: center;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 4px;
}

.wap-expert-edit-container .wap-image-preview img {
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wap-expert-edit-container .wap-image-preview .dashicons {
    font-size: 48px;
    color: #ccc;
}

/* Custom Fields Container */
.wap-expert-edit-container .wap-custom-fields-container {
    margin-top: 20px;
}

.wap-expert-edit-container .wap-custom-field-section {
    background: #fff;
    border: 1px dashed #ccc;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.wap-expert-edit-container .wap-custom-field-section-title {
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ddd;
    color: #23282d;
    font-size: 16px;
    font-weight: 600;
}

.wap-expert-edit-container .wap-custom-field-section .wap-form-field-group {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e5e5e5;
}

.wap-expert-edit-container .wap-custom-field-section .wap-form-field-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.wap-expert-edit-container .wap-image-actions {
    display: flex;
    gap: 10px;
}

/* Responsive adjustments */
@media (max-width: 782px) {
    .wap-expert-edit-container .wap-form-two-columns {
        flex-direction: column;
        gap: 20px;
    }

    .wap-expert-edit-container .wap-form-field-row {
        flex-direction: column;
        gap: 15px;
    }
}

.wap-notice {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.wap-notice-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.wap-filter-group {
    margin-bottom: 15px;
}

.wap-filter-group:last-child {
    margin-bottom: 0;
}

.wap-filter-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #555;
}

/* Expert Detail Page */
.wap-expert-details {
    margin: 0 auto;
}

/* Breadcrumb */
.wap-expert-breadcrumb {
    font-size: 14px;
    color: #000;
    width: 80%;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 1rem;
}

.wap-expert-breadcrumb a {
    color: #0d2f57;
    text-decoration: none;
}

.wap-expert-breadcrumb a:hover {
    text-decoration: underline;
}

/* Header Section with Yellow Background - Full Width */
.wap-expert-details-header-wrapper {
    background-color: #feefa0;
    width: 100%;
    margin-bottom: 30px;
}

.wap-expert-details-header {
    max-width: 1500px;
    width: 80%;
    margin: 0 auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: flex;
    gap: 90px;
    align-items: flex-start;
}

.wap-expert-details-image {
    width: auto;
}

.wap-expert-details-image img {
    width: 400px;
    height: 400px;
    object-fit: cover;
}

.wap-expert-details-header-content {
    flex: 1;
}

.wap-expert-details-header h1 {
    color: #000;
    font-weight: 600;
    padding: 0;
    margin: 0;
}

.wap-expert-details-header .academic-title {
    margin: 0 0 10px 0;
    font-size: 14px !important;
    font-weight: 300;
}

.wap-expert-meta-item-label{
    margin: 0 !important;
    padding: 0 !important;
    font-size: 16px;
    color: #000;
    font-weight: 600;
    font-family: 'Geologica', sans-serif;
    line-height: normal;
}

.wap-expert-principle {
    font-family: 'Lora', sans-serif;
    color: #000;
    font-size: 20px !important;
    font-style: italic;
}

.wap-expert-header-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 20px;
}

.wap-expert-meta-item {
    position: relative;
    padding: 12px 0px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid #000;
}

.wap-expert-meta-item:nth-child(even) {
    margin-left: 16px;
}

.wap-expert-meta-item:nth-child(5),
.wap-expert-meta-item:nth-child(6) {
    border-bottom: none;
}

.wap-expert-meta-item:nth-child(odd) {
    margin-right: 16px;
}

.wap-expert-meta-item:nth-child(odd)::after {
    content: "";
    position: absolute;
    top: 0;
    right: -16px;
    width: 1px;
    height: 101%;
    background: #000;
}

.wap-expert-meta-item:nth-child(5),
.wap-expert-meta-item:nth-child(6) {
    border-bottom: none;
}

.wap-expert-meta-item {
    display: flex;
    flex-direction: column;
}

.wap-expert-meta-item strong {
    font-size: 16px;
    color: #000;
    font-weight: 600;
    font-family: 'Geologica', sans-serif;
    line-height: normal;
}

.wap-expert-meta-item span {
    font-size: 16px;
}

.wap-expert-meta-item a {
    color: #000;
    text-decoration: none;
}

.wap-expert-meta-item a:hover {
    color: #0d2f57;
    text-decoration: underline;
}

.wap-social-media-inline {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.wap-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #0d2f57;
    text-decoration: none;
}

.wap-social-icon:hover {
    opacity: 0.7;
}

.wap-social-icon .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Two Column Layout */
.wap-expert-details-columns {
    max-width: 1500px;
    width: 80%;
    margin: 0 auto;
    display: flex;
    gap: 90px;
    align-items: flex-start;
    padding-bottom: 5%;
}

.wap-expert-details-left > .wap-expert-field:last-child {
    border-bottom: none;
}

/* Left Column (White) */
.wap-expert-details-left {
    flex: 1;
    max-width: 400px;
    border-right: 1px solid #000;
    padding-right: 1rem;
}

/* Right Column (White) */
.wap-expert-details-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    font-size: 16px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 300;
}

/* Field Group Styling */
.wap-expert-field-group {
    margin-bottom: 0;
}

.wap-expert-field-group:last-child {
    margin-bottom: 0;
}

/* Field Styling */
.wap-expert-field {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #000;
}


.wap-expert-field strong {
    font-size: 14px !important;
    font-weight: 400;
    font-family: 'Lora', sans-serif;
}

.wap-expert-field * {
    font-size: 20px !important;
}

.wap-expert-field ul {
    margin: 5px 0 0 0;
    padding-left: 0;
    list-style-type: none;
}

.wap-expert-field ul li {
    margin-bottom: 5px;
}

.wap-expert-sub-field {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #000;
}

.wap-expert-sub-field strong {
    font-size: 16px;
    margin-bottom: 5px;
}

/* Expertise Section with Accordions */
.wap-expert-expertise {
    margin-bottom: 0;
}

.wap-expert-details-right h3 {
    font-size: 20px !important;
    font-weight: 500;
}

h3.wap-expert-field-right-column-label{
    font-family: 'Noto Sans', sans-serif !important;
}

.wap-expert-field-right-column-content p{
    font-size: 1rem;
}

.wap-expertise-accordions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wap-accordion-item {
    overflow: hidden;
    padding: 7px 0;
}

.wap-accordion-header {
    width: 100%;
    padding: 0;
    background-color: transparent !important;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 500;
    transition: background-color 0.2s;
    font-family: 'Noto Sans', sans-serif;
}

.wap-accordion-header:hover {
    background-color: #f9f9f9;
}

.wap-accordion-item.active .wap-accordion-header {
    background-color: #f5f5f5;
}

.wap-accordion-icon {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.3s;
}

.wap-accordion-icon::before,
.wap-accordion-icon::after {
    content: '';
    position: absolute;
    background-color: #0d2f57;
    transition: transform 0.3s;
}

.wap-accordion-icon::before {
    width: 12px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wap-accordion-icon::after {
    width: 2px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wap-accordion-item.active .wap-accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.wap-accordion-content {
    display: none;
    padding: 15px 10px 0;
}

.wap-accordion-content ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
}

.wap-accordion-content ul li {
    margin-bottom: 8px;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .wap-expert-details-header{
        flex-direction: column;
        gap: 40px;
    }

    .wap-expert-details-columns{
        gap: 40px;
    }

    .wap-expert-details-header-content{
        width: 100%;
    }
}

/* Mobile Styles */
@media (max-width: 999px) {
    .wap-filter-toggle-mobile {
        display: flex;
    }

    .wap-experts-container {
        display: block;
        padding: 0;
    }

    .wap-experts-filters-wrapper {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .wap-experts-filters-wrapper.active {
        opacity: 1;
        visibility: visible;
    }

    .wap-experts-filters {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: #fff;
        z-index: 10002;
        padding: 20px;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
        transition: left 0.3s ease;
    }

    .wap-experts-filters.active {
        left: 0;
    }

    .wap-filter-close-mobile,
    .wap-filters-header {
        display: block;
    }

    .wap-filters-header h2 {
        margin: 0;
    }

    .wap-experts-list-wrapper {
        width: 100%;
    }

    .wap-expert-header-meta{
        grid-template-columns: 1fr;
    }

    .wap-expert-meta-item:nth-child(odd){
        margin-right: 0;
    }

    .wap-expert-meta-item:nth-child(even){
        margin-left: 0;
    }

    .wap-expert-meta-item:nth-child(odd)::after{
        display: none;
    }

    .wap-expert-details-columns{
        gap: 20px;
        flex-direction: column;
    }

    .wap-expert-details-left{
        max-width: 100%;
        border-right: none;
        border-bottom: 1px solid #000;
        width: 100%;
    }

    .wap-expert-field{
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    .wap-expert-details-right{
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .wap-expert-details-header {
        flex-direction: column;
        gap: 20px;

    }

    .wap-expert-details-image img {
        width: 100%;
        height: 100%;
        max-height: 500px;
    }

    .wap-expert-details-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .wap-expert-header-meta {
        grid-template-columns: 1fr;
    }

    .wap-expert-details {
        grid-template-columns: 1fr;
    }

    .wap-experts-list {
        grid-template-columns: 1fr;
    }

    .wap-experts-header {
        flex-direction: row;
        align-items: baseline;
    }

    .wap-experts-controls {
        width: auto;
        justify-content: space-between;
    }

    .wap-name-search {
        min-width: 180px;
    }

    .wap-map-container {
        margin-bottom: 20px;
        padding: 0;
    }

    .wap-experts-map {
        height: 300px;
    }

    .wap-pagination {
        flex-wrap: wrap;
    }

    .wap-pagination-numbers {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
}