/*
Theme Name:  Gatestiacasa Gourmet
Theme URI:   https://gatestiacasa.ro
Description: Temă custom pentru blog culinar gourmet — design curat, sistematic, editorial.
Author:      Gatestiacasa
Version:     4.0.0
Template:    hello-elementor
Text Domain: gc
*/

/* ═══════════════════════════════════════════════════════════
   DESIGN TOKENS  —  "Spectral Kitchen"
   ───────────────────────────────────────────────────────────
   Filosofie: curat ca o bucătărie profesionistă.
   Alb imaculat + roșu reducție + verde iarbă proaspătă.
   Tipografie editorială Spectral + Inter.
   ═══════════════════════════════════════════════════════════ */
:root {
  /* Header */
  --header-h: 64px;

  /* Backgrounds */
  --bg:        #FEFEFE;
  --bg-2:      #F5F5F5;
  --bg-3:      #EEEEEE;
  --surface:   #FFFFFF;
  --dark:      #111111;
  --dark-2:    #1C1C1C;

  /* Text */
  --text:      #18181B;
  --text-2:    #71717A;
  --text-3:    #A1A1AA;

  /* Borders */
  --line:      #E4E4E7;
  --line-2:    #D4D4D8;

  /* Brand */
  --red:       #B91C1C;
  --red-2:     #DC2626;
  --red-bg:    #FEF2F2;
  --green:     #14532D;
  --green-2:   #15803D;
  --green-bg:  #F0FDF4;
  --amber:     #92400E;
  --amber-2:   #B45309;

  /* Fonts */
  --f-serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --f-sans:  'Inter', system-ui, -apple-system, sans-serif;

  /* Radii */
  --r-xs:   3px;
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-pill: 9999px;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(0,0,0,.05);
  --sh-sm: 0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --sh-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.05);
  --sh-lg: 0 10px 25px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.05);
  --sh-xl: 0 20px 40px rgba(0,0,0,.12);

  /* Spacing scale */
  --s1:  .25rem;
  --s2:  .5rem;
  --s3:  .75rem;
  --s4:  1rem;
  --s5:  1.25rem;
  --s6:  1.5rem;
  --s8:  2rem;
  --s10: 2.5rem;
  --s12: 3rem;
  --s16: 4rem;
  --s20: 5rem;
  --s24: 6rem;

  /* Transitions */
  --t:    .18s ease;
  --t-md: .26s ease;
}

/* ═══════════════════════════════════════════════════════════
   RESET
   ═══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* ═══════════════════════════════════════════════════════════
   TIPOGRAFIE
   ═══════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2rem,   5vw, 3.5rem);  }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem);  }
h3 { font-size: clamp(1.25rem,3vw, 1.9rem);  }
h4 { font-size: 1.3rem; }
h5 { font-family: var(--f-sans); font-size: 1rem;   font-weight: 600; letter-spacing: .01em; }
h6 { font-family: var(--f-sans); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }

/* ═══════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════ */
.wrap        { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: clamp(1rem,4vw,2rem); }
.wrap--tight { max-width: 780px; }
.wrap--mid   { max-width: 1000px; }

