/*
Theme Name: Hindutva Profiles
Theme URI: https://wpastra.com/
Theme URI: https://yourwebsite.com/
Description: Child theme for Astra.
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 6,000+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Template: astra
Version: 4.13.5
Text Domain: astra-child
*/

/* Add your custom CSS below */

/* ==========================================================================
   TABLE OF CONTENTS
   ==========================================================================
   PART 1: BASE MODULE STYLES (PARENT-SCOPED HIERARCHY)
     0. ROOT & GLOBAL STYLES
     1. FEATURED PROFILES SLIDER (.featured-profiles-slider)
     2. HOMEPAGE PROFILES DIRECTORY (.profiles-directory)
     3. CONTACT FORM (.st-contact-form)
     4. SUBMIT PROFILE FORM (.submit-profile-form & Custom Dropdowns)
     5. SINGLE PROFILE DETAILS PAGE (.single-profile-container)
     6. ALL PROFILES DIRECTORY (.all-profiles-directory)
     7. NEWSLETTER SUBSCRIPTION (.st-newsletter)
     8. ARCHIVE PAGE REDESIGN (.archive-extraordinary-container)

   PART 2: RESPONSIVE MEDIA QUERIES (CONSOLIDATED AT THE BOTTOM)
     - Breakpoint: 1280px
     - Breakpoint: 1200px
     - Breakpoint: 1024px
     - Breakpoint: 991px
     - Breakpoint: 768px
     - Breakpoint: 767px
     - Breakpoint: 650px
     - Breakpoint: 640px
     - Breakpoint: 500px
     - Breakpoint: 480px
   ========================================================================== */


/* ==========================================================================
   PART 1: BASE MODULE STYLES (PARENT-SCOPED HIERARCHY)
   ========================================================================== */

/* ==========================================================================
   0. ROOT & GLOBAL STYLES
   ========================================================================== */
:root {
    --primary: #fc5404;
    --primary-hover: #e04400;
    --primary-light: #fff3ec;
    --primary-glow: rgba(252, 84, 4, 0.2);
    --black: #0f172a;
    --white: #ffffff;
    --border: #e2e8f0;
    --text: #475569;
    --text-muted: #64748b;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 10px 30px -5px rgba(15, 23, 42, 0.06);
    --shadow-hover: 0 20px 40px -8px rgba(252, 84, 4, 0.14), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
}

/* Global Animations & Helpers */
@keyframes profileFade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes profileFormFadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.loading {
    position: relative;
    min-height: 300px;
}

.loading::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    border: 4px solid #FAE8D8;
    border-top-color: #fc5404;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    margin-left: -25px;
    margin-top: -25px;
    animation: spin .8s linear infinite;
}


/* ==========================================================================
   1. FEATURED PROFILES SLIDER (.featured-profiles-slider)
   ========================================================================== */
.featured-profiles-slider {
    width: 100%;
    max-width: 1200px;
    margin: -110px auto 0px auto;
    overflow: visible;
    position: relative;
    background-color: transparent;
    background-image: url('http://localhost/hindutvaprofiles/wp-content/uploads/2026/07/Hero-slider-back-img.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
    padding: 200px 20px 20px;
    min-height: 620px;
}

.featured-profiles-slider .featuredProfilesSwiper {
    position: relative;
    z-index: 5;
    overflow: visible;
    padding: 20px 0 10px;
    height: 360px;
}

.featured-profiles-slider .featuredProfilesSwiper .swiper-wrapper {
    display: flex;
    align-items: flex-end;
}

.featured-profiles-slider .featuredProfilesSwiper .swiper-slide {
    width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.95;
}

.featured-profiles-slider .featuredProfilesSwiper .swiper-slide-active {
    width: 250px;
    opacity: 1;
    z-index: 15;
}

.featured-profiles-slider .featuredProfilesSwiper .swiper-slide-prev,
.featured-profiles-slider .featuredProfilesSwiper .swiper-slide-next {
    opacity: 1;
    transform: none;
    z-index: 10;
}

.featured-profiles-slider .featuredProfilesSwiper .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-prev):not(.swiper-slide-next) {
    opacity: 0;
}

.featured-profiles-slider .featuredProfilesSwiper .swiper-slide .profile-image {
    width: 100%;
    margin-top: auto;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid #FC5404;
    box-shadow: 0 14px 32px rgba(252, 84, 4, 0.22);
    background: #ffffff;
    transition: all 0.4s ease;
}

.featured-profiles-slider .featuredProfilesSwiper .swiper-slide .profile-image a {
    display: block;
}

.featured-profiles-slider .featuredProfilesSwiper .swiper-slide .profile-image img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    display: block;
    transition: all 0.4s ease;
}

.featured-profiles-slider .featuredProfilesSwiper .swiper-slide-active .profile-image img {
    height: 310px;
}

.featured-profiles-slider .featuredProfilesSwiper .swiper-slide-prev .profile-image img,
.featured-profiles-slider .featuredProfilesSwiper .swiper-slide-next .profile-image img {
    height: 230px;
}

.featured-profiles-slider .featuredProfilesSwiper .swiper-button-prev,
.featured-profiles-slider .featuredProfilesSwiper .swiper-button-next {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    color: #fc5404;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .15);
    z-index: 20;
}

.featured-profiles-slider .featuredProfilesSwiper .swiper-button-prev:after,
.featured-profiles-slider .featuredProfilesSwiper .swiper-button-next:after {
    font-size: 20px;
    font-weight: 700;
}

.featured-profiles-slider .featuredProfilesSwiper .swiper-button-prev:hover,
.featured-profiles-slider .featuredProfilesSwiper .swiper-button-next:hover {
    background: #fc5404;
    color: #fff;
}

.featured-profiles-slider .swiper-button-disabled {
    opacity: 1;
}

.featured-profiles-slider .swiper-pagination {
    display: none;
}


/* ==========================================================================
   2. HOMEPAGE PROFILES DIRECTORY (.profiles-directory)
   ========================================================================== */
.profiles-directory {
    width: 100%;
    max-width: 1440px;
    margin: 50px auto;
    padding: 0 24px;
    font-family: inherit;
}

.profiles-directory .profiles-filter-bar {
    position: sticky;
    top: 20px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

body.admin-bar .profiles-directory .profiles-filter-bar {
    top: 52px;
}

.profiles-directory .profiles-filter-bar .profiles-filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profiles-directory .profiles-filter-bar .profiles-categories,
.profiles-directory .profiles-filter-bar .profiles-locations {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.profiles-directory .profiles-filter-bar .profile-filter,
.profiles-directory .profiles-filter-bar .location-filter {
    border: 1px solid var(--border);
    outline: none;
    background: #f8fafc;
    border-radius: 999px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.profiles-directory .profiles-filter-bar .cat-pill-icon,
.profiles-directory .profiles-filter-bar .location-flag-icon {
    flex-shrink: 0;
}

.profiles-directory .profiles-filter-bar .profile-filter:hover,
.profiles-directory .profiles-filter-bar .location-filter:hover {
    border-color: var(--black);
    color: var(--white);
    background: var(--black);
    transform: translateY(-1px);
}

.profiles-directory .profiles-filter-bar .profile-filter.active,
.profiles-directory .profiles-filter-bar .location-filter.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 6px 18px var(--primary-glow);
    transform: translateY(-1px);
}

/* --- Toolbar --- */
.profiles-directory .profiles-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

.profiles-directory .profiles-toolbar .profiles-count {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.profiles-directory .profiles-toolbar .profiles-count strong {
    font-size: 26px;
    font-weight: 800;
    color: var(--black);
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 12px;
    line-height: 1.2;
}

.profiles-directory .profiles-toolbar .profiles-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.profiles-directory .profiles-toolbar .profiles-sort-wrap {
    position: relative;
}

.profiles-directory .profiles-toolbar #profiles-sort {
    height: 48px;
    padding: 0 40px 0 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 14px center;
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    min-width: 190px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: all 0.2s ease;
}

.profiles-directory .profiles-toolbar #profiles-sort:hover,
.profiles-directory .profiles-toolbar #profiles-sort:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.profiles-directory .profiles-toolbar .profiles-view-toggle {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 14px;
    gap: 4px;
}

.profiles-directory .profiles-toolbar .view-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.profiles-directory .profiles-toolbar .view-btn:hover {
    color: var(--black);
    background: rgba(255, 255, 255, 0.6);
}

.profiles-directory .profiles-toolbar .view-btn.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* --- Results & Grid --- */
.profiles-directory #profiles-results {
    position: relative;
    transition: opacity 0.3s ease;
}

