@charset "UTF-8";

/*
Theme Name: Wyzard Blog
Theme URI: https://wyzard.ai/blog/
Author: Wyzard
Description: Wyzard-branded child theme for the public blog.
Template: twentytwentyone
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
Text Domain: wyzard-blog
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --brand-purple: #6b3bfa;
  --brand-purple-light: #8b5cf6;
  --brand-pink: #f06292;
  --brand-glow: rgba(107, 59, 250, 0.35);
  --hero-grad: linear-gradient(135deg, #6b3bfa 0%, #9333ea 40%, #f06292 100%);
  --mesh-subtle:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(107, 59, 250, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(240, 98, 146, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 0%, rgba(107, 59, 250, 0.07) 0%, transparent 60%);
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --nav-h: 72px;
  --max-w: 1200px;
  --max-w-narrow: 820px;
  color-scheme: dark;
}

:root,
:root[data-theme="dark"] {
  --bg: #060a14;
  --bg-2: #0a0f1e;
  --bg-3: #0f1629;
  --bg-card: rgba(255, 255, 255, 0.038);
  --bg-card-hover: rgba(255, 255, 255, 0.065);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.13);
  --tag-bg: rgba(255, 255, 255, 0.06);
  --text-primary: #f0eef8;
  --text-secondary: rgba(240, 238, 248, 0.72);
  --text-muted: rgba(240, 238, 248, 0.45);
  --nav-bg: rgba(6, 10, 20, 0.84);
  --footer-bg: #040710;
  --input-bg: rgba(255, 255, 255, 0.05);
  --input-border: rgba(255, 255, 255, 0.1);
  --shadow-card: 0 16px 48px rgba(0, 0, 0, 0.42), 0 0 0 1px var(--border);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #fafaf9;
  --bg-2: #f3f2ef;
  --bg-3: #eceae5;
  --bg-card: #ffffff;
  --bg-card-hover: #f8f7f5;
  --border: rgba(0, 0, 0, 0.07);
  --border-strong: rgba(0, 0, 0, 0.12);
  --tag-bg: rgba(0, 0, 0, 0.05);
  --text-primary: #0f0e14;
  --text-secondary: rgba(15, 14, 20, 0.8);
  --text-muted: rgba(15, 14, 20, 0.62);
  --nav-bg: rgba(250, 250, 249, 0.9);
  --footer-bg: #f0eee8;
  --input-bg: #ffffff;
  --input-border: rgba(0, 0, 0, 0.12);
  --shadow-card: 0 16px 44px rgba(15, 14, 20, 0.08), 0 0 0 1px var(--border);
  --mesh-subtle:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(107, 59, 250, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(240, 98, 146, 0.05) 0%, transparent 70%);
  color-scheme: light;
}

:root,
:root[data-theme="dark"],
:root[data-theme="light"] {
  --global--color-background: var(--bg);
  --global--color-primary: var(--text-primary);
  --global--color-secondary: var(--text-secondary);
  --wp--preset--color--background: var(--bg);
  --wp--preset--color--foreground: var(--text-primary);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background-color: var(--bg) !important;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background-color: var(--bg) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: var(--mesh-subtle);
}

body::after {
  display: none;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--brand-purple-light);
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--brand-purple);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

.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;
}

.wyz-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wyz-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.wyz-container--narrow {
  width: min(calc(100% - 32px), var(--max-w-narrow));
  margin: 0 auto;
}

.wyz-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--nav-h);
  border-bottom: 1px solid var(--border);
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.wyz-nav {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wyz-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.wyz-brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--hero-grad);
  color: #fff;
  box-shadow: 0 0 30px rgba(107, 59, 250, 0.28);
}

.wyz-brand__name {
  font-size: 1.05rem;
}

.wyz-brand__section {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.wyz-nav__links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.wyz-nav__links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.wyz-nav__links a:hover {
  color: var(--text-primary);
}

.wyz-button,
.search-submit,
.form-submit .submit,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(107, 59, 250, 0.35);
  border-radius: 999px;
  background: var(--hero-grad);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(107, 59, 250, 0.22);
  cursor: pointer;
}

.wyz-button:hover,
.search-submit:hover,
.form-submit .submit:hover,
.wp-block-button__link:hover {
  color: #fff;
  transform: translateY(-1px);
}

.wyz-theme-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
}

.wyz-theme-toggle:hover {
  border-color: rgba(107, 59, 250, 0.45);
}

.wyz-theme-toggle__sun,
:root[data-theme="light"] .wyz-theme-toggle__moon {
  display: none;
}

:root[data-theme="light"] .wyz-theme-toggle__sun {
  display: block;
}

.wyz-main {
  flex: 1;
}

.wyz-hero {
  padding: clamp(56px, 8vw, 96px) 0 32px;
}

.wyz-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 12px;
  border: 1px solid rgba(107, 59, 250, 0.28);
  border-radius: 999px;
  background: rgba(107, 59, 250, 0.1);
  color: var(--brand-purple-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wyz-title {
  max-width: 820px;
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 8vw, 6.1rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.wyz-title .grad-text,
.grad-text {
  background: var(--hero-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wyz-description {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.75;
}

.wyz-section {
  padding: 32px 0 80px;
}

.wyz-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.wyz-card {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.wyz-card:hover {
  border-color: rgba(107, 59, 250, 0.4);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.wyz-card__media {
  display: block;
  line-height: 0;
  overflow: hidden;
  background: transparent;
}

.wyz-card__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.wyz-card:hover .wyz-card__media img {
  transform: scale(1.02);
}

.wyz-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 22px;
  gap: 0;
}

.wyz-card__title {
  margin: 0 0 10px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.wyz-card__title a {
  color: inherit;
  text-decoration: none;
}

.wyz-card__excerpt {
  margin: 0 0 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.wyz-card__read {
  margin-top: auto;
  color: var(--brand-purple-light);
  font-weight: 600;
  text-decoration: none;
}

.wyz-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.wyz-meta a {
  color: var(--text-secondary);
  text-decoration: none;
}

.wyz-meta a:hover {
  color: var(--brand-purple-light);
}

.wyz-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wyz-empty,
.wyz-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 4vw, 40px);
}

.wyz-pagination {
  margin-top: 40px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.page-numbers,
.post-page-numbers {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-weight: 800;
  text-decoration: none;
}

.page-numbers.current,
.post-page-numbers.current {
  background: var(--hero-grad);
  color: #fff;
}

.wyz-single-hero {
  padding: clamp(54px, 8vw, 94px) 0 28px;
}

.wyz-single-title {
  max-width: 920px;
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.wyz-featured-image {
  margin: 32px auto 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
}

.wyz-featured-image img {
  width: 100%;
  display: block;
}

.wp-content {
  padding: 42px 0 72px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.wp-content > * {
  max-width: var(--max-w-narrow);
  margin-left: auto;
  margin-right: auto;
}

.wp-content > .alignwide {
  max-width: min(calc(100% - 32px), 1040px);
}

.wp-content > .alignfull {
  max-width: none;
}

.wp-content h1,
.wp-content h2,
.wp-content h3,
.wp-content h4,
.wp-content h5,
.wp-content h6 {
  margin-top: 2.25rem;
  margin-bottom: 0.875rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  scroll-margin-top: calc(var(--nav-h) + 2rem);
}

.wp-content h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 400;
}

.wp-content h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 400;
}

.wp-content h4 {
  font-size: 1.15rem;
}

.wp-content p,
.wp-content li {
  color: var(--text-secondary);
}

.wp-content p,
.wp-content ul,
.wp-content ol {
  margin-bottom: 1.375rem;
}

.wp-content ul,
.wp-content ol {
  padding-left: 1.5rem;
}

.wp-content li {
  margin-bottom: 0.5rem;
}

.wp-content li::marker {
  color: var(--brand-purple-light);
}

.wp-content a {
  color: var(--brand-purple-light);
  text-decoration: underline;
  text-decoration-color: rgba(107, 59, 250, 0.4);
}

.wp-content a:hover {
  color: var(--brand-purple);
  text-decoration-color: var(--brand-purple);
}

.wp-content blockquote,
.wp-block-quote {
  margin: 1.75rem auto;
  padding: 1.1rem 1.35rem;
  border-left: 3px solid var(--brand-purple);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--bg-2);
  color: var(--text-primary);
  font-style: italic;
  font-weight: 600;
}

.wp-content code {
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.06);
  color: var(--brand-purple-light);
  font-family: var(--font-mono);
  font-size: 0.875em;
  padding: 0.15em 0.4em;
}

.wp-content pre,
.wp-block-code {
  overflow-x: auto;
  margin: 1.75rem auto;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.65;
}

.wp-content pre code {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-secondary);
}

.wp-content img {
  height: auto;
  border-radius: var(--radius-md);
}

.wp-content figure,
.wp-block-image,
.wp-block-gallery,
.wp-block-embed {
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
}

.wp-content figure img,
.wp-block-image img {
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.wp-content figcaption,
.wp-element-caption {
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}

.wp-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem auto;
  font-size: 0.92rem;
}

.wp-content th,
.wp-content td {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  text-align: left;
}

.wp-content th {
  background: var(--bg-2);
  color: var(--text-primary);
}

.wp-content hr,
.wp-block-separator {
  width: min(100%, var(--max-w-narrow));
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.5rem auto;
}

.wp-block-button {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.wp-block-pullquote {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}

.wp-block-cover {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.wp-block-embed iframe {
  width: 100%;
  border-radius: var(--radius-lg);
}

.search-form {
  display: flex;
  gap: 10px;
  max-width: 640px;
}

.search-field,
input[type="text"],
input[type="email"],
input[type="url"],
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--input-border);
  border-radius: 999px;
  background: var(--input-bg);
  color: var(--text-primary);
}

textarea {
  min-height: 140px;
  padding: 14px;
  border-radius: var(--radius-lg);
}

.comment-list {
  padding: 0;
  list-style: none;
}

.comment-body {
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.comment-metadata,
.comment-awaiting-moderation {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.wyz-post-nav {
  padding: 0 0 72px;
}

.post-navigation .nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.post-navigation a {
  display: block;
  min-height: 100%;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  color: var(--text-primary);
  text-decoration: none;
}

.wyz-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--footer-bg);
}

.wyz-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 0;
}

.wyz-footer__copy {
  max-width: 520px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.wyz-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-content: flex-start;
  justify-content: flex-end;
}

.wyz-footer__links a {
  color: var(--text-secondary);
  font-weight: 700;
  text-decoration: none;
}

.wyz-footer__links a:hover {
  color: var(--brand-purple-light);
}

@media (max-width: 900px) {
  .wyz-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wyz-nav__links {
    gap: 12px;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-h: 66px;
  }

  .wyz-nav {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .wyz-brand__section,
  .wyz-nav__links a:not(.wyz-button) {
    display: none;
  }

  .wyz-grid,
  .post-navigation .nav-links {
    grid-template-columns: 1fr;
  }

  .wyz-title,
  .wyz-single-title {
    letter-spacing: -0.045em;
  }

  .search-form,
  .wyz-footer__inner {
    flex-direction: column;
  }

  .wyz-footer__links {
    justify-content: flex-start;
  }
}

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

/* ── Marketing-site parity patch ─────────────────────────────────────────── */
:root {
  --nav-h: 68px;
}

