/* ==========================================================================
   ✨ SPM MODERN SEARCH & FILTER STYLESHEET
   (Mobile Responsive, Luxury Crimson Palette & Clean Typography)
   ========================================================================== */

/* 1. Header Hero for Filter Search */
.spm-filter-hero {
    background: linear-gradient(135deg, #fff1f2 0%, #ffffff 50%, #fffbeb 100%);
    padding: 44px 0 36px;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.spm-filter-hero::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.spm-filter-hero::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.spm-filter-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffe4e6;
    color: #e11d48;
    border: 1px solid rgba(225, 29, 72, 0.2);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

.spm-filter-hero-title {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.spm-filter-hero-title span {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.spm-filter-hero-desc {
    font-size: 14.5px;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 2. Main Search Card Container */
.spm-search-card-wrapper {
    margin-top: -24px;
    position: relative;
    z-index: 10;
}

.spm-search-box-card {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(225, 29, 72, 0.14);
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
    padding: 28px 26px;
    transition: all 0.3s ease;
}

/* Tab Navigation Header */
.spm-search-tabs-nav {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 6px;
    margin-bottom: 24px;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}
.spm-search-tabs-nav::-webkit-scrollbar {
    display: none;
}

.spm-tab-btn {
    flex: 1;
    min-width: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.spm-tab-btn i {
    font-size: 14px;
    color: #64748b;
    transition: all 0.2s ease;
}

.spm-tab-btn:hover {
    color: #e11d48;
    background: rgba(255, 241, 242, 0.7);
}

.spm-tab-btn.active {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
}

.spm-tab-btn.active i {
    color: #ffffff;
}

.spm-tab-pane {
    display: none;
    animation: spmFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.spm-tab-pane.active {
    display: block;
}

@keyframes spmFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spm-search-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 10px;
}

.spm-search-card-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spm-search-card-title i {
    color: #e11d48;
}

.spm-search-verified-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
}

/* Form Section Subheader */
.spm-form-section-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #be123c;
    background: #fff1f2;
    padding: 6px 14px;
    border-radius: 8px;
    margin: 16px 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-left: 3px solid #e11d48;
}

/* 3. Form Input Field Wrappers */
.spm-search-field-group {
    margin-bottom: 12px;
}

.spm-search-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.spm-search-label i {
    font-size: 13px;
    color: #e11d48;
}

.spm-search-select-wrap,
.spm-search-input-wrap {
    position: relative;
    width: 100%;
}

.spm-search-select,
.spm-search-input {
    width: 100%;
    height: 46px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    padding: 8px 14px;
    outline: none;
    transition: all 0.2s ease;
}

.spm-search-select {
    cursor: pointer;
}

.spm-search-select:focus,
.spm-search-input:focus {
    background: #ffffff;
    border-color: #e11d48;
    box-shadow: 0 0 0 3.5px rgba(225, 29, 72, 0.12);
}

/* Checkbox Toggle Switch & Custom Checkboxes */
.spm-checkbox-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    margin-bottom: 6px;
}

.spm-checkbox-card:hover {
    border-color: #fecdd3;
    background: #fff1f2;
}

.spm-checkbox-card input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #e11d48;
    cursor: pointer;
}

.spm-checkbox-label {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    cursor: pointer;
}

/* Profile ID Search Box */
.spm-id-search-box {
    max-width: 600px;
    margin: 10px auto;
    text-align: center;
}

.spm-id-input-group {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    padding: 4px 6px 4px 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
}

.spm-id-input-group:focus-within {
    border-color: #e11d48;
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.18);
}

.spm-id-input-group input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    background: transparent;
    padding: 8px 0;
}

.spm-id-input-group button {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.spm-id-input-group button:hover {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    transform: scale(1.02);
}

/* Keyword Search Box */
.spm-keyword-input-wrap {
    position: relative;
    max-width: 650px;
    margin: 0 auto;
}

.spm-keyword-tags-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.spm-keyword-hint-badge {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.spm-keyword-hint-badge:hover {
    background: #ffe4e6;
    color: #e11d48;
    border-color: #fecdd3;
}

/* 4. Action Button */
.spm-search-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 420px;
    height: 48px;
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    border: none;
    border-radius: 25px;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.32);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.spm-search-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(225, 29, 72, 0.42);
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: #ffffff;
}

