/* ===

Theme Name: SLE
Version: 1.2.0
Description: The Template is created for TemplateMonster
Author: Koval Web

*=== */
.news-text-circle {
    width: 8rem;
    height: 8rem;
    margin-bottom: 2.5rem;
}

.news-item {
    position: relative;
}

.news-item:last-child .news-item-details {
    padding-bottom: 0;
}

.news-item .col-md-1_3 {
    position: relative;
    z-index: 1;
}

.news-item-large .news-item-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2.5rem;
}

.news-item-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 -1rem -1rem;
}

.news-item-bottom .nib-item {
    margin: 0 0 1rem 1rem;
}

.news-item-details {
    position: relative;
    width: 100%;
    padding-top: 2rem;
    padding-bottom: 3rem;
    border-top: 1px solid var(--border);
}

.news-item-container {
    width: 100%;
    max-width: 48.125rem;
}

.news-item-meta {
    position: relative;
    text-align: right;
    padding-right: 2.5rem;
    line-height: 1.8;
    font-size: calc(var(--font-size) - 2px);
    color: var(--text);
    opacity: 0.7;
    white-space: nowrap;
    margin-top: 5.5rem;
    z-index: 1;
}

.news-item-meta.news-item-meta-row {
    display: flex;
    align-items: center;
    padding-right: 0;
    margin-top: 0;
}

.news-item-meta.news-item-meta-row .news-item-timeread {
    margin-left: 1.5rem;
}

.news-item-counter {
    padding-right: 2.5rem;
    text-align: right;
    line-height: 1.8;
    font-size: calc(var(--font-size) - 2px);
    color: var(--text);
    opacity: 0.7;
    margin-top: 3rem;
}

.news-item-date {
    text-transform: uppercase;
}

.news-item-cat {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: calc(var(--font-size) - 2px);
    margin-bottom: 1rem;
    line-height: 1.8;
    z-index: 1;
}

.news-item-cat li {
    display: inline;
}

.news-item-cat li::after {
    content: ",";
}

.news-item-cat li:last-child::after {
    content: none;
}

.news-item-cat li a {
    display: inline-block;
    text-decoration: none;
    color: var(--accent);
}

.news-item-cat li a:hover {
    color: var(--text);
}

.news-item-title {
    position: relative;
    font-size: 2.25rem;
    font-family: var(--additional-font-family), serif;
    line-height: 1.3;
    font-weight: normal;
    margin-bottom: 1.25rem;
}

.news-item-title > a {
    position: relative;
    z-index: 1;
    color: var(--text);
    text-decoration: none;
}

.news-item-title:hover > a {
    color: var(--accent);
}

.news-item-img {
    position: relative;
    display: none;
}

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

.news-item-img img.display-none {
    display: none;
}

.news-item-author {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    z-index: 1;
}

.news-item-author-photo {
    position: relative;
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 0.75rem;
}

.news-item-author-photo::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--text);
    opacity: 0.1;
}

.news-item-author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-item-author-link {
    font-size: calc(var(--font-size) - 2px);
    display: flex;
}

.news-item-author-link span {
    opacity: 0.7;
    display: block;
    margin-right: 0.5rem;
}

.news-item-author-link a {
    color: var(--text);
    text-decoration: none;
}

.news-item-author-link a:hover {
    color: var(--accent);
}

.author-desc {
    font-size: 1.125rem;
}

.news-item-desc {
    position: relative;
    margin-top: 1.5rem;
    margin-bottom: 0;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.7;
    z-index: 1;
}

.news-item-desc p {
    margin: 0;
}

.news-item-desc.news-item-desc-mb0 {
    margin-bottom: 0;
}

.news-item-btn {
    margin-top: 2rem;
}

.news-item-image {
    position: relative;
}

.news-item-image img {
    transition: transform 1s;
    z-index: 1;
}

.news-item-image:hover img {
    transform: scale(1.1);
}

.news-item-image::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--text);
    opacity: 0.05;
}

.news-card .news-item-image {
    margin-bottom: 1rem;
}

.news-card .news-item-image img {
    transition: transform 1s;
}

.news-card .news-item-image:hover img {
    transform: scale(1.1);
}

.news-card .news-item-title {
    font-size: 1.5rem;
    margin-bottom: 0.875rem;
}

