/*
Theme Name: iAmintiri Neon
Theme URI: https://iamintiri.info
Author: iAmintiri
Author URI: https://iamintiri.info
Description: iAmintiri — design neon retro american '80s. Violet electric, roz neon, galben acid.
Version: 8.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iamintiri
Tags: blog, news, magazine, dark, neon, retro, custom-colors, custom-logo
*/

/* ════════════════════════════════════════════════════════════
   FONTS
   ════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=VT323&family=Barlow+Condensed:ital,wght@0,400;0,600;0,700;1,700&family=Exo+2:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&display=swap');

/* ════════════════════════════════════════════════════════════
   VARIABILE — DARK MODE (default)
   ════════════════════════════════════════════════════════════ */
:root {
  --bg:           #1A0533;
  --bg-alt:       #12022A;
  --surface:      #1E0A3C;
  --surface-2:    #250D47;
  --text:         #F0E8FF;
  --text-muted:   rgba(240,232,255,.52);
  --heading:      #F0E8FF;
  --border:       rgba(255,46,155,.18);
  --border-h:     rgba(255,46,155,.65);
  --pink:         #FF2E9B;
  --pink-h:       #FF5AB5;
  --yellow:       #FFE600;
  --cyan:         #00E5FF;
  --accent:       #FF2E9B;
  --accent-h:     #FF5AB5;
  --nav-bg:       #0E0120;
  --nav-text:     rgba(240,232,255,.8);
  --footer-bg:    #0E0120;
  --footer-text:  rgba(240,232,255,.45);
  --grid:         rgba(255,46,155,.055);
  --glow-pink:    0 0 18px rgba(255,46,155,.28), 0 0 4px rgba(255,46,155,.15);
  --glow-cyan:    0 0 18px rgba(0,229,255,.28);
  --glow-yellow:  0 0 18px rgba(255,230,0,.28);
  /* Fonturi — Exo 2 pentru body, VT323 pentru pixel/titluri */
  --font-pixel:   'VT323', monospace;
  --font-head:    'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'Exo 2', Arial, sans-serif;
  --fz:           18px;
  --lh:           1.85;
  --container-max: 1200px;
  --sidebar-w:    280px;
  --radius:       2px;
  --z-header:     500;
  --z-modal:      9100;
  --z-toast:      9999;
}

/* ════════════════════════════════════════════════════════════
   LIGHT MODE
   ════════════════════════════════════════════════════════════ */
html.light-mode {
  --bg:         #F2EEFF;
  --bg-alt:     #E8DDFF;
  --surface:    #FFFFFF;
  --surface-2:  #F5EEFF;
  --text:       #1A0533;
  --text-muted: rgba(26,5,51,.5);
  --heading:    #1A0533;
  --border:     rgba(26,5,51,.12);
  --border-h:   rgba(255,46,155,.5);
  --nav-bg:     #2E0B5F;
  --nav-text:   rgba(240,232,255,.9);
  --footer-bg:  #2E0B5F;
  --footer-text:rgba(240,232,255,.5);
  --grid:       rgba(46,11,95,.05);
  --glow-pink:  none;
  --glow-cyan:  none;
  --glow-yellow:none;
}

/* ════════════════════════════════════════════════════════════
   RESET
   ════════════════════════════════════════════════════════════ */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fz);
  line-height: var(--lh);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .25s, color .25s;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--pink); text-decoration: none; transition: color .2s; }
a:hover { color: var(--pink-h); }
/* Titluri: VT323 pixel font — direct, fără override ulterior */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-pixel);
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--heading);
  line-height: 1.15;
  letter-spacing: .5px;
  margin: 0 0 .5em;
}
h1 { font-size: 2.2em;  letter-spacing: 2px; }
h2 { font-size: 1.8em;  letter-spacing: 1.5px; }
h3 { font-size: 1.5em;  letter-spacing: 1px; }
h4 { font-size: 1.25em; }
h5 { font-size: 1.1em; }
h6 { font-size: 1em; }
p  { margin: 0 0 1.1em; }
ul,ol { list-style: none; margin: 0; padding: 0; }
hr { border: none; border-top: 1px solid var(--border); margin: 1.5em 0; }

/* Skip link + screen reader */
.skip-link {
  position: absolute; top: -100px; left: 8px;
  background: var(--pink); color: #fff; padding: 8px 16px; z-index: 10000;
  font-family: var(--font-pixel); font-size: 16px; letter-spacing: .1em;
  transition: top .2s;
}
.skip-link:focus { top: 0; color: #fff; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ════════════════════════════════════════════════════════════
   GRID OVERLAY — aplicat pe mai multe componente
   ════════════════════════════════════════════════════════════ */
.ia-grid-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none; z-index: 0;
}

/* ════════════════════════════════════════════════════════════
   CONTAINER
   ════════════════════════════════════════════════════════════ */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 20px; overflow: hidden; }

/* ════════════════════════════════════════════════════════════
   READING PROGRESS
   ════════════════════════════════════════════════════════════ */
#ia-progress-bar {
  position: fixed; top: 0; left: 0; width: 0%; height: 2px;
  background: linear-gradient(to right, var(--cyan), var(--pink));
  z-index: 9998; transition: width .1s linear;
  box-shadow: 0 0 10px rgba(255,46,155,.4);
}

/* ════════════════════════════════════════════════════════════
   NAV / HEADER
   ════════════════════════════════════════════════════════════ */
#masthead {
  background: var(--nav-bg); position: sticky; top: 0; z-index: var(--z-header);
  border-bottom: 2px solid var(--pink);
}
#masthead::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--yellow); opacity: .4;
}
.admin-bar #masthead { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar #masthead { top: 46px; } }

