/* ========================================
   NAMESGLOBE THEME - MAIN STYLESHEET
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF1874;
    --primary-dark: #CC0D5C;
    --purple: #7C3AED;
    --blue: #3B82F6;
    --green: #22C55E;
    --orange: #F59E0B;
    --accent: #EC4899;
    --text: #1E293B;
    --muted: #64748B;
    --bg: #FAFAFA;
    --white: #FFFFFF;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Layouts */
.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.entry-header {
    margin-bottom: 40px;
}

.entry-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.2;
}

.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}

.entry-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.post-navigation {
    margin-top: 40px;
    padding: 20px;
    background: #f8f4ff;
    border-radius: 8px;
    display: flex;
    gap: 40px;
}

.post-navigation a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.post-navigation a:hover {
    text-decoration: underline;
}

.post-meta {
    color: var(--muted);
    font-size: 14px;
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.post-tags {
    margin-bottom: 20px;
}

/* 404 Page */
.error-404-page {
    text-align: center;
}

.error-404-title {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
}

.error-404-subtitle {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

.error-404-text {
    color: var(--muted);
    margin-bottom: 32px;
    font-size: 16px;
}

.error-404-buttons {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.error-404-links {
    margin-top: 60px;
    padding: 40px;
    background: #f8f4ff;
    border-radius: 12px;
    text-align: left;
}

.error-404-links h3 {
    margin-bottom: 20px;
    color: var(--text);
}

.error-404-links ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.error-404-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.error-404-links a:hover {
    text-decoration: underline;
}

/* ===== HEADER ===== */
header {
    background: var(--white);
    border-bottom: 2px solid var(--primary);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 20px;
    height: auto;
    min-height: 75px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}
.logo,
.logo:hover,
.logo a,
.logo a:hover,
.custom-logo-link,
.custom-logo-link:hover {
    text-decoration: none !important;
}
/* CMS-managed logo (Appearance → Customize → Site Identity → Logo) */
.logo-custom .custom-logo-link { display: inline-flex; align-items: center; }
.logo-custom .custom-logo {
    max-height: 52px;
    width: auto;
    height: auto;
    display: block;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: -8px;
    position: relative;
    width: 70px;
    height: 45px;
}

.logo-n {
    font-size: 42px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    height: 45px;
    display: flex;
    align-items: center;
}

.logo-g {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.globe-circle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
}

.globe-top {
    background: var(--orange);
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
}

.globe-right {
    background: var(--purple);
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.globe-left {
    background: var(--blue);
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.logo-text {
    font-size: 16px;
    font-weight: 900;
    color: var(--text);
    letter-spacing: 0.5px;
    margin-left: 8px;
}

.search-icon {
    cursor: pointer;
    font-size: 20px;
    transition: color 0.2s;
}

.search-icon:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.navbar {
    background: var(--text);
    color: white;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
}

.navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    gap: 0;
    justify-content: flex-start;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
    padding: 8px 0;
}

.navbar a:hover {
    color: #fca5d0;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #FF1874 0%, #FF4899 50%, #7C3AED 100%);
    padding: 60px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-left h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-left .highlight {
    color: #fca5d0;
}

.hero-left p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.95;
}

.hero-ctas {
    display: flex;
    gap: 12px;
}

.hero-cta-btn {
    padding: 12px 28px;
    border-radius: 8px;
    border: 2px solid white;
    background: white;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.hero-cta-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.hero-cta-btn.secondary {
    background: transparent;
    color: white;
}

.hero-cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== FORM WIDGET ===== */
.form-widget {
    background: var(--white);
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.form-widget h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 8px;
}

.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
}

.form-cta {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #FF1874 0%, #FF4899 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.form-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 24, 116, 0.3);
}

/* ===== STATS ===== */
.stats {
    background: #f5f1ff;
    padding: 40px 0;
    margin-top: -20px;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 20px;
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

/* ===== SECTION TITLE ===== */
.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text);
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    margin-bottom: 40px;
    font-size: 15px;
}

/* ===== EXPLORER ===== */
.explorer {
    background: var(--white);
    padding: 80px 0;
}

.explorer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.explorer-card {
    background: linear-gradient(135deg, #f8f4ff 0%, #faf5ff 100%);
    padding: 40px 28px;
    border-radius: 12px;
    border: 1px solid #ede9fe;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
    cursor: pointer;
}

.explorer-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(217, 70, 239, 0.12);
    transform: translateY(-6px);
}

.explorer-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.explorer-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.explorer-card p {
    font-size: 14px;
    color: var(--muted);
}

/* ===== OTHER FINDERS ===== */
.other-finders {
    background: linear-gradient(135deg, #fce7f3 0%, #f5f8ff 100%);
    padding: 80px 0;
}

.finders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.finder-card {
    background: var(--white);
    padding: 40px 28px;
    border-radius: 12px;
    border: 2px solid #f0f4f8;
    text-decoration: none;
    color: var(--text);
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.finder-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(255, 24, 116, 0.12);
    transform: translateY(-6px);
}

.finder-card:nth-child(1) {
    border-color: #FFD4E5;
}

.finder-card:nth-child(2) {
    border-color: #E5D4FF;
}

.finder-card:nth-child(3) {
    border-color: #D4E5FF;
}

.finder-large-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.finder-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.finder-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.finder-cta {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, #FF1874 0%, #FF4899 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.finder-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 24, 116, 0.3);
}

/* ===== RELIGION SECTION ===== */
.religion {
    background: linear-gradient(135deg, #7C3AED 0%, #FF1874 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.religion .section-title {
    color: white;
}

.religion .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.religion-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.religion-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 28px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    color: white;
    transition: all 0.3s;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.religion-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
}

.religion-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.religion-name {
    font-size: 16px;
    font-weight: 700;
}

.view-more-btn {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #FF1874 0%, #FF4899 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    margin-top: 32px;
}

.view-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 24, 116, 0.3);
}

.religion .view-more-btn {
    background: white;
    color: var(--primary);
}

.religion .view-more-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* ===== COLLECTIONS ===== */
.collections {
    background: var(--white);
    padding: 80px 0;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.collection-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #f8f4ff;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
    border: 1px solid #ede9fe;
}

.collection-card:hover {
    border-color: var(--primary);
    background: #faf5ff;
}

.collection-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.collection-info h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.collection-info p {
    font-size: 13px;
    color: var(--muted);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    background: linear-gradient(135deg, #f8e7ff 0%, #fce7f3 100%);
    padding: 80px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    background: var(--white);
    padding: 28px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF1874 0%, #FF4899 100%);
    color: white;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}

.step-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 13px;
    color: var(--muted);
}

/* ===== TRENDING NAMES ===== */
.trending {
    background: var(--white);
    padding: 80px 0;
}

.trending-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
}

.trending-left h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.trending-subtitle {
    color: var(--muted);
    font-size: 15px;
}

.view-all {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s;
}

.view-all:hover {
    gap: 8px;
}

.trending-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-behavior: smooth;
}