/* ─── Accesibilitate ───────────────────────────────────────── */
.skip-link {
  position: absolute; top: -200%; left: 1rem; z-index: 9999;
  background: var(--red); color: #fff; padding: .5rem 1.2rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm); font-size: .85rem; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ═══════════════════════════════════════════════════════════
   TOPBAR  —  32px, simplu
   ═══════════════════════════════════════════════════════════ */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.topbar__inner {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.topbar a { color: rgba(255,255,255,.8); }
.topbar a:hover { color: #fff; }
.topbar__socials { display: flex; align-items: center; gap: .85rem; }
.topbar__socials a { display: flex; align-items: center; opacity: .7; transition: opacity var(--t); }
.topbar__socials a:hover { opacity: 1; }

/* ═══════════════════════════════════════════════════════════
   HEADER  —  înălțime fixă via --header-h
   ═══════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--t-md);
}
.site-header.scrolled { box-shadow: var(--sh-md); }

.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s6);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-shrink: 0;
  text-decoration: none;
  min-width: 0;
}
.site-logo img {
  height: calc(var(--header-h) - 24px);   /* 40px la 64px header */
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}
.site-logo__name {
  font-family: var(--f-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.025em;
  white-space: nowrap;
  line-height: 1.1;
}
.site-logo__name em { color: var(--red); font-style: normal; }
.site-logo__tagline {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  line-height: 1;
  margin-top: .18rem;
}

/* Nav desktop */
.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: .1rem;
}
.site-nav a {
  display: block;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: .4rem .8rem;
  border-radius: var(--r-sm);
  transition: background var(--t), color var(--t);
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  background: var(--bg-2);
  color: var(--red);
}

/* Dropdown */
.site-nav li { position: relative; }
.site-nav .sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: .3rem 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t), transform var(--t);
  z-index: 100;
}
.site-nav li:hover > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.site-nav .sub-menu a {
  text-transform: none;
  letter-spacing: 0;
  font-size: .875rem;
  border-radius: 0;
  padding: .5rem 1.1rem;
  color: var(--text);
}
.site-nav .sub-menu a:hover { background: var(--bg-2); color: var(--red); }

/* Header actions */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
}
.hdr-btn {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm); border: none; background: transparent;
  color: var(--text-2); cursor: pointer;
  transition: background var(--t), color var(--t);
}
.hdr-btn:hover { background: var(--bg-2); color: var(--red); }

/* Burger */
.site-burger { display: none; }

/* ─── Search overlay ────────────────────────────────────────── */
.search-overlay {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(17,17,17,.8);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 15vh;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-md);
}
.search-overlay.open { opacity: 1; pointer-events: auto; }
.search-overlay__box {
  width: min(640px, 90vw);
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--sh-xl);
  transform: translateY(-8px);
  transition: transform var(--t-md);
}
.search-overlay.open .search-overlay__box { transform: translateY(0); }
.search-overlay__label {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: .75rem;
}
.search-overlay form { display: flex; gap: .5rem; }
.search-overlay input {
  flex: 1; padding: .75rem 1rem;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  font-size: 1rem; outline: none;
  transition: border-color var(--t);
}
.search-overlay input:focus { border-color: var(--red); }
.search-overlay button[type="submit"] {
  background: var(--red); color: #fff; border: none;
  padding: .75rem 1.25rem; border-radius: var(--r-md);
  font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; transition: background var(--t);
}
.search-overlay button[type="submit"]:hover { background: var(--red-2); }

/* ─── Drawer mobil ──────────────────────────────────────────── */
.drawer-mask {
  position: fixed; inset: 0; z-index: 800;
  background: rgba(0,0,0,.45);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-md);
}
.drawer-mask.open { opacity: 1; pointer-events: auto; }

.site-drawer {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: min(300px, 85vw); z-index: 850;
  background: var(--surface);
  border-right: 1px solid var(--line);
  box-shadow: var(--sh-xl);
  transform: translateX(-100%);
  transition: transform .3s ease;
  display: flex; flex-direction: column; overflow-y: auto;
}
.site-drawer.open { transform: translateX(0); }

.drawer__head {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--s5);
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.drawer__head-title { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }

