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

/* Consistent Newspaper Texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.02) 2px,
            rgba(0, 0, 0, 0.02) 4px);
    pointer-events: none;
    z-index: -1;
    /* Behind content */
}

/* Shared Navigation Styles */
.main-nav {
    position: relative;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 15px 20px;
    width: 100%;
    text-align: right;
    outline: none;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .main-nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--newspaper-black, #1a1a1a);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .main-nav.active ul {
        display: flex;
        animation: slideDown 0.3s ease-out forwards;
    }

    .main-nav li {
        width: 100%;
        text-align: center;
        opacity: 0;
        animation: fadeIn 0.3s ease-out forwards;
    }

    /* Staggered animation for list items */
    .main-nav.active li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .main-nav.active li:nth-child(2) {
        animation-delay: 0.15s;
    }

    .main-nav.active li:nth-child(3) {
        animation-delay: 0.2s;
    }

    .main-nav.active li:nth-child(4) {
        animation-delay: 0.25s;
    }

    .main-nav.active li:nth-child(5) {
        animation-delay: 0.3s;
    }

    .main-nav a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateX(-10px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}