:root {
    --primary-color: #ed1c25;
    --secondary-color: #000000;

    --primary-font: "Merriweather", serif;
}

.share-links .share-vk:before {
    content: "\f3d9";
}

.container {
    max-width: 1250px;
}

.title_list {
    padding-bottom: 15px;
    margin-bottom: 15px;
    position: relative;
}

.title_list span {
    border-bottom: 4px solid var(--primary-color);
    padding: 0 20px 10px 20px;
    margin-bottom: 20px;
    z-index: 9;
    position: relative;
}

.title_list:after {
    content: '';
    display: block;
    background: var(--secondary-color);
    bottom: 10.5px;
    position: absolute;
    width: 100%;
    height: 1px;
}

.swiper-pagination-bullet {
    width: 13px;
    height: 13px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

.main-slider .swiper-pagination {
    position: relative;
    bottom: 0;
    margin-top: 15px;
}

#header .main-menu {
    border-top: 1px solid var(--secondary-color);
}

.mega-menu {
    justify-content: center;
}

#header .main-menu>li.menu-item>a {
    font-family: var(--primary-font);
    font-size: 1rem;
    font-weight: 700;
    line-height: 20px;
    color: var(--secondary-color);
    padding: 20px 30px 20px 30px;
}

.post__v1::after {
    content: '';
    background: rgb(0, 0, 0);
    background: -moz-linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    background: -webkit-linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#000000", GradientType=1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.post__v1 img {
    height: 550px;
    object-fit: cover;
	width: 100%;
}

[class*="post__"] {
    position: relative;
}

[class*="post__"] .date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    display: flex;
    flex-direction: column;
    font-size: 25px;
    color: black;
    text-align: center;
    z-index: 2;
}

[class*="post__"] .date span:first-child {
    padding: 5px 15px;
    font-family: var(--primary-font);
}

[class*="post__"] .date span:last-child {
    background: var(--primary-color);
    color: white;
    font-size: 17px;
    padding: 3px 15px;
}

.post__v1 .conten-post {
    position: absolute;
    bottom: 30px;
    padding: 0 50px;
    z-index: 2;
}

.post__v1 .categories {
    margin-bottom: 15px;
}

.post__v1 h3 a {
    color: white;
    font-size: 2rem;
}

.post__v1 p {
    color: white;
    font-size: 1rem;
}

[class*="post__"] .sharer {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: flex-end;
}

[class*="post__"] .sharer address {
    margin: 0;
    display: flex;
    gap: 10px;
}

[class*="post__"] .sharer address a {
    color: white;
    font-size: 1rem;
}

.categories a {
    background: var(--primary-color);
    color: white;
    font-size: 1rem;
    padding: 3px 10px;
}

.post__v2 img {
    aspect-ratio: 1/1;
    object-fit: cover;
	width: 100%;
}

.post__v2 .content-post {
    position: absolute;
    bottom: 30px;
    padding: 0 30px;
}

.post__v2 .content-post h3 a {
    color: var(--secondary-color);
    font-size: 2rem;
}

.post__v2 .content-post .content-block {
    background: white;
    padding: 25px;
    margin-top: 15px;
    color: var(--secondary-color);
}

.post__v2 .content-post address a {
    color: var(--secondary-color);
    font-size: 1rem;
}

.post__v2+.post__v2 {
    margin-top: 30px;
}

.post__v3 {
    display: flex;
    gap: 30px;
}

.post__v3+.post__v3 {
    margin-top: 30px;
}

.post__v3>a:first-child {
    position: relative;
    flex: 0 0 50%;
}

.post__v3 img {
    aspect-ratio: 1/1;
    object-fit: cover;
	width: 100%;
}

