/* ============================================================
   JARDINES PARAGUAY — main.css v3.0
   Inspirado en el tema Conversion (angrygorilla.us)
   Estética: revista digital limpia, tipografía protagonista
   Paleta: verde botánico + blanco puro + tierra
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&family=Oswald:wght@400;500;600&display=swap');

/* ---- VARIABLES ---- */
:root {
  --v1:  #1a3d2b;
  --v2:  #2d6a4f;
  --v3:  #52b788;
  --v4:  #95d5b2;
  --v5:  #d8f3dc;
  --v6:  #f0faf4;
  --oro: #c9a84c;
  --tierra: #7c5c3e;
  --gris1: #111111;
  --gris2: #333333;
  --gris3: #666666;
  --gris4: #999999;
  --gris5: #cccccc;
  --gris6: #eeeeee;
  --gris7: #f7f7f7;
  --white: #ffffff;
  --font-h: 'Playfair Display', Georgia, serif;
  --font-b: 'Lato', system-ui, sans-serif;
  --font-l: 'Oswald', sans-serif;
  --font-size-art: 17px;
  --lh-art: 1.85;
  --r: 4px;
  --shadow: 0 2px 12px rgba(0,0,0,.07);
  --shadow2: 0 6px 24px rgba(0,0,0,.10);
}
[data-theme="dark"] {
  --white:  #161616;
  --gris7:  #1e1e1e;
  --gris6:  #2a2a2a;
  --gris5:  #3a3a3a;
  --gris2:  #e0e0e0;
  --gris1:  #f5f5f5;
  --v6:     #0f1f17;
  background: #161616;
}

/* ---- BASE ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: var(--font-size-art); }
body { font-family: var(--font-b); color: var(--gris2); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; transition: background .3s, color .3s; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-h); color: var(--gris1); line-height: 1.2; }
a { color: inherit; text-decoration: none; transition: color .2s; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   TOP PROMO BAR
   ============================================================ */
.promo-bar {
  background: var(--v1);
  text-align: center;
  padding: 9px 16px;
  font-size: 13px;
  color: rgba(255,255,255,.75);
  letter-spacing: .3px;
}
.promo-bar strong { color: #fff; }
.promo-bar a.promo-cta {
  display: inline-block;
  margin-left: 14px;
  background: var(--v3);
  color: #fff;
  padding: 3px 14px;
  border-radius: 2px;
  font-family: var(--font-l);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background .2s;
}
.promo-bar a.promo-cta:hover { background: var(--v4); color: var(--v1); }

/* ============================================================
   HEADER — logo centrado, nav abajo
   ============================================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gris6);
}
.header-top {
  padding: 28px 0 20px;
  text-align: center;
  position: relative;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 54px; height: 54px;
  background: var(--v1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.logo-text { text-align: left; }
.logo-name {
  font-family: var(--font-h);
  font-size: 32px;
  font-weight: 800;
  color: var(--gris1);
  line-height: 1;
  letter-spacing: -.5px;
}
.logo-name span { color: var(--v2); }
.logo-tagline {
  font-family: var(--font-l);
  font-size: 10px;
  color: var(--gris4);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-top: 3px;
}
/* Botones auth arriba a la derecha */
.header-auth {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---- NAV HORIZONTAL ---- */
.main-nav {
  background: var(--white);
  border-top: 2px solid var(--gris1);
  border-bottom: 1px solid var(--gris6);
}
.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}
.nav-list {
  display: flex;
  list-style: none;
  margin: 0; padding: 0;
  gap: 0;
}
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block;
  padding: 13px 16px;
  font-family: var(--font-l);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gris2);
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-list > li > a:hover,
.nav-list > li > a.active {
  color: var(--v2);
  border-bottom-color: var(--v2);
}
/* Búsqueda en nav */
.nav-search {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-search input {
  border: 1px solid var(--gris6);
  border-right: none;
  padding: 7px 12px;
  font-size: 13px;
  border-radius: var(--r) 0 0 var(--r);
  width: 180px;
  background: var(--gris7);
  color: var(--gris2);
  transition: border-color .2s, width .3s;
}
.nav-search input:focus { outline: none; border-color: var(--v3); width: 220px; }
.nav-search button {
  background: var(--v2);
  border: none;
  color: #fff;
  padding: 7px 12px;
  border-radius: 0 var(--r) var(--r) 0;
  cursor: pointer;
  font-size: 13px;
}
.nav-search button:hover { background: var(--v1); }

/* Mobile nav */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--gris2);
  cursor: pointer;
  padding: 8px;
}

