:root {
  --ink: #182018;
  --muted: #5e675d;
  --paper: #fffdf7;
  --soft: #f5f2e9;
  --line: #e3ddce;
  --red: #d51f2a;
  --gold: #f5bd18;
  --green: #0a8b57;
  --black: #111111;
  --blue: #0b4f8f;
  --shadow: 0 24px 70px rgba(24, 32, 24, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

html[dir="rtl"] body {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  text-align: right;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 253, 247, 0.92);
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--black), var(--red), var(--gold), var(--green)) 1;
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 220px;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.brand strong {
  display: block;
  font-size: 1rem;
}

.brand-ar {
  font-family: "Arial", "Tahoma", "Segoe UI", sans-serif;
  font-size: 1.24rem;
  font-weight: 900;
  line-height: 1;
  color: #29255f;
  text-rendering: geometricPrecision;
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 0.76rem;
  line-height: 1.25;
  margin-top: 4px;
}

.footer-brand span[lang="ar"] {
  color: #29255f;
  font-family: "Arial", "Tahoma", "Segoe UI", sans-serif;
  font-weight: 900;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.5vw, 22px);
  font-size: 0.92rem;
  font-weight: 700;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  padding: 10px 0;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--green);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--green));
  transition: transform 180ms ease;
}

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

html[dir="rtl"] .main-nav a::after {
  transform-origin: right;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.language-select {
  min-width: 138px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 10px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(213, 31, 42, 0.08), rgba(245, 189, 24, 0.12), rgba(10, 139, 87, 0.08)),
    white;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(24, 32, 24, 0.08);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: 140px clamp(18px, 5vw, 76px) 88px;
}

.hero-slider,
.hero-slider img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 850ms ease, transform 6000ms ease;
}

.hero-slider img.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(213, 31, 42, 0.24), rgba(245, 189, 24, 0.16) 36%, rgba(10, 139, 87, 0.28)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.42) 45%, rgba(0, 0, 0, 0.14)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 48%);
}

.hero-slider {
  z-index: -2;
}

.hero-content {
  max-width: 880px;
  color: white;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  line-height: 0.96;
  max-width: 920px;
}

.hero p:not(.eyebrow) {
  max-width: 670px;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.55;
}

.hero-actions,
.slider-controls,
.member-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: linear-gradient(135deg, var(--red), #a81018);
  color: white;
  box-shadow: 0 14px 34px rgba(213, 31, 42, 0.32);
}

.button.gold {
  background: linear-gradient(135deg, var(--gold), #e49a00);
  color: var(--black);
  box-shadow: 0 14px 34px rgba(245, 189, 24, 0.24);
}

.button.ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.1);
}

.slider-controls {
  position: absolute;
  right: clamp(18px, 5vw, 76px);
  bottom: 34px;
  color: white;
}

html[dir="rtl"] .slider-controls {
  right: auto;
  left: clamp(18px, 5vw, 76px);
}

.slider-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.34);
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
}

.slider-dots {
  display: flex;
  gap: 7px;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
}

.slider-dots button.is-active {
  background: var(--gold);
}

.color-ribbon {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  height: 12px;
}

.color-ribbon span:nth-child(1) {
  background: var(--black);
}

.color-ribbon span:nth-child(2) {
  background: var(--red);
}

.color-ribbon span:nth-child(3) {
  background: var(--gold);
}

.color-ribbon span:nth-child(4) {
  background: var(--green);
}

.page-main {
  padding-top: 80px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(92px, 12vw, 150px) clamp(18px, 5vw, 76px) clamp(56px, 8vw, 92px);
  color: white;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/images/brand/logo.jpg");
  background-size: 360px;
  background-position: right -50px center;
  background-repeat: no-repeat;
  opacity: 0.12;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--black), var(--red), var(--gold), var(--green));
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.3rem, 6vw, 5rem);
  line-height: 1;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  font-size: 1.15rem;
  line-height: 1.65;
}

.page-hero .eyebrow {
  color: white;
}

