/* ===== ALDRIVEPADEL · CSS global (mu-plugin) ===== */
:root{
  --ad-bg:#0f0b1a;--ad-card:#171126;--ad-border:#2a2042;--ad-deep:#090611;
  --ad-violet:#7c3aed;--ad-violet-2:#a78bfa;--ad-orange:#f97316;
  --ad-white:#fff;--ad-text:#d1d5db;--ad-muted:#9ca3af;
  --ad-display:'Anton',Impact,'Arial Narrow',sans-serif;
  --ad-sans:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --ast-global-color-0:#7c3aed;--ast-global-color-1:#f97316;--ast-global-color-2:#fff;
  --ast-global-color-3:#d1d5db;--ast-global-color-4:#0f0b1a;--ast-global-color-5:#171126;
  --ast-global-color-6:#2a2042;--ast-global-color-7:#2a2042;--ast-global-color-8:#090611;
}

/* ---------- Base ---------- */
html,body{overflow-x:clip}
html body,body .site,body #page,body .site-content,body.ast-separate-container,body.ast-plain-container,
body.ast-page-builder-template,body .ast-separate-container #primary,body.ast-separate-container .ast-article-single,
body.ast-separate-container .ast-article-post{background:var(--ad-bg)!important;color:var(--ad-text);font-family:var(--ad-sans)}
body,body p,body li,body input,body button,body textarea{font-family:var(--ad-sans)}
body h1,body h2,body h3,body h4,body h5,body h6,body .entry-title,body .entry-title a{
  font-family:var(--ad-display)!important;font-weight:400!important;text-transform:none!important;letter-spacing:.005em;
  color:var(--ad-white)!important;line-height:1.1}
