/********** Template CSS **********/
:root {
    /*--primary: #32C36C;*/
    /*--primary: #C3325B;*/
    --primary: #8f1c14;

    --light: #F6F7F8;
    --dark: #1A2A36;
    --gray: #6c757d;
    --gray-dark: #3b4044;
}

.table-menor {
    --bs-table-bg: #fae9e8;
    --bs-table-striped-bg: #faeeee;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #bcd0c7;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #c1d6cc;
    --bs-table-hover-color: #000;
    color: #000;
    border-color: #bcd0c7;
}

.table-adulto {
    --bs-table-bg: #f3fae8;
    --bs-table-striped-bg: #f3fae8;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #bcd0c7;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #c1d6cc;
    --bs-table-hover-color: #000;
    color: #000;
    border-color: #bcd0c7;
}

html,
body {
    background: #dce1e5;
    color: var(--dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.main-container {
    width: 100%;
    max-width: 1024px;
    min-width: 0;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 28px rgba(26, 42, 54, 0.08);
}

.logo {
    background-image: url("../img/logos/logoesquina.png");
    background-size: 100%;
    margin-left: 0;
    height: 90px;
    width: 90px;
    flex-shrink: 0;
}

.brand-text {
    padding-left: 0.85rem;
    color: var(--primary);
    font-family: Roboto, "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.15;
}

.hero,
.divfondo {
    position: relative;
    background-image: url("../img/encabezadoRecortado.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 35vw;
    min-height: 140px;
    max-height: 400px;
}

.hero--home {
    height: 58vw;
    min-height: 260px;
    max-height: 460px;
}

.tablawikiloc {
    height: 80%;
    border: 0;
    text-align: center;
}

@media (min-width: 1024px) {
    .hero,
    .divfondo {
        height: 400px;
    }

    .hero--home {
        height: 440px;
        max-height: 440px;
    }
}

/*@media (min-width: 360px) {*/
/*    .divfondo {*/
/*        height: 35vw;*/
/*    }*/


/*}*/

/*@media (min-width: 500px) {*/
/*    .divfondo {*/
/*        !*margin-top: -15vh;*!*/
/*        height: 2wvh;*/
/*    }*/
/*}*/

/*@media (min-width: 640px) {*/
/*    .divfondo {*/
/*        !*margin-top: -15vh;*!*/
/*        height: 26vh;*/
/*    }*/
/*}*/


/*@media (min-width: 768px) {*/
/*    .divfondo {*/
/*        height: 30vh;*/
/*    }*/
/*}*/

/*@media (min-width: 880px) {*/
/*    .divfondo {*/
/*        height: 35vh;*/
/*    }*/
/*}*/

/*@media (min-width: 1024px) {*/
/*    .divfondo {*/
/*        height: auto;*/
/*    }*/
/*}*/

.text-justify {
    text-align: left !important;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.fade-in {
    animation: fade-in 0.6s ease-out both;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/*@media (max-width: 380px) {*/
/*    body {*/
/*        min-width:380px;}*/
/*}*/

/*@media (min-width: 380px){*/
/*    body {*/
/*        background:#c00;*/
/*        max-width:1024px;*/
/*        margin: auto;*/
/*    }*/
/*}*/

/*@media (min-width: 992px){*/
/*    body {*/
/*        max-width: 1024px;*/
/*        margin: auto;*/
/*    }*/
/*}*/

.cabecera {
    width: 100%;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}



.btn.btn-primary,
.btn-check:checked+.btn-outline-primary,
.btn.btn-outline-primary:hover{
    color: #FFFFFF;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.btn.back-to-top.is-visible {
    display: flex;
}

/*** Navbar ***/
.navbar.sticky-top {
    top: 0;
    transition: box-shadow 0.2s;
}

.navbar.sticky-top.is-scrolled {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 90px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 1.1rem;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand {
        height: 68px;
        padding-top: 0.4rem !important;
        padding-bottom: 0.4rem !important;
    }

    .logo {
        height: 56px;
        width: 56px;
    }

    .brand-text {
        font-size: 1.05rem;
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 12px 0;
        font-size: 1rem;
        letter-spacing: 0.02em;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Publi ***/
.logo-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.logo-marquee::before,
.logo-marquee::after {
    position: absolute;
    content: "";
    top: 0;
    height: 100%;
    width: 40px;
    z-index: 1;
    pointer-events: none;
}

.logo-marquee::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.logo-marquee::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.logo-marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 1rem;
    animation: logo-marquee-ltr 40s linear infinite;
}

.logo-marquee--rtl .logo-marquee-track {
    animation-name: logo-marquee-rtl;
    animation-duration: 50s;
}

.logo-marquee:hover .logo-marquee-track {
    animation-play-state: paused;
}

@keyframes logo-marquee-ltr {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes logo-marquee-rtl {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

.logo-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 72px;
    padding: 0.4rem;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
}

.logo-tile--sm {
    width: 88px;
    height: 58px;
}

.logo-tile img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
    .fade-in {
        animation: none;
    }

    .logo-marquee-track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }

    .logo-marquee [aria-hidden="true"] {
        display: none;
    }
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    color: #9B9B9B;
    border: 1px solid #9B9B9B;
    border-radius: 38px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #9B9B9B;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #FFFFFF;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}


/*Inscripcion (overrides globales; el detalle vive en inscripcion.css) */
.pago,
.custom-select {
    font-size: small;
    line-height: 1.4;
}

.navbar .nav-link,
.modality-tabs .nav-link {
    text-align: center;
}

.nav a:link {
    text-decoration: none;
}

.bold {
    font-weight: bold;
}

/*.nav-pills .nav-link.active, .nav-pills .show > .nav-link {*/
/*    color: #000000;*/
/*    background-color: #C6D580;*/
/*}*/

.donacionInput {
    width: 12rem;
    #display: inline;
}

.donativo .row {
    margin-left: 0px;
    margin-right: 0px;
}

.donativo .row .col {
    padding-left: 0px;
}

.nav-pills:not(.modality-tabs) a:hover {
    background-color: #D9E1B7;
}

/*body {*/
/*    background-color: #FF0000;*/
/*}*/

a {
    color: var(--primary);
}

a:hover {
    color: #6e150f;
}

/*.row {*/
/*    margin-left: 0px;*/
/*}*/

.total {
    border: none;
}

/*boton*/
.verde {
    background-color: #C6D580;
    border-color: #C6D580;
    color: #000000;
}

.modal {
    bottom: 0;
    left: 0;
    margin: auto;
    max-height: 400px;
    max-width: 480px;
    min-width: 400px;
    position: fixed;
    right: 0;
    top: 0;
}

.inscripcionDetalle {
    margin-top: 10px;
    margin-left: -10px;
}

.alojamientos p {
    text-align: left;
}

.form-check-input:checked {
    background-color: #198754;
    border-color: #198754;
}

/*** Portada ***/
.site-main {
    overflow: hidden;
}

.home-section {
    padding: 2.5rem 0;
}

.home-section--alt {
    background: #fff;
}

.home-wrap {
    max-width: 960px;
    padding-left: 1.15rem;
    padding-right: 1.15rem;
}

.home-section__title {
    font-family: Roboto, "Open Sans", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 1.15rem;
    text-align: left;
}

.home-lead {
    margin: 0 0 1.5rem;
    padding: 0;
    text-align: left;
    line-height: 1.7;
    color: var(--dark);
}

.home-section:first-child .home-lead {
    margin: 0 auto;
    max-width: 40rem;
    text-align: center;
    font-size: 1.05rem;
}

.home-section:first-of-type {
    padding-bottom: 1.25rem;
}

.home-cta,
.home-closed {
    text-align: center;
    margin: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem 1.25rem 2rem;
    background: linear-gradient(180deg, rgba(26, 42, 54, 0.15) 0%, rgba(26, 42, 54, 0.78) 100%);
}

.hero-copy {
    max-width: 36rem;
    text-align: center;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.hero-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f3d4d1;
}

.hero-title {
    margin: 0 0 0.4rem;
    color: #fff;
    font-family: Roboto, "Open Sans", sans-serif;
    font-size: clamp(1.4rem, 4.5vw, 2.05rem);
    font-weight: 700;
    line-height: 1.2;
}

.hero-date {
    margin: 0 0 1.15rem;
    font-size: 0.98rem;
    font-weight: 500;
}

.btn-hero {
    background: #fff;
    color: var(--primary);
    font-weight: 600;
    border: 0;
}

.btn-hero:hover,
.btn-hero:focus {
    background: #f6eaea;
    color: var(--primary);
}

.hero-closed {
    display: inline-block;
    margin: 0;
    padding: 0.65rem 1rem;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 8px;
    color: #fff;
}

.home-alert {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 0.9rem 1rem;
    background: #fff8e6;
    border: 1px solid #ead8a0;
    border-radius: 10px;
    text-align: left;
}

.home-alert i {
    color: #9a7408;
    margin-top: 0.25rem;
}

.home-alert p {
    margin: 0;
}

.modality-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

@media (min-width: 576px) {
    .modality-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .modality-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.modality-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    padding: 1.15rem 1.25rem 1.2rem;
    text-align: left;
    box-shadow: 0 1px 2px rgba(26, 42, 54, 0.04);
}

.modality-card__name {
    margin: 0 0 0.15rem;
    font-family: Roboto, "Open Sans", sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--dark);
}

.modality-card__distance {
    margin-bottom: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.88rem;
}

.modality-card__prices {
    list-style: none;
    margin: auto 0 0;
    padding: 0;
}

.modality-card__prices li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
    border-top: 1px solid #f0f1f3;
    font-size: 0.9rem;
}

.modality-card__prices strong {
    color: var(--dark);
    font-variant-numeric: tabular-nums;
}

.home-callout {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    margin: 1.5rem 0 1.25rem;
    padding: 0.9rem 1rem;
    background: #f8efee;
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    text-align: left;
}

.home-callout i {
    color: var(--primary);
    margin-top: 0.3rem;
}

.cause-card {
    max-width: 40rem;
    margin: 0 auto;
    padding: 1.5rem 1.35rem;
    background: #fff;
    border: 1px solid #eadfde;
    border-radius: 12px;
    text-align: left;
}

.cause-card p {
    margin-bottom: 0.85rem;
}

.cause-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.1rem;
}

.cause-amount {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.info-list {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .info-list {
        grid-template-columns: 1fr 1fr;
    }
}

.info-list li {
    display: flex;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    text-align: left;
}

.info-list i {
    width: 1.25rem;
    margin-top: 0.25rem;
    color: var(--primary);
    font-size: 1.1rem;
    text-align: center;
    flex-shrink: 0;
}

.info-list strong {
    display: block;
    margin-bottom: 0.2rem;
}

.info-list p {
    margin: 0;
    color: var(--dark);
}

.home-sponsors {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
    border-block: 1px solid #eceff2;
}

.home-sponsors .logo-marquee {
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: 0.5rem;
}

.home-sponsors .logo-marquee.mt-3 {
    margin-top: 0 !important;
}

.home-sponsors .logo-marquee + .logo-marquee {
    margin-top: 0.85rem !important;
}

.home-sponsors .logo-marquee::before {
    background: linear-gradient(to right, #fff, transparent);
}

.home-sponsors .logo-marquee::after {
    background: linear-gradient(to left, #fff, transparent);
}

.home-sponsors .logo-tile {
    box-shadow: 0 1px 2px rgba(26, 42, 54, 0.04);
}

@media (max-width: 575.98px) {
    .home-section {
        padding: 1.75rem 0;
    }

    .hero-overlay {
        padding: 1rem 1rem 1.35rem;
        align-items: flex-end;
    }

    .cause-actions {
        justify-content: center;
        text-align: center;
    }
}

/*** Reglamento ***/
html:has(.reglamento-page) {
    scroll-behavior: smooth;
}

.reglamento-page {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
    text-align: left;
}

.reglamento-page h1 {
    margin: 0 0 1.25rem;
    font-family: Roboto, "Open Sans", sans-serif;
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    font-weight: 700;
}

.reglamento-toc {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.2rem 1.5rem;
    margin: 0 0 1.5rem;
    padding: 1.1rem 1.2rem;
    background: #fff;
    border: 1px solid #eadfde;
    border-radius: 12px;
}

.reglamento-toc a {
    display: block;
    padding: 0.35rem 0;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
    border-bottom: 1px solid #f0f1f3;
}

.reglamento-toc a::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 0.4rem;
    color: var(--primary);
}

.reglamento-toc a:last-child {
    border-bottom: 0;
}

.reglamento-toc a:hover,
.reglamento-toc a:focus {
    color: var(--primary);
}

.reglamento-article {
    margin-bottom: 1rem;
    padding: 1.2rem 1.25rem 1.3rem;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(26, 42, 54, 0.04);
    scroll-margin-top: 6.5rem;
}

.reglamento-article h2 {
    margin: 0 0 0.9rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #eadfde;
    font-family: Roboto, "Open Sans", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
}

.reglamento-article h3 {
    margin: 1.15rem 0 0.85rem;
    font-family: Roboto, "Open Sans", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
}

.reglamento-article p {
    margin-bottom: 0.85rem;
}

.reglamento-article p:last-child,
.reglamento-article ul:last-child,
.reglamento-article ol:last-child {
    margin-bottom: 0;
}

.reglamento-article ul,
.reglamento-article ol {
    margin: 0 0 0.85rem;
    padding-left: 1.2rem;
}

.reglamento-article li {
    margin-bottom: 0.55rem;
}

.reglamento-article li:last-child {
    margin-bottom: 0;
}

.reglamento-article .home-alert {
    margin: 0 0 1rem;
}

.reglamento-prices {
    margin-bottom: 1.15rem;
}

.reglamento-prices .modality-card {
    background: var(--light);
}

.reglamento-prices .modality-card__prices {
    margin-top: 0;
}

.reglamento-prices .modality-card > .modality-card__prices > li:first-child {
    border-top: 0;
    padding-top: 0;
}

.reglamento-aid-grid {
    margin: 0 0 1.15rem;
}

.reglamento-aid {
    height: 100%;
    padding: 1rem 1.1rem;
    background: var(--light);
    border: 1px solid #e8eaed;
    border-radius: 12px;
}

.reglamento-aid h3 {
    margin: 0 0 0.65rem;
    padding: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary);
}

.reglamento-aid ol,
.reglamento-aid ul {
    margin: 0;
    padding-left: 1.15rem;
}

@media (prefers-reduced-motion: reduce) {
    html:has(.reglamento-page) {
        scroll-behavior: auto;
    }
}

/*** Inscritos (listado público) ***/
.inscritos-page {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
    text-align: left;
}

.inscritos-page h1 {
    margin: 0 0 0.65rem;
    font-family: Roboto, "Open Sans", sans-serif;
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    font-weight: 700;
    text-align: left;
}

.inscritos-lead {
    margin: 0 0 1.75rem;
    color: #4a5a66;
    line-height: 1.55;
    text-align: left;
}

.inscritos-block {
    margin: 0 0 2rem;
    padding: 1.15rem 1.2rem 1.25rem;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(26, 42, 54, 0.04);
}

.inscritos-block:last-of-type {
    margin-bottom: 0;
}

.inscritos-block__header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem 1rem;
    margin-bottom: 0.95rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f1f3;
}

.inscritos-block__title {
    margin: 0;
    font-family: Roboto, "Open Sans", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
}

.inscritos-block__count {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
}

.inscritos-block__count--solo {
    margin: 0 0 0.95rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f1f3;
}

.inscritos-empty {
    margin: 0;
    color: #4a5a66;
}

.inscritos-table-wrap {
    overflow-x: auto;
    margin: 0 -0.15rem;
}

.inscritos-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.inscritos-table th,
.inscritos-table td {
    padding: 0.55rem 0.65rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #f0f1f3;
}

.inscritos-table th {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6a7a86;
    white-space: nowrap;
}

.inscritos-table tbody tr:last-child td {
    border-bottom: 0;
}

.inscritos-table tbody tr:hover td {
    background: #fafbfc;
}

.inscritos-table__adult td {
    font-weight: 700;
    color: var(--dark);
    background: #f8efee;
}

.inscritos-table__adult:hover td {
    background: #f3e4e2;
}

.inscritos-table__minor td {
    color: #4a5a66;
    padding-left: 1.15rem;
}

.inscritos-table__minor td:first-child {
    padding-left: 1.35rem;
}

@media (max-width: 575.98px) {
    .inscritos-table th,
    .inscritos-table td {
        padding: 0.45rem 0.4rem;
        font-size: 0.86rem;
    }
}

/*** Recorrido ***/
.recorrido-page .home-lead {
    margin-bottom: 1.5rem;
}

.recorrido-page .home-section__title {
    margin-top: 0.35rem;
}

.recorrido-page .reglamento-article + .home-section__title {
    margin-top: 1.75rem;
}

.recorrido-page .home-alert {
    margin: 1.5rem 0;
}

.recorrido-page .home-alert p {
    margin: 0 0 0.35rem;
}

.recorrido-page .home-alert p:last-child {
    margin-bottom: 0;
}

.recorrido-modalities {
    margin-bottom: 0.25rem;
}

a.recorrido-modality {
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

a.recorrido-modality:hover,
a.recorrido-modality:focus {
    border-color: #d4b4b1;
    box-shadow: 0 2px 8px rgba(143, 28, 20, 0.08);
}

.recorrido-route__header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 0.9rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #eadfde;
}

.recorrido-route__header h2 {
    margin: 0;
    padding: 0;
    border: 0;
}

.recorrido-route__link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
}

.recorrido-route__link:hover,
.recorrido-route__link:focus {
    text-decoration: underline;
}

.recorrido-map {
    margin: 0 0 1rem;
    overflow: hidden;
    border-radius: 8px;
    background: #eef1f3;
}

.recorrido-map iframe {
    display: block;
    width: 100%;
    height: 280px;
    border: 0;
}

.recorrido-map--story iframe {
    height: min(52vw, 360px);
    min-height: 240px;
}

.recorrido-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.recorrido-stats li {
    margin: 0;
    padding: 0.65rem 0.75rem;
    background: var(--light);
    border-radius: 8px;
}

.recorrido-stats__label {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6a7a86;
}

.recorrido-stats__value {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--dark);
    font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
    .recorrido-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .recorrido-map iframe {
        height: 320px;
    }
}

/*** Noticias ***/
.noticias-page .home-lead {
    margin-bottom: 1.5rem;
}

.noticias-page .home-section__title {
    margin-top: 0.5rem;
}

.noticias-page .reglamento-article + .home-section__title {
    margin-top: 1.75rem;
}

.noticia-media {
    margin: 0.85rem 0 0;
}

.noticia-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.noticia-gallery {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.85rem;
}

@media (min-width: 576px) {
    .noticia-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .noticia-gallery .noticia-media {
        margin-top: 0;
    }
}

.noticia-video {
    position: relative;
    margin-top: 0.85rem;
    overflow: hidden;
    border-radius: 8px;
    background: #111;
    aspect-ratio: 16 / 9;
}

.noticia-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/*** Alojamientos / Restaurantes ***/
.partners-page .home-lead {
    margin-bottom: 1.5rem;
}

.partners-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 576px) {
    .partners-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.partner-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(26, 42, 54, 0.04);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

a.partner-card:hover,
a.partner-card:focus {
    border-color: #d4b4b1;
    box-shadow: 0 2px 8px rgba(143, 28, 20, 0.08);
}

.partner-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    background: #f7f8f9;
    padding: 0.75rem;
}

