/* GEM STYLES */

@font-face {
	font-family: 'Montserrat';
	src: url(webfonts/montserrat.woff2);
}

html {
	scroll-behavior: smooth;
}

/* =========================
   LAYOUT SYSTEM (AJOUT)
   ========================= */
:root{
	--container: 1240px;
	--gutter: clamp(16px, 4vw, 48px);
	--content: 900px;
}

*{ box-sizing: border-box; }

body{
	overflow-x: hidden; /* évite les scrolls horizontaux causés par 100vw */
}

.primary-menu menu{
	color: #EEEEEE;
}

body {
	font-family: 'Montserrat';
	background-color: #161719;
	color: #EEEEEE;
	line-height: 1.6;
	margin: 0; /* AJOUT: évite des décalages */
}

a,
a:visited {
	color: #EEEEEE;
	transition: opacity 0.3s ease;
	text-decoration: none;
}

a:hover {
	color: #EEEEEE;
	opacity: 0.8;
}

a.wp-block-button__link {
	color: #eeee;
	font-size: inherit;
	transition: all 0.3s ease;
}

a.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(238, 238, 238, 0.2);
}

.page .entry-header,
.page-header{
	text-align: center;
}


/* TYPOGRAPHY */

.posted-on,
.posted-on a {
	font-weight: bold;
	text-decoration: none;
	font-size: 0.85rem;
	opacity: 0.7;
}

.entry-meta+h1 {
	margin-top: 0;
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.3;
	margin-top: 0;
}

h2 {
	font-size: 2rem;
	margin-bottom: 1.5rem;
}

h3 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

p {
	margin-bottom: 1.2rem;
}

/* =========================
   GLOBAL CONTENT WIDTH (AJOUT)
   Centre le contenu, sauf blocs full-width
   ========================= */
#primary.site-main{
	width: 100%;
	margin: 0;
	padding: 0;
}

/* Les sections restent en full, mais leur contenu est cadré */
.site-main section {
	padding: 4rem 0;
	border-bottom: 1px solid rgba(238, 238, 238, 0.1);
}

.site-main section:last-of-type {
	border: 0;
}

.home .entry-title {
	display: none;
}

/* Cadre général pour les blocs WordPress */
.entry-content{
	width: 100%;
	margin: 0;
	padding: 0;
}

/* Centre tout ce qui n’est pas "alignfull" */
.entry-content > *:not(.alignfull):not(.wp-block-cover):not(.wp-block-group.alignfull){
	width: min(var(--container), calc(100% - (var(--gutter) * 2)));
	margin-left: auto;
	margin-right: auto;
}

/* Texte intro (souvent dans un group) : largeur plus lisible et centré */
.entry-content > .wp-block-group:not(.alignfull){
	max-width: var(--content);
}

/* =========================
   HEADER - IMPROVED
   ========================= */

.site-header .nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
}

.site-branding {}

.main-navigation {
	display: flex;
}

.header-widget {}

.nav-group {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 0.5rem;
}

.widget {}

.site-main {
	padding: 0;
}

#secondary.widget-area {
	border-top: 1px solid rgba(238, 238, 238, 0.1);
	padding: 2rem;
	background: linear-gradient(135deg, #1a1c1e 0%, #161719 100%);
}

/* HEADER */

.site-header {
	padding: 0.75rem var(--gutter); /* MODIF: marges cohérentes */
	border-bottom: 1px solid rgba(238, 238, 238, 0.1);
	background: rgba(22, 23, 25, 0.95);
	backdrop-filter: blur(10px);
	position: sticky;
	top: 0;
	z-index: 1000;
}

h1.site-title a,
p.site-title a {
	display: block;
	width: 140px;
	height: 65px;
	background: url(images/gem-geneve_logo_noir.svg) no-repeat center center;
	background-size: contain;
	text-indent: -5000px;
	transition: opacity 0.3s ease;
}

h1.site-title a:hover,
p.site-title a:hover {
	opacity: 0.8;
}

