/*
Theme Name: Zazona Classic
Theme URI: https://zazona.com/
Author: Codex
Author URI: https://openai.com/
Description: A classic PHP WordPress theme for Zazona. It preserves the dark editorial/neon interface while fixing cramped navigation, placeholder copy, sparse post grids, oversized cards, intense footer contrast, and mobile navigation.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zazona-classic
*/

:root {
  --zzn-bg: #0e0e0d;
  --zzn-bg-deep: #080907;
  --zzn-surface: rgba(23, 23, 19, 0.94);
  --zzn-surface-strong: #171713;
  --zzn-surface-soft: rgba(255, 255, 255, 0.07);
  --zzn-text: #ffffff;
  --zzn-muted: #aaa9a1;
  --zzn-soft: #d7d5ca;
  --zzn-ink: #2b2a28;
  --zzn-border: rgba(255, 255, 255, 0.14);
  --zzn-border-soft: rgba(255, 255, 255, 0.08);
  --zzn-accent: #dcff00;
  --zzn-accent-soft: #c8ef15;
  --zzn-radius: 8px;
  --zzn-pill: 999px;
  --zzn-shell: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--zzn-bg);
  color: var(--zzn-text);
  font-family: Inter, "IBM Plex Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.zzn-menu-open {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--zzn-accent);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

.zzn-skip-link:focus {
  z-index: 1000;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  border-radius: var(--zzn-pill);
  background: var(--zzn-accent);
  color: var(--zzn-ink);
  font-weight: 800;
}

.zzn-shell {
  width: min(100% - 56px, var(--zzn-shell));
  margin: 0 auto;
}

.zzn-header {
  position: sticky;
  z-index: 40;
  top: 0;
  padding: 14px 0 0;
  background: linear-gradient(180deg, rgba(14, 14, 13, 0.96), rgba(14, 14, 13, 0.78) 76%, rgba(14, 14, 13, 0));
}

.zzn-header-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 70px;
  padding: 9px 16px 9px 24px;
  border: 1px solid var(--zzn-border);
  border-radius: var(--zzn-pill);
  background: rgba(23, 23, 19, 0.92);
  backdrop-filter: blur(16px);
}

.zzn-brand,
.zzn-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--zzn-text);
  font-weight: 800;
  line-height: 1;
}

.zzn-brand:hover,
.zzn-brand:focus,
.zzn-footer-logo:hover,
.zzn-footer-logo:focus {
  color: var(--zzn-text);
}

.zzn-brand-dot {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 4px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: var(--zzn-accent);
  box-shadow: 0 0 24px rgba(220, 255, 0, 0.35);
}

.zzn-brand-logo {
  width: auto;
  height: 28px;
  max-width: 96px;
  flex: 0 0 auto;
  border-radius: 4px;
  object-fit: contain;
}

.zzn-brand-name {
  display: inline-block;
  min-width: 68px;
  font-size: 16px;
  white-space: nowrap;
}

.zzn-primary-nav {
  min-width: 0;
}

.zzn-menu-list,
.zzn-footer-menu-list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.1vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.zzn-menu-list {
  justify-content: space-between;
}

.zzn-menu-list a,
.zzn-menu-link {
  display: inline-flex;
  align-items: center;
  color: var(--zzn-muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
}

.zzn-menu-list a:hover,
.zzn-menu-list a:focus,
.zzn-menu-link:hover,
.zzn-menu-link:focus {
  color: var(--zzn-accent);
}

.zzn-header-cta,
.zzn-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--zzn-pill);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.zzn-header-cta {
  min-height: 42px;
  padding: 0 16px;
  background: var(--zzn-accent);
  color: var(--zzn-ink);
  font-size: 13px;
}

.zzn-button {
  min-height: 52px;
  padding: 0 22px;
  background: var(--zzn-surface-soft);
  color: var(--zzn-text);
  font-size: 16px;
  border-color: var(--zzn-border-soft);
}

.zzn-button-primary,
.zzn-header-cta:hover,
.zzn-header-cta:focus {
  background: var(--zzn-accent);
  color: var(--zzn-ink);
}

.zzn-button:hover,
.zzn-button:focus {
  transform: translateY(-1px);
  border-color: rgba(220, 255, 0, 0.5);
  color: var(--zzn-accent);
}

.zzn-button-primary:hover,
.zzn-button-primary:focus {
  background: var(--zzn-accent-soft);
  color: var(--zzn-ink);
}

.zzn-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: var(--zzn-surface-soft);
  color: var(--zzn-text);
  cursor: pointer;
}

.zzn-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: var(--zzn-pill);
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.zzn-header.is-open .zzn-menu-toggle {
  background: var(--zzn-accent);
  color: var(--zzn-ink);
}

.zzn-header.is-open .zzn-menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.zzn-header.is-open .zzn-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.zzn-header.is-open .zzn-menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.zzn-mobile-panel {
  display: none;
}

