/* Newsletter Editions Page Styles */
.newsletter-editions {
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.editions-header {
    text-align: center;
    margin-bottom: 60px;
}

.editions-header h1 {
    font-size: 48px;
    color: #2d4f3f;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.editions-header h1::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--accent-gold);
}

.editions-header p {
    font-size: 18px;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

.editions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.edition-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.edition-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.edition-image {
    position: relative;
    width: 100%;
    padding-top: 120%; /* Maintain newspaper-like aspect ratio */
    overflow: hidden;
}

.edition-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.edition-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 79, 63, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.edition-card:hover .edition-overlay {
    opacity: 1;
}

.edition-number {
    font-family: 'EB Garamond', serif;
    font-size: 32px;
    color: white;
    margin-bottom: 20px;
}

.read-edition {
    background-color: var(--charcoal);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.read-edition.coming-soon {
    background-color: rgba(45, 79, 63, 0.7);
    cursor: default;
    pointer-events: none;
}

.read-edition:not(.coming-soon):hover {
    background-color: var(--accent-gold);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.edition-info {
    padding: 24px;
}

.edition-info h3 {
    font-size: 24px;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.edition-info p {
    font-size: 16px;
    color: var(--dark-gray);
    line-height: 1.6;
    margin: 0;
}

.editions-subscribe {
    background: #2d4f3f;
    padding: 60px;
    border-radius: 16px;
    text-align: center;
    margin-top: 80px;
}

.subscribe-content {
    max-width: 600px;
    margin: 0 auto;
}

.subscribe-content h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 16px;
}

.subscribe-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 32px;
}

.subscribe-form .form-group {
    display: flex;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.subscribe-form input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background: #559979;
    color: white;
    transition: all 0.2s ease;
}

.subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.subscribe-form input:focus {
    outline: none;
    background: #559979;
}

.subscribe-form button {
    padding: 16px 32px;
    background: var(--accent-gold);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.subscribe-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Active state for newsletter nav link */
.nav-links a.active {
    color: var(--accent-gold);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .newsletter-editions {
        padding: 60px 24px;
    }

    .editions-header h1 {
        font-size: 40px;
    }

    .editions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .editions-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .edition-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .editions-header h1 {
        font-size: 32px;
    }

    .editions-header p {
        font-size: 14px;
    }
}

@media (max-width: 900px) {
    .editions-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto 60px;
    }

    .edition-image {
        padding-top: 100%; /* Square aspect ratio on mobile */
    }

    .editions-subscribe {
        padding: 40px 24px;
    }

    .subscribe-form .form-group {
        flex-direction: column;
    }

    .subscribe-form button {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .newsletter-editions {
        padding: 40px 20px;
    }

    .editions-header h1 {
        font-size: 32px;
    }

    .editions-header p {
        font-size: 16px;
    }

    .edition-info {
        padding: 20px;
    }

    .edition-info h3 {
        font-size: 20px;
    }

    .edition-info p {
        font-size: 14px;
    }
} 