/* BDCC brand color palette */
:root {
  --colors--blue-00-electric-blue: #0A0F1F;
  --colors--blue-300-button: #0A0F1F;
  --colors--blue-400-button-hov: #151b2e;
  --colors--blue-500: #060912;
  --colors--blue-450: #151b2e;
  --colors--blue-350: #1e2a47;
  --colors--blue-250: #2a3a5c;
  --colors--blue-200-sky-blue: #354a6e;
  --colors--blue-150: #4a6080;
  --colors--black-100: #0A0F1F;
  --colors--black-75: #151b2e;
  --sbdcc-header-bg: #fff;
  --sbdcc-header-text: #0A0F1F;
  --sbdcc-hero-card-overlap-half: clamp(4.25rem, 6.5vw, 5.25rem);
}

/*
  Header logo — light navbar bar (best practice for dark logos).
  Dark logo on white header = full contrast; brand color stays on hero/footer/buttons.
*/
.navbar {
  background-color: var(--sbdcc-header-bg) !important;
  color: var(--sbdcc-header-text);
  box-shadow: 0 1px 0 rgba(10, 15, 31, 0.08);
}

/* Flat nav — no mega-menu dark overlay on hover */
.navbar .navbar-bg-layer {
  display: none !important;
}

.navbar .nav-link,
.navbar .locale,
.navbar .login-button,
.navbar .careers-link {
  color: rgba(10, 15, 31, 0.72);
}

.navbar .nav-link:hover,
.navbar .locale:hover,
.navbar .login-button:hover {
  color: var(--sbdcc-header-text);
}

.login-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(10, 15, 31, 0.14);
  background: rgba(10, 15, 31, 0.04);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.login-button:hover {
  background: #0a0f1f;
  border-color: #0a0f1f;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(10, 15, 31, 0.18);
}

.login-button .icon-xs {
  width: 0.875rem;
  height: 0.875rem;
  flex: none;
}

.navigation-banner-container {
  display: none !important;
}

/* Legacy Webflow footer (homepage now uses SiteFooter) */
.footer .footer-button-wrap {
  display: none !important;
}

.navbar .burger-line-1,
.navbar .burger-line-2,
.navbar .burger-line-3 {
  background-color: var(--sbdcc-header-text);
}

.navbar .menu-button.w--open .burger-line-1,
.navbar .menu-button.w--open .burger-line-2,
.navbar .menu-button.w--open .burger-line-3 {
  background-color: rgba(10, 15, 31, 0.66);
}

.navbar .nav-logo {
  width: auto !important;
  height: auto !important;
  color: inherit;
}

/*
  Homepage navbar (Webflow HTML) — fix cramped width, wrapping links, alignment.
*/
@media (min-width: 992px) {
  .navbar .container.nav {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem 1.5rem;
    width: 100%;
    max-width: min(90rem, 100%);
    margin-inline: auto;
    padding-inline: clamp(1rem, 3vw, 2.5rem);
  }

  .navbar .nav-menu-inner {
    position: static !important;
    inset: auto !important;
    max-width: none !important;
    width: auto !important;
    flex: 1;
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
    padding: 0 !important;
    background: transparent !important;
    color: inherit;
    z-index: auto;
  }

  .navbar .nav-links-wrap {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: clamp(0.35rem, 0.9vw, 0.85rem) !important;
    min-width: 0;
  }

  .navbar .nav-link {
    white-space: nowrap !important;
    flex-shrink: 0;
    padding: 0.5rem 0.45rem !important;
    font-size: clamp(0.75rem, 0.85vw, 0.8125rem) !important;
    line-height: 1 !important;
  }

  .navbar .nav-link div {
    white-space: nowrap !important;
  }

  .navbar .main-button.w-variant-b0148bee-539b-4aab-b3b2-fe8d08a288ef {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.65rem 1.15rem !important;
    font-size: 0.8125rem !important;
    line-height: 1 !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .navbar .nav-links-wrap {
    gap: 0.35rem !important;
  }

  .navbar .nav-link {
    font-size: 0.75rem !important;
    padding: 0.45rem 0.35rem !important;
  }
}

/* Logo */
.sbdcc-logo {
  width: 7.5rem;
  max-width: 140px;
  height: auto;
  display: block;
}

/* Fixing Font Weight for Browsers */
    body {
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
    
    /* Lenis */
    html.lenis {
      height: auto;
    }
      
    .lenis.lenis-smooth {
      scroll-behavior: auto;
    }
      
    .lenis.lenis-smooth [data-lenis-prevent] {
      overscroll-behavior: contain;
    }
      
    .lenis.lenis-stopped {
      overflow: clip;
    }

/*
  Prevent horizontal page scroll from Webflow layout overflow.
*/
html,
body {
  overflow-x: clip;
  max-width: 100%;
}

#sbdcc-home,
#sbdcc-home .page-wrapper {
  overflow-x: clip;
  max-width: 100%;
  background-color: #fff;
}

#sbdcc-home .section,
#sbdcc-home .container {
  max-width: 100%;
  box-sizing: border-box;
}

