/* ========== Global ========== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #0f172a;
  background-color: #020617;
  line-height: 1.6;
}

/* Equipment page hero text color */
.page-hero.small-hero h1,
.page-hero.small-hero p {
  color: #e5e7eb;   /* light gray, same vibe as index */
}


/* Equipment page text colors */
.equipment-item,
.equipment-text h2,
.equipment-text p,
.equipment-text li {
  color: #e5e7eb;  /* light gray, readable on black */
}

/* if your list markers are too dark */
.equipment-text ul {
  color: #e5e7eb;
}


/* Simple container width */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== Header & Navigation ========== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.1),
    transparent
  );
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}

.logo {
  display: block;
  text-decoration: none;
  color: #e5e7eb;
}

/* For text-based logo (used on subpages) */
.logo-main {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.logo-sub {
  display: block;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* For image logo (used on index hero) */
.logo-image {
  display: block;
  height: 56px; /* adjust if needed */
  width: auto;
}

/* Mission patch + tiles row */
.mission-patch-section {
  background: #000;
  padding: 3rem 0;
}

/* Layout: patch in the middle, tiles left & right */
.mission-patch-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 960px;
  margin: 0 auto;
}

/* Center patch */
.mission-patch-center {
  display: flex;
  justify-content: center;
}

/* Patch size (smaller than before) */
.mission-patch-wrapper {
  width: min(300px, 30vw);
  height: min(300px, 30vw);

  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.85);
  background: #000;
}

.mission-patch-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(128, 128, 128, 0.9);
}

/* Side columns with tiles */
.mission-patch-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

/* Tiles – all four same size */
.mission-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  width: clamp(190px, 18vw, 240px);  /* same width left/right */
  height: 72px;                      /* same height */

  padding: 0.75rem 1.25rem;
  border-radius: 20px;

  background: linear-gradient(135deg, #020617, #111827);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.8);

  text-decoration: none;
  color: #e5e7eb;

  text-transform: uppercase;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: 0.16em;

  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.mission-tile span {
  position: relative;
  z-index: 1;
}

/* Hover effect */
.mission-tile:hover {
  background: linear-gradient(135deg, #020617, #1e293b);
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.95);
}

/* Mobile: stack vertically, keep 2x2 feel for tiles */
@media (max-width: 768px) {
  .mission-patch-layout {
    flex-direction: column;
  }

  .mission-patch-column {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .mission-tile {
    width: min(46%, 220px);
    height: 64px;
    margin: 0.25rem;
  }
}


/* Bigger typography for the "About the group" block */
.section.about-group .section-header h2 {
  font-size: 2.1rem;      /* bigger title */
}

.section.about-group .section-header p,
.section.about-group .research-text {
  font-size: 1.05rem;     /* bigger body text */
  line-height: 1.7;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.95rem;
}

.site-nav a {
  color: #e5e7eb;
  text-decoration: none;
  position: relative;
  transition: color 0.15s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.2s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.8);
  background: rgba(15, 23, 42, 0.4);
}

/* Mobile nav toggle (checkbox hack) */

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 1rem;
  height: 2px;
  background: #e5e7eb;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-label span::before {
  top: -0.3rem;
}

.nav-toggle-label span::after {
  top: 0.3rem;
}

.nav-toggle:checked + .nav-toggle-label span {
  transform: rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label span::before {
  transform: rotate(-90deg);
  top: 0;
}

.nav-toggle:checked + .nav-toggle-label span::after {
  opacity: 0;
}

/* ========== Hero (Yeşilbaş-style full screen) ========== */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;

  /* background image + gradient overlay */
  background-image: linear-gradient(
      to bottom right,
      rgba(255, 115, 64, 0.75),
      rgba(37, 99, 235, 0.75)
    ),
    url("img/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* optional extra class, currently no additional rules */
.hero-full {
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.7));
}

.hero-center {
  position: relative;
  z-index: 1;
  padding: 0 1.5rem;
}

.hero-main-title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 4vw + 1rem, 3.8rem);
  line-height: 1.15;
  margin: 0 0 1.1rem;
}

.hero-subtitle {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 400;
  color: #e5e7eb;
}

/* Old hero layout helpers (safe to keep, may be reused later) */

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: #7dd3fc;
  margin-bottom: 0.5rem;
}

