/*
Theme Name: midori
Author: midori
Author URI: https://www.midori.lu/
Text Domain: midori
Version: 2.0

*/

.text-wrapper .description p a {
	text-decoration: underline;
}
form.wpcf7-form a {
	text-decoration: underline;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

@font-face {
	font-display: swap;
	font-family: 'Gasoek One';
	font-style: normal;
	font-weight: 400;
	src: url('assets/fonts/gasoek-one.woff2') format('woff2');
}

:root {
	--purple: #8f73d9;
	--green: #72c86f;
	--yellow: #e9ad00;
	--white: #f9f8ef;
	--blue: #56bccb;
	--pink: #e46399;
	--orange: #e4600b;
}

audio,
canvas,
embed,
iframe,
img,
object,
svg,
video {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

body {
	font-family: 'neue-haas-grotesk-display', sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 18px;
	line-height: 1.25;
	color: #000;
}

a {
	text-decoration: none;
	color: inherit;
	transition: color 0.3s;
}
a:hover,
a:focus-visible {
	color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Gasoek One';
	font-weight: 310;
	margin: 0;
	color: #000000;
}

.bg-purple,
.bg-purple::after {
	background-color: var(--purple) !important;
}

.bg-green,
.bg-green::after {
	background-color: var(--green) !important;
}

.bg-yellow,
.bg-yellow::after {
	background-color: var(--yellow) !important;
}

.bg-white,
.bg-white::after {
	background-color: var(--white) !important;
}

.bg-blue,
.bg-blue::after {
	background-color: var(--blue) !important;
}

.bg-pink,
.bg-pink::after {
	background-color: var(--pink) !important;
}

.scale-animation {
	transition: all 0.15s ease-in-out;
	will-change: transform;
}

.scale-animation:hover,
.scale-animation:focus-visible {
	transform: scale(1.05) !important;
}

.scale-animation:active {
	transform: scale(0.95) !important;
}

/* ── Animation Pre-hide ── */
.will-animate {
	opacity: 0;
}

.will-animate-up {
	opacity: 0;
	transform: translateY(30px);
}

.will-animate-scale {
	opacity: 0;
	transform: scale(0.95);
}

/* POPUP */
.modal-content {
	border: 3px solid #000000;
	padding: 30px 40px 40px 40px;
}

.modal-header {
	justify-content: center;
	text-align: center;
	border: 0;
	padding: 0;
	margin-bottom: 30px;
}

.modal-header h3 {
	font-size: 57px;
}

.modal-header .btn-close {
	position: absolute;
	background-color: #ffffff;
	border: 3px solid #000000;
	border-radius: 50%;
	top: -20px;
	right: -20px;
	width: 60px;
	height: 60px;
	padding: 0 !important;
	opacity: 1;
}

.modal-header .btn-close:hover,
.modal-header .btn-close:focus-visible {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFFFFF'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");
}

.modal-body {
	padding: 0;
}

/* RANKING CARD */
.ranking-card-wrapper {
	overflow-y: auto;
	max-height: 60vh;
	height: 400px;
}

.ranking-list {
	padding: 0 10px 0 0;
	margin: 0;
	list-style: none;
}

.ranking-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px 15px;
}

.ranking-list li:not(:last-child) {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
}

.ranking-percentage {
	display: flex;
	align-items: center;
	justify-content: end;
	gap: 10px;
}

.ranking-bar {
	width: 200px;
	height: 20px;
	border-radius: 15px;
	overflow: hidden;
	display: flex;
	justify-content: flex-end;
}

.ranking-bar .ranking-fill {
	height: 100%;
	border-radius: 15px;
	background-color: var(--yellow);
}

.ranking-number {
	font-family: 'Gasoek One';
	font-size: 27px;
	color: var(--orange);
	width: 90px;
	text-align: right;
}

/* BUTTONS */
.btn {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	border: 0;
	font-size: 18px;
	line-height: 1.2;
	font-weight: 600;
	border-radius: 70px;
	padding: 11px 16px;
	background-color: #ffffff;
	color: #000000;
	will-change: transform, background-color, color;
	transition: all 0.15s ease-in-out;
}

.btn-big {
	font-size: 27px;
	padding: 11px 23px;
}

.btn-yellow {
	background-color: var(--yellow);
	color: #000000;
}

.btn:hover,
.btn:focus-visible,
.btn-check:checked + .btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check) + .btn:active {
	background-color: #000000;
	color: #ffffff;
	transform: scale(1.05) !important;
	border-color: #000000 !important;
}

