/* ================================================================
   NON MI SENTO ITALIANO - Stili CSS
   ================================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Libre Franklin', 'Arial', sans-serif;
    background-color: #f5f5f0;
    color: #0a0a0a;
    line-height: 1.6;
}

/* ============= HEADER & NAVIGATION ============= */

.newspaper-header {
    background-color: #fff;
    border-bottom: 4px solid #000;
    padding: 20px 0 10px;
}

.header-top-bar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px 15px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.date-info {
    font-weight: 500;
}

.edition-info {
    color: #666;
}

.masthead {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 30px 20px;
    background-color: #ffffff;
    border-top: 3px solid #000;
    border-bottom: 3px solid #000;
}

.masthead-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 15px;
}

.site-logo-left {
    width: 350px;
    height: auto;
    flex-shrink: 0;
}

.masthead-text {
    flex: 1;
    text-align: center;
}

.site-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: -2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    line-height: 1;
    color: #000;
}

.site-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-style: italic;
    font-weight: 400;
    color: #c00;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-tagline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    font-style: italic;
    font-weight: 400;
    color: #444;
    text-align: center;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Navigation */
nav {
    background-color: #000;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

nav li {
    border-right: 1px solid #333;
}

nav li:last-child {
    border-right: none;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 15px 25px;
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    transition: background-color 0.2s;
}

nav a:hover {
    background-color: #333;
}

/* ============= BREAKING NEWS BAR ============= */

.breaking-news {
    background-color: #c00;
    color: #fff;
    padding: 12px 0;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

/* ============= CONTAINER ============= */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 30px;
    background-color: #fff;
}

/* ============= SECTION HEADERS ============= */

.section-header {
    border-top: 4px solid #000;
    border-bottom: 1px solid #000;
    padding: 12px 0;
    margin: 50px 0 30px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============= ARTICLES LAYOUT ============= */

.articles-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 30px 0;
    border-bottom: 2px solid #ddd;
    margin-bottom: 40px;
}

.column-article {
    border-right: 1px solid #e0e0e0;
    padding-right: 30px;
}

.column-article:last-child {
    border-right: none;
    padding-right: 0;
}

.article-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #c00;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #000;
    cursor: pointer;
    transition: color 0.2s;
}

.article-title:hover {
    color: #c00;
}

.article-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
    text-align: justify;
    margin-bottom: 12px;
}

.article-meta {
    font-size: 0.75rem;
    color: #888;
    font-style: italic;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

/* Article Images */
.article-image {
    width: 100%;
    height: 200px;
    background-color: #e0e0e0;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 3rem;
}

.article-image-real {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    border: 1px solid #ccc;
}

/* ============= BOXED CONTENT ============= */

.boxed-content {
    border: 3px solid #000;
    padding: 30px;
    margin: 40px 0;
    background-color: #fafafa;
}

.box-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.box-text {
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
    color: #222;
    margin-bottom: 25px;
}

.box-cta {
    text-align: center;
}

.cta-button {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 15px 40px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border: 2px solid #000;
    transition: all 0.3s;
}

.cta-button:hover {
    background-color: #fff;
    color: #000;
}

/* ============= FOOTER ============= */

footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 50px 30px 30px;
    margin-top: 60px;
    border-top: 4px solid #000;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid #444;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    line-height: 1.7;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #fff;
}

.newsletter-input {
    display: flex;
    margin-top: 15px;
}

.newsletter-input input {
    flex: 1;
    padding: 12px;
    border: 1px solid #444;
    background-color: #2a2a2a;
    color: #fff;
    font-family: inherit;
}

.newsletter-input button {
    padding: 12px 25px;
    background-color: #fff;
    color: #000;
    border: none;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s;
}

.newsletter-input button:hover {
    background-color: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    font-size: 0.85rem;
    color: #888;
}

/* ============= RESPONSIVE ============= */

@media (max-width: 1024px) {
    .site-logo-left {
        width: 280px;
    }

    .masthead-content {
        gap: 30px;
    }

    .articles-columns {
        grid-template-columns: 1fr;
    }

    .column-article {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .column-article:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site-title {
        font-size: 2rem;
    }

    .masthead {
        padding: 20px 15px;
    }

    .masthead-content {
        flex-direction: column;
        gap: 20px;
    }

    .site-logo-left {
        width: 80%;
        max-width: 300px;
    }

    .masthead-text {
        text-align: center;
    }

    nav ul {
        flex-direction: column;
    }

    nav li {
        border-right: none;
        border-bottom: 1px solid #333;
    }
}