.page-hero-green {
  background: linear-gradient(135deg, #075f3d, var(--green));
}

.page-hero-red {
  background: linear-gradient(135deg, #911018, var(--red));
}

.page-hero-gold {
  color: var(--black);
  background: linear-gradient(135deg, #f8ce45, var(--gold));
}

.page-hero-gold .eyebrow {
  color: var(--black);
}

.page-hero-black {
  background: linear-gradient(135deg, var(--black), #343434);
}

.page-hero-contact {
  background:
    radial-gradient(circle at right top, rgba(245, 189, 24, 0.24), transparent 36%),
    linear-gradient(135deg, #064e35, #0b7f55 58%, #083f31);
}

.section {
  padding: clamp(60px, 8vw, 110px) clamp(18px, 5vw, 76px);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
}

.row-heading {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.news-grid,
.split-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

.feature-panel,
.office-panel,
.contact-form,
.program-grid article,
.info-columns article,
.member-card,
.mission-card {
  position: relative;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.accent-red,
.accent-gold,
.accent-green,
.accent-black {
  border-top: 6px solid var(--green);
}

.accent-red {
  border-top-color: var(--red);
}

.accent-gold {
  border-top-color: var(--gold);
}

.accent-green {
  border-top-color: var(--green);
}

.accent-black {
  border-top-color: var(--black);
}

.feature-panel {
  padding: clamp(24px, 4vw, 44px);
  font-size: 1.1rem;
  line-height: 1.75;
}

.office-panel {
  padding: 26px;
}

.office-panel h3,
.program-grid h3,
.info-columns h3 {
  margin: 0 0 16px;
}

.org-chart {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.org-card {
  position: relative;
  width: 100%;
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--green);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(10, 139, 87, 0.08), rgba(245, 189, 24, 0.08)),
    white;
  text-align: center;
  box-shadow: 0 12px 30px rgba(24, 32, 24, 0.09);
}

.org-card::before {
  content: "";
  position: absolute;
  top: -21px;
  left: 50%;
  width: 2px;
  height: 16px;
  background: var(--line);
  transform: translateX(-50%);
}

.org-chart > .org-card:first-child::before {
  display: none;
}

.org-card span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.org-card strong {
  font-size: 0.98rem;
  line-height: 1.28;
}

.org-card-honor {
  border-top-color: var(--gold);
  max-width: 270px;
}

.org-card-president {
  border-top-color: var(--red);
  max-width: 300px;
}

.org-branch {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  padding-top: 18px;
}

.org-branch::before {
  content: "";
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 2px;
  background: var(--line);
}

dl {
  margin: 0;
}

.office-panel div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.stats-band {
  background: linear-gradient(90deg, var(--black), #202020);
  color: white;
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
}

.stat {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  background: linear-gradient(180deg, #242b24, #171b17);
  border-top: 5px solid var(--gold);
}

.stat:nth-child(2n) {
  border-top-color: var(--red);
}

.stat:nth-child(3n) {
  border-top-color: var(--green);
}

.stat strong {
  font-size: clamp(2rem, 4vw, 3rem);
}

.stat span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.about-section,
.language-section {
  background:
    linear-gradient(135deg, rgba(245, 189, 24, 0.18), rgba(10, 139, 87, 0.12)),
    var(--soft);
}

.split-layout p {
  margin-top: 0;
  font-size: 1.08rem;
  line-height: 1.8;
}

.pill-list,
.resource-list,
.partner-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-list span,
.resource-list span,
.partner-strip span {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  padding: 12px 16px;
  font-weight: 800;
}

.pill-list span:nth-child(3n + 1),
.resource-list span:nth-child(3n + 1),
.partner-strip span:nth-child(3n + 1) {
  border-color: rgba(213, 31, 42, 0.35);
  color: var(--red);
}

.pill-list span:nth-child(3n + 2),
.resource-list span:nth-child(3n + 2),
.partner-strip span:nth-child(3n + 2) {
  border-color: rgba(245, 189, 24, 0.55);
  color: #9b6a00;
}

.pill-list span:nth-child(3n),
.resource-list span:nth-child(3n),
.partner-strip span:nth-child(3n) {
  border-color: rgba(10, 139, 87, 0.4);
  color: var(--green);
}

.objectives-list {
  margin-top: 36px;
}

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

.program-grid article,
.info-columns article {
  padding: 28px;
  box-shadow: none;
}

.program-grid span {
  color: var(--red);
  font-weight: 900;
}

.program-grid article:nth-child(2) span,
.info-columns article:nth-child(3) h3 {
  color: #9b6a00;
}

.program-grid article:nth-child(3) span,
.info-columns article:nth-child(1) h3 {
  color: var(--green);
}

.program-grid p,
.info-columns p {
  color: var(--muted);
  line-height: 1.65;
}

.members-section {
  background: white;
}

.member-tools input {
  width: min(320px, 100%);
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  font: inherit;
}

.member-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  box-shadow: none;
  border-top: 6px solid var(--green);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.member-card:nth-child(4n + 1) {
  border-top-color: var(--red);
}

.member-card:nth-child(4n + 2) {
  border-top-color: var(--gold);
}

.member-card:nth-child(4n + 3) {
  border-top-color: var(--green);
}

.member-card:nth-child(4n) {
  border-top-color: var(--black);
}

.member-card img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--soft);
  transition: transform 180ms ease;
}

.member-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.member-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.member-summary {
  min-width: 0;
}

.member-card:hover,
.member-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(24, 32, 24, 0.16);
  background:
    linear-gradient(135deg, rgba(245, 189, 24, 0.08), rgba(10, 139, 87, 0.08)),
    white;
}

.member-card:hover img,
.member-card:focus-visible img {
  transform: scale(1.05);
}

.member-card:focus-visible {
  outline: 3px solid rgba(245, 189, 24, 0.74);
  outline-offset: 3px;
}

.member-detail-section {
  background:
    linear-gradient(135deg, rgba(10, 139, 87, 0.1), rgba(245, 189, 24, 0.12)),
    var(--paper);
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.back-link:hover {
  color: var(--red);
}

.member-profile {
  display: grid;
  grid-template-columns: minmax(240px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: stretch;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-top: 6px solid var(--green);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.member-profile-photo {
  min-height: 360px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
}

.member-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-profile-info {
  min-width: 0;
}

.member-profile-info h2 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.member-profile-info dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.member-profile-info dl div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(245, 242, 233, 0.58);
}

.member-profile-info dd {
  overflow-wrap: anywhere;
}

.member-bio {
  margin-top: 18px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(10, 139, 87, 0.08);
}

.member-bio h3 {
  margin: 0 0 8px;
}

.member-bio p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.member-profile-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.member-nav-card {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: 8px;
  background: white;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.member-nav-card:nth-child(2) {
  text-align: right;
  border-top-color: var(--red);
}

html[dir="rtl"] .member-nav-card:nth-child(2) {
  text-align: left;
}

.member-nav-card:hover,
.member-nav-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(24, 32, 24, 0.14);
  background:
    linear-gradient(135deg, rgba(245, 189, 24, 0.1), rgba(10, 139, 87, 0.08)),
    white;
}

.member-nav-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.member-nav-card strong {
  line-height: 1.35;
}

.member-empty {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.study-section {
  background:
    linear-gradient(90deg, rgba(10, 139, 87, 0.14), rgba(245, 189, 24, 0.18), rgba(213, 31, 42, 0.08)),
    var(--paper);
}

.partner-strip {
  align-items: center;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(213, 31, 42, 0.18), rgba(10, 139, 87, 0.2)),
    var(--black);
  color: white;
}

.contact-section .eyebrow {
  color: var(--gold);
}

.contact-section a {
  color: white;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  color: var(--ink);
}

.mission-card {
  padding: clamp(24px, 4vw, 38px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  font: inherit;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 76px);
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.04), rgba(213, 31, 42, 0.06), rgba(245, 189, 24, 0.1), rgba(10, 139, 87, 0.08)),
    var(--paper);
  border-top: 5px solid transparent;
  border-image: linear-gradient(90deg, var(--black), var(--red), var(--gold), var(--green)) 1;
  color: var(--muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 720px;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.footer-brand p {
  margin: 0;
  line-height: 1.55;
}

.footer-flags {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(227, 221, 206, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.footer-flags img {
  width: 40px;
  height: 27px;
  object-fit: cover;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 4px;
  background: white;
}

.footer-flags i {
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--red));
}

@media (max-width: 1120px) {
  .main-nav {
    position: fixed;
    top: 80px;
    right: 18px;
    left: 18px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

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

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

@media (max-width: 760px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .language-select {
    min-width: 104px;
  }

  .hero {
    min-height: 86vh;
    padding-bottom: 112px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .slider-controls {
    left: 18px;
    right: auto;
  }

  html[dir="rtl"] .slider-controls {
    right: 18px;
    left: auto;
  }

  .news-grid,
  .split-layout,
  .contact-layout,
  .program-grid,
  .info-columns,
  .members-grid {
    grid-template-columns: 1fr;
  }

  .org-branch {
    grid-template-columns: 1fr;
  }

  .org-branch::before {
    left: 50%;
    right: auto;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
  }

  .row-heading {
    display: block;
  }

  .member-tools {
    margin-top: 18px;
  }

  .member-profile,
  .member-profile-info dl,
  .member-profile-nav {
    grid-template-columns: 1fr;
  }

  .member-profile-photo {
    min-height: 300px;
  }

  .member-nav-card:nth-child(2) {
    text-align: left;
  }

  .stats-band {
    grid-template-columns: 1fr;
  }

  .stat {
    min-height: 118px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-flags {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}
