﻿
.news-article {
    margin: 15px 0;
}

.news-article .news-article-image {
    position: relative;
    margin: 0 0 15px;
    height: 300px;
}

.news-article .news-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-article .news-article-image a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(var(--purple-rgb), 0.75);
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s linear;
}

.news-article .news-article-image:hover a {
    opacity: 1;
}

.news-article .news-article-image a span {
    padding: 10px 30px;
    border: 2px solid #fff;
    border-radius: 15px;
    color: #fff;
    transition: border-color 0.3s linear, color 0.3s linear;
}

.news-article .news-article-image a span:hover {
    border-color: var(--purple);
    color: var(--purple);
}

/*-----------------------------------------------------------------------------------------------*/

.news-sticky-image {
    position: sticky;
    top: 15px;
}

/*-----------------------------------------------------------------------------------------------*/

.news-section {
    position: relative;
    padding: 30px 0;
    background: #ededed;
    overflow: hidden;
}

.news-section-title {
    text-align: center;
    margin: 0 0 30px;
}

.news-section-more {
    margin: 15px 0 0;
    text-align: center;
}

.news-carousel {
    position: relative;
    margin: 0 -15px;
}

.news-carousel .news-carousel-previous,
.news-carousel .news-carousel-next {
    position: absolute;
    padding: 10px 5px;
    background: var(--purple);
    transform: translate(0, -50%);
    font-size: 1.5rem;
    line-height: 1.2em;
    color: #fff;
    top: 50%;
    cursor: pointer;
    border: 0;
    transition: background 0.3s linear;
}

.news-carousel .news-carousel-previous:hover,
.news-carousel .news-carousel-next:hover {
    background: var(--purple-dark);
}

.news-carousel .news-carousel-previous {
    left: -50px;
}

.news-carousel .news-carousel-next {
    right: -50px;
}

.news-carousel-panel {
    padding: 0 15px;
}

.news-carousel-panel .news-carousel-panel-image {
    position: relative;
    margin: 0 0 15px;
}

.news-carousel-panel .news-carousel-panel-image a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(var(--purple-rgb), 0.75);
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s linear;
}

.news-carousel-panel .news-carousel-panel-image:hover a {
    opacity: 1;
}

.news-carousel-panel .news-carousel-panel-image a span {
    padding: 10px 30px;
    border: 2px solid #fff;
    border-radius: 15px;
    color: #fff;
    transition: border-color 0.3s linear, color 0.3s linear;
}

.news-carousel-panel .news-carousel-panel-image a span:hover {
    border-color: var(--purple-dark);
    color: var(--purple-dark);
}

.news-carousel-panel .news-carousel-panel-body {
    margin: 0 0 0 15px;
}

.news-carousel-panel .news-carousel-panel-body h3 {
    font-size: 1.5rem;
    color: var(--pink);
    margin: 15px 0;
}

.news-carousel-panel .news-carousel-panel-body h3 a {
    color: inherit;  
}

.news-carousel-panel .news-carousel-panel-body p a {
    color: var(--pink);
}

.news-carousel-panel .news-carousel-panel-body h3 a:hover,
.news-carousel-panel .news-carousel-panel-body p a:hover {
    color: var(--purple);
}

.news-carousel-panel .news-carousel-panel-body time {
    font-size: 1.3rem;
    line-height: 1.2em;
    color: #000;
}