#sbdcc-home .timeline-section,
#experts-at-the-frontier-of-industries {
  overflow-x: clip;
}

/*
  Hero — dark block; cards sit in .sbdcc-hero-cards-overlap (50% on hero, 50% on white).
*/
#sbdcc-home .hero-section {
  position: relative !important;
  overflow: visible !important;
  min-height: clamp(40rem, 82vh, 52rem);
  padding-top: clamp(7rem, 12vw, 10rem) !important;
  padding-bottom: clamp(2rem, 4vw, 3rem) !important;
  margin-bottom: 0;
  background: var(--colors--black-100) !important;
  color: var(--colors--white);
  z-index: 1;
}

#sbdcc-home .hero-section::before,
#sbdcc-home .hero-section::after {
  display: none;
}

#sbdcc-home .sbdcc-hero-cards-overlap {
  position: relative;
  z-index: 12;
  width: 100%;
  margin-top: calc(-1 * var(--sbdcc-hero-card-overlap-half));
  margin-bottom: var(--sbdcc-hero-card-overlap-half);
  pointer-events: none;
}

#sbdcc-home .sbdcc-hero-cards-overlap .featured-content {
  position: static !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  background: transparent !important;
  transform: none !important;
  pointer-events: none;
}

#sbdcc-home .sbdcc-hero-cards-overlap .featured-content .featured-container,
#sbdcc-home .sbdcc-hero-cards-overlap .featured-content .featured-container > a,
#sbdcc-home .sbdcc-hero-cards-overlap .featured-content .featured-card {
  pointer-events: auto;
}

#sbdcc-home .sbdcc-hero-cards-overlap .featured-content > .container {
  width: 100%;
  max-width: 90rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

#sbdcc-home .hero-section .container.hero-grid {
  width: 100%;
  max-width: 76rem;
  min-height: clamp(22rem, 42vh, 30rem);
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto;
  align-items: center;
  align-content: center;
  column-gap: clamp(1.5rem, 2.5vw, 2.25rem);
  row-gap: 2rem;
}

.hero-section #w-node-e9e07c1e-6fb2-3a43-8fb5-05b7377ac058-55f25a12 {
  grid-column: 1 / span 6;
  grid-row: 1;
  place-self: center start !important;
  align-self: center !important;
  order: 0 !important;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  padding-right: clamp(0.75rem, 2vw, 1.5rem);
}

.hero-section #w-node-_7e74d47d-b901-3e4f-fdcf-297e9a01b976-55f25a12 {
  grid-column: 7 / span 6;
  grid-row: 1;
  place-self: center end !important;
  align-self: center !important;
  order: 0 !important;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  padding-left: clamp(0.75rem, 2vw, 1.5rem);
}

.hero-section .hero-grid > .column {
  min-width: 0;
  max-width: 100%;
}

.hero-section .hero-grid > .column.max-width-4-col {
  align-self: center !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 100% !important;
}

.hero-section .hero-grid > .column:last-child {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  align-self: center !important;
  overflow: visible;
}

#sbdcc-home .sbdcc-hero-cards-overlap .featured-content .featured-container {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-column-gap: 1.5rem;
  grid-row-gap: 1.5rem;
  width: 100%;
  max-width: 90rem;
  margin-inline: auto;
}

#sbdcc-home .sbdcc-hero-cards-overlap .featured-content .featured-container > a {
  min-width: 0;
  width: 100%;
}

#sbdcc-home .sbdcc-hero-cards-overlap .featured-content .featured-card {
  height: calc(var(--sbdcc-hero-card-overlap-half) * 2);
  min-height: calc(var(--sbdcc-hero-card-overlap-half) * 2);
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background-color: #fff !important;
  color: #0a0f1f !important;
  border: 1px solid rgba(10, 15, 31, 0.08);
  border-radius: 0.625rem;
  box-shadow: 0 18px 48px rgba(10, 15, 31, 0.18);
}

