/* --- Skeleton base (tamanho, borda e cor neutra) --- */
.skeleton {
  --skeleton-bg: #e6e6e6;         /* cor base */
  --skeleton-highlight: #f5f5f5;  /* brilho */
  --skeleton-duration: 1.4s;      /* duração da animação */
  display: inline-block;
  background: var(--skeleton-bg);
  border-radius: 6px;
  line-height: 1;
  overflow: hidden;
  position: relative;
}

/* --- Shimmer animation (aplica gradiente que se move) --- */
.animate-shimmer {
  background-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.4) 40%,
    rgba(255,255,255,0.7) 50%,
    rgba(255,255,255,0.4) 60%,
    transparent 100%
  );
  background-repeat: no-repeat;
  background-size: 200% 100%;
  animation: shimmer var(--skeleton-duration) linear infinite;
}

/* Keyframes que deslocam o background para criar o efeito */
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- Acessibilidade: desliga animação quando usuário preferir menos movimento --- */
@media (prefers-reduced-motion: reduce) {
  .animate-shimmer {
    animation: none;
    background-image: none;
    background-color: var(--skeleton-bg);
  }
}

/* --- Pequenas utilidades para variar tamanho --- */
.skeleton.h-6 { height: 1.5rem; }
.skeleton.h-8 { height: 2rem; }
.skeleton.h-12 { height: 3rem; }
.skeleton.h-16 { height: 4rem; }
.skeleton.h-32 { height: 8rem; }
.skeleton.h-48 { height: 12rem; }
.skeleton.h-64 { height: 16rem; }
.skeleton.w-24 { width: 6rem; }
.skeleton.w-32 { width: 8rem; }
.skeleton.w-48 { width: 12rem; }
.skeleton.w-64 { width: 16rem; }
.skeleton.w-full { width: 100%; }

/* --- Exemplo: cantos mais arredondados e placeholder circular --- */
.skeleton.circle { border-radius: 50%; display: inline-block; }

/* --- Skeleton Layouts para componentes espec\u00edficos --- */

/* Skeleton para item de evento/not\u00edcia */
.skeleton-event-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.skeleton-event-image {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
}

.skeleton-event-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Skeleton para featured event/news */
.skeleton-featured-item {
  width: 100%;
  margin-bottom: 1rem;
}

.skeleton-featured-image {
  width: 100%;
  height: 300px;
  margin-bottom: 1rem;
}

.skeleton-featured-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Skeleton para institui\u00e7\u00e3o em destaque */
.skeleton-institution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
}

.skeleton-institution-image {
  width: 100%;
  height: 500px;
}

.skeleton-institution-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

/* Skeleton para news card no slider */
.skeleton-news-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skeleton-news-image {
  width: 100%;
  height: 250px;
}

.skeleton-news-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1rem;
}

/* Utilit\u00e1rias de espa\u00e7amento */
.skeleton-mb-1 { margin-bottom: 0.5rem; }
.skeleton-mb-2 { margin-bottom: 1rem; }
.skeleton-mb-3 { margin-bottom: 1.5rem; }

/* Varia\u00e7\u00f5es de largura para textos */
.skeleton-w-3-4 { width: 75%; }
.skeleton-w-1-2 { width: 50%; }
.skeleton-w-1-3 { width: 33.33%; }
.skeleton-w-1-4 { width: 25%; }

/* Skeleton para página de detalhes de evento */
.skeleton-event-detail-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem 0;
}

.skeleton-event-detail-date {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.skeleton-event-detail-image {
  width: 100%;
  height: 400px;
}

.skeleton-event-details-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.skeleton-event-details-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skeleton-event-details-label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.skeleton-related-events-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.skeleton-related-event-date {
  width: 100px;
  flex-shrink: 0;
}

.skeleton-related-event-card {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.skeleton-related-event-image {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.skeleton-related-event-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.text-transparent {
  color: transparent !important;
}

/* Responsive adjustments */
@media screen and (max-width: 991px) {
  .skeleton-institution {
    grid-template-columns: 1fr;
  }

  .skeleton-event-item {
    flex-direction: column;
  }

  .skeleton-event-image {
    width: 100%;
    height: 200px;
  }

  .skeleton-event-detail-header {
    grid-template-columns: 1fr;
  }

  .skeleton-event-details-section {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 479px) {
  .skeleton-featured-image {
    height: 200px;
  }

  .skeleton-institution-image {
    height: 300px;
  }

  .skeleton-institution-content {
    padding: 2rem;
  }

  .skeleton-event-detail-image {
    height: 250px;
  }

  .skeleton-related-event-card {
    flex-direction: column;
  }

  .skeleton-related-event-image {
    width: 100%;
    height: 200px;
  }
}

.navbar_menu-wrapper {
  grid-column-gap: .5rem;
  grid-row-gap: .5rem;
  flex-flow: column;
  justify-content: center !important;
  padding-top: .365rem;
  padding-bottom: 0 !important;
  display: flex;
}