/* ultraciclismo.es — rediseño 2026-11-24 (estilo «editorial outdoor»): titulares Figtree 800 en frase, acento naranja en cursiva,
   barra naranja sobre cada H2, panel de accesos verde con iconos, tarjetas con fecha en pastilla, bloques «Hazla por tu cuenta» y banda de comunidad. */
:root{--ucd-crema:#F4EFE5;--ucd-hueso:#FBF8F1;--ucd-verde:#0F2D2A;--ucd-verde2:#1F3A33;--ucd-naranja:#E8672B;--ucd-boton:#C34E17;--ucd-naranja2:#F5793D;--ucd-tinta:#16211D;--ucd-gris:#5B655E;--ucd-linea:#E4DCCB}
html body .uc-h1,html body .uc-h2{font-family:Figtree,system-ui,-apple-system,'Segoe UI',sans-serif!important;text-transform:none!important;letter-spacing:-.022em!important;font-weight:800!important;line-height:1.05!important}
html body .uc-h2{font-size:clamp(30px,3.6vw,46px)!important;color:var(--ucd-tinta);position:relative;margin-top:0!important;padding-top:20px}
html body .uc-h2:before{content:'';position:absolute;left:0;top:0;width:46px;height:4px;border-radius:2px;background:var(--ucd-naranja)}
html body .uc-h2--video:before{display:none}
html body .uc-h2--video{padding-top:0}
/* hero */
html body .uc-home__hero{position:relative;isolation:isolate;min-height:min(86vh,680px);display:flex;align-items:center}
html body .uc-home__hero:after{content:'';position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(9,24,22,.82) 0%,rgba(9,24,22,.55) 46%,rgba(9,24,22,.12) 78%,rgba(9,24,22,0) 100%),linear-gradient(0deg,rgba(9,24,22,.5),rgba(9,24,22,0) 38%)}
html body .uc-home__hero .uc-w{position:relative;z-index:1;padding-top:84px!important;padding-bottom:148px!important;max-width:1180px}
html body .uc-home .uc-kicker{display:flex;align-items:center;gap:14px;font:700 13px Figtree,sans-serif;letter-spacing:.24em;text-transform:uppercase;color:#F3E6D6!important}
html body .uc-home .uc-kicker:before{content:'';width:40px;height:3px;border-radius:2px;background:var(--ucd-naranja)}
html body .uc-home__hero .uc-h1{font-size:clamp(40px,6vw,76px)!important;color:#fff!important;max-width:15ch;margin:18px 0 20px!important;text-shadow:0 2px 24px rgba(0,0,0,.25)}
html body .uc-home .uc-acc{display:block;color:var(--ucd-naranja2)!important;font-style:italic;font-weight:800;text-shadow:none}
html body .uc-home__hero .uc-lead{font-size:clamp(16px,1.5vw,19px)!important;line-height:1.55;color:#EDE7DA!important;max-width:46ch;margin:0 0 30px!important}
html body .uc-btn{border-radius:12px!important;font-weight:700!important;padding:15px 24px!important;display:inline-flex!important;align-items:center;gap:10px;transition:transform .15s ease,background .15s ease,box-shadow .15s ease}
html body .uc-btn:hover{transform:translateY(-1px)}
html body .uc-btn--main{background:var(--ucd-boton)!important;border-color:var(--ucd-boton)!important;color:#fff!important;box-shadow:0 10px 24px -12px rgba(195,78,23,.8)}
html body .uc-btn--main:after{content:'→';font-weight:700}
html body .uc-home__hero .uc-btn:not(.uc-btn--main){background:rgba(15,45,42,.35)!important;border:1.5px solid rgba(255,255,255,.75)!important;color:#fff!important;backdrop-filter:blur(3px)}
/* panel de accesos */
html body .uc-tiles{background:var(--ucd-verde)!important;margin:-84px 16px 0;border-radius:30px 30px 0 0;position:relative;z-index:2;box-shadow:0 -18px 40px -26px rgba(0,0,0,.5)}
@media(min-width:1380px){html body .uc-tiles{margin-left:auto;margin-right:auto;max-width:1348px}}
html body .uc-tiles .uc-w{padding-top:34px!important;padding-bottom:34px!important;max-width:1280px}
html body .uc-tiles__g{display:grid;grid-template-columns:repeat(8,1fr);gap:0}
html body .uc-tile{align-items:center;text-align:center;gap:10px;padding:6px 12px!important;border-radius:0!important;border-left:1px solid rgba(243,238,227,.14)}
html body .uc-tile:first-child{border-left:0}
html body .uc-tile svg{width:38px!important;height:38px!important;stroke:#F3EEE3!important;stroke-width:1.5!important}
html body .uc-tile__t{font:800 15px/1.15 Figtree,sans-serif!important;text-transform:none!important;letter-spacing:0!important;color:#fff;min-height:2.3em;display:flex;align-items:center}
html body .uc-tile__d{font-size:12.5px!important;line-height:1.35!important;color:#B7C4BC!important}
html body .uc-tile:hover{background:rgba(243,238,227,.07)!important}
@media(max-width:1100px){html body .uc-tiles__g{grid-template-columns:repeat(4,1fr);row-gap:18px}html body .uc-tile:nth-child(5){border-left:0}}
@media(max-width:620px){html body .uc-tiles{margin:-56px 0 0;border-radius:22px 22px 0 0}html body .uc-tiles__g{grid-template-columns:repeat(2,1fr)}html body .uc-tile:nth-child(odd){border-left:0}html body .uc-tile:nth-child(5){border-left:0}}
/* próximas carreras */
html body .uc-home__prox{background:var(--ucd-crema)}
html body .uc-home__prox .uc-w{padding-top:72px!important;padding-bottom:76px!important;max-width:1180px}
html body .uc-prox__h{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:26px}
html body .uc-prox__h .uc-btn{background:transparent!important;color:var(--ucd-tinta)!important;border:1.5px solid var(--ucd-tinta)!important}
html body .uc-prox__h .uc-btn:after{content:'→'}
html body .uc-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))!important;gap:22px!important}
html body .uc-card{position:relative;display:flex!important;flex-direction:column;background:#fff!important;border:1px solid var(--ucd-linea)!important;border-radius:20px!important;overflow:hidden;box-shadow:0 14px 34px -26px rgba(15,45,42,.55);padding:0!important;gap:0!important;transition:transform .18s ease,box-shadow .18s ease}
html body .uc-card{container-type:inline-size}
html body .uc-card--art>.uc-art{aspect-ratio:2/1!important}
html body .uc-home .uc-card--art>.uc-art{aspect-ratio:16/10!important}
html body .uc-card:hover{transform:translateY(-3px);box-shadow:0 22px 40px -24px rgba(15,45,42,.6)}
html body .uc-card .uc-card__t{font:800 30px/1 'Big Shoulders Display','Arial Narrow',Impact,sans-serif!important;text-transform:uppercase;letter-spacing:.01em;color:var(--ucd-tinta);padding:18px 20px 6px}
html body .uc-card .uc-card__date{position:absolute;left:14px;top:calc(62.5cqw - 48px);z-index:2;display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.94);border-radius:10px;padding:7px 11px;font:700 13px Figtree,sans-serif;color:var(--ucd-tinta);box-shadow:0 6px 16px -8px rgba(0,0,0,.45)}
html body .uc-card .uc-card__date svg{width:16px;height:16px;stroke:var(--ucd-tinta);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html body .uc-card .uc-card__m{display:flex;gap:18px;flex-wrap:wrap;padding:4px 20px 20px;color:#3A453F;font-size:15px;font-weight:600}
html body .uc-card .uc-card__m span{display:inline-flex;align-items:center;gap:7px}
html body .uc-card .uc-card__m svg{width:17px;height:17px;stroke:var(--ucd-gris);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html body .uc-card .uc-card__d{font-size:14.5px;color:var(--ucd-gris);padding:0 20px 18px}
/* hazla por tu cuenta */
html body .uc-cuenta{background:var(--ucd-hueso)}
html body .uc-cuenta__g{display:grid!important;grid-template-columns:1.02fr 1fr;gap:56px;align-items:center;padding-top:80px!important;padding-bottom:84px!important;max-width:1180px}
html body .uc-cuenta .uc-p{font-size:18px;line-height:1.6;color:#3A453F;max-width:52ch;margin:16px 0 22px}
html body .uc-ck{list-style:none;margin:0;padding:0;display:grid;gap:12px}
html body .uc-ck li{display:flex;gap:12px;align-items:flex-start;font-weight:600;font-size:16.5px;color:var(--ucd-tinta)}
html body .uc-ck li:before{content:'';flex:0 0 22px;height:22px;margin-top:1px;border-radius:50%;background:#2E7D4F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat}
html body .uc-cuenta__v{border-radius:22px;overflow:hidden;background:#fff;border:1px solid var(--ucd-linea);box-shadow:0 24px 50px -30px rgba(15,45,42,.6)}
html body .uc-cuenta__v svg{display:block;width:100%;height:auto}
html body .uc-cuenta__f{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:#fff;border-top:1px solid var(--ucd-linea);font-weight:600;color:var(--ucd-gris);font-size:14px}
html body .uc-cuenta__f .uc-btn{padding:10px 16px!important;font-size:14px!important;background:transparent!important;color:var(--ucd-tinta)!important;border:1.5px solid var(--ucd-tinta)!important}
html body .uc-cuenta__f .uc-btn:after{content:''}
@media(max-width:860px){html body .uc-cuenta__g{grid-template-columns:1fr;gap:30px}}
/* banda de comunidad */
html body .uc-comm{position:relative;isolation:isolate;overflow:hidden;background:var(--ucd-verde2)!important;color:#fff}
html body .uc-comm:before{content:'';position:absolute;inset:0;z-index:-1;opacity:.5;background:radial-gradient(60% 120% at 12% 20%,rgba(245,121,61,.22),transparent 60%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420' fill='none' stroke='%23fff' stroke-opacity='.09' stroke-width='1.2'%3E%3Cpath d='M-20 80c80-60 140 30 220-10s120-70 240 0'/%3E%3Cpath d='M-20 130c80-60 140 30 220-10s120-70 240 0'/%3E%3Cpath d='M-20 180c80-60 140 30 220-10s120-70 240 0'/%3E%3Cpath d='M-20 230c80-60 140 30 220-10s120-70 240 0'/%3E%3Cpath d='M-20 280c80-60 140 30 220-10s120-70 240 0'/%3E%3Cpath d='M-20 330c80-60 140 30 220-10s120-70 240 0'/%3E%3C/svg%3E")}
html body .uc-comm .uc-w{max-width:1180px;padding-top:64px!important;padding-bottom:64px!important}
html body .uc-comm .uc-h2{color:#fff!important;font-size:clamp(28px,3.4vw,42px)!important}
html body .uc-comm .uc-p{color:#D9E1DB!important;font-size:17px}
html body .uc-comm .uc-btn:not(.uc-btn--main){background:transparent!important;color:#fff!important;border:1.5px solid rgba(255,255,255,.8)!important}
/* cabecera y pie */
html body .uc-hd{background:rgba(251,248,241,.96)!important;backdrop-filter:blur(8px)}
html body .uc-nav a,html body .uc-dd>button,html body .uc-dd>a{font-weight:600}
html body .uc-nav__cta{background:var(--ucd-boton)!important;color:#fff!important;border-radius:12px!important;padding:11px 18px!important;font-weight:700!important}
html body .uc-lang a,html body .uc-lang span{font-weight:700}
html body .uc-ft{background:var(--ucd-hueso)!important;border-top:1px solid var(--ucd-linea)}

@media(max-width:760px){html body .uc-nav a,html body .uc-nav button,html body .uc-dd>button,html body .uc-dd__m a{min-height:36px;display:inline-flex;align-items:center}}