#sbdcc-home .sbdcc-hero-cards-overlap .featured-content .featured-card-toggle-wrap {
  padding: 1rem 1.15rem;
}

#sbdcc-home .sbdcc-hero-cards-overlap .featured-content .featured-card[animation] {
  background-color: #fff !important;
  color: #0a0f1f !important;
  border-color: rgba(10, 15, 31, 0.14);
  box-shadow: 0 12px 32px rgba(10, 15, 31, 0.08);
}

#sbdcc-home .sbdcc-hero-cards-overlap .featured-content .featured-card-title {
  color: rgba(10, 15, 31, 0.55) !important;
}

#sbdcc-home .sbdcc-hero-cards-overlap .featured-content .featured-card[animation] .featured-card-title {
  color: #0a0f1f !important;
}

#sbdcc-home .sbdcc-hero-cards-overlap .featured-content .featured-text {
  color: #0a0f1f !important;
  max-width: none !important;
}

#sbdcc-home .sbdcc-hero-cards-overlap .featured-content .featured-icon-wrap {
  background-color: #0a0f1f !important;
  color: #fff !important;
}

@media (max-width: 991px) {
  #sbdcc-home .sbdcc-hero-cards-overlap .featured-content .featured-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 479px) {
  #sbdcc-home {
    --sbdcc-hero-card-overlap-half: clamp(3.25rem, 10vw, 4rem);
  }

  #sbdcc-home .sbdcc-hero-actions {
    display: flex !important;
    flex-flow: row nowrap !important;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
    width: auto;
    max-width: 100%;
    margin-inline: auto;
  }

  #sbdcc-home .hero-section .sbdcc-hero-actions .main-button {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0;
    max-width: none !important;
    padding-inline: 0.85rem;
    font-size: 0.8125rem;
    white-space: nowrap;
  }

  #sbdcc-home .sbdcc-hero-cards-overlap {
    margin-bottom: clamp(3.25rem, 10vw, 4rem);
  }

  #sbdcc-home .sbdcc-hero-cards-overlap .featured-content .featured-container {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Homepage latest news section (separate from hero cards) */
#sbdcc-home .sbdcc-hero-cards-overlap + .sbdcc-home-news-section,
#sbdcc-home .hero-section + .sbdcc-home-news-section {
  position: relative;
  z-index: 1;
  padding-top: 0 !important;
}

.sbdcc-home-news-section {
  background: #fff !important;
  border-top: none;
}

.sbdcc-home-news-section .container {
  width: 100%;
  max-width: 90rem;
  margin-inline: auto;
}

.sbdcc-home-news-section .sbdcc-home-news {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
}

.sbdcc-home-news-section .text-black-100,
.sbdcc-home-news-section h2 {
  color: #0a0f1f !important;
}

.sbdcc-home-news-section .max-width-600 {
  color: rgba(10, 15, 31, 0.68);
}

/* Homepage Services section (under hero) */
.sbdcc-home-services {
  background: #fff !important;
}

.sbdcc-home-services .container {
  width: 100%;
  max-width: 90rem;
  margin-inline: auto;
}

.sbdcc-home-services__header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 48rem;
  margin-bottom: 2rem;
}

.sbdcc-home-services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.sbdcc-home-services__card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.15rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(10, 15, 31, 0.08);
  background: #fff;
  box-shadow: 0 1px 2px rgba(10, 15, 31, 0.04);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.sbdcc-home-services__card:hover {
  border-color: rgba(10, 15, 31, 0.16);
  box-shadow: 0 14px 38px rgba(10, 15, 31, 0.12);
  transform: translateY(-2px);
}

.sbdcc-home-services__icon {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(10, 15, 31, 0.06);
  color: #0a0f1f;
  flex: 0 0 auto;
}

.sbdcc-home-services__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.sbdcc-home-services__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sbdcc-home-services__title {
  font-weight: 600;
  color: #0a0f1f;
}

.sbdcc-home-services__desc {
  color: rgba(10, 15, 31, 0.68);
  font-size: 0.875rem;
  line-height: 1.45;
}

@media (max-width: 991px) {
  .sbdcc-home-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479px) {
  .sbdcc-home-services__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Homepage service card icons (How We Help) when using icon library keys */
#sbdcc-home .sbdcc-service-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0a0f1f;
  flex: 0 0 auto;
}

