:root {
  --blue: #092f72;
  --blue-soft: #174f9d;
  --green: #11a75c;
  --orange: #f47a10;
  --red: #ef2118;
  --line: #e7edf6;
  --text: #092b63;
  --muted: #62708a;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(14, 31, 62, 0.16);
  /* One restrained desktop rail for the header, hero, content and footer. */
  --page-max: 1180px;
  --page-gutter: clamp(88px, 13vw, 208px);
  --mechad-page-bg: #f7f9fc;
  --shared-hero-bg: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  background: var(--mechad-page-bg);
}

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

.site-header {
  width: 100%;
  background: var(--white);
  border-top: 4px solid #111111;
  border-bottom: 1px solid #dfe8f4;
  box-shadow: 0 1px 0 rgba(8, 34, 75, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: 168px minmax(420px, 1fr) auto;
  align-items: center;
  gap: 28px;
  width: min(var(--page-max), calc(100% - var(--page-gutter)));
  min-height: 96px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  color: var(--blue);
  text-decoration: none;
}

.brand-logo-frame {
  display: grid;
  place-items: center;
  flex: 0 0 150px;
  width: 150px;
  aspect-ratio: 354 / 172;
  overflow: visible;
}

.brand-logo {
  display: none;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-logo.is-visible {
  display: block;
}

.main-nav {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.main-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, transform 180ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 14px;
  bottom: 4px;
  left: 14px;
  height: 2px;
  background: var(--blue-soft);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-active {
  color: #061f52;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.main-nav a:hover {
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.action,
.admin-toggle,
.primary-button,
.secondary-button,
.reset-button,
.icon-button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: 600 13px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  text-decoration: none;
}

.action:hover,
.admin-toggle:hover,
.primary-button:hover,
.secondary-button:hover,
.reset-button:hover {
  transform: translateY(-1px);
}

.action.ghost {
  color: var(--blue);
  background: #fff;
  border-color: var(--blue);
}

.action.ghost:hover {
  color: #fff;
  background: var(--blue);
}

.action.success {
  color: var(--green);
  background: #fff;
  border-color: var(--green);
}

.action.success:hover {
  color: #fff;
  background: var(--green);
}

.action.primary,
.primary-button {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.action.primary:hover,
.primary-button:hover {
  background: #051f53;
}

.admin-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 15;
  color: var(--blue);
  background: #edf4ff;
  border-color: #c9dcfa;
  padding: 0 16px;
  box-shadow: 0 10px 24px rgba(9, 47, 114, 0.16);
}

.admin-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(430px, 100vw);
  height: 100vh;
  padding: 22px;
  overflow-y: auto;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: transform 220ms ease;
  visibility: hidden;
  pointer-events: none;
}

.admin-panel.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.admin-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.admin-panel-head strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
}

.admin-panel-head span,
.admin-section p {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.icon-button {
  width: 38px;
  min-height: 38px;
  color: var(--blue);
  background: #f3f6fb;
  font-size: 24px;
}

.admin-section {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.admin-section h2 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
}

.logo-admin-row,
.menu-form,
.single-field,
.report-admin-grid {
  display: grid;
  gap: 10px;
}

.logo-admin-row {
  grid-template-columns: 1fr 130px;
}

.file-control {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--blue);
  background: #f5f8fd;
  border: 1px dashed #b9c9e2;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.file-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.secondary-button,
.reset-button {
  color: var(--blue);
  background: #fff;
  border-color: #cbd8eb;
}

.menu-form label,
.single-field {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.menu-form input,
.single-field input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--text);
  border: 1px solid #cad6e8;
  border-radius: 8px;
  font: 500 14px/1 Arial, Helvetica, sans-serif;
}

.admin-menu-list {
  display: grid;
  gap: 8px;
  max-height: 34vh;
  margin-top: 14px;
  overflow: auto;
}

.admin-menu-item {
  display: grid;
  grid-template-columns: 1fr 44px 44px;
  gap: 8px;
  align-items: center;
  padding: 8px;
  background: #f7f9fc;
  border: 1px solid #edf1f8;
  border-radius: 8px;
}

.admin-latest-list {
  display: grid;
  gap: 12px;
}

.admin-latest-item {
  display: grid;
  gap: 10px;
  padding: 10px;
  background: #f7f9fc;
  border: 1px solid #edf1f8;
  border-radius: 8px;
}

.admin-press-list {
  display: grid;
  gap: 12px;
}

.admin-press-item {
  display: grid;
  gap: 10px;
  padding: 10px;
  background: #f7f9fc;
  border: 1px solid #edf1f8;
  border-radius: 8px;
}

.admin-press-fields {
  display: grid;
  gap: 8px;
}

.admin-press-fields input {
  min-width: 0;
  min-height: 38px;
  padding: 0 9px;
  border: 1px solid #d7e0ee;
  border-radius: 7px;
  font: 500 13px/1 Arial, Helvetica, sans-serif;
}

.admin-press-logo-row {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 8px;
}

.admin-footer-list {
  display: grid;
  gap: 14px;
}

.admin-footer-column {
  display: grid;
  gap: 8px;
  padding: 10px;
  background: #f7f9fc;
  border: 1px solid #edf1f8;
  border-radius: 8px;
}

.admin-footer-column > input {
  min-height: 38px;
  color: var(--blue);
  font-weight: 700;
}

.admin-footer-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: 8px;
}

.admin-footer-column input {
  min-width: 0;
  min-height: 36px;
  padding: 0 9px;
  border: 1px solid #d7e0ee;
  border-radius: 7px;
  font: 500 13px/1 Arial, Helvetica, sans-serif;
}

.admin-latest-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-latest-top strong {
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.visibility-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.visibility-control input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}

.admin-latest-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 8px;
}

.admin-latest-fields input {
  min-width: 0;
  min-height: 38px;
  padding: 0 9px;
  border: 1px solid #d7e0ee;
  border-radius: 7px;
  font: 500 13px/1 Arial, Helvetica, sans-serif;
}

.admin-latest-fields input[type="color"] {
  padding: 4px;
}

.admin-menu-item input {
  min-width: 0;
  min-height: 38px;
  padding: 0 9px;
  border: 1px solid #d7e0ee;
  border-radius: 7px;
  font: 500 13px/1 Arial, Helvetica, sans-serif;
}

.admin-menu-item button {
  min-height: 38px;
  color: var(--blue);
  background: #fff;
  border: 1px solid #d7e0ee;
  border-radius: 7px;
  font-weight: 700;
  cursor: pointer;
}

.reset-button {
  margin-top: auto;
}

.stage {
  background: #ffffff;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: 54px;
  width: min(var(--page-max), calc(100% - var(--page-gutter)));
  min-height: 430px;
  margin: 0 auto;
  padding: 40px 0 34px;
  overflow: hidden;
  background: #ffffff;
}

