.sj-mv {
  font-family: 'Inter', sans-serif;
  padding-inline: 24px;
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Layout container
   -------------------------------------------------------------------------- */

.sj-mv__inner {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .sj-mv { padding-inline: 20px; }
}

/* Scoped so they don't collide with Bootstrap / theme container classes */
.sj-mv .container { max-width: 1200px; }
.sj-mv .container-narrow { max-width: 960px; }
.sj-mv .container-fluid { max-width: 100%; }

/* --------------------------------------------------------------------------
   Header typography
   -------------------------------------------------------------------------- */

.sj-mv__eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin:0 0 14px;
  display:block;
}
}

.sj-mv__heading {
  font-family: 'Macan', sans-serif !important;
  font-weight: 800;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 20ch;
}

/* --------------------------------------------------------------------------
   Grid
   -------------------------------------------------------------------------- */

.sj-mv__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.sj-mv__grid--1 { grid-template-columns: 1fr; max-width: 640px; }
.sj-mv__grid--2 { grid-template-columns: repeat(2, 1fr); }
.sj-mv__grid--3 { grid-template-columns: repeat(3, 1fr); }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.sj-mv__card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  padding: 40px 36px;
  box-sizing: border-box;
}

/* 3-up gets tighter padding so it doesn't feel cramped */
.sj-mv__grid--3 .sj-mv__card { padding: 32px 28px; }

.sj-mv__card-card_label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}

.sj-mv__card-title {
  font-family: 'Macan', sans-serif !important;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 20px;
}

.sj-mv__card-desc {
  font-size: 16px;
  line-height: 1.65;
}

.sj-mv__card-title p,
.sj-mv__card-desc p { margin: 0; }

/* --------------------------------------------------------------------------
   Card link
   -------------------------------------------------------------------------- */

.sj-mv__card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  align-self: flex-start;
}

.sj-mv__card-link:hover,
.sj-mv__card-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sj-mv__card-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

.sj-mv__card-link-arrow {
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.sj-mv__card-link:hover .sj-mv__card-link-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Theme: dark
   -------------------------------------------------------------------------- */

.sj-mv--dark .sj-mv__card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
}

.sj-mv--dark .sj-mv__eyebrow,
.sj-mv--dark .sj-mv__card-card_label { color: rgba(255,255,255,0.65); }

.sj-mv--dark .sj-mv__heading,
.sj-mv--dark .sj-mv__card-title,
.sj-mv--dark .sj-mv__card-title p { color: #ffffff; }

.sj-mv--dark .sj-mv__card-desc,
.sj-mv--dark .sj-mv__card-desc p { color: rgba(255,255,255,0.65); }

.sj-mv--dark .sj-mv__card-link { color: #ffffff; }

/* --------------------------------------------------------------------------
   Theme: light
   -------------------------------------------------------------------------- */

.sj-mv--light .sj-mv__card {
  background: #ffffff;
  border: 1px solid #E2E4E8;
}

.sj-mv--light .sj-mv__eyebrow,
.sj-mv--light .sj-mv__card-card_label { color: #3E3D37; }

.sj-mv--light .sj-mv__heading,
.sj-mv--light .sj-mv__card-title,
.sj-mv--light .sj-mv__card-title p { color: #12161A; }

.sj-mv--light .sj-mv__card-desc,
.sj-mv--light .sj-mv__card-desc p { color: #3E3D37; }

.sj-mv--light .sj-mv__card-link { color: #12161A; }

/* --------------------------------------------------------------------------
   Breakpoints
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .sj-mv__grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sj-mv__grid,
  .sj-mv__grid--2,
  .sj-mv__grid--3 {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }

  /* Both selectors needed — .sj-mv__grid--3 .sj-mv__card would otherwise win */
  .sj-mv__card,
  .sj-mv__grid--3 .sj-mv__card { padding: 28px 24px; }

  .sj-mv__heading { max-width: 100%; }
}

@media (max-width: 480px) {
  .sj-mv__inner { padding-inline: 20px; }
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .sj-mv__card-link-arrow { transition: none; }
  .sj-mv__card-link:hover .sj-mv__card-link-arrow { transform: none; }
}