@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: 5px 16px;
    font-size: 1.3rem;
    background: #FF1100;
    color: #fff;
    display: inline-block;
 
}

.triangle{  
    width: 0;
    height: 0;
    border-left: 17px solid transparent;
    border-right: 17px solid transparent;
    border-top: 19px solid red;
    position: relative;
    bottom: 8px;
    left: 38px;
    margin-bottom: 2rem;
}

.hide{
    display: none;
}
.hide-right-triangle{
    display: none;
}


// adding spacing to post details
.details {
    display: grid;
    justify-content: center;
   a {
        margin: 0px 2px;
        color: $sidebar-links !important;
    }
}
//  adding styles to .entry-title


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

//adding styles to paragraphs 

p{
    line-height: 1.5rem;
    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 .comments-link
    .comments-link a{
    padding: 1rem 0rem;
    color: $links;
    }

   
 
//  adding styles to submit button
    input#submit{
    background-color:$btn-color;
    padding: 1rem;
    color: #fff !important;
    border:solid 2px $sidebar-links ;
        &:hover{
            background:$sidebar-links;
        }
    }
  
    //  adding styles to the search buttons inside .widget-area
  
    //  adding styles to submit button
    button.wp-block-search__button{
    background-color:$btn-color;
    color: #fff !important;
    border:solid 2px $sidebar-links ;
    &:hover{
        background:$sidebar-links;
    }
    }
 
    body{
        background:$mast-head;
        }

    .post{
    
        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: $links !important;
    &:hover{
        color: $utility-color !important;
        text-decoration: none;
    }
 }

//  adding margins to ::content

h3{
    font-size: 1.2rem;
    text-align: center;
    
    a{
        color:#fff;
        font-size: 700;
        &:hover{
            color:$main-color ;
            text-decoration: none;
        }
    }   
}

figure{
    margin: -30px 0 1rem;
}


.post-grid figure a img{
        background-color: $menu-color;
        opacity: 0.8;
        height: 12.813rem;
        max-width: 100%;
        object-fit: cover;
        }
        //   styling the featured area 

        .row.custom-loop {
            .col-md-4{
                padding: 1rem;
            }
        }
    
       .featured-area-header{
        margin-top: 3rem;
      
        h3{
            font-size: 1.7rem;
            span{
                text-transform: uppercase;
                padding: .3rem .8rem;
                color: $links;
                background-color: $menu-color;
                letter-spacing: 2px;
                font-size: 1.2rem;
            }
         }
       }
       
.info{
    display: grid;
    justify-content: center;
    margin: -77px 15px 0;
    position: relative;
    z-index: 9999; 
    max-height: 8rem;
    
     .details{
        background: rgba(265, 265, 265, 0.3);
        display: inline-block;
        text-align: center;
        margin-top: .3rem;
     }

    a{
        color:#fff;
        font-weight: 600;
        &:hover{
            color: #000;
        }
    } 
}

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;
}


.large-image figure img {
        width: 100%;
        height:25.438rem;
        max-height: auto !important;
        background-color: $menu-color;
        opacity: 0;
        object-fit: cover;
    }
   
.info h3 a {
    color: #fff;
    padding: 3px 5px;
    &:hover{
        color: $links;
    }
}

.grid{
    margin: 0px;
    padding: 0px;
}


.large-image{
    overflow: hidden;
}

  .large-image figure img{
    transition: transform 1.5s ease-in-out;
    transform: scale(1);
    transform-origin: 100% 0;
    opacity: 0.6;
  }

  .row{
    overflow: hidden;
  }
  
figure{
    overflow: hidden;
}
  .large-image figure img:hover{
    transform: scale(1.5) translateX(30%);
    
  }

  .post-grid figure a img{
    transition: transform 1.5s ease-in-out;
    transform: scale(1);
    transform-origin: 100% 0;
    opacity: 0.6;
  }
  

  .post-grid figure a img:hover{
    transform: scale(1.5) translateX(30%);
    
  }

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


// adding rotating effect to menu button
.rotate {
    -moz-transition: all .5s linear;
    -webkit-transition: all .5s linear;
    transition: all .5s linear;
}
.rotate.down {
    -moz-transform:rotate(90deg);
    -webkit-transform:rotate(90deg);
    transform:rotate(90deg);
}

div{
    color: #fff;
}

.wp-block-table.is-style-stripes td{
    color: #000;
}

ins{
    color: #000;
}