.trending-scroll::-webkit-scrollbar {
    height: 6px;
}

.trending-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.trending-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.trending-card {
    flex: 0 0 140px;
    padding: 24px 20px;
    border: 2px solid #f0f4f8;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    text-align: center;
    background: var(--white);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    min-height: 160px;
}

.trending-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(255, 24, 116, 0.12);
    transform: translateY(-4px);
}

.trending-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.trending-gender {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 12px;
}

.trending-arrow {
    font-size: 16px;
    opacity: 0.7;
}

/* ===== BLOG ===== */
.blog {
    background: var(--white);
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.blog-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.blog-image {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    background: linear-gradient(135deg, #d946ef, #a855f7);
}

.blog-card:nth-child(2) .blog-image {
    background: linear-gradient(135deg, #ec4899, #f472b6);
}

.blog-card:nth-child(3) .blog-image {
    background: linear-gradient(135deg, #60a5fa, #93c5fd);
}

.blog-content {
    padding: 20px;
}

.blog-badge {
    display: inline-block;
    background: #fce7f3;
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
}

.blog-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: #fef3c7;
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.stars {
    color: #fbbf24;
    margin-bottom: 12px;
    font-size: 14px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-size: 13px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 12px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 2px;
}

.testimonial-role {
    font-size: 11px;
    color: var(--muted);
}

/* ===== FOUNDER ===== */
.founder {
    background: linear-gradient(135deg, #fef3c7 0%, #fce7f3 100%);
    padding: 80px 0;
}

.founder-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.founder-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.founder-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.founder-title {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 16px;
}

.founder-bio {
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.founder-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* ===== EXPLORE PAGES ===== */
.explore-pages {
    background: var(--white);
    padding: 80px 0;
}

.explore-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.explore-content p {
    color: var(--muted);
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.6;
}

.explore-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.explore-link {
    text-align: left;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.explore-link:hover {
    padding-left: 8px;
}

.explore-btn {
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}

.explore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 70, 239, 0.3);
}

/* ===== FINAL CTA ===== */
.final-cta {
    background: linear-gradient(135deg, #FF1874 0%, #7C3AED 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.final-cta h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
}

.final-cta p {
    font-size: 16px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.final-cta-btn {
    padding: 12px 32px;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.final-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.final-cta-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.final-cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, #FAF5FF 0%, #F5F8FF 100%);
    color: var(--text);
    padding: 60px 0 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-header {
    margin-bottom: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.footer-branding h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.footer-branding p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    text-decoration: none;
    color: var(--muted);
    font-size: 13px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--primary);
}

.explore-names {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 32px;
    padding: 40px 0 0;
    border-top: 1px solid #E5E7EB;
}

.explore-column h5 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    text-transform: capitalize;
}

.explore-column ul {
    list-style: none;
}

.explore-column li {
    margin-bottom: 10px;
}

.explore-column a {
    text-decoration: none;
    color: var(--muted);
    font-size: 12px;
    transition: color 0.2s;
}

.explore-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    padding-top: 24px;
    border-top: 1px solid #E5E7EB;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-content { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .explorer-grid { grid-template-columns: 1fr; }
    .finders-grid { grid-template-columns: 1fr; }
    .religion-grid { grid-template-columns: 1fr; }
    .collections-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-header { grid-template-columns: 1fr; }
    .footer-columns { grid-template-columns: 1fr; }
    .explore-names { grid-template-columns: repeat(2, 1fr); }
    .final-cta-buttons { flex-direction: column; }

    /* Hamburger Menu */
    .menu-toggle {
        display: flex;
        order: -1;
        margin-right: 10px;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    }

    .navbar.active {
        max-height: calc(100vh - 56px);
        overflow-y: auto;
    }

    .navbar-content {
        padding: 0;
        max-width: 100%;
        flex-direction: column;
    }

    .navbar-content > ul {
        flex-direction: column;
        width: 100%;
        padding: 8px 0;
        max-width: none;
        overflow: visible;
    }

    .navbar-content li {
        width: 100%;
        flex-shrink: 1;
    }

    .navbar-content > ul > li {
        display: block;
        width: 100%;
    }

    .navbar-content a {
        padding: 12px 20px;
        font-size: 13px;
        display: block;
        width: 100%;
        white-space: normal;
    }

    .navbar-content .sub-menu {
        position: static;
        background: rgba(0, 0, 0, 0.1);
        display: none;
        min-width: 100%;
        box-shadow: none;
        border-radius: 0;
    }

    .navbar-content li:hover > .sub-menu {
        display: flex;
    }

    .navbar-content .sub-menu a {
        padding: 10px 40px;
        font-size: 12px;
    }

    .logo-text {
        font-size: 14px;
    }

    .header-top {
        height: 60px;
        padding: 8px 20px;
        display: flex;
        align-items: center;
    }

    .page-wrapper,
    .page-narrow,
    .page-content {
        padding: 40px 20px;
    }

    .error-404-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .error-404-buttons a {
        width: 100%;
    }

    .error-404-links ul {
        grid-template-columns: 1fr;
    }
}

/* ===== MOBILE SMALL SCREENS ===== */
@media (max-width: 480px) {
    .navbar-content a {
        padding: 10px 20px;
        font-size: 12px;
    }

    .navbar-content .menu-item-has-children > a::after {
        font-size: 8px;
        margin-left: 2px;
    }

    .navbar-content .sub-menu a {
        padding: 8px 40px;
        font-size: 11px;
    }

    .logo {
        gap: 8px;
    }

    .logo-text {
        font-size: 12px;
    }

    .logo-container {
        width: 55px;
        height: 38px;
    }

    .logo-n {
        font-size: 35px;
        height: 38px;
    }

    .globe-circle {
        width: 6px;
        height: 6px;
    }

    .search-icon {
        font-size: 18px;
    }

    .header-top {
        height: 50px;
        padding: 6px 15px;
    }

    .menu-toggle {
        padding: 6px;
    }

    .menu-toggle span {
        width: 22px;
        height: 2.5px;
    }

    .page-wrapper,
    .page-narrow,
    .page-content {
        padding: 30px 15px;
    }

    .entry-title {
        font-size: 28px;
    }

    .post-navigation {
        flex-direction: column;
        gap: 10px;
    }

    .error-404-title {
        font-size: 48px;
    }

    .error-404-subtitle {
        font-size: 22px;
    }

    .error-404-links {
        padding: 20px;
    }
}


/* ===== FINDER PAGES — THEME STYLING ===== */

/* ── Name Finder Widget ──────────────────────────────── */
.baby-name-generator {
    background: #fff;
    border: 1px solid #e8eaf0;
    border-radius: 12px;
    padding: 22px;
    margin: 16px 0 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.baby-name-generator h2 {
    font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 4px;
}
.baby-name-generator p { color: var(--muted); font-size: 14px; }

/* Select trigger buttons */
.select-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 9px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    background: #fff;
    border: 1.5px solid #dde1e7;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .2s, color .2s;
    text-align: left;
}
.select-button::after {
    content: '';
    display: inline-block;
    width: 8px; height: 8px;
    border-right: 2px solid #888;
    border-bottom: 2px solid #888;
    transform: rotate(45deg);
    margin-left: 8px;
    flex-shrink: 0;
    position: relative;
    top: -2px;
    transition: border-color .2s;
}
.select-button:hover, .select-button.has-selection {
    border-color: var(--primary);
    color: var(--primary);
}
.select-button:hover::after, .select-button.has-selection::after {
    border-color: var(--primary);
}

/* Search / action row */
.bnf-action-row {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.bnf-action-row > div {
    flex: 1 1 150px;
    min-width: 0;
    padding: 0;
}
.bnf-search-btn,
#applyFilters {
    background: var(--primary);
    border: none;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 28px;
    box-shadow: 0 3px 10px rgba(255,24,116,.25);
    transition: all .2s;
    cursor: pointer;
}
.bnf-search-btn:hover, #applyFilters:hover {
    background: var(--primary-dark);
}
#clearFilters {
    background: #fff;
    border: 1.5px solid #dde1e7;
    color: #666;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 18px;
    transition: all .2s;
    cursor: pointer;
}
#clearFilters:hover { border-color: var(--primary); color: var(--primary); }

.bnf-search-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; }

.bnf-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    background: #fff;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 9px 28px;
    border-radius: 8px;
    transition: all .2s;
    text-decoration: none;
}
.bnf-more-btn:hover { background: var(--primary); color: #fff; }
.bnf-more-btn svg { flex-shrink: 0; }

/* Modal */
.bnf-modal .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.15);
    overflow: hidden;
    color: #1E293B; /* reset inherited white from the hero so modal text is readable */
}
.bnf-modal .modal-header {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 14px 20px;
}
.bnf-modal .modal-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}
.bnf-modal .modal-header .close {
    color: #888; opacity: 1; font-size: 22px; padding: 0; margin: 0; line-height: 1;
}
.bnf-modal .modal-body {
    padding: 14px 20px;
    max-height: 380px;
    overflow-y: auto;
}
.bnf-modal .modal-footer {
    padding: 12px 20px;
    border-top: 1px solid #f0f0f0;
    justify-content: flex-end;
    gap: 10px;
}
.bnf-modal .modal-footer .btn-secondary {
    background: #f5f5f5; border: 1.5px solid #dde; color: #555;
    border-radius: 6px; font-size: 13px; font-weight: 500; padding: 7px 16px;
}
.bnf-modal .modal-footer .btn-primary {
    background: var(--primary); border: none; color: #fff;
    border-radius: 6px; font-size: 14px; font-weight: 600; padding: 8px 24px;
    box-shadow: 0 3px 8px rgba(255,24,116,.25);
}
.bnf-modal .modal-footer .btn-primary:hover { background: var(--primary-dark); }

