:root {
  --green-900: #003f34;
  --green-800: #005243;
  --green-700: #006b56;
  --green-100: #e8f5f0;
  --red-600: #ed1b3a;
  --red-700: #c90f2a;
  --gold: #f6c445;
  --blue: #2f80ed;
  --ink: #16211f;
  --muted: #65736f;
  --line: #dfe7e4;
  --surface: #ffffff;
  --soft: #f5faf8;
  --shadow: 0 18px 45px rgba(17, 45, 39, 0.12);
}

.auth-page,
.dashboard-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #e8f5f0 0%, #ffffff 48%, #fff3f5 100%);
}

.auth-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 42px 18px;
}

.auth-panel {
  width: min(480px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.auth-brand {
  margin-bottom: 28px;
}

.auth-copy {
  margin-bottom: 24px;
}

.auth-copy h1,
.dashboard-welcome h1 {
  color: var(--green-900);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
}

.auth-copy p:last-child,
.dashboard-welcome p:last-child {
  color: var(--muted);
  margin-top: 10px;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form label {
  color: var(--ink);
  font-weight: 700;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="url"],
.auth-form input[type="number"],
.auth-form input[type="file"],
.auth-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="url"],
.auth-form input[type="number"],
.auth-form input[type="file"] {
  min-height: 48px;
}

.auth-form input[type="file"] {
  padding: 12px 14px;
}

.auth-form textarea {
  min-height: 112px;
  padding-top: 12px;
  resize: vertical;
}

.auth-form input:focus {
  border-color: var(--green-700);
  outline: 3px solid rgba(0, 107, 86, 0.14);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
}

.form-error {
  color: var(--red-700);
  font-size: 14px;
  font-weight: 700;
}

.form-hint {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.auth-submit {
  justify-content: center;
  border: 0;
  margin-top: 8px;
  cursor: pointer;
}

.auth-switch {
  margin-top: 20px;
  color: var(--muted);
  text-align: center;
}

.auth-switch a {
  color: var(--red-600);
  font-weight: 800;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 40px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.dashboard-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dashboard-header form {
  margin: 0;
}

.dashboard-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 54px 0;
}

.dashboard-welcome {
  margin-bottom: 28px;
}

.dashboard-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: stretch;
  gap: 22px;
  margin-bottom: 22px;
  border-radius: 8px;
  padding: 34px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 63, 52, 0.96), rgba(0, 107, 86, 0.88)),
    url("https://images.unsplash.com/photo-1515169067865-5387ec356754?auto=format&fit=crop&w=1400&q=80") center / cover;
  box-shadow: var(--shadow);
}

.dashboard-hero-panel .section-label {
  color: #d9fff2;
}

.dashboard-hero-panel h1 {
  max-width: 720px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
}

.dashboard-hero-panel p {
  max-width: 620px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.dashboard-profile-card {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
}

.dashboard-avatar {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: var(--green-900);
  background: #fff;
  font-size: 34px;
  font-weight: 900;
}

.dashboard-profile-card strong {
  font-size: 22px;
}

.dashboard-profile-card p {
  margin: 6px 0 14px;
  word-break: break-word;
}

.dashboard-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.dashboard-stat-grid article {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.dashboard-stat-grid i {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green-700);
}

.dashboard-stat-grid span {
  color: var(--muted);
  font-weight: 700;
}

.dashboard-stat-grid strong {
  color: var(--green-900);
  font-size: 30px;
}

.dashboard-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.dashboard-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.dashboard-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.dashboard-panel-head h2 {
  color: var(--green-900);
  font-size: 26px;
}

.dashboard-panel-head a {
  color: var(--red-600);
  font-weight: 800;
}

.quick-action-list,
.recent-banner-list {
  display: grid;
  gap: 12px;
}

.quick-action-list a,
.recent-banner-list div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--soft);
}

.quick-action-list i {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--red-600);
}

.quick-action-list span {
  color: var(--green-900);
  font-weight: 800;
}

.recent-banner-list img {
  width: 74px;
  height: 50px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
}

.recent-banner-list span {
  display: grid;
  gap: 2px;
}

.recent-banner-list strong {
  color: var(--green-900);
}

.recent-banner-list small {
  color: var(--muted);
  font-weight: 800;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-grid article {
  min-height: 180px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.dashboard-grid i {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--green-700);
}

.dashboard-grid h2 {
  color: var(--green-900);
  font-size: 22px;
}

.dashboard-grid p {
  margin-top: 8px;
  color: var(--muted);
}

.dashboard-admin-link {
  display: inline-flex;
  margin-top: 18px;
}

.dashboard-admin-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-actions,
.table-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-actions form,
.table-actions form {
  margin: 0;
}

.admin-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.admin-title-row h1 {
  color: var(--green-900);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
}

.success-message {
  margin-bottom: 16px;
  border: 1px solid rgba(0, 107, 86, 0.2);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--green-900);
  background: var(--green-100);
  font-weight: 700;
}

.error-summary {
  margin-bottom: 16px;
  border: 1px solid rgba(201, 15, 42, 0.22);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--red-700);
  background: #fff3f5;
  font-weight: 700;
}

.error-summary ul {
  margin: 8px 0 0 18px;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.admin-table th,
.admin-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: var(--green-900);
  background: var(--soft);
  font-size: 14px;
  text-transform: uppercase;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.role-badge {
  display: inline-flex;
  min-width: 70px;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--green-900);
  background: var(--green-100);
  font-size: 13px;
  font-weight: 800;
}

.banner-thumb {
  width: 120px;
  height: 68px;
  border-radius: 8px;
  object-fit: cover;
}

.current-banner-preview {
  display: grid;
  gap: 8px;
}

.current-banner-preview span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.current-banner-preview img {
  width: 100%;
  max-height: 220px;
  border-radius: 8px;
  object-fit: cover;
}

.table-muted {
  max-width: 460px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  color: #fff;
  background: var(--red-600);
  font-weight: 800;
  cursor: pointer;
}

.pagination-wrap {
  margin-top: 18px;
  color: var(--muted);
}

.admin-page {
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  min-height: 100vh;
  color: var(--ink);
  background: #f7f8fb;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0 20px 24px;
  border-right: 1px solid #e7e9ef;
  color: #2f3748;
  background: #fff;
  box-shadow: 8px 0 28px rgba(31, 41, 55, 0.06);
}

.admin-profile-card {
  display: grid;
  place-items: center;
  gap: 8px;
  margin: 0 -20px 18px;
  padding: 28px 18px 30px;
  border-bottom: 1px solid #eceff5;
  color: #303847;
  background: #f5f6fb;
  text-align: center;
  box-shadow: 0 8px 18px rgba(31, 41, 55, 0.05);
}

.admin-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  color: var(--green-800);
  background: var(--green-100);
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(31, 41, 55, 0.12);
}

