/**
Theme Name: Berg Nyílászárók
Author: zsiraiandras.com
Author URI: https://zsiraiandras.com
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: berg-nyilaszarok
*/

/* Normalize
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
	scroll-behavior: smooth;
}

/**
   * Remove the margin in all browsers.
   */

body {
	margin: 0;
	/* width: 100vw; */
	font-family: "Montserrat";
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
	font-weight: bolder;
}

/**
  * 1. Correct the inheritance and scaling of font size in all browsers.
  * 2. Correct the odd `em` font sizing in all browsers.
  */

code,
kbd,
samp {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* 
  =====================================================
  CSS VARIABLES
  =====================================================
*/
:root {
	--color-white: #ffffff;
	--color-black: #202020;
	--color-grey: #5c5c5c;
	--color-light-grey: #f3f3f3;
	--color-medium-grey: hsl(0, 0%, 80%);
	--color-dark-grey: #58595b;
	--color-orange: #ed691f;

	--transition: all 0.4s cubic-bezier(0.65, 0.05, 0.4, 1);

	--box-shadow: 50px 0px 30px -5px rgb(69 74 79 / 25%);
	--box-shadow-light: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

/* 
  =====================================================
  FONTS
  =====================================================
*/
@font-face {
	font-family: "Montserrat";
	src:
		url("/wp-content/themes/berg-theme/assets/fonts/Montserrat-Regular.woff2") format("woff2"),
		url("/wp-content/themes/berg-theme/assets/fonts/Montserrat-Regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Montserrat";
	src:
		url("/wp-content/themes/berg-theme/assets/fonts/Montserrat-Medium.woff2") format("woff2"),
		url("/wp-content/themes/berg-theme/assets/fonts/Montserrat-Medium.woff") format("woff");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Montserrat";
	src:
		url("/wp-content/themes/berg-theme/assets/fonts/Montserrat-SemiBold.woff2") format("woff2"),
		url("/wp-content/themes/berg-theme/assets/fonts/Montserrat-SemiBold.woff") format("woff");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Montserrat";
	src:
		url("/wp-content/themes/berg-theme/assets/fonts/Montserrat-Bold.woff2") format("woff2"),
		url("/wp-content/themes/berg-theme/assets/fonts/Montserrat-Bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Montserrat";
	src:
		url("/wp-content/themes/berg-theme/assets/fonts/Montserrat-ExtraBold.woff2") format("woff2"),
		url("/wp-content/themes/berg-theme/assets/fonts/Montserrat-ExtraBold.woff") format("woff");
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

/* 
  =====================================================
  GLOBAL
  =====================================================
*/

@keyframes berg-fade-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.stop-scrolling {
	height: 100%;
	overflow: hidden;
}

/*/
///  SITE LOGO
/*/
.logo-wrapper {
	grid-area: logo;
	display: block;
	margin: 60px auto;
	width: max-content;
	height: 88px;
}
.logo-wrapper a {
	display: inline-block;
	width: 100%;
	height: 100%;
}
.logo,
.logo-wrapper a img {
	display: inline-block;
	margin: 0;
	width: 100%;
	height: 100%;
	max-width: 250px;
	pointer-events: none;
}

/*/
///  TYPOGRAPHY
/*/

body p {
	margin: 0;
	margin-bottom: 30px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.7em;
	color: var(--color-grey);
}
body p:last-of-type {
	margin-bottom: 0;
}

body .subtitle {
	margin-bottom: 15px;
	font-size: 1.4em;
	font-weight: 400;
	line-height: 1em;
	text-transform: uppercase;
	color: var(--color-grey);
	transition: all 0.3s ease-in-out;
}

body .title-xl {
	margin-bottom: 30px;
	font-size: 4.5em;
	font-size: clamp(2rem, 3vw, 80px);
	font-weight: 700;
	line-height: 1.2em;
	color: var(--color-dark-grey);
	text-transform: uppercase;
	transition: all 0.3s ease-in-out;
}

body .title-l {
	margin-bottom: 30px;
	font-size: 4.5em;
	font-size: clamp(2rem, 3vw, 80px);
	font-weight: 500;
	line-height: 1.2em;
	color: var(--color-grey);
	text-transform: uppercase;
	transition: all 0.3s ease-in-out;
}

body .title-l.section-title {
	text-transform: initial;
}

body .title-m {
	margin-bottom: 30px;
	font-size: 1.8em;
	font-weight: 700;
	line-height: 1.25em;
	color: var(--color-grey);
	text-transform: uppercase;
	transition: all 0.3s ease-in-out;
}

body .title-s {
	margin-bottom: 25px;
	font-size: 1.8em;
	font-weight: 500;
	line-height: 1.25em;
	color: var(--color-grey);
	transition: all 0.3s ease-in-out;
}

body .title-big {
	margin: 0 0 30px;
	font-size: clamp(26px, 2.3vw, 60px);
	font-weight: 800;
	line-height: 1em;
	text-transform: uppercase;
	color: var(--color-medium-grey);
}

.inverse {
	color: var(--color-white);
}

.highlight {
	color: var(--color-orange);
}

.center {
	text-align: center;
}

.white {
	color: var(--color-white);
}

a {
	color: var(--color-grey);
	text-decoration: none;
}

a:focus {
	outline: none;
}

@media screen and (max-width: 500px) {
	body .title-m {
		font-size: 1.3em;
	}
}

.wpcf7-not-valid-tip {
	color: var(--color-white);
	font-size: 0.8em;
	font-weight: 600;
	display: block;
	text-transform: uppercase;
}

span.blockspam {
	display: none;
}

/*/
///  LAYOUT & BG
/*/
.section {
	max-width: 100%;
	margin: 0;
	padding: 0 50px;
}

.section-wrapper {
	margin: 0 auto;
	padding: 0 50px;
	padding-left: 100px;
	max-width: 1550px;
}

.section.section-full {
	max-width: 100%;
	padding: 0;
}

.absolute {
	position: absolute;
}

.relative {
	position: relative;
}

.mx-w-1200 {
	margin-left: auto;
	margin-right: auto;
	max-width: 1200px;
}

.mx-w-1500 {
	margin-left: auto;
	margin-right: auto;
	max-width: 1500px;
}

.grid-1-1 {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.grid-1-2 {
	display: grid;
	grid-template-columns: 1fr 2fr;
}

.grid-1-3 {
	display: grid;
	grid-template-columns: 1fr 3fr;
}

.grid-1-4 {
	display: grid;
	grid-template-columns: 1fr 4fr;
}

.grid-1-15 {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
}

.gap-50 {
	gap: 50px;
}

.bg-grey {
	background-color: var(--color-grey);
}

.bg-dark-grey {
	background-color: var(--color-dark-grey);
}

.bg-black {
	background-color: var(--color-black);
	color: var(--color-white);
}

.img-wrapper > img,
.img-wrapper > picture,
.img-wrapper picture img,
picture img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

picture {
	display: inline-block;
}

.section ul {
	margin: 0;
	padding: 0;
	padding-left: 1em;
	list-style-type: square;
}

.section ul li,
.section ol li {
	margin-bottom: 6px;
}
.section ul li:last-child,
.section ol li:last-child {
	margin-bottom: 0;
}

a.img-link {
	display: inline-block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

@media screen and (max-width: 1600px) {
	.section {
		padding-left: 50px;
		padding-right: 50px;
	}
}
@media screen and (max-width: 768px) {
	.section.hero {
		position: relative;
		padding-left: 0;
		padding-right: 0;
	}
}
@media screen and (max-width: 500px) {
	.section {
		padding-left: 20px;
		padding-right: 20px;
	}
	.section.gyik {
		padding: 0 50px;
	}
}

/*/
///  BUTTON BTN
/*/
.btn-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 40px;
}

.btn-wrapper.vertical {
	flex-direction: column;
}

.added_to_cart,
.button,
button,
.btn,
input[type="submit"] {
	display: inline-block;
	width: max-content;
	margin: 0;
	padding: 0.55em 2.5em;
	border-radius: 1em;
	border: 1px solid var(--color-orange);
	background-color: var(--color-orange);
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--color-white);
	transition: all 0.3s ease-in-out;
}

.btn-alt {
	display: inline-block;
	width: max-content;
	margin: 0;
	padding: 0;
	border-radius: 1em;
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--color-orange);
	transition: all 0.3s ease-in-out;
}

.btn-inverse {
	display: inline-block;
	width: max-content;
	margin: 0;
	padding: 0.55em 2.5em;
	border-radius: 1em;
	border: 1px solid;
	background-color: var(--color-white);
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--color-orange);
}

.btn-small {
	margin-top: 20px;
	padding: 0.4em 1.7em;
	font-size: 14px;
}

.btn:focus {
	color: var(--color-white);
	background-color: var(--color-orange);
	border: 1px solid var(--color-orange);
}

.btn:hover {
	color: var(--color-orange);
	background-color: var(--color-white);
	border: 1px solid;
}

.btn-alt:hover {
	color: var(--color-orange);
}

.btn-inverse:hover {
	color: var(--color-white);
	background-color: var(--color-orange);
}

/*/
///  BUTTON BTN ARROW
/*/
.btn-alt .btn-arrow {
	display: inline-block;
	margin-top: 0;
	margin-left: 10px;
	vertical-align: baseline;
	transition: var(--transition);
}

.btn-arrow svg path {
	fill: var(--color-accent);
}

.btn-alt:hover .btn-arrow {
	transform: translateX(5px);
}

/*/
///  BLOG GRID
/*/
.entry-content .display-posts-listing {
	margin: 0;
	padding: 0;
	list-style-type: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
	gap: 50px 5%;
}
.display-posts-listing li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.display-posts-listing li .image {
	margin: 0;
}
.display-posts-listing li .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.display-posts-listing li .title {
	margin: 0;
	font-weight: 700;
	color: var(--color-dark-grey);
}
.display-posts-listing li .excerpt-dash {
	display: none;
}
.display-posts-listing li .excerpt .read-more {
	margin: 20px 0 0;
}
.display-posts-listing li .excerpt .read-more a {
	color: var(--color-orange);
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 700;
}

/*/
///  FLICKITY
/*/
.filter-btn {
	display: inline-block;
	width: max-content;
	margin: 0;
	padding: 0.55em 1.5em;
	border-radius: 1em;
	border: 1px solid var(--color-orange);
	background-color: var(--color-orange);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--color-white);
}

.filter-btn.active {
	color: var(--color-orange);
	background-color: var(--color-white);
	border: 1px solid;
}

.flickity-button {
	position: absolute;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 1px solid var(--color-orange);
	color: var(--color-black);
	transition: all 0.3s ease-in-out;
	backdrop-filter: blur(6px);
}
.flickity-prev-next-button {
	top: 50%;
	border-radius: 50%;
	transform: translateY(-50%);
}
.flickity-prev-next-button .flickity-button-icon {
	position: absolute;
	left: 20%;
	top: 20%;
	width: 25px;
	aspect-ratio: 1.5 / 1;
}
.flickity-button-icon {
	fill: var(--color-orange);
}

/*/
///  FLICKITY Custom
/*/
.flickity-btn {
	padding: 0;
	position: absolute;
	background: transparent;
	border: 1px solid var(--color-orange);
	color: var(--color-black);
	transition: all 0.3s ease-in-out;
	backdrop-filter: blur(6px);
}

.flickity-btn:hover {
	background: transparent;
	border-color: var(--color-black);
	cursor: pointer;
}

.flickity-btn.button--prev {
	left: 50px;
}

.flickity-btn.button--next {
	right: 50px;
}

.flickity-btn .arrow {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	margin: 0;
	width: 25px;
	aspect-ratio: 1.5 / 1;
	pointer-events: none;
}

.flickity-btn .arrow.right-arrow {
	transform: translate(-50%, -50%) rotate(180deg);
}

.flickity-btn:hover .arrow {
	color: var(--color-black);
}

.flickity-btn {
	top: 50%;
	width: 50px;
	height: auto;
	aspect-ratio: 1 / 1;
	border-radius: 10em;
	transform: translateY(-50%);
}

.flickity-btn:focus {
	outline: 0;
	box-shadow: none;
	background-color: initial;
	border-color: var(--color-orange);
}

.flickity-page-dots .dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin: 0 8px;
	background: transparent;
	border: 1px solid var(--color-orange);
	border-radius: 50%;
	opacity: 1;
	cursor: pointer;
}
.flickity-page-dots .dot.is-selected {
	background: var(--color-orange);
}

.flickity-page-dots {
	position: absolute;
	width: 100%;
	left: 0;
	bottom: -35px;
	padding: 0 !important;
	margin: 0 !important;
	list-style: none;
	text-align: center;
	line-height: 1;
}

@media screen and (max-width: 500px) {
	.flickity-page-dots {
		bottom: 0px;
	}
}

/*/
///  WOOCOMMERCE reset
/*/
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
	margin-bottom: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background-color: var(--color-white);
}
.woocommerce ul.products li.product.product_cat-ablakok a img,
.woocommerce-page ul.products li.product.product_cat-ablakok a img {
	object-fit: contain;
}

