body {
    background: #f4f4f5;
}

footer {
    display: none;
}

.wrap {
    padding: 0;
}

.main {
    padding: 0;
}
.giro-top-nav{
    display:flex;
    gap:10px;
    overflow-x:auto;
    padding:10px 0;
    margin-bottom:10px;
	    padding-left: 15px;
}

.giro-top-pill{
    border:none;
    background:#f1f1f1;
    padding:8px 14px;
    border-radius:20px;
    cursor:pointer;
    font-size:14px;
    white-space:nowrap;
}

.giro-top-pill.active{
    background:#111;
    color:#fff;
}

#giroStageContainer{
    transition: opacity .2s ease, transform .2s ease;
}

.giro-fade-out{
    opacity:0;
    transform: translateY(6px);
}

.giro-fade-in{
    opacity:1;
    transform: translateY(0);
}
.giro-guide-app {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(255, 40, 110, .18), transparent 32rem),
        linear-gradient(180deg, #fff 0%, #f4f4f5 100%);
    color: #111;
    padding-bottom: 32px;
}

.giro-guide-header {
    padding: 40px 16px 18px;
    max-width: 960px;
    margin: 0 auto;
}

.giro-kicker {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #ff286e;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.giro-guide-header h1 {
    background: none;
    color: #111 !important;
    font-size: clamp(34px, 8vw, 72px);
    line-height: .95;
    margin: 14px 0 12px;
    padding: 0;
    font-weight: 950;
}
.seg-meta{
	    margin-top: 6px;
}
.giro-guide-header p {
    font-size: 16px;
    line-height: 1.45;
    max-width: 620px;
    color: #444;
    margin: 0;
}

.giro-stage-nav {
    position: sticky;
    top: 50px;
    z-index: 100;
    padding: 8px 0 10px;
    background: rgba(244, 244, 245, .88);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0,0,0,.04);
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.giro-stage-nav-inner {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 14px;
    scroll-padding: 14px;
    -webkit-overflow-scrolling: touch;
}

.giro-stage-nav-inner::-webkit-scrollbar {
    display: none;
}

.giro-stage-pill {
    border: 0;
    background: #fff;
    color: #111;
    border-radius: 999px;
      padding: 6px 13px;

    font-weight: 900;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    white-space: nowrap;
    transition: transform .16s ease, background .16s ease, color .16s ease;
}

.giro-stage-pill.active {
    background: #111;
    color: #fff;
    transform: translateY(-1px);
}

.giro-stage-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 14px;
}

.giro-loading-card {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,.08);
}

.giro-loader {
    width: 34px;
    height: 34px;
    border: 4px solid #eee;
    border-top-color: #ff286e;
    border-radius: 999px;
    animation: giroSpin .8s linear infinite;
}

@keyframes giroSpin {
    to {
        transform: rotate(360deg);
    }
}

.giro-stage {
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: giroStageIn .25s ease-out;
}

@keyframes giroStageIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.giro-stage-hero,
.giro-card,
.giro-info-grid {
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,.07);
    overflow: hidden;
}
.giro-tv-grid {
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,.07);
    overflow: hidden;
	padding:10px;
}
.giro-tv-grid h2{
	background:none;
	border: none;
	color: black !Important;
}

.giro-stage-hero {
    display: grid;
    grid-template-columns: 1fr;
}

.giro-stage-title-block {
    padding: 20px;
}

.giro-stage-number {
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #ff286e;
    margin-bottom: 8px;
	    display: flex;
    align-items: center;
}

.giro-stage-title-block h2 {
    background: none;
     color: #111 !important;
	 border:none;
    font-size: 20px;
    line-height: 1;
    font-weight: 950;
    margin: 0;
    padding: 0;
	margin-bottom:20px;
}

.giro-stage-title-block h2 span {
    color: #ff286e;
}

.giro-stage-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.stage-type,
.stage-date {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
        padding: 5px 9px;
    font-size: 12px;
    font-weight: 900;
}

.stage-type {
    color: #fff;
}

.stage-type.sprint {
    background: #12805c;
}

.stage-type.breakaway {
    background: #7b1fa2;
}

.stage-type.gc {
    background: #ef6c00;
}

.stage-type.mountain {
    background: #b71c1c;
}

.stage-type.tt {
    background: #111;
}

.stage-date {
    background: #f1f1f1;
    color: #333;
}

.giro-profile-image-wrap {
    background: #fff;
    padding: 8px;
}