/* Modal search input */
.bnf-modal-search {
    margin-bottom: 12px;
}
.mf-text-input {
    width: 100%;
    padding: 8px 12px;
    border: 1.5px solid #dde1e7;
    border-radius: 8px;
    font-size: 14px;
}
.mf-text-input:focus { outline: none; border-color: var(--primary); }

/* Pill grid (checkbox options) */
.bnf-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.bnf-pill input[type="checkbox"] { display: none; }
.bnf-pill label {
    display: inline-block;
    padding: 5px 12px;
    background: #f5f5f5;
    border: 1.5px solid #e0e0e0;
    border-radius: 20px;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
    transition: all .2s;
    user-select: none;
}
.bnf-pill label:hover { border-color: var(--primary); color: var(--primary); }
.bnf-pill input[type="checkbox"]:checked + label {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Gender cards */
.bnf-gender-grid { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0; }
.bnf-gender-card input[type="checkbox"] { display: none; }
.bnf-gender-card label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    padding: 14px 16px;
    background: #f8f8f8;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
}
.bnf-gender-card label:hover { border-color: var(--primary); color: var(--primary); }
.bnf-gender-card label .gender-icon { font-size: 28px; margin-bottom: 6px; }
.bnf-gender-card.card-boy input:checked + label { background: #e8f4ff; border-color: #1976d2; color: #1976d2; }
.bnf-gender-card.card-girl input:checked + label { background: #fff0f7; border-color: var(--primary); color: var(--primary); }
.bnf-gender-card.card-unisex input:checked + label { background: #f0f4ff; border-color: var(--purple); color: var(--purple); }

/* ── Nicknames / Surnames finder widget ─────────────── */
.finding-names {
    display: inline-block;
    background: var(--primary);
    color: white !important;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s;
    text-align: center;
    width: auto !important;
    margin: 12px auto;
}
.finding-names:hover { background: var(--primary-dark); }

/* Name card grid (baby-common-views) */
.baby-common-views {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #eef0f4;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all .2s;
}
.baby-common-views:hover {
    background: #fff5f8;
    border-color: var(--primary);
}
.baby-girl-names-one {
    display: flex;
    align-items: center;
    gap: 8px;
}
.user-girls-names {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}
.ser-vi-textnu {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
}

/* Pagination — bootstrap override to pink */
.pagination .page-link {
    color: var(--primary);
    border-color: #e2e8f0;
    font-size: 13px;
    padding: 6px 12px;
}
.pagination .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}
.pagination .page-link:hover {
    background: #fff5f8;
    color: var(--primary-dark);
    border-color: var(--primary);
}
.pagination .page-item.disabled .page-link {
    color: #adb5bd;
}

/* Select2 overrides */
.select2-container--default .select2-selection--single {
    border: 1.5px solid #dde1e7 !important;
    border-radius: 8px !important;
    height: 40px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px !important;
    color: #444 !important;
    font-size: 14px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px !important;
}
.select2-container--default .select2-results__option--highlighted {
    background-color: var(--primary) !important;
}
.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #fff5f8 !important;
    color: var(--primary) !important;
}

/* ── #findname link cards ───────────────────────────── */
div#findname { padding: 12px 0; }
div#findname a {
    background: #f8fafc;
    padding: 10px 14px;
    display: block;
    margin-bottom: 6px;
    border-radius: 8px;
    position: relative;
    font-weight: 500;
    font-size: 13px;
    color: var(--text);
    text-decoration: none;
    border: 1px solid #eef0f4;
    transition: all .2s ease;
}
div#findname a::after {
    content: '›';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--primary);
    font-weight: 700;
}
div#findname a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateX(3px);
}
div#findname a:hover::after { color: #fff; }
div#findname.girls a { color: #e91e8c; }
div#findname.boys  a { color: #1976d2; }
div#findname.girls a:hover,
div#findname.boys  a:hover { color: #fff; }

