/**
 * MoneyCard360 Advanced Styles
 * Professional Fintech Design System
 */

/* ========================================
   HERO SECTION V2 - Complex Layout
   ======================================== */

.hero-section-v2 {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1729 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(10, 14, 39, 0.7) 0%, 
        rgba(26, 31, 58, 0.6) 50%, 
        rgba(15, 23, 41, 0.75) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

/* Hero Text Content */
.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: #a5b4fc;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-badge svg {
    color: #fbbf24;
}

.hero-title-v2 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero-subtitle-v2 {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Hero CTA Buttons */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    font-weight: 700;
    font-size: 1.0625rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::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;
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.6);
    color: white;
}

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

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    font-weight: 600;
    font-size: 1.0625rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -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.6);
    font-weight: 500;
}

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

/* Hero Visual Side */
.hero-visual {
    position: relative;
    height: 450px;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.floating-card {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.card-1 {
    width: 100%;
    height: 100%;
    z-index: 2;
}

.floating-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
}

.decoration-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #6366f1 0%, transparent 70%);
    top: -50px;
    right: -50px;
    animation-delay: 0s;
}

.decoration-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    bottom: -30px;
    left: -30px;
    animation-delay: 1s;
}

.decoration-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #ec4899 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 2s;
}


/* ========================================
   CATEGORIES SECTION - Visual Cards
   ======================================== */

.categories-section {
    background: white;
    padding: 5rem 0;
    position: relative;
}

.categories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    background: white;
    border: 2px solid #6366f1;
    border-radius: 50px;
    color: #6366f1;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title-v2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.category-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: visible;
    border: 2px solid transparent;
    text-align: center;
}

.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.15);
    border-color: transparent;
}

.category-card:hover::after {
    opacity: 1;
}

.category-icon-wrapper {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 2rem;
}

.category-icon {
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
}

.category-card:hover .category-icon {
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.35);
}

.category-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    filter: blur(30px);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.category-card:hover .category-glow {
    opacity: 1;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
}

.category-title a {
    color: inherit;
    transition: color 0.3s ease;
}

.category-card:hover .category-title a {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-description {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.9375rem;
}

.category-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.category-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6366f1;
    font-weight: 600;
}

.category-count svg {
    color: #6366f1;
}

.category-arrow {
    font-size: 1.25rem;
    color: #6366f1;
    transition: transform 0.3s ease;
}

.category-card:hover .category-arrow {
    transform: translateX(4px);
}

/* Category Variants */
.category-secondary .category-icon {
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
}

.category-secondary:hover .category-title a {
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-secondary .category-count,
.category-secondary .category-arrow {
    color: #06b6d4;
}

.category-accent .category-icon {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.category-accent:hover .category-title a {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-accent .category-count,
.category-accent .category-arrow {
    color: #ec4899;
}

/* ========================================
   HOT PICKS SECTION
   ======================================== */

.hot-picks-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.hot-picks-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.hot-picks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.hot-pick-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 2px solid #f1f5f9;
}

.hot-pick-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    border-color: #e2e8f0;
}

.hot-pick-rank {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 6px 16px rgba(251, 191, 36, 0.4);
    z-index: 3;
    border: 3px solid white;
}

.hot-pick-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.hot-pick-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hot-pick-card:hover .hot-pick-image img {
    transform: scale(1.1);
}

.hot-pick-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6));
}

.hot-pick-content {
    padding: 2rem;
}

.hot-pick-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.hot-pick-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hot-pick-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 700;
    color: #fbbf24;
}

.hot-pick-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
    line-height: 1.3;
}

.hot-pick-title a {
    color: #0f172a;
    transition: color 0.3s ease;
}

.hot-pick-card:hover .hot-pick-title a {
    color: #6366f1;
}

.hot-pick-excerpt {
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.hot-pick-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.hot-pick-views {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: #94a3b8;
}

.hot-pick-date {
    font-size: 0.875rem;
    color: #94a3b8;
}

/* ========================================
   ARTICLE LIST V2
   ======================================== */

.article-list-v2 {
    display: grid;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.article-item-v2 {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: grid;
    grid-template-columns: 360px 1fr;
    border: 2px solid #f1f5f9;
    position: relative;
}

.article-item-v2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #6366f1, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-item-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: #e2e8f0;
}

.article-item-v2:hover::before {
    opacity: 1;
}

.article-thumbnail-wrapper {
    position: relative;
    overflow: hidden;
}

.article-thumbnail-v2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-item-v2:hover .article-thumbnail-v2 {
    transform: scale(1.1);
}

.article-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-item-v2:hover .article-thumbnail-overlay {
    opacity: 1;
}

.article-content-v2 {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.article-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.article-category-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-date {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 500;
}

.article-title-v2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.125rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.article-title-v2 a {
    color: #0f172a;
    transition: all 0.3s ease;
}

.article-item-v2:hover .article-title-v2 a {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-excerpt-v2 {
    color: #64748b;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    flex: 1;
    font-size: 0.9375rem;
}

.article-meta-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.article-stats {
    display: flex;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 500;
}

.stat-item svg {
    opacity: 0.7;
}

.stat-rating {
    color: #fbbf24;
    font-weight: 700;
}

.article-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.article-read-more:hover {
    transform: translateX(2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    color: white;
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.8;
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .hot-picks-grid {
        grid-template-columns: 1fr;
    }
    
    .article-item-v2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title-v2 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .section-title-v2 {
        font-size: 2rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
    }
}

/* ========================================
   FOOTER OVERRIDE - Final Styles
   ======================================== */

.simple-footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 3rem 0 !important;
    margin-top: 6rem !important;
    position: relative !important;
    overflow: hidden !important;
}

.simple-footer::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 2px !important;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent) !important;
}

.simple-footer .container {
    position: relative !important;
    z-index: 1 !important;
}

.copyright-text {
    margin: 0 !important;
    font-size: 0.9rem !important;
    text-align: center !important;
    letter-spacing: 0.3px !important;
    line-height: 1.8 !important;
}

.simple-footer .copyright-text a {
    color: #93c5fd !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
}

.simple-footer .copyright-text a:hover {
    color: #60a5fa !important;
}

/* ========================================
   FOOTER V2 (Structured, No Dividers)
   ======================================== */

.site-footer-v2 {
    background: linear-gradient(135deg, #0f172a 0%, #0b1226 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 48px 0 28px;
}

.site-footer-v2 .footer-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: start;
}

.site-footer-v2 .footer-brand {
    max-width: 520px;
}

.site-footer-v2 .footer-site-name,
.site-footer-v2 .footer-brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 18px;
    color: #e2e8f0;
}

