@import "../components/Headers/headerCentered.css";
@import "../components/filters.css";
@import "../components/news-card.css";

#news-archive {
    z-index: 5;
}
.blog-utils {
    align-items: center;
}
.blog-utils .wospee-search-form-container {
    position: relative;
    width: 20.052vw;
}
.blog-utils input.search-article {
    margin-bottom: 0;
    width: 100%;
    min-width: unset !important;
    box-sizing: border-box;
    color: var(--color-green--);
}
.blog-utils .search-button-container {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
}
.blog-utils .search-button-container img {
    height: 0.729vw; /*14*/
    width: 0.729vw; /*14*/
    min-height: 14px;
    min-width: 14px;
}

.blog-tags {
    min-width: 185px;
}
.open-blog-tags {
    position: relative;
    padding-right: 2.917vw; /*56*/
}
.open-blog-tags:after {
    content: '';
    display: block;
    width: 0.938vw; /*18*/
    height: 0.677vw; /*13*/
    min-width: 18px;
    min-height: 13px;    
    background-image: url(/wp-content/uploads/2024/02/blog-tags.png);
    position: absolute;
    top: 50%;
    right: 12%;
    transform: translateY(-50%);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.open-blog-tags.active:after,
.open-blog-tags:hover:after {
    background-image: url(/wp-content/uploads/2024/02/blog-tags-actived.png);
}
.open-blog-tags:hover {
    cursor: pointer;
}

.vertical-separator {
    flex-grow: 1;
    position: relative;
    display: flex;
    justify-content: center;
    height: 1.719vw;
    min-height: 33px;
}
.vertical-separator:before {
    content: '';
    display: block;
    height: 100%;
    width: 0.052vw; /*1*/
    background-color: #B7C6C1;
    margin-left: 0.521vw;
    margin-right: 0.521vw;    
}

.blog-utils.d-flex-nw {
    padding-bottom: 1.563vw; /*30*/
    border-bottom: 0.052vw solid #CADBD5;
}
.blog-articles {
    padding-top: 1.563vw; /*30*/
}


/* BLOG TAGS
--------------------------------------------------------------------------------*/
    .open-blog-tags.active {
        border: 1px solid var(--color-green);
        color: var(--color-green);
        background-color: #fff;
    }
    .blog-articles {
        position: relative;
    }
    #blog-tags {
        position: absolute;
        top: 0;
        right: 0;
        width: auto;
        min-width: 315px;
        z-index: 4;
        background-color: var(--color-pure-white);
        box-shadow: 0px 0.208vw 0.5vw 0.021vw rgba(0, 0, 0, 0.05);
        border-bottom-right-radius: 0.781vw; /*15*/
        border-bottom-left-radius: 0.781vw; /*15*/
    }
    #blog-tags.active {
        display: block !important;
    }
    #blog-tags .tags-title p {
        font-weight: 500;
        margin-bottom: 0.781vw; /*15*/
        letter-spacing: 0.02em;
        line-height: 1;
    }
    #blog-tags .filter-button a {
        border: 0.052vw solid var(--color-green--); /*1*/
        box-shadow: unset;
    }
    #blog-tags .filter-button a.current-category {
        border-color: var(--color-green) !important;
        pointer-events: none;
    }

    #blog-tags .blog-tags-container-inner {
        padding: 2.083vw; /*40*/
    }
    #blog-tags .filter-button.cat-item {
        margin-bottom: 1.042vw; /*20*/
    }
    #blog-tags .filter-button.cat-item:last-child {
        margin-bottom: 0;
    }
    #blog-tags .filter-button a:hover,
    #blog-tags .filter-button a.current-category {
        background-color: var(--color-green--) !important;
        border-color: var(--color-green--) !important;
        color: #fff !important;
    }    

    #newsletter {
        background-color: #fff;
    }

/* Media query */
@media screen and (max-width: 1920px) {
	.vertical-separator:before {
	    width: 1px; /*1*/
        margin-left: 20px;
        margin-right: 20px;
	}
	.blog-utils.d-flex-nw {
	    border-bottom: 1px solid #CADBD5;
	}

    .blog-utils.d-flex-nw {
        padding-bottom: 30px; /*30*/
    }
    .blog-articles {
        padding-top: 30px; /*30*/
    }
 
     #blog-tags {
        box-shadow: 0px 4px 9px 0.4px rgba(0, 0, 0, 0.05); /*0 4 9 0.4*/
        border-bottom-right-radius: 15px; /*15*/
        border-bottom-left-radius: 15px; /*15*/
    }
    #blog-tags .tags-title {
        margin-bottom: 15px; /*15*/
    }
    #blog-tags .filter-button a {
        border: 1px solid var(--color-green--); /*1*/
    }
    .search-button-container {
        width: 45px;
        min-width: 45px;
    }    
}

/* Big Laptops - Ok until 1441 px
------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 1690px) {
    .blog-utils .wospee-search-form-container {
        width: 16vw;
    }

    .blog-utils .search-button-container img {
        min-height: 13px;
        min-width: 13px;
    }
    .blog-tags {
        min-width: 165px;
    }

    .open-blog-tags:after {
        min-width: 17px;
        min-height: 12px;
        right: 10%;
    }
}

/* Standard Laptops - Ok until 1281px
------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 1440px) {

}

/* Small Laptops - Ok until 1150px
------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 1280px) {
    .blog-utils .search-button-container img {
        min-height: 12px;
        min-width: 12px;
    }
    .search-button-container {
        width: 40px;
        min-width: 40px;
    }

    #blog-tags .blog-tags-container-inner {
        padding: 30px;
    }
    #blog-tags .filter-button.cat-item {
        margin-bottom: 15px;
    }
}

/* Small Laptops - Ok until 993px
------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 1150px) {

}

/* Mobile Start ok until 768px
------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 992px) {
    .blog-utils {
        flex-flow: wrap;
        text-align: unset;
    }
    .vertical-separator {
        display: none;
    }
    .blog-search {
        width: 50%;
    }
    #blog-filters {
        width: 100%;
        margin-bottom: 10px;
    }
    .blog-utils .wospee-search-form-container {
        width: 100%;
    }
    .blog-tags {
        margin-left: auto;
    }
    .search-button-container {
        width: 35px;
        min-width: 35px;
    }

    #blog-tags .blog-tags-container-inner {
        padding: 30px;
    }

    .four-col-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
    }
}

/* Mobile Landscape
------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 767px) {
    #blog-filters {
        width: 100%;
    }

    .blog-tags {
        min-width: 150px;
    }
    #blog-tags {
        min-width: 300px;
    }
    .open-blog-tags:after {
        min-width: 16px;
        min-height: 11px;
        right: 8%;
    }


    .four-col-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

/* Mobile port
------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 600px) {
    .four-col-grid {
        grid-template-columns: 1fr;
        gap: 15px 0;
    }
    .highlighted-news {
        grid-column: unset;
    }    
}