.profiles-directory #profiles-results.loading {
    opacity: 0.4;
    pointer-events: none;
}

.profiles-directory #profiles-results .profiles-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

/* --- Profile Card --- */
.profiles-directory #profiles-results .profiles-grid .profile-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    animation: profileFade 0.4s ease forwards;
}

.profiles-directory #profiles-results .profiles-grid .profile-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(252, 84, 4, 0.2);
}

.profiles-directory #profiles-results .profiles-grid .profile-card .profile-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    min-height: 28px;
    width: 100%;
}

.profiles-directory #profiles-results .profiles-grid .profile-card .profile-card-top .profile-card-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    gap: 8px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid var(--border);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
    margin-left: auto;
    transition: transform 0.25s ease;
}

.profiles-directory #profiles-results .profiles-grid .profile-card:hover .profile-card-flag {
    transform: scale(1);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
}

.profiles-directory #profiles-results .profiles-grid .profile-card .profile-card-top .profile-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #ffffff;
    line-height: 1;
    background: var(--primary);
    box-shadow: 0 4px 10px rgba(252, 84, 4, 0.25);
}

.profiles-directory #profiles-results .profiles-grid .profile-card .profile-card-top .profile-category svg {
    flex-shrink: 0;
}

.profiles-directory #profiles-results .profiles-grid .profile-card .profile-card-top .profile-category.hate-mongers {
    background: #ef4444;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.25);
}

.profiles-directory #profiles-results .profiles-grid .profile-card .profile-card-top .profile-category.hindu-nationalist-leader {
    background: #6366f1;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.25);
}

.profiles-directory #profiles-results .profiles-grid .profile-card .profile-card-top .profile-category.most-dangerous {
    background: #dc2626;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25);
}

.profiles-directory #profiles-results .profiles-grid .profile-card .profile-card-top .profile-category.organizations {
    background: #10b981;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
}

.profiles-directory #profiles-results .profiles-grid .profile-card .profile-avatar-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.profiles-directory #profiles-results .profiles-grid .profile-card .profile-avatar-wrap .profile-avatar-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 100%);
    border: 2px solid rgba(252, 84, 4, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    transition: transform 0.35s ease;
}

.profiles-directory #profiles-results .profiles-grid .profile-card:hover .profile-avatar-circle {
    transform: scale(1.04);
    border-color: var(--primary);
}

.profiles-directory #profiles-results .profiles-grid .profile-card .profile-avatar-wrap .profile-avatar-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.profiles-directory #profiles-results .profiles-grid .profile-card:hover .profile-avatar-circle img {
    transform: scale(1.08);
}

.profiles-directory #profiles-results .profiles-grid .profile-card .profile-content {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profiles-directory #profiles-results .profiles-grid .profile-card .profile-content .profile-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 10px 0;
    line-height: 1.3;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profiles-directory #profiles-results .profiles-grid .profile-card .profile-content .profile-name a {
    color: var(--black);
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profiles-directory #profiles-results .profiles-grid .profile-card .profile-content .profile-name a:hover {
    color: var(--primary);
}

.profiles-directory #profiles-results .profiles-grid .profile-card .profile-content .profile-designation {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 14px;
    border-radius: 10px;
    line-height: 1.4;
    margin-bottom: 16px;
    display: inline-block;
    max-width: 100%;
    word-break: break-word;
}

.profiles-directory #profiles-results .profiles-grid .profile-card .profile-content .profile-excerpt,
.profiles-directory #profiles-results .profiles-grid .profile-card .profile-content .profile-affiliation,
.profiles-directory #profiles-results .profiles-grid .profile-card .profile-content .profile-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 10px;
    text-align: center;
}

.profiles-directory #profiles-results .profiles-grid .profile-card .profile-content .profile-excerpt span,
.profiles-directory #profiles-results .profiles-grid .profile-card .profile-content .profile-affiliation span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.45;
}

.profiles-directory #profiles-results .profiles-grid .profile-card .profile-content .profile-affiliation svg,
.profiles-directory #profiles-results .profiles-grid .profile-card .profile-content .profile-location svg {
    color: var(--primary);
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    padding: 6px;
    border-radius: 8px;
    background: var(--primary-light);
    transition: all 0.3s ease;
    box-sizing: content-box;
}

.profiles-directory #profiles-results .profiles-grid .profile-card:hover .profile-affiliation svg,
.profiles-directory #profiles-results .profiles-grid .profile-card:hover .profile-location svg {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.08);
}

.profiles-directory #profiles-results .profiles-grid .profile-card .profile-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 48px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    background: #f8fafc;
    color: var(--black);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-top: 20px;
}

.profiles-directory #profiles-results .profiles-grid .profile-card .profile-button svg {
    transition: transform 0.25s ease;
}

.profiles-directory #profiles-results .profiles-grid .profile-card .profile-button:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 6px 18px var(--primary-glow);
}

.profiles-directory #profiles-results .profiles-grid .profile-card .profile-button:hover svg {
    transform: translateX(5px);
}

.profiles-directory #profiles-results .profiles-grid .profile-card:hover .profile-category {
    transform: translateY(-2px);
}

.profiles-directory #profiles-results .profiles-grid .profile-card:hover .profile-button svg {
    transform: translateX(5px);
}

.profiles-directory .profile-filter,
.profiles-directory .location-filter,
.profiles-directory .view-btn,
.profiles-directory .profile-button,
.profiles-directory .profile-favorite,
.profiles-directory #profiles-sort {
    transition: all .3s ease;
}

/* --- Social Links & Icons --- */
.profile-social-links {
    margin-top: 14px;
    margin-bottom: 4px;
    width: 100%;
}

.profile-social-links .profile-social-list,
.profile-social-links .ex-social-account,
.profile-social-list,
.ex-social-account {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ex-social-account li {
    display: inline-flex;
    margin: 0;
    padding: 0;
}

.social-icon-link,
.ex-social-account li a,
.ex-social-account a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f8fafc;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border, #e2e8f0);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    flex-shrink: 0;
    box-sizing: border-box;
}

.social-icon-link svg,
.ex-social-account li a i,
.ex-social-account a i,
.ex-social-account a svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    max-width: 16px;
    max-height: 16px;
    display: block;
    transition: transform 0.25s ease;
}

.social-icon-link:hover,
.ex-social-account li a:hover,
.ex-social-account a:hover {
    color: #ffffff !important;
    border-color: transparent !important;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.15);
}

.social-icon-link:hover svg,
.ex-social-account li a:hover i,
.ex-social-account a:hover svg {
    transform: scale(1.1);
}

