/* ─── Reset & Base ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #1a3a4e;
  --navy2:      #2a5068;
  --white:      #ffffff;
  --gray-light: #f5f6f8;
  --gray-mid:   #e2e4e8;
  --gray-text:  #6b7280;
  --accent:     #2e7fd4;
  --orange:     #E85020;
  --error:      #d94f4f;
  --success:    #2e9e5b;
  --radius:     6px;
  --shadow:     0 4px 24px rgba(26,58,78,.12);
}

body {
  font-family: 'Poppins', 'Proxima Nova', 'Proxima Nova Alt', Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

/* ─── Header ──────────────────────────────────────────── */
.site-header {
  background: var(--navy);
  padding: 0 5%;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 16px rgba(0,0,0,.35);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 180px;
  gap: 20px;
}

.site-logo { flex-shrink: 0; }
.site-logo img { height: 62px; width: auto; display: block; }

.site-logo-text {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.5px;
  white-space: nowrap;
}

/* ── Nav wrapper ── */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: flex-end;
}

/* ── Nav items (with dropdown support) ── */
.nav-item {
  position: relative;
}

.nav-item > a {
  display: block;
  color: rgba(255,255,255,.88);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 11px;
  border-radius: 4px;
  transition: background .18s, color .18s;
  white-space: nowrap;
  text-decoration: none;
}

.nav-item > a:hover,
.nav-item > a.active,
.nav-item.open > a {
  background: rgba(255,255,255,.1);
  color: var(--white);
  text-decoration: none;
}

/* Chevron for dropdown parents */
.nav-item.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid rgba(255,255,255,.7);
  margin-left: 5px;
  vertical-align: middle;
  transition: transform .2s;
}
.nav-item.has-dropdown.open > a::after {
  transform: rotate(180deg);
}

/* ── Dropdown panel (white card on desktop) ── */
.dropdown {
  display: block;
  list-style: none;
  padding: 6px 0;
  margin: 0;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: #fff;
  border-top: 3px solid var(--orange);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 300;
}

/* Bridge the gap so cursor moving from link → panel doesn't trigger mouseleave */
.nav-item.has-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
  z-index: 299;
}

.nav-item.open .dropdown,
.nav-item:hover .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown li { border-bottom: 1px solid rgba(0,0,0,.07); }
.dropdown li:last-child { border-bottom: none; }

/* "View All" first item — slightly distinguished */
.dropdown li:first-child a {
  color: var(--orange);
  font-weight: 700;
}

.dropdown li a {
  display: block;
  padding: 10px 20px;
  color: var(--navy);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .15s, color .15s, padding-left .15s;
}

.dropdown li a:hover,
.dropdown li a:focus {
  background: var(--orange) !important;
  color: #fff !important;
  padding-left: 26px;
  text-decoration: none;
}

.dropdown li:first-child a:hover,
.dropdown li:first-child a:focus {
  color: #fff;
}

/* ── Enroll Now button ── */
.nav-enroll {
  display: inline-flex;
  align-items: center;
  background: var(--orange);
  color: var(--white) !important;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 4px;
  margin-left: 6px;
  text-decoration: none;
  transition: background .18s, transform .15s, box-shadow .18s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-enroll:hover {
  background: #cf4314;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232,80,32,.4);
  text-decoration: none;
  color: var(--white) !important;
}

/* ── Header social icons ── */
.header-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 14px;
  border-left: 1px solid rgba(255,255,255,.18);
  padding-left: 14px;
  flex-shrink: 0;
}

.header-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: rgba(255,255,255,.7);
  border-radius: 4px;
  transition: background .18s, color .18s;
  text-decoration: none;
}
.header-social a:hover {
  background: rgba(255,255,255,.1);
  color: var(--white);
  text-decoration: none;
}
.header-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  /* Instagram uses stroke */
  stroke: none;
}
.header-social a[aria-label="Instagram"] svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Mobile hamburger ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: .25s;
}

/* ─── Hero Banner ─────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  color: var(--white);
  padding: 60px 5% 48px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -.5px;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.05rem;
  opacity: .8;
  max-width: 600px;
  margin: 0 auto;
}

/* Light variant — white bg, navy text (used on Our Courses) */
.page-hero--light {
  background: var(--white);
  color: var(--navy);
  border-bottom: 1px solid var(--gray-mid);
}
.page-hero--light h1 { color: var(--navy); }
.page-hero--light p  { color: var(--gray-text); opacity: 1; }

