/* ==========================================================================
   Startup Uganda — 2026 UI refresh
   A non-destructive override layer loaded AFTER main.css.
   Keeps all existing content, markup and brand colour (#f29124).
   Modernises: mega menu, cards, listing rows, chips, buttons, nav.
   ========================================================================== */

:root {
  --su-primary: #f29124;
  --su-primary-dark: #e07f12;
  --su-tint: #fff5ea;          /* soft orange wash for hovers            */
  --su-ink: #1f2937;           /* primary text                          */
  --su-muted: #6b7280;         /* secondary text                        */
  --su-line: rgba(17, 24, 39, .08);
  --su-radius: 14px;
  --su-shadow-sm: 0 1px 2px rgba(17, 24, 39, .05);
  --su-shadow-md: 0 14px 34px rgba(17, 24, 39, .12);
  --su-shadow-menu: 0 18px 50px rgba(17, 24, 39, .16), 0 2px 8px rgba(17, 24, 39, .05);
}

/* --------------------------------------------------------------------------
   1. Mega menu — from a single tall column to a tidy two-column card
   -------------------------------------------------------------------------- */
.header-nav-contents {
  width: 46rem;
  top: 3.6rem;
  padding: 1.25rem;
  border: 1px solid var(--su-line);
  border-radius: 20px;
  box-shadow: var(--su-shadow-menu);
  border-top: 3px solid var(--su-primary);
}

.header-nav-contents__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem 1.5rem;
  margin: 0;
  position: relative;
}

/* hairline divider between the two columns */
.header-nav-contents__links::before {
  content: '';
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 50%;
  width: 1px;
  background: var(--su-line);
}
@media (max-width: 992px) {
  .header-nav-contents__links::before { display: none; }
}

.header-nav-contents__link {
  margin-bottom: 0;
  align-items: center;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  transition: background .18s ease, transform .18s ease;
}

.header-nav-contents__link:hover {
  background: var(--su-tint);
  transform: translateY(-1px);
}

/* rounded-square tinted icon, fills with brand colour on hover */
.header-nav-contents__icon {
  height: 2.6rem;
  width: 2.6rem;
  border-radius: 13px;
  background: var(--su-tint);
  color: var(--su-primary);
  transition: background .18s ease, color .18s ease;
}

.header-nav-contents__link:hover .header-nav-contents__icon {
  background: var(--su-primary);
  color: #fff;
}

.header-nav-contents__heading {
  font-size: 0.92rem;
  line-height: 1.15rem;
  color: var(--su-ink);
}

.header-nav-contents__info {
  font-size: 0.78rem;
  line-height: 1.05rem;
  color: var(--su-muted);
}

