/*
Theme Name: GetPony Auto
Theme URI: https://getpony.ro
Author: PSK Solution SRL
Author URI: https://psk.ro
Description: Tema custom pentru stiri auto Romania - optimizata Google Discover, mobile-first, performanta maxima. Categorii tematice + tag-uri marci auto.
Version: 1.2.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://psk.ro
Text Domain: getpony
Tags: news, automotive, mobile-first, seo, google-discover
*/

/* ============================================================
   RESET & VARIABLES
   ============================================================ */

:root {
  --c-bg: #0a0a0f;
  --c-surface: #13131a;
  --c-surface2: #1a1a24;
  --c-surface3: #22222e;
  --c-border: #2a2a38;
  --c-text: #e8e8ed;
  --c-text-dim: #8888a0;
  --c-text-muted: #555568;
  --c-accent: #e63946;
  --c-accent-hover: #ff4d5a;
  --c-accent-glow: rgba(230, 57, 70, 0.15);
  --c-blue: #4895ef;
  --c-green: #2ecc71;
  --c-orange: #f39c12;
  --c-white: #ffffff;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.4);
  --max-width: 1280px;
  --header-h: 60px;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-accent-hover); }
ul, ol { list-style: none; }

/* ============================================================
   UTILITY
   ============================================================ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ============================================================
   BREAKING NEWS TICKER
   ============================================================ */
.ticker {
  background: var(--c-accent);
  color: var(--c-white);
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  height: 32px;
  line-height: 32px;
}
.ticker-label {
  display: inline-block;
  background: #c1121f;
  padding: 0 12px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
  vertical-align: top;
}
.ticker-content {
  display: inline-block;
  padding-left: 16px;
  animation: ticker-scroll 30s linear infinite;
}
.ticker-content a { color: var(--c-white); }
.ticker-content a:hover { text-decoration: underline; }
.ticker-sep { margin: 0 24px; opacity: 0.5; }

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.site-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--c-accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.site-logo span { color: var(--c-accent); }

/* Main Navigation */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.main-nav li.menu-item-has-children > a::after {
  content: '▾';
  font-size: 10px;
  margin-left: 4px;
  opacity: 0.5;
}
.main-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 8px 0;
  min-width: 200px;
  z-index: 100;
  box-shadow: var(--shadow);
}
.main-nav li:hover > .sub-menu {
  display: block;
}
.main-nav .sub-menu li {
  display: block;
}
.main-nav .sub-menu a {
  display: block;
  padding: 6px 16px;
  border-radius: 0;
}
.main-nav a,
.main-nav li > a {
  color: var(--c-text-dim);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.main-nav a:hover,
.main-nav li > a:hover,
.main-nav a.active,
.main-nav .current-menu-item > a {
  color: var(--c-white);
  background: var(--c-surface2);
}
.main-nav .current-menu-item > a { color: var(--c-accent); }

/* Search */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
}
.header-search input {
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  color: var(--c-text);
  font-size: 13px;
  padding: 7px 14px 7px 36px;
  width: 200px;
  outline: none;
  transition: all var(--transition);
}
.header-search input:focus {
  border-color: var(--c-accent);
  width: 260px;
}
.header-search svg {
  position: absolute;
  left: 10px;
  width: 16px;
  height: 16px;
  color: var(--c-text-muted);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--c-text);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

/* ============================================================
   HERO SECTION (Homepage)
   ============================================================ */