.wyz-header {
  position: fixed;
  inset: 0 0 auto;
  min-height: var(--nav-h);
  border-bottom-color: transparent;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.wyz-header.is-scrolled {
  border-bottom-color: var(--border);
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.admin-bar .wyz-header {
  top: 32px;
}

.wyz-nav {
  min-height: var(--nav-h);
  gap: 24px;
}

.wyz-brand {
  min-width: 120px;
  gap: 0;
  line-height: 0;
}

.wyz-logo {
  width: 120px;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.wyz-brand:hover .wyz-logo {
  transform: scale(1.04);
}

.wyz-logo--dark {
  display: none;
}

.wyz-logo--light {
  display: block;
}

:root[data-theme="light"] .wyz-logo--dark {
  display: block;
}

:root[data-theme="light"] .wyz-logo--light {
  display: none;
}

.wyz-brand__mark,
.wyz-brand__name,
.wyz-brand__section {
  display: none;
}

.wyz-nav__links {
  position: relative;
  gap: 2px;
  margin-left: 0;
}

.wyz-nav__links > a,
.wyz-nav__item > a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.wyz-nav__links > a:hover,
.wyz-nav__item:hover > a,
.wyz-nav__item:focus-within > a {
  background: var(--tag-bg, rgba(255, 255, 255, 0.06));
  color: var(--text-primary);
}

.wyz-nav__item {
  position: relative;
}

.wyz-mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 520px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 20px;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: var(--bg-2);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  transform: translateY(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.wyz-mega--compact {
  min-width: 240px;
  grid-template-columns: 1fr;
  gap: 4px;
}

.wyz-nav__item:hover .wyz-mega,
.wyz-nav__item:focus-within .wyz-mega {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.wyz-mega__column {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wyz-mega__label {
  margin: 0 0 6px;
  padding: 0 8px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.wyz-mega a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  border-radius: 8px;
  color: var(--text-primary);
  text-decoration: none;
}

.wyz-mega a:hover {
  background: var(--tag-bg, rgba(255, 255, 255, 0.06));
}

.wyz-mega strong {
  font-size: 13px;
  font-weight: 500;
}

.wyz-mega span {
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.35;
}

.wyz-mega .wyz-mega__view-all {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--brand-purple-light);
  font-size: 12px;
  font-weight: 600;
}

.wyz-nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wyz-menu-toggle {
  width: 36px;
  height: 36px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.wyz-menu-toggle__close,
.wyz-menu-toggle[aria-expanded="true"] .wyz-menu-toggle__open {
  display: none;
}

.wyz-menu-toggle[aria-expanded="true"] .wyz-menu-toggle__close {
  display: block;
}

.wyz-mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 40;
  overflow-y: auto;
  background: var(--bg);
  padding: 24px clamp(20px, 4vw, 48px) 40px;
}

.wyz-mobile-menu[hidden] {
  display: none;
}

.wyz-mobile-menu__label {
  margin: 18px 0 8px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wyz-mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 15px;
  text-decoration: none;
}

.wyz-mobile-menu__cta {
  justify-content: center !important;
  margin-top: 28px;
  border: 0 !important;
  border-radius: 12px;
  background: var(--brand-purple);
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(107, 59, 250, 0.3);
}

.wyz-theme-toggle {
  width: 36px;
  height: 36px;
  border-color: var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.wyz-theme-toggle:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.wyz-theme-toggle svg {
  width: 15px;
  height: 15px;
}

.wyz-theme-toggle__moon {
  display: none;
}

.wyz-theme-toggle__sun {
  display: block;
}

:root[data-theme="light"] .wyz-theme-toggle__moon {
  display: block;
}

:root[data-theme="light"] .wyz-theme-toggle__sun {
  display: none;
}

.wyz-button,
.search-submit,
.form-submit .submit,
.wp-block-button__link {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--brand-purple);
  box-shadow: 0 0 20px rgba(107, 59, 250, 0.35);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wyz-main {
  padding-top: var(--nav-h);
}

.wyz-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 108px) 0 44px;
}

.wyz-hero::before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--nav-h)) 0 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(107, 59, 250, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(240, 98, 146, 0.08) 0%, transparent 60%);
}

.wyz-hero .wyz-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.wyz-eyebrow {
  margin-bottom: 28px;
  padding: 6px 12px;
  border-color: rgba(107, 59, 250, 0.24);
  background: rgba(107, 59, 250, 0.09);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.wyz-title {
  max-width: 900px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.wyz-description {
  max-width: 700px;
  margin-top: 28px;
  color: var(--text-primary);
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.6;
  opacity: 0.82;
  text-wrap: pretty;
}

.wyz-section {
  padding: 38px 0 96px;
}

.wyz-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.wyz-card__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.wyz-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.wyz-card__title {
  text-wrap: balance;
}

.wyz-card__excerpt {
  -webkit-line-clamp: 2;
}

.wyz-single-hero {
  padding-top: clamp(72px, 8vw, 108px);
  text-align: center;
}

.wyz-single-hero .wyz-meta {
  justify-content: center;
  margin-top: 22px;
}

.wyz-single-title {
  margin-inline: auto;
  text-wrap: balance;
}

.wyz-featured-image {
  max-width: 1100px;
}

.wp-content figure img,
.wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.wyz-footer {
  position: relative;
  overflow: hidden;
}

.wyz-footer__glow {
  position: absolute;
  inset: 0 0 auto;
  height: 190px;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0%, rgba(107, 59, 250, 0.6) 50%, transparent 100%) top / 100% 1px no-repeat,
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(107, 59, 250, 0.06) 0%, transparent 70%);
}

.wyz-footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 40px;
  padding: 64px 0 56px;
}