.ast-single-post.ast-page-builder-template .site-main > article,
.woocommerce.ast-page-builder-template .site-main {
	padding-top: 0;
	padding-left: 0;
	padding-right: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active::before {
	content: none;
}

.woocommerce ul.products li.product a.ast-loop-product__link {
	display: block;
}

.woocommerce mark.count {
	display: none !important;
}

/*/
///  CONTACT FORM 7
/*/

.wpcf7-form-control-wrap {
	margin: 0 0 15px;
}

.wpcf7-form-control-wrap input {
	margin: 0;
	border-radius: 1em;
	font-size: 1rem;
	font-weight: 600;
}

.wpcf7-form-control-wrap textarea {
	margin: 0;
	border-radius: 1em;
	font-size: 1rem;
	font-weight: 600;
	height: 150px;
	resize: vertical;
}

input[type="submit"] {
	width: 100%;
	background-color: var(--color-black);
}

/*/
///  LIGHTBOX
/*/

.lg-container .lg-backdrop {
	background-color: hsl(0deg 0% 100% / 75%);
	backdrop-filter: blur(3px);
}
.lg-container .lg-toolbar {
	background-color: hsl(0 0% 20% / 20%);
	backdrop-filter: blur(3px);
}

/*/
///  SZECHENYI 2020
/*/
#szechenyi2020 {
	position: fixed;
	bottom: 0;
	right: 0;
	max-width: 250px;
	z-index: 99;
}

#szechenyi2020 img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

@media screen and (max-width: 500px) {
	#szechenyi2020 {
		max-width: 200px;
	}
}

/* 
  =====================================================
  HEADER
  =====================================================
*/
header {
	width: 100%;
	height: auto;
}

header .header-inner {
	height: 80px;
	margin: 0;
	padding: 0 50px;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	background-color: var(--color-light-grey);
}

header .logo-wrapper {
	display: block;
	margin: 0;
	flex: 1 1 auto;
	width: 100%;
	height: 100%;
	z-index: 101;
}

header .logo-wrapper a {
	display: flex;
}

header .logo {
	width: 120px;
}

header .center {
	margin: 0 auto;
	height: 100%;
	flex: 0 1 auto;
}

header .right {
	width: 100%;
	height: 100%;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
}

header .main-menu-desktop {
	height: 100%;
	margin: 0;
	list-style: none;
	display: flex;
	justify-content: center;
	gap: 40px;
	align-items: center;

	& > li {
		display: flex;
		align-items: center;
		height: 100%;
		margin: 0;
		padding: 0;
		font-size: 1rem;
		font-weight: 500;
		color: var(--color-grey);
		text-transform: uppercase;
	}
	& > li:hover > a {
		color: var(--color-orange);
	}

	& > li > a {
		height: 100%;
		display: flex;
		align-items: center;
	}
	& > li.menu-item-has-children > a::after {
		content: "";
		display: inline-block;
		width: 10px;
		height: 8px;
		margin-left: 5px;
		background-color: var(--color-orange);
		clip-path: polygon(50% 100%, 0 0, 100% 0);
	}

	& > li.cta > a {
		height: auto;
		padding: 1em 1.2em;
		font-size: 0.85rem;
		font-weight: 600;
		border-radius: 10em;
		color: var(--color-white);
		background-color: var(--color-orange);
		transition:
			background 0.2s ease,
			outline 0.35s ease,
			outline-offset 0.2s ease;
		outline-color: transparent;
		outline-style: solid;
		outline-width: 2px;
		outline-offset: 1rem;

		&:hover {
			background-color: hsl(21.55deg 85.12% 52.55% / 52%);
			outline-color: var(--color-orange);
			outline-offset: 0;
		}
	}
}

/* Dropdown menus */
header .main-menu-desktop > li > .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	width: 95%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 2em;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	justify-items: center;
	gap: 2em;
	transition: var(--transition);
	transition-duration: 0s;
	background-color: var(--color-white);
	border-top: 2px solid var(--color-orange);
	box-shadow: var(--box-shadow-light);
	z-index: 999;
	opacity: 0;
	visibility: hidden;
}
header .main-menu-desktop li:hover .sub-menu {
	opacity: 1;
	visibility: visible;
	transition-duration: 0.3s;
}

header .main-menu-desktop .sub-menu > li {
	list-style: none;
	text-align: left;
	line-height: 1.65em;
}

header .main-menu-desktop .first-level {
	width: 100%;
	height: fit-content;
}

header .sub-menu a {
	text-transform: initial;
}

header .sub-menu .first-level > .sub-menu {
	margin-left: 1.5em;
}

header .sub-menu .first-level > a {
	display: block;
	width: 100%;
	padding: 0.15em 0.2em;
	font-size: 0.9em;
	font-weight: 700;
	text-align: center;
	color: var(--color-black);
	text-transform: uppercase;
	border-top: 1px solid;
	border-bottom: 1px solid;
	border-color: var(--color-medium-grey);
}

header .sub-menu .second-level {
	margin-bottom: 1em;
}

header .sub-menu .second-level > .sub-menu {
	margin-left: 1.5em;
	padding: 0;
}

header .sub-menu .second-level > a {
	display: block;
	margin: 15px 0 0;
	font-weight: 600;
	text-transform: uppercase;
}

header .sub-menu .second-level .sub-menu li {
	position: relative;
	padding-left: 10px;
}

header .sub-menu .second-level .sub-menu li::before {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: -10px;
	transform: translate(0, -50%);
	width: 15px;
	height: 2px;
	background-color: var(--color-orange);
}

header ul.main-header-menu:not(.sub-menu) {
	margin: 0;
	padding: 0;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 50px;
}

header ul.main-header-menu .sub-menu > li.menu-item-has-children .sub-menu {
	margin: 0;
	padding: 1.6em;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

header .main-header-menu .menu-item {
	position: static;
	margin: 0;
}

header .main-header-menu .sub-menu li.menu-item {
	width: 100%;
	margin: 0;
	padding-right: 1em;
}

header ul.main-header-menu li.menu-item a.menu-link {
	position: relative;
	display: flex;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-size: 1rem;
	font-weight: 500;
	color: var(--color-grey);
	text-transform: uppercase;
	align-items: center;
}

.header-wrapper #menu-header-menu > li.menu-item-has-children > ul.sub-menu > li.menu-item-has-children {
	position: relative;
}

header ul.main-header-menu > li.menu-item-has-children > ul.sub-menu {
	position: absolute;
	top: 100%;
	margin: 0;
	padding: 1.6em;
	padding-right: 0;
	width: max-content;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 20px;
	background-color: var(--color-white);
	transition: all 0.3s ease-in-out;
	flex-direction: column;
}

.ast-desktop .ast-menu-hover-style-underline > .menu-item > .menu-link:before,
.ast-desktop .ast-menu-hover-style-overline > .menu-item > .menu-link:before {
	content: none;
}

.ast-builder-menu-1 .menu-item:hover > .menu-link,
.ast-builder-menu-1 .inline-on-mobile .menu-item:hover > .ast-menu-toggle {
	color: var(--color-orange);
}

.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link,
.ast-builder-menu-1 .inline-on-mobile .menu-item.current-menu-item > .ast-menu-toggle,
.ast-builder-menu-1 .current-menu-ancestor > .menu-link {
	color: var(--color-orange);
}

/* SECOND STAGE SUBMENU */
.header-wrapper .header-nav li.menu-item-has-children > ul.sub-menu {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 1.6em;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 50px;
	background-color: var(--color-orange);
	transition: all 0.3s ease-in-out;
	clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
	z-index: 2;
}

.header-wrapper #menu-header-menu > li.menu-item-has-children > ul.sub-menu .ul.sub-menu a {
	color: var(--color-white);
}

.header-wrapper #menu-header-menu li:hover > ul.sub-menu {
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

/*/
///  Mobile Navigation
/*/

/*
 * Quick hamburger
 */
#hamburger {
	position: relative;
	display: grid;
	justify-items: center;
	align-content: center;
	margin: 0;
	padding: 0;
	width: 50px;
	aspect-ratio: 1 / 1;
	cursor: pointer;
	z-index: 999;
	background-color: var(--color-grey);
	border-radius: 10em;
}
#hamburger .line {
	display: block;
	width: 24px;
	height: 2px;
	margin: 0 auto 6px;
	position: relative;
	background: var(--color-orange);
	z-index: 1;
	transform-origin: 4px 0px;
	transition:
		transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
		background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
		opacity 0.55s ease;
	transition: var(--transition);
}
#hamburger .line:last-of-type {
	margin: 0;
}

#hamburger input {
	display: block;
	margin: 0;
	position: absolute;
	inset: 0;
	cursor: pointer;
	opacity: 0;
	z-index: 2;
	-webkit-touch-callout: none;
	width: 100%;
	height: 100%;
}

#hamburger .line:first-child {
	transform-origin: 0% 0%;
}

#hamburger .line:nth-child(2) {
	transform-origin: 0% 100%;
}

#hamburger input:checked ~ .line {
	opacity: 1;
	transform: rotate(-45deg) translate(3px, 0);
}
#hamburger input:checked ~ .line:nth-child(2) {
	transform: rotate(45deg) translate(1px, -3px);
}
#hamburger input:checked ~ .line:nth-child(3) {
	opacity: 0;
	transform: rotate(0deg) scale(0.2, 0.2);
}

.mobile_menu {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	height: 100svh;
	padding: 0 20px 1.5em;
	background-color: var(--color-medium-grey);
	clip-path: circle(0% at 100% 0);
	transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
	overflow: hidden;
	z-index: 100;
}

.mobile_menu__inner {
	margin: 80px auto 0;
	padding: 30px 30px 0;
	max-width: 1300px;
	height: calc(100vh - 120px);
	min-height: 480px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	overflow-y: auto;
}

.mobile_menu ul.main-menu-mobile {
	margin: 0;
	padding: 0 0 80px;
	list-style: none;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 2em;
}

.main-menu-mobile li {
	width: fit-content;
	margin: 0;
	font-size: clamp(1.2rem, 4.5vw, 30px);
	line-height: 1em;
}

.main-menu-mobile > li > a {
	font-weight: 600;
}

.main-menu-mobile li > a {
	display: inline-block;
	color: var(--color-primary);
	line-height: 1em;
	transition: var(--transition);
}

.main-menu-mobile .sub-menu {
	margin: 1rem 0 0;
	padding-left: 1rem;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 1.4rem;
	list-style: none;
}

.main-menu-mobile .sub-menu .sub-menu {
	margin-left: 15px;
	list-style: circle;
}

.nav-open {
	transform: translateY(0);
	clip-path: circle(150% at 100% 0);
}

@media screen and (max-width: 991px) {
	.header .center {
		display: none;
	}
}

@media screen and (min-width: 991px) {
	.header .right {
		display: none;
	}
}

/*/
///  WPML Language Switcher
/*/
header .language-switcher {
	width: fit-content;
}

.wpml-ls-legacy-dropdown {
	width: fit-content;
	max-width: 100%;
}

.wpml-ls-legacy-dropdown:hover a,
.wpml-ls-legacy-dropdown:focus a {
	color: var(--color-dark-grey);
	background: var(--color-white);
}

.wpml-ls-legacy-dropdown > ul {
	position: relative;
}

.wpml-ls-legacy-dropdown > .wpml-ls-item {
	width: fit-content;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.wpml-ls-legacy-dropdown a {
	display: block;
	padding: 1em;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--color-grey);
	text-transform: uppercase;
	text-decoration: none;
	background-color: transparent;
	border: none;
	line-height: 1;
}

.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
	position: relative;
	padding-right: calc(1px + 1.5em);
}

.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
	border: 0.25em solid transparent;
	border-top: 0.4em solid;
	right: 10px;
	top: calc(50% - 0.175em);
	color: var(--color-dark-grey);
}

/* Submenu WMPL */
.wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
	width: 100%;
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu .wpml-ls-item {
	width: 100%;
	margin: 0;
	padding: 0;
	border: none;
	list-style-type: none;
}

/* 
  =====================================================
  HOME
  =====================================================
*/
#hero .content-wrapper {
	position: relative;
	min-height: 450px;
	display: grid;
	grid-template-columns: 0.7fr 1.2fr;
	grid-template-rows: max-content 1fr;
	gap: 0px 0px;
	grid-template-areas:
		"logo hero-img"
		"hero-title hero-img";
}

#hero .logo {
	display: block;
	margin: 0 auto;
	width: 250px;
	max-width: 250px;
}

#hero .hero-title {
	grid-area: hero-title;
	align-self: start;
	margin-bottom: 30px;
}

#hero .title-wrapper {
	width: fit-content;
	margin: 0;
	padding: 14% 12%;
	transform: translateX(15%);
	background: hsl(0deg 0% 15% / 15%);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border-radius: 0;
	clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}

#hero h1.title-xl {
	width: fit-content;
	margin: 0;
	line-height: 1em;
	text-transform: uppercase;
	text-wrap: balance;
}