/* ─── Main Layout ─────────────────────────────────────── */
.page-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 5% 72px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 48px;
  align-items: start;
}

/* ─── Contact Info Sidebar ────────────────────────────── */
.contact-info {
  position: sticky;
  top: 90px;
}

.contact-info h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.info-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-icon svg { fill: var(--white); width: 20px; height: 20px; }

.info-text strong { display: block; font-weight: 600; margin-bottom: 2px; }
.info-text span   { color: var(--gray-text); font-size: .9rem; }

/* Social links */
.social-links { margin-top: 28px; }

.social-links h3 {
  font-size: .9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-text);
  margin-bottom: 12px;
}

.social-icons { display: flex; gap: 12px; }

.social-icons a {
  width: 38px;
  height: 38px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
}

.social-icons a:hover {
  background: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
}

.social-icons svg { fill: var(--white); width: 18px; height: 18px; }

/* ─── Enrollment Form Card ────────────────────────────── */
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 12px;
  padding: 40px 40px 48px;
  box-shadow: var(--shadow);
}

.form-card h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 6px; }

.form-card .form-subtitle {
  color: var(--gray-text);
  font-size: .9rem;
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }

label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
}

label .req { color: var(--error); margin-left: 2px; }
.form-group label:has(.req) { color: var(--error); }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .9rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}

input::placeholder, textarea::placeholder { color: #aab0bb; }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(28,42,69,.1);
}

.select-wrap { position: relative; }

.select-wrap::after {
  content: "";
  pointer-events: none;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--navy2);
}

textarea { resize: vertical; min-height: 110px; }

.phone-row { display: flex; gap: 8px; }
.phone-row select { width: 110px; flex-shrink: 0; padding-right: 28px; }
.phone-row input  { flex: 1; }

.form-divider {
  margin: 8px 0 24px;
  border: none;
  border-top: 1px solid var(--gray-mid);
}

.form-section-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-text);
  margin: 28px 0 16px;
}

.disclaimer {
  background: var(--gray-light);
  border-left: 3px solid var(--navy);
  border-radius: 4px;
  padding: 12px 16px;
  font-size: .8rem;
  color: var(--gray-text);
  margin: 24px 0 28px;
  line-height: 1.5;
}

/* Submit button */
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  padding: 13px 36px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  float: right;
}

.btn-submit:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(46,127,212,.35);
}

.btn-submit:active { transform: translateY(0); }
.btn-submit svg { width: 16px; height: 16px; fill: currentColor; }

/* Field errors */
.field-error { display: none; font-size: .78rem; color: var(--error); margin-top: 4px; }
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: var(--error); }
.form-group.has-error .field-error { display: block; }