.admin-profile-card strong {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-profile-card span:last-child {
  color: #303847;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-sidebar-nav {
  display: grid;
  gap: 0;
}

.admin-sidebar-nav a,
.admin-sidebar-logout button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid #eceff3;
  border-radius: 0;
  padding: 0;
  color: #303847;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-sidebar-nav a:hover,
.admin-sidebar-nav a.active,
.admin-sidebar-logout button:hover {
  color: #a477ff;
  background: transparent;
}

.admin-sidebar-nav i,
.admin-sidebar-logout i {
  width: 18px;
  color: currentColor;
  text-align: center;
}

.admin-menu-group {
  border-bottom: 1px solid #eceff3;
}

.admin-menu-group > a {
  border-bottom: 0;
}

.admin-menu-arrow {
  margin-left: auto;
  transition: transform 0.2s ease;
}

.admin-menu-group.open .admin-menu-arrow {
  transform: rotate(90deg);
}

.admin-submenu {
  display: none;
  gap: 0;
  padding: 0 0 8px 28px;
}

.admin-menu-group.open .admin-submenu,
.admin-menu-group:hover .admin-submenu {
  display: grid;
}

.admin-submenu a {
  min-height: 34px;
  border-bottom: 0;
  color: #667085;
  font-size: 12px;
  text-transform: none;
}

.admin-submenu a:hover {
  color: var(--green-700);
}

.admin-sidebar-logout {
  margin-top: auto;
  padding-top: 18px;
}

.admin-main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 54px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.admin-topbar h1 {
  color: var(--green-900);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
}

.admin-form-panel {
  width: min(540px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.admin-form-note {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 700;
}

.admin-page {
  grid-template-columns: 280px minmax(0, 1fr);
  background:
    linear-gradient(135deg, rgba(0, 107, 86, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(246, 196, 69, 0.16), transparent 28%),
    #f4f7f6;
}

.admin-sidebar {
  border-right: 0;
  color: #e9fff8;
  background:
    linear-gradient(180deg, rgba(0, 63, 52, 0.96), rgba(0, 82, 67, 0.98)),
    var(--green-900);
  box-shadow: 16px 0 40px rgba(0, 63, 52, 0.14);
}

.admin-profile-card {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  background: linear-gradient(135deg, rgba(246, 196, 69, 0.2), rgba(255, 255, 255, 0.06));
  box-shadow: none;
}

.admin-avatar {
  width: 54px;
  height: 54px;
  color: var(--green-900);
  background: var(--gold);
}

.admin-profile-card strong,
.admin-profile-card span:last-child {
  color: #fff;
}

.admin-sidebar-nav a,
.admin-sidebar-logout button {
  min-height: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 800;
}

.admin-sidebar-nav a:hover,
.admin-sidebar-nav a.active,
.admin-sidebar-logout button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.admin-sidebar-nav i,
.admin-sidebar-logout i {
  color: var(--gold);
}

.admin-menu-group {
  border-bottom: 0;
}

.admin-submenu {
  padding: 6px 0 10px 34px;
}

.admin-submenu a {
  color: rgba(255, 255, 255, 0.64);
}

.admin-submenu a:hover {
  color: #fff;
}

.admin-main {
  width: min(1240px, calc(100% - 40px));
}

.admin-topbar {
  border: 1px solid rgba(0, 82, 67, 0.12);
  border-radius: 8px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 38px rgba(17, 45, 39, 0.08);
}

.admin-topbar h1 {
  font-size: clamp(28px, 4vw, 44px);
}

.admin-table-wrap,
.admin-form-panel {
  border: 0;
  box-shadow: 0 18px 48px rgba(17, 45, 39, 0.1);
}

.banner-form-panel {
  width: min(640px, 100%);
  padding: 28px;
}

.banner-form-panel .auth-form {
  gap: 12px;
}

@media (max-width: 760px) {
  .dashboard-header,
  .admin-title-row,
  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-hero-panel,
  .dashboard-content-grid,
  .dashboard-stat-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-hero-panel {
    padding: 24px;
  }

  .admin-page {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    min-height: auto;
    padding: 0 18px 18px;
  }

  .admin-profile-card {
    margin: 0 -18px 14px;
  }

  .admin-sidebar-nav {
    grid-template-columns: 1fr;
  }

  .admin-sidebar-nav a,
  .admin-sidebar-logout button {
    justify-content: flex-start;
  }

  .admin-sidebar-logout {
    margin-top: 10px;
  }

  .admin-main {
    width: min(100% - 24px, 1240px);
    padding: 20px 0 36px;
  }

  .banner-form-panel {
    padding: 20px;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  font-family: "Noto Sans Bengali", "Inter", Arial, sans-serif;
  background: #fff;
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  scroll-margin-top: 96px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.top-strip {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 26px;
  min-height: 30px;
  padding: 4px 40px;
  color: #fff;
  background: var(--green-800);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 18% 100%, 14% 0);
  font-size: 12px;
}

.social-links,
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0 18px;
  min-height: 0;
  padding: 12px 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-800);
  line-height: 1;
  flex-shrink: 0;
}

.header-logo {
    border-radius: 12px;
    display: block;
    width: 183px;
    max-width: 100%;
    height: 97px;
    object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 25px;
  font-weight: 800;
}

.brand-mark {
  position: relative;
  width: 48px;
  height: 48px;
  border: 3px solid var(--green-800);
  border-top: 0;
  border-radius: 2px 2px 14px 2px;
}

.brand-mark::before {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  top: -8px;
  left: 9px;
  border-radius: 50%;
  background: var(--red-600);
  box-shadow: 16px 9px 0 -10px var(--green-800);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: -9px;
  bottom: 5px;
  width: 16px;
  height: 24px;
  background: #fff;
  border-left: 3px solid var(--green-800);
  transform: skewY(-18deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: wrap;
  gap: 0 4px;
  margin-top: 0;
  padding: 0 8px;
  border-top: 0;
  font-size: 14px;
  font-weight: 700;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 10px;
  color: var(--green-900);
  border-radius: 4px 4px 0 0;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--red-600);
  transition: width 0.25s ease;
}

.nav-item:hover > a::after,
.nav-item > a.active::after {
  width: 100%;
}

.nav-item:hover > a,
.nav-item:focus-within > a,
.nav-item > a.active {
  color: var(--red-600);
  background: #fff5f7;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 25;
  min-width: 190px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0 0 6px 6px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.submenu a {
  display: block;
  padding: 9px 10px;
  color: var(--ink);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
}

.submenu a:hover,
.submenu a:focus {
  color: var(--green-800);
  background: var(--green-100);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.icon-button,
.menu-toggle,
.slide-button,
.back-to-top {
  border: 0;
  cursor: pointer;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--green-800);
  background: var(--green-100);
  border-radius: 4px;
}

.join-button,
.login-button,
.register-button,
.primary-button,
.secondary-button,
.dark-button,
.small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 4px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.join-button,
.register-button,
.primary-button {
  color: #fff;
  background: var(--red-600);
}

.join-button,
.login-button,
.register-button {
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
}

.login-button {
  color: var(--green-800);
  border: 1px solid var(--green-700);
  background: #fff;
}

.primary-button {
  min-height: 52px;
  padding: 0 26px;
}

.secondary-button {
  min-height: 52px;
  padding: 0 24px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.dark-button {
  min-height: 46px;
  padding: 0 22px;
  color: #fff;
  background: var(--green-800);
}

.small-button {
  min-height: 38px;
  padding: 0 16px;
  color: var(--green-800);
  border: 1px solid var(--green-700);
  background: #fff;
  font-size: 13px;
}

.small-button.filled {
  color: #fff;
  background: var(--green-800);
}

.primary-button:hover,
.join-button:hover,
.login-button:hover,
.register-button:hover,
.dark-button:hover,
.small-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 82, 67, 0.18);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  color: var(--green-800);
  background: var(--green-100);
  border-radius: 4px;
}

.hero-section {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 20, 18, 0.9) 0%, rgba(0, 38, 32, 0.72) 42%, rgba(0, 0, 0, 0.18) 100%),
    url("https://images.unsplash.com/photo-1475721027785-f74eccf877e2?auto=format&fit=crop&w=1800&q=85") center / cover;
}

.hero-slides {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform 0.5s ease;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 20, 18, 0.9) 0%, rgba(0, 38, 32, 0.72) 42%, rgba(0, 0, 0, 0.18) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slides {
    transition: none;
  }
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(0deg, rgba(0, 39, 33, 0.95), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, calc(100% - 48px));
  margin-left: max(24px, calc((100vw - 1180px) / 2));
  padding-bottom: 80px;
}

