/* Articles Header */
.article_header{ height: 220px; background: url(../images/article_header.jpg) center no-repeat; display: flex; align-items: center;}
.article_header > div{position: relative; display: flex; justify-content: space-between; align-items: center; gap:20px;}
.article_header .article_search_title{display: flex; align-items: center;}
.article_header .article_search_title h1{font-size: 46px; line-height: 1; margin: 0; font-weight: bold; text-transform: capitalize; color: #fff;}

/*Article Search Form*/
.search_form_container{width: 400px; flex-shrink: 0;}
.article-search-form{display: flex; align-items: center; width: 100%; height: 50px; border:0; overflow: hidden; border: none;
    background: #fff; position: relative; border-radius: 25px; overflow: hidden;}
.article-search-form input[type=text]{width: calc(100% - 60px); padding: 0 20px; box-sizing: border-box; background: none; height: 100%; border:0; 
    outline:0; color: #343434; font-size: 14px;}
.article-search-form input[type=text]::placeholder{color: inherit; font-size: inherit; font-family: inherit;}
.article-search-form input[type=submit]{width: 60px; flex-shrink: 0; height: 100%; background: url(../images/search.svg) no-repeat center; 
    cursor: pointer; border:0; outline:0; padding: 0; position: relative;}

/*Article Category*/
.category_wrap{padding: 20px 0; background: #fff; margin-bottom: 30px;}
.category_wrap > div{display: flex; align-items: center; flex-wrap: wrap;}
.category_wrap .category_container{display: flex; flex-wrap: wrap; align-items: center; gap: 10px; height: 100%;}
.category_wrap a{padding: 0 22px; line-height: 40px; background: #869077; color: #fff; font-size: 14px; transition: ease-in-out all .3s; 
    text-transform: capitalize; border-radius: 26px;}
.category_wrap a:hover{background: #A1B965;}

/*Article Search*/
.article-search-results{display: flex; align-items: flex-start; flex-wrap: wrap;}

/*Search Pager*/
.search-pager{ margin: 20px 0; height: 80px; display: flex;  align-items: center;}
.search-pager > div{width: 100%; display: flex; height: 100%; flex-direction: row; justify-content: center; align-items: center; 
    position: relative; margin: 0; background: #FFFFFF; border-radius: 4px; overflow: hidden;}
.search-pager > div > a{height: 100%; width: 30px; color: #686765; font-size: 20px; position: relative; display: flex; align-items: center; 
    justify-content: center; font-weight: 400; text-decoration: underline; }
.search-pager > div > a.pager-prev{position: absolute; left: 0; top: 0; width: 60px; height: 100%;}
.search-pager > div > a.pager-prev::after{content: ""; height: 18px; width: 18px; position: absolute; left: 20px; top: calc(50% - 9px); 
    border:solid #7D807A80; border-width: 0 0 3px 3px; transform: rotate(45deg); transition: ease-in-out all .3s;}
.search-pager > div > a.pager-next{position: absolute; right: 0; top: 0; width: 60px; height: 100%;}
.search-pager > div > a.pager-next::after{content: ""; height: 18px; width: 18px; position: absolute; right: 20px; 
    top: calc(50% - 9px); border:solid #7D807A80; border-width: 3px 3px 0 0; transform: rotate(45deg); transition: ease-in-out all .3s;}
.search-pager > div > a.active{color: #292929; font-weight: bold; text-decoration: none;}
.search-pager > div > a.pager-prev:hover::after{border-color: #7D807A;}
.search-pager > div > a.pager-next:hover::after{border-color: #7D807A;}

/* Article Block */
.article {width: 33.33333333%; }
.article > div{display: flex; position: relative; flex-direction: column; margin:0 8px 40px 8px; border-radius: 10px; overflow: hidden;}
.article .art-image { height: 358px; width: 100%; display: flex; align-items: flex-start; position: relative; overflow: hidden;}
.article .art-image > a{height: 100%; width: 100%; background-position: center; background-color: #ededed; background-size: cover; 
    background-repeat: no-repeat; transition: ease-in-out all .3s;}
.article .art-category{position: absolute; left: 20px; bottom: 20px; display: flex; gap:5px; flex-wrap: wrap; pointer-events: none;}
.article .art-category a{color: #fff; border-radius: 25px; line-height:40px; padding:0 20px; background: #869077; font-size: 14px;
    pointer-events: initial; transition: ease-in-out all .3s;}
.article .art-info {padding:40px 20px; background: #fff; display: flex; flex-direction: column; justify-content: center; gap: 20px; position: relative;}
.article .art-date{font-size: 16px; color:#343434; font-weight: 300; height: 25px; display: flex; align-items: center;}
.article .art-date span{display: flex; align-items: center; gap:10px;}
.article .art-title  {line-height: 32px; display: flex; align-items: flex-start; width: 100%; height: 68px; overflow: hidden;}
.article .art-title a {color: #1A1A1A; font-size: 24px; line-height: 34px; font-weight: bold; text-decoration: none; transition: ease-in-out all .3s;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.article .art-footer{display: flex; justify-content: space-between; align-items: center; margin-top: 20px;}
.article .art-footer a{font-size: 17px; color: #6B735F; font-weight: bold; line-height: 54px; display: flex; align-items: center; 
    transition: ease-in-out all .3s; border: 1px solid #6B735F; padding: 0 30px; border-radius: 27px; font-weight: 500;}

.article > div:hover .art-footer a{border-color: #A1B965; color: #A1B965;}
.article > div:hover .art-image  > a{transform: scale(1.05);}
.article .art-category a:hover{background: #A1B965; border-color: #A1B965; }


/* Article Details */
.article_image{text-align: center; min-height: 30px; position: relative; margin-bottom: 40px;}
.article_image img{border-radius: 12px;}
.article_info{margin-bottom: 40px; display: flex; flex-direction: column; align-items: flex-start; gap:30px;}
.article_title{font-size: 46px; line-height: 1; font-weight: bold; color: #1A1A1A; margin-bottom:0; padding: 0;}
.article_date{font-size: 16px; color: #6B735F; }
.article-description{margin-bottom: 20px;}
.article-description :is(p, li){font-size: 16px; color: #343434; line-height:30px; font-weight: 300;}
.article_back, .article_back:hover{color: #343434; font-weight:400; line-height: 28px; text-decoration: underline;}

.article_details > div > div{padding: 0 15px}
.article_details > div > .article_left{width: calc(100% - 536px); padding: 0 8px 0 15px;}
.article_details > div > .article_right{width: 536px; flex-shrink: 0; padding: 0 15px 0 8px}

/*Article Sidebar*/
.article_sidebar{ margin-bottom:30px; background: #fff; border-radius: 12px; padding: 20px 0;}
.article_sidebar > header{padding: 0 20px; margin: 0 0 20px 0;
    display: flex; align-items: center; flex-direction: column; justify-content: center; width: 100%; position: relative; border-radius: 12px;}
.article_sidebar > header >h2{font-size: 28px; color: #1A1A1A; margin: 0; font-weight: bold;}
.article_sidebar > header >span{color: #1A1A1A; font-size: 18px; font-weight: 300;}
.article_sidebar .as_article{padding: 20px; background: #fff; margin-bottom: 10px; display: flex; align-items: flex-start; gap:20px;}
.as_image{height: 106px; width: 160px; border-radius: 4px; background-size: cover; background-repeat: no-repeat; 
    background-position: center; flex-shrink: 0; cursor: pointer;}
.article_sidebar .as_content{display: flex; flex-direction: column; gap:10px; width: 100%; flex: 1;}
.as_title{font-size: 18px; line-height: 30px; color:#343434; transition:ease-in-out all .3s; height: 85px; overflow: hidden;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-weight: 500;}
.as_footer{display: flex; align-items: center;}
.as_read{font-size: 17px; color: #343434; line-height: 26px; position: relative; text-decoration: underline;}
.as_read:hover{color: #343434;}
.article_sidebar .as_title:hover{color:#343434;}

.as_offer{padding: 40px 20px; background: url(../images/blog-cta-lg.jpg) center no-repeat; background-size: cover; display: flex; align-items: flex-end; height: 350px; width: 100%; border-radius: 10px; overflow: hidden;}
.as_offer > div{display: flex; flex-direction: column; align-items: flex-start; gap:30px;}
.as_offer h4{margin: 0; color: #fff; font-size: 24px; line-height: 34px;}
.as_offer a{color: #fff; border: 1px solid #fff; font-size: 17px; font-weight: 500; line-height: 56px; padding: 0 30px; border-radius: 27px; 
    transition: ease-in-out all .3s;}

/*Article Footer*/
.article_footer_container{width: 100%;}
.article_footer{background:#EDEFEA; margin-top: 50px; padding: 110px 0 90px; }
.article_footer > div{position: relative; display: flex; flex-direction: column; gap:30px;}
.article_footer header{display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px;}
.article_footer header h2{font-size: 32px; font-weight: bold; color: #1A1A1A; text-transform: uppercase; margin: 0;}
.article_footer header span{font-size: 24px; font-weight: 500; color: #fff;}
.article_footer .associated_articles_container{display: flex; position: relative; flex-direction: column; width: 100%;}
.article_footer .associated_articles {width: 100%;}
.article_footer .associated_articles .article > div{margin: 0;}

.associated_pagination {display: flex; align-items: center; justify-content: center; gap:15px; margin-top: 20px; height: 40px;}
.associated_pagination .associated_bullet{height: 10px; width: 10px; border-radius: 100%; position: relative; display: flex; align-items: center; 
    justify-content: center; cursor: pointer; transition:ease-in-out all .3s; background: #fff;} 
.associated_pagination .associated_bullet.active{height: 20px; width: 20px; background: #A1B965;}
.associated_pagination.swiper-pagination-lock{display: none;}

.article_footer footer{display: flex; align-items: center; justify-content: center;}
.article_footer footer a{line-height: 54px; color: #fff; background: #869077; border-radius: 27px; padding: 0 30px; font-size: 17px; font-weight: 500;
    transition: ease-in-out all .3s; border:1px solid #869077;}
.article_footer footer a:hover{background-color: transparent; color:#869077; }

/* Article List Module*/
.article-list-module { position: relative; padding: 100px 0;}
.article-list-module > div{position: relative; display: flex; flex-direction: column; align-items: center; gap:40px;}
.article-list-module > div > div{width: 100%;}
.article-list-module .al_header{display: flex; flex-direction: column; justify-content: center; align-items: center; gap:10px;}
.al_header .al_heading{margin: 0; font-size: 32px; color: #1A1A1A; line-height: 40px; font-weight:bold;}
.al_header .al_subheading{font-size: 20px; line-height: 28px; font-weight: 300; color: #1A1A1A; margin: 0;}

.al_button{display: flex; align-items: center; justify-content: center;}
.al_button a{line-height: 56px; color: #fff; background: #869077; border-radius: 27px; padding: 0 30px; font-weight: 500; font-size: 17px;
    transition: ease-in-out all .3s;}
.al_button a:hover{background: #A1B965; border-color: #A1B965;}

/*Article List View*/
.article-list-module.list{padding: 30px 0;}
.article-list-module.list .article-slider .swiper-wrapper{flex-wrap: wrap; display: flex; margin: 0;}
.article-list-module.list .article{width: 33.333333333%;}
.article-list-module.list .article > div{margin: 0 15px 40px 15px;}
.article-list-module.list :is(.art_pagination){display: none;}

/*Article Carousel View*/
.article-list-module.carousel .article > div{margin: 0;}

/*Article Carousel Pagination*/
.art_pagination {display: flex; align-items: center; justify-content: center; gap:15px; height: 40px;}
.art_pagination .art_bullet{height: 10px; width: 10px; border-radius: 100%; position: relative; display: flex; align-items: center; 
    justify-content: center; cursor: pointer; transition:ease-in-out all .3s; background: #fff;} 
.art_pagination .art_bullet.active{height: 20px; width: 20px; background-color: #A1B965;}
.art_pagination.swiper-pagination-lock{display: none;}

.arts_nav_prev{height: 60px; width: 40px; position: absolute; left: -40px; top: calc(50% - 30px); z-index: 20;}
.arts_nav_prev::after{content: ""; height: 22px; width: 22px; border:solid #000; border-width:0 0 5px 5px; transform:rotate(45deg); position: absolute; 
    right:4px; top:20px; transition: ease-in-out all .3s;}
.arts_nav_next{height: 60px; width: 40px; position: absolute; right: -40px; top: calc(50% - 30px); z-index: 20;}
.arts_nav_next::after{content: ""; height: 22px; width: 22px; border:solid #000; border-width:5px 5px 0 0; transform:rotate(45deg); position: absolute; 
    left:4px; top:20px; transition: ease-in-out all .3s;}
.arts_nav_disabled::after{border-color: #959494;}



/************Responsive states**************/

@media (min-width: 1200px) and (max-width:1400px) {

    /*Article Block*/
    .article .art-image{height:290px;}
}


/* Desktop */
@media (min-width:992px) and (max-width:1199px) {

    /*Search Page*/
    .search_form_container{width: 280px;}
    .category_wrap .category_container{gap:15px;}

    /*Article block*/
    .article > div{margin: 0 5px 30px 5px;}
    .article .art-image{height: 250px;}
    .article .art-title a{font-size: 24px;}

    /*Details Page*/
    .article_details > div > .article_left{width: calc(100% - 400px);}
    .article_details > div > .article_right {width: 400px;}
    .article_image .article_title{font-size: 32px;}

    /*Article List Module*/
    .article-list-module.list .article > div{margin: 0 5px 30px 5px;}
   
}

/*Mobile & Tablet*/
@media (max-width:991px){

    /*Article Block*/
    .article .art-footer{margin: 0;}

    /*Article Details*/
    .article_details > div > .article_left{flex: initial; width: 100%;}
    .article_details > div > .article_right{width: 100%; padding: 0 10px; margin-top: 40px; display: flex; align-items: center; flex-direction: column; justify-content: center;}


}

/*Tablet*/
@media (min-width:768px) and (max-width:991px) {

    /*Search Page*/
    .search_form_container{width: 270px;}

    /*Article Block*/
    .article{width: 50%;}
    .article > div{margin: 0 3px 40px 3px;}
    .article .art-image{height: 244px;}
    .article .art-title a{font-size: 20px;}

    /*Details Page*/
    .as_image{width: 100px; height: 66px;}
    .as_title{height: initial; display: flex;}

    /*Article Sidebar*/
    .article_sidebar{width: 735px; padding: 30px 0;}
    .as_offer{height: 480px; width: 735px; background-image: url(../images/blog-cta-md.jpg);}

    /*Article List Module*/
    .article-list-module.list .article{width: 50%;}
    .article-list-module.list .article > div{margin: 0 7px 20px 7px;}

}

/*Mobile*/
@media (max-width:767px) {

    /*Search Page*/
    .articles .col-12{padding: 0 10px;}
    .article_header{height: initial; min-height: 220px; padding: 40px 0; background-image:url(../images/article_banner_sm.jpg); background-size: cover;}
    .article_header > div{flex-direction: column; gap:40px;}
    .article_header .article_search_title h1{font-size: 32px; text-align: center;}
    .search_form_container{width: 100%;}
    .article-search-results{flex-direction: column; align-items: center; justify-content: flex-start;}
    .category_wrap .category_container{gap:8px;}
    .category_wrap a{font-size: 12px;}

    /*Articles Pager*/
    .search-pager > div > a {width: 20px; font-size: 17px;}

    /*Article Block*/
    .article{width: 300px;}
    .article > div{margin:0 0 40px 0; }
    .article .art-image{height: 195px;}
    .article .art-title{height: 56px;}
    .article .art-title a{font-size: 18px; line-height: 28px;}
    .article .art-date span{font-size: 14px;}
    .article .art-footer a{font-size: 14px; line-height: 50px;}
    .article .art-category a{font-size: 12px;}

    /*Article Details*/
    .article_title{font-size: 32px; line-height: 40px;}
    .article-description :is(p,li){font-size: 14px; line-height: 28px;}

    /*Sidebar*/
    .article_sidebar{width: 290px; padding: 30px 0;}
    .article_sidebar > header >h2{text-align: center;}
    .as_offer{height:236px; width: 290px; background-image: url(../images/blog-cta-sm.jpg);}
    .as_offer > div{gap:10px;}
    .as_offer h4{font-size: 18px; line-height: 24px;}
    .as_offer a{font-size: 12px;}
    .article_sidebar .as_article{flex-direction: column;}
    .as_title{height: initial; display: flex;}

    /*Related Articles*/
    .article_footer{padding: 80px 0 60px; }
    .article_footer header{flex-direction: column;}
    .article_footer header h2{font-size: 32px;}
    .article_footer .associated_articles{width: 290px;}

    /*Article List*/
    .article-list-module{padding: 60px 0;}
    .article-list-module.list{padding: 30px 0;}
    .al_header{flex-direction: column;}
    .al_heading_container{justify-content: center;}
    .article-list-module > div > div.article-slider{width: 290px;}
    .article-list-module.list .article{width: 100%;}
    .al_header .al_heading{font-size: 22px; line-height: 28px;}
    .al_header .al_subheading{font-size: 18px; line-height: 22px;}
    .article-list-module.list .article > div{margin: 0 0 30px 0;}
}
