/*
Theme Name: Root Child
Theme URI: http://wpshop.biz/themes/root
Author: WPShop.biz
Author URI: http://wpshop.biz/
Template: root
Version: 1.0.0
*/

/* Below you can add your CSS styles */
/* Ниже Вы можете добавить свои CSS стили */

@media (min-width: 992px) {
   
    .site-content .content-area {
        padding-right: 0 !important; 
        width: 980px; 
    }
    
  
    .site-content .content-area {
        padding-left: 10px !important;
    }
    
  
    .posts-container--two-columns {
        display: grid;
        grid-template-columns: repeat(3, 1fr); 
        gap: 20px; 
        margin-left: 0 !important; 
        width: 100%;
        padding-left: 0 !important; 
    }

    .posts-container--two-columns:before,
    .posts-container--two-columns:after {
        content: none !important;
        display: none !important;
    }

    .posts-container--two-columns .post-card {
        width: 100% !important; 
        margin-left: 0 !important; 
        margin-right: 0 !important; 
        

        padding: 0px !important;
    }

    .posts-container .post-card .post-card__image {
        margin: 0 0 15px 0 !important; 
        padding: 0 !important;
        position: relative;
        padding-top: 56.25% !important; 
        height: auto !important;
        overflow: hidden;
    }
    
   
    .posts-container .post-card .post-card__image img {
        
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        
      
        object-fit: contain !important;
    }
	
	
	#content, #masthead, #site-footer, #site-navigation {
		width: 1300px !important;
	}
	#secondary{
		width: 280px !important;
	}
	
	.entry-image{
		display: flex;
		justify-content:center !important;
	}

	
	
	
	
	
	.posts-container .post-card {
        overflow: visible !important;
    }
    
   
    .posts-container .post-card .post-card__image {
       
        margin: 0 0 15px 0 !important; 
        
       
        position: static !important;
        padding-top: 0 !important; 
        
        
        
        background-color: transparent !important;
        overflow: visible !important; 
    }
	
	.post-card{
		margin-bottom: 0px !important;
		height: 600px !important;
	}
	
	.post-card__image{
		min-height: 400px !important;
	}
	.post-card__image img{
		min-height: 400px !important;
	}
	
	.posts-container .post-card .post-card__image img,
	.b-related__items .post-card .post-card__image img {
       
        object-fit: contain !important;         
       
        position: static !important;
        top: auto !important;
        left: auto !important;			
    }
	
    .posts-container .post-card .post-card__image,
	.b-related__items .post-card .post-card__image {
        height: 150px !important; 
        
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        
        position: relative !important; 
        margin: 0 0 15px 0 !important; 
        padding: 0 !important;
        background-color: transparent !important;
        max-height: none !important; 
        overflow: hidden !important; 
    }

    .posts-container .post-card .post-card__image img,
	.b-related__items .post-card .post-card__image img{
        
        width: auto !important; 
        height: auto !important;
        
        max-width: 100% !important; 
        max-height: 400px !important; 
        
        object-fit: cover !important; 
        
        position: static !important; 
        margin: 0 !important;
        max-height: none !important; 
        min-height: 400px !important;
    }

    .posts-container .post-card {
        height: auto !important;
        margin-bottom: 20px !important;
        overflow: visible !important;
    }
    
    .entry-image {
        display: flex !important;
        justify-content: center !important;
    }


	.b-related .b-related__items .post-card .post-card__image a img{
		max-height: 400px !important;
		max-width: 300px !important;
		min-width: 300px !important;
	}
	.b-related .b-related__items .post-card .post-card__image{
		min-width: 300px !important;
		max-width: 300px !important;
	}
	.b-related{
		margin-left: 0px !important;
	}
	.author-box{
		overflow: none !important;
	}

	.posts-container .post-box .entry-image a img{
		width: 300px !important;
		height: 400px !important;
		min-width: 300px !important;
		max-width: 300px !important;
		max-height: 400px !important;
		min-height: 400px !important;
		object-fit: cover !important;
	}
}