@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600&display=swap");
/* 1) El tema (Karuna) promociona automáticamente la PRIMERA imagen del
      contenido a imagen de cabecera. Como ninguna entrada tiene imagen
      destacada propia, esa cabecera era un duplicado: la misma imagen
      aparecía dos veces. La ocultamos. */
#masthead .wp-post-image {
	display: none;
}

/* 2) La imagen de cabecera personalizada (752px de alto) se mostraba en
      TODAS las páginas, empujando el título fuera de la pantalla.
      Tiene sentido en la portada, no en las páginas internas. */
body:not(.home) #masthead img.custom-header {
	display: none;
}

/* Accesibilidad — 23 septiembre 2026 */
.entry-meta, .entry-footer, .entry-meta a, .entry-meta time, .entry-footer a {
	color: #595959;
}

#top-menu a[aria-current="page"] {
	color: #5b2eaa;
	text-decoration: underline;
	text-underline-offset: .2em;
}

.search-field::placeholder {
	color: #595959;
	opacity: 1;
}

main .wp-block-social-links a[href^="mailto:"] {
	color: #fff;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
	outline: 3px solid #5b2eaa;
	outline-offset: 3px;
	box-shadow: 0 0 0 3px #fff;
}

/* Contraste del texto introducido en el buscador */
input.search-field {
	color: #595959;
	background-color: #fff;
}

/* Reservar espacio antes de cargar las imágenes principales */
body.home #masthead img.custom-header {
	aspect-ratio: 2000 / 1124;
}

img.wp-image-947 {
	aspect-ratio: 970 / 647;
}

/* Tamaño estable de cabecera antes de activar las fuentes web */
.site-title {
	font-family: "Josefin Sans", sans-serif;
	font-size: 22.4px;
	line-height: 1;
}

.top-bar, .main-navigation {
	font-family: "Alegreya Sans", sans-serif;
}

@media screen and (min-width: 768px) {
	.site-title {
		font-size: 29.4px;
	}
	
	.sticking .site-title {
		font-size: 20.16px;
	}
}