/* collapse back to a single column inside the mobile off-canvas menu */
@media (max-width: 992px) {
  .header-nav-contents {
    width: 100%;
    padding: 0;
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }
  .header-nav-contents__links {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .header-nav-contents__link {
    padding: 0.85rem 0.25rem;
  }
}

/* --------------------------------------------------------------------------
   2. Navigation bar — a hair of depth so it reads as a real header
   -------------------------------------------------------------------------- */
.navbar.fixed-top.bg-white {
  box-shadow: 0 1px 0 var(--su-line), 0 6px 24px rgba(17, 24, 39, .04);
}

.navbar .nav-link.js-main-link {
  border-radius: 10px;
  transition: color .15s ease, background .15s ease;
}
.navbar .nav-link.js-main-link:hover {
  color: var(--su-primary);
}
.navbar .nav-link.js-main-link svg {
  transition: transform .2s ease;
}
.navbar .nav-link.js-main-link.is-active {
  color: var(--su-primary);
}
.navbar .nav-link.js-main-link.is-active svg {
  transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   3. Cards — softer corners, hairline border, gentle hover lift
   -------------------------------------------------------------------------- */
.card {
  border: 1px solid var(--su-line);
  border-radius: var(--su-radius);
  box-shadow: var(--su-shadow-sm);
  overflow: hidden;
}

/* hover lift only for the clickable listing cards, never forms/dashboards */
.horizontal-scroll .card,
.startup-card,
a > .card {
  transition: transform .22s ease, box-shadow .22s ease;
}
.horizontal-scroll .card:hover,
.startup-card:hover,
a:hover > .card {
  transform: translateY(-4px);
  box-shadow: var(--su-shadow-md);
}

/* consistent, well-cropped cover images on the listing cards */
.horizontal-scroll .card > a > .card-img-top,
.horizontal-scroll .card .card-img-top,
.startup-card > img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card .card-title,
.card .startup-title {
  color: var(--su-ink);
  font-weight: 700;
}

/* trending cards carry two .card-body blocks; tighten the second one */
.horizontal-scroll .card .card-body + .card-body {
  padding-top: 0;
}

/* --------------------------------------------------------------------------
   4. Directory list rows (startups / ESOs) — turn flat rows into cards
   -------------------------------------------------------------------------- */
.list-group-flush.startup .startup__item,
.startup__item {
  border: 1px solid var(--su-line) !important;
  border-radius: 12px;
  margin-bottom: 0.6rem;
  padding: 0.9rem 1rem;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.startup__item:hover {
  background: var(--su-tint) !important;
  border-color: rgba(242, 145, 36, .3) !important;
  box-shadow: var(--su-shadow-sm);
}
.startup__item-logo img {
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--su-line);
  background: #fff;
}
.startup__item-heading a,
.card-title a {
  color: var(--su-ink);
}
.startup__item-heading a:hover,
.card-title a:hover {
  color: var(--su-primary);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   5. Tag / chip pills
   -------------------------------------------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f3f4f6;
  color: #374151;
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background .15s ease, color .15s ease;
}
.tag:hover {
  background: var(--su-primary);
  color: #fff;
  text-decoration: none;
}
.tag .icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   6. Buttons — modern radius, brand-tinted shadow, clear hover
   -------------------------------------------------------------------------- */
.btn {
  border-radius: 10px;
  font-weight: 600;
}
.btn-primary {
  background-color: var(--su-primary);
  border-color: var(--su-primary);
  box-shadow: 0 2px 10px rgba(242, 145, 36, .28);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--su-primary-dark) !important;
  border-color: var(--su-primary-dark) !important;
  box-shadow: 0 4px 14px rgba(242, 145, 36, .34);
}
.signin.btn-primary {
  padding-left: 1.4rem;
  padding-right: 1.4rem;
}

/* --------------------------------------------------------------------------
   7. Section headings — a touch more air and hierarchy
   -------------------------------------------------------------------------- */
section > .h3,
section .h3.mb-4 {
  letter-spacing: -0.01em;
  color: var(--su-ink);
}

/* sidebar CTA panels (Add your startup, etc.) get soft corners too */
section.bg-primary {
  border-radius: var(--su-radius);
}
section.bg-white.rounded-1 {
  border: 1px solid var(--su-line);
  border-radius: var(--su-radius) !important;
}

/* --------------------------------------------------------------------------
   8. Startup / profile detail page — logo + tabs polish
   -------------------------------------------------------------------------- */
.venture__logo img.logo {
  border-radius: 16px;
  border: 1px solid var(--su-line);
  background: #fff;
  padding: 4px;
  object-fit: contain;
  box-shadow: var(--su-shadow-sm);
}
.venture__tagline {
  color: var(--su-muted);
  font-weight: 400;
}
.nav-tabs .nav-link {
  border: 0;
  color: var(--su-muted);
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-tabs .nav-link:hover {
  color: var(--su-ink);
  border-bottom-color: var(--su-line);
}
.nav-tabs .nav-link.active {
  color: var(--su-primary);
  border-bottom-color: var(--su-primary);
  background: transparent;
}

/* ==========================================================================
   9. Homepage repositioning (national association of ESOs)
   ========================================================================== */

/* Hero video + scroll cue */
.su-hero #vidBox,
.su-hero #videCont {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  padding: 0;
}
.su-hero video {
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55 !important;
}
.su-scroll-cue {
  position: absolute;
  left: 2.25rem;
  bottom: 2.25rem;
  z-index: 2;
  align-items: center;
  gap: .5rem;
  color: rgba(255, 255, 255, .75);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s ease, transform .2s ease;
}
.su-scroll-cue:hover {
  color: #fff;
  transform: translateY(2px);
}
.su-scroll-cue svg { animation: su-bob 1.8s ease-in-out infinite; }
@keyframes su-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Hero copy width + CTAs */
.su-hero-title { max-width: 60rem; line-height: 1.04; letter-spacing: -0.02em; }
.su-hero-sub { max-width: 46rem; opacity: .95; }
.su-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.su-btn-ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .7);
  background: transparent;
}
.su-btn-ghost:hover {
  color: var(--su-ink);
  background: #fff;
  border-color: #fff;
}

/* Hero stats strip */
.su-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 60rem;
  margin-bottom: 0;
}
.su-hero-stats > div {
  padding: 0.25rem 0;
  border-left: 2px solid rgba(255, 255, 255, .25);
  padding-left: 1rem;
}
.su-hero-stats dd {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.05;
  color: var(--su-primary);
}
.su-hero-stats dt {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
}
@media (max-width: 767px) {
  .su-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .su-hero-stats dd { font-size: 1.9rem; }
}

/* Shared lede paragraph */
.su-lede { max-width: 54rem; font-size: 1.02rem; }

/* Section eyebrow label */
.su-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--su-primary);
}

/* Bold editorial section heading */
.su-h2 {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--su-ink);
  max-width: 34rem;
}
.su-h2--light { color: #fff; max-width: 40rem; margin-left: auto; margin-right: auto; }
@media (max-width: 575px) { .su-h2 { font-size: 1.6rem; } }

/* Full-bleed tinted section band */
.su-band { background: transparent; }
.su-band--tint { background: var(--su-tint); }

/* What we do — card grid */
.su-do-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 991px) { .su-do-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .su-do-grid { grid-template-columns: 1fr; } }
.su-do-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--su-line);
  border-radius: var(--su-radius);
  padding: 1.6rem 1.4rem 1.4rem;
  box-shadow: var(--su-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.su-do-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--su-shadow-md);
  border-color: rgba(242, 145, 36, .35);
}
.su-do-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--su-tint);
  color: var(--su-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.su-do-icon svg {
  width: 24px;
  height: 24px;
}
.su-do-card h3 { position: relative; margin-bottom: .5rem; color: var(--su-ink); }
.su-do-card p { position: relative; margin: 0; color: var(--su-muted); font-size: .92rem; }

/* Member logo grid — self-filling, never orphans the last row */
.su-member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: .75rem;
}
.su-member-cell {
  display: block;
  border: 1px solid var(--su-line);
  border-radius: 10px;
  padding: 8px;
  background: #fff;
  aspect-ratio: 3 / 2;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.su-member-cell:hover {
  border-color: rgba(242, 145, 36, .35);
  box-shadow: var(--su-shadow-sm);
  transform: translateY(-2px);
}
.su-member-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  transition: transform .2s ease;
}
.su-member-cell:hover .su-member-logo {
  transform: scale(1.03);
}