/* Social Platform Hover Colors (Global) */
.social-facebook:hover,
.teampress-facebook a:hover,
.teampress-facebook:hover {
    background: #1877F2 !important;
    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.35) !important;
}

.social-twitter:hover,
.social-x:hover,
.teampress-twitter a:hover,
.teampress-twitter:hover {
    background: #0f172a !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.35) !important;
}

.social-instagram:hover,
.teampress-instagram a:hover,
.teampress-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
    box-shadow: 0 6px 16px rgba(220, 39, 67, 0.35) !important;
}

.social-linkedin:hover,
.teampress-linkedin a:hover,
.teampress-linkedin:hover {
    background: #0A66C2 !important;
    box-shadow: 0 6px 16px rgba(10, 102, 194, 0.35) !important;
}

.social-youtube:hover,
.teampress-youtube a:hover,
.teampress-youtube:hover {
    background: #FF0000 !important;
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.35) !important;
}

.social-github:hover,
.teampress-github a:hover,
.teampress-github:hover {
    background: #24292e !important;
    box-shadow: 0 6px 16px rgba(36, 41, 46, 0.35) !important;
}

.social-email:hover,
.teampress-email a:hover,
.teampress-email:hover {
    background: var(--primary, #ea580c) !important;
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.35) !important;
}

.social-phone:hover,
.teampress-mobile a:hover,
.teampress-phone a:hover,
.teampress-mobile:hover {
    background: #10B981 !important;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35) !important;
}

.social-custom:hover {
    background: #6366f1 !important;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35) !important;
}

.teampress-pinterest a:hover,
.teampress-pinterest:hover {
    background: #E60023 !important;
    box-shadow: 0 6px 16px rgba(230, 0, 35, 0.35) !important;
}

.teampress-behance a:hover,
.teampress-behance:hover {
    background: #1769FF !important;
    box-shadow: 0 6px 16px rgba(23, 105, 255, 0.35) !important;
}

.teampress-dribbble a:hover,
.teampress-dribbble:hover {
    background: #EA4C89 !important;
    box-shadow: 0 6px 16px rgba(234, 76, 137, 0.35) !important;
}

/* --- Empty State --- */
.profiles-directory .profiles-empty {
    text-align: center;
    padding: 70px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.profiles-directory .profiles-empty .empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.profiles-directory .profiles-empty h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 8px 0;
}

.profiles-directory .profiles-empty p {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
}

/* --- Pagination --- */
.profiles-directory .profiles-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

.profiles-directory .profiles-pagination a,
.profiles-directory .profiles-pagination span {
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--black);
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.profiles-directory .profiles-pagination a:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
    transform: translateY(-1px);
}

.profiles-directory .profiles-pagination .current {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.profiles-directory .profiles-pagination .dots {
    border: none;
    background: transparent;
    color: var(--text-muted);
}


/* ==========================================================================
   3. CONTACT FORM (.st-contact-form)
   ========================================================================== */
.st-contact-form {
    margin-bottom: 0px !important;
}

.st-contact-form .double-column {
    display: flex;
    column-gap: 30px;
    row-gap: 28px;
    flex-wrap: wrap;
}

.st-contact-form .double-column div {
    width: calc(50% - 15px);
}

.st-contact-form div p {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.st-contact-form div p label {
    font-family: 'Poppins';
    font-weight: 600;
}

.st-contact-form .double-column div p .wpcf7-form-control-wrap input.wpcf7-form-control,
.st-contact-form div p .wpcf7-form-control-wrap textarea.wpcf7-form-control.wpcf7-textarea {
    padding: 12px;
    height: 100%;
    border: 2px solid #CFCFCF;
    border-radius: 10px;
    color: #000;
    font-family: "Poppins";
    font-size: 16px;
    line-height: 24px;
}

.st-contact-form .double-column div p .wpcf7-form-control-wrap input.wpcf7-form-control:focus,
.st-contact-form div p .wpcf7-form-control-wrap textarea.wpcf7-form-control.wpcf7-textarea:focus {
    border-color: #FC5404;
}

.st-contact-form div p .wpcf7-form-control-wrap textarea.wpcf7-form-control.wpcf7-textarea {
    height: 150px;
}

.st-contact-form>p {
    text-align: center;
    margin-bottom: 15px;
}

.st-contact-form input.wpcf7-form-control.wpcf7-submit {
    font-family: 'Poppins';
    font-size: 16px;
    line-height: 24px;
    padding: 12px 60px;
    background: linear-gradient(360deg, #d34400, #FC5404);
    border-radius: 6px;
}

.st-contact-form>p:last-child {
    margin-bottom: 0px;
    font-family: 'Poppins';
    font-size: 14px;
    font-weight: 500;
    color: #5c5c5c;
}

.st-contact-form div.submit-btn p {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0px;
    align-items: center;
    gap: 0;
}


/* ==========================================================================
   4. SUBMIT PROFILE FORM (.submit-profile-form & Custom Dropdowns)
   ========================================================================== */
.submit-profile-form {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff 0%, #fdfbf9 100%);
    border-radius: 28px;
    padding: 50px 48px;
    box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.08), 0 15px 35px -10px rgba(252, 84, 4, 0.1);
    border: 1px solid rgba(252, 84, 4, 0.15);
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
    font-family: 'Poppins', sans-serif;
}

.submit-profile-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #fc5404 0%, #ff8c00 50%, #fc5404 100%);
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
}

.submit-profile-form::after {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(252, 84, 4, 0.06) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.submit-profile-form p {
    margin: 0;
}

.submit-profile-form br {
    display: none;
}

.submit-profile-form .double-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 28px;
    width: 100%;
}

.submit-profile-form .double-column>div,
.submit-profile-form>div {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    position: relative;
}

.submit-profile-form label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.submit-profile-form label span[style*="color"] {
    color: #fc5404 !important;
    font-weight: 800;
    font-size: 15px;
}

.submit-profile-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.submit-profile-form input[type="text"],
.submit-profile-form input[type="url"],
.submit-profile-form select {
    width: 100%;
    height: 52px;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Poppins', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', 'Apple Color Emoji', sans-serif;
    color: #0f172a;
    background-color: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.submit-profile-form textarea {
    width: 100%;
    min-height: 140px;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    color: #0f172a;
    background-color: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    resize: vertical;
    line-height: 1.6;
}

.submit-profile-form input[type="text"]:hover,
.submit-profile-form input[type="url"]:hover,
.submit-profile-form select:hover,
.submit-profile-form textarea:hover {
    background-color: #ffffff;
    border-color: #cbd5e1;
}

.submit-profile-form input[type="text"]:focus,
.submit-profile-form input[type="url"]:focus,
.submit-profile-form select:focus,
.submit-profile-form textarea:focus {
    background-color: #ffffff;
    border-color: #fc5404;
    box-shadow: 0 10px 25px -5px rgba(252, 84, 4, 0.18), 0 0 0 4px rgba(252, 84, 4, 0.12);
    transform: translateY(-2px);
}

.submit-profile-form input::placeholder,
.submit-profile-form textarea::placeholder {
    color: #94a3b8;
    font-weight: 400;
    opacity: 1;
}

.submit-profile-form select,
.submit-profile-form select option {
    font-family: 'Poppins', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', 'Apple Color Emoji', sans-serif;
}

.submit-profile-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23fc5404' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 18px;
    padding-right: 48px;
    cursor: pointer;
}

.submit-profile-form .submit-btn {
    display: flex;
    justify-content: center;
    margin-top: 14px;
    width: 100%;
}

.submit-profile-form .submit-btn input[type="submit"],
.submit-profile-form input[type="submit"] {
    position: relative;
    background: linear-gradient(135deg, #fc5404 0%, #d94000 100%);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 18px 64px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(252, 84, 4, 0.35);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-transform: uppercase;
}

.submit-profile-form .submit-btn input[type="submit"]:hover,
.submit-profile-form input[type="submit"]:hover {
    background: linear-gradient(135deg, #ff6319 0%, #fc5404 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px rgba(252, 84, 4, 0.45);
}

.submit-profile-form .submit-btn input[type="submit"]:active,
.submit-profile-form input[type="submit"]:active {
    transform: translateY(-1px) scale(0.99);
    box-shadow: 0 8px 20px rgba(252, 84, 4, 0.3);
}

.submit-profile-form .wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 13px;
    font-weight: 600;
    margin-top: 6px;
}

.submit-profile-form .wpcf7-response-output {
    margin: 24px 0 0 0;
    padding: 16px 24px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    animation: profileFormFadeUp 0.4s ease;
}

.submit-profile-form form.sent .wpcf7-response-output {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1.5px solid #34d399;
    color: #065f46;
}

.submit-profile-form form.failed .wpcf7-response-output,
.submit-profile-form form.invalid .wpcf7-response-output {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1.5px solid #f87171;
    color: #991b1b;
}

/* Custom Select Dropdown for Vector Flag Emojis */
.submit-profile-form .custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.submit-profile-form .custom-select-wrapper .custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 52px;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 500;
    color: #0f172a;
    background-color: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.submit-profile-form .custom-select-wrapper .custom-select-trigger .trigger-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.submit-profile-form .custom-select-wrapper .custom-select-trigger:hover {
    background-color: #ffffff;
    border-color: #cbd5e1;
}

.submit-profile-form .custom-select-wrapper.open .custom-select-trigger {
    background-color: #ffffff;
    border-color: #fc5404;
    box-shadow: 0 10px 25px -5px rgba(252, 84, 4, 0.18), 0 0 0 4px rgba(252, 84, 4, 0.12);
}

.submit-profile-form .custom-select-wrapper .custom-select-trigger::after {
    content: '';
    width: 9px;
    height: 9px;
    border-right: 2.5px solid #fc5404;
    border-bottom: 2.5px solid #fc5404;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-left: 12px;
    flex-shrink: 0;
}

.submit-profile-form .custom-select-wrapper.open .custom-select-trigger::after {
    transform: rotate(-135deg);
}

.submit-profile-form .custom-select-wrapper .custom-options {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1.5px solid rgba(252, 84, 4, 0.2);
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    max-height: 280px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
    padding: 8px;
}

.submit-profile-form .custom-select-wrapper.open .custom-options {
    display: block;
    animation: profileFormFadeUp 0.25s ease;
}

.submit-profile-form .custom-select-wrapper .custom-option {
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
    color: #334155;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s ease, color 0.2s ease;
}

.submit-profile-form .custom-select-wrapper .custom-option:hover,
.submit-profile-form .custom-select-wrapper .custom-option.selected {
    background: #fff4ed;
    color: #fc5404;
    font-weight: 600;
}

.submit-profile-form .custom-select-wrapper .custom-option img.emoji,
.submit-profile-form .custom-select-wrapper .custom-select-trigger img.emoji {
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 12px;
    display: inline-block;
    flex-shrink: 0;
}


/* ==========================================================================
   5. SINGLE PROFILE DETAILS PAGE (.single-profile-container)
   ========================================================================== */
.single-profile-container {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 24px;
    font-family: inherit;
}

.single-profile-container .single-profile-breadcrumbs {
    margin-bottom: 24px;
    padding: 10px 20px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
    display: inline-block;
}

.single-profile-container .single-profile-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 44px;
    margin-bottom: 50px;
}

.single-profile-container .single-profile-card .single-profile-header {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 44px;
    padding-bottom: 36px;
    border-bottom: 1px dashed var(--border);
    margin-bottom: 36px;
}

.single-profile-container .single-profile-card .single-profile-header .single-profile-avatar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.single-profile-container .single-profile-card .single-profile-header .single-profile-avatar-col .single-profile-avatar-ring {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 100%);
    border: 3px solid var(--primary);
    box-shadow: 0 12px 30px rgba(252, 84, 4, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-profile-container .single-profile-card .single-profile-header .single-profile-avatar-col .single-profile-avatar-ring .single-profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.single-profile-container .single-profile-card .single-profile-header .single-profile-avatar-col .single-profile-social-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}

.single-profile-container .single-profile-card .single-profile-header .single-profile-details-col .single-profile-top-badges {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.single-profile-container .single-profile-card .single-profile-header .single-profile-details-col .single-profile-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--black);
    line-height: 1.2;
    margin: 0 0 30px 0;
}