/* Breadcrumbs */
.td-crumb-container .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.td-crumb-container .breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

.td-crumb-container .breadcrumb-item.active {
    color: var(--muted);
}

.td-crumb-container .breadcrumb-item + .breadcrumb-item::before {
    color: var(--muted);
}

/* Section headings */
.common-title-hedings {
    margin: 28px 0 14px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.common-title-hedings h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.3;
}

.common-title-hedings h2 {
    font-size: 19px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
    line-height: 1.3;
}

.common-title-hedings p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

/* A-Z letter tiles */
.baby-names-abc {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 0;
}

.baby-names-abc a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text) !important;
    text-decoration: none !important;
    transition: all 0.2s;
}

.baby-names-abc a:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 24, 116, 0.25);
}

.baby-names-abc a.disabled-link {
    opacity: 0.3;
    pointer-events: none;
}

.baby-names-abc a span {
    background: none !important;
    padding: 0 !important;
}

/* findname link hover — override inline blue */
div#findname a:hover {
    background-color: var(--primary) !important;
}

div#findname a:hover::after {
    color: white !important;
}

/* Page-level "View All" outline buttons */
a.btn-light.more-filter-button,
a.more-filter-button.btn-light {
    color: var(--primary) !important;
    border: 2px solid var(--primary) !important;
    background: white !important;
    font-weight: 600;
    border-radius: 8px;
    padding: 8px 24px;
    transition: all 0.2s;
}

