/**
 * Blog V2 Styles - Modern Design
 * Completely redesigned with new colors, fonts, and layout
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    /* V2 Color Palette - Brand Colors */
    --v2-primary: #30A4A2;
    --v2-primary-dark: #006967;
    --v2-primary-light: #30A4A2;
    --v2-secondary: #E6E6E6;
    --v2-accent: #30A4A2;
    --v2-danger: #ef4444;
    --v2-warning: #f59e0b;
    --v2-info: #30A4A2;
    --v2-success: #30A4A2;

    /* V2 Neutral Colors */
    --v2-gray-50: #f9fafb;
    --v2-gray-100: #f3f4f6;
    --v2-gray-200: #e5e7eb;
    --v2-gray-300: #d1d5db;
    --v2-gray-400: #9ca3af;
    --v2-gray-500: #6b7280;
    --v2-gray-600: #4b5563;
    --v2-gray-700: #374151;
    --v2-gray-800: #1f2937;
    --v2-gray-900: #111827;

    /* V2 Background Colors */
    --v2-bg-primary: #ffffff;
    --v2-bg-secondary: #f8fafc;
    --v2-bg-tertiary: #f1f5f9;
    --v2-bg-dark: #0f172a;

    /* V2 Text Colors */
    --v2-text-primary: #1e293b;
    --v2-text-secondary: #475569;
    --v2-text-muted: #64748b;
    --v2-text-light: #94a3b8;

    /* V2 Border Colors */
    --v2-border-light: #e2e8f0;
    --v2-border-medium: #cbd5e1;
    --v2-border-dark: #94a3b8;

    /* V2 Shadows */
    --v2-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --v2-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --v2-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --v2-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --v2-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* V2 Border Radius */
    --v2-radius-sm: 0.375rem;
    --v2-radius-md: 0.5rem;
    --v2-radius-lg: 0.75rem;
    --v2-radius-xl: 1rem;
    --v2-radius-2xl: 1.5rem;
    --v2-radius-full: 9999px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --v2-bg-primary: #0f172a;
        --v2-bg-secondary: #1e293b;
        --v2-bg-tertiary: #334155;
        --v2-text-primary: #f1f5f9;
        --v2-text-secondary: #cbd5e1;
        --v2-text-muted: #94a3b8;
        --v2-text-light: #64748b;
        --v2-border-light: #334155;
        --v2-border-medium: #475569;
        --v2-border-dark: #64748b;
    }
}

/* V2 Global Styles */
.blog-v2 * {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.blog-v2 {
    background: var(--v2-bg-secondary);
    min-height: 100vh;
    color: var(--v2-text-primary);
}

/* V2 Enhanced Hero Section */
.blog-v2-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #30A4A2 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.03"><circle cx="30" cy="30" r="2"/><circle cx="10" cy="10" r="1"/><circle cx="50" cy="10" r="1"/><circle cx="10" cy="50" r="1"/><circle cx="50" cy="50" r="1"/></g></svg>');
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(48, 164, 162, 0.1) 0%, transparent 70%);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.float-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(48, 164, 162, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(2px);
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.element-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.element-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 10%;
    animation-delay: 1s;
}

.element-5 {
    width: 40px;
    height: 40px;
    top: 50%;
    left: 50%;
    animation-delay: 3s;
}