.drawer__nav a {
  display: flex; align-items: center;
  padding: .85rem var(--s5);
  border-bottom: 1px solid var(--line);
  font-size: .95rem; font-weight: 500; color: var(--text);
  transition: color var(--t), padding-left var(--t);
}
.drawer__nav a:hover { color: var(--red); padding-left: calc(var(--s5) + .5rem); }
.drawer__nav .sub-menu a { padding-left: calc(var(--s5) + 1rem); font-size: .875rem; color: var(--text-2); }

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--dark-2);
  overflow: hidden;
  min-height: clamp(420px, 65vh, 700px);
  display: flex; align-items: flex-end;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 8s ease;
}
.hero:hover .hero__bg { transform: scale(1.03); }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,.88) 0%, rgba(17,17,17,.4) 45%, rgba(17,17,17,.1) 100%);
}
.hero__body {
  position: relative; z-index: 1;
  padding-block: var(--s16) var(--s12);
  width: 100%;
}
.hero__inner { max-width: 700px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: var(--red); padding: .25rem .75rem; border-radius: var(--r-pill);
  margin-bottom: var(--s4);
}
.hero h1 {
  color: #fff; font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.1; margin-bottom: var(--s4);
  text-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.hero__lead { font-size: 1.1rem; color: rgba(255,255,255,.75); line-height: 1.65; margin-bottom: var(--s6); max-width: 540px; }
.hero__meta { display: flex; align-items: center; gap: .75rem; font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: var(--s6); flex-wrap: wrap; }
.hero__meta .dot { width: 3px; height: 3px; background: currentColor; border-radius: 50%; }

/* ═══════════════════════════════════════════════════════════
   BUTOANE
   ═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  font-family: var(--f-sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; line-height: 1;
  padding: .7rem 1.6rem; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: all var(--t); text-decoration: none;
  white-space: nowrap;
}
.btn-red   { background: var(--red);   color: #fff; border-color: var(--red);   }
.btn-red:hover   { background: var(--red-2); border-color: var(--red-2); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(185,28,28,.3); }
.btn-green { background: var(--green); color: #fff; border-color: var(--green); }
.btn-green:hover { background: var(--green-2); border-color: var(--green-2); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.7); }
.btn-dark  { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-dark:hover  { background: var(--dark-2); }

.read-more, .more-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--red); transition: gap var(--t), color var(--t);
}
.read-more:hover, .more-link:hover { color: var(--red-2); gap: .7rem; }
.read-more::after, .more-link::after { content: '→'; transition: transform var(--t); }
.read-more:hover::after, .more-link:hover::after { transform: translateX(3px); }

/* ═══════════════════════════════════════════════════════════
   BADGE
   ═══════════════════════════════════════════════════════════ */
.badge {
  display: inline-block; font-family: var(--f-sans);
  font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .22rem .7rem; border-radius: var(--r-pill);
}
.badge-red   { background: var(--red);       color: #fff; }
.badge-green { background: var(--green);     color: #fff; }
.badge-amber { background: var(--amber);     color: #fff; }
.badge-gray  { background: var(--bg-3);      color: var(--text-2); }
.badge-outline { background: transparent; color: var(--red); border: 1px solid var(--red); }

/* ═══════════════════════════════════════════════════════════
   SECTION HEADER
   ═══════════════════════════════════════════════════════════ */
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; margin-bottom: var(--s10); flex-wrap: wrap;
}
.sec-eyebrow {
  font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--red); margin-bottom: .4rem;
  display: flex; align-items: center; gap: .5rem;
}
.sec-eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--red); display: block; border-radius: 1px; }
.sec-title { font-family: var(--f-serif); font-size: clamp(1.6rem,4vw,2.5rem); color: var(--text); line-height: 1.15; }
.sec-sub { font-size: .97rem; color: var(--text-2); margin-top: .4rem; }

/* ═══════════════════════════════════════════════════════════
   GRID DE CARDURI
   ═══════════════════════════════════════════════════════════ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: var(--s6);
}
.post-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }

/* ═══════════════════════════════════════════════════════════
   CARD ARTICOL
   ═══════════════════════════════════════════════════════════ */
.post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t-md), box-shadow var(--t-md), border-color var(--t-md);
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
  border-color: var(--line-2);
}
.post-card__thumb {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3; flex-shrink: 0;
  background: var(--bg-2);
}
.post-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.post-card:hover .post-card__thumb img { transform: scale(1.04); }

.post-card__body {
  padding: var(--s5) var(--s5) var(--s6);
  flex: 1; display: flex; flex-direction: column; gap: .5rem;
}
.post-card__cat { margin-bottom: .15rem; }
.post-card__title {
  font-family: var(--f-serif); font-size: 1.15rem;
  font-weight: 600; line-height: 1.28; letter-spacing: -.02em;
  color: var(--text); transition: color var(--t);
}
.post-card:hover .post-card__title,
.post-card__title a:hover { color: var(--red); }
.post-card__title a { color: inherit; }

.post-card__excerpt {
  font-size: .875rem; color: var(--text-2); line-height: 1.65;
  flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card__meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: .5rem;
  font-size: .75rem; color: var(--text-3); margin-top: .25rem;
}
.post-card__meta .dot { width: 2px; height: 2px; background: var(--line-2); border-radius: 50%; flex-shrink: 0; }