/* Success / Error banners */
.form-banner {
  display: none;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 24px;
  align-items: center;
  gap: 10px;
}
.form-banner.show    { display: flex; }
.form-banner.success { background: #ecfdf5; color: var(--success); border: 1px solid #a7f3d0; }
.form-banner.error   { background: #fef2f2; color: var(--error);   border: 1px solid #fca5a5; }
.form-banner svg     { flex-shrink: 0; fill: currentColor; width: 20px; height: 20px; }

/* ── Thank-you modal ── */
.inq-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.inq-overlay.show { display: flex; }
.inq-modal {
  background: #fff;
  border-radius: 16px;
  padding: 48px 40px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: inqModalIn .3s ease;
}
@keyframes inqModalIn {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.inq-modal__close {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  font-size: 1.4rem; cursor: pointer;
  color: var(--gray-text);
  line-height: 1;
}
.inq-modal__close:hover { color: var(--navy); }
.inq-modal__icon {
  width: 64px; height: 64px;
  background: #ecfdf5;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.inq-modal__icon svg { width: 32px; height: 32px; stroke: #059669; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.inq-modal h3 { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.inq-modal p  { font-size: .95rem; color: var(--gray-text); line-height: 1.7; margin-bottom: 8px; }
.inq-modal__courses { font-size: .85rem; color: var(--navy); background: var(--gray-light); border-radius: 8px; padding: 12px 16px; margin: 14px 0 24px; text-align: left; line-height: 1.7; }
.inq-modal__btn { display: inline-block; background: var(--orange); color: #fff; padding: 12px 32px; border-radius: 6px; font-weight: 700; font-size: .95rem; border: none; cursor: pointer; text-decoration: none; }
.inq-modal__btn:hover { background: #c94418; color: #fff; text-decoration: none; }

/* No-courses admin notice */
.no-courses-notice {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: .85rem;
  color: #92400e;
  margin-bottom: 20px;
}

/* ─── Course Picker ───────────────────────────────────── */
.course-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 9px 14px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}

.course-badge-clear {
  margin-left: auto;
  background: none;
  border: 1px solid var(--gray-mid);
  border-radius: 4px;
  font-family: inherit;
  font-size: .78rem;
  color: var(--gray-text);
  cursor: pointer;
  padding: 3px 10px;
  transition: background .2s, color .2s;
}
.course-badge-clear:hover { background: var(--gray-light); color: var(--navy); }

.course-accordion {
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.acc-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: var(--gray-light);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  transition: background .2s;
}

.acc-header:hover { background: #e8eaed; }
.acc-header[aria-expanded="true"] { background: var(--navy); color: var(--white); }
.acc-header[aria-expanded="true"] .acc-count { color: rgba(255,255,255,.75); }
.acc-header[aria-expanded="true"] .acc-arrow { stroke: var(--white); transform: rotate(180deg); }

.acc-title { flex: 1; }

.acc-count {
  font-size: .75rem;
  font-weight: 500;
  color: var(--gray-text);
  white-space: nowrap;
}

.acc-arrow {
  flex-shrink: 0;
  width: 18px; height: 18px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s, stroke .2s;
}

.acc-body { display: none; padding: 16px 18px 20px; border-top: 1.5px solid var(--gray-mid); }
.acc-body.open { display: block; }

.sub-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--accent);
  margin: 18px 0 10px;
}
.sub-label:first-child { margin-top: 4px; }

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 6px 16px;
}

.course-cb {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .83rem;
  font-weight: 400;
  color: var(--navy);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background .15s;
}

.course-cb:hover { background: var(--gray-light); }

.course-cb input[type="checkbox"] {
  width: 15px; height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--navy);
  cursor: pointer;
  border: none;
}

/* ─── Pre-footer CTA Banner ───────────────────────────── */
.prefooter-cta {
  background: var(--navy);
  padding: 72px 5%;
  text-align: center;
  color: var(--white);
}

.prefooter-cta__inner {
  max-width: 700px;
  margin: 0 auto;
}

.prefooter-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.25;
}

.prefooter-cta p {
  font-size: 1rem;
  opacity: .85;
  margin-bottom: 36px;
  line-height: 1.65;
}

.btn-prefooter-enroll {
  display: inline-flex;
  align-items: center;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: .95rem;
  font-weight: 600;
  padding: 13px 40px;
  border-radius: 40px;
  border: 2px solid var(--orange);
  color: var(--white);
  background: transparent;
  text-decoration: none;
  letter-spacing: .02em;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s;
}
.btn-prefooter-enroll:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,80,32,.4);
  text-decoration: none;
}

/* ─── Home: Video Hero ────────────────────────────────── */
.hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,20,40,.55) 0%, rgba(10,20,40,.72) 100%);
  z-index: 1;
}

.hero-video__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 5%;
  max-width: 820px;
}

.hero-video__logo {
  height: 64px;
  width: auto;
  margin: 0 auto 28px;
  display: block;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.4));
}

.hero-video__title {
  font-family: 'Poppins', 'Proxima Nova', Arial, sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
  letter-spacing: -.5px;
}

.hero-video__sub {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  font-weight: 400;
  opacity: .9;
  margin-bottom: 36px;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}

.hero-video__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: .95rem;
  font-weight: 600;
  padding: 13px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s;
  letter-spacing: .02em;
}

.btn-hero--primary {
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
}
.btn-hero--primary:hover {
  background: #cf4314;
  border-color: #cf4314;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,80,32,.4);
  text-decoration: none;
  color: var(--white);
}

