/* ==== BASE =======*/
body {
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  background: #f6f6f6;
  padding-top: 110px; /*Espasio asignado al header + spacer*/
}

header {
  background: #004A68;
  color: white;
  padding: 12px 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo izquierdo */
header .logo {
  max-height: 56px;
  width: auto;
}

/* Logo derecho */
header .logo0 {
  max-height: 56px;
  width: auto;
}

/* Título centrado */
header h1 {
  flex: 1;
  text-align: center;
  font-size: 1.5em;
  font-weight: 600;
  margin: 0 16px;
}

.spacer {
  height: 8px; /* Altura del header */
  width: 100%;
  position: fixed;
  top: 76px;
  left: 0;
  background-color: #CF762C;
  /* Ajusta según la altura del header */
  /* Espacio entre header y contenido */
  z-index: 999;
}

nav {
  margin-top: 10px;
}

.news-item {
  background: white;
  margin: 10px auto;
  padding: 12px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  max-width: 800px;
  box-sizing: border-box;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.news-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.news-item h2 {
  color: #007b83;
}

.news-item p {
  color: #333;
}

footer {
  text-align: center;
  padding: 10px;
  background: #004A68;
  color: white;
  position: fixed;
  width: 100%;
  bottom: 0;
}

.news-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 10px 16px 70px;
}

.news-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  padding: 22px 22px;
  margin: 10px 0 40px;
  max-width: 560px;
  min-width: 340px;
  flex: 1 1 480px;
  box-sizing: border-box;
  border-top: 4px solid #CF762C;
}

.news-box h2 {
  text-align: center;
  color: #004A68;
  margin-top: 0;
  margin-bottom: 16px;
}

.noticia {
  border-bottom: 1px solid #e0e0e0;
  padding: 15px 0;
}
.noticia:last-child {
  border-bottom: none;
}

/* Para que el contenido no quede oculto debajo del header fijo */
main {
  margin-top: 10px; /* Antes 90px, ahora más espacio debajo del header */
}

/*hola*/