/* Blog cards on the homepage */
.su-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .su-post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .su-post-grid { grid-template-columns: 1fr; } }

.su-post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--su-line);
  border-radius: var(--su-radius);
  overflow: hidden;
  box-shadow: var(--su-shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
  height: 100%;
}
.su-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--su-shadow-md);
}
.su-post-card__media {
  height: 200px;
  overflow: hidden;
  display: block;
}
.su-post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.su-post-card:hover .su-post-card__media img {
  transform: scale(1.05);
}
.su-post-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.su-post-date {
  font-size: .78rem;
  font-weight: 600;
  color: var(--su-primary);
  margin-bottom: .35rem;
}
.su-post-title { color: var(--su-ink); }
.su-post-excerpt { font-size: .9rem; }
.su-readmore { font-weight: 600; color: var(--su-primary); }
.su-readmore:hover { color: var(--su-primary-dark); text-decoration: none; }

/* In the news — copy panel + oversized pull-quote panel */
.su-section--dark {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: #fff;
}
.su-section--dark .su-h2, .su-section--dark .su-news-copy p {
  color: #fff;
}
.su-section--dark .su-link {
  color: var(--su-primary);
}
.su-section--dark .su-link:hover {
  color: #fff;
}

.su-news-panel {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}
@media (max-width: 900px) { .su-news-panel { grid-template-columns: 1fr; } }
.su-news-copy p { font-size: 1.05rem; color: #374151; }
.su-news-punch {
  position: relative;
  background: linear-gradient(135deg, var(--su-primary) 0%, var(--su-primary-dark) 100%);
  border-radius: var(--su-radius);
  padding: 2rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 12rem;
}
.su-news-quote {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(255, 255, 255, .45);
}
.su-news-punch p {
  margin: 0;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

/* Partners */
.su-partners { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.su-partner-badge {
  font-weight: 700;
  color: var(--su-ink);
  background: #fff;
  border: 1px solid var(--su-line);
  border-radius: 12px;
  padding: 1rem 1.6rem;
  font-size: 1.05rem;
  box-shadow: var(--su-shadow-sm);
}
.su-partner-logo { max-height: 56px; width: auto; }

/* Join band */
.su-join-band {
  background: linear-gradient(120deg, var(--su-primary) 0%, var(--su-primary-dark) 100%);
  padding: 3.5rem 0;
}
.su-join-body { max-width: 48rem; opacity: .96; }
.su-join-btn { color: var(--su-primary-dark) !important; }

/* --------------------------------------------------------------------------
   8. View Page Grid Layouts
   -------------------------------------------------------------------------- */
.su-do-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .su-do-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .su-do-grid {
    grid-template-columns: 1fr;
  }
}

.su-do-card {
  background: #fff;
  border: 1px solid var(--su-line);
  border-radius: var(--su-radius);
  padding: 1.5rem;
  box-shadow: var(--su-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.su-do-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--su-shadow-md);
}

/* --------------------------------------------------------------------------
   10. Hero — height fix
   -------------------------------------------------------------------------- */
.su-hero {
  min-height: 100vh;
  padding-bottom: 6rem;
  display: flex;
  align-items: center;
  position: relative;
}

@media (max-width: 991px) {
  .su-hero {
    min-height: 80vh;
    padding-bottom: 4rem;
  }
}

/* --------------------------------------------------------------------------
   11. Stats band — standalone section below the hero
   -------------------------------------------------------------------------- */
.su-stats-band {
  background: #fff;
  border-top: 3px solid var(--su-primary);
  border-bottom: 1px solid var(--su-line);
  padding: 3rem 0;
}

.su-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .su-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .su-stats-grid { grid-template-columns: 1fr; }
}

.su-stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.su-stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--su-tint);
  color: var(--su-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.su-stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--su-ink);
  line-height: 1.1;
}

.su-stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--su-muted);
  margin-top: 0.2rem;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   11b. Header Transparent Mode Overrides
   -------------------------------------------------------------------------- */
.navbar-light.home-nav {
  z-index: 40;
}
.su-logo-white {
  filter: brightness(0) invert(1);
}
.home-nav .js-main-link {
  color: rgba(255, 255, 255, 0.9) !important;
}
.home-nav .js-main-link:hover {
  color: #fff !important;
}
.home-nav .navbar-toggler-icon {
  filter: brightness(0) invert(1);
}



/* ==========================================================================
   12. Global inner-page upgrades — applies to ALL pages using .page-hero
   ========================================================================== */

/* ── Page hero banner — uniform 50vh across all inner pages ── */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1f2937 0%, #111827 60%, #1f2937 100%) !important;
  padding: 64px 0 !important;
  text-align: center;
  border-bottom: none !important;
  overflow: hidden;
}
@media (max-width: 767px) {
  .page-hero {
    min-height: 42vh;
    padding: 48px 0 !important;
  }
}

/* Soft brand-colour glow — replaces the old flat grid overlay */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 25%, rgba(242,145,36,.18) 0%, transparent 45%),
    radial-gradient(circle at 82% 80%, rgba(242,145,36,.12) 0%, transparent 50%);
  pointer-events: none;
}

/* Orange accent bar at the bottom of hero */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--su-primary) 0%, var(--su-primary-dark) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-title {
  font-weight: 900 !important;
  font-size: clamp(2rem, 5vw, 3.2rem) !important;
  color: #fff !important;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px !important;
  position: relative;
}