.news-card .news-item-cat {
    margin-bottom: 0.875rem;
}

.news-card .news-item-desc {
    margin: 0.875rem 0 1rem;
}

.news-card-row .el::after {
    margin-top: 22rem;
}

.news-card-row .news-item-image {
    margin-bottom: 1rem;
}

.news-card-row-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.news-card-row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.news-card-row-top .news-item-author {
    margin-bottom: 1rem;
}

.news-card-row-middle .news-item-desc {
    margin-bottom: 0;
}

.news-card-row-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1.5rem 0 0 0;
}

.news-card-row-bottom .news-item-btn {
    margin: 0;
}

.cat-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 0 -1.25rem;
    font-size: 1rem;
}

.cat-list > li {
    margin: 0 0 1.25rem 1.25rem;
}

.cat-list > li.active > a, .cat-list > li:hover > a {
    background-color: var(--text);
    color: var(--base);
}

.cat-list > li > a {
    display: block;
    line-height: 4rem;
    padding: 0 2rem;
    border-radius: 100px;
    border: 1px solid var(--text);
    background-color: var(--base);
    color: var(--text);
    text-decoration: none;
}

.cat-list > li ul {
    display: none;
}

.news-form-search,
.news-form-newsletter {
    position: relative;
}

.news-form-search .form-field,
.news-form-newsletter .form-field {
    margin-bottom: 1.25rem;
}

.news-form-search .form-field .form-label, .news-form-search .form-field input,
.news-form-newsletter .form-field .form-label,
.news-form-newsletter .form-field input {
    font-size: 1.25rem;
    padding: 1.188rem 0;
}

.news-form-search .form-field input,
.news-form-newsletter .form-field input {
    border-top: 1px solid var(--border);
    padding-right: 3.5rem;
}

.news-form-search .form-field input:focus,
.news-form-newsletter .form-field input:focus {
    border-color: var(--accent);
}

.news-form-search .form-field .form-label,
.news-form-newsletter .form-field .form-label {
    border-top: 1px solid transparent;
}

.news-form-search .form-btn-min-icon,
.news-form-newsletter .form-btn-min-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.newsletter-heading {
    margin-bottom: 1.25rem;
}

.article-header {
    position: relative;
    padding-top: 4.5rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: var(--text);
}

.article-header.article-header-dark {
    background-color: #000;
    --text: #fff;
    --border: #fff;
}

.article-header.article-header-dark::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.5;
}

.article-header .bread-crumbs,
.article-header .article-main {
    position: relative;
    z-index: 1;
}

.article-header .bread-crumbs {
    z-index: 2;
}

.article-header .lines {
    position: absolute;
    z-index: 2;
}

.article-main {
    padding: 3rem 0;
}

.article-main .news-item-title {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
}

.article-main .news-item-date {
    text-transform: none;
    line-height: 1.3;
    margin-top: 0.25rem;
}

.article-main .news-item-author {
    display: flex;
    margin-bottom: 1rem;
}

.article-main .news-item-author-photo {
    width: 3rem;
    height: 3rem;
}

.article-main .news-item-author-link {
    line-height: 1.3;
}

.article-main .news-item-cat {
    font-size: 1rem;
}

.article-main .news-item-timeread {
    line-height: 1.8;
    display: flex;
    align-items: center;
}

.article-main .news-item-timeread::before {
    content: "";
    width: 1rem;
    height: 1px;
    margin-right: 0.625rem;
    background-color: var(--border);
}

.article-share {
    margin-top: 2.5rem;
}

.article-share-heading {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 0.625rem;
}

.article-footer {
    margin-top: 3rem;
}

.article-nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    background-color: var(--base);
    padding: 2rem 0 3rem;
}

.article-nav::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--border);
    opacity: 1;
}

.article-nav-item {
    max-width: 31.25rem;
    margin-right: 2rem;
    cursor: pointer;
    color: var(--text);
    text-decoration: none;
}

.article-nav-item > a {
    display: block;
    text-decoration: none;
    width: 100%;
    text-decoration: none;
    color: var(--text);
}

.article-nav-item:hover > a {
    color: var(--text);
}

.article-nav-item:hover .ani-title {
    color: var(--accent);
}