.partner-card__name {
    display: block;
    padding: 0.75rem 1rem 0.9rem;
    font-family: Roboto, "Open Sans", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    border-top: 1px solid #f0f1f3;
}

/*** Clasificación ***/
.clasificacion-page .home-lead {
    margin-bottom: 1.35rem;
}

.clasificacion-page .reglamento-toc {
    grid-template-columns: repeat(3, 1fr);
}

@media (min-width: 576px) {
    .clasificacion-page .reglamento-toc {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .clasificacion-page .reglamento-toc {
        grid-template-columns: repeat(6, 1fr);
    }
}

.clasif-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.clasif-list + .clasif-podium,
.clasif-podium + .clasif-list,
.clasif-podium + .clasif-podium {
    margin-top: 1rem;
}

.clasif-list li {
    margin: 0;
    border-bottom: 1px solid #f0f1f3;
}

.clasif-list li:last-child {
    border-bottom: 0;
}

.clasif-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.15rem;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
}

.clasif-link i {
    color: var(--primary);
    width: 1.1rem;
    text-align: center;
}

.clasif-link:hover,
.clasif-link:focus {
    color: var(--primary);
}

.clasif-podium h3 {
    margin: 0 0 0.55rem;
    font-family: Roboto, "Open Sans", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
}

.clasif-podium ol {
    margin: 0 0 0.35rem;
    padding-left: 1.2rem;
}

.clasif-podium li {
    margin-bottom: 0.35rem;
    color: var(--dark);
}

.clasif-podium li:last-child {
    margin-bottom: 0;
}

/*** Contacto ***/
.contacto-page .home-lead {
    margin-bottom: 1.5rem;
}

.contacto-channels {
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .contacto-channels {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contacto-channels a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.contacto-channels a:hover,
.contacto-channels a:focus {
    text-decoration: underline;
}

.contacto-form-card h2 {
    margin-bottom: 0.65rem;
}

.contacto-form-card > p {
    margin-bottom: 1.15rem;
    color: #4a5a66;
}

.contacto-form__label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
}

.contacto-form .form-control {
    border: 1px solid #e8eaed;
    border-radius: 8px;
    padding: 0.65rem 0.8rem;
    color: var(--dark);
    background: #fff;
    box-shadow: none;
}

.contacto-form .form-control:focus {
    border-color: #d4b4b1;
    box-shadow: 0 0 0 0.2rem rgba(143, 28, 20, 0.12);
}

.contacto-form textarea.form-control {
    min-height: 8rem;
    resize: vertical;
}

.contacto-form__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.15rem;
    margin-top: 0.35rem;
}

.contacto-form .status {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary);
}