/* ---- DROPDOWN ---- */
.nav-list > li:hover > .nav-dropdown { display: block; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: var(--white);
  border: 1px solid var(--gris6);
  border-top: 2px solid var(--v2);
  min-width: 200px;
  z-index: 200;
  box-shadow: var(--shadow2);
}
.nav-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--gris2);
  border-bottom: 1px solid var(--gris7);
}
.nav-dropdown a:hover { background: var(--v6); color: var(--v2); }

/* Auth dropdown */
.nav-user { position: relative; }
.nav-user:hover .user-dropdown { display: block; }
.nav-user.open .user-dropdown { display: block; }
.user-dropdown {
  display: none;
  position: absolute;
  top: 100%; right: 0;
  background: var(--white);
  border: 1px solid var(--gris6);
  border-top: 2px solid var(--v2);
  min-width: 200px;
  z-index: 1060;
  box-shadow: var(--shadow2);
}
.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--gris2);
  border-bottom: 1px solid var(--gris7);
}
.user-dropdown a:hover { background: var(--v6); color: var(--v2); }
.user-dropdown a i { width: 16px; color: var(--v3); }
.nav-user-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 0 13px 16px;
  cursor: pointer;
  font-size: 13px;
  color: var(--gris2);
  font-family: var(--font-l);
  letter-spacing: .5px;
  text-transform: uppercase;
}
.nav-user-btn img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid var(--v4); }
.nav-badge {
  background: var(--v3);
  color: #fff;
  font-size: 9px;
  font-family: var(--font-l);
  letter-spacing: 1px;
  padding: 2px 6px;
  border-radius: 2px;
}

/* ============================================================
   HERO / SLIDER — post principal
   ============================================================ */
.hero-wrap { position: relative; overflow: hidden; }
.hero-slide {
  position: relative;
  height: 540px;
  overflow: hidden;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}
.hero-slide:hover img { transform: scale(1.03); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.25) 55%, transparent 100%);
}
.hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 48px;
}
.hero-cat {
  display: inline-block;
  background: var(--v3);
  color: #fff;
  font-family: var(--font-l);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  margin-bottom: 14px;
}
.hero-title {
  font-family: var(--font-h);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 14px;
  max-width: 680px;
}
.hero-title a { color: #fff; }
.hero-title a:hover { color: var(--v4); }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,.65);
  font-size: 13px;
}
.hero-meta strong { color: rgba(255,255,255,.9); }

/* Miniaturas del slider */
.hero-thumbs {
  display: flex;
  gap: 0;
  border-top: 3px solid var(--gris1);
}
.hero-thumb {
  flex: 1;
  display: flex;
  align-items: stretch;
  cursor: pointer;
  border-right: 1px solid var(--gris6);
  overflow: hidden;
  text-decoration: none;
  transition: background .2s;
}
.hero-thumb:last-child { border-right: none; }
.hero-thumb:hover { background: var(--v6); }
.hero-thumb.active { background: var(--v6); border-top: 3px solid var(--v2); margin-top: -3px; }
.hero-thumb-img {
  width: 72px; height: 72px;
  object-fit: cover;
  flex-shrink: 0;
}
.hero-thumb-info {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-thumb-cat {
  font-family: var(--font-l);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--v3);
  margin-bottom: 3px;
}
.hero-thumb-title {
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 600;
  color: var(--gris1);
  line-height: 1.3;
}

/* ============================================================
   TRENDING NUMERADO — sección oscura
   ============================================================ */
.trending-section {
  background: var(--gris1);
  padding: 32px 0;
}
.trending-label {
  font-family: var(--font-l);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--v3);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.trending-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.1);
}
.trending-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trending-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-decoration: none;
}
.trending-num {
  font-family: var(--font-h);
  font-size: 36px;
  font-weight: 800;
  color: rgba(255,255,255,.12);
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  transition: color .2s;
}
.trending-item:hover .trending-num { color: var(--v3); }
.trending-cat {
  font-family: var(--font-l);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--v4);
  margin-bottom: 5px;
}
.trending-title {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  line-height: 1.35;
  transition: color .2s;
}
.trending-item:hover .trending-title { color: var(--v4); }

/* ============================================================
   SECCIÓN PRINCIPAL — grid de posts
   ============================================================ */
