/* GEM STYLES */

html {
	scroll-behavior: smooth;
}

.abhaya-libre-regular {
	font-family: "Abhaya Libre", serif;
	font-weight: 400;
	font-style: normal;
}

.abhaya-libre-medium {
	font-family: "Abhaya Libre", serif;
	font-weight: 500;
	font-style: normal;
}

.abhaya-libre-semibold {
	font-family: "Abhaya Libre", serif;
	font-weight: 600;
	font-style: normal;
}

.abhaya-libre-bold {
	font-family: "Abhaya Libre", serif;
	font-weight: 700;
	font-style: normal;
}

.abhaya-libre-extrabold {
	font-family: "Abhaya Libre", serif;
	font-weight: 800;
	font-style: normal;
}


body {
	font-family: -apple-system, BlinkMacSystemFont, sans-serif;
	background-color: #1F1C1A;
	color: #fff;
	margin: 0 auto;
	overflow-x: hidden;
}

main {
	width: 100vw;
	margin: 0 auto;
}

img {
	width: 100%;
	height: auto;
}

.wp-block-cover__background {
	width: 100vw;
}

.articleslider ul.gemarticles {
	grid-template-columns: initial;
	margin: 0;
	overflow: scroll;
	scrollbar-color: #FFCC74 #3d3936;
	overflow-y: hidden;
	scrollbar-width: auto;
	display: grid !important;
	grid-auto-flow: column !important;
	grid-auto-columns: 40% !important;
	overflow-x: auto !important;
	overflow-y: hidden !important;
	gap: 1rem !important;
}

.separator {
	padding-top: 10vh;
	padding-bottom: 10vh;
}

.gemarticles {
	overflow: hidden;
}

.gemimg {
	width: inherit;
	height: inherit;
}

.gemdate {
	margin-top: 0.5rem;
	font-size: 0.6rem;
}

.articletextpreview {
	width: inherit;
	margin-top: 0.8rem;
}

.gemarticle {
	padding: 15px !important;
}

.readmore {
	margin-top: 0.2rem;
}

.articlea {
	font-size: 2rem;
	font-weight: 400;
}

/* .wp-block-group {
	width: 80vw;
	overflow: hidden;
} */

/* .gemarticles {
	width: 80vw;
	overflow: scroll;
	scrollbar-color: #FFCC74 #3d3936;
	overflow-y: hidden;
	scrollbar-width: auto;
}

.gemarticle {
	width: 35vw;
} */

/* .articlea {
	width: 25vw;
	height: 6vh;
} */

/*

.articlecontainer {
	width: 65vw;
} */

a,
a:visited {
	color: white;
}

/* gemgenève texte main page */
.has-large-font-size {
	margin: 0 auto;
	font-size-adjust: 0.3;
	line-height: 1;
}

/* bouton ticketing */
.ticketing .wp-block-button__link {
	background-color: #FFCC74 !important;
	color: black !important;
	text-transform: uppercase;
}

a:hover {
	color: white;
	opacity: 75%;
}

a.wp-block-button__link {
	color: white;
	font-size: inherit;
}


/* TYPOGRAPHY */

.posted-on,
.posted-on a {
	font-weight: bold;
	text-decoration: none;
}

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

.site-main section {
	padding: 5rem 0;
}

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

.homepagetitle {
	margin: 0 auto;
	width: 75vw;
	display: flex;
	justify-content: end;
}

.homeh2 {
	width: 35vw;
	font-size: 6rem !important;
	font-family: "Abhaya Libre", serif !important;
}

.homepage {
	width: 100vw;
	height: 80vh;
	margin: 0 auto;
}

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

.site-header .nav-container {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
}

.site-branding {}

.main-navigation {
	display: flex;
}

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

#secondary.widget-area {
	border-top: 1px solid;
	padding: 2rem;
}

/* HEADER */

.site-header {
	/* border-bottom: 1px solid black; */
	padding: 1rem 2rem;
}