.single-profile-container .single-profile-card .single-profile-header .single-profile-details-col .single-profile-designation {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 8px 18px;
    border-radius: 999px;
    margin-bottom: 26px;
}

.single-profile-container .single-profile-card .single-profile-header .single-profile-details-col .single-profile-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.single-profile-container .single-profile-card .single-profile-header .single-profile-details-col .single-profile-meta-grid .single-meta-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 18px;
    transition: all 0.25s ease;
}

.single-profile-container .single-profile-card .single-profile-header .single-profile-details-col .single-profile-meta-grid .single-meta-item:hover {
    border-color: var(--primary);
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.single-profile-container .single-profile-card .single-profile-header .single-profile-details-col .single-profile-meta-grid .single-meta-item .single-meta-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.single-profile-container .single-profile-card .single-profile-header .single-profile-details-col .single-profile-meta-grid .single-meta-item .single-meta-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.single-profile-container .single-profile-card .single-profile-header .single-profile-details-col .single-profile-meta-grid .single-meta-item .single-meta-content .single-meta-label {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.single-profile-container .single-profile-card .single-profile-header .single-profile-details-col .single-profile-meta-grid .single-meta-item .single-meta-content .single-meta-val {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.single-profile-container .single-profile-card .single-profile-header .single-profile-details-col .single-profile-meta-grid .single-meta-item .single-meta-content .single-meta-link {
    color: var(--black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.single-profile-container .single-profile-card .single-profile-header .single-profile-details-col .single-profile-meta-grid .single-meta-item .single-meta-content .single-meta-link:hover {
    color: var(--primary);
}

.single-profile-container .single-profile-card .single-profile-body {
    padding-top: 10px;
}

.single-profile-container .single-profile-card .single-profile-body .single-profile-section-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--black);
    margin: 0 0 35px 0;
    position: relative;
    display: inline-block;
}

.single-profile-container .single-profile-card .single-profile-body .single-profile-section-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 999px;
}

.single-profile-container .single-profile-card .single-profile-body .single-profile-article {
    font-size: 16.5px;
    line-height: 1.85;
    color: #334155;
}

.single-profile-container .single-profile-card .single-profile-body .single-profile-article p {
    margin-bottom: 20px;
}

.single-profile-container .single-profile-card .single-profile-body .single-profile-article a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(252, 84, 4, 0.35);
    text-underline-offset: 3px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.single-profile-container .single-profile-card .single-profile-body .single-profile-article a:hover {
    color: var(--primary-hover);
    text-decoration-color: var(--primary);
}

.single-profile-container .single-profile-card .single-profile-body .single-profile-article blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: var(--black);
}

.single-profile-container .single-profile-card .single-profile-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-start;
}

