/* RiderPress 4.6: shared type and controls. Loaded after component styles. */
:root{--rp-font:Arial,Helvetica,sans-serif;--rp-text:16px;--rp-small:14px;--rp-label:13px;--rp-button-radius:2px;--rp-button-height:44px}
body.riderpress-ui{font-family:var(--rp-font);font-size:var(--rp-text);line-height:1.6}
.riderpress-ui :is(main,.rp-topbar,.rp-footer,.rp-cookie-panel,.rp-mobile-nav) :is(h1,h2,h3,h4,h5,h6,p,a,li,label,input,select,textarea,button,span,small,strong,b){font-family:var(--rp-font)!important}
.riderpress-ui :is(h1,h2,h3,h4,h5,h6){font-weight:700;line-height:1.2;letter-spacing:normal}
.riderpress-ui :is(.rp-page-title,.rp-confirmation) h1,.riderpress-ui .rp-hero-copy h1{font-size:clamp(32px,4vw,52px);line-height:1.08}
.riderpress-ui main h2{font-size:clamp(24px,2.3vw,32px)}
.riderpress-ui main h3{font-size:clamp(20px,1.8vw,24px)}
.riderpress-ui :is(.rp-card-body,.rp-news-body,.rp-detail-card,.rp-route-invitation,.rp-page-title,.rp-hero-copy) p{font-size:var(--rp-text);line-height:1.6}
.riderpress-ui :is(.rp-panel-title,.rp-latest .rp-section-head,.rp-section-head) h2{font-size:18px;line-height:1.3}
.riderpress-ui :is(.rp-meta,.rp-kicker,.rp-form-help,.rp-calendar-hint,.rp-save-status,.rp-ticker-track){font-size:var(--rp-label);line-height:1.5}
.riderpress-ui :is(.rp-menu-list a,.rp-footer,.rp-footer a,.rp-credit){font-size:var(--rp-small);line-height:1.5}
.riderpress-ui :is(.rp-form-card,.rp-filters,.rp-directory-filters,.rp-newsletter) :is(label,input,select,textarea){font-size:var(--rp-text);line-height:1.5}
.riderpress-ui :is(button,input,select,textarea){font-family:var(--rp-font)}
.riderpress-ui :is(.rp-btn,.rp-cta,.wp-block-button__link,.wp-element-button,input[type=submit]){display:inline-flex;align-items:center;justify-content:center;min-height:var(--rp-button-height);height:auto;max-width:100%;padding:12px 18px;border:1px solid var(--rp-yellow);border-radius:var(--rp-button-radius);background:var(--rp-yellow);color:#020202;font-family:var(--rp-font);font-size:var(--rp-small);font-weight:700;line-height:1.35;letter-spacing:.02em;text-align:center;text-decoration:none;white-space:normal;overflow-wrap:anywhere;cursor:pointer;transition:background-color .15s,color .15s,border-color .15s;transform:none;box-shadow:none}
.riderpress-ui .rp-btn:before{display:none}
.riderpress-ui :is(.rp-btn,.rp-cta,.wp-block-button__link,.wp-element-button,input[type=submit]):is(:hover,:focus-visible){background:#ffd21a;color:#020202;border-color:#ffd21a;transform:none;box-shadow:none}
.riderpress-ui :is(.rp-btn.dark,.rp-icon-btn,.rp-ticker-toggle,.rp-navigation>summary,.rp-ad-controls button,.rp-share a,.rp-share button){min-height:44px;min-width:44px;border:1px solid #777;border-radius:var(--rp-button-radius);background:#17191b;color:#eee;font-family:var(--rp-font);font-size:var(--rp-small);font-weight:700;line-height:1.35;padding:12px 16px;cursor:pointer;text-align:center;transition:background-color .15s,color .15s,border-color .15s}
.riderpress-ui :is(.rp-icon-btn,.rp-ad-controls button,.rp-share a,.rp-share button){display:inline-grid;place-items:center;width:44px;height:44px;padding:10px}
.riderpress-ui :is(.rp-btn.dark,.rp-icon-btn,.rp-ticker-toggle,.rp-navigation>summary,.rp-ad-controls button,.rp-share a,.rp-share button):is(:hover,:focus-visible){background:#202428;color:var(--rp-yellow);border-color:var(--rp-yellow)}
.riderpress-ui :is(.rp-btn,.rp-cta,.rp-icon-btn,.rp-ticker-toggle,.rp-navigation>summary,.rp-ad-controls button,.rp-share a,.rp-share button,.wp-block-button__link,.wp-element-button,input[type=submit]):focus-visible{outline:2px solid #fff;outline-offset:3px}
.riderpress-ui :is(.rp-btn,.rp-cta,.wp-block-button__link,.wp-element-button,input[type=submit]):active{background:#e3b600;color:#020202}
.riderpress-ui .rp-save-control [aria-pressed=true],.riderpress-ui .rp-cookie-panel [data-consent].is-selected{background:var(--rp-yellow);color:#020202;border-color:var(--rp-yellow)}
.riderpress-ui :is(button,.rp-btn,.rp-cta):is(:disabled,[aria-disabled=true]){opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}
.riderpress-ui :is(main,.rp-topbar,.rp-footer,.rp-mobile-nav) a:not(:where(.rp-btn,.rp-cta,.wp-block-button__link,.wp-element-button,.rp-share a,.rp-social a,.rp-calendar-grid a,.rp-section-links a)):is(:hover,:focus-visible){color:var(--rp-yellow)}
.riderpress-ui :is(main,.rp-topbar,.rp-footer,.rp-mobile-nav) a:focus-visible{outline:2px solid var(--rp-yellow);outline-offset:3px}
.riderpress-ui .rp-footer-legal button[data-cookie-open]{background:transparent;border:0;color:#bbb;font-family:var(--rp-font);font-size:var(--rp-small);font-weight:400;min-height:44px;padding:8px;text-decoration:underline}
.riderpress-ui .rp-footer-legal button[data-cookie-open]:is(:hover,:focus-visible){color:var(--rp-yellow)}
.riderpress-ui .rp-hero-main>.rp-community-hero{filter:brightness(.85) saturate(.85);object-position:65% center}
@media(max-width:720px){.riderpress-ui .rp-hero-main>.rp-community-hero{object-position:70% center}.riderpress-ui .rp-hero-copy{padding:28px 20px}.riderpress-ui .rp-hero-copy h1{font-size:clamp(30px,8vw,40px)}.riderpress-ui .rp-directory-filters label{font-size:14px}}
@media(prefers-reduced-motion:reduce){.riderpress-ui :is(.rp-btn,.rp-cta,.rp-icon-btn,.rp-ticker-toggle,.rp-navigation>summary,.rp-ad-controls button,.rp-share a,.rp-share button,.wp-block-button__link,.wp-element-button,input[type=submit]){transition:none}}

/* Agenda: poster, date and details beside the existing province map. */
.riderpress-ui .rp-agenda-layout{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(280px,1fr);gap:32px;align-items:start;padding-bottom:40px}
.rp-agenda-main{min-width:0}
.riderpress-ui .rp-agenda-main .rp-filters{display:flex;align-items:end;gap:10px;margin:0}
.rp-agenda-main .rp-filters label{flex:1 1 150px;min-width:0}
.rp-agenda-main .rp-filters .rp-filter-search{flex-basis:155px}
.rp-agenda-main .rp-filters .rp-filter-province{flex-basis:182px}
.rp-agenda-main .rp-filters .rp-filter-type{flex-basis:152px}
.rp-agenda-main .rp-filters .rp-filter-date{flex-basis:154px}
.rp-agenda-main .rp-filters :is(input,select){width:100%;min-width:0;min-height:48px;margin-top:6px}
.rp-agenda-main .rp-filters .rp-btn{min-height:48px}
.rp-agenda-main .rp-period-links{margin:12px 0 18px}
.rp-agenda-main .rp-event-list{align-content:start;gap:10px}
.riderpress-ui .rp-agenda-event{grid-template-columns:128px minmax(0,1fr);align-items:start;gap:16px;padding:12px;transform:none;box-shadow:none}
.riderpress-ui .rp-agenda-event:has(.rp-event-poster){grid-template-columns:96px 128px minmax(0,1fr);gap:12px}
.riderpress-ui .rp-agenda-event>.rp-event-poster{width:96px;height:140px;object-fit:contain;object-position:top;background:#080808}
.riderpress-ui .rp-agenda-event>.rp-event-date{display:block;padding:8px 8px 8px 0}
.riderpress-ui .rp-agenda-event .rp-event-date strong{font-size:30px;line-height:1.2;white-space:nowrap;overflow-wrap:normal;word-break:normal;font-variant-numeric:tabular-nums}
.riderpress-ui .rp-agenda-event .rp-event-date span{font-size:12px}
.rp-agenda-event .rp-event-info{min-width:0;padding:5px 0}
.riderpress-ui .rp-agenda-event h3{margin:0 0 6px;line-height:1.25}
.riderpress-ui .rp-agenda-event p{font-size:14px;line-height:1.5}
.riderpress-ui .rp-agenda-event .rp-event-range{font-size:13px;margin-top:8px}
.rp-agenda-event .rp-event-action{display:block;margin-top:16px;color:var(--rp-yellow);font-size:14px;font-weight:700}
.riderpress-ui .rp-agenda-event:is(:hover,:focus-within){border-color:var(--rp-yellow);transform:none;box-shadow:none}
.rp-agenda-event:is(:hover,:focus-within) h3 a{color:var(--rp-yellow)}
.riderpress-ui .rp-agenda-sidebar>.rp-map-card{width:100%;max-width:100%;padding:20px;background:#17191b}
.riderpress-ui .rp-agenda-sidebar>.rp-map-card h2{font-size:clamp(22px,2vw,28px);line-height:1.15}
.rp-agenda-layout .rp-spain-map{margin:22px auto 16px}
.rp-agenda-main .rp-pagination:empty{display:none}
@media(max-width:1000px){.riderpress-ui .rp-agenda-layout{grid-template-columns:minmax(0,1fr);gap:24px}.rp-agenda-sidebar>.rp-map-card{justify-self:stretch}}
@media(max-width:600px){
 .riderpress-ui .rp-agenda-event:has(.rp-event-poster){grid-template-columns:64px minmax(0,1fr);gap:8px 12px}
 .riderpress-ui .rp-agenda-event>.rp-event-poster{width:64px;height:94px;grid-column:1;grid-row:2}
 .riderpress-ui .rp-agenda-event:has(.rp-event-poster)>.rp-event-date{grid-column:1 / -1;grid-row:1;border:0;padding:0 0 8px;text-align:left}
 .rp-agenda-event:has(.rp-event-poster)>.rp-event-info{grid-column:2;grid-row:2}
 .riderpress-ui .rp-agenda-event .rp-event-date strong{font-size:28px}
 .riderpress-ui .rp-agenda-event h3{font-size:20px}
 .rp-agenda-main .rp-filters label,
 .rp-agenda-main .rp-filters :is(.rp-filter-search,.rp-filter-province,.rp-filter-type,.rp-filter-date){flex-basis:100%}
 .rp-agenda-main .rp-filters>.rp-btn{flex:1 1 120px}
 .riderpress-ui .rp-agenda-sidebar>.rp-map-card{padding:16px}
}

.riderpress-ui .rp-agenda-event .rp-date-cross-month{font-size:22px}
@media(max-width:600px){.riderpress-ui .rp-agenda-event:not(:has(.rp-event-poster)){grid-template-columns:minmax(0,1fr)}.riderpress-ui .rp-agenda-event:not(:has(.rp-event-poster))>.rp-event-date{text-align:left;border:0}.riderpress-ui .rp-agenda-event .rp-date-cross-month br{display:none}.riderpress-ui .rp-agenda-event .rp-date-cross-month span{padding:0 8px}}

/* Development credit: gray logo by default, supplied yellow logo on hover/focus. */
.riderpress-ui .rp-credit{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}
.riderpress-ui .rp-credit a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;margin:0}
.riderpress-ui .rp-credit .rp-credit-logo-swap{position:relative;display:inline-block;max-width:100%;line-height:0}
.riderpress-ui .rp-credit .rp-credit-logo{display:block;width:220px;max-width:100%;height:auto;transition:opacity .18s ease}
.riderpress-ui .rp-credit .rp-credit-logo--yellow{position:absolute;inset:0;opacity:0;pointer-events:none}
@media (hover:hover) and (pointer:fine){
  .riderpress-ui .rp-credit a:hover .rp-credit-logo--gray{opacity:0}
  .riderpress-ui .rp-credit a:hover .rp-credit-logo--yellow{opacity:1}
}
.riderpress-ui .rp-credit a:focus-visible .rp-credit-logo--gray{opacity:0}
.riderpress-ui .rp-credit a:focus-visible .rp-credit-logo--yellow{opacity:1}
.riderpress-ui .rp-credit a:is(:hover,:focus-visible){outline:none}

/* Legal links, copyright and development credit share one footer row. */
.riderpress-ui .rp-footer-legal{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;padding:16px 0}
.riderpress-ui .rp-footer-legal nav{align-items:center;gap:8px 16px}
.riderpress-ui .rp-footer-legal :is(p,a,button[data-cookie-open]){font-size:13px}
.riderpress-ui .rp-footer-legal p{margin:0;padding:0}
.riderpress-ui .rp-footer-legal nav a{display:inline-flex;align-items:center;min-height:44px;margin:0;padding:4px 0}
.riderpress-ui .rp-footer-legal .rp-credit{gap:8px;flex-wrap:nowrap;max-width:100%}
.riderpress-ui .rp-footer-legal .rp-credit span{white-space:nowrap}
.riderpress-ui .rp-footer-legal .rp-credit a{min-width:0}
.riderpress-ui .rp-footer-legal .rp-credit-logo{width:150px}
@media(max-width:720px){.riderpress-ui .rp-footer-legal{justify-content:center;text-align:center}.riderpress-ui .rp-footer-legal nav{justify-content:center}}

/* Advertising locations share the existing side columns. */
.rp-agenda-sidebar,.rp-route-sidebar{min-width:0;align-self:start}
.rp-route-sidebar{grid-area:search}
.rp-route-sidebar>.rp-route-search{grid-area:auto}
.riderpress-ui :is(.rp-agenda-sidebar,.rp-route-sidebar,.rp-hero-side)>.rp-ad-vertical{max-width:326px;margin:18px auto}
.riderpress-ui .rp-hero-side>.rp-ad-vertical{grid-column:1/-1}

/* Clear photography, readable captions and a larger search icon. */
.riderpress-ui .rp-trendbar{min-height:56px;position:relative}
.riderpress-ui .rp-ticker-track{animation-duration:40s}
.riderpress-ui .rp-ticker-track span,.riderpress-ui .rp-ticker-track a{font-size:clamp(18px,1.5vw,22px);font-weight:600;line-height:1.5;color:#eee}
.riderpress-ui .rp-trendbar:focus-visible{outline:2px solid var(--rp-yellow);outline-offset:3px}
.riderpress-ui .rp-home-discover .rp-quick-card{display:flex;flex-direction:column;min-height:0;background:#17191b}
.riderpress-ui .rp-home-discover .rp-quick-card>img,.riderpress-ui .rp-home-discover .rp-quick-card>picture{position:static;inset:auto;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;filter:none;transform:none}
.riderpress-ui .rp-home-discover .rp-quick-card>picture img{filter:none;transform:none}
.riderpress-ui .rp-home-discover .rp-quick-card .body{position:static;align-self:stretch;padding:18px;flex:1}
.riderpress-ui .rp-hero-main:has(>.rp-community-hero){display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-height:0;background:#17191b}
.riderpress-ui .rp-hero-main:has(>.rp-community-hero):after{display:none}
.riderpress-ui .rp-hero-main>.rp-community-hero{position:static;inset:auto;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;filter:none;transform:none;will-change:auto}
.riderpress-ui .rp-hero-main:has(>.rp-community-hero)>.rp-hero-copy{max-width:none;padding:28px}
.riderpress-ui .rp-hero-main:has(>.rp-community-hero)>.rp-road-sweep{display:none}
.riderpress-ui #rpSearchToggle{width:48px;height:48px;padding:9px}
.riderpress-ui #rpSearchToggle svg{display:block;width:28px;height:28px;flex-shrink:0}
@media(max-width:720px){.riderpress-ui .rp-hero-main:has(>.rp-community-hero)>.rp-hero-copy{padding:22px 18px}}

/* V4.7: complete artwork, uniform club cards, stable province markers. */
.riderpress-ui .rp-club-directory>.rp-directory-grid{align-items:stretch;grid-auto-rows:1fr}
.riderpress-ui .rp-club-directory .rp-card{height:100%;display:flex;flex-direction:column;min-width:0}
.riderpress-ui .rp-club-directory .rp-card>img{height:240px;width:100%;object-fit:contain;padding:16px;filter:none;transform:none;background:#17191b}
.riderpress-ui .rp-club-directory .rp-card-body{flex:1;display:flex;flex-direction:column}
.riderpress-ui .rp-club-directory .rp-card-body h3{min-height:2.5em}
.riderpress-ui .rp-club-directory .rp-card-body>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;line-height:1.6;min-height:6.4em}
.riderpress-ui .rp-map-pin.has-events::before{inset:auto;width:16px;height:16px;background:#F4C400;border:2px solid #020202;box-shadow:0 0 0 2px #F4C400,0 0 12px #F4C400;animation:none;opacity:1}
.riderpress-ui .rp-map-pin.has-events:is(:hover,:focus-visible)::before{background:#fff}
.riderpress-ui .rp-home-discover .rp-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
.riderpress-ui .rp-home-discover .rp-quick-card{min-width:0}
.riderpress-ui .rp-home-discover .rp-quick-card .body{display:flex;flex-direction:column}
.riderpress-ui .rp-home-discover .rp-quick-action{margin-top:auto}
.riderpress-ui .rp-home-discover .rp-quick-card>img,.riderpress-ui .rp-home-discover .rp-quick-card>picture,.riderpress-ui .rp-home-discover .rp-quick-card>picture img{display:block;width:100%;height:300px;flex-shrink:0;aspect-ratio:auto;object-fit:contain;filter:none;transform:none;background:#17191b}
.riderpress-ui .rp-hero-main:has(>.rp-community-hero){display:flex;flex-direction:row;align-items:center;min-height:620px}
.riderpress-ui .rp-hero-main>.rp-community-hero,.riderpress-ui .rp-hero-main>.rp-community-video{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;filter:none;transform:none}
.riderpress-ui .rp-hero-main>.rp-community-video{opacity:0;pointer-events:none}
.riderpress-ui .rp-hero-main>.rp-community-video.is-playing{opacity:1}
.riderpress-ui .rp-hero-main:has(>.rp-community-hero)>.rp-hero-copy{max-width:680px;margin:24px;padding:24px;background:rgba(2,2,2,.62);border-radius:2px}
.riderpress-ui .rp-hero-video-toggle{position:absolute;right:18px;bottom:18px;z-index:3}
@media(min-width:721px) and (max-width:1100px){.riderpress-ui .rp-home-discover .rp-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.riderpress-ui .rp-home-discover .rp-quick-grid{grid-template-columns:minmax(0,1fr)}.riderpress-ui .rp-hero-main:has(>.rp-community-hero){min-height:540px}.riderpress-ui .rp-hero-main:has(>.rp-community-hero)>.rp-hero-copy{margin:14px;padding:18px 16px}.riderpress-ui .rp-club-directory .rp-card>img{height:220px}}

/* V4.8: compact corporate hero, shared directory proportions and useful navigation. */
.riderpress-ui .rp-hero-main:has(>.rp-community-hero){align-self:start;min-height:420px}
.riderpress-ui .rp-hero-main:has(>.rp-community-hero)>.rp-hero-copy{max-width:620px;padding:20px;margin:20px}
.riderpress-ui .rp-hero-main:has(>.rp-community-hero) h1{font-size:clamp(30px,3.1vw,44px);line-height:1.12}
.riderpress-ui .rp-hero-main:has(>.rp-community-hero) .rp-hero-desc{font-size:16px}
.riderpress-ui .rp-countdown{color:var(--rp-yellow)}
.riderpress-ui .rp-club-directory.rp-agenda-layout{grid-template-columns:minmax(0,2.15fr) minmax(280px,1fr);gap:32px}
.riderpress-ui .rp-mobile-nav svg{display:block;width:24px;height:24px;margin:0 auto 4px;color:var(--rp-yellow);flex-shrink:0}
.riderpress-ui .rp-mobile-nav a{min-height:52px;font-size:11px}
.riderpress-ui .rp-agenda-main .rp-event-list{margin-top:18px}

/* Horizontally scrollable even without JavaScript. Artwork stays whole. */
.rp-carousel{min-width:0;position:relative}
.rp-carousel-controls{display:flex;justify-content:flex-end;gap:8px;margin:0 0 12px}
.rp-carousel-controls[hidden],.rp-carousel-controls button[hidden]{display:none!important}
.rp-carousel-window{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#F4C400 #17191b;padding:4px 0 12px;direction:ltr}
.rp-carousel-window:focus-visible{outline:2px solid var(--rp-yellow);outline-offset:3px}
.rp-carousel-track{display:flex;gap:16px;width:max-content;position:relative;align-items:stretch}
.riderpress-ui .rp-carousel-item{flex:0 0 240px;width:240px;min-width:0;margin:0;background:#17191b;border:1px solid #333;overflow:hidden}
.rp-event-carousel .rp-carousel-item a{display:block;color:#fff}
.riderpress-ui .rp-event-carousel img{display:block;width:100%;height:320px;object-fit:contain;filter:none;transform:none}
.rp-event-carousel .rp-carousel-item span{display:block;font-weight:700;padding:12px 12px 4px;white-space:normal}
.rp-event-carousel small{display:block;padding:0 12px 12px;color:var(--rp-yellow)}
.riderpress-ui .rp-partner-carousel .rp-partner-box{width:300px;flex-basis:300px;min-height:150px;height:150px;padding:0;display:grid;place-items:center}
.riderpress-ui .rp-partner-carousel .rp-partner-box:after{display:none}
.riderpress-ui .rp-partner-carousel .rp-partner-box a{width:100%;height:100%;display:grid;place-items:center}
.riderpress-ui .rp-partner-carousel .rp-partner-box img{display:block;width:100%;height:148px;max-height:none;object-fit:contain}
.rp-carousel-item a:focus-visible{outline:3px solid var(--rp-yellow);outline-offset:-3px}

/* News search: filters above results on smaller screens, right sidebar on desktop. */
.rp-news-layout{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(280px,1fr);gap:32px;align-items:start;padding-bottom:32px}
.rp-news-results{min-width:0}
.riderpress-ui .rp-news-results>.rp-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:0}
.rp-news-filter{min-width:0;padding:20px;border:1px solid #333;background:#17191b}
.riderpress-ui .rp-news-filter h2{font-size:24px;color:var(--rp-yellow)}
.rp-news-filter form{display:grid;gap:16px}
.rp-news-filter label{display:grid;gap:6px}
.rp-news-filter :is(input,select){width:100%;max-width:100%;min-width:0;min-height:44px}
.riderpress-ui .rp-club-profile{grid-template-columns:minmax(0,2.5fr) minmax(280px,1fr);align-items:start}
.riderpress-ui .rp-club-profile>.rp-detail-card{padding:0;min-width:0}
.riderpress-ui .rp-club-profile .rp-club-media{background:#17191b}
.riderpress-ui .rp-club-profile .rp-club-media img{width:100%;height:360px;max-height:none;object-fit:contain;padding:24px;filter:none}
.rp-club-story{padding:24px}
.riderpress-ui .rp-club-profile .rp-club-contact{display:block;margin:0;padding:20px;min-width:0}
.rp-club-contact>h3{color:var(--rp-yellow);text-align:center;overflow-wrap:anywhere}
.rp-club-contact>p{text-align:center}
.rp-club-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}
.riderpress-ui .rp-club-links .rp-btn{padding:10px 6px;min-width:0;font-size:14px;text-transform:none}
.rp-club-location{display:block;width:100%;height:280px;border:0;margin-top:18px}
.riderpress-ui .rp-tv-player{display:block;width:100%;height:auto;max-height:75vh;background:#020202;aspect-ratio:16/9}
@media(max-width:1100px){
 .riderpress-ui .rp-nav{height:auto;min-height:76px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px}
 .riderpress-ui .rp-nav .rp-brand{width:120px;flex:0 0 120px}
 .riderpress-ui .rp-nav-actions{margin-left:auto;max-width:100%}
 .riderpress-ui .rp-nav-actions .rp-cta{font-size:13px;padding:10px 12px;white-space:normal;text-align:center}
 .riderpress-ui .rp-navigation>summary{font-size:13px;padding:10px;min-height:44px}
 .rp-news-layout{grid-template-columns:1fr}
 .rp-news-filter{grid-row:1}
}
@media(max-width:1000px){.riderpress-ui .rp-club-directory.rp-agenda-layout,.riderpress-ui .rp-club-profile{grid-template-columns:1fr;gap:24px}}
@media(max-width:720px){
 .riderpress-ui .rp-hero-main:has(>.rp-community-hero){min-height:360px}
 .riderpress-ui .rp-hero-main:has(>.rp-community-hero)>.rp-hero-copy{margin:14px;padding:18px 16px}
 .riderpress-ui .rp-club-profile .rp-club-media img{height:260px;padding:16px}
 .rp-club-story{padding:18px}
 .riderpress-ui .rp-news-results>.rp-card-grid{grid-template-columns:1fr}
 .riderpress-ui .rp-partner-carousel .rp-partner-box{width:270px;flex-basis:270px;height:135px;min-height:135px}
 .riderpress-ui .rp-partner-carousel .rp-partner-box img{height:133px}
}

/* V4.8.1: continuidad de portada y controles oscuros. */
.riderpress-ui .rp-home-lead{display:flex;flex-direction:column;gap:14px;min-width:0;align-self:start}
.riderpress-ui .rp-home-lead>.rp-hero-main{width:100%}
.riderpress-ui .rp-home-lead>.rp-section,.riderpress-ui .rp-home-lead>.rp-ticker{margin:0}
.riderpress-ui .rp-home-lead .rp-news-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
.riderpress-ui .rp-home-lead .rp-news-card.feature{grid-row:span 2}
#descubre-riderpress,#actualidad{scroll-margin-top:140px}
.riderpress-ui .rp-news-filter :is(input,select){background:#020202;color:#fff;border:1px solid #666;color-scheme:dark;padding:12px}
.riderpress-ui .rp-news-filter input::placeholder{color:#bdbdbd;opacity:1}
.riderpress-ui .rp-news-filter :is(input,select):focus-visible{outline:2px solid #F4C400;outline-offset:3px}
.rp-difficulty-stars{display:inline-flex;gap:3px;color:#F4C400;font-size:23px;white-space:nowrap}
@media(max-width:720px){.riderpress-ui .rp-home-lead .rp-news-grid{grid-template-columns:minmax(0,1fr)}.riderpress-ui .rp-home-lead .rp-news-card.feature{grid-row:auto}#descubre-riderpress,#actualidad{scroll-margin-top:180px}}
.riderpress-ui .rp-home-lead>.rp-trendbar{margin:0}
.riderpress-ui .rp-hero-side>.rp-home-upcoming{margin:0}

/* V4.8.2: las columnas fluyen independientemente de la altura del banner. */
.riderpress-ui .rp-home-lead>.rp-home-content{display:flex;flex-direction:column;gap:14px;width:100%;min-width:0;margin:0}
.riderpress-ui .rp-home-lead>.rp-home-content>*{min-width:0;max-width:100%;margin-top:0;margin-bottom:0}
.riderpress-ui .rp-hero-side{align-self:start}

/* V4.9: portada editorial, sin alturas dependientes de una sidebar. */
.rp-editorial-home{display:flex;flex-direction:column;gap:24px;padding-block:24px}
.rp-editorial-home>.rp-section,.rp-editorial-home>.rp-trendbar{margin:0}
.rp-editorial-cover{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:20px;align-items:start}
.rp-editorial-secondary{display:grid;gap:16px;min-width:0}
.rp-front-story{position:relative;min-width:0;background:#17191b;border:1px solid #303236;overflow:hidden}
.rp-front-story>img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;filter:none;opacity:1}
.rp-front-story-body{padding:20px}
.rp-front-story h1{font-size:clamp(26px,3.1vw,46px);line-height:1.12;margin:10px 0 16px;letter-spacing:-.5px}
.rp-front-story h3{font-size:20px;line-height:1.25;margin:8px 0}
.rp-front-story time{font-size:13px;color:#bdbdbd}
.rp-front-story p{font-size:16px;line-height:1.55;margin:12px 0 0}
.rp-editorial-secondary .rp-front-story{display:grid;grid-template-columns:40% minmax(0,1fr)}
.rp-editorial-secondary .rp-front-story>img{height:100%;min-height:140px;object-fit:cover}
.rp-editorial-secondary .rp-front-story-body{padding:14px}
.rp-home-agenda{display:grid;grid-template-columns:minmax(260px,1fr) minmax(0,1.6fr);gap:20px;align-items:start}
.rp-editorial-home .rp-home-weekend .rp-event-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.rp-discover-four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.rp-discover-four h3{padding:16px;margin:0;font-size:18px}
.rp-discover-four .rp-front-story>img{aspect-ratio:4/3;object-fit:cover}
.rp-featured-journey>.rp-front-story{display:grid;grid-template-columns:1fr 1fr;align-items:center}
.rp-editorial-home .rp-home-weekly{padding:20px;background:#17191b}
.rp-editorial-home .rp-home-weekly form{display:flex;flex-wrap:wrap;align-items:end;gap:14px}
.rp-editorial-home .rp-home-weekly input{max-width:100%}
.rp-subsections{display:flex;flex-wrap:wrap;gap:10px;margin-block:16px}
.riderpress-ui .rp-trendbar{display:flex;gap:10px;align-items:center;min-width:0;padding:10px}
.riderpress-ui .rp-ticker-label{font-weight:800;color:#F4C400;white-space:nowrap}
.riderpress-ui .rp-ticker-toggle{font-size:12px;padding:10px;flex-shrink:0}
.riderpress-ui .rp-ticker-track{gap:0;animation:rpTicker 45s linear infinite;min-width:max-content}
.riderpress-ui .rp-ticker-track>span{box-sizing:border-box;flex:none;padding:0 24px;font-size:var(--rp-ticker-font-size,16px);white-space:nowrap}
.rp-trendbar:focus-within .rp-ticker-track,.rp-trendbar:hover .rp-ticker-track,.rp-trendbar.rp-ticker-paused .rp-ticker-track{animation-play-state:paused}
.riderpress-ui .rp-mobile-nav a svg{width:28px;height:28px;color:#d0d0d0}
.riderpress-ui .rp-mobile-nav a[aria-current="page"] svg,.riderpress-ui .rp-mobile-nav a:hover svg{color:#F4C400}
.riderpress-ui .rp-menu-list a{font-size:15px}
.riderpress-ui .rp-nav .rp-brand{width:160px;flex-basis:160px}
.rp-filters option.has-events{color:#F4C400;background:#17191b}
.rp-map-active{display:flex;flex-wrap:wrap;gap:10px;margin-block:16px;list-style:none;padding:0}
.rp-map-active a{color:#F4C400}
.riderpress-ui .rp-map-pin.has-events{opacity:1;background:transparent;animation:none;border:0;border-radius:50%;box-shadow:none}
@keyframes rpMapPulse{50%{box-shadow:0 0 0 8px rgba(244,196,0,.18)}}
.rp-editorial-home .rp-ad-slot{max-width:100%;margin-block:0}
@media(max-width:1100px){.riderpress-ui .rp-nav .rp-brand{width:130px;flex-basis:130px}.rp-editorial-cover{grid-template-columns:repeat(2,minmax(0,1fr))}.rp-editorial-secondary .rp-front-story{display:block}.rp-editorial-secondary .rp-front-story>img{height:auto;min-height:0}.rp-discover-four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.rp-editorial-cover,.rp-home-agenda,.rp-featured-journey>.rp-front-story,.rp-editorial-home .rp-home-weekend .rp-event-list{grid-template-columns:minmax(0,1fr)}.rp-editorial-secondary .rp-front-story{display:block}.rp-discover-four{grid-template-columns:minmax(0,1fr)}.rp-front-story-body{padding:16px}.rp-ticker-label{font-size:13px}.rp-editorial-home{gap:18px}.rp-home-weekly form{flex-direction:column;align-items:stretch}.rp-editorial-home .rp-home-weekly form>*{width:100%}}
@media(prefers-reduced-motion:reduce){.riderpress-ui .rp-ticker-track,.riderpress-ui .rp-map-pin.has-events{animation:none}.rp-ticker-toggle{display:none}}
.rp-no-motion .rp-map-pin.has-events{animation:none}

/* Keep advertiser artwork inside its slot, even when an unsuitable source is uploaded. */
.riderpress-ui .rp-ad-slide img{max-height:250px;object-fit:contain}
.riderpress-ui .rp-ad-format-vertical img{max-height:600px}
.riderpress-ui .rp-ad-format-vertical_400 img{max-height:800px}
.rp-editorial-home>.rp-ad-vertical{max-width:326px}
@media(max-width:767px){.riderpress-ui .rp-ad-slide img{max-height:250px}}

.rp-front-story>.rp-placeholder{min-width:0;width:100%}
.rp-editorial-secondary .rp-placeholder{min-height:140px;aspect-ratio:auto}
.rp-editorial-secondary .rp-placeholder>img{max-width:85%;height:auto}
.rp-editorial-secondary .rp-placeholder>span{font-size:8px;overflow-wrap:anywhere}

/* V4.9.1: independent editorial column and agenda sidebar. */
.rp-editorial-home{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:24px}
.rp-editorial-home.has-agenda{grid-template-columns:minmax(0,1fr) 320px}
.rp-editorial-main{display:flex;flex-direction:column;gap:24px;min-width:0}
.rp-editorial-main>.rp-section,.rp-editorial-main>.rp-trendbar{margin:0}
.rp-editorial-home>.rp-home-agenda{display:flex;flex-direction:column;gap:20px;min-width:0}
.rp-home-agenda .rp-panel{min-width:0;padding:16px}
.rp-home-agenda .rp-home-upcoming .rp-event-row{grid-template-columns:52px minmax(0,1fr)}
.rp-home-agenda .rp-home-upcoming .rp-event-row>a:last-child{grid-column:2}
.rp-home-agenda .rp-home-upcoming .rp-btn{max-width:100%;white-space:normal}
.rp-editorial-main>.rp-ad-vertical{max-width:326px;margin-inline:auto}
.riderpress-ui .rp-ticker-toggle[aria-pressed="true"]{color:#020202;background:#F4C400;border-color:#F4C400}
@media(max-width:1100px){
 .rp-editorial-home,.rp-editorial-home.has-agenda{display:flex;flex-direction:column}
 .rp-editorial-main{display:contents}
 .rp-editorial-main>*{order:5;width:100%;min-width:0}
 .rp-editorial-main>.rp-editorial-cover{order:0}
 .rp-editorial-main>.rp-all-news{order:1}
 .rp-editorial-main>.rp-trendbar{order:2}
 .rp-editorial-main>.rp-home-weekend{order:3}
 .rp-editorial-home>.rp-home-agenda{order:4;width:100%}
}

.rp-home-agenda .rp-event-info{grid-column:2;min-width:0}
.rp-home-agenda .rp-event-poster{grid-column:1;grid-row:1 / span 3;width:52px;height:auto;object-fit:contain}
.rp-home-agenda .rp-event-row:has(.rp-event-poster) .rp-event-date{grid-column:2}

/* 4.9.2 — continuous editorial columns, full-width ticker and compact sidebar. */
.rp-editorial-home>.rp-trendbar{grid-column:1 / -1;width:100%;margin:0;min-width:0;order:-1}
.rp-home-agenda .rp-home-weekly{margin:0;padding:16px;min-width:0}
.rp-home-agenda h2{font-size:clamp(20px,2vw,26px)}
.rp-home-agenda .rp-home-weekly form{display:flex;flex-direction:column;gap:12px}
.rp-home-agenda .rp-home-weekly form>label,.rp-home-agenda .rp-home-weekly button{width:100%;min-width:0}
.rp-home-agenda .rp-home-weekly p{font-size:14px;line-height:1.5}
.rp-journey-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.rp-journey-grid .rp-front-story{height:100%;display:flex;flex-direction:column;min-width:0}
.rp-journey-grid .rp-front-story>img{width:100%;height:220px;object-fit:cover}
.rp-journey-grid h3{font-size:clamp(20px,2vw,26px)}
.rp-event-contact-buttons{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}
.rp-event-contact-buttons .rp-btn{display:inline-flex;align-items:center;gap:8px;white-space:normal}
.rp-event-location{width:100%;max-width:100%;height:280px;border:0}
.riderpress-ui .rp-icon-solid{display:inline-block;vertical-align:middle;flex-shrink:0;fill:currentColor;stroke:none}
.rp-icon-solid path{stroke:none}
.riderpress-ui .rp-mobile-nav a,.riderpress-ui .rp-social a{color:#aaa}
.riderpress-ui .rp-mobile-nav a[aria-current="page"],.riderpress-ui .rp-mobile-nav a:hover,.riderpress-ui .rp-mobile-nav a:focus-visible,.riderpress-ui .rp-social a:hover,.riderpress-ui .rp-social a:focus-visible{color:#F4C400}
.rp-navigation summary .rp-icon-solid{width:20px;height:20px}
@media(max-width:600px){.rp-journey-grid{grid-template-columns:minmax(0,1fr)}.rp-editorial-home>.rp-trendbar{order:-1}}

.rp-route-duration{min-width:0;margin:0;padding:0;border:0}.rp-route-duration legend{margin-bottom:8px}.rp-route-duration-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rp-route-duration-fields input{width:100%}.rp-route-duration small{display:block;margin-top:8px;color:#aaa}

/* Route facts: readable labels and values, independent of visitor ratings. */
.rp-route-results .rp-stats{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.rp-route-results .rp-stats>span{font-size:16px;line-height:1.4;padding:9px 12px;color:#eee}
.rp-info-grid.rp-route-facts{gap:12px}
.rp-info-grid.rp-route-facts>div{padding:18px;min-width:0}
.rp-info-grid.rp-route-facts>div>span{font-size:15px;line-height:1.4;margin-bottom:8px;color:#bbb}
.rp-info-grid.rp-route-facts>div>b{font-size:24px;line-height:1.35;overflow-wrap:anywhere}
.rp-info-grid.rp-route-facts .rp-difficulty-stars{display:inline-flex;flex-direction:row;flex-wrap:nowrap;gap:5px;white-space:nowrap}
.rp-info-grid.rp-route-facts .rp-difficulty-stars>span{display:inline-block;font-size:32px;line-height:1.1;margin:0}
.rp-difficulty-stars>span.is-filled{color:#F4C400}
.rp-difficulty-stars>span.is-empty{color:#777}
.rp-info-grid.rp-route-facts .rp-difficulty-stars>span.is-filled{color:#F4C400}
.rp-info-grid.rp-route-facts .rp-difficulty-stars>span.is-empty{color:#777}

/* Ordered route stops, 4.9.16. */
.rp-route-itinerary ol{padding-left:24px}.rp-route-itinerary li{padding:5px 0;line-height:1.5}.rp-route-itinerary li::marker{color:#f4c400;font-weight:700}.rp-route-itinerary small{display:block;margin-top:8px;line-height:1.5}.rp-route-itinerary .rp-btn{white-space:normal;text-align:center}

/* 4.9.19: transparent 44px hit target, circular yellow marker. */
.riderpress-ui .rp-spain-map .rp-map-pin.has-events:is(:hover,:focus,:active){background:transparent;border-radius:50%;box-shadow:none}
.riderpress-ui .rp-spain-map .rp-map-pin.has-events::before{border-radius:50%;background:#F4C400;animation:none}
.riderpress-ui .rp-spain-map .rp-map-pin.has-events:focus-visible{outline:2px solid #fff;outline-offset:2px}


/* RiderPress 4.10.44 · búsqueda de Noticias optimizada para móvil */
.rp-news-search-jump{
  display:none;
}
#rp-news-search{
  scroll-margin-top:140px;
}
@media(max-width:720px){
  /* En móvil enseñamos primero las noticias y dejamos el formulario completo al final. */
  .rp-news-layout{
    display:grid;
    grid-template-columns:1fr;
  }
  .rp-news-results{
    grid-row:1;
  }
  .rp-news-filter{
    grid-row:2!important;
    margin-top:22px;
  }

  /* Acceso rápido situado bajo las pestañas de Noticias. */
  .rp-news-search-jump{
    display:block;
    margin-top:10px;
    margin-bottom:20px;
  }
  .riderpress-ui .rp-news-search-jump-btn{
    width:100%;
    min-height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    font-size:16px;
    font-weight:900;
    letter-spacing:.025em;
    background:#17191b;
    color:#fff;
    border:1px solid #666;
  }
  .riderpress-ui .rp-news-search-jump-btn span{
    color:#F4C400;
    font-size:19px;
    line-height:1;
  }
  .riderpress-ui .rp-news-search-jump-btn:focus-visible{
    outline:3px solid #F4C400;
    outline-offset:3px;
  }
  #rp-news-search{
    scroll-margin-top:190px;
  }
}


/* RiderPress 4.10.44 · prioridad al contenido en móvil */
@media(max-width:720px){
  .rp-routes-layout{
    grid-template-areas:"results" "search" "invite"!important;
  }
  .rp-route-results{grid-area:results!important}
  .rp-route-sidebar{grid-area:search!important}
  .rp-route-invitation{grid-area:invite!important}

  .rp-news-layout{
    grid-template-columns:1fr!important;
  }
  .rp-news-results{grid-row:1!important}
  .rp-news-filter{grid-row:2!important}

  .rp-reference-home .rp-home-news-grid .rp-front-story{
    grid-template-columns:132px minmax(0,1fr)!important;
  }
}