.wyz-footer__copy {
  grid-column: span 2;
  max-width: 280px;
}

.wyz-footer__copy .wyz-brand {
  margin-bottom: 22px;
}

.wyz-footer__copy .wyz-logo {
  width: 160px;
}

.wyz-footer__copy p {
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.wyz-footer__social {
  display: flex;
  gap: 8px;
}

.wyz-footer__social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text-muted);
}

.wyz-footer__links {
  display: contents;
}

.wyz-footer__links div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wyz-footer__links h2 {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.wyz-footer__links .wyz-footer__subhead {
  margin: 16px 0 2px;
}

.wyz-footer__links a {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.wyz-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 96px 32px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
}

.wyz-footer__bottom p {
  margin: 0;
}

.wyz-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 12px;
}

.wyz-footer__meta > a {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--tag-bg);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.wyz-footer__legal {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wyz-footer__legal a {
  color: var(--text-muted);
  text-decoration: none;
}

@media (max-width: 980px) {
  .wyz-nav__links {
    display: none !important;
  }

  .wyz-nav__actions {
    display: none !important;
  }

  .wyz-menu-toggle {
    display: inline-flex !important;
  }

  .wyz-grid {
    grid-template-columns: 1fr !important;
  }

  .wyz-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wyz-footer__copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .admin-bar .wyz-header {
    top: 46px;
  }

  .wyz-nav {
    flex-wrap: nowrap;
    padding: 0;
  }

  .wyz-brand {
    min-width: 120px;
  }

  .wyz-logo {
    width: 120px;
  }

  .wyz-nav__actions {
    gap: 8px;
  }

  .wyz-button {
    padding-inline: 12px;
    font-size: 0.78rem;
  }

  .wyz-title,
  .wyz-single-title {
    font-size: clamp(40px, 12vw, 58px);
    letter-spacing: -0.035em;
  }

  .wyz-grid {
    grid-template-columns: 1fr;
  }

  .wyz-footer__inner {
    grid-template-columns: 1fr;
  }

  .wyz-footer__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .wyz-footer__bottom {
    flex-direction: column;
    padding-right: 0;
  }
}

/* ── Accessibility: screen-reader-text (required after removing Twenty Twenty-One) ── */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  word-wrap: normal !important;
}

