    /* Main container */
    html, body {
  height: 100%;
  margin: 0;
}
body {
    display: flex;
    flex-direction: column;
}

.page-layout {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.custom-container {
  width: 100%;
  max-width: 1200px;   /* desktop width */
  margin: 0 auto;
  padding: 0 16px;     /* mobile spacing */
}

/* Optional wider container */
.custom-container-lg {
  max-width: 1400px;
}

/* Full width section */
.custom-container-fluid {
  width: 100%;
  padding: 0 16px;
}

/* District */
.district-title {
  font-size: 26px;
  color: #1a3c6e;
  margin: 30px 0 10px;
  border-bottom: 3px solid #1a3c6e;
  padding-bottom: 5px;
}

/* Constituency */
.constituency-title {
  font-size: 20px;
  color: #2c7be5;
  margin: 20px 0 10px;
  padding-left: 10px;
  border-left: 4px solid #2c7be5;
}

    .candidate-row {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.candidate-card {
  width: 250px;
  text-align: center;
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.candidate-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border-color: #2c7be5;
}



.candidate-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

.candidate-card h4 {
  margin: 10px 0 5px;
  font-size: 16px;
}

.candidate-card p {
  color: #28a745;
  font-weight: bold;
}

.card-link {
  text-decoration: none;
  color: inherit;
}

.accordion-header {
  cursor: pointer;
  position: relative;
  background: #f1f5f9;
  padding: 10px 15px;
  border-radius: 6px;
  transition: 0.3s;
}

.accordion-header:hover {
  background: #e2e8f0;
}

/* Arrow */
.accordion-header::after {
  content: "+";
  position: absolute;
  right: 15px;
  font-weight: bold;
}

/* Active state */
.accordion-header.active::after {
  content: "-";
}

/* Hidden content */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