.article-nav-item:last-child {
    text-align: right;
    padding-left: 0;
    margin-right: 0;
    margin-left: 2rem;
}

.article-nav-item:last-child .ani-title::before {
    content: "";
    position: absolute;
    left: -1.875rem;
    top: 50%;
    width: 0;
    height: 1px;
    margin-top: 1px;
    background-color: var(--accent);
    transition: all 0.2s;
}

.article-nav-item:last-child:hover .ani-title::before {
    width: 1.25rem;
}

.article-nav-item:first-child .ani-title::after {
    content: "";
    position: absolute;
    right: -1.875rem;
    top: 50%;
    width: 0;
    height: 1px;
    margin-top: 1px;
    background-color: var(--accent);
    transition: all 0.2s;
}

.article-nav-item:first-child:hover .ani-title::after {
    width: 1.25rem;
}

.ani-link {
    display: none;
}

.ani-title {
    display: inline;
    position: relative;
    font-size: calc(var(--font-size) - 2px);
    line-height: 1.8;
    font-weight: 600;
    transition: all 0.2s;
}

@media (max-width: 1023.98px) {
    .news-item-author {
        display: none;
    }

    .news-item-large .news-item-title {
        font-size: 3rem;
        line-height: 1.2;
    }

    .news-post-nav {
        padding-bottom: 4.5rem;
    }

    .news-post-btn-down {
        display: none;
    }

    .news-post-header {
        min-height: auto;
    }

    .news-post-nav-item .bpn-item-link {
        font-size: 1.125rem;
    }

    .news-post-footer {
        margin-top: 2rem;
    }

    .news-post-nav {
        padding-top: 1.5rem;
    }

    .news-post-share {
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .news-item-details {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .news-item-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .news-item-cat {
        margin-bottom: 0.75rem;
    }

    .news-item-desc {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .news-item-meta {
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .news-item-btn {
        line-height: 1;
        margin-top: 1rem;
    }

    .news-item-large .news-item-title {
        font-size: 2.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .news-post-btn-down {
        display: none;
    }

    .news-post-main {
        margin-top: 3rem;
    }

    .news-post-main .news-item-title {
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 2.5rem;
    }

    .news-post-main .news-item-cat {
        margin-bottom: 1.5rem;
    }

    .news-post-nav {
        border-right: none;
    }

    .news-author-img-outer {
        padding-right: 0;
    }

    .news-author-img {
        margin-left: 0;
        margin-bottom: 1.5rem;
    }

    .bpn-item-link {
        display: none;
    }
}

@media (min-width: 768px) {
    .news-text-circle {
        margin-bottom: 4rem;
    }

    .news-card-row .news-item-image {
        margin-bottom: 0;
    }

    .article-main {
        padding: 5rem 0;
    }

    .article-main .news-item-title {
        font-size: 2.5rem;
        margin-bottom: 1.75rem;
    }

    .article-nav::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 1px;
        height: 100%;
        background-color: var(--border);
        opacity: 0.1;
    }

    .ani-link {
        display: block;
        font-size: 1.375rem;
        font-family: var(--additional-font-family), serif;
        line-height: 1.3;
        color: var(--text);
        margin-top: 1rem;
    }
}

@media (min-width: 1024px) {
    .news-card-row-large .news-item-title {
        font-size: 3.25rem;
        -webkit-line-clamp: 3;
    }

    .news-card-row-large .el::after {
        margin-top: 31.25rem;
    }

    .article-nav-item {
        padding-left: 2rem;
    }

    .article-nav-item:last-child {
        padding-right: 2rem;
    }
}

@media (min-width: 1200px) {
    .news-card-row-large .news-item-title {
        font-size: 3.5rem;
        -webkit-line-clamp: 3;
    }

    .news-card-row-large .el::after {
        margin-top: 31.25rem;
    }

    .news-item-title:hover .news-item-img {
        opacity: 1;
        visibility: visible;
    }

    .news-item-img {
        display: block;
        position: absolute;
        width: 10rem;
        opacity: 0;
        visibility: hidden;
        transition: all 0.1s;
    }

    .news-item-img picture {
        display: block;
        height: 100%;
    }

    .news-item-large .news-item-img {
        width: 12rem;
    }
}