/*
Theme Name: Twenty Twenty-Four (enfant)
Description: Thème enfant pour Twenty Twenty-Four
Author: Jonathan BESSON
Author URI: https://www.jonathan-besson.fr/
Template: twentytwentyfour
Version: 1.0.0
Text Domain: twentytwentyfourchild
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/
.sr-only {
  display: none;
  visibility: hidden;
}

:root :where(.wp-block-post-content) {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.footer {
	background-size: 130px !important;
    background-repeat: no-repeat;
    background-position: 115% center;
	background-blend-mode: soft-light;
}
.footer__logo img {
 	max-width: 140px;	
}
:root :where(.wp-block-navigation a:where(:not(.wp-element-button)))  {
	text-decoration: none;
}
.wp-block-navigation-item__label:hover {
	color:#FFC54B!important;
}
.sub_menu {
	color:#1D488C!important;
}

/* Blog grille */
.grid-blog [class*="wp-container-core-post-template-is-layout-"] {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-blog [class*="wp-container-core-post-template-is-layout-"] > .post:first-child {
	grid-column: 1 / span 2;
}
@media only screen and (max-width: 1180px) {
	/* Blog grille */
	.grid-blog [class*="wp-container-core-post-template-is-layout-"] {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.grid-blog [class*="wp-container-core-post-template-is-layout-"] > .post:first-child {
		grid-column: 1 / span 1;
	}
}
@media only screen and (max-width: 930px) {
	/* Blog grille */
	.grid-blog [class*="wp-container-core-post-template-is-layout-"] {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Header sticky */
.wp-site-blocks > header {
	top: calc(0px + var(--wp-admin--admin-bar--position-offset, 0px));
    position: sticky;
    z-index: 10;
}
