@import "tailwindcss";

/* Tus estilos personalizados abajo */
.headroom {
  transition: transform 0.3s ease-in-out;
}
.headroom--unpinned {
  transform: translateY(-100%);
}
.headroom--pinned {
  transform: translateY(0);
}


html {
  scroll-behavior: smooth;
}
.seccion {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  scroll-margin-top: 80px;
}
.titulo-seccion {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1F2937;
}
.text-standard {
  color: #374151;
}
.btn {
  display: inline-block;
  background-color: #4F46E5;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  transition: background-color 0.3s;
}
.btn:hover {
  background-color: #4338CA;
}
.card {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 550px;
  height: auto;
  overflow: hidden;
}
.img-gallery {
  flex-shrink: 0;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 24px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  width: 100%;           /* para móviles */
}

@media (min-width: 768px) {
  .img-gallery {
    width: 33.333333%;
  }
}

.text-destacado {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0891B2;
}
.contenedor-posts {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
}
.resultado-contenido {
  transition: max-height 0.5s ease;
  overflow: hidden;
  max-height: 0;
}
.fade-in {
  animation: fadeInUp 0.5s ease-out;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.btn-arrow::after {
  content: "\f054"; /* flecha derecha */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 12px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  transform: translateX(0);
  transition: transform 0.3s ease;
}
.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* Comunicados */
/* .card-comunicado {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  background-color: white;
  min-width: 280px;
  flex-shrink: 0;
} */
.label-categoria {
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  color: white;
  background-color: #4F46E5;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