.site-footer-v2 .footer-desc {
    margin-top: 12px;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
}

.site-footer-v2 .footer-nav .footer-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer-v2 .footer-nav .footer-menu a {
    color: #cbd5e1;
    font-size: 14px;
    text-decoration: none;
    padding: 6px 0;
    transition: color .25s ease;
}

.site-footer-v2 .footer-nav .footer-menu a:hover {
    color: #ffffff;
}

.site-footer-v2 .footer-bottom {
    margin-top: 28px;
    text-align: center;
}

.site-footer-v2 .copyright {
    margin: 0;
    color: #93a4c1;
    font-size: 13px;
}

@media (max-width: 900px) {
    .site-footer-v2 .footer-top {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .site-footer-v2 .footer-nav .footer-menu {
        flex-wrap: wrap;
        gap: 14px 18px;
    }
}

/* ========================================
   ARTICLE SINGLE POLISH (Detail Page)
   ======================================== */

.article-single {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
    padding: 32px;
}

.article-single .article-header { margin-bottom: 24px; }

.article-single .article-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-bottom: 12px;
}

.article-single .article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding-top: 10px;
    color: #64748b;
}
.article-single .article-meta .meta-date,
.article-single .article-meta .meta-author,
.article-single .article-meta .meta-category,
.article-single .article-meta .meta-views {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.875rem;
}

.article-featured-image { border-radius: 14px; overflow: hidden; }
.article-featured-image img { display: block; width: 100%; height: auto; }

.article-content-wrapper { gap: 32px; }
.article-content { color: #334155; font-size: 1.0625rem; line-height: 1.9; }

.article-content h2 { font-size: 1.875rem; margin: 2rem 0 1rem; color: #0f172a; }
.article-content h3 { font-size: 1.5rem; margin: 1.5rem 0 0.75rem; color: #111827; }
.article-content h4 { font-size: 1.25rem; margin: 1.25rem 0 0.5rem; color: #111827; }

.article-content a { color: #2563eb; text-decoration: none; box-shadow: inset 0 -1px 0 0 rgba(37,99,235,.4); transition: color .2s ease, box-shadow .2s ease; }
.article-content a:hover { color: #1d4ed8; box-shadow: inset 0 -2px 0 0 rgba(37,99,235,.6); }

.article-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-left: 4px solid #6366f1;
    border-radius: 8px;
    color: #334155;
}

.article-content pre,
.article-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.article-content pre {
    overflow: auto;
    padding: 1rem;
    background: #0b1226;
    color: #e2e8f0;
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(148,163,184,.15);
    margin: 1.25rem 0;
}
.article-content code { padding: 0.15rem 0.35rem; background: #f1f5f9; border-radius: 6px; }

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}
.article-content th, .article-content td { padding: 12px 14px; border-bottom: 1px solid #e5e7eb; text-align: left; }
.article-content thead th { background: #f8fafc; font-weight: 700; }
.article-content tbody tr:hover { background: #f9fafb; }

.article-tags { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #e2e8f0; }
.article-tags a { display: inline-block; margin: 0 10px 10px 0; padding: 6px 10px; background: rgba(99,102,241,.08); color: #4f46e5; border: 1px solid rgba(99,102,241,.2); border-radius: 999px; font-size: 0.875rem; transition: all .2s ease; }
.article-tags a:hover { background: rgba(99,102,241,.12); border-color: rgba(99,102,241,.35); }

.article-navigation { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #e2e8f0; }
.article-navigation a {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(2,6,23,0.04);
}
.article-navigation a:hover { background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(139,92,246,.08)); color: #0f172a; }

@media (max-width: 1024px) {
    .article-single { padding: 22px; border-radius: 14px; }
    .article-single .article-title { font-size: 1.875rem; }
}