h1.site-title a,
p.site-title a {
	display: block;
	width: 250px;
	height: 120px;
	background: url(images/gem-geneve_logo_noir.svg) no-repeat center center;
	background-size: contain;
	text-indent: -5000px;

}

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

.site-description {
	display: none;
}

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

.main-navigation li {}

.main-navigation .primary-menu li a {
	padding: 0.5em 1.2em;
	color: #fff;
	font-size: 1.05rem;
	text-transform: uppercase;
	border-bottom: 1px solid transparent;
}

.main-navigation .primary-menu li.main-navigation-external a {}

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

.main-navigation ul.primary-menu ul {
	display: block;
	background-color: #1F1C1A;
	border-top: 1px solid black;
	margin-top: -1px;
}

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

.main-navigation ul.primary-menu ul li:last-of-type a {
	border-bottom: 1px solid black;
}

/* .main-navigation ul ul li:last-of-type{
	border-right: 0;
} */

.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: 1px solid black;
}

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

.header-widget .widget {
	border-left: 1px solid black;
	padding-left: 1rem;
	margin-left: 1rem;
	margin-bottom: 0;
	display: flex;
	align-items: center;
}

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

.header-widget .menu li a {
	display: inline-block;
	padding: 0.25em 1em;
	color: #fff;
	text-decoration: none;
	font-size: 0.8rem;
}

.wp-block-social-links {
	margin-bottom: 0;
}

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

.header-widget .wp-block-button__link {
	font-size: 0.9rem;
}

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

.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: #1F1C1A;
	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.5em 0;
	}

	.main-navigation .primary-menu {
		margin-bottom: 2rem;
	}

	.header-widget .widget {
		border-left: 0px solid black;
		padding-left: 0rem;
		margin-left: 0rem;
		margin-bottom: 2rem;
	}

	.header-widget .menu li a {
		padding: 0.5em 0;
	}

	.main-navigation ul ul {
		position: static;
		float: none;
		box-shadow: none;
		padding-left: 1rem;
	}

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

	.main-navigation ul.primary-menu ul li a {
		padding: 0.2em 0;
		font-size: 0.85em;
	}

	h1.site-title a,
	p.site-title a {
		width: 150px;
		height: 70px;
	}
}

/* WORDPRESS BLOCKS */
ul.wp-block-post-template {
	padding: 0;
}

/* CATEGORY NEWS */
.archive-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.archive-grid article {
	width: 22%;
}

.archive-grid article img {
	width: 100%;
}

/* SINGLE NEWS */
.single.category-news .site-main article {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

/* ARCHIVE EXHIBITORS */
.archive-grid-exhibitors {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(31%, 1fr));
	grid-area: auto;
	gap: 1%;
}

.alphabetical-group {
	margin-bottom: 2rem;
}

.alphabetical-group-letter {
	font-size: 3rem;
	border-bottom: 1px solid black;
}

.alphabetical-group h2 {
	margin-top: 0;
	margin-bottom: 0;
}

.post-type-archive-exhibitor .archive-grid {}

.post-type-archive-exhibitor .archive-grid article {

	margin-bottom: 3rem;
	position: relative;
}

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

.post-type-archive-exhibitor .archive-grid article .entry-header {

	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	padding: 0.5rem;
}

/* SINGLE EXHIBITORS */
.exhibitor-info-box {
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	padding: 1rem 0;
	margin-bottom: 3rem;
}

.exhibitor-info-box h4 {
	margin-top: 0;
}

.exhibitor-info-line .exhibitor-info-line-legend {
	font-weight: bold;
}

.single-exhibitor-layout-col-media img {
	width: 100%;
}

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

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


/* FOOTER */

.site-footer {
	padding: 2rem;
	border-top: 1px solid;
}

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

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

.site-footer .menu li a {
	text-decoration: none;
}

.site-info {
	font-size: 0.8rem;
	font-weight: bold;
}