::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

* {
  font-family: "Nokora", system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-family: "Nokora", sans-serif;
}

img {
  width: 100%;
  border-radius: 10px;
}

.loading-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.gradient-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.modal-overlay {
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease-out;
}

.modal-content {
  animation: slideUp 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.aspect-w-16 {
  position: relative;
  padding-bottom: 75%;
}

.aspect-w-16 > * {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
}

@media (max-width: 768px) {
  .aspect-w-16 {
    padding-bottom: 56.25%;
  }
}

img {
  transition: opacity 0.3s ease;
}

img[loading] {
  opacity: 0.7;
}

button:focus,
a:focus,
input:focus {
  outline: 2px solid;
  outline-offset: 2px;
}

@media print {
  .no-print {
    display: none !important;
  }
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

.bg-gradient-text {
  background: linear-gradient(135deg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-hover-lift {
  transition: all 0.3s ease;
}

.btn-hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.article-card:nth-child(1) {
  animation-delay: 0.1s;
}

.article-card:nth-child(2) {
  animation-delay: 0.2s;
}

.article-card:nth-child(3) {
  animation-delay: 0.3s;
}

.article-card:nth-child(4) {
  animation-delay: 0.4s;
}

.search-input:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.pagination .active {
  color: white;
}

.custom-rich-text-images
  figure.attachment
  .attachment__caption
  .attachment__name,
.custom-rich-text-images
  figure.attachment
  .attachment__caption
  .attachment__size {
  display: none !important;
}

.custom-rich-text-images figure.attachment img {
  border-radius: 1rem;
  object-fit: cover;
  width: 100%;
  height: auto;
}

.trix-image-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.custom-rich-text-images p:has(figure.attachment) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.animate-marquee {
  animation: marquee 30s linear infinite;
}