/* Card orizontal (featured) */
.post-card--h { flex-direction: row; min-height: 240px; }
.post-card--h .post-card__thumb { width: 42%; flex-shrink: 0; aspect-ratio: auto; border-radius: var(--r-lg) 0 0 var(--r-lg); }
.post-card--h .post-card__title { font-size: 1.3rem; }
@media (max-width: 560px) {
  .post-card--h { flex-direction: column; }
  .post-card--h .post-card__thumb { width: 100%; aspect-ratio: 16/9; border-radius: var(--r-lg) var(--r-lg) 0 0; }
}

/* ═══════════════════════════════════════════════════════════
   SINGLE POST
   ═══════════════════════════════════════════════════════════ */
.entry-header {
  padding-block: var(--s10) var(--s8);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s8);
}
.entry-header .wrap--tight { padding-inline: 0; }
.entry-kicker { display: flex; align-items: center; gap: .6rem; margin-bottom: var(--s4); flex-wrap: wrap; }
.entry-header h1 { margin-bottom: var(--s5); }
.entry-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: .75rem;
  font-size: .8rem; color: var(--text-2);
}
.entry-meta .dot { width: 3px; height: 3px; background: var(--line-2); border-radius: 50%; flex-shrink: 0; }
.entry-meta a { color: var(--text-2); } .entry-meta a:hover { color: var(--red); }
.entry-meta__author { display: flex; align-items: center; gap: .45rem; }
.entry-meta__author img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }

.entry-feat-img {
  width: 100%; border-radius: var(--r-lg);
  aspect-ratio: 16/9; object-fit: cover;
  box-shadow: var(--sh-md); margin-bottom: var(--s8);
}

/* Content layout */
.entry-layout {
  display: grid;
  grid-template-columns: 1fr 288px;
  gap: var(--s12);
  align-items: start;
  padding-bottom: var(--s24);
}

/* Content text */
.entry-content {
  font-size: 1.05rem; line-height: 1.85; color: #27272A;
}
.entry-content > * + * { margin-top: 1.4rem; }
.entry-content h2 { font-size: clamp(1.35rem,3vw,1.9rem); color: var(--green); margin-top: 2.25rem; margin-bottom: .5rem; }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.75rem; }
.entry-content h4 { font-family: var(--f-sans); font-size: .9rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); margin-top: 1.5rem; }
.entry-content a { color: var(--red); text-decoration: underline; text-decoration-color: rgba(185,28,28,.3); text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: var(--red); }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; }
.entry-content ul { list-style: none; padding-left: 0; }
.entry-content ul li { padding-left: 1.2rem; position: relative; margin-bottom: .4rem; }
.entry-content ul li::before { content: ''; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; background: var(--red); border-radius: 50%; }
.entry-content ol { list-style: decimal; }
.entry-content ol li { margin-bottom: .4rem; }
.entry-content li { line-height: 1.75; }

.entry-content blockquote {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(1.1rem,2.5vw,1.4rem); line-height: 1.55;
  color: var(--green); margin: 2rem 0;
  padding: 1.5rem 1.75rem; background: var(--green-bg);
  border-left: 4px solid var(--green); border-radius: 0 var(--r-md) var(--r-md) 0;
}
.entry-content blockquote p { margin: 0; }
.entry-content blockquote cite { display: block; margin-top: .75rem; font-size: .82rem; font-style: normal; font-family: var(--f-sans); color: var(--text-3); }

.entry-content figure { margin: 2rem 0; }
.entry-content figure img { border-radius: var(--r-md); width: 100%; }
.entry-content figcaption { font-size: .8rem; color: var(--text-3); text-align: center; margin-top: .5rem; }

.entry-content table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.entry-content th, .entry-content td { padding: .6rem .9rem; border: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--bg-2); font-family: var(--f-sans); font-weight: 600; font-size: .82rem; }
.entry-content tr:nth-child(even) td { background: var(--bg-2); }