.hero {
  padding: 24px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 16px;
}
.hero-grid .card {
  overflow: hidden;
}
.hero-grid .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-big {
  grid-row: 1 / 3;
  position: relative;
}
.hero-big .card {
  height: 100%;
  display: block;
  border: none;
  cursor: pointer;
}
.hero-big .card:hover {
  transform: translateY(-2px);
  border: none;
  box-shadow: none;
}
.hero-big .card-img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-big .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.hero-big .card:hover .card-img-wrap img {
  transform: scale(1.04);
}
.hero-big .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 80px 20px 20px;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 30%, rgba(0,0,0,0.85) 100%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.hero-big .card-title { font-size: 20px; color: #fff; }
.hero-big .card:hover .card-title,
.hero-big .card:hover .card-title a { color: var(--c-accent); }
.hero-big .card-meta .card-time { color: #ccc; }
.hero-big-link {
  color: inherit;
  text-decoration: none;
}
.hero-small .card {
  display: flex;
  flex-direction: row;
  height: 100%;
}
.hero-small .card-thumb {
  width: 200px;
  min-width: 200px;
  overflow: hidden;
}
.hero-small .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-small .card-body {
  flex: 1;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-small .card-title {
  font-size: 14px;
  line-height: 1.35;
}

/* Article Card */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 1px var(--c-accent), var(--shadow);
  transform: translateY(-2px);
}
.card-hero-main {
  display: block; /* override flex for hero overlay card */
}
.card-link-wrap {
  display: block;
  color: inherit;
}
.card-vertical .card-img {
  flex-shrink: 0;
}
.card-vertical .card-body {
  flex: 1;
}
.card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--c-surface2);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card-img img { transform: scale(1.04); }

.card-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 20px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

.card-body { padding: 16px; }

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--c-text-muted);
}
.card-cat {
  display: inline-block;
  background: var(--c-accent);
  color: var(--c-white);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 4px;
}
.card-cat.cat-video { background: var(--c-blue); }
.card-cat.cat-electrice { background: var(--c-green); }
.card-cat.cat-service { background: var(--c-orange); }

.card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-white);
}
.card-title a { color: inherit; }
.card-title a:hover { color: var(--c-accent); }
.card:hover .card-title,
.card:hover .card-title a { color: var(--c-accent); }
.list-item:hover .list-item-title,
.list-item:hover .list-item-title a { color: var(--c-accent); }

.hero-main .card-title { font-size: 24px; }
.hero-side .card-title { font-size: 16px; }

.card-excerpt {
  font-size: 14px;
  color: var(--c-text-dim);
  margin-top: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-time {
  font-size: 12px;
  color: var(--c-text-muted);
}
.card-brand-tags {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.brand-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--c-text-dim);
  background: var(--c-surface3);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.brand-tag:hover { color: var(--c-accent); background: var(--c-accent-glow); }

/* ============================================================
   NEWS GRID
   ============================================================ */
.section-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-accent);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--c-accent);
  border-radius: 2px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
.news-grid .card {
  display: flex;
  flex-direction: column;
}
.news-grid .card-img {
  aspect-ratio: 16/10;
  flex-shrink: 0;
}
.news-grid .card-body {
  flex: 1;
  padding: 14px;
}
.news-grid .card-title { font-size: 15px; line-height: 1.35; }

/* List Layout */
.news-list { margin-bottom: 40px; }
.list-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-border);
  transition: all var(--transition);
}
.list-item:hover {
  padding-left: 8px;
  border-bottom-color: var(--c-accent);
}
.list-item:hover .list-item-img img {
  transform: scale(1.04);
}
.list-item-img {
  width: 180px;
  min-width: 180px;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-surface2);
}
.list-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.list-item-body { flex: 1; }
.list-item-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.35;
  margin-bottom: 6px;
}
.list-item-title a { color: inherit; }
.list-item-title a:hover { color: var(--c-accent); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.content-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  padding: 32px 0;
}
.sidebar {
  position: sticky;
  top: 20px;
  align-self: flex-start;
}
.widget {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 24px;
}
.widget-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--c-text-dim);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-border);
}

/* Brands Cloud */
.brands-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.brands-cloud a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-text-dim);
  transition: all var(--transition);
}
.brands-cloud a:hover {
  color: var(--c-accent);
  border-color: var(--c-accent);
  background: var(--c-accent-glow);
}
.brands-cloud .brand-count {
  font-size: 10px;
  color: var(--c-text-muted);
}

/* Popular Posts */
.popular-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-border);
}
.popular-item:last-child { border-bottom: none; }
.popular-num {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--c-accent);
  min-width: 32px;
  line-height: 1;
}
.popular-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.35;
}
.popular-title a { color: inherit; }
.popular-title a:hover { color: var(--c-accent); }