.hero h1 {
  margin: 0;
}

.hero-lead {
  font-size: 0.98rem;
  max-width: 34rem;
  color: #d1d5db;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero visual (unused on index now, but still defined) */

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.hero-image {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.7);
  background: #020617;
}

.hero-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.hero-highlight {
  background: linear-gradient(135deg, #0f172a, #020617);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.85rem;
}

.hero-highlight-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: #93c5fd;
  margin: 0 0 0.45rem;
}

.hero-highlight ul {
  list-style: disc;
  padding-left: 1.1rem;
  margin: 0;
  color: #e5e7eb;
}

/* ========== Buttons ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease,
    border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #38bdf8, #a855f7);
  color: #020617;
  box-shadow: 0 15px 30px rgba(56, 189, 248, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 35px rgba(56, 189, 248, 0.45);
}

.btn-ghost {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.8);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.8);
}

/* ========== Pillars / Quick Links ========== */

.pillars {
  background: #020617;
  padding: 2.8rem 0 2.5rem;
}

.pillars-inner {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar-card {
  background: radial-gradient(circle at top, #0f172a, #020617);
  border-radius: 1.2rem;
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
  font-size: 0.9rem;
}

.pillar-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.pillar-link {
  display: inline-flex;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #7dd3fc;
  text-decoration: none;
}

/* ========== Sections ========== */

.section {
  background: #020617;
  color: #e5e7eb;
  padding: 3.25rem 0;
}

.section-alt {
  background: #020617;
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, #111827, transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}

.section-inner {
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.section-header.align-left {
  text-align: left;
  margin-left: 0;
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: 1.6rem;
}

.section-header p {
  margin: 0;
  font-size: 0.95rem;
  color: #cbd5f5;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Research text */

.research-text {
  font-size: 0.95rem;
}

.research-text h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.research-text ul {
  padding-left: 1.1rem;
}

/* ========== People ========== */

.people-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.person-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1.2rem;
  padding: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.9rem;
}

.person-avatar {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.person-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-role {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

.person-text {
  margin: 0;
  font-size: 0.88rem;
}

.section-cta {
  margin-top: 1.8rem;
  text-align: center;
}

/* ========== Publications ========== */

.pub-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  font-size: 0.9rem;
}

.pub-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(51, 65, 85, 0.8);
}

.pub-title {
  display: block;
}

.pub-meta {
  display: block;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* ========== News ========== */

.news-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.news-card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 1.2rem;
  padding: 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.9rem;
}

.news-date {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  color: #93c5fd;
}

/* ========== Join Section ========== */

.join-section {
  background: radial-gradient(circle at top, #0b1120, #020617);
}

.join-inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
}

.join-text {
  font-size: 0.95rem;
}

.join-list {
  padding-left: 1.1rem;
  margin-bottom: 1.5rem;
}

.join-contact {
  font-size: 0.9rem;
  color: #d1d5db;
  margin-bottom: 1.5rem;
}

.join-email {
  font-family: monospace;
}

.join-visual {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.join-image {
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.8);
}

.join-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.join-caption {
  margin: 0;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* ========== Footer ========== */

.site-footer {
  background: #020617;
  border-top: 1px solid rgba(30, 64, 175, 0.8);
  padding: 1.2rem 0 1.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #64748b;
}

.footer-text a {
  color: #7dd3fc;
  text-decoration: none;
}

/* ========== Responsive ========== */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .pillars-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .join-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .header-inner {
    padding: 0.7rem 0;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: rgba(15, 23, 42, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.5rem 1rem;
    gap: 0.6rem;
    transform: translateY(-200%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .nav-toggle-label {
    display: inline-flex;
  }

  .nav-toggle:checked ~ .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .pillars-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .people-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-main-title {
    font-size: clamp(2.1rem, 7vw, 2.6rem);
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }
}

/* ===== Equipment page ===== */

.page-hero.small-hero {
  padding: 4rem 0 2rem;
  background: radial-gradient(circle at top, #020617, #000000 60%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.page-hero.small-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.page-hero.small-hero p {
  max-width: 48rem;
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Main equipment list section */
.equipment-section {
  background: #000;
  padding: 3rem 0 4rem;
}

.equipment-list {
  max-width: 1120px;
  margin: 0 auto;
}

/* Single row: image left, text right */
.equipment-item {
  display: flex;
  gap: 2.5rem;
  align-items: stretch;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(30, 64, 175, 0.4);
}

.equipment-item:first-of-type {
  border-top: none;
}

.equipment-image {
  flex: 0 0 min(420px, 45vw);
  border-radius: 1.25rem;
  overflow: hidden;
}

.equipment-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text column */
.equipment-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.equipment-text h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.equipment-text p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.equipment-text ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.93rem;
  line-height: 1.6;
}

/* Highlight current tab in nav (equipment) */
.site-nav a.nav-current {
  color: #e5e7eb;
  font-weight: 600;
  position: relative;
}

.site-nav a.nav-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #a855f7);
}

/* ===== Join CTA on index ===== */

.join-cta-section {
  background: #000;
  padding: 4rem 0 4.5rem;
}

.join-cta-card {
  max-width: 1120px;
  margin: 0 auto;
  border-radius: 1.75rem;
  overflow: hidden;

  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);

  /* NEW: soft bluish background */
  background: linear-gradient(
    135deg,
    #e6eefc 0%,
    #dde7ff 40%,
    #dbe9ff 100%
  );
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.75);
}


.join-cta-content {
  padding: 2.75rem 3rem;
  color: #0f172a; /* dark navy as base */
}

.join-cta-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: #4b5563; /* muted grey-blue */
  margin: 0 0 0.75rem;
}

.join-cta-title {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: #0f172a; /* dark navy heading */
}

.join-cta-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #1f2937; /* slightly lighter body text */
  max-width: 30rem;
  margin: 0 0 1.5rem;
}



.join-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;

  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #f9fafb;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;

  box-shadow: 0 14px 35px rgba(88, 28, 135, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.join-cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(88, 28, 135, 0.6);
  background: linear-gradient(135deg, #4338ca, #6d28d9);
}

/* Image side */
.join-cta-media {
  position: relative;
  min-height: 260px;
  overflow: hidden;
}

/* Image side: image fades to transparent on the left */
.join-cta-media {
  position: relative;
  min-height: 260px;
  overflow: hidden;

  /* same base as the card's bluish background so the fade matches */
  background: #e6eefc;
}

.join-cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.03);

  /* fade the IMAGE itself: left side transparent, right side opaque */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 1) 30%,
    rgba(0, 0, 0, 1) 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 1) 30%,
    rgba(0, 0, 0, 1) 100%
  );
}