.eyebrow,
.section-label {
  color: var(--red-600);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.hero-content .eyebrow {
  color: #fff;
}

.hero-content h1,
.about-copy h2 {
  font-family: "Playfair Display", Georgia, serif;
}

.hero-content h1 {
  max-width: 760px;
  margin: 18px 0 16px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
}

.hero-content h1 span {
  color: var(--red-600);
}

.hero-copy {
  max-width: 560px;
  font-size: 21px;
  line-height: 1.45;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.hero-stats {
  position: absolute;
  z-index: 2;
  left: max(24px, calc((100vw - 1180px) / 2));
  bottom: 35px;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 34px;
}

.hero-stats article {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-stats i {
  font-size: 34px;
}

.hero-stats strong {
  display: block;
  font-size: 23px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  font-size: 13px;
}

.hero-slider {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 34px;
  z-index: 2;
  display: grid;
  grid-template-columns: 34px 34px;
  gap: 8px;
  text-align: right;
}

.slide-button {
  width: 34px;
  height: 34px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.hero-slider p {
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 700;
}

.home-notice-section {
  padding: 34px 0;
  background: var(--soft);
}

.home-notice-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.65fr 0.65fr;
  gap: 18px;
  align-items: stretch;
}

.notice-card {
  min-height: 215px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 45, 39, 0.08);
}

.notice-card.featured-notice {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 63, 52, 0.97), rgba(0, 107, 86, 0.86), rgba(237, 27, 58, 0.42)),
    url("https://images.unsplash.com/photo-1475721027785-f74eccf877e2?auto=format&fit=crop&w=1100&q=85") center / cover;
  border-color: transparent;
}

.notice-card > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--red-600);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.notice-card.featured-notice > span {
  color: #fff;
}

.notice-card h2,
.notice-card h3 {
  margin-bottom: 10px;
  color: var(--green-900);
  line-height: 1.25;
}

.notice-card h2 {
  max-width: 700px;
  font-size: clamp(28px, 4vw, 42px);
}

.notice-card h3 {
  font-size: 22px;
}

.notice-card.featured-notice h2,
.notice-card.featured-notice p {
  color: #fff;
}

.notice-card p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
}

.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 360px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 20, 18, 0.9), rgba(0, 82, 67, 0.72)),
    url("https://images.unsplash.com/photo-1523580494863-6f3031224c94?auto=format&fit=crop&w=1800&q=85") center / cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(0deg, rgba(0, 63, 52, 0.9), transparent);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  margin: 10px 0 12px;
  font-family: "Noto Sans Bengali", "Inter", Arial, sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  font-size: 20px;
  line-height: 1.55;
}

.leadership-page-hero {
  background: var(--green-900);
}

.leadership-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leadership-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 20, 18, 0.9), rgba(0, 82, 67, 0.7));
}

.contact-page-hero {
  background:
    linear-gradient(90deg, rgba(0, 20, 18, 0.9), rgba(0, 82, 67, 0.68)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=85") center / cover;
}

.competitions-page-hero {
  background:
    linear-gradient(90deg, rgba(0, 20, 18, 0.9), rgba(0, 82, 67, 0.66)),
    url("https://images.unsplash.com/photo-1475721027785-f74eccf877e2?auto=format&fit=crop&w=1800&q=85") center / cover;
}

.competition-section {
  padding: 62px 0 44px;
  background: linear-gradient(180deg, #fff 0%, #f5faf8 100%);
}

.competition-feature {
  min-height: 390px;
  padding: 42px;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(0, 63, 52, 0.96), rgba(0, 82, 67, 0.76), rgba(237, 27, 58, 0.45)),
    url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1400&q=85") center / cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.competition-feature > div {
  max-width: 760px;
}

.competition-feature .section-label {
  color: #fff;
}

.competition-feature h2 {
  margin: 8px 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
}

.competition-feature p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.competition-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.competition-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
}

.competition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.competition-card {
  position: relative;
  min-height: 310px;
  padding: 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 45, 39, 0.08);
}

.competition-card::after {
  content: "";
  position: absolute;
  right: -48px;
  top: -48px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: rgba(237, 27, 58, 0.08);
}

.competition-card > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  color: var(--red-600);
  background: #ffe7eb;
  border-radius: 50%;
  font-size: 23px;
}

.competition-card small {
  position: absolute;
  right: 24px;
  top: 24px;
  color: rgba(0, 82, 67, 0.18);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.competition-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  color: var(--green-900);
  font-size: 22px;
  line-height: 1.3;
}

.competition-card p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 14px;
}

.competition-card ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--ink);
  list-style: none;
  font-size: 13px;
}

.competition-card li {
  display: flex;
  gap: 8px;
}

.competition-card li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--red-600);
}

.competition-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 28px;
  overflow: hidden;
  background: var(--green-900);
  border-radius: 8px;
}

.competition-process div {
  min-height: 170px;
  padding: 26px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.competition-process div:last-child {
  border-right: 0;
}

.competition-process span {
  display: block;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 800;
}

.competition-process strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.competition-process p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.competition-detail {
  margin-top: 34px;
}

.detail-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.detail-intro h2 {
  max-width: 760px;
  margin: 8px 0 10px;
  color: var(--green-900);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
}

.detail-intro p:not(.section-label) {
  max-width: 760px;
  color: var(--muted);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.detail-card {
  min-height: 235px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 45, 39, 0.08);
}

.detail-card.primary-detail {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 63, 52, 0.97), rgba(0, 107, 86, 0.88)),
    url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=900&q=80") center / cover;
  border-color: transparent;
}

.detail-card > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  color: var(--red-600);
  background: #ffe7eb;
  border-radius: 50%;
  font-size: 22px;
}

.detail-card.primary-detail > span {
  color: #fff;
  background: var(--red-600);
}

.detail-card h3 {
  margin-bottom: 9px;
  color: var(--green-900);
  font-size: 20px;
  line-height: 1.35;
}

.detail-card.primary-detail h3 {
  color: #fff;
}

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

.detail-card.primary-detail p {
  color: rgba(255, 255, 255, 0.82);
}

.competition-workspace {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 22px;
}

.registration-form,
.team-list-panel {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.registration-form {
  display: grid;
  gap: 14px;
}

.registration-form h3,
.team-list-panel h3,
.live-update-panel h3 {
  color: var(--green-900);
  font-size: 24px;
  line-height: 1.3;
}

.registration-form label {
  display: grid;
  gap: 7px;
  color: var(--green-900);
  font-size: 14px;
  font-weight: 800;
}

.registration-form input,
.registration-form select {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
}

.registration-form input:focus,
.registration-form select:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(0, 107, 86, 0.12);
}

.registration-form .primary-button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-heading span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: #fff;
  background: var(--red-600);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.responsive-table {
  overflow-x: auto;
}

.team-list-panel table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
}

.team-list-panel th,
.team-list-panel td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.team-list-panel th {
  color: var(--green-900);
  background: var(--soft);
  font-weight: 800;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.status.confirmed {
  color: var(--green-800);
  background: #daf5eb;
}

.status.pending {
  color: var(--red-700);
  background: #ffe7eb;
}

.support-grid {
  margin-top: 20px;
}

.live-update-panel {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
  padding: 28px;
  color: #fff;
  background: var(--green-900);
  border-radius: 8px;
}

.live-update-panel .section-label,
.live-update-panel h3 {
  color: #fff;
}

.live-update-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.live-update-panel li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-size: 14px;
}

.live-update-panel i {
  margin-top: 4px;
  color: var(--red-600);
}