/* ── Pagination dots fix ─────────────────────────────────────── */
.wyz-pagination .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.wyz-pagination ul,
.wyz-pagination ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-numbers.dots,
.post-page-numbers.dots {
  background: transparent;
  border: 0;
  min-width: auto;
  color: var(--text-muted);
  padding: 0 4px;
  font-size: 1rem;
}

/* ── Chevron SVG alignment + animation ──────────────────────── */
.wyz-nav__chevron {
  display: inline-block;
  vertical-align: middle;
  margin-left: 3px;
  opacity: 0.75;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.15s ease;
}

.wyz-nav__item:hover .wyz-nav__chevron,
.wyz-nav__item:focus-within .wyz-nav__chevron {
  opacity: 1;
  transform: rotate(180deg);
}

/* ── Chrome-bundle nav: trigger button replaces <a> in new markup ── */
.wyz-nav__trigger {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  cursor: pointer;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.wyz-nav__trigger:hover,
.wyz-nav__item:hover .wyz-nav__trigger,
.wyz-nav__item:focus-within .wyz-nav__trigger {
  background: var(--tag-bg, rgba(255, 255, 255, 0.06));
  color: var(--text-primary);
}

.wyz-nav__plain-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.wyz-nav__plain-link:hover {
  background: var(--tag-bg, rgba(255, 255, 255, 0.06));
  color: var(--text-primary);
}

/* ── Chrome-bundle: mega menu uses [hidden] attribute via JS ── */
.wyz-mega[hidden] {
  display: none !important;
}

.wyz-mega:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ── Mega menu link with desc ─────────────────────────────── */
.wyz-mega__link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.wyz-mega__link:hover {
  background: var(--tag-bg, rgba(255, 255, 255, 0.06));
}

.wyz-mega__link strong {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.15s ease;
}

.wyz-mega__link span {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.wyz-mega__link:hover strong {
  color: var(--brand-purple-light);
}

.wyz-mega__view-all-wrap {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.wyz-mega__view-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--brand-purple-light);
  text-decoration: none;
  transition: color 0.15s ease;
}

.wyz-mega__view-all:hover {
  color: var(--text-primary);
}

/* ── CTA button (replaces .wyz-button) ──────────────────────── */
.wyz-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.wyz-btn--primary {
  background: var(--brand-purple);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(107, 59, 250, 0.35);
}

.wyz-btn--primary:hover {
  background: #5c2ee5;
  box-shadow: 0 0 28px rgba(107, 59, 250, 0.5);
  color: #ffffff;
}

.wyz-btn--full {
  width: 100%;
  justify-content: center;
}

/* ── Mobile menu for chrome bundle ─────────────────────────── */
.wyz-mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 40;
  overflow-y: auto;
  background: var(--bg);
  transition: none;
}