/* Research overview image */
.research-overview img {
  width: 100%;
  display: block;
  border-radius: 1.5rem;
  margin-top: 1.5rem;
}

/* Two objectives with vertical divider */
.research-objectives-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: 2.5rem;
  align-items: flex-start;
}

.research-objective {
  /* reuse existing .research-text look if you like, or keep as is */
}

.research-objectives-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(
    to bottom,
    rgba(148, 163, 184, 0.0),
    rgba(148, 163, 184, 0.7),
    rgba(148, 163, 184, 0.0)
  );
  opacity: 0.9;
}

/* Images under each objective heading */
.research-objective-image {
  margin: 1rem 0 1.25rem;
}

.research-objective-image img {
  width: 100%;
  display: block;
  border-radius: 1.25rem;
}

/* Stack columns on mobile and hide divider */
@media (max-width: 768px) {
  .research-objectives-grid {
    grid-template-columns: 1fr;
    row-gap: 2.5rem;
  }

  .research-objectives-divider {
    display: none;
  }
}



/* Responsive: stack image above text on small screens */
@media (max-width: 768px) {
  .equipment-item {
    flex-direction: column;
    padding: 2rem 0;
  }

  .equipment-image {
    flex-basis: auto;
  }

  .equipment-text h2 {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .join-cta-card {
    grid-template-columns: 1fr;
  }

  .join-cta-content {
    padding: 2rem 1.75rem 2.25rem;
  }

  .join-cta-media {
    order: -1;          /* image on top, text below */
    min-height: 220px;
  }

  .join-cta-title {
    font-size: 1.6rem;
  }
}

.hero-mission-block {
  margin-top: 3rem;           /* distance below the subtitle */
}

/* Optional: keep it from getting too huge on wide screens */
.hero-mission-block .mission-patch-layout {
  max-width: 960px;
  margin: 0 auto;
}

