/*
 * MuslimBabyName Theme — Master Stylesheet
 * Colors:
 * - Primary Green: #08784F
 * - Deep Green: #064E3B
 * - Dark Navy: #102A43
 * - Warm Cream: #FFF9F0
 * - White: #FFFFFF
 * - Soft Blue: #E6F4FF
 * - Soft Pink: #FCE7F3
 * - Soft Mint: #D1FAE5
 * - Soft Lavender: #EDE9FE
 * - Accent Gold: #F5B942
 */

/* ==========================================================================
   1. LAYOUT & CONTAINERS
   ========================================================================== */
.mbn-container {
  width: 100%;
  max-width: var(--mbn-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.text-center {
  text-align: center;
}

.mbn-section {
  padding: 64px 0;
}

.mbn-mt-4 {
  margin-top: 32px;
}

.mbn-section-header {
  margin-bottom: 40px;
}

.mbn-section-sub {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--mbn-primary);
  margin-bottom: 8px;
}

.mbn-section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--mbn-navy);
  line-height: 1.25;
}

.mbn-section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   2. TWO-LEVEL HEADER
   ========================================================================== */
.mbn-site-header {
  background: var(--mbn-white);
  border-bottom: 1px solid var(--mbn-gray-200);
  position: relative;
  z-index: 100;
}

/* Top Header */
.mbn-top-header {
  padding: 16px 0;
  background: var(--mbn-white);
}

.mbn-top-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mbn-branding {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.mbn-site-logo {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

.mbn-site-tagline {
  font-size: 12px;
  color: var(--mbn-gray-600);
  font-weight: 500;
  margin-top: 2px;
}

/* Center Search */
.mbn-header-search-area {
  flex: 1;
  max-width: 480px;
}

.mbn-search-box-wrap {
  position: relative;
}

.mbn-header-search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.mbn-search-icon {
  position: absolute;
  left: 14px;
  color: var(--mbn-gray-400);
  font-size: 20px;
  pointer-events: none;
}

.mbn-header-search-input {
  width: 100%;
  padding: 11px 90px 11px 42px;
  border: 1.5px solid var(--mbn-gray-200);
  border-radius: 50px;
  font-size: 14px;
  background: var(--mbn-gray-50);
  color: var(--mbn-navy);
  outline: none;
  transition: var(--mbn-transition);
}

.mbn-header-search-input:focus {
  background: var(--mbn-white);
  border-color: var(--mbn-primary);
  box-shadow: 0 0 0 3px rgba(8, 120, 79, 0.12);
}

.mbn-header-search-btn {
  position: absolute;
  right: 5px;
  background: var(--mbn-primary);
  color: var(--mbn-white);
  border: none;
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--mbn-transition);
}

.mbn-header-search-btn:hover {
  background: var(--mbn-primary-dark);
}

/* Search Dropdown */
.mbn-search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--mbn-white);
  border: 1px solid var(--mbn-gray-200);
  border-radius: var(--mbn-radius-md);
  box-shadow: var(--mbn-shadow-hover);
  z-index: 999;
  max-height: 380px;
  overflow-y: auto;
}

.mbn-search-results-dropdown ul {
  list-style: none;
}

.mbn-search-results-dropdown li a {
  display: flex;
  flex-direction: column;
  padding: 12px 18px;
  border-bottom: 1px solid var(--mbn-gray-100);
  text-decoration: none;
  transition: background 0.15s;
}

.mbn-search-results-dropdown li a:hover {
  background: var(--mbn-cream);
}

.mbn-sr-name {
  font-weight: 700;
  color: var(--mbn-navy);
  font-size: 15px;
}

.mbn-sr-arabic {
  font-family: var(--mbn-font-arabic);
  font-size: 18px;
  color: var(--mbn-primary);
  direction: rtl;
  text-align: right;
  margin-top: -18px;
}

.mbn-sr-mean {
  font-size: 12px;
  color: var(--mbn-gray-600);
  margin-top: 4px;
}

.mbn-no-results {
  padding: 16px;
  text-align: center;
  color: var(--mbn-gray-600);
  font-size: 14px;
}

/* Header Right Actions */
.mbn-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.mbn-action-fav-btn,
.mbn-action-account-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--mbn-navy);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  position: relative;
  transition: var(--mbn-transition);
}

