/* site.css — el estilo que comparten todas las páginas del sitio.
   Cada página enlaza esta hoja antes de su propio <style>, así que una regla de la página gana a una de
   aquí con la misma especificidad. Las secciones van en el orden en que las páginas las llevaban, porque
   entre reglas de igual especificidad gana la última: tokens de marca y reset; cabecera, menú, barra de la
   Feria y pie; los bloques que comparten varias páginas; las entradas del blog; el buscador de razas y el de
   jueces. Una regla por línea, una declaración por línea. */

/* Tokens: los de marca (navy, navy deep, gold, cream, teal, stone) los declara BRAND.md, columna Website, y
   cambiar uno pide una ADR; el resto son los tonos derivados, los textos y las fuentes que usa el sitio. */
:root {
  --navy: #1B2A4A;
  --navy-deep: #0D1929;
  --navy-mid: #243656;
  --gold: #C5A55A;
  --gold-soft: #D9C88C;
  --gold-dark: #A68B3E;
  --teal: #2A7B88;
  --teal-soft: #357F8C;
  --cream: #FAF8F4;
  --warm-gray: #F3F1ED;
  --stone: #E8E4DD;
  --text: #1A1A1A;
  --text-mid: #5A5A5A;
  --text-light: #6B6B6B;
  --white: #FFFFFF;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Outfit', system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* Reset: caja, márgenes, tipografía base, imágenes fluidas y enlaces sin subrayado */
*, ::after, ::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all .35s var(--ease);
}

/* Cabecera, menú, barra de la Feria y pie: iguales en todas las páginas */
/* Cabecera fija: translúcida sobre el hero, opaca (solid) al bajar */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 25, 41, .85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .4s;
}
header.solid {
  background: var(--navy-deep);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}
.logo-text {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: .5px;
  white-space: nowrap;
}
.logo-text em {
  font-style: italic;
  color: var(--gold-soft);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  height: 36px;
  width: auto;
  flex-shrink: 0;
}
.logo > picture {
  flex-shrink: 0;
}
/* Menú de escritorio y botón destacado */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-menu a {
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .4px;
}
.nav-menu a:hover {
  color: var(--white);
}
.nav-menu a.current {
  color: var(--gold-soft);
}
.nav-cta {
  padding: 9px 22px !important;
  border: 1.5px solid rgba(197, 165, 90, .4) !important;
  border-radius: 6px;
  color: var(--gold-soft) !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--white) !important;
  border-color: var(--gold) !important;
}
/* Hamburguesa, visible solo en el menú plegado */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: transparent;
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  transition: opacity .3s;
}
.burger span {
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: .3s;
  display: block;
}
.burger:hover {
  opacity: .8;
}
@media (max-width: 1279px) {
  /* Hasta 1279 px el menú se pliega bajo la cabecera */
  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 16px 0;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-menu a {
    padding: 12px clamp(20px, 4vw, 40px);
    width: 100%;
  }
  .nav-cta {
    margin: 8px clamp(20px, 4vw, 40px) !important;
    width: auto !important;
  }
  .burger {
    display: flex;
  }
}
/* Pie: marca, columnas de enlaces, redes y línea legal */
footer {
  background: var(--navy-deep);
  padding: 64px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .04);
}
.ft-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.ft-logo {
  height: 48px;
  width: auto;
  margin-bottom: 12px;
}
.ft-brand h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 12px;
}
.ft-brand h3 em {
  font-style: italic;
  color: var(--gold-soft);
}
.ft-brand p {
  font-size: .82rem;
  color: rgba(255, 255, 255, .3);
  line-height: 1.75;
  max-width: 280px;
}
.ft-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.ft-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s;
}
.ft-social a:hover {
  border-color: var(--gold);
  background: rgba(197, 165, 90, .08);
}
.ft-social svg {
  width: 15px;
  height: 15px;
  fill: rgba(255, 255, 255, .4);
}
.ft-social a:hover svg {
  fill: var(--gold-soft);
}
.ft-col h4 {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.ft-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  list-style: none;
}
.ft-col a {
  font-size: .82rem;
  color: rgba(255, 255, 255, .35);
}
.ft-col a:hover {
  color: var(--white);
}
.ft-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: .72rem;
  color: rgba(255, 255, 255, .2);
}
.ft-bottom a {
  color: rgba(255, 255, 255, .2);
}
.ft-bottom a:hover {
  color: rgba(255, 255, 255, .5);
}
@media (max-width: 768px) {
  /* El pie pasa a dos columnas y luego a una */
  .ft-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 500px) {
  .ft-grid {
    grid-template-columns: 1fr;
  }
}
/* Barra de la Feria, pegada bajo la cabecera */
.announcement-bar {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 99;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  padding: 10px 0;
  text-align: center;
}
.announcement-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  transition: opacity .3s;
}
.announcement-link:hover {
  opacity: .85;
}
.announcement-badge {
  background: var(--navy);
  color: var(--gold-soft);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}