.btn:active,
.btn:first-child:active,
:not(.btn-check) + .btn:active {
	transform: scale(0.95) !important;
}

.btn.arrow-icon::after {
	content: '';
	background-image: url('assets/images/icons/arrow-icon.svg');
	background-size: contain;
	background-repeat: no-repeat;
	display: inline-block;
	width: 16px;
	height: 16px;
	transition: all 0.15s ease-in-out;
}

/* Icon alignment fix */
.btn:not(.btn-big) {
	padding-bottom: 9px;
}
.btn.arrow-icon::after {
	margin-bottom: 2px;
}

.btn:hover::after,
.btn:active::after,
.btn:focus-visible::after {
	filter: invert(1);
}

.btn-bordered {
	border: 3px solid #000000;
}

/* HEADER & NAVIGATION */
header.site-header {
	position: relative;
	overflow-x: clip;
}

nav.main-navigation {
	position: fixed;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background-color: transparent;
	padding: 15px 0;
}

header.site-header.is-sticky nav.main-navigation {
	position: fixed;
}

body.admin-bar header.site-header.is-sticky nav.main-navigation {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar header.site-header.is-sticky nav.main-navigation {
		top: 46px;
	}
}

ul.social-media {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

ul.social-media li {
	display: inline-flex;
}

ul.social-media li img {
	width: 24px;
	height: 24px;
	object-fit: contain;
}

.navbar .social-media {
	justify-content: left;
}

.logo {
	font-family: 'Gasoek One';
	font-size: 28px;
}

.menu-action {
	display: flex;
	align-items: center;
	justify-content: end;
	gap: 15px;
	position: relative;
}

.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 43px;
	height: 43px;
	background-color: #ffffff;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	padding: 0;
	position: relative;
	z-index: 1000;
}

.menu-toggle[aria-expanded='true'] {
	transform: none !important;
}

.menu-icon {
	position: relative;
	width: 24px;
	height: 18px;
	transition: all 0.3s ease-in-out;
}

.menu-icon::before,
.menu-icon::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 2px;
	background-color: #000000;
	left: 0;
	transition: all 0.3s ease-in-out;
}

.menu-icon::before {
	top: 0;
}

.menu-icon::after {
	bottom: 0;
}

.menu-icon span {
	position: absolute;
	width: 80%;
	height: 2px;
	background-color: #000000;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	transition: all 0.3s ease-in-out;
}

.menu-toggle.active .menu-icon::before {
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active .menu-icon::after {
	bottom: 50%;
	transform: translateY(50%) rotate(-45deg);
}

.menu-toggle.active .menu-icon span {
	opacity: 0;
}

.menu-toggle:hover .menu-icon span {
	width: 100%;
}

.menu-wrapper {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: all 0.3s ease-in-out;
	position: absolute;
	padding: 60px 25px 40px 25px;
	top: 0;
	right: -350px;
	border-radius: 30px;
	width: 350px;
	transition-duration: 0.75s;
	transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
	will-change: transform, opacity, visibility;
	max-height: 80svh;
	overflow-y: auto;
}

.menu-wrapper.active {
	visibility: visible;
	opacity: 1;
	right: 0;
	pointer-events: auto;
	background-color: #ffffff;
	clip-path: inset(0% round 0.375rem);
}

.menu-wrapper .navbar-container,
.menu-wrapper .language-wrapper,
.menu-wrapper .social-media {
	margin-top: 30px;
}

.home-link svg {
	width: 24px;
	height: 24px;
}

ul.main-menu li:not(:last-child) {
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
}

ul.main-menu li a {
	display: block;
	font-family: 'Gasoek One';
	text-transform: uppercase;
	font-size: 27px;
}

ul.main-menu li a:hover,
ul.main-menu li a:focus-visible {
	color: var(--orange);
}

.language-wrapper {
	position: relative;
}

.language-wrapper::after {
	content: '\f078';
	font-family: 'Font Awesome 7 Free';
	font-weight: 900;
	position: absolute;
	top: 50%;
	right: 15px;
	transform: translateY(-50%);
	font-size: 14px;
	color: #000000;
	pointer-events: none;
}

.language-switcher {
	width: 100%;
	border: 3px solid #000000;
	font-size: 18px;
	font-weight: 600;
	border-radius: 70px;
	padding: 8px 15px;
	cursor: pointer;
	appearance: none;
}

.menu-wrapper .social-media {
	justify-content: start;
}

.menu-wrapper .social-media li img {
	transition: all 0.3s ease-in-out;
	filter: brightness(0) saturate(100%) invert(42%) sepia(44%) saturate(4146%)
		hue-rotate(4deg) brightness(97%) contrast(91%);
}

/* HOMEPAGE */
.home-section {
	min-height: 100vh;
	padding: 100px 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
}

.home-section::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 50px;
	z-index: -1;
}

