html,
body {
    overflow-x: hidden;
}

header {
    position: fixed;
    width: 100%;
    z-index: 1000;
}

body.page-template-page-no-title header,
body.single-post header,
body.tag header,
body.archive.category header {
    background-color: #202021;
}

header.solid>.wp-block-group {
    position: relative;
}

header>.wp-block-group::after {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    background: rgba(32, 32, 33, 0);
    z-index: -1;
    left: 0;
    top: 0;
	transform: translateY(-100px);
    transition: background 0.5s ease, backdrop-filter 0.5s ease, transform 0.3s ease;
}

header.solid>.wp-block-group::after {
	transform: translateY(0);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    background-color: rgba(32, 32, 33, 0.80);
}

body.page-template-page-no-title header.solid>.wp-block-group::after,
body.single-post header.solid>.wp-block-group::after,
body.tag header.solid>.wp-block-group::after,
body.archive.category header.solid>.wp-block-group::after {
	display: none;
}

header .wp-block-navigation__responsive-container {
    height: 100vh;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(32, 32, 33, 0.9) !important;
    background-image: url(/wp-content/uploads/2025/02/logo-shape-small.svg) !important;
    background-size: 40vw;
    background-repeat: no-repeat;
    background-position: calc(108vw - 40vw) 96%;
}

header .wp-block-navigation__responsive-container a,
footer .wp-block-navigation__container a {
  position: relative;
  text-decoration: none;
}

header .wp-block-navigation__responsive-container a::after,
footer .wp-block-navigation__container a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0%;
  background-color: #fff;
  transition: width 0.3s ease;
}

footer .wp-block-navigation__container a::after {
	height: 1px;
}

header .wp-block-navigation__responsive-container li.highlite a::after {
	background-color: var(--wp--preset--color--accent-1) !important;
}

header .wp-block-navigation__responsive-container a:hover::after,
footer .wp-block-navigation__container a:hover::after {
  width: 100%;
}

header .wp-block-navigation__responsive-container .logo {
    transform: translateY(-3rem);
}

header .wp-block-navigation__responsive-container .logo a {
    padding: 0;
}

header .wp-block-navigation__responsive-container .logo a:hover::after {
	display: none;
}

header .wp-block-navigation__responsive-container .logo img {
    width: 296px;
}

header .wp-block-navigation__responsive-container .address {
    margin-top: 4vh;
}

header .wp-block-navigation__responsive-container .address a,
header .wp-block-navigation__responsive-container .phone a {
    font-family: var(--wp--preset--font-family--inter);
    font-size: var(--wp--preset--font-size--medium);
    text-transform: none;
}

.wp-block-navigation__responsive-container {
    padding-top: calc(var(--wp--preset--spacing--40) - 4px) !important;
}

.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
    transform: scale(1.4);
}

.entry-content {
    margin-top: 0;
    margin-bottom: 0;
}

.entry-content>div:first-child::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 240px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.00) 0%, #202021 100%);
    z-index: 1;
}

body.page-template-page-no-title .entry-content>div:first-child::before,
body.single-post .entry-content>div:first-child::before,
body.archive.category .entry-content>div:first-child::before {
    display: none;
}

.dark-bkg {
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    background-color: rgba(255, 255, 255, 0.20);
}

.intro-banner {
    position: relative;
}

.logo-shape {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 10;
}

.shape-bottom {
    background-size: 60% !important;
}

.shape-bottom::after {
    content: "";
    width: 200px;
    right: 0;
    bottom: -20px;
    height: 100px;
    position: absolute;
    background-image: url(/wp-content/uploads/2025/02/shape-red-1.svg);
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
}

.ticks .has-contrast-background-color,
.ticks .has-contrast-background-color img {
    transition: all 0.5s ease;
}

.ticks .has-contrast-background-color:hover {
    background-color: var(--wp--preset--color--accent-1) !important;
}

.ticks .has-contrast-background-color:hover img {
    filter: invert(1) brightness(1000%);
    transform: scale(1.4);
}

.map-container iframe {
    filter: grayscale(100%);
}

