﻿
.modNewsFilterBar {
    border-radius: 15px;
}

.modNewsFilterBar button {
    white-space: nowrap;
}

.modNewsFilterBar .dropdown-menu {
    max-height: 205px;
    overflow: auto;
}

/*--------------------------------------------*/

.modMiniNewsBar h2 {
    margin-top: 0px;
    margin-bottom: 10px;
}

.modMiniNewsBar h3 {
    margin-top: 0px;
    margin-bottom: 5px;
    font-size: 1.1em;
}

/*--------------------------------------------*/

.news-article {
    position: relative;
    display: block;
    padding: 15px;
    border-radius: 15px;
    background: var(--quaternary);
    color: #fff;
    transition: background 0.3s linear;
}

.news-article:hover {
    background: rgba(var(--quaternary-rgb), 0.75);
    color: #fff;
}

.news-article + .news-article {
    margin: 15px 0 0;
}

.news-article img {
    border-radius: 10px;
}

.news-article h2 {
    font-size: 1.8rem;
    margin: 0 0 15px;
    color: #fff;
}

.news-article h3 {
    font-size: 1.5rem;
    margin: -10px 0 15px;
    color: #fff;
}

/*--------------------------------------------*/

.news-section {
    position: relative;
    padding: 45px 0;
    background: var(--quaternary);
    color: #fff;
}

.news-section .news-section-heading {
    border-bottom: 1px solid #fff;
    padding: 0 0 5px;
    margin: 0 0 15px;
}

.news-section .news-section-heading h2 {
    font-size: 2rem;
    line-height: 1.2em;
    color: #fff;
}

.news-section .news-section-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.news-section .news-section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-section .news-section-image .news-section-image-link {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    background: rgba(var(--tertiary-rgb), 0.5);
    backdrop-filter: blur(5px);
    transition: opacity 0.3s linear;
}

.news-section .news-section-image:focus .news-section-image-link,
.news-section .news-section-image:hover .news-section-image-link {
    opacity: 1;
}

.news-section .news-section-image .news-section-image-link a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.news-section .news-section-body h3 {
    font-size: 1.8rem;
    line-height: 1.2em;
}

.news-section .news-section-body a {
    color: #fff;
    transition: color 0.3s linear;
}

.news-section .news-section-body a:focus,
.news-section .news-section-body a:hover {
    color: var(--primary)
}

.news-section .news-section-more {
    padding: 30px 0 0;
    text-align: center;
}