@import'variables';
@import'header';
@import'social-header';
@import'sidebar';
@import'single-posts';
@import'footer';


@media only screen and(min-width: 1400px){
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1320px;
   }
}

.latest-posts{
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    display:inline-block ;
    border-bottom: solid 2px $links;
}


// adding spacing to post details
.details {
    display: grid;
    justify-content: center;
   a {
        margin: 0px 2px;
        color: #fff;
    }
}
//  adding styles to .entry-title


h2.entry-title a{
    color: $links;
    &:hover{
     color: $mast-head !important;
    }
}

//adding styles to paragraphs 

p{
    line-height: 1.5rem;
    text-align: justify;
    font-family: 'Poppins', sans-serif;
}

//  adding styles to post titles
a.wp-block-latest-posts__post-title {
    color: $links;
    text-decoration: none;
}
//   adding styles to latest comments author
a.wp-block-latest-comments__comment-author {
    color: $links;
}
    .wp-block-latest-posts__post-title{
    line-height: 2.3rem;
    color: $links;

    }
    // latest comments link
    .wp-block-latest-comments__comment-link{
        color: $links;
    }
    .attachment-post-thumbnail{
        margin-top: .75rem;
    }

    //  adding styles to date post on
    .posted-on{
    padding: 1rem 0rem;
    color: #fff;
    }

    // adding styles to .comments-link
    .comments-link a{
    padding: 1rem 0rem;
    color: $links;
    }

    .post{
        padding: .5rem;
    }
  .wp-block-archives a{
    color: #fff;;
  }
  .wp-block-categories a{
    color: #fff;
  }

   
//  adding styles to submit button
input#submit{
    background-color:$btn-color;
    padding: 1rem;
        &:hover{
            background:darken($btn-color,10%);
        }
    }
  
    //  adding styles to the search buttons inside .widget-area
    button.wp-block-search__button{
    background-color:$btn-color;
        &:hover{
            background: lighten($btn-color, 15%);
        }
    }
 
    body{
        background:#f7f8f9;
        }
    .post{
        margin-bottom: 3rem !important;
        padding: 3rem;
        background: #fff;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
       
    }

  .page{
    margin: 0px;
  }
  
//  underlining links 
.entry-content a {
   text-decoration: underline; 
 }
 .entry-title a{
    color: $main-color !important;
    &:hover{
        color: $utility-color !important;
        text-decoration: none;
    }
 }

//  adding margins to ::content
.row{
    margin-top: 3rem;
}
h3{
    font-size: 1.1rem;
    text-align: center;
   
    a{
        color:#fff;
        font-size: 700;
        &:hover{
            color: $links;
            text-decoration: none;
        }
    }   
}



.col-md-3 a img{
        max-width: 100%;
        height:200px;
        transition: filter .5s ease-in-out;
        -webkit-filter: grayscale(0%); /* Ch 23+, Saf 6.0+, BB 10.0+ */
        filter: grayscale(0%); /* FF 35+ */
        object-fit: contain;
        &:hover{
          
            -webkit-filter: grayscale(100%); /* Ch 23+, Saf 6.0+, BB 10.0+ */
            filter: grayscale(100%); /* FF 35+ */
            }
        }

        
        .col-md-3 a img{
            background: linear-gradient(#1d9bc5 0 0) 0 / var(--p, 0%) no-repeat;
            transition: .5s, background-position 0s;
          }
          figure a img:hover {
            --p: 100%;
            background-position: 100%;
          }
           figure a img:hover{
            background: linear-gradient(45deg, black, transparent);
            z-index: 999;
            transition: 2s all ease;
          }

        //   styling the featured area 

        .row.custom-loop {
            .col-md-4{
                padding: 1rem;
            }
        }
    
       .featured-area-header{
        margin-top: 3rem;
        display: flex;
        justify-content: center;
        h3{
            
            span{
                text-transform: uppercase;
                padding: 1rem 0rem;
                color: #000;
                border-bottom: solid 2px $menu-color;
                text-align: center;
                letter-spacing: 2px;
                font-size: 1.5rem;
            }
         }
       }
       
.info{
    background: #fff;
    padding: 12px 20px 15px;
    margin: -50px 15px 0;
    position: relative;
     z-index: 3; 
     border-bottom: solid 2px $menu-color;
    a{
        color:$menu-color;
    } 
}

p.category{
    position: absolute;
    font-size: 10px;
    top: 1rem;
    left: 2rem;
    padding: .3rem;
    a{
        background: $menu-color;
        color: $menu-links;
        padding: 3px 7px;
    }
}
  
.col-md-3{
    transition: transform 2s, filter 1.5s ease-in-out;
    transform-origin: center center;
  }
  
#primary{
  margin-top: 4rem;
}
// adding styles to blog style
.blog-style{
    align-items: top;
}

@media only screen and(max-width:968px){
    figure a img{
        height: auto;
    }
}
