:root {
    --primary: #064420;
    --primary-dark: #032d16;
    --secondary: #d5a642;
    --soft-green: #eef8f1;
    --text-dark: #18231f;
    --text-muted: #68746f;
    --white: #ffffff;
    --border: #e7ece9;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }

body {
    font-family: "Inter", sans-serif;
    color: var(--text-dark);
    background: #fff;
    overflow-x: hidden;
}

a { text-decoration: none; }

.top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,.86);
    font-size: 14px;
    padding: 8px 0;
}

.top-bar a { color: rgba(255,255,255,.86); }

.main-navbar {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
}

.brand-mark {
    width: 54px;
    height: 54px;
}

.navbar-brand span {
    display: block;
    line-height: 1.12;
}

.navbar-brand .title {
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 18px;
}

.navbar-brand .subtitle {
    color: var(--text-muted);
    font-size: 12px;
}

.nav-link {
    font-weight: 700;
    color: var(--text-dark) !important;
    padding: 28px 10px !important;
    font-size: 14px;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.show {
    color: var(--primary) !important;
}

.dropdown-menu {
    border: 0;
    border-radius: 18px;
    padding: 10px;
    min-width: 260px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    border-top: 3px solid var(--secondary);
    margin-top: 0;
}

.dropdown-item {
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--soft-green);
    color: var(--primary);
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: -13px;
    left: 100%;
    margin-left: 0px;
}

.dropdown-submenu > .dropdown-item::after {
    content: "\f285";
    font-family: "bootstrap-icons";
    font-size: 12px;
    color: var(--text-muted);
}

.dropdown-submenu:hover > .dropdown-item,
.dropdown-submenu:focus-within > .dropdown-item {
    background: var(--soft-green);
    color: var(--primary);
}

@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu,
    .navbar .dropdown:focus-within > .dropdown-menu {
    display: block;
    }

    .navbar .dropdown:hover > .nav-link,
    .navbar .dropdown:focus-within > .nav-link {
    color: var(--primary) !important;
    }

    .dropdown-submenu:hover > .dropdown-menu,
    .dropdown-submenu:focus-within > .dropdown-menu {
    display: block;
    }
}

.btn-gold {
    background: var(--secondary);
    color: #1d1606;
    border: 0;
    font-weight: 700;
    border-radius: 999px;
    padding: 12px 22px;
}

.btn-gold:hover { background: #c79632; color: #1d1606; }

.btn-outline-light-custom {
    border: 1px solid rgba(255,255,255,.5);
    color: #fff;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 700;
}

.hero {
    min-height: 760px;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    background:
    linear-gradient(90deg, rgba(3,45,22,.96), rgba(6,68,32,.78), rgba(6,68,32,.35)),
    url('https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1800&q=80') center/cover;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -22% auto;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: rgba(213,166,66,.16);
    border: 1px solid rgba(255,255,255,.2);
}

.hero-content { position: relative; z-index: 2; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.02;
    margin-bottom: 24px;
}

.hero p {
    font-size: 18px;
    color: rgba(255,255,255,.86);
    max-width: 680px;
    line-height: 1.8;
}

.hero-card {
    background: rgba(255,255,255,.96);
    color: var(--text-dark);
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
}

.quick-stat {
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
}

.quick-stat:last-child { border-bottom: 0; }

.quick-stat strong {
    display: block;
    font-size: 30px;
    color: var(--primary);
    line-height: 1;
}

.section-padding { padding: 95px 0; }

.section-title .small-title {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-size: 13px;
}

.section-title h2 {
    font-weight: 800;
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: -1px;
    margin-top: 10px;
}

.section-title p {
    color: var(--text-muted);
    max-width: 690px;
    line-height: 1.8;
    margin: 16px auto 0;
}

.service-card {
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 32px;
    background: #fff;
    height: 100%;
    transition: .3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(6,68,32,.2);
}

.icon-box {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--soft-green);
    color: var(--primary);
    font-size: 26px;
    margin-bottom: 22px;
}

.service-card h4 { font-weight: 800; margin-bottom: 12px; }
.service-card p { color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; }

.about-panel {
    background: var(--soft-green);
    border-radius: 34px;
    padding: 44px;
    position: relative;
    overflow: hidden;
}

.about-panel::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 220px;
    height: 220px;
    background: rgba(213,166,66,.28);
    border-radius: 50%;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
}

.feature-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
    color: var(--text-muted);
}

.feature-list i { color: var(--primary); font-size: 20px; }

.leader-card {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(0,0,0,.04);
}

.leader-img {
    height: 280px;
    background: linear-gradient(135deg, #eaf4ee, #d8eadf);
    display: grid;
    place-items: center;
    color: var(--primary);
    font-size: 82px;
}

.leader-card .content { padding: 24px; }
.leader-card h4 { font-weight: 800; margin-bottom: 4px; }
.leader-card span { color: var(--primary); font-weight: 700; }

.updates-section { background: #f7faf8; }

.update-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 26px;
    height: 100%;
    transition: .3s ease;
}

.update-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.badge-soft {
    display: inline-block;
    background: var(--soft-green);
    color: var(--primary);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 16px;
}

.update-card h4 { font-weight: 800; font-size: 20px; }
.update-card p { color: var(--text-muted); line-height: 1.7; }

.cta {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    border-radius: 36px;
    padding: 58px;
    position: relative;
    overflow: hidden;
}

.cta::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -70px;
    bottom: -90px;
    border-radius: 50%;
    background: rgba(213,166,66,.24);
}

.footer {
    background: #07150e;
    color: rgba(255,255,255,.76);
    padding: 75px 0 26px;
}

.footer h5 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,.72); }
.footer a:hover { color: var(--secondary); }

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--secondary);
    color: #111;
    border: 0;
    display: none;
    place-items: center;
    z-index: 999;
    box-shadow: var(--shadow);
}

.back-to-top.show { display: grid; }

@media (max-width: 991px) {
    .nav-link { padding: 12px 0 !important; }
    .dropdown-menu {
    box-shadow: none;
    border: 0;
    border-left: 3px solid var(--secondary);
    border-radius: 0;
    padding: 4px 0 4px 12px;
    margin: 0 0 8px;
    }
    .dropdown-submenu > .dropdown-menu {
    position: static;
    margin-left: 0;
    }
    .dropdown-submenu > .dropdown-item::after {
    content: "\f282";
    }
    .hero { min-height: auto; padding: 95px 0; }
    .hero-card { margin-top: 36px; }
    .section-padding { padding: 70px 0; }
    .cta { padding: 36px; }
}

.page-hero {
  padding: 115px 0 85px;
  background:
    linear-gradient(120deg, rgba(3, 45, 22, .96), rgba(6, 68, 32, .84)),
    url("https://images.unsplash.com/photo-1582560475093-ba66accbcf07?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .3;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  background: rgba(213, 166, 66, .22);
  border-radius: 50%;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-badge,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(213, 166, 66, .14);
  color: var(--primary);
  border: 1px solid rgba(213, 166, 66, .28);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.page-badge {
  color: #fff;
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.22);
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin: 18px 0 14px;
}

.page-subtitle {
  max-width: 720px;
  margin: 0 auto 24px;
  color: rgba(255,255,255,.86);
  font-size: 18px;
  line-height: 1.75;
}

.page-hero .breadcrumb {
  margin: 0;
}

.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
  color: rgba(255,255,255,.78);
  font-weight: 600;
}

.page-hero .breadcrumb-item.active {
  color: #fff;
}

.bg-soft {
  background: #f6faf7;
}

.section-heading {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -1px;
  margin: 14px 0 18px;
}

.section-text {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.9;
}

.map-card {
  background:
    linear-gradient(135deg, rgba(6,68,32,.96), rgba(3,45,22,.92)),
    url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1000&q=80") center/cover;
  border-radius: 34px;
  padding: 46px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.map-card::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(213,166,66,.26);
}

.map-card-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 22px;
  font-size: 34px;
  margin-bottom: 24px;
}

.map-card h3 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 14px;
}

.map-card p {
  color: rgba(255,255,255,.84);
  line-height: 1.8;
  margin: 0;
}

.stat-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0,0,0,.05);
  transition: .3s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.stat-card span {
  position: absolute;
  right: 24px;
  top: 18px;
  font-size: 48px;
  font-weight: 800;
  color: rgba(6,68,32,.08);
}

.stat-card h3 {
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 12px;
}

.stat-card p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.designed-content-box {
  background: #fff;
  border-left: 6px solid var(--secondary);
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 16px 45px rgba(0,0,0,.06);
}

.designed-content-box p {
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 16px;
}

.designed-content-box p:last-child {
  margin-bottom: 0;
}

.modern-timeline {
  display: grid;
  gap: 22px;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}

.timeline-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 26px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
  box-shadow: 0 12px 35px rgba(0,0,0,.045);
  transition: .3s ease;
}

.timeline-card:hover {
  transform: translateX(8px);
  border-color: rgba(6,68,32,.22);
  box-shadow: var(--shadow);
}

.timeline-year {
  background: var(--primary);
  color: #fff;
  border-radius: 20px;
  padding: 18px;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
}

.timeline-card h4 {
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.timeline-card p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.governance-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 30px;
  transition: .3s ease;
}

.governance-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.governance-card i {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  background: var(--soft-green);
  color: var(--primary);
  border-radius: 20px;
  font-size: 28px;
  margin-bottom: 20px;
}

.governance-card h4 {
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.governance-card p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.final-note-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 30px;
  padding: 36px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  box-shadow: var(--shadow);
}

.final-note-card i {
  min-width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 22px;
  font-size: 32px;
  color: var(--secondary);
}

.final-note-card h3 {
  font-weight: 800;
  margin-bottom: 10px;
}

.final-note-card p {
  color: rgba(255,255,255,.82);
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 767px) {
  .page-hero {
    padding: 85px 0 65px;
  }

  .timeline-card {
    grid-template-columns: 1fr;
  }

  .timeline-card:hover {
    transform: translateY(-6px);
  }

  .final-note-card {
    flex-direction: column;
    padding: 28px;
  }

  .map-card {
    padding: 32px;
  }
}

.secretary-record-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.record-intro-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 34px;
  padding: 36px;
  position: sticky;
  top: 115px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.record-intro-card::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(213, 166, 66, .2);
}

.record-intro-card .section-kicker {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.record-intro-card h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 18px 0 14px;
  position: relative;
  z-index: 2;
}

.record-intro-card p {
  color: rgba(255,255,255,.82);
  line-height: 1.8;
  margin-bottom: 26px;
  position: relative;
  z-index: 2;
}

.record-summary {
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.record-summary div {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  padding: 18px;
}

.record-summary strong {
  display: block;
  color: var(--secondary);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.record-summary span {
  color: rgba(255,255,255,.78);
  font-weight: 600;
  font-size: 14px;
}

.archive-note-card {
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 14px 35px rgba(0,0,0,.05);
}

.archive-note-card i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--soft-green);
  color: var(--primary);
  border-radius: 18px;
  font-size: 26px;
  margin-bottom: 18px;
}

.archive-note-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.archive-note-card p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.records-table-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.records-table-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.records-table-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 14px 0 0;
  letter-spacing: -1px;
}

.records-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--soft-green);
  color: var(--primary);
  border-radius: 999px;
  padding: 10px 15px;
  font-weight: 800;
  white-space: nowrap;
}

.records-table {
  border-collapse: separate;
  border-spacing: 0 12px;
}

.records-table thead th {
  background: var(--primary-dark);
  color: #fff;
  border: 0;
  padding: 16px 18px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.records-table thead th:first-child {
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.records-table thead th:last-child {
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.records-table tbody tr {
  box-shadow: 0 10px 28px rgba(0,0,0,.045);
}

.records-table tbody td {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 18px;
  color: var(--text-muted);
}

.records-table tbody td:first-child {
  border-left: 1px solid var(--border);
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  width: 90px;
}

.records-table tbody td:last-child {
  border-right: 1px solid var(--border);
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.serial-badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--soft-green);
  color: var(--primary);
  font-weight: 800;
}

.person-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}

.person-cell strong {
  color: var(--primary-dark);
  font-size: 16px;
}

.person-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(213, 166, 66, .15);
  color: var(--secondary);
}