#hero h2.title-m {
	margin: 0;
	margin-top: 20px;
	font-size: 1.8em;
	font-size: clamp(16px, 1.5vw, 22px);
	font-weight: 500;
	text-transform: uppercase;
	line-height: 1.2em;
	color: var(--color-orange);
}

#hero .hero-img {
	grid-area: hero-img;
	clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
	z-index: -1;
}

#hero .hero-slider .slide,
#hero .hero-slider picture {
	width: 100%;
	height: 100%;
	margin-right: 1px;
}

/*/
///  RÓLUNK - Home_01
/*/
#home_01 {
	margin: 10vh 0 0;
	padding: 60px 0 10px;
	background-color: var(--color-dark-grey);

	.title-wrapper {
		position: relative;
		max-width: 50%;
		margin: 0 auto;
		padding: 30px 0;

		.title-m {
			font-size: 1.4em;
			font-weight: 700;
			line-height: 1.35em;
			color: var(--color-white);
			text-transform: uppercase;
			text-wrap-style: balance;
		}

		p {
			color: var(--color-white);
		}

		&::before {
			content: "";
			position: absolute;
			top: 0;
			left: -50px;
			width: 15px;
			height: 100%;
			background-color: var(--color-orange);
		}
	}

	.rolunk-inner {
		position: relative;
		margin: 60px 0;
		padding: 10vh 0;
		width: 80%;
		display: grid;
		gap: 50px;
		background-color: var(--color-white);
	}

	.rolunk-inner::before {
		content: "";
		position: absolute;
		top: 50%;
		left: 0;
		display: block;
		width: 25vw;
		height: auto;
		aspect-ratio: 0.8 / 1;
		background-image: url(/wp-content/uploads/2023/04/logo-icon-grey.svg);
		background-position: 50% 50%;
		background-repeat: no-repeat;
		transform: translate(0, -50%);
		opacity: 0.1;
	}

	.btn {
		margin-top: 30px;
	}

	.grid-termek {
		margin: 0;
		display: grid;
		grid-template-columns: 1fr 1.8fr;
		align-items: center;
		transform: translateX(15%);
	}

	.grid-termek .content-wrapper {
		margin: 0;
	}
	.grid-termek .title-m {
		margin-bottom: 20px;
		-webkit-hyphens: auto;
		-moz-hyphens: auto;
		-ms-hyphens: auto;
		hyphens: auto;
		transition: all 0.3s ease-in-out;
	}

	.grid-termek .img-wrapper {
		margin: 0;
		height: 350px;
	}

	.grid-termek .content-wrapper {
		position: relative;
		display: inline-block;
		padding: 4em 2em;
		background-color: var(--color-white);
		box-shadow: var(--box-shadow);
		transform: translate(30%, 0);
		transition: all 0.3s ease-in-out;
	}

	.grid-termek .btn-wrapper {
		margin-top: 30px;
	}
}

/*/
///  HOME PROFILRENDSZER
/*/
.home #profilrendszer {
	margin: 0;
	padding: 0;
	max-width: 100%;
}

#profilrendszer .inner-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

#profilrendszer .inner-wrapper .left,
#profilrendszer .inner-wrapper .right {
	overflow: hidden;
}

#profilrendszer .inner-wrapper .left {
	background-color: var(--color-light-grey);
}

#profilrendszer .inner-wrapper .slider-background .bg-title {
	font-size: clamp(20px, 8vw, 170px);
}

#profilrendszer .inner-wrapper .left .bg-title {
	color: var(--color-white);
}

/*/
///  HOME BLOG - Home_03
/*/
#home_03 {
	margin-top: 50px;
	padding-top: 10vh;
	padding-bottom: 10vh;
	background-color: var(--color-light-grey);
}

#home_03 .hirek-list-wrapper {
	margin: 0;
	padding: 0;
	list-style-type: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
	gap: 50px 5%;

	.hirek_list_item {
		margin: 0;

		& > a {
			display: grid;
			gap: 10px;
		}

		.img-wrapper {
			margin: 0;

			img {
				width: 100%;
				height: 100%;
				max-height: 150px;
				object-fit: cover;
			}
		}

		.title {
			margin: 0;
			font-size: 1rem;
			font-weight: 600;
			color: var(--color-black);
		}

		.excerpt {
			font-size: 14px;
		}
	}
}

/*/
///  6 Megoldás - Home_04
/*/
#home_04 {
	overflow: hidden;
	padding-top: 10vh;
	padding-bottom: 10vh;

	.megoldasok {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
		gap: 50px 5%;

		.megoldas {
			padding: 2em;
			background-color: var(--color-light-grey);
			display: grid;
			grid-template-columns: max-content 1fr;
			grid-template-rows: max-content 1fr;
			gap: 0px 1em;
			grid-template-areas:
				"icon title"
				"icon text";
		}

		.megoldas .icon {
			grid-area: icon;
			width: 30px;
		}

		.megoldas .title-s {
			grid-area: title;
			margin: 0 0 7px;
			font-size: 16px;
			font-weight: 700;
			line-height: 1.2em;
			color: var(--color-orange);
			text-transform: uppercase;
		}

		.megoldas p {
			grid-area: text;
			font-size: 14px;
		}
	}
}

/*/
///  Miert a berg, 7 ok - Home_05
/*/
#home_05 {
	.berg-why-us {
		padding: 2rem 0 5rem;
		background: #fff;
	}

	.berg-why-us__inner {
		max-width: 1500px;
		margin: 0 auto;
		display: grid;
		grid-template-columns: 1fr minmax(350px, 500px);
		align-items: start;
		gap: 2rem;
	}

	/* Card grid */
	.berg-why-us__grid {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		gap: 1rem;
		margin-bottom: 0;
	}

	.berg-why-us__card {
		background: var(--color-light-grey);
		border: 1px solid #e5e7eb;
		padding: 1.25rem 1.5rem 2rem;
		cursor: pointer;
		transition:
			border-color 0.18s ease,
			box-shadow 0.18s ease;
		outline: none;
	}

	.berg-why-us__card:hover,
	.berg-why-us__card:focus-visible {
		border-color: var(--color-orange);
		box-shadow: 0 0 0 3px rgba(55, 138, 221, 0.12);
	}

	.berg-why-us__card.is-active {
		background: var(--color-white);
		border: 1px solid var(--color-orange);
		outline: 1px solid var(--color-orange);
		outline-offset: 0px;
	}

	.berg-why-us__card-icon {
		width: 40px;
		height: 40px;
		background: #ed691f0f;
		border-radius: 8px;
		display: flex;
		align-items: center;
		justify-content: center;
		margin-bottom: 0.75rem;
		color: var(--color-orange);
	}

	.berg-why-us__card-title {
		font-size: 0.875rem;
		font-weight: 600;
		color: #1a1a1a;
		line-height: 1.4;
		margin: 0 0 0.25rem;
	}

	.berg-why-us__card-hint {
		font-size: 0.8rem;
		color: #6b7280;
		line-height: 1.5;
		margin: 0;
	}

	/* Detail panel */
	.berg-why-us__detail {
		background: #ed691f0f;
		border: 1px solid var(--color-orange);
		padding: 2rem 2.5rem;
		animation: berg-fade-in 0.45s ease;
		position: sticky;
		top: 3rem;
	}

	.berg-why-us__detail[hidden] {
		display: none;
	}

	.berg-why-us__detail-title {
		font-size: 1rem;
		font-weight: 600;
		color: #1a1a1a;
		margin: 0 0 0.4rem;
	}

	.berg-why-us__detail-lead {
		font-size: 0.9rem;
		color: #444;
		line-height: 1.65;
		margin: 0 0 1rem;
	}

	.berg-why-us__bullets {
		list-style: none;
		padding: 0;
		margin: 0;
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	.berg-why-us__bullet {
		font-size: 0.8rem;
		font-weight: 500;
		color: #0c447c;
		background: #ed691f0f;
		border-radius: 999px;
		padding: 5px 12px;
		line-height: 1.4;
	}

	/* Responsive */
	@media (max-width: 600px) {
		.berg-why-us {
			padding: 3rem 1rem;
		}

		.berg-why-us__grid {
			grid-template-columns: 1fr 1fr;
		}
	}

	@media (max-width: 380px) {
		.berg-why-us__grid {
			grid-template-columns: 1fr;
		}
	}
}

/*/
///  Főbb termékek - Home_06
/*/
#home_06 {
	margin: 0;
	padding-top: 10vh;
	padding-bottom: 10vh;
	background-color: var(--color-light-grey);
	display: grid;
	gap: 5rem;

	.content-wrapper {
		display: grid;
		grid-template-columns: 1fr 1fr;
		background-color: var(--color-white);

		.content {
			padding: 5rem 3rem;
		}

		.title-s {
			margin: 0 0 1.2em;
			font-size: 1.25rem;
			font-weight: 800;
			line-height: 1.25em;
			color: var(--color-orange);
			text-align: center;
			text-transform: uppercase;
			text-wrap-style: balance;
		}

		.logo-icon-grey {
			width: 100px;
			margin: 0 auto 1rem;
		}
	}
}

/* 
  =====================================================
  COMPONENTS
  =====================================================
*/
/*/
///  PROFILRENDSZEREK
/*/
#profilrendszer {
	margin: 0;
}

.profilrendszer-inner {
	position: relative;
	margin: 0 auto;
	padding: 5em 0;
	max-width: 1500px;
}

#profilrendszer .title-m {
	margin-bottom: 80px;
	text-align: center;
}

#profilrendszer .title-m span {
	display: block;
	width: fit-content;
	margin: 0 auto 10px;
	padding: 0 3em;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	letter-spacing: 1px;
	color: var(--color-orange);
	border-radius: 0;
}

.profilrendszer-slider {
	margin: 0 auto;
	width: 90%;
	height: 60vh;
	min-height: 360px;
}

.profilrendszer-slider .slide {
	margin: 0;
	margin-right: 50px;
	width: 100%;
	height: 100%;
}

.profilrendszer-slider .slide picture {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.profilrendszer-slider .slide picture img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

#profilrendszer .flickity-btn {
	position: absolute;
	top: 50%;
	display: grid;
	place-items: center;
	width: 60px;
	aspect-ratio: 1 / 1;
	border: 2px solid var(--color-orange);
	border-radius: 10em;
	transform: translateY(-50%);
	cursor: pointer;
	z-index: 10;
}

#profilrendszer .slider-background {
	position: absolute;
	width: 100%;
	height: 100%;
	inset: 0;
}

#profilrendszer .slider-background.subtitles {
	position: relative;
	margin-top: -70px;
	margin-bottom: 80px;
	width: 100%;
	height: 30px;
	inset: 0;
}

#profilrendszer .slider-background .bg-title {
	width: max-content;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -80%);
	color: var(--color-light-grey);
	font-size: clamp(40px, 14vw, 320px);
	font-weight: 800;
	line-height: 1em;
	text-transform: uppercase;
	opacity: 0;
	transition: opacity 0.8s ease-in-out;
}

#profilrendszer .slider-background.subtitles .bg-title {
	width: max-content;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -80%);
	color: var(--color-orange);
	font-size: 16px;
	font-weight: 800;
	line-height: 1em;
	text-transform: uppercase;
	opacity: 0;
	transition: opacity 0.8s ease-in-out;
}

#profilrendszer .aluminium:has(.slide:nth-of-type(1).is-selected) .bg-title.no1,
#profilrendszer .aluminium:has(.slide:nth-of-type(2).is-selected) .bg-title.no2,
#profilrendszer .aluminium:has(.slide:nth-of-type(3).is-selected) .bg-title.no3,
#profilrendszer .aluminium:has(.slide:nth-of-type(4).is-selected) .bg-title.no4,
#profilrendszer .aluminium:has(.slide:nth-of-type(5).is-selected) .bg-title.no5,
#profilrendszer .aluminium:has(.slide:nth-of-type(6).is-selected) .bg-title.no6,
#profilrendszer .aluminium:has(.slide:nth-of-type(7).is-selected) .bg-title.no7,
#profilrendszer .aluminium:has(.slide:nth-of-type(8).is-selected) .bg-title.no8,
#profilrendszer .aluminium:has(.slide:nth-of-type(9).is-selected) .bg-title.no9,
#profilrendszer .aluminium:has(.slide:nth-of-type(10).is-selected) .bg-title.no10 {
	opacity: 1;
}

#profilrendszer .muanyag:has(.slide:nth-of-type(1).is-selected) .bg-title.no1,
#profilrendszer .muanyag:has(.slide:nth-of-type(2).is-selected) .bg-title.no2,
#profilrendszer .muanyag:has(.slide:nth-of-type(3).is-selected) .bg-title.no3,
#profilrendszer .muanyag:has(.slide:nth-of-type(4).is-selected) .bg-title.no4,
#profilrendszer .muanyag:has(.slide:nth-of-type(5).is-selected) .bg-title.no5,
#profilrendszer .muanyag:has(.slide:nth-of-type(6).is-selected) .bg-title.no6,
#profilrendszer .muanyag:has(.slide:nth-of-type(7).is-selected) .bg-title.no7,
#profilrendszer .muanyag:has(.slide:nth-of-type(8).is-selected) .bg-title.no8,
#profilrendszer .muanyag:has(.slide:nth-of-type(9).is-selected) .bg-title.no9,
#profilrendszer .muanyag:has(.slide:nth-of-type(10).is-selected) .bg-title.no10 {
	opacity: 1;
}