a.btn-light.more-filter-button:hover,
a.more-filter-button.btn-light:hover {
    background: var(--primary) !important;
    color: white !important;
}

/* Page-level "View all taxonomy" pink buttons */
a.btn.btn-primary:not([data-dismiss]) {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    border-radius: 8px;
    font-weight: 600;
    padding: 8px 24px;
    transition: all 0.2s;
}

a.btn.btn-primary:not([data-dismiss]):hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

/* ── Recent Posts Widget with Images ─────────────────── */
.ng-recent-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ng-recent-post {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f4;
}
.ng-recent-post:last-child { border-bottom: none; }
.ng-rp-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    display: block;
}
.ng-rp-thumb img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
}
.ng-rp-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.ng-rp-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ng-rp-title:hover { color: var(--primary); }
.ng-rp-date {
    font-size: 11px;
    color: var(--muted);
}

/* Sidebar */
.td-pb-span4.td-main-sidebar {
    flex: 0 0 280px;
    width: 280px;
    min-width: 280px;
}

.td-ss-main-sidebar .widget {
    background: white;
    border: 1px solid #eef0f4;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.td-ss-main-sidebar .widget-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.td-ss-main-sidebar .widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.td-ss-main-sidebar .widget ul li {
    padding: 6px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
}

.td-ss-main-sidebar .widget ul li a {
    color: var(--text);
    text-decoration: none;
}

