/**
 * Ninja .hero-v2_services — two-column hero (copy + hero-frontv2.png).
 * Used on /services/seo/ and /industries/finance/ (and similar industry pages).
 */

.dn-seo-page .hero-v2.hero-v2_services,
.dn-finance-page .hero-v2.hero-v2_services {
  background: #000 !important;
  overflow: hidden;
  padding-top: 17.2rem !important;
  padding-bottom: 8rem !important;
}

@media (min-width: 1230px) {
  .dn-seo-page .hero-v2.hero-v2_services,
  .dn-finance-page .hero-v2.hero-v2_services {
    padding-bottom: 12rem !important;
  }
}

.dn-seo-page .hero-v2 .hero-section__box.hero-section__column,
.dn-finance-page .hero-v2 .hero-section__box.hero-section__column {
  position: relative;
}

.dn-seo-page .hero-v2 .breadcrumbs-box,
.dn-finance-page .hero-v2 .breadcrumbs-box {
  position: absolute;
  z-index: 3;
  left: 0;
  top: -4rem;
  width: 100%;
  margin: 0;
}

/* Mobile: stack copy then collage (match Ninja default). Tablet+: 50/50 row from 768px. */
.dn-seo-page .hero-v2 .hero-section__info,
.dn-finance-page .hero-v2 .hero-section__info {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 2rem !important;
}

@media (min-width: 768px) {
  .dn-seo-page .hero-v2 .hero-section__info,
  .dn-finance-page .hero-v2 .hero-section__info {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .dn-seo-page .hero-v2 .hero-section__info .hero-section__top,
  .dn-finance-page .hero-v2 .hero-section__info .hero-section__top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 50%;
    max-width: 50%;
    flex: 0 0 50%;
    margin-bottom: 0;
  }

  .dn-seo-page .hero-v2 .hero-section__img,
  .dn-finance-page .hero-v2 .hero-section__img {
    width: 50%;
    max-width: 50%;
    flex: 0 0 auto;
  }
}

.dn-seo-page .hero-v2 .hero-section__img img,
.dn-finance-page .hero-v2 .hero-section__img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Label pill row */
.dn-seo-page .hero-v2 .hero-section__labels,
.dn-finance-page .hero-v2 .hero-section__labels {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.8rem;
  padding: 0.8rem 2rem;
  margin: 0 0 1.6rem;
  border-radius: 4.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
}

.dn-seo-page .hero-v2 .hero-section__label,
.dn-finance-page .hero-v2 .hero-section__label {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #d278fe !important;
  font-family: "PP Neue Montreal", Inter, sans-serif !important;
  font-size: 1.4rem !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.014rem !important;
  white-space: nowrap;
}

.dn-seo-page .hero-v2 .hero-section__label::after,
.dn-finance-page .hero-v2 .hero-section__label::after {
  content: "";
  display: inline-block;
  width: 0.4rem;
  min-width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #d278fe;
}

.dn-seo-page .hero-v2 .hero-section__label:last-child::after,
.dn-finance-page .hero-v2 .hero-section__label:last-child::after {
  display: none;
}

.dn-seo-page .hero-v2 h1.page-title,
.dn-finance-page .hero-v2 h1.page-title {
  font-family: "PP Neue Montreal", Inter, sans-serif !important;
  font-size: 3.6rem !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  letter-spacing: normal !important;
  color: #fff !important;
  margin: 0 0 2.4rem !important;
  max-width: 61.7rem;
  width: 100%;
}

@media (min-width: 1230px) {
  .dn-seo-page .hero-v2 h1.page-title,
  .dn-finance-page .hero-v2 h1.page-title {
    font-size: 4.8rem !important;
  }
}

.dn-seo-page .hero-v2 .hero-section__txt,
.dn-finance-page .hero-v2 .hero-section__txt {
  font-family: "PP Neue Montreal", Inter, sans-serif !important;
  font-size: 1.6rem !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
  color: #b3b3b3 !important;
  max-width: 61.7rem;
  width: 100%;
  margin: 0 0 3rem !important;
}

@media (min-width: 1230px) {
  .dn-seo-page .hero-v2 .hero-section__txt,
  .dn-finance-page .hero-v2 .hero-section__txt {
    font-size: 2rem !important;
    line-height: 2.8rem !important;
  }
}

.dn-seo-page .hero-v2 .hero-section__btn .btn.btn-primary,
.dn-finance-page .hero-v2 .hero-section__btn .btn.btn-primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 26rem;
  min-width: 26rem;
  max-width: 100%;
  min-height: auto !important;
  height: auto !important;
  padding: 1.6rem 3rem !important;
  border-radius: 360px !important;
  background: linear-gradient(270deg, #d278fe 0%, #2d69fb 100%) !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: "PP Neue Montreal", Inter, sans-serif !important;
  font-size: 1.6rem !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  color: #fff !important;
  text-decoration: none !important;
}

.dn-seo-page .hero-v2 .hero-section__btn .btn.btn-primary:hover,
.dn-finance-page .hero-v2 .hero-section__btn .btn.btn-primary:hover {
  background: linear-gradient(270deg, #d278fe 0%, #2d69fb 100%) !important;
  color: #fff !important;
  filter: brightness(1.05);
}

.dn-seo-page .hero-v2 .hero-section__awards-title,
.dn-finance-page .hero-v2 .hero-section__awards-title {
  color: #808080 !important;
  font-family: "PP Neue Montreal", Inter, sans-serif !important;
  font-size: 1.6rem !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
  margin: 3rem 0 !important;
  text-align: center;
}

.dn-seo-page .hero-v2 .breadcrumbs-box,
.dn-seo-page .hero-v2 .breadcrumbs-box a,
.dn-finance-page .hero-v2 .breadcrumbs-box,
.dn-finance-page .hero-v2 .breadcrumbs-box a {
  color: #808080 !important;
  font-size: 1.4rem !important;
}

@media (max-width: 767px) {
  .dn-seo-page .hero-v2 .hero-section__info .hero-section__top,
  .dn-seo-page .hero-v2 .hero-section__img,
  .dn-finance-page .hero-v2 .hero-section__info .hero-section__top,
  .dn-finance-page .hero-v2 .hero-section__img {
    width: 100%;
    max-width: 100%;
    flex: none;
  }

  .dn-seo-page .hero-v2 .hero-section__btn .btn.btn-primary,
  .dn-finance-page .hero-v2 .hero-section__btn .btn.btn-primary {
    width: 100% !important;
    min-width: 0 !important;
  }
}
