/*
Theme Name: Plimbare Responsive
Theme URI: https://www.plimbare.ro
Author: Plimbare.ro
Description: Temă WordPress modernă, complet responsive — de la 375px (mobil) la 1440px (desktop). Lazy load nativ, countdown, newsletter, sidebar desktop, bottom nav mobil.
Version: 3.0.0
License: GNU General Public License v2 or later
Text Domain: plimbare
Tags: blog, magazine, responsive, mobile-first, dark, custom-colors, custom-menu, featured-images, threaded-comments
*/

/* ====================================================
   TOKENS
==================================================== */
:root {
  --bg:        #111111;
  --surface:   #1a1a1a;
  --surface2:  #202020;
  --border:    #262626;
  --text:      #efefef;
  --muted:     #777777;
  --accent:    #f0c040;
  --accent-h:  #f5d060;
  --red:       #e05540;
  --green:     #4aaa78;
  --blue:      #4a90d9;
  --purple:    #8a72cc;
  --teal:      #4aaaa8;
  --orange:    #d4893a;

  --f-serif: 'Lora', Georgia, serif;
  --f-sans:  'Outfit', system-ui, sans-serif;
  --f-mono:  'DM Mono', monospace;

  --r:        8px;
  --r-sm:     5px;
  --t:        .18s ease;
  --nav-h:    58px;       /* mobile header */
  --desktop-nav-h: 64px; /* desktop header */
  --sidebar-w: 300px;
  --max-w:    1260px;
}

/* ====================================================
   RESET
==================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color var(--t); }
a:hover { color: var(--accent); }
img, video { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-serif); line-height: 1.25; letter-spacing: -.2px; }

/* ====================================================
   LAYOUT
==================================================== */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) { .wrap { padding: 0 28px; } }
@media (min-width: 1024px) { .wrap { padding: 0 40px; } }