/* Evitar que el tema atenúe el enlace de la página actual */
#top-menu a[aria-current="page"], #top-menu a:hover, #top-menu a:focus {
	opacity: 1;
}
/* Logo de marca en la cabecera — 28 septiembre 2026 */
#masthead .site-title { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
#masthead .custom-logo { width:240px; height:auto; max-height:none; }
@media screen and (max-width:767px) { #masthead .custom-logo { width:190px; max-width:75vw; } }


/* Portada: tarjetas de artículos — 29 septiembre 2026 */
.home.blog #main { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; align-items:start; }
.home.blog #main article { display:flex; flex-direction:column; position:relative; padding:0; margin:0; border:1px solid #e5ddef; border-radius:12px; background:#fff; overflow:hidden; }
.home.blog #main article .entry-meta, .home.blog #main article .entry-footer, .home.blog #main article .entry-summary { display:none; }
.home.blog #main article .entry-header { order:2; padding:20px; margin:0; }
.home.blog #main article .entry-title { font-size:24px; line-height:1.3; margin:0; text-align:left; }
.home.blog #main article .entry-title a { color:#5b2eaa; }
.home.blog #main article .entry-title a::after { content:""; position:absolute; inset:0; z-index:2; }
.home.blog #main article .entry-content { order:1; margin:0; padding:0; aspect-ratio:16/10; overflow:hidden; background:#f7f2fb url("https://latinaresilience.com/wp-content/uploads/2026/09/cropped-Logo-sobre-fondo-Blanco.png") center/80% auto no-repeat; }
.home.blog #main article .entry-content > * { display:none; }
.home.blog #main article .entry-content > figure.wp-block-image:first-of-type { display:block; margin:0; width:100%; height:100%; }
.home.blog #main article .entry-content > figure.wp-block-image:first-of-type img { display:block; width:100%; height:100%; object-fit:cover; }
.home.blog #main article figcaption { display:none; }
.home.blog #main article:focus-within { outline:3px solid #5b2eaa; outline-offset:3px; }
.home.blog #main > nav, .home.blog #main > .infinite-wrap, .home.blog #main > #infinite-handle { grid-column:1/-1; }
.home.blog #main > .infinite-wrap { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
@media(max-width:600px) { .home.blog #main, .home.blog #main > .infinite-wrap { grid-template-columns:1fr; } }

/* Miniaturas: primera imagen del artículo completo */
.home.blog #main #post-544 .entry-content { background-image:url("https://i0.wp.com/latinaresilience.com/wp-content/uploads/2024/08/image.png?resize=685%2C447&ssl=1"); background-size:cover; background-position:center; }
.home.blog #main #post-408 .entry-content { background-image:url("https://i0.wp.com/latinaresilience.com/wp-content/uploads/2023/08/image.png?resize=352%2C270&ssl=1"); background-size:cover; background-position:center; }
.home.blog #main #post-388 .entry-content { background-image:url("https://i0.wp.com/latinaresilience.com/wp-content/uploads/2023/07/image.png?resize=642%2C414&ssl=1"); background-size:cover; background-position:center; }
.home.blog #main #post-367 .entry-content { background-image:url("https://i0.wp.com/latinaresilience.com/wp-content/uploads/2023/06/image.png?resize=685%2C256&ssl=1"); background-size:cover; background-position:center; }
.home.blog #main #post-349 .entry-content { background-image:url("https://i0.wp.com/latinaresilience.com/wp-content/uploads/2023/05/image.png?resize=481%2C256&ssl=1"); background-size:cover; background-position:center; }
.home.blog #main #post-320 .entry-content { background-image:url("https://i0.wp.com/latinaresilience.com/wp-content/uploads/2023/04/image.png?resize=685%2C387&ssl=1"); background-size:cover; background-position:center; }
.home.blog #main #post-264 .entry-content { background-image:url("https://i0.wp.com/latinaresilience.com/wp-content/uploads/2023/03/image.png?resize=469%2C263&ssl=1"); background-size:cover; background-position:center; }
.home.blog #main #post-227 .entry-content { background-image:url("https://i0.wp.com/latinaresilience.com/wp-content/uploads/2023/02/image-5.png?resize=284%2C177&ssl=1"); background-size:cover; background-position:center; }
.home.blog #main #post-231 .entry-content { background-image:url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT_cCEw95rD0o0ryf0fzSPslEoV1fh0vf0Okw&usqp=CAU"); background-size:cover; background-position:center; }
.home.blog #main #post-204 .entry-content { background-image:url("https://i0.wp.com/latinaresilience.com/wp-content/uploads/2022/12/image-3.png?resize=226%2C223&ssl=1"); background-size:cover; background-position:center; }

/* Tarjetas compactas de portada */
.home.blog #main, .home.blog #main > .infinite-wrap { gap:18px; }
.home.blog #main article .entry-content { aspect-ratio:16/9; }
.home.blog #main article .entry-header { padding:14px; }
.home.blog #main article .entry-title { font-size:19px; line-height:1.3; }
@media(min-width:1100px) { .home.blog #main, .home.blog #main > .infinite-wrap { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:600px) { .home.blog #main article .entry-content { aspect-ratio:2/1; } .home.blog #main article .entry-title { font-size:19px; } }


/* Escritorio: márgenes alineados con la portada y menú en una fila */
@media screen and (min-width:1100px) {
 #masthead .top-bar-wrapper, #masthead .site-branding-wrapper, #content { width:90%; max-width:1400px; margin-left:auto; margin-right:auto; }
 #masthead .site-branding-wrapper { display:flex; align-items:center; gap:32px; }
 #masthead .site-branding { float:none; flex:0 0 240px; width:240px; }
 #masthead #site-navigation { float:none; flex:1; width:auto; min-width:0; }
 #masthead #top-menu { display:flex; justify-content:flex-end; flex-wrap:nowrap; }
 #masthead #top-menu > li { flex:0 0 auto; }
}

/* Portada rotativa: fotos y texto independientes */
body:not(.home) .header-widget-area:has(#lr-hero) { display:none; }
body.home #masthead img.custom-header { display:none; }
body.home .header-widget-area:has(#lr-hero), body.home .header-widget-area-wrapper:has(#lr-hero), #block-6 { width:100%; max-width:none; margin:0; padding:0; background:transparent; }
#lr-hero { position:relative; isolation:isolate; min-height:540px; overflow:hidden; display:flex; align-items:center; background:#e9e4ee; text-align:left; }
#lr-hero .lr-hero-slides { position:absolute; inset:0; z-index:-2; }
#lr-hero .lr-hero-slide { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; opacity:0; animation:lr-background 24s linear infinite; }
#lr-hero .lr-hero-slide-1 { animation-delay:-1s; }
#lr-hero .lr-hero-slide-2 { animation-delay:7s; }
#lr-hero .lr-hero-slide-3 { animation-delay:15s; }
@keyframes lr-background { 0% { opacity:0; } 4.17%,33.33% { opacity:1; } 37.5%,100% { opacity:0; } }
#lr-hero::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(255,255,255,.94),rgba(255,255,255,.85) 38%,rgba(255,255,255,.12) 78%); }
#lr-hero .lr-hero-copy { width:90%; max-width:1400px; margin:auto; padding:60px 0 90px; }
#lr-hero h2 { font-family:"Cormorant Garamond",Georgia,serif; font-weight:600; font-size:clamp(44px,5.3vw,76px); line-height:1.08; letter-spacing:-.02em; text-transform:none; color:#57258b; margin:0 0 28px; }
#lr-hero p { font-family:"Alegreya Sans",sans-serif; font-size:clamp(22px,2.2vw,30px); line-height:1.45; font-weight:500; color:#41245f; margin:0; }
#lr-hero .lr-hero-control { position:absolute; bottom:24px; left:calc(5% + 28px); z-index:3; padding:10px 14px; background:#fff; color:#41245f; font:600 16px/1.4 "Alegreya Sans",sans-serif; border-radius:4px; cursor:pointer; }
#lr-hero .lr-hero-pause { position:absolute; bottom:39px; left:5%; z-index:4; width:20px; height:20px; margin:0; accent-color:#57258b; cursor:pointer; }
#lr-hero-pause:checked ~ .lr-hero-slides .lr-hero-slide { animation-play-state:paused; }
#lr-hero-pause:focus-visible { outline:3px solid #57258b; outline-offset:4px; }
@media(max-width:767px) { #lr-hero { min-height:460px; } #lr-hero::after { background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(255,255,255,.86) 60%,rgba(255,255,255,.30)); } #lr-hero .lr-hero-copy { width:88%; padding:40px 0 100px; } #lr-hero h2 { font-size:clamp(40px,10.5vw,58px); } #lr-hero p { font-size:23px; } }
@media(prefers-reduced-motion:reduce) { #lr-hero .lr-hero-slide { animation:none; opacity:0; } #lr-hero .lr-hero-slide-1 { opacity:1; } #lr-hero .lr-hero-control,#lr-hero .lr-hero-pause { display:none; } }

body.home .header-widget-area-wrapper:has(#lr-hero) { display:block; }
body.home .header-widget-area-wrapper #block-6 { flex:0 0 100%; width:100%; max-width:none; }


/* Portada: paisaje más visible, contraste localizado */
#lr-hero::after { background:linear-gradient(90deg,rgba(247,242,250,.88) 0%,rgba(247,242,250,.78) 36%,rgba(247,242,250,.20) 56%,rgba(247,242,250,0) 72%); }
@media(max-width:767px) { #lr-hero::after { background:linear-gradient(180deg,rgba(247,242,250,.72) 0%,rgba(247,242,250,.82) 24%,rgba(247,242,250,.78) 66%,rgba(247,242,250,.06) 100%); } }


/* Paisajes más visibles; contraste móvil sin velo blanco */
#lr-hero::after { background:linear-gradient(90deg,rgba(247,242,250,.64) 0%,rgba(247,242,250,.58) 38%,rgba(247,242,250,.10) 57%,transparent 70%); }
#lr-hero h2, #lr-hero p { color:#321247; }
@media(max-width:767px) {
 #lr-hero::after { background:linear-gradient(180deg,rgba(18,12,29,.43) 0%,rgba(18,12,29,.48) 65%,rgba(18,12,29,.10) 100%); }
 #lr-hero h2, #lr-hero p { color:#fff; text-shadow:0 2px 5px rgba(0,0,0,.5); }
 #lr-hero p { font-size:24px; }
}


/* Barra de redes y cabecera móvil alineada a la izquierda */
#masthead .jetpack-social-navigation ul { display:flex; gap:8px; align-items:center; margin:0; padding:0; }
#masthead .jetpack-social-navigation li { margin:0; }
#masthead .jetpack-social-navigation a { display:flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; color:#fff; opacity:1; border-radius:6px; }
#masthead .jetpack-social-navigation svg { width:24px; height:24px; fill:currentColor; }
#masthead .jetpack-social-navigation a:hover { background:rgba(255,255,255,.16); }
@media(max-width:767px) {
 #masthead .top-bar-wrapper { width:88%; display:flex; flex-direction:column; align-items:flex-start; }
 #masthead .site-description { text-align:left; width:100%; margin:0 0 8px; }
 #masthead .jetpack-social-navigation { float:none; width:100%; text-align:left; margin:0; }
 #masthead .site-branding-wrapper { width:88%; margin-left:auto; margin-right:auto; }
 #masthead .site-branding { text-align:left; width:100%; padding:18px 0 8px; }
 #masthead #site-navigation { width:100%; text-align:left; padding:8px 0 20px; }
 #masthead .menu-toggle { margin:0; }
 #masthead #top-menu { text-align:left; }
}

/* Corrección del centrado que aplica Karuna al botón móvil */
@media(max-width:767px) { #masthead .site-branding-wrapper { padding-left:0; padding-right:0; } #masthead .menu-toggle { left:0; transform:none; } }


/* Cabecera: franja fina y redes a la altura del logo */
#masthead.site-header { display:grid; grid-template-columns:6% minmax(0,1fr) auto 6%; align-items:center; border-top:7px solid #6534c7; }
#masthead .top-bar, #masthead .top-bar-wrapper, #masthead .sticky-wrapper, #masthead .site-branding-wrapper { display:contents; }
#masthead .site-description { display:none; }
#masthead .site-branding { grid-column:2; grid-row:1; width:auto; padding:22px 0 12px; margin:0; text-align:left; }
#masthead .jetpack-social-navigation { grid-column:3; grid-row:1; width:auto; float:none; margin:0; padding:0; }
#masthead .jetpack-social-navigation a { color:#6534c7; }
#masthead .jetpack-social-navigation a:hover { background:#f0e9fa; }
#masthead #site-navigation { grid-column:2 / 4; grid-row:2; width:100%; padding:0 0 16px; margin:0; }
#masthead .header-widget-area, #masthead > .custom-header { grid-column:1 / -1; grid-row:3; }
@media(max-width:767px) {
 #masthead .custom-logo { width:165px; max-width:100%; }
 #masthead .site-branding { padding:20px 8px 14px 0; }
 #masthead .jetpack-social-navigation ul { gap:0; }
 #masthead .jetpack-social-navigation a { width:36px; height:44px; }
 #masthead .jetpack-social-navigation svg { width:21px; height:21px; }
}
@media(max-width:359px) { #masthead .custom-logo { width:140px; } #masthead .jetpack-social-navigation a { width:32px; } }

#masthead .jetpack-social-navigation li { padding:0; }

/* Redes sociales destacadas: círculos púrpura grandes */
#masthead .jetpack-social-navigation a { width:56px; height:56px; border:2px solid #6534c7; border-radius:50%; box-sizing:border-box; }
#masthead .jetpack-social-navigation svg { width:32px; height:32px; }
#masthead .jetpack-social-navigation a:focus-visible { outline:3px solid #321247; outline-offset:3px; }
@media(max-width:767px) { #masthead .jetpack-social-navigation ul { gap:4px; } #masthead .jetpack-social-navigation a { width:40px; height:40px; } #masthead .jetpack-social-navigation svg { width:25px; height:25px; } }
@media(max-width:359px) { #masthead .jetpack-social-navigation ul { gap:3px; } #masthead .jetpack-social-navigation a { width:36px; height:36px; } #masthead .jetpack-social-navigation svg { width:23px; height:23px; } }

/* Iconos grandes sin círculo */
#masthead .jetpack-social-navigation a { border:0; border-radius:0; }

/* Mayor legibilidad en computadora */
@media(min-width:1024px) {
 #masthead .jetpack-social-navigation a { width:64px; height:64px; }
 #masthead .jetpack-social-navigation svg { width:40px; height:40px; }
 #masthead #top-menu > li > a { font-size:18px; line-height:1.4; }
}

/* Celular: logo, redes y menú en filas separadas */
@media(max-width:767px) {
 #masthead .site-branding { grid-column:2 / 4; grid-row:1; padding:20px 0 8px; }
 #masthead .jetpack-social-navigation { grid-column:2 / 4; grid-row:2; justify-self:start; padding:0 0 10px; }
 #masthead #site-navigation { grid-column:2 / 4; grid-row:3; }
 #masthead .header-widget-area, #masthead > .custom-header { grid-row:4; }
}

/* Sobre mí: retrato en color y lectura sin barra lateral */
.page-id-50 #secondary { display:none; }
.page-id-50 #primary { width:100%; float:none; padding:0; }
.page-id-50 #content { max-width:1080px; }
.page-id-50 .entry-content { font-size:20px; line-height:1.7; }
.page-id-50 .entry-content > p, .page-id-50 .entry-content > h2, .page-id-50 .entry-content > blockquote { max-width:760px; margin-left:auto; margin-right:auto; }
.page-id-50 .entry-content h2 { font-family:"Cormorant Garamond",Georgia,serif; text-transform:none; color:#57258b; font-size:38px; line-height:1.2; margin-top:40px; margin-bottom:22px; }
.page-id-50 .entry-content .wp-block-columns { gap:40px; margin-bottom:48px; }
.page-id-50 .entry-content .wp-block-image img { border-radius:18px; width:100%; height:auto; }
.page-id-50 .entry-content blockquote { background:#f6f0fa; border-left:4px solid #6534c7; padding:24px 28px; font-style:normal; color:#41245f; }
@media(max-width:781px) { .page-id-50 .entry-content { font-size:19px; } .page-id-50 .entry-content h2 { font-size:32px; } .page-id-50 .entry-content .wp-block-image { max-width:300px; margin:0 auto; } .page-id-50 .entry-content .wp-block-columns { gap:20px; } }

.page-id-50 #main { width:100%; float:none; margin:0; }

/* Center the portrait in About me. */
.page-id-50 .wp-image-1290 { object-position:65% 50%; }