.page-subtitle {
  color: var(--su-primary) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px !important;
  position: relative;
}

.page-intro {
  font-size: 1.1rem !important;
  color: rgba(255,255,255,.78) !important;
  max-width: 680px;
  margin: 0 auto !important;
  line-height: 1.75;
  position: relative;
}

/* ── Section rhythm ── */
.content-section,
.board-section,
.secretariat-section,
.blog-section,
.directory-section,
.join-section {
  padding: 72px 0 !important;
}

/* ── Section headings ── */
.section-heading,
.section-title {
  font-weight: 900 !important;
  font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
  color: var(--su-ink) !important;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

/* Decorative underline on centered headings */
.section-title {
  display: inline-block;
  padding-bottom: 12px;
  position: relative;
  margin-bottom: 40px !important;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 48px; height: 4px;
  background: var(--su-primary);
  border-radius: 2px;
}

/* ── Body text ── */
.text-body {
  font-size: 1.05rem !important;
  color: #374151 !important;
  line-height: 1.8;
}

/* ── Team cards — premium lift ── */
.team-card {
  border: 1px solid var(--su-line) !important;
  border-radius: 18px !important;
  box-shadow: var(--su-shadow-sm) !important;
  padding: 40px 28px !important;
  transition: transform .22s ease, box-shadow .22s ease !important;
  background: #fff !important;
}
.team-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--su-shadow-md) !important;
}
.team-img {
  width: 130px !important;
  height: 130px !important;
  border: 4px solid var(--su-tint) !important;
  box-shadow: 0 0 0 2px var(--su-primary);
}
.team-name {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
}
.team-title {
  color: var(--su-primary) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em !important;
}

/* ── Blog cards ── */
.blog-card {
  border: 1px solid var(--su-line) !important;
  border-radius: 16px !important;
  box-shadow: var(--su-shadow-sm) !important;
  transition: transform .22s ease, box-shadow .22s ease !important;
  background: #fff !important;
}
.blog-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--su-shadow-md) !important;
}
.blog-title a { color: var(--su-ink); }
.blog-title a:hover { color: var(--su-primary); }
.read-more-btn { color: var(--su-primary) !important; }
.read-more-btn:hover { color: var(--su-primary-dark) !important; }

