.hata-home-slider,
.hata-home-slider * {
  box-sizing: border-box;
}

.hata-home-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: #2c9ed3;
  color: #fff;
}

.hata-home-slider__viewport,
.hata-home-slider__slide {
  position: relative;
  min-width: 0;
}

.hata-home-slider__slide[hidden],
.hata-home-slider__controls[hidden] {
  display: none;
}

.hata-home-slider__media {
  display: grid;
  width: 100%;
  height: clamp(30rem, 42vw, 37.5rem);
  place-items: center;
  background: #e8eef5;
}

.hata-home-slider__media picture {
  display: contents;
}

.hata-home-slider__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hata-home-slider__content {
  position: absolute;
  right: auto;
  bottom: 4.75rem;
  left: clamp(1rem, 3vw, 2.5rem);
  width: min(54rem, calc(100% - clamp(2rem, 6vw, 5rem)));
  padding: clamp(1rem, 2.5vw, 2rem);
  border-radius: 4px;
  background: rgba(44, 158, 211, 0.9);
  color: #fff;
}

.hata-home-slider__title {
  margin: 0;
  padding: 0 0 0.6rem;
  color: #fff;
  font-size: clamp(2rem, 3.4vw, 2.875rem);
  line-height: 1.1;
}

.hata-home-slider__body {
  font-size: clamp(0.95rem, 1.35vw, 1.0625rem);
  line-height: 1.55;
}

.hata-home-slider__body p {
  margin: 0 0 0.75rem;
  padding: 0;
}

.hata-home-slider__body p:last-child {
  margin-bottom: 0;
}

.hata-home-slider__cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.45rem 1rem;
  border: 2px solid #fff;
  border-radius: 3px;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.hata-home-slider__cta:hover {
  background: #fff;
  color: #003399;
}

.hata-home-slider__controls {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hata-home-slider__arrow,
.hata-home-slider__dot,
.hata-home-slider__autoplay-toggle {
  display: inline-grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  place-items: center;
  background: rgba(0, 51, 99, 0.68);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
}

.hata-home-slider__arrow {
  position: absolute;
  top: 50%;
  font-size: 1.75rem;
  line-height: 1;
  transform: translateY(-50%);
}

.hata-home-slider__arrow[data-hata-home-slider-prev] {
  left: 4.5rem;
}

.hata-home-slider__arrow[data-hata-home-slider-next] {
  right: 1rem;
}

.hata-home-slider__dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-width: 0;
  padding: 0;
  transform: translateX(-50%);
}

.hata-home-slider__autoplay-toggle {
  position: absolute;
  bottom: 1.25rem;
  left: calc(50% + 7rem);
  font-size: 0.95rem;
}

.hata-home-slider__autoplay-toggle:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.hata-home-slider__dot span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
}

.hata-home-slider__dot {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hata-home-slider__dot[aria-current="true"] span {
  width: 10px;
  height: 10px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 51, 99, 0.72);
}

.hata-home-slider__arrow:focus-visible,
.hata-home-slider__dot:focus-visible,
.hata-home-slider__autoplay-toggle:focus-visible,
.hata-home-slider__cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px #2c9ed3;
}

.hata-home-slider__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 980px) {
  .hata-home-slider__media {
    height: clamp(31.25rem, 76vw, 40.625rem);
  }

  .hata-home-slider__content {
    bottom: 4.75rem;
    width: min(54rem, calc(100% - clamp(2rem, 8vw, 4rem)));
    padding: clamp(1rem, 4vw, 1.75rem);
    border-radius: 4px;
    background: rgba(44, 158, 211, 0.9);
  }

  .hata-home-slider__title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }
}