/* 5. Quick Filter Shortcuts */
.spm-quick-shortcuts-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px dashed #e2e8f0;
}

.spm-quick-shortcuts-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #64748b;
    margin-right: 4px;
}

.spm-quick-shortcut-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.spm-quick-shortcut-pill:hover {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #e11d48;
    transform: translateY(-1px);
}

/* 6. Popular Category Grid */
.spm-category-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
    text-decoration: none;
    display: block;
    height: 100%;
}

.spm-category-card:hover {
    border-color: #fecdd3;
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.1);
    transform: translateY(-3px);
}

.spm-category-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.spm-cat-bride {
    background: #fff1f2;
    color: #e11d48;
}

.spm-cat-groom {
    background: #eff6ff;
    color: #2563eb;
}

.spm-cat-govt {
    background: #ecfeff;
    color: #0891b2;
}

.spm-cat-edu {
    background: #f5f3ff;
    color: #7c3aed;
}

.spm-cat-manglik {
    background: #fdf2f8;
    color: #db2777;
}

.spm-cat-remarriage {
    background: #fefce8;
    color: #ca8a04;
}

.spm-cat-verified {
    background: #ecfdf5;
    color: #059669;
}

.spm-cat-photo {
    background: #fff7ed;
    color: #ea580c;
}

.spm-category-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
}

.spm-category-desc {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

/* State Directory Grid / Pills */
.spm-state-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #1e293b;
    padding: 8px 16px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.spm-state-pill:hover {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #e11d48;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.1);
}

.spm-state-pill i {
    color: #e11d48;
}

/* 7. Trust Feature Items */
.spm-trust-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 18px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    height: 100%;
}

.spm-trust-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff1f2;
    color: #e11d48;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.spm-trust-card-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
}

.spm-trust-card-desc {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* 8. Search Results & Summary (profile_list_post_search) */
.spm-search-header-hero {
    background: linear-gradient(135deg, #fff1f2 0%, #ffffff 50%, #fffbeb 100%);
    padding: 36px 0 28px;
    border-bottom: 1px solid #f1f5f9;
}

.spm-filter-summary-bar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.spm-filter-chips-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.spm-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff1f2;
    border: 1px solid #ffe4e6;
    color: #e11d48;
    font-size: 12.5px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
}

.spm-filter-chip i {
    font-size: 11px;
}

.spm-empty-state-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px 20px;
    text-align: center;
    border: 1px dashed #cbd5e1;
    margin: 30px auto;
    max-width: 560px;
}

.spm-empty-state-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff1f2;
    color: #e11d48;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.spm-empty-state-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.spm-empty-state-desc {
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.5;
}

.spm-end-state-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 44px 24px;
    text-align: center;
    border: 1.5px dashed #86efac;
    margin: 30px auto;
    max-width: 560px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.spm-end-state-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981 0%, #059669 50%, #047857 100%);
}

.spm-end-state-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15);
}

.spm-end-state-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.spm-end-state-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 22px;
}