.section-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 40px 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gris1);
}
.section-title {
  font-family: var(--font-l);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gris1);
  white-space: nowrap;
}
.section-line { flex: 1; height: 1px; background: var(--gris6); }
.section-more {
  font-family: var(--font-l);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--v2);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}
.section-more:hover { color: var(--v3); }

/* ============================================================
   POST CARD — vertical
   ============================================================ */
.post-card {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--gris6);
  padding-bottom: 24px;
  margin-bottom: 24px;
}
.post-card:last-child { border: none; }
.post-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  margin-bottom: 14px;
  background: var(--gris7);
}
.post-card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.post-card:hover .post-card-img-wrap img { transform: scale(1.04); }
.post-card-type {
  position: absolute;
  bottom: 8px; left: 8px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-family: var(--font-l);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.post-cat-label {
  display: inline-block;
  font-family: var(--font-l);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 3px 8px;
  margin-bottom: 8px;
  color: #fff;
  background: var(--v2);
}
.post-card-title {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 700;
  color: var(--gris1);
  line-height: 1.25;
  margin-bottom: 8px;
}
.post-card-title a { color: inherit; }
.post-card-title a:hover { color: var(--v2); }
.post-card-excerpt {
  font-size: 14px;
  color: var(--gris3);
  line-height: 1.65;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--gris4);
  flex-wrap: wrap;
}
.post-card-author {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gris3);
  font-weight: 700;
}
.post-card-author img {
  width: 20px; height: 20px;
  border-radius: 50%;
  object-fit: cover;
}
.post-card-meta-dot { color: var(--gris5); }

/* POST CARD — pequeño horizontal */
.post-card-sm {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gris6);
  text-decoration: none;
}
.post-card-sm:last-child { border: none; }
.post-card-sm-img {
  width: 80px; height: 64px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--gris7);
}
.post-card-sm:hover .post-card-sm-img { opacity: .88; }
.post-card-sm-title {
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 600;
  color: var(--gris1);
  line-height: 1.3;
  transition: color .2s;
}
.post-card-sm:hover .post-card-sm-title { color: var(--v2); }
.post-card-sm-date { font-size: 11px; color: var(--gris4); margin-top: 4px; }

/* POST CARD — featured grande con overlay */
.post-card-feat {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}
.post-card-feat img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .5s ease;
}
.post-card-feat:hover img { transform: scale(1.04); }
.post-card-feat-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 100%);
  padding: 24px 18px;
}
.post-card-feat-title {
  font-family: var(--font-h);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.post-card-feat:hover .post-card-feat-title { color: var(--v4); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar-widget { margin-bottom: 32px; }
.sidebar-widget-title {
  font-family: var(--font-l);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gris1);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gris1);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-widget-title i { color: var(--v3); }

/* Sidebar post list */
.sidebar-post {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gris6);
  text-decoration: none;
  align-items: flex-start;
}
.sidebar-post:last-child { border: none; }
.sidebar-post-num {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 800;
  color: var(--gris6);
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
  transition: color .2s;
}
.sidebar-post:hover .sidebar-post-num { color: var(--v3); }
.sidebar-post-img {
  width: 72px; height: 58px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--gris7);
}
.sidebar-post-title {
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 600;
  color: var(--gris1);
  line-height: 1.3;
  transition: color .2s;
}
.sidebar-post:hover .sidebar-post-title { color: var(--v2); }
.sidebar-post-meta { font-size: 11px; color: var(--gris4); margin-top: 3px; }

/* Tags */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud a {
  display: inline-block;
  border: 1px solid var(--gris5);
  color: var(--gris3);
  padding: 5px 12px;
  font-size: 12px;
  font-family: var(--font-l);
  letter-spacing: .5px;
  transition: all .2s;
}
.tag-cloud a:hover { background: var(--v2); border-color: var(--v2); color: #fff; }

/* Newsletter widget */
.newsletter-widget {
  background: var(--v1);
  padding: 24px;
  text-align: center;
}
.newsletter-widget h5 {
  font-family: var(--font-h);
  font-size: 18px;
  color: #fff;
  margin-bottom: 6px;
}
.newsletter-widget p { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.newsletter-widget input {
  width: 100%;
  padding: 9px 12px;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  color: #fff;
  margin-bottom: 0;
}
.newsletter-widget input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-widget input:focus { outline: none; border-color: var(--v3); background: rgba(255,255,255,.12); }
.newsletter-widget button {
  width: 100%;
  padding: 9px;
  background: var(--v3);
  color: #fff;
  border: none;
  font-family: var(--font-l);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}
.newsletter-widget button:hover { background: var(--v4); color: var(--v1); }

/* ============================================================
   BANNER ADS
   ============================================================ */
.ad-wrap {
  text-align: center;
  padding: 16px 0;
  margin: 8px 0;
  border-top: 1px solid var(--gris6);
  border-bottom: 1px solid var(--gris6);
}
.ad-wrap .ad-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gris5);
  margin-bottom: 6px;
  font-family: var(--font-l);
}
.ad-wrap img, .ad-wrap a { max-width: 100%; }
.jardines-banner { margin: 16px 0; }
.jardines-banner img { max-width: 100%; border-radius: var(--r); }