.td-ss-main-sidebar .widget ul li a:hover {
    color: var(--primary);
}

/* ===== SITE MAIN WRAPPER ===== */
#main.site-main {
    min-height: 60vh;
    background: var(--bg);
}

/* ===== NEWSPAPER LAYOUT COMPATIBILITY ===== */
/* Maps old Newspaper theme classes to new box layout */

.td-container-wrap,
.td-main-content-wrap {
    width: 100%;
    background: var(--bg);
}

.td-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

.td-crumb-container {
    padding: 10px 0 20px;
    font-size: 13px;
    color: var(--muted);
}

.td-crumb-container a {
    color: var(--primary);
    text-decoration: none;
}

.td-crumb-container a:hover {
    text-decoration: underline;
}

.td-pb-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Main content — 8 columns (~66%) */
.td-pb-span8 {
    flex: 2.1;
    min-width: 0;
}

/* Sidebar — 4 columns (~33%) */
.td-pb-span4 {
    flex: 1;
    min-width: 0;
    width: 320px;
    max-width: 320px;
}

/* Full width — 12 columns (100%) */
.td-pb-span12 {
    flex: 1;
    min-width: 0;
    width: 100%;
}

.td-main-content,
.td-ss-main-content {
    width: 100%;
}

.td-main-sidebar,
.td-ss-main-sidebar {
    width: 100%;
}

/* Sidebar widget styling */
.td-ss-main-sidebar .widget {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.td-ss-main-sidebar .widget-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

/* Page title inside finder pages */
.td-page-header {
    margin-bottom: 24px;
}

.td-page-header .entry-title,
.td-page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

/* Breadcrumbs */
.td-crumb-container .breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    list-style: none;
    font-size: 13px;
}

/* Responsive — stack on tablet */
@media (max-width: 900px) {
    .td-pb-row {
        flex-direction: column;
    }

    .td-pb-span4,
    .td-pb-span8,
    .td-pb-span12 {
        width: 100%;
        max-width: 100%;
        flex: none;
    }
}

@media (max-width: 480px) {
    .td-container {
        padding: 20px 15px 40px;
    }
}

/* ===== UTILITY CLASSES ===== */
.disabled-link {
    pointer-events: none;
}

.disabled-link span {
    background-color: lightgray;
}

#moreFilterModal {
    z-index: 9999;
}

