* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}

html, body {
  height: 100%;
}

body {
  background: #f9fbfd;
  color: #222;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

header h1 {
  color: #0098ea;
  font-weight: 700;
}

/* NAV */
nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

/* CONTENEDOR PRINCIPAL */
.container {
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex-grow: 1;
}

/* CARD (CAJA DE CONTENIDO) */
.card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 152, 234, 0.1);
  width: 100%;
}
.info-container {
        display: flex;
        flex-wrap: wrap; /* Para que los recuadros pasen a la siguiente línea si no caben */
        gap: 10px; /* Espacio entre los recuadros */
    }

    .info-box {
        flex: 1 0 calc(25% - 10px); /* Cada recuadro ocupa aproximadamente 1/4 del ancho */
        background-color: #f0f8ff; /* Alice Blue - un color profesional y suave */
        color: #2c3e50; /* Un azul oscuro grisáceo para el texto */
        border-radius: 8px;
        padding: 15px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra suave */
        text-align: center;
    }

    .info-box strong {
        color: #1c8adb; /* Un azul más llamativo para los títulos */
    }

    @media (max-width: 768px) {
        .info-box {
            flex: 1 0 calc(50% - 10px); /* Dos recuadros por línea en pantallas medianas */
        }
    }

    @media (max-width: 480px) {
        .info-box {
            flex: 1 0 100%; /* Un recuadro por línea en pantallas pequeñas */
        }
    }
mark {
            background-color: #e0f7fa; /* Un azul muy claro */
            color: #004d40; /* Un verde azulado oscuro */
            padding: 0.05em 0.3em; /* Reducimos el padding vertical (primer valor) */
            border-radius: 5px;
            font-weight: bold;
    }

/* FORMULARIOS */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input,
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

button,
.btn {
  width: 100%;
  padding: 0.75rem;
  background-color: #0098ea;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
}

/* LISTAS */
ul {
  list-style: none;
  padding-left: 0;
}

li,
.history-item {
  background: #f4faff;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* TITULOS */
.post-title {
  color: #0098ea;
}

h2, h3 {
  margin-bottom: 1rem;  
  color: #0098ea;
}

.history h3 {
  color: #333;
}

/* FOOTER */
footer {
  margin-top: auto;
  padding: 2rem;
  background: #ffffff;
  text-align: center;
  border-top: 1px solid #e0e0e0;
  flex-shrink: 0;
}

/* IFRAME */
iframe {
  width: 100%;
  height: 500px;
  border: none;
}

/* RESPONSIVE DESIGN */
@media (max-width: 600px) {
  header,
  .container,
  footer {
    padding: 1rem;
  }

  .card {
    padding: 1rem;
  }

  iframe {
    height: 300px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  p,
  li {
    font-size: 1rem;
    line-height: 1.5;
  }
}
/* CONTENIDO DE LAS ENTRADAS */
.entry-content p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 1.05rem;
}

.entry-content strong,
.entry-content b {
  font-weight: 700;
}

.entry-content em,
.entry-content i {
  font-style: italic;
}

.entry-content ul,
.entry-content ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.entry-content a {
  color: #0098ea;
  text-decoration: underline;
}