/*
Theme Name: Al Maraya Blog
Author: Muhsina AT
Description: The 2024 Custom build wordpress.
Version: 5
*/
@font-face {font-family: "Lucian Schoenschrift CAT";src: url(fonts/LucianSchoenschriftCAT.ttf)}
@media only screen and (max-width : 430px){
.elementor-top-section {
    position: relative;
    width: 100%;}
    .elementor-12 .elementor-element.elementor-element-f2aa466 .miga_custom_posts_row a {
        margin-right: 10px;}
.elementor-12 .elementor-element.elementor-element-f2aa466 .miga_custom_posts_post_title {
    text-align: center;}

}

.elementor-282 .elementor-element.elementor-element-326f3549 .wpr-mobile-toggle-line {
    background-color: #0b73b1;

}
.elementor-282 .elementor-element.elementor-element-326f3549 .wpr-mobile-toggle:hover {
    border-color: #0b73b1;
}
.elementor-282 .elementor-element.elementor-element-326f3549 .wpr-mobile-toggle:hover .wpr-mobile-toggle-line {
    background-color: #0b73b1;
}
.elementor-282 .elementor-element.elementor-element-326f3549 .wpr-mobile-nav-menu a:hover, .elementor-282 .elementor-element.elementor-element-326f3549 .wpr-mobile-nav-menu a.wpr-active-menu-item {
    background-color: #0b73b1;
}
.elementor-282 .elementor-element.elementor-element-326f3549 .wpr-mobile-nav-menu {
    padding: 11px 0px;
}



body.blog .container{
    padding: 0 15px;
}
.hfe-dropdown-expandible.menu-is-active{
    position: fixed !important;
    top: 0 !important;
    right: 0;
    left: auto !important;
    width: 30% !important;
    padding: 100px 5% 5%;
    height: 100vh;
    z-index: 0 !important;
}
.hfe-dropdown-expandible ul.hfe-nav-menu{
    overflow-y: scroll;
    height: 100%;
}
.hfe-nav-menu__toggle.hfe-active-menu{
    position: fixed;
    top: 5%;
    right: calc( 22% - 20px );
    z-index: 1;
}
.hfe-dropdown-expandible ul.hfe-nav-menu::-webkit-scrollbar {
    width: 0;
}
.hfe-dropdown-expandible ul.hfe-nav-menu::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #6ea007; 
    border-radius: 10px;
}
.hfe-dropdown-expandible ul.hfe-nav-menu::-webkit-scrollbar-thumb {
    background: #0A4436; 
    border-radius: 10px;
}
.hfe-dropdown-expandible ul.hfe-nav-menu::-webkit-scrollbar-thumb:hover {
    background: #09362B; 
}
.hfe-dropdown-expandible ul li a{
    text-transform: uppercase;
    padding: 4.5px 24px !important;
    width: fit-content;
    min-width: 183px;
    margin: 1px 0;
    border-style: solid !important;
    border-color: #fff !important;
    border-width: 0px !important;
}
.hfe-dropdown-expandible ul li a:hover{
    border-width: 1px !important;
    padding: 3.5px 23px !important;
}
.container-fluid.title{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.container-fluid.title:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0A443666;
}
.container-fluid.title .container{
    height: 100vh;
    background-size: 60%;
    background-position: center bottom;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}
.container-fluid.title h1{
    font-family: "Outfit";
    font-weight: 300;
    font-size: 60px;
    line-height: 78.7px;
    color: #fff;
    margin: auto;
    max-width: 802px;
    text-transform: uppercase;
}
.popularBlogs{
    padding: 60px 12px;
}
.popularBlogs h2{
    color: #546A77;
    font-family: "Outfit", Sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 74.7px;
   
    margin-bottom: 99px;
}
.popularBlogs h2 span{
    text-transform: uppercase;
}
.popularBlogs h2 span em{
    font-style: normal;
    font-weight: 300;
    color: #D8232D;
    position: relative;
}
.popularBlogs h2 span em:after{
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    height: 5px;
    width: 100%;
    z-index: 1;
    background-color: #6ea007;
}
.popularBlogs h2 span em:before{
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    height: 5px;
    width: 50%;
    z-index: 2;
    background-color: #D8232D;
}
.popularBlogs .posts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-gap: 45px 42px;
}
.popularBlogs .popular-post .blogImg{
    display: flex;
    background-color: #094438;
    border-radius: 20px;
    overflow: hidden;
    height: fit-content;
}
.popularBlogs .popular-post .blogImg:hover img{
    opacity: 1;
}
.popularBlogs .popular-post .blogImg img{
    opacity: .7216;
    width: 100%;
    object-fit: cover;
    transition: .5s all ease-in-out;
    height: 204px;
}
.popularBlogs .popular-post h4{
    margin: 0;
}
.popularBlogs .popular-post h4 a{
    font-family: "Outfit", sans-serif;
    font-weight: 300;
    font-size: 35px;
    line-height: 42px;
    color: #0D4638;
    text-decoration: none;
    margin: 0 0 25px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.popularBlogs .popular-post p{
    font-family: "Outfit", sans-serif;
    font-weight: 100;
    font-size: 16px;
    line-height: 20px;
    color: #0D4638;
    margin: 0 0 35px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.popularBlogs .popular-post .readMore{
    font-family: "Outfit", sans-serif;
    font-weight: 100;
    font-size: 15px;
    line-height: 25px;
    color: #244737;
    padding: 3px 11px;
    border-radius: 6px;
    border: 1px solid #244737;
    text-decoration: none;
}
.popularBlogs .popular-post:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / 4;
}
.popularBlogs .popular-post:first-child p{
    display: none;
}
.popularBlogs .popular-post:first-child h4{
    margin: 0;
}
.popularBlogs .popular-post:first-child h4 a{
    font-size: 39px;
    line-height: 49.7px;
    margin: 29px 0 40px;
}
.popularBlogs .popular-post:first-child img{
    height: 553.94px;
}
.popularBlogs .popular-post:nth-child(n+2) {
    display: flex;
    gap: 0 10%;
}
.popularBlogs .popular-post:nth-child(n+2) .blogImg{
    width: 35%;
}
.popularBlogs .popular-post:nth-child(n+2) .content{
    width: 55%;
}
.madinaBlogs{
    padding: 60px 12px 114px;
    background-color: #EAEAEA;
   
}
.madinaBlogs h2{

    font-weight: 400;
    line-height: 74px;
    margin: 0 0 81px;
      color: #546A77;
    font-family: "Outfit", Sans-serif;
    font-size: 40px;
}
.madinaBlogs h2 span{
    font-weight: 300;
    color: #D8232D;
}
.madinaBlogs .posts-grid{
    display: flex;
    flex-wrap: wrap;
    gap: 95px 99px;
}
.madinaBlogs .post-item{
    display: flex;
    flex-direction: column;
    width: calc( 33.33% - 66px );
}
.madinaBlogs .post-item .blogImg{
    display: flex;
    height: fit-content;
    overflow: hidden;
    border-radius: 20px;
    margin: 0 0 40px;
}
.madinaBlogs .post-item a img{
    width: 100%;
    height: 320px;
    opacity: .4;
    transition: .5s all ease-in-out;
    object-fit: cover;
}
.madinaBlogs .post-item .blogImg:hover img{
    opacity: 1;
}
.madinaBlogs .post-item h4 a{
    font-family: "Outfit", sans-serif;
    font-weight: 300;
    font-size: 26px;
    line-height: 36px;
    color: #707070;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.madinaBlogs #load-more{
    display: flex;
    margin: 101px auto 0px;
    border: 0;
    background-color: transparent;
    padding: 0;
    font-family: "Outfit", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #094337;
    align-items: center;
}
.madinaBlogs #load-more img{
    width: 15px;
    height: 9px;
    object-fit: contain;
    margin: 0 0 0 13px;
}
body.single .blogSection{
    margin-top: 80px;
}