.giro-profile-image-wrap img {
    display: block;
    width: 100%;
    border-radius: 20px;
}

.giro-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 12px;
    gap: 10px;
}

.giro-info-grid div {
    background: #f7f7f8;
    border-radius: 18px;
    padding: 12px;
}

.giro-info-grid span {
    display: block;
    font-size: 11px;
    color: #666;
    margin-bottom: 4px;
}

.giro-info-grid strong {
    display: block;
    font-size: 15px;
    color: #111;
}

.giro-card {
    padding: 14px;
}
.giro-card h2{
	background:none !Important;
	color:black !important;
}
.giro-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.giro-final-grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:12px;
}

.giro-final-map{
    height:180px;
    border-radius:10px;
    overflow:hidden;
}

.giro-final-profile{
    height:180px;
    width:100%;
}
.giro-card-head h3 {
    background: none;
    color: #111;
    margin: 0 0 3px;
    padding: 0;
    font-size: 20px;
    font-weight: 950;
}

.giro-card-head p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.giro-map,
.giro-final-map {
    width: 100%;
    height: 360px;
    border-radius: 22px;
    overflow: hidden;
    background: #e8e8e8;
}
.leaflet-map-pane canvas {
    z-index: 100;
    background: none;
}
.giro-main-profile,
.giro-final-profile {
    width: 100%;
    height: 160px;
    display: block;
    border-radius: 18px;
    background: #fafafa;
    border: 1px solid #eee;
}
.giro-main-profile,
#giro-profile canvas,
canvas[id^="giro-profile-"] {
    width: 100%;
    height: 140px;
    display: block;
	background:white !Important;
}

.giro-final-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.giro-final-map {
    height: 260px;
}

.giro-final-profile {
    height: 130px;
}

.giro-segments {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.giro-segment {
    border: 1px solid #eee;
    border-radius: 20px;
    background: #fcfcfc;
    overflow: hidden;
}

.giro-segment-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
}

.giro-segment-top strong {
    display: block;
    font-size: 15px;
}

.giro-segment-top p {
    margin: 3px 0 0;
    font-size: 12px;
    color: #666;
}

.giro-segment-top span {
    flex-shrink: 0;
      font-size: 12px;
    font-weight: 900;
    background: #ff99b5;
    color: #3e3e3e;
    padding: 4px 7px;
    border-radius: 5px;
    align-self: flex-start;
    margin-top: 15px;
	
	
}

.giro-segment-profile {
    display: block;
    width: 100%;
    height: 84px;
    background: #fff;
    border-top: 1px solid #eee;
}

.giro-keypoints {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.giro-keypoints div {
    border: 1px solid #eee;
    background: #fcfcfc;
    border-radius: 18px;
    padding: 12px;
}

.giro-keypoints span {
    display: block;
    font-size: 11px;
    color: #ff286e;
    font-weight: 900;
    margin-bottom: 4px;
}

.giro-keypoints strong {
    display: block;
    font-size: 15px;
}

.giro-keypoints p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #666;
}

@media (min-width: 760px) {
    .giro-stage-hero {
        grid-template-columns: .85fr 1.15fr;
        align-items: center;
    }

    .giro-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .giro-final-grid {
        grid-template-columns: 1fr 1fr;
    }

    .giro-final-map {
        height: 300px;
    }

    .giro-final-profile {
        height: 300px;
    }
}

.giro-teams-grid{
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
    gap:16px;
}

.giro-team-card{
    background:#fff;
    border-radius:12px;
    padding:14px;
    box-shadow:0 2px 8px rgba(0,0,0,0.06);
}

.team-header h3{
    margin:0 0 10px;
    font-size:15px;
}

.team-riders{
    list-style:none;
    padding:0;
    margin:0;
}

.team-riders li{
    display:flex;
    align-items:center;
    gap:8px;
    padding:6px 0;
    font-size:14px;
}

.team-riders li.dk{
    font-weight:600;
}

.team-riders .num{
    width:26px;
    opacity:0.6;
}

.team-riders .flag{
    margin-left:auto;
}

.giro-jersey-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
}

.giro-jersey-card{
    background:#fff;
    border-radius:20px;
    padding:20px;
}

.giro-jersey-head{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:16px;
}

.jersey-icon{
    width:46px;
    height:46px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
}

.giro-jersey-table{
    width:100%;
}

