

.links-evento-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 auto;
}

.link-evento-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: transform .15s ease, filter .15s ease;
}

.link-evento-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.link-evento-regulamento {
    background: #dc2626;
}

.link-evento-inscritos {
    background: #0d6efd;
}

.link-evento-instagram {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.link-evento-whatsapp {
    background: #25d366;
}

.link-evento-icone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    line-height: 1;
    font-size: 17px;
}


.percursos-evento-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    max-width: 980px;
    margin: 0 auto;
}

.percurso-evento-card {
    width: 300px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
    text-align: center;
}

.percurso-evento-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.25;
}

.percurso-evento-modalidade {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #1d4ed8;
    background: rgba(37,99,235,.08);
    border-radius: 999px;
    padding: 4px 9px;
    margin-bottom: 10px;
}

.percurso-evento-img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 9px;
    margin-bottom: 10px;
    border: 1px solid rgba(0,0,0,.08);
    cursor: zoom-in;
    transition: .18s ease;
}

.percurso-evento-img:hover {
    transform: scale(1.015);
    filter: brightness(1.03);
}

.percurso-evento-desc {
    font-size: 14px;
    line-height: 1.45;
    margin: 8px 0 10px;
    color: #333;
}

.btn-gpx-evento {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    background: #2563eb;
    color: #fff;
    border-radius: 7px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: .15s ease;
}

.btn-gpx-evento:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.btn-mapa-tela-cheia {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    background: #111827;
    color: #fff;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition: .15s ease;
    margin-bottom: 8px;
}

.btn-mapa-tela-cheia:hover {
    background: #000;
    transform: translateY(-1px);
}

.percurso-mapa-gpx {
    width: 100%;
    height: 210px;
    border-radius: 9px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.08);
    margin: 10px 0;
    background: #eef2f7;
}

.percurso-mapa-gpx:fullscreen {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    margin: 0;
}

.percurso-mapa-gpx:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    margin: 0;
}

.percurso-altimetria-wrap {
    width: 95%;
    height: 130px;
    margin: 10px 0 8px;
    padding: 8px;
    border-radius: 9px;
    border: 1px solid rgba(0,0,0,.08);
    background: #fff;
}

.percurso-altimetria-wrap canvas {
    width: 100% !important;
    height: 100% !important;
}

.percurso-metricas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin: 8px 0 10px;
    font-size: 12px;
}

.percurso-metrica-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(37,99,235,.08);
    color: #1d4ed8;
    font-weight: 700;
}

.percurso-metrica-erro {
    color: #991b1b;
    background: #fee2e2;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 12px;
}