/* 9. Mobile Responsiveness (< 768px & < 576px) */
@media screen and (max-width: 767.98px) {
    /* Hero Header */
    .spm-filter-hero {
        padding: 24px 0 20px !important;
    }

    .spm-filter-hero-badge {
        font-size: 11px !important;
        padding: 4px 12px !important;
        margin-bottom: 10px !important;
        max-width: 92% !important;
        white-space: normal !important;
        text-align: center !important;
        line-height: 1.35 !important;
    }

    .spm-filter-hero-title {
        font-size: 20px !important;
        line-height: 1.35 !important;
        margin-bottom: 8px !important;
        padding: 0 10px !important;
    }

    .spm-filter-hero-title span {
        display: block !important;
        font-size: 13.5px !important;
        font-weight: 600 !important;
        margin-top: 3px !important;
    }

    .spm-filter-hero-desc {
        font-size: 12.5px !important;
        line-height: 1.5 !important;
        padding: 0 12px !important;
    }

    /* Main Search Box */
    .spm-search-card-wrapper {
        margin-top: -12px !important;
    }

    .spm-search-box-card {
        padding: 16px 12px !important;
        border-radius: 16px !important;
    }

    /* Tab Switcher - 2x2 grid on mobile screens so all 4 tabs are 100% visible */
    .spm-search-tabs-nav {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
        padding: 5px !important;
        border-radius: 14px !important;
        margin-bottom: 16px !important;
    }

    .spm-tab-btn {
        width: 100% !important;
        min-width: 0 !important;
        padding: 8px 6px !important;
        font-size: 11.5px !important;
        border-radius: 10px !important;
        text-align: center !important;
        justify-content: center !important;
        gap: 5px !important;
    }

    .spm-tab-btn i {
        font-size: 12px !important;
    }

    /* Card Header */
    .spm-search-card-header {
        padding-bottom: 12px !important;
        margin-bottom: 14px !important;
        gap: 8px !important;
    }

    .spm-search-card-title {
        font-size: 14.5px !important;
        gap: 6px !important;
    }

    .spm-search-verified-tag {
        font-size: 10.5px !important;
        padding: 3px 8px !important;
    }

    /* Form Fields & Inputs */
    .spm-search-field-group {
        margin-bottom: 10px !important;
    }

    .spm-search-label {
        font-size: 12px !important;
        margin-bottom: 4px !important;
        gap: 5px !important;
    }

    .spm-search-label i {
        font-size: 12px !important;
    }

    .spm-search-select,
    .spm-search-input {
        height: 42px !important;
        font-size: 13px !important;
        padding: 6px 12px !important;
        border-radius: 10px !important;
    }

    /* Advanced Search Section Titles */
    .spm-form-section-title {
        font-size: 12px !important;
        padding: 6px 10px !important;
        border-radius: 8px !important;
        margin: 12px 0 8px !important;
        width: 100% !important;
        display: flex !important;
    }

    /* Checkbox Cards */
    .spm-checkbox-card {
        padding: 8px 10px !important;
        border-radius: 10px !important;
        gap: 8px !important;
    }

    .spm-checkbox-label {
        font-size: 11.5px !important;
        line-height: 1.3 !important;
    }

    .spm-checkbox-card input[type="checkbox"] {
        width: 16px !important;
        height: 16px !important;
    }

    /* Submit Button */
    .spm-search-btn-submit {
        width: 100% !important;
        max-width: 100% !important;
        height: 44px !important;
        font-size: 13.5px !important;
        border-radius: 22px !important;
        margin-top: 6px !important;
    }

    /* Tab 3 & 4 ID & Keyword Input Groups */
    .spm-id-search-box {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    .spm-id-input-group {
        padding: 3px 4px 3px 12px !important;
        border-radius: 25px !important;
    }

    .spm-id-input-group i {
        font-size: 14px !important;
    }

    .spm-id-input-group input {
        font-size: 12.5px !important;
        padding: 6px 4px !important;
        min-width: 0 !important;
    }

    .spm-id-input-group input::placeholder {
        text-overflow: ellipsis;
        font-size: 12px !important;
    }

    .spm-id-input-group button {
        flex-shrink: 0 !important;
        padding: 8px 14px !important;
        font-size: 12.5px !important;
        border-radius: 20px !important;
        white-space: nowrap !important;
    }

    .spm-keyword-tags-hint {
        gap: 5px !important;
        margin-top: 12px !important;
    }

    .spm-keyword-hint-badge {
        padding: 3px 8px !important;
        font-size: 11px !important;
    }

    /* Quick Shortcuts */
    .spm-quick-shortcuts-wrap {
        margin-top: 14px !important;
        padding-top: 12px !important;
        gap: 5px !important;
    }

    .spm-quick-shortcuts-label {
        font-size: 11.5px !important;
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 4px !important;
    }

    .spm-quick-shortcut-pill {
        font-size: 11px !important;
        padding: 4px 9px !important;
        border-radius: 16px !important;
    }

    /* Specialized Channels (8 Category Cards) */
    .spm-category-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px 6px !important;
        border-radius: 14px !important;
        height: 100% !important;
        min-height: 130px !important;
    }

    .spm-category-icon-box {
        width: 38px !important;
        height: 38px !important;
        font-size: 16px !important;
        margin-bottom: 6px !important;
        border-radius: 10px !important;
    }

    .spm-category-title {
        font-size: 12px !important;
        line-height: 1.3 !important;
        margin-bottom: 2px !important;
        font-weight: 700 !important;
    }

    .spm-category-desc {
        font-size: 10px !important;
        line-height: 1.3 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-align: center !important;
    }

    /* State Directory Pills */
    .spm-state-pill {
        padding: 5px 10px !important;
        font-size: 11.5px !important;
        border-radius: 12px !important;
        gap: 4px !important;
    }

    /* Why Search / Trust Cards */
    .spm-trust-card {
        padding: 12px 12px !important;
        border-radius: 14px !important;
        gap: 10px !important;
    }

    .spm-trust-card-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 15px !important;
        border-radius: 10px !important;
    }

    .spm-trust-card-title {
        font-size: 13px !important;
        margin-bottom: 2px !important;
    }

    .spm-trust-card-desc {
        font-size: 11.5px !important;
        line-height: 1.45 !important;
    }

    /* Section Tight Spacing */
    section.py-5 {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }
}

