{% import '/sbi-corp-website/src/css/design-system/_atoms.css' %}

.hero {
  background: #001f33;
  box-shadow: 1px 4px 10px rgb(54 70 85 / 17%);
  max-height: 520px;
  flex-direction: row;
  align-items: center;
  margin: 64px 0px 64px 0px;
  display: flex;
}

.hero-container {
  margin-top: 50px;
}
.hero-container-blank {
  margin-top: 50px;
}

.text-container {
  margin-top: 64px;
  max-width: 496px;
}

.hero-img {
  max-width: 468.81px;
  max-height: 467.82px;
}

.hero-subheading-text {
  color: #D7F1FB;
}

.blue-background-default {
  width: 400px;
  height: auto;
  background: #D7F1FB;
}

.accent-container {
  width: 100%;
  height: 100%;
}

.background-accent {
  position: relative;
  top: 0;
  right: 0;
  width: 240px;
  height: 240px;
  border-radius: 0 240px 0 0;
  background-color: #DDFEBF;
  margin-right: 5%;
}

.single-grid-overlay {
  display: grid;
  grid-template: 1fr / 1fr;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 490px;
}

.single-grid-overlay img {
  max-width: 100%;
  height: auto;
}

.hero .single-grid-overlay img {
  width: 95%;
}

#display-behind {
  width: 100%;
}

.single-grid-placement {
  grid-row: 1;
  grid-column: 1;
  margin: auto;
}

.fixed-width {
  max-width: 1100px;
}

.line-break-width,
.line-break-width + .hs_cos_wrapper_type_inline_text {
  max-width: 390px;
}

.hero-wrapper {
  width: 100%;
  margin-bottom: 64px;
}

.hero-wrapper p.col-md-7 {
  max-width: 760px;
}

/* SECTION: Dark Box with Circles */

.dark-box {
  background-color: #001F33;
  max-width: 1200px;
  border-radius: 5px;
}

.circle-grid-box {
  margin: 24px 0;
  margin-top: 18rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.column-left {
  grid-column: 1;
}

.column-right {
  grid-column: 2;
}

.container-text-flex {
  display: flex;
  flex-direction: column;
  gap: 1.33rem;
}

.container-text-flex p {
  max-width: 445px;
}

.container-text-flex .white h1 {
  font-family: 'Slate', sans-serif,sans-serif !important;
  line-height: 150% !important;
  letter-spacing: -0.01em !important;
  font-size: 2.986rem;
  font-weight: 600;
  text-transform: inherit;
  font-style: normal;
}

.hero-wrapper img {
  max-width: 320px;
  z-index: 1;
}

.back-figure {
  width: 100%;
  max-height: 472px;
  width: 100%;
  overflow: hidden;
  margin: 0;
  position: absolute;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 24, 35, 0) 0%, rgba(0, 20, 29, 0.47) 100%);
}

#dark-box-hero-circles {
  max-width: 800px;
  z-index: 0;
  right: 5vw;
}

/* SECTION: Simple White */

.tablet-width {
  max-width: 760px;
}

.full-figure {
  display: block;
  width: 100%;
  height: 330px;
  margin: 0;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.simple-text-wrapper {
  display: flex;
  flex-direction: column;
  margin-left: 208px;
  gap: 1.5rem;
}

.text-grey-normal {
  color: #53667C;
  font-weight: normal;
}

/* SECTION: Breadcrumb link styles */
.breadcrumb-menu-item {
  height: 32px;
  display: flex;
  align-items: center;
  margin-bottom: 51px;
}

.hs-breadcrumb-label {
  font-weight: 600;
  margin-left: 11px;
}

/* SECTION: Divider needed for tools page hero */
hr.divider {
  border-radius: 5px;
  width: 328px;
  height: 4px;
  border: transparent;
  opacity: 100;
}

/* mobile view */
@media all and (max-width: 767px) {
  hr.divider {
    margin-top: 24px;
    margin-bottom: 24px;
  }
}

/* SECTION: Simple Dark Box */
.simple-box-wrapper {
  display: grid;
  grid-template-columns: 1fr max-content 4fr;
}

.simple-box {
  max-width: 845px;
  border-radius: 4px;
  grid-column: 2;
  margin-top: -8rem;
}

.subheading-text {
  max-width: 672px;
}

.small-width {
  width: max-content;
}


/* SECTION: Home page specific hero styles */
.left-dots {
  z-index: -1;
  position: absolute;
  top: 1.61%;
  bottom: 83.76%;
  mix-blend-mode: normal;
  opacity: .5;
}

.right-dots {
  position: absolute;
  z-index: -1;
  top: 13.13%;
  bottom: 76.2%;
  right: 0%;
  opacity: 0.5;
}

.image-with-circles {
  margin: 0 auto;
  margin-top: 24px;
}

.hero-img {
  max-width: 1206px;
  margin: 0 auto;
  max-height: 613px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0, 24, 35, 0) 0%, rgba(0, 20, 29, 0.47) 100%);
}