.zzn-main {
  min-height: 58vh;
}

.zzn-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 64px;
  background:
    radial-gradient(circle at 38% 12%, rgba(220, 255, 0, 0.055), transparent 32%),
    linear-gradient(180deg, rgba(21, 27, 10, 0.18), rgba(8, 9, 7, 0.2));
}

.zzn-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  align-items: center;
  gap: 54px;
}

.zzn-eyebrow {
  margin: 0;
  color: var(--zzn-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.zzn-hero-title,
.zzn-section-title,
.zzn-card-title,
.zzn-entry-title,
.zzn-footer-heading {
  margin: 0;
  font-family: "Inter Tight", Inter, "IBM Plex Sans", Arial, sans-serif;
  letter-spacing: 0;
}

.zzn-hero-title {
  max-width: 560px;
  margin-top: 16px;
  color: var(--zzn-text);
  font-size: clamp(44px, 5.4vw, 68px);
  font-weight: 800;
  line-height: 0.98;
}

.zzn-hero-text {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--zzn-muted);
  font-size: 18px;
  line-height: 1.6;
}

.zzn-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.zzn-hero-visual {
  min-width: 0;
}

.zzn-hero-card {
  overflow: hidden;
  border: 1px solid var(--zzn-border);
  border-radius: var(--zzn-radius);
  background: #fff;
}

.zzn-hero-card img {
  width: 100%;
  aspect-ratio: 1024 / 506;
  object-fit: cover;
}

.zzn-hero-placeholder,
.zzn-post-placeholder {
  display: grid;
  min-height: 250px;
  padding: 32px;
  place-items: center;
  background: #f5f5f0;
  color: var(--zzn-ink);
  font-weight: 800;
  text-align: center;
}

.zzn-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.zzn-stat {
  min-height: 94px;
  padding: 18px;
  border: 1px solid var(--zzn-border);
  border-radius: var(--zzn-radius);
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    rgba(255,255,255,0.055);
  background-size: 32px 32px;
}

.zzn-stat-number {
  display: block;
  font-family: "Inter Tight", Inter, Arial, sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.zzn-stat-label {
  display: block;
  margin-top: 8px;
  color: var(--zzn-muted);
  font-size: 14px;
  font-weight: 800;
}

.zzn-intro {
  padding: 52px 0;
  border-top: 1px solid var(--zzn-border-soft);
  border-bottom: 1px solid var(--zzn-border-soft);
  background: rgba(255, 255, 255, 0.035);
}

.zzn-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.zzn-section-title {
  color: var(--zzn-text);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.08;
}

.zzn-section-text {
  margin: 0;
  color: var(--zzn-muted);
  font-size: 18px;
  line-height: 1.6;
}

.zzn-posts {
  padding: 70px 0 72px;
}

.zzn-posts-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.zzn-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 18px;
}

.zzn-post-card {
  display: grid;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--zzn-border-soft);
  border-radius: var(--zzn-radius);
  background: var(--zzn-surface);
}

.zzn-post-media {
  display: block;
  overflow: hidden;
  background: #fff;
}

.zzn-post-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 180ms ease;
}

.zzn-post-card:hover .zzn-post-media img {
  transform: scale(1.025);
}

.zzn-card-body {
  display: flex;
  gap: 13px;
  padding: 20px;
  flex-direction: column;
}

.zzn-card-category {
  align-self: flex-start;
  max-width: 100%;
  padding: 8px 12px;
  overflow: hidden;
  border-radius: var(--zzn-pill);
  background: var(--zzn-accent);
  color: var(--zzn-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zzn-card-date,
.zzn-entry-meta {
  color: var(--zzn-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.zzn-card-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--zzn-text);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.14;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.zzn-card-title a:hover,
.zzn-card-title a:focus {
  color: var(--zzn-accent);
}

.zzn-card-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--zzn-muted);
  font-size: 16px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.zzn-read-more {
  align-self: flex-start;
  margin-top: 2px;
  color: var(--zzn-accent);
  font-size: 15px;
  font-weight: 800;
}

.zzn-empty {
  width: min(100%, 680px);
  padding: 28px;
  border: 1px solid var(--zzn-border-soft);
  border-radius: var(--zzn-radius);
  background: var(--zzn-surface);
  color: var(--zzn-muted);
}

.zzn-footer {
  border-top: 4px solid var(--zzn-accent);
  background: #141512;
  color: var(--zzn-text);
}

.zzn-footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(210px, 0.75fr) minmax(210px, 0.75fr);
  gap: 34px;
  padding: 46px 0 28px;
}

.zzn-footer-logo {
  color: var(--zzn-text);
}

.zzn-footer-about {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--zzn-muted);
}

.zzn-footer-heading {
  margin-bottom: 14px;
  color: var(--zzn-accent);
  font-size: 16px;
  font-weight: 800;
}

