/* =============================================================
   Sunview Wellness — Main Theme Stylesheet
   Florida Yellow + Teal color palette
   ============================================================= */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --teal:        #1A8C8C;
  --teal-dark:   #146e6e;
  --teal-mid:    #1f9e9e;
  --teal-light:  #e6f5f5;
  --teal-xlight: #f0fafa;
  --yellow:      #F5C518;
  --yellow-dark: #d4a900;
  --yellow-warm: #FFD438;
  --yellow-light:#fffbe6;
  --sand:        #FDF6E3;
  --text:        #1a2e2e;
  --muted:       #4a6060;
  --border:      #c8e0e0;
  --white:       #ffffff;
  --radius:      6px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --max-width:   1100px;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 15px;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.22;
  color: var(--teal-dark);
}

h4, h5, h6 { font-family: 'Nunito', sans-serif; font-weight: 700; }

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

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

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Top Bar ───────────────────────────────────────────────── */
.sw-topbar {
  background: var(--teal-dark);
  padding: 7px 2rem;
}
.sw-topbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sw-topbar a {
  color: rgba(255,255,255,.88);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color .2s;
}
.sw-topbar a:hover { color: var(--yellow-warm); }
.sw-topbar__right { display: flex; gap: 24px; }

/* ── Navigation ────────────────────────────────────────────── */
.sw-nav {
  background: var(--white);
  border-bottom: 3px solid var(--yellow);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 2rem;
  box-shadow: 0 2px 12px rgba(26,140,140,.08);
}
.sw-nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
/* Stacked logo (226x146) — natural proportions at 56px tall */
.sw-nav__logo img {
  height: 56px;
  width: auto;
  display: block;
}
/* WP custom logo wrapper */
.sw-nav__logo .custom-logo-link img {
  height: 56px;
  width: auto;
}
.sw-nav__links {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  list-style: none;
  font-size: 13.5px;
  font-weight: 700;
}
.sw-nav__links a {
  color: var(--teal-dark);
  transition: color .2s;
}
.sw-nav__links a:hover { color: var(--teal-mid); }
.sw-nav__links .nav-cta {
  background: var(--yellow);
  color: var(--teal-dark) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
}
.sw-nav__links .nav-cta:hover {
  background: var(--yellow-dark);
  color: var(--white) !important;
}

/* Mobile hamburger */
.sw-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.sw-nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal-dark);
  border-radius: 2px;
  transition: all .3s;
}
.sw-nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.sw-nav__toggle.open span:nth-child(2) { opacity: 0; }
.sw-nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all .2s;
  font-family: 'Nunito', sans-serif;
  letter-spacing: .02em;
  border: none;
  text-decoration: none !important;
}
.btn-yellow { background: var(--yellow); color: var(--teal-dark); }
.btn-yellow:hover { background: var(--yellow-dark); color: var(--white); }
.btn-outline-white { border: 2px solid rgba(255,255,255,.65); color: var(--white); margin-left: 12px; }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-dark); }
.btn-teal-outline { border: 2px solid var(--teal); color: var(--teal-dark); background: transparent; }
.btn-teal-outline:hover { background: var(--teal); color: var(--white); }

/* ── Hero ──────────────────────────────────────────────────── */
.sw-hero {
  background: var(--teal-dark);
  position: relative;
  overflow: hidden;
  padding: 88px 2rem 80px;
}
.sw-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.sw-hero--page { padding: 60px 2rem 72px; }
.sw-hero__sun {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,24,.22) 0%, rgba(245,197,24,.06) 60%, transparent 80%);
  pointer-events: none;
}
.sw-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
}
.sw-hero__tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--yellow-warm);
  margin-bottom: 18px;
  font-family: 'Nunito', sans-serif;
  display: block;
}
.sw-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 18px;
  max-width: 680px;
}
.sw-hero h1 span { color: var(--yellow-warm); }
.sw-hero p {
  font-size: 1.08rem;
  max-width: 560px;
  margin-bottom: 34px;
  color: rgba(255,255,255,.88);
  font-weight: 400;
  line-height: 1.78;
}