.single-profile-container .single-profile-card .single-profile-footer .single-profile-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid var(--border);
    color: var(--black);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.single-profile-container .single-profile-card .single-profile-footer .single-profile-back-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 6px 18px var(--primary-glow);
    transform: translateX(-3px);
}


/* ==========================================================================
   6. ALL PROFILES DIRECTORY (.all-profiles-directory)
   ========================================================================== */
.all-profiles-directory {
    width: 100%;
    font-family: inherit;
}

.all-profiles-directory .all-profiles-filter-bar {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.all-profiles-directory .all-profiles-filter-bar .all-profiles-location-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.all-profiles-directory .all-profiles-filter-bar .all-profiles-filter-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #64748b;
    text-transform: uppercase;
}

.all-profiles-directory .all-profiles-filter-bar .all-profiles-location-pills {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.all-profiles-directory .all-profiles-filter-bar .all-loc-pill {
    border: 1px solid var(--border);
    outline: none;
    background: #f8fafc;
    border-radius: 999px;
    padding: 8px 18px;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
    transition: all 0.25s ease;
}

.all-profiles-directory .all-profiles-filter-bar .all-loc-pill:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.all-profiles-directory .all-profiles-filter-bar .all-loc-pill.active {
    background: #FC5404;
    color: var(--white);
    border-color: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.all-profiles-directory .all-profiles-filter-bar .dropdown-chevron {
    transition: transform 0.25s ease;
}

.all-profiles-directory .all-profiles-filter-bar .custom-loc-dropdown-wrap.open .dropdown-chevron {
    transform: rotate(180deg);
}

.all-profiles-directory .all-profiles-filter-bar .custom-loc-dropdown-wrap {
    position: relative;
    display: inline-block;
}

.all-profiles-directory .all-profiles-filter-bar .custom-loc-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 210px;
    max-height: 350px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    z-index: 100;
    padding: 8px;
    animation: dropdownFade 0.2s ease;
}

.all-profiles-directory .all-profiles-filter-bar .custom-loc-dropdown-menu::-webkit-scrollbar {
    width: 5px;
}

.all-profiles-directory .all-profiles-filter-bar .custom-loc-dropdown-menu::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.all-profiles-directory .all-profiles-filter-bar .custom-loc-dropdown-menu::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.all-profiles-directory .all-profiles-filter-bar .custom-loc-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.all-profiles-directory .all-profiles-filter-bar .custom-loc-dropdown-wrap.open .custom-loc-dropdown-menu {
    display: block;
}

.all-profiles-directory .all-profiles-filter-bar .custom-loc-dropdown-header {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    padding: 6px 12px 4px;
}

.all-profiles-directory .all-profiles-filter-bar .custom-loc-dropdown-item {
    padding: 8px 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.all-profiles-directory .all-profiles-filter-bar .custom-loc-dropdown-item:hover,
.all-profiles-directory .all-profiles-filter-bar .custom-loc-dropdown-item.active {
    background: var(--primary-light);
    color: var(--primary);
}

.all-profiles-directory .all-profiles-filter-bar .all-profiles-search-group {
    display: flex;
    align-items: center;
}

.all-profiles-directory .all-profiles-filter-bar .all-profiles-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.all-profiles-directory .all-profiles-filter-bar .all-profiles-search-box .search-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    pointer-events: none;
}

.all-profiles-directory .all-profiles-filter-bar .all-profiles-search-box input {
    padding: 9px 16px 9px 38px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #f8fafc;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--black);
    outline: none;
    width: 220px;
    transition: all 0.25s ease;
}

.all-profiles-directory .all-profiles-filter-bar .all-profiles-search-box input:focus {
    border-color: var(--primary);
    background: #ffffff;
    width: 260px;
    box-shadow: 0 0 0 3px rgba(252, 84, 4, 0.12);
}

.all-profiles-directory .all-profiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.all-profiles-directory .all-profiles-grid .all-profile-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 135px 1fr;
    gap: 18px;
    align-items: start;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.all-profiles-directory .all-profiles-grid .all-profile-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(252, 84, 4, 0.25);
}

.all-profiles-directory .all-profiles-grid .all-profile-card .all-profile-avatar-wrap {
    width: 135px;
    height: 135px;
    flex-shrink: 0;
}

.all-profiles-directory .all-profiles-grid .all-profile-card .all-profile-avatar-wrap .all-profile-avatar-circle {
    display: block;
    width: 135px;
    height: 135px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: 0 4px 14px rgba(252, 84, 4, 0.16);
}

.all-profiles-directory .all-profiles-grid .all-profile-card .all-profile-avatar-wrap .all-profile-avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.all-profiles-directory .all-profiles-grid .all-profile-card:hover .all-profile-avatar-circle img {
    transform: scale(1.08);
}

.all-profiles-directory .all-profiles-grid .all-profile-card .all-profile-details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.all-profiles-directory .all-profiles-grid .all-profile-card .all-profile-details .all-profile-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.all-profiles-directory .all-profiles-grid .all-profile-card .all-profile-details .all-profile-cat-badge {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ef4444;
    background: #fff1f2;
    padding: 4px 10px;
    border-radius: 999px;
}

.all-profiles-directory .all-profiles-grid .all-profile-card .all-profile-details .all-profile-cat-badge.organization,
.all-profiles-directory .all-profiles-grid .all-profile-card .all-profile-details .all-profile-cat-badge.organizations {
    color: #fc5404;
    background: #fff3ec;
}

.all-profiles-directory .all-profiles-grid .all-profile-card .all-profile-details .all-profile-top-flag-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 3px 6px;
}

