.ticker-dark-bg {
  background-color: #060606;
}

.portfolio-cta .base-template__content {
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  align-items: center;
}
.portfolio-cta .base-template__content > a {
  color: #000;
  text-align: center;
  font-family: Comfortaa;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  border-radius: 45px;
  background: #FBAA00;
  padding: 20px 40px;
}

.grs-portfolio-item {
  aspect-ratio: 16/9;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  outline: 0px solid transparent;
  opacity: 1;
  transform: translateY(0px) scale(1);
  transition: box-shadow 0.3s, background-size 0.3s, outline 0.3s, transform 0.3s, opacity 0.3s;
}
.grs-portfolio-item.out-of-view {
  opacity: 0;
  transform: translateY(50px);
}
.grs-portfolio-item > .grs-portfolio-item-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  color: #fff;
  transition: opacity 0.3s;
}
.grs-portfolio-item > .grs-portfolio-item-content > h2 {
  font-family: Montreal, Helvetica, Arial, sans-serif;
  color: #FFF;
  font-size: 18px;
  font-style: normal;
  font-weight: 900;
  line-height: 32px;
  letter-spacing: 0.33px;
  text-transform: capitalize;
  margin-left: 12px;
  text-align: left;
}
.grs-portfolio-item > .grs-portfolio-item-content > * {
  color: #fff;
  max-width: 75%;
  text-align: center;
}
.grs-portfolio-item.subgrid > .grs-portfolio-item-content > h2 {
  font-size: 24px;
  max-width: 90%;
}
.grs-portfolio-item:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  outline: 2px solid #e44708;
  transform: translateY(0px) scale(1.02);
  z-index: 2;
}
.grs-portfolio-item:hover > .grs-portfolio-item-content {
  opacity: 1;
}
.grs-portfolio-item:hover > .grs-portfolio-item-content > .description {
  display: none;
}

.grs-portfolio-item-featured {
  max-width: 1200px;
  margin: 0 auto;
}
.grs-portfolio-item-featured > .grs-portfolio-item-content > .description {
  display: block;
}

.grs-portfolio-items {
  display: grid;
  max-width: 1200px;
  grid-gap: 20px;
  gap: 20px;
  grid-template-columns: 1fr;
}
.grs-portfolio-items.base {
  margin: 20px auto;
  padding: 20px;
}
@media screen and (min-width: 900px) {
  .grs-portfolio-items {
    grid-template-columns: 1fr 1fr;
  }
  .grs-portfolio-items.base {
    padding: 0;
  }
  .grs-portfolio-items.LGB > .grs-portfolio-item:last-child {
    grid-column: span 2;
  }
  .grs-portfolio-items.LGL > .grs-portfolio-item:first-child {
    grid-row: span 3;
    aspect-ratio: unset;
  }
}

.popover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  background-color: rgba(0, 0, 0, 0.8);
  overflow-y: scroll;
  transition: opacity 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}
.popover.active {
  opacity: 1;
  pointer-events: all;
}
.popover.active iframe {
  pointer-events: auto;
}
.popover iframe {
  pointer-events: none;
}

.grs_popover__content {
  min-width: 0;
  max-width: 900px;
  width: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.grs_popover__content > .popover__video {
  max-width: 900px;
}
.grs_popover__content > .popover__video > iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  outline: none;
}
.grs_popover__content > .popover__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  max-width: 900px;
  color: #fff;
}
.grs_popover__content > .popover__info a {
  color: #fff !important;
  text-decoration: underline;
}
.grs_popover__content > .popover__info > * {
  width: 100%;
  max-width: 100%;
  text-align: left;
}

.grs-portfolio-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
  padding: 20px 0;
}
.grs-portfolio-pagination > span,
.grs-portfolio-pagination a {
  min-width: 0;
  display: flex;
  padding: 10px 20px;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  border: 1px solid #e44708;
  color: #e44708;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.grs-portfolio-pagination > span:hover,
.grs-portfolio-pagination a:hover {
  background-color: #e44708;
  color: #fff;
}

body.disableScroll {
  overflow: hidden;
}
body.disableScroll #wpadminbar {
  display: none;
}

.base-template__wrapper {
  max-width: 100dvw;
  padding-bottom: 50px;
}

/**
 * Slider Instance
 */
.swiper {
  width: 100%;
}

.swiper-wrapper {
  transition-timing-function: linear !important;
}

.swiper-slide {
  height: auto !important;
}

.horizontal-ticker {
  margin: 0 -20px;
  display: flex;
  flex-direction: column;
  row-gap: 2.85vw;
}

@media screen and (max-width: 767.9px) {
  .horizontal-ticker {
    row-gap: 15px;
  }
}
/**
 * Slider Slides
 */
.horizontal-ticker__slide {
  position: relative;
  width: 15.625vw;
  aspect-ratio: 300/205;
  border-radius: 10px;
  overflow: hidden;
  -webkit-backdrop-filter: blur(50px);
          backdrop-filter: blur(50px);
}

@media screen and (max-width: 767.9px) {
  .horizontal-ticker__slide {
    width: 150px;
  }
}
.horizontal-ticker__slide img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: opacity 0.6s ease-out;
}

.horizontal-ticker__slide img:last-child {
  position: absolute;
  inset: 0;
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .horizontal-ticker__slide:hover img:last-child {
    opacity: 1;
  }
}