/* ── Stat Bar ──────────────────────────────────────────────── */
.sw-stat-bar {
  background: var(--yellow);
  padding: 22px 2rem;
}
.sw-stat-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.sw-stat__num {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1;
}
.sw-stat__label {
  font-size: 11.5px;
  color: var(--teal-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 3px;
  opacity: .75;
}

/* ── Section ───────────────────────────────────────────────── */
.sw-section { padding: 76px 2rem; }
.sw-section__inner { max-width: var(--max-width); margin: 0 auto; }
.sw-section--sand { background: var(--sand); }
.sw-section--teal-light { background: var(--teal-xlight); }
.sw-section--teal { background: var(--teal); }
.sw-section--teal-dark { background: var(--teal-dark); }

.sw-section__header { text-align: center; margin-bottom: 52px; }
.sw-section__header h2 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); margin-bottom: 10px; }
.sw-section__header p { color: var(--muted); max-width: 580px; margin: 0 auto; font-size: 15px; line-height: 1.7; }

.sw-eyebrow {
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-mid);
  font-weight: 800;
  margin-bottom: 10px;
  font-family: 'Nunito', sans-serif;
  display: block;
}
.sw-divider {
  width: 48px;
  height: 3px;
  background: var(--yellow);
  border-radius: 4px;
  margin: 14px auto 0;
}

/* ── Program Cards ─────────────────────────────────────────── */
.sw-program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sw-program-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.sw-program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--yellow);
}
.sw-program-card:hover {
  box-shadow: 0 8px 32px rgba(26,140,140,.13);
  transform: translateY(-2px);
}
.sw-program-card__tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-light);
  padding: 5px 14px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 14px;
}
.sw-program-card h3 { font-size: 1.35rem; margin-bottom: 8px; color: var(--teal-dark); }
.sw-program-card__schedule {
  font-size: 12.5px;
  color: var(--teal-mid);
  margin-bottom: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-family: 'Nunito', sans-serif;
}
.sw-program-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* ── Conditions Grid ───────────────────────────────────────── */
.sw-conditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 14px;
}
.sw-condition-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 14px;
  text-align: center;
  transition: all .2s;
}
.sw-condition-card:hover {
  border-color: var(--teal-mid);
  background: var(--teal-light);
  transform: translateY(-2px);
}
.sw-condition-card__icon { font-size: 1.85rem; margin-bottom: 10px; }
.sw-condition-card h4 { font-size: .82rem; font-weight: 700; color: var(--teal-dark); font-family: 'Nunito', sans-serif; }

/* ── Feature Items ─────────────────────────────────────────── */
.sw-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 28px;
}
.sw-feature-item { text-align: center; padding: 20px 12px; }
.sw-feature-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--yellow-light);
  border: 2.5px solid var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.65rem;
}
.sw-feature-item h4 {
  font-size: .88rem;
  color: var(--teal-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.sw-feature-item p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── SUD Cards ─────────────────────────────────────────────── */
.sw-sud-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 18px;
}
.sw-sud-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius-md);
  padding: 26px 18px;
  text-align: center;
  transition: all .22s;
}
.sw-sud-card:hover {
  box-shadow: 0 6px 20px rgba(26,140,140,.12);
  transform: translateY(-2px);
}
.sw-sud-card__icon { font-size: 2.2rem; margin-bottom: 12px; }
.sw-sud-card h3 {
  font-size: .92rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 6px;
  font-family: 'Nunito', sans-serif;
}
.sw-sud-card p { font-size: 12.5px; color: var(--muted); line-height: 1.55; }