/* ============================================================
   SINGLE ARTICLE
   ============================================================ */
.single-header {
  padding: 32px 0 16px;
}
.single-cats {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.single-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--c-white);
  margin-bottom: 16px;
}
.single-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--c-text-muted);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border);
}
.single-updated {
  color: var(--c-accent);
  font-size: 12px;
  font-style: italic;
  white-space: nowrap;
}
.single-author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.author-avatar-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-white);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.author-avatar-link:hover {
  color: var(--c-accent);
}
.author-avatar {
  width: 36px;
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-surface3);
  overflow: hidden;
  flex-shrink: 0;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }

.single-featured {
  margin: 24px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--c-surface2);
}
.single-featured img { width: 100%; height: 100%; object-fit: cover; }

.single-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--c-text);
}
.single-content p { margin-bottom: 1.4em; }
.single-content h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin: 2em 0 0.8em;
  color: var(--c-white);
}
.single-content h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin: 1.5em 0 0.6em;
  color: var(--c-white);
}
.single-content img {
  border-radius: var(--radius);
  margin: 1.5em 0;
}
.single-content blockquote {
  border-left: 3px solid var(--c-accent);
  padding: 16px 20px;
  margin: 1.5em 0;
  background: var(--c-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--c-text-dim);
}
.single-content ul, .single-content ol {
  margin: 1em 0;
  padding-left: 1.5em;
}
.single-content li { margin-bottom: 0.5em; list-style: disc; }
.single-content a { color: var(--c-accent); text-decoration: underline; }
.single-content .wp-caption { margin: 1.5em 0; }
.single-content .wp-caption-text {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-top: 8px;
  text-align: center;
}

/* Tags under article */
.single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0;
  border-top: 1px solid var(--c-border);
  margin-top: 32px;
}

/* Related Posts */
.related-posts {
  padding: 24px 0;
  border-top: 1px solid var(--c-border);
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  font-size: 12px;
  color: var(--c-text-muted);
  padding: 12px 0;
}
.breadcrumbs a { color: var(--c-text-dim); }
.breadcrumbs a:hover { color: var(--c-accent); }
.breadcrumbs .sep { margin: 0 6px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 32px 0;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
}
.pagination a {
  background: var(--c-surface);
  color: var(--c-text-dim);
  border: 1px solid var(--c-border);
}
.pagination a:hover {
  background: var(--c-accent);
  color: var(--c-white);
  border-color: var(--c-accent);
}
.pagination .current {
  background: var(--c-accent);
  color: var(--c-white);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: linear-gradient(to bottom, var(--c-surface), #05050a);
  border-top: 3px solid var(--c-accent);
  padding: 48px 0 0;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr;
  gap: 30px;
  margin-bottom: 32px;
  align-items: start;
}
.footer-about {
  padding-right: 20px;
}
.footer-about p {
  font-size: 13px;
  color: var(--c-text-dim);
  line-height: 1.7;
  margin-top: 14px;
}
.footer-heading {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--c-white);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--c-accent);
  display: inline-block;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-links a {
  display: block;
  font-size: 13px;
  color: var(--c-text-dim);
  padding: 4px 0;
  transition: color var(--transition), padding-left var(--transition);
}
.footer-links a:hover {
  color: var(--c-accent);
  padding-left: 6px;
}
.footer-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.footer-brands a {
  display: inline-block;
  font-size: 12px;
  color: var(--c-text-dim);
  padding: 4px 10px;
  border: 1px solid var(--c-border);
  border-radius: 20px;
  transition: all var(--transition);
}
.footer-brands a:hover {
  color: var(--c-accent);
  border-color: var(--c-accent);
  background: rgba(230,57,70,0.08);
}
.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--c-text-muted);
}
.footer-bottom a { color: var(--c-accent); }

/* ============================================================
   ARCHIVE / CATEGORY HEADER
   ============================================================ */
.archive-header {
  padding: 32px 0 16px;
}
.archive-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--c-white);
}
.archive-desc {
  font-size: 15px;
  color: var(--c-text-dim);
  margin-top: 8px;
  max-width: 600px;
}
.archive-count {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-top: 4px;
}
.brand-header {
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand-header-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--c-surface);
  padding: 8px;
  border: 1px solid var(--c-border);
}

