/* ============================================================
   GardenCraft CMS — garden.css
   Nisa: Gardening Design, Pest Control, Tips & Tricks
   Font: Lora (serif, headings) + DM Sans (body)
   Paleta: verde inchis #2C3A1E, verde activ #7BAF3A,
           crem #F7F5F0, alb cald #FFFDF8
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,400&display=swap');

/* ============================================================
   1. RESET & VARIABILE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Paleta gardening */
  --g-dark:     #2C3A1E;   /* verde inchis header/hero */
  --g-dark-2:   #3A4E25;   /* verde mediu */
  --g-green:    #7BAF3A;   /* verde activ / accent */
  --g-green-2:  #5A8A1E;   /* verde text pe fundal deschis */
  --g-green-3:  #A8CC52;   /* verde deschis italic hero */
  --g-leaf:     #D4E8A0;   /* verde foarte deschis */
  --g-cream:    #F7F5F0;   /* fundal pagina */
  --g-cream-2:  #FFFDF8;   /* alb cald card */
  --g-warm:     #F0EBD8;   /* text deschis pe dark */
  --g-border:   #E4E0D6;   /* bordura card */
  --g-border-2: #D4D0C8;   /* bordura mai vizibila */
  --g-text:     #2C2A24;   /* text principal */
  --g-text-2:   #5A5850;   /* text secundar */
  --g-text-3:   #9A9890;   /* text tertiar, date */
  --g-amber:    #D4A832;   /* accent cald (tips) */
  --g-amber-bg: #FDF5E0;   /* fundal amber */

  /* Tipografie */
  --font-head:  'Lora', Georgia, serif;
  --font-body:  'DM Sans', sans-serif;

  /* Layout */
  --max-w:      1200px;
  --header-h:   68px;
  --radius:     8px;
  --radius-lg:  14px;
  --radius-xl:  20px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm:  0 1px 6px rgba(44,58,30,0.07);
  --shadow:     0 4px 20px rgba(44,58,30,0.10);
  --shadow-lg:  0 8px 40px rgba(44,58,30,0.14);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--g-cream);
  color: var(--g-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
/* picture devine transparent — img se comporta ca si cum e direct in container */
picture { display: contents; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ============================================================
   2. LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.container--narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================================
   3. HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--g-dark);
  height: var(--header-h);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.site-header .container {
  height: 100%;
}

.site-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 36px;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--g-warm);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-logo em {
  color: var(--g-green);
  font-style: italic;
}

.site-logo img { height: 34px; width: auto; }

/* Nav */
.site-nav { flex: 1; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav__link {
  display: block;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.nav-arrow {
  display: inline-block;
  vertical-align: middle;
  margin-left: 3px;
  margin-top: -1px;
  opacity: 0.5;
  transition: transform var(--transition), opacity var(--transition);
  flex-shrink: 0;
}

.site-nav__item:hover .nav-arrow {
  transform: rotate(180deg);
  opacity: 0.9;
}

/* Previne ca has-children sa arate ca activ doar din cauza sagetii */
.site-nav__link.has-children.active {
  color: var(--g-leaf);
  background: rgba(255,255,255,0.06);
}

.site-nav__link:hover,
.site-nav__link.active {
  color: var(--g-leaf);
  background: rgba(255,255,255,0.06);
}

/* Dropdown */
.site-nav__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 190px;
  background: var(--g-dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--transition);
  overflow: hidden;
}

.site-nav__item {
  position: relative;
}

.site-nav__item:hover .site-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav__dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: background var(--transition), color var(--transition);
}

.site-nav__dropdown a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--g-leaf);
}

/* Desktop: doar --header vizibil */
.site-search--nav   { display: none; }
.site-search--header { display: flex; }

/* Search */
.site-search { position: relative; align-items: center; }

.site-search__input {
  width: 210px;
  height: 36px;
  padding: 0 36px 0 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font: inherit;
  font-size: 0.85rem;
  outline: none;
  transition: all var(--transition);
}

.site-search__input::placeholder { color: rgba(255,255,255,0.3); }
.site-search__input:focus {
  border-color: var(--g-green);
  background: rgba(255,255,255,0.1);
  width: 260px;
  box-shadow: 0 0 0 3px rgba(123,175,58,0.2);
}

.site-search__btn {
  position: absolute;
  right: 11px;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transition: color var(--transition);
}
.site-search__btn:hover { color: var(--g-green); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   4. HERO — Homepage
   ============================================================ */
.g-hero {
  background: var(--g-dark);
  padding: 0;
  overflow: hidden;
}

.g-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  min-height: 440px;
}

.g-hero__text {
  padding: 56px 48px 56px 0;
}