.btn-hero--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.75);
}
.btn-hero--outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--white);
}

.btn-hero--white {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--white);
}
.btn-hero--white:hover {
  background: rgba(255,255,255,.88);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  text-decoration: none;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,.7);
  animation: heroScrollBounce 2s ease-in-out infinite;
}

.hero-scroll__label { font-size: .65rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.hero-scroll svg { width: 20px; height: 20px; }

@keyframes heroScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ─── Home: Why Choose MSAT ───────────────────────────── */
.home-why {
  padding: 80px 5%;
  background: var(--white);
}

.home-why__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.home-why__image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.section-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--orange);
  margin-bottom: 12px;
}

.home-why__text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.home-why__text p {
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: .95rem;
}

.why-list {
  list-style: none;
  margin-bottom: 32px;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 500;
}

.why-list svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 1px;
}

.btn-learn {
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
  transition: color .2s;
}
.btn-learn:hover { color: var(--orange); text-decoration: none; }

/* ─── Home: Course Category Cards ────────────────────── */
.home-courses {
  padding: 72px 5% 80px;
  background: var(--gray-light);
}

.home-courses__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.home-courses__inner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 40px;
  margin-top: 8px;
}

.course-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: left;
}

.course-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 24px 24px;
  border: 1.5px solid var(--gray-mid);
  display: flex;
  flex-direction: column;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  text-decoration: none;
  color: var(--navy);
}

.course-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 28px rgba(232,80,32,.12);
  transform: translateY(-4px);
  text-decoration: none;
  color: var(--navy);
}

.course-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(232,80,32,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.course-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.course-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}

.course-card__count {
  font-size: .8rem;
  color: var(--gray-text);
  margin-bottom: auto;
  padding-bottom: 16px;
}

.course-card__cta {
  font-size: .82rem;
  font-weight: 600;
  color: var(--orange);
  margin-top: 8px;
  border-top: 1px solid var(--gray-mid);
  padding-top: 12px;
}

/* ─── Home: CTA Banner ────────────────────────────────── */
.home-cta {
  background: var(--navy);
  padding: 72px 5%;
  text-align: center;
  color: var(--white);
}

.home-cta__inner {
  max-width: 680px;
  margin: 0 auto;
}

.home-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.home-cta p {
  font-size: 1rem;
  opacity: .8;
  margin-bottom: 32px;
}

/* ─── Home responsive ─────────────────────────────────── */
@media (max-width: 960px) {
  .hero-video { height: 90vh; }
  .home-why__inner { grid-template-columns: 1fr; gap: 36px; }
  .home-why__image img { height: 300px; }
  .course-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero-video { height: 85vh; min-height: 480px; }
  .hero-video__logo { height: 48px; }
  .course-cards { grid-template-columns: 1fr; }
  .home-why, .home-courses, .home-cta { padding: 48px 5%; }
}

/* ─── Footer ──────────────────────────────────────────── */
.site-footer {
  background: var(--orange);
  color: var(--white);
  padding: 48px 5% 0;
  font-family: 'Poppins', 'Proxima Nova', Arial, sans-serif;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding-bottom: 40px;
}

/* Logo + About Us column */
.footer-col {
  flex: 1;
  min-width: 0;
}

.footer-col--about {
  flex: 0 0 280px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.footer-logo {
  height: 52px;
  width: auto;
  flex-shrink: 0;
  display: block;
  margin-bottom: 0;
}

.footer-brand-name {
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  line-height: 1.55;
  letter-spacing: .01em;
  text-transform: uppercase;
}

/* Column headings */
.footer-col-heading {
  font-family: 'Poppins', 'Proxima Nova', Arial, sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  margin-top: 0;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.footer-col-heading--mt {
  margin-top: 26px;
}

/* Link lists */
.footer-link-list {
  list-style: none;
  margin: 0 0 0 0;
  padding: 0;
}

.footer-link-list li {
  margin-bottom: 11px;
}

.footer-link-list a {
  font-size: .82rem;
  font-weight: 400;
  color: rgba(255,255,255,.88);
  transition: color .2s;
  line-height: 1.5;
}

.footer-link-list a:hover {
  color: var(--white);
  text-decoration: none;
}

/* Vertical pipe dividers */
.footer-pipe {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,.4);
  margin: 0 36px;
  flex-shrink: 0;
}

/* Copyright bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.3);
  padding: 16px 0;
  text-align: right;
  font-size: .72rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ─── Single Post ────────────────────────────────────── */
.single-post-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 5% 64px;
}