.mbn-action-fav-btn:hover,
.mbn-action-account-btn:hover {
  background: var(--mbn-gray-50);
  color: var(--mbn-primary);
}

.mbn-action-fav-btn .dashicons-heart {
  color: #E11D48;
  font-size: 20px;
}

.mbn-header-fav-count {
  background: #E11D48;
  color: var(--mbn-white);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
  position: absolute;
  top: 2px;
  left: 20px;
}

.mbn-btn-header-tools {
  padding: 9px 18px;
  font-size: 14px;
  border-radius: 50px;
}

.mbn-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.mbn-hamburger-line {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--mbn-navy);
  border-radius: 2px;
  transition: var(--mbn-transition);
}

/* Bottom Nav Bar */
.mbn-nav-bar {
  background: var(--mbn-white);
  border-bottom: 1px solid var(--mbn-gray-200);
}

.mbn-nav-inner {
  display: flex;
  align-items: center;
}

.mbn-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 2px;
}

.mbn-nav-list li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 14px;
  color: var(--mbn-navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  border-radius: 6px;
}

.mbn-nav-list li a:hover,
.mbn-nav-list li.current-menu-item a {
  background: rgba(8, 120, 79, 0.08);
  color: var(--mbn-primary);
}

.mbn-nav-icon {
  font-size: 16px;
  color: var(--mbn-primary);
}

/* ==========================================================================
   3. MOBILE DRAWER NAVIGATION
   ========================================================================== */
.mbn-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  transition: visibility 0.3s;
}

.mbn-mobile-drawer.active {
  visibility: visible;
}

.mbn-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 42, 67, 0.6);
  opacity: 0;
  transition: opacity 0.3s;
}

.mbn-mobile-drawer.active .mbn-drawer-overlay {
  opacity: 1;
}

.mbn-drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: var(--mbn-white);
  box-shadow: 4px 0 24px rgba(0,0,0,0.15);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}

.mbn-mobile-drawer.active .mbn-drawer-panel {
  transform: translateX(0);
}

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

.mbn-drawer-logo {
  max-height: 44px;
}

.mbn-drawer-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--mbn-navy);
}

.mbn-drawer-search {
  margin-bottom: 20px;
}

.mbn-drawer-nav .mbn-nav-list,
.mbn-drawer-menu-list {
  display: flex;
  flex-direction: column;
  list-style: none;
}

.mbn-drawer-menu-list li a {
  display: block;
  padding: 11px 0;
  color: var(--mbn-navy);
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px solid var(--mbn-gray-100);
}

.mbn-drawer-footer {
  margin-top: auto;
  padding-top: 24px;
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.mbn-hero-section {
  background: linear-gradient(180deg, #FFF9F0 0%, #FFFFFF 100%);
  padding: 48px 0 32px 0;
  position: relative;
  overflow: hidden;
}

.mbn-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.mbn-hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--mbn-primary);
  margin-bottom: 12px;
}

.mbn-hero-title {
  font-size: 46px;
  font-weight: 900;
  color: #064E3B;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.mbn-hero-title span {
  color: #064E3B;
}

.mbn-hero-desc {
  font-size: 16.5px;
  color: #4B5563;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 580px;
}

.mbn-hero-search-box {
  margin-bottom: 18px;
  max-width: 540px;
}

.mbn-hero-search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.mbn-hero-input {
  width: 100%;
  padding: 14px 60px 14px 22px;
  border: 1.5px solid #CBD5E1;
  border-radius: 50px;
  font-size: 15px;
  background: var(--mbn-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  outline: none;
  transition: var(--mbn-transition);
}

.mbn-hero-input:focus {
  border-color: var(--mbn-primary);
  box-shadow: 0 0 0 3px rgba(8, 120, 79, 0.15);
}

.mbn-hero-submit-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--mbn-primary);
  color: var(--mbn-white);
  border: none;
  border-radius: 50px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--mbn-transition);
}

.mbn-hero-submit-btn:hover {
  background: var(--mbn-primary-dark);
}

.mbn-hero-submit-btn .dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
}

.mbn-search-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mbn-chips-label {
  font-size: 13px;
  font-weight: 700;
  color: #1F2937;
}

.mbn-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mbn-chip {
  background: var(--mbn-white);
  border: 1px solid #E2E8F0;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: var(--mbn-transition);
}