.hero-content {
    position: relative;
    z-index: 10;
    animation: slideUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(48, 164, 162, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(48, 164, 162, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    animation: bounceIn 1s ease-out 0.3s both;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.title-line-1 {
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideUp 1s ease-out 0.5s both;
}

.title-highlight {
    background: linear-gradient(135deg, #30A4A2, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: slideUp 1s ease-out 0.7s both;
}



.title-line-3 {
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideUp 1s ease-out 0.9s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: slideUp 1s ease-out 1.1s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    animation: slideUp 1s ease-out 1.3s both;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn.primary {
    background: linear-gradient(135deg, #30A4A2, #006967);
    color: white;
    box-shadow: 0 8px 32px rgba(48, 164, 162, 0.3);
}

.hero-btn.primary:hover {
    background: linear-gradient(135deg, #006967, #004d4b);
    color: white;
}

.hero-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    animation: slideUp 1s ease-out 1.5s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #30A4A2, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: slideUp 1s ease-out 1.7s both;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1.5px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0;
    }
    50% {
        transform: translateX(-50%) translateY(8px);
        opacity: 1;
    }
}

.scroll-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* V2 Search Box */
.blog-v2-search {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.blog-v2-search-input {
    width: 100%;
    padding: 1rem 3.5rem 1rem 1.5rem;
    border: none;
    border-radius: var(--v2-radius-2xl);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--v2-shadow-lg);
    transition: all 0.3s ease;
    outline: none;
}

.blog-v2-search-input:focus {
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1), var(--v2-shadow-xl);
    transform: translateY(-2px);
}

.blog-v2-search-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--v2-primary);
    border: none;
    border-radius: var(--v2-radius-xl);
    padding: 0.75rem;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-v2-search-btn:hover {
    background: var(--v2-primary-dark);
    transform: translateY(-50%) scale(1.05);
}

/* V2 Card System */
.blog-v2-card {
    background: var(--v2-bg-primary);
    border: 1px solid var(--v2-border-light);
    border-radius: var(--v2-radius-xl);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: var(--v2-shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Uniform Card Styling */
.uniform-card {
    height: 100%;
}

.uniform-card .blog-v2-card-image {
    height: 200px;
    flex-shrink: 0;
}

.uniform-card .blog-v2-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.uniform-card .blog-v2-card-excerpt {
    flex: 1;
}

.uniform-card .blog-v2-card-footer {
    margin-top: auto;
    flex-shrink: 0;
}

.blog-v2-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--v2-primary), var(--v2-secondary), var(--v2-accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-v2-card:hover {
    border-color: #30A4A2;
    box-shadow: 0 8px 25px rgba(48, 164, 162, 0.15);
}

.blog-v2-card:hover::before {
    opacity: 1;
}

.blog-v2-card-image {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.blog-v2-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-v2-card:hover .blog-v2-card-image img {
    opacity: 0.9;
}

.blog-v2-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.1), rgba(16, 185, 129, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-v2-card:hover .blog-v2-card-overlay {
    opacity: 1;
}

.blog-v2-card-content {
    padding: 1.5rem;
}

.blog-v2-card-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--v2-radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.blog-v2-card-status.published {
    background: rgba(16, 185, 129, 0.1);
    color: var(--v2-success);
}

.blog-v2-card-status.draft {
    background: rgba(245, 158, 11, 0.1);
    color: var(--v2-warning);
}

.blog-v2-card-status.archived {
    background: rgba(107, 114, 128, 0.1);
    color: var(--v2-gray-500);
}

.blog-v2-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: var(--v2-text-primary);
}

.blog-v2-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-v2-card-title a:hover {
    color: #30A4A2;
}

.blog-v2-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--v2-text-muted);
    margin-bottom: 1rem;
}

.blog-v2-card-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-v2-card-excerpt {
    color: var(--v2-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-v2-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.blog-v2-card-btn {
    background: linear-gradient(135deg, #30A4A2, #006967);
    color: white;
    border: none;
    border-radius: var(--v2-radius-lg);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.blog-v2-card-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.blog-v2-card-btn:hover::before {
    left: 100%;
}

.blog-v2-card-btn:hover {
    background: linear-gradient(135deg, #006967, #004d4b);
}

/* V2 Featured Card Variant */
.blog-v2-card.featured {
    border: 2px solid #30A4A2;
    background: linear-gradient(135deg, var(--v2-bg-primary) 0%, rgba(48, 164, 162, 0.05) 100%);
    height: auto !important;
    max-height: 600px;
    min-height: auto !important;
    flex: none !important;
}

.blog-v2-card.featured::before {
    height: 6px;
    opacity: 1;
}

.blog-v2-card.featured .blog-v2-card-title {
    font-size: 1.375rem;
}

/* V2 Compact Card Variant */
.blog-v2-card.compact {
    border-radius: var(--v2-radius-lg);
}

.blog-v2-card.compact .blog-v2-card-image {
    height: 160px;
}

.blog-v2-card.compact .blog-v2-card-content {
    padding: 1rem;
}

.blog-v2-card.compact .blog-v2-card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* V2 Grid System */
.blog-v2-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .blog-v2-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-v2-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* V2 Sidebar */
.blog-v2-sidebar {
    background: var(--v2-bg-primary);
    border-radius: var(--v2-radius-xl);
    padding: 2rem;
    box-shadow: var(--v2-shadow-md);
    border: 1px solid var(--v2-border-light);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.blog-v2-sidebar-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--v2-text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-v2-sidebar-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--v2-primary), transparent);
    border-radius: var(--v2-radius-full);
}

/* V2 Recent Posts */
.blog-v2-recent-container {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--v2-border-medium) var(--v2-bg-secondary);
}

.blog-v2-recent-container::-webkit-scrollbar {
    width: 6px;
}

.blog-v2-recent-container::-webkit-scrollbar-track {
    background: var(--v2-bg-secondary);
    border-radius: var(--v2-radius-full);
}

.blog-v2-recent-container::-webkit-scrollbar-thumb {
    background: var(--v2-border-medium);
    border-radius: var(--v2-radius-full);
}

.blog-v2-recent-container::-webkit-scrollbar-thumb:hover {
    background: var(--v2-primary);
}

.blog-v2-recent-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--v2-radius-lg);
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
    border: 1px solid transparent;
}

.blog-v2-recent-item:hover {
    background: rgba(48, 164, 162, 0.1);
    border-color: #30A4A2;
}

.blog-v2-recent-image {
    width: 60px;
    height: 60px;
    border-radius: var(--v2-radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.blog-v2-recent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-v2-recent-content h6 {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.blog-v2-recent-content h6 a {
    color: var(--v2-text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-v2-recent-content h6 a:hover {
    color: #30A4A2;
}

.blog-v2-recent-meta {
    font-size: 0.75rem;
    color: var(--v2-text-muted);
}

/* V2 Categories */
.blog-v2-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-v2-category {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    background: var(--v2-bg-secondary);
    color: var(--v2-text-secondary);
    border-radius: var(--v2-radius-full);
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--v2-border-light);
}

.blog-v2-category:hover {
    background: #30A4A2;
    color: white;
    border-color: #30A4A2;
}

/* V2 Custom Pagination */
.blog-v2-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.blog-v2-pagination .pagination {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-v2-pagination .page-item {
    margin: 0;
}

.blog-v2-pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--v2-border-light);
    background: var(--v2-bg-primary);
    color: var(--v2-text-secondary);
    border-radius: var(--v2-radius-lg);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.875rem;
}

.blog-v2-pagination .page-link:hover {
    background: var(--v2-bg-secondary);
    border-color: var(--v2-border-medium);
    color: var(--v2-primary);
    transform: translateY(-2px);
    box-shadow: var(--v2-shadow-sm);
}

.blog-v2-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #30A4A2, #006967);
    border-color: #30A4A2;
    color: white;
    box-shadow: var(--v2-shadow-md);
}

.blog-v2-pagination .page-item.disabled .page-link {
    background: var(--v2-bg-tertiary);
    border-color: var(--v2-border-light);
    color: var(--v2-text-muted);
    cursor: not-allowed;
    opacity: 0.6;
}

.blog-v2-pagination .page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: none;
}

/* Navigation arrows */
.blog-v2-pagination .page-link[rel="prev"],
.blog-v2-pagination .page-link[rel="next"] {
    background: var(--v2-bg-secondary);
    border-color: var(--v2-border-medium);
}

.blog-v2-pagination .page-link[rel="prev"]:hover,
.blog-v2-pagination .page-link[rel="next"]:hover {
    background: #30A4A2;
    border-color: #30A4A2;
    color: white;
}

/* V2 Empty State */
.blog-v2-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--v2-bg-primary);
    border-radius: var(--v2-radius-xl);
    box-shadow: var(--v2-shadow-md);
    border: 1px solid var(--v2-border-light);
}

.blog-v2-empty-icon {
    font-size: 4rem;
    color: var(--v2-text-muted);
    margin-bottom: 1rem;
}

.blog-v2-empty-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--v2-text-primary);
    margin-bottom: 0.5rem;
}