/* ============================================================
   AUTHOR PROFILE
   ============================================================ */
.author-profile {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 32px;
}
.author-profile-inner {
  display: flex;
  gap: 24px;
  align-items: center;
}
.author-profile-avatar {
  flex-shrink: 0;
}
.author-profile-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--c-accent);
}
.author-profile-info {
  flex: 1;
}
.author-profile-name {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: 2px;
}
.author-profile-role {
  display: block;
  font-size: 13px;
  color: var(--c-accent);
  font-weight: 500;
  margin-bottom: 10px;
}
.author-profile-bio {
  font-size: 14px;
  color: var(--c-text-dim);
  line-height: 1.6;
  margin-bottom: 12px;
}
.author-profile-stats {
  display: flex;
  gap: 24px;
}
.author-stat {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.author-stat-num {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-white);
}
.author-stat-label {
  font-size: 11px;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   404
   ============================================================ */
.page-404 {
  text-align: center;
  padding: 80px 20px;
}
.page-404 h1 {
  font-family: var(--font-heading);
  font-size: 120px;
  font-weight: 900;
  color: var(--c-accent);
  line-height: 1;
}
.page-404 p {
  font-size: 18px;
  color: var(--c-text-dim);
  margin: 16px 0 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--c-accent);
  color: var(--c-white);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn:hover { background: var(--c-accent-hover); color: var(--c-white); transform: translateY(-1px); }

/* ============================================================
   RESPONSIVE - TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-rows: 180px 180px; }
  .hero-small .card-thumb { width: 160px; min-width: 160px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .content-wrap { grid-template-columns: 1fr 280px; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .header-search input { width: 160px; }
  .header-search input:focus { width: 200px; }
}

/* ============================================================
   RESPONSIVE - MOBILE
   ============================================================ */
@media (max-width: 768px) {
  :root { --header-h: 56px; }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .hero-big { grid-row: auto; }
  .hero-big .card-img-wrap { height: 220px; }
  .hero-big .card-title { font-size: 18px; }
  .hero-small .card-thumb { width: 120px; min-width: 120px; }

  .news-grid { grid-template-columns: 1fr; gap: 12px; }

  .content-wrap {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .sidebar { order: 2; }

  .author-profile-inner { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .author-profile-avatar img { width: 100px; height: 100px; }
  .author-profile-name { font-size: 22px; }
  .author-profile-bio { max-width: 100%; }
  .author-profile-stats { justify-content: center; }

  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--c-surface);
    padding: 20px;
    gap: 4px;
    z-index: 999;
    overflow-y: auto;
    border-top: 1px solid var(--c-border);
  }
  .main-nav.open a {
    font-size: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--c-border);
  }
  .mobile-toggle { display: block; }

  .header-search { display: none; }
  .main-nav.open .mobile-search {
    display: block;
    margin-bottom: 16px;
  }
  .main-nav.open .mobile-search input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    background: var(--c-surface2);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    color: var(--c-text);
    outline: none;
  }

  .list-item { gap: 12px; }
  .list-item-img { width: 120px; min-width: 120px; }
  .list-item-title { font-size: 14px; }

  .single-title { font-size: 24px; }
  .single-content { font-size: 16px; }

  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .ticker { font-size: 12px; height: 28px; line-height: 28px; }
}

@media (max-width: 480px) {
  .hero-main .card-title { font-size: 18px; }
  .hero-side .card-title { font-size: 14px; }
  .card-body { padding: 12px; }
  .single-title { font-size: 22px; }
  .single-meta { flex-wrap: wrap; gap: 8px; }
  .container { padding: 0 16px; }
}

/* ============================================================
   PERFORMANCE: LAZY LOAD PLACEHOLDER
   ============================================================ */
.lazy-placeholder {
  background: var(--c-surface2);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header, .site-footer, .sidebar, .ticker, .related-posts, .pagination { display: none; }
  body { background: white; color: black; }
  .single-content { font-size: 12pt; }
  a { color: black; text-decoration: underline; }
}
