/* ====== SECCIÓN REGLAMENTO ====== */
#reglamento {
    width: 90%;
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    border: 3px solid #648d00;
    /* Borde verde oscuro */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    /* Sombra más visible */
}

/* Título Principal */
#reglamento h2 {
    text-align: center;
    font-size: 32px;
    color: #648d00;
    /* Verde oscuro */
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 25px;
    border-bottom: 3px solid #ffca01;
    /* Amarillo fuerte */
    padding-bottom: 10px;
}

/* Subtítulos de artículos */
#reglamento h3 {
    font-size: 22px;
    color: #86af05;
    /* Verde claro pasto */
    border-left: 5px solid #648d00;
    /* Verde oscuro */
    padding-left: 12px;
    margin-top: 30px;
    font-weight: bold;
}

/* Subtítulos menores */
#reglamento h4 {
    font-size: 18px;
    color: #222;
    /* Más oscuro */
    margin-top: 20px;
    font-weight: bold;
}

/* Párrafos */
#reglamento p {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
    /* Más oscuro */
    margin-bottom: 15px;
}

/* Estilo para los iconos en párrafos */
#reglamento p i {
    color: #648d00;
    margin-right: 5px;
}

/* Enlaces */
#reglamento a {
    color: #ffca01;
    /* Amarillo fuerte */
    text-decoration: none;
    font-weight: bold;
}

#reglamento a:hover {
    text-decoration: underline;
    color: #f18500;
    /* Naranja quemado */
}

/* Listas */
#reglamento ul {
    padding-left: 25px;
}

#reglamento ul li {
    margin-bottom: 8px;
    font-size: 16px;
    color: #222;
    /* Más oscuro */
}

/* Listas con iconos personalizados */
#reglamento ul li::before {
    content: "✔";
    color: #648d00;
    /* Verde oscuro */
    font-weight: bold;
    margin-right: 8px;
}

/* Tablas */
#reglamento table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #f8f9fa;
    border-radius: 5px;
    overflow: hidden;
    border: 2px solid #648d00;
    /* Borde en toda la tabla */
}

#reglamento th,
#reglamento td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

#reglamento th {
    background-color: #648d00;
    /* Verde oscuro */
    color: white;
    font-size: 16px;
    text-transform: uppercase;
}

#reglamento td {
    font-size: 15px;
    background-color: #ffffff;
    color: #222;
    /* Más oscuro */
}

/* Resaltar filas impares en la tabla */
#reglamento tr:nth-child(odd) td {
    background-color: #f2f2f2;
}

/* Bloques destacados */
#reglamento .destacado {
    background: #fef7e0;
    /* Fondo amarillo suave */
    padding: 15px;
    border-left: 6px solid #ffca01;
    /* Amarillo fuerte */
    margin: 20px 0;
    font-size: 16px;
    font-weight: bold;
    color: #222;
    /* Más oscuro */
}

/* Iconos en los bloques destacados */
#reglamento .destacado i {
    margin-right: 8px;
    color: #ffca01;
}

/* Botón */
.boton {
    display: inline-block;
    padding: 10px 18px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: white;
    background-color: #648d00;
    /* Verde oscuro */
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s ease;
}

.boton:hover {
    background-color: #86af05;
    /* Verde claro */
    transform: translateY(-2px);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    #reglamento {
        width: 95%;
        padding: 20px;
        margin-top: 10px;
    }

    #reglamento h2 {
        font-size: 26px;
    }

    #reglamento h3 {
        font-size: 20px;
    }

    #reglamento p,
    #reglamento ul li,
    #reglamento td {
        font-size: 15px;
    }

    #reglamento th {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    #reglamento {
        width: 98%;
        padding: 15px;
        margin-top: 10px;
    }

    #reglamento h2 {
        font-size: 24px;
    }

    #reglamento h3 {
        font-size: 18px;
    }

    #reglamento p,
    #reglamento ul li,
    #reglamento td {
        font-size: 14px;
    }

    #reglamento th {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    #reglamento {
        margin-top: 15px;
        width: 100%;
        padding: 10px;
        border-radius: 0;
        box-shadow: none;
    }

    #reglamento h2 {
        font-size: 22px;
    }

    #reglamento h3 {
        font-size: 16px;
        padding-left: 8px;
        border-left: 4px solid #648d00;
    }

    #reglamento p,
    #reglamento ul li,
    #reglamento td {
        font-size: 13px;
        line-height: 1.5;
    }

    #reglamento th {
        font-size: 13px;
    }
}