/* ---------------------------------------------------------------------------------------------

	Theme Name: WorkDigital Foundation Child
	Version: 0.1
	Description: Child theme for WorkDigital Foundation theme
	Author: WorkDigital
	Author URI: https://workdigital.dk
    Template: wd-foundation

/* --------------------------------------------------------------------------------------------- */

:root{
    --btn-color: var(--secondary-color);
    --btn-color-hover: var(--secondary-color-hover);
	--huge-font-size: 86px;
    --huge-font-line-height: 80px;
    --large-font-size: 65px;
    --large-font-line-height: 70px;
    --standard-font-size: 20px;
    --standard-font-line-height: 1.3;
    --small-font-size: 16px;
    --small-font-line-height: 19px;
	--medium-border-radius: 10px;
    --big-border-radius: 20px;
}

#mainContent:has(.entry-content > .wp-block-cover:first-child) {
    margin-top: 0;
}

body{
    overflow-x: hidden;
    scroll-behavior: smooth !important;
}

ul, ol {
    margin: 20px 0 20px 10px;
}

.full-height {
    height: 100%;
}
.wp-block-cover.fullscreen-banner-image {
    position: relative;
    width: 100vw !important;
    padding: 0;
    margin-left: -170px !important;
}
.wp-block-cover.fullscreen-banner-image img {
    width: 100vw !important;
    height: 100vh !important;
    padding-left: 0 !important;
}

a:not([style*="color:"]):not([class*="has-"]) {
    color: inherit;
}

.cover-text{
    color: #fff !important;
}

.wd-card-image-wrapper{
    position: relative;
}

.yard-status{
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 11px 22px;
    font-size: 16px;
    color: #fff;
    border-bottom-right-radius: var(--medium-border-radius);
    top: 0;
    left: 0;
    z-index: 1;
    border-top-left-radius: 0;
}

@media screen and (min-width: 601px) and (max-width: 1430px){
    .wp-block-cover.fullscreen-banner-image {
        margin-left: -108px !important;
    }

    .wp-block-group h2.has-x-large-font-size{
        font-size: max(90px) !important;
        line-height: max(90px) !important;
    }
}

@media screen and (max-width: 600px){
    .wp-block-cover.fullscreen-banner-image {
        margin-left: -20px !important;
    }
}

