/* HGVET 0.4.4 — capa de coherencia visual */

:root {
  --font-display: var(--font-heading, 'Fraunces');
}

/* Mantiene un único dibujo de Fraunces en todos los titulares. */
#hgvet-root h1,
#hgvet-root h2,
#hgvet-root h3,
#hgvet-root .clinic-name,
#hgvet-root .network-signature span,
#hgvet-root .patient-ring-content strong,
#hgvet-root .patient-delta strong,
#hgvet-root .hero-index-price strong,
#hgvet-root .plan-price strong,
.hgvet-news-body h1,
.hgvet-news-body h2,
.hgvet-news-body h3,
.hgvet-article-body h1,
.hgvet-article-body h2,
.hgvet-article-body h3,
.hgvet-article-body .hgvet-article-related-grid strong {
  font-family: var(--font-heading, 'Fraunces'), Georgia, serif;
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 72;
  font-synthesis: none;
}

/* Los años son etiquetas de datos, no titulares editoriales. */
#hgvet-root .patient-stat-card h3 {
  font-family: var(--font-body, 'Source Sans 3'), Arial, sans-serif;
  font-optical-sizing: auto;
  font-variation-settings: normal;
}

/* El componente de cita usaba una variable no definida. */
#hgvet-root .appointment-heading h1,
#hgvet-root .appointment-heading h2 {
  font-family: var(--font-heading, 'Fraunces'), Georgia, serif;
}

/* Protección es una tarjeta oscura: título y acción deben ser blancos. */
#hgvet-root .plans-section .plan-card:not(.plan-card-light) {
  color: #fff;
}

#hgvet-root .plans-section .plan-card:not(.plan-card-light) h3,
#hgvet-root .plans-section .plan-card:not(.plan-card-light) .plan-cta {
  color: #fff;
}


/* Ajuste de separación de titulares y apertura del titular de inicio. */
#hgvet-root h1, #hgvet-root h2, #hgvet-root h3 { letter-spacing: -0.025em; }
#hgvet-root .hero h1 { line-height: 1.03; }
#hgvet-root .hero h1 span { letter-spacing: -0.025em; }

/* Evita que el titular de especialidades desborde en móvil. */
@media (max-width: 700px) {
  #hgvet-root .specialties-hero h1 { font-size: clamp(2.25rem, 10.3vw, 3.2rem); }
  #hgvet-root .specialties-hero-copy { min-width: 0; }
}

/* Conserva los encuadres de las galerías en pantallas anchas. */
#hgvet-root .clinic-page .venus-gallery-wrap { max-width: 1400px; margin-inline: auto; }

/* Entrada de playas: ocupa el ancho de lectura cuando no hay índice lateral. */
html:has(link[rel="canonical"][href$="/playas-para-perros-en-espana/"]) .hgvet-article-layout { display: block; max-width: 900px; }
html:has(link[rel="canonical"][href$="/playas-para-perros-en-espana/"]) .hgvet-article-content { width: 100%; min-width: 0; }
@media (min-width: 901px) { html:has(link[rel="canonical"][href$="/playas-para-perros-en-espana/"]) .hgvet-article-layout { display: grid; max-width: 1140px; } }
/* Separación de titulares en el archivo de noticias. */
.hgvet-news-body .news-archive-hero h1, .hgvet-news-body .news-archive-list .journal-heading h2, .hgvet-news-body .news-archive-list .article-card h3 { letter-spacing: -0.025em; }
/* Indicación táctil para las especialidades en Inicio. */
@media (max-width: 700px) { #hgvet-root .specialty-grid .specialty-card::after { content: "Ver especialidad ↗"; color: #662c68; font-size: .72rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; } }
/* Ritmo de lectura: apartados más próximos, sin modificar contenidos. */
.hgvet-article-body .hgvet-article-content h2:not(.hgvet-article-cta h2) { margin: 1.05em 0 .4em; }
.hgvet-article-body .hgvet-article-content h3:not(.hgvet-article-cta h3) { margin: 1.15em 0 .4em; }
.hgvet-article-body .hgvet-article-content h2 + h3 { margin-top: .65em; }
