/* KEZERO additions on top of the untouched NexSaS theme.
   The theme's own light palette is kept exactly as scraped; this file only adds
   the logo treatment and the intro brand moment. */

:root {
  --kz-ink: #08080a;
  --kz-gold: #d99b0d;
}

/* ---------- logo ---------- */
header img[alt="KEZERO"],
[data-elementor-id="38043"] img[alt="KEZERO"] {
  height: 30px !important;
  width: auto !important;
  max-width: 120px;
  object-fit: contain;
}

footer img[alt="KEZERO"],
[data-elementor-id="34006"] img[alt="KEZERO"] {
  height: 44px !important;
  width: auto !important;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
}

/* dropdown arrows are meaningless now that the mega menus are gone */
.nav-item-link svg,
.nav-item-link i {
  display: none !important;
}

/* ---------- intro: the KE ZER0 mark blooms in, curtain lifts ---------- */
.kz-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--kz-ink);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s ease;
}

.kz-intro--lift {
  transform: translateY(-100%);
  opacity: 0;
}

.kz-intro--done {
  display: none;
}

.kz-intro__logo {
  width: min(46vw, 340px);
  height: auto;
  opacity: 0;
  transform: scale(0.92);
  filter: brightness(0.4);
  animation: kz-logo-in 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

@keyframes kz-logo-in {
  0% { opacity: 0; transform: scale(0.92); filter: brightness(0.2); }
  55% { opacity: 1; filter: brightness(1.25); }
  100% { opacity: 1; transform: scale(1); filter: brightness(1); }
}

@media (prefers-reduced-motion: reduce) {
  .kz-intro { display: none; }
}

/* the wordmark inside the builders heading */
img.kz-inline-logo {
  display: inline-block !important;
  height: 0.85em !important;
  width: auto !important;
  max-width: none !important;
  vertical-align: baseline !important;
  transform: translateY(0.08em);
  margin: 0 !important;
}

/* ---------- subpages (no dark hero behind the header) ---------- */
/* the visible header is the fixed .nav-menu pill; on white pages it needs its
   own dark plate so the white nav text stays readable */
.kz-subpage .nav-menu {
  background: rgba(23, 27, 33, 0.92) !important;
  backdrop-filter: blur(10px);
}





/* ---------- about page (reference layout) ---------- */
.kz-about {
  max-width: 1180px;
  margin: 0 auto;
  padding: 150px 24px 110px;
  color: #171b21;
}

.kz-about h1, .kz-about h2 {
  letter-spacing: -0.03em;
  color: #171b21;
  line-height: 1.08;
}

.kz-about p { color: #5c5852; line-height: 1.65; }

.kz-about__badge {
  display: inline-block;
  background: #f4efe7;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: #7a6a55;
  margin-bottom: 22px;
}

.kz-about__hero { text-align: center; max-width: 760px; margin: 0 auto 90px; }
.kz-about__hero h1 { font-size: clamp(2.4rem, 5.2vw, 3.6rem); }
.kz-about__hero p { margin-top: 20px; }

.kz-about__mission {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 90px;
}
.kz-about__mission h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.kz-about__mission figure { margin: 0; }
.kz-about__mission img,
.kz-about__values img {
  width: 100%;
  border-radius: 24px;
  display: block;
}

.kz-about__band {
  background: #f4efe7;
  border-radius: 28px;
  padding: 54px 56px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 90px;
}
.kz-about__band h2 { font-size: 1.7rem; margin-bottom: 10px; }
.kz-about__band ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.kz-about__band li { text-align: center; }
.kz-about__band strong { display: block; font-size: 2.4rem; letter-spacing: -0.03em; color: #171b21; }
.kz-about__band span { font-size: 0.9rem; color: #7a6a55; }

.kz-about__values {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 90px;
}
.kz-about__values h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 14px; }
.kz-about__values ul { list-style: none; margin: 22px 0 30px; padding: 0; display: grid; gap: 12px; }
.kz-about__values li { padding-left: 30px; position: relative; color: #171b21; }
.kz-about__values li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #171b21;
  -webkit-mask: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22%3E%3Cpath fill=%22white%22 d=%22M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0Zm3.6 6-4.2 4.3a.8.8 0 0 1-1.2 0L4.4 8.4a.85.85 0 1 1 1.2-1.2l1.2 1.3 3.6-3.7a.85.85 0 0 1 1.2 1.2Z%22/%3E%3C/svg%3E') center/contain no-repeat;
          mask: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22%3E%3Cpath fill=%22white%22 d=%22M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0Zm3.6 6-4.2 4.3a.8.8 0 0 1-1.2 0L4.4 8.4a.85.85 0 1 1 1.2-1.2l1.2 1.3 3.6-3.7a.85.85 0 0 1 1.2 1.2Z%22/%3E%3C/svg%3E') center/contain no-repeat;
}

.kz-about__cta {
  display: inline-block;
  background: #171b21;
  color: #fcfcfc !important;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 600;
  text-decoration: none;
}
.kz-about__cta:hover { background: #2a2f38; }

.kz-about__quote {
  background: linear-gradient(120deg, #f6e9d8, #f4efe7 40%);
  border-radius: 28px;
  text-align: center;
  padding: 70px 56px;
  margin-bottom: 90px;
}
.kz-about__quote blockquote {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.25rem;
  line-height: 1.55;
  color: #3c3831;
}
.kz-about__sig { margin-top: 22px; font-weight: 600; color: #171b21 !important; }

.kz-about__final { text-align: center; }
.kz-about__final h2 { font-size: clamp(2rem, 4.6vw, 3rem); margin-bottom: 14px; }
.kz-about__final h2 span { color: #bfa78a; }
.kz-about__final .kz-about__cta { margin-top: 24px; }
.kz-about__am { margin-top: 40px; color: #b98a1d !important; font-size: 1.2rem; }

@media (max-width: 860px) {
  .kz-about__mission,
  .kz-about__values,
  .kz-about__band { grid-template-columns: 1fr; gap: 32px; }
  .kz-about__band ul { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- header dropdown submenus ---------- */
.nextsaas_nav_menu > li.kz-has-sub {
  position: relative;
}

/* chevron back, but only on items that actually drop down */
.nextsaas_nav_menu > li.kz-has-sub > a::after {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  margin-left: 0.45em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.15em) rotate(45deg);
  transition: transform 0.2s ease;
}

.nextsaas_nav_menu > li.kz-has-sub:hover > a::after {
  transform: translateY(0.05em) rotate(225deg);
}

.kz-sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: 220px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: rgba(23, 27, 33, 0.97);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(242, 239, 230, 0.08);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 80;
}

.kz-has-sub:hover > .kz-sub,
.kz-has-sub:focus-within > .kz-sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* hover bridge so the pointer can travel from link to panel */
.kz-has-sub::before {
  content: "";
  position: absolute;
  inset: 100% 0 -10px 0;
}

.kz-sub li { margin: 0; }

.kz-sub a {
  display: block;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 14px;
  white-space: nowrap;
  color: rgba(242, 239, 230, 0.85) !important;
  text-decoration: none;
}

.kz-sub a:hover {
  background: rgba(242, 239, 230, 0.08);
  color: #ffc531 !important;
}

/* ---------- newsletter capture ---------- */
.kz-news { display: flex; justify-content: center; }

.kz-news__form {
  display: flex;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(8, 8, 10, 0.12);
  border-radius: 999px;
  padding: 6px;
  width: min(440px, 100%);
  box-shadow: 0 10px 26px rgba(8, 8, 10, 0.06);
}

.kz-news__form input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: #08080a;
  padding: 8px 16px;
}

.kz-news__form input::placeholder { color: rgba(8, 8, 10, 0.35); }

.kz-news__form button {
  flex: 0 0 auto;
  border: 0;
  cursor: pointer;
  background: #08080a;
  color: #f2efe6;
  border-radius: 999px;
  font-size: 14px;
  padding: 10px 22px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.kz-news__form button:hover { background: #d99b0d; color: #08080a; }

.kz-news__done {
  font-size: 15px;
  color: #8a6810;
  background: rgba(217, 155, 13, 0.12);
  border-radius: 999px;
  padding: 12px 24px;
}

/* ---------- Typeform-style guest application ---------- */
.kz-tf {
  min-height: calc(100vh - 120px);
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kz-tf__progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(8, 8, 10, 0.08);
  z-index: 150;
}

.kz-tf__bar {
  height: 100%;
  width: 0;
  background: #d99b0d;
  transition: width 0.4s ease;
}

.kz-tf__step {
  display: none;
  animation: kz-tf-in 0.35s ease;
}

.kz-tf__step--active { display: block; }

@keyframes kz-tf-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.kz-tf__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(217, 155, 13, 0.14);
  color: #8a6810;
  font-size: 13px;
  margin-bottom: 18px;
}

.kz-tf__step h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.08;
  font-weight: 500;
  color: #08080a;
  margin: 0 0 16px;
}

.kz-tf__step > p {
  font-size: 17px;
  color: rgba(8, 8, 10, 0.6);
  margin: 0 0 28px;
  max-width: 480px;
}

.kz-tf__step label {
  display: block;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 500;
  color: #08080a;
  margin-bottom: 10px;
}

.kz-tf__sub {
  font-size: 15px !important;
  color: rgba(8, 8, 10, 0.5) !important;
  margin-bottom: 20px !important;
}

.kz-tf__step input,
.kz-tf__step textarea {
  width: 100%;
  border: 0;
  border-bottom: 2px solid rgba(8, 8, 10, 0.15);
  background: transparent;
  font-size: clamp(20px, 3vw, 28px);
  color: #08080a;
  padding: 10px 0 14px;
  outline: none;
  margin-bottom: 26px;
  resize: none;
  font-family: inherit;
}

.kz-tf__step input:focus,
.kz-tf__step textarea:focus { border-bottom-color: #d99b0d; }

.kz-tf__step input::placeholder,
.kz-tf__step textarea::placeholder { color: rgba(8, 8, 10, 0.25); }

.kz-tf__next {
  display: inline-block;
  border: 0;
  cursor: pointer;
  background: #08080a;
  color: #f2efe6 !important;
  font-size: 16px;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.kz-tf__next:hover { background: #d99b0d; color: #08080a !important; }

.kz-tf__hint {
  margin-left: 14px;
  font-size: 13px;
  color: rgba(8, 8, 10, 0.4);
}

.kz-tf__choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 420px;
}

.kz-tf__choices button {
  text-align: left;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(8, 8, 10, 0.15);
  background: #fff;
  font-size: 16px;
  color: #08080a;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.kz-tf__choices button:hover { border-color: #d99b0d; background: rgba(217, 155, 13, 0.08); }

.kz-tf__choices button.is-picked {
  border-color: #d99b0d;
  background: #08080a;
  color: #f2efe6;
}

.kz-tf__back {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(8, 8, 10, 0.15);
  background: #fff;
  color: #08080a;
  font-size: 18px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 150;
}

.kz-tf__back:hover { border-color: #d99b0d; color: #d99b0d; }

/* ---------- what-the-show-is card (replaces the language-flag marquee) ---------- */
.kz-showcard {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 8px 4px;
}

.kz-showcard h5 {
  font-size: 22px;
  font-weight: 500;
  color: #08080a;
  margin: 0 0 10px;
}

.kz-showcard p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(8, 8, 10, 0.6);
  margin: 0 0 18px;
  max-width: 340px;
}

.kz-showcard__chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
}

.kz-showcard__chips li {
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(8, 8, 10, 0.1);
  font-size: 13px;
  color: #08080a;
}

.kz-showcard__chips li:nth-child(odd) {
  background: rgba(217, 155, 13, 0.12);
  border-color: rgba(217, 155, 13, 0.3);
  color: #8a6810;
}

.kz-showcard__lang {
  font-size: 12px;
  color: rgba(8, 8, 10, 0.45);
}

/* ---------- sticky site-wide mini player ---------- */
.kz-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(720px, calc(100vw - 32px));
  background: #08080a;
  color: #f2efe6;
  border-radius: 999px;
  padding: 8px 16px 8px 8px;
  box-shadow: 0 18px 44px rgba(8, 8, 10, 0.35);
  animation: kz-sc-in 0.25s ease;
}

.kz-bar__play {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #d99b0d;
  color: #08080a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kz-bar__play svg { width: 18px; height: 18px; fill: currentColor; }

.kz-bar__ic-pause { display: none; }
.kz-bar--playing .kz-bar__ic-pause { display: block; }
.kz-bar--playing .kz-bar__ic-play { display: none; }

.kz-bar__art {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}

.kz-bar__title {
  flex: 0 1 auto;
  font-size: 13px;
  color: #f2efe6 !important;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.kz-bar__title:hover { color: #ffc531 !important; }

.kz-bar__track {
  flex: 1 1 auto;
  height: 4px;
  border-radius: 2px;
  background: rgba(242, 239, 230, 0.18);
  cursor: pointer;
  position: relative;
}

.kz-bar__progress {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 2px;
  background: #ffc531;
}

.kz-bar__time {
  flex: 0 0 auto;
  font-size: 11px;
  color: rgba(242, 239, 230, 0.6);
  font-variant-numeric: tabular-nums;
}

.kz-bar__close {
  flex: 0 0 auto;
  border: 0;
  background: none;
  color: rgba(242, 239, 230, 0.5);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 6px;
}

.kz-bar__close:hover { color: #ffc531; }

body.kz-bar-open { padding-bottom: 84px; }

@media (max-width: 560px) {
  .kz-bar__art, .kz-bar__time { display: none; }
}

/* ---------- blog-style episode cards ---------- */
.kz-epcards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 420px));
  gap: 28px;
}

.kz-epcard {
  display: block;
  background: #fff;
  border: 1px solid rgba(8, 8, 10, 0.08);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(8, 8, 10, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kz-epcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(8, 8, 10, 0.14);
}

.kz-epcard figure {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.kz-epcard figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.kz-epcard:hover figure img { transform: scale(1.04); }

.kz-epcard__body { padding: 18px 20px 20px; }

.kz-epcard__meta {
  display: block;
  font-size: 12px;
  color: #b98a1d;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.kz-epcard__body h3 {
  font-size: 20px;
  font-weight: 500;
  color: #08080a;
  margin: 0 0 8px;
}

.kz-epcard__body p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(8, 8, 10, 0.6);
  margin: 0 0 14px;
}

.kz-epcard__cta { font-size: 14px; font-weight: 500; color: #08080a; }

.kz-epcard:hover .kz-epcard__cta { color: #b98a1d; }

/* ---------- per-episode page ---------- */
.kz-eppage__thumb {
  margin: 0 0 28px;
  border-radius: 24px;
  overflow: hidden;
}

.kz-eppage__thumb img { width: 100%; display: block; }

.kz-eppage .kz-ep-player { margin-bottom: 40px; }

.kz-eppage__notes { max-width: 720px; margin: 0 auto 64px; }

.kz-eppage__notes h2 { font-size: 26px; margin-bottom: 12px; }

.kz-eppage__notes p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(8, 8, 10, 0.65);
  margin-bottom: 20px;
}

/* ---------- SoundCloud-style episode player ---------- */
.kz-sc {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: none;
  background: #fff;
  border: 1px solid rgba(8, 8, 10, 0.08);
  border-radius: 18px;
  padding: 16px 20px;
  margin-top: 4px;
  box-shadow: 0 14px 34px rgba(8, 8, 10, 0.08);
  animation: kz-sc-in 0.25s ease;
}

@keyframes kz-sc-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.kz-sc__play {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: #d99b0d;
  color: #08080a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.kz-sc__play:hover { background: #08080a; color: #ffc531; transform: scale(1.05); }

.kz-sc__play svg { width: 24px; height: 24px; fill: currentColor; }

.kz-sc__ic-pause { display: none; }
.kz-sc--playing .kz-sc__ic-pause { display: block; }
.kz-sc--playing .kz-sc__ic-play { display: none; }

.kz-sc__body { flex: 1 1 auto; min-width: 0; }

.kz-sc__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.kz-sc__title {
  font-size: 15px;
  font-weight: 500;
  color: #08080a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kz-sc__meta { font-size: 12px; color: rgba(8, 8, 10, 0.5); white-space: nowrap; }

.kz-sc__wave {
  display: block;
  width: 100%;
  height: 64px;
  cursor: pointer;
}

.kz-sc__times {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(8, 8, 10, 0.45);
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}

.kz-sc__art {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
}

.kz-sc__soon { width: 100%; text-align: center; padding: 10px 0; }

.kz-sc__soon-title { display: block; font-weight: 500; color: #08080a; margin-bottom: 4px; }

.kz-sc__soon p { font-size: 13px; color: rgba(8, 8, 10, 0.55); margin: 0 0 10px; }

.kz-sc__soon a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: #08080a;
  color: #f2efe6 !important;
  font-size: 13px;
  text-decoration: none;
}

.kz-sc__soon a:hover { color: #ffc531 !important; }

@media (max-width: 640px) {
  .kz-sc { flex-wrap: wrap; }
  .kz-sc__art { display: none; }
}

/* ---------- buttons: hover goes brand ink ---------- */
.kz-btn-primary:hover,
.kz-btn-ghost:hover,
.group\/btn-v2:hover .kz-btn-primary,
.group\/btn-v2:hover .kz-btn-ghost {
  background-color: #08080a !important;
  border-color: #08080a !important;
  color: #f2efe6 !important;
}

.kz-btn-primary:hover span,
.kz-btn-ghost:hover span,
.group\/btn-v2:hover .kz-btn-primary span,
.group\/btn-v2:hover .kz-btn-ghost span {
  color: #f2efe6 !important;
}

.kz-btn-primary:hover svg path,
.kz-btn-ghost:hover svg path,
.group\/btn-v2:hover .kz-btn-primary svg path,
.group\/btn-v2:hover .kz-btn-ghost svg path {
  fill: #f2efe6 !important;
}

/* ---------- theme-original icon-box submenu panels, brand recolor ---------- */
.kz-submenu {
  box-shadow: 0 18px 40px rgba(8, 8, 10, 0.12);
  width: 340px;
}

/* fallback show/hide in case the tailwind group variants miss */
.kz-has-sub:hover > .kz-submenu,
.kz-has-sub:focus-within > .kz-submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.kz-submenu ul { list-style: none; margin: 0; padding: 0; }

.kz-submenu .icon-box-wrap { text-decoration: none; }

/* the hover pill: brand ink, with cream text and gold icon on top */
.kz-submenu .icon-box-hover {
  background: #08080a !important;
}

.kz-submenu .icon-box {
  color: #b98a1d;
}

.kz-submenu .icon-box i {
  font-size: 20px;
  line-height: 1;
}

.kz-submenu .icon-box-wrap .title,
.kz-submenu .icon-box-wrap .desc,
.kz-submenu .icon-box-wrap .icon-box {
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.kz-submenu .icon-box-wrap:hover .icon-box {
  background: #17171d;
  border-color: rgba(242, 239, 230, 0.15);
  color: #ffc531;
}

.kz-submenu .icon-box-wrap:hover .title {
  color: #f2efe6;
}

.kz-submenu .icon-box-wrap:hover .desc {
  color: rgba(242, 239, 230, 0.6);
}

/* ---------- brand accent: the theme's purple family becomes KEZERO gold ---------- */
:root, * {
  --color-primary-50: #faf3e3;
  --color-primary-200: #f3ddb0;
  --color-primary-400: #e2b355;
  --color-primary-500: #d99b0d;
  --color-primary-600: #b98a1d;
}

/* ---------- mobile hero video: rotate the landscape loop to fill portrait ---------- */
@media (max-width: 767px) {
  #hero .elementor-background-video-container {
    overflow: hidden;
  }

  #hero .elementor-background-video-hosted {
    /* turned 90deg, kept at its native 16:9 so the frame is not blown up:
       the long side spans the hero's height, width overflows just enough */
    transform: translate(-50%, -50%) rotate(90deg) !important;
    top: 50% !important;
    left: 50% !important;
    width: 100vh !important;
    height: 56.25vh !important;   /* 16:9 of the rotated long side */
    max-width: none !important;
    object-fit: cover;
  }
}

/* ---------- in-page episode player ---------- */
.kz-player {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 8, 10, 0.82);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.kz-player--open { opacity: 1; visibility: visible; }

.kz-player__panel {
  position: relative;
  width: min(96vw, 1040px);
}

.kz-player__frame {
  aspect-ratio: 16 / 9;
  background: #101014;
  border-radius: 18px;
  overflow: hidden;
}

.kz-player__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.kz-player__close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(242, 239, 230, 0.3);
  background: transparent;
  color: #f2efe6;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.kz-player__close:hover { border-color: #ffc531; color: #ffc531; }

.kz-player__soon {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #f2efe6;
  font-size: 1.15rem;
}

.kz-player__soon a {
  color: #ffc531;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- guests blog ---------- */
.kz-posts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 90px;
}

@media (max-width: 820px) {
  .kz-posts { grid-template-columns: 1fr; }
}

.kz-post {
  background: #f4efe7;
  border-radius: 22px;
  padding: 22px 22px 30px;
}

.kz-post h2 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #171b21;
  margin: 18px 0 4px;
}

.kz-post__role {
  color: #b98a1d !important;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.kz-post p { color: #5c5852; line-height: 1.6; }

.kz-embed {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #171b21;
}

.kz-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.kz-embed--soon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, #171b21, #2a2416);
}

.kz-embed--soon span {
  color: #ffc531;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