.g-hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--g-green);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.g-hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--g-green);
}

.g-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--g-warm);
  margin-bottom: 18px;
}

.g-hero__title em {
  color: var(--g-green-3);
  font-style: italic;
}

.g-hero__desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  max-width: 400px;
  margin-bottom: 28px;
}

.g-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: var(--g-green);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 100px;
  letter-spacing: 0.02em;
  transition: background var(--transition), transform var(--transition);
}
.g-hero__btn:hover { background: var(--g-green-2); transform: translateY(-1px); }

.g-hero__image {
  height: 100%;
  min-height: 440px;
  overflow: hidden;
  position: relative;
}

.g-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   5. SECTION LABELS
   ============================================================ */
.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--g-green-2);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--g-border);
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 32px;
}

.section-divider span {
  font-size: 0.68rem;
  color: var(--g-text-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--g-border);
}

/* ============================================================
   6. CATEGORIES PILLS
   ============================================================ */
.cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 28px 0 8px;
}

.cat-pill {
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 400;
  border: 1px solid var(--g-border-2);
  color: var(--g-text-2);
  background: var(--g-cream-2);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.cat-pill:hover,
.cat-pill.active {
  background: var(--g-dark);
  border-color: var(--g-dark);
  color: var(--g-leaf);
}

/* ============================================================
   7. FEATURED ARTICLE (articol principal homepage)
   ============================================================ */
.featured-article {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  background: var(--g-cream-2);
  border: 1px solid var(--g-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 36px;
  transition: box-shadow var(--transition);
}

.featured-article:hover {
  box-shadow: var(--shadow);
}

.featured-article__image {
  min-height: 300px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}

.featured-article__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-article:hover .featured-article__image img {
  transform: scale(1.03);
}

.featured-article__body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-article__cat {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--g-green-2);
  background: #EAF3DE;
  padding: 4px 12px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 16px;
}

.featured-article__title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--g-dark);
  margin-bottom: 14px;
  transition: color var(--transition);
}

.featured-article:hover .featured-article__title {
  color: var(--g-green-2);
}

.featured-article__excerpt {
  font-size: 0.9rem;
  color: var(--g-text-2);
  line-height: 1.7;
  margin-bottom: 20px;
}

.featured-article__meta {
  font-size: 0.75rem;
  color: var(--g-text-3);
  display: flex;
  align-items: center;
  gap: 12px;
}

.featured-article__meta span + span::before {
  content: '·';
  margin-right: 12px;
}

/* ============================================================
   8. ARTICLE GRID — 3 coloane
   ============================================================ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}

/* Card articol */
.card {
  background: var(--g-cream-2);
  border: 1px solid var(--g-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card__image {
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--g-leaf);
  flex-shrink: 0;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card__image img { transform: scale(1.05); }

.card__body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__cat {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--g-green-2);
  margin-bottom: 8px;
}

.card__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.38;
  color: var(--g-dark);
  margin-bottom: 10px;
  flex: 1;
  transition: color var(--transition);
}

.card:hover .card__title { color: var(--g-green-2); }

.card__excerpt {
  font-size: 0.82rem;
  color: var(--g-text-2);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__meta {
  font-size: 0.72rem;
  color: var(--g-text-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ============================================================
   9. ARTICLE STRIP — 2 coloane, card orizontal
   ============================================================ */
.article-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

.strip-card {
  display: flex;
  background: var(--g-cream-2);
  border: 1px solid var(--g-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.strip-card:hover { box-shadow: var(--shadow-sm); }

.strip-card__image {
  width: 110px;
  height: 90px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--g-border);
}

.strip-card__image img {
  width: 110px !important;
  height: 90px !important;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  border-radius: 0;
  margin: 0 !important;
  display: block;
}

.strip-card:hover .strip-card__image img { transform: scale(1.06); }

.strip-card__body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.strip-card__cat {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--g-green-2);
}

.strip-card__title {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--g-dark);
  transition: color var(--transition);
}

.strip-card:hover .strip-card__title { color: var(--g-green-2); }

.strip-card__date {
  font-size: 0.7rem;
  color: var(--g-text-3);
}

/* ============================================================
   10. TAGS
   ============================================================ */
.tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--g-cream);
  border: 1px solid var(--g-border-2);
  border-radius: 100px;
  font-size: 0.72rem;
  color: var(--g-text-2);
  transition: all var(--transition);
}

.tag:hover {
  background: #EAF3DE;
  border-color: var(--g-green);
  color: var(--g-green-2);
}

/* ============================================================
   11. PAGINA CATEGORIE — hero compact
   ============================================================ */
