/* Caja principal estrecha y centrada */
.reto-main-card {
    width: 95%;
    max-width: 620px; /* Caja más estrecha */
    margin: 20px auto;
    background: #fff;
    border: 3px solid #4CAF50;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    overflow: hidden;
    font-family: Verdana, sans-serif;
}

#tit1-reto {
    background: #4CAF50;
    color: #fff;
    padding: 10px;
    font-weight: bold;
    text-align: center;
    font-size: 1.1rem;
}

.reto-body {
    padding: 15px 20px;
}

.reto-flex-container {
    display: flex;
    align-items: center; /* Centrado vertical entre texto e imágenes */
    gap: 15px;
}

.reto-col-texto {
    flex: 1.1;
    text-align: left;
}

.instrucciones-ludicas p {
    font-size: 0.88rem;
    line-height: 1.3;
    margin-bottom: 6px;
    color: #333;
}

.clica-aviso {
    color: #000FFF;
    font-weight: bold;
    font-size: 0.8rem;
    margin-top: 10px;
}

.reto-col-imagenes {
    flex: 0.9;
}

/* Rejilla de 2 columnas para que quepan bien en 620px */
.reto-grid-lateral {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 8px;
    background: #f1f8e9;
    padding: 10px;
    border-radius: 12px;
}

.reto-item img {
    width: 100%; /* Se adaptan al hueco del grid */
    max-width: 80px;
    height: auto;
    border: 2px solid #fff;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
}

/* Copyright centrado */
.reto-footer-centrado {
    font-size: 0.75rem;
    color: #999;
    text-align: center; /* Centrado horizontal */
    padding: 8px;
    border-top: 1px solid #eee;
    background: #fcfcfc;
}

.enlace-menu-principal {
    text-decoration: none;
    color: #000;
    font-size: 0.9rem;
}

 





    .caja-test {
      max-width: 650px;
      margin: 10px auto;
      /* Menos aire arriba/abajo */
      background: #ffffff;
      border-radius: 15px;
      border: 1px solid #c3d4e5;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
      font-family: 'Segoe UI', Verdana, sans-serif;
      overflow: hidden;
    }

    .cabecera-p {
      background: linear-gradient(135deg, #4682B4 0%, #2c5d88 100%);
      padding: 10px 20px;
      /* Reducido */
      color: white;
      display: flex;
      justify-content: space-between;
      font-weight: bold;
      font-size: 13px;
    }

    .cuerpo-p {
      padding: 15px 25px;
      /* Reducido de 20 a 15 */
      text-align: left;
    }

    .texto-p {
      font-size: 16px;
      /* Un punto menos para ganar espacio */
      color: #333;
      margin-bottom: 12px;
      /* Menos aire bajo la pregunta */
      line-height: 1.3;
      font-weight: 500;
    }

    .contenedor-opciones {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      /* Gap más pequeño */
      margin-bottom: 10px;
      /* Menos aire bajo las opciones */
    }

    .opcion-item {
      display: flex;
      align-items: center;
      padding: 8px 12px;
      /* Más compacto */
      border: 1px solid #e0e7ed;
      border-radius: 8px;
      cursor: pointer;
      background: #fdfdfd;
      font-size: 13.5px;
      color: #444 !important;
      transition: 0.2s;
    }

    .opcion-item:hover {
      background: #f0f7ff;
      border-color: #4682B4;
    }

    .footer-p {
      padding: 10px 25px;
      /* Reducido */
      background: #f8fafc;
      border-top: 1px solid #eee;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .btn-enviar {
      background: #2E8B57;
      color: white !important;
      border: none;
      padding: 8px 25px;
      border-radius: 50px;
      font-weight: bold;
      cursor: pointer;
      font-size: 14px;
    }

    .ayuda-sugerida {
      background: #f0fff4;
      padding: 8px;
      border-radius: 8px;
      color: #276749;
      margin-top: 5px;
      border: 1px solid #c6f6d5;
      font-size: 12px;
    }

    /* Estilo para el enlace de volver */
    .link-volver {
      display: block;
      margin: 20px auto;
      text-align: center;
      font-weight: bold;
      color: #2c5d88;
      text-decoration: none;
      font-family: sans-serif;
    }

    .link-volver:hover {
      text-decoration: underline;
    }
  