/* ── Is This You ───────────────────────────────────────────── */
.sw-ity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.sw-ity-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius-md);
  padding: 22px 20px;
}
.sw-ity-card__icon { font-size: 1.7rem; margin-bottom: 10px; }
.sw-ity-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── Fit Checklist ─────────────────────────────────────────── */
.sw-fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 680px;
  margin: 0 auto;
}
.sw-fit-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.sw-fit-check {
  color: var(--yellow-dark);
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.sw-fit-item p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ── Team Cards ────────────────────────────────────────────── */
.sw-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 22px;
}
.sw-team-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
}
.sw-team-card__avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  font-family: 'Nunito', sans-serif;
}
.sw-team-card h3 {
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: var(--teal-dark);
  margin-bottom: 3px;
}
.sw-team-card__role {
  font-size: 12px;
  color: var(--teal-mid);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 5px;
}
.sw-team-card__creds {
  font-size: 11.5px;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 11px;
}
.sw-team-card p { font-size: 13px; color: var(--muted); line-height: 1.65; text-align: justify; }

/* Staff section header */
.sw-staff-hdr {
  background: var(--teal);
  border-radius: var(--radius);
  padding: 10px 20px;
  margin: 40px 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sw-staff-hdr::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--yellow);
  border-radius: 2px;
  flex-shrink: 0;
}
.sw-staff-hdr h3 {
  font-size: .88rem;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
}

/* ── Partner Banner ────────────────────────────────────────── */
.sw-partner-banner {
  background: linear-gradient(135deg, var(--teal-dark), #0d5555);
  border-radius: var(--radius-lg);
  padding: 38px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 32px;
}
.sw-partner-banner h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 10px; }
.sw-partner-banner p { color: rgba(255,255,255,.82); font-size: 14px; max-width: 520px; line-height: 1.75; }
.sw-partner-logo {
  background: rgba(245,197,24,.12);
  border: 1.5px solid rgba(245,197,24,.4);
  border-radius: var(--radius-md);
  padding: 18px 26px;
  text-align: center;
  flex-shrink: 0;
}
.sw-partner-logo span { display: block; color: var(--yellow-warm); font-size: 1.1rem; font-weight: 800; }
.sw-partner-logo small { color: rgba(255,255,255,.55); font-size: 11px; margin-top: 4px; display: block; }

/* ── Info Box ──────────────────────────────────────────────── */
.sw-info-box {
  background: var(--teal-light);
  border: 1.5px solid var(--border);
  border-left: 5px solid var(--teal);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  margin-bottom: 32px;
}
.sw-info-box p { font-size: 15px; color: var(--text); line-height: 1.78; }

/* ── Insurance Grid ────────────────────────────────────────── */
.sw-ins-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.sw-ins-badge {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

/* ── FAQ ───────────────────────────────────────────────────── */
.sw-faq-item { border-bottom: 1.5px solid var(--border); padding: 20px 0; }
.sw-faq-q {
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--teal-dark);
  list-style: none;
}
.sw-faq-q::after { content: "+"; font-size: 1.5rem; color: var(--yellow-dark); font-weight: 800; line-height: 1; }
.sw-faq-item.open .sw-faq-q::after { content: "−"; }
.sw-faq-a { font-size: 14px; color: var(--muted); margin-top: 12px; line-height: 1.75; display: none; }
.sw-faq-item.open .sw-faq-a { display: block; }

/* ── Video Grid ────────────────────────────────────────────── */
.sw-video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sw-video-wrapper { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/9; background: #000; }
.sw-video-wrapper iframe { width: 100%; height: 100%; border: none; }
.sw-video-title { font-size: .94rem; font-weight: 700; margin-top: 12px; color: var(--teal-dark); line-height: 1.4; }

/* ── Contact Form ──────────────────────────────────────────── */
.sw-contact-box {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: 0 4px 24px rgba(26,140,140,.08);
}
.sw-contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.sw-contact-info-card {
  text-align: center;
  padding: 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
}
.sw-contact-info-card__icon { font-size: 1.4rem; margin-bottom: 8px; }
.sw-contact-info-card__label {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--teal-dark);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.sw-contact-info-card p { font-size: 12px; color: var(--muted); }

/* WP Contact Form 7 overrides */
.wpcf7-form .form-group { margin-bottom: 14px; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: 'Nunito', sans-serif;
  outline: none;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus { border-color: var(--teal-mid); }
.wpcf7-form input[type="submit"] {
  width: 100%;
  background: var(--yellow);
  color: var(--teal-dark);
  border: none;
  padding: 14px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  transition: all .2s;
}
.wpcf7-form input[type="submit"]:hover { background: var(--yellow-dark); color: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ── Footer ────────────────────────────────────────────────── */
.sw-footer {
  background: var(--teal-dark);
  padding: 60px 2rem 28px;
  font-size: 13px;
}
.sw-footer__inner { max-width: var(--max-width); margin: 0 auto; }
.sw-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.sw-footer__brand { }
.sw-footer__logo {
  height: auto;
  width: 170px;    /* stacked 226x146 → 170px wide = natural */
  margin-bottom: 22px;
  display: block;
}
.sw-footer__tagline {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,.7);
  margin-bottom: 14px;
}
.sw-footer__accred {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
}
.sw-footer__social { display: flex; gap: 12px; }
.sw-footer__social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,.75);
  transition: all .2s;
  text-decoration: none !important;
}
.sw-footer__social a:hover { background: var(--yellow); color: var(--teal-dark); border-color: var(--yellow); }

