/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1002;
    }
    
    .nav.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        padding: 1rem 0;
        z-index: 1001;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        width: 100%;
        text-align: center;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
        white-space: normal;
        line-height: 1.1;
    }
    
    .hero-title-part2 {
        font-size: clamp(1.8rem, 7vw, 3rem);
        white-space: normal;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .economics-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-post {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .podcast-episode {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

/* Global responsive font scaling */
html {
    font-size: clamp(14px, 1.2vw, 16px);
}

@media (max-width: 768px) {
    /* Responsive scaling adjustments */
    .hero {
        height: auto;
        padding: 5rem 0;
    }
    .hero-content {
        padding: 2rem 1rem;
    }
    .articles-grid,
    .economics-grid,
    .blog-grid,
    .podcast-grid {
        gap: 1.5rem;
    }
    .article-card,
    .blog-post,
    .chart-container,
    .crypto-container {
        padding: 1rem;
    }
    .article-image {
        height: 150px;
    }
    .author-portrait,
    .episode-artwork {
        width: 80px;
        height: 80px;
    }
    .podcast-episode {
        gap: 1rem;
    }
    .progress-bar {
        height: 4px;
    }
    .volume-bar {
        height: 3px;
    }
}

@media (max-width: 480px) {
    /* Further scaling for very small screens */
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 9vw, 2.2rem);
    }
    
    .hero-title-part2 {
        font-size: clamp(1.3rem, 8vw, 2rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .article-card h3 {
        font-size: 1.2rem;
    }
    
    .article-image {
        height: 120px;
    }
    
    .chart-container h3,
    .crypto-container h3 {
        font-size: 1.4rem;
    }
    
    .indicator,
    .crypto-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-content h3,
    .episode-info h3 {
        font-size: 1.2rem;
    }
    
    .podcast-player {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .duration {
        font-size: 0.8rem;
    }
}