/* Highlight news */
.section-highlight-news {
    font-family: "Roboto", sans-serif;
}
.section-highlight-news img.highlight-news-image {
    width: 100%;
    border-radius: var(--global-border-radius);
}
.section-highlight-news .card-hover-img {
    border-radius: var(--global-border-radius);
}
.section-highlight-news .second-row {
    min-height: 100%;
    flex-direction: column;
    justify-content: space-between;
}
.card-img, .card-img-bottom {
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}
.card-img, .card-img-top {
    border-top-left-radius: var(--global-border-radius);
    border-top-right-radius: var(--global-border-radius);
}
.highlight-news-container {
    position: relative;
}
.highlight-news-container .card-img img {
    aspect-ratio: var(--news-img-aspect-ratio);
    width: 100%;
}
.highlight-news-container .card-img {
    border-radius: var(--global-border-radius);
}
.highlight-news-category, .highlight-news-category:hover {
    background-color: var(--news-card-category-bg-color);
    border-radius: 10px;
    font-size: var(--font-size-1);
    text-transform: uppercase;
    padding-left: 10px;
    padding-right: 10px;
    color: var(--news-card-category-color);
    margin-left: 5px;
    margin-right: 5px;
    align-items: center;
    display: flex;
    white-space: nowrap;
}

.highlight-news-container .card-hover-img {
    background: linear-gradient(0deg,var(--news-card-gradient-color) 0%, #00000000 60%);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

.highlight-news-title-container {
    position: absolute;
    bottom: 0px;
    width: 100%;
    padding: 20px;
    padding-bottom: 10px;
    z-index:9;
}

.highlight-news-container .highlight-news-category-container {
    position: absolute;
    top: 0;
    left: 5px;
}
.highlight-news-title {
    font-size: var(--font-size-4);
    color: var(--news-card-color);
}
.second-row .highlight-news-title {
    font-size: var(--font-size-3);
}

/* News */
.news-card {
    font-family: "Roboto", sans-serif;
}
.news-card .card-img {
    position: relative;
}
.news-card .card-img img {
    aspect-ratio: var(--news-img-aspect-ratio);
    width: 100%;
}
.news-card .card-hover-img {
    background: linear-gradient(0deg,var(--news-card-gradient-color) 0%, #00000000 60%);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

/* Page News List */
.page-news .page-header {
    height: var(--pages-header-height);
    background-image: url('/geniuswebs/static/css/templates/basket/one/assets/imgs/page_header_default_bg.png'), var(--pages-header-bg);
    background-position-x: right;
    color: var(--pages-header-color);
    background-color: var(--pages-header-bg-color);
    background-repeat: no-repeat;
}
.page-news .page-header h1 {
    margin-bottom: 0;
    padding-bottom: 0;
    text-transform: uppercase;
    font-style: italic;
    font-weight: bold;
}
.page-news h2 {
    text-transform: uppercase;
    font-style: italic;
    font-weight: bold;
}

/*
.page-news .more-news {
    background: #FFFFFF;
}
*/

.page-news .highlight-news-container .card-img img {
    border-radius: var(--global-border-radius);
}
.page-news .highlight-news-container .card-hover-img {
    border-radius: var(--global-border-radius);
}

/* Final New */
.page-new .page-header {
    height: 200px;
    background-image: url('/geniuswebs/static/css/templates/basket/one/assets/imgs/page_header_default_bg.png');
    background-position-x: right;
    color: var(--page-news-header-color);
    background-color: var(--page-news-header-bg-color);
    background-repeat: no-repeat;
}
.page-new .new-title-container {
    position: relative;
}
.page-new .new-title-container .new-date {
    font-size: var(--font-size-2);
    opacity: 0.6;
}
.page-new .new-title-container .new-title {
    font-weight: bold;
    font-style: italic;
}
.page-new .new-title-container .new-summary {
    font-size: var(--font-size-2);
    opacity: 0.6;
}

.page-new .new-body {
    color: var(--page-news-body-color);
    background-color: var(--page-news-body-bg-color);
    position: relative;
    top: -50px;
    max-width: 920px;
}

.page-new .new-main-img {
    width: 100%;
}
.page-new .page-header a {
    color: var(--page-news-header-color);
}
.page-new .page-header a:hover {
    color: var(--page-news-header-color);
}
.page-new .new-back {
    font-size: var(--font-size-3);
}

.page-new .new-content img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.section-more-news .card {
    border: none;

}
.page-new .new-content {
    font-size: var(--font-size-2);
}
.page-new .new-content img {
    width: 100% !important;
}
.page-new .new-content iframe {
    width: 100%;
}
.page-new .new-content span {
    text-wrap-mode: wrap !important;
}

.news-card .card-text {
    font-size: var(--font-size-3);
    font-weight: 300;
}
.news-card .card-title {
        font-size: var(--font-size-4);
}
/* Mobile */
@media (max-width: 768px) {
    /*
    .highlight-news-container {
        margin-bottom: 20px;
    }

     */
    .page-new .page-header {
        height: 100px;
    }
    .page-new .new-body {
        color: var(--page-news-body-color);
        background-color: var(--page-news-body-bg-color);
        position: relative;
        top: auto;
    }
    .page-new .new-body {
        max-width: inherit;
    }

}

@media (max-width: 1200px){

    .highlight-news-title {
        font-size: var(--font-size-3);
    }

}