/* ============================================================
   ARTÍCULO — página de post
   ============================================================ */
.article-hero {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}
.article-header {
  padding: 32px 0 20px;
  border-bottom: 1px solid var(--gris6);
  margin-bottom: 28px;
}
.article-cat {
  display: inline-block;
  font-family: var(--font-l);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: var(--v2);
  padding: 4px 10px;
  margin-bottom: 14px;
}
.article-title {
  font-family: var(--font-h);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--gris1);
  line-height: 1.15;
  margin-bottom: 14px;
}
.article-excerpt {
  font-size: 18px;
  color: var(--gris3);
  line-height: 1.65;
  margin-bottom: 16px;
  font-style: italic;
  font-family: var(--font-h);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--gris4);
  padding-top: 14px;
  border-top: 1px solid var(--gris6);
}
.article-author-img {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--v4);
}
.article-meta strong { color: var(--gris2); }
.article-meta-sep { color: var(--gris5); }

/* Barra de herramientas de lectura */
.reading-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  margin-bottom: 24px;
  border-top: 1px solid var(--gris6);
  border-bottom: 1px solid var(--gris6);
  flex-wrap: wrap;
}
.reading-toolbar-label {
  font-family: var(--font-l);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gris4);
}
.rtb {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border: 1px solid var(--gris6);
  background: var(--gris7);
  color: var(--gris3);
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font-b);
  transition: all .2s;
}
.rtb:hover { border-color: var(--v3); color: var(--v2); background: var(--v6); }
.rtb.active { background: var(--v2); color: #fff; border-color: var(--v2); }
.rtb-sep { width: 1px; height: 18px; background: var(--gris6); margin: 0 2px; }
.font-display { font-family: var(--font-l); font-size: 12px; color: var(--gris4); min-width: 32px; text-align: center; }

/* Progreso de lectura */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--v3);
  z-index: 9999;
  transition: width .1s linear;
}

/* Contenido del artículo */
.post-content {
  font-size: var(--font-size-art);
  line-height: var(--lh-art);
  color: var(--gris2);
}
.post-content > p:first-child::first-letter {
  font-family: var(--font-h);
  font-size: 3.8em;
  font-weight: 800;
  float: left;
  line-height: .75;
  margin: 8px 10px 0 0;
  color: var(--v2);
}
.post-content h2 {
  font-family: var(--font-h);
  font-size: 1.7em;
  color: var(--gris1);
  margin: 2em 0 .7em;
  padding-bottom: .4em;
  border-bottom: 1px solid var(--gris6);
}
.post-content h3 {
  font-family: var(--font-h);
  font-size: 1.3em;
  color: var(--gris1);
  margin: 1.5em 0 .5em;
}
.post-content p { margin-bottom: 1.4em; }
.post-content ul, .post-content ol { padding-left: 1.5em; margin-bottom: 1.4em; }
.post-content li { margin-bottom: .5em; }
.post-content blockquote {
  border-left: 3px solid var(--v2);
  padding: 16px 20px;
  margin: 1.8em 0;
  background: var(--v6);
  font-family: var(--font-h);
  font-style: italic;
  font-size: 1.1em;
  color: var(--v1);
}
.post-content img { border-radius: var(--r); margin: 1.5em 0; }
.post-content a { color: var(--v2); border-bottom: 1px solid var(--v4); }
.post-content a:hover { color: var(--v1); }
.post-content strong { color: var(--gris1); }
.post-content code { background: var(--gris7); padding: 2px 6px; font-size: .9em; }

body.modo-lectura .article-body { max-width: 720px; margin: 0 auto; }

/* Botón comentar */
.btn-comentar {
  background: var(--v2);
  color: #fff;
  border: none;
  padding: 10px 28px;
  font-family: var(--font-l);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}
.btn-comentar:hover { background: var(--v1); }

