/**
 * Prajaseva Party - Leadership Module Stylesheet
 * Fully Responsive: Mobile (320px-480px), Phablets (480px-768px), Tablets (768px-991px), Desktop (992px-1399px), Ultrawide (>=1400px)
 * Matches the Reference Mockup Exactly with Rich Modern Aesthetics & Professional UI/UX
 */

/* --------------------------------------------------------------------------
   1. Design Tokens & Root Variables
   -------------------------------------------------------------------------- */
:root {
  --lead-primary-red: #B30001;
  --lead-dark-red: #8B0000;
  --lead-crimson-gradient: linear-gradient(135deg, #B30001 0%, #990000 60%, #800000 100%);
  --lead-light-red-bg: #FFF5F5;
  --lead-light-red-subtle: #FEF2F2;
  --lead-navy-text: #0A1C4C;
  --lead-text-dark: #0F172A;
  --lead-text-body: #334155;
  --lead-text-muted: #64748B;
  --lead-border: #E2E8F0;
  --lead-border-focus: #FCA5A5;
  --lead-gold: #F59E0B;
  --lead-gold-gradient: linear-gradient(135deg, #F59E0B 0%, #D97706 50%, #B45309 100%);
  --lead-gold-shadow: rgba(245, 158, 11, 0.25);
  --lead-radius-xl: 20px;
  --lead-radius-lg: 16px;
  --lead-radius-md: 12px;
  --lead-radius-sm: 8px;
  --lead-shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
  --lead-shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --lead-shadow-hover: 0 16px 32px -4px rgba(15, 23, 42, 0.10), 0 6px 14px -2px rgba(179, 0, 1, 0.07);
}

body.leadership-page-body {
  background-color: #F8FAFC;
  color: var(--lead-text-body);
  font-family: 'Outfit', 'Noto Sans Telugu', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* --------------------------------------------------------------------------
   2. Leadership Hero Banner Section
   -------------------------------------------------------------------------- */
.leadership-hero-banner,
.leadership-hero-banner-section {
  position: relative;
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0;
  display: block;
  background-color: #660002;
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.leadership-hero-banner-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  line-height: 0;
}

.leadership-hero-banner-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  border: none;
  line-height: 0;
  vertical-align: middle;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* --------------------------------------------------------------------------
   3. Main Content Wrapper - Aligned with website's 1200px container system
   -------------------------------------------------------------------------- */
.leadership-content-wrapper {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 36px;
  padding-bottom: 72px;
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   4. State Tabs Row - Supports dynamic count of states (India-wide scalable)
   -------------------------------------------------------------------------- */
.leadership-state-tabs-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.state-tab-btn {
  background: #FFFFFF;
  border: 1.5px solid var(--lead-border);
  border-radius: var(--lead-radius-md);
  color: var(--lead-text-dark);
  font-family: 'Noto Sans Telugu', 'Outfit', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 13px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--lead-shadow-sm);
  user-select: none;
  min-height: 58px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.state-tab-btn:hover {
  background: #FFFBFB;
  border-color: #F87171;
  color: var(--lead-primary-red);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(179, 0, 1, 0.08);
}

.state-tab-btn.is-active {
  background: var(--lead-crimson-gradient);
  color: #FFFFFF;
  border-color: var(--lead-primary-red);
  box-shadow: 0 10px 24px rgba(179, 0, 1, 0.26);
}

.state-tab-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: #000000;
  transition: color 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.state-tab-btn:hover .state-tab-icon-wrap {
  transform: scale(1.1);
}

.state-tab-btn.is-active .state-tab-icon-wrap {
  color: #FFFFFF;
  transform: scale(1.08);
}

.state-tab-icon-wrap svg {
  width: 100%;
  height: 100%;
  max-width: 32px;
  max-height: 32px;
  display: block;
  fill: currentColor;
}

.state-tab-map-img {
  width: 100%;
  height: 100%;
  max-width: 32px;
  max-height: 32px;
  object-fit: contain;
  display: block;
}

.state-tab-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.state-tab-name {
  white-space: nowrap;
  line-height: 1.25;
  font-weight: 700;
}

.state-tab-badge {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 999px;
  background: #F1F5F9;
  color: #64748B;
  letter-spacing: 0.1px;
  transition: all 0.2s ease;
}

.state-tab-btn.is-active .state-tab-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   5. Two-Column Layout (Districts Sidebar + Right Main Area)
   -------------------------------------------------------------------------- */
.leadership-main-grid {
  display: grid;
  grid-template-columns: 295px 1fr;
  gap: 26px;
  align-items: start;
}

/* Left Sidebar: Districts */
.districts-sidebar-panel {
  background: #FFFFFF;
  border: 1px solid var(--lead-border);
  border-radius: var(--lead-radius-lg);
  overflow: hidden;
  box-shadow: var(--lead-shadow-md);
  position: sticky;
  top: 92px;
  z-index: 10;
  transition: box-shadow 0.2s ease;
}

.districts-sidebar-header {
  background: var(--lead-crimson-gradient);
  color: #FFFFFF;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.sidebar-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.12rem;
  font-weight: 700;
  font-family: 'Noto Sans Telugu', 'Outfit', sans-serif;
}

.sidebar-header-title i {
  font-size: 1.2rem;
}

.sidebar-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.districts-count-badge {
  background: #FFFFFF;
  color: var(--lead-primary-red);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
}

.districts-collapse-toggle {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.15rem;
  padding: 2px 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.districts-sidebar-panel.is-collapsed .districts-collapse-toggle .toggle-chevron {
  transform: rotate(-90deg);
}

.districts-sidebar-panel.is-collapsed .districts-collapsible-body {
  display: none;
}

/* Sidebar Search Box */
.districts-sidebar-search {
  padding: 12px 14px;
  border-bottom: 1px solid #F1F5F9;
  position: relative;
  background: #FFFFFF;
}

.districts-search-icon {
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lead-primary-red);
  font-size: 0.92rem;
  pointer-events: none;
}

.district-filter-input {
  width: 100%;
  padding: 9px 12px 9px 38px;
  border-radius: var(--lead-radius-sm);
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  font-size: 0.88rem;
  font-family: inherit;
  color: #1E293B;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.district-filter-input:focus {
  background: #FFFFFF;
  border-color: var(--lead-primary-red);
  box-shadow: 0 0 0 3px rgba(179, 0, 1, 0.08);
}

/* Sidebar Districts List */
.districts-list-container {
  max-height: calc(100vh - 250px);
  min-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}

.districts-list-container::-webkit-scrollbar {
  width: 5px;
}

.districts-list-container::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.district-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-bottom: 1px solid #F8FAFC;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
  position: relative;
}

.district-nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.district-pin-icon {
  color: #94A3B8;
  font-size: 1rem;
  flex-shrink: 0;
  transition: color 0.18s ease;
}

.district-name-text {
  font-size: 0.94rem;
  font-weight: 600;
  color: #334155;
  font-family: 'Noto Sans Telugu', 'Outfit', sans-serif;
  transition: color 0.18s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.district-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.district-leader-chip {
  background: #F1F5F9;
  color: #64748B;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  transition: all 0.18s ease;
}

.district-arrow-icon {
  color: #CBD5E1;
  font-size: 0.8rem;
  transition: transform 0.18s ease, color 0.18s ease;
  flex-shrink: 0;
}

.district-nav-item:hover {
  background: #FFF5F5;
}

.district-nav-item:hover .district-pin-icon {
  color: var(--lead-primary-red);
}

.district-nav-item:hover .district-name-text {
  color: var(--lead-primary-red);
}

.district-nav-item:hover .district-leader-chip {
  background: #FEE2E2;
  color: var(--lead-primary-red);
}

.district-nav-item:hover .district-arrow-icon {
  transform: translateX(3px);
  color: var(--lead-primary-red);
}

/* Active District Item */
.district-nav-item.is-active {
  background: linear-gradient(90deg, #FFF1F2 0%, #FFFFFF 100%);
  border-left: 4px solid var(--lead-primary-red);
}

.district-nav-item.is-active .district-pin-icon {
  color: var(--lead-primary-red);
}

.district-nav-item.is-active .district-name-text {
  color: var(--lead-primary-red);
  font-weight: 700;
}

.district-nav-item.is-active .district-leader-chip {
  background: var(--lead-primary-red);
  color: #FFFFFF;
}

.district-nav-item.is-active .district-arrow-icon {
  color: var(--lead-primary-red);
}

/* --------------------------------------------------------------------------
   6. Right Main Area: Breadcrumbs, Heading & Controls Cluster
   -------------------------------------------------------------------------- */
.leaders-main-area {
  min-width: 0;
}

/* Breadcrumbs */
.leadership-breadcrumbs {
  margin-bottom: 14px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.86rem;
  color: #64748B;
  flex-wrap: wrap;
  font-family: 'Noto Sans Telugu', 'Outfit', sans-serif;
}

.breadcrumb-list a {
  color: #475569;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s;
}

.breadcrumb-list a:hover {
  color: var(--lead-primary-red);
}

.breadcrumb-list .separator {
  color: #CBD5E1;
  font-size: 0.72rem;
}

.breadcrumb-list .active-crumb {
  color: var(--lead-primary-red);
  font-weight: 700;
}

/* Header & Controls Toolbar */
.leaders-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.leaders-heading-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 240px;
}

.leaders-page-heading {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  font-family: 'Noto Sans Telugu', 'Outfit', sans-serif;
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.leaders-page-heading .heading-highlight {
  color: var(--lead-primary-red);
}

.leaders-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lead-light-red-subtle);
  border: 1px solid #FECACA;
  color: #990000;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  width: fit-content;
  box-shadow: 0 1px 3px rgba(179, 0, 1, 0.06);
}

.count-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #DC2626;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(220, 38, 38, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  }
}

/* Controls Cluster: Instant Search & Filters */
.leaders-controls-cluster {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  max-width: 100%;
}

/* Search Bar with Red Search Button */
.leaders-search-bar {
  display: flex;
  align-items: stretch;
  width: 440px;
  max-width: 100%;
  position: relative;
  height: 44px;
  box-shadow: var(--lead-shadow-sm);
  border-radius: var(--lead-radius-sm);
}

.leader-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lead-primary-red);
  font-size: 0.92rem;
  pointer-events: none;
  z-index: 2;
}