.giro-jersey-table td{
    padding:8px 0;
    border-bottom:1px solid #eee;
}

.giro-danes-table{
    width:100%;
}

.giro-danes-table th{
    text-align:left;
    padding:10px;
}

.giro-danes-table td{
    padding:10px;
    border-top:1px solid #eee;
}

.fade-in{
    animation:fadeView .25s ease;
}

@keyframes fadeView{
    from{
        opacity:0;
        transform:translateY(10px);
    }
    to{
        opacity:1;
        transform:none;
    }
}

.giro-stage-analysis{
    display:grid;
    gap:24px;
}

.giro-analysis-text p{
    line-height:1.7;
    font-size:16px;
    color:#333;
}

.giro-favorites-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
    gap:14px;
}

.giro-favorite-card{
    background:#fff;
    border-radius:18px;
    padding:16px;
    text-align:center;
    border:1px solid #eee;
}

.giro-favorite-stars{
    font-size:20px;
    margin-bottom:8px;
}

.giro-favorite-name{
    font-weight:700;
}



.giro-expert-hero{
    position:relative;
    overflow:hidden;

    margin:24px auto 26px;
    max-width:960px;

    border-radius:32px;
    border-radius: 0;
    background:
        radial-gradient(circle at top right,
            rgba(255,40,110,.25),
            transparent 30%),
        linear-gradient(135deg,
            #111 0%,
            #171717 45%,
            #0d0d0d 100%);

    color:#fff;

    box-shadow:
        0 25px 60px rgba(0,0,0,.28),
        inset 0 1px 0 rgba(255,255,255,.04);
}

.giro-expert-bg{
    position:absolute;
    inset:0;

  background: linear-gradient(to right, rgb(254 40 110), rgb(255 255 255 / 95%));

    z-index:1;
}

.giro-expert-inner{
    position:relative;
    z-index:2;

    display:grid;
    grid-template-columns:240px 1fr;
    gap:34px;

    align-items:center;

    padding:42px;
	    color: black;
}

.expert-avatar-wrap{
    position:relative;
}

.expert-avatar{
    width:100%;
    aspect-ratio:1/1.15;

    object-fit:cover;

    border-radius:10px;

    box-shadow:none;

    border:none;
}

.expert-content{
    max-width:700px;
	color: black;
}

.expert-powered{
    display:flex;
    align-items:center;
    gap:14px;

    margin-bottom:20px;

    opacity:.85;
}

.expert-powered span{
    font-size:11px;
    letter-spacing:.12em;
    text-transform:uppercase;
    font-weight:700;
}

.expert-polkadot-logo{
    width:130px;
    filter:brightness(0) invert(1);
    opacity:.92;
}

.expert-tag{
    display:inline-flex;
    align-items:center;

    padding:8px 14px;

    margin-bottom:18px;

    border-radius:999px;

    background:rgba(255,40,110,.16);

    border:1px solid rgba(255,40,110,.35);

    color:#ff7ba7;

    font-size:12px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.giro-expert-hero h2{
    margin:0 0 18px;

    font-size:42px;
    line-height:1.05;
    letter-spacing:-0.03em;

    font-weight:800;
	    background: none;
    border: none;
	color:black !Important;
}


}

.expert-lead{
    margin:0;

    color:rgba(255,255,255,.82);

    font-size:17px;
    line-height:1.8;

    max-width:650px;
}

.expert-meta{
    display:flex;
    gap:16px;

    margin-top:28px;

    flex-wrap:wrap;
}

.expert-meta-item{
    min-width:120px;

    padding:14px 18px;

    border-radius:18px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.06);

    backdrop-filter:blur(10px);
	min-width: 87px;
    padding: 7px 12px;
}

.expert-meta-item strong{
    display:block;

    font-size:20px;
    font-weight:800;

    margin-bottom:4px;
}

.expert-meta-item span{
    font-size:13px;
color: black;
}

.giro-expert-hero.mobile{
	display:none;
}
.giro-expert-hero.desktop{
	display:block;
}
@media(max-width:860px){
.giro-expert-hero.mobile{
	display:block;
}
.giro-expert-hero.desktop{
	display:none;
}
    .giro-expert-inner{
        grid-template-columns:2fr;
             padding: 12px;

    }

    .expert-avatar{
        max-width:100px;
    }

    .giro-expert-hero h2{
        font-size:32px;
    }

    .expert-lead{
        font-size:15px;
    }

}