.record-footer-note {
  display: flex;
  gap: 14px;
  background: #fff8e8;
  border: 1px solid rgba(213, 166, 66, .28);
  border-radius: 22px;
  padding: 20px;
}

.record-footer-note i {
  color: var(--secondary);
  font-size: 24px;
}

.record-footer-note p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 991px) {
  .record-intro-card {
    position: static;
  }

  .records-table-header {
    flex-direction: column;
  }
}

@media (max-width: 575px) {
  .records-table-card {
    padding: 18px;
    border-radius: 24px;
  }

  .records-table-header h2 {
    font-size: 30px;
  }

  .records-table tbody td,
  .records-table thead th {
    padding: 14px;
  }
}

.staff-directory-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.staff-intro-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 34px;
  padding: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.staff-intro-card::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(213, 166, 66, .22);
}

.staff-intro-card .section-kicker {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.staff-intro-card h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 18px 0 14px;
  position: relative;
  z-index: 2;
}

.staff-intro-card p {
  color: rgba(255,255,255,.82);
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.staff-search-box {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 18px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.staff-search-box i {
  color: var(--primary);
}

.staff-search-box input {
  width: 100%;
  height: 54px;
  border: 0;
  outline: none;
  font-weight: 600;
  color: var(--text-dark);
  background: transparent;
}

.staff-counter {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  padding: 20px;
}

.staff-counter strong {
  display: block;
  color: var(--secondary);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.staff-counter span {
  color: rgba(255,255,255,.82);
  font-weight: 700;
}

.staff-help-card {
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 14px 35px rgba(0,0,0,.05);
}

.staff-help-card i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--soft-green);
  color: var(--primary);
  border-radius: 18px;
  font-size: 26px;
  margin-bottom: 18px;
}

.staff-help-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.staff-help-card p {
  color: var(--text-muted);
  line-height: 1.75;
}

.staff-help-card a {
  display: inline-flex;
  color: var(--primary);
  font-weight: 800;
}

.staff-directory-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.directory-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.directory-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 14px 0 0;
  letter-spacing: -1px;
}

.directory-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--soft-green);
  color: var(--primary);
  border-radius: 999px;
  padding: 10px 15px;
  font-weight: 800;
  white-space: nowrap;
}

.staff-list {
  display: grid;
  gap: 14px;
  max-height: 980px;
  overflow-y: auto;
  padding-right: 8px;
}

.staff-list::-webkit-scrollbar {
  width: 8px;
}

.staff-list::-webkit-scrollbar-track {
  background: #f0f4f2;
  border-radius: 999px;
}

.staff-list::-webkit-scrollbar-thumb {
  background: rgba(6,68,32,.35);
  border-radius: 999px;
}

.staff-card {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  background: #fff;
  transition: .3s ease;
}

.staff-card:hover {
  border-color: rgba(6,68,32,.22);
  box-shadow: 0 14px 32px rgba(0,0,0,.07);
  transform: translateY(-3px);
}

.staff-avatar {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 800;
}

.staff-info h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0 0 4px;
}

.staff-info p {
  margin: 0 0 4px;
  color: var(--primary);
  font-weight: 800;
}

.staff-info span {
  display: block;
  color: var(--text-muted);
  line-height: 1.5;
  font-size: 14px;
}

.staff-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--soft-green);
  color: var(--primary);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  white-space: nowrap;
}

.staff-phone:hover {
  background: var(--primary);
  color: #fff;
}

.no-staff-message {
  display: none;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.no-staff-message i {
  font-size: 46px;
  color: var(--primary);
  margin-bottom: 12px;
}

.no-staff-message h3 {
  font-weight: 800;
  color: var(--primary-dark);
}

@media (max-width: 991px) {

  .directory-header {
    flex-direction: column;
  }

  .staff-list {
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 767px) {
  .staff-card {
    grid-template-columns: 54px 1fr;
  }

  .staff-phone {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .staff-directory-card {
    padding: 18px;
    border-radius: 24px;
  }

  .directory-header h2 {
    font-size: 30px;
  }
}

.orders-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.orders-control-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.orders-control-panel h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 14px 0 8px;
  letter-spacing: -1px;
}

.orders-control-panel p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.orders-search {
  min-width: 330px;
  height: 58px;
  background: var(--soft-green);
  border: 1px solid rgba(6,68,32,.12);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
}

.orders-search i {
  color: var(--primary);
  font-size: 18px;
}

.orders-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-weight: 600;
  color: var(--text-dark);
}

.orders-sidebar {
  position: sticky;
  top: 115px;
  display: grid;
  gap: 18px;
}

.orders-year-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 14px 35px rgba(0,0,0,.045);
}

.orders-year-card.active {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow);
}

.orders-year-card span {
  display: inline-flex;
  background: var(--soft-green);
  color: var(--primary);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .7px;
  margin-bottom: 14px;
}

.orders-year-card.active span {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}

.orders-year-card h3 {
  font-weight: 800;
  font-size: 28px;
  margin-bottom: 10px;
}

.orders-year-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.orders-year-card.active p {
  color: rgba(255,255,255,.78);
}

.orders-note {
  background: #fff8e8;
  border: 1px solid rgba(213,166,66,.28);
  border-radius: 24px;
  padding: 22px;
  display: flex;
  gap: 16px;
}

.orders-note i {
  min-width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(213,166,66,.16);
  color: var(--secondary);
  border-radius: 16px;
  font-size: 24px;
}

.orders-note h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.orders-note p {
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.session-accordion {
  display: grid;
  gap: 16px;
}

.session-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0,0,0,.045);
  transition: .3s ease;
}

.session-card:hover {
  border-color: rgba(6,68,32,.22);
  box-shadow: var(--shadow);
}

.session-toggle {
  width: 100%;
  border: 0;
  background: #fff;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 20px;
}

.session-toggle span {
  display: grid;
  gap: 5px;
}

.session-toggle small {
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.session-toggle strong {
  color: var(--primary-dark);
  font-size: 20px;
  font-weight: 800;
}

.session-toggle i {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: grid;
  place-items: center;
  background: var(--soft-green);
  color: var(--primary);
  border-radius: 50%;
  transition: .3s ease;
}

.session-toggle:not(.collapsed) i {
  transform: rotate(180deg);
  background: var(--primary);
  color: #fff;
}

.session-body {
  border-top: 1px solid var(--border);
  padding: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  background: #fbfdfc;
}

.agenda-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-dark);
  border-radius: 999px;
  padding: 10px 15px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0,0,0,.035);
}

.agenda-date:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.agenda-date i {
  color: var(--secondary);
}

.agenda-date:hover i {
  color: #fff;
}

.old-record {
  opacity: .95;
}

.no-orders-message {
  display: none;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 60px 20px;
  box-shadow: var(--shadow);
}

.no-orders-message i {
  font-size: 46px;
  color: var(--primary);
  margin-bottom: 14px;
}

.no-orders-message h3 {
  font-weight: 800;
  color: var(--primary-dark);
}

.no-orders-message p {
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 991px) {
  .orders-control-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .orders-search {
    min-width: 100%;
  }

  .orders-sidebar {
    position: static;
  }
}

@media (max-width: 575px) {
  .orders-control-panel,
  .session-toggle {
    padding: 20px;
  }

  .orders-control-panel h2 {
    font-size: 30px;
  }

  .session-toggle strong {
    font-size: 17px;
  }

  .session-body {
    padding: 18px;
  }

  .agenda-date {
    width: 100%;
    justify-content: center;
  }
}

.acts-library-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.acts-library-header {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 26px;
}

.acts-library-header h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 14px 0 8px;
}

.acts-library-header p {
  color: var(--text-muted);
  margin: 0;
}

.acts-search {
  min-width: 350px;
  height: 58px;
  background: var(--soft-green);
  border: 1px solid rgba(6, 68, 32, .12);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
}

.acts-search i {
  color: var(--primary);
}

.acts-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-weight: 600;
  color: var(--text-dark);
}

.acts-term-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.acts-tab {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-dark);
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 800;
  transition: .3s ease;
}

.acts-tab:hover,
.acts-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.acts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.act-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 26px;
  min-height: 305px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 35px rgba(0,0,0,.045);
  transition: .3s ease;
  position: relative;
  overflow: hidden;
}

.act-card::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -55px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(6, 68, 32, .06);
}

.act-card:hover {
  transform: translateY(-7px);
  border-color: rgba(6,68,32,.22);
  box-shadow: var(--shadow);
}

.act-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.act-top span {
  background: var(--soft-green);
  color: var(--primary);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 800;
}

.act-top small {
  background: rgba(213,166,66,.15);
  color: #9b711f;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
}

.private-act .act-top small {
  background: #fce8e8;
  color: #ad3333;
}