h1.site-title,
p.site-title {
	margin: 0;
	padding: 0;
	line-height: 1;
	font-size: 1rem;
}

.site-description {
	display: none;
}

/* NAVIGATION - IMPROVED */
.main-navigation {
	width: auto;
}

.main-navigation li {}

.main-navigation .primary-menu li a {
	padding: 0.4em 1em;
	color: white;
	font-size: 0.95rem;
	text-transform: uppercase;
	border-bottom: 2px solid transparent;
	transition: all 0.3s ease;
	font-weight: 500;
	letter-spacing: 0.5px;
}

.main-navigation .primary-menu li.main-navigation-external a:after {
	content: " ➤";
}

.main-navigation ul.primary-menu ul {
	display: block;
	background-color: #1f2023;
	border-top: 1px solid rgba(238, 238, 238, 0.1);
	margin-top: -1px;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
	border-radius: 0 0 8px 8px;
}

.main-navigation ul.primary-menu ul li a {
	border: 0;
	border-right: 1px solid rgba(238, 238, 238, 0.1);
	border-left: 1px solid rgba(238, 238, 238, 0.1);
	border-bottom: 1px solid transparent;
	width: auto;
	font-size: 0.9rem;
	text-transform: none;
	white-space: nowrap;
}

.main-navigation ul.primary-menu ul li:last-of-type a {
	border-bottom: 1px solid rgba(238, 238, 238, 0.1);
	border-radius: 0 0 8px 8px;
}

.main-navigation ul.primary-menu li a:hover,
.main-navigation ul.primary-menu li.current-menu-item>a,
.main-navigation ul.primary-menu li.current-menu-ancestor>a {
	border-bottom: 2px solid #EEEEEE;
}

/* SECONDARY NAVIGATION */
.header-widget {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding-top: 0;
}

.header-widget .widget {
	border-left: 1px solid rgba(238, 238, 238, 0.2);
	padding-left: 0.8rem;
	margin-left: 0.8rem;
	margin-bottom: 0;
	display: flex;
	align-items: center;
}

.header-widget .menu {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	gap: 0.5rem;
}

.header-widget .menu li a {
	display: inline-block;
	padding: 0.25em 0.8em;
	color: #EEEEEE;
	text-decoration: none;
	font-size: 0.85rem;
	transition: opacity 0.3s ease;
}

.header-widget .menu li a:hover {
	opacity: 0.7;
}

.wp-block-social-links {
	margin-bottom: 0;
	gap: 0.5rem !important;
}

.wp-block-social-links a {
	transition: transform 0.3s ease;
}

.wp-block-social-links a:hover {
	transform: translateY(-3px);
}

.header-widget .widget h4 {
	margin: 0;
}