@media screen and ( max-height: 700px ){
    .hfe-dropdown-expandible ul.hfe-nav-menu::-webkit-scrollbar {
        width: 5px;
    }
}
@media screen and (max-width: 1200px){
    .container-fluid.title .container{
        height: 750px;
        background-size: 50%;
    }
    .madinaBlogs .post-item a img{
        height: 200px;
    }
}
@media screen and (max-width: 991px){
    .popularBlogs h2,
    .madinaBlogs h2{
        font-size: 40px;
        line-height: 50.7px;
        margin-bottom: 40px;
    }
    .popularBlogs .posts-grid{
        display: flex;
        flex-direction: column;
        gap: 35px 42px;
    }
    .popularBlogs .popular-post:first-child img {
        height: 400px;
    }
    .popularBlogs {
        padding: 60px 12px;
    }
    .madinaBlogs{
        padding: 60px 12px;
        margin-bottom: -50px;
    }
    .madinaBlogs .posts-grid{
        gap: 40px 40px;
    }
    .madinaBlogs .post-item{
        width: calc(56.33% - 65px);
    }
    .madinaBlogs .post-item .blogImg{
        margin: 0 0 20px;
    }
    .madinaBlogs #load-more{
        margin: 40px auto 0px;
    }
    body.single .blogSection{
        margin-top: 60px;
    }
    .hfe-dropdown-expandible.menu-is-active{
        width: 45% !important;
    }
    .hfe-nav-menu__toggle.hfe-active-menu{
        right: calc( 35% - 20px );
    }
}
@media screen and (max-width: 767px){
    .container-fluid.title .container{
        height: 400px;
    }
    .container-fluid .container h1{
        font-size: 34px;
        line-height: 40.7px;
        max-width: 450px;
    }
    .popularBlogs h2, .madinaBlogs h2 {
        font-size: 28px;
        line-height: 38.7px;
    }
    .popularBlogs .popular-post:first-child img {
        height: 300px;
    }
    .popularBlogs .popular-post:first-child h4 a {
        font-size: 22px;
        line-height: 30px;
        margin: 15px 0 30px;
    }
    .popularBlogs .popular-post h4 a,
    .madinaBlogs .post-item h4 a{
        font-size: 22px;
        line-height: 30px;
        margin: 0 0 15px;
    }
    .popularBlogs .popular-post p {
        font-size: 14px;
        line-height: 22px;
        margin: 0 0 20px;
    }
    .madinaBlogs .post-item {
        width: 100%;
    }
    .madinaBlogs .post-item h4 a {
        font-size: 22px;
        line-height: 30px;
    }
    .popularBlogs .popular-post:nth-child(n+2) {
        gap: 0 5%;
    }
    .popularBlogs .popular-post:nth-child(n+2) .blogImg {
        width: 45%;
    }
    .popularBlogs .popular-post:nth-child(n+2) .content {
        width: 50%;
    }
    .popularBlogs .popular-post .blogImg img{
        height: 170px;
    }
    .popularBlogs h2 span em:after,
    .popularBlogs h2 span em:before{
        bottom: -5px;
    }
    .hfe-dropdown-expandible.menu-is-active{
        width: 60% !important;
    }
    .hfe-nav-menu__toggle.hfe-active-menu{
        right: calc( 48% - 20px );
    }
}