/* ── Member grid & cards (list pages) ── */
.member-card {
  border: 1px solid var(--su-line) !important;
  border-radius: 16px !important;
  box-shadow: var(--su-shadow-sm) !important;
  padding: 28px !important;
  transition: transform .22s ease, box-shadow .22s ease !important;
  background: #fff !important;
}
.member-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: var(--su-shadow-md) !important;
  border-color: rgba(242,145,36,.25) !important;
}
.member-logo {
  border-radius: 50%;
  border: 3px solid var(--su-tint) !important;
}
.member-name { color: var(--su-ink) !important; font-weight: 800 !important; }
.member-desc { color: var(--su-muted) !important; }
.view-profile-btn {
  color: var(--su-primary) !important;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.view-profile-btn:hover { color: var(--su-primary-dark) !important; }

/* member-meta tag pills */
.member-meta span {
  background: var(--su-tint) !important;
  color: #7c4a00 !important;
  border-radius: 999px !important;
  padding: 4px 12px !important;
  font-size: 0.78rem !important;
  font-weight: 600;
}

/* ── Join / CTA section ── */
.join-section {
  background: linear-gradient(120deg, #1f2937 0%, #111827 100%) !important;
  border-top: none !important;
}
.join-section h3 { color: #fff !important; }
.join-section p, .join-section li { color: rgba(255,255,255,.78) !important; }
.join-section ul li::marker { color: var(--su-primary); }
.btn-primary-custom {
  background: var(--su-primary) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 14px 32px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  box-shadow: 0 4px 14px rgba(242,145,36,.35) !important;
  transition: background .18s, transform .18s, box-shadow .18s !important;
}
.btn-primary-custom:hover {
  background: var(--su-primary-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(242,145,36,.45) !important;
}

/* ── Filter bar ── */
.filter-bar {
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  border-radius: 12px !important;
  backdrop-filter: blur(8px);
  max-width: 680px;
  margin: 28px auto 0 !important;
}
.filter-bar input,
.filter-bar select {
  border: 1px solid rgba(255,255,255,.25) !important;
  background: rgba(255,255,255,.9) !important;
  border-radius: 8px !important;
  font-size: 0.95rem !important;
}
.filter-bar button {
  background: var(--su-primary) !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  padding: 10px 28px !important;
  transition: background .18s, transform .18s !important;
}
.filter-bar button:hover {
  background: var(--su-primary-dark) !important;
  transform: translateY(-1px);
}

/* ── Dark section block ── */
.bg-dark-section {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%) !important;
  position: relative;
  overflow: hidden;
}
.bg-dark-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242,145,36,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,145,36,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* ── Priority list ── */
.priority-list li::before {
  background-color: var(--su-primary) !important;
  box-shadow: 0 4px 10px rgba(242,145,36,.35);
  width: 32px !important;
  height: 32px !important;
  border-radius: 50%;
}

/* ── Startup list items (full-width) ── */
.startup__item {
  border-radius: 14px !important;
  padding: 1rem 1.25rem !important;
}

/* ── Blog post cards on homepage ── */
.su-post-date {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--su-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 6px;
}
.su-post-title { font-weight: 700; color: var(--su-ink); line-height: 1.35; }
.su-post-excerpt { font-size: 0.9rem; color: var(--su-muted); }
.su-readmore { font-weight: 700; color: var(--su-primary); font-size: 0.88rem; }
.su-readmore:hover { color: var(--su-primary-dark); text-decoration: none; }

/* ── Overall bg-light refinement ── */
.bg-light {
  background: #f9fafb !important;
}

/* ── Pagination links ── */
.pagination .page-item.active .page-link {
  background: var(--su-primary);
  border-color: var(--su-primary);
  color: #fff;
}
.pagination .page-link {
  color: var(--su-primary);
  border-radius: 8px !important;
  margin: 0 2px;
  transition: background .15s;
}
.pagination .page-link:hover {
  background: var(--su-tint);
  color: var(--su-primary-dark);
}

/* ==========================================================================
   13. 2026 MODERN REFRESH v2  (loaded last — wins over everything above)
   Editorial layout, cinematic hero, interactive stats, no AI-kicker clutter.
   ========================================================================== */

:root {
  --su-ink: #0f172a;
  --su-muted: #64748b;
  --su-line: rgba(15, 23, 42, .09);
  --su-wash: #f7f8fb;                 /* clean neutral section wash */
  --su-shadow-md: 0 22px 48px -22px rgba(15, 23, 42, .34);
  --su-shadow-lift: 0 30px 64px -34px rgba(15, 23, 42, .45);
}

/* ---- Kill the AI tells: eyebrow kickers + centered underline dashes ---- */
.su-eyebrow { display: none !important; }
.section-title::after,
.section-heading::after { display: none !important; }
.section-title { padding-bottom: 0 !important; margin-bottom: 22px !important; }

/* ---- Modern buttons (bootstrap classes, used site-wide) ---- */
.btn { border-radius: 12px; font-weight: 700; letter-spacing: -0.005em; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease; }
.btn-lg { padding: .85rem 1.6rem; font-size: 1rem; }
.btn-primary { background-color: var(--su-primary); border-color: var(--su-primary); box-shadow: 0 12px 26px -12px rgba(242,145,36,.85); }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { background-color: var(--su-primary-dark) !important; border-color: var(--su-primary-dark) !important; transform: translateY(-2px); box-shadow: 0 18px 32px -12px rgba(242,145,36,.9) !important; }
.btn-outline-primary { border: 1.5px solid var(--su-primary); color: var(--su-primary); }
.btn-outline-primary:hover { background: var(--su-primary); border-color: var(--su-primary); color: #fff; transform: translateY(-2px); }

/* ---- Reusable pill button (hero + CTAs) ---- */
.su-btn { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1rem; line-height: 1; padding: 1rem 1.6rem; border-radius: 12px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease; }
.su-btn svg { transition: transform .18s ease; }
.su-btn:hover { text-decoration: none; }
.su-btn:hover svg { transform: translateX(3px); }
.su-btn--primary { background: var(--su-primary); color: #fff; box-shadow: 0 14px 30px -12px rgba(242,145,36,.85); }
.su-btn--primary:hover { background: var(--su-primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 20px 38px -12px rgba(242,145,36,.95); }
.su-btn--ghost { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.su-btn--ghost:hover { background: #fff; color: var(--su-ink); border-color: #fff; transform: translateY(-2px); }
.su-btn--onbrand { background: #fff; color: var(--su-primary-dark); box-shadow: 0 16px 34px -14px rgba(0,0,0,.5); }
.su-btn--onbrand:hover { color: var(--su-primary-dark); transform: translateY(-2px); box-shadow: 0 22px 42px -14px rgba(0,0,0,.6); }
.su-btn--sm { padding: .6rem 1.1rem; font-size: .9rem; border-radius: 10px; gap: .4rem; }
@media (min-width: 992px) {
  .side-bar-menu .signin.su-btn { display: inline-flex !important; width: auto; }
}

/* ---- Text link with sliding arrow ---- */
.su-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--su-primary); text-decoration: none; }
.su-link:hover { color: var(--su-primary-dark); text-decoration: none; }
.su-link svg { transition: transform .18s ease; }
.su-link:hover svg { transform: translateX(3px); }
.su-link--muted { color: var(--su-muted); }
.su-link--muted:hover { color: var(--su-primary); }

/* ---- HERO — cinematic photo + gradient scrim ---- */
.su-hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: 0;
  background-color: #0b1220;
  background-image: url("/images/bg.jpg");
  background-size: cover;
  background-position: center 22%; }
@media (max-width: 991px) { .su-hero { min-height: 80vh; } }
.su-hero__scrim { position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(7,12,23,.94) 0%, rgba(7,12,23,.74) 40%, rgba(7,12,23,.34) 100%),
    linear-gradient(0deg, rgba(7,12,23,.86) 0%, rgba(7,12,23,0) 46%); }
.su-hero__inner { position: relative; z-index: 2; padding-top: 5rem; padding-bottom: 9.5rem; }
.su-hero__content { max-width: 55rem; }
.su-hero-title { color: #fff; font-weight: 800; font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.04; letter-spacing: -0.028em; margin: 0; }
.su-hl { color: var(--su-primary); }
.su-hero-sub { color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.6; max-width: 44rem; margin: 1.4rem 0 0; }
.su-hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

/* ---- STATS — floating card that overlaps the hero, animated counters ---- */
.su-stats-wrap { position: relative; z-index: 5; margin-top: -5rem; }
.su-stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--su-line); border-radius: 20px; box-shadow: var(--su-shadow-lift); overflow: hidden; }
.su-stat { position: relative; padding: 2.1rem 1.9rem; border-right: 1px solid var(--su-line); opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.su-stat:last-child { border-right: 0; }
.su-stats.is-visible .su-stat { opacity: 1; transform: none; }
.su-stats.is-visible .su-stat:nth-child(2) { transition-delay: .08s; }
.su-stats.is-visible .su-stat:nth-child(3) { transition-delay: .16s; }
.su-stats.is-visible .su-stat:nth-child(4) { transition-delay: .24s; }
.su-stat::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--su-primary); transition: width .3s ease; }
.su-stat:hover::after { width: 100%; }
.su-stat__num { font-size: clamp(2.1rem, 3.4vw, 3rem); font-weight: 800; color: var(--su-ink); letter-spacing: -0.03em; line-height: 1; }
.su-stat__num--sm { font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--su-primary); }
.su-stat__label { margin-top: .6rem; color: var(--su-muted); font-size: .9rem; line-height: 1.35; }
@media (max-width: 900px) {
  .su-stats { grid-template-columns: repeat(2, 1fr); }
  .su-stat:nth-child(2) { border-right: 0; }
  .su-stat:nth-child(1), .su-stat:nth-child(2) { border-bottom: 1px solid var(--su-line); }
}
@media (max-width: 480px) {
  .su-stats-wrap { margin-top: -3rem; }
  .su-stats { grid-template-columns: 1fr; }
  .su-stat { border-right: 0; border-bottom: 1px solid var(--su-line); }
  .su-stat:last-child { border-bottom: 0; }
}

/* ---- Section rhythm + editorial headings (no kicker) ---- */
.su-section { padding: 5.5rem 0; }
.su-section--tint { background: var(--su-wash); }
.su-h2 { font-size: clamp(1.85rem, 3.1vw, 2.7rem); font-weight: 800; letter-spacing: -0.028em; line-height: 1.1; color: var(--su-ink); margin: 0 0 1rem; max-width: 40rem; }
.su-lede { max-width: 52rem; color: var(--su-muted); font-size: 1.05rem; line-height: 1.7; margin: 0; }
.su-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.su-section-head .su-h2 { margin-bottom: 0; }

/* ---- What we do cards ---- */
.su-do-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
@media (max-width: 991px) { .su-do-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .su-do-grid { grid-template-columns: 1fr; } }
.su-do-card { position: relative; background: #fff; border: 1px solid var(--su-line); border-radius: 16px; padding: 2rem 1.6rem 1.7rem; overflow: hidden; box-shadow: var(--su-shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.su-do-card::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 3px; background: var(--su-primary); transform: scaleY(0); transform-origin: top; transition: transform .28s ease; }
.su-do-card:hover { transform: translateY(-5px); box-shadow: var(--su-shadow-md); border-color: rgba(242,145,36,.3); }
.su-do-card:hover::before { transform: scaleY(1); }
.su-do-num { position: absolute; top: 1rem; right: 1.25rem; font-size: 2.4rem; font-weight: 800; color: var(--su-primary); opacity: .16; line-height: 1; }
.su-do-card h3 { font-size: 1.12rem; font-weight: 700; color: var(--su-ink); margin: .3rem 0 .55rem; line-height: 1.3; }
.su-do-card p { color: var(--su-muted); font-size: .95rem; line-height: 1.6; margin: 0; }

/* ---- Member logo grid ---- */
.su-member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .75rem; }
.su-member-cell { display: flex; align-items: center; justify-content: center; border: 1px solid var(--su-line); border-radius: 12px; padding: 12px; background: #fff; aspect-ratio: 3 / 2; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.su-member-cell:hover { border-color: rgba(242,145,36,.35); box-shadow: var(--su-shadow-sm); transform: translateY(-3px); }
.su-member-logo { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .25s ease; }
.su-member-cell:hover .su-member-logo { transform: scale(1.05); }

/* ---- Blog post cards ---- */
.su-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 0; }
@media (max-width: 900px) { .su-post-grid { grid-template-columns: 1fr; } }
.su-post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--su-line); border-radius: 16px; overflow: hidden; box-shadow: var(--su-shadow-sm); transition: transform .22s ease, box-shadow .22s ease; }
.su-post-card:hover { transform: translateY(-5px); box-shadow: var(--su-shadow-md); }
.su-post-card__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; }
.su-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.su-post-card:hover .su-post-card__media img { transform: scale(1.05); }
.su-post-card__body { padding: 1.25rem 1.3rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.su-post-date { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--su-primary); margin-bottom: .5rem; }
.su-post-title { font-size: 1.06rem; font-weight: 700; color: var(--su-ink); line-height: 1.35; margin: 0 0 .5rem; }
a:hover .su-post-title { color: var(--su-primary); }
.su-post-excerpt { font-size: .92rem; color: var(--su-muted); line-height: 1.6; }
.su-readmore { font-weight: 700; color: var(--su-primary); font-size: .9rem; }
.su-readmore:hover { color: var(--su-primary-dark); text-decoration: none; }

