/* Artículos de Esneagri (clases .esne-*). Generado el 29-10-2026 desde ~/.claude/skills/cliente-esneagri/estilos.css:
   las variables se declaran solo dentro de .esne-post para no pisar el CSS de la web. */
.esne-post{--bg:#f6f7f3;
  --card:#ffffff;
  --text:#1f2520;
  --muted:#5f675f;
  --line:#d8dfd3;
  --green:#17652f;
  --green-dark:#0f3f20;
  --green-soft:#eaf4ed;
  --blue:#0d315f;
  --blue-dark:#071d38;
  --blue-soft:#eaf1f8;
  --yellow:#f5c542;
  --yellow-soft:#fff6d8;
  --red:#c9342f;
  --red-soft:#fdecea;
  --shadow:0 8px 24px rgba(0,0,0,.05);
  --shadow-strong:0 16px 40px rgba(0,0,0,.12);;max-width:none;margin:0;padding:0;color:var(--text);line-height:1.65}
.esne-post *{box-sizing:border-box}

/* HERO / CABECERA */

.esne-hero {
  background:linear-gradient(135deg, var(--green-dark) 0%, var(--green) 55%, var(--blue) 100%);
  color:#fff;
  border-radius:22px;
  padding:38px 34px;
  margin-bottom:24px;
  box-shadow:var(--shadow-strong);
  position:relative;
  overflow:hidden;
}

.esne-hero::after {
  content:"";
  position:absolute;
  right:-80px;
  bottom:-100px;
  width:280px;
  height:280px;
  background:rgba(255,255,255,.08);
  border-radius:50%;
}

.esne-hero h1 {
  margin:0 0 14px;
  font-size:clamp(2rem, 4vw, 3.1rem);
  line-height:1.12;
  letter-spacing:-.03em;
}

.esne-hero p {
  color:#edf8ef;
  font-size:1.07rem;
  max-width:980px;
  margin:0 0 14px;
}

.esne-hero strong {
  color:#fff;
}

/* TARJETAS */

.esne-card {
  background:var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  padding:24px;
  margin-bottom:20px;
  box-shadow:var(--shadow);
}

.esne-card h2 {
  font-size:1.85rem;
  margin:0 0 12px;
  line-height:1.2;
  color:var(--green-dark);
}

.esne-card h3 {
  font-size:1.4rem;
  margin:26px 0 12px;
  color:var(--green);
  line-height:1.25;
}

.esne-card h4 {
  font-size:1.12rem;
  margin:18px 0 8px;
  color:var(--blue);
}

.esne-card p {
  margin:0 0 14px;
}

.esne-card ul,
.esne-card ol {
  margin:0 0 14px;
  padding-left:1.25rem;
}

.esne-card li {
  margin-bottom:8px;
}

.esne-card strong {
  color:var(--green-dark);
}

/* IMÁGENES */

.esne-img {
  width:100%;
  height:auto;
  border-radius:18px;
  margin:18px 0;
  display:block;
  box-shadow:var(--shadow);
  border:1px solid var(--line);
}

.esne-img-caption {
  color:var(--muted);
  font-size:.92rem;
  margin-top:-8px;
  margin-bottom:18px;
}

/* NOTAS Y AVISOS */

.esne-note {
  padding:15px 17px;
  border-left:5px solid var(--green);
  background:var(--green-soft);
  border-radius:12px;
  margin:16px 0;
}

.esne-note strong {
  color:var(--green-dark);
}

.esne-info {
  padding:15px 17px;
  border-left:5px solid var(--blue);
  background:var(--blue-soft);
  border-radius:12px;
  margin:16px 0;
}

.esne-warning {
  padding:16px 18px;
  border-left:6px solid var(--yellow);
  background:var(--yellow-soft);
  border-radius:12px;
  margin:18px 0;
}

.esne-error {
  padding:16px 18px;
  border-left:6px solid var(--red);
  background:var(--red-soft);
  border-radius:12px;
  margin:18px 0;
}

.esne-error strong {
  color:var(--red);
}

/* BLOQUES DESTACADOS */

.esne-highlight {
  background:linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color:#fff;
  border-radius:18px;
  padding:24px;
  margin:22px 0;
  box-shadow:var(--shadow-strong);
}