.comment-item { display: flex; gap: 14px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--gris6); }
.comment-item:last-child { border: none; }
.comment-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.comment-author { font-weight: 700; font-size: 14px; color: var(--gris1); }
.comment-date { font-size: 12px; color: var(--gris4); margin-left: 8px; }
.comment-text { font-size: 14px; color: var(--gris2); margin-top: 5px; line-height: 1.65; }
.comment-replies { margin-left: 56px; border-left: 2px solid var(--gris6); padding-left: 16px; margin-top: 12px; }

/* ============================================================
   PAGINACIÓN
   ============================================================ */
.pagination .page-link { border-radius: 0 !important; border-color: var(--gris6); color: var(--gris2); font-size: 13px; }
.pagination .page-link:hover { background: var(--v6); border-color: var(--v3); color: var(--v2); }
.pagination .page-item.active .page-link { background: var(--v2); border-color: var(--v2); }

/* ============================================================
   TOAST
   ============================================================ */
.jardines-toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--gris1);
  color: #fff;
  padding: 12px 20px;
  font-size: 14px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow2);
  animation: toastIn .25s ease;
  max-width: 300px;
  border-left: 3px solid var(--v3);
}
.jardines-toast.danger { border-left-color: #e74c3c; }
@keyframes toastIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--gris1);
  color: rgba(255,255,255,.55);
  margin-top: 56px;
}
.footer-top { padding: 48px 0 36px; }
.footer-logo {
  font-family: var(--font-h);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.footer-logo span { color: var(--v3); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: 18px; line-height: 1.7; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all .2s;
}
.footer-social a:hover { background: var(--v3); color: #fff; }
.footer-heading {
  font-family: var(--font-l);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.5); font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: var(--v4); }
.footer-newsletter input {
  width: 100%;
  padding: 9px 12px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  font-size: 13px;
  margin-bottom: 0;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter input:focus { outline: none; border-color: var(--v3); background: rgba(255,255,255,.1); }
.footer-newsletter button {
  width: 100%;
  padding: 9px;
  background: var(--v2);
  border: none;
  color: #fff;
  font-family: var(--font-l);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}
.footer-newsletter button:hover { background: var(--v3); }
.footer-bottom {
  background: rgba(0,0,0,.3);
  padding: 14px 0;
  font-size: 12px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--v4); }

/* ============================================================
   COMUNIDAD, PERFIL, MEMBRESÍA (simplificados)
   ============================================================ */
.plan-card { background: var(--white); border: 1px solid var(--gris6); padding: 32px 24px; text-align: center; }
.plan-card.featured { border-top: 3px solid var(--v2); }
.plan-price { font-family: var(--font-h); font-size: 48px; font-weight: 800; color: var(--gris1); line-height: 1; }
.plan-price sub { font-size: 16px; color: var(--gris4); font-weight: 400; }
.plan-features { list-style: none; padding: 0; text-align: left; margin: 18px 0 24px; }
.plan-features li { padding: 8px 0; border-bottom: 1px solid var(--gris7); font-size: 14px; color: var(--gris2); display: flex; align-items: center; gap: 8px; }
.plan-features li::before { content: '✓'; color: var(--v3); font-weight: 700; }
.btn-plan { display: block; width: 100%; padding: 12px; font-family: var(--font-l); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; border: 2px solid var(--v2); color: var(--v2); text-align: center; background: transparent; cursor: pointer; transition: all .2s; }
.btn-plan:hover, .btn-plan.featured { background: var(--v2); color: #fff; }

/* ============================================================
   ADMIN CSS (sin cambios)
   ============================================================ */
.admin-metric-card { background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 1px 4px rgba(0,0,0,.08); border: 1px solid #eee; }
.admin-metric-value { font-size: 32px; font-weight: 800; color: #2d6a4f; line-height: 1; margin-bottom: 4px; }
.admin-metric-label { font-size: 12px; color: #888; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; }
.admin-metric-icon { font-size: 28px; opacity: .5; }
.admin-page-title h1 { font-size: 22px; font-weight: 700; color: #1a1a1a; margin: 0; }
.admin-page-title { margin-bottom: 24px; }
.admin-card { background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.08); border: 1px solid #eee; overflow: hidden; }
.admin-card-header { padding: 14px 20px; background: #f8f9fa; border-bottom: 1px solid #eee; font-weight: 700; font-size: 14px; color: #333; display: flex; align-items: center; }
.admin-card-body { padding: 16px; }
.admin-form-section { background: #fff; border-radius: 8px; padding: 24px; box-shadow: 0 1px 4px rgba(0,0,0,.08); border: 1px solid #eee; margin-bottom: 20px; }
.admin-form-section h5 { font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid #eee; }
.admin-nav-link { display: flex; align-items: center; gap: 10px; padding: 10px 16px; color: rgba(255,255,255,.7); font-size: 14px; border-radius: 6px; margin-bottom: 2px; transition: all .2s; text-decoration: none; }
.admin-nav-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-nav-link.active { background: rgba(82,183,136,.2); color: #95d5b2; }
.admin-nav-link i { width: 18px; text-align: center; font-size: 14px; }
.nav-section-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; color: rgba(255,255,255,.3); text-transform: uppercase; padding: 12px 16px 6px; }
.admin-quick-link { display: flex; align-items: center; gap: 10px; padding: 12px 16px; color: #333; font-size: 14px; border-bottom: 1px solid #eee; transition: all .2s; text-decoration: none; }
.admin-quick-link:hover { background: #f8f9fa; color: #2d6a4f; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .header-auth { position: static; transform: none; margin-top: 10px; }
  .header-top  { padding: 18px 0 12px; }
  .hero-slide  { height: 380px; }
  .hero-content { padding: 24px 20px; }
  .trending-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero-thumbs { display: none; }
  .main-nav .container { flex-wrap: wrap; }
  .nav-list { display: none; }
  .nav-list.open { display: flex; flex-direction: column; width: 100%; border-top: 1px solid var(--gris6); }
  .nav-list > li > a { padding: 11px 0; border-bottom: 1px solid var(--gris7); }
  .nav-list > li > a::after { display: none; }
  .mobile-nav-toggle { display: block; }
  .nav-search { width: 100%; margin: 8px 0; }
  .nav-search input { width: 100%; }
}
@media (max-width: 767px) {
  .hero-slide  { height: 280px; }
  .hero-title  { font-size: 20px; }
  .trending-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .trending-section { padding: 20px 0; }
  .article-title { font-size: 24px; }
  .reading-toolbar { gap: 6px; }
  .comment-replies { margin-left: 28px; }
  .author-bio { flex-direction: column; }
  .hero-content { padding: 16px; }
}
@media (max-width: 480px) {
  .logo-name { font-size: 24px; }
  .trending-grid { grid-template-columns: 1fr; }
  .hero-slide { height: 240px; }
  .article-excerpt { font-size: 16px; }
}

/* MODO OSCURO ajustes */
[data-theme="dark"] .site-header,
[data-theme="dark"] .main-nav { background: #1a1a1a; border-color: #2a2a2a; }
[data-theme="dark"] .post-card-title a,
[data-theme="dark"] .sidebar-post-title,
[data-theme="dark"] .article-title { color: #f0f0f0; }
[data-theme="dark"] .post-card,
[data-theme="dark"] .comment-form-wrap,
[data-theme="dark"] .author-bio { background: #1e1e1e; border-color: #2a2a2a; }
[data-theme="dark"] .nav-list > li > a { color: #ccc; }
[data-theme="dark"] .section-divider { border-color: #444; }
[data-theme="dark"] .section-title { color: #e0e0e0; }
[data-theme="dark"] .post-content h2 { border-color: #333; }
[data-theme="dark"] .nav-dropdown,
[data-theme="dark"] .user-dropdown { background: #1a1a1a; border-color: #333; }
[data-theme="dark"] .nav-dropdown a,
[data-theme="dark"] .user-dropdown a { color: #ccc; border-color: #2a2a2a; }
[data-theme="dark"] .nav-dropdown a:hover,
[data-theme="dark"] .user-dropdown a:hover { background: #252525; }

/* ============================================================
   BOTONES DE COMPARTIR
   ============================================================ */
.article-share {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid var(--gris6);
  border-bottom: 1px solid var(--gris6);
  margin: 28px 0;
  flex-wrap: wrap;
}
.share-label {
  font-family: var(--font-l);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gris4);
  margin-right: 4px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  font-family: var(--font-l);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  color: #fff;
  text-decoration: none;
}
.share-btn:hover { opacity: .88; transform: translateY(-1px); color: #fff; }
.share-btn.fb  { background: #1877f2; }
.share-btn.wa  { background: #25d366; }
.share-btn.tw  { background: #1da1f2; }
.share-btn.cp  { background: var(--gris3); }