.announcement-link svg {
  flex-shrink: 0;
  stroke: var(--white);
}

/* Bloques que comparten páginas de distintas secciones: hero de página, breadcrumb, enlace de volver,
   botones, llamadas a la acción y los bloques de Anuncios, Deportes, Jueces, Razas y las páginas legales.
   Donde una página difiere de lo común conserva su variante en su propio <style>. */
/* Contenedor centrado y botones */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .3px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all .35s var(--ease);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(197, 165, 90, .25);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .3);
}
.btn-outline:hover {
  border-color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .06);
}
.btn-arrow {
  width: 18px;
  height: 18px;
}
/* Antetítulo en mayúsculas pequeñas */
.eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
/* Noticias: tarjetas de la home y de Anuncios */
.news-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--navy);
  line-height: 1.15;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.nw {
  transition: all .4s var(--ease);
}
.nw:hover {
  transform: translateY(-4px);
}
.nw-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.nw:hover .nw-img img {
  transform: scale(1.04);
}
.nw-meta {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.nw h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.nw p {
  font-size: .85rem;
  color: var(--text-light);
  line-height: 1.75;
}
@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}
/* Llamada a la acción sobre fondo navy */
.cta {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--navy-deep);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::after {
  content: '';
  position: absolute;
  bottom: -250px;
  left: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 165, 90, .06), transparent 70%);
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}
.cta-inner .eyebrow {
  color: var(--gold-soft);
  margin-bottom: 16px;
}
.cta-inner h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.cta-inner p {
  font-size: .95rem;
  color: rgba(255, 255, 255, .45);
  line-height: 1.8;
  margin-bottom: 36px;
}
.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
/* Aparición al hacer scroll: oculto hasta recibir la clase vis */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: all .8s var(--ease);
}
.rv.vis {
  opacity: 1;
  transform: translateY(0);
}
/* Hero de página: franja navy con antetítulo, título y entradilla; las páginas con foto propia la declaran en su <style> */
.page-hero {
  padding: 200px 0 80px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 123, 136, .12), transparent 70%);
}
.page-hero .wrap {
  position: relative;
  z-index: 2;
}
.page-hero .eyebrow {
  color: var(--gold-soft);
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, .5);
  line-height: 1.8;
  max-width: 600px;
}
/* Cuerpo de las páginas legales */
.legal {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--white);
}
/* Franja de cifras (Jueces y sus regiones) */
.stats-strip {
  padding: clamp(36px, 5vw, 56px) 0;
  background: var(--white);
  border-bottom: 1px solid var(--stone);
}
.stats-strip-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  text-align: center;
  max-width: 480px;
}
.stats-strip-item {
  padding: 0 32px;
  border-right: 1px solid var(--stone);
}
.stats-strip-item:last-child {
  border-right: none;
}
.stats-strip-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}
.stats-strip-lbl {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
}
/* Botón PDF y ventana modal (grupos de Razas y Reglamentos) */
.btn-sm-pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .3px;
  border-radius: 6px;
  border: 1.5px solid rgba(42, 123, 136, .3);
  color: var(--teal);
  background: rgba(42, 123, 136, .05);
  cursor: pointer;
  transition: all .3s var(--ease);
  align-self: flex-start;
}
.btn-sm-pdf:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-sm-pdf--disabled, .btn-sm-pdf--disabled:hover {
  opacity: .45;
  cursor: default;
  background: rgba(27, 42, 74, .04);
  color: var(--text-light);
  border-color: rgba(27, 42, 74, .15);
}
.modal-close:hover {
  color: var(--navy);
}
.modal-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.modal-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.modal-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.modal-card p {
  font-size: .88rem;
  line-height: 1.65;
  color: var(--text-light);
  margin-bottom: 22px;
}
.modal-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 165, 90, .3);
}
.modal-cta-primary svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.btn-sm-pdf svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
/* Rejilla y tarjetas de razas */
.breed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.breed-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--stone);
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all .4s var(--ease);
}
.breed-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(27, 42, 74, .07);
  border-color: rgba(42, 123, 136, .2);
}
@media (max-width: 900px) {
  .breed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .breed-grid {
    grid-template-columns: 1fr;
  }
}
/* Breadcrumb bajo el hero */
.breadcrumb {
  padding: 16px 0;
  background: var(--warm-gray);
  border-bottom: 1px solid var(--stone);
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--text-light);
}
.breadcrumb-inner a {
  color: var(--teal);
}
.breadcrumb-inner a:hover {
  color: var(--navy);
}
.breadcrumb-sep {
  color: var(--stone);
}
/* Enlace de volver */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--teal);
  margin-top: 32px;
}
.back-link:hover {
  gap: 10px;
}
/* Disciplinas de Deportes: visual, texto, características y cierre */
.discipline-visual {
  width: 100%;
  height: 340px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.discipline-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.discipline-content {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--white);
}
.discipline-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .discipline-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
.discipline-text h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 24px;
}
.discipline-text p {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 20px;
}
.discipline-text p:last-child {
  margin-bottom: 0;
}
.features-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--cream);
}
.features-head {
  text-align: center;
  margin-bottom: 52px;
}
.features-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--navy);
  line-height: 1.2;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}
