/* ===================== */
/* NEWS LIST PAGE        */
/* ===================== */

.hero {
    padding: 30px 0px 20px 0;
}

.news-breadcrumb {
    color: var(--secondary-black);
    font-size: 12px;
    font-weight: 400; 
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
    padding-left: 8px;
}

.news-breadcrumb::after {
    content: " / NEWS";
    color: var(--primary-color);
}


.news-breadcrumb-link {
    color: var(--primary-color);
    text-decoration: none;
}

/* News Section */
.news-section {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 0 80px 0;
}

/* Header: title + description + dot deco */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.news-header-text {
    max-width: 700px;
}

.news-page-title {
    font-size: 50px;
    line-height: 64px;
    font-weight: 600;
    color: var(--secondary-black);
    margin: 0 0 30px 0;
}

.news-intro {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--secondary-black);
    margin: 0;
}

.news-header-deco {
    flex-shrink: 0;
    padding-top: 10px;
}

.news-header-deco img {
    width: 160px;
    height: auto;
}

/* Topics */
.news-topics {
    margin-bottom: 50px;
}

.news-topics-divider {
    width: 100%;
    height: 1px;
    background: var(--lines-grey);
    margin: 8px 0;
}

.news-topics-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-black);
    margin: 0;
}

.news-topics-tags {
    margin-top: 15px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.news-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    color: var(--secondary-black);
    border: 3px solid var(--secondary-blue-grey);
    border-radius: 20px;
    padding: 4px 16px;
    cursor: default;
    user-select: none;
}

/* Articles list */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Card */
.news-card {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--lines-grey);
    border-bottom: 1px solid var(--lines-grey);
}

.news-card-image {
    width: 50%;
    flex-shrink: 0;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-card-info {
    width: 50%;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 40px;
    padding-right: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card-title {
    font-size: 36px;
    line-height: 44px;
    font-weight: 500;
    color: var(--secondary-black);
    margin: 0 0 20px 0;
}

.news-card-title a {
    color: inherit;
    text-decoration: none;
}

.news-card-divider {
    width: 100%;
    height: 1px;
    background: var(--lines-grey);
}

.news-card-date {
    font-size: 16px;
    font-weight: 400;
    color: var(--secondary-black);
    margin: 0;
    padding: 14px 0;
}

.news-card-location {
    font-size: 16px;
    font-weight: 400;
    color: var(--secondary-black);
    margin: 0;
    padding: 14px 0;
}

.news-card-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    color: var(--secondary-black);
    border: 3px solid var(--secondary-blue-grey);
    border-radius: 20px;
    padding: 6px 16px;
    margin-top: 14px;
    width: fit-content;
}

/* Divider between cards — nascosto, lo spazio lo fa il gap */
.news-list-divider {
    display: none;
}

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

@media (max-width: 1024px) {
    .news-page-title {
        font-size: 44px;
        line-height: 52px;
    }

    .news-card-title {
        font-size: 30px;
        line-height: 38px;
    }

    .news-card-info {
        padding: 20px 30px;
    }
}

@media (max-width: 768px) {
    .news-header {
        flex-direction: column;
    }

    .news-header-deco {
        display: none;
    }

    .news-page-title {
        font-size: 36px;
        line-height: 44px;
    }

    .news-card {
        flex-direction: column;
    }

    .news-card-image {
        width: 100%;
    }

    .news-card-info {
        width: 100%;
        padding: 20px 0;
    }

    .news-card-title {
        font-size: 28px;
        line-height: 36px;
    }
}

@media (max-width: 480px) {
    .news-page-title {
        font-size: 30px;
        line-height: 38px;
    }

    .news-card-title {
        font-size: 24px;
        line-height: 32px;
    }

    .news-card-date,
    .news-card-location {
        font-size: 14px;
    }
}
