body.riderpress-ui .rp-territorial-hero{position:relative;min-height:300px;display:flex;align-items:center;background:#181b1d;isolation:isolate;overflow:hidden}
body.riderpress-ui .rp-territorial-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.rp-territorial-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.86) 0%,rgba(0,0,0,.62) 40%,rgba(0,0,0,.16) 100%);z-index:-1}
.rp-territorial-hero-copy{padding:36px;max-width:100%;overflow-wrap:anywhere}.rp-territorial-hero h1{font-size:clamp(30px,4vw,54px);line-height:1.12;color:#fff;margin:12px 0 0}.rp-territorial-hero h1::after{content:"";display:block;background:#ffdc00;width:160px;max-width:80%;height:4px;margin-top:22px}
.rp-territorial-intro{padding-top:24px;padding-bottom:24px;font-size:18px;line-height:1.7}.rp-territorial-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,340px);gap:28px}.rp-territorial-layout>*,.rp-territorial-cards>*{min-width:0}.rp-territorial-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.rp-territorial-cards .rp-card{display:flex;flex-direction:column}.rp-territorial-cards .rp-card-body{display:flex;flex-direction:column;flex:1;overflow-wrap:anywhere}.rp-territorial-cards .rp-card-body>.rp-btn{margin-top:auto;align-self:flex-start}.rp-territorial-cards .rp-card>a>img{display:block;width:100%;height:230px;object-fit:cover}.rp-territorial-cards .rp-club-card>a>img{object-fit:contain;background:#171a1c}.rp-territorial-filters{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:28px}.rp-territorial-filters label{display:grid;gap:8px}.rp-territorial-filters select,.rp-territorial-filters input{background:#111;color:#fff;border:1px solid #555;min-height:44px;padding:10px}.rp-territorial-related,.rp-territorial-extra{margin-top:32px;margin-bottom:40px}.rp-territorial-related>div{display:flex;gap:16px;flex-wrap:wrap}.rp-territorial-context{border-top:2px solid #ffdc00;padding:24px 0}.rp-territorial-context a{color:#ffdc00}.rp-territorial .rp-map-pin:focus-visible{outline:3px solid white;outline-offset:4px}.rp-territorial .rp-map-card{margin-bottom:24px}
@media(max-width:900px){.rp-territorial-layout{grid-template-columns:1fr}.rp-territorial-layout>aside{max-width:550px;width:100%;margin-inline:auto}}
@media(max-width:560px){body.riderpress-ui .rp-territorial-hero{min-height:220px;height:auto}.rp-territorial-hero-copy{padding:24px 18px}.rp-territorial-cards{grid-template-columns:1fr!important}.rp-territorial-intro{font-size:17px}.rp-territorial-filters>*{max-width:100%}.rp-territorial-cards .rp-card>a>img{height:auto;max-height:none}.rp-territorial-related .rp-btn{white-space:normal;text-align:center}}

/* 4.10.268: full posters, equal card heights and prominent territory. */
body.riderpress-ui .rp-territorial-hero h1{font-size:clamp(26px,2.8vw,38px);line-height:1.2}
body.riderpress-ui .rp-territorial-hero-place{display:block;font-size:clamp(42px,5vw,68px);font-weight:800;line-height:1.08;margin-top:8px;text-transform:uppercase}
body.riderpress-ui .rp-territorial-cards .rp-territorial-event-card>a>img{height:auto;max-height:none;object-fit:contain}
body.riderpress-ui .rp-territorial-cards .rp-card{height:100%}
body.riderpress-ui .rp-territorial-cards .rp-card-body>.rp-btn{margin-top:auto}
.rp-territorial-extra h2,.rp-territorial-extra h3,.rp-territorial-intro h2{color:#fff;line-height:1.25;margin:28px 0 14px}
@media(max-width:560px){body.riderpress-ui .rp-territorial-hero-place{font-size:clamp(36px,10vw,48px)}}

/* 4.10.270: compact territorial event cards with complete, bounded posters. */
body.riderpress-ui .rp-territorial-cards .rp-territorial-event-card>a:first-child{display:flex;align-items:center;justify-content:center;height:260px;background:#111;overflow:hidden;flex:none}
body.riderpress-ui .rp-territorial-cards .rp-territorial-event-card>a>img{width:100%;height:100%;max-height:260px;object-fit:contain;object-position:center}
body.riderpress-ui .rp-territorial-cards .rp-territorial-event-card>.rp-card-body{padding:14px;gap:8px;height:auto;min-height:0}
body.riderpress-ui .rp-territorial-cards .rp-territorial-event-card .rp-card-body h3{font-size:18px;line-height:1.25;margin:0;min-height:0}
body.riderpress-ui .rp-territorial-cards .rp-territorial-event-card .rp-card-body p{font-size:14px;line-height:1.45;margin:0;min-height:0}
body.riderpress-ui .rp-territorial-event-card .rp-territorial-summary{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.riderpress-ui .rp-territorial-cards .rp-territorial-event-card .rp-btn{font-size:13px;padding:10px 14px;min-height:44px;margin-top:auto}
.rp-territorial-event-cta{color:#ffdc00;text-decoration:underline;text-underline-offset:4px}.rp-territorial-event-cta:hover{color:#fff}.rp-territorial-event-cta:focus-visible{outline:2px solid #ffdc00;outline-offset:5px}
@media(min-width:1200px){.rp-territorial-eventos .rp-territorial-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:560px){body.riderpress-ui .rp-territorial-cards .rp-territorial-event-card>a:first-child{height:240px}body.riderpress-ui .rp-territorial-cards .rp-territorial-event-card>a>img{max-height:240px}}

/* Keep small-screen titles readable when they wrap across the photo. */
@media(max-width:560px){.rp-territorial-hero::before{background:linear-gradient(90deg,rgba(0,0,0,.86) 0%,rgba(0,0,0,.62) 50%,rgba(0,0,0,.32) 100%)}}
/* Provincial hub: short summaries, distinct from complete specialist catalogues. */
.rp-province-summary{margin-bottom:36px}.rp-province-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.rp-province-summary-grid .rp-card{min-width:0;display:flex;flex-direction:column}.rp-province-summary-grid .rp-card>a>img{display:block;width:100%;height:150px;object-fit:contain;background:#111}.rp-province-summary-grid .rp-card-body{display:flex;flex-direction:column;flex:1;gap:10px;padding:14px}.rp-province-summary-grid .rp-card-body h3{font-size:18px;line-height:1.3;margin:0}.rp-province-summary-grid .rp-card-body p{margin:0;font-size:14px}.rp-province-summary-grid .rp-btn{margin-top:auto;white-space:normal}.rp-territorial-past{border-top:1px solid #444;margin:30px 0;padding-top:20px}.rp-territorial-past li{margin:10px 0}
@media(max-width:1100px){.rp-province-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.rp-province-summary-grid{grid-template-columns:1fr}}

/* Provincial collections render immediately; no entry animations or hidden offscreen content. */
body.riderpress-ui .rp-territorial .rp-reveal,body.riderpress-ui .rp-territorial .rp-title-pending{opacity:1!important;visibility:visible!important;transform:none!important;transition:none!important}

body.riderpress-ui .rp-territorial .rp-section-title::after{transform:none!important;transition:none!important}
/* 277: retain the complete 3:1 photograph, rather than its cropped hero derivative. */
body.riderpress-ui .rp-territorial-hero.rp-territorial-panorama{aspect-ratio:3/1;min-height:300px}
body.riderpress-ui .rp-territorial-panorama .rp-territorial-photo{object-fit:contain}
.rp-territorial-provincias .rp-territorial-intro>p,.rp-province-summary-intro{max-width:78ch;line-height:1.75}.rp-province-summary-intro{margin:0 0 24px}.rp-province-summary-intro p{margin:0 0 14px}.rp-province-summary>.rp-section-title{font-size:clamp(23px,2.3vw,32px);line-height:1.25;overflow-wrap:anywhere}.rp-territorial-provincias .rp-territorial-layout{grid-template-columns:minmax(0,1fr) minmax(250px,290px)}.rp-province-summary .rp-card-body .rp-difficulty-stars{vertical-align:middle}.rp-province-summary .rp-card-body .rp-difficulty-star{width:16px;height:16px}.rp-province-summary{margin-bottom:42px}
@media(max-width:1000px){.rp-territorial-provincias .rp-territorial-layout{grid-template-columns:1fr}.rp-territorial-provincias .rp-territorial-layout>aside{max-width:550px;width:100%;margin:auto}}
@media(max-width:700px){body.riderpress-ui .rp-territorial-hero.rp-territorial-panorama{display:block;aspect-ratio:auto;min-height:0}body.riderpress-ui .rp-territorial-panorama .rp-territorial-photo{position:relative;inset:auto;height:auto;aspect-ratio:3/1;display:block;z-index:0}.rp-territorial-panorama .rp-territorial-hero-copy{background:#141719;padding:24px 18px}.rp-territorial-provincias .rp-territorial-intro{padding-top:20px;padding-bottom:20px}}
/* 278: compact Málaga banner and aligned hub blocks. The original image stays intact. */
body.riderpress-ui .rp-territorial-hub .rp-territorial-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);aspect-ratio:auto;min-height:0;gap:0;background:#141719;margin-bottom:24px}
body.riderpress-ui .rp-territorial-hub .rp-territorial-hero::before{display:none}
body.riderpress-ui .rp-territorial-hub .rp-territorial-photo{position:relative;inset:auto;grid-column:2;grid-row:1;width:100%;height:auto;max-height:280px;object-fit:contain;z-index:0;align-self:center}
body.riderpress-ui .rp-territorial-hub .rp-territorial-hero-copy{grid-column:1;grid-row:1;padding:24px 28px;min-width:0}
body.riderpress-ui .rp-territorial-hub .rp-territorial-hero h1{font-size:clamp(23px,2vw,30px);line-height:1.15;margin:8px 0 12px}
body.riderpress-ui .rp-territorial-hub .rp-territorial-hero-place{display:inline;font-size:inherit;margin:0}
body.riderpress-ui .rp-territorial-hub .rp-territorial-hero h1::after{margin-top:12px;width:110px;height:3px}
.rp-province-hero-summary p{font-size:15px;line-height:1.55;margin:8px 0 0;color:#e1e1e1}.rp-province-hero-summary .rp-province-hero-lead{font-size:17px;font-weight:700;color:#ffdc00}
body.riderpress-ui .rp-territorial-hub .rp-territorial-intro{padding-top:0;padding-bottom:24px;font-size:16px;line-height:1.65}
body.riderpress-ui .rp-territorial-hub .rp-territorial-intro>p{max-width:none;margin:0 0 12px}
.rp-territorial-hub .rp-province-summary{padding:22px;background:#151819;border:1px solid #292c2f;margin-bottom:24px}
.rp-territorial-hub .rp-province-summary>.rp-section-title{margin-top:0;font-size:clamp(22px,2vw,29px)}
.rp-territorial-hub .rp-province-summary-intro{max-width:none;margin-bottom:18px;font-size:16px;line-height:1.65}
.rp-territorial-hub .rp-province-summary-grid{align-items:stretch}.rp-territorial-hub .rp-province-summary-grid .rp-card{height:100%}
.rp-territorial-hub .rp-province-summary-grid .rp-card-body>.rp-btn{align-self:flex-start;min-height:44px;margin-top:auto}
.rp-territorial-hub .rp-province-summary>p:last-child{margin:18px 0 0}.rp-territorial-hub .rp-territorial-extra{margin:24px 0}
@media(max-width:850px){body.riderpress-ui .rp-territorial-hub .rp-territorial-hero{grid-template-columns:1fr}body.riderpress-ui .rp-territorial-hub .rp-territorial-photo{grid-column:1;grid-row:1;max-height:160px}body.riderpress-ui .rp-territorial-hub .rp-territorial-hero-copy{grid-column:1;grid-row:2;padding:20px}body.riderpress-ui .rp-territorial-hub .rp-territorial-hero h1{font-size:26px}.rp-territorial-hub .rp-province-summary{padding:18px}}
@media(max-width:560px){.rp-territorial-hub .rp-province-summary{padding:14px}.rp-province-hero-summary p{font-size:14px}.rp-territorial-hub .rp-province-summary-grid{grid-template-columns:1fr}.rp-territorial-hub .rp-province-summary>p:last-child .rp-btn{width:100%;white-space:normal;text-align:center}}
.rp-territorial-hub .rp-province-summary-grid .rp-card>a:first-child{display:flex;align-items:center;justify-content:center;height:170px;flex:none;overflow:hidden;background:#111}
.rp-territorial-hub .rp-province-summary-grid .rp-card>a:first-child>img{width:100%;height:100%;object-fit:contain}
.rp-territorial-hub .rp-province-summary-grid .rp-placeholder{width:100%;height:100%;min-height:0;aspect-ratio:auto;padding:12px;box-sizing:border-box}
.rp-territorial-hub .rp-province-summary-grid .rp-placeholder img{width:auto;height:auto;max-height:100px;max-width:80%;object-fit:contain}
/* 279: wide photo with overlay copy; three independently scrollable collections. */
body.riderpress-ui .rp-territorial-hub .rp-territorial-hero{display:flex;position:relative;align-items:center;min-height:280px;aspect-ratio:auto;isolation:isolate;overflow:hidden}
body.riderpress-ui .rp-territorial-hub .rp-territorial-photo{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;z-index:-2;aspect-ratio:auto}
body.riderpress-ui .rp-territorial-hub .rp-territorial-hero::before{content:"";display:block;position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(0,0,0,.92),rgba(0,0,0,.76) 43%,rgba(0,0,0,.12) 100%)}
body.riderpress-ui .rp-territorial-hub .rp-territorial-hero-copy{padding:28px 32px;width:min(760px,68%);max-width:100%;box-sizing:border-box;background:transparent}
.rp-province-carousel{min-width:0}.rp-province-carousel-controls{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 14px}.rp-province-carousel-controls[hidden],.rp-province-carousel-controls [hidden]{display:none!important}
.rp-province-carousel-controls button{background:#1d2124;color:#ffdc00;border:1px solid #686868;min-width:44px;min-height:44px;padding:8px 14px;cursor:pointer}.rp-province-carousel-controls button:focus-visible,.rp-province-carousel-track:focus-visible{outline:3px solid #ffdc00;outline-offset:3px}.rp-carousel-position{font-size:13px;color:#ccc;min-width:65px}
body.riderpress-ui .rp-territorial-hub .rp-province-carousel-track{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 32px)/3);gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding:0;align-items:stretch;padding:0 0 12px;scrollbar-color:#ffdc00 #202427;scrollbar-width:thin}
.rp-province-carousel-track>.rp-card{scroll-snap-align:start;min-width:0}.rp-province-carousel-track:not(.is-overflowing){padding-bottom:0}
@media(max-width:1100px){body.riderpress-ui .rp-territorial-hub .rp-province-carousel-track{grid-auto-columns:calc((100% - 16px)/2)}}
@media(max-width:700px){body.riderpress-ui .rp-territorial-hub .rp-territorial-hero-copy{width:100%;padding:24px 20px}body.riderpress-ui .rp-territorial-hub .rp-territorial-hero::before{background:linear-gradient(90deg,rgba(0,0,0,.9),rgba(0,0,0,.7))}body.riderpress-ui .rp-territorial-hub .rp-territorial-hero{min-height:260px}}
@media(max-width:560px){body.riderpress-ui .rp-territorial-hub .rp-province-carousel-track{grid-auto-columns:100%;grid-template-columns:none}.rp-province-carousel-controls{justify-content:flex-start}}
@media(prefers-reduced-motion:reduce){.rp-province-carousel-track{scroll-behavior:auto!important}}

/* 4.10.280 — Universal province/community hub, full posters and club artwork. */
.rp-territorial-hub .rp-province-summary{min-width:0}
.rp-territorial-hub .rp-province-empty{background:#101214;border:1px dashed #444;padding:18px 20px;color:#d4d4d4;line-height:1.6}
.rp-territorial-hub .rp-province-section-link{margin:18px 0 0}
.rp-territorial-hub .rp-province-summary-intro p{max-width:82ch}
body.riderpress-ui .rp-territorial-hub .rp-province-card-media{display:flex;align-items:center;justify-content:center;height:190px;min-height:190px;padding:10px;background:#101214;overflow:hidden;box-sizing:border-box}
body.riderpress-ui .rp-territorial-hub .rp-province-card-media>img{display:block;width:100%;height:100%;max-height:100%;max-width:100%;object-fit:contain;object-position:center;transform:none;filter:none}
body.riderpress-ui .rp-territorial-hub .rp-province-card--eventos .rp-province-card-media{height:240px;min-height:240px;padding:8px}
body.riderpress-ui .rp-territorial-hub .rp-province-card--moto-clubs .rp-province-card-media{height:210px;min-height:210px;padding:16px;background:#17191b}
body.riderpress-ui .rp-territorial-hub .rp-province-card--rutas .rp-province-card-media{height:190px;min-height:190px;padding:0}
body.riderpress-ui .rp-territorial-hub .rp-province-card--rutas .rp-province-card-media>img{object-fit:cover}
body.riderpress-ui .rp-territorial .rp-territorial-cards .rp-club-card>a:first-child{display:flex;align-items:center;justify-content:center;height:260px;overflow:hidden;background:#17191b;padding:18px;box-sizing:border-box}
body.riderpress-ui .rp-territorial .rp-territorial-cards .rp-club-card>a:first-child>img{display:block;width:100%;height:100%;max-height:100%;object-fit:contain;object-position:center;transform:none}
body.riderpress-ui .rp-territorial .rp-territorial-cards .rp-territorial-event-card>a:first-child{padding:12px;box-sizing:border-box}
body.riderpress-ui .rp-territorial .rp-territorial-cards .rp-territorial-event-card>a:first-child>img{max-width:100%;max-height:100%;object-fit:contain;object-position:center}
@media(max-width:560px){body.riderpress-ui .rp-territorial-hub .rp-province-card--eventos .rp-province-card-media{height:280px;min-height:280px}}

/* Stronger than historical pilot image selectors: keep original aspect ratios. */
body.riderpress-ui .rp-territorial-hub .rp-province-summary-grid .rp-card>a.rp-province-card-media{display:flex;align-items:center;justify-content:center;height:190px;min-height:190px;padding:10px;box-sizing:border-box;overflow:hidden;background:#111}
body.riderpress-ui .rp-territorial-hub .rp-province-summary-grid .rp-card>a.rp-province-card-media>img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}
body.riderpress-ui .rp-territorial-hub .rp-province-summary-grid .rp-province-card--eventos>a.rp-province-card-media{height:245px;min-height:245px;padding:10px}
body.riderpress-ui .rp-territorial-hub .rp-province-summary-grid .rp-province-card--moto-clubs>a.rp-province-card-media{height:220px;min-height:220px;padding:18px;background:#17191b}
body.riderpress-ui .rp-territorial-hub .rp-province-summary-grid .rp-province-card--rutas>a.rp-province-card-media{height:190px;min-height:190px;padding:0}
body.riderpress-ui .rp-territorial-hub .rp-province-summary-grid .rp-province-card--rutas>a.rp-province-card-media>img{object-fit:cover}
@media(max-width:560px){body.riderpress-ui .rp-territorial-hub .rp-province-summary-grid .rp-province-card--eventos>a.rp-province-card-media{height:290px;min-height:290px}}

/* 4.10.295 — Province SEO hero aligned with RiderPress banner design. */
body.riderpress-ui .rp-territorial-hub .rp-territorial-hero-copy--province{display:flex;flex-direction:column;gap:12px;width:min(880px,74%);max-width:100%;padding:28px 32px;box-sizing:border-box}
body.riderpress-ui .rp-territorial-hub .rp-territorial-hero-title--province{margin:0;color:#fff;display:flex;flex-direction:column;align-items:flex-start;gap:8px;max-width:100%;overflow-wrap:anywhere}
body.riderpress-ui .rp-territorial-hub .rp-territorial-hero-title--province::after{content:"";display:block;width:min(320px,62%);max-width:100%;height:6px;background:#ffdc00;margin-top:12px}
body.riderpress-ui .rp-territorial-hub .rp-territorial-hero-pretitle,body.riderpress-ui .rp-territorial-hub .rp-territorial-hero-posttitle{display:block;font-size:clamp(24px,2.35vw,46px);line-height:1.12;font-weight:800;font-style:italic;color:#fff}
body.riderpress-ui .rp-territorial-hub .rp-territorial-hero-title--province .rp-territorial-hero-place{display:block;font-size:clamp(58px,6.7vw,122px);line-height:.95;font-weight:900;letter-spacing:-.03em;text-transform:uppercase;margin:0;color:#fff}
@media(max-width:900px){body.riderpress-ui .rp-territorial-hub .rp-territorial-hero-copy--province{width:min(100%,760px);padding:24px 22px}body.riderpress-ui .rp-territorial-hub .rp-territorial-hero-pretitle,body.riderpress-ui .rp-territorial-hub .rp-territorial-hero-posttitle{font-size:clamp(22px,3.3vw,34px)}body.riderpress-ui .rp-territorial-hub .rp-territorial-hero-title--province .rp-territorial-hero-place{font-size:clamp(48px,9vw,88px)}}
@media(max-width:560px){body.riderpress-ui .rp-territorial-hub .rp-territorial-hero-copy--province{padding:22px 18px;width:100%}body.riderpress-ui .rp-territorial-hub .rp-territorial-hero-pretitle,body.riderpress-ui .rp-territorial-hub .rp-territorial-hero-posttitle{font-size:clamp(19px,6vw,28px)}body.riderpress-ui .rp-territorial-hub .rp-territorial-hero-title--province .rp-territorial-hero-place{font-size:clamp(38px,11.5vw,60px)}body.riderpress-ui .rp-territorial-hub .rp-territorial-hero-title--province::after{height:5px;width:min(220px,78%)}}

/* 4.10.296: uppercase heading for provincial club directory, matching Events and Routes. */
body.riderpress-ui .rp-territorial-hub .rp-province-summary[data-section="moto-clubs"]>.rp-section-title{text-transform:uppercase}


/* 4.10.298 — Controles del carrusel provincial bajo las fichas. */
.rp-province-carousel-controls--bottom{margin:14px 0 0;justify-content:center;border-top:1px solid #2b3034;padding-top:14px}.rp-province-carousel-controls--bottom .rp-carousel-position{min-width:auto}.rp-province-summary[data-section="moto-clubs"] .rp-province-carousel-controls--bottom{justify-content:flex-end}@media(max-width:900px){.rp-province-summary[data-section="moto-clubs"] .rp-province-carousel-controls--bottom{justify-content:center}}@media(max-width:560px){.rp-province-carousel-controls--bottom{justify-content:flex-start;padding-top:12px}}

/* 4.10.299 — Non-clickable empty province entries in all-provinces directory. */
.rp-province-list .rp-province-unavailable{display:block;color:#93999c;cursor:default;opacity:.75;padding:6px 0}


/* 4.10.311 — SEO Territorial: visible, linked map labels without duplicated province quicklist. */
body.riderpress-ui .rp-map-card--territorial .rp-spain-map{overflow:visible}
body.riderpress-ui .rp-map-card--territorial .rp-spain-map .rp-map-pin{width:28px;height:28px;z-index:2}
body.riderpress-ui .rp-map-card--territorial .rp-spain-map .rp-map-pin span{
  display:block;position:absolute;top:calc(100% - 2px);left:50%;right:auto;
  transform:translateX(-50%);opacity:1;visibility:visible;
  padding:3px 5px;min-width:0;width:max-content;max-width:130px;
  font-size:10px;line-height:1.2;font-weight:800;letter-spacing:0;
  color:#fff;background:#080a0b;border:1px solid #8d7916;border-radius:2px;
  white-space:nowrap;pointer-events:none;box-shadow:0 2px 5px #0009;
}
body.riderpress-ui .rp-map-card--territorial .rp-spain-map .rp-map-pin[data-rp-label-side="left"] span{left:auto;right:calc(100% - 1px);top:50%;transform:translateY(-50%)}
body.riderpress-ui .rp-map-card--territorial .rp-spain-map .rp-map-pin[data-rp-label-side="right"] span{left:calc(100% - 1px);right:auto;top:50%;transform:translateY(-50%)}
body.riderpress-ui .rp-map-card--territorial .rp-spain-map .rp-map-pin[data-rp-label-side="above"] span{left:50%;right:auto;top:auto;bottom:calc(100% - 1px);transform:translateX(-50%)}
body.riderpress-ui .rp-map-card--territorial .rp-spain-map .rp-map-pin:is(:hover,:focus-visible,.is-current){z-index:8}
body.riderpress-ui .rp-map-card--territorial .rp-spain-map .rp-map-pin:is(:hover,:focus-visible) span{opacity:1;visibility:visible;border-color:#ffdc00;color:#ffdc00}
body.riderpress-ui .rp-map-card--territorial .rp-spain-map .rp-map-pin.is-current span{color:#ffdc00;border-color:#ffdc00;background:#050505}
@media(max-width:560px){body.riderpress-ui .rp-map-card--territorial .rp-spain-map .rp-map-pin span{font-size:10px;padding:4px 6px}}

/* 4.10.315 — Province Moto Clubs now reuse the exact directory card markup and
   classes. These rules adapt only the carousel geometry; the visual design is
   inherited from main.css (.rp-club-card-*) on both pages. */
body.riderpress-ui .rp-territorial-hub .rp-province-summary[data-section="moto-clubs"] .rp-province-club-track{
 display:grid;
 grid-template-columns:none;
 grid-auto-flow:column;
 grid-auto-columns:calc((100% - 36px) / 3);
 gap:18px;
 align-items:stretch;
 width:100%;
 min-width:0;
 margin:0;
 padding:2px 0 10px;
 background:transparent;
 border:0;
 overflow-x:auto;
 overscroll-behavior-x:contain;
 scroll-snap-type:x mandatory;
}
body.riderpress-ui .rp-territorial-hub .rp-province-summary[data-section="moto-clubs"] .rp-province-club-track--two{
 grid-auto-columns:calc((100% - 18px) / 2);
}
body.riderpress-ui .rp-territorial-hub .rp-province-summary[data-section="moto-clubs"] .rp-province-club-track--single{
 grid-auto-columns:min(100%,360px);
}
body.riderpress-ui .rp-territorial-hub .rp-province-summary[data-section="moto-clubs"] .rp-province-club-track>.rp-province-club-card{
 box-sizing:border-box;
 min-width:0;
 width:100%;
 height:100%;
 margin:0;
 scroll-snap-align:start;
}
/* Match the image well used by /moto-clubs/, overriding earlier provincial
   generic first-child image rules (which would otherwise flatten the logo). */
body.riderpress-ui .rp-territorial-hub .rp-province-summary[data-section="moto-clubs"] .rp-province-club-card>a.rp-club-card-media{
 display:flex;
 align-items:center;
 justify-content:center;
 height:auto;
 min-height:250px;
 box-sizing:border-box;
 padding:24px;
 overflow:hidden;
 background:radial-gradient(circle at 50% 45%,#24272a 0,#17191b 55%,#111315 100%);
}
body.riderpress-ui .rp-territorial-hub .rp-province-summary[data-section="moto-clubs"] .rp-province-club-card>a.rp-club-card-media>img{
 display:block;
 width:100%;
 height:240px;
 max-width:280px;
 max-height:none;
 object-fit:contain;
 object-position:center;
}
/* Align title, place, synopsis and yellow CTA exactly as the main directory. */
body.riderpress-ui .rp-territorial-hub .rp-province-summary[data-section="moto-clubs"] .rp-province-club-card>.rp-club-card-body{
 display:flex;
 flex-direction:column;
 flex:1;
 gap:8px;
 padding:18px 18px 19px;
 background:transparent;
}
body.riderpress-ui .rp-territorial-hub .rp-province-summary[data-section="moto-clubs"] .rp-province-club-card .rp-club-card-body>.rp-club-card-link.rp-btn{
 align-self:flex-start;
 margin-top:auto;
}
@media(max-width:1100px){
 body.riderpress-ui .rp-territorial-hub .rp-province-summary[data-section="moto-clubs"] .rp-province-club-track--multi{
  grid-auto-columns:calc((100% - 18px) / 2);
 }
}
@media(max-width:650px){
 body.riderpress-ui .rp-territorial-hub .rp-province-summary[data-section="moto-clubs"] .rp-province-club-track,
 body.riderpress-ui .rp-territorial-hub .rp-province-summary[data-section="moto-clubs"] .rp-province-club-track--two,
 body.riderpress-ui .rp-territorial-hub .rp-province-summary[data-section="moto-clubs"] .rp-province-club-track--single{
  grid-auto-columns:100%;
 }
 body.riderpress-ui .rp-territorial-hub .rp-province-summary[data-section="moto-clubs"] .rp-province-club-card>a.rp-club-card-media{
  min-height:210px;
  padding:18px;
 }
 body.riderpress-ui .rp-territorial-hub .rp-province-summary[data-section="moto-clubs"] .rp-province-club-card>a.rp-club-card-media>img{
  height:205px;
  max-width:240px;
 }
}