.mbn-chip:hover {
  background: var(--mbn-primary);
  color: var(--mbn-white);
  border-color: var(--mbn-primary);
}

/* Hero Visual Area & Floating Dua Card */
.mbn-hero-visual-area {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mbn-hero-image-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(6, 78, 59, 0.12);
  width: 100%;
  max-width: 520px;
}

.mbn-hero-baby-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.mbn-hero-crescent-moon {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 32px;
  z-index: 2;
  filter: drop-shadow(0 2px 6px rgba(245, 185, 66, 0.4));
}

.mbn-dua-card-floating {
  position: relative;
  z-index: 10;
  margin-top: -30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  padding: 16px 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  width: 86%;
  max-width: 440px;
  text-align: center;
}

.mbn-dua-arabic {
  font-family: var(--mbn-font-arabic);
  font-size: 24px;
  font-weight: 800;
  color: #102A43;
  direction: rtl;
  margin-bottom: 4px;
  line-height: 1.5;
}

.mbn-dua-translation {
  font-size: 13.5px;
  font-style: italic;
  color: #4B5563;
  margin-bottom: 4px;
}

.mbn-dua-source {
  font-size: 12px;
  font-weight: 600;
  color: #6B7280;
}

/* ==========================================================================
   5. CATEGORY CARDS (HORIZONTAL ROW OF 7 PILL CARDS)
   ========================================================================== */
.mbn-categories-section {
  background: var(--mbn-white);
  padding: 24px 0 20px 0;
}

.mbn-categories-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.mbn-cat-pill-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s, box-shadow 0.2s;
}

.mbn-cat-pill-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.mbn-cat-pill-icon-wrap {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.mbn-cat-pill-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mbn-cat-pill-text {
  overflow: hidden;
}

.mbn-cat-pill-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--mbn-navy);
  line-height: 1.25;
  white-space: nowrap;
}

.mbn-cat-pill-count {
  font-size: 11px;
  font-weight: 600;
  margin-top: 2px;
  white-space: nowrap;
}

/* ==========================================================================
   6. POPULAR BOY AND GIRL NAMES (SIDE-BY-SIDE)
   ========================================================================== */
.mbn-popular-section {
  padding: 32px 0 48px 0;
}

.mbn-popular-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mbn-popular-card {
  background: var(--mbn-white);
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.mbn-popular-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.mbn-popular-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mbn-popular-avatar-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mbn-popular-avatar-icon .mbn-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mbn-popular-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--mbn-navy);
  margin: 0;
}

.mbn-popular-view-all {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--mbn-primary);
  text-decoration: none;
}

.mbn-popular-view-all:hover {
  text-decoration: underline;
}

.mbn-popular-body-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.mbn-ranked-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.mbn-ranked-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #F8FAFC;
  transition: background 0.15s;
}

.mbn-ranked-row:hover {
  background: #F1F5F9;
}

.mbn-rank-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12.5px;
  flex-shrink: 0;
}

.mbn-rank-boy-num {
  background: #EBF5FF;
  color: #0284C7;
}

.mbn-rank-girl-num {
  background: #FFF0F5;
  color: #DB2777;
}

.mbn-rank-info {
  flex: 1;
}

.mbn-rank-name {
  font-size: 14px;
  font-weight: 800;
  margin: 0;
  line-height: 1.25;
}

.mbn-rank-name a {
  color: var(--mbn-navy);
  text-decoration: none;
}

.mbn-rank-meaning {
  font-size: 12px;
  color: #6B7280;
}

.mbn-fav-heart-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  font-size: 18px;
  color: #FDA4AF;
  line-height: 1;
  transition: color 0.15s, transform 0.15s;
}

.mbn-fav-heart-btn:hover,
.mbn-fav-heart-btn.active {
  color: #E11D48;
  transform: scale(1.15);
}

.mbn-popular-photo-col {
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  min-height: 240px;
  background: var(--mbn-cream);
  display: flex;
}

.mbn-popular-baby-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

/* ==========================================================================
   7. HELPFUL ISLAMIC NAME TOOLS SECTION
   ========================================================================== */
.mbn-tools-section {
  background: #FFFFFF;
  padding: 40px 0;
}