.post__v3 h3 a {
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.post__v3 p {
    color: var(--secondary-color);
    font-size: .9rem;
    line-height: normal;
    margin-bottom: 15px !important;
}

.post__v3 .sharer address a {
    color: var(--secondary-color);
    font-size: 1rem;
}

.post__v3 .categories {
    gap: 5px;
    display: flex;
}

.post__v3 .content-block {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post__v4 .content-post {
    display: flex;
    align-items: center;
    gap: 30px;
}

.post__v4 .content-post p {
    color: var(--secondary-color);
}

.post__v4 .number {
    font-size: 3.5rem;
    font-family: var(--primary-font);
    font-weight: 600;
}

.post__v4 .content-post h3 {
    margin-bottom: 0px;
}

.post__v4 .content-post h3 a {
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.post__v4 {
    margin-top: 50px;
    padding-left: 25px;
}

.post__v5 .content-post {
    position: relative;
    bottom: 0;
    padding: 0;
    margin-top: 20px;
}

.post__v5 .categories{
    margin-bottom: 15px;
}

.post__v5 .content-post h3 a {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.post__v5 .content-post p{
    color: var(--secondary-color);
}

.post__v5 .sharer address a {
    color: var(--secondary-color);
}

.category article + article {
    margin-top: 0 !important;
}

.blog-posts article {
    border-bottom: none;
    margin-bottom: 30px;
    padding-bottom: inherit;
}

.inner_post{
    position: relative;
}

.widget_archive>ul li:before,
.widget_categories>ul li:before,
.widget_meta>ul li:before,
.widget_nav_menu>div>ul li:before,
.widget_pages>ul li:before,
.widget_recent_comments>ul li:before,
.widget_recent_entries>ul li:before,
.widget_rss>ul li:before,
.wp-block-archives-list li:before,
.wp-block-categories-list li:before,
.wp-block-latest-comments:not(.has-avatars):not(.has-excerpts) .wp-block-latest-comments__comment:before,
.wp-block-latest-posts:not(.wp-block-latest-posts__list) li:before,
.wp-block-latest-posts__list.wp-block-latest-posts li:before {
    display: none;
}

.footer .widget>div>ul,
.footer .widget>ul {
    border: none;
    font-family: var(--primary-font);
    font-size: 1rem;
    font-weight: 600;
}

.widget>div>ul li,
.widget>ul li {
    border: none;
    padding: 0 !important;
}

.widget>div>ul li+li {
    margin-top: 10px;
}

.footer .widget ul .current_page_item a,
.footer .widget ul li:hover a {
    border-bottom: 3px solid var(--primary-color) !important;
}

.follow-us .share-links a {
    border-radius: 0;
    box-shadow: none;
    background: var(--secondary-color);
}

.footer .share-links a:not(:hover),
.footer-top .share-links a:not(:hover) {
    background: var(--primary-color);
    color: white;
    box-shadow: none;
    border-radius: 0;
}

.footer p {
    font-size: 1rem;
}

.footer .footer-main > .container > .row > div[class*="col-"]:first-child img{
    max-width: 355px;
}

.footer .footer-main > .container > .row > div[class*="col-"]:last-child {
    padding: 30px;
    background-color: var(--secondary-color);
}

.footer .footer-main > .container > .row > div[class*="col-"]:last-child p{
    color: white;
}

.footer .footer-main > .container > .row > div[class*="col-"]:last-child h3{
    font-weight: 500;
}

.footer .footer-main > .container > .row > div[class*="col-"]:last-child aside{
    margin-bottom: 0;
    margin-top: 20px;
}

.footer .form-clencuentro .inner-form__news{
    display: flex;
    width: 100%;
}

.footer .form-clencuentro .inner-form__news p{
    margin-bottom: 0;
}

.footer .form-clencuentro .input-submit{
    flex: 0 0 30%;
}

.footer .form-clencuentro .input-submit input{
    width: 100%;
}

.footer .form-clencuentro input{
    height: 41px;
}

#header.logo-center .header-main .header-right{
    gap: 15px;
}

#header .share-links>a {
    box-shadow: none;
    background: var(--primary-color);
    transition: background .3s ease-in-out;
}

#header .share-links>a:hover {
    background: var(--secondary-color);
}

#header .logo {
    --porto-logo-mw: 320px;
}

#header .header-main .header-left {
    padding: 50px 0;
}

.single-post .entry-content p{
    color: var(--secondary-color);
}

.single-post .entry-content p:first-child::first-letter{
    font-size: 70px;
    font-family: var(--primary-font);
    color: var(--secondary-color);
    font-weight: 600;
    display: block;
}

.post-block__image{
    background-color: #f4f4f4;
    margin-bottom: 50px;
}

.post-block__image > .row > div[class*="col-"]:first-child{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 0 70px;
}

