/**
 * Dedicated "What is AUTX AI Tutor?" article + sticky voice player.
 */

body.page-slug-what-is-autx-ai-tutor .entry-header,
body.page-slug-what-is-autx-ai-tutor .page-header,
body.page-slug-what-is-autx-ai-tutor .page-title,
body.page-slug-what-is-autx-ai-tutor .entry-title,
body.page-slug-what-is-autx-ai-tutor .breadcrumb,
body.page-slug-what-is-autx-ai-tutor .woocommerce-breadcrumb,
body.page-slug-what-is-autx-ai-tutor #secondary,
body.page-slug-what-is-autx-ai-tutor .sidebar,
body.page-slug-what-is-autx-ai-tutor .widget-area {
  display: none !important;
}

body.page-slug-what-is-autx-ai-tutor #tbay-main-content,
body.page-slug-what-is-autx-ai-tutor #main-content,
body.page-slug-what-is-autx-ai-tutor .site-content,
body.page-slug-what-is-autx-ai-tutor .content-area,
body.page-slug-what-is-autx-ai-tutor .site-main,
body.page-slug-what-is-autx-ai-tutor .main-page,
body.page-slug-what-is-autx-ai-tutor #autx-native-main,
body.page-slug-what-is-autx-ai-tutor #autx-native-main .container,
body.page-slug-what-is-autx-ai-tutor .entry-content,
body.page-slug-what-is-autx-ai-tutor .container,
body.page-slug-what-is-autx-ai-tutor .container-fluid {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 30px !important;
  padding-right: 30px !important;
}

.autx-guide {
  --guide-bg: #0a0e17;
  --guide-card: #111827;
  --guide-line: rgba(148, 163, 184, 0.22);
  --guide-text: #e5e7eb;
  --guide-muted: #94a3b8;
  --guide-heading: #f8fafc;
  --guide-accent: #22b8cf;
  --guide-accent-2: #86bc3c;
  --guide-shadow: 0 18px 48px -24px rgba(0, 0, 0, 0.65);
  max-width: 52rem;
  margin: 0 auto 4rem;
  padding: 1.25rem 0 3rem;
  color: var(--guide-text);
  font-family: var(--autx-font, "Segoe UI", "Noto Sans", sans-serif);
}

html[data-autx-theme="light"] .autx-guide,
body.autx-theme-light .autx-guide {
  --guide-bg: #f8f9fa;
  --guide-card: #ffffff;
  --guide-line: rgba(15, 23, 42, 0.12);
  --guide-text: #1e293b;
  --guide-muted: #475569;
  --guide-heading: #0f172a;
  --guide-shadow: 0 16px 36px -24px rgba(15, 23, 42, 0.28);
}

.autx-guide__player {
  position: sticky;
  top: 0;
  z-index: 40;
  margin: 0 0 1.75rem;
  padding: 1rem 1.15rem 1.1rem;
  background: color-mix(in srgb, var(--guide-card) 92%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--guide-line);
  border-radius: 18px;
  box-shadow: var(--guide-shadow);
}

.autx-guide__player-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.autx-guide__listen {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--guide-muted);
}

.autx-guide__tracks {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.autx-guide__track,
.autx-guide__tab {
  appearance: none;
  border: 1px solid var(--guide-line);
  background: transparent;
  color: var(--guide-text);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
}

.autx-guide__track.is-active,
.autx-guide__tab.is-active,
.autx-guide__track[aria-pressed="true"],
.autx-guide__tab[aria-selected="true"] {
  background: var(--guide-accent);
  border-color: var(--guide-accent);
  color: #042026;
}

.autx-guide__controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
}

.autx-guide__play {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--guide-accent);
  color: #042026;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.autx-guide__play:hover,
.autx-guide__track:hover,
.autx-guide__tab:hover,
.autx-guide__speed:hover {
  filter: brightness(1.08);
}

.autx-guide__timeline {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
}

.autx-guide__time {
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
  color: var(--guide-muted);
  min-width: 2.4rem;
}

.autx-guide__seek {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--guide-line);
  outline: none;
  cursor: pointer;
}

.autx-guide__seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--guide-accent-2);
  border: 2px solid #fff;
}

.autx-guide__speed {
  appearance: none;
  border: 1px solid var(--guide-line);
  background: transparent;
  color: var(--guide-text);
  border-radius: 10px;
  padding: 0.4rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.autx-guide .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.autx-guide__status:empty {
  display: none;
}

.autx-guide__tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.25rem;
}

.autx-guide__panel[hidden] {
  display: none !important;
}

.autx-guide__kicker {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--guide-accent);
}

.autx-guide h1 {
  margin: 0 0 0.85rem;
  color: var(--guide-heading);
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  line-height: 1.18;
  font-weight: 800;
}

.autx-guide h2 {
  margin: 1.85rem 0 0.7rem;
  color: var(--guide-heading);
  font-size: 1.2rem;
  line-height: 1.3;
}

.autx-guide p,
.autx-guide li {
  font-size: 1.05rem;
  line-height: 1.75;
}

.autx-guide__lead {
  margin: 0 0 0.4rem;
  color: var(--guide-text);
  font-size: 1.12rem;
}

.autx-guide ul {
  margin: 0;
  padding: 0 0 0 1.15rem;
}

.autx-guide li {
  margin: 0.35rem 0;
}

.autx-guide__panel[lang="ml"],
.autx-guide__panel[lang="ml"] h1,
.autx-guide__panel[lang="ml"] h2,
.autx-guide__panel[lang="ml"] p,
.autx-guide__panel[lang="ml"] li {
  font-family: "Noto Sans Malayalam", "Noto Sans", "Segoe UI", sans-serif;
}

.autx-guide__panel[lang="ar"],
.autx-guide__panel[lang="ar"] h1,
.autx-guide__panel[lang="ar"] h2,
.autx-guide__panel[lang="ar"] p,
.autx-guide__panel[lang="ar"] li {
  font-family: "Noto Naskh Arabic", "Noto Sans Arabic", Tahoma, "Segoe UI", sans-serif;
  direction: rtl;
  text-align: right;
}

.autx-guide__panel[lang="ar"] p,
.autx-guide__panel[lang="ar"] li {
  text-align: right !important;
  text-justify: none;
}

html[dir="rtl"] .autx-guide,
html[dir="rtl"] .autx-guide__player,
html[dir="rtl"] .autx-guide__tabs {
  direction: rtl;
}

html[dir="rtl"] .autx-guide__actions {
  justify-content: flex-start;
}

.autx-guide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

@media (max-width: 720px) {
  .autx-guide__controls {
    grid-template-columns: auto 1fr;
  }
  .autx-guide__speed {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .autx-guide__player-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
