/* CTF Hero Slider v1.2 — premium, responsive styling scoped to the slider. */
.ctf-mhs,
.ctf-mhs * { box-sizing: border-box !important; }
.ctf-mhs {
  --ctf-mhs-bg: #0b1020;
  position: relative !important;
  isolation: isolate;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: var(--ctf-mhs-bg);
  color: #fff;
  font-family: inherit;
  line-height: 1.5;
  text-align: left;
  contain: layout paint;
  box-shadow: 0 24px 64px rgba(15,23,42,.18), 0 4px 14px rgba(15,23,42,.08);
}
.ctf-mhs .ctf-mhs-track {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 470px;
  margin: 0;
  padding: 0;
}
.ctf-mhs .ctf-mhs-panel {
  display: none;
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 470px;
  margin: 0;
  padding: clamp(38px, 6vw, 88px);
  align-items: center;
  background-color: var(--ctf-mhs-bg);
  background-image: linear-gradient(90deg, rgba(7,11,23,.98) 0%, rgba(7,11,23,.91) 32%, rgba(7,11,23,.62) 57%, rgba(7,11,23,.12) 100%), linear-gradient(0deg, rgba(7,11,23,.24), transparent 42%), var(--ctf-mhs-image, none);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: var(--ctf-mhs-position, right center);
  color: #fff;
  border: 0;
  box-shadow: none;
}
.ctf-mhs .ctf-mhs-panel.is-active { display: flex; animation: ctfMhsFade .38s ease both; }
.ctf-mhs .ctf-mhs-copy {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 590px);
  min-width: 0;
  margin: 0;
  padding: 0;
}
.ctf-mhs .ctf-mhs-copy h2 {
  display: block;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 0;
  color: #fff;
  font-family: inherit;
  font-size: clamp(36px, 4.4vw, 66px);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-transform: none;
  overflow-wrap: anywhere;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0,0,0,.16);
}
.ctf-mhs .ctf-mhs-copy p {
  display: block;
  max-width: 490px;
  margin: 0 0 29px;
  padding: 0;
  color: rgba(245,247,252,.84);
  font-family: inherit;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 400;
  line-height: 1.65;
}
.ctf-mhs a.ctf-mhs-button,
.ctf-mhs a.ctf-mhs-button:visited {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 14px 24px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #111827 !important;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  text-transform: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.ctf-mhs a.ctf-mhs-button span { font-size: 19px; line-height: 1; transition: transform .2s ease; }
.ctf-mhs a.ctf-mhs-button:hover,
.ctf-mhs a.ctf-mhs-button:focus-visible {
  background: #eef2f7;
  color: #111827 !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}
.ctf-mhs a.ctf-mhs-button:hover span { transform: translateX(3px); }
.ctf-mhs button.ctf-mhs-arrow {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  place-items: center;
  margin: 0;
  padding: 0 0 3px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(10,15,29,.48);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.ctf-mhs button.ctf-mhs-arrow:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.65); }
.ctf-mhs button.ctf-mhs-prev { left: 18px; }
.ctf-mhs button.ctf-mhs-next { right: 18px; }
.ctf-mhs button.ctf-mhs-arrow:focus-visible,
.ctf-mhs button.ctf-mhs-dot:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.ctf-mhs .ctf-mhs-dots {
  position: absolute;
  z-index: 6;
  bottom: 20px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  max-width: calc(100% - 32px);
  margin: 0;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(9,14,27,.34);
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.ctf-mhs button.ctf-mhs-dot {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 7px;
  min-width: 7px;
  height: 7px;
  min-height: 7px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.48);
  box-shadow: none;
  cursor: pointer;
  transition: width .22s ease, background .22s ease;
}
.ctf-mhs button.ctf-mhs-dot.is-active { width: 25px; background: #fff; }
@keyframes ctfMhsFade { from { opacity: .55; } to { opacity: 1; } }

@media (min-width: 768px) and (max-width: 1024px) {
  .ctf-mhs .ctf-mhs-track,
  .ctf-mhs .ctf-mhs-panel { min-height: 420px; }
  .ctf-mhs .ctf-mhs-panel { padding: 48px; }
  .ctf-mhs .ctf-mhs-copy { max-width: 62%; }
  .ctf-mhs .ctf-mhs-copy h2 { font-size: clamp(34px, 4.3vw, 48px); }
  .ctf-mhs button.ctf-mhs-prev { left: 12px; }
  .ctf-mhs button.ctf-mhs-next { right: 12px; }
}
@media (max-width: 767px) {
  .ctf-mhs { border-radius: 18px; }
  .ctf-mhs .ctf-mhs-track,
  .ctf-mhs .ctf-mhs-panel { min-height: 500px; }
  .ctf-mhs .ctf-mhs-panel {
    align-items: flex-end;
    padding: 100px 25px 76px;
    background-image: linear-gradient(0deg, rgba(5,9,19,.99) 0%, rgba(5,9,19,.93) 34%, rgba(5,9,19,.58) 61%, rgba(5,9,19,.08) 100%), var(--ctf-mhs-image, none);
    background-position: center center;
    background-size: cover;
  }
  .ctf-mhs .ctf-mhs-copy { width: 100%; max-width: 100%; }
  .ctf-mhs .ctf-mhs-copy h2 { margin-bottom: 13px; font-size: clamp(32px, 8.3vw, 43px); line-height: 1.06; letter-spacing: -.035em; }
  .ctf-mhs .ctf-mhs-copy p { margin-bottom: 22px; font-size: 16px; line-height: 1.55; }
  .ctf-mhs a.ctf-mhs-button { min-height: 50px; padding: 13px 21px; font-size: 14px; }
  .ctf-mhs button.ctf-mhs-arrow { top: 16px; width: 40px; min-width: 40px; height: 40px; min-height: 40px; font-size: 25px; transform: none; }
  .ctf-mhs button.ctf-mhs-prev { left: auto; right: 66px; }
  .ctf-mhs button.ctf-mhs-next { right: 16px; }
  .ctf-mhs .ctf-mhs-dots { bottom: 16px; }
}
@media (max-width: 380px) {
  .ctf-mhs { border-radius: 14px; }
  .ctf-mhs .ctf-mhs-track,
  .ctf-mhs .ctf-mhs-panel { min-height: 460px; }
  .ctf-mhs .ctf-mhs-panel { padding: 88px 19px 70px; }
  .ctf-mhs .ctf-mhs-copy h2 { font-size: 30px; }
  .ctf-mhs .ctf-mhs-copy p { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .ctf-mhs .ctf-mhs-panel.is-active { animation: none; }
  .ctf-mhs a.ctf-mhs-button,
  .ctf-mhs a.ctf-mhs-button span,
  .ctf-mhs button.ctf-mhs-arrow,
  .ctf-mhs button.ctf-mhs-dot { transition: none; }
}