#profilrendszer .slider-background .bg-title.static {
	opacity: 1;
}

/* aluminium */
#profilrendszer .profilrendszer-inner.aluminium {
	background-color: var(--color-light-grey);
}

#profilrendszer .aluminium .profilrendszer-slider .bg-title {
	color: var(--color-white);
}

/*/
///  BLOG banner
/*/
#blog-banner {
	margin: 10vh 0;
}

#blog-banner .content-wrapper {
	padding: 50px 0;
	background-color: var(--color-orange);
	display: grid;
	grid-template-columns: max-content max-content;
	align-items: center;
	justify-content: space-evenly;
	gap: 50px;
}

#blog-banner .content-wrapper .left {
	padding: 2em 0 2em 2em;
	border-left: 8px solid var(--color-white);
}

#blog-banner .content-wrapper .left p {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--color-white);
}

/*/
///  REFERENCIÁINK
/*/
#referenciaink {
	position: relative;
	margin: 0;
	padding: 5vh 0;
}

#referenciaink .title-m {
	margin-bottom: 30px;
	text-align: center;
}

.referenciaink-slider {
	margin: 0 auto;
	width: 100%;
	height: 60vh;
}

.referenciaink-slider .slide {
	margin: 0;
	margin-right: 50px;
	width: 50%;
	height: 100%;
	display: grid;
}

.referenciaink-slider .slide img {
	opacity: 0.45;
	transition: opacity 0.3s ease-in-out;
}

.referenciaink-slider .slide.is-selected img {
	opacity: 1;
}

.referenciaink-slider .slide picture {
	margin: 0 auto;
	object-fit: contain;
}

#referenciaink .flickity-btn {
	position: absolute;
	top: 60%;
	display: grid;
	place-items: center;
	width: 60px;
	aspect-ratio: 1 / 1;
	border: 2px solid var(--color-orange);
	border-radius: 10em;
	transform: translateY(-50%);
	cursor: pointer;
}

/*/
///  ÁRAJÁNLAT banner
/*/
#arajanlat-banner {
	margin: 5vh 0;
	background-color: #dfdfdf;
}

#arajanlat-banner .content-wrapper {
	padding: 50px 0;
	display: grid;
	justify-items: center;
}

#arajanlat-banner .content-wrapper .title-m {
	text-align: center;
}

#arajanlat-banner .content-wrapper .title-m::before,
#ezt-latta-mar .content-wrapper .title-m::before,
#referenciaink .title-m::before {
	content: "";
	display: block;
	width: 50px;
	height: 5px;
	margin: 0 auto 20px;
	background-color: var(--color-orange);
}

#arajanlat-banner .content-wrapper p {
	margin: 0;
	max-width: 700px;
	text-align: center;
}

#arajanlat-banner .content-wrapper .btn {
	margin-top: 50px;
}

/*/
///  GARANCIA
/*/
#garancia {
	position: relative;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1.5fr 1fr;
}

#garancia .left {
	position: relative;
}

#garancia .content-wrapper {
	margin: 0 auto 80px;
	padding: 4em 2em;
	max-width: 500px;
}

#garancia .content-wrapper p {
	margin: 0;
}

#garancia .content-wrapper .btn {
	margin: 30px 0 0;
}

#garancia .right {
	position: relative;
}

#garancia .layer-grey-bottom {
	position: absolute;
	bottom: 0;
	margin: 0;
	width: 100%;
	height: 80px;
	background-color: var(--color-dark-grey);
}

#garancia .layer-orange-bottom {
	position: absolute;
	bottom: 0;
	margin: 0;
	width: 100%;
	height: 70px;
	background-color: var(--color-orange);
}

#garancia .right {
	position: relative;
	overflow: hidden;
}

#garancia .layer-grey-cube {
	margin-bottom: 79px;
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 100%;
	background-color: var(--color-dark-grey);
	clip-path: polygon(7.7% 70%, 100% 70%, 100% 100%, 0% 100%);
}

#garancia .layer-orange-cube {
	margin-bottom: 69px;
	position: absolute;
	bottom: 0;
	right: 0;
	width: calc(100% - 40px);
	height: 100%;
	background-color: var(--color-orange);
	clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
}

#garancia .layer-img {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 80%;
	height: 100%;
	clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
	display: flex;
}

#garancia .layer-img picture {
	margin-top: auto;
	width: 100%;
	height: 90%;
}

/*/
///  VIDEO BANNER
/*/
#video-banner {
	max-width: 1500px;
	margin: 0 auto;
	padding: 10vh 0;
	display: grid;
	grid-template-columns: 1fr 2.2fr;
	align-items: center;
	isolation: isolate;
}

#video-banner > .content-wrapper {
	margin: 0;
	padding: 6em 3em 6em 2em;
	background-color: var(--color-white);
	transform: translateX(40%);
	box-shadow: var(--box-shadow);
	transition: all 0.4s ease-in-out;
	z-index: 1;
}

#video-banner > .content-wrapper:hover {
	transform: translateX(35%);
	cursor: pointer;
}

#video-banner > .content-wrapper .title-m {
	position: relative;
	margin: 0 0 10px;
}

#video-banner > .content-wrapper .title-s {
	position: relative;
	margin: 0;
	font-size: 20px;
}

#video-banner > .content-wrapper::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 30px;
	width: 35px;
	aspect-ratio: 1.5 / 1;
	transform: translate(0, -50%);
	background-image: url(/wp-content/uploads/2023/02/berg-arrow-orange.svg);
	background-position: 50% 50%;
	background-size: contain;
	background-repeat: no-repeat;
	transition: all 0.3s ease-in-out;
}

.video-wrapper {
	position: relative;
}

#video-banner .vjs-poster {
	background-size: cover;
	filter: brightness(0.4);
}

#video-banner .video-js {
	width: 100%;
	height: 60vh;
	min-height: 400px;
	max-height: 600px;
}

#video-banner .video-js .vjs-big-play-button {
	font-size: 3.7em;
	line-height: 1.5em;
	width: 60px;
	height: auto;
	aspect-ratio: 1 / 1;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 0;
	cursor: pointer;
	border: 2px solid #fff;
	background-color: transparent;
	border-radius: 50%;
}

#video-banner .video-js .vjs-tech {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-playing {
	transform: translateX(0%) !important;
	box-shadow: var(--box-shadow) !important;
}

/*/
///  EZT LATTA MAR
/*/
#ezt-latta-mar {
	margin-top: 50px;
	padding-bottom: 10vh;
}

#ezt-latta-mar .content-wrapper .title-m {
	text-align: center;
}

#ezt-latta-mar .products {
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 80px 50px;
}

#ezt-latta-mar .products li {
	margin: 0;
}

#ezt-latta-mar .products li > a img {
	width: 100%;
	height: 100%;
	max-height: 350px;
	object-fit: cover;
}

#ezt-latta-mar .products .woocommerce-loop-category__title {
	margin: 0;
	padding: 1em 1em;
	position: static;
	font-size: 1.2rem;
	font-weight: 700;
	text-align: center;
	color: var(--color-black);
	text-transform: uppercase;
	background-color: var(--color-white);
}

/*/
///  BIZTONSÁGI SZINTEK TAB
/*/
.security .img-wrapper {
	margin: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.security .img-wrapper object {
	max-height: 320px;
	object-fit: contain;
}

.security .szintek-wrapper {
	padding-top: 30px;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 50px;
}

.security.rc3 .szintek-wrapper {
	padding-top: 30px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 50px;
}

.security.rc3 .img-wrapper {
	grid-column: span 3;
	margin: 0 auto;
	max-width: 600px;
}

/* 
  =====================================================
  SINGLE PRODUCT PAGE
  =====================================================
*/
#primary #main .product-hero {
	margin-bottom: 50px;
	height: auto;
	min-height: 500px;
	display: grid;
	grid-template-columns: 1fr 1.8fr;
	grid-template-rows: max-content 1fr;
	gap: 0px 0px;
	grid-template-areas:
		"logo product-img"
		"title-wrapper product-img";
}

#primary #main .product-hero .logo-wrapper {
	grid-area: logo;
}

#primary #main .product-hero .title-wrapper {
	grid-area: title-wrapper;
	align-self: end;
	z-index: 5;
}

#primary #main .product-hero .summary {
	width: 100%;
	/* width: fit-content; */
	margin: 0 0 30px;
	padding: 5em 3em;
	background-color: var(--color-white);
	transform: translateX(25%);
	float: none;
	box-shadow: var(--box-shadow);
}

body.aluminium #primary #main .product-hero .summary {
	background: hsl(0deg 0% 15% / 15%);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

#primary #main .product-hero .summary .product_title {
	margin-bottom: 30px;
	font-size: 4.5em;
	font-size: clamp(2rem, 2.5vw, 80px);
	font-weight: 700;
	line-height: 1em;
	color: var(--color-orange);
	text-transform: uppercase;
}

#primary #main .product-hero .summary .woocommerce-product-details__short-description p {
	margin: 0;
	font-size: 1.2rem;
}

#primary #main .product-hero .product-img {
	grid-area: product-img;
	overflow: hidden;
	z-index: -1;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

#primary #main .product-hero .product-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#primary #main .product_cat-erkelyajtok.product_cat-muanyag .product-hero .product-img {
	background-size: cover;
	z-index: 1;
}

/*/
///  PRODUCT TABS
/*/
#primary #main .woocommerce-tabs ul.tabs.tabs::before {
	display: none;
}

#primary .tabs-wrapper {
	margin-bottom: 0;
	padding: 0 50px 50px;
	background-color: var(--color-light-grey);
}

#primary .tabs-wrapper .woocommerce-tabs {
	margin: 0 auto;
	padding: 0;
	min-height: 300px;
}

#primary .tabs-wrapper .woocommerce-tabs ul.tabs {
	margin: 0 0 2em;
	background-color: var(--color-orange);
}

#primary .tabs-wrapper .woocommerce-tabs .tab-inner {
	display: grid;
	grid-template-columns: 1.8fr 1fr;
	align-items: center;
}

#primary .tabs-wrapper .woocommerce-tabs .tab-inner img {
	width: 100%;
	height: 100%;
	max-height: 500px;
	object-fit: contain;
}

#primary .tabs-wrapper .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
}

#primary .tabs-wrapper .woocommerce-tabs ul.tabs li.active {
	background-color: var(--color-light-grey);
}

#primary .tabs-wrapper .woocommerce-tabs ul.tabs li a {
	margin: 0;
	padding: 1em 1.5em;
	color: var(--color-white);
	text-transform: uppercase;
}

#primary .tabs-wrapper .woocommerce-tabs ul.tabs li:not(.active) a:hover {
	background-color: #e78954;
}

#primary .tabs-wrapper .woocommerce-tabs ul.tabs li.active a {
	color: var(--color-orange);
}

.yikes-custom-woo-tab-title {
	display: none;
}

/*/
///  RELATED, UP-SELL PRODUCTS
/*/
#primary .product .related,
#primary .product .up-sells {
	margin: 10vh 0 0;
	padding: 0;
}

#primary .product .related > h2,
#primary .product .up-sells > h2 {
	margin: 0 0 30px;
	font-size: 1.5rem;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
}

#primary .product .related ul.products,
#primary .product .up-sells ul.products {
	margin: 0 auto;
	max-width: 1500px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 350px));
	gap: 80px 50px;
	justify-content: space-evenly;
}

#primary .product .related ul.products li,
#primary .product .up-sells ul.products li {
	margin: 0;
	width: 100%;
	max-width: 350px;
	aspect-ratio: 1 / 1;
}

#primary .product .related ul.products .astra-shop-thumbnail-wrap,
#primary .product .up-sells ul.products .astra-shop-thumbnail-wrap {
	overflow: hidden;
}

#primary .product .related ul.products .astra-shop-summary-wrap h2,
#primary .product .up-sells ul.products .astra-shop-summary-wrap h2 {
	margin: 0;
	padding: 1em 1em;
	font-size: 1.2rem;
	font-weight: 700;
	text-align: center;
	color: var(--color-black);
	text-transform: uppercase;
	background-color: var(--color-white);
}

/* 
  =====================================================
  PAGES
  =====================================================
*/
.page-content-default {
	margin-top: 3em;
}

/*/
///  ALUMINIUM BACKGROUND
/*/
body.aluminium #primary {
	background-color: var(--color-dark-grey);
}

#primary.bg-dark-grey .title-xl,
#primary.bg-dark-grey #referenciaink .title-m,
#primary.bg-dark-grey #garancia .content-wrapper *,
#primary.bg-dark-grey #ezt-latta-mar .title-m,
#primary.bg-dark-grey .up-sells > h2,
body.aluminium #primary .summary p,
body.aluminium #primary #referenciaink .title-m,
body.aluminium #primary #garancia .content-wrapper *,
body.aluminium #primary .up-sells > h2 {
	color: var(--color-white);
}