.cat-hero {
  background: var(--g-dark);
  padding: 48px 0 36px;
  margin-bottom: 0;
}

.cat-hero__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--g-green);
  margin-bottom: 12px;
}

.cat-hero__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--g-warm);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.cat-hero__desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.45);
  max-width: 500px;
}

/* ============================================================
   12. PAGINA ARTICOL
   ============================================================ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 52px;
  padding: 48px 0 80px;
  align-items: start;
}

/* Header articol */
.article__header {
  margin-bottom: 28px;
}

.article__meta-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.article__cat-link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--g-green-2);
  background: #EAF3DE;
  padding: 4px 12px;
  border-radius: 100px;
  transition: background var(--transition), color var(--transition);
}

.article__cat-link:hover {
  background: var(--g-green-2);
  color: #fff;
}

.article__date {
  font-size: 0.78rem;
  color: var(--g-text-3);
}

.article__title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--g-dark);
  margin-bottom: 18px;
}

.article__featured-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

/* Taguri sub imagine */
.article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 32px;
}

/* Continut */
.article__content {
  font-size: 1.05rem;
  line-height: 1.82;
  color: var(--g-text);
}

.article__content h2 {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--g-dark);
  margin: 2.2em 0 0.7em;
  line-height: 1.25;
  padding-bottom: 10px;
  border-bottom: 2px solid #EAF3DE;
}

.article__content h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--g-dark);
  margin: 1.8em 0 0.6em;
}

.article__content p { margin-bottom: 1.35em; }

.article__content ul,
.article__content ol {
  padding-left: 1.5em;
  margin-bottom: 1.35em;
  list-style: revert;
}

.article__content li { margin-bottom: 0.5em; }

.article__content a {
  color: var(--g-green-2);
  text-decoration: underline;
  text-decoration-color: rgba(90,138,30,0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--transition);
}

.article__content a:hover {
  text-decoration-color: var(--g-green-2);
}

.article__content strong { font-weight: 600; color: var(--g-dark); }

.article__content blockquote {
  border-left: 3px solid var(--g-green);
  padding: 14px 22px;
  margin: 2em 0;
  background: #EAF3DE;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-head);
  font-style: italic;
  color: var(--g-dark);
  font-size: 1.05rem;
}

.article__content figure.section-image {
  margin: 1.6em 0 2em;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.article__content figure.section-image img,
.article__content .article-section-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-lg);
}

/* Imagini din articol - pastreaza ratia originala */
.article__content img {
  max-width: 100%;
  width: auto !important;
  height: auto !important;
  display: block;
  margin: 1.2em auto;
  border-radius: var(--radius);
}

/* Imagini centrate WP */
.article__content img.aligncenter,
.article__content img.size-full,
.article__content img.size-large {
  max-width: 100%;
  width: auto !important;
  height: auto !important;
  border-radius: var(--radius-lg);
}

/* Thumbnails */
.article__content img.size-thumbnail,
.article__content img.size-medium {
  max-width: 100%;
  width: auto !important;
  height: auto !important;
}

/* Figura cu imagine */
.article__content figure {
  margin: 1.6em 0;
}

.article__content figure img {
  width: 100% !important;
  height: auto !important;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.article__content figcaption {
  font-size: .8rem;
  color: var(--g-text-3);
  text-align: center;
  margin-top: 6px;
  font-style: italic;
}

/* Taguri final articol */
.article__tags-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--g-border);
}

.article__tags-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--g-text-3);
  margin-bottom: 12px;
}

/* ============================================================
   13. SIDEBAR
   ============================================================ */
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.sidebar__block {
  background: var(--g-cream-2);
  border: 1px solid var(--g-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 22px;
}

.sidebar__header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--g-border);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--g-text-3);
  background: var(--g-cream);
}

.sidebar__body { padding: 6px 0; }

/* Card sidebar */
.sidebar-card {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--g-border);
  transition: background var(--transition);
}

.sidebar-card:last-child { border-bottom: none; }
.sidebar-card:hover { background: var(--g-cream); }

.sidebar-card__img {
  width: 64px;
  height: 50px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--g-leaf);
  flex-shrink: 0;
}

.sidebar-card__title {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--g-dark);
  transition: color var(--transition);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-card:hover .sidebar-card__title { color: var(--g-green-2); }

.sidebar-card__date {
  font-size: 0.7rem;
  color: var(--g-text-3);
  margin-top: 4px;
}

/* Tip box in sidebar */
.tip-box {
  background: var(--g-amber-bg);
  border: 1px solid #EDD898;
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 22px;
}

.tip-box__label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--g-amber);
  margin-bottom: 8px;
}

