/*==============================================================
  10. Hero
================================================================*/

@use "../default/breakpoints" as bp;

.cs_hero {
  padding: 142px 0 0;

  .cs_hero_content {
    width: min(100%, 695px);
  }

  .cs_hero_title {
    letter-spacing: -1.44px;
  }

  .cs_hero_btns {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap-reverse;
  }

  .cs_btn_style_2 {
    padding: 12px 30px;
    border: 1px solid var(--primary-color);

    &:hover {
      border-color: var(--accent-color);
    }
  }

  .cs_hero_thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    height: 100%;
  }

  .cs_hero_thumbnail {
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    &:nth-child(1) {
      grid-row: span 2;
    }

    &:nth-child(2) {
      grid-column: span 2;
      grid-row: span 3;
    }

    &:nth-child(3) {
      grid-row: span 2;
    }

    &:nth-child(4) {
      grid-column: span 2;
      grid-row: span 1;
    }
  }

  @include bp.down(lg) {
    padding: 90px 0 0;

    .cs_hero_thumbnails {
      gap: 10px;
    }

    .cs_hero_thumbnail {
      transform: translate(0) !important;
    }

    .cs_hero_btns {
      gap: 16px;
    }

    .cs_btn_style_1 {
      padding: 13px 24px;
    }

    .cs_btn_style_2 {
      padding: 12px 24px;
    }
  }

  @include bp.down(sm) {
    .cs_her_subtitle {
      font-size: 18px;
    }

    .cs_btn_style_1 {
      padding: 10px 24px;
    }

    .cs_btn_style_2 {
      padding: 9px 24px;
    }
  }

  @media (max-width:410px) {

    .cs_hero_btns {
      align-items: stretch;
      flex-direction: column-reverse;
    }
  }
}

/*==================================================
 Page Header
====================================================*/
.cs_page_header_style_1 {
  padding: 210px 0 120px;

  .cs_overlay {
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.7) 70%,
        rgba(0, 0, 0, 0.5) 100%);
  }

  >* {
    position: relative;
    z-index: 1;
  }

  .breadcrumb-item {
    color: var(--white-color);

    &::before {
      color: var(--white-color);
    }

    a:hover {
      color: var(--accent-color);
    }
  }

  @include bp.down(lg) {
    padding: 130px 0 60px;
  }
}