.mbn-section-title-with-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.mbn-title-icon-svg {
  font-size: 26px;
  width: 26px;
  height: 26px;
  color: var(--mbn-primary);
}

.mbn-section-subtext {
  font-size: 13.5px;
  color: #6B7280;
  margin: 0;
}

.mbn-view-all-outline-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--mbn-primary);
  text-decoration: none;
  white-space: nowrap;
}

.mbn-view-all-outline-link:hover {
  text-decoration: underline;
}

.mbn-tools-cards-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.mbn-tool-item-card {
  background: var(--mbn-white);
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 22px 14px;
  text-align: center;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.mbn-tool-item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.mbn-tool-icon-circle {
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
}

.mbn-tool-svg-icon {
  width: 100%;
  height: 100%;
}

.mbn-tool-card-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--mbn-navy);
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.mbn-tool-card-desc {
  font-size: 12px;
  color: #6B7280;
  line-height: 1.35;
  margin: 0 0 16px 0;
  flex: 1;
}

.mbn-btn-try-now {
  background: var(--mbn-primary);
  color: var(--mbn-white);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
  width: 85%;
}

.mbn-btn-try-now:hover {
  background: var(--mbn-primary-dark);
}

/* ==========================================================================
   8. RECOMMENDED PRODUCTS (MULTI-STORE AFFILIATE SYSTEM)
   ========================================================================== */
.mbn-products-section {
  background: #FFFFFF;
  padding: 40px 0;
}

.mbn-products-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mbn-carousel-arrows {
  display: flex;
  gap: 8px;
}

.mbn-carousel-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: var(--mbn-white);
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
  color: #6B7280;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mbn-carousel-arrow:hover {
  border-color: var(--mbn-primary);
  color: var(--mbn-primary);
}