.entry-content code { font-size: .88em; background: var(--bg-2); padding: .1em .35em; border-radius: var(--r-xs); color: var(--green); font-family: monospace; }
.entry-content pre { background: var(--dark-2); color: #E4E4E7; padding: 1.5rem; border-radius: var(--r-md); overflow-x: auto; font-size: .88rem; }

/* Note box */
.note-tip, .note-warn {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: 1rem 1.25rem; border-radius: var(--r-md); font-size: .92rem; line-height: 1.65; margin: 1.5rem 0;
}
.note-tip  { background: var(--green-bg); border: 1px solid #BBF7D0; color: #14532D; }
.note-warn { background: #FFFBEB;         border: 1px solid #FDE68A; color: #78350F; }

/* Post footer */
.entry-footer { padding-top: var(--s6); border-top: 1px solid var(--line); margin-top: var(--s6); }
.entry-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.tag-pill {
  display: inline-block; padding: .28rem .8rem;
  border: 1px solid var(--line-2); border-radius: var(--r-pill);
  font-size: .75rem; color: var(--text-2);
  transition: all var(--t);
}
.tag-pill:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* Post nav */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4);
  margin-top: var(--s10); padding-top: var(--s6); border-top: 1px solid var(--line);
}
.post-nav a {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: var(--s4) var(--s5);
  transition: border-color var(--t), box-shadow var(--t);
}
.post-nav a:hover { border-color: var(--red); box-shadow: var(--sh-sm); }
.post-nav__dir { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); display: block; margin-bottom: .35rem; }
.post-nav__title { font-family: var(--f-serif); font-size: .97rem; color: var(--text); line-height: 1.3; transition: color var(--t); }
.post-nav a:hover .post-nav__title { color: var(--red); }
.post-nav__next { text-align: right; }

/* ═══════════════════════════════════════════════════════════
   RECIPE STATS BAR
   ═══════════════════════════════════════════════════════════ */
.recipe-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(90px,1fr));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; margin: var(--s6) 0; box-shadow: var(--sh-xs);
}
.recipe-stat {
  padding: var(--s4) var(--s3);
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
  text-align: center;
  border-right: 1px solid var(--line);
  background: var(--surface);
}
.recipe-stat:nth-child(odd) { background: var(--bg-2); }
.recipe-stat:last-child { border-right: none; }
.recipe-stat__icon { color: var(--red); margin-bottom: .1rem; }
.recipe-stat__label { font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.recipe-stat__val   { font-family: var(--f-serif); font-size: 1.05rem; font-weight: 600; color: var(--text); line-height: 1.1; }

/* ═══════════════════════════════════════════════════════════
   RECIPE CARD (ingrediente + pași)
   ═══════════════════════════════════════════════════════════ */
.recipe-card {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; margin: var(--s8) 0;
  box-shadow: var(--sh-sm);
}
.recipe-card__head {
  background: var(--green); color: #fff;
  padding: var(--s4) var(--s6);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.recipe-card__title { font-family: var(--f-serif); font-size: 1.15rem; font-weight: 600; color: #fff; letter-spacing: -.01em; }

.recipe-body { display: grid; grid-template-columns: 1fr 1.6fr; }
.recipe-body > div { padding: var(--s6); }
.recipe-body__ing  { background: var(--bg-2); border-right: 1px solid var(--line); }

.recipe-sec-title {
  font-family: var(--f-sans); font-size: .7rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--text-2);
  padding-bottom: .65rem; margin-bottom: var(--s4);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: .45rem;
}
.recipe-sec-title svg { color: var(--red); flex-shrink: 0; }

.ing-list { display: flex; flex-direction: column; }
.ing-item {
  display: flex; gap: .65rem; align-items: baseline;
  padding: .45rem 0; border-bottom: 1px dashed var(--line); font-size: .9rem;
}
.ing-item:last-child { border-bottom: none; }
.ing-item::before { content: ''; width: 5px; height: 5px; background: var(--red); border-radius: 50%; flex-shrink: 0; margin-top: .55em; }

.steps-list { counter-reset: step; display: flex; flex-direction: column; gap: var(--s5); }
.step-item {
  counter-increment: step;
  display: grid; grid-template-columns: 2rem 1fr; gap: .85rem; align-items: start;
  font-size: .92rem; line-height: 1.72;
}
.step-item::before {
  content: counter(step);
  width: 2rem; height: 2rem;
  background: var(--red); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-serif); font-size: .9rem; font-weight: 600;
  flex-shrink: 0; margin-top: .1rem;
}
@media (max-width: 580px) {
  .recipe-body { grid-template-columns: 1fr; }
  .recipe-body__ing { border-right: none; border-bottom: 1px solid var(--line); }
}

/* ═══════════════════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════════════════ */
.sidebar { display: flex; flex-direction: column; gap: var(--s6); position: sticky; top: calc(var(--header-h) + 16px); }

.widget {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s5);
}
.widget-title {
  font-family: var(--f-sans); font-size: .7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-2);
  padding-bottom: .65rem; margin-bottom: var(--s4);
  border-bottom: 2px solid var(--line); position: relative;
}
.widget-title::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 24px; height: 2px; background: var(--red); }