#primary.bg-dark-grey #profilrendszer,
body.aluminium #primary #profilrendszer {
	background-color: var(--color-light-grey);
}

body.aluminium #primary #main .product-hero .product-img {
	z-index: 1;
}

.subpage-hero {
	margin-bottom: 50px;
	height: auto;
	min-height: 450px;
	display: grid;
	grid-template-columns: 0.7fr 1.2fr;
	grid-template-rows: max-content 1fr;
	gap: 0px 0px;
	grid-template-areas:
		"logo hero-img"
		"hero-title hero-img";
}

.subpage-hero .hero-title {
	grid-area: hero-title;
	align-self: end;
	margin-bottom: 50px;
	z-index: 2;
}

.subpage-hero .title-wrapper {
	width: fit-content;
	width: 100%;
	margin: 0;
	padding: 14% 12%;
	background-color: var(--color-white);
	transform: translateX(15%);
	background: hsl(0deg 0% 15% / 15%);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.subpage-hero h1.title-xl {
	width: 100%;
	margin: 0;
	line-height: 1em;
	font-size: clamp(2rem, 2.5vw, 80px);
	text-transform: uppercase;
	text-wrap: balance;
	hyphens: manual;
}

.subpage-hero h2.title-m {
	margin: 0;
	margin-top: 20px;
	font-size: 1.5em;
	font-size: clamp(18px, 1.2vw, 30px);
	font-weight: 500;
	text-transform: uppercase;
	line-height: 1.2em;
	color: var(--color-orange);
}

.subpage-hero .hero-img {
	grid-area: hero-img;
	z-index: 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

/*/
///  ALTERNATIVE SUBPAGE HERO GRID
/*/
.subpage-alt .subpage-hero {
	margin-bottom: 0;
	height: auto;
	min-height: unset;
	display: grid;
	grid-template-columns: 1fr 1.8fr;
	grid-template-rows: 1fr;
	gap: 0px 0px;
}
.subpage-alt .subpage-hero .hero-title {
	margin-bottom: 0;
}

#products-section {
	margin: 0;
	margin-bottom: 50px;
	padding-top: 80px;
	padding-bottom: 80px;
}

#products-section .products {
	margin: 0 auto;
	max-width: 1500px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(255px, auto));
	justify-content: space-between;
	gap: 80px 50px;
}

#products-section .products li {
	justify-content: center;
	margin: 0;
	aspect-ratio: 1 / 1;
	background-color: var(--color-white);
}

#products-section .products .astra-shop-summary-wrap {
	margin: 0;
	padding: 0.5em 1em;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%, 0);
	width: 80%;
	text-align: center;
	background-color: var(--color-light-grey);
	transition: all 0.3s ease-in-out;
}

/* HOVER */
#products-section .products li:hover .astra-shop-summary-wrap {
	width: 100%;
}

#products-section .products .astra-shop-summary-wrap .woocommerce-loop-product__title {
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	font-size: 1rem;
	font-weight: 700;
	color: var(--color-orange);
}

#tudnivalok,
#minosegpolitika {
	margin-top: 50px;
	background-color: var(--color-light-grey);
	overflow: hidden;
}

#tudnivalok .content-wrapper,
#minosegpolitika .content-wrapper {
	padding-bottom: 50px;
}

#tudnivalok .title-m,
#minosegpolitika .title-m {
	padding: 1em;
	font-size: 1.5rem;
	color: var(--color-white);
	background-color: var(--color-orange);
}

#tudnivalok .tablazat {
	max-width: 100%;
}

/*
  =====================================================
  PAGES - Árnyékolástechnika
  =====================================================
*/
/*/// TABS - Redonyok, Rovarhalo, Zsaluzia, Roletta ///*/
#arnyekolas-panels {
	margin-top: 50px;
	margin-bottom: 50px;
	background-color: var(--color-light-grey);
}

#arnyekolas-panels .grid-1-1-1 {
	margin-bottom: 50px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 50px;
}

.arnyekolo-wrapper {
	margin: 30px 0;
}

.arnyekolo-wrapper .col {
	display: grid;
	grid-template-columns: 1fr 2.5fr;
	gap: 30px;
	margin: 0 0 30px;
	padding: 1em;
	background-color: var(--color-white);
}

.arnyekolo-wrapper .col .strong {
	margin: 0 0 20px;
	font-weight: 700;
	text-transform: uppercase;
}

.arnyekolo-wrapper .col .left {
	min-height: 180px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

.redony-muszaki-wrapper {
	gap: 50px;
}

.redony-muszaki-wrapper .col {
	margin: 0;
	padding: 2em;
	background-color: var(--color-white);
}

#screenline .inner-wrapper.grid-1-1 {
	margin-bottom: 50px;
	align-items: end;
	gap: 50px;
}

#screenline .right {
	max-height: 570px;
	overflow: hidden;
}

#screenline .reluxa-title {
	margin: 0 0 30px;
	font-size: 2.2rem;
	font-weight: 500;
	text-transform: none;
	color: var(--color-orange);
}

#screenline #reluxa-list {
	margin: 0;
	padding-left: 20px;
}

#screenline #reluxa-list li {
	position: relative;
	margin: 0 0 20px;
	font-weight: 500;
	max-width: 450px;
}

#screenline #reluxa-list li::before {
	content: "";
	position: absolute;
	top: 6px;
	left: -20px;
	display: inline-block;
	width: 10px;
	height: 10px;
	border: 5px solid;
	overflow: hidden;
}

#screenline .reluxa-szinek .title-s {
	color: var(--color-orange);
}

#screenline .reluxa-szinek .szinek {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 0px;
}

#screenline .reluxa-szinek .szinek .szin {
	flex: 1 1 auto;
	width: 33.33333%;
	font-size: 1.2rem;
	font-weight: 600;
}

#screenline .reluxa-szinek .szinek .color-block {
	display: inline-block;
	width: 70%;
	height: 100%;
	border: 1px solid var(--color-dark-grey);
	border-radius: 0.5em;
	background-color: #f1f1f1;
}

/*/
///  SCREENLINE SLIDER
/*/
.screenline-slider-wrapper {
	position: relative;
}

#screenline .screenline-slider {
	margin: 10vh 0;
	width: 100%;
	height: 60vh;
}

#screenline .screenline-slider .slide {
	margin: 0;
	margin-right: 50px;
	width: 50%;
	height: 100%;
	display: grid;
}

#screenline .screenline-slider .slide picture {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.screenline-slider .slide img {
	opacity: 0.45;
	transition: opacity 0.3s ease-in-out;
}

.screenline-slider .slide.is-selected img {
	opacity: 1;
}

/* 
  =====================================================
  PAGES - Kapcsolat
  =====================================================
*/
#elerhetosegek {
	margin: 10vh auto;
}

#elerhetosegek .content-wrapper,
#viszontelado-form .content-wrapper {
	grid-template-columns: 1.5fr 1fr;
}

#elerhetosegek .content-wrapper .left,
#viszontelado-form .content-wrapper .left {
	margin: 0;
	padding: 5em;
	background-color: var(--color-orange);
}

#elerhetosegek .content-wrapper .title-s,
#viszontelado-form .content-wrapper .title-s {
	margin: 0 0 30px;
	font-size: 1.5rem;
	font-weight: 400;
	text-align: center;
	color: var(--color-white);
}

#elerhetosegek .content-wrapper .right {
	position: relative;
	margin: 0;
	padding: 5em;
	background-image: url(/wp-content/uploads/2023/07/bemutatoterem-01.webp);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	isolation: isolate;
}

#viszontelado-form .content-wrapper .right {
	position: relative;
	margin: 0;
	padding: 5em;
	isolation: isolate;
}

#elerhetosegek .content-wrapper .right::after {
	content: "";
	display: block;
	position: absolute;
	inset: 0;

	background-color: hsl(0deg 0% 15% / 45%);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	z-index: -1;
}

#elerhetosegek .content-wrapper .title-m,
#viszontelado-form .content-wrapper .title-m {
	font-size: 2rem;
	color: var(--color-orange);
}

#elerhetosegek .content-wrapper .lead,
#viszontelado-form .content-wrapper .lead {
	margin-bottom: 50px;
	max-width: 400px;
}

#elerhetosegek .content-wrapper p {
	margin: 0;
	color: var(--color-white);
}

#elerhetosegek .content-wrapper .cim {
	margin-bottom: 20px;
}

#elerhetosegek .content-wrapper .nyitva {
	font-weight: 700;
}

#elerhetosegek .content-wrapper .email {
	margin-top: 20px;
}

/* SIMA TÉRKÉP */
#map {
	width: 100%;
	height: 60vh;
	margin-bottom: 10vh;
}

.infoblock-text p {
	margin: 0;
	font-family: "Montserrat";
	font-size: 14px;
	text-align: center;
}

.infoblock-text p.gmap-nev {
	margin: 0;
	text-align: center;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 800;
	color: var(--color-orange);
	font-family: "Montserrat";
}

#viszonteladok {
	margin: 10vh 0;
}

#viszonteladok .content-wrapper {
	grid-template-columns: 1fr 2fr;
	gap: 30px;
}

#viszonteladok .left {
	margin: 0;
}

#viszonteladok .table-wrapper {
	margin-top: 30px;
	padding: 0 10px;
	height: 450px;
	overflow-y: scroll;
}

.table-wrapper .column-1 {
	width: 20%;
}

.table-wrapper .column-2 {
	width: 50%;
}

.table-wrapper .column-3 {
	width: 30%;
}

.tablepress > :where(thead, tfoot) > * > th {
	background-color: var(--color-light-grey);
	font-size: 14px;
	font-weight: 700;
	color: var(--color-black);
}

.tablepress > :not(caption) > * > * {
	font-size: 14px;
}

.table-wrapper::-webkit-scrollbar-thumb {
	background-color: #f3f3f3;
	outline: 1px solid #f3f3f3;
}
.table-wrapper::-webkit-scrollbar {
	width: 4px;
}
.table-wrapper::-webkit-scrollbar {
	width: 4px;
}

#viszonteladok .info-wrapper {
	margin: 50px 0 0;
	padding: 20px;
	background-color: var(--color-orange);
}
#viszonteladok .info-wrapper p {
	color: var(--color-white);
}

#viszonteladok .title-m {
	font-size: 2rem;
	color: var(--color-orange);
}

#viszonteladok .right {
	margin: 0;
	height: 100%;
}

#viszonteladok .right picture {
	width: 100%;
	height: 100%;
}

#viszonteladok .viszontelado-list {
	margin: 50px 0 0;
	padding-left: 20px;
}

#viszonteladok .viszontelado-list li {
	position: relative;
	margin: 0 0 20px;
	font-weight: 500;
	max-width: 450px;
}

#viszonteladok .viszontelado-list li::before {
	content: "";
	position: absolute;
	top: 6px;
	left: -20px;
	display: inline-block;
	width: 12px;
	height: 15px;
	background-image: url(/wp-content/uploads/2023/04/logo-icon-grey.svg);
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: contain;
}

/* REWSELLER TÉRKÉP */
#reseller-map {
	width: 100%;
	height: 100%;
	min-height: 500px;
	margin-bottom: 10vh;
}

/* 
  =====================================================
  PAGES - Rólunk
  =====================================================
*/
#szolgaltatasok {
	margin: 50px auto;
}

#szolgaltatasok .content-wrapper {
	display: grid;
	grid-template-columns: repeat(3, minmax(250px, 1fr));
	justify-items: center;
	gap: 20px 50px;
}

#szolgaltatasok .scene {
	width: 100%;
	height: 100%;
	perspective: 500px;
}

#szolgaltatasok .card {
	width: 100%;
	height: 100%;
	min-height: 230px;
	transition: transform 0.7s;
	transform-style: preserve-3d;
	cursor: pointer;
	position: relative;
}

#szolgaltatasok .card:hover {
	transform: rotateY(20deg);
}

#szolgaltatasok .is-flipped {
	transform: rotateY(180deg) !important;
}

#szolgaltatasok .card__face {
	display: flex;
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: var(--color-white);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	pointer-events: none;
}

#szolgaltatasok .card__face--back {
	transform: rotateY(180deg);
	border-top: 2px solid var(--color-orange);
	border-bottom: 2px solid var(--color-orange);
	display: flex;
	align-items: center;
	padding: 10px 5px;
}

#szolgaltatasok .szolg-icon {
	display: block;
	margin: 0 auto 20px;
	width: 120px;
	height: 80px;
}

#szolgaltatasok .title-s {
	margin: 0;
	font-size: 1.4rem;
	text-align: center;
}

#product-cat-section {
	padding-top: 10vh;
	padding-bottom: 10vh;
}

#product-cat-section .title-m {
	margin: 0 0 50px;
	text-align: center;
	color: var(--color-white);
}

#product-cat-section .products {
	margin: 0;
}

#product-cat-section .products {
	margin: 0 auto;
	max-width: 1500px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(255px, 330px));
	justify-content: space-between;
	gap: 80px 50px;
}