.sw-footer__col h4 {
  color: var(--yellow-warm);
  font-size: .8rem;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  margin-bottom: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(245,197,24,.3);
  display: inline-block;
}
.sw-footer__col ul { list-style: none; }
.sw-footer__col ul li { margin-bottom: 8px; }
.sw-footer__col a {
  color: rgba(255,255,255,.65);
  font-size: 13px;
  transition: color .2s;
  text-decoration: none !important;
}
.sw-footer__col a:hover { color: var(--yellow-warm); }

.sw-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}

/* ── Call-to-action Band ───────────────────────────────────── */
.sw-cta-band {
  background: var(--teal);
  padding: 64px 2rem;
  text-align: center;
}
.sw-cta-band h2 { color: var(--white); font-size: 2.1rem; margin-bottom: 14px; }
.sw-cta-band p { color: rgba(255,255,255,.85); font-size: 1.05rem; line-height: 1.8; margin-bottom: 32px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ── Utility ───────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .sw-program-grid { grid-template-columns: 1fr 1fr; }
  .sw-footer__top { grid-template-columns: 1fr 1fr; }
  .sw-video-grid { grid-template-columns: 1fr; }
  .sw-partner-banner { flex-direction: column; }
  .sw-contact-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .sw-program-grid { grid-template-columns: 1fr; }
  .sw-footer__top { grid-template-columns: 1fr; }
  .sw-fit-grid { grid-template-columns: 1fr; }
  .sw-nav__links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); padding: 20px 2rem; border-bottom: 3px solid var(--yellow); box-shadow: 0 8px 24px rgba(0,0,0,.1); gap: 1rem; z-index: 99; }
  .sw-nav__links.open { display: flex; }
  .sw-nav__toggle { display: flex; }
  .sw-topbar__right { display: none; }
  .sw-hero::after { height: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .sw-stat-bar__inner { gap: 24px; }
  .btn-outline-white { margin-left: 0; margin-top: 12px; display: block; text-align: center; }
}

/* =============================================================
   Media & Podcasts — Archive & Single
   ============================================================= */

/* ── Filter Tabs ───────────────────────────────────────────── */
.sw-media-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  justify-content: center;
}
.sw-media-filter {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  border: 1.5px solid var(--border);
  color: var(--muted);
  transition: all .2s;
  text-decoration: none !important;
  background: var(--white);
}
.sw-media-filter:hover,
.sw-media-filter.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

/* ── Media Grid ────────────────────────────────────────────── */
.sw-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.sw-media-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* ── Media Card ────────────────────────────────────────────── */
.sw-media-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s;
}
.sw-media-card:hover {
  box-shadow: 0 8px 32px rgba(26,140,140,.12);
  transform: translateY(-2px);
}

.sw-media-card__embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0d1117;
  overflow: hidden;
}
.sw-media-card__embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.sw-media-card__embed--audio {
  aspect-ratio: unset;
  height: 152px;
}
.sw-media-card__embed--audio iframe {
  height: 152px;
}

