/* Custom News v6 */
/* variables that can be added to change the news cards color */
/* #home #news-n6 .news-wrapper {
    --news-card-bg-color: #FFF;
    --news-card-text-color: #000;
    --news-card-date-color: #000;
    --news-card-title-color: var(--primary-color);
} */
#home .news-wrapper .N6-story {
    background-color: var(--news-card-bg-color, #FFF);
    border-radius: 15px 15px 20px 20px;
    overflow: hidden;
}
#home #news-n6 .story a {
    display: block;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    background-color: var(--news-card-bg-color, #FFF);
}
#home #news-n6 .story .news-image .image-hidden-wrapper {
    border-top: 0;
    border-bottom: 8px solid var(--news-accent-border-color);
}
#home #news-n6 .news-date,
#home #news-n6 .news-title,
#home .N6-story .news-snippet.outer-snippet {
    padding-inline: 20px;
    box-sizing: border-box;
}
#home #news-n6 .news-title {
    font-size: clamp(1.5rem, 1.232rem + 0.714vw, 1.875rem); /*  30px -> 24px, 1440px-> 600px */
    line-height: 1.15;
    font-weight: 700;
    color: var(--news-card-title-color, var(--news-card-text-color, var(--article-title-color)));
}
#home #news-n6 .news-date {
    color: var(--news-card-date-color, var(--news-card-text-color, var(--article-date-color)));
}
#home .N6-story .news-snippet.outer-snippet {
    display: block;
    background-color: var(--news-card-bg-color, #FFF);
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    padding-block: 20px;
    color: var(--news-card-text-color, var(--snippet-color));
}
@media only screen and (min-width: 1280px) {
	#home #news-n6 .news-title {
        font-size: clamp(1.5rem, 0rem + 1.875vw, 1.875rem); /*  30px -> 24px, 1600px-> 1280px */
    }
}

/* improve design on small screen resolution*/
@media only screen and (max-width: 1279px) {
    #home #news-n6 .news-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }
    #home #news-n6 .news-wrapper .N6-story {
        width: calc(33% - 20px);
        margin-left: 0 !important;
    }
}
@media only screen and (max-width: 1040px) {
    #home #news-n6 .news-wrapper .N6-story {
        width: calc(50% - 20px);
    }
}
@media only screen and (max-width: 700px) {
    #home #news-n6 .news-wrapper .N6-story {
        width: 100%;
    }
}
/* End News */