/* --- Tus reglas de mayúsculas --- */
.wp-block-post-title a { text-transform: none !important; }
.entry-title { text-transform: none !important; }
h2 { text-transform: none !important; }

/* --- Botón MENÚ y puntitos ••• (pastilla verde) --- */
.hamburger-wrapper .hamburger{ isolation:isolate; }
.hamburger-wrapper .hamburger::before{ content:""; position:absolute; top:-12px; right:-16px; bottom:-15px; left:-16px; background:var(--herba-green,#4a7c59); border-radius:12px; box-shadow:0 2px 8px rgba(0,0,0,.20); z-index:-1; transition:background .2s ease; }
.hamburger-wrapper .hamburger:hover::before{ background:var(--herba-green-dark,#35603f); }
.sidebar-control-wrapper{ isolation:isolate; }
.sidebar-control-wrapper::before{ content:""; position:absolute; top:-8px; right:-14px; bottom:-6px; left:-8px; background:var(--herba-green,#4a7c59); border-radius:11px; box-shadow:0 2px 8px rgba(0,0,0,.20); z-index:-1; transition:background .2s ease; }
.sidebar-control-wrapper:hover::before{ background:var(--herba-green-dark,#35603f); }
.has-menu-open .sidebar-control-wrapper::before{ opacity:0; }

/* --- Botón "Hazte Premium" del menú lateral --- */
.herba-premium-cta{ display:block; text-align:center; background:var(--herba-green,#4a7c59); color:#fff !important; font-weight:700; padding:12px 18px; border-radius:10px; text-decoration:none; box-shadow:0 2px 8px rgba(0,0,0,.18); transition:background .2s ease; margin:0 0 18px; }
.herba-premium-cta:hover{ background:var(--herba-green-dark,#35603f); color:#fff !important; }

/* --- Panel del título y subtítulo --- */
.site-branding{
	background:rgba(53,96,63,.90);
	padding:10px 9px 10px !important;
	border-radius:16px;
	display:inline-block !important;
	box-shadow:0 3px 14px rgba(0,0,0,.28);
}
.site-title{ margin-bottom:6px; }
.site-title a, .site-title a:visited{ color:#fff !important; text-shadow:0 1px 2px rgba(0,0,0,.35); }
.site-description{ color:#eafaef !important; text-shadow:0 1px 2px rgba(0,0,0,.35); }

/* ===== Portada · Novedades compactas ===== */
.herba-home-recent .entry-image-wrapper{height:230px!important;}
.herba-home-recent .entry-content-wrapper{margin-top:72px!important;padding:20px 24px!important;min-height:0!important;height:auto!important;}
.herba-home-recent .entry-meta,
.herba-home-recent .entry-meta *{font-size:12px!important;}
.herba-home-recent .entry-meta{margin-bottom:6px!important;}
.herba-home-recent .entry-header{margin-bottom:10px!important;padding-bottom:0!important;}
.herba-home-recent .entry-title{font-size:22px!important;line-height:1.3!important;margin:0 0 8px!important;}
.herba-home-recent .entry-summary,
.herba-home-recent .entry-summary p{font-size:16px!important;line-height:1.55!important;margin:0!important;}
.herba-home-recent .more-link-wrapper{margin-top:10px!important;}
.herba-home-recent .more-link{font-size:12px!important;}
.herba-home-recent article{margin-bottom:30px!important;}
@media(min-width:783px){
  .herba-home-recent{align-items:stretch!important;}
  .herba-home-recent article{display:flex!important;flex-direction:column!important;}
  .herba-home-recent .entry-content-wrapper{flex:1 1 auto!important;min-height:290px!important;}
}

.entry-content a.wp-block-file__button,
.entry-content a.wp-block-file__button:hover,
.entry-content a.wp-block-file__button:focus,
.entry-content a.wp-block-file__button:visited {
	background-color: #3b7bb0;
	color: #ffffff;
}



/* =========================================================
   HERBAMOL · Portada — ajustes que no cubre el tema
   Versión 1.2.0 — 2026-08-18
   El alto del hero, la flecha y el velo los controla ahora
   Herba 2.2.0 desde Personalizar → Cabecera.
   ========================================================= */
.site-branding{ background:rgba(53,96,63,.94) !important; }
.site-description{ text-transform:none !important; }

/* Imagen distinta en móvil */
@media (max-width:782px){
	.site-hero-wrapper-custom-header .entry-image-site-hero{
		background-image:url(https://herbamol.blog/wp-content/uploads/2026/08/hero-herbamol-mobile-v1.1.0.webp) !important;
		background-position:50% 50% !important;
	}
}
/* ===== fin v1.2.0 ===== */



.jetpack-subscription-modal { display: none !important; }




/* =========================================================
   HERBAMOL · CSS adicional (Personalizar → CSS adicional)
   Versión 1.1.0 — copia de referencia a 23/08/2026
   Vive en la base de datos, NO en los archivos del tema.
   ========================================================= */

/* --- Tus reglas de mayúsculas --- */
.wp-block-post-title a { text-transform: none !important; }
.entry-title { text-transform: none !important; }
h2 { text-transform: none !important; }

/* --- Botón MENÚ y puntitos ••• (pastilla verde) --- */
.hamburger-wrapper .hamburger{ isolation:isolate; }
.hamburger-wrapper .hamburger::before{ content:""; position:absolute; top:-12px; right:-16px; bottom:-15px; left:-16px; background:var(--herba-green,#4a7c59); border-radius:12px; box-shadow:0 2px 8px rgba(0,0,0,.20); z-index:-1; transition:background .2s ease; }
.hamburger-wrapper .hamburger:hover::before{ background:var(--herba-green-dark,#35603f); }
.sidebar-control-wrapper{ isolation:isolate; }
.sidebar-control-wrapper::before{ content:""; position:absolute; top:-8px; right:-14px; bottom:-6px; left:-8px; background:var(--herba-green,#4a7c59); border-radius:11px; box-shadow:0 2px 8px rgba(0,0,0,.20); z-index:-1; transition:background .2s ease; }
.sidebar-control-wrapper:hover::before{ background:var(--herba-green-dark,#35603f); }
.has-menu-open .sidebar-control-wrapper::before{ opacity:0; }

/* --- Botón "Hazte Premium" del menú lateral --- */
.herba-premium-cta{ display:block; text-align:center; background:var(--herba-green,#4a7c59); color:#fff !important; font-weight:700; padding:12px 18px; border-radius:10px; text-decoration:none; box-shadow:0 2px 8px rgba(0,0,0,.18); transition:background .2s ease; margin:0 0 18px; }
.herba-premium-cta:hover{ background:var(--herba-green-dark,#35603f); color:#fff !important; }

/* --- Panel del título y subtítulo --- */
.site-branding{
	background:rgba(53,96,63,.90);
	padding:10px 9px 10px !important;
	border-radius:16px;
	display:inline-block !important;
	box-shadow:0 3px 14px rgba(0,0,0,.28);
}
.site-title{ margin-bottom:6px; }
.site-title a, .site-title a:visited{ color:#fff !important; text-shadow:0 1px 2px rgba(0,0,0,.35); }
.site-description{ color:#eafaef !important; text-shadow:0 1px 2px rgba(0,0,0,.35); }

/* ===== Portada · Banner publicitario ===== */
.herba-home-banner{
	text-align:center;
	margin:0 auto 1.5rem;
}
.herba-home-banner-link,
.herba-home-banner-picture{
	display:inline-block;
	line-height:0;              /* sin hueco fantasma bajo la imagen */
}
.herba-home-banner-img{
	display:inline-block;
	max-width:100%;             /* nunca más ancho que la columna */
	height:auto;                /* mantiene la proporción de la imagen */
}
/* ===== fin Banner publicitario ===== */

/* ===== Portada · Novedades compactas ===== */
.herba-home-recent .entry-image-wrapper{height:230px!important;}
.herba-home-recent .entry-content-wrapper{margin-top:72px!important;padding:20px 24px!important;min-height:0!important;height:auto!important;}
.herba-home-recent .entry-meta,
.herba-home-recent .entry-meta *{font-size:12px!important;}
.herba-home-recent .entry-meta{margin-bottom:6px!important;}
.herba-home-recent .entry-header{margin-bottom:10px!important;padding-bottom:0!important;}
.herba-home-recent .entry-title{font-size:22px!important;line-height:1.3!important;margin:0 0 8px!important;}
.herba-home-recent .entry-summary,
.herba-home-recent .entry-summary p{font-size:16px!important;line-height:1.55!important;margin:0!important;}
.herba-home-recent .more-link-wrapper{margin-top:10px!important;}
.herba-home-recent .more-link{font-size:12px!important;}
.herba-home-recent article{margin-bottom:30px!important;}
@media(min-width:783px){
  .herba-home-recent{align-items:stretch!important;}
  .herba-home-recent article{display:flex!important;flex-direction:column!important;}
  .herba-home-recent .entry-content-wrapper{flex:1 1 auto!important;min-height:290px!important;}
}

/* --- Botón de descarga de archivos --- */
.entry-content a.wp-block-file__button,
.entry-content a.wp-block-file__button:hover,
.entry-content a.wp-block-file__button:focus,
.entry-content a.wp-block-file__button:visited {
	background-color: #3b7bb0;
	color: #ffffff;
}

/* =========================================================
   NOTA SOBRE LAS TIRAS DE SERIE
   Este CSS adicional NO contiene ninguna regla para
   .herba-home-series / .herba-series-card / .herba-series-thumb /
   .herba-series-title. Su aspecto viene del style.css del tema Herba.
   La única regla que alcanza a las tiras es la de h2, que afecta al
   título .herba-home-section-title (igual en todas, Tira 0 incluida).
   ========================================================= */


/* Móvil · SOLO portada: aparta la "S" al abrir el menú (•••) para no tapar la X (v1.2.1) */
@media (max-width: 782px){
  body.home.has-sidebar-open .hb-right{ right: 64px !important; }
}

/* Blinda la barra de menú del plugin frente a las calculadoras que usan .hb-bar (v1.3.0) */
#hb-menu-tab .hb-bar{ height:auto !important; overflow:visible !important; border:0 !important; border-radius:0 !important; margin:0 !important; }
#hb-menu-tab .hb-bar span{ height:auto !important; }

/* Enlaces del contenido en verde (solo enlaces de texto sin clase) - 26/08 */
.entry-content a:not([class]):not([style*="background"]){color:#3E6B4A !important;}