.act-card h3 {
  color: var(--primary-dark);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.act-meta {
  display: grid;
  gap: 6px;
  margin-top: auto;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}

.act-meta p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.act-meta strong {
  color: var(--primary-dark);
}

.act-link {
  color: var(--primary);
  font-weight: 800;
  position: relative;
  z-index: 2;
}

.act-link:hover {
  color: var(--secondary);
}

.no-acts-message {
  display: none;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 60px 20px;
  box-shadow: var(--shadow);
}

.no-acts-message i {
  font-size: 46px;
  color: var(--primary);
  margin-bottom: 14px;
}

.no-acts-message h3 {
  color: var(--primary-dark);
  font-weight: 800;
}

.no-acts-message p {
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 1199px) {
  .acts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .acts-library-header {
    flex-direction: column;
    align-items: stretch;
  }

  .acts-search {
    min-width: 100%;
  }
}

@media (max-width: 767px) {
  .acts-grid {
    grid-template-columns: 1fr;
  }

  .acts-library-header {
    padding: 24px;
  }

  .acts-library-header h2 {
    font-size: 32px;
  }
}

.resolutions-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.resolution-dashboard {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 34px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.resolution-dashboard::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(213,166,66,.2);
}

.resolution-dashboard .section-kicker {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.resolution-summary,
.resolution-stats {
  position: relative;
  z-index: 2;
}

.resolution-summary h2 {
  font-size: 42px;
  font-weight: 800;
  margin: 16px 0 10px;
}

.resolution-summary p {
  color: rgba(255,255,255,.8);
  line-height: 1.75;
  margin: 0;
}

.resolution-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.resolution-stats div {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  padding: 20px;
}

.resolution-stats strong {
  display: block;
  color: var(--secondary);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.resolution-stats span {
  color: rgba(255,255,255,.76);
  font-size: 13px;
  font-weight: 700;
}

.resolution-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.resolution-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.resolution-tab {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-dark);
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 800;
  transition: .3s ease;
}

.resolution-tab:hover,
.resolution-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.resolution-search {
  min-width: 360px;
  height: 54px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
}

.resolution-search i {
  color: var(--primary);
}

.resolution-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-weight: 600;
  color: var(--text-dark);
}

.resolution-feature-card {
  background: #fff8e8;
  border: 1px solid rgba(213,166,66,.28);
  border-radius: 28px;
  padding: 26px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.resolution-feature-card .feature-icon {
  min-width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  background: rgba(213,166,66,.18);
  color: var(--secondary);
  border-radius: 20px;
  font-size: 30px;
}

.resolution-feature-card span {
  display: block;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .8px;
  margin-bottom: 6px;
}

.resolution-feature-card h3 {
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 8px;
}

.resolution-feature-card p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.resolution-list {
  display: grid;
  gap: 16px;
}

.resolution-item {
  display: grid;
  grid-template-columns: 96px 1fr 54px;
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,.045);
  transition: .3s ease;
}

.resolution-item:hover {
  transform: translateY(-4px);
  border-color: rgba(6,68,32,.22);
  box-shadow: var(--shadow);
}

.resolution-date {
  background: var(--soft-green);
  border-radius: 20px;
  padding: 16px 10px;
  text-align: center;
}

.resolution-date span {
  display: block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.resolution-date strong {
  display: block;
  color: var(--primary-dark);
  font-size: 20px;
  font-weight: 800;
  margin-top: 4px;
}

.resolution-title-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.resolution-title-row h3 {
  color: var(--primary-dark);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
}

.resolution-title-row span {
  background: rgba(213,166,66,.15);
  color: #9b711f;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.resolution-content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.resolution-action {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--soft-green);
  color: var(--primary);
  border-radius: 50%;
  font-size: 20px;
  transition: .3s ease;
}

.resolution-item:hover .resolution-action {
  background: var(--primary);
  color: #fff;
}

.no-resolution-message {
  display: none;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 60px 20px;
  box-shadow: var(--shadow);
}

.no-resolution-message i {
  font-size: 46px;
  color: var(--primary);
  margin-bottom: 14px;
}

.no-resolution-message h3 {
  color: var(--primary-dark);
  font-weight: 800;
}

.no-resolution-message p {
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 991px) {
  .resolution-dashboard {
    grid-template-columns: 1fr;
  }

  .resolution-toolbar {
    flex-direction: column;
  }

  .resolution-search {
    min-width: 100%;
  }
}

@media (max-width: 767px) {
  .resolution-stats {
    grid-template-columns: 1fr;
  }

  .resolution-item {
    grid-template-columns: 1fr;
  }

  .resolution-date {
    max-width: 120px;
  }

  .resolution-title-row {
    flex-direction: column;
  }

  .resolution-action {
    width: 100%;
    border-radius: 999px;
  }
}
.committees-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.committee-overview-panel {
  background:
    linear-gradient(135deg, rgba(3,45,22,.97), rgba(6,68,32,.9)),
    radial-gradient(circle at top right, rgba(213,166,66,.28), transparent 35%);
  color: #fff;
  border-radius: 36px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 34px;
  align-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  overflow: hidden;
  position: relative;
}

.committee-overview-content,
.committee-overview-stats {
  position: relative;
  z-index: 2;
}

.committee-overview-panel .section-kicker {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.committee-overview-content h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -1px;
  margin: 16px 0 12px;
}

.committee-overview-content p {
  color: rgba(255,255,255,.82);
  line-height: 1.8;
  margin: 0;
}

.committee-overview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.committee-overview-stats div {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  padding: 22px 16px;
  text-align: center;
}

.committee-overview-stats strong {
  display: block;
  color: var(--secondary);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.committee-overview-stats span {
  color: rgba(255,255,255,.76);
  font-size: 13px;
  font-weight: 700;
}

.committee-filter-bar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.committee-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.committee-tab {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-dark);
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 800;
  transition: .3s ease;
}

.committee-tab:hover,
.committee-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.committee-search {
  min-width: 360px;
  height: 54px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
}

.committee-search i {
  color: var(--primary);
}

.committee-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-weight: 600;
  color: var(--text-dark);
}

.featured-committee-strip {
  background: #fff8e8;
  border: 1px solid rgba(213,166,66,.28);
  border-radius: 28px;
  padding: 26px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.featured-committee-icon {
  min-width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  background: rgba(213,166,66,.18);
  color: var(--secondary);
  border-radius: 20px;
  font-size: 30px;
}

.featured-committee-strip span {
  display: block;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .8px;
  margin-bottom: 6px;
}

.featured-committee-strip h3 {
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 8px;
}

.featured-committee-strip p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.committee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.committee-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 26px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 35px rgba(0,0,0,.045);
  transition: .3s ease;
  position: relative;
  overflow: hidden;
}

.committee-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background: rgba(6,68,32,.055);
}

.committee-card:hover {
  transform: translateY(-7px);
  border-color: rgba(6,68,32,.22);
  box-shadow: var(--shadow);
}

.committee-card.priority-committee {
  border-top: 5px solid var(--secondary);
}

.committee-card.old-committee {
  background: #fbfdfc;
}

.committee-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.committee-card-top span {
  background: var(--soft-green);
  color: var(--primary);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 800;
}

.committee-card-top i {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: grid;
  place-items: center;
  background: rgba(213,166,66,.15);
  color: var(--secondary);
  border-radius: 17px;
  font-size: 24px;
}