.esne-highlight h2,
.esne-highlight h3,
.esne-highlight p,
.esne-highlight strong {
  color:#fff;
}

/* GRID */

.esne-grid {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
  margin-top:18px;
}

.esne-grid-2 {
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:18px;
  margin-top:18px;
}

.esne-box {
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:20px;
  box-shadow:0 6px 18px rgba(0,0,0,.035);
}

.esne-box h3 {
  margin-top:0;
}

/* BADGES */

.esne-badge {
  display:inline-block;
  background:var(--green-soft);
  color:var(--green-dark);
  border:1px solid var(--line);
  padding:6px 11px;
  border-radius:999px;
  font-weight:700;
  font-size:.85rem;
  margin-bottom:10px;
}

.esne-badge-blue {
  background:var(--blue-soft);
  color:var(--blue);
}

/* CHECKLIST */

.esne-checklist {
  list-style:none;
  padding-left:0 !important;
}

.esne-checklist li {
  position:relative;
  padding-left:30px;
  margin-bottom:10px;
}

.esne-checklist li::before {
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  width:20px;
  height:20px;
  background:var(--green);
  color:#fff;
  border-radius:50%;
  font-size:.8rem;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}

/* TABLAS */

.esne-table-wrap {
  overflow-x:auto;
  border:1px solid var(--line);
  border-radius:16px;
  margin:16px 0 22px;
  background:#fff;
}

.esne-table {
  width:100%;
  border-collapse:collapse;
  min-width:760px;
}

.esne-table th,
.esne-table td {
  border-bottom:1px solid var(--line);
  padding:13px 15px;
  text-align:left;
  vertical-align:top;
  font-size:.95rem;
}

.esne-table th {
  background:var(--green-soft);
  color:var(--green-dark);
  font-weight:700;
}

.esne-table tr:nth-child(even) td {
  background:#fbfcfa;
}

/* CTA */

.esne-cta {
  background:linear-gradient(135deg, var(--green-dark) 0%, var(--green) 55%, var(--blue) 100%);
  color:#fff;
  border-radius:20px;
  padding:30px;
  margin-top:24px;
  box-shadow:var(--shadow-strong);
}

.esne-cta h2,
.esne-cta h3,
.esne-cta p,
.esne-cta strong {
  color:#fff;
}

.esne-btn {
  display:inline-block;
  background:#fff;
  color:var(--green);
  font-weight:700;
  padding:12px 19px;
  border-radius:999px;
  text-decoration:none;
  margin-top:8px;
}

.esne-btn:hover {
  text-decoration:none;
  opacity:.9;
}

/* FAQ */

details.esne-faq {
  border:1px solid var(--line);
  border-radius:12px;
  padding:14px 16px;
  background:#fff;
  margin-bottom:12px;
}

details.esne-faq summary {
  cursor:pointer;
  font-weight:700;
  color:var(--green-dark);
}

/* TEXTO AUXILIAR */

.esne-small {
  color:var(--muted);
  font-size:.95rem;
}

.esne-divider {
  height:1px;
  background:var(--line);
  margin:24px 0;
}

/* RESPONSIVE */

@media (max-width:900px) {
  .esne-grid {
    grid-template-columns:1fr 1fr;
  }

  .esne-grid-2 {
    grid-template-columns:1fr;
  }
}

@media (max-width:640px) {
  .esne-post {
    padding:24px 14px 48px;
  }

  .esne-hero,
  .esne-card,
  .esne-cta,
  .esne-highlight {
    padding:22px;
    border-radius:16px;
  }

  .esne-grid {
    grid-template-columns:1fr;
  }

  .esne-card h2 {
    font-size:1.55rem;
  }

  .esne-card h3 {
    font-size:1.25rem;
  }
}

/* 29-10-2026: enlaces y citas dentro de la cabecera oscura (el verde de la web no se ve sobre el verde) */
.esne-hero a,.esne-highlight a,.esne-cta a:not(.esne-btn){color:#fff;text-decoration:underline;text-underline-offset:3px}
.esne-hero a:hover,.esne-highlight a:hover{color:#f5c518}