.contact-section {
  padding: 62px 0 44px;
  background: linear-gradient(180deg, #fff 0%, #f5faf8 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  min-height: 215px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 45, 39, 0.08);
}

.contact-card > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  color: var(--red-600);
  background: #ffe7eb;
  border-radius: 50%;
  font-size: 22px;
}

.contact-card h3 {
  margin-bottom: 10px;
  color: var(--green-900);
  font-size: 21px;
}

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

.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: var(--green-800);
  border-radius: 50%;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form h2 {
  margin-bottom: 2px;
  color: var(--green-900);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--green-900);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(0, 107, 86, 0.12);
}

.contact-form .primary-button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.regional-contact {
  margin-top: 34px;
}

.regional-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.regional-grid article {
  min-height: 150px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.regional-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green-900);
  font-size: 18px;
}

.regional-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--red-600);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

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

.leadership-section {
  padding: 62px 0 44px;
  background: linear-gradient(180deg, #fff 0%, #f5faf8 100%);
}

.leadership-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 28px;
}

.leadership-intro h2 {
  max-width: 760px;
  margin-top: 8px;
  color: var(--green-900);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
}

.leadership-intro p:not(.section-label) {
  color: var(--muted);
  font-size: 16px;
}

.committee-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.committee-card {
  position: relative;
  min-height: 315px;
  padding: 28px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 45, 39, 0.08);
}

.committee-card::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(0, 82, 67, 0.08);
}

.committee-card.primary {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 63, 52, 0.97), rgba(0, 107, 86, 0.9)),
    url("https://images.unsplash.com/photo-1523580494863-6f3031224c94?auto=format&fit=crop&w=900&q=80") center / cover;
  border-color: transparent;
}

.committee-card.wide {
  grid-column: 1 / -1;
}

.committee-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  color: var(--red-600);
  background: #ffe7eb;
  border-radius: 50%;
  font-size: 23px;
}

.committee-card.primary .committee-icon {
  color: #fff;
  background: var(--red-600);
}

.committee-card small {
  position: absolute;
  right: 26px;
  top: 26px;
  color: rgba(0, 82, 67, 0.2);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.committee-card.primary small {
  color: rgba(255, 255, 255, 0.22);
}

.committee-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  color: var(--green-900);
  font-size: 24px;
}

.committee-card.primary h3 {
  color: #fff;
}

.committee-card p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 15px;
}

.committee-card.primary p {
  color: rgba(255, 255, 255, 0.82);
}

.committee-card ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-top: 18px;
  list-style: none;
  color: var(--ink);
  font-size: 14px;
}

.committee-card.primary ul {
  color: rgba(255, 255, 255, 0.88);
}

.committee-card li {
  display: flex;
  gap: 8px;
}

.committee-card li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--red-600);
}

.committee-card-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--green-800);
  font-weight: 700;
}

.committee-card.primary .committee-card-link {
  color: #fff;
}

a.committee-card {
  display: block;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

a.committee-card:hover,
a.committee-card:focus-visible {
  border-color: var(--green-700);
  box-shadow: 0 18px 38px rgba(17, 45, 39, 0.16);
}

a.committee-card:focus-visible {
  outline: 3px solid var(--red-600);
  outline-offset: 4px;
}

.committee-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 14px;
}

.committee-breadcrumb a:hover {
  text-decoration: underline;
}

.committee-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  align-items: start;
  gap: 28px;
}

.committee-detail-content,
.committee-directory {
  min-width: 0;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.committee-detail-content section + section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.committee-detail-content h2,
.committee-directory h2 {
  margin-bottom: 16px;
  color: var(--green-900);
  font-size: 24px;
  line-height: 1.5;
}

.committee-detail-content p:not(.section-label) {
  color: var(--muted);
  line-height: 1.9;
}

.committee-duties {
  display: grid;
  gap: 16px;
  list-style: none;
}

.committee-duties li {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.committee-duties i {
  flex-shrink: 0;
  color: var(--red-600);
}

.committee-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.committee-directory nav {
  display: grid;
  gap: 6px;
}

.committee-directory nav a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px;
  border-radius: 4px;
  font-size: 14px;
}

.committee-directory nav a:hover,
.committee-directory nav a[aria-current="page"] {
  color: var(--green-800);
  background: var(--green-100);
}

.committee-directory nav a[aria-current="page"] {
  font-weight: 700;
}

@media (max-width: 960px) {
  .committee-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .committee-detail-content,
  .committee-directory {
    padding: 22px;
  }

  .committee-detail-content h2 {
    font-size: 21px;
  }
}

.leadership-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 14px;
  align-items: stretch;
  margin-top: 28px;
  padding: 20px;
  color: #fff;
  background: var(--green-900);
  border-radius: 8px;
}

.leadership-flow > a {
  min-height: 96px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.leadership-flow span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.leadership-flow strong {
  display: block;
  font-size: 17px;
  line-height: 1.35;
}

.leadership-flow i {
  display: none;
  color: var(--red-600);
}

.about-section {
  padding: 62px 0 40px;
  background: linear-gradient(180deg, #fff 0%, #f5faf8 100%);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 32px;
  align-items: stretch;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 390px;
  padding: 34px;
  border-left: 5px solid var(--red-600);
  background: #fff;
  box-shadow: var(--shadow);
}

.about-copy h2 {
  margin: 6px 0 14px;
  color: var(--green-900);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.1;
}

.about-copy p:not(.section-label) {
  max-width: 720px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 16px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.about-photo {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.about-photo img {
  height: 100%;
  object-fit: cover;
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(0, 63, 52, 0.78));
}

.about-badge {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  color: #fff;
}

.about-badge strong {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  background: var(--red-600);
  border-radius: 50%;
  font-size: 20px;
}

.about-badge span {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.about-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.about-topic {
  display: flex;
  gap: 16px;
  min-height: 150px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(17, 45, 39, 0.07);
}

.about-topic-wide {
  grid-column: 1 / -1;
}

.about-topic-link {
  color: inherit;
  text-decoration: none;
}

.about-topic-link:focus-visible {
  outline: 2px solid var(--green-800);
  outline-offset: -4px;
  border-radius: 8px;
}

.about-topic-content {
  padding: clamp(22px, 4vw, 48px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.about-topic-content h2 {
  margin-bottom: 18px;
  color: var(--green-900);
}

.about-topic-body {
  color: var(--muted);
  font-size: 16px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.about-topic h3 {
  margin-bottom: 6px;
  color: var(--green-900);
  font-size: 21px;
}

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

.about-structure {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--green-900);
}

.about-structure div {
  min-height: 160px;
  padding: 26px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.about-structure div:last-child {
  border-right: 0;
}

.about-structure span {
  display: block;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 800;
}

.about-structure strong {
  display: block;
  margin-bottom: 7px;
  font-size: 20px;
}

.about-structure p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

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

.feature-grid article {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 142px;
  padding: 20px;
  text-align: center;
  background: var(--soft);
  border: 1px solid #ebf1ee;
  border-radius: 8px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 12px;
  border-radius: 50%;
  font-size: 22px;
}

.feature-icon.red {
  color: var(--red-600);
  background: #ffe7eb;
}

.feature-icon.green {
  color: var(--green-800);
  background: #daf5eb;
}

.feature-grid h3 {
  font-size: 19px;
}

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

.program-section,
.news-section {
  padding: 30px 0;
  background: #fff;
}

.program-grid {
  display: grid;
  grid-template-columns: 1.17fr 1fr 0.72fr;
  gap: 24px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
}

.section-heading h2 i,
.section-heading a {
  color: var(--red-600);
}

.section-heading a {
  font-size: 13px;
  font-weight: 800;
}

.event-card {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 116px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.event-card + .event-card {
  margin-top: 13px;
}

.date-box {
  display: grid;
  place-items: center;
  min-height: 88px;
  color: var(--green-800);
  background: #dff5ef;
  border-radius: 6px;
  text-align: center;
  text-transform: uppercase;
}

.date-box.pink {
  color: var(--red-600);
  background: #ffe8ed;
}

.date-box strong {
  display: block;
  font-size: 35px;
  line-height: 1;
}

.date-box span {
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
}

.event-card h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

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

.event-card p i {
  width: 18px;
}

.tournament-card {
  min-height: 365px;
  padding: 35px;
  color: #fff;
  border-radius: 8px;
  background:
    linear-gradient(105deg, rgba(103, 0, 20, 0.95), rgba(103, 0, 20, 0.72), rgba(0, 80, 64, 0.55)),
    url("https://images.unsplash.com/photo-1589308078059-be1415eab4c3?auto=format&fit=crop&w=900&q=80") center / cover;
  box-shadow: var(--shadow);
}

.tournament-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
}

.tournament-card > p,
.tournament-card div p {
  margin-top: 12px;
}

.tournament-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0;
  list-style: none;
  font-size: 13px;
}

.tournament-card li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.tournament-card .primary-button {
  width: min(260px, 100%);
}

.map-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.bd-map {
  position: relative;
  width: 150px;
  height: 188px;
  margin: 0 auto 18px;
  background: var(--green-700);
  clip-path: polygon(45% 0, 68% 10%, 66% 24%, 82% 32%, 72% 48%, 86% 62%, 62% 70%, 61% 96%, 45% 82%, 28% 100%, 24% 78%, 8% 66%, 22% 45%, 15% 25%, 35% 18%);
}

.bd-map span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--red-600);
  transform: translate(-50%, -50%);
}

.district-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px 16px;
  margin: 0 0 18px;
  color: var(--muted);
  list-style: none;
  font-size: 13px;
}

.district-list li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--red-600);
}

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

.calendar-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 45, 39, 0.08);
}

