/* Índice del blog (/blog/ y archivos de entradas) — plantilla Elementor #1931 «Florazo V1 – Archive».
 * Mismo lenguaje que los artículos (blog.css): papel, hojas, Josefin + Poppins, tarjetas blancas.
 * Todo va dentro de body:is(.blog,.category,.tag,.author,.date,.search). Para revertir: borra este archivo. */
body:is(.blog,.category,.tag,.author,.date,.search){--ba-ink:#0D281A;--ba-head:#204E36;--ba-text:#2B3A31;--ba-soft:#56665C;--ba-green:#1B7F4F;--ba-leaf:#22A366;--ba-mint:#E3F1E5;--ba-panel:#F3F8F4;--ba-cream:#FDEFBE;--ba-paper:#FBFAF6;--ba-line:#E1EBE3}

/* ---------- Portada: se conserva la foto, con el mismo velo verde y esquinas redondeadas que Contacto ---------- */
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-1931{background:var(--ba-paper)}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-60f87c34{position:relative;overflow:hidden;background-color:var(--ba-ink) !important;border-radius:0 0 clamp(24px,4vw,44px) clamp(24px,4vw,44px);
  padding:clamp(56px,8vw,112px) 0 clamp(52px,7vw,100px) !important;margin-bottom:clamp(28px,4vw,48px) !important}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-60f87c34>.elementor-background-overlay{opacity:.55 !important;z-index:0;background-size:cover !important;background-position:center 45% !important}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-60f87c34::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:radial-gradient(70% 90% at 50% 40%,rgba(13,40,26,.48),transparent 75%),linear-gradient(180deg,rgba(13,40,26,.58),rgba(13,40,26,.80))}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-60f87c34>.elementor-container{max-width:900px !important;position:relative;z-index:2}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-67937114>.elementor-element-populated{padding:0 20px !important;background:none !important}