.wyz-mobile-menu[hidden] {
  display: none !important;
}

.wyz-mobile-menu__inner {
  padding: 24px 16px 48px;
  display: flex;
  flex-direction: column;
}

.wyz-mobile-menu__section-label {
  margin: 20px 0 8px;
  padding: 0 4px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.wyz-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.wyz-mobile-link:hover {
  color: var(--text-primary);
}

.wyz-mobile-menu__actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Menu toggle open/close icons */
.wyz-menu-toggle__close {
  display: none;
}

.wyz-menu-toggle.is-open .wyz-menu-toggle__open {
  display: none;
}

.wyz-menu-toggle.is-open .wyz-menu-toggle__close {
  display: flex;
}

/* ── Footer: chrome-bundle uses .wyz-footer__col ────────────── */
.wyz-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wyz-footer__col h2 {
  margin: 0 0 4px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.wyz-footer__col .wyz-footer__subhead {
  margin-top: 16px;
}

.wyz-footer__col a {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.15s ease;
}

.wyz-footer__col a:hover {
  color: var(--text-primary);
}

.wyz-footer__grad-top {
  position: absolute;
  inset: 0 0 auto;
  height: 192px;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(107, 59, 250, 0.06) 0%, transparent 70%);
}

/* Responsive: hide footer col grid on very small screens */
@media (max-width: 600px) {
  .wyz-footer__links {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}