.feature-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--stone);
  padding: 32px 24px;
  transition: all .5s var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(27, 42, 74, .06);
  border-color: transparent;
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold-soft);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: .83rem;
  color: var(--text-light);
  line-height: 1.7;
}
.cta-section {
  padding: clamp(80px, 10vw, 100px) 0;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 165, 90, .07), transparent 70%);
}
.cta-section .wrap {
  position: relative;
  z-index: 2;
}
.cta-section .eyebrow {
  color: var(--gold-soft);
}
.cta-section h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: .95rem;
  color: rgba(255, 255, 255, .45);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto 32px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
/* Entradas de Anuncios: detalle del evento y ficha lateral */
.event-detail {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--cream);
}
.event-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.event-image {
  width: 100%;
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
}
.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.event-content h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 24px;
}
.event-content p {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 20px;
}
.event-content .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--teal);
  margin-top: 32px;
}
.event-content .back-link:hover {
  gap: 10px;
}
.event-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--stone);
  padding: 32px;
  position: sticky;
  top: 90px;
}
.event-card .eyebrow {
  color: var(--teal);
  margin-bottom: 20px;
}
.event-card-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--stone);
}
.event-card-row:last-of-type {
  border-bottom: none;
}
.event-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.event-card-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.event-card-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}
.event-card-value {
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}
.type-badge {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(42, 123, 136, .1);
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .5px;
}
.event-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: 24px;
}
@media (max-width: 900px) {
  .event-layout {
    grid-template-columns: 1fr;
  }
  .event-card {
    position: static;
  }
}
/* Texto de Aviso legal, Privacidad y Cookies */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--navy);
  margin: 48px 0 16px;
  padding-top: 16px;
  border-top: 1px solid var(--stone);
}
.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-mid);
  margin: 28px 0 10px;
}
.legal-content p {
  font-size: .92rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 16px;
}
.legal-content ol, .legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-content li {
  font-size: .92rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 6px;
}
.legal-content strong {
  color: var(--text);
  font-weight: 600;
}
.legal-content a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover {
  color: var(--gold-dark);
}
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: .88rem;
}
.legal-content td, .legal-content th {
  text-align: left;
  padding: 12px 16px;
  border: 1px solid var(--stone);
  color: var(--text-mid);
  line-height: 1.6;
}
.legal-content th {
  background: var(--cream);
  color: var(--navy);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .3px;
}
.legal-content .last-updated {
  font-size: .85rem;
  color: var(--text-light);
  margin-bottom: 32px;
}
@media (max-width: 600px) {
  .legal-content table {
    font-size: .8rem;
  }
  .legal-content td, .legal-content th {
    padding: 8px 10px;
  }
}