.header-widget .wp-block-button__link {
	font-size: 0.85rem;
	padding: 0.4em 1em;
	border-radius: 25px;
	background: linear-gradient(135deg, #fff6e3 0%, #b78e08 100%);
	border: 1px solid rgba(238, 238, 238, 0.2);
}

.header-widget .wp-block-button__link a :hover {
	background: linear-gradient(135deg, #3a3c3e 0%, #2f3133 100%);
	border-color: rgba(238, 238, 238, 0.4);
	color: white;
}

/* RESPONSIVE NAVIGATION */
.menu-toggle {
	background-color: transparent;
	background: url(images/burger-off.svg) no-repeat center center;
	background-size: contain;
	width: 50px;
	height: 50px;
	border: 0;
	text-indent: -50000px;
	position: absolute;
	right: 1rem;
	top: 1rem;
	z-index: 1500;
	transition: transform 0.3s ease;
}

.menu-toggle:hover {
	transform: scale(1.1);
}

.main-navigation.toggled .menu-toggle {
	position: fixed;
}

.toggled .menu-toggle {
	background-image: url(images/burger-on.svg);
}

.main-navigation.toggled ul,
.main-navigation.toggled .header-widget {
	display: block;
}

.main-navigation.toggled {
	display: block;
	position: fixed;
	padding: 1rem;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1200;
	background-color: #161719;
	overflow-y: auto;
}

@media screen and (max-width: 1200px) {
	.menu-toggle {
		display: block;
	}

	.nav-group {
		flex-direction: column-reverse;
	}

	.main-navigation ul,
	.header-widget {
		display: none;
	}

	.main-navigation .primary-menu li a {
		border: 0 !important;
		padding: 0.75em 0;
		font-size: 1.1rem;
	}

	.main-navigation .primary-menu {
		margin-bottom: 2rem;
		padding-top: 4rem;
	}
	
	.main-navigation .primary-menu li {
		border-bottom: 1px solid rgba(238, 238, 238, 0.1);
	}

	.header-widget .widget {
		border-left: 0;
		padding-left: 0;
		margin-left: 0;
		margin-bottom: 2rem;
		justify-content: flex-start;
	}

	.header-widget .menu {
		flex-direction: column;
		width: 100%;
	}
	
	.header-widget .menu li {
		border-bottom: 1px solid rgba(238, 238, 238, 0.05);
		padding: 0.5rem 0;
	}

	.header-widget .menu li a {
		padding: 0.5em 0;
		font-size: 1rem;
		display: block;
		width: 100%;
	}

	.main-navigation ul ul {
		position: static;
		float: none;
		box-shadow: none;
		padding-left: 1.5rem;
		margin-top: 0.5rem;
		background: transparent !important;
	}

	.main-navigation ul.primary-menu ul {
		border-top: 0;
		border-radius: 0;
	}

	.main-navigation ul.primary-menu ul li a {
		padding: 0.5em 0;
		font-size: 0.95rem;
		border: 0 !important;
	}
	
	.main-navigation ul.primary-menu ul li:last-of-type a {
		border-radius: 0;
	}
	
	.main-navigation.toggled {
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	
	.header-widget .wp-block-button {
		width: 100%;
		margin-top: 1rem;
	}
	
	.header-widget .wp-block-button__link {
		display: block;
		text-align: center;
		width: 100%;
	}
	
	.header-widget .wp-block-social-links {
		justify-content: flex-start;
		margin-top: 1.5rem;
	}
}

/* WORDPRESS BLOCKS - IMPROVED */
ul.wp-block-post-template {
	margin: 0;
	padding: 0;
	gap: 2rem !important;

	/* AJOUT: centrage + cadre cohérent */
	width: min(var(--container), calc(100% - (var(--gutter) * 2)));
	margin-left: auto;
	margin-right: auto;
}

/* Responsive grid for post template */
@media screen and (max-width: 600px) {
	.wp-block-post-template.is-flex-container,
	.wp-block-post-template.is-flex-container.columns-2,
	.wp-block-post-template.is-flex-container.columns-3,
	.wp-block-post-template.is-flex-container.columns-4 {
		display: grid !important;
		grid-template-columns: 1fr !important;
	}
}

@media screen and (min-width: 601px) and (max-width: 960px) {
	.wp-block-post-template.is-flex-container.columns-3,
	.wp-block-post-template.is-flex-container.columns-4 {
		display: grid !important;
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media screen and (min-width: 961px) and (max-width: 1200px) {
	.wp-block-post-template.is-flex-container.columns-4 {
		display: grid !important;
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

.wp-block-post {
	background: linear-gradient(135deg, #1a1c1e 0%, #1f2123 100%);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
	border: 1px solid rgba(238, 238, 238, 0.05);
	display: flex;
	flex-direction: column;
}

.wp-block-post:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
	border-color: rgba(238, 238, 238, 0.15);
}

.wp-block-post .wp-block-group {
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 1.5rem !important;
}

/* Spacing between elements inside cards */
.wp-block-post .wp-block-post-date {
	margin-bottom: 0.75rem;
}

.wp-block-post .wp-block-post-title {
	margin-top: 0;
	margin-bottom: 1rem;
	min-height: auto;
}

.wp-block-post .wp-block-post-featured-image {
	margin-bottom: 0;
	margin-top: 1rem;
	order: 3;
}

.wp-block-post .wp-block-post-excerpt {
	order: 4;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.wp-block-post .wp-block-read-more {
	order: 5;
	margin-top: auto;
}

.wp-block-post-title {
	transition: color 0.3s ease;
	font-weight: 600;
	word-break: normal;
	hyphens: none;
	overflow-wrap: normal;
	line-height: 1.3;
}

.wp-block-post-title a {
	text-decoration: none;
	word-break: normal;
}

.wp-block-post:hover .wp-block-post-title {
	color: rgba(238, 238, 238, 0.8);
}

.wp-block-post-featured-image {
	overflow: hidden;
}

.wp-block-post-featured-image img {
	transition: transform 0.5s ease;
}

.wp-block-post:hover .wp-block-post-featured-image img {
	transform: scale(1.08);
}

.wp-block-post-excerpt {
	flex-grow: 1;
	opacity: 0.8;
	line-height: 1.6;
}

.wp-block-read-more {
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: gap 0.3s ease;
}

.wp-block-read-more:hover {
	gap: 1rem;
}

/* HERO SECTION - VIDEO COVER */
.wp-block-cover {
	position: relative;
	border-radius: 0;
	margin-bottom: 0 !important;

	/* MODIF: plus de 100vw (ça faisait déborder) */
	width: 100%;
}

.wp-block-cover:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 150px;
	background: linear-gradient(to top, #161719, transparent);
	pointer-events: none;
}

.wp-block-cover__inner-container {
	position: relative;
	z-index: 2;

	/* AJOUT: centre le contenu du hero */
	width: min(var(--container), calc(100% - (var(--gutter) * 2)));
	margin-left: auto;
	margin-right: auto;
}

.wp-block-cover h6,
.wp-block-cover h2,
.wp-block-cover p {
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* BUTTONS */
.wp-block-button {
	margin-bottom: 0;
}

.wp-block-button__link {
	border-radius: 30px;
	padding: 0.8em 2em !important;
	font-weight: 600;
	letter-spacing: 0.5px;
	border: 2px solid transparent;
	background: linear-gradient(135deg, #EEEEEE 0%, #d0d0d0 100%);
	color: #161719 !important;
}

.wp-block-button__link:hover {
	background: linear-gradient(135deg, #ffffff 0%, #EEEEEE 100%);
	box-shadow: 0 8px 20px rgba(238, 238, 238, 0.3);
}

/* MEDIA TEXT BLOCKS */
.wp-block-media-text {
	margin-bottom: 0 !important;
	background: linear-gradient(135deg, #1a1c1e 0%, #1f2123 100%);
	border-radius: 0;
	overflow: hidden;

	/* AJOUT: cadre cohérent */
	width: min(var(--container), calc(100% - (var(--gutter) * 2)));
	margin-left: auto;
	margin-right: auto;
}

.wp-block-media-text__content {
	padding: 3rem !important;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.wp-block-media-text h2 {
	margin-bottom: 1.5rem;
	font-weight: 700;
}

.wp-block-media-text p {
	opacity: 0.85;
	line-height: 1.7;
}

.wp-block-media-text img {
	transition: transform 0.5s ease;
}

.wp-block-media-text:hover img {
	transform: scale(1.05);
}

/* CATEGORY NEWS */
.archive-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 2rem;

	/* MODIF: padding -> centré dans container */
	width: min(var(--container), calc(100% - (var(--gutter) * 2)));
	margin-left: auto;
	margin-right: auto;
	padding: 0;
}

.archive-grid article {
	width: 100%;
	background: linear-gradient(135deg, #1a1c1e 0%, #1f2123 100%);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
	border: 1px solid rgba(238, 238, 238, 0.05);
	display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.archive-grid article:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.archive-grid a.post-thumbnail{
	height: 100%;
}

.archive-grid article img {
	width: 100%;
	transition: transform 0.5s ease;
	object-fit: cover;
    aspect-ratio: 4 / 3;
    height: 100%;
}

.archive-grid article:hover img {
	transform: scale(1.08);
}

.archive-grid  article{
	padding: 0.5em;
}

.archive-grid .entry-title {
	font-size: 1.3rem;
	margin-bottom: 0.5rem;
	word-break: normal;
	hyphens: none;
	line-height: 1.3;
}

.archive-grid .entry-content p{
	width: inherit !important;
}

/* SINGLE NEWS */
.single.category-news .site-main article {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	padding: 3rem 2rem;
}

.single.category-news .entry-header {
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(238, 238, 238, 0.1);
}

.single.category-news .entry-title {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	line-height: 1.2;
}

.single.category-news .entry-content {
	font-size: 1.1rem;
	line-height: 1.8;
}

.single.category-news .entry-content img {
	border-radius: 12px;
	margin: 2rem 0;
}

/* ARCHIVE EXHIBITORS */
.archive-grid-exhibitors {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 2rem;

	/* MODIF: padding -> centré */
	width: min(var(--container), calc(100% - (var(--gutter) * 2)));
	margin-left: auto;
	margin-right: auto;
	padding: 0;
}

.alphabetical-group {
	margin-bottom: 3rem;
}
.entry-title{
	margin-top: 15px;
}

.alphabetical-group-letter {
	font-size: 5rem;
	border-bottom: 2px solid rgba(238, 238, 238, 0.2);
	padding-bottom: 0.5rem;
	margin-bottom: 2rem;
	font-weight: 700;
}

.alphabetical-group h2 {
	font-size: 1.2em;
	margin-top: 0;
	margin-bottom: 0;
}

.post-type-archive-exhibitor .archive-grid {
	padding: 0;
}

.post-type-archive-exhibitor .archive-grid article {
	margin-bottom: 0;
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	background: #1a1c1e;
}

.post-type-archive-exhibitor .archive-grid article::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 60%;
	background: linear-gradient(to top, rgba(22, 23, 25, 0.95), transparent);
	pointer-events: none;
}

.post-type-archive-exhibitor .archive-grid article img {
	width: 100%;
	display: block;

}

.post-type-archive-exhibitor .archive-grid article .entry-header {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	padding: 1.5rem;
	z-index: 2;
}

.post-type-archive-exhibitor .archive-grid article .entry-title {
	margin: 0;
	font-size: 1.2rem;
}

/* SINGLE EXHIBITORS */
.exhibitor-info-box {
	border-top: 2px solid rgba(238, 238, 238, 0.2);
	border-bottom: 2px solid rgba(238, 238, 238, 0.2);
	padding: 2rem 0;
	margin-bottom: 3rem;
	background: rgba(26, 28, 30, 0.5);
	border-radius: 8px;
	padding: 2rem;
}

.exhibitor-info-box h4 {
	margin-top: 0;
	margin-bottom: 1.5rem;
	font-size: 1.3rem;
	border-bottom: 1px solid rgba(238, 238, 238, 0.1);
	padding-bottom: 0.5rem;
}

.exhibitor-info-line {
	margin-bottom: 0.8rem;
	display: flex;
	gap: 1rem;
}

.exhibitor-info-line .exhibitor-info-line-legend {
	font-weight: bold;
	min-width: 120px;
	opacity: 0.7;
}

.single-exhibitor-layout-col-media img {
	width: 100%;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

@media only screen and (min-width: 960px) {
	.single-exhibitor-layout {
		display: flex;
		justify-content: space-between;
		gap: 3rem;
	}

	.single-exhibitor-layout-col {
		width: 48%;
	}
}

/* SIDEBAR WIDGET */
#secondary.widget-area .wp-block-cover {
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(238, 238, 238, 0.1);
}

#secondary.widget-area .wp-block-cover:hover {
	border-color: rgba(238, 238, 238, 0.3);
}

/* FOOTER - IMPROVED */
.site-footer {
	padding: 3rem var(--gutter) 2rem; /* MODIF: marges cohérentes */
	border-top: 1px solid rgba(238, 238, 238, 0.1);
	background: linear-gradient(135deg, #0f1012 0%, #161719 100%);
}

.footer-widget-area {
	margin-bottom: 2rem;
}

.site-footer .wp-block-columns {
	gap: 3rem;
}

/* Footer columns responsive */
@media screen and (max-width: 781px) {
	.site-footer .wp-block-columns {
		flex-direction: column !important;
		gap: 2rem;
	}
	
	.site-footer .wp-block-column {
		width: 100% !important;
		flex-basis: 100% !important;
	}
	
	.site-footer .wp-block-image {
		text-align: center;
	}
	
	.site-footer h2 {
		text-align: center;
	}
	
	.site-footer .wp-block-social-links {
		justify-content: center !important;
	}
}

.site-footer h2 {
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
	line-height: 1.3;
}

.site-footer .menu {
	margin: 0;
	padding: 0;
}

.site-footer .menu li {
	list-style: none;
	padding: 0;
	margin: 0 0 0.8em 0;
}

.site-footer .menu li a {
	text-decoration: none;
	opacity: 0.7;
	transition: all 0.3s ease;
	display: inline-block;
	position: relative;
	padding-left: 0;
}

.site-footer .menu li a:before {
	content: '→';
	position: absolute;
	left: -20px;
	opacity: 0;
	transition: all 0.3s ease;
}

.site-footer .menu li a:hover {
	opacity: 1;
	padding-left: 20px;
}

.site-footer .menu li a:hover:before {
	opacity: 1;
	left: 0;
}

.site-footer .wp-block-social-links {
	margin-top: 1rem;
}

.site-info {
	font-size: 0.8rem;
	font-weight: bold;
	opacity: 0.5;
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid rgba(238, 238, 238, 0.05);
}

.site-info a {
	text-decoration: none;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ======================================== */

/* TABLET - 768px and below */
@media screen and (max-width: 768px) {
	.site-header {
		padding: 0.5rem var(--gutter);
	}
	
	h1.site-title a,
	p.site-title a {
		width: 100px;
		height: 45px;
	}
	
	.wp-block-spacer {
		height: 30px !important;
	}
	
	.site-main section {
		padding: 2rem 0;
	}
	
	h2 {
		font-size: 1.5rem;
	}
	
	h3 {
		font-size: 1.2rem;
	}
	
	.single.category-news .entry-title {
		font-size: 1.8rem;
	}
	
	.wp-block-media-text__content {
		padding: 1.5rem !important;
	}
	
	.wp-block-media-text h2 {
		font-size: 1.5rem;
		margin-bottom: 1rem;
	}
	
	.wp-block-media-text p {
		font-size: 0.95rem;
	}
	
	.archive-grid,
	.archive-grid-exhibitors {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	
	ul.wp-block-post-template {
		gap: 1.5rem !important;
	}
	
	.wp-block-button__link {
		padding: 0.7em 1.5em !important;
		font-size: 0.9rem;
	}
	
	/* MODIF: on retire les marges fixes (tout est centré via container) */
	.wp-block-group {
		padding-left: 0;
		padding-right: 0;
		margin-left: 0;
		margin-right: 0;
	}
	
	.wp-block-cover {
		min-height: 60vh !important;
	}
	
	.wp-block-cover h6 {
		font-size: 0.9rem;
	}
	
	.site-footer {
		padding: 2rem var(--gutter) 1.5rem;
	}
	
	.site-footer .wp-block-columns {
		gap: 2rem;
	}
	
	.site-footer h2 {
		font-size: 1.2rem;
	}
	
	.exhibitor-info-box {
		padding: 1.5rem;
	}
	
	.exhibitor-info-line {
		flex-direction: column;
		gap: 0.3rem;
	}
	
	.exhibitor-info-line .exhibitor-info-line-legend {
		min-width: auto;
	}
	
	.single.category-news .site-main article {
		padding: 2rem 1rem;
	}
	
	.single.category-news .entry-content {
		font-size: 1rem;
	}
	
	.alphabetical-group-letter {
		font-size: 2rem;
	}
}

/* MOBILE - 480px and below */
@media screen and (max-width: 480px) {
	.site-header {
		padding: 0.5rem var(--gutter);
	}
	
	h1.site-title a,
	p.site-title a {
		width: 80px;
		height: 38px;
	}
	
	.menu-toggle {
		width: 40px;
		height: 40px;
		right: 0.5rem;
		top: 0.5rem;
	}
	
	h2 {
		font-size: 1.3rem;
	}
	
	h3 {
		font-size: 1.1rem;
	}
	
	.single.category-news .entry-title {
		font-size: 1.5rem;
	}
	
	.site-main section {
		padding: 1.5rem 0;
	}
	
	.wp-block-spacer {
		height: 20px !important;
	}
	
	.wp-block-cover {
		min-height: 50vh !important;
	}
	
	.wp-block-cover h6 {
		font-size: 0.8rem;
	}
	
	.wp-block-cover h2 {
		font-size: 1.3rem;
	}
	
	.wp-block-cover p {
		font-size: 0.9rem;
	}
	
	.wp-block-media-text__content {
		padding: 1rem !important;
	}
	
	.wp-block-media-text h2 {
		font-size: 1.3rem;
	}
	
	.wp-block-media-text p {
		font-size: 0.9rem;
	}
	
	.wp-block-button__link {
		padding: 0.6em 1.2em !important;
		font-size: 0.85rem;
	}
	
	.archive-grid,
	.archive-grid-exhibitors {
		gap: 1rem;
	}
	
	.archive-grid .entry-header,
	.archive-grid .entry-content {
		padding: 1rem;
	}
	
	.archive-grid .entry-title {
		font-size: 1.1rem;
	}
	
	.site-footer {
		padding: 1.5rem var(--gutter) 1rem;
	}
	
	.site-footer h2 {
		font-size: 1.1rem;
	}
	
	.site-footer .menu li a {
		font-size: 0.9rem;
	}
	
	.wp-block-social-links {
		gap: 0.3rem !important;
	}
	
	#secondary.widget-area {
		padding: 1.5rem 1rem;
	}
	
	.exhibitor-info-box {
		padding: 1rem;
	}
	
	.single.category-news .site-main article {
		padding: 1.5rem 0.75rem;
	}
	
	.alphabetical-group-letter {
		font-size: 1.8rem;
		margin-bottom: 1.5rem;
	}
	
	.alphabetical-group {
		margin-bottom: 2rem;
	}
	
	.wp-block-post-template.is-flex-container.columns-4 {
		gap: 1rem !important;
	}
	
	.wp-block-post .wp-block-group {
		padding: 1rem !important;
	}
	
	.wp-block-post-title {
		font-size: 1.1rem;
		line-height: 1.4;
		margin-bottom: 0.75rem;
	}
	
	.wp-block-post-excerpt p {
		font-size: 0.9rem;
		line-height: 1.5;
	}
	
	.wp-block-read-more {
		font-size: 0.85rem;
	}
}

/* LARGE DESKTOP - 1400px and above */
@media screen and (min-width: 1400px) {
	.site-header .nav-container {
		max-width: 1600px;
		margin: 0 auto;
	}

	.archive-grid,
	.archive-grid-exhibitors {
		max-width: 1600px;
		margin: 0 auto;
	}
}

/* LANDSCAPE MOBILE */
@media screen and (max-width: 768px) and (orientation: landscape) {
	.wp-block-cover {
		min-height: 100vh !important;
	}
	
	.site-header {
		position: relative;
	}
	
	.menu-toggle {
		width: 45px;
		height: 45px;
	}
}

/* TABLET PORTRAIT */
@media screen and (min-width: 481px) and (max-width: 768px) {
	.archive-grid,
	.archive-grid-exhibitors {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}
	
	.wp-block-post-template.is-flex-container.columns-4 {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

/* TABLET LANDSCAPE / SMALL DESKTOP */
@media screen and (min-width: 769px) and (max-width: 1024px) {
	.archive-grid,
	.archive-grid-exhibitors {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.5rem;
	}
	
	.wp-block-post-template.is-flex-container.columns-4 {
		grid-template-columns: repeat(3, 1fr) !important;
	}
	
	.site-header {
		padding: 0.75rem var(--gutter);
	}
	
	h1.site-title a,
	p.site-title a {
		width: 120px;
		height: 55px;
	}
}

/* TOUCH DEVICES - Remove hover effects */
@media (hover: none) and (pointer: coarse) {
	.wp-block-post:hover,
	.archive-grid article:hover {
		transform: none;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	}
	
	.wp-block-post:hover .wp-block-post-featured-image img,
	.archive-grid article:hover img,
	.wp-block-media-text:hover img {
		transform: none;
	}
	
	.wp-block-read-more:hover {
		gap: 0.5rem;
	}
	
	a.wp-block-button__link:hover {
		transform: none;
	}
}

/* PRINT STYLES */
@media print {
	.site-header,
	.site-footer,
	#secondary.widget-area,
	.menu-toggle,
	.wp-block-buttons {
		display: none !important;
	}
	
	body {
		background: white;
		color: black;
	}
	
	a {
		color: black;
		text-decoration: underline;
	}
	
	.site-main {
		width: 100% !important;
	}
}

/* ADDITIONAL STYLING (NETTOYÉ) */
.menu-toggle{
	margin-top: 20px;
	color: white;
}

/* MODIF: on enlève les 100vw qui foutaient le bazar */
.wp-block-cover__video-background{
	width: 100%;
	margin-left: 0;
}

/* MODIF: plus de margins fixes sur group, c’est centré via la règle .entry-content > * */
.wp-block-group{
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
}

/* Garde les vrais full-width */
.alignfull,
.wp-block-group.alignfull{
	width: 100%;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.main-navigation.toggled{
	background-color: #161719;
}

.wp-social-link wp-social-link-linkedin has-black-color wp-block-social-link{
	color: #EEEEEE;
}

h6{
	font-weight:100;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.sub-menu{
	background-color: #161719;
}

/* SMOOTH SCROLLBAR */
::-webkit-scrollbar {
	width: 10px;
}

::-webkit-scrollbar-track {
	background: #1a1c1e;
}

::-webkit-scrollbar-thumb {
	background: #3a3c3e;
	border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
	background: #4a4c4e;
}

/* LOADING ANIMATIONS */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.wp-block-post,
.archive-grid article {
	animation: fadeInUp 0.6s ease-out;
	animation-fill-mode: both;
}

.wp-block-post:nth-child(1) { animation-delay: 0.1s; }
.wp-block-post:nth-child(2) { animation-delay: 0.2s; }
.wp-block-post:nth-child(3) { animation-delay: 0.3s; }
.wp-block-post:nth-child(4) { animation-delay: 0.4s; }

/* SELECTION COLOR */
::selection {
	background: rgba(238, 238, 238, 0.2);
	color: #EEEEEE;
}

/* FOCUS STATES */
button:focus,
a:focus,
input:focus,
textarea:focus {
	outline: 2px solid rgba(238, 238, 238, 0.5);
	outline-offset: 2px;
}

.wp-block-button__link{
	color:white;
}
.entry-footer a{
	color: #161719;
}

.page-title{
	font-size: 4em;
	margin-top: 40px;
	font-weight: 400;
}
.entry-title{
	font-size: 4em ;
	margin-top: 40px;
	font-weight: 400;
}