/* Extracted from SHS/GuH style.css. All rules are scoped to the component. */
@font-face {
  font-family: HMGSliderNunito;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/nunito-sans-v12-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: HMGSliderNunito;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/nunito-sans-v12-latin-regular.woff2') format('woff2');
}
.hmg-slider {
  --hmg-accent: #274e87;
  position: relative;
  width: 100%;
  height: 580px;
  overflow-x: auto;
  overflow-y: hidden;
  background: #fff;
  color: #000;
  font-family: HMGSliderNunito, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 24px;
  text-align: center;
  touch-action: pan-y;
  cursor: grab;
}
.hmg-slider.hmg-slider--shs { --hmg-accent: #e30014; }
.hmg-slider.hmg-slider--single { height: 272px; }
.hmg-slider.hmg-slider--ready { overflow: hidden; }
.hmg-slider:active { cursor: grabbing; }
.hmg-slider, .hmg-slider * { box-sizing: border-box; }
.hmg-slider .hmg-slider__track { position: relative; }
.hmg-slider .hmg-slider__row {
  display: flex;
  width: max-content;
  list-style: none;
  background: none;
  padding: 0;
  margin: 0;
  border: 0;
  gap: 10px;
}
.hmg-slider .hmg-slider__row + .hmg-slider__row { margin-top: 10px; }
.hmg-slider .hmg-slider__item {
  display: block;
  flex: 0 0 590px;
  width: 590px;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  background: none;
}
@media (max-width: 570px) {
  .hmg-slider .hmg-slider__item { flex: 0 0 390px !important; width: 390px !important; }
  .hmg-slider .hmg-slider__image { width: 390px !important; height: 280px !important; }
  .hmg-slider .hmg-slider__overlay { width: 390px !important; height: 280px; gap: 20px !important; }
  /* .hmg-slider .hmg-slider__row { gap: 30px; } */
  
}
.hmg-slider .hmg-slider__item::before,
.hmg-slider .hmg-slider__item::after { content: none; }
.hmg-slider .hmg-slider__tile {
  position: relative;
  height: 280px;
  user-select: none;
}
.hmg-slider .hmg-slider__image {
  display: block;
  width: 590px;
  height: 280px;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  -webkit-user-drag: none;
}
.hmg-slider .hmg-slider__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(255,255,255,0.6);
  opacity: 0;
  transition: opacity 0.2s linear;
}
.hmg-slider .hmg-slider__caption {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  max-width: 90%;
  margin: unset;
  transform: translateY(-50%);
}
.hmg-slider .hmg-slider__title {
  margin: 0 0 1.5em;
  padding: 0;
  color: #000;
  font: 300 20px/24px HMGSliderNunito, sans-serif;
}
.hmg-slider a.hmg-slider__link {
  display: inline-block;
  margin: 0;
  padding: 5px 20px;
  border: 1px solid var(--hmg-accent);
  border-radius: 3px;
  background: var(--hmg-accent);
  color: #fff;
  font: 300 20px/20px HMGSliderNunito, sans-serif;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  transition: color 0.2s linear, background 0.2s linear;
}
.hmg-slider a.hmg-slider__link:hover,
.hmg-slider a.hmg-slider__link:focus-visible {
  color: var(--hmg-accent);
  background: transparent;
}
.hmg-slider .hmg-slider__tile:hover .hmg-slider__overlay,
.hmg-slider .hmg-slider__tile:focus-within .hmg-slider__overlay { opacity: 1; }
.hmg-slider .hmg-slider__intro {
  position: absolute;
  top: 200px;
  left: 0;
  right: 0;
  width: 360px;
  max-width: 100%;
  height: 160px;
  margin: 0 auto;
  z-index: 3;
  background: url('images/intro.png') center top / contain no-repeat;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s linear;
}
.hmg-slider .hmg-slider__intro.is-visible { opacity: 1; }
.hmg-slider:focus-visible, .hmg-slider a:focus-visible {
  outline: 2px solid var(--hmg-accent);
  outline-offset: -2px;
}
@media (hover: none) {
  .hmg-slider .hmg-slider__overlay { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hmg-slider .hmg-slider__overlay,
  .hmg-slider .hmg-slider__intro,
  .hmg-slider a.hmg-slider__link { transition: none; }
}
