.ws-header {
	display: flex;
	flex-direction: column;
	position: fixed;
	width: 100%;
	z-index: 50;
}

.ws-header-main {
	background-color: var(--sporsora-primary-color);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 25px 0;
	position: relative;
	z-index: 20;
}

.ws-header-main > .ws-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.ws-header-right {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 15px;
}

.ws-header-social-networks {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ws-header-social-networks > a,
.ws-header-newsletter,
.ws-header-newsletter::after {
	width: 48px;
	height: 48px;
	border: 3px solid #cf2836;
	display: flex;
	align-items: center;
	justify-content: center;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	background-color: var(--sporsora-primary-color);
	transition: background-color 0.2s ease;
}
.ws-header-social-networks > a:hover,
.ws-header-newsletter:hover,
.ws-header-newsletter:hover::after {
	background-color: #cf2836;
}

.ws-header-social-networks > a > i {
	font-size: 22px;
	color: #fff;
}

.ws-header-newsletter {
	width: 56px;
	height: 56px;
	position: relative;
}
.ws-header-newsletter::after {
	content: "\2b";
	font-family: "Font Awesome 7 Pro";
	font-size: 12px;
	color: #fff;
	position: absolute;
	top: -6px;
	right: -6px;
	width: 24px;
	height: 24px;
	background-color: #cf2836;
}

.ws-header-newsletter > i {
	font-size: 22px;
	color: #fff;
}

.ws-elementor-widget-ws-header .ws-search-form {
	display: flex;
	align-items: stretch;
	justify-content: flex-end;
	height: 46px;
	max-height: 46px;
	transition: height 0.2s;
}

.ws-elementor-widget-ws-header .ws-search-form .ws-search-input,
.ws-elementor-widget-ws-header .ws-search-form .ws-search-submit {
	font-size: 1.4rem;
	background-color: rgba(255, 150, 150, 0.1);
	color: #fff;
	padding: 16px;
	border: none;
	outline: none;
	width: 100%;
	flex-shrink: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	height: 100%;
	backdrop-filter: blur(5px);
	border-radius: 9px 0 0 9px;
	transition: background-color 0.2s ease;
}

.ws-elementor-widget-ws-header .ws-search-form .ws-search-input::placeholder {
	color: #ff838d;
}

.ws-elementor-widget-ws-header .ws-search-form .ws-search-input:focus {
	background-color: rgba(255, 150, 150, 0.2);
}

.ws-elementor-widget-ws-header .ws-search-form .ws-search-submit {
	width: unset;
	padding: 0 20px;
	border-radius: 0 9px 9px 0;
	cursor: pointer;
	border-left: 1px solid rgba(255, 150, 150, 0.2);
}
.ws-elementor-widget-ws-header .ws-search-form .ws-search-submit:hover {
	background-color: rgba(255, 150, 150, 0.15);
}
.ws-elementor-widget-ws-header .ws-search-form .ws-search-submit:active {
	background-color: rgba(255, 150, 150, 0.2);
}

.ws-header-menu {
	position: sticky;
	top: 0;
	background-color: var(--sporsora-secondary-color);
	z-index: 999;
}

.ws-header-menu ul {
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
    flex-wrap: wrap;
	list-style: none;
	max-width: 100%;
}

.ws-header-menu .menu-item a {
	display: flex;
	align-items: center;
	gap: clamp(4px, 0.5vw, 10px);
	font-size: clamp(7px, 1vw, 12px);
	font-weight: 700;
	height: 46px;
	color: var(--sporsora-primary-color);
	background-color: var(--sporsora-secondary-color);
	text-transform: uppercase;
	text-decoration: none;
	font-weight: 500;
	padding: 0 clamp(8px, 1vw, 18px);
	cursor: pointer;
}

.ws-header-menu .menu-item.current-menu-ancestor a {
	background-color: var(--sporsora-primary-color);
	color: white;
}

.ws-header-menu .menu-item.current-menu-ancestor > a > i,
.ws-header-menu .menu-item.current-menu-ancestor > a > .menu-item-mobile-open > i,
.ws-header-menu .menu-item.current-menu-ancestor > a:hover > i {
	color: white;
}

.ws-header-menu .menu-item a:hover {
	background-color: var(--sporsora-quaternary-color);
}

.ws-header-menu .menu-item.current-menu-ancestor a:hover {
	background-color: var(--sporsora-tertiary-color);
}

.ws-header-menu .menu-item a i {
	color: var(--sporsora-quaternary-color);
	font-size: 1.6rem;
}
.ws-header-menu .menu-item a:hover i {
	color: var(--sporsora-quinary-color);
}

.ws-header-menu .menu-item.menu-highlight a {
	background-color: var(--sporsora-quaternary-color);
	font-weight: 600;
}

.ws-header-menu .menu-item.menu-highlight a i {
	color: var(--sporsora-primary-color);
}

.ws-header-menu .menu-item:hover .sub-menu-container {
	visibility: visible;
	transition: visibility 0s ease 0s, margin-left 0.3s ease;
}

.ws-header-menu .menu-item .sub-menu-container {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background-color: var(--sporsora-primary-color);
	visibility: hidden;
	transition: visibility 0s ease 0.15s, margin-left 0.3s ease;
}

.ws-header-menu .menu-item .sub-menu-container .menu-item a {
	background-color: unset;
	color: #fff;
}
.ws-header-menu .menu-item .sub-menu-container .menu-item a:hover {
	background-color: var(--sporsora-tertiary-color);
}

.ws-header-menu-mobile-toggle {
	display: none;
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 3rem;
	color: #fff;
	padding: 1rem;
	cursor: pointer;
}

.ws-header-menu-mobile-open .ws-header-menu {
	display: block !important;
}

.ws-header-menu .menu-item .menu-item-mobile-open {
	display: none;
}

.ws-header-menu .menu-item .menu-item-mobile-back {
	display: none;
}

.ws-header-spacer {
	height: 152px;
}

/* ----- */

.ws-header-member {
	position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	z-index: 999;
	visibility: hidden;
	transition: visibility 0s ease 0.4s;
}

.ws-header-member-content {
	width: 270px;
	height: 100%;
	background-color: var(--e-global-color-primary);
	-webkit-box-shadow: 13px 0px 153px -16px rgba(0, 0, 0, 0.8);
	-moz-box-shadow: 13px 0px 153px -16px rgba(0, 0, 0, 0.8);
	box-shadow: 13px 0px 153px -16px rgba(0, 0, 0, 0.8);
	-webkit-transition: left 0.4s;
	-moz-transition: left 0.4s;
	-ms-transition: left 0.4s;
	-o-transition: left 0.4s;
	transition: left 0.4s;
	left: -100%;
	position: relative;
	z-index: 2;
    color: #fff;
    font-size: 12px;
}

.ws-header-member-overlay {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-color: rgba(255, 255, 255, 0.7);
	-webkit-transition: 0.4s opacity, 0.4s visibility;
	-moz-transition: 0.4s opacity, 0.4s visibility;
	-ms-transition: 0.4s opacity, 0.4s visibility;
	-o-transition: 0.4s opacity, 0.4s visibility;
	transition: 0.4s opacity, 0.4s visibility;
	opacity: 0;
	z-index: 1;
}

.ws-header-member-open .ws-header-member {
	visibility: visible;
	transition: visibility 0s ease 0s;
}

.ws-header-member-open .ws-header-member-content {
	left: 0;
}

.ws-header-member-open .ws-header-member-overlay {
	opacity: 1;
}

.ws-header-member-close {
	position: absolute;
	top: 20px;
	right: 20px;
	font-size: 18px;
	color: #d73f4c;
	cursor: pointer;
	padding: 8px;
}

.ws-header-member-header {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: flex-start;
	color: #fff;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: bold;
	padding: 28px 50px 0 20px;
	margin-bottom: 20px;
}

.ws-header-member-header i {
	font-size: 19px;
}

.ws-header-member-body {
	padding: 20px;
	border-bottom: 2px dotted #fff;
}

.ws-header-member-not-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.wp-theme-ws .ws-header-member a {
    text-align: center;
    color: #fff;
}
.wp-theme-ws .ws-header-member a:hover {
    text-decoration: underline;
}

.wp-theme-ws .ws-header-member input[type="submit"],
.wp-theme-ws .ws-header-member a.ws-header-member-link {
    width: 100%;
    color: #FFF;
	font-size: 14px;
	font-weight: bold;
	padding: 13px 17px;
	text-transform: uppercase;
	border: 0;
	margin: 0;
	outline: none;
	text-align: center;
	display: inline-block;
	-webkit-transition: all 0.4s;
	-moz-transition: all 0.4s;
	-ms-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
	cursor: pointer;
	text-decoration: none;
    background-color: var(--sporsora-senary-color);
}

.ws-header-member input[type="submit"]:hover,
.ws-header-member a.ws-header-member-link:hover {
    text-decoration: underline;
    opacity: .8;
}

.ws-header-member .wpum-form.wpum-login-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ws-header-member .wpum-form.wpum-login-form fieldset {
    padding: 0;
}

.ws-header-member .wpum-form.wpum-login-form .field input[type="text"],
.ws-header-member .wpum-form.wpum-login-form .field input[type="password"] {
    border: none;
    background-color: #fff;
}

.ws-header-member .wpum-form.wpum-login-form .field input[type="checkbox"] {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
.ws-header-member .wpum-form.wpum-login-form label:has(.field > input[type="checkbox"]) {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.ws-header-member .wpum-form.wpum-login-form .field:has(input[type="checkbox"]) {
    position: relative;
    width: 2rem;
    height: 2rem;
}
.ws-header-member .wpum-form.wpum-login-form .field:has(input[type="checkbox"])::before {
    content: "";
    width: 100%;
    height: 100%;
    display: inline-block;
    margin-right: 1rem;
    background-color: #fff;
    background-clip: content-box;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.ws-header-member .wpum-form.wpum-login-form .field:has(input[type="checkbox"])::after {
    border-right: 2px solid var(--sporsora-senary-color);
    border-right-color: var(--sporsora-senary-color);
    border-top: 2px solid var(--sporsora-senary-color);
    border-top-color: var(--sporsora-senary-color);
    content: "";
    width: 0.5rem;
    height: 1.1rem;
    left: 0.4rem;
    top: 50%;
    position: absolute;
    transform: scaleX(-1) rotate(135deg);
    transform-origin: left top;
    display: none;
}
.ws-header-member .wpum-form.wpum-login-form .field:has(input[type="checkbox"]:checked)::after {
    -moz-animation: check 0.8s ease 0s running;
    -webkit-animation: check 0.8s ease 0s running;
    animation: check 0.8s ease 0s running;
    display: block;
    width: 0.5rem;
    height: 1.1rem;
    border-color: var(--sporsora-senary-color);
}

.ws-header-member .wpum-message {
    border-radius: 0;
    text-shadow: none;
    line-height: 1.6;
}

.ws-header-member .ws-header-member-account {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    text-align: center;
}

.ws-header-member-footer,
.ws-header-member-footer + .menu {
    padding: 20px;
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex-direction: column;
    font-size: 14px;
    list-style: none;
}

.ws-header-member-footer:has(+ .menu) {
    padding-bottom: 0;
}
.ws-header-member-footer + .menu {
    padding-top: 15px;
}

@keyframes check {
    0% {
        height: 0;
        width: 0;
    }
    25% {
        height: 0;
        width: 0.5rem;
    }
    50% {
        height: 1.1rem;
        width: 0.5rem;
    }
}

.ws-header-member .wpum-form.wpum-login-form .cf-turnstile-br {
    display: none;
}

.ws-header-member .wpum-form.wpum-login-form label:not(:has(.field)) {
    display: none;
}

.ws-header-member .wpum-action-links {
    display: none;
}

.ws-header-member-links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ----- */

@media (max-width: 767px) {
	.ws-header-main {
		padding: 15px 0;
	}

	.ws-header-main > .ws-content {
		flex-direction: column;
		gap: 1rem;
		overflow: hidden;
	}

	.ws-header-right {
		width: 100%;
	}

	.ws-search-form {
		width: 100%;
	}

	.ws-elementor-widget-ws-header .ws-search-form.scroll {
		height: 0;
	}

	.ws-elementor-widget-ws-header .ws-search-form .ws-search-input {
		flex-shrink: 1;
	}

	.ws-header-social-networks {
		position: absolute;
		top: 6px;
		right: -3px;
		flex-direction: row;
		transform: translateX(100%) scale(0.85);
		visibility: hidden;
		opacity: 0;
		transition: visibility 0s ease 0.2s, opacity 0.2s ease;
	}
	body.ws-header-menu-mobile-open .ws-header-social-networks {
		visibility: visible;
		opacity: 1;
		transition: visibility 0s ease 0.6s, opacity 0.2s ease 0.6s;
	}

	.ws-header-newsletter {
		position: absolute;
		top: 3px;
		right: calc(-75% + 8px);
		flex-direction: row;
		transform: scale(0.85);
		z-index: -1;
		visibility: hidden;
		opacity: 0;
		transition: visibility 0s ease 0.2s, opacity 0.2s ease;
	}
	body.ws-header-menu-mobile-open .ws-header-newsletter {
		visibility: visible;
		opacity: 1;
		transition: visibility 0s ease 0.6s, opacity 0.2s ease 0.6s;
	}

	.ws-header-menu-mobile-toggle {
		display: block;
	}

	.ws-header-menu {
		position: absolute;
		top: 0;
		height: 100vh;
		width: 75%;
		right: -75%;
		z-index: -2;

		visibility: hidden;

		transition: visibility 0s ease 0.8s, right 0.4s ease 0.4s;
	}
	body.ws-header-menu-mobile-open .ws-header-menu {
		display: block;
		visibility: visible;

		transition: visibility 0s ease 0s, right 0.4s ease;
	}

	.ws-header-menu .menu-item a {
		font-size: 9px;
	}

	body {
		transition: margin-left 0.4s ease 0.4s;
	}
	body.ws-header-menu-mobile-open {
		margin-left: -75%;
		transition: margin-left 0.4s ease;
	}
	html:has(body.ws-header-menu-mobile-open) {
		overflow: hidden;
	}

	.ws-header-menu .ws-content {
		padding: 0;
	}

	.ws-header-menu > .ws-content {
		overflow: hidden;
		flex-direction: column;
		transition: margin-top 0.2s ease 0.2s, border-top 0.4s ease 0.2s;
	}

	body.ws-header-menu-mobile-open .ws-header-menu > .ws-content {
		margin-top: 60px;
		border-top: 1px solid var(--sporsora-primary-color);
		transition: margin-top 0.2s ease 0.4s, border-top 0.4s ease 0.4s;
	}

	.ws-header-menu-mobile-open .ws-header-menu .menu-item .sub-menu-container {
		visibility: visible;
		transition: visibility 0s ease 0s, margin-left 0.3s ease;
	}

	.ws-header-menu-mobile-open .ws-header-menu .mobile-visible {
		margin-left: -100%;
	}

	.ws-header-menu ul {
		flex-direction: column;
	}

	.ws-header-menu ul.menu {
		transition: margin 0.3s ease;
	}

	.ws-header-menu .menu-item {
		border-bottom: 1px solid var(--sporsora-quaternary-color);
	}

	.ws-header-menu .menu-item-mobile-open {
		margin-left: auto;
		height: 100%;
		display: flex;
		align-items: center;
		padding: 0 2rem 0 1.5rem;
		border-left: 1px solid var(--sporsora-quaternary-color);
	}

	.ws-header-menu .menu-item:has(.sub-menu-container) > a {
		padding-right: 0;
	}

	.ws-header-menu .menu-item:has(.sub-menu-container) > a > .menu-item-mobile-open {
		display: flex;
	}

	.ws-header-menu .menu-item .sub-menu-container {
		display: block;
		top: 60px;
		left: 100%;
		background: unset;
	}

	.ws-header-menu .menu-item .sub-menu-container .menu-item a {
		color: var(--sporsora-primary-color);
		background-color: unset;
	}
	.ws-header-menu .menu-item .sub-menu-container .menu-item a:hover {
		background-color: unset;
	}

	.ws-header-menu .menu-item .sub-menu-container .menu-item.menu-item-mobile-back a {
		color: #6f6f6f;
	}

	.ws-header-menu .menu-item .menu-item-mobile-back {
		display: block;
	}

	.ws-header-menu-mobile-open .ws-header-blocker {
		width: 100vw;
		height: 100vh;
	}

	.ws-header-spacer {
		height: 132px;
	}
}