/* ====================================================
   CATEGORY PILLS
==================================================== */
.pill {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  line-height: 1;
  white-space: nowrap;
}
.pill--concerte  { background: var(--accent);  color: #111; }
.pill--cinema    { background: var(--red);     color: #fff; }
.pill--lifestyle,
.pill--timp-liber{ background: var(--green);   color: #fff; }
.pill--muzica    { background: var(--purple);  color: #fff; }
.pill--it,
.pill--it-gadget { background: var(--blue);    color: #fff; }
.pill--showbiz   { background: var(--orange);  color: #fff; }
.pill--sanatate,
.pill--sport     { background: var(--teal);    color: #fff; }
.pill--default   { background: #444;           color: #fff; }

/* ====================================================
   HEADER — mobile
==================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(17,17,17,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-logo {
  font-family: var(--f-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.5px;
  flex-shrink: 0;
}
.site-logo em { color: var(--accent); font-style: normal; }

/* Desktop navigation (hidden mobile) */
.primary-nav {
  display: none;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  flex: 1;
}
.primary-nav a {
  display: flex;
  align-items: center;
  height: var(--desktop-nav-h);
  padding: 0 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color var(--t), border-color var(--t);
}
.primary-nav a:hover,
.primary-nav a.current { color: var(--text); border-bottom-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 4px; }

.icon-btn {
  background: none;
  border: none;
  color: var(--muted);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t), color var(--t);
}
.icon-btn:hover { background: var(--surface); color: var(--text); }
.icon-btn svg { width: 20px; height: 20px; }

/* ====================================================
   HEADER — desktop breakpoint
==================================================== */
@media (min-width: 900px) {
  .site-header { height: var(--desktop-nav-h); }
  .site-logo { font-size: 22px; }
  .primary-nav { display: flex; }
}

/* ====================================================
   BREAKING TICKER
==================================================== */
.ticker-bar {
  overflow: hidden;
  background: var(--red);
  height: 30px;
  display: flex;
  align-items: center;
}
.ticker-tag {
  flex-shrink: 0;
  background: var(--accent);
  color: #111;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
}
.ticker-inner { overflow: hidden; flex: 1; }
.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: ticker-anim 38s linear infinite;
  padding-left: 20px;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-track span { font-size: 11px; color: rgba(255,255,255,.9); }
.ticker-track span::before { content: '· '; opacity: .5; }
@keyframes ticker-anim {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ====================================================
   SECTION HEADER
==================================================== */
.section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 14px;
}
.section-hd__title {
  font-family: var(--f-serif);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-hd__title::before {
  content: '';
  display: block;
  width: 4px;
  height: 20px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-hd__link {
  font-size: 12px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.section-hd__link::after { content: '→'; }

/* ====================================================
   HERO — wrapper div approach, fully compatible
==================================================== */

/* Grid container — constrained to content width */
.hero-grid {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  background: #111;
  overflow: hidden;
  display: block;
}

/* ── MAIN CARD WRAPPER — controls dimensions ── */
.hero-main-wrap {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: #1a1a1a;
}
/* Aspect ratio 16:9 via padding-top on wrapper */
.hero-main-wrap::before {
  content: '';
  display: block;
  padding-top: 56.25%;
}

/* Inner anchor fills wrapper completely */
.hero-main-inner {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: #efefef;
}
/* Image fills inner */
.hero-main-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  display: block;
}
.hero-main-inner:hover .hero-main-img { transform: scale(1.04); }

/* Gradient overlay */
.hero-main-inner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.15) 55%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Text */
.hero-main-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 16px;
  z-index: 2;
}
.hero-main-title {
  font-family: var(--f-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin: 8px 0 6px;
  color: #ffffff;
}
.hero-main-meta {
  font-size: 11px;
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── SIDE CARD WRAPPERS — hidden on mobile ── */
.hero-side-wrap {
  display: none;
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
}
.hero-side-inner {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: #efefef;
}
.hero-side-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.hero-side-inner:hover .hero-side-img { transform: scale(1.06); }
.hero-side-inner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}
.hero-side-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 16px;
  z-index: 2;
}
.hero-side-title {
  font-family: var(--f-serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  margin-top: 5px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ── DESKTOP: CSS Grid ── */
@media (min-width: 900px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 260px;
    grid-template-rows: 220px 220px;
    gap: 3px;
    height: 443px;
    padding: 0 40px;
  }
  .hero-main-wrap {
    grid-column: 1;
    grid-row: 1 / 3;
    height: 100%;
  }
  /* Remove padding-top trick on desktop — height is set by grid */
  .hero-main-wrap::before { display: none; }
  .hero-main-body  { padding: 24px 22px; }
  .hero-main-title { font-size: 26px; }

  .hero-side-wrap {
    display: block;
    grid-column: 2;
    height: 100%;
  }
  .hero-side-wrap:nth-child(2) { grid-row: 1; }
  .hero-side-wrap:nth-child(3) { grid-row: 2; }
}

/* ====================================================
   COUNTDOWN
==================================================== */
.countdown-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--r);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 0;
}
.countdown-bar__label {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2px;
}
.countdown-bar__name {
  font-family: var(--f-serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}
.countdown-units {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.cd-unit { text-align: center; }
.cd-num {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cd-lbl {
  display: block;
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.cd-sep { font-size: 18px; color: var(--border); margin-top: -4px; font-weight: 700; }

@media (min-width: 900px) {
  .countdown-bar { padding: 16px 24px; }
  .countdown-bar__name { font-size: 16px; }
  .cd-num { font-size: 28px; }
}

/* ====================================================
   CATEGORY CHIPS
==================================================== */
.cat-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip {
  flex-shrink: 0;
  padding: 7px 16px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  transition: all var(--t);
  white-space: nowrap;
}
.cat-chip.active, .cat-chip:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
}

/* ====================================================
   MAIN LAYOUT (content + sidebar on desktop)
==================================================== */
.page-layout {
  display: block;
}
@media (min-width: 1024px) {
  .page-layout {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-w);
    gap: 40px;
    align-items: start;
  }
}

/* ====================================================
   HORIZONTAL SCROLL ROW (mobile cards)
==================================================== */
.scroll-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 0 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.scroll-row::-webkit-scrollbar { display: none; }

.scroll-card {
  flex-shrink: 0;
  width: 190px;
  scroll-snap-align: start;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
  position: relative;
  display: block;
}
/* Aspect ratio wrapper inside scroll-card */
.scroll-card__img-wrap {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 ratio */
  overflow: hidden;
  display: block;
}
.scroll-card__img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.scroll-card:hover .scroll-card__img { transform: scale(1.05); }
.scroll-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}
.scroll-card__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px;
  z-index: 2;
}
.scroll-card__title {
  font-family: var(--f-serif);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  margin-top: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Desktop: scroll row becomes a proper grid */
@media (min-width: 900px) {
  .scroll-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    overflow: visible;
    padding: 0 0 4px;
    scroll-snap-type: none;
  }
  .scroll-card {
    width: auto;
    scroll-snap-align: none;
  }
  .scroll-card__img-wrap { padding-top: 62.5%; /* 16:10 ratio */ }
  .scroll-card__title { font-size: 14px; }
}

/* ====================================================
   VERTICAL POST LIST
==================================================== */
.post-list { display: flex; flex-direction: column; }
.post-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  color: var(--text);
}
.post-item:last-child { border-bottom: none; }
.post-item__thumb {
  flex-shrink: 0;
  width: 90px;
  height: 68px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--surface);
  position: relative;
}
.post-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.post-item:hover .post-item__thumb img { transform: scale(1.07); }
.post-item__body { flex: 1; min-width: 0; }
.post-item__title {
  font-family: var(--f-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  margin: 5px 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--t);
}
.post-item:hover .post-item__title { color: var(--accent); }
.post-item__meta {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* Desktop: bigger thumbs */
@media (min-width: 900px) {
  .post-item__thumb { width: 140px; height: 96px; }
  .post-item__title { font-size: 16px; -webkit-line-clamp: 3; }
  .post-item { gap: 18px; padding: 20px 0; }
}

/* ====================================================
   ARTICLE CARD GRID (desktop featured section)
==================================================== */
.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .article-grid { grid-template-columns: repeat(3, 1fr); }
}

.article-card {
  display: block;
  color: var(--text);
}
.article-card__thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--surface);
  margin-bottom: 12px;
}
.article-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.article-card:hover .article-card__thumb img { transform: scale(1.06); }
.article-card__title {
  font-family: var(--f-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin: 8px 0 6px;
  transition: color var(--t);
}
.article-card:hover .article-card__title { color: var(--accent); }
.article-card__excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card__meta {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

/* ====================================================
   SIDEBAR (desktop only)
==================================================== */
.sidebar {
  display: none;
}
@media (min-width: 1024px) {
  .sidebar {
    display: block;
    position: sticky;
    top: calc(var(--desktop-nav-h) + 20px);
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}

.widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
}
.widget__title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.widget-post {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.widget-post:last-child { border-bottom: none; padding-bottom: 0; }
.widget-post__num {
  font-family: var(--f-mono);
  font-size: 20px;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
  transition: color var(--t);
}
.widget-post:hover .widget-post__num { color: var(--accent); }
.widget-post__title {
  font-family: var(--f-serif);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  transition: color var(--t);
}
.widget-post:hover .widget-post__title { color: var(--accent); }
.widget-post__meta { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* Category list in sidebar */
.widget-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  transition: color var(--t);
}
.widget-cats a:last-child { border-bottom: none; }
.widget-cats a:hover { color: var(--accent); }
.widget-cats .count {
  font-family: var(--f-mono);
  font-size: 11px;
  background: var(--surface2);
  padding: 2px 6px;
  border-radius: 10px;
}

/* ====================================================
   NEWSLETTER
==================================================== */
.nl-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px 20px;
  margin: 4px 0;
}
.nl-block__title {
  font-family: var(--f-serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.nl-block__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.nl-form {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
}
.nl-form input[type="email"] {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-right: none;
  color: var(--text);
  font-size: 14px;
  padding: 11px 14px;
  outline: none;
  border-radius: 6px 0 0 6px;
  transition: border-color var(--t);
  min-width: 0;
}
.nl-form input[type="email"]:focus { border-color: var(--accent); }
.nl-form input::placeholder { color: var(--muted); }
.nl-form button {
  background: var(--accent);
  color: #111;
  border: none;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 0 6px 6px 0;
  white-space: nowrap;
  transition: background var(--t);
}
.nl-form button:hover { background: var(--accent-h); }
.nl-note { font-size: 11px; color: var(--muted); margin-top: 8px; }
.nl-msg  { font-size: 13px; color: var(--accent); margin-top: 8px; display: none; }

/* Desktop newsletter: side by side */
@media (min-width: 768px) {
  .nl-block--wide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    padding: 32px 36px;
  }
  .nl-block--wide .nl-block__title { font-size: 22px; }
}

/* ====================================================
   SEARCH OVERLAY
==================================================== */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 500;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.search-overlay.open { display: flex; }
.search-overlay__form {
  display: flex;
  width: min(660px, 92vw);
  border-bottom: 2px solid var(--accent);
}
.search-overlay__form input[type="search"] {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--f-serif);
  font-size: clamp(18px, 4vw, 26px);
  padding: 14px 0;
  outline: none;
}
.search-overlay__form input::placeholder { color: var(--muted); }
.search-overlay__form button { background: none; border: none; color: var(--accent); display: flex; }
.search-overlay__form button svg { width: 22px; height: 22px; }
.search-overlay__close {
  position: absolute;
  top: 20px; right: 24px;
  background: none; border: none;
  color: var(--muted);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}
.search-overlay__hint { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* ====================================================
   BOTTOM NAV (mobile only)
==================================================== */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 150;
  background: rgba(17,17,17,.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  display: flex;
  height: 58px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .2px;
  border: none;
  background: none;
  padding: 8px 4px 4px;
  transition: color var(--t);
  cursor: pointer;
}
.bottom-nav__item svg { width: 22px; height: 22px; }
.bottom-nav__item.active, .bottom-nav__item:hover { color: var(--accent); }

/* Hide bottom nav on desktop; show top nav instead */
@media (min-width: 900px) {
  .bottom-nav { display: none; }
  body { padding-bottom: 0 !important; }
}

/* Padding so content isn't behind bottom nav on mobile */
.main-content { padding-bottom: 70px; }
@media (min-width: 900px) { .main-content { padding-bottom: 0; } }

/* ====================================================
   SINGLE POST
==================================================== */
.single-header { padding: 24px 0 20px; }
.single-header__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.single-header__date { font-size: 12px; color: var(--muted); }
.single-header h1 {
  font-size: clamp(22px, 4.5vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}
.single-lead {
  font-size: 16px;
  color: rgba(239,239,239,.78);
  line-height: 1.7;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
}
@media (min-width: 900px) {
  .single-header { padding: 36px 0 28px; }
  .single-lead { font-size: 17px; }
}

.feat-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--surface);
  border-radius: var(--r);
  margin-bottom: 28px;
}

.entry-content {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(239,239,239,.9);
  max-width: 740px;
}
.entry-content p { margin-bottom: 1.2em; }
.entry-content h2 { font-size: clamp(18px, 3vw, 24px); margin: 1.8em 0 .6em; }
.entry-content h3 { font-size: clamp(16px, 2.5vw, 20px); margin: 1.4em 0 .5em; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--r); margin: 1em 0; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin-bottom: 1.2em; list-style: revert; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote {
  border-left: 3px solid var(--accent);
  background: var(--surface);
  padding: 16px 20px;
  margin: 1.6em 0;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 18px;
  border-radius: 0 var(--r) var(--r) 0;
}
@media (min-width: 900px) { .entry-content { font-size: 17px; } }

/* Share bar */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}
.share-bar__label { font-size: 11px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.share-btn {
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  transition: all var(--t);
  cursor: pointer;
}
.share-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Author strip */
.author-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin: 20px 0;
}
.author-strip img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-strip__name { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.author-strip__bio  { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ====================================================
   ARCHIVE HEADER
==================================================== */
.archive-header { padding: 28px 0 20px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.archive-header h1 { font-size: clamp(22px, 4vw, 36px); font-weight: 700; margin: 10px 0 6px; }
.archive-desc { font-size: 14px; color: var(--muted); }

/* ====================================================
   PAGINATION
==================================================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 28px 0 16px;
}
.page-numbers {
  min-width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  color: var(--muted);
  transition: all var(--t);
}
.page-numbers.current, .page-numbers:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
}

/* ====================================================
   404
==================================================== */
.error-page { text-align: center; padding: 80px 20px 100px; }
.error-page__num {
  font-family: var(--f-serif);
  font-size: clamp(80px, 15vw, 130px);
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 12px;
}

/* ====================================================
   BUTTONS
==================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 26px;
  background: var(--accent);
  color: #111;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .3px;
  border-radius: 24px;
  border: none;
  transition: background var(--t);
  cursor: pointer;
}
.btn:hover { background: var(--accent-h); color: #111; }
.btn--outline {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); background: none; }

/* ====================================================
   SKELETON
==================================================== */
.skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, #222 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 4px;
}
@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ====================================================
   LAZY IMAGES
==================================================== */
img[loading="lazy"] { opacity: 0; transition: opacity .45s ease; }
img.img-loaded      { opacity: 1; }

/* ====================================================
   FOOTER
==================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 24px;
  margin-top: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 20px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 0 40px; }
}
.footer-logo { font-family: var(--f-serif); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.footer-logo em { color: var(--accent); font-style: normal; }
.footer-desc { font-size: 13px; color: var(--muted); line-height: 1.65; max-width: 220px; }
.footer-col h6 { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 13px; color: #aaa; transition: color var(--t); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}

/* ====================================================
   COMMENTS
==================================================== */
.comments-area { padding: 32px 0; border-top: 1px solid var(--border); max-width: 740px; }
.comments-title { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.comment-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.comment-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.comment-author { font-size: 14px; font-weight: 600; }
.comment-date   { font-size: 11px; color: var(--muted); font-family: var(--f-mono); margin-bottom: 6px; }
.comment-text   { font-size: 14px; line-height: 1.65; color: rgba(239,239,239,.85); }

.comment-form label { display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; margin-top: 16px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  outline: none;
  transition: border-color var(--t);
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--accent); }
.comment-form textarea { min-height: 130px; resize: vertical; }
.comment-form input[type="submit"] {
  margin-top: 16px;
  background: var(--accent);
  color: #111;
  border: none;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 24px;
  cursor: pointer;
  transition: background var(--t);
}
.comment-form input[type="submit"]:hover { background: var(--accent-h); }

/* ====================================================
   WP CORE CLASSES
==================================================== */
.alignleft  { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.aligncenter { display: block; margin: 1em auto; }
.alignwide  { width: 100%; }
.alignfull  { width: 100vw; margin-left: calc(-50vw + 50%); }
.wp-caption-text { font-size: 12px; color: var(--muted); text-align: center; margin-top: 5px; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
.wp-block-quote { all: unset; display: block; border-left: 3px solid var(--accent); background: var(--surface); padding: 16px 20px; margin: 1.6em 0; font-family: var(--f-serif); font-style: italic; font-size: 18px; color: var(--text); border-radius: 0 var(--r) var(--r) 0; }