@media (max-width: 767px) {
  body.page-id-529 .et_pb_section_0 {
    padding-right: 0;
  }

  body.page-id-529 .et_pb_section_0 > .et_pb_row_0,
  body.page-id-529 .et_pb_section_0 > .et_pb_row_0 > .et_pb_column_0 {
    width: 100%;
    max-width: 100%;
  }

  body.page-id-529 .et_pb_section_0 > .et_pb_row_0 > .et_pb_column_0 {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  body.page-id-529 .et_pb_section_0 > .et_pb_row_0 > .et_pb_column_0 > .et_pb_code_0,
  body.page-id-529 .et_pb_section_0 > .et_pb_row_0 > .et_pb_column_0 > .et_pb_code_0 .et_pb_code_inner,
  body.page-id-529 .hata-home-slider {
    width: 100%;
    max-width: 100%;
  }

  .hata-home-slider__media {
    position: absolute;
    inset: 0;
    height: auto;
    aspect-ratio: auto;
  }

  .hata-home-slider__media picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .hata-home-slider__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hata-home-slider__slide {
    min-height: 34rem;
    overflow: visible;
  }

  .hata-home-slider__content {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 1;
    width: 100%;
    padding: 1.25rem 1rem 5.75rem;
    border-radius: 0;
    background: transparent;
  }

  .hata-home-slider__title {
    display: table;
    width: auto;
    max-width: 100%;
    margin: 0 auto 0.75rem;
    padding: 0.25rem 0.625rem;
    border-radius: 3px;
    background: rgba(0, 51, 99, 0.58);
    text-align: center;
  }

  .hata-home-slider__controls {
    position: absolute;
    top: auto;
    right: 0;
    bottom: 0.75rem;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.125rem;
    padding: 0;
    background: transparent;
    pointer-events: none;
  }

  .hata-home-slider__arrow,
  .hata-home-slider__autoplay-toggle {
    position: static;
    flex: 0 0 44px;
    transform: none;
    pointer-events: auto;
  }

  .hata-home-slider__dots {
    position: static;
    flex: 0 1 auto;
    gap: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    pointer-events: auto;
  }

  .hata-home-slider__dot {
    width: 28px;
    min-width: 28px;
    height: 28px;
    min-height: 28px;
  }

  .hata-home-slider__title {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }

  .hata-home-slider__body {
    width: 100%;
    padding: 0.75rem 0.875rem;
    background: rgba(0, 160, 230, 0.66);
    font-size: 0.875rem;
    line-height: 1.42;
    text-align: center;
  }

  .hata-home-slider__body p {
    margin: 0;
  }

  .hata-home-slider__body p + p {
    margin-top: 0.625rem;
  }

  .hata-home-slider__cta {
    display: table;
    margin: 1rem auto 0;
    border: 0;
    background: #00cfef;
  }
}

@media (min-width: 768px) {
  body.page-id-529 .et_pb_section_0 > .et_pb_row_0 > .et_pb_column_0 {
    padding-right: 0;
    padding-left: 0;
  }

  .hata-home-slider__content {
    right: 0;
    bottom: 3.5rem;
    left: 0;
    width: 100%;
    padding: 0;
    border-radius: 0;
    background: transparent;
    text-align: center;
  }

  .hata-home-slider__title {
    display: table;
    width: auto;
    max-width: 75%;
    margin: 0 auto 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    background: rgba(0, 51, 99, 0.58);
    text-align: center;
    font-size: clamp(2.2rem, 3.6vw, 3.125rem);
  }

  .hata-home-slider__body {
    width: min(64%, 58rem);
    margin: 0 auto;
    padding: 1.125rem 1.375rem;
    background: rgba(0, 160, 230, 0.6);
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
  }

  .hata-home-slider__body p {
    margin: 0;
  }

  .hata-home-slider__body p + p {
    margin-top: 0.75rem;
  }

  .hata-home-slider__cta {
    display: table;
    margin: 1.25rem auto 0;
    padding: 0.375rem 1.25rem;
    border: 0;
    background: #00cfef;
    color: #fff;
    font-size: 1.25rem;
  }

  .hata-home-slider__controls {
    background: transparent;
  }
}

@media (min-width: 981px) {
  .hata-home-slider__media {
    height: clamp(34rem, 46vw, 41.25rem);
  }
}

@media (min-width: 768px) and (max-width: 980px) {
  .hata-home-slider__media {
    height: clamp(34rem, 82vw, 43rem);
  }

  .hata-home-slider__title {
    font-size: clamp(2rem, 5.5vw, 2.75rem);
  }

  .hata-home-slider__body {
    font-size: 1.0625rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hata-home-slider *,
  .hata-home-slider *::before,
  .hata-home-slider *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}