#sbdcc-home .sbdcc-service-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.hero-section .main-button {
  background-color: #fff !important;
  color: #0a0f1f !important;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  font-weight: 600;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

#sbdcc-home .navbar .sbdcc-hero-actions,
#sbdcc-home .navbar .sbdcc-hero-services-btn {
  display: none !important;
}

#sbdcc-home .hero-section .column.max-width-4-col .sbdcc-hero-actions {
  display: flex !important;
  flex-flow: row nowrap !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  width: fit-content !important;
  max-width: 100% !important;
}

#sbdcc-home .hero-section .column.max-width-4-col .sbdcc-hero-actions > .main-button {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  white-space: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
}

#sbdcc-home .hero-section .sbdcc-hero-services-btn.main-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: var(--size--8) var(--size--12);
  border-radius: var(--border-radius--3xs);
  background-color: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  font-weight: 600;
  font-size: var(--typography--paragraph-s);
  line-height: 1.1em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

#sbdcc-home .hero-section .sbdcc-hero-services-btn.main-button:hover {
  background-color: #fff !important;
  color: #0a0f1f !important;
  border-color: #fff !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

#home-services {
  scroll-margin-top: 5.5rem;
}

.hero-section .main-button:hover {
  background-color: #f0f2f5 !important;
  color: #0a0f1f !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

.hero-section .hero-lottie {
  position: relative;
  right: 0 !important;
  flex: none;
  width: 100%;
  max-width: 30.5625rem;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 0.875rem;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.3);
  isolation: isolate;
}

/* Hero image carousel — auto fade only, never scroll-driven */
.hero-section .hero-showcase {
  position: relative;
  display: block;
  background: #151b2e;
}

.hero-section #sbdcc-hero-carousel .hero-showcase__slide,
.hero-section #sbdcc-hero-carousel .hero-showcase__slide img {
  transform: none !important;
}

.hero-section .hero-showcase__track {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 14rem;
  overflow: hidden;
  border-radius: 0.875rem;
}

.hero-section .hero-showcase__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  z-index: 0;
}

.hero-section .hero-showcase__slide.is-active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
  z-index: 1;
}

.hero-section .hero-showcase__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.875rem;
}

.hero-section .hero-showcase__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: 0.875rem;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 31, 0.05) 0%,
    rgba(10, 15, 31, 0.22) 100%
  );
}

.hero-section .hero-showcase__dots {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transform: translateX(-50%);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(10, 15, 31, 0.5);
  backdrop-filter: blur(6px);
}

.hero-section .hero-showcase__dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.hero-section .hero-showcase__dot.is-active {
  width: 1.35rem;
  background: #fff;
}

.hero-section .hero-showcase__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 991px) {
  #sbdcc-home .hero-section {
    min-height: clamp(34rem, 78vh, 44rem);
    padding-top: 6.5rem !important;
  }

  #sbdcc-home .sbdcc-hero-cards-overlap {
    --sbdcc-hero-card-overlap-half: clamp(3.75rem, 8vw, 4.75rem);
    margin-bottom: clamp(3.75rem, 8vw, 4.75rem);
  }

  #sbdcc-home .hero-section .container.hero-grid {
    min-height: clamp(18rem, 34vh, 24rem);
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    row-gap: 2.5rem;
  }

  #sbdcc-home .sbdcc-hero-cards-overlap + .sbdcc-home-news-section,
  #sbdcc-home .hero-section + .sbdcc-home-news-section {
    padding-top: 0 !important;
  }

  #sbdcc-home .sbdcc-hero-cards-overlap .featured-content .featured-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .hero-section #w-node-e9e07c1e-6fb2-3a43-8fb5-05b7377ac058-55f25a12,
  .hero-section #w-node-_7e74d47d-b901-3e4f-fdcf-297e9a01b976-55f25a12 {
    grid-column: 1 / -1;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .hero-section #w-node-e9e07c1e-6fb2-3a43-8fb5-05b7377ac058-55f25a12 {
    grid-row: 1;
    place-self: center !important;
  }

  .hero-section #w-node-_7e74d47d-b901-3e4f-fdcf-297e9a01b976-55f25a12 {
    grid-row: 2;
    place-self: center !important;
    max-width: min(21.5625rem, 100%);
  }

  .hero-section .hero-grid > .column.max-width-4-col {
    align-self: auto;
    transform: none;
    max-width: 100%;
    text-align: center;
    align-items: center;
  }

  #sbdcc-home .hero-section .column.max-width-4-col .sbdcc-hero-actions {
    justify-content: center !important;
    margin-inline: auto !important;
  }

  .hero-section .hero-grid > .column:last-child {
    justify-content: center;
  }

  .hero-section .hero-lottie {
    width: min(21.5625rem, calc(100% - 2rem));
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-section .hero-showcase__track {
    min-height: 12rem;
  }
}