.pagination a,
.tags-cloud a {
    text-decoration: none;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tags-cloud a {
    display: inline-block;
    background-color: #EEEEEE;
    padding: 4px 8px;
    border-radius: 14rem;
    color: var(--wp--preset--color--accent-1);
}

.tags-cloud a:hover {
    color: #fff;
    background-color: var(--wp--preset--color--accent-1);
}

.intro-banner {
    max-height: 260px !important;
}

.text-shadow {
    text-shadow: 0px 4px 7.3px rgba(0, 0, 0, 0.50);
}

.highlite a {
	color: var(--wp--preset--color--accent-1) !important;
}

.wp-block-button__link {
	transition: all 0.3s ease-in-out;
}

.wp-block-button__link:hover {
    box-shadow: inset 0 0 0 2px var(--wp--preset--color--accent-1);
    background: #fff;
    color: var(--wp--preset--color--accent-1);
    transition: all 0.3s ease-in-out;
}

.post-template-default .entry-content > .wp-block-group {
	padding-left: 0;
	padding-right: 0;
}

.post-template-default .entry-content figure {
	margin-top: 3rem;
	margin-bottom: 3rem;
}

.icon-home img {
	transform: translateY(-2px);
}

.with_frm_style select {
	height: 40px;
}

.wp-block-post-featured-image {
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0px 20px 25px -5px rgba(16, 24, 40, 0.10), 0px 8px 10px -6px rgba(16, 24, 40, 0.10);
}

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

.wp-block-post-featured-image:hover img,
.performance-list img:hover {
	transition: transform 0.5s ease;
	transform: scale(1.125);
}

.mobile-no-bkg {
	background-position: 140% 90% !important;	
}

footer {
    z-index: 100;
    position: relative;
    margin: 0;
	overflow: hidden;
}

footer .logo-shape {
    opacity: 0.3;
    bottom: auto;
    top: 3.4rem;
    right: -6vw;
}

footer .logo-shape img {
    width: 26vw;
}

footer .footer-logo {
    text-align: right;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid Highlight;
    outline: 2px solid -webkit-focus-ring-color;
}

body.home .stk-block-accordion__heading {
	order: 100 !important;	
}

body.home .stk-block-accordion__heading p {
	text-decoration: underline;	
}

ul.main-nav {
	gap: 0.65rem !important;
}

#sb_instagram {
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
}

/* For screens wider than 1440px (large desktop screens) */
@media (max-width: 1440px) {
    .intro-banner img {
        max-width: 40vw;
    }
}

