.custom-hero-block {
  position: relative;
  width: 100%;
}

.custom-hero-block a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.custom-hero-static {
  position: relative;
  overflow: hidden;
}

.custom-hero-static__image {
  display: block;
  width: 100%;
  height: auto;
}

.custom-hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.custom-hero-slideshow-toggle {
  position: absolute;
  right: 24px;
  bottom: 112px;
  z-index: 20;
  min-height: 40px;
  padding: 9px 14px;
  border: 2px solid #ffffff;
  border-radius: 3px;
  background: #002768;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
}

.custom-hero-slideshow-toggle:hover,
.custom-hero-slideshow-toggle:focus {
  background: #ffffff;
  color: #002768;
}

.custom-hero-slideshow-toggle:focus {
  outline: 3px solid #41698d;
  outline-offset: 3px;
}

.custom-hero-slider ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.custom-hero-slider li {
  position: relative;
}

.custom-hero-slider img {
  display: block;
  width: 100%;
  height: auto;
}

.custom-hero-block__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 40px;
  z-index: 5;
  pointer-events: none;
}

.custom-hero-block__title {
  color: #ffffff;
  font-size: 38px;
  line-height: 1.1;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

/* Hide bullets completely */
#hero_slider + .tp-bullets,
#hero_slider ~ .tp-bullets {
  display: none !important;
}

/* Base arrow shell */
.hero-region-wrap #hero_slider ~ .tp-leftarrow.tparrows,
.hero-region-wrap #hero_slider ~ .tp-rightarrow.tparrows {
  width: 48px !important;
  height: 48px !important;
  margin-top: -24px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  overflow: hidden;
  background-size: contain !important;
}

/* Remove inner default arrow visuals */
.hero-region-wrap #hero_slider ~ .tp-leftarrow .tp-arr-allwrapper,
.hero-region-wrap #hero_slider ~ .tp-rightarrow .tp-arr-allwrapper,
.hero-region-wrap #hero_slider ~ .tp-leftarrow .tp-arr-iwrapper,
.hero-region-wrap #hero_slider ~ .tp-rightarrow .tp-arr-iwrapper,
.hero-region-wrap #hero_slider ~ .tp-leftarrow .tp-arr-imgholder,
.hero-region-wrap #hero_slider ~ .tp-rightarrow .tp-arr-imgholder,
.hero-region-wrap #hero_slider ~ .tp-leftarrow .tp-arr-imgholder2,
.hero-region-wrap #hero_slider ~ .tp-rightarrow .tp-arr-imgholder2,
.hero-region-wrap #hero_slider ~ .tp-leftarrow .tp-arr-titleholder,
.hero-region-wrap #hero_slider ~ .tp-rightarrow .tp-arr-titleholder,
.hero-region-wrap #hero_slider ~ .tp-leftarrow .tp-arr-subtitleholder,
.hero-region-wrap #hero_slider ~ .tp-rightarrow .tp-arr-subtitleholder {
  display: none !important;
}

/* Apply your custom image */
.hero-region-wrap #hero_slider ~ .tp-leftarrow.tparrows {
  left: 24px !important;
  background: url('/themes/custom/col/img/assets/arrow_large_col.png') center center no-repeat !important;
  background-size: contain !important;
}

.hero-region-wrap #hero_slider ~ .tp-rightarrow.tparrows {
  right: 24px !important;
  background: url('/themes/custom/col/img/assets/arrow_large_col.png') center center no-repeat !important;
  background-size: contain !important;
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
}

.hero-region-wrap .custom-hero-slider > .tp-leftarrow,
.hero-region-wrap .custom-hero-slider > .tp-rightarrow {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity .25s ease;
}

.hero-region-wrap .custom-hero-slider:hover > .tp-leftarrow,
.hero-region-wrap .custom-hero-slider:hover > .tp-rightarrow {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.hero-region-wrap .custom-hero-slider > .tp-leftarrow,
.hero-region-wrap .custom-hero-slider > .tp-rightarrow {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity .25s ease;
}

.hero-region-wrap .custom-hero-slider:hover > .tp-leftarrow,
.hero-region-wrap .custom-hero-slider:hover > .tp-rightarrow {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.hero-region-wrap .custom-hero-slider > .custom-hero-slider__arrow {
  visibility: visible !important;
}

.hero-region-wrap .custom-hero-slider > .custom-hero-slider__arrow:focus {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  outline: 3px solid #41698d;
  outline-offset: 3px;
}

/* overlay bar */
.custom-hero-block__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;

  display: flex;
  align-items: center;
  justify-content: center;

  height: 96px;
  padding: 0 32px;

  background: linear-gradient(to bottom, #00276899, #002768);

  text-align: center;
}

.custom-hero-block__title {
  position: relative;
  z-index: 2;

  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;

  color: #ffffff;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}

@media (max-width: 991px) {
  .custom-hero-slideshow-toggle {
    right: 16px;
    bottom: 96px;
  }

  .custom-hero-block__overlay {
    height: 84px;
    padding: 0 24px;
  }

  .custom-hero-block__overlay:before {
    left: 24px;
    right: 24px;
  }

  .custom-hero-block__title {
    font-size: 24px;
    max-width: 90%;
  }
}

@media (max-width: 767px) {
  .custom-hero-slideshow-toggle {
    right: 12px;
    bottom: 86px;
    min-height: 36px;
    padding: 7px 10px;
    font-size: 13px;
  }

  .custom-hero-block__overlay {
    height: 74px;
    padding: 0 16px;
  }

  .custom-hero-block__overlay:before {
    left: 16px;
    right: 16px;
  }

  .custom-hero-block__title {
    font-size: 20px;
    padding: 0 12px;
  }
}