.tip-box__text {
  font-size: 0.875rem;
  color: #7A5800;
  line-height: 1.65;
}

/* ============================================================
   14. BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 0;
  font-size: 0.8rem;
  color: var(--g-text-3);
  border-bottom: 1px solid var(--g-border);
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}

.breadcrumb::-webkit-scrollbar { display: none; }
.breadcrumb.is-dragging { cursor: grabbing; }

.breadcrumb a {
  color: var(--g-text-2);
  transition: color var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.breadcrumb a:hover { color: var(--g-green-2); }
.breadcrumb__sep { color: var(--g-border-2); flex-shrink: 0; }
.breadcrumb span:last-child { flex-shrink: 0; }

/* ============================================================
   15. PAGINARE
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  padding: 12px 0 52px;
}

.pagination ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pagination li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border: 1px solid var(--g-border-2);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--g-text-2);
  background: var(--g-cream-2);
  transition: all var(--transition);
}

.pagination li a:hover {
  border-color: var(--g-green);
  color: var(--g-green-2);
  background: #EAF3DE;
}

.pagination li.active a {
  background: var(--g-dark);
  border-color: var(--g-dark);
  color: var(--g-leaf);
}

/* ============================================================
   16. FOOTER
   ============================================================ */
ul.pages li{
  width: auto;
  float: left;
    padding:0px 10px;
}

.site-footer {
  background: var(--g-dark);
  color: rgba(255,255,255,0.45);
  padding: 60px 0 32px;
}

.footer-disclaimer{font-size:11px;}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 52px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.site-footer__brand {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--g-warm);
  margin-bottom: 12px;
}

.site-footer__brand em { color: var(--g-green); font-style: italic; }

.site-footer__desc {
  font-size: 0.875rem;
  line-height: 1.75;
  max-width: 300px;
  margin-bottom: 20px;
}

.site-footer__heading {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}

.site-footer__links li { margin-bottom: 10px; }

.site-footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.site-footer__links a:hover { color: var(--g-leaf); }

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

/* ============================================================
   17. ALERTS & UTILS
   ============================================================ */
.alert {
  padding: 13px 17px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 0.875rem;
  border: 1px solid transparent;
}

.alert-success { background: #EAF3DE; border-color: #B4D87A; color: #2C5A0A; }
.alert-error,
.alert-danger   { background: #FDF0EE; border-color: #F0B8B0; color: #7A1F15; }
.alert-info     { background: #EAF3DE; border-color: #B4D87A; color: #2C5A0A; }

.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--g-text-3);
}

.empty-state__icon { font-size: 2.8rem; margin-bottom: 14px; display: block; }
.empty-state__title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--g-text-2);
  margin-bottom: 8px;
}

/* ============================================================
   18. SEARCH
   ============================================================ */
.search-hero {
  background: var(--g-dark);
  padding: 40px 0 32px;
}

.search-hero__title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--g-warm);
  margin-bottom: 6px;
}

.search-form {
  display: flex;
  gap: 10px;
  margin: 20px 0 0;
}

.search-form__input {
  flex: 1;
  height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}

.search-form__input::placeholder { color: rgba(255,255,255,0.3); }
.search-form__input:focus { border-color: var(--g-green); }

.search-form__btn {
  height: 48px;
  padding: 0 26px;
  background: var(--g-green);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background var(--transition);
}

.search-form__btn:hover { background: var(--g-green-2); }

/* ============================================================
   19. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .g-hero__inner {
    grid-template-columns: 1fr;
  }
  .g-hero__image {
    display: block;
    min-height: 260px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    order: -1;
  }
  .g-hero__image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
  }
  .g-hero__text { padding: 32px 0 40px; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr 260px; gap: 36px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .site-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    background: var(--g-dark);
    z-index: 99;
    flex-direction: column;
    padding: 24px;
    overflow-y: auto;
  }

  .site-nav.is-open { display: flex; }

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .site-nav__item { width: 100%; }

  .site-nav__link {
    padding: 12px 8px;
    font-size: 1rem;
    width: 100%;
    color: rgba(255,255,255,0.65);
  }

  .site-nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.04);
    border: none;
    border-radius: 0;
    padding-left: 16px;
  }

  .site-search {
    width: 100%;
    margin-top: 16px;
    order: 10;
  }

  .site-search__input {
    width: 100% !important;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
    height: 44px;
    font-size: 1rem;
  }

  .site-search__btn {
    color: rgba(255,255,255,0.6);
    right: 12px;
  }

  .nav-toggle { display: flex; }

  /* Search pe mobile */
  .site-search--header { display: none; }

  .site-search--nav {
    display: flex !important;
    width: 100%;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .site-search--nav .site-search__input {
    width: 100% !important;
    height: 44px;
    font-size: .95rem;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    color: #fff;
    padding-right: 44px;
  }

  .site-search--nav .site-search__input::placeholder {
    color: rgba(255,255,255,0.35);
  }

  .article-grid { grid-template-columns: 1fr; }
  .article-strip { grid-template-columns: 1fr; }
  .featured-article { grid-template-columns: 1fr; }
  .featured-article__image { min-height: 220px; }

  .article-layout { grid-template-columns: 1fr; padding: 28px 0 48px; }
  .sidebar { position: static; }

  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  .cat-hero { padding: 32px 0 24px; }
}