#product-cat-section .products li {
	margin: 0;
	aspect-ratio: 1 / 1;
}

#product-cat-section .products li > a {
	height: 100%;
}

#product-cat-section .products .woocommerce-loop-category__title {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%, 0);
	margin: 0;
	padding: 0.5em 1em;
	width: 80%;
	text-align: center;
	background-color: var(--color-white);
	text-transform: uppercase;
	font-size: 1rem;
	font-weight: 700;
	color: var(--color-orange);
	transition: all 0.3s ease-in-out;
}

/* HOVER */
#product-cat-section .products .product-category:hover .woocommerce-loop-category__title {
	width: 100%;
}

#bemutatoterem {
	margin: 10vh auto;
}

#bemutatoterem .content-wrapper {
	display: grid;
	grid-template-columns: 1fr 2fr;
	grid-template-rows: max-content 1fr;
	gap: 0px 0px;
	grid-template-areas:
		"left-top right"
		"left-bottom right";
}

#bemutatoterem .content-wrapper .left-top {
	width: 130%;
	grid-area: left-top;
	margin-top: 50px;
	padding: 4em 3em;
	padding-left: 0;
	background-color: var(--color-white);
	z-index: 1;
}

#bemutatoterem .title-m {
	color: var(--color-orange);
}

#bemutatoterem .btn {
	margin-top: 50px;
}

#bemutatoterem .content-wrapper .left-bottom {
	grid-area: left-bottom;
}

#bemutatoterem .content-wrapper p {
	margin: 0;
}

#bemutatoterem .content-wrapper .cim {
	margin-bottom: 20px;
}

#bemutatoterem .content-wrapper .nyitva {
	font-weight: 700;
}

#bemutatoterem .content-wrapper .email {
	margin-top: 20px;
}

#bemutatoterem .content-wrapper .right {
	grid-area: right;
}

#bemutatoterem .bemutato-slider {
	width: 100%;
	height: 100%;
}

#bemutatoterem .bemutato-slider .slide {
	margin: 0;
	width: 100%;
	height: 100%;
}

#bemutatoterem .bemutato-slider .slide picture {
	width: 100%;
	height: 100%;
}

.infografika-menet {
	width: 100%;
}

/* 
  =====================================================
  PAGES - Bejárati ajtók
  =====================================================
*/

#products-section.bejarati-ajtok {
	position: relative;
}

#products-section.bejarati-ajtok .title-m {
	text-align: center;
}

.filter-btn-wrapper {
	/* margin: 0 0 50px;
	display: flex;
	justify-content: center;
	gap: 20px; */

	display: none;
}

#bejarati-ajtok-slider .product {
	width: 20%;
	padding: 0 1em;
	transition: all 0.3s ease-in-out;
}

#bejarati-ajtok-slider .product img {
	margin-bottom: 15px;
	width: 100%;
	height: 100%;
	max-height: 320px;
	object-fit: contain;
	scale: 0.95;
	transition: all 0.6s ease-in-out;
}

#bejarati-ajtok-slider .product .title-s {
	width: 70%;
	margin: 0 auto;
	padding: 0.5em 1.5em;
	font-size: 1.2em;
	font-weight: 800;
	text-align: center;
	color: var(--color-dark-grey);
	background-color: var(--color-light-grey);
}

/*/// HOVER STATES ///*/
#bejarati-ajtok-slider .product:hover .title-s {
	color: var(--color-orange);
}

#bejarati-ajtok-slider .product:hover img {
	scale: 1;
}

picture.bejarati-ajto-metszet {
	width: 100%;
	height: 65vh;
	min-height: 450px;
}

picture.bejarati-ajto-metszet img {
	object-fit: contain;
}

/*
 TABS Styling
*/
.tabset {
	isolation: isolate;
}

.tabset > input[type="radio"] {
	position: absolute;
	visibility: hidden;
}

.tabset .tab-panel {
	display: none;
}

.tabset > input:first-child:checked ~ .tab-panels > .tab-panel:first-child,
.tabset > input:nth-child(3):checked ~ .tab-panels > .tab-panel:nth-child(2),
.tabset > input:nth-child(5):checked ~ .tab-panels > .tab-panel:nth-child(3),
.tabset > input:nth-child(7):checked ~ .tab-panels > .tab-panel:nth-child(4),
.tabset > input:nth-child(9):checked ~ .tab-panels > .tab-panel:nth-child(5),
.tabset > input:nth-child(11):checked ~ .tab-panels > .tab-panel:nth-child(6) {
	display: block;
}

.tabset > label {
	position: relative;
	display: inline-block;
	padding: 1em 1.5em;
	cursor: pointer;
	font-weight: 700;
	color: var(--color-white);
	text-transform: uppercase;
}

.tabset label:nth-of-type(1):before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: calc(100vw - 100px);
	max-width: 1500px;
	height: 100%;
	background-color: var(--color-orange);
	z-index: -1;
}

.tabset > label:hover,
.tabset > input:focus + label,
.tabset > input:checked + label {
	color: var(--color-orange);
	background-color: var(--color-white);
}

.tab-panels {
	min-height: 220px;
	grid-column: span 2;
}

.tab-panel {
	padding: 30px 0;
}

#pdf-book .full-size {
	width: 100%;
	height: 100%;
	min-height: 400px;
}

.tabset.gyik {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto 1fr;
}

.tabset.gyik > label {
	width: 100%;
	text-align: center;
}

.tabset.gyik label:nth-of-type(1):before {
	width: calc(100vw - 100px);
	max-width: 966px;
	height: 100%;
	background-color: var(--color-orange);
}

/* 
  =====================================================
  PAGES - GYIK
  =====================================================
*/
.gyik > .content-wrapper {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 50px;
}

.gyik .gyik-left {
	margin: 0;
}

.gyik .gyik-right {
	padding: 2em;
	background-color: var(--color-light-grey);
}

.gyik .gyik-wrapper {
	display: grid;
	grid-template-columns: 155px 1fr;
	gap: 60px;
	margin-bottom: 100px;
	padding: 0;
	border-left: 2px dashed var(--color-light-grey);
}

.gyik .gyik-wrapper > .title-s {
	position: sticky;
	top: 50px;
	height: max-content;
	padding: 0.7em 1em;
	font-size: 16px;
	font-weight: 800;
	color: var(--color-white);
	background-color: var(--color-orange);
	text-transform: uppercase;
}

.gyik .accordion .title-s.kerdes {
	margin: 0;
	padding: 0;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.3em;
	text-transform: uppercase;
}

.gyik .accordion .valasz {
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.gyik .transition,
.gyik ol li i:before,
.gyik ol li i:after,
.gyik p {
	transition: all 0.5s ease-in-out;
}

.gyik .no-select,
.gyik h2 {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.gyik ol {
	perspective: 900;
	padding: 0;
	margin: 0;
}

.gyik ol li {
	position: relative;
	padding: 14px 10px;
	margin: 0;
	border-top: 2px dashed var(--color-light-grey);
}

.gyik ol li::marker {
	margin: 0;
	padding: 0;
	font-size: 12px;
	font-weight: 500;
	color: var(--color-orange);
}

.gyik ol li .wrap {
	display: grid;
	grid-template-rows: max-content 1fr;
	overflow: hidden;
	transition: all 0.5s ease-in-out;
}

.gyik ol li .spacer {
	padding-top: 10px;
}

.gyik ol li i {
	position: absolute;
	transform: translate(-6px, 0);
	margin-top: 9px;
	right: 0;
}

.gyik ol li i:before,
.gyik ol li i:after {
	content: "";
	position: absolute;
	background-color: var(--color-orange);
	width: 3px;
	height: 9px;
}

.gyik ol li i:before {
	transform: translate(-2px, 0) rotate(45deg);
}

.gyik ol li i:after {
	transform: translate(2px, 0) rotate(-45deg);
}

.gyik ol li input[type="checkbox"] {
	position: absolute;
	width: 100%;
	height: 100%;
	inset: 0;
	cursor: pointer;
	z-index: 1;
	opacity: 0;
}

.gyik ol li input[type="checkbox"]:checked ~ .wrap {
	grid-template-rows: max-content 0fr;
}

.gyik ol li input[type="checkbox"]:checked ~ i:before {
	transform: translate(2px, 0) rotate(45deg);
}

.gyik ol li input[type="checkbox"]:checked ~ i:after {
	transform: translate(-2px, 0) rotate(-45deg);
}

.gyik .download-wrapper a {
	margin-bottom: 20px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 20px;
}

.gyik .download-wrapper a object {
	width: 15px;
	height: 15px;
	object-fit: contain;
}

.gyik .download-wrapper a:hover {
	gap: 25px;
}

/* 
  =====================================================
  PAGES - BLOG
  =====================================================
*/

/*/
///  ARCHIVES
/*/
body:is(.blog, .archive, .search, .single-karrier) #content .ast-container,
#primary .grid-page-wrapper {
	display: grid;
	grid-template-columns: 25% 1fr;
}

body:is(.blog, .archive, .search) #content #primary {
	width: 100%;
	padding: 0 50px;
}

body:is(.blog, .archive, .search) #content #secondary {
	width: 100%;
	margin: 0;
	padding: 0 50px;
	border: none;
}

body:is(.blog, .archive, .search) #content #secondary h2 {
	font-size: 1.4rem;
}

body:is(.blog, .archive, .search) #content #secondary li {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	margin-bottom: 20px;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.4em;
}

body:is(.blog, .archive, .search) #content #secondary li .wp-block-latest-posts__post-title {
	margin: 0;
}

body:is(.blog, .archive, .search) #content #secondary li .wp-block-latest-posts__featured-image {
	margin: 0;
}

body:is(.blog, .archive, .search) .blog-layout-1 {
	margin: 0;
	padding: 2.5em 0;
}

body:is(.blog, .archive, .search) .post-content {
	display: grid;
	grid-template-columns: 1fr 2fr;
	grid-template-rows: auto;
	gap: 0px 50px;
}

body:is(.blog, .archive, .search) .post-thumb > .post-thumb {
	width: 100%;
	height: 100%;
}

body:is(.blog, .archive, .search) .post-content > .post-thumb {
	grid-row: 1 / 5;
	margin: 0;
	padding: 0;
	max-height: 300px;
	overflow: hidden;
}

.blog-layout-1 .entry-title,
.blog-layout-1 .entry-header,
.blog-layout-1 .ast-excerpt-container,
.blog-layout-1 .ast-read-more-container {
	grid-column: 2;
	padding-left: 0;
	padding-right: 0;
	height: auto;
}

body:is(.blog, .archive, .search) .post-content .post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body:is(.blog, .archive, .search) .post-content .entry-header {
	margin: 0;
}

body:is(.blog, .archive, .search) .post-content .entry-title a {
	font-weight: 600;
}

body:is(.blog, .archive, .search) .post-content .cat-links {
	font-weight: 700;
	font-size: 0.8rem;
	color: var(--color-white);
}

/*/
///  SINGLE POST
/*/
body.single-post #content .ast-container {
	display: grid;
	grid-template-columns: 25% 1fr;
}

body.single-post #content #primary {
	width: 100%;
	padding: 0 50px;
}

body.single-post #content #secondary {
	width: 100%;
	margin: 0;
	padding: 0 50px;
	border: none;
}

body.single-post .entry-header {
	padding-left: 50px;
}

body.single-post .entry-header .entry-title {
	font-weight: 600;
}

/* 
  =====================================================
  PAGES - Referenciák
  =====================================================
*/
.referenciak .title-m {
	margin: 0 0 10px;
	font-size: clamp(30px, 4vw, 140px);
	font-weight: 800;
	line-height: 1em;
	text-transform: uppercase;
	color: var(--color-medium-grey);
}

.referenciak .ref-slider {
	margin: 0 auto 150px;
	width: 100%;
	height: 50vh;
	min-height: 360px;
}

.referenciak .ref-slider .slide {
	margin-right: 30px;
	width: calc(25% - 30px);
	height: 100%;
}

