@layer utilities {
    .content-auto {
        content-visibility: auto;
    }
    .text-shadow {
        text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .bg-grid {
        background-color: #f8fafc;
        background-image: 
            linear-gradient(rgba(156, 163, 175, 0.1) 1px, transparent 1px),
            linear-gradient(90deg, rgba(156, 163, 175, 0.1) 1px, transparent 1px);
        background-size: 20px 20px;
    }
    .text-gradient {
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        background-image: linear-gradient(90deg, #3B82F6, #06B6D4);
    }
    .card-hover {
        transition: all 0.3s ease;
    }
    .card-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }
    .article-hover {
        transition: background-color 0.3s ease;
    }
    .article-hover:hover {
        background-color: rgba(59, 130, 246, 0.03);
    }
    .breadcrumb-item:not(:last-child)::after {
        content: "/";
        margin: 0 8px;
        color: #9CA3AF;
    }
    .article-content h3 {
        font-size: 1.5rem;
        font-weight: 600;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
        color: #1F2937;
    }
    .article-content p {
        margin-bottom: 1rem;
        line-height: 1.7;
    }
    .article-content ul {
        list-style-type: disc;
        margin-left: 1.5rem;
        margin-bottom: 1rem;
    }
    .article-content li {
        margin-bottom: 0.5rem;
        line-height: 1.7;
    }
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
#menu-toggle:checked ~ .mobile-menu {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}
.menu-icon .close-icon {
    display: none;
}
#menu-toggle:checked ~ .menu-icon .menu-bars {
    display: none;
}
#menu-toggle:checked ~ .menu-icon .close-icon {
    display: inline-block;
}
.menu-icon {
    transition: transform 0.3s ease;
}
#menu-toggle:checked ~ .menu-icon {
    transform: rotate(90deg);
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.pagination {
display: flex;
justify-content: center;
gap: 0.5rem;
margin-top: 2rem;
align-items: center;
}
.pagination a {
padding: 0.5rem 1rem;
border-radius: 4px;
color: rgb(75 85 99);
text-decoration: none;
transition: all 0.3s ease;
background: #fff;
border: 1px solid #94a3b8;
}
.pagination .pageinfo {
padding: 0.5rem 1rem;
border-radius: 4px;
background: none;
color: #64748b;
border: none;
}
.pagination .pageinfo strong {
color: #3b82f6;
margin: 0 0.3rem;
}
.pagination a:hover:not(.nopage),
.pagination .curpage {
background: #3b82f6;
border-color: #2563eb;
color: white;
transform: translateY(-2px);
}
.pagination .nopage {
opacity: 0.5;
cursor: not-allowed;
pointer-events: none;
background: rgba(75, 85, 99, 0.3);
border-color: #cbd5e1;
color: #94a3b8;
}
.pagination .listpage {
min-width: 2.5rem;
text-align: center;
}
@media (max-width: 768px) {
.pagination {
margin-top: 2rem;
padding-top: 1.5rem;
}
}