.widget ul li a {
  display: block; padding: .45rem 0;
  border-bottom: 1px solid var(--line); font-size: .88rem; color: var(--text);
  transition: color var(--t), padding-left var(--t);
}
.widget ul li:last-child a { border-bottom: none; }
.widget ul li a:hover { color: var(--red); padding-left: .3rem; }

/* Search */
.widget_search form { display: flex; gap: .35rem; }
.widget_search .search-field {
  flex: 1; padding: .55rem .85rem;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  font-size: .875rem; background: var(--bg); outline: none;
  transition: border-color var(--t);
}
.widget_search .search-field:focus { border-color: var(--red); }
.widget_search .search-submit {
  background: var(--red); color: #fff; border: none;
  padding: .55rem .95rem; border-radius: var(--r-pill);
  font-size: .8rem; cursor: pointer; transition: background var(--t);
}
.widget_search .search-submit:hover { background: var(--red-2); }

/* Recent posts */
.w-recent-post { display: flex; gap: .75rem; align-items: flex-start; padding-block: .6rem; border-bottom: 1px solid var(--line); }
.w-recent-post:last-child { border-bottom: none; }
.w-recent-post__thumb { width: 60px; height: 60px; border-radius: var(--r-sm); overflow: hidden; flex-shrink: 0; }
.w-recent-post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.w-recent-post__title { font-size: .85rem; font-weight: 500; line-height: 1.35; color: var(--text); display: block; transition: color var(--t); }
.w-recent-post__title:hover { color: var(--red); }
.w-recent-post__date { font-size: .72rem; color: var(--text-3); margin-top: .2rem; display: block; }

/* Tags */
.tagcloud a, .tag-cloud-link {
  display: inline-block; font-size: .75rem !important; padding: .26rem .78rem;
  margin: .2rem .1rem; border: 1px solid var(--line-2); border-radius: var(--r-pill);
  color: var(--text-2); transition: all var(--t);
}
.tagcloud a:hover, .tag-cloud-link:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* ═══════════════════════════════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════════════════════════════ */
.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem;
  font-size: .78rem; color: var(--text-3); padding-block: var(--s3);
}
.breadcrumbs a { color: var(--text-2); } .breadcrumbs a:hover { color: var(--red); }
.breadcrumbs__sep { color: var(--line-2); font-size: .6rem; }

/* ═══════════════════════════════════════════════════════════
   PAGINARE
   ═══════════════════════════════════════════════════════════ */