.has-shared-hero-bg .hero,
.has-shared-hero-bg .inner-hero,
.has-shared-hero-bg .work-hero,
.has-shared-hero-bg .contact-hero,
.has-shared-hero-bg .support-hero,
.has-shared-hero-bg .volunteer-hero,
.has-shared-hero-bg .membership-hero,
.has-shared-hero-bg .statute-hero,
.has-shared-hero-bg .media-hero,
.has-shared-hero-bg .policy-hero,
.has-shared-hero-bg .latest-archive-hero {
  background-color: #ffffff;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0 40%, rgba(255, 255, 255, 0.68) 56%, rgba(255, 255, 255, 0.08) 100%), var(--shared-hero-bg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.has-shared-hero-bg .hero-visual,
.has-shared-hero-bg .inner-hero-visual,
.has-shared-hero-bg .work-hero-visual,
.has-shared-hero-bg .contact-hero-card,
.has-shared-hero-bg .support-hero-visual,
.has-shared-hero-bg .volunteer-hero-visual,
.has-shared-hero-bg .membership-hero-visual,
.has-shared-hero-bg .media-browser-card,
.has-shared-hero-bg .policy-visual,
.has-shared-hero-bg .latest-archive-visual {
  opacity: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 590px;
}

.hero h1 {
  margin: 0;
  color: var(--blue);
  font-size: 50px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero p {
  max-width: 560px;
  margin: 18px 0 24px;
  color: #18417d;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 54px;
  padding: 0 24px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(9, 47, 114, 0.2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.hero-button:hover,
.hero-button:focus-visible {
  background: #051f53;
  box-shadow: 0 12px 24px rgba(9, 47, 114, 0.24);
  transform: translateY(-1px);
}

.hero-button span {
  font-size: 24px;
  line-height: 1;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 356px;
}

.hero-visual-image {
  position: relative;
  z-index: 3;
  display: none;
  width: min(100%, 620px);
  max-height: 356px;
  object-fit: contain;
}

.hero-visual.has-custom-image .hero-visual-image {
  display: block;
}

.hero-visual.has-custom-image .decor,
.hero-visual.has-custom-image .hero-logo-card {
  display: none;
}

.hero-logo-card {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(100%, 520px);
  aspect-ratio: 354 / 172;
}

.hero-logo-card::after {
  position: absolute;
  right: 6%;
  bottom: -16px;
  left: 6%;
  height: 26px;
  background: rgba(68, 137, 219, 0.13);
  border-radius: 999px;
  content: "";
  filter: blur(2px);
}

.hero-logo-card img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.decor {
  position: absolute;
  display: block;
  pointer-events: none;
}

.decor-cloud {
  top: 78px;
  left: 10px;
  width: 58px;
  height: 18px;
  background: #b8d7fb;
  border-radius: 999px;
}

.decor-cloud::before,
.decor-cloud::after {
  position: absolute;
  bottom: 4px;
  background: #b8d7fb;
  border-radius: 999px;
  content: "";
}

.decor-cloud::before {
  left: 9px;
  width: 24px;
  height: 24px;
}

.decor-cloud::after {
  right: 8px;
  width: 18px;
  height: 18px;
}

.decor-leaf {
  width: 82px;
  height: 150px;
  border-left: 4px solid #6da8ee;
  border-radius: 50%;
  transform: rotate(-20deg);
}

.decor-leaf::before,
.decor-leaf::after {
  position: absolute;
  width: 18px;
  height: 40px;
  background: #6da8ee;
  border-radius: 999px 0 999px 0;
  content: "";
}

.decor-leaf::before {
  top: 28px;
  left: 13px;
  transform: rotate(36deg);
}

.decor-leaf::after {
  top: 74px;
  left: 24px;
  transform: rotate(60deg);
}

.decor-leaf-left {
  left: 42px;
  bottom: 72px;
}

.decor-leaf-right {
  right: 28px;
  bottom: 38px;
  transform: scaleX(-1) rotate(-24deg);
}

.decor-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 4px solid #93c2fb;
}

.decor-dot::before,
.decor-dot::after {
  position: absolute;
  background: #93c2fb;
  border-radius: 50%;
  content: "";
}

.decor-dot::before {
  top: 15px;
  left: 9px;
  width: 5px;
  height: 5px;
  box-shadow: 10px 0 0 #93c2fb, 20px 0 0 #93c2fb;
}

.decor-dot-one {
  top: 93px;
  right: 82px;
}

.decor-dot-two {
  top: 146px;
  right: 43px;
  width: 62px;
  height: 62px;
  background:
    linear-gradient(90deg, transparent 46%, #93c2fb 46% 54%, transparent 54%),
    linear-gradient(transparent 46%, #93c2fb 46% 54%, transparent 54%);
}

.decor-globe {
  top: 145px;
  right: 45px;
  width: 60px;
  height: 60px;
  border: 4px solid #9bc9ff;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 45%, #9bc9ff 45% 55%, transparent 55%),
    linear-gradient(transparent 45%, #9bc9ff 45% 55%, transparent 55%);
}

.decor-globe::before,
.decor-globe::after {
  position: absolute;
  inset: 8px 16px;
  border-right: 3px solid #9bc9ff;
  border-left: 3px solid #9bc9ff;
  border-radius: 50%;
  content: "";
}

.decor-globe::after {
  inset: 16px 8px;
  border: 0;
  border-top: 3px solid #9bc9ff;
  border-bottom: 3px solid #9bc9ff;
}

.decor-bird {
  top: 38px;
  right: 18px;
  width: 38px;
  height: 24px;
  border-top: 9px solid #0a6ed1;
  border-radius: 50%;
  transform: rotate(28deg);
}

.decor-bird::after {
  position: absolute;
  top: -9px;
  left: 16px;
  width: 36px;
  height: 22px;
  border-top: 8px solid #0a6ed1;
  border-radius: 50%;
  content: "";
  transform: rotate(-36deg);
}

.latest-section {
  width: min(var(--page-max), calc(100% - var(--page-gutter)));
  margin: 0 auto;
  padding: 34px 0 54px;
}

.section-heading {
  display: grid;
  grid-template-columns: max-content minmax(80px, 1fr) max-content;
  align-items: center;
  column-gap: 28px;
  margin-bottom: 18px;
}

.section-heading::after {
  grid-column: 2;
  grid-row: 1;
  height: 1px;
  background: #c8d8ee;
  content: "";
}

.section-heading h2 {
  margin: 0;
  color: var(--blue);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.section-heading a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  justify-self: end;
  transition: color 180ms ease, transform 180ms ease;
}

.section-heading a:hover,
.section-heading a:focus-visible {
  color: #051f53;
  transform: translateX(2px);
}

.latest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(430px, 0.84fr);
  gap: 16px;
}

.latest-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  color: #ffffff;
  background: #eaf1f9;
  border-radius: 8px;
  text-decoration: none;
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.latest-card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(7, 33, 78, 0.1), rgba(7, 33, 78, 0.26)),
    var(--post-bg, linear-gradient(135deg, #b8c7d8, #48698f));
  content: "";
}

.latest-card.featured {
  min-height: 318px;
}

.latest-card:hover,
.latest-card:focus-visible {
  box-shadow: 0 16px 34px rgba(9, 47, 114, 0.16);
  transform: translateY(-4px);
}

.latest-card.compact:hover,
.latest-card.compact:focus-visible {
  border-color: #c3d3e9;
}

.latest-card.featured::after {
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(1, 20, 52, 0.88));
  content: "";
}

.latest-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
  padding: 28px;
}

.post-tag {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 7px 10px;
  color: #ffffff;
  background: var(--tag-color, #0c6fc7);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.latest-card h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

.latest-card p {
  max-width: 720px;
  margin: 10px 0 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 600;
}

.latest-side {
  display: grid;
  gap: 16px;
}

.latest-card.compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  min-height: 151px;
  color: var(--blue);
  background: #ffffff;
  border: 1px solid #e1e9f4;
}

.latest-card.compact::before {
  right: 220px;
  background: #ffffff;
}

.latest-card.compact .latest-content {
  min-height: 151px;
  padding: 22px;
}

.latest-card.compact .post-tag {
  margin-bottom: 14px;
  color: var(--tag-color, #168c59);
  background: transparent;
  padding: 0;
}

.latest-card.compact h3 {
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.latest-card.compact p {
  display: none;
}

.latest-card.compact .post-meta {
  margin-top: 16px;
  color: #65728a;
  justify-content: flex-start;
}

.latest-thumb {
  position: relative;
  z-index: 2;
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(7, 33, 78, 0.04), rgba(7, 33, 78, 0.16)),
    var(--post-bg, linear-gradient(135deg, #ccd7e4, #7d92ac));
}

.empty-latest {
  padding: 28px;
  color: var(--muted);
  background: #f7f9fc;
  border: 1px dashed #cbd8eb;
  border-radius: 8px;
  font-weight: 600;
}

.focus-section {
  width: min(var(--page-max), calc(100% - var(--page-gutter)));
  margin: 0 auto;
  padding: 4px 0 38px;
}

.work-grid,
.resource-grid {
  display: grid;
}

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

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

.work-item,
.resource-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-width: 0;
  color: var(--blue);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.work-item {
  min-height: 118px;
  padding: 4px 26px 4px 0;
}

.work-item + .work-item,
.resource-item + .resource-item {
  padding-left: 22px;
  border-left: 1px solid #cad7e8;
}

.work-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  color: #ffffff;
  background: var(--item-color);
  border-radius: 50%;
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.08), 0 10px 22px rgba(9, 47, 114, 0.12);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.work-icon svg,
.resource-icon svg {
  width: 45px;
  height: 45px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.work-item strong,
.resource-item strong {
  display: block;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.work-item small {
  display: block;
  margin-top: 11px;
  color: #4c5f7b;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.work-item:hover,
.work-item:focus-visible,
.resource-item:hover,
.resource-item:focus-visible {
  transform: translateY(-3px);
}

.work-item:hover .work-icon,
.work-item:focus-visible .work-icon {
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.08), 0 16px 28px rgba(9, 47, 114, 0.18);
  transform: scale(1.04);
}

.work-item.blue,
.resource-item.blue { --item-color: var(--blue); }
.work-item.orange,
.resource-item.orange { --item-color: var(--orange); }
.work-item.green,
.resource-item.green { --item-color: #158c45; }
.work-item.red,
.resource-item.red { --item-color: var(--red); }

.resources-section {
  padding-top: 0;
  padding-bottom: 58px;
}

.resource-item {
  min-height: 94px;
  grid-template-columns: auto;
  align-content: start;
  gap: 12px;
  padding: 2px 18px 2px 0;
}

.resource-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 60px;
  color: var(--item-color);
  transition: transform 180ms ease;
}

.resource-icon svg {
  width: 46px;
  height: 50px;
  stroke-width: 1.65;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.resource-item strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.24;
}

.resource-item small {
  display: block;
  margin-top: 10px;
  color: #60708b;
  font-size: 13px;
  font-weight: 600;
}

.resource-item:hover .resource-icon,
.resource-item:focus-visible .resource-icon {
  transform: translateY(-2px) scale(1.05);
}

.mediach-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: stretch;
  gap: 18px;
  width: min(var(--page-max), calc(100% - var(--page-gutter)));
  margin: 6px auto 34px;
}

.mediach-main {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(280px, 1.28fr);
  align-items: center;
  gap: 24px;
  min-width: 0;
  padding: 24px 26px;
  background: linear-gradient(135deg, #f2f8ff, #ffffff 72%);
  border: 1px solid #dce8f5;
  border-radius: 12px;
}

.mediach-logo-panel {
  display: grid;
  place-items: center;
  min-height: 145px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #e0ebf7;
  border-radius: 10px;
}

.mediach-logo-panel img {
  width: min(100%, 300px);
  height: auto;
  object-fit: contain;
}

.mediach-content {
  max-width: 650px;
}

.section-kicker {
  display: block;
  margin-bottom: 8px;
  color: #2b9fda;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.mediach-content h2 {
  margin: 0;
  color: var(--blue);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.18;
}

.report-card {
  min-width: 0;
  padding: 18px;
  background: linear-gradient(145deg, #f3f9ff, #ffffff);
  border: 1px solid #cddced;
  border-radius: 12px;
}

.report-card h2 {
  margin: 0;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.report-card p {
  margin: 10px 0 0;
  color: #40536f;
  font-size: 13px;
  line-height: 1.45;
}

.report-body {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}

.report-cover {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background:
    linear-gradient(128deg, transparent 54%, #064a94 54% 67%, #ffffff 67% 72%, #0a73c5 72%),
    #ffffff;
  border: 1px solid #c8d6e8;
  box-shadow: 0 8px 18px rgba(9, 47, 114, 0.18);
}

.report-cover img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.report-cover.has-cover img {
  display: block;
}

.report-cover.has-cover .report-cover-fallback {
  display: none;
}

.report-cover-fallback {
  position: relative;
  z-index: 1;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.18;
  text-align: center;
}

.report-actions {
  display: grid;
  gap: 12px;
}

.report-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.report-button:hover,
.report-button:focus-visible {
  transform: translateY(-1px);
}

.report-button.primary {
  color: #ffffff;
  background: var(--blue);
}

.report-button.secondary {
  color: var(--blue);
  background: #ffffff;
}

.report-button.secondary:hover,
.report-button.secondary:focus-visible {
  color: #ffffff;
  background: #2b9fda;
  border-color: #2b9fda;
}

.mediach-content p {
  margin: 12px 0 16px;
  color: #435773;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.mediach-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mediach-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.mediach-button:hover,
.mediach-button:focus-visible {
  transform: translateY(-1px);
}

.mediach-button.primary {
  color: #ffffff;
  background: var(--blue);
}

.mediach-button.primary:hover,
.mediach-button.primary:focus-visible {
  background: #051f53;
  border-color: #051f53;
}

.mediach-button.secondary {
  color: var(--blue);
  background: #ffffff;
}

.mediach-button.secondary:hover,
.mediach-button.secondary:focus-visible {
  color: #ffffff;
  background: #2b9fda;
  border-color: #2b9fda;
}

.support-section {
  width: min(var(--page-max), calc(100% - var(--page-gutter)));
  margin: 0 auto 64px;
}

.compact-heading {
  display: block;
  margin-bottom: 14px;
}

.compact-heading::after {
  display: none;
}

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

.support-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
  min-height: 118px;
  padding: 22px;
  color: var(--blue);
  background: #ffffff;
  border: 1px solid #dbe5f2;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.support-card:hover,
.support-card:focus-visible {
  border-color: #bfd0e7;
  box-shadow: 0 14px 30px rgba(9, 47, 114, 0.11);
  transform: translateY(-3px);
}

.support-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  color: #ffffff;
  background: var(--support-color);
  border-radius: 50%;
}

.support-icon svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.support-copy {
  display: grid;
  gap: 8px;
  align-content: center;
}

.support-copy strong {
  color: var(--support-color);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.support-copy small {
  color: #4d5f7b;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.support-copy em {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--support-color);
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}

.support-copy em span {
  font-size: 20px;
  line-height: 1;
}

.support-card.blue { --support-color: var(--blue); }
.support-card.green { --support-color: #158c45; }
.support-card.red { --support-color: var(--red); }

.press-contact-section {
  width: min(var(--page-max), calc(100% - var(--page-gutter)));
  margin: 0 auto 24px;
}

.press-section {
  margin-bottom: 20px;
}

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

.press-heading h2 {
  margin: 0;
  color: var(--blue);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.press-heading a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, transform 180ms ease;
}

.press-heading a:hover,
.press-heading a:focus-visible {
  color: #051f53;
  transform: translateX(2px);
}

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

.press-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 14px;
  color: var(--blue);
  background: #ffffff;
  border: 1px solid #dfe8f4;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.press-card:hover,
.press-card:focus-visible {
  border-color: #c4d3e8;
  box-shadow: 0 10px 24px rgba(9, 47, 114, 0.1);
  transform: translateY(-2px);
}

.press-logo-box {
  display: grid;
  place-items: center;
  width: 92px;
  height: 42px;
  overflow: hidden;
}

.press-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.press-logo-box strong {
  color: #111827;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.press-card-body {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.press-card-body small {
  color: #6a778d;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

.press-card-body span {
  color: #17396f;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.34;
}

.contact-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1.25fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 22px 28px;
  background: #f4f8fc;
  border: 1px solid #e1eaf5;
  border-radius: 12px;
}

.contact-strip h2 {
  margin: 0;
  color: var(--blue);
  font-size: 21px;
  font-weight: 700;
  white-space: nowrap;
}

.contact-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.contact-item > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--blue);
  font-size: 20px;
}

.contact-item p {
  margin: 0;
  color: #40536f;
  font-size: 12px;
  line-height: 1.45;
}

.contact-item strong,
.social-group strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.social-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-group strong {
  margin: 0 6px 0 0;
  white-space: nowrap;
}

.social-group a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.social-group a:hover,
.social-group a:focus-visible {
  background: #051f53;
  transform: translateY(-1px);
}

.inner-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 1.12fr);
  align-items: center;
  gap: 42px;
  width: min(var(--page-max), calc(100% - var(--page-gutter)));
  margin: 0 auto;
  padding: 42px 0 38px;
  border-top: 1px solid #dce7f4;
}

.inner-hero-copy {
  max-width: 560px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 34px;
  color: #557197;
  font-size: 12px;
  font-weight: 500;
}

.breadcrumb a {
  color: var(--blue);
  text-decoration: none;
  transition: color 180ms ease;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: #1576c8;
}

.inner-hero h1 {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.08;
}

.inner-hero p {
  margin: 0 0 8px;
  color: #244772;
  font-size: 15px;
  line-height: 1.65;
}

.inner-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
}

.about-logo-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 142px);
  gap: 8px;
}

.about-logo-cell {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.about-logo-cell svg {
  width: 78px;
  height: 78px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-logo-cell.blue { background: linear-gradient(135deg, #0b8fe5, #006bd1); }
.about-logo-cell.orange { background: linear-gradient(135deg, #ff9b18, #f47a0a); }
.about-logo-cell.green { background: linear-gradient(135deg, #12964b, #007c32); }
.about-logo-cell.red { background: linear-gradient(135deg, #ff2a1b, #e11613); }

.about-logo-grid::after {
  position: absolute;
  right: -34px;
  bottom: -18px;
  left: -34px;
  z-index: -1;
  height: 18px;
  content: "";
  background: rgba(73, 139, 213, 0.12);
  border-radius: 50%;
  filter: blur(2px);
}

.about-mark,
.about-leaf {
  position: absolute;
  opacity: 0.42;
}

.about-mark.bank {
  left: 7%;
  bottom: 60px;
  width: 120px;
  height: 110px;
  background:
    linear-gradient(#b9d9fb, #b9d9fb) 22px 86px / 76px 8px no-repeat,
    linear-gradient(#b9d9fb, #b9d9fb) 32px 52px / 8px 36px no-repeat,
    linear-gradient(#b9d9fb, #b9d9fb) 56px 52px / 8px 36px no-repeat,
    linear-gradient(#b9d9fb, #b9d9fb) 80px 52px / 8px 36px no-repeat,
    linear-gradient(150deg, transparent 45%, #b9d9fb 46% 60%, transparent 61%) 16px 18px / 88px 34px no-repeat;
}

.about-mark.bird {
  right: 3%;
  top: 26px;
  width: 58px;
  height: 44px;
  border-top: 12px solid #0b72c9;
  border-radius: 55% 45% 0 0;
  transform: rotate(28deg);
  opacity: 0.86;
}

.about-mark.bird::after {
  position: absolute;
  right: -22px;
  top: -12px;
  width: 35px;
  height: 22px;
  content: "";
  border-top: 9px solid #0b72c9;
  border-radius: 65% 35% 0 0;
  transform: rotate(-28deg);
}

.about-leaf {
  bottom: 18px;
  width: 90px;
  height: 150px;
  background:
    radial-gradient(ellipse at 50% 50%, #70aef0 0 48%, transparent 50%) 38px 16px / 24px 46px no-repeat,
    radial-gradient(ellipse at 50% 50%, #70aef0 0 48%, transparent 50%) 20px 52px / 24px 46px no-repeat,
    radial-gradient(ellipse at 50% 50%, #70aef0 0 48%, transparent 50%) 48px 82px / 24px 46px no-repeat,
    linear-gradient(120deg, transparent 48%, #70aef0 49% 51%, transparent 52%);
}

.about-leaf.left {
  left: 10%;
  transform: rotate(-28deg);
}

.about-leaf.right {
  right: 4%;
  transform: scaleX(-1) rotate(-20deg);
}

.about-pillars,
.about-content,
.board-section,
.about-cta {
  width: min(var(--page-max), calc(100% - var(--page-gutter)));
  margin-right: auto;
  margin-left: auto;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.about-pillar {
  display: grid;
  align-content: start;
  min-height: 245px;
  padding: 32px 30px 28px;
  background: #ffffff;
  border: 1px solid #dbe6f4;
  border-radius: 12px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.about-pillar:hover,
.about-pillar:focus-within {
  transform: translateY(-3px);
  border-color: #bfd3ec;
  box-shadow: 0 16px 30px rgba(9, 47, 114, 0.09);
}

.pillar-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 24px;
  color: #ffffff;
  border-radius: 50%;
}

.about-pillar.blue .pillar-icon { background: linear-gradient(135deg, #0d7edc, #064a98); }
.about-pillar.green .pillar-icon { background: linear-gradient(135deg, #149e4e, #007c37); }
.about-pillar.red .pillar-icon { background: linear-gradient(135deg, #fb2d25, #d91615); }

.pillar-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-pillar h2 {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
}

.about-pillar p,
.about-pillar li,
.about-text-grid p,
.about-cta p {
  color: #244772;
  font-size: 14px;
  line-height: 1.7;
}

.about-pillar p {
  margin: 0;
}

.about-pillar ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.about-pillar.red li::marker {
  color: var(--red);
}

.about-pillar::after {
  width: 42px;
  height: 3px;
  margin-top: 26px;
  content: "";
  background: currentColor;
}

.about-pillar.blue::after { color: #0c6fc7; }
.about-pillar.green::after { color: #149052; }
.about-pillar.red::after { color: #ef1f18; }

.about-content {
  margin-bottom: 46px;
}

.about-page {
  padding-bottom: 54px;
}

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

.about-text-grid p {
  margin: 0;
  padding: 26px 28px;
  background: #f8fbff;
  border: 1px solid #dce8f5;
  border-radius: 10px;
}

/* Legal pages use a continuous document surface instead of paragraph cards. */
.legal-document-section {
  width: var(--mechad-rail-width);
  max-width: var(--mechad-rail-max);
  margin: var(--mechad-section-gap) auto 0;
}

.legal-document-content {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 0 auto;
  padding: clamp(30px, 4vw, 58px);
  color: #244772;
  background: #ffffff;
  border: 1px solid #dce8f5;
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(9, 47, 114, 0.06);
}

.legal-document-content > :first-child {
  margin-top: 0;
}

.legal-document-content > :last-child {
  margin-bottom: 0;
}

.legal-document-content h2,
.legal-document-content h3,
.legal-document-content h4 {
  color: #0b3c86;
  font-weight: 700;
  line-height: 1.25;
}

.legal-document-content h2 {
  margin: 46px 0 18px;
  padding-bottom: 12px;
  font-size: clamp(24px, 2.5vw, 31px);
  border-bottom: 1px solid #dce8f5;
}

.legal-document-content h3 {
  margin: 34px 0 14px;
  font-size: clamp(20px, 2vw, 24px);
}

.legal-document-content h4 {
  margin: 26px 0 10px;
  font-size: 18px;
}

.legal-document-content p,
.legal-document-content li {
  color: #244772;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

.legal-document-content p {
  margin: 0 0 20px;
}

.legal-document-content ul,
.legal-document-content ol {
  margin: 0 0 22px;
  padding-left: 24px;
}

.legal-document-content li + li {
  margin-top: 8px;
}

.legal-document-content strong {
  color: #123b77;
  font-weight: 700;
}

.legal-document-content a {
  color: #0869cf;
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-document-content blockquote {
  margin: 26px 0;
  padding: 18px 22px;
  color: #244772;
  background: #f4f8fd;
  border-left: 4px solid #0b75d1;
}

.legal-document-content table {
  width: 100%;
  margin: 26px 0;
  border-collapse: collapse;
}

.legal-document-content th,
.legal-document-content td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border: 1px solid #dce8f5;
}

.legal-document-content th {
  color: #0b3c86;
  background: #f4f8fd;
}

@media (max-width: 640px) {
  .legal-document-content {
    padding: 26px 22px;
    border-radius: 10px;
  }

  .legal-document-content p,
  .legal-document-content li {
    font-size: 15px;
    line-height: 1.75;
  }

  .legal-document-content h2 {
    margin-top: 36px;
  }
}

.board-section {
  margin-bottom: 30px;
}

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

.board-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 18px 16px;
  background: #ffffff;
  border: 1px solid #dbe6f4;
  border-radius: 10px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.board-card:hover {
  transform: translateY(-2px);
  border-color: #bfd3ec;
  box-shadow: 0 14px 26px rgba(9, 47, 114, 0.08);
}

.avatar {
  display: block;
  width: 48px;
  height: 48px;
  background:
    radial-gradient(circle at 50% 35%, #9aa5b5 0 20%, transparent 22%),
    radial-gradient(circle at 50% 96%, #9aa5b5 0 38%, transparent 40%),
    #edf2f8;
  border-radius: 50%;
}

.board-card strong {
  display: block;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.board-card small {
  display: block;
  margin-top: 4px;
  color: #526981;
  font-size: 11px;
  line-height: 1.2;
}

.about-cta {
  width: min(var(--page-max), calc(100% - var(--page-gutter)));
  margin: 0 auto;
}

.about-cta h2 {
  margin-bottom: 18px;
}

.about-cta p {
  max-width: 720px;
}

.about-cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 28px;
}

.green-button {
  background: #118c41;
  border-color: #118c41;
}

.green-button:hover,
.green-button:focus-visible {
  background: #087333;
  border-color: #087333;
}

.about-cta-leaf {
  position: absolute;
  right: 24px;
  bottom: 10px;
  width: 68px;
  height: 126px;
  opacity: 0.42;
  background:
    radial-gradient(ellipse at 50% 50%, #7eb9f2 0 48%, transparent 50%) 26px 6px / 22px 42px no-repeat,
    radial-gradient(ellipse at 50% 50%, #7eb9f2 0 48%, transparent 50%) 8px 40px / 22px 42px no-repeat,
    radial-gradient(ellipse at 50% 50%, #7eb9f2 0 48%, transparent 50%) 34px 70px / 22px 42px no-repeat,
    linear-gradient(120deg, transparent 48%, #7eb9f2 49% 51%, transparent 52%);
  transform: scaleX(-1) rotate(-16deg);
}

.admin-work-list {
  display: grid;
  gap: 12px;
}

.admin-work-item {
  display: grid;
  gap: 8px;
  padding: 10px;
  background: #f7f9fc;
  border: 1px solid #edf1f8;
  border-radius: 8px;
}

.admin-work-item input,
.admin-work-item select {
  min-width: 0;
  min-height: 36px;
  padding: 0 9px;
  color: var(--text);
  border: 1px solid #d7e0ee;
  border-radius: 7px;
  font: 500 13px/1 Arial, Helvetica, sans-serif;
  background: #ffffff;
}

.work-page {
  padding-bottom: 54px;
  background: #ffffff;
}

.work-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: 40px;
  width: min(var(--page-max), calc(100% - var(--page-gutter)));
  margin: 0 auto 30px;
  padding: 36px 0 30px;
  border-top: 1px solid #dce7f4;
  background: #ffffff;
}

.work-hero-copy {
  max-width: 570px;
}

.work-hero h1 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.08;
}

.work-hero p {
  margin: 0;
  color: #244772;
  font-size: 14px;
  line-height: 1.65;
}

.work-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 278px;
}

.work-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(var(--page-max), calc(100% - var(--page-gutter)));
  margin: 0 auto 42px;
}

.work-page-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  min-height: 184px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #dce6f3;
  border-radius: 10px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.work-page-card:hover,
.work-page-card:focus-within {
  transform: translateY(-3px);
  border-color: #c3d5ec;
  box-shadow: 0 16px 28px rgba(9, 47, 114, 0.08);
}

.work-page-icon,
.method-icon {
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(9, 47, 114, 0.12);
}

.work-page-icon {
  width: 62px;
  height: 62px;
}

.work-page-icon svg,
.method-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-page-icon.blue,
.method-icon.blue { background: linear-gradient(135deg, #0b83dd, #063a89); }
.work-page-icon.green,
.method-icon.green { background: linear-gradient(135deg, #16a757, #087233); }
.work-page-icon.orange,
.method-icon.orange { background: linear-gradient(135deg, #ff9a16, #f0730b); }
.work-page-icon.red,
.method-icon.red { background: linear-gradient(135deg, #ff2b22, #d91413); }

.work-page-card-copy {
  display: grid;
  align-content: start;
  min-width: 0;
}

.work-page-card h2 {
  margin: 2px 0 10px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.work-page-card p {
  margin: 0 0 16px;
  color: #395579;
  font-size: 12px;
  line-height: 1.6;
}

.work-page-card a {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 30px;
  padding: 0 14px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.work-page-card a:hover,
.work-page-card a:focus-visible {
  background: #051f53;
  transform: translateY(-1px);
}

.work-method-section {
  width: min(var(--page-max), calc(100% - var(--page-gutter)));
  margin: 0 auto 28px;
}

.work-method-section > h2 {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

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

.method-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #dce6f3;
  border-radius: 10px;
}

.method-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.method-card h3 {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.method-card p {
  margin: 0;
  color: #48617f;
  font-size: 11px;
  line-height: 1.55;
}

.method-dots {
  position: absolute;
  top: 50%;
  right: auto;
  left: calc(100% + 16px);
  z-index: 2;
  color: #2c8bd6;
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.work-bottom-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  width: min(var(--page-max), calc(100% - var(--page-gutter)));
  margin: 0 auto;
  min-height: 142px;
  padding: 34px 104px 34px 52px;
  overflow: hidden;
  background: #f3faff;
  border: 1px solid #cfe1f3;
  border-radius: 14px;
}

.work-bottom-cta h2 {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.12;
}

.work-bottom-cta p {
  max-width: 720px;
  margin: 0;
  color: #163f76;
  font-size: 16px;
  line-height: 1.55;
}

.work-cta-links {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 28px;
}

.work-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  min-height: 50px;
  padding: 0 24px;
  color: var(--blue);
  background: #ffffff;
  border: 1px solid #9fb7d8;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.work-cta-button.primary {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

.work-cta-button:hover,
.work-cta-button:focus-visible {
  color: #ffffff;
  background: #1576c8;
  border-color: #1576c8;
  transform: translateY(-1px);
}

.paper-plane {
  position: absolute;
  right: 30px;
  top: 0;
  width: 70px;
  height: 142px;
  color: transparent;
  opacity: 0.58;
  background:
    radial-gradient(ellipse at 72% 28%, #90c0ee 0 42%, transparent 44%) 0 0 / 70px 70px no-repeat,
    radial-gradient(ellipse at 72% 58%, #90c0ee 0 42%, transparent 44%) 0 38px / 70px 70px no-repeat,
    linear-gradient(76deg, transparent 47%, #90c0ee 49% 53%, transparent 55%) 0 0 / 70px 142px no-repeat;
  transform: rotate(-5deg);
}

.statute-page {
  padding-bottom: 54px;
  background: #ffffff;
}

.statute-hero,
.statute-stats,
.statute-layout,
.statute-highlights,
.statute-page .work-bottom-cta {
  width: min(var(--page-max), calc(100% - var(--page-gutter)));
  margin-right: auto;
  margin-left: auto;
}

.statute-hero {
  padding: 38px 0 22px;
  border-top: 1px solid #dce7f4;
}

.statute-hero h1 {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.08;
}

.statute-hero p {
  max-width: 760px;
  margin: 0;
  color: #244772;
  font-size: 14px;
  line-height: 1.65;
}

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

.statute-stat {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #dce6f3;
  border-radius: 9px;
  box-shadow: 0 8px 18px rgba(9, 47, 114, 0.03);
}

.statute-stat-icon,
.statute-highlight-icon {
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 9px;
}

.statute-stat-icon {
  width: 38px;
  height: 38px;
  background: #ffffff !important;
  border: 1.5px solid currentColor;
  border-radius: 8px;
}

.statute-stat-icon svg,
.statute-highlight-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.statute-stat-icon.statute-color-blue { color: #0d6bd2; }
.statute-stat-icon.statute-color-green { color: #149052; }
.statute-stat-icon.statute-color-orange { color: #f27a1a; }
.statute-stat-icon.statute-color-red { color: #ef2118; }

.statute-stat strong,
.statute-highlight-card h3 {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.statute-stat span {
  display: block;
  margin-top: 3px;
  color: #365777;
  font-size: 12px;
  font-weight: 600;
}

.statute-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  margin-bottom: 36px;
}

.statute-document,
.statute-contents,
.statute-highlight-card {
  background: #ffffff;
  border: 1px solid #dce6f3;
  border-radius: 10px;
}

.statute-document {
  display: grid;
  grid-template-columns: minmax(340px, 1.08fr) minmax(260px, 0.92fr);
  gap: 42px;
  padding: 32px;
}

.statute-cover {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 450px;
  padding: 42px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 18%, rgba(10, 98, 178, 0.46), transparent 18%),
    linear-gradient(135deg, #0b73c7 0%, #073374 74%);
  border-radius: 12px;
  box-shadow: 0 18px 32px rgba(9, 47, 114, 0.18);
}

.statute-cover::after {
  position: absolute;
  right: -10px;
  bottom: 8px;
  width: 230px;
  height: 360px;
  content: "";
  opacity: 0.18;
  background:
    radial-gradient(ellipse at 50% 50%, #ffffff 0 48%, transparent 50%) 92px 0 / 52px 98px no-repeat,
    radial-gradient(ellipse at 50% 50%, #ffffff 0 48%, transparent 50%) 38px 90px / 52px 98px no-repeat,
    radial-gradient(ellipse at 50% 50%, #ffffff 0 48%, transparent 50%) 128px 162px / 52px 98px no-repeat,
    linear-gradient(120deg, transparent 48%, #ffffff 49% 51%, transparent 52%);
}

.statute-cover img {
  width: 178px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
}

.statute-cover strong {
  position: relative;
  z-index: 1;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.04;
}

.statute-cover small {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.statute-about {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: 28px 0 18px;
}

.statute-about h2,
.statute-contents h2 {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
}

.statute-about p {
  margin: 0;
  color: #1d4278;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
}

.statute-actions {
  display: grid;
  gap: 16px;
  margin: 70px 0 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid #dce6f3;
}

.statute-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.statute-button.primary {
  color: #ffffff;
  background: var(--blue);
}

.statute-button.secondary {
  color: var(--blue);
  background: #ffffff;
}

.statute-button:hover,
.statute-button:focus-visible {
  transform: translateY(-1px);
}

.statute-note {
  position: relative;
  padding-left: 46px;
  color: #31506f;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.6 !important;
}

.statute-note::before {
  position: absolute;
  left: 0;
  top: 2px;
  width: 28px;
  height: 32px;
  content: "";
  background:
    linear-gradient(135deg, transparent 30%, #0d6bd2 31% 69%, transparent 70%) center 8px / 13px 13px no-repeat,
    linear-gradient(#0d6bd2, #0d6bd2) center 4px / 18px 2px no-repeat;
  border: 2px solid #0d6bd2;
  border-radius: 14px 14px 16px 16px;
}

.statute-contents {
  align-self: stretch;
  padding: 22px;
}

.statute-contents h2 {
  text-transform: uppercase;
}

.statute-content-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  color: var(--blue);
  border-bottom: 1px solid #edf2f8;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.statute-content-link span {
  color: #7b91ad;
}

.statute-contents .full {
  width: 100%;
  margin-top: 20px;
}

.statute-highlights {
  margin-bottom: 34px;
}

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

.statute-highlight-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 15px;
  min-height: 124px;
  padding: 20px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.statute-highlight-card:hover,
.statute-highlight-card:focus-within {
  transform: translateY(-2px);
  border-color: #c3d5ec;
  box-shadow: 0 14px 26px rgba(9, 47, 114, 0.08);
}

.statute-highlight-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.statute-highlight-card p {
  margin: 8px 0 12px;
  color: #3b5876;
  font-size: 12px;
  line-height: 1.55;
}

.statute-highlight-card a {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.statute-color-blue { background: linear-gradient(135deg, #0b83dd, #063a89); }
.statute-color-green { background: linear-gradient(135deg, #16a757, #087233); }
.statute-color-orange { background: linear-gradient(135deg, #ff9a16, #f0730b); }
.statute-color-red { background: linear-gradient(135deg, #ff2b22, #d91413); }

.media-page {
  padding-bottom: 54px;
  background: #ffffff;
}

.media-hero,
.media-info-section,
.media-relation,
.media-topics,
.media-bottom-cta {
  width: min(var(--page-max), calc(100% - var(--page-gutter)));
  margin-right: auto;
  margin-left: auto;
}

.media-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  align-items: center;
  gap: 54px;
  padding: 34px 0 28px;
  border-top: 1px solid #dce7f4;
}

.media-hero-logo {
  width: 270px;
  height: auto;
  margin: 14px 0 22px;
}

.media-hero h1 {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.05;
}

.media-hero p {
  max-width: 540px;
  margin: 0 0 24px;
  color: #244772;
  font-size: 15px;
  line-height: 1.65;
}

.media-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 22px;
  color: #ffffff;
  background: #095bcc;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(9, 91, 204, 0.18);
  transition: transform 180ms ease, background 180ms ease;
}

.media-hero-button:hover,
.media-hero-button:focus-visible {
  background: #073f98;
  transform: translateY(-1px);
}

.media-browser-card {
  position: relative;
  overflow: hidden;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #d9e7f5;
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(9, 47, 114, 0.11);
}

.browser-top {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 7px 7px 0 0;
}

.browser-top span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.browser-top span:nth-child(1) { background: #ef2118; }
.browser-top span:nth-child(2) { background: #f47a10; }
.browser-top span:nth-child(3) { background: #11a75c; }

.browser-top strong {
  flex: 1;
  text-align: center;
  font-size: 8px;
  font-weight: 600;
}

.browser-top em {
  padding: 4px 8px;
  color: #ffffff;
  background: #ef2118;
  border-radius: 20px;
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
}

.browser-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border: 1px solid #edf2f8;
  border-top: 0;
}

.browser-nav img {
  width: 78px;
  height: auto;
}

.browser-nav i {
  flex: 1;
  height: 5px;
  background: #c9d8eb;
  border-radius: 20px;
}

.browser-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 0.8fr;
  gap: 10px;
  padding: 10px;
  background: #f4f8fd;
  border-radius: 0 0 8px 8px;
}

.browser-main {
  display: grid;
  align-content: end;
  min-height: 190px;
  padding: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(9, 47, 114, 0.3), rgba(9, 47, 114, 0.8)), radial-gradient(circle at 72% 42%, #d73da8, #483a91 45%, #142b66 80%);
  border-radius: 8px;
}

.browser-main b {
  max-width: 270px;
  font-size: 18px;
  line-height: 1.2;
}

.browser-side {
  min-height: 88px;
  padding: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #149052, #0a5f32);
  border-radius: 8px;
}

.browser-side.red {
  background: linear-gradient(135deg, #ef2118, #9e1713);
}

.browser-side span {
  display: inline-block;
  padding: 4px 7px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  font-size: 9px;
  font-weight: 700;
}

.browser-list {
  height: 74px;
  background: #ffffff;
  border-radius: 8px;
}

.media-info-section {
  padding: 20px 0 10px;
}

.media-info-section h2,
.media-relation h2,
.media-topics h2 {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 23px;
  font-weight: 700;
  text-align: center;
}

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

.media-info-card {
  min-height: 210px;
  padding: 24px 18px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #dce6f3;
  border-radius: 10px;
}

.media-round-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  color: #ffffff;
  border-radius: 50%;
}

.media-round-icon svg,
.media-outline-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.media-info-card h3,
.media-principle-card h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.media-info-card p,
.media-principle-card p,
.media-relation-card p {
  margin: 0;
  color: #3e5b78;
  font-size: 12px;
  line-height: 1.55;
}

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

.media-principle-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  min-height: 130px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #dce6f3;
  border-radius: 10px;
}

.media-outline-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #0d6bd2;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.media-round-icon.blue { background: #0d6bd2; }
.media-round-icon.green { background: #149052; }
.media-round-icon.orange { background: #f47a10; }
.media-round-icon.red { background: #ef2118; }
.media-round-icon.purple { background: #9347d6; }
.media-outline-icon.blue { color: #0d6bd2; }
.media-outline-icon.green { color: #149052; }
.media-outline-icon.orange { color: #f47a10; }
.media-outline-icon.red { color: #ef2118; }

.media-relation,
.media-topics {
  padding-top: 18px;
}

.media-relation-card {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.media-relation-card > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 150px;
  padding: 24px 56px;
  border: 1px solid #dce6f3;
  background: #ffffff;
}

.media-relation-card > div:first-child {
  padding-right: 76px;
  border-right: 0;
  border-radius: 10px 0 0 10px;
}

.media-relation-card > div:last-child {
  padding-left: 76px;
  border-radius: 0 10px 10px 0;
}

.media-relation-card img {
  width: 155px;
  height: auto;
  margin-bottom: 12px;
}

.media-relation-card h3 {
  margin: 0 0 4px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
}

.media-relation-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
}

.media-relation-card > div:last-child img {
  width: 135px;
}

.relation-puzzle {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 84px;
  height: 84px;
  margin: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 32% 32%, #38a9e8 0 24%, transparent 25%),
    radial-gradient(circle at 68% 68%, #ef4b54 0 24%, transparent 25%),
    linear-gradient(45deg, #2d98d4 0 50%, #f14b54 50%);
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(9, 47, 114, 0.12);
  transform: translate(-50%, -50%);
}

.media-topic-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.media-topic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  color: var(--blue);
  background: #ffffff;
  border: 1px solid #dce6f3;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.media-topic.more {
  color: var(--blue);
  background: #ffffff;
  border-color: #dce6f3;
}

.media-topic-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #0d6bd2;
}

.media-topic:nth-child(2) .media-topic-icon { color: #149052; }
.media-topic:nth-child(3) .media-topic-icon { color: #ef2118; }
.media-topic:nth-child(4) .media-topic-icon { color: #9347d6; }
.media-topic:nth-child(5) .media-topic-icon { color: #f47a10; }
.media-topic:nth-child(6) .media-topic-icon { color: #0d6bd2; }
.media-topic:nth-child(7) .media-topic-icon { color: #149052; }
.media-topic:nth-child(8) .media-topic-icon { color: #149052; }

.media-topic-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.media-bottom-cta {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding: 22px 52px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f8ff, #ffffff);
  border: 1px solid #d9e7f5;
  border-radius: 14px;
}

.media-envelope {
  width: 96px;
  height: 60px;
  background: linear-gradient(135deg, #b5d9ff, #e4f2ff);
  border-radius: 8px;
  transform: rotate(-8deg);
}

.media-bottom-cta p {
  margin: 0;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.policy-page {
  max-width: 1390px;
  margin: 0 auto;
  padding: 34px clamp(28px, 6vw, 82px) 54px;
}

.policy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 42px;
  align-items: center;
  min-height: 260px;
}

.policy-hero h1 {
  margin: 28px 0 16px;
  color: var(--blue);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.08;
}

.policy-hero p {
  max-width: 610px;
  margin: 0;
  color: #244a73;
  font-size: 15px;
  line-height: 1.7;
}

.policy-visual {
  position: relative;
  min-height: 238px;
}

.policy-paper-stack {
  position: absolute;
  inset: 24px 72px 0 82px;
}

.policy-paper-stack::before,
.policy-paper-stack::after,
.policy-paper-main {
  position: absolute;
  inset: 0;
  content: "";
  background: #ffffff;
  border: 1px solid #d7e4f4;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(17, 67, 132, 0.13);
}

.policy-paper-stack::before {
  transform: translate(-24px, 10px) rotate(-7deg);
  background: linear-gradient(90deg, #20a0db 0 10px, #ffffff 10px);
}

.policy-paper-stack::after {
  transform: translate(28px, 8px) rotate(7deg);
  background: linear-gradient(90deg, #f47a10 0 10px, #ffffff 10px);
}

.policy-paper-main {
  display: grid;
  place-items: center;
  z-index: 1;
  transform: rotate(2deg);
}

.policy-paper-main span {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  color: #8bb8ee;
  border: 3px solid #cfe2fb;
  border-radius: 24px;
}

.policy-paper-main svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.policy-paper-main strong {
  position: absolute;
  top: 42px;
  width: 100%;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.policy-visual::before,
.policy-visual::after {
  position: absolute;
  content: "";
  background: #cfe4ff;
  opacity: 0.8;
}

.policy-visual::before {
  left: 20px;
  top: 78px;
  width: 76px;
  height: 76px;
  clip-path: polygon(48% 0, 58% 30%, 86% 34%, 64% 53%, 72% 83%, 48% 66%, 24% 83%, 32% 53%, 10% 34%, 38% 30%);
}

.policy-visual::after {
  right: 4px;
  bottom: 22px;
  width: 112px;
  height: 156px;
  border-radius: 50% 50% 0 50%;
  transform: rotate(18deg);
}

.policy-about-strip,
.policy-scope-section {
  margin-top: 24px;
  padding: 22px;
  background: #f4f9ff;
  border: 1px solid #dce6f3;
  border-radius: 10px;
}

.policy-about-strip {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.policy-about-heading h2,
.policy-scope-section h2 {
  margin: 0;
  color: var(--blue);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
}

.policy-about-heading::after,
.policy-scope-section h2::after {
  display: block;
  width: 58px;
  height: 2px;
  margin-top: 12px;
  content: "";
  background: var(--blue);
}

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

.policy-feature {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 0 20px;
  border-left: 1px solid #dce6f3;
}

.policy-feature-icon,
.policy-scope span {
  display: grid;
  place-items: center;
  color: #0d6bd2;
}

.policy-feature-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.policy-feature-icon.green { color: #149052; }
.policy-feature-icon.orange { color: #f47a10; }
.policy-feature-icon.red { color: #ef2118; }
.policy-feature-icon.purple { color: #8f55d6; }

.policy-feature h3 {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.policy-feature p {
  margin: 0;
  color: #3f5f7f;
  font-size: 12px;
  line-height: 1.55;
}

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

.policy-doc-card {
  --doc-color: #0d6bd2;
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  align-items: stretch;
  gap: 18px;
  min-height: 286px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #dce6f3;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(13, 44, 89, 0.04);
}

.policy-doc-card.green { --doc-color: #149052; }
.policy-doc-card.orange { --doc-color: #f47a10; }
.policy-doc-card.red { --doc-color: #df1f18; }
.policy-doc-card.purple { --doc-color: #7b55c7; }

.policy-doc-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 0;
  aspect-ratio: 2 / 3;
  padding: 12px;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 18%, rgba(255,255,255,0.18), transparent 24%),
    linear-gradient(145deg, var(--doc-color), #073b80);
  border-radius: 7px;
  overflow: hidden;
}

.policy-doc-cover.has-image {
  padding: 0;
  background: #f7fbff;
}

.policy-doc-cover img {
  width: 50px;
  height: auto;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 3px;
}

.policy-doc-cover .policy-doc-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #f7fbff;
  border-radius: 0;
}

.policy-doc-cover .policy-doc-image + strong {
  position: relative;
  z-index: 1;
  padding: 8px;
  margin-top: auto;
  background: linear-gradient(180deg, transparent, rgba(3, 38, 86, 0.78));
  border-radius: 6px;
}

.policy-doc-cover span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.84);
}

.policy-doc-cover svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.policy-doc-cover strong {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.policy-doc-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.policy-doc-copy h2 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
}

.policy-doc-copy p {
  margin: 0;
  color: #385a7b;
  font-size: 12px;
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.policy-doc-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 0;
}

.policy-doc-tags span,
.policy-doc-tags small {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  color: var(--doc-color);
  background: #eef5fd;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
}

.policy-doc-date {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-top: 12px;
  color: #506d8a;
  font-size: 12px;
  line-height: 1.35;
}

.policy-doc-date strong {
  flex: 0 0 auto;
  color: var(--blue);
  font-weight: 700;
}

.policy-card-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px !important;
  color: #506d8a !important;
  font-size: 11px !important;
}

.policy-card-meta strong {
  color: var(--blue);
  font-weight: 700;
}

.policy-doc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
}

.policy-doc-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.policy-doc-actions a:only-child {
  grid-column: 1 / -1;
}

.policy-doc-actions a.download {
  color: #ffffff;
  background: var(--doc-color);
  border-color: var(--doc-color);
}

.policy-doc-actions a:hover,
.policy-doc-actions a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(12, 55, 120, 0.15);
}

.policy-scope-section {
  margin-bottom: 28px;
}

.policy-scope-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-top: 22px;
}

.policy-scope {
  display: grid;
  gap: 10px;
  justify-items: center;
  min-height: 96px;
  padding: 8px 16px;
  text-align: center;
  border-left: 1px solid #dce6f3;
}

.policy-scope:first-child {
  border-left: 0;
}

.policy-scope span {
  width: 44px;
  height: 44px;
}

.policy-scope svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.policy-scope strong {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.policy-page .work-bottom-cta {
  width: 100%;
  margin-top: 34px;
}

.latest-archive-page {
  max-width: 1390px;
  margin: 0 auto;
  padding: 34px clamp(28px, 6vw, 82px) 54px;
  background: #ffffff;
}

.latest-archive-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 42px;
  align-items: center;
  min-height: 230px;
  margin-bottom: 26px;
}

.latest-archive-hero h1 {
  margin: 28px 0 14px;
  color: var(--blue);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.08;
}

.latest-archive-hero p {
  max-width: 640px;
  margin: 0;
  color: #244a73;
  font-size: 15px;
  line-height: 1.7;
}

.latest-archive-visual {
  min-height: 210px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 22% 26%, rgba(13, 107, 210, 0.14) 0 12%, transparent 13%),
    radial-gradient(circle at 72% 66%, rgba(20, 144, 82, 0.16) 0 18%, transparent 19%),
    linear-gradient(135deg, #f0f8ff, #ffffff);
  border: 1px solid #dce8f5;
}

.latest-archive-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
  margin-bottom: 22px;
}

.latest-archive-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.latest-archive-filters button {
  --filter-color: #0d6bd2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  color: var(--blue);
  background: #ffffff;
  border: 1px solid #d7e4f4;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.latest-archive-filters button span {
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  color: #ffffff;
  background: var(--filter-color);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.latest-archive-filters button:hover,
.latest-archive-filters button:focus-visible,
.latest-archive-filters button.is-active {
  color: #ffffff;
  background: var(--filter-color);
  box-shadow: 0 12px 22px rgba(9, 47, 114, 0.14);
  transform: translateY(-2px);
}

.latest-archive-filters button:hover span,
.latest-archive-filters button:focus-visible span,
.latest-archive-filters button.is-active span {
  color: var(--filter-color);
  background: #ffffff;
}

.latest-archive-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.latest-archive-search input,
.latest-archive-sort select {
  min-height: 48px;
  width: 100%;
  padding: 0 16px;
  color: var(--blue);
  background: #ffffff;
  border: 1px solid #cbdcf0;
  border-radius: 8px;
  font: 600 14px/1 Arial, Helvetica, sans-serif;
}

.latest-archive-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 4px 0 22px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.latest-archive-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.latest-archive-sort label {
  font-size: 13px;
}

.latest-archive-sort select {
  min-width: 136px;
}

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

.latest-pagination {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.latest-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.latest-pagination li {
  margin: 0;
}

.latest-pagination a,
.latest-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  color: var(--blue);
  border: 1px solid #c9dbf1;
  border-radius: 8px;
  background: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 170ms ease, background 170ms ease, border-color 170ms ease, transform 170ms ease;
}

.latest-pagination a:hover,
.latest-pagination a:focus-visible {
  color: #ffffff;
  border-color: var(--blue);
  background: var(--blue);
  transform: translateY(-1px);
}

.latest-pagination .current {
  color: #ffffff;
  border-color: var(--blue);
  background: var(--blue);
}

.latest-pagination .dots {
  min-width: auto;
  border-color: transparent;
  background: transparent;
}

.archive-post-card {
  display: flex;
  min-width: 0;
  height: 360px;
  flex-direction: column;
  padding: 14px;
  color: var(--blue);
  background: #ffffff;
  border: 1px solid #dce6f3;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(13, 44, 89, 0.04);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
  overflow: hidden;
}

.archive-post-card:hover,
.archive-post-card:focus-visible {
  transform: translateY(-3px);
  border-color: #bed4ed;
  box-shadow: 0 18px 30px rgba(9, 47, 114, 0.11);
}

.archive-post-image {
  display: block;
  width: 100%;
  height: 132px;
  flex: 0 0 132px;
  margin-bottom: 14px;
  background: var(--archive-bg);
  border-radius: 8px;
}

.archive-post-tag {
  align-self: flex-start;
  max-width: 100%;
  min-height: 24px;
  padding: 0 8px;
  color: var(--archive-tag);
  background: color-mix(in srgb, var(--archive-tag) 12%, #ffffff);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
  line-height: 24px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.archive-post-source {
  display: block;
  min-height: 16px;
  margin-top: 8px;
  color: #5a7594;
  font-size: 11px;
  line-height: 1.35;
}

.archive-post-source b {
  color: #1e4e85;
  font-weight: 700;
}

.archive-post-card strong {
  display: -webkit-box;
  height: 2.56em;
  margin: 8px 0;
  color: var(--blue);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.28;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-post-card p {
  display: -webkit-box;
  height: 3.1em;
  margin: 0;
  color: #365a7f;
  font-size: 13px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-post-card small {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  color: #587393;
  font-size: 12px;
  font-weight: 700;
}

.latest-archive-page .work-bottom-cta {
  width: 100%;
  margin-top: 34px;
}

.article-detail-page {
  --article-color: #0c6fc7;
  max-width: 1390px;
  margin: 0 auto;
  padding: 34px clamp(28px, 6vw, 82px) 54px;
  background: #ffffff;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 34px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-category {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 10px;
  color: var(--article-color);
  background: #eef5fd;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.article-main h1 {
  max-width: 840px;
  margin: 14px 0 12px;
  color: var(--blue);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.12;
}

.article-summary {
  max-width: 760px;
  margin: 0 0 16px;
  color: #244a73;
  font-size: 16px;
  line-height: 1.65;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #587393;
  font-size: 13px;
  font-weight: 700;
}

.article-cover {
  width: 100%;
  aspect-ratio: 16 / 7.2;
  margin: 24px 0 16px;
  background: linear-gradient(135deg, #d7b99b, #7b6657 48%, #163965);
  border-radius: 10px;
  box-shadow: 0 16px 32px rgba(9, 47, 114, 0.08);
}

.article-body {
  display: grid;
  gap: 18px;
  color: #244772;
  font-size: 15px;
  line-height: 1.8;
}

.article-body p,
.article-body h2 {
  margin: 0;
}

.article-body h2 {
  margin-top: 10px;
  color: var(--blue);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
}

.article-quote {
  margin: 24px 0;
  padding: 24px 28px;
  color: var(--blue);
  background: #eef7ff;
  border-left: 4px solid var(--article-color);
  border-radius: 10px;
}

.article-quote p {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.article-quote cite {
  color: #56708f;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
}

.article-result {
  margin: 22px 0;
  padding: 18px 20px;
  color: #17613f;
  background: #eaf8ef;
  border: 1px solid #c9ecd5;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.article-tags span {
  min-height: 30px;
  padding: 0 11px;
  color: var(--blue);
  background: #f4f8fd;
  border: 1px solid #dce6f3;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 30px;
}

.article-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 18px;
}

.article-side-box {
  padding: 20px;
  background: #ffffff;
  border: 1px solid #dce6f3;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(13, 44, 89, 0.04);
}

.article-side-box h2 {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.article-share {
  display: grid;
  grid-template-columns: repeat(5, 36px);
  gap: 10px;
}

.article-share a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.article-share a:nth-child(2) { background: #050505; }
.article-share a:nth-child(3) { background: #0b6a9f; }
.article-share a:nth-child(4) { background: #24c267; }
.article-share a:nth-child(5) { color: var(--blue); background: #eef5fd; }

.article-side-post {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid #edf3fa;
}

.article-side-post span {
  grid-row: span 2;
  height: 62px;
  background: var(--side-bg);
  border-radius: 6px;
}

.article-side-post strong {
  display: -webkit-box;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-side-post small {
  color: #587393;
  font-size: 11px;
}

.article-side-post:has(.article-side-source) {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.article-side-post:has(.article-side-source) > span {
  grid-row: span 3;
}

.article-side-source {
  align-self: end;
  color: #537597;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
}

.article-doc {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 22px;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid #edf3fa;
}

.article-doc span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 42px;
  color: #0d6bd2;
}

.article-doc.red span { color: #ef2118; }
.article-doc.green span { color: #149052; }

.article-doc svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.article-doc strong {
  font-size: 12px;
  line-height: 1.35;
}

.article-doc small {
  display: block;
  color: #587393;
  font-size: 11px;
}

.article-doc b {
  color: #587393;
  font-size: 15px;
}

.article-other-links {
  display: grid;
  gap: 8px;
}

.article-other-links a,
.article-side-link {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.article-side-link {
  display: inline-flex;
  margin-top: 14px;
}

.article-related-section {
  margin-top: 34px;
}

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

.article-related-card {
  display: grid;
  min-height: 245px;
  padding: 14px;
  color: var(--blue);
  background: #ffffff;
  border: 1px solid #dce6f3;
  border-radius: 10px;
  text-decoration: none;
}

.article-related-card > span {
  height: 96px;
  background: var(--related-bg);
  border-radius: 8px;
}

.article-related-card small {
  align-self: end;
  color: var(--article-color);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.article-related-card strong {
  display: -webkit-box;
  min-height: 42px;
  color: var(--blue);
  font-size: 15px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-related-card em {
  color: #587393;
  font-size: 11px;
  font-style: normal;
}

.article-related-card b {
  margin-left: 12px;
}

.article-detail-page .work-bottom-cta {
  width: 100%;
  margin-top: 34px;
}

.contact-page {
  max-width: 1390px;
  margin: 0 auto;
  padding: 34px clamp(28px, 6vw, 82px) 54px;
  background: #ffffff;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 42px;
  align-items: center;
  min-height: 238px;
  margin-bottom: 22px;
}

.contact-hero h1 {
  margin: 28px 0 14px;
  color: var(--blue);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.08;
}

.contact-hero p {
  max-width: 680px;
  margin: 0;
  color: #244a73;
  font-size: 16px;
  line-height: 1.7;
}

.contact-hero-card {
  position: relative;
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 230px;
  padding: 28px;
  color: var(--blue);
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}

.contact-logo-scene .about-logo-grid {
  width: 205px;
  height: 205px;
}

.contact-paper-plane,
.contact-bird,
.contact-message-dot {
  position: absolute;
  display: block;
  background: #cfe4ff;
  opacity: 0.9;
}

.contact-paper-plane {
  left: 36px;
  top: 36px;
  width: 54px;
  height: 42px;
  clip-path: polygon(0 36%, 100% 0, 62% 100%, 48% 55%, 0 36%);
  transform: rotate(-14deg);
}

.contact-bird {
  right: 18px;
  top: 56px;
  width: 48px;
  height: 30px;
  background: #0d6bd2;
  clip-path: polygon(0 52%, 34% 38%, 45% 0, 58% 38%, 100% 22%, 68% 58%, 78% 100%, 46% 70%, 16% 100%, 26% 62%);
}

.contact-message-dot {
  right: 34px;
  top: 118px;
  width: 42px;
  height: 28px;
  border-radius: 18px;
}

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

.contact-top-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.contact-form-panel,
.contact-info-card,
.contact-map-section,
.contact-extra-card,
.contact-map-card {
  background: #ffffff;
  border: 1px solid #dce6f3;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(13, 44, 89, 0.04);
}

.contact-form-panel {
  padding: 28px;
}

.contact-form-panel h2,
.contact-map-section h2 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 25px;
  font-weight: 700;
}

.contact-form-panel p,
.contact-map-section p {
  max-width: 760px;
  margin: 0 0 22px;
  color: #365a7f;
  font-size: 14px;
  line-height: 1.65;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.contact-form label:nth-child(5),
.contact-form label:nth-child(6) {
  grid-column: 1 / -1;
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea,
.single-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  color: var(--text);
  background: #f9fbfe;
  border: 1px solid #cbdcf0;
  border-radius: 8px;
  font: 500 14px/1.45 Arial, Helvetica, sans-serif;
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  min-height: 46px;
  padding: 0 22px;
  color: #ffffff;
  background: var(--blue);
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.mechad-form-notice {
  margin: 0 0 18px;
  padding: 13px 16px;
  border: 1px solid #cfe0f2;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.mechad-form-notice--success {
  color: #0c6a3c;
  background: #edf9f2;
  border-color: #bce3cd;
}

.mechad-form-notice--error {
  color: #9c261c;
  background: #fff3f1;
  border-color: #f2c8c2;
}

.contact-side {
  display: grid;
  gap: 16px;
}

.contact-info-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  min-height: 104px;
  padding: 18px;
}

.contact-info-card.social {
  grid-template-columns: 1fr;
}

.contact-info-card > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 800;
}

.contact-info-card:nth-child(2) > span { background: #149052; }
.contact-info-card:nth-child(3) > span { background: #f47a10; }

.contact-info-card h2 {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
}

.contact-info-card p,
.contact-info-card a {
  margin: 0;
  color: #365a7f;
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
}

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

.contact-socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.contact-socials a:nth-child(1) { background: #050505; }
.contact-socials a:nth-child(2) { background: #0b6a9f; }
.contact-socials a:nth-child(3) { background: #0d6bd2; }
.contact-socials a:nth-child(4) { background: #0b5d96; }
.contact-socials a:nth-child(5) { background: var(--blue); }

.contact-extra-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  padding: 20px;
}

.contact-extra-card span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #ffffff;
  background: #0d6bd2;
  border-radius: 50%;
  font-weight: 800;
}

.contact-extra-card.green span { background: #149052; }
.contact-extra-card.red span { background: #ef2118; }

.contact-extra-card h2,
.contact-map-card h2 {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
}

.contact-extra-card p,
.contact-extra-card a,
.contact-map-card p,
.contact-map-card a {
  margin: 0;
  color: #365a7f;
  font-size: 13px;
  line-height: 1.55;
  text-decoration: none;
}

.contact-map-card {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.contact-map-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 26px;
  align-items: center;
  margin-top: 26px;
  padding: 26px;
}

.contact-map-embed {
  min-height: 178px;
  overflow: hidden;
  border: 1px solid #dce8f5;
  border-radius: 10px;
  background: #eef7ff;
}

.contact-map-embed iframe {
  display: block;
  width: 100%;
  height: 250px;
  border: 0;
}

.contact-map-placeholder {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13, 107, 210, 0.1) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(0deg, rgba(13, 107, 210, 0.1) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(135deg, #eef7ff, #ffffff);
  border: 1px solid #dce8f5;
  border-radius: 10px;
}

.contact-map-placeholder::before {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42px;
  height: 42px;
  content: "";
  background: #ef2118;
  border: 8px solid #ffffff;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 12px 24px rgba(9, 47, 114, 0.15);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.contact-map-placeholder span {
  position: absolute;
  left: 50%;
  top: calc(50% + 52px);
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  transform: translateX(-50%);
}

.contact-page .work-bottom-cta {
  width: 100%;
  margin-top: 34px;
}

.support-page {
  max-width: 1390px;
  margin: 0 auto;
  padding: 34px clamp(28px, 6vw, 82px) 54px;
  background: #ffffff;
}

.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 42px;
  align-items: center;
  min-height: 240px;
  margin-bottom: 22px;
}

.support-hero h1 {
  margin: 28px 0 8px;
  color: var(--blue);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.08;
}

.support-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #0b6a9f;
  font-size: 15px;
  font-weight: 700;
}

.support-hero p {
  max-width: 700px;
  margin: 0;
  color: #244a73;
  font-size: 15px;
  line-height: 1.7;
}

.support-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 230px;
}

.support-accountability {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
  padding: 18px 20px;
  background: #eefaf1;
  border: 1px solid #d3efd9;
  border-radius: 12px;
}

.support-accountability > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #ffffff;
  background: #149052;
  border-radius: 50%;
}

.support-accountability > span::before {
  content: "✓";
  font-size: 22px;
  font-weight: 800;
}

.support-accountability h2,
.support-side-card h2 {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 800;
}

.support-accountability p {
  margin: 0;
  color: #345b78;
  font-size: 13px;
  line-height: 1.55;
}

.support-accountability a,
.support-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: #149052;
  background: #ffffff;
  border: 1px solid #bfe5ca;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

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

.support-bank-list,
.support-sidebar,
.support-faq-list {
  display: grid;
  gap: 18px;
}

.support-bank-card,
.support-side-card,
.support-faq-section {
  background: #ffffff;
  border: 1px solid #dce6f3;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(13, 44, 89, 0.04);
}

.support-bank-card {
  overflow: hidden;
}

.support-bank-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 18px 20px 10px;
}

.support-bank-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 50%;
}

.support-bank-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.support-bank-head h2 {
  margin: 0;
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
}

.support-bank-head b {
  padding: 6px 10px;
  color: #149052;
  background: #eaf8ef;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.support-bank-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 18px;
  align-items: center;
  padding: 6px 20px 16px;
}

.support-bank-body dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.support-bank-body dl div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.support-bank-body dt {
  color: #55708d;
  font-size: 12px;
  font-weight: 800;
}

.support-bank-body dd {
  min-width: 0;
  margin: 0;
  color: #163b6f;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.copy-iban {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 112px;
  color: var(--blue);
  background: #f5f9ff;
  border: 1px solid #d4e2f3;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.copy-iban svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.support-bank-note {
  margin: 0;
  padding: 12px 20px;
  color: #506784;
  background: #f6f9fd;
  border-top: 1px solid #e7edf6;
  font-size: 12px;
  font-weight: 700;
}

.support-side-card {
  padding: 22px;
}

.support-note-list {
  display: grid;
  gap: 15px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.support-note-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  color: #345b78;
  font-size: 13px;
  line-height: 1.55;
}

.support-note-list svg {
  width: 20px;
  height: 20px;
  color: #149052;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.support-contact-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 18px;
}

.support-contact-list a,
.support-contact-list p {
  margin: 0;
  color: #244a73;
  font-size: 13px;
  line-height: 1.55;
  text-decoration: none;
}

.support-contact-list a::before,
.support-contact-list p::before {
  display: inline-block;
  width: 20px;
  color: var(--blue);
  font-weight: 800;
}

.support-contact-list a:nth-child(1)::before { content: "☎"; }
.support-contact-list a:nth-child(2)::before { content: "✉"; }
.support-contact-list p:nth-child(3)::before { content: "◷"; }
.support-contact-list p:nth-child(4)::before { content: "⌖"; }

.support-contact-button {
  width: 100%;
  color: var(--blue);
  border-color: #c9dcfa;
}

.support-faq-section {
  margin-top: 24px;
  padding: 18px 20px 20px;
}

.support-faq-section .section-heading {
  margin-bottom: 12px;
}

.support-faq-row {
  border-top: 1px solid #e7edf6;
}

.support-faq-row:first-child {
  border-top: 0;
}

.support-faq-row summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.support-faq-row summary::after {
  content: "⌄";
  color: #6c84a4;
}

.support-faq-row[open] summary::after {
  transform: rotate(180deg);
}

.support-faq-row p {
  margin: -4px 0 15px;
  color: #345b78;
  font-size: 13px;
  line-height: 1.6;
}

.volunteer-page {
  max-width: 1390px;
  margin: 0 auto;
  padding: 34px clamp(28px, 6vw, 82px) 54px;
  background: #ffffff;
}

.volunteer-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 42px;
  align-items: center;
  min-height: 286px;
  margin-bottom: 24px;
}

.volunteer-hero h1 {
  margin: 28px 0 14px;
  color: var(--blue);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.05;
}

.volunteer-hero p {
  max-width: 680px;
  margin: 0 0 24px;
  color: #244a73;
  font-size: 16px;
  line-height: 1.65;
}

.volunteer-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.volunteer-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 286px;
  overflow: hidden;
}

.volunteer-hero-visual .about-logo-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: repeat(2, 118px);
  gap: 8px;
}

.volunteer-person {
  position: absolute;
  z-index: 1;
  bottom: 26px;
  width: 76px;
  height: 122px;
  background: #13904e;
  border-radius: 38px 38px 20px 20px;
}

.volunteer-person::before {
  position: absolute;
  top: -30px;
  left: 23px;
  width: 30px;
  height: 30px;
  background: #f3b18d;
  border-radius: 50%;
  content: "";
}

.volunteer-person::after {
  position: absolute;
  top: -38px;
  left: 16px;
  width: 44px;
  height: 28px;
  background: #082f72;
  border-radius: 24px 24px 8px 8px;
  content: "";
}

.volunteer-person.left {
  left: 42px;
  transform: rotate(10deg);
}

.volunteer-person.right {
  right: 42px;
  background: #f47a10;
  transform: rotate(-10deg);
}

.volunteer-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.volunteer-info-card,
.volunteer-side-card,
.volunteer-benefit-card {
  background: #ffffff;
  border: 1px solid #dce6f3;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(13, 44, 89, 0.04);
}

.volunteer-info-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  min-height: 184px;
  padding: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.volunteer-info-card:hover {
  border-color: #b9d4f5;
  box-shadow: 0 14px 28px rgba(13, 44, 89, 0.1);
  transform: translateY(-3px);
}

.volunteer-info-card > span,
.volunteer-benefit-card > span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 50%;
}

.volunteer-info-card.green > span { background: #149052; }
.volunteer-info-card.orange > span { background: #f47a10; }
.volunteer-info-card.red > span { background: #ef2118; }

.volunteer-info-card svg,
.volunteer-benefit-card svg,
.volunteer-area-list svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.volunteer-info-card h2,
.volunteer-side-card h2 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
}

.volunteer-info-card h2 {
  grid-column: 2;
  align-self: center;
}

.volunteer-info-card p,
.volunteer-side-card p {
  margin: 0;
  color: #365a7f;
  font-size: 13px;
  line-height: 1.55;
}

.volunteer-info-card p {
  grid-column: 1 / -1;
}

/* Rich editor text is wrapped in .mechad-rich-text, not emitted as a direct paragraph. */
.volunteer-info-card > .mechad-rich-text {
  grid-column: 2;
  min-width: 0;
}

.volunteer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 24px;
  align-items: start;
}

.volunteer-form-panel {
  min-height: 0;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #dce6f3;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(13, 44, 89, 0.04);
}

.volunteer-form-panel h2 {
  font-weight: 600;
}

.volunteer-form label {
  font-weight: 600;
}

.volunteer-form label.wide,
.volunteer-form .volunteer-check {
  grid-column: 1 / -1;
}

.volunteer-form label.wide textarea {
  width: 100%;
}

.contact-form label.consent,
.volunteer-form .volunteer-check,
.volunteer-form label.consent {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #486789;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.contact-form label.consent input,
.volunteer-form .volunteer-check input,
.volunteer-form label.consent input {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0;
  padding: 0;
  accent-color: #149052;
}

.volunteer-form button {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 42px;
  margin-top: -2px;
  padding: 0 20px;
  font-size: 13px;
  background: #149052;
}

.volunteer-side {
  display: grid;
  gap: 18px;
}

.volunteer-side-card {
  padding: 22px;
}

.volunteer-area-list {
  display: grid;
  gap: 15px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.volunteer-area-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
}

.volunteer-area-list span {
  color: #149052;
}

.volunteer-area-list strong {
  display: block;
  margin-bottom: 3px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.volunteer-area-list p {
  font-size: 12px;
}

.volunteer-side-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

.volunteer-faq-list {
  display: grid;
  gap: 0;
}

.volunteer-faq-row {
  border-top: 1px solid #e7edf6;
}

.volunteer-faq-row:first-child {
  border-top: 0;
}

.volunteer-faq-row summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.volunteer-faq-row summary::after {
  content: "+";
  color: var(--blue);
  font-size: 18px;
}

.volunteer-faq-row[open] summary::after {
  content: "−";
}

.volunteer-faq-row p {
  margin: -4px 0 12px;
  font-size: 12px;
}

.volunteer-benefits-section {
  margin-top: 24px;
}

.volunteer-benefits-section h2 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 20px;
  font-weight: 600;
}

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

.volunteer-benefit-card {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 112px;
  padding: 20px;
}

.volunteer-benefit-card > span {
  color: #149052;
  background: #ffffff;
  border: 3px solid #149052;
}

.volunteer-benefit-card h3 {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 600;
}

.volunteer-benefit-card p {
  margin: 0;
  color: #365a7f;
  font-size: 13px;
  line-height: 1.5;
}

/* Keep the description beside the icon instead of flowing into its narrow column. */
.volunteer-benefit-card > .mechad-rich-text {
  grid-column: 2;
  min-width: 0;
  color: #365a7f;
  font-size: 13px;
  line-height: 1.5;
}

.volunteer-bottom-cta {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 24px;
  padding: 24px 28px;
  overflow: hidden;
  background: #eafaec;
  border: 1px solid #ccebd2;
  border-radius: 12px;
}

.volunteer-bottom-cta > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #149052;
  background: #ffffff;
  border-radius: 50%;
}

.volunteer-bottom-cta > span::before {
  content: "♡";
  font-size: 32px;
  font-weight: 800;
}

.volunteer-bottom-cta h2 {
  margin: 0 0 8px;
  color: #149052;
  font-size: 25px;
  font-weight: 600;
}

.volunteer-bottom-cta p {
  margin: 0;
  color: #214f75;
  font-size: 14px;
  line-height: 1.55;
}

.volunteer-cta-links {
  display: flex;
  gap: 14px;
}

.volunteer-cta-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: #ffffff;
  background: #149052;
  border: 1px solid #149052;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.volunteer-cta-links a + a {
  color: var(--blue);
  background: #ffffff;
  border-color: #c9dcfa;
}

.membership-page {
  max-width: 1390px;
  margin: 0 auto;
  padding: 34px clamp(28px, 6vw, 82px) 54px;
  background: #ffffff;
}

.membership-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 42px;
  align-items: center;
  min-height: 260px;
  margin-bottom: 24px;
}

.membership-hero h1 {
  max-width: 740px;
  margin: 28px 0 14px;
  color: var(--blue);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.08;
}

.membership-hero p {
  max-width: 760px;
  margin: 0 0 10px;
  color: #244a73;
  font-size: 15px;
  line-height: 1.65;
}

.membership-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 240px;
}

.membership-hero-visual .about-logo-grid {
  grid-template-columns: repeat(2, 112px);
  gap: 8px;
}

.membership-notice,
.membership-method-card,
.membership-form-preview,
.membership-step-grid article,
.membership-warning,
.membership-question {
  background: #ffffff;
  border: 1px solid #dce6f3;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(13, 44, 89, 0.04);
}

.membership-notice {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  padding: 18px 22px;
  background: #fff8ed;
  border-color: #f4ddbd;
}

.membership-notice > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
  background: #f47a10;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
}

.membership-notice h2,
.membership-method-card h2,
.membership-form-copy h2,
.membership-warning h2,
.membership-question h2 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.22;
}

.membership-notice p,
.membership-method-card p,
.membership-form-copy p,
.membership-step-grid p,
.membership-warning li,
.membership-question p {
  margin: 0;
  color: #345b78;
  font-size: 14px;
  line-height: 1.65;
}

.membership-methods {
  display: grid;
  gap: 20px;
  margin-bottom: 24px;
}

.membership-method-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 20px;
  padding: 26px;
}

.membership-card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 800;
}

.membership-card-icon.document {
  color: var(--blue);
  background: #eef5ff;
  border: 1px solid #c9dcfa;
}

.membership-card-icon.edevlet {
  align-self: start;
  width: 68px;
  height: auto;
  aspect-ratio: 255 / 144;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.membership-edevlet-logo {
  display: block;
  width: 100%;
  height: auto;
}

.membership-card-icon.document svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.membership-method-card.primary {
  background: #f3f8ff;
}

.membership-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.membership-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  color: var(--blue);
  background: #ffffff;
  border: 1px solid #c9dcfa;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.membership-button:hover,
.membership-button:focus-visible {
  transform: translateY(-1px);
}

.membership-button.primary {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

.membership-form-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) 360px;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
  padding: 26px;
}

.membership-form-card {
  overflow: hidden;
  background: #f6f9fd;
  border: 1px solid #d5e2f2;
  border-radius: 12px;
}

.membership-form-head {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #063275, #0b5ca8);
}

.membership-form-head img {
  width: 88px;
  height: auto;
  object-fit: contain;
}

.membership-form-head strong {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.membership-form-lines {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.membership-form-lines span {
  min-height: 32px;
  padding: 9px 12px;
  color: #214f75;
  background: #ffffff;
  border: 1px solid #dce6f3;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.membership-process {
  margin-bottom: 28px;
}

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

.membership-step-grid article {
  min-height: 190px;
  padding: 22px;
}

.membership-step-grid span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
}

.membership-step-grid h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.membership-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: stretch;
}

.membership-warning,
.membership-question {
  padding: 24px;
}

.membership-warning {
  background: #f8fbff;
}

.membership-warning ul {
  display: grid;
  gap: 12px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.membership-question .membership-button {
  margin-top: 18px;
}

.membership-page {
  padding-bottom: 34px;
}

.membership-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  min-height: 268px;
  margin-bottom: 18px;
}

.membership-hero h1 {
  font-size: 46px;
}

.membership-hero-visual {
  overflow: hidden;
}

.membership-hero-visual .about-logo-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: repeat(2, 108px);
}

.membership-notice {
  grid-template-columns: 50px minmax(0, 1fr);
  margin-bottom: 22px;
  padding: 14px 20px;
  background: #fff6df;
}

.membership-notice > span {
  background: #f47a10;
  font-family: Georgia, serif;
  font-style: italic;
}

.membership-notice h2 {
  margin-bottom: 4px;
  font-size: 15px;
}

.membership-notice p {
  font-size: 13px;
}

.membership-methods {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.membership-method-card {
  grid-template-columns: 58px minmax(0, 1fr);
  min-height: 286px;
  padding: 24px;
}

.membership-method-card h2 {
  font-size: 18px;
}

.membership-method-card p {
  margin-bottom: 16px;
  font-size: 13px;
}

.membership-method-card small,
.membership-form-copy small {
  display: block;
  margin-top: 16px;
  padding: 12px 14px;
  color: #31577c;
  background: #edf5ff;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.45;
}

.membership-card-icon.flag {
  background: #ef2118;
}

.membership-button-row {
  align-items: center;
}

.membership-inline-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.membership-form-preview {
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1fr);
  gap: 34px;
  padding: 22px;
}

.membership-form-card {
  display: grid;
  place-items: center;
  min-height: 250px;
  background: #f8fbff;
}

.membership-paper-preview {
  width: min(100%, 430px);
  min-height: 218px;
  padding: 18px;
  color: var(--blue);
  background: #ffffff;
  border: 2px solid #9fb2c9;
  box-shadow: 0 16px 30px rgba(13, 44, 89, 0.12);
}

.membership-paper-preview strong,
.membership-paper-preview span {
  display: block;
  text-align: center;
}

.membership-paper-preview strong {
  padding: 4px;
  border: 1px solid #8da4bf;
  font-size: 14px;
  font-weight: 700;
}

.membership-paper-preview span {
  margin: 12px 0;
  font-size: 10px;
  font-weight: 700;
}

.membership-paper-preview i {
  display: block;
  height: 18px;
  margin-top: 8px;
  border: 1px solid #c8d6e6;
}

.membership-form-head,
.membership-form-lines {
  display: none;
}

.membership-form-copy h2 {
  font-size: 20px;
}

.membership-process {
  padding: 22px;
  border: 1px solid #dce6f3;
  border-radius: 12px;
}

.membership-step-grid {
  gap: 0;
}

.membership-step-grid article {
  position: relative;
  min-height: 150px;
  padding: 18px 16px;
  border: 0;
  box-shadow: none;
  text-align: center;
}

.membership-step-grid article + article::before {
  position: absolute;
  top: 34px;
  left: -22%;
  width: 44%;
  border-top: 2px dotted #b9cbed;
  content: "";
}

.membership-step-grid span {
  margin: 0 auto 14px;
  background: var(--blue);
}

.membership-step-grid h3 {
  font-size: 14px;
}

.membership-step-grid p {
  font-size: 12px;
}

.membership-bottom-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
}

.membership-delivery {
  padding: 24px;
  background: #ffffff;
  border: 1px solid #dce6f3;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(13, 44, 89, 0.04);
}

.membership-delivery h2 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 600;
}

.membership-delivery p {
  margin: 0 0 16px;
  color: #345b78;
  font-size: 13px;
  line-height: 1.55;
}

.membership-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.membership-contact-cards span {
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 14px;
  color: #345b78;
  background: #f8fbff;
  border: 1px solid #dce6f3;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.4;
}

.membership-contact-cards b {
  color: var(--blue);
  font-size: 13px;
}

.membership-warning {
  background: #f8fbff;
}

.membership-warning h2 {
  font-size: 18px;
}

.membership-warning li {
  font-size: 13px;
}

.membership-question {
  display: none;
}

.membership-quick-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.membership-quick-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 14px;
  color: var(--blue);
  background: #ffffff;
  border: 1px solid #c9dcfa;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.membership-quick-links a:hover,
.membership-quick-links a:focus-visible {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 8px 18px rgba(11, 61, 137, 0.18);
  transform: translateY(-2px);
}

.membership-quick-links a:focus-visible {
  outline: 3px solid rgba(27, 111, 216, 0.28);
  outline-offset: 2px;
}

.membership-quick-links a.success {
  color: #149052;
  border-color: #9edbb7;
}

.membership-quick-links a.success:hover,
.membership-quick-links a.success:focus-visible {
  color: #ffffff;
  background: #149052;
  border-color: #149052;
  box-shadow: 0 8px 18px rgba(20, 144, 82, 0.18);
}

.site-footer {
  background: linear-gradient(135deg, #063275, #00468e);
  color: #ffffff;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 58px;
  width: min(var(--page-max), calc(100% - var(--page-gutter)));
  margin: 0 auto;
  padding: 34px 0 30px;
}

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

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column strong {
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.2;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-brand {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 20px;
}

.footer-logo {
  display: block;
  position: relative;
  width: 172px;
  aspect-ratio: 354 / 171;
}

.footer-logo::before,
.footer-logo::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image: var(--footer-logo);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 100% 100%;
}

.footer-logo::before {
  clip-path: inset(0 50% 0 0);
}

.footer-logo::after {
  clip-path: inset(0 0 0 49%);
  filter: brightness(0) invert(1);
}

/* Site search and utility pages. */
.site-header {
  position: relative;
}

.header-search-toggle {
  display: inline-grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  color: var(--blue);
  background: #f4f8fe;
  border: 1px solid #d5e2f3;
  border-radius: 50%;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-search-toggle svg,
.site-search-form button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.header-search-toggle:hover,
.header-search-toggle:focus-visible,
.header-search-toggle[aria-expanded="true"] {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  outline: none;
  transform: translateY(-1px);
}

.site-search-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% - 1px);
  right: 0;
  left: 0;
  padding: 18px 0 20px;
  background: #fff;
  border-top: 1px solid #e3ebf6;
  border-bottom: 1px solid #d7e3f2;
  box-shadow: 0 16px 30px rgba(8, 41, 91, 0.13);
}

.site-search-panel[hidden] {
  display: none !important;
}

.site-search-panel__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: var(--mechad-rail-width);
  max-width: var(--mechad-rail-max);
  margin: 0 auto;
}

.site-search-panel__label {
  flex: 0 0 auto;
  margin: 0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.site-search-form {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.site-search-form input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0 15px;
  color: var(--text);
  font: 400 14px/1.4 Arial, Helvetica, sans-serif;
  background: #fff;
  border: 1px solid #cbdcf1;
  border-radius: 6px;
}

.site-search-form input::placeholder {
  color: #7c8ba1;
}

.site-search-form input:focus-visible {
  border-color: #1765b5;
  outline: 3px solid rgba(23, 101, 181, 0.15);
}

.site-search-form button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  color: #fff;
  font: 600 14px/1 Arial, Helvetica, sans-serif;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 6px;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.site-search-form button:hover,
.site-search-form button:focus-visible {
  background: #174f9d;
  outline: none;
  transform: translateY(-1px);
}

.search-results-page,
.not-found-page {
  width: 100% !important;
  max-width: none !important;
  padding: 44px 0 0 !important;
  background: var(--mechad-page-bg);
}

.search-results-page > section,
.not-found-page > section {
  width: var(--mechad-rail-width) !important;
  max-width: var(--mechad-rail-max) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.utility-page-heading {
  padding: 34px;
  background: #fff;
  border: 1px solid #d7e3f2;
  border-left: 4px solid #1682d4;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(10, 44, 96, 0.06);
}

.utility-page-heading__eyebrow,
.search-result-item__type {
  margin: 0 0 8px;
  color: #0874ca;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.utility-page-heading h1,
.not-found-card h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(30px, 3.1vw, 44px);
  font-weight: 700;
  line-height: 1.14;
}

.utility-page-heading h1 span {
  color: #1661aa;
}

.utility-page-heading__form {
  max-width: 680px;
  margin-top: 24px;
}

.search-results-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px !important;
}

.search-result-item {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  min-height: 182px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7e3f2;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(10, 44, 96, 0.05);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.search-result-item:hover {
  border-color: #aac9ec;
  box-shadow: 0 16px 28px rgba(10, 44, 96, 0.11);
  transform: translateY(-2px);
}

.search-result-item__image {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  place-items: center;
  color: #1765b5;
  background: #eef5fc;
}

.search-result-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-item__image svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.search-result-item__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
}

.search-result-item__body h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}

.search-result-item__body h2 a,
.search-result-item__link {
  color: var(--blue);
  text-decoration: none;
}

.search-result-item__body h2 a:hover,
.search-result-item__body h2 a:focus-visible,
.search-result-item__link:hover,
.search-result-item__link:focus-visible {
  color: #1765b5;
  text-decoration: underline;
}

.search-result-item__body > p:not(.search-result-item__type) {
  display: -webkit-box;
  margin: 10px 0 12px;
  overflow: hidden;
  color: #425e86;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.search-result-item__link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
}

.search-results-pagination {
  grid-column: 1 / -1;
  margin-top: 10px;
}

.search-results-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-results-pagination a,
.search-results-pagination span {
  display: inline-grid;
  min-width: 38px;
  min-height: 38px;
  padding: 0 10px;
  place-items: center;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
  border: 1px solid #cbdcf1;
  border-radius: 6px;
}

.search-results-pagination .current,
.search-results-pagination a:hover,
.search-results-pagination a:focus-visible {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  outline: none;
}

.search-empty-state {
  grid-column: 1 / -1;
  padding: 54px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid #d7e3f2;
  border-radius: 8px;
}

.search-empty-state__icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  place-items: center;
  color: #1765b5;
  background: #eef5fc;
  border-radius: 50%;
}

.search-empty-state__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.search-empty-state h2 {
  margin: 0;
  color: var(--blue);
  font-size: 24px;
}

.search-empty-state p {
  max-width: 560px;
  margin: 12px auto 22px;
  color: #425e86;
  line-height: 1.6;
}

.not-found-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7e3f2;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(10, 44, 96, 0.08);
}

.not-found-card__code {
  display: grid;
  min-height: 390px;
  margin: 0;
  place-items: center;
  color: #fff;
  font-size: clamp(72px, 10vw, 150px);
  font-weight: 700;
  line-height: 1;
  background: #0c3a83;
}

.not-found-card__content {
  padding: 58px 60px;
}

.not-found-card__content > p:not(.utility-page-heading__eyebrow) {
  max-width: 650px;
  margin: 18px 0 26px;
  color: #425e86;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

.not-found-card__form {
  max-width: 620px;
  margin-bottom: 22px;
}

.not-found-page > .work-bottom-cta,
.not-found-page > .about-cta,
.search-results-page > .work-bottom-cta,
.search-results-page > .about-cta {
  margin-top: 48px !important;
  margin-bottom: var(--mechad-footer-gap, 64px) !important;
}

@media (max-width: 900px) {
  .site-search-panel__inner {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .site-search-panel__label {
    font-size: 13px;
  }

  .site-header .header-actions {
    grid-template-columns: 40px repeat(3, minmax(0, 1fr)) !important;
  }

  .header-search-toggle {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .search-results-list {
    grid-template-columns: 1fr;
  }

  .not-found-card {
    grid-template-columns: 1fr;
  }

  .not-found-card__code {
    min-height: 150px;
    font-size: 86px;
  }

  .not-found-card__content {
    padding: 34px 26px;
  }
}

@media (max-width: 560px) {
  .site-search-form {
    gap: 8px;
  }

  .site-search-form input {
    min-height: 42px;
    padding: 0 12px;
    font-size: 13px;
  }

  .site-search-form button {
    min-height: 42px;
    padding: 0 13px;
  }

  .site-search-form button span {
    display: none;
  }

  .utility-page-heading {
    padding: 25px 20px;
  }

  .search-result-item {
    grid-template-columns: 120px minmax(0, 1fr);
    min-height: 150px;
  }

  .search-result-item__body {
    padding: 16px;
  }

  .search-result-item__body h2 {
    font-size: 16px;
  }

  .search-result-item__body > p:not(.search-result-item__type) {
    display: none;
  }
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: #064282;
  background: #ffffff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: #d9ecff;
  transform: translateY(-1px);
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  line-height: 1.4;
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 168px 1fr;
    gap: 18px;
    padding: 14px 0;
  }

  .main-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .main-nav ul {
    justify-content: flex-start;
  }

  .header-actions {
    justify-self: end;
  }
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
    padding: 38px 0;
  }

  .hero-content {
    max-width: 720px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-visual {
    min-height: 270px;
  }

  .hero-logo-card {
    width: min(100%, 440px);
  }

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

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

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

  .mediach-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mediach-main {
    grid-template-columns: 1fr;
  }

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

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

  .contact-strip {
    grid-template-columns: 1fr 1fr;
  }

  .inner-hero {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 36px 0 34px;
  }

  .breadcrumb {
    margin-bottom: 24px;
  }

  .inner-hero-visual {
    min-height: 270px;
  }

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

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

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

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

  .about-cta-actions {
    justify-content: flex-start;
  }

  .work-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .work-method-grid {
    grid-template-columns: 1fr;
  }

  .method-dots {
    display: none;
  }

  .work-bottom-cta {
    grid-template-columns: 1fr;
    padding-right: 84px;
  }

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

  .statute-layout {
    grid-template-columns: 1fr;
  }

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

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

  .media-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .media-bottom-cta {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .media-bottom-cta .media-hero-button {
    grid-column: 2;
    justify-self: start;
  }

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

  .policy-visual {
    min-height: 220px;
  }

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

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

  .policy-feature:nth-child(odd) {
    border-left: 0;
  }

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

  .policy-scope-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .latest-archive-hero,
  .latest-archive-toolbar {
    grid-template-columns: 1fr;
  }

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

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-hero,
  .contact-layout,
  .contact-map-section,
  .support-hero,
  .support-layout,
  .volunteer-hero,
  .volunteer-layout,
  .membership-hero,
  .membership-form-preview,
  .membership-bottom-grid {
    grid-template-columns: 1fr;
  }

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

  .support-accountability {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .support-accountability a {
    grid-column: 2;
    justify-self: start;
  }

  .volunteer-info-grid,
  .volunteer-benefits-grid,
  .membership-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .membership-methods,
  .membership-contact-cards,
  .membership-quick-links {
    grid-template-columns: 1fr;
  }

  .membership-step-grid article + article::before {
    display: none;
  }

  .volunteer-bottom-cta {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .volunteer-cta-links {
    grid-column: 2;
    justify-content: flex-start;
  }

  .work-cta-links {
    justify-content: flex-start;
  }

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

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

  .work-item:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .resource-item:nth-child(3n + 1) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .header-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(100% - 28px, var(--page-max));
    min-height: auto;
    gap: 12px;
    padding: 12px 0 14px;
  }

  .brand {
    justify-content: center;
  }

  .brand-logo-frame {
    flex-basis: 132px;
    width: 132px;
  }

  .header-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    gap: 8px;
    overflow: visible;
  }

  .action {
    min-width: 0;
    min-height: 40px;
    padding: 9px 8px;
    font-size: 12px;
    text-align: center;
  }

  .main-nav {
    width: 100%;
    overflow: visible;
  }

  .main-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 8px;
    width: 100%;
  }

  .main-nav a {
    justify-content: center;
    min-height: 36px;
    padding: 8px 6px;
    font-size: 12px;
    text-align: center;
    white-space: normal;
  }

  .admin-panel {
    top: 8px;
    right: 8px;
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
    border-radius: 8px;
  }

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

  .hero {
    width: min(100% - 28px, var(--page-max));
    padding: 30px 0 34px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-button {
    width: 100%;
  }

  .hero-visual {
    min-height: 230px;
  }

  .latest-section {
    width: min(100% - 28px, var(--page-max));
    padding: 24px 0 42px;
  }

  .section-heading {
    grid-template-columns: 1fr auto;
    column-gap: 14px;
  }

  .section-heading::after {
    display: none;
  }

  .latest-card.featured {
    min-height: 280px;
  }

  .latest-card h3 {
    font-size: 23px;
  }

  .latest-card.compact {
    grid-template-columns: 1fr;
  }

  .latest-card.compact::before {
    right: 0;
  }

  .latest-thumb {
    min-height: 150px;
    order: -1;
  }

  .focus-section {
    width: min(100% - 28px, var(--page-max));
  }

  .work-grid,
  .resource-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .work-item,
  .resource-item,
  .work-item + .work-item,
  .resource-item + .resource-item {
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid #cad7e8;
  }

  .work-grid .work-item:first-child,
  .resource-grid .resource-item:first-child {
    border-top: 0;
  }

  .work-icon {
    width: 74px;
    height: 74px;
  }

  .mediach-section {
    width: min(100% - 28px, var(--page-max));
    margin-bottom: 30px;
    padding-top: 22px;
  }

  .mediach-main {
    padding: 20px;
  }

  .mediach-logo-panel {
    min-height: 140px;
  }

  .mediach-content h2 {
    font-size: 28px;
  }

  .report-body {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .report-cover {
    width: 84px;
  }

  .mediach-button {
    width: 100%;
  }

  .support-section {
    width: min(100% - 28px, var(--page-max));
    margin-bottom: 44px;
  }

  .support-card {
    padding: 18px;
  }

  .press-contact-section {
    width: min(100% - 28px, var(--page-max));
    margin-bottom: 24px;
  }

  .press-grid,
  .contact-strip {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .contact-strip h2 {
    white-space: normal;
  }

  .social-group {
    flex-wrap: wrap;
  }

  .inner-hero,
  .about-pillars,
  .about-content,
  .board-section,
  .about-cta {
    width: min(100% - 28px, var(--page-max));
  }

  .inner-hero {
    padding: 28px 0 30px;
  }

  .breadcrumb {
    margin-bottom: 20px;
  }

  .inner-hero h1 {
    font-size: 34px;
  }

  .inner-hero p {
    font-size: 14px;
  }

  .inner-hero-visual {
    min-height: 230px;
  }

  .about-logo-grid {
    grid-template-columns: repeat(2, 104px);
    gap: 7px;
  }

  .about-logo-cell {
    border-radius: 14px;
  }

  .about-logo-cell svg {
    width: 58px;
    height: 58px;
    stroke-width: 4.6;
  }

  .about-mark.bank {
    left: 0;
    transform: scale(0.74);
  }

  .about-mark.bird {
    right: 0;
    transform: scale(0.76) rotate(28deg);
  }

  .about-leaf.left,
  .about-leaf.right {
    transform: scale(0.72);
  }

  .about-pillars {
    gap: 16px;
    margin-bottom: 34px;
  }

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

  .pillar-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
  }

  .about-content {
    margin-bottom: 34px;
  }

  .about-text-grid {
    gap: 14px;
  }

  .about-text-grid p {
    padding: 20px;
  }

  .board-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .board-card {
    min-height: 78px;
  }

  .about-cta {
    margin-bottom: 0;
    padding: 26px 22px;
  }

  .about-cta h2 {
    font-size: 25px;
  }

  .about-cta-actions {
    flex-direction: column;
    gap: 12px;
  }

  .work-hero,
  .work-cards-grid,
  .work-method-section,
  .work-bottom-cta,
  .statute-hero,
  .statute-stats,
  .statute-layout,
  .statute-highlights,
  .media-hero,
  .media-info-section,
  .media-relation,
  .media-topics,
  .media-bottom-cta {
    width: min(100% - 28px, var(--page-max));
  }

  .work-hero {
    padding: 28px 0 24px;
    margin-bottom: 22px;
  }

  .work-hero h1 {
    font-size: 34px;
  }

  .work-hero p {
    font-size: 13px;
  }

  .work-hero-visual {
    min-height: 220px;
  }

  .work-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 34px;
  }

  .work-page-card {
    grid-template-columns: 62px minmax(0, 1fr);
    min-height: auto;
    padding: 18px;
  }

  .work-page-icon {
    width: 54px;
    height: 54px;
  }

  .work-page-icon svg {
    width: 30px;
    height: 30px;
  }

  .work-bottom-cta {
    min-height: auto;
    padding: 26px 22px;
  }

  .statute-hero {
    padding: 28px 0 20px;
  }

  .statute-hero h1 {
    font-size: 34px;
  }

  .statute-stats,
  .statute-highlight-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .statute-document {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .statute-cover {
    min-height: 340px;
    padding: 30px;
  }

  .media-hero h1 {
    font-size: 38px;
  }

  .media-hero-logo {
    width: 210px;
  }

  .media-card-grid,
  .media-principle-grid {
    grid-template-columns: 1fr;
  }

  .media-relation-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
    text-align: center;
  }

  .media-relation-card > div {
    min-height: auto;
    padding: 22px;
  }

  .media-relation-card > div:first-child,
  .media-relation-card > div:last-child {
    padding: 22px;
    border-radius: 10px;
  }

  .relation-puzzle {
    position: static;
    margin: 0 auto;
    transform: none;
  }

  .media-bottom-cta {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .media-bottom-cta .media-hero-button {
    grid-column: auto;
    width: 100%;
  }

  .policy-page {
    padding-inline: 18px;
  }

  .policy-hero h1 {
    font-size: 34px;
  }

  .policy-paper-stack {
    inset: 20px 54px 0 54px;
  }

  .policy-feature-grid,
  .policy-doc-grid,
  .policy-scope-grid {
    grid-template-columns: 1fr;
  }

  .policy-feature,
  .policy-scope {
    border-left: 0;
  }

  .policy-doc-card {
    grid-template-columns: 128px minmax(0, 1fr);
    min-height: auto;
  }

  .policy-doc-cover {
    min-height: 0;
  }

  .latest-archive-page {
    padding-inline: 18px;
  }

  .latest-archive-hero h1 {
    font-size: 34px;
  }

  .latest-archive-status {
    align-items: stretch;
    flex-direction: column;
  }

  .archive-post-grid {
    grid-template-columns: 1fr;
  }

  .article-detail-page {
    padding-inline: 18px;
  }

  .article-main h1 {
    font-size: 32px;
  }

  .article-cover {
    aspect-ratio: 16 / 9;
  }

  .article-sidebar,
  .article-related-grid {
    grid-template-columns: 1fr;
  }

  .contact-page {
    padding-inline: 18px;
  }

  .support-page {
    padding-inline: 18px;
  }

  .volunteer-page {
    padding-inline: 18px;
  }

  .membership-page {
    padding-inline: 18px;
  }

  .contact-hero h1 {
    font-size: 34px;
  }

  .support-hero h1 {
    font-size: 34px;
  }

  .volunteer-hero h1 {
    font-size: 36px;
  }

  .membership-hero h1 {
    font-size: 34px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-top-cards {
    grid-template-columns: 1fr;
  }

  .support-accountability {
    grid-template-columns: 1fr;
  }

  .support-accountability a {
    grid-column: auto;
    width: 100%;
  }

  .support-bank-head,
  .support-bank-body,
  .support-bank-body dl div {
    grid-template-columns: 1fr;
  }

  .copy-iban {
    min-height: 64px;
  }

  .volunteer-info-grid,
  .volunteer-benefits-grid,
  .volunteer-bottom-cta {
    grid-template-columns: 1fr;
  }

  .volunteer-cta-links {
    grid-column: auto;
    flex-direction: column;
  }

  .volunteer-cta-links a {
    width: 100%;
  }

  .volunteer-info-card,
  .volunteer-benefit-card {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .membership-method-card,
  .membership-notice {
    grid-template-columns: 1fr;
  }

  .membership-methods,
  .membership-form-preview,
  .membership-bottom-grid,
  .membership-contact-cards,
  .membership-quick-links {
    grid-template-columns: 1fr;
  }

  .membership-step-grid {
    grid-template-columns: 1fr;
  }

  .membership-button,
  .membership-button-row,
  .membership-quick-links a {
    width: 100%;
  }

  .membership-form-card {
    min-height: 210px;
  }

  .statute-cover strong {
    font-size: 34px;
  }

  .statute-about {
    padding: 6px 0 0;
  }

  .statute-actions {
    margin-top: 28px;
  }

  .work-bottom-cta h2 {
    margin-bottom: 12px;
    font-size: 25px;
  }

  .work-bottom-cta p {
    font-size: 13px;
  }

  .work-cta-links {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .work-cta-button {
    width: 100%;
  }

  .paper-plane {
    right: 12px;
    width: 48px;
    opacity: 0.34;
  }

  .press-card {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .press-logo-box {
    width: 86px;
  }

  .admin-press-logo-row {
    grid-template-columns: 1fr;
  }

  .admin-footer-link-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    width: min(100% - 28px, var(--page-max));
    padding: 30px 0;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 24px;
  }

  .decor-dot-one,
  .decor-bird {
    display: none;
  }
}

/* Shared hero contract: every top hero keeps the same footprint and background behavior. */
.hero,
.inner-hero,
.work-hero,
.statute-hero,
.media-hero,
.policy-hero,
.latest-archive-hero,
.contact-hero,
.support-hero,
.volunteer-hero,
.membership-hero {
  width: min(var(--page-max), calc(100% - var(--page-gutter))) !important;
  min-height: 340px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-top: 38px !important;
  padding-bottom: 38px !important;
  border-top: 1px solid #dce7f4;
}

.has-shared-hero-bg .hero,
.has-shared-hero-bg .inner-hero,
.has-shared-hero-bg .work-hero,
.has-shared-hero-bg .statute-hero,
.has-shared-hero-bg .media-hero,
.has-shared-hero-bg .policy-hero,
.has-shared-hero-bg .latest-archive-hero,
.has-shared-hero-bg .contact-hero,
.has-shared-hero-bg .support-hero,
.has-shared-hero-bg .volunteer-hero,
.has-shared-hero-bg .membership-hero {
  background-attachment: scroll;
  background-position: center center;
  background-size: cover;
}

@media (max-width: 1040px) {
  .hero,
  .inner-hero,
  .work-hero,
  .statute-hero,
  .media-hero,
  .policy-hero,
  .latest-archive-hero,
  .contact-hero,
  .support-hero,
  .volunteer-hero,
  .membership-hero {
    width: min(100% - 28px, var(--page-max)) !important;
    min-height: 300px !important;
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
}

@media (max-width: 720px) {
  .hero,
  .inner-hero,
  .work-hero,
  .statute-hero,
  .media-hero,
  .policy-hero,
  .latest-archive-hero,
  .contact-hero,
  .support-hero,
  .volunteer-hero,
  .membership-hero {
    min-height: 280px !important;
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  .has-shared-hero-bg .hero,
  .has-shared-hero-bg .inner-hero,
  .has-shared-hero-bg .work-hero,
  .has-shared-hero-bg .statute-hero,
  .has-shared-hero-bg .media-hero,
  .has-shared-hero-bg .policy-hero,
  .has-shared-hero-bg .latest-archive-hero,
  .has-shared-hero-bg .contact-hero,
  .has-shared-hero-bg .support-hero,
  .has-shared-hero-bg .volunteer-hero,
  .has-shared-hero-bg .membership-hero {
    background-position: 72% center;
  }
}

/* Mobile polish layer: keeps narrow phones compact without changing desktop design. */
@media (max-width: 520px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .policy-doc-card {
    grid-template-columns: 1fr;
  }

  .policy-doc-cover {
    justify-self: center;
    width: min(190px, 100%);
  }

  .policy-doc-actions {
    grid-template-columns: 1fr;
  }

  .header-inner {
    width: min(100% - 24px, var(--page-max));
    gap: 10px;
  }

  .brand {
    justify-content: flex-start;
  }

  .brand-logo-frame {
    flex: 0 0 112px;
    width: 112px;
  }

  .main-nav {
    overflow: visible;
    padding-bottom: 0;
  }

  .main-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    min-width: 0;
  }

  .main-nav a {
    justify-content: center;
    min-height: 34px;
    padding: 8px 7px;
    text-align: center;
    white-space: normal;
  }

  .header-actions {
    grid-template-columns: 1fr;
  }

  .action {
    min-height: 38px;
  }

  .hero,
  .inner-hero,
  .work-hero,
  .statute-hero,
  .media-hero,
  .policy-hero,
  .latest-archive-hero,
  .contact-hero,
  .support-hero,
  .volunteer-hero,
  .membership-hero {
    width: min(100% - 24px, var(--page-max)) !important;
    min-height: 0 !important;
    gap: 18px !important;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .hero h1,
  .inner-hero h1,
  .work-hero h1,
  .statute-hero h1,
  .media-hero h1,
  .policy-hero h1,
  .latest-archive-hero h1,
  .contact-hero h1,
  .support-hero h1,
  .volunteer-hero h1,
  .membership-hero h1 {
    font-size: clamp(30px, 9vw, 36px) !important;
    line-height: 1.12;
  }

  .hero p,
  .inner-hero p,
  .work-hero p,
  .statute-hero p,
  .media-hero p,
  .policy-hero p,
  .latest-archive-hero p,
  .contact-hero p,
  .support-hero p,
  .volunteer-hero p,
  .membership-hero p {
    font-size: 14px !important;
    line-height: 1.65;
  }

  .hero-visual,
  .inner-hero-visual,
  .work-hero-visual,
  .contact-hero-card,
  .support-hero-visual,
  .volunteer-hero-visual,
  .membership-hero-visual,
  .policy-visual,
  .latest-archive-visual {
    min-height: 190px !important;
  }

  .media-browser-card {
    min-height: 210px !important;
  }

  .about-logo-grid,
  .volunteer-hero-visual .about-logo-grid,
  .membership-hero-visual .about-logo-grid {
    grid-template-columns: repeat(2, minmax(86px, 1fr));
    width: min(100%, 220px);
    margin-inline: auto;
  }

  .work-bottom-cta,
  .about-cta,
  .media-bottom-cta,
  .volunteer-bottom-cta {
    width: min(100% - 24px, var(--page-max));
    margin-bottom: 34px;
    padding: 22px 18px;
  }

  .latest-section,
  .focus-section,
  .mediach-section,
  .support-section,
  .press-contact-section,
  .inner-hero,
  .about-pillars,
  .about-content,
  .board-section,
  .about-cta,
  .work-cards-grid,
  .work-method-section,
  .statute-stats,
  .statute-layout,
  .statute-highlights,
  .media-info-section,
  .media-relation,
  .media-topics,
  .contact-page,
  .support-page,
  .volunteer-page,
  .membership-page,
  .policy-page,
  .latest-archive-page,
  .article-detail-page {
    width: min(100% - 24px, var(--page-max));
    padding-inline: 0;
  }

  .latest-archive-toolbar,
  .latest-archive-status,
  .contact-strip,
  .press-grid {
    width: 100%;
  }

  .latest-archive-filters {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .latest-archive-filters::-webkit-scrollbar {
    display: none;
  }

  .latest-archive-filters button {
    flex: 0 0 auto;
  }

  .article-share {
    grid-template-columns: repeat(5, 36px);
    justify-content: start;
  }

  .footer-inner {
    width: min(100% - 24px, var(--page-max));
  }
}

@media (max-width: 380px) {
  .brand-logo-frame {
    flex-basis: 102px;
    width: 102px;
  }

  .hero-button,
  .media-hero-button,
  .work-cta-button,
  .membership-button {
    min-width: 0;
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  .latest-card h3,
  .archive-post-card strong,
  .article-main h1 {
    overflow-wrap: anywhere;
  }
}

/* WordPress template compatibility additions. */
.contact-form .full,
.contact-form .consent,
.volunteer-form .full,
.volunteer-form .consent {
  grid-column: 1 / -1;
}

.media-round-icon.blue { background: #0d6bd2; }
.media-round-icon.green { background: #149052; }
.media-round-icon.orange { background: #f47a10; }
.media-round-icon.red { background: #ef2118; }
.media-round-icon.purple { background: #7b55c7; }

.archive-post-card,
.policy-doc-card a,
.statute-contents a {
  text-decoration: none;
}

/* Production header hardening for WordPress menus and uploaded logos. */
.site-header .header-inner {
  grid-template-columns: 190px minmax(0, 1fr) auto !important;
  gap: 22px !important;
  width: min(var(--page-max), calc(100% - var(--page-gutter))) !important;
  min-height: 96px !important;
  padding: 0 !important;
}

.site-header .brand {
  justify-content: flex-start !important;
  width: 190px !important;
  max-width: 190px !important;
}

.site-header .brand-logo-frame {
  flex: 0 0 190px !important;
  width: 190px !important;
  max-width: 190px !important;
  aspect-ratio: 354 / 172 !important;
}

.site-header .brand-logo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 190px !important;
  max-height: 92px !important;
  object-fit: contain !important;
}

.site-header .main-nav {
  grid-column: auto !important;
  order: initial !important;
  align-self: stretch !important;
  overflow: visible !important;
}

.site-header .main-nav ul {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  gap: 0 !important;
  width: 100% !important;
}

.site-header .main-nav a {
  min-height: 38px !important;
  padding: 8px 8px !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
}

.site-header .header-actions {
  display: flex !important;
  grid-template-columns: none !important;
  justify-self: end !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
}

.site-header .action {
  min-width: max-content !important;
  min-height: 44px !important;
  padding: 0 16px !important;
  white-space: nowrap !important;
}

@media (max-width: 1180px) and (min-width: 901px) {
  .site-header .header-inner {
    grid-template-columns: 168px minmax(0, 1fr) auto !important;
    width: min(var(--page-max), calc(100% - var(--page-gutter))) !important;
    gap: 14px !important;
  }

  .site-header .brand,
  .site-header .brand-logo-frame {
    flex-basis: 168px !important;
    width: 168px !important;
    max-width: 168px !important;
  }

  .site-header .brand-logo {
    max-width: 168px !important;
    max-height: 82px !important;
  }

  .site-header .main-nav a {
    padding-right: 6px !important;
    padding-left: 6px !important;
    font-size: 11.5px !important;
  }

  .site-header .action {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }
}

@media (max-width: 900px) {
  .site-header .header-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: min(100% - 28px, var(--page-max)) !important;
    min-height: auto !important;
    gap: 12px !important;
    padding: 12px 0 14px !important;
  }

  .site-header .brand {
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .site-header .brand-logo-frame {
    flex-basis: 150px !important;
    width: 150px !important;
    max-width: 150px !important;
  }

  .site-header .brand-logo {
    max-width: 150px !important;
    max-height: 74px !important;
  }

  .site-header .main-nav ul {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px 8px !important;
  }

  .site-header .main-nav a {
    justify-content: center !important;
    min-height: 36px !important;
    padding: 8px 6px !important;
    text-align: center !important;
    white-space: normal !important;
  }

  .site-header .header-actions {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    justify-content: stretch !important;
    gap: 8px !important;
  }

  .site-header .action {
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 9px 8px !important;
    font-size: 12px !important;
    text-align: center !important;
  }
}

/* Unified page rhythm: heroes and content keep the same footprint across templates. */
:root {
  --hero-height: 420px;
  --hero-pad-x: clamp(30px, 3.2vw, 54px);
  --content-width: min(var(--page-max), calc(100% - var(--page-gutter)));
}

.hero,
.inner-hero,
.work-hero,
.statute-hero,
.media-hero,
.policy-hero,
.latest-archive-hero,
.contact-hero,
.support-hero,
.volunteer-hero,
.membership-hero {
  width: var(--content-width) !important;
  height: var(--hero-height) !important;
  min-height: var(--hero-height) !important;
  max-height: var(--hero-height) !important;
  margin-right: auto !important;
  margin-left: auto !important;
  gap: 42px !important;
  align-items: center !important;
  padding: 38px var(--hero-pad-x) !important;
  overflow: hidden !important;
  border-top: 1px solid #dce7f4 !important;
}

.hero,
.inner-hero,
.work-hero,
.policy-hero,
.latest-archive-hero,
.contact-hero,
.support-hero,
.volunteer-hero,
.membership-hero {
  grid-template-columns: minmax(0, 0.58fr) minmax(300px, 0.42fr) !important;
}

.statute-hero,
.media-hero {
  grid-template-columns: minmax(0, 0.52fr) minmax(360px, 0.48fr) !important;
}

.hero-content,
.inner-hero-copy,
.work-hero-copy,
.media-hero-copy {
  max-width: 620px !important;
}

.has-shared-hero-bg .hero,
.has-shared-hero-bg .inner-hero,
.has-shared-hero-bg .work-hero,
.has-shared-hero-bg .statute-hero,
.has-shared-hero-bg .media-hero,
.has-shared-hero-bg .policy-hero,
.has-shared-hero-bg .latest-archive-hero,
.has-shared-hero-bg .contact-hero,
.has-shared-hero-bg .support-hero,
.has-shared-hero-bg .volunteer-hero,
.has-shared-hero-bg .membership-hero {
  background-position: center center !important;
  background-size: cover !important;
}

.has-shared-hero-bg .hero-visual,
.has-shared-hero-bg .inner-hero-visual,
.has-shared-hero-bg .work-hero-visual,
.has-shared-hero-bg .contact-hero-card,
.has-shared-hero-bg .support-hero-visual,
.has-shared-hero-bg .volunteer-hero-visual,
.has-shared-hero-bg .membership-hero-visual,
.has-shared-hero-bg .media-browser-card,
.has-shared-hero-bg .policy-visual,
.has-shared-hero-bg .latest-archive-visual {
  display: none !important;
}

.policy-page,
.latest-archive-page,
.contact-page,
.support-page,
.volunteer-page,
.membership-page {
  max-width: none !important;
  padding: 34px 0 54px !important;
}

.article-detail-page {
  width: var(--content-width) !important;
  max-width: var(--page-max) !important;
  padding: 34px 0 54px !important;
}

.policy-page > :not(.policy-hero),
.latest-archive-page > :not(.latest-archive-hero),
.contact-page > :not(.contact-hero),
.support-page > :not(.support-hero),
.volunteer-page > :not(.volunteer-hero),
.membership-page > :not(.membership-hero) {
  width: var(--content-width) !important;
  max-width: var(--page-max) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

@media (max-width: 1040px) {
  :root {
    --hero-height: 360px;
    --hero-pad-x: 32px;
    --content-width: min(100% - 28px, var(--page-max));
  }
}

@media (max-width: 720px) {
  :root {
    --hero-height: 320px;
    --hero-pad-x: 24px;
    --content-width: min(100% - 28px, var(--page-max));
  }

  .hero,
  .inner-hero,
  .work-hero,
  .statute-hero,
  .media-hero,
  .policy-hero,
  .latest-archive-hero,
  .contact-hero,
  .support-hero,
  .volunteer-hero,
  .membership-hero {
    grid-template-columns: minmax(0, 1fr) !important;
    padding-top: 28px !important;
    padding-bottom: 28px !important;
    background-position: 72% center !important;
  }
}

@media (max-width: 520px) {
  :root {
    --hero-height: 340px;
    --hero-pad-x: 20px;
    --content-width: min(100% - 24px, var(--page-max));
  }

  .policy-page,
  .latest-archive-page,
  .contact-page,
  .support-page,
  .volunteer-page,
  .membership-page,
  .article-detail-page {
    padding-top: 24px !important;
    padding-bottom: 42px !important;
  }
}

/* Final layout contract: all main templates share one width and one hero size. */
:root {
  --mechad-layout-max: 1400px;
  --mechad-layout-gutter: clamp(56px, 4.8vw, 96px);
  --mechad-layout-width: min(var(--mechad-layout-max), calc(100% - (var(--mechad-layout-gutter) * 2)));
  --mechad-hero-height: 540px;
  --mechad-hero-pad-x: clamp(44px, 4vw, 68px);
  --mechad-hero-pad-y: 42px;
  --mechad-section-gap: 34px;
}

.site-header .header-inner,
.footer-inner,
.hero,
.inner-hero,
.work-hero,
.statute-hero,
.media-hero,
.policy-hero,
.latest-archive-hero,
.contact-hero,
.support-hero,
.volunteer-hero,
.membership-hero,
.latest-section,
.focus-section,
.work-areas-section,
.resources-section,
.media-report-row,
.mediach-section,
.support-section,
.press-contact-section,
.contact-strip,
.about-pillars,
.about-content,
.board-section,
.about-cta,
.work-cards-grid,
.work-method-section,
.work-bottom-cta,
.statute-stats,
.statute-layout,
.statute-highlights,
.media-info-section,
.media-relation,
.media-topics,
.media-bottom-cta,
.policy-doc-grid,
.policy-scope-section,
.latest-archive-toolbar,
.latest-archive-grid,
.archive-post-grid,
.latest-pagination,
.contact-info-grid,
.contact-top-cards,
.contact-layout,
.contact-map-section,
.contact-main-grid,
.support-notice,
.support-accountability,
.support-layout,
.support-main-grid,
.support-faq-section,
.support-faq,
.volunteer-info-grid,
.volunteer-layout,
.volunteer-main-grid,
.volunteer-offers,
.volunteer-bottom-cta,
.membership-notice,
.membership-methods,
.membership-options,
.membership-form-preview,
.membership-process,
.membership-bottom-grid,
.membership-info-grid,
.membership-link-row,
.article-detail-page,
.content-template {
  width: var(--mechad-layout-width) !important;
  max-width: var(--mechad-layout-max) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.inner-page,
.work-page,
.statute-page,
.media-page,
.policy-page,
.latest-archive-page,
.contact-page,
.support-page,
.volunteer-page,
.membership-page {
  width: 100% !important;
  max-width: none !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.hero,
.inner-hero,
.work-hero,
.statute-hero,
.media-hero,
.policy-hero,
.latest-archive-hero,
.contact-hero,
.support-hero,
.volunteer-hero,
.membership-hero {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0, 0.54fr) minmax(320px, 0.46fr) !important;
  align-items: center !important;
  min-height: var(--mechad-hero-height) !important;
  height: var(--mechad-hero-height) !important;
  max-height: var(--mechad-hero-height) !important;
  margin-top: 0 !important;
  margin-bottom: var(--mechad-section-gap) !important;
  padding: var(--mechad-hero-pad-y) var(--mechad-hero-pad-x) !important;
  overflow: hidden !important;
  background-color: #fff !important;
  background-image: var(--shared-hero-bg) !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  border-top: 1px solid #dce7f4 !important;
}

.hero-content,
.inner-hero-copy,
.work-hero-copy,
.media-hero-copy {
  box-sizing: border-box !important;
  max-width: 610px !important;
  padding: 0 !important;
  align-self: center !important;
  position: relative !important;
  z-index: 1 !important;
}

.hero h1,
.inner-hero h1,
.work-hero h1,
.statute-hero h1,
.media-hero h1,
.policy-hero h1,
.latest-archive-hero h1,
.contact-hero h1,
.support-hero h1,
.volunteer-hero h1,
.membership-hero h1 {
  margin-top: 0 !important;
}

.has-shared-hero-bg .hero-visual,
.has-shared-hero-bg .inner-hero-visual,
.has-shared-hero-bg .work-hero-visual,
.has-shared-hero-bg .contact-hero-card,
.has-shared-hero-bg .support-hero-visual,
.has-shared-hero-bg .volunteer-hero-visual,
.has-shared-hero-bg .membership-hero-visual,
.has-shared-hero-bg .media-browser-card,
.has-shared-hero-bg .policy-visual,
.has-shared-hero-bg .latest-archive-visual {
  display: none !important;
}

.latest-section,
.focus-section,
.work-areas-section,
.resources-section,
.media-report-row,
.mediach-section,
.support-section,
.press-contact-section,
.contact-strip,
.about-pillars,
.work-cards-grid,
.statute-stats,
.media-info-section,
.policy-about-strip,
.latest-archive-toolbar,
.archive-post-grid,
.contact-top-cards,
.contact-layout,
.contact-map-section,
.contact-info-grid,
.support-notice,
.support-accountability,
.support-layout,
.support-faq-section,
.volunteer-info-grid,
.volunteer-layout,
.membership-notice {
  margin-top: 0 !important;
}

.about-content,
.board-section,
.about-cta,
.work-method-section,
.work-bottom-cta,
.statute-layout,
.statute-highlights,
.media-relation,
.media-topics,
.media-bottom-cta,
.policy-doc-grid,
.policy-scope-section,
.latest-archive-grid,
.latest-pagination,
.contact-main-grid,
.support-main-grid,
.support-faq,
.volunteer-main-grid,
.volunteer-offers,
.volunteer-bottom-cta,
.membership-methods,
.membership-options,
.membership-form-preview,
.membership-process,
.membership-bottom-grid,
.membership-info-grid,
.membership-link-row {
  margin-top: var(--mechad-section-gap) !important;
}

.policy-scope-section > .policy-about-strip {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

@media (max-width: 1180px) {
  :root {
    --mechad-layout-gutter: clamp(22px, 3.5vw, 48px);
    --mechad-hero-height: 400px;
    --mechad-hero-pad-x: 34px;
    --mechad-hero-pad-y: 34px;
  }
}

@media (max-width: 900px) {
  :root {
    --mechad-layout-width: min(100% - 28px, var(--mechad-layout-max));
    --mechad-hero-height: 360px;
    --mechad-hero-pad-x: 28px;
  }

  .hero,
  .inner-hero,
  .work-hero,
  .statute-hero,
  .media-hero,
  .policy-hero,
  .latest-archive-hero,
  .contact-hero,
  .support-hero,
  .volunteer-hero,
  .membership-hero {
    grid-template-columns: minmax(0, 1fr) !important;
    background-position: 66% center !important;
  }

  .hero-content,
  .inner-hero-copy,
  .work-hero-copy,
  .media-hero-copy {
    max-width: 560px !important;
  }
}

@media (max-width: 560px) {
  :root {
    --mechad-layout-width: min(100% - 24px, var(--mechad-layout-max));
    --mechad-hero-height: 340px;
    --mechad-hero-pad-x: 22px;
    --mechad-hero-pad-y: 28px;
    --mechad-section-gap: 28px;
  }

  .hero,
  .inner-hero,
  .work-hero,
  .statute-hero,
  .media-hero,
  .policy-hero,
  .latest-archive-hero,
  .contact-hero,
  .support-hero,
  .volunteer-hero,
  .membership-hero {
    background-position: 72% center !important;
  }
}

/* Header rail lock: page edges align with logo start and the last header button. */
:root {
  --mechad-rail-max: 1400px;
  --mechad-rail-width: min(var(--mechad-rail-max), calc(100vw - 48px));
  --mechad-layout-max: var(--mechad-rail-max);
  --mechad-layout-width: var(--mechad-rail-width);
}

.site-header > .header-inner,
body > main > section,
body > main > article,
body > main > div,
.footer-inner,
.article-detail-page,
.inner-page > section,
.work-page > section,
.statute-page > section,
.media-page > section,
.policy-page > section,
.latest-archive-page > section,
.contact-page > section,
.support-page > section,
.volunteer-page > section,
.membership-page > section {
  width: var(--mechad-rail-width) !important;
  max-width: var(--mechad-rail-max) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.inner-page,
.work-page,
.statute-page,
.media-page,
.policy-page,
.latest-archive-page,
.contact-page,
.support-page,
.volunteer-page,
.membership-page {
  width: 100% !important;
  max-width: none !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.policy-scope-section > .policy-about-strip,
.press-contact-section > section {
  width: 100% !important;
  max-width: none !important;
}

@media (max-width: 900px) {
  :root {
    --mechad-rail-width: min(100% - 28px, var(--mechad-rail-max));
    --mechad-layout-width: var(--mechad-rail-width);
  }
}

@media (max-width: 560px) {
  :root {
    --mechad-rail-width: min(100% - 24px, var(--mechad-rail-max));
    --mechad-layout-width: var(--mechad-rail-width);
  }
}

/* Exact header alignment: hero and page content use the same rail as the top menu. */
:root {
  --mechad-rail-max: var(--page-max);
  --mechad-rail-width: min(var(--page-max), calc(100% - var(--page-gutter)));
  --mechad-layout-max: var(--page-max);
  --mechad-layout-width: var(--mechad-rail-width);
}

.site-header > .header-inner,
.site-header .header-inner,
.hero,
.inner-hero,
.work-hero,
.statute-hero,
.media-hero,
.policy-hero,
.latest-archive-hero,
.contact-hero,
.support-hero,
.volunteer-hero,
.membership-hero,
body > main > section,
body > main > article,
body > main > div,
.footer-inner,
.article-detail-page,
.inner-page > section,
.work-page > section,
.statute-page > section,
.media-page > section,
.policy-page > section,
.latest-archive-page > section,
.contact-page > section,
.support-page > section,
.volunteer-page > section,
.membership-page > section {
  width: var(--mechad-rail-width) !important;
  max-width: var(--mechad-rail-max) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

@media (max-width: 900px) {
  :root {
    --mechad-rail-width: min(100% - 28px, var(--page-max));
    --mechad-layout-width: var(--mechad-rail-width);
  }
}

@media (max-width: 560px) {
  :root {
    --mechad-rail-width: min(100% - 24px, var(--page-max));
    --mechad-layout-width: var(--mechad-rail-width);
  }
}

/* Final visual consistency patch: keep page gutters visible and remove hero breadcrumbs. */
body,
body > main,
.inner-page,
.work-page,
.statute-page,
.media-page,
.policy-page,
.latest-archive-page,
.contact-page,
.support-page,
.volunteer-page,
.membership-page {
  background: var(--mechad-page-bg) !important;
}

.hero,
.inner-hero,
.work-hero,
.statute-hero,
.media-hero,
.policy-hero,
.latest-archive-hero,
.contact-hero,
.support-hero,
.volunteer-hero,
.membership-hero {
  background-color: #ffffff !important;
}

.hero .breadcrumb,
.inner-hero .breadcrumb,
.work-hero .breadcrumb,
.statute-hero .breadcrumb,
.media-hero .breadcrumb,
.policy-hero .breadcrumb,
.latest-archive-hero .breadcrumb,
.contact-hero .breadcrumb,
.support-hero .breadcrumb,
.volunteer-hero .breadcrumb,
.membership-hero .breadcrumb {
  display: none !important;
}

/* Requested content placement and shared footer rhythm. */
.latest-report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 22px;
}

.latest-report-layout .latest-grid {
  min-width: 0;
}

.latest-report-layout .report-card {
  align-self: stretch;
}

.mediach-section {
  grid-template-columns: 1fr !important;
}

.mediach-section .mediach-main {
  grid-column: 1 / -1;
}

.work-bottom-cta,
.media-bottom-cta,
.volunteer-bottom-cta {
  margin-top: var(--mechad-section-gap) !important;
  margin-bottom: 64px !important;
}

.site-footer {
  margin-top: 0 !important;
}

.social-icon svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icon-facebook svg path,
.social-icon-linkedin svg path,
.social-icon-youtube svg path:first-child,
.social-icon-x svg path:first-child {
  fill: currentColor;
  stroke: none;
}

.social-icon-youtube svg path:last-child {
  fill: #ffffff;
  stroke: none;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: #064282;
  background: #ffffff;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  background: #d9ecff;
  transform: translateY(-1px);
}

@media (max-width: 1180px) {
  .latest-report-layout {
    grid-template-columns: 1fr;
  }
}

/* Final homepage latest cards and footer spacing pass. */
:root {
  --mechad-footer-gap: 56px;
}

.inner-page,
.work-page,
.statute-page,
.media-page,
.policy-page,
.latest-archive-page,
.article-detail-page,
.contact-page,
.support-page,
.volunteer-page,
.membership-page {
  padding-bottom: 0 !important;
}

.work-bottom-cta,
.media-bottom-cta,
.volunteer-bottom-cta {
  margin-top: var(--mechad-section-gap) !important;
  margin-bottom: var(--mechad-footer-gap) !important;
}

.site-footer {
  margin-top: 0 !important;
}

/* Keep the homepage hero text blocks comfortably separated. */
.home .hero h1 {
  margin-bottom: 28px;
}

.home .hero p {
  margin: 0 0 34px;
}

.latest-card.featured::after {
  inset: 0 !important;
  background:
    linear-gradient(180deg, rgba(1, 20, 52, 0.02) 0%, rgba(1, 20, 52, 0.18) 42%, rgba(1, 20, 52, 0.88) 100%) !important;
}

.latest-card.featured .latest-content {
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  min-height: 0 !important;
  padding: 0 24px 32px !important;
}

.latest-card.featured p {
  display: none !important;
}

.latest-card.featured h3 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(25px, 2vw, 32px);
  line-height: 1.12;
  text-shadow: 0 3px 12px rgba(0, 18, 48, 0.42);
}

.latest-card.featured .post-tag {
  margin-bottom: 14px;
  box-shadow: 0 8px 18px rgba(0, 18, 48, 0.22);
}

.latest-card.featured .post-meta {
  max-width: 760px;
  text-shadow: 0 2px 10px rgba(0, 18, 48, 0.42);
}

.latest-card.compact {
  grid-template-columns: minmax(0, 1fr) 176px !important;
  min-height: 148px;
  padding: 10px;
  color: var(--blue);
  background: #ffffff;
  border: 1px solid #d9e6f5;
  box-shadow: 0 10px 26px rgba(9, 47, 114, 0.06);
}

.latest-card.compact::before {
  right: 176px !important;
  background: #ffffff !important;
}

.latest-card.compact .latest-content {
  min-height: 128px !important;
  padding: 18px 18px 16px !important;
}

.latest-card.compact h3 {
  display: -webkit-box;
  overflow: hidden;
  color: var(--blue);
  font-size: 18px;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.latest-card.compact .post-meta {
  margin-top: auto;
  color: #66758e;
}

.latest-card.compact .latest-thumb {
  align-self: stretch;
  min-height: 128px;
  border-radius: 7px;
  background-size: cover;
  background-position: center;
}

@media (max-width: 1180px) {
  .latest-card.compact {
    grid-template-columns: minmax(0, 1fr) 168px !important;
  }

  .latest-card.compact::before {
    right: 168px !important;
  }
}

@media (max-width: 760px) {
  :root {
    --mechad-footer-gap: 40px;
  }

  .latest-card.featured .latest-content {
    padding: 0 20px 24px !important;
  }

  .latest-card.featured h3 {
    font-size: 23px;
  }

  .latest-card.compact {
    grid-template-columns: 1fr !important;
  }

  .latest-card.compact::before {
    right: 0 !important;
  }

  .latest-card.compact .latest-thumb {
    order: -1;
    min-height: 160px;
  }
}

/* Statute page: document-led layout with a compact, readable information hierarchy. */
.statute-stats {
  gap: 20px;
  margin-bottom: 26px;
}

.statute-stat {
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 3px;
  min-height: 96px;
  padding: 18px 20px;
  border-color: #d7e4f4;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(9, 47, 114, 0.045);
}

.statute-stat > .statute-stat-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 46px;
  height: 46px;
}

.statute-stat > strong {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
}

.statute-stat > span:not(.statute-stat-icon) {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
}

.statute-layout {
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: stretch;
  gap: 28px;
  margin-bottom: 42px;
}

.statute-document {
  grid-template-columns: minmax(330px, 1.04fr) minmax(280px, 0.96fr);
  gap: 40px;
  padding: 38px;
  border-color: #d7e4f4;
  border-radius: 12px;
}

.statute-cover {
  min-height: 470px;
  padding: 34px 38px;
  border-radius: 12px;
}

.statute-cover img {
  width: min(100%, 190px);
}

.statute-cover strong {
  font-size: clamp(38px, 3.2vw, 50px);
}

.statute-about {
  min-height: 470px;
  padding: 22px 0;
}

.statute-about h2,
.statute-contents h2 {
  margin-bottom: 24px;
  font-size: 22px;
}

.statute-about p {
  font-size: 16px;
  line-height: 1.7;
}

.statute-actions {
  gap: 14px;
  margin: auto 0 28px;
  padding-bottom: 28px;
}

.statute-button {
  min-height: 58px;
  border-radius: 8px;
}

.statute-note {
  margin: 0;
}

.statute-contents {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-color: #d7e4f4;
  border-radius: 12px;
}

.statute-contents > .statute-contents-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  color: var(--blue);
  border-bottom: 1px solid #e7eef7;
  font-size: 14px;
  font-weight: 700;
  cursor: default;
}

.statute-contents > .statute-contents-item > span:last-child {
  color: #6a86a8;
  font-size: 17px;
}

.statute-contents .full {
  margin-top: auto;
  padding: 0 14px;
  font-size: 15px;
}

.statute-highlights {
  margin-bottom: var(--mechad-footer-gap);
}

.statute-highlights > h2 {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.statute-highlight-grid {
  gap: 20px;
}

.statute-highlight-card {
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 18px;
  min-height: 210px;
  padding: 26px;
  border-color: #d7e4f4;
  border-radius: 10px;
}

.statute-highlight-icon {
  width: 56px;
  height: 56px;
}

.statute-highlight-card h3 {
  margin: 4px 0 12px;
  font-size: 15px;
}

.statute-highlight-card p {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.6;
}

.statute-highlight-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 1080px) {
  .statute-layout {
    grid-template-columns: 1fr;
  }

  .statute-document {
    grid-template-columns: minmax(300px, 0.95fr) minmax(260px, 1.05fr);
  }

  .statute-contents .full {
    margin-top: 20px;
  }
}

@media (max-width: 760px) {
  .statute-stats,
  .statute-highlight-grid {
    grid-template-columns: 1fr;
  }

  .statute-document {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 22px;
  }

  .statute-cover,
  .statute-about {
    min-height: 0;
  }

  .statute-cover {
    min-height: 420px;
  }

  .statute-actions {
    margin-top: 42px;
  }

  .statute-highlight-card {
    min-height: 0;
    padding: 22px;
  }
}

/* Homepage news rail: one editorial lead story with a compact secondary stream. */
.latest-report-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
}

.latest-grid {
  grid-template-columns: minmax(0, 1.65fr) minmax(240px, 0.75fr);
  gap: 20px;
}

.latest-side {
  gap: 20px;
}

.latest-card.featured {
  min-height: 318px;
}

.latest-card.featured h3 {
  max-width: 680px;
  font-size: clamp(26px, 2.1vw, 34px);
}

.latest-card.compact {
  grid-template-columns: minmax(0, 1fr) 112px !important;
  min-height: 148px;
  padding: 10px;
}

.latest-card.compact::before {
  right: 112px !important;
}

.latest-card.compact .latest-content {
  min-height: 128px !important;
  padding: 18px 16px 16px !important;
}

.latest-card.compact h3 {
  font-size: 17px;
  -webkit-line-clamp: 3;
}

.latest-card.compact .latest-thumb {
  min-height: 128px;
  border-radius: 6px;
}

@media (max-width: 1180px) {
  .latest-report-layout {
    grid-template-columns: 1fr;
  }

  .latest-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.75fr);
  }
}

@media (max-width: 760px) {
  .latest-grid,
  .latest-card.compact {
    grid-template-columns: 1fr !important;
  }

  .latest-card.featured {
    min-height: 280px;
  }

  .latest-card.compact .latest-thumb {
    min-height: 150px;
  }
}

/* Compact news cards use a restrained editorial thumbnail instead of a tall crop. */
.latest-card.compact {
  grid-template-columns: minmax(0, 1fr) 136px !important;
  min-height: 148px;
  padding: 12px;
  border-color: #dbe6f2;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(9, 47, 114, 0.045);
}

.latest-card.compact::before {
  right: 136px !important;
}

.latest-card.compact .latest-content {
  min-height: 122px !important;
  padding: 6px 12px 6px 2px !important;
  justify-content: center;
}

.latest-card.compact .post-tag {
  margin-bottom: 8px;
  font-size: 10px;
}

.latest-card.compact h3 {
  -webkit-line-clamp: 2;
  font-size: 17px;
  line-height: 1.2;
}

.latest-card.compact .post-meta {
  margin-top: 10px;
  font-size: 12px;
}

.latest-card.compact .latest-thumb {
  align-self: center;
  justify-self: end;
  width: 136px;
  min-height: 0 !important;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background-position: center;
  background-size: cover;
}

@media (max-width: 760px) {
  .latest-card.compact {
    grid-template-columns: 1fr !important;
  }

  .latest-card.compact .latest-content {
    min-height: 0 !important;
    padding: 16px 4px 4px !important;
  }

  .latest-card.compact .latest-thumb {
    order: -1;
    justify-self: stretch;
    width: 100%;
    min-height: 0 !important;
    aspect-ratio: 16 / 9;
  }
}

/* Secondary headlines follow the same editorial image treatment as the lead story. */
.latest-card.compact {
  display: block;
  min-height: 0;
  aspect-ratio: 16 / 9;
  padding: 0;
  color: #ffffff;
  background: var(--post-bg, linear-gradient(135deg, #b8c7d8, #48698f));
  border: 0;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(9, 47, 114, 0.08);
}

.latest-card.compact::before {
  right: 0 !important;
  background:
    linear-gradient(180deg, rgba(1, 20, 52, 0.06) 0%, rgba(1, 20, 52, 0.28) 43%, rgba(1, 20, 52, 0.92) 100%),
    var(--post-bg, linear-gradient(135deg, #b8c7d8, #48698f));
}

.latest-card.compact .latest-content {
  position: absolute;
  inset: 0;
  min-height: 0 !important;
  padding: 18px 20px !important;
  justify-content: flex-end;
}

.latest-card.compact .post-tag {
  margin-bottom: 10px;
  padding: 7px 11px;
  color: #ffffff;
  background: var(--tag-color, #0c6fc7);
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
}

.latest-card.compact h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.16;
  text-shadow: 0 2px 10px rgba(0, 16, 48, 0.46);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.latest-card.compact .post-meta {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(0, 16, 48, 0.45);
}

.latest-card.compact .latest-thumb {
  display: none;
}

.latest-card.compact:hover,
.latest-card.compact:focus-visible {
  border-color: transparent;
  box-shadow: 0 16px 30px rgba(9, 47, 114, 0.16);
}

@media (max-width: 760px) {
  .latest-card.compact {
    aspect-ratio: 16 / 9;
  }

  .latest-card.compact .latest-content {
    padding: 18px 20px !important;
  }
}

/* Keep the lead headline proportionate to its editorial card on wide screens. */
.latest-card.featured h3 {
  font-size: clamp(23px, 1.55vw, 28px);
}

/* Secondary stories use a compact news-list pattern with a true horizontal thumbnail. */
.latest-card.compact {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) !important;
  column-gap: 14px;
  align-items: center;
  min-height: 104px;
  aspect-ratio: auto;
  padding: 10px 0 10px 0;
  color: var(--blue);
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid #e5ecf5;
  border-radius: 0;
  box-shadow: none;
}

.latest-card.compact::before {
  display: none;
}

.latest-card.compact .latest-thumb {
  display: block;
  order: -1;
  width: 116px;
  min-height: 0 !important;
  height: 82px;
  border-radius: 8px;
  background: var(--post-bg, linear-gradient(135deg, #b8c7d8, #48698f));
  background-position: center;
  background-size: cover;
}

.latest-card.compact .latest-content {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "tag date"
    "title title";
  column-gap: 10px;
  row-gap: 7px;
  align-content: center;
  min-height: 82px !important;
  padding: 0 8px 0 0 !important;
}

.latest-card.compact .post-tag {
  grid-area: tag;
  align-self: center;
  margin: 0;
  padding: 0;
  color: var(--tag-color, #0c6fc7);
  background: transparent;
  border-radius: 0;
  font-size: 11px;
  line-height: 1.1;
}

.latest-card.compact h3 {
  grid-area: title;
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #102f63;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.22;
  text-shadow: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.latest-card.compact .post-meta {
  grid-area: date;
  display: block;
  align-self: center;
  justify-self: start;
  margin: 0;
  color: #75849b;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
  text-shadow: none;
  white-space: nowrap;
}

.latest-card.compact:hover,
.latest-card.compact:focus-visible {
  background: #f8fbff;
  border-color: #dce6f1;
  box-shadow: none;
  transform: translateX(3px);
}

@media (max-width: 480px) {
  .latest-card.compact {
    grid-template-columns: 96px minmax(0, 1fr) !important;
    column-gap: 12px;
  }

  .latest-card.compact .latest-thumb {
    width: 96px;
    height: 68px;
  }

  .latest-card.compact .latest-content {
    min-height: 68px !important;
  }

  .latest-card.compact h3 {
    font-size: 16px;
  }
}

/* The compact category label belongs to the thumbnail; date and title stay in the text column. */
.latest-card.compact .latest-content {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "date"
    "title";
  row-gap: 5px;
}

.latest-card.compact .compact-date {
  justify-self: start;
  font-size: 11px;
}

.latest-card.compact h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.18;
}

.latest-card.compact > .compact-post-tag {
  position: absolute;
  top: 14px;
  left: 6px;
  z-index: 3;
  max-width: 90px;
  overflow: hidden;
  margin: 0;
  padding: 5px 7px;
  color: #ffffff;
  background: var(--tag-color, #0c6fc7);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .latest-card.compact h3 {
    font-size: 14px;
  }

  .latest-card.compact > .compact-post-tag {
    top: 13px;
    max-width: 78px;
    padding: 4px 6px;
    font-size: 8px;
  }
}

/* Three compact stories fill the same vertical measure as the lead story. */
.latest-side {
  grid-auto-rows: 100px;
  gap: 9px;
}

.latest-card.compact {
  height: 100px;
  min-height: 100px;
  background: transparent;
  border-bottom-color: #dbe5f1;
}

.latest-card.compact .latest-thumb {
  width: 102px;
  height: 72px;
}

.latest-card.compact .latest-content {
  min-height: 72px !important;
}

.latest-card.compact:hover,
.latest-card.compact:focus-visible {
  background: rgba(255, 255, 255, 0.48);
}

@media (max-width: 480px) {
  .latest-side {
    grid-auto-rows: 94px;
  }

  .latest-card.compact {
    height: 94px;
    min-height: 94px;
  }

  .latest-card.compact .latest-thumb {
    width: 88px;
    height: 64px;
  }

  .latest-card.compact .latest-content {
    min-height: 64px !important;
  }
}

/* Keep the secondary list compact even when the lead card is taller. */
.latest-side {
  align-content: start;
  grid-auto-rows: 104px;
  gap: 10px;
}

.latest-card.compact {
  height: 104px;
  min-height: 104px;
  grid-template-columns: 108px minmax(0, 1fr) !important;
  column-gap: 12px;
  align-self: start;
}

.latest-card.compact .latest-thumb {
  width: 108px;
  height: 76px;
}

.latest-card.compact .latest-content {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 76px !important;
  column-gap: 8px;
  row-gap: 6px;
}

.latest-card.compact .post-tag {
  min-width: 0;
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.latest-card.compact .compact-date {
  grid-area: date;
  align-self: center;
  justify-self: end;
  color: #75849b;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.latest-card.compact h3 {
  font-size: 16px;
  line-height: 1.18;
}

@media (max-width: 480px) {
  .latest-side {
    grid-auto-rows: 96px;
  }

  .latest-card.compact {
    height: 96px;
    min-height: 96px;
    grid-template-columns: 92px minmax(0, 1fr) !important;
  }

  .latest-card.compact .latest-thumb {
    width: 92px;
    height: 66px;
  }

  .latest-card.compact .latest-content {
    min-height: 66px !important;
  }

  .latest-card.compact h3 {
    font-size: 15px;
  }
}

/* Final compact-list geometry: three rows match the lead card without stretching. */
.latest-side {
  display: grid;
  align-content: start;
  grid-auto-rows: 100px;
  gap: 9px;
}

.latest-card.compact {
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr) !important;
  column-gap: 12px;
  align-items: center;
  align-self: start;
  height: 100px;
  min-height: 100px;
  padding: 10px 0;
  color: var(--blue);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #dbe5f1;
  border-radius: 0;
  box-shadow: none;
}

.latest-card.compact::before {
  display: none;
}

.latest-card.compact .latest-thumb {
  display: block;
  order: -1;
  width: 102px;
  min-height: 0 !important;
  height: 72px;
  border-radius: 8px;
  background: var(--post-bg, linear-gradient(135deg, #b8c7d8, #48698f));
  background-position: center;
  background-size: cover;
}

.latest-card.compact .latest-content {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "date"
    "title";
  align-content: center;
  min-height: 72px !important;
  padding: 0 8px 0 0 !important;
  row-gap: 5px;
}

.latest-card.compact .compact-date {
  grid-area: date;
  align-self: center;
  justify-self: start;
  color: #75849b;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.latest-card.compact h3 {
  grid-area: title;
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #102f63;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.18;
  text-shadow: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.latest-card.compact > .compact-post-tag {
  position: absolute;
  top: 14px;
  left: 6px;
  z-index: 3;
  max-width: 90px;
  overflow: hidden;
  margin: 0;
  padding: 5px 7px;
  color: #ffffff;
  background: var(--tag-color, #0c6fc7);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.latest-card.compact:hover,
.latest-card.compact:focus-visible {
  background: rgba(255, 255, 255, 0.48);
  border-color: #cfdeed;
  box-shadow: none;
  transform: translateX(3px);
}

@media (max-width: 480px) {
  .latest-side {
    grid-auto-rows: 94px;
  }

  .latest-card.compact {
    grid-template-columns: 88px minmax(0, 1fr) !important;
    column-gap: 10px;
    height: 94px;
    min-height: 94px;
  }

  .latest-card.compact .latest-thumb {
    width: 88px;
    height: 64px;
  }

  .latest-card.compact .latest-content {
    min-height: 64px !important;
  }

  .latest-card.compact h3 {
    font-size: 14px;
  }

  .latest-card.compact > .compact-post-tag {
    top: 13px;
    max-width: 78px;
    padding: 4px 6px;
    font-size: 8px;
  }
}

/* Final label placement and text fit for the compact news list. */
.latest-card.compact {
  grid-template-columns: 94px minmax(0, 1fr) !important;
}

.latest-card.compact .latest-thumb {
  position: relative;
  width: 94px;
  height: 66px;
  overflow: hidden;
}

.latest-card.compact .latest-thumb[data-category]::after {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 1;
  max-width: 80px;
  overflow: hidden;
  padding: 5px 7px;
  color: #ffffff;
  background: var(--tag-color, #0c6fc7);
  border-radius: 999px;
  content: attr(data-category);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.latest-card.compact h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.15;
  -webkit-line-clamp: 3;
}

@media (max-width: 480px) {
  .latest-card.compact {
    grid-template-columns: 84px minmax(0, 1fr) !important;
  }

  .latest-card.compact .latest-thumb {
    width: 84px;
    height: 60px;
  }

  .latest-card.compact .latest-thumb[data-category]::after {
    top: 5px;
    left: 5px;
    max-width: 72px;
    padding: 4px 5px;
    font-size: 8px;
  }

  .latest-card.compact h3 {
    font-size: 13px;
  }
}

/* Article detail: readable introduction, metadata and latest-content sidebar. */
.article-summary {
  margin-bottom: 18px;
  color: #244a73;
  font-style: italic;
  font-weight: 500;
  line-height: 1.7;
}

.article-meta {
  gap: 10px;
  margin-bottom: 24px;
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  gap: 7px;
  padding: 0 11px;
  color: #375c87;
  background: #edf4fb;
  border: 1px solid #d9e6f3;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.article-meta-icon {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  color: var(--article-color);
}

.article-meta-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.article-sidebar {
  gap: 16px;
  top: 24px;
}

.article-side-box {
  padding: 18px;
  background: #ffffff;
  border-color: #d8e4f0;
  border-radius: 8px;
}

.article-side-box h2 {
  margin-bottom: 15px;
  color: #103b7c;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0;
}

.article-share {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.article-share a,
.article-share button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  color: #ffffff;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.article-share a:hover,
.article-share a:focus-visible,
.article-share button:hover,
.article-share button:focus-visible {
  box-shadow: 0 7px 14px rgba(10, 47, 98, 0.18);
  outline: 0;
  transform: translateY(-2px);
}

.article-share-facebook { background: #1877f2; }
.article-share-x { background: #050505; }
.article-share-linkedin { background: #0a66c2; }
.article-share-whatsapp { background: #25d366; }
.article-share-copy { color: #0b4389 !important; background: #edf4fb; }
.article-share-copy.is-copied { color: #ffffff !important; background: #139452; }

.article-share svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.article-share-facebook svg path,
.article-share-linkedin svg path,
.article-share-whatsapp svg path,
.article-share-x svg path:first-child {
  fill: currentColor;
  stroke: none;
}

.article-share-x svg path:last-child,
.article-share-copy svg path {
  fill: none;
  stroke: currentColor;
}

.article-latest-box {
  padding-bottom: 15px;
}

.article-side-posts {
  display: grid;
}

.article-side-post {
  grid-template-columns: 74px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 76px;
  gap: 2px 10px;
  padding: 10px 0;
}

.article-side-post:first-child {
  padding-top: 0;
}

.article-side-post span {
  width: 74px;
  height: 56px;
  background: var(--side-bg);
  border-radius: 6px;
}

.article-side-post strong {
  align-self: end;
  color: #153d79;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
}

.article-side-post small {
  align-self: start;
  color: #627d9e;
  font-size: 11px;
  font-weight: 600;
}

.article-side-empty {
  margin: 0;
  color: #5d7593;
  font-size: 13px;
  line-height: 1.55;
}

.article-side-link {
  gap: 6px;
  margin-top: 14px;
  color: #123f7d;
  font-size: 12px;
}

.article-related-section {
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid #dbe5f1;
}

.article-detail-page {
  margin-bottom: 64px !important;
}

.article-related-section > h2 {
  margin: 0 0 16px;
  color: #103b7c;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
}

.article-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.article-related-card {
  min-height: 0;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
}

.article-related-card > span {
  height: 132px;
  background: var(--related-bg);
  border-radius: 6px;
}

.article-related-card small {
  align-self: auto;
  color: var(--article-color);
  font-size: 10px;
}

.article-related-card strong {
  min-height: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.article-related-card em {
  color: #627d9e;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}

.article-related-card,
.article-side-post {
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.article-related-card:hover,
.article-related-card:focus-visible {
  border-color: #a9c9e8;
  box-shadow: 0 12px 24px rgba(10, 47, 98, 0.1);
  outline: 0;
  transform: translateY(-4px);
}

.article-related-card:hover > span,
.article-related-card:focus-visible > span {
  filter: saturate(1.06) contrast(1.03);
}

.article-side-post {
  margin-inline: -6px;
  padding-inline: 6px;
  border-radius: 6px;
}

.article-side-post:hover,
.article-side-post:focus-visible {
  background: #f2f7fc;
  border-bottom-color: #cfe0f0;
  outline: 0;
  transform: translateX(3px);
}

/* Keep the shared CTA's footer spacing identical on article detail pages. */
.article-detail-page {
  margin-bottom: 0 !important;
}

.article-detail-page > .work-bottom-cta {
  margin-top: var(--mechad-section-gap) !important;
  margin-bottom: var(--mechad-footer-gap) !important;
}

@media (max-width: 900px) {
  .article-sidebar {
    grid-template-columns: 1fr !important;
  }

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

@media (max-width: 560px) {
  .article-main h1 {
    font-size: 30px;
  }

  .article-meta-item {
    min-height: 32px;
    padding-inline: 9px;
    font-size: 11px;
  }

  .article-related-grid {
    grid-template-columns: 1fr;
  }
}

/* MediaCH now uses the page-level hero title and text from the editor. */
.media-hero-logo {
  display: none;
}

/* Keep the statute cover compact while preserving a formal document proportion. */
.statute-cover {
  align-self: start;
  min-height: 0;
  aspect-ratio: 4 / 5;
  padding: 30px 34px;
}

.statute-about {
  min-height: 0;
}

.statute-about p {
  font-weight: 400;
}

@media (max-width: 760px) {
  .statute-cover {
    min-height: 0;
    padding: 28px;
  }
}

/* MediaCH establishment and purpose note, managed from the page editor. */
.media-about-section {
  margin-top: var(--mechad-section-gap) !important;
  margin-bottom: var(--mechad-section-gap) !important;
}

.media-about-card {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 28px 34px;
  background: #ffffff;
  border: 1px solid #d7e4f4;
  border-left: 4px solid #1784d5;
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(9, 47, 114, 0.06);
}

.media-about-card h2 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 700;
}

.media-about-card > p {
  max-width: 100%;
  margin: 0;
  color: #365777;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

.media-about-card > p + p {
  margin-top: 18px;
}

@media (max-width: 760px) {
  .media-about-card {
    padding: 22px;
  }

  .media-about-card h2 {
    font-size: 20px;
  }

  .media-about-card p {
    font-size: 15px;
  }
}

/* Textarea fields: preserve both line breaks and deliberately blank lines. */
.mechad-rich-text {
  max-width: 100%;
}

.mechad-rich-text > :first-child {
  margin-top: 0 !important;
}

.mechad-rich-text > :last-child {
  margin-bottom: 0 !important;
}

.mechad-rich-text > p + p {
  margin-top: 1em !important;
}

.media-about-card .mechad-rich-text {
  max-width: 100%;
  color: #365777;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

@media (max-width: 760px) {
  .media-about-card .mechad-rich-text {
    font-size: 15px;
  }
}

/* Membership application page: consistent action, process and contact layout. */
.membership-methods {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.membership-method-card {
  min-height: 100%;
  padding: 24px;
}

.membership-method-card .mechad-rich-text {
  color: #345b78;
  font-size: 14px;
  line-height: 1.65;
}

.membership-status-note {
  margin: 18px 0 0 !important;
  padding: 13px 15px;
  color: #315e91 !important;
  background: #eaf3ff;
  border-radius: 6px;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.membership-process {
  margin-top: 28px;
  margin-bottom: 28px;
  padding: 26px 28px;
  background: #ffffff;
}

.membership-process > h2 {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 0 28px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.membership-process > h2::after {
  flex: 1 1 auto;
  height: 1px;
  background: #cddcf0;
  content: "";
}

.membership-step-grid article {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 166px;
  padding: 8px 18px 10px;
  text-align: center;
}

.membership-step-grid .membership-step-number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(8, 49, 113, 0.14);
  font-size: 17px;
  font-weight: 700;
}

.membership-step-grid article + article::before {
  top: 31px;
  left: -25%;
  width: 50%;
  border-color: #b8cdf0;
}

.membership-step-grid h3 {
  margin-bottom: 10px;
  font-size: 15px;
}

.membership-step-grid .mechad-rich-text {
  color: #345b78;
  font-size: 13px;
  line-height: 1.58;
}

.membership-delivery {
  margin-top: 0;
  padding: 28px 30px;
}

.membership-delivery h2 {
  margin-bottom: 8px;
  font-size: 20px;
}

.membership-delivery-intro {
  margin: 0 0 22px !important;
  font-size: 14px !important;
}

.membership-contact-cards span {
  min-height: 106px;
  padding: 18px;
  font-size: 13px;
  line-height: 1.55;
}

.membership-contact-cards b {
  margin-bottom: 2px;
  font-size: 14px;
}

.membership-contact-cards a {
  color: #345b78;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.membership-contact-cards a:hover,
.membership-contact-cards a:focus-visible {
  color: var(--blue);
  text-decoration: underline;
}

.membership-warning {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 0;
  padding: 22px 26px;
}

.membership-warning h2 {
  font-size: 17px;
}

.membership-warning li {
  font-size: 12px;
}

.membership-quick-links {
  margin-top: 22px;
  margin-bottom: 10px;
}

.membership-bottom-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 26px;
  margin-top: 28px;
}

.membership-bottom-grid .membership-delivery,
.membership-bottom-grid .membership-warning {
  min-height: 100%;
}

.membership-button.is-disabled {
  cursor: not-allowed;
  opacity: 0.84;
  user-select: none;
}

.membership-inline-link {
  gap: 8px;
  text-decoration: none;
}

.membership-inline-link:hover,
.membership-inline-link:focus-visible {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .membership-methods,
  .membership-bottom-grid,
  .membership-contact-cards,
  .membership-quick-links {
    grid-template-columns: 1fr;
  }

  .membership-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 0;
  }

  .membership-step-grid article + article::before {
    display: none;
  }
}

@media (max-width: 560px) {
  .membership-method-card,
  .membership-process,
  .membership-delivery,
  .membership-warning {
    padding: 20px;
  }

  .membership-method-card {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
  }

  .membership-card-icon {
    width: 46px;
    height: 46px;
  }

  .membership-card-icon.edevlet {
    width: 50px;
    height: auto;
  }

  .membership-process > h2 {
    gap: 14px;
    font-size: 19px;
  }

  .membership-step-grid {
    grid-template-columns: 1fr;
  }

  .membership-step-grid article {
    min-height: 0;
  }
}

/* Support page sidebar: restrained, readable information cards. */
.support-sidebar {
  gap: 20px;
}

.support-side-card {
  padding: 26px 28px;
  border-color: #d7e3f1;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(9, 47, 114, 0.045);
}

.support-side-card h2 {
  margin: 0 0 10px;
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}

.support-side-card .mechad-rich-text,
.support-side-card .mechad-rich-text p {
  margin: 0;
  color: #365a7f;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.58;
}

.support-side-card .mechad-rich-text p + p {
  margin-top: 12px;
}

.support-contact-button {
  min-height: 40px;
  margin-top: 18px;
  padding: 0 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.support-page > .support-faq-section {
  margin-top: var(--mechad-section-gap) !important;
  margin-bottom: var(--mechad-footer-gap) !important;
}

@media (max-width: 560px) {
  .support-side-card {
    padding: 22px 24px;
  }
}
