/*
Theme Name: L'auditoire
Theme URI: 
Author: David Wismer
Author URI: 
Description: Thème créé pour coller au design validé par le journal L'auditoire pour leur site web.
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lauditoire
Tags: 
*/

/* Responsive menu for header */
.wp-block-navigation__responsive-container.has-modal-open.is-menu-open {
	background-color: black !important;
	height: 300px;
	padding: 25px 24px !important;
}

/*When no images, is fit to the card of the article*/
img:is([sizes=auto i],[sizes^="auto," i]) {
    contain-intrinsic-size: 300px 150px;
}

/*Pour les images mises en avant sur les pages d'articles*/
.single-article-cover-image{
	height: auto !important;
	max-height: 400px;
	max-width: 100%;
}

/* Tablet */
@media (max-width: 1024px){
	header > .wp-block-group {
		padding: 25px 72px !important;
	}
	
	footer > .wp-block-group {
		padding: 50px 72px !important;
	}
	
	.responsive-content-all-padding-container {
		padding: 50px 72px !important;
	}
	
	.responsive-content-left-right-padding-container {
		padding-left: 72px !important;
		padding-right: 72px !important;
	}
	
	.responsive-page-title {
		padding: 0 72px !important;
	}
}

/* Mobile */
@media (max-width: 640px){
	header > .wp-block-group {
		padding: 25px 24px !important;
	}
	
	footer > .wp-block-group {
		padding: 25px 24px !important;
	}
	
	.responsive-content-all-padding-container {
		padding: 25px 24px !important;
	}
	
	.responsive-content-left-right-padding-container {
		padding-left: 24px !important;
		padding-right: 24px !important;
	}
	
	.wp-block-query-pagination-next, .wp-block-query-pagination-previous, .prev.page-numbers, .next.page-numbers {
		display: none;
	}
	
	.home-auditoire-logo:hover {
    	width: 120px;
	}
	
}