/* =========================================================
   PTK HOME BLOCKS v1.2.16 — HERO v1.1.7 RESTORE
   Original v1.1.7 slider UI; only outer border is graphite.
========================================================= */

.ptk-home-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 var(--ptk-home-block-gap, 18px);
  min-height: 360px;
  border: 1px solid var(--ptk-graphite-3, #202022) !important;
  border-radius: 24px;
  background: #111;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.ptk-home-hero::after {
  content: none !important;
  display: none !important;
}

.ptk-home-hero-track {
  position: relative;
  min-height: 360px;
}

.ptk-home-hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 42px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.ptk-home-hero .ptk-home-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  filter: none;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.ptk-home-hero-slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
}

.ptk-home-hero-slide.is-active .ptk-home-hero-image {
  filter: none;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.ptk-home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 20% 35%, rgba(245, 208, 97, 0.14), transparent 34%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.18));
}

.ptk-home-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: #fff;
}

.ptk-home-hero .ptk-home-eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(245, 208, 97, 0.3) !important;
  border-radius: 999px;
  background: rgba(196, 154, 61, 0.16);
  color: #f5d061;
  box-shadow: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: normal;
}

.ptk-home-hero h1 {
  max-width: none;
  margin: 0 0 12px;
  color: #fff;
  font-size: 38px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-shadow: none;
}

.ptk-home-hero p {
  max-width: 640px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.7;
}

.ptk-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ptk-home-hero .ptk-home-btn,
.ptk-home-hero .ptk-home-btn:not(.ptk-home-btn--ghost) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  max-width: 100%;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px;
  background: linear-gradient(180deg, #f5d061, #c49a3d);
  color: #111 !important;
  box-shadow: none;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ptk-home-hero .ptk-home-btn:hover,
.ptk-home-hero .ptk-home-btn:focus,
.ptk-home-hero .ptk-home-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(245, 208, 97, 0.16);
}

.ptk-home-hero .ptk-home-btn--ghost,
.ptk-home-hero .ptk-home-btn.ptk-home-btn--ghost {
  border: 1px solid rgba(245, 208, 97, 0.36) !important;
  background: rgba(0, 0, 0, 0.32);
  color: #f5d061 !important;
  box-shadow: none;
}

.ptk-home-hero .ptk-home-btn--ghost:hover,
.ptk-home-hero .ptk-home-btn--ghost:focus,
.ptk-home-hero .ptk-home-btn--ghost:focus-visible {
  box-shadow: 0 10px 24px rgba(245, 208, 97, 0.16);
}

.ptk-home-hero .ptk-home-btn:focus-visible {
  outline: revert;
  outline-offset: revert;
}

.ptk-home-hero-dots {
  position: absolute;
  z-index: 5;
  left: 42px;
  bottom: 24px;
  display: flex;
  gap: 8px;
}

.ptk-home-hero-dots button {
  position: relative;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.ptk-home-hero-dots button::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: none;
  transform: translate(-50%, -50%);
  transition: 0.25s;
}

.ptk-home-hero-dots button.is-active::before {
  width: 24px;
  height: 9px;
  background: #f5d061;
  box-shadow: none;
}

@media (max-width: 768px) {
  .ptk-home-hero {
    margin-bottom: var(--ptk-home-block-gap, 18px);
    min-height: 310px;
    border-radius: 18px;
  }

  .ptk-home-hero-track {
    min-height: 310px;
  }

  .ptk-home-hero-slide {
    padding: 26px 18px 52px;
  }

  .ptk-home-hero .ptk-home-eyebrow {
    margin-top: 6px;
    margin-bottom: 8px;
  }

  .ptk-home-hero h1 {
    font-size: 28px;
  }

  .ptk-home-hero p {
    font-size: 14px;
  }

  .ptk-home-hero-dots {
    left: 18px;
    bottom: 18px;
  }
}

@media (max-width: 520px) {
  .ptk-home-hero,
  .ptk-home-hero-track {
    min-height: 300px;
  }

  .ptk-home-hero-slide {
    padding: 24px 16px 50px;
  }

  .ptk-home-hero h1 {
    font-size: 25px;
  }
}

@media (max-width: 420px) {
  .ptk-home-hero .ptk-home-btn,
  .ptk-home-hero-actions {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ptk-home-hero .ptk-home-hero-image {
    transition: none !important;
    animation: none !important;
  }
}