.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 12px; }
.main-navigation { flex: 1; min-width: 0; }
.main-navigation .menu { display: flex; flex-wrap: wrap; gap: 0; }
.main-navigation .menu li a {
  display: block; font-family: var(--font-pixel); font-size: 17px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--nav-text);
  padding: 0 13px; line-height: 44px; transition: color .15s, background .15s; white-space: nowrap;
}
.main-navigation .menu li a:hover,
.main-navigation .menu li.current-menu-item > a,
.main-navigation .menu li.current_page_item > a { color: var(--pink); text-shadow: 0 0 10px rgba(255,46,155,.6); }
.main-navigation .menu li { position: relative; }
.main-navigation .menu li ul {
  position: absolute; top: 100%; left: 0; background: var(--nav-bg); min-width: 180px;
  border: 1px solid var(--border-h); border-top: 2px solid var(--pink); z-index: var(--z-header);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.main-navigation .menu li:hover > ul,
.main-navigation .menu li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.main-navigation .menu li ul li a { font-size: 15px; line-height: 1; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
/* Search button */
.nav-search { display: none !important; }
.nav-search-btn {
  background: transparent; border: 1px solid var(--border); color: var(--nav-text);
  font-size: 14px; cursor: pointer; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center; transition: all .15s;
}
.nav-search-btn:hover { border-color: var(--pink); color: var(--pink); box-shadow: var(--glow-pink); }
/* Social */
.nav-social { display: flex; gap: 4px; }
.nav-social a { color: var(--text-muted); font-size: 14px; padding: 4px 6px; transition: color .15s; }
.nav-social a:hover { color: var(--pink); text-shadow: 0 0 8px var(--pink); }
/* Dark toggle */
.theme-switch { cursor: pointer; display: flex; align-items: center; }
.theme-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle-track {
  width: 48px; height: 26px; border-radius: 13px;
  background: rgba(255,46,155,.2); border: 1px solid var(--border-h);
  position: relative; display: flex; align-items: center;
  justify-content: space-between; padding: 0 5px; transition: background .2s;
}
.theme-switch input:checked + .toggle-track { background: rgba(255,230,0,.15); border-color: rgba(255,230,0,.5); }
/* Thumb: absolut, se mișcă cu left în loc de transform */
.toggle-thumb {
  width: 18px; height: 18px; border-radius: 50%; background: var(--pink);
  position: absolute; left: 4px; top: 50%; margin-top: -9px;
  transition: left .25s, background .2s; box-shadow: 0 0 8px var(--pink);
  z-index: 2;
}
.theme-switch input:checked + .toggle-track .toggle-thumb {
  left: calc(100% - 22px);
  background: var(--yellow); box-shadow: 0 0 8px var(--yellow);
}
/* Hamburger */
.hamburger {
  display: none; background: none; border: 1px solid var(--border); color: var(--nav-text);
  font-size: 18px; cursor: pointer; padding: 4px 8px; line-height: 1; transition: border-color .15s;
}
.hamburger:hover { border-color: var(--pink); color: var(--pink); }
/* Mobile panel */
#mobile-panel { background: var(--nav-bg); border-top: 1px solid var(--border); display: none; }
#mobile-panel.open { display: block; }
#mobile-panel .menu { flex-direction: column; }
#mobile-panel .menu li a { font-family: var(--font-pixel); font-size: 18px; letter-spacing: .1em; text-transform: uppercase; padding: 11px 20px; border-bottom: 1px solid var(--border); line-height: 1; }
.mobile-extras { display: flex; gap: 12px; align-items: center; padding: 12px 20px; border-top: 1px solid var(--border); }

/* ════════════════════════════════════════════════════════════
   MASTHEAD (logo + tagline)
   ════════════════════════════════════════════════════════════ */
.site-masthead {
  background: var(--bg-alt); padding: 18px 20px; border-bottom: 1px solid rgba(255,230,0,.15);
  position: relative; overflow: hidden; text-align: center;
}
.site-masthead::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
}
.masthead-side { display: none; }
.masthead-center { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; z-index: 1; }
.masthead-logo-link { display: inline-block; text-decoration: none; }
.masthead-logo-link img { max-height: 36px; width: auto; }
html:not(.light-mode) .logo-light { display: block; }
html:not(.light-mode) .logo-dark  { display: none; }
html.light-mode .logo-light        { display: none; }
html.light-mode .logo-dark         { display: block; }
.site-masthead .site-tagline {
  display: block; font-family: var(--font-pixel); font-size: 16px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--yellow); margin: 0; padding: 0; font-style: normal; font-weight: 400;
}
.site-masthead .tagline-accent { color: var(--pink); }
html.light-mode .site-masthead .site-tagline { color: #4A0080; }
html.light-mode .site-masthead .tagline-accent { color: #CC0070; }

/* ════════════════════════════════════════════════════════════
   SEARCH OVERLAY
   ════════════════════════════════════════════════════════════ */
#ia-search-overlay {
  position: fixed; inset: 0; z-index: 9500; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px;
  background: rgba(10,1,20,.97);
}
#ia-search-overlay::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
}
#ia-search-overlay.open { display: flex; }
.ia-search-overlay-label { font-family: var(--font-pixel); font-size: 20px; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); position: relative; z-index: 1; }
.ia-search-overlay-form { display: flex; width: 100%; max-width: 580px; position: relative; z-index: 1; }
.ia-search-overlay-form input[type="search"] {
  flex: 1; background: rgba(255,46,155,.08); border: 2px solid var(--pink); border-right: none;
  color: var(--text); padding: 14px 18px; font-family: var(--font-pixel); font-size: 20px;
  letter-spacing: .1em; text-transform: uppercase; outline: none; box-shadow: 0 0 20px rgba(255,46,155,.15);
}
.ia-search-overlay-form input::placeholder { color: var(--text-muted); }
.ia-search-overlay-form button[type="submit"] { background: var(--pink); border: 2px solid var(--pink); border-left: none; color: #fff; padding: 0 22px; font-size: 18px; cursor: pointer; transition: background .15s; }
.ia-search-overlay-form button:hover { background: var(--pink-h); }
.ia-search-overlay-close { position: absolute; top: 16px; right: 20px; background: none; border: 1px solid var(--border); color: var(--text-muted); font-family: var(--font-pixel); font-size: 14px; padding: 5px 12px; cursor: pointer; transition: all .15s; z-index: 1; }
.ia-search-overlay-close:hover { border-color: var(--pink); color: var(--pink); }
.ia-search-overlay-hint { font-family: var(--font-pixel); font-size: 13px; color: rgba(240,232,255,.3); letter-spacing: .1em; text-transform: uppercase; position: relative; z-index: 1; }

/* ════════════════════════════════════════════════════════════
   TICKER
   ════════════════════════════════════════════════════════════ */
#ia-ticker {
  background: var(--pink); color: #fff; height: 26px;
  font-family: var(--font-pixel); font-size: 14px; letter-spacing: .1em;
  overflow: hidden; white-space: nowrap; display: flex; align-items: center;
  box-shadow: 0 2px 8px rgba(255,46,155,.4);
}
#ia-ticker .ticker-label {
  flex-shrink: 0; padding: 0 12px; background: rgba(0,0,0,.25);
  height: 100%; display: flex; align-items: center;
  text-transform: uppercase; letter-spacing: .12em;
}
#ia-ticker .ticker-track { animation: ia-ticker 30s linear infinite; padding-left: 30px; }
@keyframes ia-ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
#ia-ticker:hover .ticker-track { animation-play-state: paused; }

/* ════════════════════════════════════════════════════════════
   LAYOUT
   ════════════════════════════════════════════════════════════ */
#content { padding: 22px 0 48px; min-height: 60vh; overflow: hidden; }
.site-layout {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: 24px;
  align-items: start;
}
.site-layout--full { grid-template-columns: 1fr !important; }
#primary   { min-width: 0; }
#secondary { min-width: 0; }
.sticky-sidebar { position: static; top: auto; }

/* ════════════════════════════════════════════════════════════
   SECTION LABEL  &#x25B6;&#xFE0E; TITLU
   ════════════════════════════════════════════════════════════ */