/* For screens wider than 1440px (large desktop screens) */
@media (max-width: 781px) {
    .animated,
    .fadeInUp {
        transition-property: none !important;
        transform: none !important;
        animation: none !important;
    }
	
	.intro-banner {
		min-height: 60vh !important;
	}

    .intro-banner img {
        max-width: 50vw;
    }

    .mobile-swap-columns .wp-block-column:last-child {
        order: -1;
    }

    .brands-list {
        margin-top: 4rem !important;
    }

    .mobile-set-columns {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 1.8rem;
    }

    .mobile-set-columns-single {
        display: grid !important;
        grid-template-columns: 1fr;
    }

    .mobile-set-columns figure {
        text-align: center;
    }

    .logo-audi img {
        max-width: 64%;
    }

    .wp-block-site-logo img {
        max-width: 224px;
    }

    .mask-normal,
    .mask {
        position: relative;
    }

    .mask-normal::after,
    .mask::after {
        content: "";
        width: 200px;
        right: 0;
        top: -20px;
        height: 100px;
        position: absolute;
        background-image: url(/wp-content/uploads/2025/02/shape-red-1.svg);
        background-size: cover;
        background-repeat: no-repeat;
        z-index: -1;
    }

    .logo-shape,
    .mobile-hide {
        display: none !important;
    }

    .mobile-limit-gap {
        margin-top: var(--wp--preset--spacing--40) !important;
        margin-bottom: 0 !important;
    }

    .mobile-remove-top-gap {
        margin-top: 0 !important;
    }
	
	.mobile-no-padding {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	
	.mobile-margin-bottom {
		margin-bottom: var(--wp--preset--spacing--40) !important;
	}
	
	.mobile-no-bkg {
		background-image: none !important;	
	}
	
	.entry-content .wp-block-buttons {
		margin-bottom: var(--wp--preset--spacing--40) !important;
	}

    header .wp-block-navigation__responsive-container {
        background-image: none !important;
    }

    ul.wp-block-post-template li {
        margin-bottom: 2rem;
    }

    nav.wp-block-query-pagination,
    p.tags-cloud {
        margin-bottom: 3rem !important;
    }
	
	.stk-block-tab-labels__wrapper {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	
	.stk-block-tabs__tab {
		align-items: start;
		padding: 8px 0;
	}
	
	.stk-block-tabs__tab .stk--svg-wrapper {
		margin-top: 3px;
	}
	
	.wp-block-stackable-tab-content .stk-column-wrapper {
		margin: 0;
	}
	
	button.stk-block-tabs__tab .stk-block-tab-labels__text {
		font-size: 1rem !important;
	}
	
	.wp-block-cover.is-light {
		min-height: 40vh;
	}
	
	.stk-block-carousel__slider {
		width: 100% !important;	
	}

    footer .is-layout-flow>.alignright {
        float: none;
    }

    footer .footer-logo,
    .has-text-align-right,
    footer nav,
    footer nav li,
    footer .has-text-align-left {
        text-align: center;
    }

    footer nav,
    footer nav ul {
        align-items: center !important;
    }

    footer ul.wp-block-social-links-is-layout-flex {
        justify-content: center;
        margin-top: 2rem;
    }

    footer p.mobile-text-red {
        color: var(--wp--preset--color--accent-1) !important;
    }
	
	footer .copyright strong {
		display: block;
        opacity: 0;
	}

}

@media (max-width: 1140px) {
    footer .logo-column,
    footer .logo-shape {
        display: none;
    }
}


/* For screens wider than 1024px (typically desktop screens) */
@media (min-width: 782px) {
	header .wp-block-navigation__responsive-container .logo img {
		transform: translateY(-2px);
	}
	
    .entry-content .wide-video-banner {
        z-index: 100;
    }

    .entry-content .wide-video-banner>.wp-block-columns>.wp-block-column:first-child {
        position: relative;
        z-index: 10;
    }

    .entry-content .wide-video-banner>.wp-block-columns>.wp-block-column:first-child h2,
    .entry-content .wide-video-banner>.wp-block-columns>.wp-block-column:first-child p {
        color: var(--wp--preset--color--base);
    }

    .entry-content .wide-video-banner>.wp-block-columns>.wp-block-column:first-child::after-0 {
        content: "";
        width: 100vw;
        height: 100%;
        top: 0;
        right: 0%;
        display: block;
        backdrop-filter: blur(50px);
        -webkit-backdrop-filter: blur(50px);
        background: rgba(32, 32, 33, 0.70);
        position: absolute;
        z-index: -1;
    }

    .entry-content .wide-video-banner>.wp-block-columns>.wp-block-column:last-child {
        z-index: 5;
    }

    .entry-content .wide-video-banner>.wp-block-columns>.wp-block-column:last-child .wp-block-cover {
        position: absolute;
        width: 43vw;
        height: 100%;
        top: 0%;
        right: 0%;
    }

    .entry-content .wide-image-banner {
        z-index: 10;
    }

    .mask-normal {
        position: absolute;
        width: 50vw;
        top: -10%;
        overflow: hidden;
        height: 100%;
    }

    .entry-content .wide-image-banner.left>.wp-block-columns>.wp-block-column:first-child,
    .entry-content .wide-image-banner.right>.wp-block-columns>.wp-block-column:last-child {
        position: relative;
    }

    .mask,
    .left .mask,
    .right .mask {
        position: absolute;
        width: 50vw;
        height: 100%;
        right: 0;
        clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
        overflow: hidden;
    }

    .right .mask {
        right: auto;
        left: 0;
        clip-path: polygon(100% 0, 15% 0, 0% 100%, 100% 100%);
    }

    .entry-content .wide-image-banner.left>.wp-block-columns>.wp-block-column:first-child::before,
    .entry-content .wide-image-banner.right>.wp-block-columns>.wp-block-column:last-child::before {
        content: "";
        display: block;
        right: -1.25rem;
        top: -1rem;
        width: 50vw;
        height: 100%;
        background-image: url(/wp-content/uploads/2025/02/img-shadow.svg);
        background-repeat: no-repeat;
        background-position: top right;
        clip-path: polygon(8% 100%, 85% 100%, 100% 0, 20% 0);
        position: absolute;
    }

    .entry-content .wide-image-banner.right>.wp-block-columns>.wp-block-column:last-child::before {
        background-image: none;
        background-color: #202021;
        clip-path: polygon(100% 0, 15% 0, 0% 100%, 100% 100%);
        right: -40vw;
    }

    .mask img,
    .mask-normal img {
        height: 140%;
        width: 100%;
        object-fit: cover;
    }
	
	.testimonials .wp-block-column p:first-child {
		min-height: 80%;
	}
}

@media (min-width: 1121px) {
	.performance-list .performance-intro {
		min-height: 6.45rem;
	}
}