.leader-search-input {
  width: 100%;
  padding: 9px 14px 9px 38px;
  border: 1.5px solid #CBD5E1;
  border-right: none;
  border-radius: var(--lead-radius-sm) 0 0 var(--lead-radius-sm);
  font-size: 0.88rem;
  font-family: inherit;
  color: #1E293B;
  outline: none;
  background: #FFFFFF;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.leader-search-input:focus {
  border-color: var(--lead-primary-red);
  box-shadow: 0 0 0 3px rgba(179, 0, 1, 0.08);
}

.btn-leader-search {
  background: var(--lead-crimson-gradient);
  color: #FFFFFF;
  border: 1.5px solid var(--lead-primary-red);
  border-radius: 0 var(--lead-radius-sm) var(--lead-radius-sm) 0;
  padding: 0 20px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: 'Noto Sans Telugu', 'Outfit', sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(179, 0, 1, 0.18);
}

.btn-leader-search:hover {
  background: linear-gradient(135deg, #A30005 0%, #660002 100%);
  box-shadow: 0 4px 12px rgba(179, 0, 1, 0.32);
}

/* Filter Dropdowns Row */
.leaders-filter-dropdowns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.filter-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.filter-icon {
  position: absolute;
  left: 12px;
  color: var(--lead-primary-red);
  font-size: 0.92rem;
  pointer-events: none;
  z-index: 2;
}

.filter-dropdown-select {
  padding: 8px 16px 8px 34px;
  border-radius: var(--lead-radius-sm);
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  outline: none;
  font-family: 'Noto Sans Telugu', 'Outfit', sans-serif;
  transition: all 0.2s ease;
  min-height: 40px;
  box-sizing: border-box;
  box-shadow: var(--lead-shadow-sm);
}

.filter-dropdown-select:focus {
  border-color: var(--lead-primary-red);
  box-shadow: 0 0 0 3px rgba(179, 0, 1, 0.08);
}

/* --------------------------------------------------------------------------
   7. Leader Cards Grid & Card Details
   -------------------------------------------------------------------------- */
.leaders-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Card Outer Box */
.leader-profile-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--lead-radius-xl);
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--lead-shadow-md);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}