body a{color:var(--ad-violet-2)}
body a:hover,body a:focus{color:var(--ad-orange)}
::selection{background:var(--ad-violet);color:#fff}
body .ad-wrap{max-width:1240px!important;width:100%;margin-left:auto!important;margin-right:auto!important;padding:0 20px;box-sizing:border-box}
body .ad-portal a.ad-badge,body a.ad-badge,body .ad-chips a,body .ad-card a,body .ad-hero a,body .ad-eco a,body a.ad-eco-card,
body .ad-footer a,body .ad-topbar a{text-decoration:none!important}

/* ---------- Top bar ---------- */
.ad-topbar{background:var(--ad-deep);border-bottom:1px solid var(--ad-border);font:500 12px/1 var(--ad-sans)}
.ad-topbar-in{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px}
.ad-topbar-social{display:flex;align-items:center;gap:4px}
body .ad-topbar-social a{display:grid;place-items:center;width:28px;height:28px;color:var(--ad-muted);border-radius:6px}
body .ad-topbar-social a:hover{color:var(--ad-orange);background:var(--ad-card)}
.ad-topbar-social svg{width:15px;height:15px}
.ad-topbar-handle{color:var(--ad-muted);margin-left:8px;letter-spacing:.02em}
.ad-topbar-links{display:flex;gap:8px}
body a.ad-pill{display:inline-flex;align-items:center;gap:6px;font:700 10.5px/1 var(--ad-sans);text-transform:uppercase;letter-spacing:.1em;
  padding:6px 10px;border-radius:5px;border:1px solid;transition:background .15s,color .15s}
body a.ad-pill-shop{color:var(--ad-orange);border-color:rgba(249,115,22,.45)}
body a.ad-pill-shop:hover{background:var(--ad-orange);color:#fff}
body a.ad-pill-live{color:var(--ad-violet-2);border-color:rgba(124,58,237,.55)}
body a.ad-pill-live:hover{background:var(--ad-violet);color:#fff}
.ad-dot{width:6px;height:6px;border-radius:50%;background:currentColor;animation:ad-pulse 1.4s ease-in-out infinite}
@keyframes ad-pulse{0%,100%{opacity:1}50%{opacity:.25}}

/* ---------- Header Astra ---------- */
body #masthead,body .ast-primary-header-bar,body .main-header-bar,body .ast-mobile-header-wrap .ast-primary-header-bar,
body .ast-above-header-bar,body .ast-below-header-bar{background:var(--ad-bg)!important;border-bottom:1px solid var(--ad-border)!important;box-shadow:none!important}
body #masthead{position:sticky;top:0;z-index:99}
body.admin-bar #masthead{top:32px}
body .custom-logo-link img{max-height:54px;width:auto}
body .site-title a{color:#fff!important}
body .main-header-menu .menu-item>.menu-link,body .ast-builder-menu-1 .menu-item>.menu-link{
  color:var(--ad-text)!important;font:600 13px/1 var(--ad-sans)!important;text-transform:uppercase;letter-spacing:.08em}
body .main-header-menu .menu-item:hover>.menu-link,body .main-header-menu .current-menu-item>.menu-link,
body .main-header-menu .current-menu-ancestor>.menu-link{color:var(--ad-orange)!important}
body .main-header-menu .current-menu-item>.menu-link{box-shadow:inset 0 -2px 0 var(--ad-orange)}
body .ast-mobile-menu-trigger-minimal,body .menu-toggle{color:#fff!important;background:transparent!important}
body .menu-toggle svg,body .ast-mobile-svg{fill:#fff!important}
body .ast-mobile-header-content,body .ast-mobile-popup-drawer .ast-mobile-popup-inner,body #ast-mobile-site-navigation,
body .ast-mobile-header-content .main-header-menu,body .ast-header-break-point .main-navigation ul{background:var(--ad-card)!important;border-color:var(--ad-border)!important}
body .ast-mobile-header-content .menu-item>.menu-link{border-color:var(--ad-border)!important;padding:14px 20px!important}

/* ---------- Secciones ---------- */
.ad-section{padding:40px 0}
.ad-hero-section{padding-top:32px}
.ad-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px;padding-bottom:12px;border-bottom:1px solid var(--ad-border)}
body .ad-h2{font-size:clamp(1.7rem,3vw,2.3rem)!important;margin:0!important;padding-left:14px;border-left:4px solid var(--ad-orange);line-height:1}
.ad-chips{display:flex;flex-wrap:wrap;gap:8px}
body .ad-chips a{font:600 11.5px/1 var(--ad-sans);text-transform:uppercase;letter-spacing:.06em;color:var(--ad-text);
  border:1px solid var(--ad-border);background:var(--ad-card);padding:8px 12px;border-radius:6px}
body .ad-chips a:hover{border-color:var(--ad-orange);color:#fff}
.ad-empty{padding:40px;border:1px dashed var(--ad-border);border-radius:12px;text-align:center;color:var(--ad-muted)}

/* Portada: sin título ni márgenes de Astra */
body.home .entry-header,body.home .ast-single-entry-banner{display:none!important}
body.home #primary,body.home .site-main,body.home article.page{margin:0!important;padding:0!important}
body.home .entry-content>*{margin-top:0}

/* Etiquetas y fechas */
body a.ad-badge{display:inline-block;font:700 10.5px/1 var(--ad-sans);text-transform:uppercase;letter-spacing:.09em;
  color:#fff!important;background:var(--ad-orange);padding:6px 9px;border-radius:4px}
body a.ad-badge:hover{background:var(--ad-violet)}
.ad-date{font:500 13px/1 var(--ad-sans);color:var(--ad-muted)}
.ad-card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.ad-ph{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font:400 clamp(20px,3vw,34px)/1 var(--ad-display);
  letter-spacing:.04em;color:rgba(255,255,255,.16);
  background:radial-gradient(120% 120% at 0% 0%,rgba(124,58,237,.55),transparent 60%),radial-gradient(120% 120% at 100% 100%,rgba(249,115,22,.4),transparent 55%),var(--ad-deep)}

/* ---------- Hero 65/35 ---------- */
.ad-hero{display:grid;grid-template-columns:minmax(0,65fr) minmax(0,35fr);gap:24px;align-items:stretch}
.ad-hero-main{position:relative;min-height:500px;border-radius:12px;overflow:hidden;background:var(--ad-deep);display:flex;align-items:flex-end;isolation:isolate}
body .ad-hero-img{position:absolute;inset:0;z-index:-2;display:block}
.ad-hero-img img,.ad-hero-img .ad-ph{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.ad-hero-main:hover .ad-hero-img img{transform:scale(1.03)}
.ad-hero-main::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,rgba(9,6,17,0) 38%,rgba(9,6,17,.62) 66%,rgba(9,6,17,.95) 100%)}
.ad-hero-img img{object-position:center 30%}
.ad-hero-body{padding:32px;display:flex;flex-direction:column;gap:14px;max-width:760px}
body .ad-hero-title{font-size:clamp(1.9rem,3.6vw,3.1rem)!important;line-height:1.05!important;margin:0!important}
body .ad-hero-title a{color:#fff!important}
body .ad-hero-title a:hover{color:var(--ad-orange)!important}
.ad-hero-excerpt{margin:0;color:var(--ad-text);font-size:16px;line-height:1.6}
.ad-hero-side{background:var(--ad-card);border:1px solid var(--ad-border);border-radius:12px;padding:22px 22px 8px;display:flex;flex-direction:column}
body .ad-side-head{font-size:1.5rem!important;margin:0 0 6px!important;padding-left:12px;border-left:4px solid var(--ad-violet)}
.ad-side-list{list-style:none;margin:0!important;padding:0!important;counter-reset:ad}
.ad-side-list li{margin:0!important;border-bottom:1px solid var(--ad-border)}
.ad-side-list li:last-child{border-bottom:0}
body .ad-side-list a{display:flex;flex-direction:column;gap:7px;padding:15px 0;color:#fff}
.ad-side-cat{font:700 10.5px/1 var(--ad-sans);text-transform:uppercase;letter-spacing:.1em;color:var(--ad-orange)}
.ad-side-title{font:600 16px/1.35 var(--ad-sans);color:#fff}
body .ad-side-list a:hover .ad-side-title{color:var(--ad-orange)}

/* ---------- Grilla 3 columnas ---------- */
.ad-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.ad-card{display:flex;flex-direction:column;background:var(--ad-card);border:1px solid var(--ad-border);border-radius:10px;overflow:hidden;
  transition:transform .2s ease,border-color .2s ease}
.ad-card:hover{transform:translateY(-3px);border-color:var(--ad-violet)}
body .ad-card-img{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--ad-deep)}
.ad-card-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.ad-card:hover .ad-card-img img{transform:scale(1.04)}
.ad-card-body{display:flex;flex-direction:column;gap:11px;padding:18px 20px 20px;flex:1}
body .ad-card-title{font-size:1.35rem!important;line-height:1.15!important;margin:0!important}
body .ad-card-title a{color:#fff!important}
body .ad-card-title a:hover{color:var(--ad-orange)!important}
.ad-card-excerpt{margin:0!important;font-size:14.5px;line-height:1.6;color:var(--ad-text)}
body a.ad-more{margin-top:auto;font:700 12px/1 var(--ad-sans);text-transform:uppercase;letter-spacing:.07em;color:var(--ad-violet-2)}
body a.ad-more:hover{color:var(--ad-orange)}

/* ---------- Ecosistema (sobrio) ---------- */
.ad-eco{display:grid;grid-template-columns:1fr 1fr;gap:22px}
body a.ad-eco-card{display:flex;flex-direction:column;gap:10px;padding:26px 28px;background:var(--ad-card);border:1px solid var(--ad-border);
  border-radius:10px;color:var(--ad-text);border-left-width:4px;transition:border-color .2s,transform .2s}
body a.ad-eco-card:hover{transform:translateY(-2px);color:var(--ad-text)}
.ad-eco-violet{border-left-color:var(--ad-violet)!important}
.ad-eco-orange{border-left-color:var(--ad-orange)!important}
.ad-eco-violet:hover{border-color:var(--ad-violet)!important}
.ad-eco-orange:hover{border-color:var(--ad-orange)!important}
.ad-eco-tag{font:700 10.5px/1 var(--ad-sans);text-transform:uppercase;letter-spacing:.12em}
.ad-eco-violet .ad-eco-tag,.ad-eco-violet .ad-eco-cta{color:var(--ad-violet-2)}
.ad-eco-orange .ad-eco-tag,.ad-eco-orange .ad-eco-cta{color:var(--ad-orange)}
body .ad-eco-card h3{font-size:1.7rem!important;margin:0!important}
.ad-eco-card p{margin:0;font-size:15px;line-height:1.6}
.ad-eco-cta{font:700 12px/1 var(--ad-sans);text-transform:uppercase;letter-spacing:.07em;margin-top:4px}

/* ---------- Nota individual ---------- */
body.single-post .site-content>.ast-container{max-width:1240px}
body.single-post article.post,body.single-post .ast-article-single{background:transparent!important;padding:0!important;border:0!important;box-shadow:none!important}
body.single-post #primary{margin-top:36px!important;margin-bottom:0!important}
body.single-post .entry-header,body.single-post .ast-single-entry-banner .ast-container{max-width:820px;margin-left:auto;margin-right:auto}
body.single-post .entry-title{font-size:clamp(2rem,4.6vw,3.3rem)!important;line-height:1.06!important;margin-bottom:12px}
body.single-post .entry-meta,body.single-post .entry-meta *{font:500 14px/1.6 var(--ad-sans)!important;color:var(--ad-muted)!important;text-transform:none!important}
body .ad-footer h4{text-transform:uppercase!important}
body.single-post .entry-meta a:hover{color:var(--ad-orange)!important}
body.single-post .post-thumb-img-content,body.single-post .ast-single-post-featured-section{max-width:1100px;margin:22px auto 30px!important}
body.single-post .post-thumb-img-content img,body.single-post .ast-single-post-featured-section img{width:100%;border-radius:12px;aspect-ratio:16/9;object-fit:cover}
body.single-post .entry-content>*:not(.ad-related):not(.ad-single-img){max-width:780px;margin-left:auto!important;margin-right:auto!important}
body.single-post .entry-content>.ad-single-img{max-width:1100px;margin:8px auto 28px!important}
.ad-single-img img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:12px;display:block}
.ad-single-img figcaption{font:500 12.5px/1.4 var(--ad-sans);color:var(--ad-muted);margin-top:8px;text-align:right}
body.single-post .post-thumb-img-content,body.single-post .ast-single-post-featured-section{display:none!important}
body.single-post .entry-content p,body.single-post .entry-content li{font-size:1.125rem;line-height:1.78;color:var(--ad-text)}
body.single-post .entry-content>p:not(.ad-kicker):not(.ad-source):first-of-type,body.single-post .ad-kicker+p{font-size:1.25rem;color:#fff}
.ad-kicker{margin-bottom:14px!important}
body.single-post .entry-content h2{font-size:2rem!important;margin-top:1.5em}
body.single-post .entry-content h3{font-size:1.5rem!important;margin-top:1.3em}
body.single-post .entry-content strong{color:#fff}
body.single-post .entry-content blockquote{border-left:4px solid var(--ad-violet)!important;background:var(--ad-card);border-radius:0 10px 10px 0;
  padding:18px 22px!important;margin:26px auto!important;font-style:normal}
body.single-post .entry-content blockquote p{color:#fff;font-size:1.15rem;margin:0}
body.single-post .entry-content blockquote cite{display:block;margin-top:10px;font:600 13px var(--ad-sans);color:var(--ad-orange);font-style:normal}
body.single-post .entry-content .ad-source{font-size:14px!important;color:var(--ad-muted)!important;border-top:1px solid var(--ad-border);padding-top:14px}
body.single-post .post-navigation,body.single-post .ast-single-related-posts-container,body.single-post .comments-area,
body.single-post .ast-author-box{display:none!important}
.ad-related{max-width:1240px;margin:56px auto 56px!important;padding-top:26px;border-top:1px solid var(--ad-border)}
body .ad-related-title{font-size:1.9rem!important;margin:0 0 20px!important;padding-left:14px;border-left:4px solid var(--ad-orange)}

/* ---------- Archivos ---------- */
body.archive .ast-archive-description,body.search .ast-archive-description{background:var(--ad-card)!important;border:1px solid var(--ad-border);border-radius:12px;
  padding:28px 30px!important;margin-bottom:26px}
body .ast-archive-description .ast-archive-title,body .ast-archive-description h1{font-size:clamp(2rem,4vw,3rem)!important;color:#fff!important}
body .ast-archive-description p{color:var(--ad-text);margin:6px 0 0}
body.archive #primary,body.search #primary,body.blog #primary{margin-top:32px!important}
.ad-archive-grid{margin-bottom:30px}
body .ast-pagination a,body .ast-pagination span{color:var(--ad-text);border-color:var(--ad-border)!important}
body .ast-pagination .current{color:var(--ad-orange)}

/* ---------- Footer ---------- */
body #colophon{display:none!important}
.ad-footer{background:var(--ad-deep);border-top:1px solid var(--ad-border);padding:52px 0 0;color:var(--ad-text);margin-top:24px}
.ad-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px;padding-bottom:38px}
body a.ad-footer-brand{font:400 32px/1 var(--ad-display);color:#fff;letter-spacing:.02em}
body a.ad-footer-brand span{color:var(--ad-orange)}
.ad-footer p{color:var(--ad-muted);font-size:14px;line-height:1.6;margin:14px 0 18px;max-width:40ch}
body .ad-footer h4{font:700 12px/1 var(--ad-sans)!important;text-transform:uppercase;letter-spacing:.12em;margin:0 0 16px!important;color:#fff!important}
.ad-footer ul{list-style:none;margin:0!important;padding:0!important}
.ad-footer li{margin:0 0 10px!important}
body .ad-footer li a{color:var(--ad-text);font-size:14px}
body .ad-footer li a:hover{color:var(--ad-orange)}
.ad-footer-social{display:flex;gap:8px}
body .ad-footer-social a{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;border:1px solid var(--ad-border);color:#fff}
body .ad-footer-social a:hover{border-color:var(--ad-orange);color:var(--ad-orange)}
.ad-footer-social svg{width:17px;height:17px}
.ad-footer-bottom{border-top:1px solid var(--ad-border);padding:18px 20px;text-align:center;font-size:13px;color:var(--ad-muted)}
body .ad-footer-bottom a{color:var(--ad-text)}

/* ---------- Publicidad ---------- */
.ad-slot{display:block;margin:28px auto;text-align:center;clear:both}
.ad-slot-label{display:block;font:500 10px/1 var(--ad-sans);letter-spacing:.14em;text-transform:uppercase;color:#6b7280;margin-bottom:6px}
.ad-slot-box{margin:0 auto;display:flex;align-items:center;justify-content:center;overflow:hidden}
.ad-slot-leaderboard .ad-slot-box{max-width:728px;min-height:90px}
.ad-slot-in-article .ad-slot-box{max-width:728px;min-height:100px}
.ad-slot ins.adsbygoogle{width:100%}
body a.ad-house{display:flex;align-items:center;gap:18px;width:100%;min-height:90px;padding:14px 22px;box-sizing:border-box;text-align:left;
  background:var(--ad-card);border:1px solid var(--ad-border);border-radius:8px;color:var(--ad-text);text-decoration:none!important;transition:border-color .2s}
body a.ad-house:hover{color:var(--ad-text)}
.ad-house-shop{border-left:4px solid var(--ad-orange)!important}
.ad-house-live{border-left:4px solid var(--ad-violet)!important}
.ad-house-shop:hover{border-color:var(--ad-orange)!important}
.ad-house-live:hover{border-color:var(--ad-violet)!important}
.ad-house-tag{display:inline-flex;align-items:center;gap:6px;flex:none;font:700 10px/1 var(--ad-sans);text-transform:uppercase;letter-spacing:.12em}
.ad-house-shop .ad-house-tag,.ad-house-shop .ad-house-cta{color:var(--ad-orange)}
.ad-house-live .ad-house-tag,.ad-house-live .ad-house-cta{color:var(--ad-violet-2)}
.ad-house-txt{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.ad-house-txt strong{font:400 22px/1.1 var(--ad-display);color:#fff}
.ad-house-txt span{font-size:13.5px;line-height:1.4;color:var(--ad-text)}
.ad-house-cta{flex:none;font:700 11.5px/1 var(--ad-sans);text-transform:uppercase;letter-spacing:.07em}
body.single-post .entry-content>.ad-slot{max-width:728px}
.ad-slot-footer-wrap .ad-slot{margin:36px auto 30px}

/* ---------- Páginas (legales, contacto) ---------- */
body.page:not(.home) .site-content>.ast-container{max-width:1240px}
body.page:not(.home) article.page{background:transparent!important;padding:0!important;border:0!important;box-shadow:none!important}
body.page:not(.home) #primary{margin-top:40px!important}
body.page:not(.home) .entry-header,body.page:not(.home) .entry-content{max-width:820px;margin-left:auto;margin-right:auto}
body.page:not(.home) .entry-title{font-size:clamp(2.1rem,4.4vw,3.2rem)!important;border-bottom:1px solid var(--ad-border);padding-bottom:16px}
body.page:not(.home) .entry-content p,body.page:not(.home) .entry-content li{font-size:1.0625rem;line-height:1.75;color:var(--ad-text)}
body.page:not(.home) .entry-content h2{font-size:1.7rem!important;margin-top:1.6em}
body.page:not(.home) .entry-content h3{font-size:1.3rem!important}
body.page:not(.home) .entry-content strong{color:#fff}
.ad-legal-updated{font-size:14px!important;color:var(--ad-muted)!important}
.ad-contact-card{background:var(--ad-card);border:1px solid var(--ad-border);border-left:4px solid var(--ad-orange);border-radius:10px;padding:22px 26px;margin:24px 0}
.ad-contact-card p{margin:0 0 8px!important}
body .ad-contact-card a{color:var(--ad-orange)}
.ad-footer-legal{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;margin-bottom:10px}
body .ad-footer-legal a{color:var(--ad-text);font-size:13px}
body .ad-footer-legal a:hover{color:var(--ad-orange)}

/* ---------- Responsive ---------- */
@media (max-width:1024px){
  .ad-hero{grid-template-columns:1fr}
  .ad-hero-main{min-height:420px}
  .ad-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ad-footer-grid{grid-template-columns:1fr 1fr}
  .ad-footer-grid>div:first-child{grid-column:1/-1}
}
@media (max-width:782px){body.admin-bar #masthead{top:0}}
@media (max-width:640px){
  .ad-slot-leaderboard .ad-slot-box{max-width:320px;min-height:100px}
  body a.ad-house{flex-direction:column;align-items:flex-start;gap:8px;min-height:100px;padding:14px 16px}
  .ad-house-txt strong{font-size:19px}
  .ad-topbar-handle{display:none}
  body .ad-topbar-social a{width:22px;height:24px}
  .ad-topbar-social{gap:2px}
  body .ad-topbar .ad-wrap{padding:0 10px}
  .ad-topbar-links{gap:6px}
  body a.ad-pill{padding:6px 7px;letter-spacing:.04em;white-space:nowrap;font-size:10px}
  .ad-section{padding:28px 0}
  .ad-hero-main{min-height:360px}
  .ad-hero-body{padding:22px}
  .ad-grid,.ad-eco{grid-template-columns:1fr}
  .ad-footer-grid{grid-template-columns:1fr;gap:28px}
  body.single-post #primary{margin-top:18px!important}
}