.gc-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: .35rem; padding-block: var(--s10) var(--s6); }
.gc-pager a, .gc-pager span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 .65rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: .82rem; font-weight: 500; color: var(--text);
  transition: all var(--t);
}
.gc-pager a:hover { background: var(--bg-2); border-color: var(--line-2); color: var(--red); }
.gc-pager span.current { background: var(--red); color: #fff; border-color: var(--red); }

/* ═══════════════════════════════════════════════════════════
   COMENTARII
   ═══════════════════════════════════════════════════════════ */
.comments-area { margin-top: var(--s12); padding-top: var(--s10); border-top: 1px solid var(--line); }
.comments-title { font-family: var(--f-serif); font-size: 1.6rem; margin-bottom: var(--s6); }
.comment-list { display: flex; flex-direction: column; gap: var(--s4); margin-bottom: var(--s8); }
.comment-list .children { margin-top: var(--s4); margin-left: var(--s8); display: flex; flex-direction: column; gap: var(--s4); }
.comment-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s5); }
.comment__header { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .75rem; }
.comment__header .avatar { border-radius: 50%; }
.comment-author .fn { font-family: var(--f-serif); font-size: .97rem; font-style: normal; }
.comment-metadata { font-size: .75rem; color: var(--text-3); margin-top: .1rem; }
.comment-metadata a { color: inherit; }
.comment-content p { font-size: .92rem; line-height: 1.72; margin-bottom: .4rem; }
.reply { margin-top: .5rem; }
.comment-reply-link { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red); transition: color var(--t); }
.comment-reply-link:hover { color: var(--red-2); }

.comment-respond { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s6); margin-top: var(--s6); }
.comment-reply-title { font-family: var(--f-serif); font-size: 1.3rem; margin-bottom: var(--s5); }
.comment-fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .75rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%; padding: .68rem .95rem;
  border: 1px solid var(--line); border-radius: var(--r-md);
  font-size: .92rem; background: var(--bg); color: var(--text); outline: none;
  transition: border-color var(--t), background var(--t);
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--red); background: #fff; }
.comment-form textarea { min-height: 120px; resize: vertical; margin-bottom: .75rem; }
.comment-form .submit {
  background: var(--red); color: #fff; border: none;
  padding: .7rem 1.75rem; border-radius: var(--r-pill);
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; transition: all var(--t);
}
.comment-form .submit:hover { background: var(--red-2); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(185,28,28,.25); }
@media (max-width: 480px) { .comment-fields-row { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════
   NEWSLETTER STRIP
   ═══════════════════════════════════════════════════════════ */
.newsletter-strip {
  background: var(--dark); color: rgba(255,255,255,.65);
  padding-block: var(--s16);
}
.newsletter-strip__inner {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s12); align-items: center;
}
.newsletter-strip h2 { font-family: var(--f-serif); font-size: clamp(1.7rem,3.5vw,2.5rem); color: #fff; margin-bottom: .5rem; }
.newsletter-strip p  { font-size: .97rem; line-height: 1.65; color: rgba(255,255,255,.55); }
.newsletter-form { display: flex; flex-direction: column; gap: .6rem; }
.newsletter-form__row { display: flex; gap: .45rem; }
.newsletter-form input[type="email"] {
  flex: 1; padding: .75rem 1.1rem;
  border: 1.5px solid rgba(255,255,255,.15); border-radius: var(--r-pill);
  background: rgba(255,255,255,.07); color: #fff; font-size: .9rem; outline: none;
  transition: border-color var(--t), background var(--t);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.35); }
.newsletter-form input:focus { border-color: var(--red-2); background: rgba(255,255,255,.12); }
.newsletter-form button {
  background: var(--red); color: #fff; border: none;
  padding: .75rem 1.5rem; border-radius: var(--r-pill);
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: all var(--t);
}
.newsletter-form button:hover { background: var(--red-2); transform: translateY(-1px); }
.newsletter-form__note { font-size: .72rem; color: rgba(255,255,255,.3); }
@media (max-width: 768px) {
  .newsletter-strip__inner { grid-template-columns: 1fr; gap: var(--s8); }
  .newsletter-form__row { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.site-footer { background: var(--dark-2); color: rgba(255,255,255,.55); }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s10);
  padding-block: var(--s16) var(--s8);
}
.footer__brand-name { font-family: var(--f-serif); font-size: 1.4rem; color: #fff; letter-spacing: -.02em; margin-bottom: .2rem; }
.footer__brand-sub  { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-2); margin-bottom: var(--s4); }
.footer__brand-desc { font-size: .875rem; line-height: 1.7; color: rgba(255,255,255,.45); margin-bottom: var(--s5); }

.footer__socials { display: flex; gap: .5rem; flex-wrap: wrap; }
.footer__soc-link {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55) !important;
  transition: all var(--t);
}
.footer__soc-link:hover { background: var(--red); border-color: var(--red); color: #fff !important; transform: translateY(-2px); }

.footer__col-title {
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.75); margin-bottom: var(--s4);
  padding-bottom: .55rem; border-bottom: 1px solid rgba(255,255,255,.07);
  position: relative;
}
.footer__col-title::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 18px; height: 2px; background: var(--red); }
.footer__links { display: flex; flex-direction: column; }
.footer__links a {
  font-size: .875rem; color: rgba(255,255,255,.48);
  padding: .35rem 0; border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color var(--t), padding-left var(--t);
}
.footer__links a:hover { color: rgba(255,255,255,.85); padding-left: .3rem; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-block: var(--s4);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  font-size: .75rem; color: rgba(255,255,255,.28);
}
.footer__bottom a { color: rgba(255,255,255,.38); } .footer__bottom a:hover { color: rgba(255,255,255,.7); }
@media (max-width: 960px)  { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .footer__grid { grid-template-columns: 1fr; gap: var(--s8); } .footer__bottom { justify-content: center; text-align: center; } }

