/* Traviesas — estilo reversible para seis landings, versión 1.0.0
   NO afecta al blog ni altera los módulos internos de Content Egg. */
body.tdl-landing-theme { --tdl-green:#244d39; --tdl-deep:#173828; --tdl-warm:#f3f6f0; --tdl-border:#dce6dc; --tdl-text:#273a2d; --tdl-sub:#53675b; }
/* Encabezado original de GeneratePress. Sin cambiar el H1 almacenado. */
body.tdl-landing-theme .site-main .entry-header { background:linear-gradient(130deg,#f0f5ec 0%,#fff9f1 100%); border:1px solid var(--tdl-border); border-radius:16px; padding:clamp(22px,4vw,38px); margin-bottom:22px; }
body.tdl-landing-theme .site-main .entry-header .entry-title { color:var(--tdl-deep); font-size:clamp(31px,4vw,43px); line-height:1.16; letter-spacing:-.025em; margin:0; font-weight:750; }
/* Tipografía y elementos nativos, limitados a hijos directos: no entra en bloques Content Egg. */
body.tdl-landing-theme .entry-content { color:var(--tdl-text); }
body.tdl-landing-theme .entry-content > p { color:var(--tdl-text); line-height:1.78; font-size:clamp(16px,1.6vw,18px); margin-bottom:1.2em; }
body.tdl-landing-theme .entry-content > h2,
body.tdl-landing-theme .entry-content > .wp-block-heading:is(h2) { font-weight:750; letter-spacing:-.015em; font-size:clamp(24px,2.7vw,31px); line-height:1.24; color:var(--tdl-deep); border-bottom:2px solid var(--tdl-border); padding-bottom:11px; margin-top:46px; margin-bottom:20px; }
body.tdl-landing-theme .entry-content > h3,
body.tdl-landing-theme .entry-content > .wp-block-heading:is(h3) { color:var(--tdl-green); font-weight:700; margin-top:27px; }
body.tdl-landing-theme .entry-content > ul,
body.tdl-landing-theme .entry-content > ol { background:#f8faf6; border:1px solid #e3eae0; border-radius:12px; padding:19px 22px 19px 42px; margin-top:14px; margin-bottom:26px; line-height:1.65; }
body.tdl-landing-theme .entry-content > ul li+li,
body.tdl-landing-theme .entry-content > ol li+li { margin-top:7px; }
body.tdl-landing-theme .entry-content > figure.wp-block-image:first-of-type img,
body.tdl-landing-theme .entry-content > .wp-block-image:first-of-type img,
body.tdl-landing-theme .entry-content > p:first-child > img { display:block; width:100%; max-height:345px; height:auto; object-fit:cover; border-radius:14px; }
body.tdl-landing-theme .entry-content > figure.wp-block-image:first-of-type,
body.tdl-landing-theme .entry-content > .wp-block-image:first-of-type { margin-bottom:25px; }
body.tdl-landing-theme .entry-content > .wp-block-table { overflow-x:auto; border-radius:10px; }
body.tdl-landing-theme .entry-content > .wp-block-table table { border-collapse:collapse; }
body.tdl-landing-theme .entry-content > .wp-block-table th { background:var(--tdl-green); color:#fff; }
body.tdl-landing-theme .entry-content > .wp-block-table td { border-color:var(--tdl-border); }
body.tdl-landing-theme .entry-content a:not(.tdl-guide__link):focus-visible { outline:3px solid #b88b46; outline-offset:3px; }
/* Mini-guía contextual: HTML añadido SOLO a la salida pública de esta página. */
body.tdl-landing-theme .tdl-guide { box-sizing:border-box; background:linear-gradient(145deg,#244d39,#1d4030); border-radius:16px; padding:clamp(20px,3.4vw,32px); color:#fff; margin:27px 0 34px; box-shadow:0 10px 28px rgba(20,52,34,.11); }
body.tdl-landing-theme .tdl-guide *,body.tdl-landing-theme .tdl-guide *::before,body.tdl-landing-theme .tdl-guide *::after { box-sizing:border-box; }
body.tdl-landing-theme .tdl-guide__eyebrow { display:block; font-size:11px; font-weight:750; letter-spacing:.14em; color:#cee3d4; margin-bottom:8px; }
body.tdl-landing-theme .tdl-guide__title { font-size:clamp(22px,2.5vw,28px); font-weight:760; line-height:1.24; color:#fff; margin:0 0 6px; }
body.tdl-landing-theme .tdl-guide__intro { font-size:15.5px; line-height:1.6; max-width:750px; color:#e5ede5; margin:0 0 20px; }
body.tdl-landing-theme .tdl-guide__links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
body.tdl-landing-theme .tdl-guide__link { display:flex; align-items:center; justify-content:space-between; gap:9px; min-width:0; padding:14px 15px; background:#f9fbf7; color:#214735 !important; border:1px solid rgba(255,255,255,.4); border-radius:10px; text-decoration:none !important; font-size:14px; font-weight:700; line-height:1.3; transition:transform .15s ease,background-color .15s ease; }
body.tdl-landing-theme .tdl-guide__link:hover { background:#e9f2e9; transform:translateY(-2px); }
body.tdl-landing-theme .tdl-guide__link:focus-visible { outline:3px solid #f4c76b; outline-offset:3px; }
body.tdl-landing-theme .tdl-guide__arrow { font-size:18px; line-height:1; flex:0 0 auto; }
body.tdl-landing-theme .tdl-guide__preview { padding:10px 12px; background:#fff4da; color:#6b4515; border-radius:8px; font-size:13px; font-weight:700; margin:0 0 18px; }
/* No se cambia ninguna regla interna de .cegg, .cegg-list, .cegg-grid ni Content Egg. */
@media(max-width:782px){
 body.tdl-landing-theme .site-main .entry-header { padding:22px 19px; }
 body.tdl-landing-theme .tdl-guide__links { grid-template-columns:1fr; }
 body.tdl-landing-theme .tdl-guide { padding:20px 16px; }
 body.tdl-landing-theme .entry-content > ul,body.tdl-landing-theme .entry-content > ol { padding:16px 16px 16px 34px; }
 body.tdl-landing-theme .entry-content > figure.wp-block-image:first-of-type img,body.tdl-landing-theme .entry-content > .wp-block-image:first-of-type img { max-height:260px; }
}
@media(prefers-reduced-motion:reduce){body.tdl-landing-theme .tdl-guide__link { transition:none; } body.tdl-landing-theme .tdl-guide__link:hover { transform:none; }}