.calendar-month {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.calendar-month strong {
  color: var(--green-900);
  font-size: 36px;
  line-height: 1;
}

.calendar-month span {
  color: var(--red-600);
  font-weight: 800;
}

.calendar-list {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  list-style: none;
}

.calendar-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
}

.calendar-list time {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--green-800);
  border-radius: 6px;
  font-weight: 800;
}

.calendar-list span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 0.88fr;
  gap: 22px;
}

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.news-card img {
  height: 138px;
  object-fit: cover;
}

.news-card div {
  padding: 16px;
}

.news-card span {
  color: var(--muted);
  font-size: 12px;
}

.news-card h3 {
  margin: 5px 0 8px;
  font-size: 17px;
  line-height: 1.3;
}

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

.news-card a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  color: var(--red-600);
  font-size: 13px;
  font-weight: 800;
}

.testimonial-card {
  padding: 30px 28px;
  color: var(--green-900);
  background: #e7f7f2;
  border-radius: 8px;
}

.testimonial-card i {
  color: #aadace;
  font-size: 40px;
}

.testimonial-card blockquote {
  margin: 14px 0 24px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.45;
}

.testimonial-card p {
  border-top: 1px solid rgba(0, 82, 67, 0.18);
  padding-top: 18px;
  font-weight: 800;
}

.testimonial-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.gallery-section {
  padding: 34px 0 44px;
  background: linear-gradient(180deg, #fff 0%, #f5faf8 100%);
}

.media-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
}

.media-card {
  display: block;
  position: relative;
  min-height: 260px;
  overflow: hidden;
  color: #fff;
  background: var(--green-900);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.media-card-large {
  min-height: 360px;
}

.media-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
  transition: transform 0.3s ease;
}

.media-card:hover img {
  transform: scale(1.04);
}

.media-card:focus-visible {
  outline: 3px solid var(--red-600);
  outline-offset: 4px;
}

.gallery-list-grid {
  margin-bottom: 36px;
}

.gallery-viewer {
  overflow: hidden;
  border-radius: 8px;
  background: #001f1a;
  color: #fff;
}

.gallery-viewer img,
.gallery-viewer video {
  display: block;
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.gallery-viewer iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.gallery-viewer p {
  padding: 32px;
}

.news-article-content {
  max-width: 960px;
  margin: 0 auto;
}

.news-article-content time {
  color: var(--muted);
  font-size: 14px;
}

.news-article-content h1 {
  margin: 12px 0 24px;
  color: var(--green-900);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.news-article-image {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 24px;
}

.news-article-excerpt {
  margin-bottom: 22px;
  font-size: 18px;
  color: var(--green-900);
}

.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 36%, rgba(0, 38, 32, 0.9));
}

.media-card div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
}

.media-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.media-card h3 {
  font-size: 22px;
  line-height: 1.3;
}

.partner-section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.partner-row {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 26px;
  align-items: center;
}

.partner-row h2 {
  font-size: 20px;
}

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

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 34px;
}

.partner-logos span {
  color: #1d3531;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.partner-logos span:nth-child(1) {
  color: #e31b54;
  font-size: 34px;
}

.partner-logos span:nth-child(2) {
  color: #3072bc;
}

