body {
    font-family: 'Inter', sans-serif;
}
.font-poppins {
    font-family: 'Poppins', sans-serif;
}
/* Hero Section */
.blog-hero {
    background: linear-gradient(
        135deg,
        #1a4b5f 0%,
        #2a7d7b 100%
    ); /* mh-deep-teal to mh-teal */
    position: relative;
    overflow: hidden;
}
.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: backgroundMove 20s linear infinite;
}
@keyframes backgroundMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 60px 60px;
    }
}
/* Glassmorphism Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.glass-filter {
    background: linear-gradient(
        135deg,
        rgba(26, 75, 95, 0.7),
        rgba(42, 125, 123, 0.7)
    ); /* mh-deep-teal to mh-teal, 70% opacity */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}
.glass-filter.sticky {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transform: scale(0.98);
    border-radius: 0.75rem;
}
/* Animation Classes */
@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}
.animate-float {
    animation: float 6s ease-in-out infinite;
}
.animate-shimmer {
    background: linear-gradient(
        90deg,
        #fef3c7 0%,
        #d97706 50%,
        #fef3c7 100%
    ); /* mh-cream to mh-amber */
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
/* Card Hover Effects */
.blog-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}
.blog-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.7s ease;
}
.blog-card:hover::before {
    left: 100%;
}
/* Category Filters */
.category-filter {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.15);
    color: #fef3c7; /* mh-cream */
    font-weight: 500;
    padding: 0.75rem 1.5rem;
}
.category-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.25);
}
.category-filter.active {
    background: linear-gradient(
        135deg,
        #2a7d7b 0%,
        #f59e0b 100%
    ); /* mh-teal to mh-gold */
    color: #fef3c7; /* mh-cream */
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
/* Search Bar */
.search-container {
    position: relative;
    z-index: 10;
}
/* Pagination */
.pagination-item {
    transition: all 0.3s ease;
}
.pagination-item:hover {
    transform: translateY(-2px);
    background: linear-gradient(
        135deg,
        #2a7d7b 0%,
        #f59e0b 100%
    ); /* mh-teal to mh-gold */
    color: #fef3c7; /* mh-cream */
}
.pagination-item.active {
    background: linear-gradient(
        135deg,
        #2a7d7b 0%,
        #f59e0b 100%
    ); /* mh-teal to mh-gold */
    color: #fef3c7; /* mh-cream */
}
/* Loading States */
.loading-skeleton {
    background: linear-gradient(
        90deg,
        #fef3c7 25%,
        #d97706 50%,
        #fef3c7 75%
    ); /* mh-cream to mh-amber */
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    .featured-article {
        grid-template-columns: 1fr !important;
    }
    .filter-container {
        gap: 1rem;
    }
    .category-filter {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    .filter-buttons {
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        padding-bottom: 0.5rem;
    }
    .filter-buttons::-webkit-scrollbar {
        display: none;
    }
}
/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(
        135deg,
        #2a7d7b 0%,
        #f59e0b 100%
    ); /* mh-teal to mh-gold */
    border-radius: 4px;
}
/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .blog-card,
    .category-filter,
    .pagination-item,
    .glass-filter {
        transition: none;
        animation: none;
    }
    .blog-hero::before {
        animation: none;
    }
    .animate-float {
        animation: none;
    }
    .animate-shimmer {
        animation: none;
    }
}