@media (max-width: 767px) {
  .hero-section .container.hero-grid {
    row-gap: 2rem;
  }

  .hero-section .hero-lottie {
    width: min(20rem, calc(100% - 2rem));
    margin: 0 auto;
  }
}

@media (max-width: 479px) {
  .hero-section .hero-lottie {
    width: min(18rem, calc(100% - 2rem));
    margin: 0 auto;
  }
}

/* Homepage latest news cards */
.sbdcc-home-news__header {
  max-width: 36rem;
}

.sbdcc-home-news__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.sbdcc-home-news__grid > a.sbdcc-home-news-card {
  min-width: 0;
  width: 100%;
}

.sbdcc-home-news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(10, 15, 31, 0.08);
  border-radius: 1rem;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgba(10, 15, 31, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.sbdcc-home-news-card:hover {
  border-color: rgba(10, 15, 31, 0.16);
  box-shadow: 0 16px 40px rgba(10, 15, 31, 0.1);
  transform: translateY(-2px);
}

.sbdcc-home-news-card__image {
  aspect-ratio: 16 / 9;
  background: #f0f2f5;
  overflow: hidden;
}

.sbdcc-home-news-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sbdcc-home-news-card__image--placeholder {
  background: linear-gradient(135deg, #0a0f1f 0%, #1e2a47 100%);
}

.sbdcc-home-news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
  padding: 1.15rem 1.25rem 1.35rem;
}

.sbdcc-home-news-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.sbdcc-home-news-card__type {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0a0f1f;
  padding: 0.28rem 0.5rem;
  border-radius: 0.25rem;
  background: rgba(10, 15, 31, 0.06);
}

.sbdcc-home-news-card__date {
  font-size: 0.8125rem;
  color: rgba(10, 15, 31, 0.5);
}

.sbdcc-home-news-card__title {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.35;
  font-weight: 600;
  color: #0a0f1f;
}

.sbdcc-home-news-card__excerpt {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(10, 15, 31, 0.66);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sbdcc-home-news-card__link {
  margin-top: auto;
  padding-top: 0.2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0a0f1f;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.sbdcc-home-news__footer {
  display: flex;
  justify-content: flex-start;
}

.sbdcc-home-news-empty {
  margin: 0;
}

@media (max-width: 991px) {
  .sbdcc-home-news__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .sbdcc-home-news__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Experts carousel (Swiper) */
#experts-at-the-frontier-of-industries .experts-collection-list-wrapper {
  overflow: hidden !important;
  touch-action: pan-x pan-y;
  user-select: none;
}

#experts-at-the-frontier-of-industries .experts-collection-list-wrapper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

#experts-at-the-frontier-of-industries .swiper-slide.experts-collection-item {
  flex-shrink: 0;
  width: auto;
  height: auto;
}

#experts-at-the-frontier-of-industries .swiper-button-wrap {
  pointer-events: none;
}

#experts-at-the-frontier-of-industries .swiper-button-wrap .swiper-button {
  pointer-events: auto;
  cursor: pointer;
}

/* Timeline step scroll (vanilla JS) */
@media (min-width: 992px) {
  .timeline-section .timeline-text-item,
  .timeline-section .timeline-image-wrap-desktop {
    transition: opacity 0.45s ease, visibility 0.45s ease;
  }

  .timeline-section .timeline-small-image {
    transition: left 0.45s ease, bottom 0.45s ease;
  }

  .timeline-section .timeline-line-active {
    transition: transform 0.12s linear;
    transform-origin: top center;
  }
}

/* Hero CTA row — keep buttons side by side, not stacked or stretched */
#sbdcc-home .hero-section .sbdcc-hero-actions.buttons-wrapper,
#sbdcc-home .hero-section .column.max-width-4-col > .sbdcc-hero-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  width: fit-content !important;
  max-width: 100% !important;
}

#sbdcc-home .hero-section .sbdcc-hero-actions > a.main-button {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
}
