.gallery-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
@media only screen and (min-width: 992px) {
  .gallery-banner {
    height: 516px;
  }
}
@media only screen and (min-width: 992px) {
  .gallery-banner .page-width {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.gallery-banner .image-wrapper {
  background: var(--primary-color);
  z-index: 1;
}
@media only screen and (max-width: 991.98px) {
  .gallery-banner .image-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 66.67%;
  }
}
@media only screen and (min-width: 992px) {
  .gallery-banner .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
  }
}
.gallery-banner .image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  -o-object-fit: cover;
     object-fit: cover;
}
@media only screen and (min-width: 992px) {
  .gallery-banner .image-wrapper:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 135px;
    z-index: 2;
    opacity: 0.5;
    background: rgb(0, 0, 0);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);
  }
  .gallery-banner .image-wrapper:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.6;
    background: rgb(0, 0, 0);
    background: linear-gradient(13deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
  }
}

.gallery-banner-content {
  position: relative;
  z-index: 5;
  color: white;
  padding: 50px 0 40px;
}
@media only screen and (max-width: 991.98px) {
  .gallery-banner-content {
    background: var(--text-primary-color);
    padding: 44px 0 40px;
  }
}
.gallery-banner-content h4, .gallery-banner-content h2, .gallery-banner-content p {
  margin: 0;
}
.gallery-banner-content h4 {
  font-size: 14px;
  letter-spacing: 0.02em;
  font-weight: 500;
  margin-bottom: 12px;
}
@media only screen and (min-width: 992px) {
  .gallery-banner-content h4 {
    font-size: 18px;
    margin-bottom: 16px;
  }
}
.gallery-banner-content h1, .gallery-banner-content h2 {
  font-size: 32px;
  letter-spacing: 0.02em;
  font-weight: 300;
  color: white;
}
@media only screen and (min-width: 992px) {
  .gallery-banner-content h1, .gallery-banner-content h2 {
    font-size: 44px;
  }
}
.gallery-banner-content .button svg {
  width: 6px;
  height: 7px;
  margin-left: 8px;
}
.gallery-banner-content .gallery-banner-details {
  margin-top: 24px;
  margin-bottom: 40px;
}
.gallery-banner-content .gallery-banner-details p {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.02em;
  font-weight: 400;
  line-height: 1.8;
}
.gallery-banner-content .gallery-banner-details p a {
  color: white;
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.02em;
  font-weight: 400;
  line-height: 1.8;
  text-decoration: underline;
}
.gallery-banner-content .gallery-banner-details p a:hover {
  text-decoration: none;
}
.gallery-banner-content .gallery-banner-details p svg {
  display: inline;
  width: 16px;
  height: 16px;
  margin-right: 16px;
  vertical-align: middle;
}

.button-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.button-wrapper .set-gallery {
  margin-bottom: 12px;
}
@media only screen and (min-width: 992px) {
  .button-wrapper {
    align-items: flex-end;
  }
}

.gallery-banner-tabs {
  display: none;
}
@media only screen and (min-width: 992px) {
  .gallery-banner-tabs {
    display: flex;
    align-items: center;
    gap: 44px;
  }
}
.gallery-banner-tabs a {
  position: relative;
  color: white;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.gallery-banner-tabs a.hidden {
  display: none !important;
}
.gallery-banner-tabs a:hover {
  color: white;
}
@media only screen and (min-width: 992px) {
  .gallery-banner-tabs a:hover:before {
    width: 100%;
  }
}
.gallery-banner-tabs a:before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 1px;
  background: white;
  transition: all cubic-bezier(0.19, 1, 0.22, 1) 1.5s;
}
.gallery-banner-tabs a.active:before {
  width: 100%;
}

#gallery-banner-tabs-fixed {
  display: none;
}
@media only screen and (min-width: 992px) {
  #gallery-banner-tabs-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity cubic-bezier(0.19, 1, 0.22, 1) 1.5s;
    background: white;
    box-shadow: 0 37px 50px rgba(0, 0, 0, 0.05);
    border-top: 1px solid #e3e3e3;
    padding: 24px 0 30px;
  }
}
#gallery-banner-tabs-fixed.show {
  top: 116px;
  z-index: 99;
  opacity: 1;
  pointer-events: all;
}
#gallery-banner-tabs-fixed h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--primary-color);
}
#gallery-banner-tabs-fixed .gallery-banner-tabs {
  display: flex;
  align-items: center;
  gap: 44px;
}
#gallery-banner-tabs-fixed .gallery-banner-tabs a {
  position: relative;
  color: var(--primary-color);
  font-size: 14px;
  letter-spacing: 0.02em;
}
#gallery-banner-tabs-fixed .gallery-banner-tabs a:hover {
  color: var(--primary-color);
}
@media only screen and (min-width: 992px) {
  #gallery-banner-tabs-fixed .gallery-banner-tabs a:hover:before {
    width: 100%;
  }
}
#gallery-banner-tabs-fixed .gallery-banner-tabs a:before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-color);
  transition: all cubic-bezier(0.19, 1, 0.22, 1) 1.5s;
}
#gallery-banner-tabs-fixed .gallery-banner-tabs a.active:before {
  width: 100%;
}