.home-section.hero h1 {
	font-size: 176px;
}

.home-section.hero .subtitle {
	margin-top: 1.5rem;
	margin-bottom: 2.5rem;
}

.home-section h2:not(.word-faceoff__winner-word) {
	font-size: 57px;
	margin-bottom: 1.5rem;
}

.home-section h2.large {
	font-size: 110px;
}

.subtitle {
	font-size: 27px;
}

.subtitle.font-small {
	font-size: 14px;
	font-weight: 600;
}

/* Section 2 */
.home-section.section-2 .text-wrapper {
	transform: translateY(-50px);
}

.home-section.section-2 .button-wrapper {
	margin-top: 40px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 25px 15px;
}

.home-section.section-2 .btn {
	transform: rotate(-3.22deg);
}

.home-section.section-2 .btn:hover,
.home-section.section-2 .btn:focus-visible {
	transform: rotate(-3.22deg) scale(1.05) !important;
}

.home-section.section-2 .btn:active {
	transform: rotate(-3.22deg) scale(0.95) !important;
}

.home-section.section-2 .btn-yellow {
	transform: rotate(2.6deg);
}

.home-section.section-2 .btn-yellow:hover,
.home-section.section-2 .btn-yellow:focus-visible {
	transform: rotate(2.6deg) scale(1.05) !important;
}

.home-section.section-2 .btn-yellow:active {
	transform: rotate(2.6deg) scale(0.95) !important;
}

.home-section.section-2 .image-wrapper {
	position: relative;
	display: flex;
	height: 100%;
}

.curved-line {
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 150%;
	height: auto;
	max-width: inherit;
}

.boxed-text {
	padding: 20px;
	border-radius: 15px;
	border: 3px solid #000000;
	display: flex;
	align-items: center;
	gap: 15px;
}

.boxed-text .text-content > *:last-child {
	margin-bottom: 0;
}

.boxed-text .icon {
	height: 27px;
}

/* Affiches */
.affiches-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px 20px;
}

.affiche-item .affiche-image {
	margin-bottom: 10px;
	border-radius: 15px;
	overflow: hidden;
}

.affiche-item a {
	display: inline-flex;
	align-items: end;
	gap: 5px;
	text-decoration: none;
	line-height: 1.2;
	color: #000 !important;
}

.affiche-item a span {
	border-bottom: 1px solid #000000;
}

/* CONTACT FORM 7 */
.form-wrapper .wpcf7-form label {
	font-size: 15px;
	margin-bottom: 5px;
}

.form-wrapper .wpcf7-form .input-wrapper {
	display: block;
	width: 100%;
	border: 3px solid #000000;
	background-color: #ffffff;
	border-radius: 15px;
	padding: 20px 20px 20px 18px;
	margin-bottom: 1.5rem;
	text-align: left;
}

.form-wrapper .wpcf7-form .input-wrapper label {
	margin-left: 2px;
}

.form-wrapper .wpcf7-form .input-wrapper .wpcf7-form-control {
	padding: 6px 2px;
}

.form-wrapper .wpcf7-form .input-wrapper:has(input.wpcf7-not-valid) label {
	color: #dc3232 !important;
}

.wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.wpcf7-form-control:not(.wpcf7-acceptance) {
	display: block;
	width: 100%;
	padding: 0.375rem 0.75rem;
	border-radius: 5px;
	border: 0;
}

.wpcf7-list-item {
	margin: 0;
}

.form-wrapper .wpcf7-form .wpcf7-list-item label {
	font-size: 18px;
}

.form-wrapper .wpcf7-form input[type='checkbox'] {
	width: 30px;
	height: 30px;
	border: 3px solid #000000;
	background-color: #ffffff;
	border-radius: 5px;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	margin: 0;
	display: inline-block;
	vertical-align: middle;
	position: relative;
	flex-shrink: 0;
}

.form-wrapper .wpcf7-form input[type='checkbox']:checked {
	background-color: #000000;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20.285 6.709a1 1 0 0 1 0 1.414l-11.5 11.5a1 1 0 0 1-1.414 0l-5.5-5.5a1 1 0 1 1 1.414-1.414l4.793 4.793 10.793-10.793a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E");
	background-size: 60%;
	background-position: center;
	background-repeat: no-repeat;
}

.wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.submit-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px 50px;
}