/* Two-pane body: side nav + content (override bnf-modal body padding) */
#moreFilterModal .modal-body {
    padding: 0;
    max-height: none;
    overflow: visible;
}
#moreFilterModal .modal-body .d-flex {
    min-height: 340px;
}

/* Side navigation (vertical pills) */
#moreFilterModal .nav-pills {
    flex: 0 0 178px;
    max-width: 178px;
    background: #faf7f9;
    border-right: 1px solid #f1e7ee;
    padding: 12px 10px;
    max-height: 440px;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    overflow-x: hidden;
    overflow-y: auto;
    gap: 2px;
}
#moreFilterModal .nav-pills .nav-link {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 12px;
    border-radius: 8px;
    background: transparent;
    transition: background .15s, color .15s;
}
#moreFilterModal .nav-pills .nav-link:hover {
    background: #fff;
    color: var(--primary);
}
#moreFilterModal .nav-pills .nav-link.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 3px 8px rgba(255,24,116,.25);
}

/* Count badges */
#moreFilterModal .nav-link span {
    min-width: 20px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    border-radius: 9px;
    padding: 0 6px;
}
#moreFilterModal .nav-link span:not(:empty) {
    background: rgba(255,24,116,.12);
    color: var(--primary);
}
#moreFilterModal .nav-link.active span:not(:empty) {
    background: rgba(255,255,255,.28);
    color: #fff;
}

/* Content pane */
#moreFilterModal .tab-content {
    flex: 1 1 auto;
    min-width: 0;
    padding: 18px 22px;
    max-height: 440px;
    overflow-y: auto;
}
#moreFilterModal .mf-label {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 10px;
}

/* Footer — Clear All / Apply Filters */
#moreFilterModal .modal-footer {
    justify-content: space-between;
    padding: 14px 22px;
    border-top: 1px solid #f0f0f0;
}
#moreFilterModal #clearFilters {
    background: #fff;
    border: 1.5px solid #dde1e7;
    color: #666;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 22px;
    cursor: pointer;
    transition: all .2s;
}
#moreFilterModal #clearFilters:hover { border-color: var(--primary); color: var(--primary); }
#moreFilterModal #applyFilters {
    background: var(--primary);
    border: none;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 28px;
    box-shadow: 0 3px 10px rgba(255,24,116,.25);
    cursor: pointer;
    transition: all .2s;
}
#moreFilterModal #applyFilters:hover { background: var(--primary-dark); }

/* Mobile — stack side nav on top, scroll horizontally */
@media (max-width: 600px) {
    #moreFilterModal .modal-body .d-flex { flex-direction: column; }
    #moreFilterModal .nav-pills {
        flex: none;
        max-width: none;
        flex-direction: row !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid #f1e7ee;
    }
    #moreFilterModal .nav-pills .nav-link { white-space: nowrap; }
    #moreFilterModal .tab-content { max-height: 320px; }
}

/* ===== WORDPRESS MENU STYLES ===== */
.navbar-content {
    display: flex;
    gap: 0;
    align-items: center;
}

.navbar-content > ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    align-items: center;
}

.navbar-content li {
    position: relative;
    margin: 0;
    padding: 0;
    display: block;
}

.navbar-content > ul > li {
    display: inline-block;
}

.navbar-content a {
    text-decoration: none;
    color: white;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
    padding: 12px 16px;
    display: block;
    white-space: nowrap;
}

.navbar-content a:hover {
    color: #fca5d0;
}

/* Dropdown arrow for menu items with children */
.navbar-content .menu-item-has-children > a::after {
    content: '▼';
    font-size: 10px;
    display: inline-block;
    transition: transform 0.2s;
    margin-left: 4px;
}

.navbar-content .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

.navbar-content .current-menu-item > a {
    color: #fca5d0;
    font-weight: 700;
}

/* Submenu Styles */
.navbar-content .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(30, 41, 59, 0.98);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    min-width: 200px;
    display: none;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    z-index: 1000;
}

.navbar-content li:hover > .sub-menu {
    display: flex;
}

.navbar-content .sub-menu li {
    display: block;
    margin: 0;
    padding: 0;
}

.navbar-content .sub-menu a {
    padding: 10px 16px;
    font-size: 12px;
    color: white;
    white-space: normal;
}

.navbar-content .sub-menu a:hover {
    background: rgba(255, 24, 116, 0.2);
    color: #fca5d0;
}