.blog-v2-empty-text {
    color: var(--v2-text-secondary);
    margin-bottom: 1.5rem;
}

/* V2 Search Results */
.blog-v2-search-results {
    background: var(--v2-bg-primary);
    border-radius: var(--v2-radius-xl);
    padding: 2rem;
    box-shadow: var(--v2-shadow-md);
    border: 1px solid var(--v2-border-light);
    margin-bottom: 2rem;
}

.blog-v2-search-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--v2-text-primary);
}

.blog-v2-search-query {
    color: #30A4A2;
    font-weight: 500;
}

.blog-v2-search-count {
    color: var(--v2-text-muted);
    font-size: 0.875rem;
}

/* V2 Animations */
@keyframes blog-v2-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes blog-v2-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

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

@keyframes cardPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(48, 164, 162, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(48, 164, 162, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(48, 164, 162, 0);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* V2 Responsive Design */
@media (max-width: 768px) {
    .blog-v2-hero {
        min-height: 100vh;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 3rem;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .float-element {
        display: none;
    }

    .blog-v2-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-v2-sidebar {
        margin-top: 2rem;
        position: static;
    }

    .blog-v2-card-image {
        height: 200px;
    }

    .blog-v2-card-title {
        font-size: 1.125rem;
    }
}

/* V2 Loading States */
.blog-v2-loading {
    position: relative;
    overflow: hidden;
}

.blog-v2-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: blog-v2-shimmer 1.5s infinite;
}

@keyframes blog-v2-shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* V2 Focus States for Accessibility */
.blog-v2-card:focus-within {
    outline: 2px solid #30A4A2;
    outline-offset: 2px;
}

.blog-v2-search-input:focus {
    outline: 2px solid #30A4A2;
    outline-offset: 2px;
}

.blog-v2-card-btn:focus {
    outline: 2px solid #30A4A2;
    outline-offset: 2px;
}

/* V2 Print Styles */
@media print {
    .blog-v2-header,
    .blog-v2-sidebar,
    .blog-v2-card-btn {
        display: none !important;
    }

    .blog-v2-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* V2 Component Integration */
.navbar-v2 + .blog-v2 {
    padding-top: 80px; /* Account for fixed navbar */
}

.mobile-top-bar-v2 + .blog-v2 {
    padding-top: 60px; /* Account for mobile navbar */
}

.mobile-navbar-spacer + .blog-v2 {
    padding-top: 0; /* Already accounted for by spacer */
}

/* V2 Layout Enhancements */
.blog-v2 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.blog-v2 main {
    background: var(--v2-bg-secondary);
    flex: 1;
}

/* V2 Scrollbar Styling */
.blog-v2 ::-webkit-scrollbar {
    width: 8px;
}

.blog-v2 ::-webkit-scrollbar-track {
    background: var(--v2-bg-secondary);
}

.blog-v2 ::-webkit-scrollbar-thumb {
    background: var(--v2-border-medium);
    border-radius: var(--v2-radius-full);
}

.blog-v2 ::-webkit-scrollbar-thumb:hover {
    background: var(--v2-primary);
}

/* V2 Focus Management */
.blog-v2 *:focus-visible {
    outline: 2px solid var(--v2-primary);
    outline-offset: 2px;
    border-radius: var(--v2-radius-sm);
}

/* V2 Performance Optimizations */
.blog-v2 img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* V2 Featured Articles Section */
.featured-articles-section {
    background: var(--v2-bg-primary);
    border-radius: var(--v2-radius-xl);
    padding: 3rem 2rem;
    box-shadow: var(--v2-shadow-md);
    border: 1px solid var(--v2-border-light);
}

.featured-articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.featured-articles-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--v2-text-primary);
    margin: 0;
}

.featured-nav-controls {
    display: flex;
    gap: 0.5rem;
}

.featured-nav-btn-header {
    background: var(--v2-bg-secondary);
    border: 1px solid var(--v2-border-light);
    border-radius: var(--v2-radius-lg);
    width: 40px;
    height: 40px;
    color: var(--v2-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.featured-nav-btn-header:hover {
    background: #30A4A2;
    border-color: #30A4A2;
    color: white;
}

.featured-articles-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--v2-radius-lg);
}

.featured-articles-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0 2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.featured-articles-track::-webkit-scrollbar {
    display: none;
}

.featured-article-item {
    flex: 0 0 300px;
    animation: blog-v2-fadeInUp 0.6s ease-out both;
}

.featured-article-card {
    background: var(--v2-bg-primary);
    border: 1px solid var(--v2-border-light);
    border-radius: var(--v2-radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--v2-shadow-sm);
}

.featured-article-card:hover {
    border-color: #30A4A2;
    box-shadow: 0 4px 15px rgba(48, 164, 162, 0.15);
}

.featured-article-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.featured-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-article-card:hover .featured-article-image img {
    transform: scale(1.05);
}

.featured-article-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-article-card:hover .featured-article-overlay {
    opacity: 1;
}

.featured-article-btn {
    background: #30A4A2;
    color: white;
    border: none;
    border-radius: var(--v2-radius-md);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.featured-article-btn:hover {
    background: #006967;
    color: white;
    transform: translateY(-2px);
}

.featured-article-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--v2-text-muted);
    margin-bottom: 1rem;
}