.single-post-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 48px;
}

.single-post-thumb img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.single-post-content {
  padding: 32px 36px;
  font-size: .97rem;
  line-height: 1.75;
  color: var(--navy);
}

.single-post-content p  { margin-bottom: 1.2em; }
.single-post-content h2,
.single-post-content h3 { margin: 1.4em 0 .6em; font-weight: 700; }
.single-post-content a  { color: var(--accent); text-decoration: underline; }

/* Share bar */
.single-share {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-top: 1px solid var(--gray-mid);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-mid);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
  text-decoration: none;
}
.share-btn svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.share-btn--x svg,
.share-btn--li svg,
.share-btn--copy svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.share-btn:hover     { background: var(--gray-light); border-color: var(--navy); text-decoration: none; color: var(--navy); }
.share-btn--fb:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.share-btn--x:hover  { background: #000; border-color: #000; color: #fff; }
.share-btn--li:hover { background: #0077b5; border-color: #0077b5; color: #fff; }
.share-btn--copy.copied { background: var(--success); border-color: var(--success); color: #fff; }

/* Post meta bar */
.single-post-meta-bar {
  padding: 12px 36px 16px;
  border-top: 1px solid var(--gray-mid);
  font-size: .82rem;
  color: var(--gray-text);
}

/* Recent Posts */
.recent-posts { margin-bottom: 48px; }

.recent-posts__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.recent-posts__header h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.recent-see-all { font-size: .82rem; font-weight: 600; color: var(--gray-text); transition: color .2s; }
.recent-see-all:hover { color: var(--orange); text-decoration: none; }

.recent-posts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.recent-card {
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: var(--navy);
  transition: box-shadow .2s, transform .2s;
  display: block;
}
.recent-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; color: var(--navy); }
.recent-card__thumb img { width: 100%; height: 180px; object-fit: cover; display: block; }
.recent-card__body { padding: 16px; }
.recent-card__body h4 { font-size: .92rem; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.recent-card__meta { font-size: .78rem; color: var(--gray-text); }

@media (max-width: 640px) {
  .single-post-content  { padding: 20px; }
  .single-share         { padding: 12px 20px; }
  .single-post-meta-bar { padding: 10px 20px 14px; }
  .recent-posts__grid   { grid-template-columns: 1fr; }
}

/* ─── Our Courses Grid ────────────────────────────────── */
.courses-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
.cg-category { border: 1px solid var(--gray-mid); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.cg-category__title { font-size: 1.05rem; font-weight: 700; color: var(--white); text-decoration: none; display: block; background: var(--navy); padding: 18px 24px; transition: background .18s; }
.cg-category__title:hover { background: var(--navy2); color: var(--white); text-decoration: none; }
.cg-category__body { padding: 20px 24px 20px; }
.cg-subgroup { padding: 10px 0 6px; border-top: 1px solid var(--gray-mid); }
.cg-subgroup:first-of-type { border-top: none; padding-top: 0; }
.cg-subgroup-label { font-size: .73rem; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.cg-course-list { list-style: none; padding: 0; margin: 0; }
.cg-course-list li { font-size: .86rem; padding: 2px 0; color: var(--navy); display: flex; align-items: baseline; gap: 6px; }
.cg-more { font-size: .8rem; color: var(--gray-text); margin-top: 4px; padding-left: 14px; }
@media (max-width: 720px) { .courses-grid { grid-template-columns: 1fr; } }

/* ─── Our Team Page ──────────────────────────────────── */
.team-page-hero { background: var(--white); text-align: center; padding: 60px 5% 48px; }
.team-page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: var(--navy); margin: 0 0 14px; }
.team-page-hero__line { width: 48px; height: 4px; background: var(--navy); margin: 0 auto 24px; border-radius: 2px; }
.team-page-hero p { font-size: 1rem; color: var(--gray-text); max-width: 720px; margin: 0 auto; line-height: 1.75; }
.team-section { background: var(--white); padding: 20px 0 72px; }

/* Rows — centered */
.team-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin-bottom: 28px; }

/* Card widths shrink as row fills up */
.team-row--1 .team-card { width: 320px; }
.team-row--2 .team-card { width: 280px; }
.team-row--3 .team-card { width: 240px; }
.team-row--4 .team-card { width: 210px; }

/* Card shell */
.team-card { border-radius: 10px; overflow: hidden; box-shadow: 0 2px 14px rgba(0,0,0,.08); background: var(--white); display: flex; flex-direction: column; }

/* Photo */
.team-card__photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; display: block; }
.team-card__placeholder { aspect-ratio: 3/4; background: var(--gray-light); display: flex; align-items: center; justify-content: center; }
.team-card__placeholder svg { width: 56px; height: 56px; stroke: var(--gray-text); opacity: .4; }

/* Card body — light blue-gray */
.team-card__body { padding: 16px 18px 20px; background: #e8edf4; flex: 1; }
.team-card__role { display: block; font-size: .72rem; font-weight: 500; color: #5a6a7e; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 4px; }
.team-card__name { font-size: .95rem; font-weight: 700; color: var(--navy); margin: 0 0 8px; line-height: 1.3; }
.team-card__bio { font-size: .78rem; color: #4a5568; line-height: 1.6; }
.team-card__bio p { margin: 0; }

@media (max-width: 768px) {
  .team-row--1 .team-card, .team-row--2 .team-card,
  .team-row--3 .team-card, .team-row--4 .team-card { width: calc(50% - 12px); min-width: 160px; }
}
@media (max-width: 480px) {
  .team-row--1 .team-card, .team-row--2 .team-card,
  .team-row--3 .team-card, .team-row--4 .team-card { width: 100%; }
}

/* ─── Taxonomy Course Category Page ──────────────────── */
.tax-course-hero { background: var(--navy); color: var(--white); padding: 64px 5% 52px; }
.tax-course-hero__inner { max-width: 860px; margin: 0 auto; }
.tax-course-hero h1 { font-size: 2.4rem; font-weight: 800; margin: 0 0 14px; line-height: 1.15; }
.tax-course-hero h1::after { content: ''; display: block; width: 60px; height: 4px; background: var(--orange); margin-top: 14px; border-radius: 2px; }
.tax-course-hero p { font-size: 1.05rem; opacity: .85; max-width: 640px; margin: 16px 0 0; }
.tax-course-content { max-width: 860px; margin: 0 auto; padding: 48px 5%; font-size: 1rem; line-height: 1.8; color: var(--navy); }
.tax-course-image { margin-bottom: 32px; }
.tax-course-image img { width: 100%; max-height: 440px; object-fit: cover; border-radius: 8px; display: block; }
.tax-course-body p { margin-bottom: 1.2em; }
.tax-course-listing { background: var(--gray-light); padding: 48px 5% 64px; }
.tax-course-listing__heading { font-size: 1.4rem; font-weight: 700; color: var(--navy); margin-bottom: 24px; border-bottom: 2px solid var(--orange); display: inline-block; padding-bottom: 6px; }

/* ─── Training Schedule ───────────────────────────────── */
.sched-hero {
  background: var(--white);
  padding: 56px 5% 0;
}
.sched-hero__inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.sched-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.15;
}
.sched-hero p {
  font-size: 1.05rem;
  color: var(--gray-text);
  margin-bottom: 0;
}

.sched-section {
  padding: 32px 5% 64px;
  background: var(--white);
}
.sched-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.sched-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 36px;
  font-size: .88rem;
}

/* Column header row */
.sched-table thead tr th {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.15);
  text-align: left;
}
.sched-col-date  { width: 130px; }
.sched-col-day   { width: 110px; }
.sched-col-course{ width: auto; }

/* Week banner row */
.sched-week-row td {
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 14px;
  text-align: center;
}

/* Data rows */
.sched-table tbody tr {
  border-bottom: 1px solid var(--gray-mid);
}
.sched-table tbody tr:hover {
  background: rgba(26,58,78,.03);
}
.sched-date, .sched-day {
  padding: 10px 14px;
  font-weight: 600;
  color: var(--navy);
  vertical-align: middle;
  border-right: 1px solid var(--gray-mid);
  white-space: nowrap;
}
.sched-course {
  padding: 8px 14px;
  color: var(--navy);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sched-course-name { flex: 1 1 auto; }
.sched-course .msat-atc-btn { flex: 0 0 auto; }

/* ── Find-a-course toolbar ── */
.sched-toolbar {
  margin-bottom: 20px;
}
.sched-search {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 420px;
}
.sched-search svg {
  position: absolute;
  left: 14px;
  color: var(--gray-text);
  pointer-events: none;
}
.sched-search input {
  width: 100%;
  padding: 11px 38px 11px 40px;
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  font-size: .92rem;
  color: var(--navy);
  background: var(--white);
}
.sched-search input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(239,89,35,.12);
}
.sched-search-clear {
  position: absolute;
  right: 8px;
  border: none;
  background: transparent;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--gray-text);
  cursor: pointer;
  padding: 4px 8px;
}
.sched-search-clear:hover { color: var(--navy); }
.sched-filter-status {
  margin: 10px 2px 0;
  font-size: .82rem;
  color: var(--gray-text);
}
.sched-noresults {
  color: var(--gray-text);
  font-size: .95rem;
  padding: 20px 0;
}
.sched-link-btn {
  border: none;
  background: transparent;
  color: var(--orange);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.sched-holiday {
  color: var(--orange);
  font-weight: 600;
  font-style: italic;
}

.sched-note {
  font-size: .8rem;
  color: var(--gray-text);
  font-style: italic;
  margin-top: 8px;
}
.sched-empty {
  color: var(--gray-text);
  font-size: .95rem;
  padding: 24px 0;
}

@media (max-width: 640px) {
  .sched-table { font-size: .78rem; }
  .sched-date, .sched-day, .sched-course, .sched-table thead tr th { padding: 7px 8px; }
  .sched-col-date { width: 90px; }
  .sched-col-day  { width: 80px; }
}

/* ─── Responsive ──────────────────────────────────────── */

/* Desktop compression — keep nav + social icons on one row without clipping (1101–1280px) */
@media (min-width: 1101px) and (max-width: 1280px) {
  .nav-item > a    { padding: 8px 8px; font-size: .72rem; letter-spacing: .04em; }
  .nav-enroll      { padding: 8px 13px; }
  .header-social   { gap: 5px; margin-left: 10px; padding-left: 10px; }
  .header-social a { width: 28px; height: 28px; }
}

@media (max-width: 960px) {
  .contact-grid  { grid-template-columns: 1fr; }
  .contact-info  { position: static; }
  .footer-top    { flex-wrap: wrap; gap: 24px; }
  .footer-col--about { flex: 0 0 100%; }
  .footer-pipe   { display: none; }
  .footer-col    { flex: 1 1 40%; }
}

/* Tablet / small-laptop — collapse nav into the hamburger so nothing gets squeezed.
   Social icons reappear inside the opened menu (rule below), so they are never lost. */
@media (max-width: 1100px) {
  /* Mobile nav */
  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 8px 0 16px;
    gap: 2px;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .site-nav.open { display: flex; }
  .nav-toggle    { display: flex; flex-direction: column; justify-content: center; }
  .header-inner  { flex-wrap: wrap; height: auto; padding: 14px 0; }

  .nav-item > a  { font-size: .8rem; padding: 10px 14px; border-radius: 0; }
  .nav-enroll    { margin: 6px 14px 0; border-radius: 4px; justify-content: center; }
  .header-social { display: flex; margin: 8px 14px 4px; border-left: none; padding-left: 0; }

  /* Mobile dropdown — inline dark list */
  .dropdown {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    display: none;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
    background: rgba(0,0,0,.28);
    min-width: 0;
    padding: 0;
  }
  .nav-item.open .dropdown { display: block; }
  .dropdown li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .dropdown li:first-child a { color: var(--orange); }
  .dropdown li a {
    color: rgba(255,255,255,.85);
    padding: 10px 14px 10px 28px;
    font-size: .78rem;
  }
  .dropdown li a:hover,
  .dropdown li a:focus {
    background: var(--orange);
    color: #fff;
    padding-left: 34px;
  }
}

@media (max-width: 640px) {
  .form-card    { padding: 28px 20px 36px; }
  .form-row     { grid-template-columns: 1fr; }
  .btn-submit   { float: none; width: 100%; justify-content: center; }
  .footer-top   { flex-direction: column; }
  .footer-col   { flex: 0 0 100%; }
  .course-grid  { grid-template-columns: 1fr; }
}

/* ─── News Archive ────────────────────────────────────── */
.news-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 48px 0 64px;
}

.news-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  transition: box-shadow .2s, transform .2s;
  text-decoration: none;
}