@media (max-width: 520px) {
  .article-grid { grid-template-columns: 1fr; }
  .article__title { font-size: 1.7rem; }
  .featured-article__title { font-size: 1.3rem; }
}


/* ============================================================
   Galerie imagini WordPress (rl-gallery / lightbox)
   ============================================================ */

/* Containerul galeriei - WP il genereaza ca div.rl-gallery-container */
.article__content .rl-gallery-container,
.article__content .rl-gallery {
  margin: 1.8em 0;
}

/* Grila 4 coloane */
.article__content .rl-gallery-column-4,
.article__content [class*="rl-gallery-columns-4"],
.article__content .rl-gallery-row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 8px !important;
}

/* Fallback: daca link-urile sunt direct in container fara grid */
.article__content .rl-gallery-container > a.rl-gallery-link,
.article__content .rl-gallery > a.rl-gallery-link,
.article__content > a.rl-gallery-link,
.article__content p > a.rl-gallery-link {
  display: inline-block;
  width: calc(25% - 6px);
  margin: 3px;
  vertical-align: top;
}

/* Link-ul individual */
.article__content a.rl-gallery-link {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1/1;
  background: var(--g-border);
  flex-shrink: 0;
}

/* Imaginea din galerie */
.article__content a.rl-gallery-link img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: var(--radius) !important;
  margin: 0 !important;
  transition: transform 0.4s ease;
  display: block;
}

.article__content a.rl-gallery-link:hover img {
  transform: scale(1.06);
}

/* Overlay subtil la hover */
.article__content a.rl-gallery-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(44,58,30,0);
  transition: background 0.3s ease;
  border-radius: var(--radius);
  pointer-events: none;
}

.article__content a.rl-gallery-link {
  position: relative;
}

.article__content a.rl-gallery-link:hover::after {
  background: rgba(44,58,30,0.15);
}

/* Responsive - 2 coloane pe mobile */
@media (max-width: 600px) {
  .article__content .rl-gallery-column-4,
  .article__content [class*="rl-gallery-columns-4"],
  .article__content .rl-gallery-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .article__content p > a.rl-gallery-link,
  .article__content > a.rl-gallery-link {
    width: calc(50% - 6px);
  }
}

/* ============================================================
   20. LAZY LOAD IMAGE FADE
   ============================================================ */
img[data-src] { opacity: 0; transition: opacity 0.4s ease; }
img.img-loaded { opacity: 1; }

/* ============================================================
   Share buttons + Pinterest pin overlay
   ============================================================ */

/* Share bar (sus si jos de articol) */
.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--g-border);
  border-bottom: 1px solid var(--g-border);
  margin: 20px 0 28px;
  flex-wrap: wrap;
}

.article-share--top {
  border-top: none;
  margin-top: 0;
  margin-bottom: 28px;
}

.article-share--bottom {
  border-bottom: none;
  margin-bottom: 0;
  margin-top: 32px;
}

.article-share__label {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--g-text-3);
  margin-right: 4px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
  line-height: 1;
}

.share-btn:hover { opacity: .85; transform: translateY(-1px); }
.share-btn:active { transform: translateY(0); }

.share-btn--facebook  { background: #1877F2; color: #fff; }
.share-btn--pinterest { background: #E60023; color: #fff; }
.share-btn--tumblr    { background: #35465C; color: #fff; }

.share-btn svg { flex-shrink: 0; }

/* Pin overlay pe imagini */
.article__content img:not(.no-pin) {
  position: relative;
}

.pin-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.pin-wrap img {
  display: block;
  width: 100%;
}

.pin-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: #E60023;
  color: #fff;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 10;
  white-space: nowrap;
  text-decoration: none;
}

.pin-wrap:hover .pin-btn,
.pin-btn:focus { opacity: 1; transform: translateY(0); }

.pin-btn svg { flex-shrink: 0; }

/* Pinterest modal removed - using official widget */

  .share-btn { padding: 8px 12px; }
}