.mbn-products-cards-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.mbn-product-card-ref {
  background: var(--mbn-white);
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 14px;
  text-align: center;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.mbn-product-card-ref:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.mbn-product-card-img-wrap {
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  background: #F8FAFC;
  border-radius: 12px;
  overflow: hidden;
}

.mbn-prod-img {
  max-height: 110px;
  width: auto;
  object-fit: contain;
}

.mbn-product-card-title {
  font-size: 13.5px;
  font-weight: 800;
  margin: 0 0 3px 0;
  line-height: 1.25;
}

.mbn-product-card-title a {
  color: var(--mbn-navy);
  text-decoration: none;
}

.mbn-product-card-sub {
  font-size: 11.5px;
  color: #6B7280;
  margin-bottom: 3px;
}

.mbn-product-card-price {
  font-size: 16px;
  font-weight: 900;
  color: var(--mbn-navy);
  margin-bottom: 10px;
}

.mbn-product-card-stores {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 6px;
}

.mbn-product-merchants-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.mbn-merchant-mini-badge {
  display: inline-flex;
  align-items: center;
}

.mbn-merchant-mini-logo {
  height: 14px;
  width: auto;
  object-fit: contain;
}

.mbn-merchant-mini-name {
  font-size: 10px;
  font-weight: 700;
  color: #6B7280;
  background: #F1F5F9;
  padding: 2px 5px;
  border-radius: 4px;
}

/* ==========================================================================
   9. ARTICLES SECTION
   ========================================================================== */
.mbn-articles-section {
  background: #FFFFFF;
  padding: 40px 0;
}

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

.mbn-article-card-ref {
  background: var(--mbn-white);
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.mbn-article-card-ref:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.mbn-article-card-img-wrap {
  position: relative;
  height: 155px;
  overflow: hidden;
  background: #F8FAFC;
}

.mbn-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mbn-article-category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  color: #FFFFFF;
}

.mbn-cat-green {
  background: #059669;
}

.mbn-cat-blue {
  background: #2563EB;
}

.mbn-article-card-info {
  padding: 14px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mbn-article-card-title {
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 12px 0;
  flex: 1;
}

.mbn-article-card-title a {
  color: var(--mbn-navy);
  text-decoration: none;
}

.mbn-article-card-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6B7280;
}

.mbn-article-card-date .dashicons {
  font-size: 15px;
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   10. BABY CONTEST PROMOTIONAL BANNER
   ========================================================================== */
.mbn-contest-banner-section {
  padding: 20px 0 48px 0;
}

.mbn-contest-banner-ref-card {
  background: linear-gradient(90deg, #FFFBEB 0%, #FEF9C3 50%, #FFFBEB 100%);
  border: 1.5px solid #FDE68A;
  border-radius: 20px;
  padding: 22px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.mbn-contest-crown-wrap {
  font-size: 44px;
  line-height: 1;
  flex-shrink: 0;
}

.mbn-contest-text-wrap {
  flex: 1;
}

.mbn-contest-label {
  font-size: 13px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 4px;
}

.mbn-contest-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--mbn-navy);
  margin: 0 0 4px 0;
}

.mbn-contest-subtitle {
  font-size: 13.5px;
  color: #4B5563;
  margin: 0;
}

.mbn-contest-baby-cutout {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.mbn-contest-baby-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mbn-contest-action-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.mbn-btn-contest-coral {
  background: #F97066;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 13px;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(249, 112, 102, 0.3);
}

.mbn-btn-contest-coral:hover {
  background: #EF4444;
  transform: translateY(-2px);
  color: #FFFFFF;
}

.mbn-contest-giftboxes {
  font-size: 28px;
  display: flex;
  gap: 4px;
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.mbn-site-footer {
  background-color: #064E3B;
  background-image: url('../images/footer-mosque-bg.svg');
  background-repeat: repeat-x;
  background-position: bottom 65px center;
  background-size: 1200px 140px;
  color: var(--mbn-white);
  padding-top: 50px;
}

.mbn-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.mbn-footer-logo {
  max-height: 48px;
  width: auto;
  background: var(--mbn-white);
  padding: 6px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.mbn-footer-about {
  font-size: 14px;
  color: #D1FAE5;
  line-height: 1.6;
  margin-bottom: 20px;
}

.mbn-social-links {
  display: flex;
  gap: 10px;
}

.mbn-social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--mbn-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--mbn-transition);
}

.mbn-soc-fb { background: #1877F2; }
.mbn-soc-ig { background: #E1306C; }
.mbn-soc-yt { background: #FF0000; }
.mbn-soc-pin { background: #E60023; }
.mbn-soc-x { background: #000000; }

.mbn-social-icon:hover {
  transform: scale(1.1);
  color: var(--mbn-white);
}

.mbn-footer-heading {
  font-size: 16px;
  font-weight: 800;
  color: var(--mbn-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.mbn-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mbn-footer-links li a {
  color: #E6F4FF;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}

.mbn-footer-links li a:hover {
  color: var(--mbn-gold);
  padding-left: 4px;
}

.mbn-highlight-link {
  color: var(--mbn-gold) !important;
  font-weight: 700;
}

.mbn-newsletter-desc {
  font-size: 14px;
  color: #D1FAE5;
  line-height: 1.5;
  margin-bottom: 16px;
}

.mbn-newsletter-field-wrap {
  display: flex;
  background: var(--mbn-white);
  border-radius: 50px;
  padding: 4px;
}

.mbn-newsletter-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--mbn-navy);
  outline: none;
}

.mbn-newsletter-submit-btn {
  background: var(--mbn-primary);
  color: var(--mbn-white);
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.mbn-newsletter-submit-btn:hover {
  background: var(--mbn-gold);
  color: var(--mbn-navy);
}

.mbn-footer-disclosure-bar {
  background: rgba(0, 0, 0, 0.2);
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mbn-disclosure-text {
  font-size: 13px;
  color: #D1FAE5;
  margin: 0;
  text-align: center;
}

.mbn-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.mbn-footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #A7F3D0;
  flex-wrap: wrap;
  gap: 12px;
}

.mbn-design-credit a {
  color: var(--mbn-gold);
  font-weight: 700;
}

/* ==========================================================================
   12. SINGLE BABY NAME PAGE
   ========================================================================== */
.mbn-breadcrumbs {
  background: var(--mbn-gray-50);
  padding: 12px 0;
  border-bottom: 1px solid var(--mbn-gray-200);
  font-size: 13px;
}

.mbn-breadcrumbs ol {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.mbn-crumb-sep {
  color: var(--mbn-gray-400);
}

.mbn-single-name-page {
  padding: 40px 0 70px 0;
}

.mbn-name-hero-card {
  background: var(--mbn-white);
  border: 1px solid var(--mbn-gray-200);
  border-radius: var(--mbn-radius-lg);
  padding: 40px;
  box-shadow: var(--mbn-shadow-card);
  margin-bottom: 40px;
}

.mbn-name-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--mbn-gray-100);
  padding-bottom: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 16px;
}

.mbn-name-badges {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.mbn-pill-origin {
  background: var(--mbn-gray-100);
  color: var(--mbn-navy);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.mbn-pill-quranic {
  background: #FEF3C7;
  color: #92400E;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
}

.mbn-name-calligraphy-wrap {
  text-align: center;
  padding: 20px 0 30px 0;
  border-bottom: 2px dashed var(--mbn-gray-200);
  margin-bottom: 30px;
}

.mbn-arabic-calligraphy {
  font-family: var(--mbn-font-arabic);
  font-size: 64px;
  color: var(--mbn-primary);
  line-height: 1.3;
  margin-bottom: 10px;
}

.mbn-name-english-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--mbn-navy);
  margin: 0;
}

.mbn-name-translit {
  font-size: 16px;
  color: var(--mbn-gray-600);
  margin-top: 8px;
}

.mbn-block-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--mbn-primary-dark);
  margin-bottom: 14px;
}

.mbn-meaning-full-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--mbn-navy);
}

.mbn-quran-reference-box {
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
  border-left: 6px solid var(--mbn-primary);
  border-radius: var(--mbn-radius-sm);
  padding: 20px;
  margin: 24px 0;
}

.mbn-quran-box-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.mbn-quran-box-header h4 {
  margin: 0;
  font-size: 16px;
  color: var(--mbn-primary-dark);
}

.mbn-attributes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.mbn-attr-box {
  background: var(--mbn-cream);
  border: 1px solid #FDE68A;
  border-radius: var(--mbn-radius-sm);
  padding: 16px;
  text-align: center;
}

.mbn-attr-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--mbn-gray-600);
}

.mbn-attr-value {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--mbn-primary-dark);
  margin-top: 4px;
}

.mbn-sibling-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.mbn-name-share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--mbn-gray-100);
  padding-top: 24px;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 16px;
}

