/*
Theme Name: 2mascotas Child
Template: generatepress
Description: Tema hijo de GeneratePress para 2mascotas.com
Version: 1.2.0
Text Domain: 2mascotas-child
*/
@font-face{font-family:'Nunito Local';src:url('fuentes/nunito-variable.woff2') format('woff2');font-weight:200 900;font-style:normal;font-display:swap}
@font-face{font-family:'Source Sans Local';src:url('fuentes/source-sans-3-variable.woff2') format('woff2');font-weight:200 900;font-style:normal;font-display:swap}
:root{--mascotas-verde:#7fb523;--mascotas-lima:#aec30e;--mascotas-enlace:#285c31;--mascotas-hover:#1d4524;--mascotas-marron:#82623c;--mascotas-texto:#243128;--mascotas-secundario:#465044;--mascotas-fondo:#faf8f2;--mascotas-borde:#d9decf}
body{background:var(--mascotas-fondo);color:var(--mascotas-texto);font-family:'Source Sans Local',system-ui,sans-serif;font-size:19px;line-height:1.7}
h1,h2,h3,h4,h5,h6,.main-navigation{font-family:'Nunito Local',system-ui,sans-serif;color:var(--mascotas-texto)}
h1{font-size:42px;line-height:1.16;font-weight:800}h2{font-size:30px;line-height:1.25;font-weight:800}h3{font-size:23px;line-height:1.3;font-weight:800}
a{color:var(--mascotas-enlace)}a:hover{color:var(--mascotas-hover)}
.entry-content a:not(.button){text-decoration:underline;text-underline-offset:.16em}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--mascotas-marron);outline-offset:4px}
.site-header{background:#000;color:#fff}.inside-header{padding:8px 24px;min-height:120px}.site-logo img{width:120px;height:120px;object-fit:contain}
.main-navigation,.main-navigation ul ul{background:#fff}.main-navigation .main-nav ul li a,.menu-toggle{color:var(--mascotas-texto);font-size:16px;font-weight:800;line-height:52px}
.main-navigation .main-nav ul li:hover>a,.main-navigation .main-nav ul li.current-menu-item>a{background:#f0f3e8;color:var(--mascotas-enlace)}
.site-content{padding:32px 24px}.inside-article{border-radius:12px}.single-post .content-area{width:100%}.single-post .inside-article{max-width:780px;margin:auto;padding:40px}
.single-post .entry-content,.single-post .entry-header,.single-post .entry-meta,.single-post .entry-summary{max-width:700px;margin-left:auto;margin-right:auto}
.entry-meta,.wp-block-post-date,.wp-block-post-author-name{color:var(--mascotas-secundario);font-size:16px}
button,input[type=submit],a.button,.wp-block-button__link{background:var(--mascotas-enlace);color:#fff;border-radius:8px;padding:12px 20px;font-size:17px;font-weight:700;min-height:44px;border:0}
button:hover,input[type=submit]:hover,a.button:hover,.wp-block-button__link:hover{background:var(--mascotas-hover);color:#fff}
input,select,textarea{border:1px solid #717c6c;border-radius:6px;color:var(--mascotas-texto);background:#fff}
/* Añadir estas clases a bloques núcleo Grupo/Columnas. No requieren GenerateBlocks. */
.mascotas-tarjetas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.mascotas-tarjeta{background:#fff;border:1px solid var(--mascotas-borde);border-radius:12px;overflow:hidden}
.mascotas-tarjeta img,.mascotas-imagen-articulo{width:100%;aspect-ratio:16/9;object-fit:cover;height:auto}
.mascotas-tarjeta-contenido{padding:22px}.mascotas-categoria{color:var(--mascotas-marron);font-weight:700;font-size:15px}
.mascotas-producto,.mascotas-autor{padding:24px;border:1px solid var(--mascotas-borde);border-radius:12px;background:#faf8f2;margin:32px 0}
.mascotas-producto{border-top:4px solid var(--mascotas-enlace)}.mascotas-producto small{display:block;color:var(--mascotas-secundario)}
.mascotas-anuncio{max-width:970px;margin:32px auto;text-align:center;font-size:13px;color:var(--mascotas-secundario)}
.mascotas-anuncio-reserva{min-height:90px;background:#f4f4ef;border:1px dashed #717c6c;display:flex;align-items:center;justify-content:center}
.mascotas-anuncio-interno .mascotas-anuncio-reserva{min-height:250px}
.site-footer{background:#f0f1e8;color:var(--mascotas-texto)}
@media(max-width:768px){body{font-size:18px}h1{font-size:32px}h2{font-size:26px}h3{font-size:22px}.inside-header{min-height:96px;padding:6px 20px}.site-logo img{width:96px;height:96px}.site-content{padding:24px 20px}.single-post .inside-article{padding:24px 20px}.mascotas-tarjetas{grid-template-columns:1fr;gap:20px}.mascotas-producto,.mascotas-autor{padding:20px}.mascotas-anuncio{margin:24px auto}.mascotas-anuncio-cabecera{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Cabecera opción A */
body[class*="mascotas-cabecera-"] .site-header .inside-header{max-width:1160px;margin:auto;display:flex;align-items:center;justify-content:flex-start;gap:72px;padding:18px 20px;min-height:0;position:relative}
body[class*="mascotas-cabecera-"] .site-logo{margin:0;flex:0 0 auto;position:relative;z-index:1}
body[class*="mascotas-cabecera-"] .site-header .site-logo img{width:192px;max-width:192px;height:auto;aspect-ratio:192/143;display:block}
body[class*="mascotas-cabecera-"] .site-logo a{display:block}
.mascotas-lema{font-family:'Nunito Local',system-ui,sans-serif;font-size:29px;line-height:1.25;font-weight:800;max-width:570px;margin:0;position:relative;z-index:1}
.mascotas-lema small{display:block;font-family:'Source Sans Local',system-ui,sans-serif;font-size:17px;line-height:1.5;font-weight:400;margin-top:9px}
.mascotas-lema-corto{display:none}
body[class*="mascotas-cabecera-"] .main-navigation .inside-navigation{max-width:1160px;margin:auto;padding:0 20px}
body[class*="mascotas-cabecera-"] .main-navigation .main-nav ul li a{font-family:'Nunito Local',system-ui,sans-serif;font-weight:800;font-size:16px;line-height:56px;padding:0 18px;position:relative}
body[class*="mascotas-cabecera-"] .main-navigation .main-nav ul li.current-menu-item>a:after,
body[class*="mascotas-cabecera-"] .main-navigation .main-nav ul li.current-menu-ancestor>a:after{content:'';position:absolute;left:18px;right:18px;bottom:0;height:4px;background:#aec30e}
body[class*="mascotas-cabecera-"] .main-navigation a:focus-visible{outline:3px solid #82623c;outline-offset:-4px}
body[class*="mascotas-cabecera-"] .site-header a:focus-visible{outline:3px solid #aec30e;outline-offset:4px}
@media(max-width:1024px) and (min-width:769px){body[class*="mascotas-cabecera-"] .site-header .inside-header{gap:40px}.mascotas-lema{font-size:25px}}
@media(max-width:768px){body[class*="mascotas-cabecera-"] .site-header .inside-header{padding:12px 20px;gap:20px}body[class*="mascotas-cabecera-"] .site-header .site-logo img{width:160px;max-width:160px;height:auto}.mascotas-lema{font-size:19px;max-width:165px;min-width:0}.mascotas-lema-largo,.mascotas-lema small{display:none}.mascotas-lema-corto{display:block}body[class*="mascotas-cabecera-"] .main-navigation .menu-toggle{font-family:'Nunito Local',system-ui,sans-serif;font-weight:800;font-size:16px;line-height:50px;padding:0 0;min-height:50px;background:transparent}body[class*="mascotas-cabecera-"] .main-navigation.toggled .main-nav ul li a{line-height:1.4;min-height:48px;padding:14px 18px}body[class*="mascotas-cabecera-"] .main-navigation .inside-navigation{padding:0 20px}}
@media(max-width:359px){body[class*="mascotas-cabecera-"] .site-header .inside-header{gap:14px}.mascotas-lema{display:none}}
.mascotas-cabecera-a .site-header{background:#000;border-top:4px solid #aec30e;color:#faf8f2}
.mascotas-cabecera-a .mascotas-lema{color:#faf8f2}.mascotas-cabecera-a .mascotas-lema small{color:#b7c788}
.mascotas-cabecera-a .main-navigation,.mascotas-cabecera-a .main-navigation ul ul{background:#285c31}
.mascotas-cabecera-a .main-navigation .main-nav ul li a,.mascotas-cabecera-a .main-navigation .menu-toggle{color:#fff}
.mascotas-cabecera-a .main-navigation .main-nav ul li:hover>a,.mascotas-cabecera-a .main-navigation .main-nav ul li.current-menu-item>a,.mascotas-cabecera-a .main-navigation .main-nav ul li.current-menu-ancestor>a{background:#285c31;color:#fff}
.mascotas-cabecera-a .main-navigation .main-nav ul li:hover>a{background:#1d4524}
.mascotas-cabecera-a .main-navigation a:focus-visible{outline-color:#aec30e}
@media(max-width:768px){.mascotas-cabecera-a .mascotas-lema{font-size:16px;line-height:1.25;max-width:170px}}

/* 1.2.0 · Crédito visible de la imagen destacada */
.mascotas-credito-foto{font-family:'Source Sans Local',system-ui,sans-serif;font-size:13.5px;line-height:1.45;color:#243128;margin:8px 0 0;overflow-wrap:anywhere}
.mascotas-credito-foto a{color:#243128;text-decoration:underline;text-underline-offset:.16em}
.mascotas-credito-foto a:hover,.mascotas-credito-foto a:focus-visible{color:#1d4524;text-decoration-thickness:2px}
.mascotas-credito-destacada{margin:8px 0 2em}
.separate-containers .inside-article>.featured-image:has(+ .mascotas-credito-destacada),.one-container .inside-article>.featured-image:has(+ .mascotas-credito-destacada){margin-bottom:0}
.post-image .mascotas-credito-tarjeta{line-height:1.45}
.wp-block-image figcaption.wp-element-caption{font-size:13.5px;line-height:1.45;color:#243128;margin-top:8px}
.wp-block-image figcaption.wp-element-caption a{color:#243128;text-decoration:underline;text-underline-offset:.16em}
@media(max-width:768px){body[class*="mascotas-cabecera-"] .site-header .inside-header{flex-direction:row;flex-wrap:nowrap;text-align:left;justify-content:flex-start}body[class*="mascotas-cabecera-"] .site-logo{margin:0}.mascotas-lema br{display:none}}