.sw-media-card__thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.sw-media-card__body {
  padding: 20px 22px 22px;
}

.sw-media-card__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}
.sw-media-card__type {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--teal-mid);
  background: var(--teal-light);
  padding: 3px 10px;
  border-radius: 50px;
}
.sw-media-card__duration {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.sw-media-card__title {
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: var(--teal-dark);
  margin-bottom: 6px;
  line-height: 1.35;
}
.sw-media-card__title a {
  color: inherit;
  text-decoration: none !important;
  transition: color .2s;
}
.sw-media-card__title a:hover { color: var(--teal-mid); }

.sw-media-card__episode {
  font-size: 12px;
  color: var(--teal-mid);
  font-weight: 700;
  margin-bottom: 4px;
}
.sw-media-card__guest {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 8px;
}
.sw-media-card__excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.sw-media-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.sw-media-card__date {
  font-size: 12px;
  color: var(--muted);
}
.sw-media-card__link {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-mid);
  text-decoration: none !important;
}
.sw-media-card__link:hover { color: var(--teal-dark); }

/* ── Single Media ──────────────────────────────────────────── */
.sw-single-media__embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  margin-bottom: 36px;
}
.sw-single-media__embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.sw-single-media__embed--audio {
  aspect-ratio: unset;
  height: 160px;
}
.sw-single-media__embed--audio iframe {
  height: 160px;
}

.sw-single-media__content {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 40px;
}
.sw-single-media__content p { margin-bottom: 1.2rem; }

.sw-single-media__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1.5px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

/* ── Empty state ───────────────────────────────────────────── */
.sw-media-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 1.1rem;
}

/* ── Pagination ────────────────────────────────────────────── */
.sw-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}
.sw-pagination .page-numbers {
  padding: 8px 16px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none !important;
  transition: all .2s;
}
.sw-pagination .page-numbers:hover,
.sw-pagination .page-numbers.current {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

@media (max-width: 640px) {
  .sw-media-grid { grid-template-columns: 1fr; }
  .sw-single-media__footer { flex-direction: column; gap: 16px; }
}

/* =============================================================
   Media — Article / Newsletter card styles + nav logo refinement
   ============================================================= */

/* Nav logo — side logo (400x74px transparent PNG) */
.sw-nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  flex-shrink: 0;
}
.sw-nav__logo img,
.sw-nav__logo .custom-logo-link img {
  height: 44px;   /* 400x74 natural ratio → 44px tall = ~237px wide */
  width: auto;
  display: block;
  transition: opacity .2s;
}
.sw-nav__logo:hover img { opacity: .82; }

/* Article / newsletter card thumb */
.sw-media-card__article-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--sand);
}
.sw-media-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sw-media-card__article-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--teal-xlight), var(--sand));
}

/* Type badge color variants */
.sw-media-card__type--youtube,
.sw-media-card__type--vimeo    { background: #fff3cd; color: #856404; }
.sw-media-card__type--podcast,
.sw-media-card__type--spotify  { background: #d4edda; color: #155724; }
.sw-media-card__type--newsletter { background: #cce5ff; color: #004085; }
.sw-media-card__type--article  { background: var(--teal-light); color: var(--teal-dark); }

/* Add-new filter button (admin only) */
.sw-media-filter--add {
  background: var(--yellow-light);
  border-color: var(--yellow);
  color: var(--teal-dark);
  margin-left: auto;
}
.sw-media-filter--add:hover { background: var(--yellow); color: var(--teal-dark); }

/* Empty state refined */
.sw-media-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}
.sw-media-empty__icon { font-size: 4rem; margin-bottom: 16px; }
.sw-media-empty h3 { font-size: 1.4rem; color: var(--teal-dark); margin-bottom: 8px; }
.sw-media-empty p { font-size: 15px; }

/* Team card featured (CEO) — slightly wider/highlighted */
.sw-team-card--featured {
  border-top: 4px solid var(--yellow);
  background: linear-gradient(to bottom, var(--yellow-light) 0%, var(--white) 60px);
}