/* ---- In the news ---- */
.su-news-panel { display: grid; grid-template-columns: 1.35fr 1fr; gap: 2.75rem; align-items: stretch; }
@media (max-width: 900px) { .su-news-panel { grid-template-columns: 1fr; } }
.su-news-copy p { font-size: 1.05rem; color: #334155; line-height: 1.7; }
.su-news-punch { position: relative; background: linear-gradient(135deg, var(--su-primary) 0%, #d97706 100%); border-radius: 20px; padding: 2.25rem; display: flex; flex-direction: column; justify-content: center; min-height: 13rem; box-shadow: 0 26px 50px -26px rgba(242,145,36,.7); }
.su-news-quote { font-family: Georgia, "Times New Roman", serif; font-size: 5rem; line-height: .7; color: rgba(255,255,255,.5); }
.su-news-punch p { margin: .5rem 0 0; color: #fff; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }

/* ---- Partners ---- */
.su-partners { display: flex; flex-wrap: wrap; gap: 1rem; }
.su-partner { display: flex; flex: 0 0 200px; align-items: center; justify-content: center; width: 200px; height: 96px; padding: 1rem 1.5rem; background: #fff; border: 1px solid var(--su-line); border-radius: 16px; box-shadow: var(--su-shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.su-partner:hover { transform: translateY(-3px); box-shadow: var(--su-shadow-md); }
.su-partner--text { font-weight: 700; font-size: 1.1rem; color: var(--su-ink); }
.su-partner-logo { max-height: 58px; max-width: 100%; width: auto; object-fit: contain; }

/* ---- Join CTA — bold rounded gradient panel ---- */
.su-join { padding: 1.5rem 0 5.5rem; }
.su-join__inner { position: relative; overflow: hidden; text-align: center; border-radius: 26px; padding: 4.25rem 2rem; background: linear-gradient(120deg, var(--su-primary) 0%, #d97706 100%); box-shadow: 0 34px 70px -34px rgba(242,145,36,.75); }
.su-join__inner::before { content: ''; position: absolute; width: 460px; height: 460px; border-radius: 50%; top: -230px; right: -120px; background: radial-gradient(circle, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 70%); pointer-events: none; }
.su-join__title { position: relative; color: #fff; font-size: clamp(1.85rem, 3vw, 2.7rem); font-weight: 800; letter-spacing: -0.025em; margin: 0 0 1rem; }
.su-join__body { position: relative; color: rgba(255,255,255,.92); max-width: 46rem; margin: 0 auto 2rem; font-size: 1.06rem; line-height: 1.65; }
.su-join .su-btn--onbrand { position: relative; }

/* ---- Newsletter ---- */
.su-newsletter-card {
  background: #fff;
  border-radius: 24px;
  padding: 4rem;
  box-shadow: 0 20px 40px rgba(17,24,39,0.06);
  border: 1px solid var(--su-line);
  transform: translateY(-3rem);
}
@media (max-width: 991px) {
  .su-newsletter-card {
    padding: 2.5rem;
    transform: translateY(-2rem);
  }
}
.su-newsletter-card form input:focus {
  outline: none;
}

/* ---- Global: fix dark-on-dark text on inner-page dark sections ---- */
.bg-dark-section .section-heading,
.bg-dark-section h1, .bg-dark-section h2, .bg-dark-section h3, .bg-dark-section h4, .bg-dark-section h5, .bg-dark-section h6,
.bg-dark-section p, .bg-dark-section span, .bg-dark-section div, .bg-dark-section li {
  color: #ffffff !important;
}

/* ---- Footer Visibility Fix ---- */
.su-footer .text-white-50,
.su-footer a.text-white-50 {
  color: rgba(255, 255, 255, 0.7) !important;
  transition: color 0.2s ease;
}
.su-footer a.text-white-50:hover,
.su-footer .footer-hover:hover {
  color: #ffffff !important;
  text-decoration: none;
}
.su-footer .text-white {
  color: #ffffff !important;
}

/* ---- Global: de-shout the inner-page subtitle (was an uppercase AI kicker) ---- */
.page-subtitle { text-transform: none !important; letter-spacing: -0.01em !important; font-weight: 600 !important; font-size: 1.15rem !important; color: rgba(255,255,255,.82) !important; }

/* ---- Respect reduced-motion ---- */
@media (prefers-reduced-motion: reduce) {
  .su-stat { opacity: 1 !important; transform: none !important; transition: none !important; }
  .su-btn, .btn, .su-do-card, .su-post-card, .su-member-cell, .su-partner { transition: none !important; }
}

/* ==========================================================================
   13. Directory Grid (ESOs, etc.)
   ========================================================================== */

.filter-bar {
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.filter-bar input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    flex: 1;
}
.filter-bar button {
    background-color: var(--su-primary);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}
.filter-bar button:hover {
    background-color: var(--su-primary-dark);
}

.directory-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.member-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}
.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.member-logo-wrapper {
    margin-bottom: 20px;
}
.member-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 50%;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #f0f0f0;
    padding: 8px;
}
.member-name {
    font-weight: 800;
    font-size: 1.25rem;
    color: #1a1a1a;
    margin-bottom: 8px;
}
.member-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}
.view-profile-btn {
    display: inline-block;
    font-weight: 700;
    color: var(--su-primary);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.view-profile-btn:hover {
    color: var(--su-primary-dark);
    text-decoration: underline;
}

/* ==========================================================================
   14. Individual Profiles (Startups, ESOs, etc.)
   ========================================================================== */

/* Profile Cover Photo */
.profile-hero {
    position: relative;
    width: 100%;
    height: 360px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f3f4f6;
    overflow: hidden;
}

.profile-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 60%);
}

/* Profile Header Card */
.profile-header-wrapper {
    position: relative;
    margin-top: -80px;
    z-index: 10;
}

.profile-header-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.04);
}

.profile-logo {
    width: 130px;
    height: 130px;
    border-radius: 16px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #f0f0f0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.04);
    padding: 10px;
}

.profile-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.profile-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Modern Profile Tabs */
.profile-tabs {
    border-bottom: 2px solid #f3f4f6;
    margin-bottom: 32px;
    margin-top: 16px;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.profile-tabs::-webkit-scrollbar {
    display: none;
}

.profile-tabs .nav-link {
    border: none !important;
    background: transparent !important;
    color: #6b7280;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 16px 24px;
    position: relative;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.profile-tabs .nav-link:hover {
    color: #111827;
}

.profile-tabs .nav-link.active {
    color: var(--su-primary) !important;
}

.profile-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--su-primary);
    border-radius: 3px 3px 0 0;
}

/* Profile Content Elements */
.profile-section-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.profile-content-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #eaeaea;
    margin-bottom: 30px;
}

/* ==========================================================================
   15. Blog & Articles
   ========================================================================== */

/* Blog Cards (Used on Homepage and Blog Index) */
.news-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--su-line);
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border-color: transparent;
}
.news-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover img {
    transform: scale(1.05);
}
.news-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.news-title {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--su-text-dark);
    margin-bottom: 15px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

