.header {
  min-height: 100vh; /* Ocupa toda la altura de la pantalla */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: white;
  text-align: center;
}

.text-container {
  max-width: 800px;
  margin: auto;
  z-index: 2;
}

.header-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.line {
  width: 80px;
  height: 4px;
  background-color: white;
  margin: 0 auto 1rem auto;
  border-radius: 2px;
}





.card-body p {
  text-align: justify;
}

.fw-bold {
  color: #00323a;
}

.img-fluid {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}



@media (max-width: 768px) {
  .header {
    min-height: 80vh;
    padding: 40px 15px;
  }

  .header-title {
    font-size: 1.8rem;
  }

  .text-container p {
    font-size: 1rem;
  }

  .line {
    width: 60px;
    height: 3px;
  }
}

/* ------------------------------------------- */
/* BOTÓN REGRESAR AL BLOG                      */
/* ------------------------------------------- */
.btn-regresar {
  background: linear-gradient(135deg, #0d7377 0%, #0a9396 100%);
  border: none;
  color: white;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(13, 115, 119, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-regresar:hover {
  background: linear-gradient(135deg, #095f5f 0%, #0d7377 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(13, 115, 119, 0.5);
  color: white;
}

.btn-regresar:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(13, 115, 119, 0.4);
  color: white;
}

/* ------------------------------------------- */
/* ARTÍCULOS - LAYOUT MEJORADO                 */
/* ------------------------------------------- */
.gestion-articulos {
  max-width: 1100px;
}

.articulo-item {
  transition: all 0.3s ease;
}

.articulo-imagen-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #f8f9fa;
  padding: 15px;
  text-align: center;
}

.articulo-imagen-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 100, 116, 0.2);
}

.articulo-titulo {
  font-size: 1.6rem;
  color: #00323a;
  line-height: 1.3;
}

.articulo-linea {
  width: 60px;
  height: 4px;
  background: linear-gradient(45deg, #006474, #00a6a6);
  border-radius: 2px;
}

.articulo-descripcion {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.8;
  text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
  .articulo-titulo {
    font-size: 1.3rem;
    text-align: center;
  }

  .articulo-linea {
    margin: 0 auto;
  }

  .articulo-descripcion {
    font-size: 1rem;
  }
}