.ia-section-label { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ia-section-label-text {
  font-family: var(--font-pixel); font-size: 20px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--yellow); white-space: nowrap;
}
.ia-section-label-line { flex: 1; height: 1px; background: linear-gradient(to right, rgba(255,230,0,.4), transparent); }
.ia-section-label-more { font-family: var(--font-pixel); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); white-space: nowrap; transition: color .15s; }
.ia-section-label-more:hover { color: var(--pink-h); }
.ia-sh--1 .ia-section-label-text { color: var(--pink); }
.ia-sh--2 .ia-section-label-text { color: var(--cyan); }
.ia-sh--3 .ia-section-label-text { color: var(--yellow); }
.ia-sh--4 .ia-section-label-text { color: var(--pink-h); }
.ia-sh--5 .ia-section-label-text { color: var(--cyan); }

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.ia-hero {
  position: relative; overflow: hidden; border: 1px solid var(--border);
  margin-bottom: 20px; aspect-ratio: 16 / 9;
  display: flex; flex-direction: column; justify-content: flex-end;
  width: 100%; max-width: 100%;
}
.ia-hero-img { position: absolute; inset: 0; }
.ia-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.ia-hero-no-img { position: absolute; inset: 0; background: linear-gradient(135deg, #2E0B5F 0%, #4A1080 50%, #1A0533 100%); }
.ia-hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
}
.ia-hero-gradient {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(10,1,20,.92) 0%, rgba(10,1,20,.3) 55%, transparent 100%);
}
/* Overlay: tot hero-ul clickabil */
.ia-hero-link-overlay { position: absolute; inset: 0; z-index: 4; display: block; cursor: pointer; }
.ia-hero-top {
  position: absolute; top: 12px; left: 12px; right: 12px; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
}
.ia-hero-bottom { position: relative; z-index: 5; padding: 16px 20px; }
.ia-hero-cat {
  background: var(--cat-color, var(--pink)); color: #fff;
  font-family: var(--font-pixel); font-size: 14px; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 12px; line-height: 1;
  box-shadow: 0 0 12px rgba(255,46,155,.5);
}
.ia-hero-badge {
  background: var(--yellow); color: #12022A;
  font-family: var(--font-pixel); font-size: 14px; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 12px; line-height: 1;
}
.ia-hero-title {
  font-family: var(--font-pixel); font-style: normal; font-weight: 400;
  font-size: 1.8em; text-transform: uppercase; letter-spacing: 2px;
  color: #fff; line-height: 1.12; text-shadow: 3px 3px 0 rgba(255,46,155,.5);
  margin: 8px 0 6px;
}
.ia-hero-meta {
  font-family: var(--font-pixel); font-size: 15px;
  color: rgba(255,255,255,.55); letter-spacing: .1em; text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════════
   CARDS
   ════════════════════════════════════════════════════════════ */
.ia-card {
  background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column; height: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.ia-card:hover { border-color: var(--pink); box-shadow: var(--glow-pink); }
.ia-card__thumb { position: relative; overflow: hidden; flex-shrink: 0; }
.ia-card__thumb a { display: block; }
.ia-ratio { position: relative; width: 100%; overflow: hidden; }
.ia-ratio::before { content: ''; display: block; }
.ia-ratio--16x9::before { padding-top: 56.25%; }
.ia-ratio--3x2::before  { padding-top: 66.67%; }
.ia-ratio--hero::before { padding-top: 41.7%; }
.ia-ratio img, .ia-ratio .ia-no-thumb {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .4s;
}
.ia-card:hover .ia-ratio img { transform: scale(1.05); }
.ia-no-thumb { background: linear-gradient(135deg, var(--surface-2) 0%, var(--bg-alt) 100%); display: flex; align-items: center; justify-content: center; }
.ia-no-thumb i { font-size: 2.5em; color: var(--border-h); opacity: .4; }
.ia-card__thumb::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: linear-gradient(rgba(255,46,155,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,46,155,.04) 1px, transparent 1px);
  background-size: 20px 20px;
}
.ia-cat-badge {
  position: absolute; bottom: 8px; left: 8px; z-index: 2;
  background: var(--cat-color, var(--accent)); color: #fff;
  font-family: var(--font-pixel); font-size: 14px; letter-spacing: .08em;
  text-transform: uppercase; padding: 2px 10px; box-shadow: 0 0 8px rgba(255,46,155,.45);
}
.ia-trending-badge {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  background: var(--yellow); color: #12022A;
  font-family: var(--font-pixel); font-size: 13px; letter-spacing: .06em;
  text-transform: uppercase; padding: 2px 9px;
  display: inline-flex; align-items: center; gap: 4px;
}
.ia-card__body { padding: 14px 16px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.ia-card__meta {
  font-family: var(--font-pixel); font-size: 14px; color: var(--text-muted);
  letter-spacing: .06em; text-transform: uppercase;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.ia-card__meta a { color: var(--text-muted); }
.ia-card__meta a:hover { color: var(--pink); }
.ia-card__meta .sep { opacity: .35; }
.ia-card__title {
  font-family: var(--font-pixel); font-style: normal; font-weight: 400;
  text-transform: uppercase; font-size: 1.15em; letter-spacing: .8px; line-height: 1.2;
  color: var(--heading); margin: 0; transition: transform .22s ease, color .2s;
}
.ia-card__title a { color: inherit; }
.ia-card__title a:hover { color: var(--pink); }
.ia-card:hover .ia-card__title { transform: translateY(-3px); }
.ia-card__excerpt {
  font-size: .875em; color: var(--text-muted); line-height: 1.55; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ════════════════════════════════════════════════════════════
   MAGAZINE LAYOUTS
   ════════════════════════════════════════════════════════════ */
.ia-sections { display: flex; flex-direction: column; gap: 36px; }
.ia-layout-hero { display: grid; gap: 16px; }
.ia-layout-hero .ia-hero-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ia-layout-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ia-layout-grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.ia-layout-grid3 .ia-card__title { font-size: .95em; }
.ia-layout-list { display: flex; flex-direction: column; gap: 10px; }
.ia-layout-list .ia-card { flex-direction: row; height: auto; }
.ia-layout-list .ia-card__thumb { width: 160px; flex-shrink: 0; }
.ia-layout-list .ia-card__thumb .ia-ratio::before { padding-top: 66.67%; }
.ia-load-more { text-align: center; margin-top: 18px; }
.ia-load-more a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 22px;
  border: 1px solid var(--border-h); color: var(--pink);
  font-family: var(--font-pixel); font-size: 16px; letter-spacing: .12em; text-transform: uppercase;
  transition: background .15s, box-shadow .15s;
}
.ia-load-more a:hover { background: rgba(255,46,155,.1); box-shadow: var(--glow-pink); color: var(--pink); }
/* Ad between cards */
.ia-between-cards-ad { grid-column: 1 / -1; text-align: center; padding: 8px 0; }
.ia-section-ad { text-align: center; padding: 6px 0; }
.ia-section-ad .iamintiri-ad-label { font-family: var(--font-pixel); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); opacity: .5; margin: 0 0 4px; }

/* ════════════════════════════════════════════════════════════
   SINGLE POST
   ════════════════════════════════════════════════════════════ */
.ia-single-wrap { background: var(--surface); border: 1px solid var(--border); overflow: visible; }
.ia-single__header { padding: 20px 24px 0; }
.ia-single__content { padding: 16px 24px 24px; overflow: visible; }
.ia-single__footer { padding: 0 24px 22px; }
.entry-title {
  font-family: var(--font-pixel); font-style: normal; font-weight: 400;
  text-transform: uppercase; font-size: 2.2em; letter-spacing: 2px; line-height: 1.1;
  color: var(--heading); margin: 0 0 .4em;
}
.entry-subtitle { font-family: var(--font-body); font-style: italic; font-size: 1.05em; color: var(--text-muted); margin: 0 0 12px; line-height: 1.5; font-weight: 400; }
.entry-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin: 12px 0; font-family: var(--font-pixel); font-size: 15px;
  color: var(--text-muted); letter-spacing: .06em; text-transform: uppercase;
}
.entry-meta a { color: var(--text-muted); }
.entry-meta a:hover { color: var(--pink); }
.entry-meta .sep { opacity: .3; }
.ia-featured-img { position: relative; overflow: hidden; }
.ia-featured-img img { width: 100%; display: block; max-height: 480px; object-fit: cover; }
.ia-featured-img::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,46,155,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,46,155,.04) 1px, transparent 1px);
  background-size: 24px 24px;
}
/* Templates single */
.ia-single--hero .ia-hero-cover { position: relative; min-height: 480px; overflow: hidden; }
.ia-single--hero .ia-hero-cover img { width: 100%; height: 100%; max-height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ia-single--hero .ia-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,1,20,.92) 0%, rgba(10,1,20,.3) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px 28px 24px;
}
.ia-single--hero .ia-hero-overlay .entry-title { color: #fff; font-size: 2.6em; }
.ia-single--magazine .ia-mag-layout { display: grid; grid-template-columns: 44% 1fr; }
.ia-single--magazine .ia-mag-image img { width: 100%; height: 100%; max-height: 500px; object-fit: cover; }
.ia-single--magazine .ia-mag-header { padding: 28px 24px; }
.ia-single--fullwidth .ia-single__content,
.ia-single--longform  .ia-single__content { max-width: 780px; margin: 0 auto; }

/* ════════════════════════════════════════════════════════════
   THE CONTENT
   ════════════════════════════════════════════════════════════ */
.the-content { font-size: var(--fz); line-height: var(--lh); color: var(--text); overflow: visible !important; }
.the-content h2 { font-family: var(--font-pixel); font-style: normal; font-size: 1.4em; margin: 1.6em 0 .5em; padding-left: 12px; border-left: 3px solid var(--pink); }
.the-content h3 { font-family: var(--font-pixel); font-style: normal; font-size: 1.15em; margin: 1.4em 0 .45em; color: var(--cyan); }
.the-content h4 { font-family: var(--font-pixel); font-style: normal; font-size: 1em; margin: 1.2em 0 .4em; }
.the-content p { margin: 0 0 1.1em; }
.the-content p:last-child { margin-bottom: 0; }
.the-content a { color: var(--pink); text-decoration: underline; text-decoration-thickness: 1px; }
.the-content a:hover { color: var(--pink-h); }
.the-content ul { margin: 0 0 1.1em; padding-left: 1.5em; }
.the-content ul li { list-style: none; position: relative; padding-left: .2em; margin-bottom: .4em; }
.the-content ul li::before { content: '\25B6\FE0E'; position: absolute; left: -1.2em; top: .1em; color: var(--pink); font-size: .7em; }
.the-content ol { margin: 0 0 1.1em; padding-left: 1.8em; list-style: decimal; }
.the-content ol li { margin-bottom: .4em; }
.the-content blockquote { border-left: 3px solid var(--cyan); margin: 1.5em 0; padding: 12px 18px; background: rgba(0,229,255,.05); font-style: italic; color: var(--text-muted); }
.the-content blockquote p:last-child { margin-bottom: 0; }
.the-content img { border: 1px solid var(--border); margin: .8em 0; max-width: 100% !important; height: auto !important; }
.the-content figure { margin: 1em 0; }
.the-content figcaption { font-family: var(--font-pixel); font-size: .8em; color: var(--text-muted); letter-spacing: .08em; margin-top: 4px; text-align: center; }
.the-content code { background: rgba(0,229,255,.08); color: var(--cyan); padding: 2px 6px; font-size: .88em; font-family: monospace; border: 1px solid rgba(0,229,255,.2); }
.the-content pre { background: var(--bg-alt); border: 1px solid var(--border); padding: 16px; overflow-x: auto; font-size: .88em; max-width: 100%; }
.the-content hr { border-color: var(--border); }
.the-content table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .92em; display: block; overflow-x: auto; max-width: 100%; }
.the-content th { background: var(--surface-2); color: var(--pink); font-family: var(--font-pixel); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.the-content th,.the-content td { border: 1px solid var(--border); padding: 8px 12px; }
.the-content iframe { max-width: 100% !important; width: 100% !important; display: block; }
.the-content .wp-block-embed__wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.the-content .wp-block-embed__wrapper iframe { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; }
.the-content img.ia-lightbox-trigger { cursor: zoom-in; }
/* Tags */
.the-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.the-tags a { font-family: var(--font-pixel); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 11px; border: 1px solid rgba(255,46,155,.3); color: var(--pink); background: rgba(255,46,155,.07); transition: background .15s, box-shadow .15s; }
.the-tags a:hover { background: var(--pink); color: #fff; box-shadow: var(--glow-pink); }

/* ════════════════════════════════════════════════════════════
   SINGLE — ELEMENTE
   ════════════════════════════════════════════════════════════ */
/* Sponsored */
.ia-sponsored-label { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,230,0,.08); border: 1px solid rgba(255,230,0,.3); padding: 8px 14px; margin-bottom: 14px; font-size: .85em; color: var(--yellow); }
html.light-mode .ia-sponsored-label { background: #fff8dc; border-color: #ffe082; color: #795548; }
/* Source/via */
.ia-source-via-box { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0; padding: 12px 16px; background: var(--surface-2); border: 1px solid var(--border); border-left: 3px solid var(--cyan); }
.ia-source-item { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-pixel); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.ia-source-label { color: var(--text-muted); white-space: nowrap; }
.ia-source-label i { color: var(--cyan); margin-right: 4px; }
.ia-source-value { color: var(--text); }
.ia-source-value a { color: var(--cyan); text-decoration: none; }
.ia-source-value a:hover { color: var(--pink); }
.ia-source-divider { width: 1px; height: 16px; background: var(--border); flex-shrink: 0; }
/* Breadcrumbs */
.ia-breadcrumbs { font-family: var(--font-pixel); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; }
.ia-breadcrumbs a { color: var(--text-muted); }
.ia-breadcrumbs a:hover { color: var(--pink); }
.ia-breadcrumbs .sep { opacity: .35; }
.ia-breadcrumbs .current { color: var(--pink); }
/* Font zoom */
.ia-font-zoom { display: inline-flex; align-items: center; border: 1px solid var(--border); }
.ia-font-zoom button { background: none; border: none; padding: 2px 8px; cursor: pointer; font-family: var(--font-pixel); font-size: 16px; color: var(--text-muted); transition: background .15s, color .15s; }
.ia-font-zoom button:hover { background: var(--pink); color: #fff; }
.ia-font-zoom .sep { width: 1px; height: 16px; background: var(--border); }
/* Share */
.share-box { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--border); position: relative; z-index: 1; clear: both; }
.share-label { font-family: var(--font-pixel); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; font-family: var(--font-pixel); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #fff; border: none; cursor: pointer; transition: opacity .15s, box-shadow .15s; white-space: nowrap; }
.share-btn:hover { opacity: .85; color: #fff; }
.share-btn.fb  { background: #1877f2; }
.share-btn.x   { background: #000; border: 1px solid #333; }
.share-btn.wa  { background: #25d366; }
.share-btn.tg  { background: #0088cc; }
.share-btn.th  { background: #333; }
.share-btn.cp  { background: rgba(255,46,155,.2); border: 1px solid var(--border-h); color: var(--pink); }
.share-btn.cp.copied { background: var(--pink); color: #fff; box-shadow: var(--glow-pink); }
/* Author box */
.ia-author-box { display: flex; gap: 16px; padding: 16px; background: var(--surface-2); border: 1px solid var(--border); margin: 18px 0; }
.ia-author-box__avatar img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--pink); }
.ia-author-box__name { font-family: var(--font-head); font-style: italic; font-weight: 700; font-size: 1.05em; text-transform: uppercase; margin: 0 0 4px; }
.ia-author-box__name a { color: var(--heading); }
.ia-author-box__name a:hover { color: var(--pink); }
.ia-author-box__bio { font-size: .88em; color: var(--text-muted); line-height: 1.5; margin: 0; }
/* Prev/Next */
.ia-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.ia-prevnext a { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; background: var(--surface-2); border: 1px solid var(--border); transition: border-color .18s, box-shadow .18s; }
.ia-prevnext a:hover { border-color: var(--pink); box-shadow: var(--glow-pink); color: var(--text); }
.ia-prevnext__label { font-family: var(--font-pixel); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); }
.ia-prevnext__title { font-family: var(--font-pixel); font-style: normal; font-weight: 400; text-transform: uppercase; font-size: .95em; line-height: 1.25; color: var(--heading); }
.ia-prevnext__next { text-align: right; }
/* Related */
.ia-related { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.ia-related__header { font-family: var(--font-pixel); font-size: 20px; letter-spacing: .15em; text-transform: uppercase; color: var(--yellow); margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.ia-related__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
/* Inline related */
.ia-inline-related { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; padding: 16px; background: var(--surface-2); border: 1px solid var(--border); }
.ia-inline-related__title { grid-column: 1/-1; font-family: var(--font-pixel); font-size: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin: 0 0 4px; }
.ia-inline-related__item { display: flex; align-items: flex-start; gap: 9px; }
.ia-inline-related__item img { width: 65px; height: 52px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--border); }
.ia-inline-related__item a { font-family: var(--font-pixel); font-style: normal; font-weight: 400; text-transform: uppercase; font-size: .9em; color: var(--heading); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ia-inline-related__item a:hover { color: var(--pink); }
/* Mobile truncate — dezactivat */
.ia-mobile-truncated        { max-height: none !important; overflow: visible !important; }
.ia-mobile-truncated::after { display: none !important; }
.ia-mobile-read-more        { display: none !important; }

/* ════════════════════════════════════════════════════════════
   ADS
   ════════════════════════════════════════════════════════════ */
.iamintiri-ad {
  clear: both; text-align: center; overflow: hidden; margin: 18px 0;
  display: flex; flex-direction: column;
}
/* ins preia exact spațiul reclamei, fără spațiu suplimentar */
.iamintiri-ad ins.adsbygoogle { flex-shrink: 0; }
.iamintiri-ad-widget { text-align: center; margin-bottom: 18px; display: flex; flex-direction: column; }
.iamintiri-ad-label {
  font-family: var(--font-pixel); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-muted); opacity: .6;
  margin: 0; padding: 0 0 10px; text-align: center; display: block;
}

/* ════════════════════════════════════════════════════════════
   SIDEBAR + WIDGETS
   ════════════════════════════════════════════════════════════ */
/* Sidebar: transparent container */
#secondary { background: transparent; border: none; padding: 0; }
/* Forțăm dark mode pe sidebar indiferent de alte stiluri */
html:not(.light-mode) #secondary .widget-area .widget,
html:not(.light-mode) #secondary .widget {
  background: var(--surface) !important;
  color: var(--text) !important;
}

/* Widget box: border-top roz, identic cu articolul */
#secondary .widget-area .widget,
#secondary .widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--pink);
  padding: 16px 18px;
  margin: 0 0 20px 0;
  position: relative;
}
#secondary .widget-area .widget:last-child,
#secondary .widget:last-child { margin-bottom: 0; }

/* Widget title */
#secondary .widget-area .widget > h3,
#secondary .widget-area .widget > .widget-title,
#secondary .widget > h3,
#secondary .widget > .widget-title {
  font-family: var(--font-pixel);
  font-size: 17px; font-style: normal; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--yellow); background: none; border: none;
  border-bottom: 1px solid rgba(255,230,0,.2);
  margin: 0 0 14px; padding: 0 0 8px; line-height: 1.3;
}
#secondary .widget-area .widget > h3::before,
#secondary .widget-area .widget > .widget-title::before,
#secondary .widget > h3::before,
#secondary .widget > .widget-title::before { content: '\25B6\FE0E\0020'; color: var(--yellow); }

/* Tab widget */
#secondary .ia-tab-widget__tab.active { color: var(--yellow); border-bottom-color: var(--yellow); }
#secondary .ia-tab-widget__tabs { border-bottom-color: rgba(255,230,0,.2); }
.ia-tab-widget__tabs { display: flex; margin-bottom: 12px; border-bottom: 1px solid var(--border); }
.ia-tab-widget__tab { font-family: var(--font-pixel); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; cursor: pointer; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .15s, border-color .15s; user-select: none; }
.ia-tab-widget__tab:hover { color: var(--pink); }
.ia-tab-widget__pane { display: none; }
.ia-tab-widget__pane.active { display: block; }

/* Widget articles (Latest + MostRead) */
.widget-articles { list-style: none; margin: 0; padding: 0; }
.widget-articles li { display: flex; gap: 8px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--border); }
.widget-articles li:first-child { padding-top: 0; }
.widget-articles li:last-child { border-bottom: none; padding-bottom: 0; }
.widget-articles .w-thumb { width: 56px; height: 56px; flex-shrink: 0; border: 1px solid var(--border); overflow: hidden; }
.widget-articles .w-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.widget-articles .w-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 0; }
.widget-articles .w-title { font-family: var(--font-pixel); font-size: 14px; font-style: normal; font-weight: 400; text-transform: uppercase; letter-spacing: .04em; color: var(--heading); line-height: 1.25; margin: 0 0 1px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-decoration: none; }
.widget-articles .w-title a { color: var(--heading); text-decoration: none; }
.widget-articles .w-title a:hover { color: var(--pink); }
.widget-articles .w-meta { font-family: var(--font-pixel); font-size: 11px; color: var(--text-muted); letter-spacing: .05em; margin: 0; line-height: 1.2; }
.widget-articles .w-rank { font-family: var(--font-pixel); font-size: 18px; color: var(--border-h); flex-shrink: 0; width: 20px; text-align: center; }

/* Recent comments widget (.ia-recent-comments-widget cu iacw-*) */
.ia-recent-comments-widget .iacw-list { list-style: none; margin: 0; padding: 0; }
.ia-recent-comments-widget .iacw-item { display: flex; gap: 8px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--border); }
.ia-recent-comments-widget .iacw-item:first-child { padding-top: 0; }
.ia-recent-comments-widget .iacw-item:last-child { border-bottom: none; padding-bottom: 0; }
.ia-recent-comments-widget .iacw-av { flex-shrink: 0; }
.ia-recent-comments-widget .iacw-av img { width: 56px !important; height: 56px !important; border-radius: 0 !important; border: 1px solid var(--border) !important; display: block; object-fit: cover; }
.ia-recent-comments-widget .iacw-bd { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 1px; }
.ia-recent-comments-widget .iacw-post { font-family: var(--font-pixel); font-size: 14px; font-weight: 400; text-transform: uppercase; letter-spacing: .04em; color: var(--heading); text-decoration: none; line-height: 1.25; margin: 0 0 1px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ia-recent-comments-widget .iacw-post:hover { color: var(--pink); }
.ia-recent-comments-widget .iacw-meta { font-family: var(--font-pixel); font-size: 12px; letter-spacing: .05em; color: var(--text-muted); line-height: 1.2; }

/* Generic widget list */
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li { padding: 6px 0; border-bottom: 1px solid var(--border); font-size: .9em; color: var(--text); }
.widget ul li:last-child { border-bottom: 0; }
.widget ul li a { color: var(--text); }
.widget ul li a:hover { color: var(--pink); }

/* ════════════════════════════════════════════════════════════
   ARCHIVE HEADER
   ════════════════════════════════════════════════════════════ */
.ia-archive-header { margin-bottom: 22px; padding-bottom: 14px; border-bottom: 2px solid var(--border); }
.ia-archive-title { font-family: var(--font-pixel); font-style: normal; font-weight: 400; text-transform: uppercase; font-size: 1.8em; line-height: 1.1; margin: 0 0 4px; }
.ia-archive-title span { color: var(--pink); text-shadow: 0 0 12px rgba(255,46,155,.4); }
.ia-archive-desc { font-size: .9em; color: var(--text-muted); margin: 0; }
/* Search */
.ia-search-count { font-family: var(--font-pixel); font-size: 14px; color: var(--text-muted); letter-spacing: .06em; margin-top: 4px; display: block; }

/* ════════════════════════════════════════════════════════════
   PAGINATION
   ════════════════════════════════════════════════════════════ */
.navigation { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 28px 0 8px; justify-content: center; }
.navigation span { display: inline-flex; }
.navigation span a,
.navigation span.active { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 34px; padding: 0 12px; background: var(--surface); border: 1px solid var(--border); font-family: var(--font-pixel); font-size: 16px; color: var(--text); letter-spacing: .06em; transition: all .15s; }
.navigation span a:hover { border-color: var(--pink); color: var(--pink); box-shadow: var(--glow-pink); }
.navigation span.active { background: var(--pink); border-color: var(--pink); color: #fff; box-shadow: var(--glow-pink); }
.navigation span.nav-sep { background: transparent; border: none; color: var(--text-muted); }

/* ════════════════════════════════════════════════════════════
   COMMENTS
   ════════════════════════════════════════════════════════════ */
.comments-area { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.comments-title { font-family: var(--font-pixel) !important; font-size: 22px !important; font-style: normal !important; font-weight: 400 !important; letter-spacing: .15em; text-transform: uppercase; color: var(--yellow); margin: 0 0 18px; }
.comments-title::before { content: '\25B6\FE0E\0020'; color: var(--yellow); }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .comment { padding: 16px; border: 1px solid var(--border); border-left: 3px solid var(--pink); background: var(--surface); margin-bottom: 12px; }
.comment-list .comment:last-child { margin-bottom: 0; }
.comment-list .children { margin-left: 24px; margin-top: 12px; }
.comment-list .children .comment { border-left-color: var(--cyan); }
/* Meta sus, text jos */
.comment-list article.comment-body,
.comment-list .comment-body { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.comment-list footer.comment-meta,
.comment-list .comment-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 0; }
.comment-list .comment-author.vcard,
.comment-list .comment-author { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.comment-list .comment-author img,
.comment-list .comment-author .avatar { width: 38px !important; height: 38px !important; border-radius: 50% !important; border: 2px solid var(--pink) !important; flex-shrink: 0; }
.comment-list .comment-author-name { font-family: var(--font-pixel); font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); }
.comment-list .comment-author-name a { color: var(--cyan); text-decoration: none; }
.comment-list .comment-metadata,
.comment-list .comment-date { font-family: var(--font-pixel); font-size: 13px; color: var(--text-muted); letter-spacing: .05em; }
.comment-list .comment-metadata a { color: var(--text-muted); }
.comment-list .comment-metadata a:hover { color: var(--pink); }
.comment-list .comment-content,
.comment-list .comment-content-wrap { width: 100%; padding-left: 0; }
.comment-list .comment-content p { font-size: .92em; line-height: 1.7; margin-bottom: .6em; }
.comment-list .reply { margin-top: 8px; }
.comment-list .reply a { font-family: var(--font-pixel); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); border: 1px solid rgba(255,46,155,.3); padding: 2px 10px; text-decoration: none; transition: all .15s; }
.comment-list .reply a:hover { background: var(--pink); color: #fff; }
.comment-respond { margin-top: 24px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--yellow); }
.comment-respond .comment-reply-title { font-family: var(--font-pixel) !important; font-size: 20px !important; font-style: normal !important; font-weight: 400 !important; color: var(--yellow); margin: 0 0 16px; text-transform: uppercase; }
.comment-form label { display: block; font-family: var(--font-pixel); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea { width: 100%; padding: 9px 12px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); font-family: var(--font-body); font-size: .92em; transition: border-color .15s; display: block; }
.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 2px rgba(255,46,155,.12); }
.comment-form textarea { height: 120px; resize: vertical; }
.comment-form .submit { background: var(--pink); color: #fff; border: none; cursor: pointer; padding: 9px 24px; font-family: var(--font-pixel); font-size: 16px; letter-spacing: .1em; text-transform: uppercase; box-shadow: var(--glow-pink); transition: background .15s; }
.comment-form .submit:hover { background: var(--pink-h); }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
#colophon {
  background: var(--footer-bg); color: var(--footer-text);
  border-top: 2px solid var(--pink); box-shadow: 0 -4px 24px rgba(255,46,155,.2);
  margin-top: 40px; padding: 36px 0 0; position: relative; z-index: 1;
}
#colophon::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image: linear-gradient(rgba(255,46,155,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,46,155,.04) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border); position: relative; }
.footer-col h4 { font-family: var(--font-pixel); font-size: 18px; letter-spacing: .15em; text-transform: uppercase; color: var(--yellow); margin-bottom: 12px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,230,0,.2); }
.footer-col p { font-size: .88em; line-height: 1.7; color: var(--footer-text); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .88em; }
.footer-col ul li:last-child { border-bottom: 0; }
.footer-col ul li a { color: var(--footer-text); transition: color .15s; }
.footer-col ul li a:hover { color: var(--pink); text-shadow: 0 0 8px rgba(255,46,155,.5); }
.footer-social { display: none !important; }
.footer-bottom { padding: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; position: relative; }
.footer-name { font-family: var(--font-pixel); font-size: 22px; letter-spacing: 3px; }
.footer-name-1 { color: var(--yellow); }
.footer-name-2 { color: var(--pink); text-shadow: 0 0 10px rgba(255,46,155,.4); }
.footer-copy { font-family: var(--font-pixel); font-size: 13px; letter-spacing: .08em; color: var(--footer-text); text-transform: uppercase; }
html.light-mode .footer-name-1 { color: var(--yellow); }
html.light-mode .footer-name-2 { color: var(--pink); }

/* ════════════════════════════════════════════════════════════
   LIGHTBOX
   ════════════════════════════════════════════════════════════ */
#ia-lightbox { display: none; position: fixed; inset: 0; background: rgba(10,1,20,.96); z-index: var(--z-modal); align-items: center; justify-content: center; flex-direction: column; gap: 14px; }
#ia-lightbox.open { display: flex; }
#ia-lightbox img { max-width: 92vw; max-height: 85vh; object-fit: contain; border: 1px solid var(--border-h); box-shadow: var(--glow-pink); }
#ia-lightbox-caption { font-family: var(--font-pixel); font-size: 14px; color: var(--text-muted); text-align: center; letter-spacing: .08em; }
#ia-lightbox-close { position: absolute; top: 16px; right: 20px; background: none; border: 1px solid var(--border); color: var(--text-muted); font-size: 24px; cursor: pointer; padding: 4px 10px; transition: all .15s; }
#ia-lightbox-close:hover { border-color: var(--pink); color: var(--pink); box-shadow: var(--glow-pink); }

/* ════════════════════════════════════════════════════════════
   SCROLL TO TOP
   ════════════════════════════════════════════════════════════ */
#ia-scroll-top { position: fixed; bottom: 26px; right: 22px; width: 40px; height: 40px; background: var(--pink); color: #fff; border: none; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; box-shadow: var(--glow-pink); z-index: 200; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, visibility .25s, transform .25s; }
#ia-scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#ia-scroll-top:hover { background: var(--pink-h); }

/* ════════════════════════════════════════════════════════════
   COOKIE BANNER
   ════════════════════════════════════════════════════════════ */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 8000; background: #0E0120; border-top: 2px solid var(--pink); padding: 12px 20px; transform: translateY(100%); transition: transform .35s cubic-bezier(.4,0,.2,1); }
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__inner { max-width: var(--container-max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cookie-banner__text { font-family: var(--font-pixel); font-size: 15px; letter-spacing: .06em; color: #F0E8FF; }
.cookie-banner__text a { color: var(--pink); text-decoration: none; }
.cookie-banner__actions { display: flex; gap: 8px; flex-wrap: wrap; flex-shrink: 0; }
.cookie-btn { font-family: var(--font-pixel); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; cursor: pointer; border: 1px solid transparent; transition: all .15s; white-space: nowrap; }
.cookie-btn--primary { background: var(--pink); color: #fff; border-color: var(--pink); box-shadow: 0 0 10px rgba(255,46,155,.4); }
.cookie-btn--primary:hover { background: var(--pink-h); }
.cookie-btn--outline { background: transparent; color: rgba(240,232,255,.7); border-color: rgba(240,232,255,.3); }
.cookie-btn--outline:hover { color: #F0E8FF; border-color: rgba(240,232,255,.7); }
.cookie-btn--ghost { background: transparent; color: var(--cyan); border-color: rgba(0,229,255,.3); }
.cookie-btn--ghost:hover { border-color: var(--cyan); }
.cookie-modal { position: fixed; inset: 0; z-index: 9000; display: none; align-items: center; justify-content: center; padding: 20px; }
.cookie-modal__backdrop { position: absolute; inset: 0; background: rgba(10,1,20,.85); }
.cookie-modal__box { position: relative; z-index: 1; background: #1E0A3C; border: 1px solid var(--pink); box-shadow: var(--glow-pink); width: 100%; max-width: 520px; }
.cookie-modal__header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.cookie-modal__title { font-family: var(--font-pixel) !important; font-size: 18px !important; color: var(--yellow) !important; margin: 0 !important; font-style: normal !important; }
.cookie-modal__close { background: none; border: 1px solid var(--border); color: var(--text-muted); font-size: 16px; cursor: pointer; padding: 3px 10px; transition: all .15s; }
.cookie-modal__close:hover { border-color: var(--pink); color: var(--pink); }
.cookie-modal__body { padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.cookie-modal__footer { padding: 12px 20px; border-top: 1px solid var(--border); }
.cookie-category { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.cookie-category:last-child { border-bottom: none; }
.cookie-category__info { flex: 1; }
.cookie-category__info strong { display: block; font-family: var(--font-pixel); font-size: 15px; letter-spacing: .06em; color: var(--heading); margin-bottom: 3px; font-style: normal; }
.cookie-category__info span { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.cookie-toggle { position: relative; flex-shrink: 0; cursor: pointer; }
.cookie-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.cookie-toggle__track { display: block; width: 44px; height: 24px; background: rgba(255,255,255,.15); border: 1px solid var(--border); border-radius: 12px; position: relative; transition: background .2s, border-color .2s; }
.cookie-toggle input:checked ~ .cookie-toggle__track { background: rgba(255,46,155,.3); border-color: var(--pink); }
.cookie-toggle__thumb { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: var(--text-muted); border-radius: 50%; transition: transform .2s, background .2s; }
.cookie-toggle input:checked ~ .cookie-toggle__track .cookie-toggle__thumb { transform: translateX(20px); background: var(--pink); box-shadow: 0 0 6px var(--pink); }
.cookie-toggle--disabled { opacity: .5; cursor: not-allowed; }

/* ════════════════════════════════════════════════════════════
   404 PAGE
   ════════════════════════════════════════════════════════════ */
.ia-404-wrap { text-align: center; padding: 60px 20px; }
.ia-404-code { font-family: var(--font-pixel); font-size: clamp(80px,20vw,160px); color: var(--pink); text-shadow: var(--glow-pink); line-height: 1; margin: 0; display: block; animation: ia-404-pulse 3s ease-in-out infinite; }
@keyframes ia-404-pulse { 0%,100% { text-shadow: 0 0 18px rgba(255,46,155,.28); } 50% { text-shadow: 0 0 40px rgba(255,46,155,.6); } }
.ia-404-title { font-family: var(--font-pixel); font-size: 28px; letter-spacing: .2em; color: var(--yellow); margin: 8px 0 16px; text-transform: uppercase; }
.ia-404-desc { color: var(--text-muted); margin-bottom: 28px; }
.ia-404-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.ia-404-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 22px; font-family: var(--font-pixel); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid; transition: all .15s; }
.ia-404-btn--primary { background: var(--pink); color: #fff; border-color: var(--pink); box-shadow: var(--glow-pink); }
.ia-404-btn--primary:hover { background: var(--pink-h); color: #fff; }
.ia-404-btn--outline { background: transparent; color: var(--cyan); border-color: var(--cyan); }
.ia-404-btn--outline:hover { background: rgba(0,229,255,.1); color: var(--cyan); }
.ia-404-recent h3 { font-family: var(--font-pixel); font-size: 16px; letter-spacing: .14em; color: var(--yellow); text-transform: uppercase; margin: 0 0 12px; }

/* ════════════════════════════════════════════════════════════
   LIGHT MODE — WIDGET FIX
   ════════════════════════════════════════════════════════════ */
html.light-mode #secondary .widget-area .widget,
html.light-mode #secondary .widget { background: #fff; border-color: rgba(26,5,51,.1); }
html.light-mode #secondary .widget-area .widget > h3,
html.light-mode #secondary .widget-area .widget > .widget-title,
html.light-mode #secondary .widget > h3,
html.light-mode #secondary .widget > .widget-title { color: #B8860B; }
html.light-mode #secondary .widget-area .widget > h3::before,
html.light-mode #secondary .widget-area .widget > .widget-title::before,
html.light-mode #secondary .widget > h3::before,
html.light-mode #secondary .widget > .widget-title::before { color: #B8860B; }

/* ════════════════════════════════════════════════════════════
   UTILITĂȚI
   ════════════════════════════════════════════════════════════ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hide-mobile { display: flex; align-items: center; }
.show-mobile  { display: none; }
.widget-area-wrap { position: static; }
.sticky-sidebar,.widget-area-wrap { position: static; top: auto; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) { :root { --sidebar-w: 240px; } }
@media (max-width: 900px) {
  .site-layout { grid-template-columns: 1fr; }
  .ia-layout-grid3 { grid-template-columns: repeat(2,1fr); }
  .ia-related__grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .ia-single--magazine .ia-mag-layout { grid-template-columns: 1fr; }
  .site-masthead { text-align: center; }
  .masthead-side { display: none; }
}
@media (max-width: 700px) {
  .hamburger { display: flex !important; }
  .hide-mobile { display: none !important; }
  .show-mobile { display: flex !important; }
  .main-navigation .menu { display: none !important; }
  .nav-social { display: none !important; }
  .ia-hero { aspect-ratio: 4 / 3; }
  .ia-hero-title { font-size: 1.15em; word-break: break-word; overflow-wrap: break-word; hyphens: auto; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .ia-hero-bottom { padding: 10px 14px; }
  .ia-layout-grid2 { grid-template-columns: 1fr; }
  .ia-layout-grid3 { grid-template-columns: 1fr; }
  .ia-layout-hero .ia-hero-sub { grid-template-columns: 1fr; }
  .ia-layout-list .ia-card { flex-direction: column; }
  .ia-layout-list .ia-card__thumb { width: 100%; }
  .ia-related__grid { grid-template-columns: 1fr; }
  .ia-inline-related { grid-template-columns: 1fr; }
  .ia-prevnext { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .site-name { font-size: 40px; }
  .entry-title { font-size: 1.6em; }
  .ia-single--hero .ia-hero-cover { min-height: 300px; }
  .ia-single--hero .ia-hero-overlay .entry-title { font-size: 1.5em; }
  .ia-single__header { padding: 16px 14px 0; }
  .ia-single__content { padding: 12px 14px 16px; }
  .ia-single__footer { padding: 0 14px 16px; }
  .site-masthead { padding: 14px 16px; }
  #secondary { display: block; margin-top: 20px; }
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; }
  .cookie-btn { flex: 1; text-align: center; }
}
@media (max-width: 480px) {
  :root { --fz: 16px; }
  .container { padding: 0 14px; }
}

/* ════════════════════════════════════════════════════════════
   PRINT
   ════════════════════════════════════════════════════════════ */
@media print {
  #masthead,.site-masthead,#colophon,#secondary,.share-box,
  .ia-related,#ia-scroll-top,#ia-progress-bar,.ia-prevnext,#ia-lightbox { display: none !important; }
  body { background: #fff; color: #000; }
  .site-layout { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   LIGHT MODE — overrides complete
   Variabilele CSS acoperă >90% din cazuri.
   Aici: cazuri speciale unde culoarea e hardcodată în regulă.
   ════════════════════════════════════════════════════════════ */

/* Masthead: tagline mai închis pe fundal lavandă */
html.light-mode .site-masthead { border-bottom-color: rgba(74,0,128,.15); }

/* Section labels: yellow → violet */
html.light-mode .ia-section-label-text { color: #5B0E9A; }
html.light-mode .ia-sh--1 .ia-section-label-text { color: var(--pink); }
html.light-mode .ia-sh--2 .ia-section-label-text { color: #0077AA; }
html.light-mode .ia-section-label-line { background: linear-gradient(to right, rgba(91,14,154,.3), transparent); }

/* Nav: OK cu --nav-bg: #2E0B5F (rămâne dark — intentionat) */

/* Hero: overlay mai ușor pe light */
html.light-mode .ia-hero-gradient { background: linear-gradient(to top, rgba(26,5,51,.85) 0%, rgba(26,5,51,.2) 55%, transparent 100%); }

/* Cards pe light */
html.light-mode .ia-card { border-color: rgba(26,5,51,.12); }
html.light-mode .ia-card:hover { border-color: var(--pink); }
html.light-mode .ia-card__meta { color: rgba(26,5,51,.5); }
html.light-mode .ia-no-thumb { background: linear-gradient(135deg, #E8DDFF 0%, #F2EEFF 100%); }

/* Widget titles pe light: gold mai închis (deja setat în `:root` override bloc) */

/* Comments pe light */
html.light-mode .comments-title { color: #5B0E9A; }
html.light-mode .comments-title::before { color: #5B0E9A; }
html.light-mode .comment-list .comment { border-color: rgba(26,5,51,.1); border-left-color: var(--pink); background: #fff; }
html.light-mode .comment-list .children .comment { border-left-color: #0077AA; }

/* Footer pe light rămâne dark (intentionat, ca nav-ul) */

/* Related header pe light */
html.light-mode .ia-related__header { color: #5B0E9A; }

/* Pagination pe light */
html.light-mode .navigation span a,
html.light-mode .navigation span.active { background: #fff; border-color: rgba(26,5,51,.15); color: var(--text); }
html.light-mode .navigation span.active { background: var(--pink); border-color: var(--pink); color: #fff; }

/* Entry meta pe light */
html.light-mode .entry-meta { border-color: rgba(26,5,51,.1); }

/* Share box pe light */
html.light-mode .share-box { background: #F5EEFF; border-color: rgba(26,5,51,.1); }

/* Source/via pe light */
html.light-mode .ia-source-via-box { background: #F5EEFF; border-color: rgba(26,5,51,.1); border-left-color: #0077AA; }

/* Cookie banner: mereu dark */
.cookie-banner { background: #0E0120 !important; }
.cookie-banner .cookie-banner__text { color: #F0E8FF; }
html.light-mode .cookie-btn--outline { color: rgba(240,232,255,.7); border-color: rgba(240,232,255,.3); }

/* 404 pe light */
html.light-mode .ia-404-title { color: #5B0E9A; }

/* Archive header pe light */
html.light-mode .ia-archive-header { border-color: rgba(26,5,51,.15); }


/* ════════════════════════════════════════════════════════════
   LIGHT MODE — HEADER FIX
   Nav rămâne dark (#2E0B5F) dar variabilele globale se schimbă
   → elementele nav care folosesc --text-muted, --border
   devin invizibile. Override explicit cu culori pentru dark nav.
   ════════════════════════════════════════════════════════════ */

/* Social icons: --text-muted devine dark în light-mode → invizibil pe dark nav */
html.light-mode .nav-social a { color: rgba(240,232,255,.55); }
html.light-mode .nav-social a:hover { color: var(--pink); }

/* Search btn: --border devine rgba(26,5,51,.12) → invizibil pe dark nav */
html.light-mode .nav-search-btn {
  border-color: rgba(240,232,255,.2);
  color: rgba(240,232,255,.8);
}
html.light-mode .nav-search-btn:hover { border-color: var(--pink); color: var(--pink); }

/* Hamburger: același bug cu border */
html.light-mode .hamburger {
  border-color: rgba(240,232,255,.2);
  color: rgba(240,232,255,.8);
}
html.light-mode .hamburger:hover { border-color: var(--pink); color: var(--pink); }

/* Mobile panel: separatoare și text pe dark nav */
html.light-mode #mobile-panel { background: var(--nav-bg); border-top-color: rgba(240,232,255,.1); }
html.light-mode #mobile-panel .menu li a { border-bottom-color: rgba(240,232,255,.08); }
html.light-mode .mobile-extras { border-top-color: rgba(240,232,255,.1); }

/* Submenu pe light: --nav-bg ok, dar --border e light → separatoare invizibile */
html.light-mode .main-navigation .menu li ul {
  border-color: rgba(240,232,255,.2);
  border-top-color: var(--pink);
}
html.light-mode .main-navigation .menu li ul li a { border-bottom-color: rgba(240,232,255,.08); }

/* Masthead bottom border pe light */
html.light-mode #masthead::after { background: var(--yellow); opacity: .3; }


/* ════════════════════════════════════════════════════════════
   TOGGLE FIX — iconițe lună/soare la dimensiunea corectă
   ════════════════════════════════════════════════════════════ */
.toggle-icon {
  font-size: 11px; line-height: 1; flex-shrink: 0;
  display: flex; align-items: center;
  pointer-events: none; user-select: none;
  position: relative; z-index: 1;
}

/* ════════════════════════════════════════════════════════════
   AD GAP FIX — spațiu gol între reclamă și label
   ════════════════════════════════════════════════════════════ */
.iamintiri-ad ins.adsbygoogle {
  display: block;
  min-height: 0;
}
/* Când ins-ul e gol (ad neîncărcat), ascunde tot containerul */
.iamintiri-ad:empty { display: none; }
.iamintiri-ad-label { margin: 2px 0 0; line-height: 1; }


/* iacw-post: Autor la Titlu — VT323 ca celelalte widget-uri */
.ia-recent-comments-widget .iacw-post {
  font-family: var(--font-pixel);
  font-size: 14px; font-weight: 400;
  font-style: normal; text-transform: uppercase; letter-spacing: .04em;
  color: var(--heading); text-decoration: none; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.ia-recent-comments-widget .iacw-post:hover { color: var(--pink); }
/* Meta cu iconiță calendar — ca w-meta din articole */
.ia-recent-comments-widget .iacw-meta {
  font-family: var(--font-pixel);
  font-size: 12px; letter-spacing: .05em;
  color: var(--text-muted); line-height: 1.2;
  display: flex; align-items: center; gap: 4px;
}
.ia-recent-comments-widget .iacw-meta i { color: var(--pink); font-size: 10px; }


/* Progress bar: 3px pe mobil (mai vizibil) */
@media (max-width: 700px) {
  #ia-progress-bar { height: 3px; }
}
