:root {
  --header-top-padding: 24px;
  --header-inner-padding: 30px;
  --header-bottom-padding: 24px;
}

@media (max-width: 767px) {
  :root {
    --header-top-padding: 24px;
    --header-inner-padding: 20px;
    --header-bottom-padding: 24px;
  }
}

.gpc-custom-header.style2 {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.gpc-custom-header.style2.thumb {
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.gpc-custom-header.style2.minimal {
  background-color: var(--white);
  align-items: flex-start;
}

.gpc-custom-header.style2.big {
  min-height: 600px;
  height: 100%;
}

@media (max-width: 767px) {
  .gpc-custom-header.style2.big {
    min-height: 400px;
  }
}

.gpc-custom-header.style2.small {
  min-height: 150px;
}

.gpc-custom-header.style2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  transition: all 1s;
  z-index: 1;
}

.gpc-custom-header.style2.minimal::before {
  display: none;
}

.gpc-custom-header.style2 .gpc-custom-header__content {
  position: relative;
  padding: var(--header-top-padding) 0 var(--header-bottom-padding) 0;
}

.gpc-custom-header.style2.thumb .gpc-custom-header__content {
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.gpc-custom-header.style2 .gpc-custom-header__content-title {
  font-family: var(--main-font);
}

.gpc-custom-header.style2.minimal .gpc-custom-header__content-title {
  max-width: var(--text-boxed);
}

.gpc-custom-header.style2 .gpc-custom-header__content-title span {
  font-style: italic;
}

.gpc-custom-header.style2 .gpc-custom-header__content-description,
.gpc-custom-header.style2 .gpc-custom-header__content-subtitle {
  font-family: var(--base-font);
  max-width: var(--text-boxed);
}

.gpc-custom-header.style2 .gpc-badge:first-of-type {
  margin-left: 0;
}

.gpc-custom-header.style2 .gpc-badge {
  margin-left: 10px;
}

.gpc-custom-header.style2 .gpc_breadcrumb {
  margin-bottom: var(--header-inner-padding) !important;
}

.gpc-custom-header.style2.thumb .gpc_breadcrumb {
  color: var(--white);
}

.gpc-custom-header.style2.thumb .gpc_breadcrumb a:hover,
.gpc-custom-header.style2.minimal .gpc_breadcrumb a:hover,
.gpc-custom-header.style2.thumb .gpc_breadcrumb .last {
  color: var(--neutral4);
}

.gpc-custom-header.style2.minimal .gpc_breadcrumb,
.gpc-custom-header.style2.minimal .gpc_breadcrumb a {
  color: var(--black);
}

.gpc-custom-header.style2.minimal .gpc_breadcrumb .last {
  color: var(--text);
}
