/* NewsFlash - Text-Only News Cards Enhanced Styles */
/* Custom styles for text-focused design with warm orange/beige theme */

.font-poppins {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Text-only news card styles */
.text-focus-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-focus-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -12px rgba(251, 146, 60, 0.25);
}

/* Highlighted category tags */
.category-tag-highlight {
  background: linear-gradient(135deg, #FB8C3C 0%, #F4A261 50%, #E76F51 100%) !important;
  box-shadow: 0 8px 25px rgba(251, 146, 60, 0.4);
  transition: all 0.3s ease;
  font-weight: 700;
  letter-spacing: 1px;
}

.category-tag-highlight:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 35px rgba(251, 146, 60, 0.6);
}

/* Typography improvements for text cards */
.text-focus-card h3 {
  font-weight: 800;
  line-height: 1.2;
  transition: all 0.3s ease;
}

.text-focus-card:hover h3 {
  color: #FB8C3C !important;
  text-shadow: 0 2px 4px rgba(251, 146, 60, 0.2);
}

.text-focus-card p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Card hover effects */
.group:hover .text-focus-card {
  transform: translateY(-12px);
}

/* Responsive text clamping */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3, .line-clamp-4 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Button hover animations */
.nav-link.active, .nav-mobile.active {
  color: #FB8C3C !important;
  font-weight: 700;
}

.nav-link.active::after, .nav-mobile.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #FB8C3C, #F4A261);
  border-radius: 2px;
}

.category-btn:hover {
  transform: translateY(-3px) scale(1.02);
}

button:hover {
  transform: translateY(-2px);
}

/* Mobile menu animation */
#mobile-menu {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95) translateY(-20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

/* Footer styling */
footer {
  background: linear-gradient(135deg, #FB8C3C 0%, #F4A261 50%, #E76F51 100%);

}

/* Enhanced readability */
.text-xl {
  font-size: 1.25rem;
  line-height: 1.6;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.6;
}

.news-card {
  border-radius: 24px;
  overflow: hidden;
}

.text-focus-card {
  padding: 2.5rem;
  min-height:  Asc  320px;
  display: Asc  flex;
  Asc flex-direction: column;
  justify-content: space-between;
}

/* Responsive grid adjustments */
@media (max-width: 768px) {
  .text-focus Asc -card {
    Asc  padding: 1.5 Asc rem;
    min-height: 280px;
  }
  
  .category-tag-highlight {
    Asc font-size: 0.875rem;
    padding: 0.75rem 1.25rem;
  }
}