/* Entradas del blog: artículo con imagen de cabecera, cuerpo del texto y ficha lateral con las entradas
   relacionadas. Seis entradas conservan en su <style> su propia variante de la imagen y de los títulos. */
/* Artículo y rejilla con la columna lateral */
.blog-article {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--cream);
}
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}
/* Imagen de cabecera */
.article-image {
  width: 100%;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
  background: linear-gradient(135deg, var(--navy-mid), var(--teal));
}
.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Categoría y fecha */
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.cat-badge {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(42, 123, 136, .1);
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .5px;
}
.article-date {
  font-size: .8rem;
  color: var(--text-light);
}
/* Cuerpo del texto: títulos, entradilla, párrafos, listas, citas y tablas */
.article-body h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  color: var(--navy);
  line-height: 1.2;
  margin: 32px 0 20px;
}
.article-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--navy);
  line-height: 1.25;
  margin: 28px 0 16px;
}
.article-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 24px 0 12px;
}
.article-body h5 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--teal);
  margin: 20px 0 10px;
}
.article-body .lead {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 28px;
  border-left: 3px solid var(--gold);
  padding-left: 20px;
}
.article-body p {
  font-size: .93rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 20px;
}
.article-body ul {
  margin: 0 0 20px 24px;
  list-style: disc;
}
.article-body li {
  font-size: .93rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 8px;
}
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 12px 20px;
  margin: 20px 0;
  background: rgba(197, 165, 90, .05);
  border-radius: 0 8px 8px 0;
}
.article-body blockquote p {
  margin: 0;
  font-style: italic;
}
.article-body strong {
  color: var(--text);
}
.article-body .article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: .88rem;
}
.article-body .article-table td {
  padding: 10px 14px;
  border: 1px solid var(--stone);
  color: var(--text-mid);
}
.article-body .article-table tr:first-child td {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}
/* Ficha lateral */
.sidebar-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--stone);
  padding: 28px;
  position: sticky;
  top: 90px;
}
.sidebar-card .eyebrow {
  color: var(--teal);
  margin-bottom: 16px;
}
.sidebar-card h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}
.sidebar-card p {
  font-size: .82rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 20px;
}
.sidebar-divider {
  height: 1px;
  background: var(--stone);
  margin: 24px 0;
}
/* Entradas relacionadas */
.related-post {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--stone);
}
.related-post:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.related-post a {
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}
.related-post a:hover {
  color: var(--teal);
}
.related-post span {
  font-size: .72rem;
  color: var(--text-light);
}
@media (max-width: 900px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
  .sidebar-card {
    position: static;
  }
}
/* Etiqueta de contenido pendiente (hoy sin uso en el HTML) */
.awaiting {
  display: inline-block;
  background: var(--stone);
  color: var(--text-light);
  font-size: .78rem;
  padding: 4px 10px;
  border-radius: 4px;
  font-style: italic;
}