.news-card:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,.13);
  transform: translateY(-2px);
}

.news-thumb {
  display: block;
  overflow: hidden;
  flex-shrink: 0;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 240px;
  transition: transform .35s ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.04);
}

/* Placeholder when no featured image */
.news-thumb--empty {
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.news-body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-date {
  font-size: .75rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
  display: block;
}

.news-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin: 0 0 14px;
}

.news-title a {
  color: inherit;
  text-decoration: none;
  transition: color .15s;
}

.news-title a:hover { color: var(--orange); }

.news-excerpt {
  font-size: .92rem;
  color: var(--gray-text);
  line-height: 1.7;
  margin: 0 0 20px;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
  width: fit-content;
  transition: color .15s, border-color .15s;
}

.news-read-more:hover { color: var(--orange); }

.news-pagination {
  text-align: center;
  padding: 8px 0 32px;
}

.news-pagination .nav-links { display: flex; gap: 8px; justify-content: center; }

.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 4px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid var(--gray-mid);
  text-decoration: none;
  transition: background .15s, color .15s;
}

.news-pagination .page-numbers.current,
.news-pagination .page-numbers:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ─── Single post ─────────────────────────────────────── */
.single-post-wrap { max-width: 820px; margin: 0 auto; padding: 48px 5% 64px; }