.committee-card h3 {
  color: var(--primary-dark);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.committee-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.committee-card a {
  color: var(--primary);
  font-weight: 800;
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.committee-card a:hover {
  color: var(--secondary);
}

.no-committee-message {
  display: none;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 60px 20px;
  box-shadow: var(--shadow);
}

.no-committee-message i {
  font-size: 46px;
  color: var(--primary);
  margin-bottom: 14px;
}

.no-committee-message h3 {
  color: var(--primary-dark);
  font-weight: 800;
}

.no-committee-message p {
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 1199px) {
  .committee-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .committee-overview-panel {
    grid-template-columns: 1fr;
  }

  .committee-filter-bar {
    flex-direction: column;
  }

  .committee-search {
    min-width: 100%;
  }
}

@media (max-width: 767px) {
  .committee-overview-stats {
    grid-template-columns: 1fr;
  }

  .committee-grid {
    grid-template-columns: 1fr;
  }

  .featured-committee-strip {
    flex-direction: column;
  }
}

.members-directory-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.members-hero-panel {
  background:
    linear-gradient(135deg, rgba(3,45,22,.97), rgba(6,68,32,.9)),
    radial-gradient(circle at top right, rgba(213,166,66,.28), transparent 34%);
  color: #fff;
  border-radius: 36px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 34px;
  align-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.members-hero-panel .section-kicker {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.members-hero-panel h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  margin: 16px 0 12px;
}

.members-hero-panel p {
  color: rgba(255,255,255,.82);
  line-height: 1.8;
  margin: 0;
}

.members-count-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.members-count-grid div {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  padding: 22px 16px;
  text-align: center;
}

.members-count-grid strong {
  display: block;
  color: var(--secondary);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.members-count-grid span {
  color: rgba(255,255,255,.76);
  font-size: 13px;
  font-weight: 700;
}

.members-filter-panel {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.member-party-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.member-party-tab {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-dark);
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
}

.member-party-tab:hover,
.member-party-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.members-search {
  min-width: 360px;
  height: 54px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
}

.members-search i {
  color: var(--primary);
}

.members-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-weight: 600;
  color: var(--text-dark);
}

.members-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 24px;
  align-items: start;
}

.members-sidebar-card,
.members-table-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.members-sidebar-card {
  padding: 26px;
}

.members-sidebar-card h3 {
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.party-summary-list {
  display: grid;
  gap: 12px;
}

.party-summary-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 13px 14px;
  font-weight: 800;
  color: var(--text-dark);
}

.party-summary-list strong {
  color: var(--primary);
}

.party-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.party-dot.pti { background: #1f8f4d; }
.party-dot.ppp { background: #d64545; }
.party-dot.pmln { background: #2f6fdd; }
.party-dot.jkpp { background: #805ad5; }
.party-dot.ajkmc { background: #d69e2e; }

.members-note-box {
  margin-top: 22px;
  background: #fff8e8;
  border: 1px solid rgba(213,166,66,.28);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  gap: 13px;
}

.members-note-box i {
  color: var(--secondary);
  font-size: 22px;
}

.members-note-box p {
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.members-table-card {
  padding: 28px;
}

.members-table-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.members-table-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 14px 0 0;
}

.members-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--soft-green);
  color: var(--primary);
  border-radius: 999px;
  padding: 10px 15px;
  font-weight: 800;
  white-space: nowrap;
}

.members-table {
  border-collapse: separate;
  border-spacing: 0 12px;
}

.members-table thead th {
  background: var(--primary-dark);
  color: #fff;
  border: 0;
  padding: 16px 18px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.members-table thead th:first-child {
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.members-table thead th:last-child {
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.members-table tbody tr {
  box-shadow: 0 10px 28px rgba(0,0,0,.045);
}

.members-table tbody td {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 18px;
  color: var(--text-muted);
}

.members-table tbody td:first-child {
  border-left: 1px solid var(--border);
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.members-table tbody td:last-child {
  border-right: 1px solid var(--border);
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.members-table strong {
  color: var(--primary-dark);
}

.party-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
}

.party-badge.pti {
  background: #e8f8ef;
  color: #1f8f4d;
}

.party-badge.ppp {
  background: #fdecec;
  color: #c53030;
}

.party-badge.pmln {
  background: #edf3ff;
  color: #2f6fdd;
}

.party-badge.jkpp {
  background: #f1eafe;
  color: #6b46c1;
}

.party-badge.ajkmc {
  background: #fff6df;
  color: #b7791f;
}

.party-badge.neutral {
  background: #eef2f0;
  color: var(--text-muted);
}

.no-members-message {
  display: none;
  text-align: center;
  padding: 55px 20px;
}

.no-members-message i {
  font-size: 46px;
  color: var(--primary);
  margin-bottom: 14px;
}

.no-members-message h3 {
  color: var(--primary-dark);
  font-weight: 800;
}

.no-members-message p {
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 1199px) {
  .members-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .members-hero-panel {
    grid-template-columns: 1fr;
  }

  .members-filter-panel {
    flex-direction: column;
  }

  .members-search {
    min-width: 100%;
  }
}

@media (max-width: 767px) {
  .members-count-grid {
    grid-template-columns: 1fr;
  }

  .members-table-card {
    padding: 18px;
  }

  .members-table-header {
    flex-direction: column;
  }
}
.member-directory-page {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.member-directory-top {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 34px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 26px;
}

.member-directory-top .section-kicker {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.member-directory-top h2 {
  font-size: 42px;
  font-weight: 800;
  margin: 16px 0 10px;
}

.member-directory-top p {
  color: rgba(255,255,255,.82);
  margin: 0;
}

.member-directory-count {
  min-width: 160px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  padding: 24px;
  text-align: center;
}

.member-directory-count strong {
  display: block;
  color: var(--secondary);
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
}

.member-directory-count span {
  color: rgba(255,255,255,.78);
  font-weight: 700;
}

.member-directory-filters {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 180px 300px;
  gap: 14px;
  box-shadow: 0 14px 35px rgba(0,0,0,.045);
  margin-bottom: 24px;
}

.member-directory-search {
  height: 54px;
  background: var(--soft-green);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
}

.member-directory-search i {
  color: var(--primary);
}

.member-directory-search input,
.member-directory-filters select {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-weight: 700;
  color: var(--text-dark);
}

.member-directory-filters select {
  background: var(--soft-green);
  border-radius: 999px;
  padding: 0 18px;
  height: 54px;
}

.member-directory-table-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.member-directory-table {
  border-collapse: separate;
  border-spacing: 0 12px;
}

.member-directory-table thead th {
  background: var(--primary-dark);
  color: #fff;
  border: 0;
  padding: 16px 18px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .8px;
  white-space: nowrap;
}

.member-directory-table thead th:first-child {
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.member-directory-table thead th:last-child {
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.member-directory-table tbody tr {
  box-shadow: 0 10px 26px rgba(0,0,0,.045);
}

.member-directory-table tbody td {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 18px;
  color: var(--text-muted);
  white-space: nowrap;
}

.member-directory-table tbody td:first-child {
  border-left: 1px solid var(--border);
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  font-weight: 800;
  color: var(--primary);
}

.member-directory-table tbody td:last-child {
  border-right: 1px solid var(--border);
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.member-name-link {
  color: var(--primary-dark);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.member-name-link::after {
  content: "\f138";
  font-family: "bootstrap-icons";
  color: var(--secondary);
  font-size: 14px;
}

.member-name-link:hover {
  color: var(--primary);
}

.no-member-directory-message {
  display: none;
  text-align: center;
  padding: 55px 20px;
}

.no-member-directory-message i {
  font-size: 46px;
  color: var(--primary);
  margin-bottom: 14px;
}

.no-member-directory-message h3 {
  color: var(--primary-dark);
  font-weight: 800;
}

.no-member-directory-message p {
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 991px) {
  .member-directory-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .member-directory-count {
    width: 100%;
  }

  .member-directory-filters {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .member-directory-top h2 {
    font-size: 32px;
  }

  .member-directory-table-card {
    padding: 18px;
  }
}
.former-members-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.former-members-panel {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 36px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 26px;
}

.former-members-panel .section-kicker {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.former-members-panel h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  margin: 16px 0 12px;
}

.former-members-panel p {
  color: rgba(255,255,255,.82);
  line-height: 1.8;
  margin: 0;
}

.former-members-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.former-members-stats div {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  padding: 20px 14px;
  text-align: center;
}

.former-members-stats strong {
  display: block;
  color: var(--secondary);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.former-members-stats span {
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 700;
}

.former-members-toolbar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 16px;
  box-shadow: 0 14px 35px rgba(0,0,0,.045);
  margin-bottom: 24px;
}

.former-members-search {
  height: 56px;
  background: var(--soft-green);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
}

.former-members-search i {
  color: var(--primary);
}

.former-members-search input,
.former-members-toolbar select {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-weight: 700;
  color: var(--text-dark);
}

.former-members-toolbar select {
  height: 56px;
  background: var(--soft-green);
  border-radius: 999px;
  padding: 0 18px;
}

.former-members-timeline {
  display: grid;
  gap: 18px;
}

.former-term-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0,0,0,.045);
}

.former-term-head {
  width: 100%;
  border: 0;
  background: #fff;
  padding: 24px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: 20px;
}

.former-term-head small {
  display: block;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 5px;
}

.former-term-head strong {
  color: var(--primary-dark);
  font-size: 22px;
  font-weight: 800;
}

.former-term-head i {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: grid;
  place-items: center;
  background: var(--soft-green);
  color: var(--primary);
  border-radius: 50%;
  transition: .3s ease;
}

.former-term-head:not(.collapsed) i {
  transform: rotate(180deg);
  background: var(--primary);
  color: #fff;
}

.former-term-body {
  border-top: 1px solid var(--border);
  background: #fbfdfc;
  padding: 24px;
}

.former-members-table {
  border-collapse: separate;
  border-spacing: 0 10px;
}

.former-members-table thead th {
  background: var(--primary-dark);
  color: #fff;
  border: 0;
  padding: 14px 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.former-members-table thead th:first-child {
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
}

.former-members-table thead th:last-child {
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
}

.former-members-table tbody td {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 16px;
  color: var(--text-muted);
}

.former-members-table tbody td:first-child {
  border-left: 1px solid var(--border);
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
  color: var(--primary);
  font-weight: 800;
  width: 90px;
}

.former-members-table tbody td:nth-child(2) {
  color: var(--primary-dark);
  font-weight: 800;
}

.former-members-table tbody td:last-child {
  border-right: 1px solid var(--border);
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
}

.former-member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.former-mini-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
  transition: .3s ease;
}

.former-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
}

.former-mini-card strong {
  display: block;
  color: var(--primary-dark);
  font-size: 16px;
  margin-bottom: 8px;
}

.former-mini-card span {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.archive-more-note {
  background: #fff8e8;
  border: 1px solid rgba(213,166,66,.28);
  border-radius: 18px;
  padding: 16px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 18px;
}

.no-former-member-message {
  display: none;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 60px 20px;
  box-shadow: var(--shadow);
}

.no-former-member-message i {
  font-size: 46px;
  color: var(--primary);
  margin-bottom: 14px;
}

.no-former-member-message h3 {
  color: var(--primary-dark);
  font-weight: 800;
}

.no-former-member-message p {
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 991px) {
  .former-members-panel {
    grid-template-columns: 1fr;
  }

  .former-members-toolbar {
    grid-template-columns: 1fr;
  }

  .former-member-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .former-members-stats {
    grid-template-columns: 1fr;
  }

  .former-member-grid {
    grid-template-columns: 1fr;
  }

  .former-term-head {
    padding: 20px;
  }

  .former-term-head strong {
    font-size: 18px;
  }
}
.alliances-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.alliances-intro-panel {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 36px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.alliances-intro-panel::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: rgba(213,166,66,.2);
}

.alliances-intro-panel > * {
  position: relative;
  z-index: 2;
}

.alliances-intro-panel .section-kicker {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.alliances-intro-panel h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  margin: 16px 0 12px;
}

.alliances-intro-panel p {
  color: rgba(255,255,255,.82);
  line-height: 1.8;
  margin: 0;
}

.alliances-icon-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 26px;
  padding: 28px;
  text-align: center;
}

.alliances-icon-card i {
  display: block;
  color: var(--secondary);
  font-size: 44px;
  margin-bottom: 14px;
}

.alliances-icon-card strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
}

.alliances-icon-card span {
  color: rgba(255,255,255,.75);
  font-weight: 700;
}

.alliances-grid {
  display: grid;
  gap: 26px;
}

.alliance-term-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.alliance-term-card.current-term {
  border-top: 5px solid var(--secondary);
}

.alliance-term-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}

.alliance-term-header span {
  background: var(--soft-green);
  color: var(--primary);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.alliance-term-header h3 {
  color: var(--primary-dark);
  font-size: 34px;
  font-weight: 800;
  margin: 0;
}

.bench-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.bench-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  background: #fbfdfc;
  min-height: 310px;
  position: relative;
  overflow: hidden;
}

.bench-card::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -55px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(6,68,32,.055);
}

.bench-card > * {
  position: relative;
  z-index: 2;
}

.bench-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  font-size: 30px;
  margin-bottom: 20px;
}

.treasury-card .bench-icon {
  background: var(--soft-green);
  color: var(--primary);
}

.opposition-card .bench-icon {
  background: #fff8e8;
  color: var(--secondary);
}

.bench-card h4 {
  color: var(--primary-dark);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}

.bench-card p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 22px;
}

.party-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.party-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 13px 15px;
  color: var(--primary-dark);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0,0,0,.035);
}

.party-mark {
  width: 13px;
  height: 13px;
  min-width: 13px;
  border-radius: 50%;
}

.party-mark.pmln { background: #2f6fdd; }
.party-mark.ji { background: #0f8a45; }
.party-mark.ppp { background: #d64545; }
.party-mark.ajkmc { background: #d69e2e; }
.party-mark.pti { background: #1f8f4d; }
.party-mark.jkpp { background: #805ad5; }
.party-mark.independent { background: #6b7280; }

.empty-party-state {
  background: #fff8e8;
  border: 1px solid rgba(213,166,66,.28);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-muted);
  font-weight: 700;
}

.empty-party-state i {
  color: var(--secondary);
  font-size: 22px;
}

.alliances-note-card {
  margin-top: 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 26px;
  display: flex;
  gap: 20px;
  box-shadow: 0 14px 35px rgba(0,0,0,.045);
}

.alliances-note-card i {
  min-width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--soft-green);
  color: var(--primary);
  border-radius: 18px;
  font-size: 26px;
}

.alliances-note-card h3 {
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 8px;
}

.alliances-note-card p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 991px) {
  .alliances-intro-panel,
  .bench-layout {
    grid-template-columns: 1fr;
  }

  .alliances-icon-card {
    text-align: left;
  }
}

@media (max-width: 575px) {
  .alliance-term-card,
  .alliances-intro-panel {
    padding: 24px;
  }

  .alliance-term-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .alliance-term-header h3 {
    font-size: 28px;
  }

  .alliances-note-card {
    flex-direction: column;
  }
}
.speaker-profile-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.speaker-profile-hero {
  background:
    linear-gradient(135deg, var(--primary-dark), var(--primary)),
    radial-gradient(circle at right top, rgba(213,166,66,.22), transparent 35%);
  color: #fff;
  border-radius: 38px;
  padding: 38px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.speaker-profile-hero::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  background: rgba(213,166,66,.2);
  border-radius: 50%;
}

.speaker-photo-box,
.speaker-main-info {
  position: relative;
  z-index: 2;
}

.speaker-photo-box {
  position: relative;
}

.speaker-photo-placeholder {
  height: 300px;
  border-radius: 30px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  display: grid;
  place-items: center;
  font-size: 120px;
  color: rgba(255,255,255,.85);
}

.speaker-role-badge {
  position: absolute;
  left: 24px;
  bottom: 20px;
  background: var(--secondary);
  color: #1c1607;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
}

.speaker-main-info .section-kicker {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.speaker-main-info h2 {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin: 18px 0 8px;
}

.speaker-constituency {
  color: rgba(255,255,255,.85);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.speaker-party-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.speaker-party-line span,
.speaker-party-line strong {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 10px 16px;
  color: rgba(255,255,255,.9);
  font-weight: 800;
}

.speaker-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-outline-green {
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
}

.btn-outline-green:hover {
  background: #fff;
  color: var(--primary);
}

.speaker-side-card,
.speaker-content-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.speaker-side-card h3 {
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 20px;
}

.speaker-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.speaker-detail-list li {
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.speaker-detail-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.speaker-detail-list span {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 5px;
}

.speaker-detail-list strong,
.speaker-detail-list a {
  color: var(--primary-dark);
  font-weight: 800;
}

.speaker-social-links {
  display: grid;
  gap: 12px;
}

.speaker-social-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--soft-green);
  color: var(--primary);
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 800;
}

.speaker-social-links a:hover {
  background: var(--primary);
  color: #fff;
}

.speaker-section-heading {
  margin-bottom: 22px;
}

.speaker-section-heading h2 {
  color: var(--primary-dark);
  font-size: 34px;
  font-weight: 800;
  margin: 14px 0 0;
}

.role-grid,
.performance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.role-card,
.performance-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  background: #fbfdfc;
  transition: .3s ease;
}

.role-card.highlighted {
  background: var(--soft-green);
  border-color: rgba(6,68,32,.18);
}

.role-card:hover,
.performance-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(0,0,0,.06);
}

.role-card i,
.performance-card i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(213,166,66,.16);
  color: var(--secondary);
  font-size: 26px;
  margin-bottom: 18px;
}

.role-card h4,
.performance-card h4 {
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 8px;
}

.role-card p,
.performance-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.address-feature-card {
  background: var(--soft-green);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.address-feature-card i {
  min-width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--primary);
  border-radius: 18px;
  font-size: 26px;
}

.address-feature-card p {
  color: var(--primary-dark);
  font-weight: 800;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 991px) {
  .speaker-profile-hero {
    grid-template-columns: 1fr;
  }

  .speaker-photo-placeholder {
    max-width: 320px;
  }
}

@media (max-width: 767px) {
  .speaker-profile-hero {
    padding: 26px;
  }

  .role-grid,
  .performance-grid {
    grid-template-columns: 1fr;
  }

  .speaker-section-heading h2 {
    font-size: 28px;
  }
}
.former-speakers-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.former-speaker-feature {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 36px;
  padding: 34px;
  display: grid;
  grid-template-columns: 90px 1fr 180px;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.former-speaker-feature::after {
  content: "";
  position: absolute;
  right: -95px;
  bottom: -105px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: rgba(213,166,66,.2);
}

.former-speaker-feature > * {
  position: relative;
  z-index: 2;
}

.former-speaker-icon {
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--secondary);
  border-radius: 28px;
  font-size: 42px;
}

.former-speaker-feature .section-kicker {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.former-speaker-content h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  margin: 16px 0 10px;
}

.former-speaker-content p {
  color: rgba(255,255,255,.82);
  line-height: 1.75;
  margin: 0;
}

.former-speaker-count {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  padding: 24px;
  text-align: center;
}

.former-speaker-count strong {
  display: block;
  color: var(--secondary);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.former-speaker-count span {
  color: rgba(255,255,255,.78);
  font-weight: 700;
}

.former-speaker-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 28px;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.speaker-archive-photo {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: var(--soft-green);
  color: var(--primary);
  font-size: 76px;
}

.archive-label {
  display: inline-flex;
  background: rgba(213,166,66,.15);
  color: #9b711f;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .7px;
  margin-bottom: 12px;
}

.speaker-archive-info h3 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 10px;
}

.speaker-archive-info h3 a {
  color: var(--primary-dark);
}

.speaker-archive-info h3 a:hover {
  color: var(--primary);
}

.speaker-archive-info p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 18px;
}

.speaker-tenure-box {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fbfdfc;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 18px;
}

.speaker-tenure-box i {
  color: var(--primary);
  font-size: 26px;
}

.speaker-tenure-box span {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.speaker-tenure-box strong {
  color: var(--primary-dark);
  font-weight: 800;
}

.speaker-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  white-space: nowrap;
}

.speaker-profile-link:hover {
  background: var(--secondary);
  color: #1c1607;
}

.former-speaker-table-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.former-speaker-table-header {
  margin-bottom: 24px;
}

.former-speaker-table-header h2 {
  color: var(--primary-dark);
  font-size: 36px;
  font-weight: 800;
  margin: 14px 0 0;
}

.former-speaker-table {
  border-collapse: separate;
  border-spacing: 0 12px;
}

.former-speaker-table thead th {
  background: var(--primary-dark);
  color: #fff;
  border: 0;
  padding: 16px 18px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.former-speaker-table thead th:first-child {
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.former-speaker-table thead th:last-child {
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.former-speaker-table tbody td {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 18px;
  color: var(--text-muted);
}

.former-speaker-table tbody td:first-child {
  border-left: 1px solid var(--border);
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.former-speaker-table tbody td:last-child {
  border-right: 1px solid var(--border);
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.speaker-name-link {
  color: var(--primary-dark);
  font-weight: 800;
}

.speaker-name-link:hover {
  color: var(--primary);
}

.table-action-link {
  color: var(--primary);
  font-weight: 800;
}

.table-action-link:hover {
  color: var(--secondary);
}

@media (max-width: 991px) {
  .former-speaker-feature,
  .former-speaker-card {
    grid-template-columns: 1fr;
  }

  .former-speaker-count {
    text-align: left;
  }

  .speaker-profile-link {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .former-speaker-feature,
  .former-speaker-card,
  .former-speaker-table-card {
    padding: 22px;
  }

  .speaker-archive-photo {
    width: 120px;
    height: 120px;
    font-size: 58px;
  }

  .speaker-archive-info h3 {
    font-size: 28px;
  }
}
.speaker-list-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.speaker-list-overview {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 36px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.speaker-list-overview::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(213,166,66,.2);
}

.speaker-list-overview > * {
  position: relative;
  z-index: 2;
}

.speaker-list-overview .section-kicker {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.speaker-list-overview h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  margin: 16px 0 12px;
}

.speaker-list-overview p {
  color: rgba(255,255,255,.82);
  line-height: 1.8;
  margin: 0;
}

.speaker-list-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.speaker-list-stats div {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  padding: 22px 14px;
  text-align: center;
}

.speaker-list-stats strong {
  display: block;
  color: var(--secondary);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.speaker-list-stats span {
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 700;
}

.speaker-list-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.speaker-list-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}

.speaker-list-heading h2 {
  color: var(--primary-dark);
  font-size: 38px;
  font-weight: 800;
  margin: 14px 0 0;
}

.speaker-list-search {
  min-width: 320px;
  height: 56px;
  background: var(--soft-green);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
}

.speaker-list-search i {
  color: var(--primary);
}

.speaker-list-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text-dark);
  font-weight: 700;
}

.speaker-timeline-list {
  display: grid;
  gap: 16px;
  position: relative;
}

.speaker-timeline-item {
  display: grid;
  grid-template-columns: 64px 74px 1fr 170px;
  gap: 18px;
  align-items: center;
  background: #fbfdfc;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 20px;
  transition: .3s ease;
  position: relative;
  overflow: hidden;
}

.speaker-timeline-item::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(6,68,32,.05);
}

.speaker-timeline-item:hover {
  transform: translateY(-4px);
  border-color: rgba(6,68,32,.22);
  box-shadow: 0 16px 36px rgba(0,0,0,.07);
}

.speaker-timeline-item > * {
  position: relative;
  z-index: 2;
}

.speaker-order {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  border-radius: 18px;
  font-weight: 800;
}

.speaker-avatar {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 22px;
  font-size: 36px;
}

.speaker-info h3 {
  color: var(--primary-dark);
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 6px;
}

.speaker-info h3 span {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 700;
}

.speaker-info p {
  color: var(--text-muted);
  margin: 0;
  font-weight: 600;
}

.speaker-duration {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 16px;
  text-align: center;
}

.speaker-duration span {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .7px;
  margin-bottom: 4px;
}

.speaker-duration strong {
  color: var(--primary);
  font-weight: 800;
}

.current-speaker-record {
  border-top: 5px solid var(--secondary);
  background: #fff;
}

.no-speaker-list-message {
  display: none;
  text-align: center;
  padding: 55px 20px;
}

.no-speaker-list-message i {
  color: var(--primary);
  font-size: 46px;
  margin-bottom: 14px;
}

.no-speaker-list-message h3 {
  color: var(--primary-dark);
  font-weight: 800;
}

.no-speaker-list-message p {
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 991px) {
  .speaker-list-overview {
    grid-template-columns: 1fr;
  }

  .speaker-list-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .speaker-list-search {
    min-width: 100%;
  }

  .speaker-timeline-item {
    grid-template-columns: 54px 1fr;
  }

  .speaker-avatar {
    display: none;
  }

  .speaker-duration {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .speaker-list-stats {
    grid-template-columns: 1fr;
  }

  .speaker-list-card,
  .speaker-list-overview {
    padding: 24px;
  }

  .speaker-list-heading h2 {
    font-size: 30px;
  }
}
.deputy-speaker-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.deputy-profile-panel {
  background:
    linear-gradient(135deg, var(--primary-dark), var(--primary)),
    radial-gradient(circle at right top, rgba(213,166,66,.22), transparent 35%);
  color: #fff;
  border-radius: 38px;
  padding: 38px;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.deputy-profile-panel::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  background: rgba(213,166,66,.2);
  border-radius: 50%;
}

.deputy-photo-card,
.deputy-profile-info {
  position: relative;
  z-index: 2;
}

.deputy-photo-card {
  position: relative;
}

.deputy-photo-placeholder {
  height: 290px;
  border-radius: 30px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  display: grid;
  place-items: center;
  font-size: 115px;
  color: rgba(255,255,255,.86);
}

.deputy-photo-card span {
  position: absolute;
  left: 22px;
  bottom: 20px;
  background: var(--secondary);
  color: #1c1607;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
}

.deputy-profile-info .section-kicker {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.deputy-profile-info h2 {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin: 18px 0 8px;
}

.deputy-seat {
  color: rgba(255,255,255,.85);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.deputy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.deputy-tags span {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 10px 16px;
  color: rgba(255,255,255,.9);
  font-weight: 800;
}

.deputy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.deputy-info-card,
.deputy-content-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.deputy-info-card h3 {
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 20px;
}

.deputy-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.deputy-detail-list li {
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.deputy-detail-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.deputy-detail-list span {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 5px;
}

.deputy-detail-list strong,
.deputy-detail-list a {
  color: var(--primary-dark);
  font-weight: 800;
}

.deputy-address-box {
  background: var(--soft-green);
  border-radius: 22px;
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.deputy-address-box i {
  min-width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--primary);
  border-radius: 16px;
  font-size: 24px;
}

.deputy-address-box p {
  color: var(--primary-dark);
  font-weight: 800;
  line-height: 1.7;
  margin: 0;
}

.deputy-heading {
  margin-bottom: 22px;
}

.deputy-heading h2 {
  color: var(--primary-dark);
  font-size: 34px;
  font-weight: 800;
  margin: 14px 0 0;
}

.deputy-role-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.deputy-role-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  background: #fbfdfc;
  transition: .3s ease;
}

.deputy-role-card.highlighted {
  background: var(--soft-green);
  border-color: rgba(6,68,32,.18);
}

.deputy-role-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(0,0,0,.06);
}

.deputy-role-card i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(213,166,66,.16);
  color: var(--secondary);
  font-size: 26px;
  margin-bottom: 18px;
}

.deputy-role-card h4 {
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 8px;
}

.deputy-role-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.deputy-performance-list {
  display: grid;
  gap: 14px;
}

.deputy-performance-list div {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px;
  background: #fbfdfc;
}

.deputy-performance-list i {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--soft-green);
  color: var(--primary);
  border-radius: 16px;
  font-size: 24px;
}

.deputy-performance-list span {
  color: var(--primary-dark);
  font-weight: 800;
}

.deputy-performance-list strong {
  color: var(--text-muted);
  font-size: 14px;
}

.deputy-note-card {
  background: #fff8e8;
  border: 1px solid rgba(213,166,66,.28);
  border-radius: 26px;
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.deputy-note-card i {
  min-width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: rgba(213,166,66,.18);
  color: var(--secondary);
  border-radius: 18px;
  font-size: 26px;
}

.deputy-note-card h3 {
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 8px;
}

.deputy-note-card p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 991px) {
  .deputy-profile-panel {
    grid-template-columns: 1fr;
  }

  .deputy-photo-placeholder {
    max-width: 320px;
  }
}

@media (max-width: 767px) {
  .deputy-profile-panel {
    padding: 26px;
  }

  .deputy-role-grid {
    grid-template-columns: 1fr;
  }

  .deputy-performance-list div {
    grid-template-columns: 54px 1fr;
  }

  .deputy-performance-list strong {
    grid-column: 2 / -1;
  }

  .deputy-note-card {
    flex-direction: column;
  }

  .deputy-heading h2 {
    font-size: 28px;
  }
}
.former-deputy-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.former-deputy-feature {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 36px;
  padding: 34px;
  display: grid;
  grid-template-columns: 90px 1fr 180px;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.former-deputy-feature::after {
  content: "";
  position: absolute;
  right: -95px;
  bottom: -105px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: rgba(213,166,66,.2);
}

.former-deputy-feature > * {
  position: relative;
  z-index: 2;
}

.former-deputy-icon {
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--secondary);
  border-radius: 28px;
  font-size: 42px;
}

.former-deputy-feature .section-kicker {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.former-deputy-content h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  margin: 16px 0 10px;
}

.former-deputy-content p {
  color: rgba(255,255,255,.82);
  line-height: 1.75;
  margin: 0;
}

.former-deputy-count {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  padding: 24px;
  text-align: center;
}

.former-deputy-count strong {
  display: block;
  color: var(--secondary);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.former-deputy-count span {
  color: rgba(255,255,255,.78);
  font-weight: 700;
}

.former-deputy-profile-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 28px;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.former-deputy-photo {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: var(--soft-green);
  color: var(--primary);
  font-size: 76px;
}

.former-deputy-info h3 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 10px;
}

.former-deputy-info h3 a {
  color: var(--primary-dark);
}

.former-deputy-info h3 a:hover {
  color: var(--primary);
}

.former-deputy-info p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 18px;
}

.former-deputy-tenure {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fbfdfc;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 18px;
}

.former-deputy-tenure i {
  color: var(--primary);
  font-size: 26px;
}

.former-deputy-tenure span {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.former-deputy-tenure strong {
  color: var(--primary-dark);
  font-weight: 800;
}

.former-deputy-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  white-space: nowrap;
}

.former-deputy-link:hover {
  background: var(--secondary);
  color: #1c1607;
}

.former-deputy-table-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.former-deputy-table-header {
  margin-bottom: 24px;
}

.former-deputy-table-header h2 {
  color: var(--primary-dark);
  font-size: 36px;
  font-weight: 800;
  margin: 14px 0 0;
}

.former-deputy-table {
  border-collapse: separate;
  border-spacing: 0 12px;
}

.former-deputy-table thead th {
  background: var(--primary-dark);
  color: #fff;
  border: 0;
  padding: 16px 18px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.former-deputy-table thead th:first-child {
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.former-deputy-table thead th:last-child {
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.former-deputy-table tbody td {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 18px;
  color: var(--text-muted);
}

.former-deputy-table tbody td:first-child {
  border-left: 1px solid var(--border);
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.former-deputy-table tbody td:last-child {
  border-right: 1px solid var(--border);
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.former-deputy-name {
  color: var(--primary-dark);
  font-weight: 800;
}

.former-deputy-name:hover {
  color: var(--primary);
}

@media (max-width: 991px) {
  .former-deputy-feature,
  .former-deputy-profile-card {
    grid-template-columns: 1fr;
  }

  .former-deputy-count {
    text-align: left;
  }

  .former-deputy-link {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .former-deputy-feature,
  .former-deputy-profile-card,
  .former-deputy-table-card {
    padding: 22px;
  }

  .former-deputy-photo {
    width: 120px;
    height: 120px;
    font-size: 58px;
  }

  .former-deputy-info h3 {
    font-size: 28px;
  }
}
.deputy-list-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.deputy-list-overview {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 36px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.deputy-list-overview::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(213,166,66,.2);
}

.deputy-list-overview > * {
  position: relative;
  z-index: 2;
}

.deputy-list-overview .section-kicker {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.deputy-list-overview h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  margin: 16px 0 12px;
}

.deputy-list-overview p {
  color: rgba(255,255,255,.82);
  line-height: 1.8;
  margin: 0;
}

.deputy-list-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.deputy-list-stats div {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  padding: 22px 14px;
  text-align: center;
}

.deputy-list-stats strong {
  display: block;
  color: var(--secondary);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.deputy-list-stats span {
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 700;
}

.deputy-list-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.deputy-list-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}

.deputy-list-heading h2 {
  color: var(--primary-dark);
  font-size: 38px;
  font-weight: 800;
  margin: 14px 0 0;
}

.deputy-list-search {
  min-width: 320px;
  height: 56px;
  background: var(--soft-green);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
}

.deputy-list-search i {
  color: var(--primary);
}

.deputy-list-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text-dark);
  font-weight: 700;
}

.deputy-timeline-list {
  display: grid;
  gap: 16px;
}

.deputy-timeline-item {
  display: grid;
  grid-template-columns: 64px 74px 1fr 170px;
  gap: 18px;
  align-items: center;
  background: #fbfdfc;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 20px;
  transition: .3s ease;
  position: relative;
  overflow: hidden;
}

.deputy-timeline-item::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(6,68,32,.05);
}

.deputy-timeline-item:hover {
  transform: translateY(-4px);
  border-color: rgba(6,68,32,.22);
  box-shadow: 0 16px 36px rgba(0,0,0,.07);
}

.deputy-timeline-item > * {
  position: relative;
  z-index: 2;
}

.deputy-order {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  border-radius: 18px;
  font-weight: 800;
}

.deputy-avatar {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 22px;
  font-size: 36px;
}

.deputy-info h3 {
  color: var(--primary-dark);
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 6px;
}

.deputy-info h3 span {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 700;
}

.deputy-info p {
  color: var(--text-muted);
  margin: 0;
  font-weight: 600;
}

.deputy-duration {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 16px;
  text-align: center;
}

.deputy-duration span {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .7px;
  margin-bottom: 4px;
}

.deputy-duration strong {
  color: var(--primary);
  font-weight: 800;
}

.latest-deputy-record {
  border-top: 5px solid var(--secondary);
  background: #fff;
}

.no-deputy-list-message {
  display: none;
  text-align: center;
  padding: 55px 20px;
}

.no-deputy-list-message i {
  color: var(--primary);
  font-size: 46px;
  margin-bottom: 14px;
}

.no-deputy-list-message h3 {
  color: var(--primary-dark);
  font-weight: 800;
}

.no-deputy-list-message p {
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 991px) {
  .deputy-list-overview {
    grid-template-columns: 1fr;
  }

  .deputy-list-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .deputy-list-search {
    min-width: 100%;
  }

  .deputy-timeline-item {
    grid-template-columns: 54px 1fr;
  }

  .deputy-avatar {
    display: none;
  }

  .deputy-duration {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .deputy-list-stats {
    grid-template-columns: 1fr;
  }

  .deputy-list-card,
  .deputy-list-overview {
    padding: 24px;
  }

  .deputy-list-heading h2 {
    font-size: 30px;
  }
}
.prime-minister-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.pm-profile-panel {
  background:
    linear-gradient(135deg, var(--primary-dark), var(--primary)),
    radial-gradient(circle at right top, rgba(213,166,66,.24), transparent 36%);
  color: #fff;
  border-radius: 40px;
  padding: 40px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 38px;
  align-items: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.pm-profile-panel::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -125px;
  width: 320px;
  height: 320px;
  background: rgba(213,166,66,.2);
  border-radius: 50%;
}

.pm-photo-block,
.pm-profile-content {
  position: relative;
  z-index: 2;
}

.pm-photo-block {
  position: relative;
}

.pm-photo-placeholder {
  height: 320px;
  border-radius: 32px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  display: grid;
  place-items: center;
  font-size: 125px;
  color: rgba(255,255,255,.86);
}

.pm-photo-block span {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: var(--secondary);
  color: #1c1607;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
}

.pm-profile-content .section-kicker {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.pm-profile-content h2 {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin: 18px 0 8px;
}

.pm-seat {
  color: rgba(255,255,255,.85);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 22px;
}

.pm-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.pm-badge-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 10px 16px;
  color: rgba(255,255,255,.9);
  font-weight: 800;
}

.pm-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pm-info-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: start;
}

.pm-left-column,
.pm-right-column {
  display: grid;
  gap: 24px;
}

.pm-detail-card,
.pm-role-card,
.pm-performance-card,
.pm-address-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.pm-detail-card h3,
.pm-address-card h3 {
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 20px;
}

.pm-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.pm-detail-list li {
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.pm-detail-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pm-detail-list span {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 5px;
}

.pm-detail-list strong,
.pm-detail-list a {
  color: var(--primary-dark);
  font-weight: 800;
}

.pm-address-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff8e8;
  border-color: rgba(213,166,66,.28);
}

.pm-address-icon {
  min-width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  background: rgba(213,166,66,.18);
  color: var(--secondary);
  border-radius: 18px;
  font-size: 28px;
}

.pm-address-card p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.pm-section-heading {
  margin-bottom: 22px;
}

.pm-section-heading h2 {
  color: var(--primary-dark);
  font-size: 34px;
  font-weight: 800;
  margin: 14px 0 0;
}

.pm-role-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.pm-role-strip div {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  background: #fbfdfc;
  transition: .3s ease;
}

.pm-role-strip .active-role {
  background: var(--soft-green);
  border-color: rgba(6,68,32,.18);
}

.pm-role-strip div:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(0,0,0,.06);
}

.pm-role-strip i,
.pm-performance-grid i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(213,166,66,.16);
  color: var(--secondary);
  font-size: 26px;
  margin-bottom: 18px;
}

.pm-role-strip h4,
.pm-performance-grid h4 {
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 8px;
}

.pm-role-strip p,
.pm-performance-grid p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.pm-performance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pm-performance-grid div {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 22px;
  background: #fbfdfc;
  transition: .3s ease;
}

.pm-performance-grid div:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(0,0,0,.06);
}

@media (max-width: 991px) {
  .pm-profile-panel,
  .pm-info-layout {
    grid-template-columns: 1fr;
  }

  .pm-photo-placeholder {
    max-width: 340px;
  }
}

@media (max-width: 767px) {
  .pm-profile-panel {
    padding: 26px;
  }

  .pm-role-strip,
  .pm-performance-grid {
    grid-template-columns: 1fr;
  }

  .pm-address-card {
    flex-direction: column;
  }

  .pm-section-heading h2 {
    font-size: 28px;
  }
}
.former-pm-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.former-pm-overview {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 36px;
  padding: 34px;
  display: grid;
  grid-template-columns: 90px 1fr 180px;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.former-pm-overview::after {
  content: "";
  position: absolute;
  right: -95px;
  bottom: -105px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: rgba(213,166,66,.2);
}

.former-pm-overview > * {
  position: relative;
  z-index: 2;
}

.former-pm-icon {
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--secondary);
  border-radius: 28px;
  font-size: 42px;
}

.former-pm-overview .section-kicker {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.former-pm-overview h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  margin: 16px 0 10px;
}

.former-pm-overview p {
  color: rgba(255,255,255,.82);
  line-height: 1.75;
  margin: 0;
}

.former-pm-count {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  padding: 24px;
  text-align: center;
}

.former-pm-count strong {
  display: block;
  color: var(--secondary);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.former-pm-count span {
  color: rgba(255,255,255,.78);
  font-weight: 700;
}

.former-pm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 28px;
}

.former-pm-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 26px;
  box-shadow: 0 14px 35px rgba(0,0,0,.045);
  display: flex;
  flex-direction: column;
  min-height: 310px;
  transition: .3s ease;
}

.former-pm-card.featured-pm {
  border-top: 5px solid var(--secondary);
}

.former-pm-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.former-pm-avatar {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: var(--soft-green);
  color: var(--primary);
  border-radius: 22px;
  font-size: 36px;
  margin-bottom: 20px;
}

.former-pm-info span {
  display: inline-flex;
  background: rgba(213,166,66,.15);
  color: #9b711f;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}

.former-pm-info h3 {
  font-size: 21px;
  line-height: 1.35;
  font-weight: 800;
  margin-bottom: 10px;
}

.former-pm-info h3 a {
  color: var(--primary-dark);
}

.former-pm-info h3 a:hover {
  color: var(--primary);
}

.former-pm-info p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.former-pm-link {
  margin-top: auto;
  color: var(--primary);
  font-weight: 800;
}

.former-pm-link:hover {
  color: var(--secondary);
}

.former-pm-table-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.former-pm-table-header {
  margin-bottom: 24px;
}

.former-pm-table-header h2 {
  color: var(--primary-dark);
  font-size: 36px;
  font-weight: 800;
  margin: 14px 0 0;
}

.former-pm-table {
  border-collapse: separate;
  border-spacing: 0 12px;
}

.former-pm-table thead th {
  background: var(--primary-dark);
  color: #fff;
  border: 0;
  padding: 16px 18px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.former-pm-table thead th:first-child {
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.former-pm-table thead th:last-child {
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.former-pm-table tbody td {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 18px;
  color: var(--text-muted);
}

.former-pm-table tbody td:first-child {
  border-left: 1px solid var(--border);
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.former-pm-table tbody td:last-child {
  border-right: 1px solid var(--border);
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.former-pm-table tbody td a {
  color: var(--primary-dark);
  font-weight: 800;
}

.former-pm-table tbody td a:hover {
  color: var(--primary);
}

@media (max-width: 1199px) {
  .former-pm-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .former-pm-overview {
    grid-template-columns: 1fr;
  }

  .former-pm-count {
    text-align: left;
  }
}

@media (max-width: 575px) {
  .former-pm-grid {
    grid-template-columns: 1fr;
  }

  .former-pm-overview,
  .former-pm-table-card {
    padding: 22px;
  }
}
.house-leaders-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.house-leaders-overview {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 36px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.house-leaders-overview::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(213,166,66,.2);
}

.house-leaders-overview > * {
  position: relative;
  z-index: 2;
}

.house-leaders-overview .section-kicker {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.house-leaders-overview h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  margin: 16px 0 12px;
}

.house-leaders-overview p {
  color: rgba(255,255,255,.82);
  line-height: 1.8;
  margin: 0;
}

.house-leaders-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.house-leaders-stats div {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  padding: 22px 14px;
  text-align: center;
}

.house-leaders-stats strong {
  display: block;
  color: var(--secondary);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.house-leaders-stats span {
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 700;
}

.house-leaders-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.house-leaders-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}

.house-leaders-heading h2 {
  color: var(--primary-dark);
  font-size: 38px;
  font-weight: 800;
  margin: 14px 0 0;
}

.house-leaders-search {
  min-width: 320px;
  height: 56px;
  background: var(--soft-green);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
}

.house-leaders-search i {
  color: var(--primary);
}

.house-leaders-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text-dark);
  font-weight: 700;
}

.house-leaders-list {
  display: grid;
  gap: 16px;
}

.house-leader-item {
  display: grid;
  grid-template-columns: 64px 74px 1fr 170px;
  gap: 18px;
  align-items: center;
  background: #fbfdfc;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 20px;
  transition: .3s ease;
  position: relative;
  overflow: hidden;
}

.house-leader-item::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(6,68,32,.05);
}

.house-leader-item:hover {
  transform: translateY(-4px);
  border-color: rgba(6,68,32,.22);
  box-shadow: 0 16px 36px rgba(0,0,0,.07);
}

.house-leader-item > * {
  position: relative;
  z-index: 2;
}

.leader-number {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  border-radius: 18px;
  font-weight: 800;
}

.leader-photo {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 22px;
  font-size: 36px;
}

.leader-info h3 {
  color: var(--primary-dark);
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 6px;
}

.leader-info p {
  color: var(--text-muted);
  margin: 0;
  font-weight: 600;
}

.leader-term {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 16px;
  text-align: center;
}

.leader-term span {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .7px;
  margin-bottom: 4px;
}

.leader-term strong {
  color: var(--primary);
  font-weight: 800;
}

.latest-house-leader {
  border-top: 5px solid var(--secondary);
  background: #fff;
}

.no-house-leader-message {
  display: none;
  text-align: center;
  padding: 55px 20px;
}

.no-house-leader-message i {
  color: var(--primary);
  font-size: 46px;
  margin-bottom: 14px;
}

.no-house-leader-message h3 {
  color: var(--primary-dark);
  font-weight: 800;
}

.no-house-leader-message p {
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 991px) {
  .house-leaders-overview {
    grid-template-columns: 1fr;
  }

  .house-leaders-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .house-leaders-search {
    min-width: 100%;
  }

  .house-leader-item {
    grid-template-columns: 54px 1fr;
  }

  .leader-photo {
    display: none;
  }

  .leader-term {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .house-leaders-stats {
    grid-template-columns: 1fr;
  }

  .house-leaders-card,
  .house-leaders-overview {
    padding: 24px;
  }

  .house-leaders-heading h2 {
    font-size: 30px;
  }
}
.opposition-leader-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.opposition-profile-panel {
  background:
    linear-gradient(135deg, var(--primary-dark), var(--primary)),
    radial-gradient(circle at right top, rgba(213,166,66,.24), transparent 36%);
  color: #fff;
  border-radius: 40px;
  padding: 40px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 38px;
  align-items: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.opposition-profile-panel::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -125px;
  width: 320px;
  height: 320px;
  background: rgba(213,166,66,.2);
  border-radius: 50%;
}

.opposition-photo-card,
.opposition-profile-info {
  position: relative;
  z-index: 2;
}

.opposition-photo-card {
  position: relative;
}

.opposition-photo-placeholder {
  height: 320px;
  border-radius: 32px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  display: grid;
  place-items: center;
  font-size: 125px;
  color: rgba(255,255,255,.86);
}

.opposition-photo-card span {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: var(--secondary);
  color: #1c1607;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
}

.opposition-profile-info .section-kicker {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.opposition-profile-info h2 {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin: 18px 0 8px;
}

.opposition-seat {
  color: rgba(255,255,255,.85);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 22px;
}

.opposition-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.opposition-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 10px 16px;
  color: rgba(255,255,255,.9);
  font-weight: 800;
}

.opposition-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.opposition-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: start;
}

.opposition-left-column,
.opposition-right-column {
  display: grid;
  gap: 24px;
}

.opposition-info-card,
.opposition-role-card,
.opposition-performance-card,
.opposition-address-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.opposition-info-card h3,
.opposition-address-card h3 {
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 20px;
}

.opposition-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.opposition-detail-list li {
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.opposition-detail-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.opposition-detail-list span {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 5px;
}

.opposition-detail-list strong,
.opposition-detail-list a {
  color: var(--primary-dark);
  font-weight: 800;
}

.opposition-address-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff8e8;
  border-color: rgba(213,166,66,.28);
}

.opposition-address-icon {
  min-width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  background: rgba(213,166,66,.18);
  color: var(--secondary);
  border-radius: 18px;
  font-size: 28px;
}

.opposition-address-card p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.opposition-heading {
  margin-bottom: 22px;
}

.opposition-heading h2 {
  color: var(--primary-dark);
  font-size: 34px;
  font-weight: 800;
  margin: 14px 0 0;
}

.opposition-role-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.opposition-role-item {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  background: #fbfdfc;
  transition: .3s ease;
}

.opposition-role-item.active {
  background: var(--soft-green);
  border-color: rgba(6,68,32,.18);
}

.opposition-role-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(0,0,0,.06);
}

.opposition-role-item i,
.opposition-performance-grid i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(213,166,66,.16);
  color: var(--secondary);
  font-size: 26px;
  margin-bottom: 18px;
}

.opposition-role-item h4,
.opposition-performance-grid h4 {
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 8px;
}

.opposition-role-item p,
.opposition-performance-grid p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.opposition-performance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.opposition-performance-grid div {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 22px;
  background: #fbfdfc;
  transition: .3s ease;
}

.opposition-performance-grid div:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(0,0,0,.06);
}

.opposition-note-card {
  background: #fff8e8;
  border: 1px solid rgba(213,166,66,.28);
  border-radius: 26px;
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.opposition-note-card i {
  min-width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: rgba(213,166,66,.18);
  color: var(--secondary);
  border-radius: 18px;
  font-size: 26px;
}

.opposition-note-card h3 {
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 8px;
}

.opposition-note-card p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 991px) {
  .opposition-profile-panel,
  .opposition-layout {
    grid-template-columns: 1fr;
  }

  .opposition-photo-placeholder {
    max-width: 340px;
  }
}

@media (max-width: 767px) {
  .opposition-profile-panel {
    padding: 26px;
  }

  .opposition-role-grid,
  .opposition-performance-grid {
    grid-template-columns: 1fr;
  }

  .opposition-address-card,
  .opposition-note-card {
    flex-direction: column;
  }

  .opposition-heading h2 {
    font-size: 28px;
  }
}
.former-opposition-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.former-opposition-overview {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 36px;
  padding: 34px;
  display: grid;
  grid-template-columns: 90px 1fr 180px;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.former-opposition-overview::after {
  content: "";
  position: absolute;
  right: -95px;
  bottom: -105px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: rgba(213,166,66,.2);
}

.former-opposition-overview > * {
  position: relative;
  z-index: 2;
}

.former-opposition-icon {
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--secondary);
  border-radius: 28px;
  font-size: 42px;
}

.former-opposition-overview .section-kicker {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.former-opposition-overview h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  margin: 16px 0 10px;
}

.former-opposition-overview p {
  color: rgba(255,255,255,.82);
  line-height: 1.75;
  margin: 0;
}

.former-opposition-count {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  padding: 24px;
  text-align: center;
}

.former-opposition-count strong {
  display: block;
  color: var(--secondary);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.former-opposition-count span {
  color: rgba(255,255,255,.78);
  font-weight: 700;
}

.former-opposition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 28px;
}

.former-opposition-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 26px;
  box-shadow: 0 14px 35px rgba(0,0,0,.045);
  display: flex;
  flex-direction: column;
  min-height: 310px;
  transition: .3s ease;
}

.former-opposition-card.featured-opposition {
  border-top: 5px solid var(--secondary);
}

.former-opposition-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.former-opposition-avatar {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: var(--soft-green);
  color: var(--primary);
  border-radius: 22px;
  font-size: 36px;
  margin-bottom: 20px;
}

.former-opposition-info span {
  display: inline-flex;
  background: rgba(213,166,66,.15);
  color: #9b711f;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}

.former-opposition-info h3 {
  font-size: 23px;
  line-height: 1.35;
  font-weight: 800;
  margin-bottom: 10px;
}

.former-opposition-info h3 a {
  color: var(--primary-dark);
}

.former-opposition-info h3 a:hover {
  color: var(--primary);
}

.former-opposition-info p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.former-opposition-link {
  margin-top: auto;
  color: var(--primary);
  font-weight: 800;
}

.former-opposition-link:hover {
  color: var(--secondary);
}

.former-opposition-table-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.former-opposition-table-header {
  margin-bottom: 24px;
}

.former-opposition-table-header h2 {
  color: var(--primary-dark);
  font-size: 36px;
  font-weight: 800;
  margin: 14px 0 0;
}

.former-opposition-table {
  border-collapse: separate;
  border-spacing: 0 12px;
}

.former-opposition-table thead th {
  background: var(--primary-dark);
  color: #fff;
  border: 0;
  padding: 16px 18px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.former-opposition-table thead th:first-child {
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.former-opposition-table thead th:last-child {
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.former-opposition-table tbody td {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 18px;
  color: var(--text-muted);
}

.former-opposition-table tbody td:first-child {
  border-left: 1px solid var(--border);
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.former-opposition-table tbody td:last-child {
  border-right: 1px solid var(--border);
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.former-opposition-table tbody td a {
  color: var(--primary-dark);
  font-weight: 800;
}

.former-opposition-table tbody td a:hover {
  color: var(--primary);
}

@media (max-width: 991px) {
  .former-opposition-overview {
    grid-template-columns: 1fr;
  }

  .former-opposition-count {
    text-align: left;
  }

  .former-opposition-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .former-opposition-overview,
  .former-opposition-table-card {
    padding: 22px;
  }
}
.opposition-list-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.opposition-list-overview {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 36px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.opposition-list-overview::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(213,166,66,.2);
}

.opposition-list-overview > * {
  position: relative;
  z-index: 2;
}

.opposition-list-overview .section-kicker {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.opposition-list-overview h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  margin: 16px 0 12px;
}

.opposition-list-overview p {
  color: rgba(255,255,255,.82);
  line-height: 1.8;
  margin: 0;
}

.opposition-list-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.opposition-list-stats div {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  padding: 22px 14px;
  text-align: center;
}

.opposition-list-stats strong {
  display: block;
  color: var(--secondary);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.opposition-list-stats span {
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 700;
}

.opposition-list-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.opposition-list-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}

.opposition-list-heading h2 {
  color: var(--primary-dark);
  font-size: 38px;
  font-weight: 800;
  margin: 14px 0 0;
}

.opposition-list-search {
  min-width: 320px;
  height: 56px;
  background: var(--soft-green);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
}

.opposition-list-search i {
  color: var(--primary);
}

.opposition-list-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text-dark);
  font-weight: 700;
}

.opposition-timeline-list {
  display: grid;
  gap: 16px;
}

.opposition-timeline-item {
  display: grid;
  grid-template-columns: 64px 74px 1fr 170px;
  gap: 18px;
  align-items: center;
  background: #fbfdfc;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 20px;
  transition: .3s ease;
  position: relative;
  overflow: hidden;
}

.opposition-timeline-item::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(6,68,32,.05);
}

.opposition-timeline-item:hover {
  transform: translateY(-4px);
  border-color: rgba(6,68,32,.22);
  box-shadow: 0 16px 36px rgba(0,0,0,.07);
}

.opposition-timeline-item > * {
  position: relative;
  z-index: 2;
}

.opposition-order {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  border-radius: 18px;
  font-weight: 800;
}

.opposition-avatar {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 22px;
  font-size: 36px;
}

.opposition-person-info h3 {
  color: var(--primary-dark);
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 6px;
}

.opposition-person-info h3 span {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 700;
}

.opposition-person-info p {
  color: var(--text-muted);
  margin: 0;
  font-weight: 600;
}

.opposition-duration {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 16px;
  text-align: center;
}

.opposition-duration span {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .7px;
  margin-bottom: 4px;
}

.opposition-duration strong {
  color: var(--primary);
  font-weight: 800;
}

.latest-opposition-record {
  border-top: 5px solid var(--secondary);
  background: #fff;
}

.no-opposition-list-message {
  display: none;
  text-align: center;
  padding: 55px 20px;
}

.no-opposition-list-message i {
  color: var(--primary);
  font-size: 46px;
  margin-bottom: 14px;
}

.no-opposition-list-message h3 {
  color: var(--primary-dark);
  font-weight: 800;
}

.no-opposition-list-message p {
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 991px) {
  .opposition-list-overview {
    grid-template-columns: 1fr;
  }

  .opposition-list-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .opposition-list-search {
    min-width: 100%;
  }

  .opposition-timeline-item {
    grid-template-columns: 54px 1fr;
  }

  .opposition-avatar {
    display: none;
  }

  .opposition-duration {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .opposition-list-stats {
    grid-template-columns: 1fr;
  }

  .opposition-list-card,
  .opposition-list-overview {
    padding: 24px;
  }

  .opposition-list-heading h2 {
    font-size: 30px;
  }
}
.ministers-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.ministers-overview {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 36px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
}

.ministers-overview::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(213,166,66,.2);
}

.ministers-overview > * {
  position: relative;
  z-index: 2;
}

.ministers-overview .section-kicker {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.ministers-overview h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  margin: 16px 0 12px;
}

.ministers-overview p {
  color: rgba(255,255,255,.82);
  line-height: 1.8;
  margin: 0;
}

.ministers-count-box {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  padding: 24px;
  text-align: center;
}

.ministers-count-box strong {
  display: block;
  color: var(--secondary);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.ministers-count-box span {
  color: rgba(255,255,255,.78);
  font-weight: 700;
}

.ministers-toolbar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 20px;
  box-shadow: 0 14px 35px rgba(0,0,0,.045);
  margin-bottom: 26px;
}

.ministers-search {
  height: 56px;
  background: var(--soft-green);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
}

.ministers-search i {
  color: var(--primary);
}

.ministers-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text-dark);
  font-weight: 700;
}

.ministers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.minister-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 35px rgba(0,0,0,.045);
  transition: .3s ease;
}

.minister-card:hover {
  transform: translateY(-7px);
  border-color: rgba(6,68,32,.22);
  box-shadow: var(--shadow);
}

.minister-card.senior-minister {
  border-top: 5px solid var(--secondary);
}

.minister-img {
  height: 260px;
  background: linear-gradient(135deg, var(--soft-green), #ffffff);
  position: relative;
  overflow: hidden;
}

.minister-img::before {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(6,68,32,.08);
}

.minister-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  position: relative;
  z-index: 2;
}

.minister-info {
  padding: 24px 24px 10px;
}

.minister-info span {
  display: inline-flex;
  background: rgba(213,166,66,.15);
  color: #9b711f;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.minister-info h3 {
  font-size: 23px;
  line-height: 1.35;
  font-weight: 800;
  margin-bottom: 12px;
}

.minister-info h3 a {
  color: var(--primary-dark);
}

.minister-info h3 a:hover {
  color: var(--primary);
}

.minister-info p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.minister-link {
  margin-top: auto;
  padding: 0 24px 24px;
  color: var(--primary);
  font-weight: 800;
}

.minister-link:hover {
  color: var(--secondary);
}

.no-ministers-message {
  display: none;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 60px 20px;
  box-shadow: var(--shadow);
}

.no-ministers-message i {
  color: var(--primary);
  font-size: 46px;
  margin-bottom: 14px;
}

.no-ministers-message h3 {
  color: var(--primary-dark);
  font-weight: 800;
}

.no-ministers-message p {
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 1199px) {
  .ministers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .ministers-overview {
    grid-template-columns: 1fr;
  }

  .ministers-count-box {
    text-align: left;
  }
}

@media (max-width: 767px) {
  .ministers-grid {
    grid-template-columns: 1fr;
  }

  .ministers-overview,
  .ministers-toolbar {
    padding: 24px;
  }

  .minister-img {
    height: 240px;
  }
}
.cabinet-support-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
}

.cabinet-support-overview {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 36px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
}

.cabinet-support-overview::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(213,166,66,.2);
}

.cabinet-support-overview > * {
  position: relative;
  z-index: 2;
}

.cabinet-support-overview .section-kicker {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.cabinet-support-overview h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  margin: 16px 0 12px;
}

.cabinet-support-overview p {
  color: rgba(255,255,255,.82);
  line-height: 1.8;
  margin: 0;
}

.cabinet-support-count {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  padding: 24px;
  text-align: center;
}

.cabinet-support-count strong {
  display: block;
  color: var(--secondary);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.cabinet-support-count span {
  color: rgba(255,255,255,.78);
  font-weight: 700;
}

.cabinet-support-toolbar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 14px;
  box-shadow: 0 14px 35px rgba(0,0,0,.045);
  margin-bottom: 26px;
}

.cabinet-support-search {
  height: 56px;
  background: var(--soft-green);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
}

.cabinet-support-search i {
  color: var(--primary);
}

.cabinet-support-search input,
.cabinet-support-toolbar select {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text-dark);
  font-weight: 700;
}

.cabinet-support-toolbar select {
  height: 56px;
  background: var(--soft-green);
  border-radius: 999px;
  padding: 0 18px;
}

.cabinet-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cabinet-support-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  overflow: hidden;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 35px rgba(0,0,0,.045);
  transition: .3s ease;
}

.cabinet-support-card:hover {
  transform: translateY(-7px);
  border-color: rgba(6,68,32,.22);
  box-shadow: var(--shadow);
}

.cabinet-support-card.special-card {
  border-top: 5px solid var(--secondary);
}

.cabinet-support-card.parliamentary-card {
  border-top: 5px solid var(--primary);
}

.cabinet-support-img {
  height: 250px;
  background: linear-gradient(135deg, var(--soft-green), #ffffff);
  overflow: hidden;
}

.cabinet-support-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cabinet-support-info {
  padding: 24px 24px 10px;
}

.cabinet-support-info span {
  display: inline-flex;
  background: rgba(213,166,66,.15);
  color: #9b711f;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.cabinet-support-info h3 {
  font-size: 23px;
  line-height: 1.35;
  font-weight: 800;
  margin-bottom: 12px;
}

.cabinet-support-info h3 a {
  color: var(--primary-dark);
}

.cabinet-support-info h3 a:hover {
  color: var(--primary);
}

.cabinet-support-info p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.cabinet-support-link {
  margin-top: auto;
  padding: 0 24px 24px;
  color: var(--primary);
  font-weight: 800;
}

.cabinet-support-link:hover {
  color: var(--secondary);
}

.no-cabinet-support-message {
  display: none;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 60px 20px;
  box-shadow: var(--shadow);
}

.no-cabinet-support-message i {
  color: var(--primary);
  font-size: 46px;
  margin-bottom: 14px;
}

.no-cabinet-support-message h3 {
  color: var(--primary-dark);
  font-weight: 800;
}

.no-cabinet-support-message p {
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 1199px) {
  .cabinet-support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .cabinet-support-overview,
  .cabinet-support-toolbar {
    grid-template-columns: 1fr;
  }

  .cabinet-support-count {
    text-align: left;
  }
}

@media (max-width: 767px) {
  .cabinet-support-grid {
    grid-template-columns: 1fr;
  }

  .cabinet-support-overview,
  .cabinet-support-toolbar {
    padding: 24px;
  }

  .cabinet-support-img {
    height: 230px;
  }
}
.media-center-section {
  background: linear-gradient(180deg, #fff 0%, #f6faf7 100%);
}

.media-page-panel {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 36px;
  padding: 36px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.media-page-panel .section-kicker {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.media-page-panel h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  margin: 16px 0 12px;
}

.media-page-panel p {
  color: rgba(255,255,255,.82);
  margin: 0;
}

.media-count-box {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  padding: 24px;
  text-align: center;
  min-width: 150px;
}

.media-count-box strong {
  display: block;
  color: var(--secondary);
  font-size: 40px;
  font-weight: 800;
}

.media-toolbar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 20px;
  box-shadow: 0 14px 35px rgba(0,0,0,.045);
  margin-bottom: 26px;
}

.media-search {
  height: 56px;
  background: var(--soft-green);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
}

.media-search i { color: var(--primary); }

.media-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-weight: 700;
}

.media-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.media-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 26px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 35px rgba(0,0,0,.045);
  transition: .3s ease;
}

.media-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.media-card-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  background: var(--soft-green);
  color: var(--primary);
  border-radius: 22px;
  font-size: 30px;
  margin-bottom: 18px;
}

.media-card span {
  color: var(--secondary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.media-card h3 {
  color: var(--primary-dark);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 12px;
}

.media-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

.media-card a {
  margin-top: auto;
  color: var(--primary);
  font-weight: 800;
}

.gallery-card {
  padding: 0;
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.gallery-card .media-card-body {
  padding: 24px;
}

.empty-record-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 60px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.empty-record-card i {
  font-size: 50px;
  color: var(--primary);
  margin-bottom: 16px;
}

.empty-record-card h3 {
  color: var(--primary-dark);
  font-weight: 800;
}

.empty-record-card p {
  color: var(--text-muted);
  margin: 0;
}

.no-media-message {
  display: none;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 50px 20px;
  box-shadow: var(--shadow);
}

@media (max-width: 991px) {
  .media-page-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .media-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .media-card-grid {
    grid-template-columns: 1fr;
  }

  .media-page-panel,
  .media-toolbar {
    padding: 24px;
  }
}
.glossary-section,
.contact-section {
  background: linear-gradient(180deg, #fff 0%, #f6faf7 100%);
}

.glossary-panel {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 36px;
  padding: 36px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.glossary-panel .section-kicker {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.22);
}

.glossary-panel h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  margin: 16px 0 12px;
}

.glossary-panel p {
  color: rgba(255,255,255,.82);
  margin: 0;
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.glossary-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,.045);
}

.glossary-card h3 {
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 10px;
}

.glossary-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.contact-info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(0,0,0,.045);
}

.contact-info-card i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--soft-green);
  color: var(--primary);
  border-radius: 18px;
  font-size: 26px;
  margin-bottom: 18px;
}

.contact-info-card h3 {
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-info-card p,
.contact-info-card a {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
}

.contact-form-card,
.contact-map-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-form-card h2 {
  color: var(--primary-dark);
  font-size: 38px;
  font-weight: 800;
  margin: 14px 0 24px;
}

.contact-form-card .form-control {
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 14px 16px;
  font-weight: 600;
}

.contact-form-card textarea.form-control {
  min-height: 160px;
}

.map-placeholder {
  min-height: 360px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 28px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
}

.map-placeholder i {
  font-size: 60px;
  color: var(--secondary);
  margin-bottom: 16px;
}

.map-placeholder h3 {
  font-weight: 800;
}

.map-placeholder p {
  color: rgba(255,255,255,.8);
  margin: 0;
}

.contact-social {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.contact-social a {
  background: var(--soft-green);
  color: var(--primary);
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 800;
}

@media (max-width: 1199px) {
  .glossary-grid,
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .glossary-grid,
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card,
  .contact-map-card,
  .glossary-panel {
    padding: 24px;
  }
}