.mbn-share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mbn-share-btn {
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mbn-white) !important;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.mbn-share-wa { background: #25D366; }
.mbn-share-fb { background: #1877F2; }
.mbn-share-tw { background: #0F1419; }
.mbn-share-cp { background: var(--mbn-primary); }

/* ==========================================================================
   13. DIRECTORY ARCHIVE STYLES
   ========================================================================== */
.mbn-archive-page {
  padding: 50px 0 70px 0;
}

.mbn-archive-header {
  margin-bottom: 30px;
}

.mbn-archive-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--mbn-navy);
  margin-bottom: 10px;
}

.mbn-archive-desc {
  font-size: 16px;
  color: var(--mbn-gray-600);
}

.mbn-directory-filter-bar {
  background: var(--mbn-cream);
  border: 1px solid #FDE68A;
  border-radius: var(--mbn-radius-md);
  padding: 24px;
  margin-bottom: 30px;
}

.mbn-letter-filter-scroll {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.mbn-letter-pill {
  padding: 6px 12px;
  background: var(--mbn-white);
  border: 1px solid var(--mbn-gray-200);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mbn-navy);
  text-decoration: none;
  transition: all 0.15s;
}

.mbn-letter-pill.active,
.mbn-letter-pill:hover {
  background: var(--mbn-primary);
  color: var(--mbn-white);
  border-color: var(--mbn-primary);
}

.mbn-filter-fields {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.mbn-filter-search {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.mbn-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--mbn-navy);
  cursor: pointer;
}

.mbn-names-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}

.mbn-pagination-wrap {
  margin-top: 40px;
  text-align: center;
}

.mbn-pagination-wrap .page-numbers {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 4px;
  border-radius: 6px;
  border: 1px solid var(--mbn-gray-200);
  color: var(--mbn-navy);
  font-weight: 700;
  text-decoration: none;
}

.mbn-pagination-wrap .page-numbers.current,
.mbn-pagination-wrap .page-numbers:hover {
  background: var(--mbn-primary);
  color: var(--mbn-white);
  border-color: var(--mbn-primary);
}

/* ==========================================================================
   14. COMING SOON & ADVERTISE STYLES
   ========================================================================== */