.single-post-card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.08); }

.single-post-thumb img { width: 100%; max-height: 460px; object-fit: cover; display: block; }

.single-post-content { padding: 36px 40px; font-size: 1rem; line-height: 1.85; color: var(--navy); }

.single-post-content h2,
.single-post-content h3 { color: var(--navy); margin: 1.4em 0 .5em; font-weight: 700; }

.single-post-content p { margin-bottom: 1.2em; }

.single-share { display: flex; gap: 10px; padding: 16px 40px; border-top: 1px solid var(--gray-mid); }

.share-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gray-mid); background: var(--white); cursor: pointer; color: var(--navy); transition: background .15s, color .15s; }

.share-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

.share-btn--fb:hover  { background: #1877f2; color: #fff; border-color: #1877f2; }
.share-btn--x:hover   { background: #000;    color: #fff; border-color: #000; }
.share-btn--li:hover  { background: #0a66c2; color: #fff; border-color: #0a66c2; }
.share-btn--copy:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

.single-post-meta-bar { padding: 10px 40px 20px; font-size: .8rem; color: var(--gray-text); }

/* Recent posts */
.recent-posts { margin-top: 40px; }
.recent-posts__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.recent-posts__header h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.recent-see-all { font-size: .8rem; font-weight: 700; color: var(--orange); text-decoration: none; text-transform: uppercase; letter-spacing: .05em; }
.recent-posts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.recent-card { display: flex; gap: 14px; text-decoration: none; color: var(--navy); background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 1px 8px rgba(0,0,0,.07); transition: box-shadow .2s, transform .2s; }
.recent-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; color: var(--navy); }
.recent-card__thumb { flex-shrink: 0; width: 100px; }
.recent-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recent-card__body { padding: 12px 14px 12px 0; }
.recent-card__body h4 { font-size: .88rem; font-weight: 700; color: var(--navy); margin: 0 0 6px; line-height: 1.4; }
.recent-card__meta { font-size: .75rem; color: var(--gray-text); }

@media (max-width: 860px) {
  .news-card { grid-template-columns: 1fr; }
  .news-thumb img { min-height: 200px; max-height: 240px; }
  .news-body { padding: 24px 24px 28px; }
  .news-title { font-size: 1.15rem; }
  .recent-posts__grid { grid-template-columns: 1fr; }
  .single-post-content,
  .single-share,
  .single-post-meta-bar { padding-left: 24px; padding-right: 24px; }
}