.image-scale figure {
    height: 100%;
}
.image-scale figure img {
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.normal-button-scaling {
    width: auto !important;
}
/*
body *:not(.post-inner) > .entry-content > *:first-child {
    margin-top: 0 !important;
}
*/

footer .footer-column:nth-child(4) .footer-column-list{
    align-items: flex-end;
}

footer .footer-column:nth-child(2) .footer-column-list{
    align-items: flex-end;
    color: #686868;
}

footer .footer-column:nth-child(3) .footer-column-list{
    color: #686868;
}

footer .footer-item--type-textarea{
    font-size: 16px;
    opacity: 0.7;
}

footer .footer-extra-rows{
    display: none;
}

@media screen and (max-width: 750px){
    .wp-block-spacer{
        max-height: 70px;
    }
}



.light-mode .image-darkmode {
    filter: invert(0);
}
.dark-mode .image-darkmode {
    filter: invert(1);
}
.is-top {
    align-self: flex-start;
}
.is-relative {
    position: relative;
}
.round-headline-button a {
    padding: 0 15px !important;
    border-radius: 50% !important;
}
.has-big-gap {
    gap: 6rem;
}
.has-medium-gap {
    gap: 1.5rem;
}
.has-dark-background {
    background-color: var(--dark);
}
.has-light-gray-border {
	border: 1px solid var(--separator);
}
.has-big-border-radius {
    border-radius: var(--big-border-radius);
}
.has-medium-border-radius {
	border-radius: var(--medium-border-radius);
}
.has-primary-color-color {
    color: var(--primary-color) !important;
}
.has-full-width {
    width: 100%;
}

.has-secondary-color-color {
    color: var(--secondary-color) !important;
}

.has-accent-color-color {
    color: var(--accent-color) !important;
}

.has-surface-color-4-color {
    color: var(--surface-color-4) !important;
}

.has-primary-color-background-color {
    background-color: var(--primary-color) !important;
}

.has-secondary-color-background-color {
    background-color: var(--secondary-color) !important;
}
.has-accent-color-background-color {
    --btn-color: var(--accent-color);
    --btn-color-hover: var(--accent-color-hover);
    background-color: var(--accent-color);
}
 
.wp-block-button .wp-block-button__link, .btn, .wpcf7 .kontaktform-rows .kontaktform-form-row input.wpcf7-submit{
    background-color: var(--btn-color, --secondary-color);
}
 
.wp-block-button .wp-block-button__link:hover, .btn:hover, .wpcf7 .kontaktform-rows .kontaktform-form-row input.wpcf7-submit:hover{
    background-color: var(--btn-color-hover, --secondary-color-hover);
}
.wp-block-button[style*=font-weight] .wp-block-button__link{
    font-weight: inherit;
}
 
.wp-block-button[style*=font-size] .wp-block-button__link{
    font-size: inherit;
}
 
.wp-block-button[style*=text-transform] .wp-block-button__link{
    text-transform: inherit;
}
 
.wp-block-button[style*=font-style] .wp-block-button__link{
    font-style: inherit;
}
.wp-block-cover.wdf-align-full .wp-block-cover__inner-container .wp-block-group.has-medium-border-radius {
    width: 100%;
    max-width: 100%;
}
a.wp-block-read-more {
    display: flex !important;
    gap: 5px;
}
.wp-block-group.vertical-justification > * {
    flex-grow: 0;
}
.wp-block-group.vertical-justification {
    justify-content: space-between;
    height: 100%;
}

.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.yacht-small-slider {
    flex-grow: 1;
}

.kontakt-os-box .wp-block-columns {
    margin-left: auto !important;
    margin-right: auto !important;
}

.contact-icon > div {
    width: auto;
}

.kontakt-os-box p:empty {
    display: none;
}

body.dark-mode .kontakt-os-box .wp-block-button .wp-block-button__link {
    background-color: var(--light)!important;
}

@media screen and (max-width: 1130px) {
    .wp-block-columns {
        flex-wrap: wrap !important;
    }
    /* Nyeste yachts knap*/
    .wp-block-group.full-height.is-vertical.is-layout-flex.wp-container-core-group-is-layout-8.wp-block-group-is-layout-flex {
        gap: 2rem
    }
}

@media screen and (min-width: 782px) and (max-width: 1390px){
    .three-box-container {
        gap: 20px;
    }

    .three-box-container .wp-block-column {
        padding: max(20px);
    }

    .three-box-container h2.wp-block-heading.has-small-font-size {
        font-size: max(20px) !important;
    }

    .three-box-container p.has-large-font-size {
        font-size: max(19px) !important;
        line-height: max(25px) !important;
    }
}

/* @media screen and (max-width: 1480px){
    .wp-block-columns.kontakt-os-box {
        flex-wrap: wrap !important;
    }
} */

@media screen and (max-width: 1000px){
    .wp-block-columns.kontakt-os-box .contact-icon {
        margin-bottom: 10px;
        padding-right: 10px;
    }

    .wp-block-columns.kontakt-os-box .wp-block-buttons {
        margin-top: 15px;
    }
}






/*Fonts*/
@media screen and (max-width: 425px) {
    .phone-headline-size {
        font-size: 40px !important;
    }
}


/*Grid container*/
.grid-container > div {
    gap: 4rem;
}
.stats-grid > div {
    grid-template-columns: repeat(4, 1fr) !important;
}
.stats-gridx3 > div {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem;
}
@media screen and (max-width: 1040px) {
    .stats-gridx3 > div {
        grid-template-columns: 1fr !important;
    }
}

@media screen and (min-width: 1040px) and (max-width: 1300px){
    .stats-gridx3 .wp-block-group__inner-container h2.wp-block-heading.has-x-large-font-size {
        font-size: max(100px)!important;
    }
}

@media screen and (max-width: 425px) {
    .grid-container > div {
        grid-template-columns: 1fr !important;
    }
    .grid-container-med-background {
        padding-left: 0 !important;
        padding-right: 0 !important;
        justify-content: center;
    }
    .grid-container-med-static {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    .stats {
        flex-wrap: wrap !important;
        gap: 2rem !important;
    }
    .stats-grid > div {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
.grid-container-item {
    max-width: 340px;
}
.grid-container-med-background .grid-container-item {
    max-width: 100%;
}
.element-fuld-visning {
    width: 100% !important;
    max-width: unset !important;
}


@media screen and (min-width: 782px) and (max-width: 1300px){
    .three-block-grid-wrapper{
        display: grid !important;
        grid-template-columns: 1fr 1fr;
    }
    
    .three-block-grid-wrapper .grid-header-wrap{
        grid-column: 1 / -1;
    }
}

/* Background-image workaround for yacht billede */
/*FJERN / RET når vi får billede i rigtig størrelse, da den ikke er i figma*/
@media screen and (max-width: 768px) {
    .yacht-mobile-image {
        background-image: url(/wp-content/uploads/Mountain-boat-mobile.png);
        background-size: cover;
        padding: 1rem 1rem 4rem 1rem;
    }
    .yacht-mobile-image img {
        display: none;
    }
}

/* FAQ */
.schema-faq-question::before {
    margin-right: 0 !important;
    margin-left: auto;
    order: 2;
}
.schema-faq {
    max-width: unset !important;
}

/*Footer*/
@media screen and (max-width: 768px) {
    footer .footer-columns {
        gap: 3rem;
        grid-template-columns: 1fr;
        align-items: flex-start;
    }
    footer .footer-column:nth-of-type(2),
    footer .footer-column:nth-of-type(3) {
        display: none;
    }

    footer .footer-column:nth-child(1) .footer-item:nth-child(2),
    footer .footer-column:nth-child(1) .footer-item:nth-child(3),
    footer .footer-column:nth-child(1) .footer-item:nth-child(4),
    footer .footer-column:nth-child(1) .footer-item:nth-child(5),
    footer .footer-column:nth-child(1) .footer-item:nth-child(6){
        display: none;
    }

    footer .footer-column:nth-child(4) .footer-column-list{
        align-items: flex-start;
    }

    footer .footer-column:nth-child(4) .footer-column-list .footer-item:nth-child(1){
        display: none;
    }

    footer .footer-extra-rows{
        display: block;
        margin-top: 122px;
    }

    footer .footer-extra-rows-some{
        display: flex;
        justify-content: space-between;
        max-width: 130px;
        margin: 0 auto;
        margin-bottom: 32px;
        opacity: 0.7;
    }

    footer .footer-extra-rows-policy{
        text-align: center;
        max-width: 400px;
        margin: 0 auto;
        opacity: 0.7;
    }

    footer .footer-extra-rows-policy a{
        text-decoration: none;
    }
}


/*Yacht carousel*/

.yacht-carousel{
    position: relative;
    width: calc(var(--theme-standard-width) + 60px);
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    margin-bottom: 90px;
}

.yacht-carousel-slides{
    display: flex;
    height: 500px;
}

.yacht-carousel-slide{
    border-radius: 10px;
    width: 0;
    transition: width 300ms ease-in-out;
}

.yacht-carousel-slide.yacht-carousel-slide--active{
    display: block;
    background-image: var(--slide-image);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 90%;
    margin-left: 30px;
    margin-right: 30px;
}

.yacht-carousel-slide.yacht-carousel-slide--active:first-child{
    margin-left: 0;
}

.yacht-carousel-slide.yacht-carousel-slide--active:last-child{
    margin-right: 0;
}

.yacht-carousel-slide.yacht-carousel-slide--previous,
.yacht-carousel-slide.yacht-carousel-slide--next{
    display: block;
    background-image: var(--slide-image);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    cursor: pointer;
    width: 10%;
}

.yacht-carousel-slide:has( + .yacht-carousel-slide.yacht-carousel-slide--previous){
    background-image: var(--slide-image);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin-right: 20px;
}

.yacht-carousel-slide.yacht-carousel-slide--next + .yacht-carousel-slide{
    background-image: var(--slide-image);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin-left: 20px;
}

.yacht-carousel-controls{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    gap: 50%;
}

.yacht-carousel-control{
    width: 100%;
}

.yacht-carousel:has(.yacht-carousel-slide.yacht-carousel-slide--previous) .yacht-carousel-control--previous,
.yacht-carousel:has(.yacht-carousel-slide.yacht-carousel-slide--next) .yacht-carousel-control--next{
    cursor: pointer;
}

.yacht-carousel:has(.yacht-carousel-control--next:hover) .yacht-carousel-slide.yacht-carousel-slide--next{
    width: 20%;
}
.yacht-carousel:has(.yacht-carousel-control--previous:hover) .yacht-carousel-slide.yacht-carousel-slide--previous{
    width: 20%;
}

/*Ny img slider*/
.yatch-image-wrapper {
    display: grid;
    grid-template-columns: 65% 35%; 
    grid-template-rows: auto auto;
    gap: 10px;
    position: relative;
}

.yatch-image-wrapper .yatch-image{
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 710px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    cursor: pointer;
}

.yatch-image-wrapper .yatch-image .vimeo-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.yatch-image-wrapper .yatch-image .vimeo-container iframe {
    width: 100vw;
    height: 100vh;
    display: block;
}

.yatch-image-wrapper .yatch-image .vimeo-container .hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.yatch-image-wrapper .yatch-image .vimeo-container:hover .hover-overlay {
    opacity: 1;
}

.yatch-image-wrapper .yatch-image iframe{
    opacity: 0.9;
    transition: opacity var(--standard-transition);
}

.yatch-image-wrapper .yatch-image .loader{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.yatch-image-wrapper .yatch-image iframe.loaded{
    opacity: 1;
}

.yatch-image-wrapper .yatch-image img {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: center;
    transition: transform var(--standard-transition);

}

iframe.hero-video-iframe.hero-video-iframe--vimeo{
    cursor: pointer;
}

.yatch-image-wrapper .yatch-image img:hover{
    transform: scale(1.1);
}

.yatch-image-wrapper .yatch-image:nth-child(2),
.yatch-image-wrapper .yatch-image:nth-child(3){
    height: 350px;
}

.yatch-image-wrapper .yatch-image:nth-child(1) {
    grid-column: 1 / 2; 
    grid-row: 1 / span 2; 
}

.yatch-image-wrapper .yatch-image:nth-child(2) {
    grid-column: 2 / 3; 
    grid-row: 1; 
}

.yatch-image-wrapper .yatch-image:nth-child(3) {
    grid-column: 2 / 3; 
    grid-row: 2; 
}

/* Skjul alle elementer efter de første tre */
.yatch-image-wrapper .yatch-image:nth-child(n+4) {
    display: none;
}

.yatch-image-wrapper .viewall-images{
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: var(--light);
    border-bottom: 1px solid var(--light);
    cursor: pointer;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
}

.yacht-image-fullscreen{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
}

.yacht-image-fullscreen .yacht-fullscreen-wrapper{
    display: flex;
    flex-direction: row;
    height: 100%;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    scroll-behavior: smooth;
}

.yacht-image-fullscreen .yacht-fullscreen-wrapper:focus{
    outline: none !important;
}

.yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col2 {
    width: 100%;
    display: flex;
    justify-content: center;
}

.yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col1,
.yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col3 {
    width: 80px;
    position: relative;
}

.yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col1 p{
    margin-top: 20px;
}

.yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col1 p,
.yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col1 div,
.yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col3 div{
    text-align: center;
    color: #fff;
}

.yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col3 div:first-child svg{
    transform: scale(1.5);
    margin-top: 20px;
}

.yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col1 svg,
.yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col3 div:last-child svg{
    transform: scale(3);
}

.yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col1 div svg,
.yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col3 div svg{
    opacity: 0.8;
    transition: all 0.3s ease;
}

.yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col1 div svg:hover,
.yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col3 div svg:hover{
    opacity: 1;
}

.yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col1 div,
.yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col3 div:last-child{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.yacht-image-fullscreen .yacht-fullscreen-wrapper .wd-icon svg{
    cursor: pointer;
}

.yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col2 img {
    max-width: 100%;
    max-height: 100vh;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media screen and (max-width: 1700px) {
    .yatch-image-wrapper .yatch-image{
        height: 610px;
    }
      
    .yatch-image-wrapper .yatch-image:nth-child(2), .yatch-image-wrapper .yatch-image:nth-child(3){
        height: 300px;
    }
}

@media screen and (max-width: 1500px) {
    .yatch-image-wrapper .yatch-image{
        height: 510px;
    }

    .yatch-image-wrapper .yatch-image:nth-child(2), .yatch-image-wrapper .yatch-image:nth-child(3){
    		height: 250px;
    }
}

@media screen and (max-width: 1300px) {
    .yatch-image-wrapper .yatch-image{
        height: 410px;
    }

    .yatch-image-wrapper .yatch-image:nth-child(2), .yatch-image-wrapper .yatch-image:nth-child(3){
        height: 200px;
    }
}

@media screen and (max-width: 1100px) {
    .yatch-image-wrapper{
        display: block;
    }

    .yatch-image-wrapper .yatch-image:nth-child(2), .yatch-image-wrapper .yatch-image:nth-child(3){
				display:none;
    }
}

@media screen and (max-width: 800px){
    .yatch-image-wrapper .yatch-image 			{
        height: 360px;
    }

    .yatch-image-wrapper iframe.slidenum1.hero-video-iframe.hero-video-iframe--vimeo.loaded{
        height: 700px;
        width: 1300px;
        margin-left: -50vw;
        margin-top: -30vw;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transform: none;
    }

    .yacht-image-fullscreen .yacht-fullscreen-wrapper{
		display: grid;
        grid-template-areas:
        "info middle close"
        "image image image"
        "prev . next";
        grid-template-columns: 1fr auto 1fr;
        grid-template-rows: 60px 400px auto !important;
        height: 100%;
        align-content: flex-start !important;
	}

    .current-slide {
        height: auto !important;
    }
	
	.yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col2{
		grid-area: image;
	}
	
	.yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col2 img{
		max-height: 450px;
		object-fit: cover;
    overflow: hidden;
		width: 100%;
	}
	
	.yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col1, .yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col3{
		display: contents;
	}
	
	.yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col1 p,
.yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col3 div:first-child svg{
		margin: 20px;
	}
	
	.yacht-fullscreen-col3{
		flex-direction: row-reverse;
	}
	
	.yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col1 div, .yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col3 div:last-child{
		position: static;
		transform: none;
		padding: 30px;
		margin-bottom: 10px;
	}
	
	.yacht-fullscreen-col1 p{
		grid-area: info;
	}
	
	.yacht-fullscreen-col1 .prev-slide{
		grid-area: prev;
	}

	.yacht-fullscreen-col3 .close-fullscreen{
		    grid-area: close;
	} 
	.yacht-fullscreen-col3 .next-slide{
		grid-area: next;
	}
	
	.yacht-image-fullscreen .yacht-fullscreen-wrapper .yacht-fullscreen-col1 p{
		text-align: left;
	}
	.yacht-fullscreen-col3 .close-fullscreen{
		text-align: right !important;
	}

    .yatch-image-wrapper iframe.slidenum1.hero-video-iframe.hero-video-iframe--vimeo.loaded{
        margin-top: -50vw;
    }
}

@media screen and (max-width: 700px){
		.yatch-image-wrapper .yatch-image 			{
        height: 300px;
    }
	
	
}

@media screen and (max-width: 600px){
    .yacht-image-fullscreen .yacht-fullscreen-wrapper{
        grid-template-rows: 60px 350px auto !important;
    }
}

@media screen and (max-width: 550px){
    .yacht-image-fullscreen .yacht-fullscreen-wrapper{
        grid-template-rows: 60px 300px auto !important;
    }
}

.current-slide {
    position: relative;
    height: auto;
    overflow: hidden;
    width: 100%;
    padding-bottom: 56.25%;
    height: auto;
}

.current-slide iframe{
    border: none;
}


button.open-gallery{
    display: flex;
    border: none;
    width: auto;
    white-space: nowrap;
    align-items: center;
    gap: 15px;
    background: color-mix(in srgb, var(--dark), transparent 60%);
    color: var(--light);
    padding: 20px;
    border-radius: 5px;
    cursor: pointer;
}

/* Kontakt os */
.kontakt-os-sektion > div {
    width: 100% !important;
    max-width: unset !important;
}
.kontakt-os-banner-wrapper > div {
    margin: 0;
    width: 100%;
    padding: 0;
    max-width: unset;
}
.kontakt-os-banner {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    padding: 4rem;
    border-radius: var(--medium-border-radius);
}
.kontakt-os-banner > img {
    border-radius: var(--medium-border-radius);
}
.banner-header {
    display: none;
}

.mobile-header{
    margin-bottom: 20px;
}

@media screen and (min-width: 769px) {
    .mobile-header {
        display: none !important;    
    }
    .banner-header {
        display: block;
        margin-left: 0 !important;
    }
    .banner-header > div > p {
        max-width: 650px;
    }
}

/* Kontakt knapper */
.contact-icon > div {
    width: 45px;
}
@media screen and (max-width: 1000px) {
    .icon-contact-column {
        flex-direction: column;   
        align-items: flex-start;
    }
    .icon-contact-column .wp-block-spacer {
        display: none;
    }
    .contact-icon {
        padding-left: 0;
    }
    .icon-text-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media screen and (max-width: 1300px) {
    .contact-icon {
        padding-right: 20px;
    }
}

/*FAQ wrapper*/
.faq-wrapper {
    max-width: unset !important;
    width: 100%;
}

/*WD Cards*/
.wd-cards {
    gap: 70px 40.5px;
}
@media screen and (max-width: 1560px) {
    .wd-cards {
        grid-template-columns: repeat(var(--tablet-columns), 1fr);
    }
}
@media screen and (max-width: 1020px) {
    .wd-cards {
        grid-template-columns: repeat(var(--mobile-columns), 1fr);
    }
    .cards-blok {
        margin-left: 0 !important;
    }
}

.wd-card {
    background-color: unset;
    box-shadow: none;
}
.wd-card-image-wrapper {
    aspect-ratio: var(--wd-cards-aspect-ratio);
    min-height: 306px;
}
.wd-card-image {
    height: 100%;
    min-height: 306px;
    border-radius: var(--medium-border-radius);
}

/*WD cards info*/
.wd-card-yacht-info {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
}

.wd-card-content-wrapper {
    padding: 20px 0 0;
}

.wd-card-title, .wd-card-pris {
    font-size: 19px !important;
}

h2.wd-card-title {
    display: grid;
    grid-template-columns: auto auto;
    align-items: baseline;
    gap: 4px;
}

.title-row {
    flex-basis: unset;
}

.wd-card-aar {
    font-size: 12px;
    opacity: 60%;
}

.wd-card-lokation {
    font-size: 15px;
}

a.wd-card.wd-card-post .wd-card-image-wrapper, 
a.wd-card.wd-card-post .wd-card-image {
    min-height: auto;
    height: auto;
}

@media screen and (max-width: 425px) {
    .wd-card-image-wrapper {
        aspect-ratio: unset;
        overflow: auto;
    }

    a.wd-card.wd-card-post {
        width: 100%;
    }

    .wd-card-image,
    .wd-card-content-wrapper {
        width: 100%;
    }

    .wd-card-yacht-info {
        gap: .5rem;
    }

    .wd-card-title, .wd-card-pris{
        font-size: 18px !important;
    }

    .wd-card-lokation {
        font-size: 14px;
    }

    .wd-card-aar {
        font-size: 12px;
    }
}

/*WD cards scroller*/
.wd-cards-scroller {
    gap: 36px 14rem;
}
.wd-cards-scroller,
.wd-cards-scroller > .wd-card {
    width: 517px;
}


@media screen and (max-width: 768px) {
    /*WD cards with scroller*/
    .wda-controls:not(.wd-cards-text .wda-controls) {
        position: relative;
        justify-content: space-between;
        transform: unset;
        order: 3;
        top: -23px;
    }

    .wda-controls-btn--next, .wda-controls-btn--previous {
        transform: translateX(0);
    }

    .wd-cards-scroller {
        gap: 36px 2rem;
    }
}
@media screen and (min-width: 426px) and (max-width: 768px) {
    .wd-cards-scroller {
        gap: 36px 14rem;
    }
}

/*text-cards-scroller*/
.text-cards-scroller .wd-cards-scroller,
.text-cards-scroller .wd-cards-scroller > .wd-card {
    width: 100%;
}
.wd-cards-text .wd-cards-wrapper {
    padding: 65px 50px;
    min-height: 609px;
}
.wd-cards-text .wda-controls {
    width: fit-content;
    gap: 1rem;
    bottom: 30px;
    left: 50px;
    top: unset;
    right: unset;
    transform: unset;
}
.wd-cards-text .wda-controls-btn {
    transform: unset;
    background-color: #4c4c4c;
    border: none;
}
.wd-cards-text .wda-controls-btn:hover {
    background-color: var(--light);
}
.wd-cards-text .wda-pagination {
    display: none;
}
.text-cards-scroller .wd-card-title {
    font-size: 80px;
}

/*wd-anmeldelser*/
.wd-anmeldelser .wda-stars,
.wd-anmeldelser .wda-provider {
    display: none;
}
.wd-anmeldelser .wda-name {
    text-align: center !important;
    margin-top: 60px !important;
    font-weight: 400 !important;
    font-size: 25px;
}
.wd-anmeldelser .wda-slides,
.wd-anmeldelser .wda-controls,
.wd-anmeldelser .wda-pagination {
    /*width: calc(100vw - 270px);*/
}
@media screen and (min-width: 601px) and (max-width: 768px) {
    .wd-anmeldelser .wda-slides,
    .wd-anmeldelser .wda-controls,
    .wd-anmeldelser .wda-pagination {
        /*width: calc(100vw - 128px);*/
    }
}
@media screen and (max-width: 600px) {
    .wd-anmeldelser .wda-slides,
    .wd-anmeldelser .wda-controls,
    .wd-anmeldelser .wda-pagination {
        /*width: calc(100vw - 40px);*/
    }
}

.wd-anmeldelser .wda-slider {
    margin: 0;
    max-width: unset;
}
.wd-anmeldelser .wda-slide {
    background-color: var(--ratings-background-color);
    color: var(--light);
    font-size: 25px;
    line-height: normal;
    font-weight: 400;
    padding: 150px 40px 50px;
    text-align: center;
}
.wd-anmeldelser .wda-slide::before {
    content: url(/wp-content/uploads/quote.png);
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}
.wd-anmeldelser .wda-marker-current {
    background-color: var(--dark);
}





/*Iframe*/
.hero-section.hero-section-type-video {
    min-height: unset;
    height: 38.25vw;
    max-height: calc(95vh - 100px);
}

iframe.hero-video-iframe {
    top: 40%;
}

@media screen and (max-width: 900px) {
    body:not(.single-yacht) iframe.hero-video-iframe{
        height: 700px;
        width: 1300px;
        margin-left: -50vw;
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transform: none;
    }
    .hero-section.hero-section-type-video{
        height: 650px;
    }
}

@media screen and (max-width: 600px) {
    body.home iframe.hero-video-iframe{
        margin-left: -70vw;
        height: 725px;
        width: 1325px;
    }
    .hero-section.hero-section-type-video{
        height: 600px;
    }
}

@media screen and (max-width: 550px) {
    body.home iframe.hero-video-iframe{
        margin-left: -80vw;
    }
}

@media screen and (max-width: 500px) {
    body.home iframe.hero-video-iframe{
        margin-left: -90vw;
    }
}

@media screen and (max-width: 475px) {
    body.home iframe.hero-video-iframe{
        margin-left: -95vw;
    }
}

@media screen and (max-width: 425px) {
    body.home iframe.hero-video-iframe{
        margin-left: -100vw;
    }
}

@media screen and (max-width: 400px) {
    body.home iframe.hero-video-iframe{
        margin-left: -117vw;
    }
}

@media screen and (max-width: 385px) {
    body.home iframe.hero-video-iframe{
        margin-left: -125vw;
    }
}

@media screen and (max-width: 375px) {
    body.home iframe.hero-video-iframe{
        margin-left: -130vw;
    }
}

@media screen and (max-width: 360px) {
    body.home iframe.hero-video-iframe{
        margin-left: -135vw;
    }
}

/* Video placeholder */

.hero-section-video-placeholer{
    width: 100%;
    position: absolute;
    background-color: var(--dark);
    background-image: var(--placeholder-img);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -1;
    pointer-events: none;
}

/*Extra css*/

#trp_ald_modal_container{
	display: none;
}

.nav-company-logo svg {
    margin: 0 auto;
}

.pull-nav .main-menu{
	position: relative
}


/* Container for language switcher */
body .trp-language-switcher{
    height: 42px;
    position: relative;
    box-sizing: border-box;
    width: 145px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Style the container for language switcher items */
body .main-menu .danish-menu.trp-language-switcher-container {
    display: flex;
    align-items: center;
    margin-right: 5px;
    padding: 2px 5px;
    border-radius: 6px;
    background-color: #f4f4f4;
    box-shadow: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

body .main-menu .trp-language-switcher-container a {
	width: fit-content;
	padding: 0.35rem 0.5rem;
	border: none;
}

/* Style the current active language switcher */
body .main-menu .trp-language-switcher-container.current-language-menu-item a {
    background-color: #fff;
	border-radius: 5px;
    font-weight: 800;
/*  border: 2px solid #fff; */
}

/* Style the anchor tag inside the language switcher */
body .main-menu .trp-language-switcher-container a {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 300;
    color: #333;
}

/* Style the flag images inside the switcher */
body .main-menu .trp-flag-image {
    margin-left: 8px;
    border-radius: 3px;
    width: 20px;
    height: 15px;
    display: none;
}

/* Style for Danish flag item */
body .main-menu .trp-language-switcher.danish-menu a span::before {
    content: 'DA';
    margin-right: 5px;
    font-size: 14px;
    color: #333;
}

body .main-menu .trp-language-switcher.english-menu{
	position: absolute;
    top: 6px;
    right: -51px;
}

/* Style for English flag item */
body .main-menu .trp-language-switcher.english-menu a span::before {
    content: 'EN';
    margin-right: 5px;
    font-size: 14px;
    color: #333;
}

/* Optional: Additional hover effects for anchor tags */
body .main-menu .trp-language-switcher-container a:hover {
	border-radius: 5px;
	background: transparent;
	box-shadow: none;
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}

/* new flag image */
.trp-language-switcher span{
    display: flex;
    align-items: center;
}

.trp-language-switcher span:after{
    content: "";
    display: block;
    height: 15px;
    width: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.trp-language-switcher span:has([title="Danish"]):after{
    background-image: url("data:image/svg+xml,%3Csvg width='28' height='20' viewBox='0 0 28 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_1498_4528)'%3E%3Crect x='0.832031' width='26.95' height='19.25' rx='3.85' fill='%23F93939'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.53203 11.55H0.832031V7.7H8.53203V0H12.382V7.7H27.782V11.55H12.382V19.25H8.53203V11.55Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_1498_4528'%3E%3Crect x='0.832031' width='26.95' height='19.25' rx='3.85' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}

.trp-language-switcher span:has([title="English"]):after{
    background-image: url("data:image/svg+xml,%3Csvg width='28' height='20' viewBox='0 0 28 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_1521_9747)'%3E%3Crect x='0.365234' width='26.95' height='19.25' rx='3.85' fill='%231A47B8'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.23217 0H0.365234V3.20833L24.4327 19.25H27.3152V16.0417L3.23217 0Z' fill='white'/%3E%3Cpath d='M1.32144 0L27.3152 17.3705V19.25H26.3814L0.365234 1.86155V0H1.32144Z' fill='%23F93939'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M24.7486 0H27.3152V3.20833C27.3152 3.20833 10.6445 13.896 2.9319 19.25H0.365234V16.0417L24.7486 0Z' fill='white'/%3E%3Cpath d='M27.3152 0H26.4448L0.365234 17.3854V19.25H1.32144L27.3152 1.87561V0Z' fill='%23F93939'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10.1662 0H17.5367V5.93775H27.3152V13.3083H17.5367V19.25H10.1662V13.3083H0.365234V5.93775H10.1662V0Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.7126 0H15.9679V7.40385H27.3152V11.8462H15.9679V19.25H11.7126V11.8462H0.365234V7.40385H11.7126V0Z' fill='%23F93939'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_1521_9747'%3E%3Crect x='0.365234' width='26.95' height='19.25' rx='3.85' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}

/*Simon css*/
:root{
    --yacht-page-width: 1638px;
}
.yacht-carousel {
    position: relative;
    width: var(--yacht-page-width);
    max-width: 100%;
    margin: 100px auto 0;
}

.yacht-carousel-slides{
    display: flex;
    height: 500px;
}

.yacht-carousel-slide{
    border-radius: 10px;
    width: 0;
    transition: width 300ms ease-in-out;
}

.yacht-carousel-slide.yacht-carousel-slide--active{
    display: block;
    background-image: var(--slide-image);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 90%;
    margin-left: 20px;
    margin-right: 20px;
}

.yacht-carousel-slide.yacht-carousel-slide--active:first-child:last-child {
    width: 100%;
}

.yacht-carousel:has(.yacht-carousel-slide.yacht-carousel-slide--active:first-child:last-child) .yacht-carousel-overlay{
    display: none;
}

.yacht-carousel-slide.yacht-carousel-slide--active:first-child{
    margin-left: 0;
}

.yacht-carousel-slide.yacht-carousel-slide--active:last-child{
    margin-right: 0;
}

.yacht-carousel-slide.yacht-carousel-slide--previous,
.yacht-carousel-slide.yacht-carousel-slide--next{
    display: block;
    background-image: var(--slide-image);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    cursor: pointer;
    width: 25%;
}
.yacht-carousel-slide.yacht-carousel-slide--previous{
    width: 10%;
}

.yacht-carousel-slide:has( + .yacht-carousel-slide.yacht-carousel-slide--previous){
    background-image: var(--slide-image);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin-right: 0;
}

.yacht-carousel-slide.yacht-carousel-slide--next + .yacht-carousel-slide{
    background-image: var(--slide-image);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin-left: 0;
}

.yacht-carousel-controls{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    gap: 50%;
}

.yacht-carousel-control{
    width: 100%;
}

.yacht-carousel:has(.yacht-carousel-slide.yacht-carousel-slide--previous) .yacht-carousel-control--previous,
.yacht-carousel:has(.yacht-carousel-slide.yacht-carousel-slide--next) .yacht-carousel-control--next{
    cursor: pointer;
}

.yacht-carousel:has(.yacht-carousel-control--next:hover) .yacht-carousel-slide.yacht-carousel-slide--next{
    width: 35%;
}
.yacht-carousel:has(.yacht-carousel-control--previous:hover) .yacht-carousel-slide.yacht-carousel-slide--previous{
    width: 15%;
}

button.open-gallery{
    display: flex;
    border: none;
    width: auto;
    white-space: nowrap;
    align-items: center;
    gap: 15px;
    background: color-mix(in srgb, var(--dark), transparent 60%);
    color: var(--light);
    padding: 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    transition: background-color var(--standard-transition);
}

button.open-gallery:hover{
    background: color-mix(in srgb, var(--dark), transparent 20%);
    cursor: pointer;
}

.yacht-carousel-overlay {
    display: none; /*midlertidig*/
    position: absolute;
    bottom: 30px;
    right: 50px;
}

/*yacht content*/

div.yacht{
    width: var(--yacht-page-width);
    max-width: 100%;
    margin: 100px auto;
    display: grid;
    gap: 120px;
    grid-template-columns: 7fr 4fr;
}

.yacht-article p {
    white-space: pre-wrap;
}

article.yacht-article {
    margin-bottom: 70px;
}

.yacht-article :is(h1, h2, h3, h4, h5, h6):not(:first-child) {
    margin-top: 20px;
  }

.yacht-info-title {
    display: flex;
    gap: 1vh;
    align-items: baseline;
    letter-spacing: 1.41px;
    margin-bottom: 40px;
}

.yacht-info-name {
    font-size: 45px;
    font-weight: 600;
}

.yacht-info-year{
    font-size: 18px;
}

.yacht-info-availibility {
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.yacht-quick-facts {
    display: grid;
    gap: 23px;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}

.yacht-quick-fact {
    padding: 20px 15px;
    background: var(--surface-color);
    border-radius: 5px;
}

.yacht-quick-fact-title {
    font-size: 15px;
    line-height: 19px;
}

.yacht-quick-fact-data {
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 1.41px;
}

ul.yacht-fact-sheet {
    border: 1px solid var(--separator);
    margin: 30px 0 60px;
    padding: 25px 20px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-radius: 5px;
}

ul.yacht-fact-sheet li {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 0;
    align-items: start;
}

.wd-icon.fact-sheet-icon {
    margin-right: 15px;
    width: 24px;
}

.yacht-fact-sheet-title {
    display: inline-block;
    margin-right: 8px;
    letter-spacing: 1px;
}

.yacht-fact-sheet-fact {
    display: inline-block;
    font-weight: 600;
}

.yacht-price-wrapper{
    margin: 0 0 40px;
}

.yacht-price-label{
    font-size: 20px;
    letter-spacing: 1px;
}

.yacht-price-label{
    font-size: 20px;
    letter-spacing: 1px;
}

.yacht-price-amount{
    font-size: 25px;
}

a.yacht-broker-btn {
    font-size: 20px;
    padding: 18px;
    text-decoration: none;
    color: var(--background-color) !important;
    background: var(--text-color);
    display: block;
    text-align: center;
    border-radius: 5px;
    transition: background-color var(--standard-transition);
}

a.yacht-broker-btn:hover {
    text-decoration: none;
    background-color: var(--text-color-hover);
}

@media screen and (max-width: 1300px){
    .yacht-carousel-slides{
        height: 450px;
    }

    div.yacht{
        width: 100%;
        gap: 60px;
        display: flex;
        flex-direction: column-reverse;
    }

    .yacht-carousel-slide.yacht-carousel-slide--active{
        margin-left: 15px;
        margin-right: 15px;
    }

    .yacht-carousel-slide.yacht-carousel-slide--previous{
        width: 5%;
    }

    .yacht-carousel-slide.yacht-carousel-slide--next{
        width: 15%;
    }
}

/*
    Nav
*/

aside.nav-rail {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100vh;
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    justify-content: center;
    z-index: 999;
    background: var(--background-color);
    width: 70px;
    align-items: center;
    padding: 48px 0 32px;
    border-right: 1px solid var(--separator);
    transition: all linear 700ms 400ms;
    transform: translateX(-70px);
}

body.loaded aside.nav-rail {
    transform: translateX(0px);
}

aside.nav-rail *{
    user-select: none;
}

nav.fab-nav{
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

nav.fab-nav svg{
    width: 33px;
    height: 33px;
}

nav.fab-nav button.open-nav{
    display: block;
    position: relative;
    width: 100%;
    height: 33px;
    width: 33px;
    cursor: pointer;
}
.open-nav .line{
    position: absolute;
    top: 50%;
    left: 0;
    height: 3px;
    border-radius: 3px;
    width: 100%;
    background-color: var(--text-color);
    transition: all var(--standard-transition);
    transform: translateY(-10px);
}
.open-nav .line.line--two{
    width: 80%;
    transform: translateY(3px);
}

.nav-rail.open .open-nav .line.line--one {
    transform: rotate(45deg);
}

.nav-rail.open .open-nav .line.line--two{
    width: 100%;
    transform: rotate(-45deg);
}

nav.fab-nav button {
    appearance: none;
    border: none;
    background: transparent;
    text-align: center;
    display: block;
    color: var(--text-color);
}

.theme-toggle-button {
    appearance: none;
    border: none;
    background: transparent;
    text-align: center;
    display: block;
    position: relative;
    bottom: initial;
    left: initial;
    z-index: initial;
    background-color: transparent;
    border-radius: 0;
    width: auto;
    height: auto;
    box-shadow: none;
    cursor: pointer;
    transition: background-color var(--standard-transition), box-shadow var(--standard-transition);
}

.theme-toggle-button:hover {
    background-color: transparent;
    box-shadow: none;
}

.fav-logo {
    align-self: end;
}

body:not(:has(.header-topper)) {
    padding-top: 0;
}

body:has(.entry-content > .fullscreen-banner-image:first-child) aside.nav-rail:not(.nav-rail--scrolled):not(.open) {
    background: transparent;
    border-color: transparent;
}

body.light-mode:has(.entry-content > .fullscreen-banner-image:first-child) aside.nav-rail:not(.nav-rail--scrolled):not(.open){
    filter: invert(1);
}

nav.pull-nav {
    position: fixed;
    background: var(--background-color);
    left: 70px;
    top: 0;
    bottom: 0;
    z-index: 99;
    opacity: 0;
    transform: translateX(-100%);
    transition: all var(--standard-transition);
    border-right: 1px solid var(--separator);
    padding: 134px 90px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav-rail:not(.open) + nav.pull-nav {
    pointer-events: none;
}
/*
.nav-rail.open + nav.pull-nav {
    opacity: 1;
    transform: translateX(0%);
}
*/

body:has(.nav-rail.open) nav.pull-nav{
    opacity: 1;
    transform: translateX(0%);
}

.pull-nav .main-menu {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.pull-nav .main-menu,
.pull-nav .main-menu li{
    list-style: none;
    margin: 0;
    padding: 0;
}

.pull-nav .main-menu a{
    text-decoration: none;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: bold;
    color: var(--text-color);
    transition: color var(--standard-transition);
}

.pull-nav .main-menu a:hover{
    color: var(--text-color-hover);
}

ul.some-nav {
    list-style: none;
    display: flex;
    margin: 0;
    gap: 26px;
}

ul.some-nav a{
    color: var(--text-color);
}

ul.some-nav a:hover{
    color: var(--text-color-hover);
}

ul.some-nav li{
    margin: 0;
}

.nav-company-logo svg{
    display: block;
    max-height: 20vh;
}

.nav-company-logo-mobil{
    display: none;
}

@media screen and (max-width: 600px)  {
    aside.nav-rail {
        display: block;
        bottom: auto;
        right: 0;
        padding: 20px;
        height: auto;
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid var(--separator);
    }

    aside.nav-rail .theme-toggle-button,
    aside.nav-rail .fav-logo {
        display: none;
    }

    nav.fab-nav {
        flex-direction: row;
        gap: unset;
        justify-content: space-between;
    }

    .nav-logo{
        position: absolute;
        transform: translateX(-50%);
        left: 50%;
        top: 8px;
        transform-origin: left;
    }

    nav.fab-nav svg {
        width: 25px;
        height: 25px;
    }

    nav.fab-nav button.open-nav {
        height: 25px;
    }

    nav.pull-nav{
        left: 0;
        max-height: 100vh;
        overflow-y: auto;
        gap: 40px;
    }

    .nav-company-logo-mobil{
        display: block;
    }

    .nav-company-logo-mobil svg{
        max-width: 50vw;
    }

    .nav-company-logo{
        display: none;
    }
    
}

/**/
*[style*="--custom-max-width"]{
    max-width: var(--custom-max-width)!important;
}

/* forbedret farvestyrring*/

.wp-block-button[style*=font-weight] .wp-block-button__link{
    font-weight: inherit;
}
 
.wp-block-button[style*=font-size] .wp-block-button__link{
    font-size: inherit;
}
 
.wp-block-button[style*=text-transform] .wp-block-button__link{
    text-transform: inherit;
}
 
.wp-block-button[style*=font-style] .wp-block-button__link{
    font-style: inherit;
}

root{
    --btn-color: var(--secondary-color);
}
 
.has-accent-color-background-color {
    --btn-color: var(--accent-color);
    --btn-color-hover: var(--accent-color-hover);
    background-color: var(--accent-color);
}

.has-primary-color-background-color {
    --btn-color: var(--primary-color);
    --btn-color-hover: var(--primary-color-hover);
    background-color: var(--primary-color);
}
 
.has-secondary-color-background-color {
    --btn-color: var(--secondary-color);
    --btn-color-hover: var(--secondary-color-hover);
    background-color: var(--secondary-color);
}

.has-background-color-background-color {
    --btn-color: var(--background-color);
    --btn-color-hover: var(--background-color-hover);
    background-color: var(--background-color);
}

.has-surface-color-background-color {
    --btn-color: var(--surface-color);
    --btn-color-hover: var(--surface-color-hover);
    background-color: var(--surface-color);
}
.has-text-color-background-color {
    --btn-color: var(--text-color);
    --btn-color-hover: var(--text-color-hover);
    background-color: var(--text-color);
}
.has-light-background-color {
    --btn-color: var(--light-color);
    --btn-color-hover: var(--light-hover);
    background-color: var(--light);
}
.has-dark-background-color {
    --btn-color: var(--dark-color);
    --btn-color-hover: var(--dark-hover);
    background-color: var(--dark);
}

.has-separator-background-color {
    --btn-color: var(--separator-color);
    --btn-color-hover: var(--separator-hover);
    background-color: var(--separator);
}

.has-accent-color-color {
    --btn-text-color: var(--accent-color);
    --btn-text-color-hover: var(--accent-color-hover);
    color: var(--accent-color);
}

.has-primary-color-color {
    --btn-text-color: var(--primary-color);
    --btn-text-color-hover: var(--primary-color-hover);
    color: var(--primary-color);
}

.has-secondary-color-color {
    --btn-text-color: var(--secondary-color);
    --btn-text-color-hover: var(--secondary-color-hover);
    color: var(--secondary-color);
}

.has-background-color-color {
    --btn-text-color: var(--background-color);
    --btn-text-color-hover: var(--background-color-hover);
    color: var(--background-color);
}

.has-surface-color-color {
    --btn-text-color: var(--surface-color);
    --btn-text-color-hover: var(--surface-color-hover);
    color: var(--surface-color);
}
.has-text-color-color {
    --btn-text-color: var(--text-color);
    --btn-text-color-hover: var(--text-color-hover);
    color: var(--text-color);
}
.has-light-color {
    --btn-text-color: var(--light);
    --btn-text-color-hover: var(--light-hover);
    color: var(--light);
}
.has-dark-color {
    --btn-text-color: var(--dark);
    --btn-text-color-hover: var(--dark-hover);
    color: var(--dark);
}

.has-separator-color {
    --btn-text-color: var(--separator);
    --btn-text-color-hover: var(--separator-hover);
    color: var(--separator);
}
 
.wp-block-button .wp-block-button__link,
.btn,
.wpcf7 .kontaktform-rows .kontaktform-form-row input.wpcf7-submit{
    background-color: var(--btn-color, --secondary-color);
    color: var(--btn-text-color, #fff);
    min-width: 160px;
    font-size: 16px !important;
    padding: 15px 25px;
    height: auto;
}

.wp-block-button.round-headline-button .wp-block-button__link,
.btn.round-headline-button{
    width: 100%;
    min-width: unset;
    aspect-ratio: 1 / 1;
}
 
.wp-block-button .wp-block-button__link:hover,
.btn:hover,
.wpcf7 .kontaktform-rows .kontaktform-form-row input.wpcf7-submit:hover{
    background-color: var(--btn-color-hover, --secondary-color-hover);
}

h2.wp-block-heading {
    font-size: var(--standard-font-size);
}

.wp-block-heading {
    margin-bottom: 0;
}

.wd-card-pris {
    white-space: nowrap;
}


/*additional info*/


.yacht-article-tabs-wrapper {
    margin-bottom: 90px;
}

.yacht-article-tab {
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--separator);
}

.yacht-article-tab-headline {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    text-transform: uppercase;
    user-select: none;
    cursor: pointer;
}

.yacht-article-tab-content {
    display: none;
    margin-top: 20px;
}

.yacht-article-tab.yacht-article-tab--expanded .yacht-article-tab-content {
    display: block;
}

.yacht-article-tab-expand-symbol{
    position: relative;
    display: block;
    place-items: center;
    width: 30px;
    height: 30px;
}

.yacht-tab-line{
    display: block;
    position: absolute;
    height: 3px;
    width: 24px;
    background-color: var(--text-color);
    top: 50%;
    left: 50%;
    border-radius: 3px;
    transform: translate(-50%, -50%);
    transition: opacity var(--standard-transition);
}

.yacht-tab-line.yacht-tab-line--horizontal {
    transform: translate(-50%, -50%) rotate(90deg);
}

.yacht-article-tab.yacht-article-tab--expanded .yacht-tab-line.yacht-tab-line--horizontal{
    opacity: 0;
}

.yacht-article-tab-item span:first-child{
    display: inline-block;
    font-weight: bold;
    margin-right: 4px;
}

.yacht-article-tab-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 8px 4px;
    border-bottom: 1px solid color-mix(in srgb, var(--separator), transparent);
    transition: background-color var(--standard-transition);
}

.yacht-article-tab-item:hover {
    background-color: var(--surface-color-faded);
}

label.yacht-article-content-group-label {
    display: inline-block;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.yacht-article-content-group + .yacht-article-content-group {
    margin-top: 40px;
}

.yacht-article-tab-subfield-group {
    margin-bottom: 16px;
}

.yacht-article-tab-subfield-group {
    margin-bottom: 16px;
}

.yacht-article-tab-subfield-group .yacht-article-tab-item {
    padding-left: 16px;
}

label.yacht-article-content-group-label.yacht-article-content-group-label--sub-label {
    margin-top: 16px;
    margin-left: 8px;
}

ul.yacht-fact-sheet li.yacht-fact--no-icon {
    padding-left: 39px;
}


/* FONTSTYRRING  */

:root{
    --font-size-h1-small: 25px;
    --line-height-h1-small: 25px;
    --font-size-h1-medium: 40px;
    --line-height-h1-medium: 40px;
    --font-size-h1-large: 40px;
    --line-height-h1-large: 40px;
    --font-size-h1-x-large: 55px;
    --line-height-h1-x-large: 50px;

    --font-size-h2-small: var(--font-size-h1-small);
    --line-height-h2-small: var(--line-height-h1-small);
    --font-size-h2-medium: var(--font-size-h1-medium);
    --line-height-h2-medium: var(--line-height-h1-medium);
    --font-size-h2-large: var(--font-size-h1-large);
    --line-height-h2-large: var(--line-height-h1-large);
    --font-size-h2-x-large: var(--font-size-h1-x-large);
    --line-height-h2-x-large: var(--line-height-h1-x-large);
    
    --font-size-p-small: 12px;
    --line-height-p-small: 10px;
    --font-size-p-medium: 16px;
    --line-height-p-medium: 20px;
    --font-size-p-large: 18px;
    --line-height-p-large: 22px;
    --font-size-p-x-large: 25px;
    --line-height-p-x-large: 28px;



    --huge-font-size: var(--font-size-h1-x-large);
    --huge-font-line-height: var(--line-height-h1-x-large);
    --large-font-size: var(--font-size-h1-large);
    --large-font-line-height: var(--line-height-h1-large);
    --standard-font-size: var(--font-size-h1-medium);
    --standard-font-line-height: var(--line-height-h1-medium);
    --small-font-size: var(--font-size-h1-small);
    --small-font-line-height: var(--line-height-h1-small);
}

@media screen and (min-width: 600px) {
    :root{
        --font-size-h1-small: 25px;
        --line-height-h1-small: 30px;
        --font-size-h1-medium: 55px;
        --line-height-h1-medium: 55px;
        --font-size-h1-large: 100px;
        --line-height-h1-large: 90px;
        --font-size-h1-x-large: 100px;
        --line-height-h1-x-large: 100px;

        --font-size-h2-small: var(--font-size-h1-small);
        --line-height-h2-small: var(--line-height-h1-small);
        --font-size-h2-medium: var(--font-size-h1-medium);
        --line-height-h2-medium: var(--line-height-h1-medium);
        --font-size-h2-large: 60px;
        --line-height-h2-large: 65px;
        --font-size-h2-x-large: var(--font-size-h1-x-large);
        --line-height-h2-x-large: var(--line-height-h1-x-large);
        
        --font-size-p-small: 17px;
        --line-height-p-small: normal;
        --font-size-p-medium: 16px;
        --line-height-p-medium: 20px;
        --font-size-p-large: 20px;
        --line-height-p-large: 25px;
        --font-size-p-x-large: 40px;
        --line-height-p-x-large: 46px;



        --huge-font-size: var(--font-size-h1-x-large);
        --huge-font-line-height: var(--line-height-h1-x-large);
        --large-font-size: var(--font-size-h1-large);
        --large-font-line-height: var(--line-height-h1-large);
        --standard-font-size: var(--font-size-h1-medium);
        --standard-font-line-height: var(--line-height-h1-medium);
        --small-font-size: var(--font-size-h1-small);
        --small-font-line-height: var(--line-height-h1-small);
    }
}



.has-small-font-size{
    font-size: var(--font-size-p-small)!important;
    line-height: var(--line-height-p-small)!important;
}

.has-medium-font-size{
    font-size: var(--font-size-p-medium)!important;
    line-height: var(--line-height-p-medium)!important;
}

.has-large-font-size{
    font-size: var(--font-size-p-large)!important;
    line-height: var(--line-height-p-large)!important;
}

.has-x-large-font-size{
    font-size: var(--font-size-p-x-large)!important;
    line-height: var(--line-height-p-x-large)!important;   
}

.has-small-font-size:is(h2,h3,h4,h5,h6){
    font-size: var(--font-size-h2-small)!important;
    line-height: var(--line-height-h2-small)!important;
}

.has-medium-font-size:is(h2,h3,h4,h5,h6){
    font-size: var(--font-size-h2-medium)!important;
    line-height: var(--line-height-h2-medium)!important;
}

.has-large-font-size:is(h2,h3,h4,h5,h6){
    font-size: var(--font-size-h2-large)!important;
    line-height: var(--line-height-h2-large)!important;
}

.has-x-large-font-size:is(h2,h3,h4,h5,h6){
    font-size: var(--font-size-h2-x-large)!important;
    line-height: var(--line-height-h2-x-large)!important;   
}

h1.has-small-font-size{
    font-size: var(--font-size-h1-small)!important;
    line-height: var(--line-height-h1-small)!important;
}

h1.has-medium-font-size{
    font-size: var(--font-size-h1-medium)!important;
    line-height: var(--line-height-h1-medium)!important;
}

h1.has-large-font-size{
    font-size: var(--font-size-h1-large)!important;
    line-height: var(--line-height-h1-large)!important;
}

h1.has-x-large-font-size{
    font-size: var(--font-size-h1-x-large)!important;
    line-height: var(--line-height-h1-x-large)!important;   
}

/*Custom padding*/

*[style*="--custom-margin-top"] { 
    margin-top: calc(var(--custom-margin-top) * 0.5);
}

*[style*="--custom-margin-right"] { 
    margin-right: calc(var(--custom-margin-right) * 0.5);
}

*[style*="--custom-margin-bottom"] { 
    margin-bottom: calc(var(--custom-margin-bottom) * 0.5);
}

*[style*="--custom-margin-left"] { 
    margin-left: calc(var(--custom-margin-left) * 0.5);
}

*[style*="--custom-padding-top"] { 
    padding-top: calc(var(--custom-padding-top) * 0.5);
    padding-top: max(20px, calc(var(--custom-padding-top)* 0.5));
}

*[style*="--custom-padding-right"] { 
    padding-right: calc(var(--custom-padding-right) * 0.5);
    padding-right: max(20px, calc(var(--custom-padding-right)* 0.5));
}

*[style*="--custom-padding-bottom"] { 
    padding-bottom: calc(var(--custom-padding-bottom) * 0.5);
    padding-bottom: max(20px, calc(var(--custom-padding-bottom)* 0.5));
}

*[style*="--custom-padding-left"] { 
    padding-left: calc(var(--custom-padding-left) * 0.5);
    padding-left: max(20px, calc(var(--custom-padding-left)* 0.5));
}

@media screen and (min-width: 950px) {
    *[style*="--custom-margin-top"] { margin-top: var(--custom-margin-top);}
    *[style*="--custom-margin-right"] { margin-right: var(--custom-margin-right)!important;}
    *[style*="--custom-margin-bottom"] { margin-bottom: var(--custom-margin-bottom);}
    *[style*="--custom-margin-left"] { margin-left: var(--custom-margin-left)!important;}

    *[style*="--custom-padding-top"] { padding-top: var(--custom-padding-top);}
    *[style*="--custom-padding-right"] { padding-right: var(--custom-padding-right);}
    *[style*="--custom-padding-bottom"] { padding-bottom: var(--custom-padding-bottom);}
    *[style*="--custom-padding-left"] { padding-left: var(--custom-padding-left);}
}

/*Kontakt formular*/
.form-wrapper {
    padding: 90px 0;
    border: none;
    border-radius: 20px;
    background-color: var(--surface-color);
}

.form-wrapper > * {
    max-width: 85% !important;
    margin: 0 auto;
}

.form-wrapper br {
    display: none;
}

.form-wrapper h2 {
    margin-bottom: 20px;
    font-size: 45px;
    font-style: normal;
    font-weight: 400 !important;
}

.form-wrapper > p {
    margin-bottom: 50px;
    font-size: 20px;
}

.form-wrapper form {
    border: none;
    box-shadow: none;
}

.form-wrapper form[data-status="init"] .wpcf7-not-valid-tip {
    display: none;
}

.form-wrapper ::placeholder {
    color: #6E6E6E;
    opacity: 1; /* Firefox */
}

.form-wrapper ::-ms-input-placeholder {
    color: #6E6E6E;
}

.form-wrapper .form-rows {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 20px;
}

.form-wrapper .form-rows-with-label{
    gap: 20px !important;
}

.form-wrapper .form-rows p {
    display: contents;
}

.form-wrapper input,
.form-wrapper textarea,
.form-wrapper select {
    width: 100%;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    height: 80px;
    color: #000;
    padding: 16px 28.8px !important;
}

.form-wrapper textarea {
    min-height: 170px;
    margin-bottom: 30px;
}

.form-wrapper select {
    appearance: none;
    padding: 20px;
    cursor: pointer;
    color: #6E6E6E;
}

option:first-child{
    color: #6E6E6E;
}

option:not(:first-of-type) {
    color: #000 ;
}

.form-wrapper span {
    width: 100%;
}

.form-wrapper label{
    width: 100%;
}

.form-wrapper textarea:focus, 
.form-wrapper input:focus,
.form-wrapper select:focus {
    outline: none !important;
}

.form-wrapper .wpcf7-submit {
    cursor: pointer;
    background-color: var(--ratings-background-color) !important;
    color: #fff;
    border-radius: 20px;
    width: 180px;
    height: 54px;
    transition: var(--standard-transition);
}

.form-wrapper .wpcf7-submit:hover {
    background-color: #125175 !important;
}

.form-wrapper .wpcf7-not-valid-tip {
    left: 30px;
}

.form-wrapper .wpcf7-response-output {
    width: 60% !important;
}

.form-wrapper .upload-overlay-wrapper {
    position: relative;
}

.form-wrapper .upload-overlay-wrapper .upload-overlay input {
    display: none;
}

.form-wrapper .upload-overlay-wrapper .upload-overlay label {
    width: 200px;
    position: absolute;
    bottom: 55px;
    right: 20px;
    border: 1px solid #6E6E6E;
    padding: 10px;
    border-radius: 20px;
    cursor: pointer;
    z-index: 1;
    display: flex;
    justify-content: center;
    color: var(--dark);
}

.form-wrapper .upload-overlay-wrapper .upload-overlay label span {
    display: none;
}

.form-wrapper .upload-overlay-wrapper .upload-overlay label img{
    height: 28px;
    margin-right: 8px;
}

.form-wrapper label .label-text {
    position: unset;
    display: block;
    margin-bottom: 20px;
}

.form-wrapper .image-notice {
    text-align: center;
    font-size: 16px;
    color: #6E6E6E;
    margin-bottom: 80px;
}

.form-wrapper .wpcf7 label:has(input:not(:placeholder-shown)) .label-text, .form-wrapper .wpcf7 label:has(textarea:not(:placeholder-shown)) .label-text, .form-wrapper .wpcf7 label:focus-within .label-text{
    transform: none !important;
    background: none !important;
}

.form-wrapper label br {
    display: none;
}

.form-wrapper .wpcf7-spinner{
    width: 24px !important;
}

.form-wrapper .label-select {
    position: relative;
}

.form-wrapper .label-select .label-text::after {
    content: "^";
    position: absolute;
    right: 30px;
    top: 50%;
    z-index: 1;
    transform: rotate(180deg);
    font-size: 26px;
}

.form-wrapper .center-submit {
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 1480px) {
    .form-wrapper .wp-block-columns {
        flex-direction: column;
    }
}

@media screen and (max-width: 750px) {
    .form-wrapper h2 {
        font-size: 45px !important;
    }
    .form-wrapper h2,
    .form-wrapper p {
        text-align: left;
    }
    .form-wrapper .form-rows {
        flex-wrap: wrap;
    }

    .form-wrapper .upload-overlay-wrapper .upload-overlay label {
        position: unset; 
        background-color: #fff; 
        margin: 0 auto; 
        margin-bottom: 30px;
    }
    
}

.wp-block-columns.stats-wrapper {
    justify-content: center;
}

.wp-block-columns.stats-wrapper .wp-block-column {
    justify-content: center;
}

.wp-block-columns.stats-wrapper .wp-block-column div.wp-block-group {
    margin: 0 auto;
}

/* WD kontakt formular styling */

.form-wrapper .wd-contact-form .wd-contact-form-inner {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    overflow: visible;
}

.form-wrapper .wd-contact-form input,
.form-wrapper .wd-contact-form textarea,
.form-wrapper .wd-contact-form select {
    width: 100%;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    height: 80px;
    color: #000;
    padding: 16px 28.8px !important;
}

.form-wrapper .wd-contact-form .wd-submit-btn {
    cursor: pointer;
    background-color: var(--ratings-background-color) !important;
    color: #fff;
    border-radius: 20px;
    width: 180px;
    height: 54px;
    transition: var(--standard-transition);
    margin: 0 auto;
}

.form-wrapper .wd-submit-btn:hover {
    background-color: #125175 !important;
}

.form-wrapper .upload-overlay-wrapper .upload-overlay input {
    display: none;
}

.form-wrapper .upload-overlay-wrapper .upload-overlay label span {
    display: none;
}

.form-wrapper .upload-overlay-wrapper .upload-overlay label img{
    height: 28px;
    margin-right: 8px;
    pointer-events: none;
}

.form-wrapper .wd-contact-form label:has(input:not(:placeholder-shown)) .label-text, .form-wrapper .wd-contact-form label:has(textarea:not(:placeholder-shown)) .label-text, .form-wrapper .wd-contact-form label:focus-within .label-text{
    transform: none !important;
    background: none !important;
}

.wd-contact-form label:has(:is(.wd-field-input, input, textarea, select):focus) span.label-text, .wd-contact-form label:has(:is(.wd-field-input, input, textarea, select):not(:placeholder-shown)) span.label-text {
    background: transparent;
}

.wd-contact-form label span.label-text {
    top: 27px;
    left: 23px;
    pointer-events: none;
}

.wd-contact-form label:has(:is(.wd-field-input, input, textarea, select):focus) span.label-text,
.wd-contact-form label:has(:is(.wd-field-input, input, textarea, select):not(:placeholder-shown)) span.label-text {
    left: 10px;
}

.wd-contact-form .file-upload-wrapper,
.wd-contact-form .wd-file-input-wrapper {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
}

.wd-contact-form .upload-overlay-wrapper .upload-overlay:has(img) .file-upload-wrapper:hover {
    background: transparent;
}

.wd-contact-form .file-upload-wrapper .wd-file-input-info {
    font-size: 16px;
    font-style: normal;
    color: var(--dark);
}

.form-wrapper .wd-contact-form .upload-overlay-wrapper .upload-overlay:has(img) label:hover,
.form-wrapper .wd-contact-form .file-input-wrapper .upload-overlay:has(img) label:hover {
    border-color: var(--primary-color, #0073e6);
    background: var(--background-color-hover, #f8f9fa);
}

.form-wrapper .center-submit {
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 750px) {
    
    .form-wrapper .wd-contact-form .kontaktform-rows {
        grid-template-columns: 1fr;
        display: grid;
    }
    
}

.wp-block-columns.stats-wrapper {
    justify-content: center;
}

.wp-block-columns.stats-wrapper .wp-block-column {
    justify-content: center;
}

.wp-block-columns.stats-wrapper .wp-block-column div.wp-block-group {
    margin: 0 auto;
}

/*Billede galleri v2*/

.current-slide {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0;
    background-color: #000;
    color: #ffffff;
}

.current-slide img {
    height: auto !important;
    max-height: 100% !important;
}

.yacht-fullscreen-col1 {
    position: absolute !important;
    left: 0;
    height: 100vh;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.8);
}

.yacht-fullscreen-col3 {
    position: absolute !important;
    right: 0;
    height: 100vh;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.8);
}

/*Sprogvælger*/

.trp_model_container {
    display: none !important;
}

.trp_model_container * {
    display: none !important;
}

#trp_no_text_popup_wrap {
    display: none !important;
}

#trp_no_text_popup_wrap * {
    display: none !important;
}

/*sticky-info*/

.sticky-info {
    position: sticky;
    top: 20px;
}

/*Form fix*/
.hidden-fields-container {
    display: none;
}

#Contact {
    scroll-margin-top: 50px !important;
}

/* Tema opdatering */

p strong {
    font-weight: bold;
}
/* Nav menu */

.nav-rail .fab-nav button.open-nav:hover {
    background: transparent;
}

/* Content */

.entry-content > :is(.wdf-width, .wp-block-cover) > *:not(.wp-block-cover__background, .wp-block-cover__image-background) {
    max-width: 100%;
}

.entry-content .wd-topsektion {
    margin-bottom: 100px;
}

.entry-content .wd-topsektion.topsektion-video-wrapper {
    min-height: 550px;
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: unset;
    height: 38.25vw;
    max-height: calc(95vh - 100px);
}

.wd-topsektion iframe.topsektion-video-iframe.topsektion-video-iframe--vimeo {
    width: 100vw;
    height: 100vw;
    display: block;
    max-width: unset;
    position: absolute;
    top: 50%;
    left: 50%;
    right: 0;
    bottom: 0;
    transform: translate(-50%, -50%);
}

body *:not(.post-inner) > .entry-content > *:first-child:not(.wd-topsektion) {
    margin-top: 100px;
}

/* WD Cards */

.wd-card-content-wrapper .wd-card-yacht-info .wd-card-lokation {
    margin-top: 0;
}

/* WD kontaktformular */

.wd-contact-form label p.file-status {
    color: var(--text-color);
}

/* Yachts */

.wd-cards .wd-card-content-wrapper .wd-card-yacht-info * {
    font-weight: 500;
}

.yacht-info-name {
    line-height: normal;
}

/* Footer */

footer.site-footer {
    margin-top: 100px;
}

footer.site-footer .footer-columns .footer-column .footer-item a,
footer.site-footer .footer-columns .footer-column .footer-item span,
footer.site-footer .footer-extra-rows .footer-extra-rows-policy p,
footer.site-footer .footer-extra-rows .footer-extra-rows-policy a {
    font-size: 18px;
}

footer.site-footer .footer-extra-rows .footer-extra-rows-policy a {
    text-decoration: underline;
}

/* Media queries */

@media screen and (min-width: 1001px) {
    #mainContent:has(.yacht-wrapper) {
        max-width: 90%;
        width: calc(1200px + 70px);
        margin: 100px auto;
        padding-left: 70px;
    }
}

@media screen and (max-width: 1400px) {
    .entry-content > * {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    #mainContent:has(.yacht-wrapper) > * {
        padding-left: 3rem;
    }
}


@media screen and (min-width: 1001px) and (max-width: 1400px) {
    .entry-content > :not(.wd-topsektion) {
        padding-left: 120px;
    }
}

@media screen and (min-width: 601px) and (max-width: 1000px) {
    .entry-content > :not(.wd-topsektion) {
        padding-left: 105px;
    }
}

@media screen and (min-width: 601px) and (max-width: 1000px) {
    #mainContent:has(.yacht-wrapper) {
        margin: 20px auto 0;
        max-width: 90%;
        padding-left: 70px;
    }
}

@media screen and (max-width: 900px) {

    .entry-content .wd-topsektion.topsektion-video-wrapper {
        height: 650px;
    }

    body:not(.single-yacht) .wd-topsektion iframe.topsektion-video-iframe.topsektion-video-iframe--vimeo {
        height: 700px;
        width: 1300px;
        margin-left: -50vw;
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transform: none;
    }
}

@media screen and (min-width: 769px) {

    footer.site-footer .footer-columns {
        display: grid;
        grid-template-columns: repeat(var(--num-footer-columns), 1fr);
        gap: var(--footer-gap);
        align-items: start;
    }

    footer.site-footer .footer-columns .footer-column {
        min-width: 100%;
    }

}

@media screen and (min-width: 600px) and (max-width: 1400px) {

    footer.site-footer .footer-inner {
        padding-left: 3rem;
    }
}

@media screen and (min-width: 600px) {

    footer.site-footer .footer-columns {
        flex-direction: column;
    }
}

@media screen and (max-width: 600px) {

    .entry-content > * {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    #mainContent:has(.yacht-wrapper) > * {
        padding-left: 1.5rem;
    }

    #mainContent:has(.yacht-wrapper) {
        margin: 80px 20px 0;
    }

    .entry-content .wd-topsektion.topsektion-video-wrapper {
        height: 600px;
    }

    .wd-topsektion iframe.topsektion-video-iframe.topsektion-video-iframe--vimeo {
        margin-left: -70vw;
        height: 725px;
        width: 1325px;
    }

    ul.wd-cards-filter-dropdown-list {
        gap: 5px;
    }

}

@media screen and (max-width: 400px) {
    .wd-cards-filter-dropdown-list label {
        padding: 15px 24px;
    }
}

@media screen and (max-width: 350px) {
    .wd-cards-filter-dropdown-list label {
        padding: 10px 15px;
    }
}