/* ==========================================================================
   scc-home.css — concatenated homepage styles
   Sections: Hero, Mission, News, Services
   ========================================================================== */

/* ========================================================================
   HERO (from components/hero.css)
   ======================================================================== */
/* ==========================================================================
   Hero Component — hero.css
   BEM naming: .scc-hero, .scc-hero__[element], .scc-hero--[modifier]
   ========================================================================== */

/* ---------- Base Hero ---------- */
.scc-hero {
  position: relative;
  width: 100%;
  background: var(--scc-primary);
  display: flex;
  flex-direction: column;
  padding-top: 4rem;
}

.scc-hero:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--scc-accent);
}

@media (min-width: 768px) {
  .scc-hero {
    padding-top: 120px;
  }
}

/* ---------- Slider ---------- */
.scc-hero__slider {
  position: relative;
  width: 100%;
  display: grid;
}

@media (min-width: 768px) {
  .scc-hero__slider {
    height: 92vh;
    min-height: 650px;
    max-height: 970px;
  }
}

/* ---------- Slide ---------- */
.scc-hero__slide {
  grid-column-start: 1;
  grid-row-start: 1;
  width: 100%;
  height: 100%;
  transition: opacity 400ms ease-in-out;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

.scc-hero__slide--active {
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
}

/* ---------- Desktop Layout ---------- */
.scc-hero__desktop {
  display: none;
}

@media (min-width: 768px) {
  .scc-hero__desktop {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
  }
}

.scc-hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  inset: 0;
}

.scc-hero__content-desktop {
  position: absolute;
  bottom: 64px;
  left: 0;
  background: var(--scc-primary);
  padding: 32px 64px 32px 72px;
  max-width: 650px;
  text-align: left;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.scc-hero__category {
  font-size: var(--scc-text-sm);
  letter-spacing: 0.12em;
  color: var(--scc-secondary);
  font-weight: var(--scc-weight-bold);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.scc-hero__title {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-family: var(--scc-font-heading);
  font-weight: var(--scc-weight-bold);
  color: white;
  line-height: var(--scc-leading-tight);
  margin-bottom: 16px;
}

.scc-hero__desc {
  font-family: var(--scc-font-sans);
  font-size: var(--scc-text-base);
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--scc-leading-relaxed);
  margin-bottom: 28px;
}

.scc-hero__slide-cta {
  display: inline-block;
  background-color: var(--scc-success);
  color: #fff;
  font-size: var(--scc-text-base);
  font-weight: var(--scc-weight-semibold);
  padding: 0.75rem 1.75rem;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background-color 0.2s;
}

.scc-hero__slide-cta:hover {
  background-color: var(--scc-success-dark);
  color: #fff;
}

/* ---------- Mobile Layout ---------- */
.scc-hero__mobile {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

@media (min-width: 768px) {
  .scc-hero__mobile {
    display: none;
  }
}

.scc-hero__image-wrapper {
  width: 100%;
  height: 65vw;
  min-height: 320px;
  position: relative;
  flex-shrink: 0;
}

.scc-hero__mobile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  inset: 0;
}

.scc-hero__content-mobile {
  width: 100%;
  background: var(--scc-primary);
  padding: 24px 20px 20px;
  text-align: left;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.scc-hero__mobile-category {
  font-size: var(--scc-text-xs);
  letter-spacing: 0.12em;
  color: var(--scc-secondary);
  font-weight: var(--scc-weight-bold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.scc-hero__mobile-title {
  font-size: var(--scc-text-3xl);
  font-family: var(--scc-font-heading);
  font-weight: var(--scc-weight-bold);
  color: white;
  line-height: var(--scc-leading-tight);
  margin-bottom: 12px;
}

.scc-hero__mobile-desc {
  font-family: var(--scc-font-sans);
  font-size: var(--scc-text-base);
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--scc-leading-relaxed);
  margin-bottom: 20px;
}

.scc-hero__mobile-actions {
  margin-top: auto;
}

.scc-hero__mobile-cta {
  display: inline-block;
  background-color: var(--scc-success);
  color: #fff;
  font-size: var(--scc-text-sm);
  font-weight: var(--scc-weight-semibold);
  padding: 0.625rem 1.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background-color 0.2s;
}

.scc-hero__mobile-cta:hover {
  background-color: var(--scc-success-dark);
  color: #fff;
}

/* ---------- Navigation ---------- */
.scc-hero__nav {
  width: 100%;
  background: var(--scc-primary);
  padding: 14px 0 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20;
}

@media (min-width: 768px) {
  .scc-hero__nav {
    width: auto;
    background: transparent;
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
  }
}

.scc-hero__nav-controls {
  display: flex;
  align-items: center;
}

.scc-hero__nav-prev,
.scc-hero__nav-next {
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.scc-hero__nav-prev:focus-visible,
.scc-hero__nav-next:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--scc-accent);
}

.scc-hero__nav-prev {
  margin-right: 16px;
}

.scc-hero__nav-next {
  margin-left: 16px;
}

.scc-hero__nav-arrow {
  width: 2rem;
  height: 2rem;
}

/* ---------- Dots ---------- */
.scc-hero__dots {
  display: flex;
  gap: 10px;
}

.scc-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  transition: background-color 0.2s, opacity 0.2s;
  background: transparent;
  border: 1px solid white;
  opacity: 0.5;
  cursor: pointer;
  padding: 0;
}

.scc-hero__dot:hover {
  opacity: 1;
}

.scc-hero__dot:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--scc-accent);
}