.site-footer {
  color: #fff;
  background: var(--green-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.75fr 1.1fr 0.85fr;
  gap: 44px;
  padding: 46px 0;
}

.footer-brand {
  color: #fff;
}

.footer-brand .brand-mark {
  border-color: #fff;
}

.footer-brand .brand-mark::after {
  border-left-color: #fff;
  background: var(--green-900);
}

.site-footer h3 {
  margin-bottom: 16px;
  font-size: 17px;
}

.site-footer a,
.site-footer p {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.footer-social {
  margin-top: 22px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.footer-slogan {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-slogan p {
  position: relative;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 29px;
  font-weight: 800;
  line-height: 1.12;
  transform: rotate(-8deg);
}

.footer-slogan p::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: -14px;
  width: 120px;
  height: 6px;
  background: var(--red-600);
  transform: rotate(-8deg);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px max(18px, calc((100vw - 1180px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom div {
  display: flex;
  gap: 24px;
}

.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 15;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: var(--green-700);
  border-radius: 50%;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 0.25s ease;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .navbar {
    padding: 12px 22px;
  }

  .nav-menu {
    font-size: 13px;
  }

  .nav-item > a {
    padding: 0 8px;
  }

  .login-button,
  .register-button {
    width: 40px;
    padding: 0;
    font-size: 0;
  }

  .login-button i,
  .register-button i {
    font-size: 14px;
  }

  .about-hero,
  .leadership-intro,
  .contact-layout,
  .home-notice-grid,
  .program-grid,
  .media-grid,
  .news-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .network-panel,
  .calendar-panel,
  .featured-notice,
  .testimonial-card,
  .footer-slogan {
    grid-column: 1 / -1;
  }

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

  .about-hero {
    grid-template-columns: 1fr;
  }

  .leadership-intro {
    grid-template-columns: 1fr;
  }

  .contact-layout,
  .regional-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .competition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-grid,
  .live-update-panel ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .competition-workspace,
  .live-update-panel {
    grid-template-columns: 1fr;
  }

  .about-photo {
    min-height: 320px;
  }
}

@media (max-width: 1280px) {
  .top-strip {
    display: none;
  }

  .navbar {
    min-height: 70px;
    padding: 8px 22px;
    flex-wrap: nowrap;
  }

  .header-logo {
    width: 120px;
    height: auto;
    max-height: 64px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    order: 4;
    flex-shrink: 0;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 70px);
    max-height: var(--menu-available-height, calc(100dvh - 80px));
    box-sizing: border-box;
    overflow-x: hidden;
    margin-top: 0;
    overflow-y: auto;
    padding: 12px 22px 20px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.1);
    overscroll-behavior: contain;
  }

  .navbar .nav-menu.open {
    display: flex;
  }

  .nav-menu > * {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
  }

  .nav-item > a {
    min-height: auto;
    padding: 12px 0;
    color: var(--ink);
    border-radius: 0;
  }

  .nav-item > a::after {
    bottom: 6px;
  }

  .submenu {
    position: static;
    min-width: 0;
    padding: 0 0 8px 14px;
    border: 0;
    border-left: 2px solid var(--green-100);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-item:hover .submenu,
  .nav-item:focus-within .submenu {
    transform: none;
  }

  .submenu::before {
    display: none;
  }

  .submenu a {
    padding: 7px 10px;
    white-space: normal;
  }

  .nav-actions .icon-button {
    display: grid;
    place-items: center;
  }
}

@media (max-width: 960px) {

  .hero-section {
    min-height: 760px;
    align-items: flex-start;
    padding-top: 92px;
  }

  .hero-content {
    margin-left: 24px;
    padding-bottom: 0;
  }

  .hero-stats {
    left: 24px;
    right: 24px;
    bottom: 32px;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .hero-slider {
    right: 24px;
    bottom: 152px;
  }

  .event-card {
    grid-template-columns: 72px 1fr;
  }

  .event-card .small-button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .navbar {
    padding: 8px 14px;
    gap: 10px;
  }

  .brand strong {
    font-size: 20px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .join-button {
    display: none;
  }

  .login-button,
  .register-button {
    display: none;
  }

  .hero-section {
    min-height: 820px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
  }

  .hero-content h1 {
    font-size: 47px;
  }

  .hero-copy {
    font-size: 17px;
  }

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

  .hero-stats {
    left: 16px;
    right: 16px;
    grid-template-columns: 1fr;
  }

  .hero-stats article {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-slider {
    display: none;
  }

  .about-hero,
  .home-notice-grid,
  .about-topic-grid,
  .about-structure,
  .leadership-intro,
  .committee-grid,
  .leadership-flow,
  .contact-layout,
  .contact-info-grid,
  .regional-grid,
  .competition-grid,
  .competition-process,
  .detail-intro,
  .detail-grid,
  .competition-workspace,
  .form-row,
  .live-update-panel,
  .live-update-panel ul,
  .program-grid,
  .media-grid,
  .news-grid,
  .footer-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .leadership-section {
    padding: 42px 0 28px;
  }

  .contact-section {
    padding: 42px 0 28px;
  }

  .competition-section {
    padding: 42px 0 28px;
  }

  .competition-feature {
    min-height: auto;
    padding: 28px;
  }

  .home-notice-section,
  .gallery-section {
    padding: 28px 0;
  }

  .notice-card,
  .media-card,
  .media-card-large {
    min-height: 240px;
  }

  .detail-intro {
    align-items: start;
  }

  .registration-form,
  .team-list-panel,
  .live-update-panel {
    padding: 22px;
  }

  .competition-process div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .competition-process div:last-child {
    border-bottom: 0;
  }

  .contact-form {
    padding: 22px;
  }

  .committee-card,
  .committee-card.wide {
    grid-column: auto;
  }

  .about-section {
    padding: 42px 0 28px;
  }

  .about-copy {
    min-height: auto;
    padding: 24px;
  }

  .about-topic,
  .about-badge {
    grid-template-columns: 1fr;
  }

  .about-topic {
    flex-direction: column;
  }

  .about-topic-wide {
    grid-column: auto;
  }

  .about-structure {
    border-radius: 8px;
  }

  .about-structure div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .about-structure div:last-child {
    border-bottom: 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .tournament-card {
    padding: 26px 20px;
  }

  .tournament-card ul {
    grid-template-columns: 1fr;
  }

  .partner-logos {
    gap: 18px;
  }

  .partner-logos span,
  .partner-logos span:nth-child(1) {
    font-size: 22px;
  }

.footer-bottom,
  .footer-bottom div {
    flex-direction: column;
    gap: 8px;
  }
}

.network-page-hero { background: var(--green-900); }
.network-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.network-page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0, 20, 18, 0.9), rgba(0, 82, 67, 0.72)); }

.network-overview,
.division-section,
.district-directory-section {
  padding: 62px 0 44px;
  background: linear-gradient(180deg, #fff 0%, #f5faf8 100%);
}

.network-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.network-stat-grid article {
  min-height: 190px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 45, 39, 0.08);
}

.network-stat-grid span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  color: var(--red-600);
  background: #ffe7eb;
  border-radius: 50%;
  font-size: 22px;
}

.network-stat-grid strong {
  display: block;
  color: var(--green-900);
  font-size: 42px;
  line-height: 1;
}

.network-stat-grid p {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.network-feature {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-top: 28px;
  padding: 34px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.network-feature .section-label,
.network-feature h2,
.network-feature p {
  color: #fff;
}

.network-feature h2 {
  max-width: 740px;
  margin: 8px 0 10px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.16;
}

.network-feature p:not(.section-label) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
}

.network-map-section {
  padding: 62px 0 44px;
  background: #fff;
}

.network-map-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 0.72fr);
  gap: 24px;
  align-items: stretch;
}

.map-explorer,
.network-detail-panel,
.district-info-card,
.activity-timeline {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-explorer {
  padding: 26px;
}

.bangladesh-map {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background:
    radial-gradient(circle at 42% 24%, rgba(237, 27, 58, 0.16), transparent 24%),
    linear-gradient(145deg, #e8f5f0, #fff);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bangladesh-map::before {
  content: "";
  position: absolute;
  inset: 34px 22% 34px 18%;
  background: linear-gradient(180deg, var(--green-700), var(--green-900));
  clip-path: polygon(48% 0, 62% 4%, 67% 13%, 62% 22%, 76% 27%, 82% 37%, 72% 47%, 83% 59%, 72% 68%, 67% 82%, 55% 87%, 50% 100%, 38% 87%, 31% 98%, 25% 83%, 14% 76%, 21% 61%, 10% 51%, 21% 39%, 16% 28%, 28% 19%, 30% 8%);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.14);
}

.map-region {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 36px;
  padding: 0 12px;
  color: var(--green-900);
  background: #fff;
  border: 2px solid rgba(0, 82, 67, 0.2);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(17, 45, 39, 0.16);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transform: translate(-50%, -50%);
  transition: 0.2s ease;
}

.map-region::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 7px;
  background: var(--red-600);
  border-radius: 50%;
}

.map-region:hover,
.map-region.active {
  color: #fff;
  background: var(--red-600);
  border-color: #fff;
}

.map-region:hover::before,
.map-region.active::before {
  background: #fff;
}

.map-hint {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.network-detail-panel {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.network-detail-panel h2,
.district-info-card h2 {
  margin: 12px 0 10px;
  color: var(--green-900);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
}

.network-detail-panel p,
.district-info-card p,
.activity-timeline p {
  color: var(--muted);
}

.detail-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.detail-metrics div {
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.detail-metrics strong {
  display: block;
  color: var(--red-600);
  font-size: 30px;
  line-height: 1;
}

.detail-metrics span {
  color: var(--green-900);
  font-size: 13px;
  font-weight: 800;
}

.committee-mini {
  padding: 18px;
  background: var(--green-900);
  border-radius: 8px;
}

.committee-mini h3,
.committee-mini p {
  color: #fff;
}

.committee-mini h3 {
  margin-bottom: 10px;
}

.committee-mini p {
  font-size: 14px;
}

.committee-mini i {
  width: 22px;
  color: var(--red-600);
}

.district-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.district-chip-row button,
.district-chip-row a,
.district-directory button,
.district-directory a {
  min-height: 38px;
  padding: 0 14px;
  color: var(--green-800);
  background: #fff;
  border: 1px solid var(--green-700);
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: 0.2s ease;
}

.district-chip-row button:hover,
.district-chip-row a:hover,
.district-directory button:hover,
.district-directory a:hover,
.district-directory a.active {
  color: #fff;
  background: var(--green-800);
  transform: translateY(-2px);
}

.division-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.division-card {
  min-height: 190px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 45, 39, 0.08);
  cursor: pointer;
  transition: 0.2s ease;
}

.division-card span {
  display: block;
  margin-bottom: 28px;
  color: rgba(0, 82, 67, 0.32);
  font-size: 13px;
  font-weight: 800;
}

.division-card h3 {
  color: var(--green-900);
  font-size: 24px;
}

.division-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.division-card:hover,
.division-card.active {
  color: #fff;
  background: var(--green-900);
  transform: translateY(-3px);
}

.division-card:hover h3,
.division-card:hover p,
.division-card.active h3,
.division-card.active p {
  color: #fff;
}

.division-card:hover span,
.division-card.active span {
  color: rgba(255, 255, 255, 0.56);
}

.district-focus-section {
  padding: 44px 0;
  background: #fff;
}

.district-focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: 24px;
}

.district-info-card,
.activity-timeline {
  padding: 28px;
}

.district-info-card ul {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  list-style: none;
}

.district-info-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.district-info-card i {
  margin-top: 4px;
  color: var(--red-600);
}

.activity-timeline h3 {
  margin-bottom: 18px;
  color: var(--green-900);
  font-size: 24px;
}

.activity-timeline article {
  position: relative;
  padding: 0 0 20px 24px;
  border-left: 2px solid var(--green-100);
}

.activity-timeline article:last-child {
  padding-bottom: 0;
}

.activity-timeline article::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  background: var(--red-600);
  border-radius: 50%;
}

.activity-timeline time {
  display: block;
  color: var(--red-600);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.activity-timeline strong {
  display: block;
  margin: 4px 0;
  color: var(--green-900);
  font-size: 18px;
}

.district-directory {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}

.institution-section {
  padding: 62px 0 54px;
  background: #fff;
}

.institution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.institution-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.institution-card img {
  height: 220px;
  object-fit: cover;
}

.institution-card div {
  padding: 22px;
}

.institution-card span {
  color: var(--red-600);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.institution-card h3 {
  margin: 7px 0 8px;
  color: var(--green-900);
  font-size: 22px;
}

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

@media (max-width: 1120px) {
  .training-overview-grid,
  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .session-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .training-feature,
  .workshop-layout {
    grid-template-columns: 1fr;
  }

  .trainer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .debater-stat-grid,
  .profile-grid,
  .gallery-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-search-panel,
  .judge-layout,
  .archive-showcase,
  .archive-library-layout {
    grid-template-columns: 1fr;
  }

  .archive-filter-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .news-category-strip,
  .news-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-feature-layout,
  .lead-news-card,
  .press-layout,
  .news-detail-card {
    grid-template-columns: 1fr;
  }

  .lead-news-card img,
  .news-detail-card img {
    min-height: 320px;
  }

  .network-stat-grid,
  .division-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .network-map-layout,
  .district-focus-grid,
  .institution-grid {
    grid-template-columns: 1fr;
  }

  .district-directory {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .training-hub-section,
  .workshop-section,
  .trainer-section {
    padding: 42px 0 28px;
  }

  .training-overview-grid,
  .training-feature,
  .course-grid,
  .session-grid,
  .trainer-grid {
    grid-template-columns: 1fr;
  }

  .training-feature {
    padding: 22px;
  }

  .debater-hub-section,
  .judge-section,
  .ranking-section,
  .archive-hub-section,
  .archive-library-section {
    padding: 42px 0 28px;
  }

  .debater-stat-grid,
  .profile-search-panel form,
  .profile-grid,
  .profile-card.featured-profile,
  .archive-filter-row,
  .archive-doc-grid,
  .gallery-masonry {
    grid-template-columns: 1fr;
  }

  .profile-search-panel,
  .judge-list article,
  .archive-doc-grid article {
    padding: 22px;
  }

  .archive-feature {
    min-height: 420px;
  }

  .news-hub-section,
  .press-section,
  .news-detail-section {
    padding: 42px 0 28px;
  }

  .news-category-strip,
  .news-page-grid {
    grid-template-columns: 1fr;
  }

  .lead-news-card div,
  .breaking-panel,
  .news-article-card div,
  .press-list article,
  .news-detail-card div {
    padding: 22px;
  }

  .lead-news-card img,
  .news-detail-card img {
    min-height: 260px;
  }

  .network-overview,
  .network-map-section,
  .division-section,
  .district-directory-section,
  .institution-section {
    padding: 42px 0 28px;
  }

  .network-stat-grid,
  .network-feature,
  .detail-metrics,
  .division-card-grid,
  .district-directory {
    grid-template-columns: 1fr;
  }

  .network-feature,
  .map-explorer,
  .network-detail-panel,
  .district-info-card,
  .activity-timeline {
    padding: 22px;
  }

  .bangladesh-map {
    min-height: 520px;
  }

  .bangladesh-map::before {
    inset: 34px 10% 34px 6%;
  }

  .map-region {
    min-width: 82px;
    min-height: 32px;
    padding: 0 9px;
    font-size: 11px;
  }
}

/* Keep account links available inside the compact mobile menu. */
.nav-mobile-actions {
  display: none;
}

@media (max-width: 680px) {
  .nav-mobile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }

  .nav-mobile-actions > a {
    display: inline-flex;
    flex: 1 1 100px;
    width: auto;
    min-height: 44px;
    height: 44px;
    padding: 0 14px;
    font-size: 14px;
  }

  .navbar .icon-button {
    width: 44px;
    height: 44px;
  }

  .navbar .brand strong {
    font-size: clamp(14px, 4.5vw, 20px);
  }

  .navbar .brand-mark {
    width: 32px;
    height: 36px;
    flex-shrink: 0;
  }
}

.committee-detail-content section > p:not(.section-label) { white-space: pre-line; }

.leadership-admin-form label:not(.check-row) {
  display: grid;
  gap: 8px;
}
.leadership-admin-form small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}
.leadership-admin-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}
.leadership-admin-form .form-row {
  align-items: start;
}

.training-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(0, 63, 52, 0.97), rgba(0, 107, 86, 0.84), rgba(237, 27, 58, 0.4));
}
.training-feature > :not(img) { position: relative; z-index: 2; }
.training-card { display: block; min-width: 0; }
.training-card:focus-visible { outline: 3px solid var(--red-600); outline-offset: 4px; }
.training-card-action { position: relative; z-index: 1; margin-top: 20px; font-weight: 700; font-size: 14px; }
.trainer-grid .training-card-action { margin: 18px 22px 0; }
.training-card-image { height: 160px; object-fit: cover; border-radius: 6px; margin-bottom: 20px; }
.training-detail-image { max-height: 440px; object-fit: contain; border-radius: 6px; margin-bottom: 24px; }
.training-detail-body { white-space: pre-line; overflow-wrap: anywhere; line-height: 1.9; color: var(--muted); }
.training-detail-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; list-style: none; }
.training-detail-tags li { padding: 8px 12px; border-radius: 4px; color: var(--green-800); background: var(--green-100); }
.training-admin-filters { flex-wrap: wrap; margin-bottom: 20px; }
.leadership-admin-form input[type="date"] { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; }

.course-card.primary-course li { color: var(--green-900); }

.news-feature-layout.news-feature-single, .lead-news-card.without-image { grid-template-columns: minmax(0, 1fr); }
.news-category-strip a[aria-current="page"] { border-color: var(--green-800); background: var(--green-100); }
.news-article-card .news-image-link { display: block; margin: 0; }
.news-article-card h3 a, .press-list h3 a { display: inline; margin: 0; color: inherit; font: inherit; }
.news-article-card h3 a:hover, .lead-news-card h2 a:hover, .press-list h3 a:hover, .breaking-panel strong a:hover { text-decoration: underline; }
.news-update-link { display: inline-block; margin-top: 12px; color: var(--red-600); font-size: 13px; font-weight: 700; }
.news-article-content { overflow-wrap: anywhere; }

.lead-news-card h2 { font-size: clamp(26px, 2.25vw, 36px); line-height: 1.3; }

.site-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  width: 100%;
  font-size: 14px;
}
.pagination-summary { color: var(--muted); font-size: 13px; }
.pagination-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pagination-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 38px;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--green-800);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  white-space: nowrap;
}
.pagination-number { padding-inline: 10px; }
a.pagination-button:hover { border-color: var(--green-700); background: var(--green-100); }
a.pagination-button:focus-visible { outline: 2px solid var(--green-700); outline-offset: 2px; }
.pagination-button[aria-current="page"] { color: #fff; background: var(--green-800); border-color: var(--green-800); }
.pagination-button[aria-disabled="true"] { color: var(--muted); background: var(--soft); opacity: 0.65; }
.pagination-gap { padding: 0 4px; color: var(--muted); }

.gallery-video-placeholder { position: absolute; top: 36%; left: 50%; transform: translate(-50%, -50%); font-size: 64px; color: rgba(255,255,255,.8); }
.gallery-item-description { margin-top: 24px; white-space: pre-line; overflow-wrap: anywhere; line-height: 1.9; color: var(--muted); }
.gallery-viewer video { min-height: 220px; }

.gallery-admin-filters { margin-bottom: 20px; }
.admin-topbar > .table-actions { justify-content: flex-end; }
@media (max-width: 760px) { .admin-topbar > .table-actions { justify-content: flex-start; } }

.gallery-player {
  width: min(960px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  overflow-y: auto;
  border: 0;
  border-radius: 10px;
  color: var(--green-900);
  background: #fff;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
}
.gallery-player::backdrop { background: rgba(0, 20, 18, 0.82); }
.gallery-player-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; }
.gallery-player-header h2 { min-width: 0; font-size: 18px; line-height: 1.5; overflow-wrap: anywhere; }
.gallery-player-close { flex: 0 0 40px; width: 40px; height: 40px; border: 0; border-radius: 5px; color: var(--green-800); background: var(--green-100); font-size: 28px; cursor: pointer; }
.gallery-player-media { background: #001f1a; }
.gallery-player-media iframe, .gallery-player-media video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 70dvh; border: 0; object-fit: contain; }
.gallery-player-footer { padding: 14px 20px; }
body.gallery-player-open { overflow: hidden; }
.media-card::after { pointer-events: none; }

.contact-message-detail { max-width: 900px; overflow-wrap: anywhere; }
.contact-message-detail h2 { color: var(--green-900); margin-bottom: 24px; }
.contact-message-detail dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 20px; margin-bottom: 24px; }
.contact-message-detail dt { font-weight: 700; }
.contact-message-body { padding-block: 24px; margin-bottom: 24px; border-block: 1px solid var(--line); white-space: pre-wrap; line-height: 1.8; }