.leader-profile-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--lead-shadow-hover);
  border-color: var(--lead-border-focus);
}

/* Constituency Tag at Top */
.leader-constituency-tag {
  background: var(--lead-light-red-subtle);
  color: #990000;
  border: 1px solid #FECACA;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(179, 0, 1, 0.06);
  letter-spacing: 0.2px;
}

.leader-constituency-tag i {
  color: var(--lead-gold);
  font-size: 0.85rem;
}

/* Circular Portrait with 24K Gold Ring Border */
.leader-avatar-wrap {
  margin-bottom: 15px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.leader-avatar-ring {
  width: 122px;
  height: 122px;
  border-radius: 50%;
  padding: 3.5px;
  background: var(--lead-gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 14px var(--lead-gold-shadow);
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.leader-profile-card:hover .leader-avatar-ring {
  transform: scale(1.04);
}

.leader-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  border: 3px solid #FFFFFF;
}

/* Verified Party Emblem */
.leader-verified-star {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--lead-primary-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  line-height: 1;
}

/* Centered Leader Details */
.leader-card-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.leader-name {
  font-size: 1.24rem;
  font-weight: 800;
  color: var(--lead-navy-text);
  margin: 0 0 6px 0;
  font-family: 'Noto Sans Telugu', 'Outfit', sans-serif;
  line-height: 1.3;
}

.leader-role-badge {
  display: inline-block;
  background: #F8FAFC;
  color: #334155;
  border: 1px solid #E2E8F0;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: 'Noto Sans Telugu', 'Outfit', sans-serif;
}

.leader-location {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--lead-text-muted);
  font-weight: 500;
  margin: 0 0 16px 0;
  font-family: 'Noto Sans Telugu', 'Outfit', sans-serif;
}

.leader-location i {
  color: var(--lead-primary-red);
  font-size: 0.95rem;
}

/* Footer Row: Centered Social Media Icons */
.leader-card-footer {
  width: 100%;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
}

.leader-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.social-btn:hover {
  transform: translateY(-2px) scale(1.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  color: #FFFFFF;
}

.soc-fb { background: #1877F2; }
.soc-x { background: #000000; }
.soc-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.soc-yt { background: #FF0000; }
.soc-wa { background: #25D366; }

/* Empty State Card */
.empty-state-card {
  background: #FFFFFF;
  border: 1.5px dashed #CBD5E1;
  border-radius: var(--lead-radius-xl);
  padding: 48px 24px;
  text-align: center;
  margin-top: 10px;
  box-shadow: var(--lead-shadow-sm);
}

.empty-state-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--lead-light-red-subtle);
  color: var(--lead-primary-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 2rem;
}

/* --------------------------------------------------------------------------
   8. Responsive Breakpoints Across All Formats
   -------------------------------------------------------------------------- */

/* Large Desktop (>= 1400px) - Strictly maintain 1200px website container */
@media (min-width: 1400px) {
  .leadership-content-wrapper {
    max-width: 1200px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 40px;
    padding-bottom: 80px;
  }

  .leadership-main-grid {
    grid-template-columns: 295px 1fr;
    gap: 26px;
  }

  .leaders-cards-grid {
    gap: 22px;
  }
}

/* Laptop / Mid Desktop (992px - 1279px) */
@media (max-width: 1279px) and (min-width: 992px) {
  .leaders-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .leadership-main-grid {
    grid-template-columns: 275px 1fr;
    gap: 22px;
  }

  .leaders-search-bar {
    width: 380px;
  }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
  .leadership-content-wrapper {
    padding: 24px 20px 54px 20px;
  }

  .leadership-hero-banner-image {
    min-height: 140px;
    max-height: 250px;
  }

  .leadership-state-tabs-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .leadership-main-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .districts-sidebar-panel {
    position: static;
  }

  .districts-sidebar-header {
    cursor: pointer;
  }

  .districts-list-container {
    max-height: 280px;
  }

  .leaders-header-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .leaders-controls-cluster {
    align-items: stretch;
    width: 100%;
  }

  .leaders-search-bar {
    width: 100%;
  }

  .leaders-filter-dropdowns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
  }

  .filter-select-wrap {
    width: 100%;
  }

  .filter-dropdown-select {
    width: 100%;
  }

  .leaders-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Large Phones / Phablets (480px - 767px) */
@media (max-width: 767px) {
  .leadership-content-wrapper {
    padding: 18px 16px 44px 16px;
  }

  .leadership-hero-banner-image {
    min-height: 110px;
    max-height: 180px;
  }

  .leadership-state-tabs-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
  }

  .state-tab-btn {
    padding: 10px 12px;
    font-size: 0.94rem;
    gap: 10px;
    border-radius: var(--lead-radius-sm);
    min-height: 52px;
  }

  .state-tab-icon-wrap {
    width: 26px;
    height: 26px;
  }

  .leadership-breadcrumbs .breadcrumb-list {
    font-size: 0.82rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .leaders-page-heading {
    font-size: 1.3rem;
  }

  .leaders-filter-dropdowns {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .filter-select-wrap {
    width: 100%;
  }

  .filter-dropdown-select {
    width: 100%;
  }

  .leaders-cards-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .leader-profile-card {
    padding: 22px 18px 18px 18px;
    border-radius: var(--lead-radius-lg);
  }

  .leader-avatar-ring {
    width: 114px;
    height: 114px;
  }

  .leader-name {
    font-size: 1.18rem;
  }

  .leader-role-badge {
    font-size: 0.8rem;
  }

  .leader-location {
    font-size: 0.86rem;
    margin-bottom: 14px;
  }

  .social-btn {
    width: 32px;
    height: 32px;
  }
}

/* Small Phones (< 480px down to 320px) */
@media (max-width: 479px) {
  .leadership-content-wrapper {
    padding: 14px 12px 36px 12px;
  }

  .leadership-hero-banner-image {
    min-height: 90px;
    max-height: 135px;
  }

  .leadership-state-tabs-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
  }

  .state-tab-btn {
    padding: 8px 10px;
    font-size: 0.88rem;
    gap: 8px;
    border-radius: 10px;
    min-height: 48px;
  }

  .state-tab-icon-wrap {
    width: 22px;
    height: 22px;
  }

  .state-tab-name {
    font-size: 0.88rem;
  }

  .state-tab-badge {
    font-size: 0.7rem;
  }

  .districts-sidebar-header {
    padding: 12px 14px;
  }

  .sidebar-header-title {
    font-size: 1.05rem;
  }

  .districts-list-container {
    max-height: 220px;
  }

  .district-nav-item {
    padding: 10px 14px;
  }

  .district-name-text {
    font-size: 0.9rem;
  }

  .leaders-search-bar {
    height: 42px;
  }

  .leader-search-input {
    font-size: 0.85rem;
    padding: 8px 10px 8px 34px;
  }

  .btn-leader-search {
    padding: 0 14px;
    font-size: 0.86rem;
  }

  .leaders-filter-dropdowns {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .filter-select-wrap {
    width: 100%;
  }

  .filter-dropdown-select {
    width: 100%;
    min-height: 40px;
    font-size: 0.84rem;
  }

  .leader-profile-card {
    padding: 18px 14px 16px 14px;
    border-radius: 14px;
  }

  .leader-avatar-ring {
    width: 104px;
    height: 104px;
  }

  .leader-name {
    font-size: 1.12rem;
  }

  .leader-role-badge {
    font-size: 0.78rem;
  }

  .leader-location {
    font-size: 0.82rem;
    margin-bottom: 12px;
  }

  .leader-social-links {
    gap: 6px;
  }

  .social-btn {
    width: 30px;
    height: 30px;
  }
}