/* Rótulo con hoja + título */
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-124f3e1d>.elementor-widget-container{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:0 10px}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-124f3e1d>.elementor-widget-container::before{content:"";order:-2;width:11px;height:11px;border-radius:0 70% 0 70%;background:var(--ba-cream);transform:rotate(45deg)}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-124f3e1d>.elementor-widget-container::after{content:"Guías y consejos";order:-1;display:flex;align-items:center;min-height:32px;font:600 13px/1 Poppins,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--ba-cream)}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-124f3e1d .elementor-heading-title{flex:1 1 100%;margin:8px 0 0 !important;font-family:"Josefin Sans",sans-serif !important;font-weight:700 !important;font-size:clamp(46px,7vw,76px) !important;line-height:1.02 !important;letter-spacing:-.025em !important;color:#fff !important;text-align:center !important;text-shadow:0 2px 24px rgba(0,0,0,.25)}
/* Subtítulo: línea de introducción */
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-784d6522{margin-top:14px !important}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-784d6522 .elementor-heading-title{max-width:58ch;margin:0 auto !important;font-family:Poppins,sans-serif !important;font-weight:400 !important;font-size:clamp(17px,1.6vw,20px) !important;line-height:1.6 !important;letter-spacing:0 !important;color:rgba(255,255,255,.92) !important;text-align:center !important;text-wrap:balance}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-784d6522 .elementor-heading-title:empty{display:none}

/* ---------- Rejilla de entradas ---------- */
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-4679cc80{background:var(--ba-paper) !important;padding:0 0 clamp(64px,8vw,112px) !important;margin:0 !important}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-4679cc80>.elementor-container{max-width:1200px !important}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-2599abd1>.elementor-element-populated{padding:0 clamp(16px,2.5vw,24px) !important}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-posts-container{gap:clamp(22px,2.4vw,32px) !important;align-items:stretch}
/* Tarjeta */
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post{position:relative;display:flex !important;flex-direction:column;margin:0 !important;padding:0 !important;background:#fff !important;border:1px solid var(--ba-line) !important;border-radius:22px !important;overflow:hidden;
  box-shadow:0 1px 2px rgba(13,40,26,.04),0 12px 30px rgba(13,40,26,.07) !important;transition:transform .25s ease,box-shadow .25s ease}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post:hover{transform:translateY(-4px);box-shadow:0 2px 4px rgba(13,40,26,.05),0 22px 44px rgba(13,40,26,.12) !important}
/* Imagen 4:3, recortada sin deformar */
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post__thumbnail__link{display:block !important;width:100% !important;margin:0 !important}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post__thumbnail{position:relative !important;height:auto !important;padding-bottom:0 !important;aspect-ratio:4/3;overflow:hidden;background:var(--ba-mint);border-radius:0 !important}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post__thumbnail img{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;max-width:none !important;object-fit:cover !important;object-position:50% 50%;transform:none !important;transition:scale .5s ease}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post:hover .elementor-post__thumbnail img{scale:1.04}
/* Encuadre de las portadas con texto (el título de la imagen queda a la vista) */
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .post-1047 .elementor-post__thumbnail img{object-position:50% 0}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .post-2145 .elementor-post__thumbnail img{object-position:50% 14%}
/* Texto de la tarjeta: fecha arriba, título, enlace al pie */
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post__text{display:flex !important;flex-direction:column;flex:1 1 auto;margin:0 !important;padding:20px 24px 10px !important}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post__meta-data{order:-1;display:flex;flex-wrap:wrap;align-items:center;gap:2px 0;margin:0 0 10px !important;font:500 14px/1.4 Poppins,sans-serif !important;color:var(--ba-soft) !important}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post__meta-data .elementor-post-date{display:inline-flex;align-items:center;gap:8px;color:var(--ba-green) !important;font-weight:600}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post__meta-data .elementor-post-date::before{content:"";width:9px;height:9px;border-radius:0 70% 0 70%;background:var(--ba-leaf);transform:rotate(45deg)}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post__meta-data span+span::before{content:"·" !important;margin:0 8px !important;color:var(--ba-soft)}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post__title{margin:0 0 18px !important;font-family:"Josefin Sans",sans-serif !important;font-size:clamp(21px,1.75vw,24px) !important;font-weight:700 !important;line-height:1.25 !important;letter-spacing:-.01em;text-wrap:pretty}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post__title a{color:var(--ba-ink) !important;font:inherit !important;text-decoration:none !important;transition:color .2s ease}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post__title a::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post:hover .elementor-post__title a{color:var(--ba-green) !important}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post__title a:focus-visible{outline:none}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post:has(.elementor-post__title a:focus-visible){outline:3px solid var(--ba-leaf);outline-offset:3px}
/* Extracto (si la plantilla lo muestra algún día): 3 renglones */
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post__excerpt{margin:-6px 0 18px !important}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post__excerpt p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:0 !important;font:400 17px/1.6 Poppins,sans-serif !important;color:var(--ba-text) !important}
/* «Leer Mas →» al pie de la tarjeta (texto original intacto) */
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post__read-more{position:relative;z-index:2;display:flex !important;align-items:center;justify-content:space-between;gap:12px;align-self:stretch;min-height:56px;margin:auto 0 0 !important;padding:6px 0 !important;border-top:1px solid var(--ba-line);font:600 16px/1.2 Poppins,sans-serif !important;letter-spacing:.01em;color:var(--ba-green) !important;text-decoration:none !important}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post__read-more::after{content:"→";display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--ba-mint);color:var(--ba-head);font:500 18px/1 Poppins,sans-serif;transition:background-color .2s ease,color .2s ease,transform .2s ease}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post:hover .elementor-post__read-more::after{background:var(--ba-green);color:#fff;transform:translateX(2px)}

/* ---------- Paginación y «Cargar más» (aparecen cuando haya más entradas) ---------- */
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:clamp(32px,4vw,48px) !important}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:0 !important;padding:0 14px;border-radius:999px;box-shadow:inset 0 0 0 1.5px rgba(27,127,79,.45);background:#fff;font:600 16px/1 Poppins,sans-serif !important;color:var(--ba-green) !important;text-decoration:none !important}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-pagination .page-numbers.current{background:var(--ba-head);box-shadow:none;color:#fff !important}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-pagination .page-numbers.dots{box-shadow:none;background:none}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-button-wrapper{margin-top:clamp(32px,4vw,48px) !important;text-align:center}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-button{display:inline-flex !important;align-items:center;gap:10px;min-height:52px;padding:0 30px !important;border-radius:999px !important;background:transparent !important;box-shadow:inset 0 0 0 1.5px var(--ba-green) !important;border:0 !important;font:600 16px/1.2 Poppins,sans-serif !important;color:var(--ba-green) !important;transition:background-color .2s ease,color .2s ease}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-button:hover{background:var(--ba-green) !important;color:#fff !important}
body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-posts-nothing-found{padding:28px;border-radius:18px;background:var(--ba-panel);font:400 18px/1.6 Poppins,sans-serif;color:var(--ba-text);text-align:center}

/* ---------- Tableta: la tarjeta sobrante ocupa el ancho, en horizontal ---------- */
@media (min-width:768px) and (max-width:1024px){
  body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post:last-child:nth-child(odd){grid-column:1/-1;display:grid !important;grid-template-columns:1fr 1fr}
  body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post:last-child:nth-child(odd) .elementor-post__thumbnail__link{height:100%}
  body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post:last-child:nth-child(odd) .elementor-post__thumbnail{height:100% !important;min-height:260px}
  body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post:last-child:nth-child(odd) .elementor-post__text{padding:28px 28px 12px !important}
}
@media (max-width:767px){
  body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-60f87c34{padding:56px 0 52px !important;margin-bottom:24px !important}
  body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post__text{padding:18px 20px 8px !important}
  body:is(.blog,.category,.tag,.author,.date,.search) .elementor-element-40b240b5 .elementor-post__title{font-size:22px !important}
}