.contact-form, .contact-form [role="status"], .contact-form [role="alert"] { scroll-margin-top: 110px; }

.about-hero.about-hero-text-only { grid-template-columns: minmax(0, 1fr); }

.network-search { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; }
.network-search input, .network-search select { flex: 1 1 160px; min-width: 0; max-width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--ink); font: inherit; }
.network-search button { flex: 0 0 auto; }
.network-preserve-lines { white-space: pre-line; overflow-wrap: anywhere; line-height: 1.9; margin-block: 18px; }
.network-detail-content { overflow-wrap: anywhere; margin-bottom: 28px; }
.network-detail-content h3 { margin-top: 24px; color: var(--green-900); }
.network-detail-content p { margin-block: 12px; }
.network-detail-image { max-height: 440px; object-fit: contain; margin-bottom: 24px; border-radius: 6px; }
.network-details-link { display: inline-block; margin-top: 16px; color: var(--red-600); font-weight: 700; }
.network-admin-filters { margin-bottom: 20px; }
.network-detail-panel .small-button, .district-info-card .dark-button { margin-top: 24px; }
.division-card { display: block; }
.district-directory a { display: flex; justify-content: center; align-items: center; text-align: center; }
@media (max-width: 680px) { .network-search { align-items: stretch; } .network-search input, .network-search select { flex-basis: 100%; } .network-search button { width: 100%; } }