.referenciak .ref-slider .slide picture {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.referenciak .flickity-prev-next-button.previous {
	left: -60px;
	border: none;
}

.referenciak .flickity-prev-next-button.next {
	right: -60px;
	border: none;
}

/* 
  =====================================================
  PAGES - Kiegészítők
  =====================================================
*/
.kiegeszitok-wrapper .inner-wrapper {
	margin: 0 0 150px;
}

.kiegeszitok-wrapper .kiegeszito-hero {
	padding: 50px 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: start;
}
.kiegeszitok-wrapper .kiegeszito-hero .logo-wrapper {
	grid-area: unset;
	margin: 0;
}

.kiegeszitok-wrapper .title-m {
	margin: 0 0 -25px;
	font-size: clamp(30px, 5vw, 140px);
	font-weight: 800;
	line-height: 1em;
	text-transform: uppercase;
	color: var(--color-medium-grey);
}

.kiegeszitok .kiegeszito-caption {
	width: 70%;
	margin: 0 auto;
	padding: 0.5em 1.5em;
	font-size: 0.8em;
	font-weight: 800;
	text-align: center;
	color: var(--color-dark-grey);
	background-color: var(--color-light-grey);
}

/*/// KILINCSEK ///*/
.kiegeszitok-wrapper .kiegeszitok.kilincsek {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 80px 25px;
}

.kiegeszitok-wrapper .kiegeszitok.kilincsek img {
	width: 100%;
	height: 100%;
	max-height: 300px;
	object-fit: contain;
}

.kilincs {
	display: none;
}

.disabled {
	opacity: 0.4;
	pointer-events: none;
}

.kiegeszitok-wrapper .btn {
	display: block;
	margin: 50px auto 0;
}

/*/// SZÍNEK ///*/
.kiegeszitok-wrapper .kiegeszitok.szinek {
	margin: 0 0 150px;
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 25px;
}

.kiegeszitok.szinek .kiegeszito img {
	width: 100%;
	height: 100%;
	max-height: 230px;
	object-fit: fill;
}

.kiegeszitok .szin {
	display: none;
}

/*/// ÜVEGEK ///*/
.kiegeszitok-wrapper .kiegeszitok.uvegek {
	margin: 0 0 10vh;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 25px;
}

.kiegeszitok.uvegek .kiegeszito img {
	width: 100%;
	height: 100%;
	max-height: 350px;
	object-fit: contain;
}

.kiegeszitok .uveg {
	display: none;
}

/*/// VASLATOK ///*/
.kiegeszitok-wrapper .kiegeszitok.vasalatok {
	margin: 0 0 150px;
}

.kiegeszitok-wrapper .display-posts-listing {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 80px 5%;
}

.kiegeszitok-wrapper .display-posts-listing li .image img {
	width: 100%;
	height: 250px;
	object-fit: cover;
}

.kiegeszitok-wrapper .display-posts-listing li .title {
	display: block;
	margin: 0 auto;
	padding: 0.5em 1.5em;
	font-size: 0.8em;
	font-weight: 800;
	text-align: center;
	color: var(--color-dark-grey);
	background-color: var(--color-light-grey);
}

/* 
  =====================================================
  PAGES - Karrier
  =====================================================
*/
/*/
///  KARRIER SIDEBAR
/*/
.karrier-sidebar {
	width: 100%;
	margin: 0;
	padding: 0;
	border-right: 1px solid var(--color-medium-grey);
}

.sidebar-logo {
	display: block;
	margin: 60px auto;
	width: max-content;
	height: 88px;
}

.sidebar-logo a {
	display: block;
}

.karrier-sidebar ul.sidebar-karrier-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.karrier-sidebar ul.sidebar-karrier-list > li {
	margin: 0 0 -1px;
	width: 100%;
	border: 1px solid var(--color-medium-grey);
	border-right: none;
}

.karrier-sidebar ul.sidebar-karrier-list > li a {
	display: inline-block;
	width: 100%;
	margin: 0;
	padding: 1.2em;
	font-size: 1em;
	font-weight: 600;
}

.karrier-sidebar .karrier-categories {
	margin: 5px 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.karrier-sidebar .karrier-categories li {
	width: fit-content;
	margin: 0;
	padding: 0.45em 0.8em;
	font-size: 0.75em;
	font-weight: 400;
	line-height: 1em;
	border: 1px solid;
	border-radius: 1em;
	color: var(--color-grey);
	opacity: 0.6;
}

/*/
///  KARRIER CONTENT
/*/
.karrier-hero {
	position: relative;
	padding: 100px 50px;
	display: grid;
	place-items: center;
	background-image: url(/wp-content/uploads/2023/06/bemutatoterem-03.webp);
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
}
.karrier-hero::after {
	content: "";
	display: block;
	position: absolute;
	inset: 0;
	background-color: #0000007a;
	backdrop-filter: blur(6px);
	z-index: 0;
}

.karrier-hero .hero-content {
	z-index: 1;
}

.karrier-content {
	margin: 0;
	padding: 0;
	background-color: var(--color-light-grey);
}

.nyitott-poziciok {
	margin: 50px auto 100px;
	padding: 0 50px;
	max-width: 850px;
}

.nyitott-poziciok h2 {
	margin-bottom: 50px;
	color: var(--color-orange);
}

.nyitott-poziciok ul.main-karrier-list {
	margin: 0;
	list-style: none;
	display: flex;
	gap: 30px;
	flex-direction: column;
}

ul.main-karrier-list li {
	border-left: 0px solid var(--color-orange);
	background-color: var(--color-white);
	transition: all 0.2s;
}

ul.main-karrier-list li:hover {
	border-left: 3px solid var(--color-orange);
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

ul.main-karrier-list li a {
	display: block;
	padding: 1.2em 2.5em;
}

ul.main-karrier-list li p {
	margin: 0 0 10px;
	font-size: 1em;
	font-weight: 600;
	color: var(--color-black);
}

ul.main-karrier-list li span p {
	font-size: 0.8em;
	color: var(--color-orange);
}

/*/
///  KARRIER CONTENT - SINGLE
/*/
.karrier-hero {
	position: relative;
	padding: 100px 50px;
	display: grid;
	place-items: center;
	background-image: url(/wp-content/uploads/2023/06/bemutatoterem-03.webp);
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
}
.karrier-hero::after {
	content: "";
	display: block;
	position: absolute;
	inset: 0;
	background-color: #0000007a;
	backdrop-filter: blur(6px);
	z-index: 0;
}

.karrier-single-content .content-wrapper {
	margin: 50px auto 100px;
	padding: 0 50px;
	max-width: 850px;
}

.karrier-single-content .content-wrapper h4 {
	margin: 0 0 20px;
}

/* 
  =====================================================
  PAGES - Karrier
  =====================================================
*/
/*/
///  KARRIER SIDEBAR
/*/
.karrier-sidebar {
	width: 100%;
	margin: 0;
	padding: 0;
	border-right: 1px solid var(--color-medium-grey);
}

.sidebar-logo {
	display: block;
	margin: 60px auto;
	width: max-content;
	height: 88px;
}

.sidebar-logo a {
	display: block;
}

.karrier-sidebar ul.sidebar-karrier-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.karrier-sidebar ul.sidebar-karrier-list > li {
	margin: 0 0 -1px;
	width: 100%;
	border: 1px solid var(--color-medium-grey);
	border-right: none;
}

.karrier-sidebar ul.sidebar-karrier-list > li a {
	display: inline-block;
	width: 100%;
	margin: 0;
	padding: 1.2em;
	font-size: 1em;
	font-weight: 600;
}

.karrier-sidebar .karrier-categories {
	margin: 5px 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.karrier-sidebar .karrier-categories li {
	width: fit-content;
	margin: 0;
	padding: 0.45em 0.8em;
	font-size: 0.75em;
	font-weight: 400;
	line-height: 1em;
	border: 1px solid;
	border-radius: 1em;
	color: var(--color-grey);
	opacity: 0.6;
}

/*/
///  KATALOGUSOK CONTENT
/*/
.katalogusok-hero {
	position: relative;
	padding: 100px 50px;
	display: grid;
	place-items: center;
	background-image: url(/wp-content/uploads/2023/06/bemutatoterem-03.webp);
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
}
.katalogusok-hero::after {
	content: "";
	display: block;
	position: absolute;
	inset: 0;
	background-color: #0000007a;
	backdrop-filter: blur(6px);
	z-index: 0;
}

.katalogusok-hero .hero-content {
	z-index: 1;
}

/*/
///  KARRIER CONTENT - SINGLE
/*/
.katalogusok-hero {
	position: relative;
	padding: 100px 50px;
	display: grid;
	place-items: center;
	background-image: url(/wp-content/uploads/2023/06/bemutatoterem-03.webp);
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
}
.katalogusok-hero::after {
	content: "";
	display: block;
	position: absolute;
	inset: 0;
	background-color: #0000007a;
	backdrop-filter: blur(6px);
	z-index: 0;
}

.katalogusok-wrapper {
	padding: 0 3em;
}

.katalogusok-wrapper .katalogus {
	padding: 3em 0;
}

/* 
  =====================================================
  FOOTER
  =====================================================
*/
#footer {
	margin: 0;
}

#footer .content-wrapper {
	margin: 0 auto;
	padding: 100px 50px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	justify-items: center;
	gap: 50px 0;
}

#footer .content-wrapper .footer-menu ul {
	margin: 0;
	list-style-type: none;
}

#footer .content-wrapper .footer-menu ul li a {
	margin: 0;
	color: var(--color-orange);
	font-weight: 500;
}

#footer .content-wrapper .footer-logo {
	width: 200px;
}

#footer .content-wrapper .footer-logo a {
	display: inline-block;
	height: 100%;
}

#footer .content-wrapper .contact p:not(.col-title) {
	margin-bottom: 10px;
	color: var(--color-orange);
	font-weight: 500;
}

#footer .col .col-title {
	margin-bottom: 10px;
	color: var(--color-dark-grey);
	font-weight: 700;
}

#footer .phone::before,
#footer .email::before {
	content: "";
	display: inline-block;
	width: 15px;
	height: 15px;
	background-image: url(/wp-content/uploads/2023/06/icon-phone.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	margin-right: 10px;
}
#footer .email::before {
	background-image: url(/wp-content/uploads/2023/06/icon-email.svg);
}

#footer .content-wrapper .newsletter {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

#footer .content-wrapper .newsletter p {
	margin: 0 0 10px;
	font-weight: 700;
	color: var(--color-dark-grey);
}

#footer .content-wrapper .newsletter .btn {
	margin-bottom: 30px;
	font-size: 14px;
}

#footer .social-wrapper {
	margin-top: 30px;
	display: flex;
	gap: 15px;
	justify-content: center;
}

#footer .social-wrapper .social-icon {
	width: 25px;
	aspect-ratio: 1 / 1;
	transition: 0.2s all;
}

#footer .social-wrapper .social-icon:hover {
	filter: brightness(0.9);
	transition: 0.2s all;
}

/*/
///  CERTIFICATE
/*/
#certificate {
	margin: 0;
	background-color: var(--color-dark-grey);
}

#certificate .content-wrapper {
	padding: 45px 0;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 3%;
}

#certificate .content-wrapper .icon {
	margin: 0;
	padding: 0;
	max-width: 100px;
}

#certificate .content-wrapper .logo {
	display: inline-block;
	margin: 0;
	width: 100%;
}

#certificate .content-wrapper .line {
	margin: 0;
	padding: 0;
	width: 1px;
	height: 100px;
	background-color: var(--color-white);
	opacity: 0.4;
}

/* 
  =====================================================
  RESELLER PAGE - Viszonteladói aloldalak
  =====================================================
*/
#reseller-page .subpage-hero h1.title-xl {
	width: fit-content;
	margin: 0;
	line-height: 1em;
	font-size: clamp(2rem, 2.5vw, 80px);
	text-transform: uppercase;
}

#rolunk.reseller {
	padding: 60px 0;
}

#szolgaltatasok.reseller {
	margin-bottom: 0;
	padding: 80px 0;
	background-color: var(--color-light-grey);
}
#szolgaltatasok.reseller .card__face--back {
	padding: 10px;
}

/* 
  =====================================================
  MEDIA QUERIES
  =====================================================
*/
@media screen and (max-width: 1200px) {
	header ul.main-header-menu:not(.sub-menu) {
		gap: 30px;
	}
	#home_01 .rolunk-inner {
		width: 90%;
	}
	.grid-termek {
		grid-template-columns: 1fr 1fr;
		transform: translateX(5%);
	}
	#home_01 .title-wrapper {
		max-width: 100%;
		margin: 0 100px;
	}

	#szolgaltatasok .content-wrapper {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	}

	.logo {
		max-width: 180px;
	}
	#hero .logo {
		width: 180px;
		max-width: 180px;
	}

	body:is(.blog, .archive, .search, .single-karrier) #content .ast-container,
	body.single-post #content .ast-container,
	#primary .grid-page-wrapper {
		grid-template-columns: 1fr;
	}
	body.single-post #block-2,
	#secondary #block-3,
	.karrier-sidebar ul.sidebar-karrier-list {
		display: none;
	}
}