.featured-article-date,
.featured-article-author {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.featured-article-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
    flex: 1;
}

.featured-article-title a:hover {
    color: #30A4A2;
}

.featured-article-excerpt {
    color: var(--v2-text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.featured-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(48, 164, 162, 0.9);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.featured-nav-btn:hover {
    background: #30A4A2;
    transform: translateY(-50%) scale(1.1);
}

.featured-nav-prev {
    left: -22px;
}

.featured-nav-next {
    right: -22px;
}

@media (max-width: 768px) {
    .featured-articles-section {
        padding: 2rem 1rem;
    }

    .featured-article-item {
        flex: 0 0 280px;
    }

    .featured-nav-btn {
        display: none;
    }

    /* Mobile adjustments for featured articles header */
    .featured-articles-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .featured-articles-title {
        font-size: 1.5rem;
    }

    .featured-nav-controls {
        align-self: flex-end;
    }

    .featured-nav-btn-header {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    /* Mobile pagination adjustments */
    .blog-v2-pagination .page-link {
        min-width: 2rem;
        height: 2rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }

    /* Mobile recent articles scrollbar */
    .blog-v2-recent-container {
        max-height: 300px;
    }

    .blog-v2-recent-item {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .blog-v2-recent-image {
        width: 50px;
        height: 50px;
    }
}

/* V2 Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .blog-v2 * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}