/* Grupos de razas: cabecera de sección con el recuento, buscador y tarjetas que el buscador oculta. */
/* Último tramo del breadcrumb */
.breadcrumb-current {
  color: var(--text-mid);
  font-weight: 500;
}
/* Sección del grupo y su cabecera con el recuento */
.breed-section {
  padding: clamp(60px, 8vw, 96px) 0;
  background: var(--cream);
}
.breed-section-head {
  margin-bottom: 40px;
}
.breed-section-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 8px;
}
.breed-count {
  font-size: .85rem;
  color: var(--text-light);
  font-weight: 400;
}
.breed-count strong {
  color: var(--navy);
  font-weight: 600;
}
/* Buscador de razas */
.breed-search-wrap {
  margin-bottom: 36px;
}
.breed-search {
  width: 100%;
  max-width: 420px;
  padding: 12px 18px;
  font-family: var(--sans);
  font-size: .88rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--stone);
  border-radius: 8px;
  outline: 0;
  transition: border-color .3s;
}
.breed-search:focus {
  border-color: var(--teal);
}
.breed-search::placeholder {
  color: var(--text-light);
}
/* Tarjeta oculta por el buscador y nombre de la raza */
.breed-card.hidden {
  display: none;
}
.breed-card h4 {
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  flex: 1;
}
/* Aviso sin resultados y enlace de volver */
.breed-no-results {
  display: none;
  grid-column: 1/-1;
  text-align: center;
  padding: 48px 0;
  font-size: .9rem;
  color: var(--text-light);
}
.back-link-section {
  padding: 40px 0 56px;
  background: var(--cream);
  border-top: 1px solid var(--stone);
}

/* Regiones de Jueces: buscador, directorio por país, tarjetas de juez y aviso sin resultados. */
/* Buscador de jueces */
.search-section {
  background: var(--cream);
  padding: 32px 0;
  border-bottom: 1px solid var(--stone);
}
.search-box {
  position: relative;
  max-width: 480px;
}
.search-box input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--stone);
  border-radius: 10px;
  outline: 0;
  transition: border-color .3s, box-shadow .3s;
}
.search-box input::placeholder {
  color: var(--text-light);
}
.search-box input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42, 123, 136, .1);
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--text-light);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  pointer-events: none;
}
/* Recuento de resultados */
#searchCount {
  margin-top: 10px;
  font-size: .78rem;
  color: var(--text-light);
  font-weight: 500;
}
/* Directorio por país */
.directory {
  padding: clamp(56px, 7vw, 88px) 0;
  background: var(--white);
}
.country-section {
  margin-bottom: 56px;
}
.country-section:last-of-type {
  margin-bottom: 0;
}
.country-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--stone);
}
.country-heading h2 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  color: var(--navy);
  font-weight: 400;
}
.country-count {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(42, 123, 136, .08);
  border: 1px solid rgba(42, 123, 136, .2);
  padding: 3px 10px;
  border-radius: 20px;
}
/* Rejilla de jueces */
.judges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) {
  .judges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .judges-grid {
    grid-template-columns: 1fr;
  }
}
/* Tarjeta de juez */
.judge-card {
  background: var(--cream);
  border: 1px solid var(--stone);
  border-radius: 12px;
  padding: 16px;
  transition: all .35s var(--ease);
  display: flex;
  align-items: center;
  gap: 14px;
}
.judge-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--stone);
  background: var(--warm-gray);
}
.judge-photo--placeholder {
  border-color: transparent;
}
.judge-info {
  min-width: 0;
}
.judge-card:hover {
  background: var(--white);
  border-color: rgba(42, 123, 136, .3);
  box-shadow: 0 8px 24px rgba(27, 42, 74, .07);
  transform: translateY(-2px);
}
.judge-name {
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.3;
}
.judge-specialty {
  font-size: .75rem;
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.4;
}
/* País o juez ocultos por el buscador */
.country-section.hidden, .judge-card.hidden {
  display: none;
}
/* Enlace de volver */
.back-section {
  padding: 48px 0 72px;
  background: var(--cream);
  border-top: 1px solid var(--stone);
}
/* Aviso sin resultados */
.no-results {
  display: none;
  text-align: center;
  padding: 48px 20px;
  color: var(--text-light);
  font-size: .95rem;
}
.no-results.visible {
  display: block;
}