.wpcf7-not-valid-tip {
	font-size: 11px;
	margin-top: 5px;
	text-align: right;
}

.wpcf7-not-valid {
	border-color: #dc3232 !important;
}

.wpcf7 form .wpcf7-response-output {
	margin: 30px 0 0;
	padding: 20px;
	background-color: #ffffff;
	border-radius: 15px;
	border-color: #ffffff;
}

/* DEFAULT PAGES */
.default-page-section {
	padding: 120px 0 50px;
}

h1.page-title {
	font-size: 57px;
	margin-bottom: 1.5rem;
}

/* VOTE PAGE */
.vote-page {
	min-height: 70vh;
	padding: 100px 0 100px;
}

.vote-page h1 {
	font-size: 70px;
}

.vote-page .button-wrapper {
	margin-top: 40px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 15px;
}

.vote-page .form-wrapper {
	text-align: left;
}

/* FOOTER */
footer {
	padding: 75px 0;
	background-color: #000000;
	color: #ffffff;
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
}

footer h3 {
	font-family: 'neue-haas-grotesk-display', sans-serif;
	font-weight: 700;
	font-style: normal;
	font-size: 18px;
	font-family: inherit;
	margin-bottom: 0.5rem;
	color: #ffffff;
}

footer a:not(.logo):hover,
footer a:not(.logo):focus-visible {
	text-decoration: underline;
}

.footer-header,
.footer-copyright {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-header {
	margin-bottom: 30px;
	margin-bottom: 125px;
}

footer .social-media img {
	filter: invert(1);
}

.footer-columns {
	align-items: end;
	padding-bottom: 40px;
	margin-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-partners {
	display: flex;
	justify-content: end;
	align-items: end;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 20px;
}

.footer-partners a {
	display: inline-block;
}

.footer-partners img {
	height: 70px;

	max-width: 200px;
	filter: grayscale(1) brightness(6);
}

ul.footer-menu {
	display: flex;
	justify-content: end;
	align-items: center;
	list-style: none;
	gap: 20px;
	padding: 0;
	margin: 0;
}

@media screen and (max-width: 1200px) {
	.home-section {
		overflow-x: clip;
	}

	.home-section.hero h1 {
		font-size: 150px;
	}
	.home-section h2.large,
	.home-section h2:not(.word-faceoff__winner-word) {
		font-size: 50px;
	}
	.subtitle {
		font-size: 24px;
	}

	.home-section .text-wrapper {
		margin-bottom: 50px;
	}

	.home-section .image-wrapper {
		text-align: center;
	}

	.home-section .image-wrapper img {
		display: inline-block;
	}
}

@media screen and (max-width: 1024px) {
	.home-section.hero h1 {
		font: size 100px;
	}
}

@media screen and (max-width: 1024px) {
	.home-section.hero h1 {
		font-size: 75px;
	}

	.home-section.hero .subtitle {
		margin-top: 1.5rem;
		margin-bottom: 2rem;
	}
}

@media screen and (max-width: 768px) {
	.btn-big {
		font-size: 20px;
		padding: 8px 15px;
	}

	.main-navigation .container {
		flex-wrap: nowrap;
	}

	.main-navigation .container > .social-media,
	.main-navigation .menu-action .btn {
		display: none;
	}

	.home-section,
	footer {
		padding: 50px 0;
	}

	.home-section.hero h1,
	.vote-page h1 {
		font-size: 50px;
	}

	.vote-page {
		padding-top: 80px;
	}

	.vote-page .votesubtitle {
		font-size: 20px !important;
	}

	.home-section.hero .subtitle {
		margin-top: 1rem;
		margin-bottom: 1.5rem;
	}

	.home-section h2.large,
	.home-section h2:not(.word-faceoff__winner-word) {
		font-size: 40px;
	}

	.affiches-list {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-header {
		margin-bottom: 40px;
	}

	.footer-header,
	.footer-copyright {
		flex-direction: column;
		align-items: start;
		gap: 20px;
	}

	.footer-partners {
		margin-top: 10px;
		flex-direction: column;
		align-items: start;
		justify-content: center;
		gap: 20px;
	}

	ul.footer-menu {
		flex-direction: column;
		align-items: start;
		gap: 10px;
	}

	.footer-partners img {
		max-width: 100%;
	}

	.modal-header .btn-close {
		top: -5px;
		right: -5px;
		width: 50px;
		height: 50px;
	}

	.ranking-list li {
		flex-direction: column;
		align-items: end;
		gap: 10px;
	}

	.ranking-percentage {
		flex: 1;
	}
}
