.our-location-expert {
    padding: 80px 0;
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
}

.location-expert-header {
    margin-bottom: 28px;
}

.header-text-group {
    margin: 0;
    text-align: left;
}

.location-expert-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 8px;
    text-align: center;
}

.location-expert-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #666;
    max-width: 600px;
    line-height: 1.6;
    margin: 0 auto;
}

/* Simplified filters */
.location-filters {
    max-width: 780px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 auto 2rem;
    align-items: end;
    position: relative;
    z-index: 20;
}

.location-filters--single {
    max-width: 380px;
    grid-template-columns: minmax(0, 1fr);
}

.location-filter {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.location-filter__label {
    margin: 0;
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.location-filter__selectWrap {
    min-height: 64px;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.04);
}

.location-filter__selectWrap {
    position: relative;
    display: flex;
    align-items: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.location-filter__selectWrap:focus-within {
    border-color: rgba(22, 138, 64, 0.24);
    box-shadow: 0 18px 38px rgba(22, 138, 64, 0.08);
}

.location-filter__icon,
.location-filter__chevron {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 0.95rem;
    z-index: 1;
}

.location-filter__icon {
    left: 1rem;
}

.location-filter__chevron {
    right: 1rem;
}

.location-filter__select {
    appearance: none;
    width: 100%;
    min-height: 64px;
    padding: 0 2.9rem 0 2.9rem;
    border: none;
    background: transparent;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    z-index: 10;
    -webkit-user-select: auto !important;
    user-select: auto !important;
    height: 64px;
}

.location-filter__select:focus {
    outline: none;
}

/* Slider Container */
.expert-slider-container {
    position: relative;
    overflow: visible;
}

.expert-fallback-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.expert-location-swiper {
    padding-bottom: 3rem !important;
}

.expert-location-swiper .swiper-pagination {
    position: static !important;
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.expert-location-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 !important;
    background: rgba(15, 23, 42, 0.18);
    opacity: 1;
    transition: width 0.28s ease, background-color 0.28s ease, transform 0.28s ease;
}

.expert-location-swiper .swiper-pagination-bullet:hover {
    transform: translateY(-1px);
    background: rgba(22, 138, 64, 0.48);
}

.expert-location-swiper .swiper-pagination-bullet-active {
    width: 34px;
    border-radius: 999px;
    background: var(--color-primary);
}

.expert-swiper-slide {
    height: auto !important;
    display: flex !important;
}

/* Empty State */
.empty-city-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #f9fafb;
    border-radius: 20px;
    color: #9ca3af;
    border: 2px dashed #e5e7eb;
    width: 100%;
}

.empty-city-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Card Expert Design */
.expert-card {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    border: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.expert-card:hover {
    transform: translateY(-8px);
    box-shadow: none;
    border-color: transparent;
}

.expert-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 15px;
}

.expert-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    border-radius: 15px;
}

.expert-card:hover .expert-card-image img {
    transform: scale(1.1);
}

.expert-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    color: #168a40;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-transform: uppercase;
    border: 1px solid rgba(22, 138, 64, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.expert-card-badge i {
    font-size: 14px;
    color: #168a40;
}

.expert-card:hover .expert-card-badge {
    background: #168a40;
    color: white;
    border-color: #168a40;
}

.expert-card:hover .expert-card-badge i {
    color: white;
}

.expert-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
}

.expert-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.expert-card-main {
    flex: 1;
}

.expert-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.expert-card-address {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.expert-card-address i {
    color: #168a40;
    margin-top: 3px;
    flex-shrink: 0;
}

.expert-card-address__lines {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.expert-card-address__line {
    display: block;
}

.expert-card-footer {
    padding-top: 0;
    border-top: none;
    margin-top: auto;
}

.expert-cta-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0;
    border: none;
    background: transparent;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: gap 0.28s ease, color 0.28s ease;
}

.expert-cta-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.16rem;
    height: 1.5px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.28s ease;
}

.expert-cta-link i {
    color: #1a1a1a;
    transition: transform 0.28s ease;
}

.expert-card:hover .expert-cta-link {
    gap: 0.6rem;
    color: #1fac52;
    text-decoration: none;
}

.expert-card:hover .expert-cta-link::after {
    transform: scaleX(1);
}

.expert-card:hover .expert-cta-link i {
    color: #1fac52;
    transform: translateX(3px);
}

/* Loading Skeleton */
.expert-loading {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.skeleton-expert-card {
    height: 440px;
    background: #f8f9fa;
    border-radius: 20px;
    animation: skeleton-pulse 1.5s infinite;
}

@keyframes skeleton-pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

@media (max-width: 1024px) {
    .expert-fallback-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .expert-loading {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .location-expert-header {
        margin-bottom: 24px;
    }

    .expert-loading {
        grid-template-columns: repeat(2, 1fr);
    }
    .location-expert-title {
        font-size: 2rem;
    }
    .our-location-expert {
        padding: 60px 0;
    }

    .location-filters {
        grid-template-columns: 1fr;
        gap: 0.9rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .expert-fallback-grid {
        grid-template-columns: 1fr;
    }

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