/* Modern Design System */
:root {
    --primary: #b44f5a;
    --primary-dark: #1d4ed8;
    --secondary: #D4AF37;
    --accent: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    --gold: #D4AF37;
    --gold-light: #f7f1d3;
    --wine: #b44f5a;
    --wine-dark: #5A2329;
    --cream: #F9F6F0;
    
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
}

main {
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Modernization */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wine);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 1.2em;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    padding: 0.75rem 1rem;
    padding-right: 3rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: var(--gray-50);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: var(--shadow);
}

.search-btn {
    position: absolute;
    right: 0.5rem;
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.search-btn:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--gray-600);
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    padding: 7rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: slideInFromTop 1s ease-out 0.5s forwards;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    opacity: 0;
    animation: slideInFromLeft 1s ease-out 1s forwards;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.5s forwards;
}

.btn {
    padding: 1rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: white;
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-shape {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.hero-image {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}
/* Keyframe animations */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideInFromTop {
    from { 
        opacity: 0;
        transform: translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from { 
        opacity: 0;
        transform: translateX(-50px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-20px) rotate(10deg) scale(1.05);
        opacity: 1;
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Latest Articles */
.latest-articles {
    padding: 4rem 0;
    background: var(--gray-50);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.article-thumbnail {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

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

.article-content {
    padding: 1.5rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}
.article-card .article-title {
    font-size: 30px;
    margin-bottom: 20px;
}

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

.article-title a:hover {
    color: var(--primary);
}
.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.article-categories {
    display: flex;
    gap: 0.5rem;
}

.category-tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.3rem 0.7rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 0.75rem;
}

/* Categories Section */
.categories-section {
    padding: 4rem 0;
    background: #ffffff;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    text-align: center;
}

.category-card:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.category-card:hover .category-icon {
    color: white;
}

.category-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-count {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Newsletter Section */
.newsletter-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-form.large {
    display: flex;
    gap: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
}

.newsletter-btn {
    padding: 1rem 2rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #db2777;
    transform: translateY(-2px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-link, .pagination-current {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-link {
    background: var(--gray-100);
    color: var(--gray-700);
}

.pagination-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.pagination-current {
    background: var(--primary);
    color: white;
}

/* No Articles */
.no-articles {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-500);
    grid-column: 1 / -1;
}

.no-articles i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-articles h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

/* Footer Modernization */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-brand i {
    font-size: 2rem;
    color: var(--primary);
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-description {
    margin-bottom: 1.5rem;
    opacity: 0.8;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.newsletter-text {
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-input::placeholder {
    color: var(--gray-400);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .featured-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .article-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .newsletter-form.large {
        flex-direction: column;
    }
}
/* Mobile Menu */
@media (max-width: 768px) {
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--gray-200);
    }
    
    .nav-menu.active .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--gray-100);
    }
    
    .nav-menu.active .nav-link:last-child {
        border-bottom: none;
    }
}

/* YouTube Videos Section - ORIGINAL STYLES (unchanged) */
        .youtube-section {
            padding: 4rem 0;
            color: black;
            overflow: hidden;
            background: var(--gold-light);
        }

        .youtube-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            pointer-events: none;
        }

        .youtube-section .section-header {
            position: relative;
            z-index: 2;
            text-align: center;
            margin-bottom: 2rem;
        }

        .section-title {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: #333;
        }

        .section-description {
            font-size: 1.2rem;
            margin-bottom: 1.5rem;
            color: #555;
        }

        .youtube-channel-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            text-decoration: none;
            font-weight: 600;
            margin-top: 1rem;
            padding: 0.75rem 1.5rem;
            border-radius: var(--radius);
            backdrop-filter: blur(10px);
            border: 1px solid blue;
            transition: all 0.3s ease;
            color: blue;
        }

        .youtube-channel-link:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        .youtube-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
            position: relative;
            z-index: 2;
        }

        .youtube-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: var(--radius-lg);
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            position: relative;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
            border-color: rgba(255, 255, 255, 0.3);
        }

        .youtube-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
            border-color: rgba(255, 255, 255, 0.3);
        }

        .video-thumbnail {
            position: relative;
            height: 200px;
            overflow: hidden;
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        }

        .video-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .youtube-card:hover .video-thumbnail img {
            transform: scale(1.05);
        }

        .play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            background: rgba(255, 0, 0, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .youtube-card:hover .play-button {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1.1);
        }

        .video-duration {
            position: absolute;
            bottom: 0.75rem;
            right: 0.75rem;
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .video-content {
            padding: 1.5rem;
        }

        .video-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: rgb(66, 66, 66);
            line-height: 1.4;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .video-description {
            color: rgb(66, 66, 66);
            font-size: 0.9rem;
            line-height: 1.5;
            margin-bottom: 1rem;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .video-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            color: rgb(66, 66, 66);
        }

        .video-views::before {
            content: '👁️ ';
        }

        .video-date::before {
            content: '📅 ';
        }

        .youtube-cta {
            text-align: center;
            margin-top: 3rem;
            position: relative;
            z-index: 2;
        }

        .youtube-cta p {
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
        }

        .btn-youtube {
            background: #ff0000;
            color: white;
            padding: 1rem 2rem;
            border-radius: var(--radius);
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
        }

        .btn-youtube:hover {
            background: #cc0000;
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(255, 0, 0, 0.3);
        }

        /* YouTube Branding Animation */
        @keyframes youtube-pulse {
            0%, 100% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
            }
            50% {
                transform: scale(1.05);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
            }
        }

        .btn-youtube {
            animation: youtube-pulse 2s infinite;
        }

        /* Responsive Design for YouTube Section */
        @media (max-width: 768px) {
            .youtube-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .video-thumbnail {
                height: 180px;
            }
            
            .play-button {
                width: 50px;
                height: 50px;
                font-size: 1.2rem;
            }
            
            .youtube-cta p {
                font-size: 1rem;
            }
            
            .btn-youtube {
                padding: 0.75rem 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .youtube-section {
                padding: 3rem 0;
            }
            
            .video-content {
                padding: 1rem;
            }
            
            .video-title {
                font-size: 1rem;
            }
            
            .video-description {
                font-size: 0.85rem;
            }
            
            .video-meta {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }
        }

        /* Hover Effects Enhancement */
        .youtube-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, rgba(255, 0, 0, 0.05) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        .youtube-card:hover::before {
            opacity: 1;
        }

        /* Loading Animation for Images */
        .video-thumbnail img {
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .video-thumbnail img:not([src]) {
            opacity: 0;
        }

        .video-thumbnail img.loaded {
            opacity: 1;
        }

        /* NEW ANIMATIONS ADDED BELOW (no changes to existing styles above) */
        
        /* Entrance animations for cards */
        .youtube-card {
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .youtube-card.animate {
            opacity: 1;
            transform: translateY(0);
        }

        /* Staggered animation delays */
        .youtube-card:nth-child(1) { transition-delay: 0.1s; }
        .youtube-card:nth-child(2) { transition-delay: 0.2s; }
        .youtube-card:nth-child(3) { transition-delay: 0.3s; }
        .youtube-card:nth-child(4) { transition-delay: 0.4s; }
        .youtube-card:nth-child(5) { transition-delay: 0.5s; }
        
        /* Animation for section header */
        .youtube-card .section-header {
            opacity: 0;
            transform: translateY(-30px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }
        
        .youtube-card .section-header.animate {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Animation for CTA */
        .youtube-cta {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }
        
        .youtube-cta.animate {
            opacity: 1;
            transform: translateY(0);
        }

/* Centered Article Detail Styles */
.article-detail-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Article Header */
.article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-separator {
    color: var(--gray-400);
}

.breadcrumb .current {
    color: var(--gray-800);
    font-weight: 500;
}

.article-detail-container .article-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: 0;
}

/* Centered Article Meta */
.article-meta-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.author-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.author-name {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.article-date {
    font-size: 0.9rem;
    color: var(--gray-600);
}

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

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Hero Image */
.article-hero-image {
    margin: 2rem 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.article-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Main Content Area */
.article-main-content-centered {
    max-width: 700px;
    margin: 0 auto;
}

.article-main-content-centered ul {
    margin-left: 20px;
}
/* Social Sharing */
.social-sharing-horizontal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius);
}

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

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.facebook { background: #4267b2; }
.share-btn.link { background: var(--gray-600); }

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Article Body */
.article-body {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--gray-700);
}

.content-wrapper {
    margin: 2rem 0;
}

.content-wrapper h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 2rem 0 1rem 0;
}

.content-wrapper h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 1.5rem 0 1rem 0;
}

.content-wrapper p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: left;
}

.content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
}

.content-wrapper blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--gray-600);
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: left;
}

/* Centered Article Footer */
.article-footer-centered {
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.author-bio-card {
    display: flex;
    flex-direction: row;
    align-items:flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    text-align: center;
}

.author-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.author-bio-content h4 {
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.author-bio-content {
    text-align: left;
}

.author-bio-content p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.author-social {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.author-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    text-decoration: none;
    transition: all 0.3s ease;
}

.author-social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Centered Navigation */
.article-navigation-centered {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    background: var(--gray-50);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-button:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.nav-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-button:hover::before {
    opacity: 1;
}

.prev-article {
    text-align: left;
}

.next-article {
    text-align: right;
    flex-direction: row-reverse;
}

.nav-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.nav-content {
    flex: 1;
}

.nav-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.nav-title {
    display: block;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.4;
}

/* Related Articles Section */
.related-articles-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--gray-200);
}

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

.section-header-centered h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.section-header-centered p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-article-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.related-article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.related-article-thumbnail {
    height: 200px;
    overflow: hidden;
}

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

.related-article-card:hover .related-article-thumbnail img {
    transform: scale(1.05);
}

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

.related-article-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.related-article-content h3 a {
    color: var(--gray-800);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-article-content h3 a:hover {
    color: var(--primary);
}

.related-article-excerpt {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.related-article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta-centered {
        flex-direction: column;
        text-align: center;
    }
    
    .author-info {
        justify-content: center;
    }
    
    .article-stats {
        justify-content: center;
    }
    
    .article-hero-image img {
        height: 250px;
    }
    
    .article-navigation-centered {
        grid-template-columns: 1fr;
    }
    
    .social-sharing-horizontal {
        flex-direction: column;
        text-align: center;
    }
    
    .related-articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    .article-title {
        font-size: 1.75rem;
    }
    
    .article-excerpt {
        padding: 1.5rem;
    }

    .article-stats {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .content-wrapper h2 {
        font-size: 1.5rem;
    }
    
    .content-wrapper h3 {
        font-size: 1.25rem;
    }
    
    .key-takeaways,
    .code-block {
        margin: 1.5rem 0;
    }
    
    .author-bio-card {
        text-align: center;
    }
    
    .tags-cloud {
        justify-content: center;
    }
}

/* Search Page Styles */
.search-page-container {
    min-height: 100vh;
}

/* Search Hero Section */
.search-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.search-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.search-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.search-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

/* Hero Search Form */
.hero-search-form {
    margin-bottom: 2rem;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-input-wrapper.focused {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    color: var(--gray-400);
    z-index: 2;
}

.hero-search-input {
    flex: 1;
    padding: 1.5rem 1.5rem 1.5rem 3.5rem;
    border: none;
    font-size: 1.1rem;
    outline: none;
    background: transparent;
    border-radius: 50px;
}

.hero-search-input::placeholder {
    color: var(--gray-400);
}

.hero-search-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.hero-search-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Search Suggestions */
.search-suggestions {
    margin-top: 2rem;
}

.suggestions-label {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.suggestion-chips {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.suggestion-chip {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.suggestion-chip:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Search Results Section */
.search-results-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

.results-header {
    text-align: center;
    margin-bottom: 3rem;
}

.results-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.results-count {
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* Search Results Grid */
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.search-result-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.search-result-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.result-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.search-result-card:hover .result-image img {
    transform: scale(1.05);
}

.result-content {
    padding: 1.5rem;
}

.result-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.result-category {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.3rem 0.7rem;
    border-radius: 12px;
    font-weight: 500;
}

.result-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.result-title a {
    color: var(--gray-800);
    text-decoration: none;
    transition: color 0.3s ease;
}

.result-title a:hover {
    color: var(--primary);
}

.result-excerpt {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.result-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.result-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar-sm {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
}

.author-name {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.read-more-btn:hover {
    gap: 0.75rem;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.no-results-icon {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 1.5rem;
}

.no-results h3 {
    font-size: 1.5rem;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.no-results-message {
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.no-results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.clear-search-btn {
    padding: 0.75rem 1.5rem;
    background: var(--gray-200);
    color: var(--gray-700);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.clear-search-btn:hover {
    background: var(--gray-300);
}

.browse-all-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.browse-all-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Discovery Sections */
.discovery-sections {
    padding: 4rem 0;
}

.discovery-section {
    margin-bottom: 4rem;
}

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

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    text-align: center;
}

.category-card:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.category-card:hover .category-icon {
    color: white;
}

.category-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-count {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Featured Articles Grid */
.featured-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.featured-article-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.featured-article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

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

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

.featured-content {
    padding: 1.5rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
}

.category-badge {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.3rem 0.7rem;
    border-radius: 12px;
    font-weight: 500;
}

.reading-time {
    color: var(--gray-500);
}

.article-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-title a {
    color: var(--gray-800);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: var(--primary);
}

h3.article-title {
    font-size: 20px;
}

.article-excerpt {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar-xs {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 0.7rem;
}

/* Search Tips Section */
.search-tips-section {
    background: var(--gray-50);
    padding: 4rem 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.tip-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.tip-card h3 {
    color: var(--gray-800);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tip-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .search-hero-title {
        font-size: 2.5rem;
    }
    
    .search-results-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .search-hero {
        padding: 3rem 0;
    }
    
    .search-hero-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-input-wrapper {
        flex-direction: column;
        border-radius: var(--radius);
    }
    
    .hero-search-input {
        padding: 1rem;
        text-align: center;
    }
    
    .hero-search-btn {
        width: 100%;
        border-radius: var(--radius);
        margin-top: 0.5rem;
    }
    
    .search-results-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .no-results-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .search-hero-title {
        font-size: 1.75rem;
    }
    
    .search-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .suggestion-chips {
        gap: 0.5rem;
    }
    
    .suggestion-chip {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .results-title {
        font-size: 2rem;
    }
    
    .result-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}
.stretched-link {
    position: static;
}

.stretched-link::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: auto;
}

/* Optional: Add hover effects for better UX */
.stretched-link-container:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

/* Ensure text content stays above the stretched link */
.stretched-link-container > *:not(.stretched-link) {
    position: relative;
    z-index: 2;
}

/* Focus styles for accessibility */
.stretched-link:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Prevent text selection on the stretched link overlay */
.stretched-link::before {
    user-select: none;
    -webkit-user-select: none;
}