.post-block__image .post-image{
    margin-bottom: 0 !important;
}

.post-block__image .post-image img{
    min-height: 500px;
    object-fit: cover;
    height: 100%;
}

.post-block__image h1{
    font-size: 3rem;
    font-weight: 500;
	line-height: normal;
}

.post-block__image p{
    color: black;
    font-size: 1rem;
}

.post-block__image .sharer{
    display: flex;
    gap: 15px;
}

.post-block__image .sharer address{
    display: flex;
    gap: 10px;
    margin-bottom: 0;
}

.post-block__image .sharer address a{
    color: var(--secondary-color);
    font-size: .9rem;
    transition: color .3s ease-in-out;
}

.post-block__image .sharer address a:hover{
    color: var(--primary-color);
}

.related-posts .sub-title{
    text-transform: inherit;
    font-size: 1.7rem !important;
    font-weight: 500;
}

.related-posts .owl-carousel .owl-item img {
    display: block;
    width: 100%;
    max-height: 215px;
    object-fit: cover;
    height: 100%;
    height: 215px;
}

.single-post hr.tall {
    background: black;
}

.single-post .post-content .sharer{
    display: flex;
    gap: 15px;
    color: var(--secondary-color);
}

.single-post .post-content .sharer address{
    margin-bottom: 0;
    color: var(--secondary-color);
    display: flex;
    gap: 10px;
}

.single-post .post-content .sharer address a{
    color: var(--secondary-color);
}

.sidebar-list__post article + article{
    margin-top: 30px;
}

.sidebar-list__post .post__big_list img {
    height: 325px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.sidebar-list__post .post__big_list .content-post{
    position: absolute;
    z-index: 9;
    bottom: 30px;
    padding: 0 30px;
    width: 100%;
}

.sidebar-list__post .post__big_list .content-post h3{
    text-align: center;
}

.sidebar-list__post .post__big_list .content-post a{
    color: white;
}

.sidebar-list__post .post__small_list{
    display: flex;
    flex-direction: row-reverse;
    gap: 15px;
}

.sidebar-list__post .post__small_list img{
    max-width: 60px;
    height: 60px;
    max-width: 100px;
    height: 100px;
    object-fit: cover;
}

.sidebar-list__post .post__small_list h3{
    font-size: 1rem;
    text-align: left;
    margin-bottom: 0;
}

.sidebar-list__post .post__small_list h3 a{
    color: var(--secondary-color);
}

.sidebar-list__post .post__small_list > a{
    flex: 0 0 100px;
}

.sidebar-list__post .post__small_list .content-post{
    flex: 0 0 calc(100% - 115px);
}

#header .mobile-toggle{
    border-radius: 0;
}

#side-nav-panel .searchform-fields{
    background: white;
}

#side-nav-panel .searchform .btn{
    color: var(--secondary-color);
}

#side-nav-panel .accordion-menu>li.menu-item a {
    font-weight: 500;
    padding: 7px 43px 7px 16px;
    font-family: var(--primary-font);
}

#side-nav-panel .share-links a{
    background-color: var(--primary-color);
    color: white;
    transition: all .3s ease-in-out;
}

#side-nav-panel .share-links a:hover{
    background-color: white;
    color: var(--secondary-color);
}

#side-nav-panel .share-links {
    padding: 0 15px;
    text-align: left;
}

@media screen and (max-width: 768px){
    .header-main .share-links{
        display: none !important;
    }

    .post-block__image > .row {
        flex-direction: column-reverse;
    }

    .post-block__image .post-image img {
        min-height: 250px;
    }

    .post-block__image > .row > div[class*="col-"]:first-child{
        padding: 25px 40px;
    }

    .post-content > .row > div[class*="col-"]:first-child{
        margin-bottom: 40px;
    }

    [class*="post__"]:not(.post__v4):not(.post__v5):not(.post__small_list):not(.post__big_list) {
        border: 1px solid #00000040;
    }

    .post__v2 .content-post {
        position: relative;
        bottom: 0;
        padding: 30px;
        background: white;
    }

    .post__v2 .content-post .content-block{
        padding: 0;
    }

    .post__v4 {
        margin-top: 30px;
    }

    .footer .form-clencuentro input {
        width: 100%;
    }
    
}