/* Custom CSS */
.nav_date li a {
    color: rgb(60, 57, 231);
}

.nav_date li {
    text-decoration: none;
    background: rgba(204, 204, 204, 0.507);
    cursor: pointer;
    padding: 5px 25px;
    border-radius: 4px;
    font-weight: normal;
    transition: all 0.5s ease-in-out;
}

.nav_date li:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(7, 234, 241, 0.432);
}

.nav_date li:hover a {
    text-decoration: none;
    color: #000;
}

/* Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* AI Result Component Styles */
.ai-result-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.25rem;
    transition: all 0.2s ease-in-out;
}

.ai-result-card:hover {
    border-color: #0284c7;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.1);
}

.ai-result-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.ai-result-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.ai-result-badge {
    display: inline-block;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    background-color: #f3f4f6;
    color: #4b5563;
    border-radius: 0.375rem;
    border: 0.5px solid #e5e7eb;
}

.ai-result-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #0284c7;
    text-decoration: none;
    font-weight: 500;
}

.ai-result-link:hover {
    text-decoration: underline;
}

/* Blog Cards Grid Styles */
.blog-card {
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.1);
    border-color: #e2e8f0;
}

.blog-card .blog-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #f8fafc;
}

.blog-card .blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.blog-card-title {
    color: #0f172a;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
    color: #0284c7;
}

.blog-card-excerpt {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Premium Article Typography & Clean Layout */
.blog-content-body {
    color: #334155;
    font-size: 1.125rem;
    line-height: 1.9;
}

.blog-content-body p {
    margin-bottom: 1.75rem;
}

.blog-content-body h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 3.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.35;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.blog-content-body h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0284c7;
    margin-top: 2.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Redesigned Clean Table of Contents */
.toc-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.75rem 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.toc-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.toc-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toc-link-item {
    display: flex;
    align-items: center;
    padding: 0.625rem 1rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-left: 4px solid #0284c7;
    border-radius: 0.5rem;
    color: #1e293b;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.toc-link-item:hover {
    background: #f0f9ff;
    border-color: #0284c7;
    color: #0369a1;
    transform: translateX(4px);
}

/* Event Feature Card Styles */
.event-featured-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    transition: all 0.25s ease;
}

.event-featured-card:hover {
    border-color: #0284c7;
    box-shadow: 0 10px 20px -5px rgba(2, 132, 199, 0.1);
}

/* Clean FAQ Cards */
.faq-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}