.mbn-coming-soon-card,
.mbn-advertise-card {
  background: var(--mbn-white);
  border: 1px solid var(--mbn-gray-200);
  border-radius: var(--mbn-radius-lg);
  padding: 48px;
  box-shadow: var(--mbn-shadow-card);
  margin: 40px 0;
}

.mbn-coming-soon-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.mbn-cs-illustration img {
  max-height: 340px;
  width: auto;
  margin: 0 auto;
}

.mbn-cs-badge {
  display: inline-block;
  background: #FEF3C7;
  color: #92400E;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}

.mbn-cs-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--mbn-navy);
  line-height: 1.25;
  margin-bottom: 16px;
}

.mbn-cs-description {
  font-size: 16px;
  color: var(--mbn-gray-600);
  line-height: 1.6;
  margin-bottom: 28px;
}

.mbn-cs-highlights-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  background: var(--mbn-cream);
  padding: 20px;
  border-radius: var(--mbn-radius-md);
  margin-bottom: 30px;
}

.mbn-cs-highlight-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.mbn-cs-h-icon {
  font-size: 24px;
}

.mbn-cs-highlight-item strong {
  display: block;
  font-size: 14px;
  color: var(--mbn-navy);
}

.mbn-cs-highlight-item span {
  font-size: 12px;
  color: var(--mbn-gray-600);
}

.mbn-adv-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.mbn-adv-stat-box {
  background: var(--mbn-cream);
  border: 1px solid #FDE68A;
  border-radius: var(--mbn-radius-md);
  padding: 30px 20px;
  text-align: center;
}

.mbn-adv-stat-num {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--mbn-primary-dark);
}

.mbn-adv-stat-lbl {
  font-size: 14px;
  color: var(--mbn-gray-600);
  font-weight: 600;
}

.mbn-adv-contact-box {
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
  padding: 36px;
  border-radius: var(--mbn-radius-md);
  text-align: center;
}

.mbn-adv-contact-box h3 {
  font-size: 22px;
  color: var(--mbn-primary-dark);
  margin-bottom: 8px;
}

.mbn-adv-email-action {
  margin-top: 20px;
}

/* Contest Active Styles */
.mbn-contestants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.mbn-contestant-card {
  background: var(--mbn-white);
  border: 1px solid var(--mbn-gray-200);
  border-radius: var(--mbn-radius-md);
  overflow: hidden;
  box-shadow: var(--mbn-shadow-card);
}

.mbn-contestant-photo-wrap {
  position: relative;
  height: 220px;
  background: var(--mbn-gray-50);
}

.mbn-contestant-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mbn-contestant-gender-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
}

.mbn-contestant-gender-tag.Boy { background: #E6F4FF; color: #0284C7; }
.mbn-contestant-gender-tag.Girl { background: #FCE7F3; color: #DB2777; }

.mbn-contestant-info {
  padding: 20px;
}

.mbn-contestant-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--mbn-navy);
  margin: 0 0 4px 0;
}

.mbn-contestant-meta {
  font-size: 13px;
  color: var(--mbn-gray-600);
  margin-bottom: 16px;
}

.mbn-contestant-votes-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--mbn-gray-100);
  padding-top: 14px;
}

.mbn-vote-count-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--mbn-primary);
}

.mbn-vote-label {
  font-size: 12px;
  color: var(--mbn-gray-600);
}

/* ==========================================================================
   15. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .mbn-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mbn-hero-image-wrap {
    order: -1;
  }

  .mbn-hero-baby-photo {
    max-height: 380px;
  }

  .mbn-popular-row {
    grid-template-columns: 1fr;
  }

  .mbn-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mbn-coming-soon-card {
    grid-template-columns: 1fr;
  }

  .mbn-contest-banner-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mbn-nav-bar {
    display: none;
  }

  .mbn-mobile-toggle {
    display: flex;
  }

  .mbn-header-search-area {
    display: none; /* Accessible in mobile drawer */
  }

  .mbn-action-text {
    display: none;
  }

  .mbn-btn-header-tools {
    display: none; /* Moved into mobile drawer */
  }

  .mbn-hero-title {
    font-size: 34px;
  }

  .mbn-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mbn-adv-stats-row {
    grid-template-columns: 1fr;
  }
}