@media screen and (max-width: 921px) {
	header ul.main-header-menu:not(.sub-menu) {
		gap: 10px;
	}
	header .main-header-menu .menu-item {
		position: relative;
	}

	.site-logo-img {
		padding-left: 25px;
	}
	.logo-wrapper {
		display: none;
	}
	#hero .hero-title {
		align-self: end;
	}

	#primary #main .product-hero .summary {
		margin: 0;
		padding: 4em 30px;
		transform: translateX(0%);
	}

	#home_05 {
		.berg-why-us__inner {
			grid-template-columns: 1fr;
			align-items: start;
		}
	}

	#home_06 {
		.content-wrapper {
			grid-template-columns: 1fr;

			.img-wrapper {
				order: 1;
				min-height: 350px;
			}

			.content {
				order: 2;
			}
		}
	}

	.referenciak {
		margin-top: 50px;
	}
	.referenciak .ref-slider .slide {
		margin-right: 30px;
		width: calc(33.33333% - 30px);
		height: 100%;
	}
	.referenciak .flickity-prev-next-button.previous {
		left: -30px;
	}
	.referenciak .flickity-prev-next-button.next {
		right: -30px;
	}

	.section.gyik {
		padding: 0;
	}
	.gyik > .content-wrapper {
		display: grid;
		grid-template-columns: 1fr;
		gap: 50px;
	}
	.gyik .gyik-wrapper {
		grid-template-columns: 125px 1fr;
		gap: 30px;
	}
	.gyik .gyik-wrapper > .title-s {
		font-size: 14px;
		top: 70px;
		z-index: 1;
	}
	.gyik .gyik-wrapper {
		padding: 0;
		grid-template-columns: 1fr;
		gap: 30px;
		border: none;
	}
	.gyik ol {
		padding: 0 50px;
	}

	#blog-banner .content-wrapper {
		padding: 50px;
		background-color: var(--color-orange);
		display: grid;
		grid-template-columns: 1fr;
		gap: 20px;
		justify-items: center;
	}

	.referenciaink-slider .slide {
		width: 60%;
	}

	#garancia {
		grid-template-columns: 1fr;
	}

	#video-banner {
		grid-template-columns: 1fr;
		grid-template-rows: max-content 1fr;
	}
	#video-banner > .content-wrapper {
		width: 85%;
		margin: 0 auto;
		padding: 6em 3em 6em 2em;
		transform: translateX(0) translateY(15%);
	}
	#video-banner > .content-wrapper:hover {
		transform: translateX(0);
		cursor: pointer;
	}

	.ast-single-entry-banner[data-post-type="post"] {
		justify-content: center;
		margin-top: 70px;
	}

	.kiegeszitok-wrapper .kiegeszito-hero {
		padding: 50px 0;
		grid-template-columns: 1fr;
	}
	.kiegeszitok-wrapper .kiegeszitok.kilincsek {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
		gap: 60px 25px;
	}

	#elerhetosegek .content-wrapper,
	#viszontelado-form .content-wrapper,
	#viszonteladok .content-wrapper {
		grid-template-columns: 1fr;
	}
	#viszonteladok .right {
		height: 500px;
	}
	#elerhetosegek .content-wrapper .left,
	#elerhetosegek .content-wrapper .right,
	#viszontelado-form .content-wrapper .left {
		padding: 3em 1.5em;
	}
}

@media screen and (max-width: 768px) {
	.grid-1-1 {
		grid-template-columns: 1fr;
	}

	header ul.main-header-menu:not(.sub-menu) {
		gap: 10px;
	}

	#hero {
		position: relative;
	}
	#hero .content-wrapper {
		position: static;
		height: 70vh;
		height: 70svh;
		min-height: 450px;
		display: grid;
		grid-template-columns: 1fr 100%;
		grid-template-rows: 1fr 1fr;
		gap: 0px 0px;
	}
	#hero .hero-title {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
	}
	#hero .title-wrapper {
		width: 80%;
		padding: 50px;
		transform: none;
		background: hsl(0deg 0% 15% / 35%);
	}
	#hero h1.title-xl,
	.subpage-hero h1.title-xl {
		font-size: clamp(20px, 5vw, 50px);
		line-height: 1.2em;
		color: var(--color-white);
	}
	#hero h2.title-m,
	.subpage-hero h2.title-m {
		font-size: clamp(16px, 3.2vw, 22px);
		line-height: 1.3em;
	}

	.subpage-hero {
		position: static;
		height: 60vh;
		min-height: 450px;
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: 1fr;
		gap: 0px 0px;
		grid-template-areas:
			"hero-img"
			"hero-img";
	}
	.subpage-hero .hero-title {
		position: absolute;
		bottom: 0;
		left: 0;
	}
	.subpage-hero .title-wrapper {
		width: 80%;
		padding: 50px;
		transform: none;
		background: hsl(0deg 0% 15% / 35%);
	}

	#primary #main .product-hero {
		height: 60vh;
		min-height: 450px;
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: 1fr max-content;
		gap: 0px 0px;
		grid-template-areas: none;
	}
	#primary #main .product-hero .title-wrapper {
		grid-area: none;
		grid-column: span 2;
	}
	#primary #main .product-hero .product-img {
		grid-area: none;
		grid-column: span 2;
		grid-row: 1;
	}
	#primary #main .product-hero .summary {
		margin: 0;
		padding: 4em 30px;
		transform: translateX(0%);
		background: hsl(0deg 0% 15% / 35%);
		backdrop-filter: blur(6px);
	}

	.grid-termek {
		grid-template-columns: 1fr;
		transform: translateX(0);
	}
	.grid-termek .content-wrapper {
		padding: 4em 3em;
		transform: translate(0, 0);
	}
	.grid-termek a {
		margin: 0 auto;
		padding: 1em;
		width: fit-content;
		transform: translate(0, 0);
	}
	.grid-termek a:hover {
		transform: translate(0, 0);
	}
	.grid-termek .img-wrapper {
		height: 250px;
	}
	.grid-termek .title-m {
		font-size: 2rem;
		text-align: center;
	}

	#home_01 .rolunk-inner {
		margin: 0 auto;
		width: 90%;
	}

	#home_01 .title-wrapper {
		max-width: 100%;
		margin: 0 50px;
	}
	#home_01 .title-wrapper::before {
		content: unset;
	}

	#tudnivalok .title-m,
	#minosegpolitika .title-m {
		font-size: 18px;
	}
	#profilrendszer .inner-wrapper {
		grid-template-columns: 1fr;
	}
	#profilrendszer .slider-background.subtitles {
		margin-bottom: 0;
	}

	#certificate .content-wrapper {
		padding: 45px 0;
		display: flex;
		justify-content: space-evenly;
		align-items: center;
		gap: 30px;
		flex-direction: row;
		flex-wrap: wrap;
	}
	#certificate .content-wrapper .line {
		display: none;
	}

	#primary .tabs-wrapper .woocommerce-tabs .tab-inner {
		grid-template-columns: 1fr;
		align-items: left;
	}

	.security .szintek-wrapper,
	.security.rc3 .szintek-wrapper {
		padding-top: 30px;
		display: grid;
		grid-template-columns: 1fr;
		gap: 10px;
	}
	.security.rc3 .img-wrapper {
		grid-column: 1;
	}

	#home_04 {
		.megoldasok {
			grid-template-columns: 1fr;
		}

		.megoldasok .megoldas {
			padding: 1.5em;
			background-color: var(--color-light-grey);
			display: grid;
			grid-template-columns: 1fr;
			grid-template-rows: max-content max-content 1fr;
			gap: 20px 1em;
			grid-template-areas:
				"icon"
				"title"
				"text";
		}
	}

	.referenciak .ref-slider .slide {
		margin-right: 0;
		width: 100%;
		height: 100%;
	}

	body.single-post .entry-header {
		padding-left: 0;
	}
	body.single-post .wp-block-columns {
		padding: 0;
	}
	body:is(.blog, .archive) .post-content {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		gap: 0px 20px;
	}
	body:is(.blog, .archive, .search) .post-content > .post-thumb {
		grid-row: 1;
		max-height: 250px;
	}
	.blog-layout-1 .entry-title,
	.blog-layout-1 .entry-header,
	.blog-layout-1 .ast-excerpt-container,
	.blog-layout-1 .ast-read-more-container {
		grid-column: 1;
	}
	body:is(.blog, .archive) .entry-title {
		font-size: 20px;
	}

	.tabset > label {
		display: block;
		padding: 1em 1.5em;
		font-size: 14px;
	}
	.tabset label:before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		display: block;
		width: calc(100vw - 100px);
		max-width: 1500px;
		height: 100%;
		background-color: var(--color-orange);
		z-index: -1;
	}

	#bejarati-ajtok-slider .product {
		width: 50%;
		padding: 0 1em;
		transition: all 0.3s ease-in-out;
	}
	#bejarati-ajtok-slider .product .title-s {
		width: 90%;
		font-size: 1em;
	}
	.bejarati-ajtok .flickity-btn {
		display: none;
	}

	#viszontelado-form .content-wrapper .title-s {
		width: min-content;
		margin: 0 auto 30px;
	}
	#elerhetosegek .content-wrapper .title-m,
	#viszontelado-form .content-wrapper .title-m {
		font-size: 1.5rem;
	}

	#tablepress-1 thead {
		display: none;
	}
	#tablepress-1 tbody tr {
		display: block;
		border-top: 1px solid var(--border-color);
	}
	#tablepress-1 tbody tr:nth-child(odd) {
		background-color: var(--color-light-grey);
	}
	#tablepress-1 tbody tr td {
		position: relative;
		display: block;
		margin-left: auto;
		width: calc(100% - 80px);
		border: none;
		text-align: right;
	}
	#tablepress-1 tbody tr td::before {
		position: absolute;
		top: 0;
		left: 0;
		transform: translate(-65px, 50%);
		display: inline-block;
		width: max-content;
		height: 100%;
		font-size: 11px;
		font-weight: 700;
		text-align: left;
		line-height: 0;
		text-transform: uppercase;
	}
	#tablepress-1 tbody tr td:nth-of-type(1)::before {
		content: "Cégnév";
	}
	#tablepress-1 tbody tr td:nth-of-type(2)::before {
		content: "Cím";
	}
	#tablepress-1 tbody tr td:nth-of-type(3)::before {
		content: "Email";
	}

	.arnyekolo-wrapper .col {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 500px) {
	header .header-inner {
		padding: 0 20px;
	}

	.site-logo-img {
		padding: 25px;
	}

	#hero .title-wrapper,
	.subpage-hero .title-wrapper {
		width: 100%;
		padding: 50px;
		transform: none;
		background: hsl(0deg 0% 15% / 35%);
	}
	#hero h1.title-xl,
	.subpage-hero h1.title-xl {
		font-size: clamp(20px, 7.5vw, 50px);
		line-height: 1.2em;
		color: var(--color-white);
	}
	#hero h2.title-m,
	.subpage-hero h2.title-m {
		font-size: 16px;
		font-weight: 700;
		line-height: 1.3em;
	}

	#home_01 .title-wrapper {
		margin: 0 30px;
	}
	#home_01 .rolunk-inner {
		width: 100%;
	}

	.grid-termek .content-wrapper {
		padding: 3em 1.5em;
	}
	.grid-termek .title-m {
		font-size: 1.6rem;
		text-align: center;
		word-wrap: break-word;
	}
	.grid-termek a::after {
		width: 25px;
	}
	.grid-termek a:hover::after {
		transform: translate(10px, -50%);
		width: 25px;
	}

	.profilrendszer-slider {
		width: 100%;
		height: 40vh;
	}

	#profilrendszer {
		overflow: hidden;
	}
	#profilrendszer .flickity-btn {
		display: none;
	}

	#bemutatoterem .content-wrapper {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: 1fr;
		gap: 0px 0px;
		grid-template-areas:
			"left-top"
			"left-bottom"
			"right";
	}
	#bemutatoterem .content-wrapper .left-top {
		width: 100%;
		grid-area: left-top;
		margin-top: 0;
		padding: 0;
	}
	#bemutatoterem .content-wrapper .right {
		grid-area: right;
		margin-top: 50px;
		height: 40vh;
	}

	#footer .content-wrapper {
		padding: 50px 25px;
		justify-content: flex-start;
	}

	body:is(.blog, .archive) #content #primary {
		width: 100%;
		padding: 0 25px;
	}

	.referenciak .flickity-prev-next-button.previous {
		left: 0;
	}
	.referenciak .flickity-prev-next-button.next {
		right: 0;
	}

	#viszontelado-form .content-wrapper .right {
		padding: 3em 1.5em;
	}

	body:is(.blog, .archive, .search) #content #secondary {
		padding: 0 20px;
	}
	#secondary,
	#secondary button,
	#secondary input,
	#secondary select,
	#secondary textarea {
		width: 100%;
	}
	.wp-block-search__inside-wrapper {
		flex-wrap: wrap;
		gap: 1em;
	}
	body:is(.blog, .archive, .search) article.post {
		padding-left: 0;
		padding-right: 0;
	}
}

#7erv {
	overflow: hidden;
	padding-top: 10vh;
	padding-bottom: 10vh;
}

.four-col-wrapper {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	align-items: start;
	gap: 20px;
}

.four-col-wrapper h4,
#orange {
	color: #ed691f;
}

.four-col-wrapper:has(> :nth-child(3):last-child) {
	grid-template-columns: repeat(3, 1fr);
	max-width: 75%;
	margin: 0 auto;
}

/* Tablet és mobil */
@media (max-width: 992px) {
	.four-col-wrapper {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Nagyon kis mobil */
@media (max-width: 576px) {
	.four-col-wrapper {
		grid-template-columns: 1fr;
	}
}

.two-col-wrapper {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	align-items: start;
	gap: 50px;
}

/* Tablet és mobil */
@media (max-width: 992px) {
	.two-col-wrapper {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Nagyon kis mobil */
@media (max-width: 576px) {
	.two-col-wrapper {
		grid-template-columns: 1fr;
	}
}

.two-col-wrapper h4 {
	color: #ed691f;
}