.all-profiles-directory .all-profiles-grid .all-profile-card .all-profile-details .all-profile-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 6px 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.all-profiles-directory .all-profiles-grid .all-profile-card .all-profile-details .all-profile-name a {
    color: var(--black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.all-profiles-directory .all-profiles-grid .all-profile-card .all-profile-details .all-profile-name a:hover {
    color: var(--primary);
}

.all-profiles-directory .all-profiles-grid .all-profile-card .all-profile-details .all-profile-excerpt,
.all-profiles-directory .all-profiles-grid .all-profile-card .all-profile-details .all-profile-excerpt p {
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-muted);
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.all-profiles-directory .all-profiles-grid .all-profile-card .all-profile-details .all-profile-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.all-profiles-directory .all-profiles-grid .all-profile-card .profile-social-links,
.all-profiles-directory .all-profiles-grid .all-profile-card .profile-social-list {
    justify-content: flex-start;
    text-align: left;
    margin-left: 0;
    padding-left: 0;
}

.all-profiles-directory .all-profiles-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.all-profiles-directory .all-profiles-pagination .all-page-num {
    border: 1px solid var(--border);
    outline: none;
    background: #ffffff;
    border-radius: 8px;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.all-profiles-directory .all-profiles-pagination .all-page-num:hover:not(.disabled) {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.all-profiles-directory .all-profiles-pagination .all-page-num.active {
    background: #b91c1c;
    color: #ffffff;
    border-color: #b91c1c;
    box-shadow: 0 4px 10px rgba(185, 28, 28, 0.25);
}

.all-profiles-directory .all-profiles-pagination .all-page-num.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.all-profiles-directory .all-profiles-pagination .all-page-dots {
    color: #94a3b8;
    padding: 0 4px;
    font-weight: 700;
}


/* ==========================================================================
   7. NEWSLETTER SUBSCRIPTION (.st-newsletter)
   ========================================================================== */
.st-newsletter .tnp.tnp-subscription {
    margin: 0;
}

.st-newsletter .tnp-subscription form .tnp-field-email label {
    display: none;
}

.st-newsletter .tnp-subscription form .tnp-field-email input {
    background: #fff;
    padding: 10px 10px;
    font-size: 16px;
    line-height: 26px;
    border-radius: 5px;
    color: #000;
    font-weight: 400;
    height: auto;
}

.st-newsletter .tnp-subscription form .tnp-field-button input.tnp-submit {
    width: 100%;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    background: #fc5404;
    border-radius: 5px;
    border: 1px solid #fff;
    padding: 10px 10px;
    transition: 0.3s ease;
}

.st-newsletter .tnp-subscription form .tnp-field-button input.tnp-submit:hover {
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
}


/* ==========================================================================
   8. ARCHIVE PAGE REDESIGN (.archive-extraordinary-container)
   ========================================================================== */
.archive-extraordinary-container {
    width: 100%;
    max-width: 1366px;
    margin: 30px auto 70px auto;
    padding: 0 15px;
    font-family: inherit;
}

.archive-extraordinary-container .archive-top-bar {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.archive-extraordinary-container .archive-top-bar .archive-breadcrumbs-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted, #64748b);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.archive-extraordinary-container .archive-top-bar .archive-breadcrumbs-pill a {
    color: var(--text, #475569);
    text-decoration: none;
    transition: color 0.2s ease;
}

.archive-extraordinary-container .archive-top-bar .archive-breadcrumbs-pill a:hover {
    color: var(--primary, #fc5404);
}

.archive-extraordinary-container .archive-top-bar .archive-breadcrumbs-pill .sep {
    color: #cbd5e1;
}

.archive-extraordinary-container .archive-top-bar .archive-breadcrumbs-pill .current {
    color: var(--black, #0f172a);
    font-weight: 700;
}

.archive-extraordinary-container .archive-hero-banner {
    position: relative;
    background: #ffffff;
    border-radius: var(--radius-lg, 24px);
    padding: 44px 48px;
    margin-bottom: 44px;
    overflow: hidden;
    color: var(--black, #0f172a);
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
    border: 1px solid var(--border, #e2e8f0);
}

.archive-extraordinary-container .archive-hero-banner .archive-hero-glow-bg {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle at 80% 20%, rgba(252, 84, 4, 0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 1;
}

.archive-extraordinary-container .archive-hero-banner .archive-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.archive-extraordinary-container .archive-hero-banner .archive-hero-inner .archive-hero-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--primary-light, #fff3ec);
    border: 1px solid rgba(252, 84, 4, 0.2);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary, #fc5404);
    margin-bottom: 18px;
}

.archive-extraordinary-container .archive-hero-banner .archive-hero-inner .archive-hero-heading {
    margin: 0 0 14px 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.archive-extraordinary-container .archive-hero-banner .archive-hero-inner .archive-hero-heading .archive-heading-prefix {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary, #fc5404);
    margin-bottom: 6px;
}

.archive-extraordinary-container .archive-hero-banner .archive-hero-inner .archive-hero-heading .archive-heading-main {
    display: inline-block;
    font-size: 40px;
    font-weight: 800;
    color: var(--black, #0f172a);
}

.archive-extraordinary-container .archive-hero-banner .archive-hero-inner .archive-hero-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text, #475569);
    margin-bottom: 22px;
    max-width: 720px;
}

.archive-extraordinary-container .archive-hero-banner .archive-hero-inner .archive-hero-description p {
    margin: 0;
}

.archive-extraordinary-container .archive-hero-banner .archive-hero-inner .archive-hero-meta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.archive-extraordinary-container .archive-hero-banner .archive-hero-inner .archive-hero-meta-row .archive-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: #f8fafc;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted, #64748b);
}

.archive-extraordinary-container .archive-extraordinary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 54px;
}

.archive-extraordinary-container .archive-extraordinary-grid .archive-card-item {
    background: #ffffff;
    border-radius: var(--radius-lg, 24px);
    padding: 16px;
    border: 1px solid var(--border, #e2e8f0);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.archive-extraordinary-container .archive-extraordinary-grid .archive-card-item:hover {
    transform: translateY(-6px);
    border-color: var(--primary, #fc5404);
    box-shadow: 0 16px 36px -8px rgba(252, 84, 4, 0.18), 0 4px 12px rgba(15, 23, 42, 0.04);
}

.archive-extraordinary-container .archive-extraordinary-grid .archive-card-item .profile-avatar-wrap .profile-avatar-link {
    display: block;
    text-decoration: none;
}

.archive-extraordinary-container .archive-extraordinary-grid .archive-card-item .profile-avatar-wrap .profile-avatar-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, var(--primary, #fc5404) 0%, #ff9d66 100%);
    box-shadow: 0 10px 25px rgba(252, 84, 4, 0.2);
}

.archive-extraordinary-container .archive-extraordinary-grid .archive-card-item:hover .profile-avatar-circle {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 14px 30px rgba(252, 84, 4, 0.3);
}

.archive-extraordinary-container .archive-extraordinary-grid .archive-card-item .profile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
    width: 100%;
}

.archive-extraordinary-container .archive-extraordinary-grid .archive-card-item .profile-content .profile-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--black, #0f172a);
    margin: 10px 0 6px 0;
    line-height: 1.3;
    text-align: center;
}

.archive-extraordinary-container .archive-extraordinary-grid .archive-card-item .profile-content .profile-name a {
    color: var(--black, #0f172a);
    text-decoration: none;
    transition: color 0.2s ease;
}

.archive-extraordinary-container .archive-extraordinary-grid .archive-card-item .profile-content .profile-name a:hover {
    color: var(--primary, #fc5404);
}

.archive-extraordinary-container .archive-extraordinary-grid .archive-card-item .profile-content .profile-designation {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary, #fc5404);
    background: var(--primary-light, #fff3ec);
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 10px;
    text-align: center;
}

.archive-extraordinary-container .archive-extraordinary-grid .archive-card-item .profile-content .profile-excerpt {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text, #475569);
    margin-bottom: 12px;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-extraordinary-container .archive-extraordinary-grid .archive-card-item .archive-card-meta-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 16px;
    width: 100%;
}

.archive-extraordinary-container .archive-extraordinary-grid .archive-card-item .archive-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted, #64748b);
    background: #f8fafc;
    border: 1px solid var(--border, #e2e8f0);
    padding: 6px 12px;
    border-radius: 10px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.2s ease;
}

.archive-extraordinary-container .archive-extraordinary-grid .archive-card-item:hover .archive-meta-pill {
    background: #ffffff;
    border-color: rgba(252, 84, 4, 0.25);
    color: var(--black, #0f172a);
}

.archive-extraordinary-container .archive-extraordinary-grid .archive-card-item .archive-meta-pill svg {
    color: var(--primary, #fc5404);
    flex-shrink: 0;
}

.archive-extraordinary-container .archive-extraordinary-grid .archive-card-item .archive-card-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid var(--border, #e2e8f0);
    color: var(--black, #0f172a);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.archive-extraordinary-container .archive-extraordinary-grid .archive-card-item .archive-card-action svg {
    transition: transform 0.25s ease;
    color: var(--primary, #fc5404);
}

.archive-extraordinary-container .archive-extraordinary-grid .archive-card-item:hover .archive-card-action,
.archive-extraordinary-container .archive-extraordinary-grid .archive-card-item .archive-card-action:hover {
    background: var(--primary, #fc5404);
    border-color: var(--primary, #fc5404);
    color: #ffffff;
    box-shadow: 0 8px 20px var(--primary-glow, rgba(252, 84, 4, 0.25));
}

.archive-extraordinary-container .archive-extraordinary-grid .archive-card-item:hover .archive-card-action svg,
.archive-extraordinary-container .archive-extraordinary-grid .archive-card-item .archive-card-action:hover svg {
    color: #ffffff;
    transform: translateX(4px);
}

.archive-extraordinary-container .archive-pagination-extraordinary,
.archive-extraordinary-container .archive-pagination-extraordinary nav,
.archive-extraordinary-container .archive-pagination-extraordinary ul,
.archive-extraordinary-container .archive-pagination-extraordinary ul.page-numbers,
.archive-extraordinary-container .archive-pagination-extraordinary li {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

.archive-extraordinary-container .archive-pagination-extraordinary {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.archive-extraordinary-container .archive-pagination-extraordinary ul.page-numbers {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.archive-extraordinary-container .archive-pagination-extraordinary .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: var(--black, #0f172a) !important;
    background: #ffffff !important;
    border: 1px solid var(--border, #e2e8f0) !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04) !important;
}

.archive-extraordinary-container .archive-pagination-extraordinary a.page-numbers.prev,
.archive-extraordinary-container .archive-pagination-extraordinary a.page-numbers.next {
    width: auto !important;
    padding: 0 20px !important;
    border-radius: 999px !important;
}

.archive-extraordinary-container .archive-pagination-extraordinary a.page-numbers:hover {
    background: var(--primary-light, #fff3ec) !important;
    border-color: var(--primary, #fc5404) !important;
    color: var(--primary, #fc5404) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(252, 84, 4, 0.15) !important;
}

.archive-extraordinary-container .archive-pagination-extraordinary .page-numbers.current {
    background: var(--primary, #fc5404) !important;
    border-color: var(--primary, #fc5404) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px var(--primary-glow, rgba(252, 84, 4, 0.35)) !important;
}

.archive-extraordinary-container .archive-pagination-extraordinary .page-numbers.dots {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    color: var(--text-muted, #64748b) !important;
}

.archive-extraordinary-container .archive-no-posts-extraordinary {
    background: #ffffff;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: var(--radius-lg, 24px);
    box-shadow: 0 14px 40px -10px rgba(15, 23, 42, 0.08);
    padding: 70px 40px;
    text-align: center;
    max-width: 620px;
    margin: 50px auto;
}

.archive-extraordinary-container .archive-no-posts-extraordinary .archive-no-posts-icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--primary-light, #fff3ec);
    color: var(--primary, #fc5404);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    box-shadow: 0 10px 25px rgba(252, 84, 4, 0.15);
}

.archive-extraordinary-container .archive-no-posts-extraordinary h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--black, #0f172a);
    margin: 0 0 14px 0;
}

.archive-extraordinary-container .archive-no-posts-extraordinary p {
    font-size: 16px;
    color: var(--text, #475569);
    margin-bottom: 30px;
}

.archive-extraordinary-container .archive-no-posts-extraordinary .archive-no-posts-btn-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}


/* ==========================================================================
   PART 2: RESPONSIVE MEDIA QUERIES (CONSOLIDATED AT THE BOTTOM)
   ========================================================================== */

/* --------------------------------------------------------------------------
   BREAKPOINT: 1280px
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {

    /* --- Module 2: Homepage Profiles Directory --- */
    .profiles-directory #profiles-results .profiles-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* --------------------------------------------------------------------------
   BREAKPOINT: 1200px
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {

    /* --- Module 1: Featured Profiles Slider --- */
    .featured-profiles-slider {
        margin: -110px auto 0px auto;
        padding: 110px 20px 20px;
    }
}

/* --------------------------------------------------------------------------
   BREAKPOINT: 1024px
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {

    /* --- Module 1: Featured Profiles Slider --- */
    .featured-profiles-slider {
        margin: -110px auto 0px auto !important;
        padding: 265px 20px 20px !important;
    }

    /* --- Module 3: Contact Form --- */
    .st-contact-form .double-column div {
        width: 100%;
    }

    .st-contact-form div.submit-btn p {
        flex-direction: column;
        justify-content: center;
        padding-left: 0px;
        margin-bottom: 15px;
    }

    .st-contact-form .double-column div:first-child p {
        margin-bottom: 0;
    }

    /* --- Module 6: All Profiles Directory --- */
    .all-profiles-directory .all-profiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* --- Module 8: Archive Page --- */
    .archive-extraordinary-container .archive-extraordinary-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .archive-extraordinary-container .archive-hero-banner {
        padding: 40px 36px;
    }

    .archive-extraordinary-container .archive-hero-banner .archive-hero-inner .archive-hero-heading .archive-heading-main {
        font-size: 36px;
    }
}

/* --------------------------------------------------------------------------
   BREAKPOINT: 991px
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {

    /* --- Module 1: Featured Profiles Slider --- */
    .featured-profiles-slider .slider-arch-shape {
        width: 380px;
        height: 380px;
    }

    .featured-profiles-slider .floating-bg-photo {
        display: none;
    }

    .featured-profiles-slider .featuredProfilesSwiper .swiper-slide {
        width: 260px;
    }

    .featured-profiles-slider .featuredProfilesSwiper .swiper-slide-active {
        width: 320px;
    }

    .featured-profiles-slider .featuredProfilesSwiper .swiper-slide .profile-image img {
        height: 360px;
    }

    .featured-profiles-slider .featuredProfilesSwiper .swiper-slide-active .profile-image img {
        height: 380px;
    }

    .featured-profiles-slider .featuredProfilesSwiper .swiper-slide-prev,
    .featured-profiles-slider .featuredProfilesSwiper .swiper-slide-next {
        transform: translateY(35px);
    }

    .featured-profiles-slider .featuredProfilesSwiper .swiper-slide-prev .profile-image img,
    .featured-profiles-slider .featuredProfilesSwiper .swiper-slide-next .profile-image img {
        height: 290px;
    }

    /* --- Module 2: Homepage Profiles Directory --- */
    .profiles-directory #profiles-results .profiles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profiles-directory #profiles-results .profiles-grid.profiles-list .profile-card {
        grid-template-columns: 100px 1fr;
        grid-template-areas:
            "avatar content"
            "button button";
        gap: 16px;
    }

    .profiles-directory #profiles-results .profiles-grid.profiles-list .profile-avatar-wrap {
        grid-area: avatar;
    }

    .profiles-directory #profiles-results .profiles-grid.profiles-list .profile-content {
        grid-area: content;
    }

    .profiles-directory #profiles-results .profiles-grid.profiles-list .profile-button {
        grid-area: button;
    }

    .profiles-directory .list-view .profile-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profiles-directory .list-view .profile-content {
        text-align: center;
    }

    .profiles-directory .list-view .profile-location {
        justify-content: center;
    }

    .profiles-directory .list-view .profile-button {
        width: 100%;
    }

    /* --- Module 5: Single Profile Details Page --- */
    .single-profile-container .single-profile-card .single-profile-header {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

    .single-profile-container .single-profile-card .single-profile-header .single-profile-avatar-col {
        align-items: center;
    }

    .single-profile-container .single-profile-card .single-profile-header .single-profile-details-col .single-profile-top-badges {
        justify-content: center;
    }

    .single-profile-container .single-profile-card .single-profile-header .single-profile-details-col .single-profile-meta-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   BREAKPOINT: 768px
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

    /* --- Module 4: Submit Profile Form --- */
    .submit-profile-form {
        padding: 32px 20px;
        border-radius: 20px;
        gap: 20px;
    }

    .submit-profile-form .double-column {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .submit-profile-form .submit-btn input[type="submit"],
    .submit-profile-form input[type="submit"] {
        width: 100%;
        border-radius: 16px;
        padding: 16px 24px;
    }
}

/* --------------------------------------------------------------------------
   BREAKPOINT: 767px
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {

    /* --- Module 1: Featured Profiles Slider --- */
    .featured-profiles-slider {
        margin: 40px auto;
        padding: 40px 15px;
    }

    .featured-profiles-slider .slider-arch-shape {
        width: 280px;
        height: 280px;
    }

    .featured-profiles-slider .featuredProfilesSwiper {
        padding: 20px 0;
    }

    .featured-profiles-slider .featuredProfilesSwiper .swiper-slide,
    .featured-profiles-slider .featuredProfilesSwiper .swiper-slide-active {
        width: 85%;
        opacity: 1;
    }

    .featured-profiles-slider .featuredProfilesSwiper .swiper-slide-prev,
    .featured-profiles-slider .featuredProfilesSwiper .swiper-slide-next {
        transform: none;
    }

    .featured-profiles-slider .featuredProfilesSwiper .swiper-slide .profile-image img,
    .featured-profiles-slider .featuredProfilesSwiper .swiper-slide-active .profile-image img {
        height: 380px;
    }

    .featured-profiles-slider .featuredProfilesSwiper .swiper-button-prev,
    .featured-profiles-slider .featuredProfilesSwiper .swiper-button-next {
        display: none;
    }

    /* --- Module 2: Homepage Profiles Directory --- */
    .profiles-directory #profiles-results .profiles-grid .profile-card {
        padding: 18px;
    }

    .profiles-directory #profiles-results .profiles-grid .profile-card .profile-card-top {
        margin-bottom: 18px;
    }

    .profiles-directory #profiles-results .profiles-grid .profile-card .profile-avatar-wrap {
        margin-bottom: 20px;
    }

    .profiles-directory #profiles-results .profiles-grid .profile-card .profile-button {
        height: 50px;
        font-size: 15px;
    }

    .profiles-directory #profiles-results .profiles-grid .profile-card .profile-content .profile-designation {
        min-height: auto;
    }

    .profiles-directory .profiles-pagination {
        flex-wrap: wrap;
    }

    /* --- Module 8: Archive Page --- */
    .archive-extraordinary-container {
        margin: 20px auto 50px auto;
        padding: 0 16px;
    }

    .archive-extraordinary-container .archive-hero-banner {
        padding: 32px 24px;
        margin-bottom: 32px;
        border-radius: 20px;
    }

    .archive-extraordinary-container .archive-hero-banner .archive-hero-inner .archive-hero-heading .archive-heading-main {
        font-size: 30px;
    }

    .archive-extraordinary-container .archive-extraordinary-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .archive-extraordinary-container .archive-extraordinary-grid .archive-card-item {
        padding: 20px;
    }
}

/* --------------------------------------------------------------------------
   BREAKPOINT: 650px
   -------------------------------------------------------------------------- */
@media (max-width: 650px) {

    /* --- Module 1: Featured Profiles Slider --- */
    .featured-profiles-slider .featuredProfilesSwiper .swiper-slide .profile-image img,
    .featured-profiles-slider .featuredProfilesSwiper .swiper-slide-active .profile-image img {
        height: 260px;
    }

    .featured-profiles-slider .featuredProfilesSwiper .swiper-slide-prev .profile-image img,
    .featured-profiles-slider .featuredProfilesSwiper .swiper-slide-next .profile-image img {
        height: 200px;
    }

    .featured-profiles-slider {
        margin: -60px auto 0px auto !important;
        padding: 100px 0px 0px !important;
    }
}

/* --------------------------------------------------------------------------
   BREAKPOINT: 640px
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {

    /* --- Module 2: Homepage Profiles Directory --- */
    .profiles-directory {
        padding: 0 16px;
        margin: 30px auto;
    }

    .profiles-directory .profiles-filter-bar {
        padding: 20px;
        border-radius: 18px;
    }

    .profiles-directory .profiles-filter-bar .profile-filter,
    .profiles-directory .profiles-filter-bar .location-filter {
        font-size: 13px;
        padding: 8px 16px;
    }

    .profiles-directory .profiles-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .profiles-directory .profiles-toolbar .profiles-actions {
        width: 100%;
        justify-content: space-between;
    }

    .profiles-directory .profiles-toolbar #profiles-sort {
        flex: 1;
    }

    .profiles-directory #profiles-results .profiles-grid {
        grid-template-columns: 1fr;
    }

    .profiles-directory #profiles-results .profiles-grid .profile-card .profile-avatar-wrap .profile-avatar-circle {
        width: 120px;
        height: 120px;
    }

    /* --- Module 6: All Profiles Directory --- */
    .all-profiles-directory .all-profiles-filter-bar {
        padding: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .all-profiles-directory .all-profiles-filter-bar .all-profiles-location-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
    }

    .all-profiles-directory .all-profiles-filter-bar .all-profiles-location-pills {
        width: 100%;
        gap: 8px;
    }

    .all-profiles-directory .all-profiles-filter-bar .all-profiles-search-group,
    .all-profiles-directory .all-profiles-filter-bar .all-profiles-search-box {
        width: 100%;
    }

    .all-profiles-directory .all-profiles-filter-bar .all-profiles-search-box input,
    .all-profiles-directory .all-profiles-filter-bar .all-profiles-search-box input:focus {
        width: 100% !important;
        box-sizing: border-box;
    }

    .all-profiles-directory .all-profiles-filter-bar .custom-loc-dropdown-menu {
        left: 0;
        right: auto;
        min-width: 100%;
        max-width: calc(100vw - 40px);
    }

    .all-profiles-directory .all-profiles-grid {
        grid-template-columns: 1fr;
    }

    .all-profiles-directory .all-profiles-grid .all-profile-card {
        grid-template-columns: 90px 1fr;
    }

    .all-profiles-directory .all-profiles-grid .all-profile-card .all-profile-avatar-wrap,
    .all-profiles-directory .all-profiles-grid .all-profile-card .all-profile-avatar-wrap .all-profile-avatar-circle {
        width: 90px;
        height: 90px;
    }
}

/* --------------------------------------------------------------------------
   BREAKPOINT: 500px
   -------------------------------------------------------------------------- */
@media (max-width: 500px) {

    /* --- Module 1: Featured Profiles Slider --- */
    .featured-profiles-slider .featuredProfilesSwiper .swiper-slide .profile-image img,
    .featured-profiles-slider .featuredProfilesSwiper .swiper-slide-active .profile-image img {
        height: 150px;
    }

    .featured-profiles-slider .featuredProfilesSwiper .swiper-slide-prev .profile-image img,
    .featured-profiles-slider .featuredProfilesSwiper .swiper-slide-next .profile-image img {
        height: 100px;
    }

    .featured-profiles-slider {
        margin: -60px auto 0px auto !important;
        padding: 0px 0px 0px !important;
        min-height: 100%;
    }

    .featured-profiles-slider .featuredProfilesSwiper {
        height: 250px;
    }
}

/* --------------------------------------------------------------------------
   BREAKPOINT: 480px
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {

    /* --- Module 8: Archive Page --- */
    .archive-extraordinary-container .archive-hero-banner {
        padding: 26px 18px;
    }

    .archive-extraordinary-container .archive-hero-banner .archive-hero-inner .archive-hero-heading .archive-heading-main {
        font-size: 26px;
    }

    .archive-extraordinary-container .archive-no-posts-extraordinary .archive-no-posts-btn-row {
        flex-direction: column;
        width: 100%;
    }
}