/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Header Optimizations */
@import "header_optimizations.css";

/* Estilos para a seção de concursos */
.competitions-section {
  position: relative;
}

.competitions-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Animação de hover para os cards de concursos */
.competitions-section .bg-white {
  transition: all 0.3s ease;
}

.competitions-section .bg-white:hover {
  transform: translateY(-4px);
}

/* Estilo para o botão do WhatsApp */
.competitions-section .bg-green-600:hover {
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
  .competitions-section .grid {
    grid-template-columns: 1fr;
  }

  .competitions-section .text-4xl {
    font-size: 2rem;
  }

  .competitions-section .text-xl {
    font-size: 1.125rem;
  }
}