/*
Theme Name: K9 V2.9.78 - Tamaños Adiestramiento
Theme URI: https://www.k9personaldogtrainer.com/
Author: K9 Personal Dog Trainer
Description: Tema personalizado de K9 Personal Dog Trainer.
Version: 2.9.87
Text Domain: k9-personal-dog-trainer
*/

/* Navegación móvil compartida: control nativo usable incluso sin JavaScript. */
.k9-mobile-nav{display:none}
@media(max-width:900px){
 header nav{position:relative;gap:12px}
 header .brand{min-width:0;font-size:clamp(.64rem,2.5vw,.88rem);letter-spacing:.035em;white-space:nowrap}
 header .k9-mobile-nav{display:block;flex:0 0 auto}
 header .k9-mobile-nav>summary{display:flex;align-items:center;gap:7px;list-style:none;cursor:pointer;color:var(--acid,#c9f23a);border:1px solid currentColor;padding:9px 10px;font-family:inherit;font-size:10px;font-weight:900;letter-spacing:.06em;line-height:1.2}
 header .k9-mobile-nav>summary::-webkit-details-marker{display:none}
 header .k9-mobile-nav>summary svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
 header .k9-mobile-nav>summary:focus-visible{outline:2px solid var(--acid,#c9f23a);outline-offset:4px}
 header .k9-mobile-links{position:absolute;top:100%;left:0;right:0;z-index:60;display:flex;flex-direction:column;background:#080a09;border:1px solid #343a34;box-shadow:0 16px 30px #0008;padding:10px 18px;max-height:calc(100svh - 80px);overflow-y:auto}
 header .k9-mobile-links a{display:block;padding:16px 0;border-bottom:1px solid #292e2b;color:#f4f3ec;text-decoration:none;font-size:13px;font-weight:900;letter-spacing:.08em}
 header .k9-mobile-links a:last-child{border:0}
 header .k9-mobile-links a:hover,header .k9-mobile-links a:focus-visible{color:var(--acid,#c9f23a)}
 header .k9-mobile-links .k9-mobile-call{color:var(--acid,#c9f23a)}
}

/* Servicios: enlace a la página en PC, submenú accesible con ratón y teclado. */
.k9-services-nav{position:relative;display:flex;align-items:center;height:72px}
.k9-services-submenu{position:absolute;top:100%;left:-18px;width:232px;display:none;flex-direction:column;background:#090c0a;border:1px solid #303833;box-shadow:0 20px 35px #000a;padding:10px 14px;z-index:70}
.k9-services-nav:hover .k9-services-submenu,.k9-services-nav:focus-within .k9-services-submenu{display:flex}
.k9-services-submenu a{padding:12px 6px;border-bottom:1px solid #29312b;color:#e9ebe7;font-size:12px;line-height:1.3;font-weight:900;letter-spacing:.02em;white-space:normal}
.k9-services-submenu a:last-child{border:0}
.k9-services-submenu a:hover,.k9-services-submenu a:focus-visible{color:var(--acid,#c9f23a);outline:2px solid currentColor;outline-offset:-2px}
@media(max-width:900px){
 header .k9-services-mobile{border-bottom:1px solid #29312b}
 header .k9-services-mobile summary{list-style:none;cursor:pointer;padding:16px 0;color:#f4f3ec;font-size:13px;font-weight:900;letter-spacing:.08em;display:flex;justify-content:space-between}
 header .k9-services-mobile summary::-webkit-details-marker{display:none}
 header .k9-services-mobile summary span{color:var(--acid,#c9f23a)}
 header .k9-services-mobile summary:focus-visible{outline:2px solid var(--acid,#c9f23a);outline-offset:-2px}
 header .k9-services-mobile-sub{padding:0 0 10px 15px;border-left:2px solid var(--acid,#c9f23a)}
 header .k9-services-mobile-sub a{padding:11px 0;font-size:12px;border:0;color:#c9ceca}
}

/* V2.9.17 — Menús alineados y compacto; icono del desplegable solo a la derecha. */
@media(min-width:901px){
 body>header .menu{display:flex;align-items:center;height:72px;gap:24px}
 body>header .menu>a{display:flex;align-items:center;height:100%;white-space:nowrap}
 body>header .k9-services-nav{height:100%;display:flex;align-items:center}
 body>header .k9-services-nav>a{display:flex;align-items:center;height:100%;gap:5px;white-space:nowrap}
 body>header .k9-services-chevron{color:var(--acid,#c9f23a);font-size:11px;line-height:1}
 body>header .k9-services-submenu{width:max-content;min-width:0;left:-12px;padding:6px;align-items:stretch}
 body>header .k9-services-submenu a{padding:11px 9px;white-space:nowrap}
}
body>header .menu>a.k9-current,body>header .k9-services-nav>a.k9-current,body>header .k9-mobile-links>a.k9-current,body>header .k9-services-mobile summary.k9-current,body>header .k9-services-submenu a.k9-current,body>header .k9-services-mobile-sub a.k9-current{color:var(--acid,#c9f23a)}
@media(max-width:900px){
 body{padding-top:62px}
 body>header{position:fixed!important;top:0!important;left:0;right:0;z-index:999;background:rgba(7,8,9,.84);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px)}
 body>header nav{height:62px}
 body>header .k9-mobile-links{left:auto;right:0;width:min(225px,calc(100vw - 44px));max-width:none;padding:6px 15px;max-height:calc(100dvh - 70px)}
 body>header .k9-mobile-links>a{padding:12px 0}
 body>header .k9-services-mobile summary{padding:12px 0;border:0;background:transparent;width:100%;box-shadow:none}
 body>header .k9-services-mobile-sub{width:max-content;max-width:100%;padding:0 8px 7px 12px}
 body>header .k9-services-mobile-sub a{white-space:nowrap;padding:9px 0}
}

/* V2.9.57 — En escritorio, la fotografía empieza después del menú. */
@media(min-width:901px){
 body>header{position:sticky!important;top:0!important;left:auto!important;right:auto!important;background:#080a09!important;z-index:999!important}
 body.k9-scrolled>header{background:rgba(8,10,9,.78)!important;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px)}
}

.k9-header-space { display: none; }

@media (min-width: 901px) {
  body.k9-header-measured > header,
  body > header.k9-header-overlay {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
  }
  body.k9-header-measured.admin-bar > header,
  body.admin-bar > header.k9-header-overlay {
    top: var(--wp-admin--admin-bar--height, 32px) !important;
  }
  body.k9-header-measured > .k9-header-space {
    display: block;
    height: var(--k9-header-height);
    background: #080a09;
  }
}

@media (max-width: 600px) {
  :is(.k9-obediencia-page, .k9-conducta-page, .k9-cachorros-page, .k9-dia-a-dia-page) .hero .seo-page-title,
  :is(.k9-obediencia-page, .k9-conducta-page, .k9-cachorros-page, .k9-dia-a-dia-page) .results .results-content .kicker {
    font-size: 15px;
    margin-inline: 0;
    padding-inline: 0;
    text-align: start;
    -webkit-text-stroke: 0.7px #000;
    paint-order: stroke fill;
  }
}


/* Selector de Servicios en la navegación de escritorio. */
body > header .k9-services-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
  cursor: pointer;
}
body > header .k9-services-toggle.k9-current {
  color: var(--acid, #c9f23a);
}
body > header .k9-services-toggle:focus-visible {
  outline: 2px solid var(--acid, #c9f23a);
  outline-offset: 4px;
}
.k9-services-nav > .k9-services-toggle[aria-expanded="false"] + .k9-services-submenu {
  display: none;
}
.k9-services-nav > .k9-services-toggle[aria-expanded="true"] + .k9-services-submenu {
  display: flex;
}

.k9-adiestramiento-page .k9-pista-photo:has(img) {
  border: 0;
}