/* Extra Compact (< 400px e.g. iPhone SE, Galaxy Fold outer) */
@media screen and (max-width: 400px) {
    .spm-filter-hero-title {
        font-size: 18.5px !important;
    }

    .spm-tab-btn {
        font-size: 10.5px !important;
        padding: 7px 4px !important;
    }

    .spm-category-title {
        font-size: 11.5px !important;
    }

    .spm-category-icon-box {
        width: 34px !important;
        height: 34px !important;
        font-size: 14px !important;
    }
}

/* ===================================================
   🌟 10. LOCATION SEO LANDING PAGES (State / District / City)
   =================================================== */
.spm-location-hero {
    position: relative;
    background: linear-gradient(135deg, #1e1b4b 0%, #311042 50%, #4c0519 100%);
    padding: 42px 0 36px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spm-location-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(244, 63, 94, 0.2);
    border: 1px solid rgba(244, 63, 94, 0.4);
    color: #fecdd3;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.spm-location-hero-title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.spm-location-hero-title span {
    color: #fb7185;
}

.spm-location-hero-desc {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 820px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Location Sub-Filter Bar */
.spm-location-subfilter-bar {
    background: #ffffff;
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.spm-subfilter-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.spm-subfilter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.spm-subfilter-pill:hover {
    background: #ffe4e6;
    border-color: #fecdd3;
    color: #e11d48;
}

.spm-subfilter-pill.active {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    border-color: #be123c;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.28);
}

/* District Pills Grid */
.spm-district-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.spm-district-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    color: #334155;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.spm-district-pill:hover {
    background: #fff1f2;
    color: #e11d48;
    border-color: #fda4af;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.12);
}

.spm-district-pill i {
    color: #e11d48;
    font-size: 11px;
}

/* SEO Content & Accordion */
.spm-seo-content-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.spm-seo-content-box h2 {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 14px;
}

.spm-seo-content-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: #334155;
    margin-top: 18px;
    margin-bottom: 8px;
}

.spm-seo-content-box p,
.spm-seo-content-box li {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
}

.spm-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #f8fafc;
}

.spm-faq-question {
    padding: 14px 18px;
    font-size: 14.5px;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background 0.2s ease;
}

.spm-faq-question:hover {
    background: #f1f5f9;
}

.spm-faq-answer {
    padding: 0 18px 14px;
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
    display: none;
}

.spm-faq-item.open .spm-faq-answer {
    display: block;
}

.spm-faq-item.open .spm-faq-question {
    background: #fff1f2;
    color: #be123c;
}

.spm-faq-item.open .spm-faq-question i {
    transform: rotate(180deg);
}