/* Single Blog Page */
.article-hero {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 40px;
}
.article-hero img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}
.article-content {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--su-text);
}
.article-content h1, .article-content h2, .article-content h3 {
    color: var(--su-text-dark);
    font-weight: 800;
    margin-top: 2em;
    margin-bottom: 1em;
}
.article-content p {
    margin-bottom: 1.5em;
}
.article-content blockquote {
    border-left: 4px solid var(--su-primary);
    padding-left: 20px;
    margin-left: 0;
    font-style: italic;
    color: #4b5563;
    background: #fff8f0;
    padding: 20px;
    border-radius: 0 12px 12px 0;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #4b5563;
    transition: all 0.2s ease;
    text-decoration: none;
}
.share-btn:hover {
    background: var(--su-primary);
    color: #fff;
    transform: translateY(-2px);
}
.comment-card {
    background: #f8f9fc;
    border-radius: 16px;
    padding: 24px;
}

/* ==========================================================================
   13. Scroll-reveal + homepage dynamic-energy pass
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16,.8,.24,1), transform .7s cubic-bezier(.16,.8,.24,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* staggered reveal for grid children */
.su-do-grid.reveal-group > *,
.su-member-grid.reveal-group > *,
.su-post-grid.reveal-group > *,
.su-partners.reveal-group > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.su-do-grid.reveal-group.is-visible > *,
.su-member-grid.reveal-group.is-visible > *,
.su-post-grid.reveal-group.is-visible > *,
.su-partners.reveal-group.is-visible > * {
  opacity: 1;
  transform: none;
}
.su-do-grid.reveal-group.is-visible > *:nth-child(1) { transition-delay: .02s; }
.su-do-grid.reveal-group.is-visible > *:nth-child(2) { transition-delay: .08s; }
.su-do-grid.reveal-group.is-visible > *:nth-child(3) { transition-delay: .14s; }
.su-do-grid.reveal-group.is-visible > *:nth-child(4) { transition-delay: .2s; }
.su-do-grid.reveal-group.is-visible > *:nth-child(5) { transition-delay: .26s; }
.su-do-grid.reveal-group.is-visible > *:nth-child(6) { transition-delay: .32s; }
.su-post-grid.reveal-group.is-visible > *:nth-child(1) { transition-delay: .02s; }
.su-post-grid.reveal-group.is-visible > *:nth-child(2) { transition-delay: .1s; }
.su-post-grid.reveal-group.is-visible > *:nth-child(3) { transition-delay: .18s; }
.su-partners.reveal-group.is-visible > *:nth-child(1) { transition-delay: .02s; }
.su-partners.reveal-group.is-visible > *:nth-child(2) { transition-delay: .08s; }
.su-partners.reveal-group.is-visible > *:nth-child(3) { transition-delay: .14s; }
.su-partners.reveal-group.is-visible > *:nth-child(4) { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .su-do-grid.reveal-group > *,
  .su-member-grid.reveal-group > *,
  .su-post-grid.reveal-group > *,
  .su-partners.reveal-group > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---- Ambient gradient blobs behind key sections (SaaS-style depth) ---- */
.su-section--glow {
  position: relative;
  overflow: hidden;
}
.su-section--glow::before,
.su-section--glow::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.su-section--glow::before {
  width: 26rem;
  height: 26rem;
  background: radial-gradient(circle, rgba(242,145,36,.16) 0%, transparent 70%);
  top: -8rem;
  right: -6rem;
}
.su-section--glow::after {
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(31,41,55,.08) 0%, transparent 70%);
  bottom: -6rem;
  left: -6rem;
}
.su-section--glow > .container {
  position: relative;
  z-index: 1;
}

/* ---- Icon micro-interaction on the "six things we do" cards ---- */
.su-do-icon {
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .25s ease, color .25s ease;
}
.su-do-card:hover .su-do-icon {
  background: var(--su-primary);
  color: #fff;
  transform: scale(1.1) rotate(-6deg);
}

/* ---- Subtle sheen sweep on primary buttons (SaaS hover polish) ---- */
.su-btn--primary {
  position: relative;
  overflow: hidden;
}
.su-btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.su-btn--primary:hover::after {
  left: 130%;
}

/* ---- Stat items: gentle icon lift on hover ---- */
.su-stat-icon {
  transition: transform .25s ease;
}
.su-stat-item:hover .su-stat-icon {
  transform: translateY(-3px) scale(1.06);
}