.zzn-footer-menu-list {
  gap: 12px;
  align-items: flex-start;
  flex-direction: column;
}

.zzn-footer-menu-list a {
  color: var(--zzn-soft);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.18;
}

.zzn-footer-note {
  color: var(--zzn-muted);
}

.zzn-footer-bottom {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--zzn-border-soft);
  color: var(--zzn-muted);
  font-size: 14px;
  font-weight: 700;
}

.zzn-entry,
.zzn-listing {
  padding: 72px 0 84px;
}

.zzn-entry-header {
  width: min(100%, 850px);
  margin: 0 auto 34px;
}

.zzn-entry-title {
  margin-top: 14px;
  color: var(--zzn-text);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  line-height: 1;
}

.zzn-entry-figure {
  width: min(100%, 980px);
  margin: 0 auto 38px;
  overflow: hidden;
  border: 1px solid var(--zzn-border);
  border-radius: var(--zzn-radius);
  background: #fff;
}

.zzn-entry-figure img {
  width: 100%;
}

.zzn-entry-content {
  width: min(100%, 760px);
  margin: 0 auto;
  color: var(--zzn-soft);
  font-size: 18px;
  line-height: 1.76;
}

.zzn-entry-content > *:first-child {
  margin-top: 0;
}

.zzn-entry-content a {
  color: var(--zzn-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.zzn-entry-content h2,
.zzn-entry-content h3,
.zzn-entry-content h4 {
  margin: 1.8em 0 0.55em;
  color: var(--zzn-text);
  font-family: "Inter Tight", Inter, Arial, sans-serif;
  line-height: 1.12;
}

.zzn-pagination,
.zzn-post-nav,
.zzn-entry-footer {
  width: min(100%, 760px);
  margin: 36px auto 0;
}

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

.zzn-pagination a,
.zzn-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--zzn-border-soft);
  border-radius: var(--zzn-pill);
  background: var(--zzn-surface);
}

.zzn-pagination .current {
  background: var(--zzn-accent);
  color: var(--zzn-ink);
}

@media (max-width: 1120px) {
  .zzn-header-panel {
    gap: 18px;
  }

  .zzn-menu-list {
    gap: 16px;
  }

  .zzn-menu-list a {
    font-size: 13px;
  }
}

@media (max-width: 980px) {
  .zzn-shell {
    width: min(100% - 40px, var(--zzn-shell));
  }

  .zzn-header {
    padding-top: 14px;
  }

  .zzn-header-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 62px;
    padding: 9px 14px;
    border-radius: var(--zzn-radius);
  }

  .zzn-primary-nav,
  .zzn-header-cta {
    display: none;
  }

  .zzn-menu-toggle {
    display: inline-block;
  }

  .zzn-header.is-open .zzn-mobile-panel {
    display: block;
    padding: 14px 0 18px;
    border-bottom: 1px solid var(--zzn-border-soft);
    background: rgba(8, 9, 7, 0.98);
  }

  .zzn-mobile-menu-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .zzn-mobile-menu-list a {
    display: flex;
    min-height: 42px;
    align-items: center;
    padding: 0 14px;
    border: 1px solid var(--zzn-border-soft);
    border-radius: var(--zzn-radius);
    background: var(--zzn-surface-soft);
    color: var(--zzn-text);
    font-size: 14px;
    font-weight: 800;
  }

  .zzn-hero {
    padding: 58px 0 52px;
  }

  .zzn-hero-grid,
  .zzn-intro-grid,
  .zzn-footer-grid {
    grid-template-columns: 1fr;
  }

  .zzn-hero-grid {
    gap: 34px;
  }

  .zzn-hero-title {
    max-width: 680px;
    font-size: 44px;
  }

  .zzn-hero-actions {
    flex-direction: column;
  }

  .zzn-hero-actions .zzn-button {
    width: 100%;
  }

  .zzn-posts-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .zzn-footer-grid {
    gap: 26px;
  }
}

@media (max-width: 560px) {
  .zzn-shell {
    width: min(100% - 40px, var(--zzn-shell));
  }

  .zzn-brand-name {
    min-width: 64px;
  }

  .zzn-hero-title {
    font-size: 34px;
    line-height: 0.98;
  }

  .zzn-hero-text,
  .zzn-section-text {
    font-size: 16px;
  }

  .zzn-stats {
    grid-template-columns: 1fr 1fr;
  }

  .zzn-intro {
    padding: 42px 0;
  }

  .zzn-posts {
    padding-top: 60px;
  }

  .zzn-section-title {
    font-size: 30px;
  }

  .zzn-card-title {
    font-size: 22px;
    -webkit-line-clamp: 4;
  }

  .zzn-card-body {
    padding: 18px;
  }

  .zzn-footer {
    border-top-width: 3px;
  }
}