.scc-hero__dot--active {
  background: white;
  border-color: white;
  opacity: 1;
}

/* ========================================================================
   MISSION (from components/mission.css)
   ======================================================================== */
/* ==========================================================================
   Mission Component (Homepage) — mission.css
   BEM naming: .scc-mission, .scc-mission__[element]
   ========================================================================== */

/* ---------- Base Section ---------- */
.scc-mission {
  width: 100%;
  transition: opacity 600ms ease-in;
}

@media (prefers-reduced-motion: reduce) {
  .scc-mission {
    transition: none;
  }
}

.scc-mission--hidden {
  opacity: 0;
}

.scc-mission--visible {
  opacity: 1;
}

/* ======================================================================
   DESKTOP LAYOUT
   ====================================================================== */
.scc-mission__desktop {
  display: none;
}

@media (min-width: 768px) {
  .scc-mission__desktop {
    display: block;
    width: 100%;
    background: var(--scc-muted);
    padding: 88px 0;
    border-top: 1px solid rgba(26, 87, 119, 0.1);
  }
}

.scc-mission__desktop-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  position: relative;
  align-items: stretch;
}

/* Vertical Divider */
.scc-mission__divider {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(26, 87, 119, 0.15);
  transform: translateX(-50%);
}

/* ---------- Left Column ---------- */
.scc-mission__left {
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (min-width: 992px) {
  .scc-mission__left {
    padding-right: 24px;
  }
}

.scc-mission__heading {
  font-family: var(--scc-font-heading);
  font-size: var(--scc-text-4xl);
  font-weight: var(--scc-weight-bold);
  color: var(--scc-primary);
  line-height: var(--scc-leading-tight);
  margin-bottom: 24px;
}

.scc-mission__text {
  font-family: var(--scc-font-sans);
  font-size: var(--scc-text-xl);
  color: var(--scc-foreground);
  line-height: var(--scc-leading-relaxed);
  margin-bottom: 40px;
}

.scc-mission__hr {
  width: 100%;
  height: 1px;
  background: rgba(26, 87, 119, 0.12);
  margin-bottom: 40px;
}

/* ---------- Statements ---------- */
.scc-mission__statements {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex-grow: 1;
  padding-bottom: 6px;
}

.scc-mission__statement {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.scc-mission__statement-label {
  font-size: var(--scc-text-base);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--scc-primary);
  font-weight: 800;
  font-family: var(--scc-font-sans);
  width: 84px;
  flex-shrink: 0;
}

.scc-mission__statement-text {
  font-size: var(--scc-text-xl);
  font-family: var(--scc-font-sans);
  color: var(--scc-foreground);
  font-weight: var(--scc-weight-regular);
  line-height: var(--scc-leading-relaxed);
}

/* ---------- Values ---------- */
.scc-mission__values {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.scc-mission__values-heading {
  font-size: var(--scc-text-base);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--scc-primary);
  font-weight: 800;
  font-family: var(--scc-font-sans);
  margin-bottom: 16px;
}

.scc-mission__values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.scc-mission__value-item {
  background: rgba(26, 87, 119, 0.05);
  border: 1px solid rgba(26, 87, 119, 0.1);
  border-radius: 9999px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scc-mission__value-num {
  font-family: var(--scc-font-sans);
  font-size: var(--scc-text-sm);
  font-weight: var(--scc-weight-medium);
  color: rgba(26, 87, 119, 0.5);
  margin-right: 6px;
}

.scc-mission__value-text {
  font-family: var(--scc-font-sans);
  font-size: var(--scc-text-base);
  font-weight: var(--scc-weight-medium);
  color: var(--scc-primary);
}

.scc-mission__link-wrapper {
  margin-top: auto;
  padding-top: 24px;
}

.scc-mission__link {
  display: inline-flex;
  align-items: center;
  font-size: var(--scc-text-base);
  font-weight: var(--scc-weight-medium);
  color: var(--scc-accent);
  transition: color 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.scc-mission__link:hover {
  color: var(--scc-primary);
}

.scc-mission__link-arrow {
  margin-left: 0.25rem;
}

/* ---------- Right Column (Impact) ---------- */
.scc-mission__right {
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (min-width: 992px) {
  .scc-mission__right {
    padding-left: 56px;
  }
}

/* Mission template wraps each stat in .scc-mission__stat and the set in
   .scc-mission__stats. Prototype CSS never had these wrappers, so add column
   layout here that distributes stats evenly across the right column's height
   (matching the left column's natural height thanks to grid align-items:stretch). */
.scc-mission__stats {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  gap: 20px;
}

.scc-mission__stat {
  display: flex;
  flex-direction: column;
}

.scc-mission__stat + .scc-mission__stat {
  border-top: 1px solid rgba(26, 87, 119, 0.12);
  padding-top: 20px;
}

.scc-mission__impact-heading {
  font-size: var(--scc-text-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--scc-primary);
  font-weight: var(--scc-weight-bold);
  font-family: var(--scc-font-sans);
  margin-bottom: 24px;
}

.scc-mission__stat-value {
  font-family: var(--scc-font-heading);
  font-weight: var(--scc-weight-bold);
  font-size: var(--scc-text-5xl);
  color: var(--scc-primary);
  line-height: var(--scc-leading-none);
  margin-bottom: 6px;
}

.scc-mission__stat-value--small {
  font-size: var(--scc-text-4xl);
}

.scc-mission__stat-label {
  font-family: var(--scc-font-sans);
  font-size: var(--scc-text-base);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--scc-muted-foreground);
  margin: 0;
}

.scc-mission__stat-divider {
  width: 100%;
  height: 1px;
  background: rgba(26, 87, 119, 0.12);
  margin: 20px 0;
}

/* ======================================================================
   MOBILE LAYOUT
   ====================================================================== */
.scc-mission__mobile {
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media (min-width: 768px) {
  .scc-mission__mobile {
    display: none;
  }
}

/* ---------- Mobile Narrative ----------
   The refreshed template wraps heading + body in `.scc-mission__mobile-content`
   (not the prototype's `__mobile-narrative`) and uses `__mobile-body` for the
   paragraph (not `__mobile-text`). Rules below target the shipped markup; the
   legacy `__mobile-narrative` / `__mobile-text` rules are retained for any
   surface that still renders the prototype markup. */
.scc-mission__mobile-narrative,
.scc-mission__mobile-content {
  width: 100%;
  background: var(--scc-muted);
  padding: 40px 20px 36px;
  border-top: 1px solid rgba(26, 87, 119, 0.1);
}

.scc-mission__mobile-heading {
  font-family: var(--scc-font-heading);
  font-size: var(--scc-text-3xl);
  font-weight: var(--scc-weight-bold);
  color: var(--scc-primary);
  line-height: var(--scc-leading-tight);
  margin-bottom: 18px;
}

.scc-mission__mobile-text,
.scc-mission__mobile-body {
  font-family: var(--scc-font-sans);
  font-size: var(--scc-text-base);
  color: var(--scc-foreground);
  line-height: var(--scc-leading-relaxed);
  margin-bottom: 32px;
}

/* ---------- Mobile Stats ---------- */
.scc-mission__mobile-stats {
  width: 100%;
  padding: 0 0 28px;
  display: flex;
  flex-direction: column;
}

/* Template renders each stat as a flat .scc-mission__mobile-stat (no grid).
   Prototype had a 2-column grid with cell dividers; the template ships a
   vertical stack, so style the stacked form. */
.scc-mission__mobile-stat {
  padding: 16px 0;
}

.scc-mission__mobile-stat + .scc-mission__mobile-stat {
  border-top: 1px solid rgba(26, 87, 119, 0.1);
}

.scc-mission__mobile-stats-heading {
  font-size: var(--scc-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--scc-primary);
  font-weight: var(--scc-weight-bold);
  font-family: var(--scc-font-sans);
  margin-bottom: 20px;
}

.scc-mission__mobile-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1px;
  row-gap: 0;
  background: rgba(26, 87, 119, 0.1);
}

.scc-mission__mobile-stat-cell {
  background: var(--scc-muted);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.scc-mission__mobile-stat-cell--left {
  padding-right: 16px;
}

.scc-mission__mobile-stat-cell--right {
  padding-left: 16px;
}

.scc-mission__mobile-stat-cell--border-bottom {
  border-bottom: 1px solid rgba(26, 87, 119, 0.1);
}

.scc-mission__mobile-stat-value {
  font-family: var(--scc-font-heading);
  font-weight: var(--scc-weight-bold);
  font-size: var(--scc-text-3xl);
  color: var(--scc-primary);
  line-height: var(--scc-leading-none);
  margin-bottom: 4px;
}

.scc-mission__mobile-stat-label {
  font-family: var(--scc-font-sans);
  font-size: var(--scc-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--scc-muted-foreground);
  line-height: var(--scc-leading-snug);
}

/* ---------- Mobile Statements ---------- */
.scc-mission__mobile-statements {
  width: 100%;
  background: var(--scc-muted);
  padding: 0 20px 40px;
}

.scc-mission__mobile-divider {
  width: 100%;
  height: 1px;
  background: rgba(26, 87, 119, 0.15);
  margin-bottom: 28px;
}

.scc-mission__mobile-statement-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.scc-mission__mobile-statement-label {
  font-size: var(--scc-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--scc-primary);
  font-weight: var(--scc-weight-bold);
  font-family: var(--scc-font-sans);
  margin-bottom: 8px;
}

.scc-mission__mobile-statement-text {
  font-size: var(--scc-text-base);
  font-family: var(--scc-font-sans);
  color: var(--scc-foreground);
  font-weight: var(--scc-weight-regular);
  line-height: var(--scc-leading-relaxed);
}

.scc-mission__mobile-statement-divider {
  width: 100%;
  height: 1px;
  background: rgba(26, 87, 119, 0.1);
}

/* ---------- Mobile Values ---------- */
.scc-mission__mobile-values-label {
  font-size: var(--scc-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--scc-primary);
  font-weight: var(--scc-weight-bold);
  font-family: var(--scc-font-sans);
  margin-bottom: 16px;
}

.scc-mission__mobile-values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scc-mission__mobile-value-item {
  background: rgba(26, 87, 119, 0.05);
  border: 1px solid rgba(26, 87, 119, 0.1);
  border-radius: 9999px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scc-mission__mobile-value-num {
  font-family: var(--scc-font-sans);
  font-size: var(--scc-text-xs);
  font-weight: var(--scc-weight-medium);
  color: rgba(26, 87, 119, 0.5);
  margin-right: 6px;
}

.scc-mission__mobile-value-text {
  font-family: var(--scc-font-sans);
  font-size: var(--scc-text-sm);
  font-weight: var(--scc-weight-medium);
  color: var(--scc-primary);
}

.scc-mission__mobile-link-wrapper {
  margin-top: 16px;
}

.scc-mission__mobile-link {
  display: inline-flex;
  align-items: center;
  font-size: var(--scc-text-base);
  font-weight: var(--scc-weight-medium);
  color: var(--scc-accent);
  transition: color 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.scc-mission__mobile-link:hover {
  color: var(--scc-primary);
}

/* ========================================================================
   NEWS SECTION (from components/news-section.css)
   ======================================================================== */
/* ==========================================================================
   News Section Component — news-section.css
   BEM naming: .scc-news, .scc-news__[element]
   ========================================================================== */

/* ---------- Base Section ---------- */
.scc-news {
  padding: 6rem 0;
  background: var(--scc-muted);
  overflow: hidden;
}

.scc-news__container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 992px) {
  .scc-news__container {
    padding: 0 2rem;
  }
}

/* ---------- Header ---------- */
.scc-news__header {
  display: flex;
  flex-direction: column;
  margin-bottom: 2.5rem;
  gap: 1rem;
}

@media (min-width: 768px) {
  .scc-news__header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.scc-news__heading-wrapper {
  max-width: 42rem;
}

.scc-news__heading {
  font-size: var(--scc-text-3xl);
  font-weight: var(--scc-weight-bold);
  color: var(--scc-primary-dark);
  line-height: var(--scc-leading-tight);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .scc-news__heading {
    font-size: var(--scc-text-4xl);
    margin-bottom: 0;
  }
}

.scc-news__view-all {
  display: flex;
  align-items: center;
  color: var(--scc-primary-dark);
  font-weight: var(--scc-weight-medium);
  transition: opacity 0.2s;
  text-decoration: none;
}

.scc-news__view-all:hover {
  opacity: 0.8;
}

.scc-news__view-all-icon {
  margin-left: 0.5rem;
  width: 1rem;
  height: 1rem;
}

/* ---------- Mobile Carousel ---------- */
.scc-news__mobile-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding-bottom: 2rem;
  margin: 0 -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100vw;
  max-width: 100vw;
}

@media (min-width: 768px) {
  .scc-news__mobile-carousel {
    display: none;
  }
}

/* Hide scrollbar */
.scc-news__mobile-carousel::-webkit-scrollbar {
  display: none;
}

.scc-news__mobile-carousel {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ---------- Mobile Card ---------- */
.scc-news__mobile-card {
  flex: none;
  width: 85vw;
  max-width: 320px;
  scroll-snap-align: center;
  background: white;
  border-radius: 1rem;
  border: 1px solid var(--scc-surface-light);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto;
}

.scc-news__mobile-spacer {
  flex: none;
  width: 1rem;
}

/* ---------- Desktop Grid ---------- */
.scc-news__desktop-grid {
  display: none;
}

@media (min-width: 768px) {
  .scc-news__desktop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 992px) {
  .scc-news__desktop-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Desktop Card ---------- */
.scc-news__card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 1rem;
  border: 1px solid var(--scc-surface-light);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s;
  overflow: hidden;
}

.scc-news__card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

/* ---------- Card Image ---------- */
.scc-news__card-image-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: var(--scc-surface-light);
  flex-shrink: 0;
}

.scc-news__card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.scc-news__card:hover .scc-news__card-image {
  transform: scale(1.05);
}

/* ---------- Card Body ---------- */
.scc-news__card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.scc-news__card-category-wrapper {
  margin-bottom: 1rem;
}

.scc-news__card-category {
  display: inline-block;
  background: #e8f1f5;
  color: var(--scc-primary-dark);
  font-size: var(--scc-text-xs);
  font-weight: var(--scc-weight-bold);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.scc-news__card-title {
  font-size: var(--scc-text-xl);
  line-height: var(--scc-leading-snug);
  font-weight: var(--scc-weight-bold);
  color: var(--scc-primary-dark);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .scc-news__card-title {
    font-size: var(--scc-text-2xl);
  }
}

.scc-news__card-excerpt {
  color: var(--scc-foreground);
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: var(--scc-text-base);
  line-height: var(--scc-leading-relaxed);
}

.scc-news__card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
}

.scc-news__card-read-more {
  display: inline-flex;
  align-items: center;
  font-size: var(--scc-text-base);
  font-weight: var(--scc-weight-medium);
  color: #467872;
  transition: opacity 0.2s;
  text-decoration: none;
}

.scc-news__card-read-more:hover {
  opacity: 0.8;
}

.scc-news__card-read-more-icon {
  margin-left: 0.25rem;
  width: 1rem;
  height: 1rem;
}

.scc-news__card-date {
  font-size: var(--scc-text-sm);
  font-family: var(--scc-font-mono);
  color: #9ca3af;
}

/* ========================================================================
   SERVICES GRID (from components/services-grid.css)
   ======================================================================== */
/* ==========================================================================
   Services Grid Component — services-grid.css
   BEM naming: .scc-services, .scc-services__[element]
   ========================================================================== */

/* ---------- Base Section ---------- */
.scc-services {
  padding: 6rem 0;
  background: rgba(244, 246, 248, 0.3);
  border-top: 1px solid var(--scc-border);
  border-bottom: 1px solid var(--scc-border);
}

.scc-services__container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 992px) {
  .scc-services__container {
    padding: 0 2rem;
  }
}

/* ---------- Header ---------- */
.scc-services__header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.scc-services__title {
  font-size: var(--scc-text-3xl);
  font-weight: var(--scc-weight-bold);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .scc-services__title {
    font-size: var(--scc-text-4xl);
  }
}

.scc-services__desc {
  font-size: var(--scc-text-lg);
  color: rgba(74, 74, 74, 0.8);
}

/* ---------- Grid ---------- */
.scc-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .scc-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .scc-services__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Card Base ---------- */
.scc-services__card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: white;
}

.scc-services__card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Without legacy style.css the default link :hover on an <a> can turn
   blue/orange depending on context. Pin card text to its base color on hover
   explicitly across all descendants. Invest variant pinned to dark teal. */
.scc-services__card:hover,
.scc-services__card:hover .scc-services__card-title,
.scc-services__card:hover .scc-services__card-desc,
.scc-services__card:hover .scc-services__card-cta,
.scc-services__card:hover h3,
.scc-services__card:hover p {
  color: white;
}

.scc-services__card--invest:hover,
.scc-services__card--invest:hover .scc-services__card-title,
.scc-services__card--invest:hover .scc-services__card-desc,
.scc-services__card--invest:hover .scc-services__card-cta,
.scc-services__card--invest:hover h3,
.scc-services__card--invest:hover p {
  color: var(--scc-primary);
}

/* Card color variants */
.scc-services__card--borrow {
  background: var(--scc-primary);
}

.scc-services__card--borrow:hover {
  background: rgba(26, 87, 119, 0.9);
}

.scc-services__card--invest {
  background: var(--scc-secondary);
  color: var(--scc-primary);
}

.scc-services__card--invest:hover {
  background: rgba(148, 211, 234, 0.8);
}

.scc-services__card--join {
  background: var(--scc-success);
}

.scc-services__card--join:hover {
  background: rgba(62, 112, 56, 0.9);
}

.scc-services__card--heirs {
  background: var(--scc-accent);
}

.scc-services__card--heirs:hover {
  background: rgba(162, 92, 47, 0.9);
}

/* ---------- Card Content ---------- */
.scc-services__card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  z-index: 10;
  position: relative;
}

.scc-services__card-icon-wrapper {
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.scc-services__card-icon {
  width: 2rem;
  height: 2rem;
}

/* Outranks the .scc-page-wrapper h3 { color: var(--scc-primary) } rule in
   scc-global.css so cards render white-on-color (borrow/join/heirs variants).
   Invest variant override follows below. */
.scc-services__card .scc-services__card-title,
.scc-page-wrapper .scc-services__card h3 {
  color: white;
  font-family: var(--scc-font-heading);
  font-size: var(--scc-text-2xl);
  font-weight: var(--scc-weight-bold);
  margin-bottom: 1rem;
}

/* Title color for invest card (dark text on light bg) */
.scc-services__card--invest .scc-services__card-title,
.scc-page-wrapper .scc-services__card--invest h3 {
  color: var(--scc-primary);
}

.scc-services__card-desc {
  opacity: 0.9;
  margin-bottom: 2rem;
  flex-grow: 1;
  font-size: var(--scc-text-lg);
  line-height: var(--scc-leading-relaxed);
}

.scc-services__card-cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  font-weight: var(--scc-weight-semibold);
  font-size: var(--scc-text-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.scc-services__card-arrow {
  margin-left: 0.5rem;
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.2s;
}

.scc-services__card:hover .scc-services__card-arrow {
  transform: translateX(0.5rem);
}

/* ---------- Decorative Background ---------- */
.scc-services__card-decor {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 8rem;
  height: 8rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  filter: blur(24px);
  transition: transform 0.5s;
  z-index: 0;
}

.scc-services__card:hover .scc-services__card-decor {
  transform: scale(1.5);
}