.center-aligned-box-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 0;
}

.center-aligned-box {
  max-width: 1025px !important;
}

.hero-title-blue {
  color: #7AC3F8;
  font-weight: 400 !important;
  gap: 1.5rem;
}

.center-aligned-subheading {
  font-weight: 400;
  color: #E4EAED;
}


.center-aligned-text-container p {
  max-width: 929px;
}
/* END SECTION: Home page specific hero styles */


@media all and (min-width: 320px) {
  .really-scale-four { /* oh my gosh this is so stupid. Why oh why do I have to do this? */
    font-size: 1.728rem !important;
  }
}

@media all and (max-width: 1023px) {
  .column-right {
    display: none;
  }
  .column-left {
    grid-column: span 2;
  }

  .dark-box {
    margin-top: 8rem;
  }
  .container-text-flex .white h1 {
    font-size: 2.027rem !important;
  }

  .simple-text-wrapper {
    margin-left: 88px;
    margin-right: 88px;
  }

  .simple-text-wrapper {
    margin-left: 24px;
    margin-right: 24px;
  }

  .simple-box-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 0;
  }
  
  .simple-box {
    max-width: 90%;
    border-radius: 4px;
    margin-top: -8rem;
  }

  .simple-box.dark-box {
    margin: 0;
    margin-top: -14rem;
  }

  .subheading-text {
    width: 90%;
  }

  .small-width {
    width: 90%;
  }

  .simple-box .container-text-flex {
    padding: 0;
  }
}

@media screen and (max-width: 600px) {
  .hero {
    max-height: 553.87px;
    padding-bottom: 0;
  }

  .hero-container {
    margin-left: 24px;
    margin-right: 24px;
  }

  .text-container {
    margin-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    max-width: 319px;
  }

  .breadcrumb-menu-item {
    display: none;
  }

  .single-grid-overlay img {
    width: 300px;
  }

  #display-behind {
    width: 100%;
  }

  .background-accent {
    width: 180px;
    height: 180px;
    border-radius: 0 180px 0 0;
  }

  .blue-background-default {
    max-width: 300px;
  }

  .line-break-width,
  .line-break-width + .hs_cos_wrapper_type_inline_text {
    max-width: 100%;
  }

  .column-right {
    display: none;
  }

  .column-left {
    grid-column: span 2;
  }

  .dark-box {
    margin: 0 24px;
    margin-top: 10rem;
  }

  .back-figure {
    max-height: 330px;
    width: 1200px;
    overflow: hidden;
    margin: 0;
    position: absolute;
    z-index: -2;
  }

  /* Homepage specific hero styles */
  .right-dots {
    display: none;
  }

  .left-dots {
    top: 0;
  }

  .image-with-circles {
    margin-top: 0px;
  }

  .center-aligned-box-container {
    padding: 48px 24px;
    margin-top: -8rem;
  }

  .center-aligned-box {
    margin-top: 0px !important;
    /* max-width: 374px !important; */
    border-radius: 6px;
  }

  .center-aligned-text-container {
    gap: 0;
  }

  .center-aligned-text-container p {
    font-family: Work Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 20.25px;
    line-height: 130%;
    letter-spacing: -0.01em;
  }

  .white-and-blue-text {
    flex-direction: column;
    gap: 0px;
  }

  .hero-title-blue {
    margin-top: -14px;
  }
/* End homepage specific hero styles */
}
@media (min-width: 320px) and (max-width: 767px) {
  .win h1{
      font-size: 32.44px !important;
  }
  .home-img{
    min-height: 248px !important;
    object-fit: cover !important;
  }
  .home-mpad{
    padding-left:0px !important;
    padding-right:0px !important;
  }
  .mobile-no{
    display:none;
  }
}
@media screen and (min-width: 768px) {
  .full-figure {
    height: 400px;
  }
}
@media (min-width: 767px) and (max-width:1025px){
  .img-cen{
    margin-top: auto;
    margin-bottom: auto;
    padding: 50px;
  }
  .text-container-m{
    margin-top: auto;
    margin-bottom: auto;
  }
  .container-override{
    margin-top:50px !important;
    margin-bottom: 50px;
  }
}
@media screen and (min-width: 992px) {
  .hero-container {
    margin-top: 175px;
  }

  .white-and-blue-text * {
    line-height: 1 !important;
  }

  .full-figure {
    height: 470px;
  }
}

@media screen and (min-width: 1200px) {
  .hero-wrapper.dark-box.simple-box {
    padding-top: 4.625rem;
    padding-bottom: 4.625rem;
  }
}

@media screen and (min-width: 1700px) {
  .full-figure {
    height: 600px;
  }
}