/* ═══════════════════════════════════════════════════════════
   PAGE HEADER (arhive, categorii)
   ═══════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--dark-2); padding-block: var(--s12);
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.015) 0px, rgba(255,255,255,.015) 1px, transparent 1px, transparent 40px);
}
.page-hero__inner { position: relative; }
.page-hero__type { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red-2); margin-bottom: .5rem; }
.page-hero h1   { color: #fff; }
.page-hero__desc { font-size: 1rem; color: rgba(255,255,255,.55); max-width: 520px; margin-inline: auto; margin-top: .75rem; line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════
   CĂUTARE
   ═══════════════════════════════════════════════════════════ */
.gc-searchform { display: flex; gap: .4rem; }
.gc-searchform input {
  flex: 1; padding: .65rem 1rem;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  font-size: .88rem; background: var(--bg); outline: none; color: var(--text);
  transition: border-color var(--t);
}
.gc-searchform input:focus { border-color: var(--red); background: #fff; }
.gc-searchform button {
  background: var(--red); color: #fff; border: none;
  padding: .65rem 1.1rem; border-radius: var(--r-pill);
  display: flex; align-items: center; gap: .35rem;
  font-size: .78rem; font-weight: 600; cursor: pointer; transition: background var(--t);
}
.gc-searchform button:hover { background: var(--red-2); }

/* ═══════════════════════════════════════════════════════════
   MAIN LAYOUT (2 coloane)
   ═══════════════════════════════════════════════════════════ */
.two-col {
  display: grid; grid-template-columns: 1fr 288px;
  gap: var(--s10); align-items: start;
  padding-block: var(--s8) var(--s20);
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .entry-layout { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav__next { text-align: left; }
}

/* ═══════════════════════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════════════════════ */
.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; }
.text-red   { color: var(--red); }
.text-green { color: var(--green); }
.text-muted { color: var(--text-2); }
.text-center { text-align: center; }
.no-posts { text-align: center; padding-block: var(--s20); }
.no-posts h2 { font-size: 1.7rem; margin-bottom: .6rem; }
.no-posts p  { color: var(--text-2); margin-bottom: var(--s6); }

/* ═══════════════════════════════════════════════════════════
   ANIMAȚII
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  .post-card { animation: riseUp .4s ease both; }
  @keyframes riseUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .site-nav   { display: none; }
  .site-burger { display: flex; }
}
@media (max-width: 640px) {
  .post-grid  { gap: var(--s4); }
  .hero       { min-height: clamp(320px, 60vh, 480px); }
}
@media (max-width: 480px) {
  .widget { padding: var(--s4); }
  .comment-respond { padding: var(--s4); }
}

/* ═══════════════════════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════════════════════ */
@media print {
  .topbar, .site-header, .site-footer, .sidebar,
  .newsletter-strip, .comments-area, .post-nav { display: none !important; }
  body { font-size: 11pt; color: #000; background: #fff; }
  .entry-layout, .two-col { grid-template-columns: 1fr !important; }
  a[href]::after { content: ' (' attr(href) ')'; font-size: .75em; color: #666; }
}
