/* TuFísico · diseño v2 (16-nov-2026). Negro y rojo del logo; Barlow Condensed + Inter; fotos reales de Wikimedia Commons.
   Sobrio a propósito: esquinas secas, líneas en vez de tarjetas, sin degradados ni adornos. */
:root{
  --tf-negro:#121212; --tf-negro2:#1c1c1c; --tf-rojo:#c8211a; --tf-rojo-osc:#9e1a14; --tf-papel:#f4f2ee; --tf-linea:#dcd8d1;
  --tf-texto:#222; --tf-gris:#5f6168; --tf-radio:4px;
  --tf-titular:'Barlow Condensed',system-ui,sans-serif; --tf-cuerpo:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
}

/* ===== base ===== */
body.tf-d{background:var(--tf-papel)!important;color:var(--tf-texto);font-family:var(--tf-cuerpo)!important;font-size:16px;line-height:1.65;overflow-x:hidden}
body.tf-d, body.tf-d p, body.tf-d li, body.tf-d input, body.tf-d select, body.tf-d textarea, body.tf-d button, body.tf-d [class*="directorist-"]{font-family:var(--tf-cuerpo)}
body.tf-d h1, body.tf-d h2, body.tf-d h3, body.tf-d .entry-title, body.tf-d .directorist-listing-title{font-family:var(--tf-titular)!important;color:var(--tf-negro);letter-spacing:.005em;line-height:1.05}
body.tf-d h1, body.tf-d .entry-title{font-weight:800;font-size:clamp(34px,5vw,58px)}
body.tf-d h2{font-weight:700;font-size:clamp(26px,3vw,36px);margin:1.4em 0 .5em}
body.tf-d h3{font-weight:700;font-size:22px;margin:1.2em 0 .4em}
body.tf-d a{color:var(--tf-rojo)}
body.tf-d a:hover{color:var(--tf-rojo-osc)}
body.tf-d .entry-content a, .tf-texto a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
body.tf-d ::selection{background:var(--tf-rojo);color:#fff}
.tf-env{max-width:1180px;margin:0 auto;padding:0 24px}
.tf-boton, body.tf-d .tf-boton{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--tf-rojo);color:#fff!important;font:600 15px/1 var(--tf-cuerpo);padding:13px 20px;border-radius:var(--tf-radio);border:0;text-decoration:none!important;cursor:pointer}
.tf-boton:hover{background:var(--tf-rojo-osc)}
body.tf-d .tf-boton.tf-claro{background:transparent!important;color:var(--tf-negro)!important;border:1.5px solid var(--tf-negro)}
body.tf-d .tf-boton.tf-claro:hover{background:var(--tf-negro)!important;color:#fff!important}
.tf-boton.tf-ancho{width:100%;margin-top:14px}
.tf-i{flex:0 0 auto;vertical-align:-3px}

/* ===== cabecera (Astra) ===== */
body.tf-d .ast-primary-header-bar, body.tf-d .main-header-bar, body.tf-d #ast-mobile-header .ast-primary-header-bar,
body.tf-d .ast-mobile-header-wrap .ast-primary-header-bar{background:var(--tf-negro)!important;border:0!important;border-bottom:1px solid #ffffff14!important}
body.tf-d .site-primary-header-wrap{min-height:72px}
body.tf-d .site-branding .custom-logo-link{display:inline-flex!important;align-items:center;gap:12px;text-decoration:none!important}
body.tf-d .site-branding .custom-logo{max-height:48px;width:auto}
body.tf-d .site-branding .custom-logo-link::after{content:"TuFísico";font:800 25px/1 var(--tf-titular);letter-spacing:.01em;color:#fff}
body.tf-d .main-header-menu .menu-link, body.tf-d .ast-builder-menu-1 .menu-item > .menu-link{color:#cfd0d2!important;font:500 15px var(--tf-cuerpo)!important}
body.tf-d .main-header-menu .menu-item:hover > .menu-link, body.tf-d .main-header-menu .current-menu-item > .menu-link{color:#fff!important}
body.tf-d .main-header-menu .sub-menu{background:var(--tf-negro2)!important;border:0!important;border-radius:0;box-shadow:0 12px 30px #0006}
body.tf-d .main-header-menu .sub-menu .menu-link{color:#c6c8cc!important;font-size:14px!important;border:0!important}
body.tf-d .main-header-menu .sub-menu .menu-link:hover{color:#fff!important;background:#ffffff0d}
body.tf-d .ast-custom-button, body.tf-d .ast-builder-button-wrap .ast-custom-button{background:var(--tf-rojo)!important;color:#fff!important;border:0!important;border-radius:var(--tf-radio)!important;font:600 15px/1 var(--tf-cuerpo)!important;text-transform:none!important;letter-spacing:0!important;padding:12px 18px!important}
body.tf-d .ast-custom-button:hover{background:var(--tf-rojo-osc)!important}
body.tf-d .ast-mobile-menu-trigger-minimal, body.tf-d .menu-toggle, body.tf-d .ast-button-wrap .menu-toggle{color:#fff!important;background:transparent!important;border:1px solid #ffffff40!important;border-radius:var(--tf-radio)!important}
body.tf-d .menu-toggle .ast-mobile-svg, body.tf-d .menu-toggle svg{fill:#fff!important}
body.tf-d .ast-mobile-header-content, body.tf-d .ast-mobile-popup-drawer .ast-mobile-popup-inner{background:var(--tf-negro)!important}
body.tf-d .ast-mobile-header-content .menu-link{color:#e8e8ea!important;border-color:#ffffff14!important}

/* ===== contenedores de Astra: lienzo limpio en portada, índices y fichas ===== */
body.tf-portada .site-content>.ast-container, body.tf-hub .site-content>.ast-container, body.tf-ficha .site-content>.ast-container{max-width:100%!important;padding:0!important;display:block}
body.tf-portada #primary, body.tf-hub #primary, body.tf-ficha #primary{margin:0!important;padding:0!important;width:100%}
body.tf-portada .ast-article-single, body.tf-hub .ast-article-single{background:transparent!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important}
body.tf-portada .entry-header, body.tf-hub .entry-header{display:none}
body.tf-portada .entry-content, body.tf-hub .entry-content{margin:0!important}
body.tf-ficha .directorist-single-contents-area>.directorist-container-fluid{max-width:100%!important;padding:0!important}
body.tf-ficha .directorist-single-contents-area .directorist-row{margin:0!important}
body.tf-ficha .directorist-single-contents-area .directorist-col-lg-12{margin-top:0!important;padding:0!important;max-width:100%;flex:0 0 100%}
body.tf-ficha .directorist-single-contents-area, body.tf-ficha .directorist-single{padding:0!important;margin:0!important}
body.tf-ficha .directorist-single.directorist-container, body.tf-ficha .directorist-single{max-width:100%!important;width:100%!important;margin:0!important;padding:0!important}

/* ===== bandas negras (con foto de fondo muy oscurecida) ===== */
.tf-banda{background:var(--tf-negro);color:#fff;position:relative}
.tf-banda.tf-con-foto{background:linear-gradient(90deg,rgba(18,18,18,.94) 0%,rgba(18,18,18,.86) 55%,rgba(18,18,18,.62) 100%),var(--tf-fondo) center 35%/cover no-repeat,var(--tf-negro)}
.tf-banda>.tf-env{position:relative;z-index:1}
.tf-banda h1{color:#fff!important;margin:0 0 .35em}
.tf-banda h1 em{font-style:normal;color:#fff;box-shadow:inset 0 -.14em 0 var(--tf-rojo)}
.tf-banda p{color:#c9cacd}
.tf-banda a{color:#fff}
.tf-credito{position:absolute;right:16px;bottom:10px;font-size:11px;color:#ffffff80;z-index:1;max-width:60%;text-align:right;line-height:1.3}
.tf-credito a{color:#ffffffa0!important;text-decoration:none!important}
.tf-cabficha .tf-credito{top:12px;bottom:auto}
.tf-migas{font-size:13px;color:#9da0a6;margin-bottom:14px}
.tf-migas a{color:#c6c8cc!important;text-decoration:none!important}
.tf-migas a:hover{color:#fff!important}

/* ===== portada ===== */
.tf-heroe{padding:0}
.tf-heroe-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:56px;align-items:center;padding-top:64px;padding-bottom:64px}
.tf-heroe h1{font-size:clamp(40px,5.4vw,68px)}
.tf-heroe .tf-lead{font-size:18px;margin:0 0 12px;color:#c9cacd}
.tf-heroe .tf-lead strong{color:#fff;font-weight:600}
.tf-heroe .tf-lead a{color:#fff;text-decoration:underline}
.tf-heroe-foto{margin:0;position:relative}
.tf-heroe-foto img{display:block;width:100%;aspect-ratio:4/3.4;object-fit:cover;border-radius:var(--tf-radio);filter:grayscale(.15) contrast(1.05)}
.tf-heroe-foto figcaption{font-size:11px;color:#8f9196;margin-top:8px;line-height:1.3}
.tf-heroe-foto figcaption a{color:#a9abb0!important;text-decoration:none}
.tf-buscador{display:flex;background:#fff;border-radius:var(--tf-radio);padding:6px;margin-top:26px}
.tf-buscador label{flex:1;display:flex;flex-direction:column;padding:6px 14px;border-right:1px solid var(--tf-linea);margin:0;min-width:0}
.tf-buscador label:last-of-type{border-right:0}
.tf-buscador small{font:600 11px var(--tf-cuerpo);letter-spacing:.06em;text-transform:uppercase;color:var(--tf-gris)}
body.tf-d .tf-buscador input, body.tf-d .tf-buscador select{border:0!important;box-shadow:none!important;font:500 15px var(--tf-cuerpo);color:var(--tf-negro);padding:3px 0!important;background:transparent!important;outline:0;height:auto;min-height:0;width:100%}
.tf-buscador .tf-boton{padding:0 26px}
.tf-cifras{margin:16px 0 0;color:#9da0a6!important;font-size:14px}
.tf-cifras b{color:#fff;font-weight:600}
.tf-bloque{padding:72px 0}
.tf-bloque.tf-blanco{background:#fff}
.tf-bloque h2{margin-top:0}
.tf-cabeza{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:40px;align-items:end;margin-bottom:28px;border-bottom:2px solid var(--tf-negro);padding-bottom:16px}
.tf-cabeza h2{margin:0!important}
.tf-cabeza p{color:var(--tf-gris);margin:0;font-size:15px}
.tf-discs{display:grid;grid-template-columns:repeat(4,1fr);gap:22px 18px;margin-bottom:34px}
body.tf-d .tf-disc{display:block;color:var(--tf-texto);text-decoration:none!important}
.tf-disc img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:var(--tf-radio);transition:filter .2s}
.tf-disc:hover img{filter:brightness(.85)}
.tf-disc-pie{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding-top:10px;border-bottom:1px solid var(--tf-linea);padding-bottom:8px}
.tf-disc strong{font:700 22px/1 var(--tf-titular);color:var(--tf-negro)}
.tf-disc:hover strong{color:var(--tf-rojo)}
.tf-disc-pie{flex-wrap:wrap}
.tf-disc-pie span{color:var(--tf-gris);font-size:14px;white-space:nowrap}
ul.tf-lista-puntos{list-style:none;margin:0;padding:0;columns:3;column-gap:44px}
ul.tf-lista-puntos li{display:flex;align-items:baseline;gap:8px;padding:9px 0;border-bottom:1px solid var(--tf-linea);break-inside:avoid;margin:0}
ul.tf-lista-puntos li a{color:var(--tf-negro)!important;font-weight:500;text-decoration:none!important}
ul.tf-lista-puntos li a:hover{color:var(--tf-rojo)!important}
ul.tf-lista-puntos li span{margin-left:auto;color:var(--tf-gris);font-variant-numeric:tabular-nums;font-size:14px}
.tf-mas{margin-top:18px;color:var(--tf-gris);font-size:15px}
.tf-dos{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:40px}
.tf-dos p{margin:0 0 14px}
.tf-aviso{border-top:4px solid var(--tf-rojo);background:#fff;padding:30px 34px;margin-top:44px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:30px;align-items:center}
.tf-aviso h2{margin:0 0 6px!important;font-size:30px}
.tf-aviso p{margin:0;color:var(--tf-gris)}
.tf-faq{max-width:860px}
.tf-faq details{border-bottom:1px solid var(--tf-linea);padding:16px 0}
.tf-faq details:first-of-type{border-top:2px solid var(--tf-negro)}
.tf-faq summary{font:600 17px var(--tf-cuerpo);cursor:pointer;color:var(--tf-negro);list-style:none;display:flex;justify-content:space-between;gap:16px}
.tf-faq summary::-webkit-details-marker{display:none}
.tf-faq summary::after{content:"+";color:var(--tf-negro);font-size:20px;line-height:1}
.tf-faq details[open] summary::after{content:"–"}
.tf-faq details p{color:var(--tf-gris);margin:10px 0 0}

/* ===== páginas índice ===== */
.tf-cabhub{padding:46px 0 54px}
.tf-cabhub h1{font-size:clamp(36px,5vw,58px)}
.tf-intro{max-width:780px}
.tf-intro p{color:#c9cacd;font-size:16.5px;margin:0 0 12px}
.tf-intro strong{color:#fff}
.tf-intro a{color:#fff!important}
.tf-lista{padding-top:32px;padding-bottom:10px}
.tf-texto.tf-pre{margin:32px 0 0}
/* tabla de contenido (plugin Table of Contents Plus) */
body.tf-d #toc_container{background:#fff!important;border:1px solid var(--tf-linea)!important;border-left:4px solid var(--tf-rojo)!important;border-radius:var(--tf-radio);padding:14px 20px!important;margin:0 0 26px!important;box-shadow:none;font-size:15px;width:auto!important;min-width:260px}
body.tf-d #toc_container .toc_title{font:700 18px/1.2 var(--tf-titular)!important;color:var(--tf-negro)!important;text-align:left!important;margin:0!important}
body.tf-d #toc_container .toc_toggle a{color:var(--tf-rojo)!important;font-family:var(--tf-cuerpo);font-size:13px}
body.tf-d #toc_container .toc_list{margin:10px 0 0!important;padding:0!important}
body.tf-d #toc_container .toc_list li{margin:4px 0;list-style:none}
body.tf-d #toc_container .toc_list a{color:var(--tf-texto)!important;text-decoration:none!important}
body.tf-d #toc_container .toc_list a:hover{color:var(--tf-rojo)!important}
body.tf-d .tf-banda #toc_container{display:none!important}
.tf-texto{background:#fff;border:1px solid var(--tf-linea);border-radius:var(--tf-radio);padding:40px 46px;margin:26px 0 72px}
.tf-texto>*:first-child{margin-top:0}
.tf-texto h2{font-size:clamp(24px,2.6vw,32px)}
.tf-texto ul, .tf-texto ol{padding-left:22px;margin-left:0;columns:auto!important}
.tf-texto li{margin-bottom:6px}

/* ===== listados de Directorist (índices, buscador, /clubes/) ===== */
body.tf-d .directorist-archive-contents .directorist-container-fluid, body.tf-d .directorist-search-contents .directorist-container-fluid{padding-left:0;padding-right:0}
body.tf-d .directorist-header-bar{margin-bottom:14px}
body.tf-d .directorist-listings-header{background:transparent;padding:0}
body.tf-d .directorist-btn, body.tf-d .directorist-btn-light, body.tf-d .directorist-dropdown__toggle{border-radius:var(--tf-radio)!important;font-family:var(--tf-cuerpo)!important;letter-spacing:0!important;text-transform:none!important;font-weight:600!important}
body.tf-d .directorist-btn-primary, body.tf-d .directorist-search-form button[type=submit], body.tf-d .directorist-advanced-filter__action button[type=submit], body.tf-d .directorist-btn-search{background:var(--tf-rojo)!important;border-color:var(--tf-rojo)!important;color:#fff!important}
body.tf-d .directorist-dropdown__toggle, body.tf-d .directorist-filter-btn{background:#fff!important;border:1px solid var(--tf-linea)!important;color:var(--tf-negro)!important}
body.tf-d .directorist-viewas__item.active, body.tf-d .directorist-viewas a.active{background:var(--tf-negro)!important;color:#fff!important}
body.tf-d .directorist-archive-items .directorist-listing-single{background:#fff;border:0!important;border-bottom:1px solid var(--tf-linea)!important;border-radius:0!important;box-shadow:none!important;margin-bottom:0!important}
body.tf-d .directorist-archive-items .directorist-col-12:first-child .directorist-listing-single{border-top:2px solid var(--tf-negro)!important}
body.tf-d .directorist-archive-items .directorist-listing-single:hover{background:#fbfaf8}
body.tf-d .directorist-archive-items .directorist-row{row-gap:0!important}
body.tf-d .directorist-archive-items .directorist-col-12{margin-bottom:0!important}
body.tf-d .directorist-listing-single .directorist-listing-title{font-size:22px!important;font-weight:700!important;margin:0 0 4px}
body.tf-d .directorist-listing-single .directorist-listing-title a{color:var(--tf-negro)!important;text-decoration:none!important}
body.tf-d .directorist-listing-single .directorist-listing-title a:hover{color:var(--tf-rojo)!important}
body.tf-d .directorist-listing-single__info{padding:16px 20px 6px!important}
body.tf-d .directorist-listing-single__meta{border-top:0!important;padding:0 20px 14px!important}
body.tf-d .directorist-listing-card-location-list, body.tf-d .directorist-listing-single__info--list li{color:var(--tf-gris)!important;font-size:14px}
body.tf-d .directorist-listing-category > a, body.tf-d .directorist-listing-category__popup{font-size:13px;font-weight:600}
body.tf-d .directorist-listing-category .directorist-icon-mask:after{background-color:var(--tf-rojo)!important}
body.tf-d .directorist-pagination .page-numbers{border-radius:var(--tf-radio)!important}
body.tf-d .directorist-pagination .page-numbers.current{background:var(--tf-negro)!important;border-color:var(--tf-negro)!important;color:#fff!important}
body.tf-d .directorist-search-form__box, body.tf-d .directorist-search-modal__contents{border-radius:var(--tf-radio)!important}
body.tf-d .directorist-thumnail-card, body.tf-d .directorist-listing-single__thumb{display:none!important}
body.tf-d .directorist-badge-new{display:none!important}

/* ===== ficha de club ===== */
.tf-cabficha{padding:40px 0 70px}
.tf-cabficha h1{font-size:clamp(34px,5vw,58px)}
.tf-etis{display:flex;gap:8px;flex-wrap:wrap}
body.tf-d .tf-eti{font-size:13px;font-weight:600;padding:5px 11px;border-radius:var(--tf-radio);border:1px solid #ffffff40;color:#fff;text-decoration:none!important}
body.tf-d .tf-eti.tf-p{background:var(--tf-rojo);border-color:var(--tf-rojo)}
body.tf-d a.tf-eti:hover{border-color:#fff}
.tf-datos{display:flex;gap:22px;margin-top:18px;color:#c9cacd;font-size:15px;flex-wrap:wrap}
.tf-datos span{display:inline-flex;gap:7px;align-items:center}
.tf-datos a{color:#fff!important;text-decoration:none!important}
.tf-ficha-cuerpo{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:30px;align-items:start;margin-top:-36px;position:relative;z-index:2}
.tf-ficha-cuerpo .tf-texto{margin:0 0 20px}
.tf-lateral{display:flex;flex-direction:column;gap:16px;position:sticky;top:24px}
.tf-tarjeta{background:#fff;border:1px solid var(--tf-linea);border-top:3px solid var(--tf-negro);border-radius:var(--tf-radio);padding:20px 22px}
.tf-tarjeta h3{font-size:21px!important;margin:0 0 6px!important}
.tf-fila{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--tf-linea);font-size:15px;line-height:1.5}
.tf-fila:last-of-type{border-bottom:0}
.tf-fila .tf-i{color:var(--tf-rojo);margin-top:2px}
.tf-mapa{width:100%;height:210px;border:0;border-radius:var(--tf-radio);margin-top:10px;display:block}
.tf-tarjeta.tf-negra{background:var(--tf-negro);border-color:var(--tf-negro);border-top-color:var(--tf-rojo);color:#c6c8cc}
.tf-tarjeta.tf-negra h3{color:#fff!important}
.tf-tarjeta.tf-negra p{margin:0 0 14px;font-size:15px}
.tf-relac{padding-bottom:72px}
.tf-relac h2{margin-top:28px;border-bottom:2px solid var(--tf-negro);padding-bottom:10px}
.tf-relac .tf-rejilla{display:grid;grid-template-columns:repeat(3,1fr);gap:0 36px}
body.tf-d .tf-club{display:block;padding:14px 0;border-bottom:1px solid var(--tf-linea);color:var(--tf-texto);text-decoration:none!important}
.tf-inicial{display:none}
.tf-club strong{display:block;font:700 19px/1.15 var(--tf-titular);color:var(--tf-negro)}
.tf-club:hover strong{color:var(--tf-rojo)}
.tf-club small{color:var(--tf-gris);font-size:13px}

/* ===== entradas y páginas normales (guías, legales, blog) ===== */
body.tf-d:not(.tf-portada):not(.tf-hub):not(.tf-ficha) .ast-article-single, body.tf-d:not(.tf-portada):not(.tf-hub):not(.tf-ficha) .ast-article-post{border-radius:var(--tf-radio);border:1px solid var(--tf-linea);box-shadow:none}
body.tf-d .entry-content{font-size:17px}
ul.tf-creditos{font-size:14px;color:var(--tf-gris)}

/* ===== pie ===== */
body.tf-d .site-footer{display:none!important}
.tf-pie{background:var(--tf-negro);color:#a9acb2;padding:56px 0 26px;font-size:14px;border-top:4px solid var(--tf-rojo)}
.tf-pie-cols{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px}
.tf-pie h4{color:#fff;font:700 17px var(--tf-titular);letter-spacing:.02em;margin:0 0 12px}
.tf-pie a{color:#c6c8cc!important;display:block;margin-bottom:7px;text-decoration:none!important}
.tf-pie a:hover{color:#fff!important}
.tf-pie p{margin:10px 0 16px;max-width:340px}
.tf-pie .tf-boton{display:inline-flex;color:#fff!important}
.tf-marca{font:800 28px/1 var(--tf-titular)!important;color:#fff!important;display:inline-block!important}
.tf-marca span{color:#fff}
.tf-pie-bajo{border-top:1px solid #ffffff1a;margin-top:40px;padding-top:20px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}

/* ===== móvil ===== */
@media (max-width:921px){
  .tf-heroe-grid{grid-template-columns:1fr;gap:28px;padding-top:44px;padding-bottom:44px}
  .tf-heroe-foto{order:-1}
  .tf-heroe-foto img{aspect-ratio:16/9}
  .tf-discs{grid-template-columns:1fr 1fr}
  ul.tf-lista-puntos{columns:2}
  .tf-cabeza, .tf-dos{grid-template-columns:1fr;gap:12px}
  .tf-ficha-cuerpo{grid-template-columns:1fr;margin-top:-28px}
  .tf-lateral{position:static}
  .tf-relac .tf-rejilla{grid-template-columns:1fr 1fr}
  .tf-pie-cols{grid-template-columns:1fr 1fr}
  .tf-credito{position:static;max-width:none;text-align:left;padding:10px 24px 0}
}
@media (max-width:640px){
  .tf-env{padding:0 18px}
  .tf-buscador{flex-direction:column;padding:4px}
  .tf-buscador label{border-right:0;border-bottom:1px solid var(--tf-linea);padding:9px 12px}
  .tf-buscador .tf-boton{padding:14px;margin-top:4px}
  .tf-bloque{padding:52px 0}
  .tf-discs{gap:16px 12px}
  .tf-disc strong{font-size:19px}
  ul.tf-lista-puntos{columns:1}
  .tf-aviso{grid-template-columns:1fr;padding:24px 22px}
  .tf-texto{padding:24px 20px}
  .tf-relac .tf-rejilla{grid-template-columns:1fr}
  .tf-pie-cols{grid-template-columns:1fr}
  body.tf-d .site-branding .custom-logo-link::after{font-size:21px}
  body.tf-d .site-branding .custom-logo{max-height:40px}
}

/* ===== menú del móvil (Astra): negro, legible y con letra de la marca ===== */
@media (max-width:921px){
  body.tf-d .ast-mobile-header-content, body.tf-d .ast-mobile-header-content .ast-builder-menu-mobile, body.tf-d .ast-mobile-header-content .main-navigation,
  body.tf-d .ast-mobile-header-content .main-header-bar-navigation, body.tf-d #ast-hf-menu-1-mobile, body.tf-d #ast-hf-menu-1-mobile .sub-menu,
  body.tf-d .ast-mobile-header-content .menu-item{background:var(--tf-negro)!important}
  body.tf-d .ast-mobile-header-content{border-top:3px solid var(--tf-rojo);padding-bottom:14px}
  body.tf-d #ast-hf-menu-1-mobile > .menu-item > .menu-link{color:#f2f0ec!important;font:700 22px/1.2 var(--tf-titular)!important;padding:14px 24px!important;border-bottom:1px solid #ffffff14!important}
  body.tf-d #ast-hf-menu-1-mobile .sub-menu .menu-link{color:#c9cacd!important;font:500 15px/1.3 var(--tf-cuerpo)!important;padding:10px 24px 10px 38px!important;border-bottom:1px solid #ffffff0d!important}
  body.tf-d #ast-hf-menu-1-mobile .menu-link:hover, body.tf-d #ast-hf-menu-1-mobile .current-menu-item > .menu-link{color:#fff!important}
  body.tf-d #ast-hf-menu-1-mobile .current-menu-item > .menu-link{box-shadow:inset 4px 0 0 var(--tf-rojo)}
  body.tf-d #ast-hf-menu-1-mobile .ast-menu-toggle{color:#f2f0ec!important;border:0!important;background:transparent!important}
  body.tf-d #ast-hf-menu-1-mobile .ast-menu-toggle svg, body.tf-d #ast-hf-menu-1-mobile .ast-icon svg{fill:#f2f0ec!important}
  body.tf-d .ast-mobile-header-content .ast-builder-button-wrap{padding:16px 24px 6px}
}

/* ===== vista de mapa de los listados: más alta ===== */
body.tf-d .directorist-archive-contents .leaflet-container, body.tf-d .directorist-archive-map-view .leaflet-container{min-height:620px;border-radius:var(--tf-radio)}
@media (max-width:640px){ body.tf-d .directorist-archive-contents .leaflet-container{min-height:460px} }
.tf-mapa-nota{font-size:13px;color:var(--tf-gris);margin:8px 0 0;line-height:1.45}
/* tarjeta del mapa (propia, ligera) */
.tf-mapa-tarjeta{display:flex;flex-direction:column;gap:3px;min-width:180px;font-family:var(--tf-cuerpo)}
.tf-mapa-tarjeta strong{font:700 17px/1.15 var(--tf-titular);color:var(--tf-negro)}
.tf-mapa-tarjeta a{text-decoration:none!important}
.tf-mapa-tarjeta a:hover strong{color:var(--tf-rojo)}
.tf-mapa-tarjeta span{font-size:12px;color:var(--tf-rojo);font-weight:600}
.tf-mapa-tarjeta small{font-size:12px;color:var(--tf-gris)}
