/* Article Page Styles */
.article-page {
    padding-top: 0;
    width: 100%;
    overflow-x: hidden;
    margin-top: 0;
    position: relative;
}

/* Scroll Progress Bar para artículos */
.article-page .scroll-progress {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.article-page .scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0055A4, #003d7a);
    width: 0%;
    transition: width 0.1s ease;
}

.article-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 0;
    text-align: center;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.5;
}

.back-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background: rgba(59, 130, 246, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
}

.article-back-link-wrapper .back-link {
    color: var(--primary-color);
}

.article-back-link-wrapper .back-link:hover {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-dark);
    border-color: rgba(59, 130, 246, 0.3);
}

.back-link svg {
    width: 16px;
    height: 16px;
    opacity: 0.9;
    transition: var(--transition);
}

.back-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.back-link:hover svg {
    opacity: 1;
    transform: translateX(-2px);
}

.article-header {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.article-meta-top {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.article-category,
.article-date,
.reading-time {
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.reading-time svg {
    width: 14px;
    height: 14px;
    opacity: 0.9;
}

.article-category:hover,
.article-date:hover,
.reading-time:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.article-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.article-excerpt {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    opacity: 0.9;
    margin-bottom: 1.25rem;
    line-height: 1.7;
    font-weight: 400;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.article-author {
    font-size: 0.95rem;
    opacity: 0.85;
    font-weight: 500;
    text-align: center;
}

.article-featured-image {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

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

.article-featured-image:has(img[style*="display: none"]) {
    display: none;
}

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

.article-content-wrapper {
    padding: 3rem 0 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    width: 100%;
    overflow-x: hidden;
    padding-bottom: 0;
}

.article-content-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 350px !important;
    gap: 4rem;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 4rem;
    box-sizing: border-box;
    width: 100%;
}

@media (min-width: 1025px) {
    .article-content-layout {
        grid-template-columns: minmax(0, 1fr) 350px !important;
    }

    .article-meta-wrapper,
    .article-meta-bottom,
    .back-link-container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .article-meta-bottom .article-category,
    .article-meta-bottom .article-date,
    .article-meta-bottom .reading-time {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 1024px) {
    .article-content-layout {
        grid-template-columns: 1fr !important;
        padding: 0 1.5rem;
        gap: 2rem;
    }

    .article-sidebar {
        position: relative;
        top: 0;
        min-width: unset;
        max-width: 100%;
    }

    .article-featured-image-full {
        height: 50vh;
        min-height: 400px;
    }

    .article-meta-wrapper .container {
        padding: 0 1.5rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .article-meta-wrapper,
    .article-meta-bottom,
    .back-link-container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .article-content {
        padding: 2rem;
        padding-bottom: 2rem;
    }

    .recent-articles-section .container {
        padding: 0;
    }

    .recent-articles-section h2 {
        padding: 0 1.5rem;
    }

    .recent-articles-grid {
        padding: 0 1.5rem;
        gap: 1rem;
    }

    .recent-article-card {
        min-width: 280px;
        max-width: 280px;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.breadcrumbs a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-dark);
}

.breadcrumbs span {
    margin: 0 0.25rem;
    color: var(--text-light);
    opacity: 0.5;
}

/* Article Body */
.article-content {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 3rem;
    padding-bottom: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    overflow-wrap: break-word;
    word-wrap: break-word;
    min-width: 0;
    flex: 1;
}

.article-body {
    font-size: clamp(1.1rem, 1.5vw, 1.2rem);
    line-height: 1.85;
    color: #2d3748;
    width: 100%;
    max-width: none;
    overflow-wrap: break-word;
    word-wrap: break-word;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: -0.01em;
}

.article-content-image,
figure.article-image {
    margin: 3rem 0;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: #f8fafc;
}

.article-content-image img,
figure.article-image img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    border-radius: 16px 16px 0 0;
}

.article-content-image figcaption,
figure.article-image figcaption {
    padding: 1rem;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.9rem;
    text-align: center;
    font-style: italic;
    border-top: 1px solid #e2e8f0;
}

.article-meta-top-page {
    margin-top: 70px;
    border-top: none;
    padding-top: 0;
    display: block;
    visibility: visible;
    opacity: 1;
}

.article-meta-wrapper {
    background: #ffffff;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    border-top: none;
    display: block;
    visibility: visible;
    opacity: 1;
    width: 100%;
}

.article-meta-wrapper .container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.back-link-container {
    display: block;
    visibility: visible;
    opacity: 1;
}

.article-meta-bottom {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    visibility: visible;
    opacity: 1;
}

.article-meta-bottom .article-category,
.article-meta-bottom .article-date,
.article-meta-bottom .reading-time {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    visibility: visible;
    opacity: 1;
}

.article-meta-bottom .article-category {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
}

.article-meta-bottom .reading-time svg {
    width: 14px;
    height: 14px;
}

.article-featured-image-full {
    width: 100%;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-featured-image-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-body h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 3.5vw, 2.25rem);
    color: #1e293b;
    margin: 3rem 0 1.5rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.8px;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
    position: relative;
}

.article-body h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: rgba(59, 130, 246, 0.3);
    border-radius: 2px;
}

.article-body h2:first-of-type {
    margin-top: 0;
}

.article-body h3 {
    font-family: var(--font-primary);
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    color: #334155;
    margin: 2rem 0 0.75rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    line-height: 1.3;
    padding-left: 1rem;
    border-left: 2px solid rgba(0, 0, 0, 0.1);
}

.article-body p {
    margin-bottom: 1.75rem;
    color: #4a5568;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    font-weight: 400;
    line-height: 1.85;
    font-size: clamp(1.05rem, 1.3vw, 1.15rem);
}

.article-body p:last-child {
    margin-bottom: 0;
}

.article-body strong {
    color: #1e293b;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.04);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.article-body a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 85, 164, 0.2);
    transition: all 0.3s ease;
    padding: 0 0.15rem;
}

.article-body a:hover {
    color: var(--primary-dark);
    border-bottom-color: rgba(0, 85, 164, 0.4);
    background: rgba(0, 85, 164, 0.05);
    border-radius: 3px;
}

.article-body ul,
.article-body ol {
    margin: 2rem 0;
    padding-left: 0;
    list-style: none;
    color: #4a5568;
}

.article-body li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.75;
    color: #4a5568;
}

.article-body ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.article-body ol {
    counter-reset: item;
}

.article-body ol li {
    counter-increment: item;
}

.article-body ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-primary);
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 2.5rem 0;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.article-body img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15);
}