.network-join-form { max-width: 780px; margin-inline: auto; }
.network-join-form select, .network-join-form input[type="tel"], .network-join-form input[type="number"] { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 5px; background: #fff; font: inherit; }

.network-page .page-hero h1, .network-page .institution-card h3 { overflow-wrap: anywhere; }
.network-page .section { scroll-margin-top: 170px; }
@media (max-width: 1280px) { .network-page .section { scroll-margin-top: 110px; } }

/* Database-managed public content */
.cms-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:28px 0; }
.cms-card { min-width:0; display:block; border:1px solid #dce6e3; border-radius:12px; background:#fff; overflow:hidden; box-shadow:0 12px 30px #003e3210; color:var(--dark-green, #003e32); }
.cms-card > div, a.cms-card:not(:has(img)) { padding:24px; }
.cms-card > img, .cms-card > a > img { display:block; width:100%; height:250px; object-fit:cover; }
.cms-card h2,.cms-card h3 { margin:12px 0; overflow-wrap:anywhere; }
.cms-card p { margin:12px 0; }
.cms-card .primary-button { margin-top:12px; }
.cms-prose,.site-preserve-lines { white-space:pre-line; overflow-wrap:anywhere; }
.cms-prose { line-height:1.9; margin:20px 0; }
.cms-detail { max-width:960px; }
.cms-detail h1 { margin:28px 0 16px; font-size:clamp(28px,4vw,48px); line-height:1.4; overflow-wrap:anywhere; }
.cms-detail-image { display:block; width:100%; max-height:520px; object-fit:contain; border-radius:12px; margin:28px 0; }
.cms-filter { display:flex; align-items:end; gap:16px; margin:24px 0; flex-wrap:wrap; }
.cms-filter label { display:grid; gap:8px; flex:1 1 200px; }
.cms-filter input,.cms-filter select { width:100%; min-width:0; padding:13px; background:#fff; border:1px solid #c9d9d4; border-radius:6px; font:inherit; }
.cms-home-section { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:32px; align-items:center; }
.cms-home-section:has(>div:only-child) { grid-template-columns:1fr; }
.cms-home-section img { width:100%; max-height:380px; object-fit:cover; border-radius:12px; }
.partner-logos img { max-width:140px; max-height:70px; object-fit:contain; }
.footer-grid>div { min-width:0; overflow-wrap:anywhere; }
.footer-grid .footer-brand { display:inline-flex; }
.table-actions { flex-wrap:wrap; }
.leadership-admin-form label>small { font-weight:400; overflow-wrap:anywhere; }
@media(max-width:1000px) { .cms-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) {
 .cms-grid,.cms-home-section { grid-template-columns:minmax(0,1fr); }
 .cms-card > img,.cms-card > a > img { height:220px; }
 .cms-filter { display:grid; grid-template-columns:minmax(0,1fr); }
 .cms-filter label { min-width:0; }
 .cms-detail .auth-form { padding:20px 0; }
 .cms-detail .primary-button { max-width:100%; white-space:normal; }
}
