* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f2f2f2;
    color: #222;
    line-height: 1.5;
}

.cabecera {
    background: #1d6a1d;
    color: #fff;
    text-align: center;
    padding: 20px 15px;
    border-bottom: 3px solid #ffd700;
}

.cabecera h1 {
    font-size: 1.8rem;
}

.cabecera p {
    margin-top: 5px;
    font-size: 0.95rem;
}

.menu {
    margin-top: 12px;
}

.menu a {
    color: #fff;
    background: #0a5b0a;
    padding: 6px 14px;
    text-decoration: none;
    border-radius: 4px;
    margin: 3px;
    display: inline-block;
    font-size: 0.95rem;
}

.contenido {
    max-width: 1000px;
    margin: 25px auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.contenido h2,
.contenido h3 {
    color: #1d6a1d;
    margin-bottom: 12px;
}

.contenido p {
    margin-bottom: 10px;
}

.hero {
    background: #f9f9f9;
    padding: 15px;
    border-left: 4px solid #1d6a1d;
    margin-bottom: 20px;
}

.fuente {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
}

.botones-principales {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.boton {
    display: block;
    background: #1d6a1d;
    color: #fff;
    padding: 14px;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.boton-mini {
    background: #1d6a1d;
    color: #fff;
    padding: 4px 10px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.85rem;
    margin: 2px;
    display: inline-block;
}

.boton-mini.rojo {
    background: #b03030;
}

.tarjetas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.tarjeta {
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.tarjeta h4 {
    color: #1d6a1d;
    margin-bottom: 6px;
}

.formulario {
    background: #f9f9f9;
    padding: 25px;
    max-width: 400px;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.formulario h2 {
    text-align: center;
    margin-bottom: 15px;
}

.formulario label {
    display: block;
    margin: 8px 0 4px;
    font-weight: bold;
}

.formulario input,
.formulario select {
    width: 100%;
    padding: 8px;
    border: 1px solid #aaa;
    border-radius: 4px;
    font-size: 1rem;
}

.formulario button {
    width: 100%;
    margin-top: 15px;
}

.ayuda {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
}

.ayuda a {
    color: #1d6a1d;
    font-weight: bold;
}

.mensaje-error {
    background: #f8d7da;
    color: #842029;
    padding: 8px;
    border: 1px solid #f5c2c7;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 10px;
}

.mensaje-ok {
    background: #d1e7dd;
    color: #0f5132;
    padding: 8px;
    border: 1px solid #badbcc;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 10px;
}

.tabla {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.tabla th {
    background: #1d6a1d;
    color: #fff;
    padding: 10px 8px;
    text-align: left;
    border: 1px solid #1d6a1d;
}

.tabla td {
    padding: 8px;
    border: 1px solid #ddd;
}

.marcador {
    font-weight: bold;
    text-align: center;
}

.form-inline {
    display: inline-block;
}

.form-inline select {
    padding: 3px;
}

.noticia {
    background: #f9f9f9;
    padding: 15px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.noticia h2 {
    margin-bottom: 5px;
}

.fecha-noticia {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 8px;
}

.lista-enlaces {
    list-style: square;
    margin: 10px 0 20px 25px;
}

.lista-enlaces li {
    margin-bottom: 6px;
}

.lista-enlaces a {
    color: #1d6a1d;
    text-decoration: none;
}

.info-roles h3 {
    text-align: center;
    margin: 25px 0 12px;
}

.pie {
    background: #1d6a1d;
    color: #fff;
    text-align: center;
    padding: 12px;
    margin-top: 30px;
    font-size: 0.9rem;
}