.article-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    font-style: italic;
    color: #4a5568;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-radius: 8px;
    font-size: 1.1rem;
    line-height: 1.7;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.article-body blockquote::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.article-body code {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-dark);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

.article-body pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.article-body pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    font-size: 0.95rem;
}

.article-body hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.3) 50%, transparent 100%);
    margin: 3rem 0;
}

.tag-label {
    font-weight: 600;
    color: var(--primary-color);
}

.tag {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    text-decoration: none;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tag:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Share Buttons */
.article-share {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin: 1.5rem 0 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Ocultar AdSense cuando está vacío */
ins.adsbygoogle[data-ad-status="unfilled"],
ins.adsbygoogle:empty,
ins.adsbygoogle:not(:has(iframe)) {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Mostrar AdSense solo cuando tiene contenido */
ins.adsbygoogle[data-ad-status="filled"] {
    display: block;
    margin: 2rem auto;
    min-height: 100px;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin: 2rem 0 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    padding-bottom: 0;
    margin-bottom: 0;
}

.share-label {
    font-weight: 600;
    color: var(--primary-color);
}

.share-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.share-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.share-btn.twitter:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
}

.share-btn.facebook:hover {
    background: #4267B2;
    border-color: #4267B2;
}

.share-btn.linkedin:hover {
    background: #0077B5;
    border-color: #0077B5;
}

.share-btn.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    min-width: 350px;
    width: 100%;
    max-width: 350px;
    box-sizing: border-box;
    display: block;
    flex-shrink: 0;
}

.sidebar-widget {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.sidebar-widget:hover {
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.sidebar-widget h3 {
    font-family: var(--font-primary);
    font-size: clamp(1.3rem, 2vw, 1.5rem);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 0;
}

.related-article-card {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    text-decoration: none;
    transition: var(--transition);
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    background: rgba(248, 250, 252, 0.5);
    width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
}

.related-article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
    border-color: var(--primary-color);
    background: white;
}

.related-article-image {
    width: 100px;
    height: 70px;
    min-width: 100px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.related-article-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.related-article-info h4 {
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-article-info .related-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

.cta-widget {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    border: none;
}

.cta-widget h3 {
    color: white;
    background: none;
    -webkit-text-fill-color: white;
}

.cta-widget p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.cta-widget .btn {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-widget .btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* Artículos Recientes Section */
.recent-articles-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 2rem 0;
    margin-top: 0;
    width: 100%;
    overflow-x: hidden;
}

.recent-articles-section .container {
    max-width: 100%;
    padding: 0;
    width: 100%;
}

.recent-articles-section h2 {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 3vw, 2.5rem);
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -1px;
}

.recent-articles-grid {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.recent-articles-grid::-webkit-scrollbar {
    height: 6px;
}

.recent-articles-grid::-webkit-scrollbar-track {
    background: transparent;
}

.recent-articles-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.recent-article-card {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-decoration: none;
    display: block;
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
}

.recent-article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
    border-color: var(--primary-color);
}

.recent-article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.recent-article-card-content {
    padding: 1.5rem;
}

.recent-article-card-content .category {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.8rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50px;
}

.recent-article-card-content h3 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.recent-article-card-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.recent-article-card-content .date {
    font-size: 0.85rem;
    color: var(--text-light);
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .article-content-layout {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
        gap: 2rem;
    }

    .article-sidebar {
        position: relative;
        top: 0;
        min-width: unset;
    }

    .article-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .article-hero {
        padding: 6rem 0 3rem;
    }

    .article-meta-top {
        gap: 0.5rem;
    }

    .article-meta-top span {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .article-content-layout {
        gap: 2rem;
        padding: 0 1rem;
    }

    .article-content {
        padding: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .article-body {
        font-size: 1rem;
    }

    .recent-articles-section .container {
        padding: 0;
    }

    .recent-articles-section h2 {
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }

    .recent-articles-grid {
        padding: 0 1rem;
        gap: 1rem;
    }

    .recent-article-card {
        min-width: 250px;
        max-width: 250px;
    }

    .article-meta-wrapper,
    .article-meta-bottom,
    .back-link-container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .article-meta-bottom .article-category,
    .article-meta-bottom .article-date,
    .article-meta-bottom .reading-time {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}@import url('utility-content.css');
