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

	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

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


body.dark-mode {
    --background-color: inherit;
    --text-color: inherit;
}

body.dark-mode a {
    color: var(--light);
}

strong {
    font-weight: bold;
}

.entry-content > div:last-of-type, .entry-content > *:last-child {
    padding-bottom: 200px !important;
}






.wp-block-button .wp-block-button__link, .btn, .wd-contact-form .wd-form-actions .wd-submit-btn, .button, button {
    padding: 13px 40px;
    border-radius: 4px;
    text-transform: uppercase;
}

.wp-block-buttons.is-layout-flex {
    gap: 10px 20px;
}










header.wd-header {
    box-shadow: none;
}

.header-topper-inner {
    padding: 0 var(--small-gap);
}

.main-header {
    position: relative;
	padding: 0 var(--small-gap);
}

.main-header * {
    transition: all .2s ease-in-out;
}

body.sometimes-burger.small-header .main-header-inner {
    --header-height: 60px;
}

.main-header-inner {
    z-index: 10;
    position: relative;
}

body.sometimes-burger .main-header-inner {
    width: var(--wide-width);
    margin: 0 auto;
    padding: 0;
	max-width: 100%;
}

.header-topper-item {
    display: inline-flex;
}

.header-topper-item:not(:first-of-type):before {
    content: '|';
    display: inline;
    padding-right: 20px;
	font-size: 14px;
}

.header-topper-item a {
    font-size: 14px;
}

.header-topper-item .wd-icon {
    top: 0px;
    width: 16px;
}

.main-header-menu .menu-item > a {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    white-space: normal;
    width: 100%;
    grid-template-columns: 1fr 24px;
    justify-content: flex-end;
}

.main-header-logo-link img {
    padding: 0;
    max-height: unset;
    height: 130px;
}

.main-header-menu .menu-item > a:focus, .main-header-menu .menu-item > a:active {
    background-color: var(--background-color-faded);
}

body.sometimes-burger.small-header .main-header-logo-link img {
    height: 90px;
}

@media screen and (min-width: 1190px) and (hover: hover) {
	ul.header-topper-items {
		margin: 0 auto;
		padding-right: 0;
		max-width: var(--wide-width);
	}
}

@media screen and (min-width: 600px) {
    .header-topper-items {
        justify-content: right;
    }
}










.wp-block-cover.wd-topsektion {
    z-index: 1;
}

.wd-topsektion .wp-block-heading {
    margin-bottom: 30px;
}

.wd-topsektion p.top-sektion-uppertekst {
    font-size: calc(var(--standard-text-font-size) - 2px);
}

.wd-topsektion p.top-sektion-broedtekst {
    font-size: calc(var(--standard-text-font-size) * 1.5);
	line-height: normal;
}











.sv-usp .wd-usp-container {
    background-color: var(--background-color);
    padding: 40px;
    box-shadow: var(--shadowlevel-3);
    border-radius: 20px;
}

.sv-usp .wd-usp-container .wd-usp {
    justify-content: space-between;
    gap: 15px;
}

.sv-usp .wd-usp-container .wd-usp .wd-usp__title {
    font-family: var(--small-headline-font-family);
    font-weight: normal;
	font-size: 24px;
}

.sv-usp .wd-usp-container .wd-usp .wd-usp__icon {
    order: 2;
    color: var(--primary-color);
    gap: 0px;
}

.sv-usp .wd-usp-container .wd-usp .wd-usp__icon svg {
    width: 24px;
    height: 24px;
}

@media screen and (min-width: 500px) {
	.sv-usp .wd-usp-container {
		grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
	}
}

@media screen and (min-width: 1080px) {
	.sv-usp .wd-usp-container {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}
}







.wp-block-group.wd-sticky {
    padding-bottom: 30px;
}

.wd-trust-element {
    box-shadow: var(--shadowlevel-3);
    border-radius: 20px;
}







body:not(.block-editor-page) .schema-faq {
    width: 100%;
    max-width: unset !important;
}

body:not(.block-editor-page)  .schema-faq-question {
    font-family: var(--small-headline-font-family);
    font-weight: normal!important;
    font-size: 20px;
    flex-direction: row-reverse;
    justify-content: space-between;
    transition: var(--standard-transition);
}

body:not(.block-editor-page) .schema-faq-section.active .schema-faq-question {
    font-size: 24px;
}

body:not(.block-editor-page) .wp-block-yoast-faq-block .schema-faq-section.active .schema-faq-answer {
    margin: 10px 0;
    padding: 0;
    width: 100%;
    max-width: unset !important;
    position: relative;
    display: flex;
    gap: 50px;
    align-items: center;
}

body:not(.block-editor-page) .wp-block-yoast-faq-block .schema-faq-section.active .schema-faq-answer :not(img) {
    order: 2;
    max-width: 850px;
}

body:not(.block-editor-page) .wp-block-yoast-faq-block .schema-faq-section.active .schema-faq-answer img {
    order: 1;
    max-height: fit-content;
}

body:not(.block-editor-page) .wp-block-yoast-faq-block .schema-faq-section.active .schema-faq-answer > br {
    display: none;
}

body:not(.block-editor-page) .wp-block-yoast-faq-block .schema-faq-section.active .schema-faq-answer > em {
    font-style: normal;
}

body.dark-mode:not(.block-editor-page) .schema-faq-section {
    border-color: var(--separator);
}

body.dark-mode strong.schema-faq-question::before {
    filter: invert(1);
}

body.dark-mode:not(.block-editor-page) .wp-block-yoast-faq-block .schema-faq-section.active strong.schema-faq-question::before, body.dark-mode:not(.block-editor-page) .schema-faq .schema-faq-section.active strong.schema-faq-question::before {
    filter: invert(1);
}










.lightbox-dialog .arrow {
    border-color: var(--light);
}

.lightbox-dialog .arrow svg {
    fill: var(--light);
}

.lightbox-dialog button.dialog-close:hover {
    border-color: var(--light);
    background-color: transparent!important;
}

.lightbox-dialog button.dialog-close svg {
    fill: var(--light);
}












.pull-up-sand-section {
	margin-top: -200px;
	overflow: unset;
    z-index: 3;
    position: relative;
}

.pull-up-sand-section:before {
    content: '';
    background-image: url(/wp-content/uploads/Splatter-sand.png);
    width: 100%;
    height: 100%;
    max-height: 830px;
    position: absolute;
    bottom: auto;
    top: auto;
    left: 0;
    right: 0;
    display: block;
    z-index: -1;
	-webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 1) 40%), to(rgba(0, 0, 0, 0)));
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0));
}

body.dark-mode .pull-up-sand-section:before {
    -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 1) 23%), to(rgba(0, 0, 0, 0)));
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 23%, rgb(0 0 0 / 0%));
}










.entry-content .breadcrumbs-wrapper {
    width: 100%;
}

.breadcrumbs {
    gap: 10px;
}

.breadcrumbs__item {
    text-transform: uppercase;
}

a.breadcrumbs__item {
    color: inherit;
}

span.breadcrumbs__item.breadcrumbs__item--current {
    font-weight: bold;
}








:is(.icon-list-check, .icon-list-minus, .icon-list-plus) {
    list-style: none;
	margin-left: 0;
}

:is(.icon-list-check, .icon-list-minus, .icon-list-plus) li {
    margin-left: 0;
	align-items: start;
    display: flex;
}

:is(.icon-list-check, .icon-list-minus, .icon-list-plus) li *:not(br) {
    display: contents;
}

.icon-list-check li:before {
	content: '';
    display: inline-block;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    clip-path: polygon(36.126% 67.698%, 19.387% 51.018%, 13.687% 56.658%, 36.126% 79.018%, 84.295% 31.017%, 78.635% 25.377%, 36.126% 67.698%);
    width: 28px;
    height: 28px;
    background: var(--secondary-color);
    margin-right: 10px;
	aspect-ratio: 1 / 1;
}

.icon-list-plus li:before {
	content: '';
    display: inline-block;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    clip-path: polygon(15% 46%, 46% 46%, 46% 15%, 54% 15%, 54% 46%, 85% 46%, 85% 54%, 54% 54%, 54% 85%, 46% 85%, 46% 54%, 15% 54%);
    width: 28px;
    height: 28px;
    background: var(--secondary-color);
    margin-right: 10px;
	aspect-ratio: 1 / 1;
}

.icon-list-minus li:before {
	content: '';
    display: inline-block;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    clip-path: polygon(20% 46%, 80% 46%, 80% 54%, 20% 54%);
    width: 28px;
    height: 28px;
    background: var(--secondary-color);
    margin-right: 10px;
	aspect-ratio: 1 / 1;
}










.wd-cards.rejsecards {
    --wd-card-border-radius: 0;
	--wd-card-shadowlevel: none;
	--wd-card-bg: transparent;
}

.wd-card .rejseinfo-topwrapper {
    display: flex;
    justify-content: space-between;
	gap: 10px;
}

.wd-card :is(.rejseinfo-topinnerwrapper, .rejseinfo-subheader) {
	display: flex;
    gap: 1em;
    flex-direction: row;
	position: relative;
}

.wd-card :is(.rejseinfo-topwrapper, .rejseinfo-subheader) * {
    font-size: 12px;
	line-height: normal;
}

.rejseinfo-topwrapper-item, .rejseinfo-subheader-item {
    display: flex;
	align-items: center;
}

.rejseinfo-topwrapper-item {
    padding: 4px 0;
}

.rejseinfo-topwrapper-item img {
    max-height: 16px;
    width: auto;
}

.rejseinfo-topinnerwrapper:has(.rejseinfo-topwrapper-item-stars) {
    justify-content: end;
}

.rejseinfo-topwrapper-item.rejseinfo-topwrapper-item-stars {
	justify-content: end;
}

.rejseinfo-topwrapper-item.rejseinfo-topwrapper-item-stars .wd-icon {
    color: var(--extra-color);
}

.wd-card .rejseinfo-topwrapper .rejseinfo-topwrapper-item:not(:first-of-type, .rejseinfo-topwrapper-item-stars):before, 
.wd-card .rejseinfo-subheader .rejseinfo-subheader-item:not(:first-of-type):before {
    content: '|';
    display: inline;
    padding-right: 1em;
    font-size: 14px;
}

.wd-cards.rejsecards .wd-card-content-wrapper {
    padding: 20px 0 0;
	gap: 10px;
}

.wd-cards.rejsecards .wd-card-content-wrapper .wd-card-title {
	font-size: var(--small-headline-font-size);
}

.wd-cards.rejsecards .wd-card-content-wrapper p {
    margin-top: 0;
}

.wd-cards.rejsecards .rejseinfo-inklusiv {
    display: flex;
    flex-direction: row;
    gap: 5px;
	margin-top: 20px;
}

.wd-cards.rejsecards .rejseinfo-inklusiv-item {
    color: var(--accent-color);
}

.wd-cards.rejsecards .wd-card-button {
    margin-top: 25px;
    flex-direction: row;
    gap: 15px;
    justify-content: space-between;
}

.wd-cards.rejsecards .wd-card-button .wd-button {
    width: 100%;
	padding: 13px 10px;
}

.wd-cards.rejsecards .wd-card-button .wd-button.wd-btn-frapris {
    background-color: var(--primary-color);
    color: var(--dark);
}

.wd-cards.rejsecards .wd-card-button .wd-button.wd-btn-frapris:hover {
    background-color: var(--primary-color-hover);
}












@media screen and (max-width: 781px) {
	.wp-block-columns.grid-text-section {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0;
	}

	.wp-block-columns.grid-text-section .wp-block-column:not(:has(> .wp-block-image)) {
		grid-column: 1 / 3;
	}

	.wp-block-columns.grid-text-section .wp-block-column.grid-text-section-slim-img {
		order: 2;
		align-self: stretch;
	}

	.wp-block-columns.grid-text-section .wp-block-column.grid-text-section-slim-img figure {
		height: 100%;
	}

	.wp-block-columns.grid-text-section .wp-block-column.grid-text-section-slim-img figure img {
		height: 100%;
		width: 100%;
		object-fit: cover;
	}

	.wp-block-columns.grid-text-section .wp-block-column:not(.grid-text-section-slim-img):has(> .wp-block-image) {
		grid-column: 1 / 3;
	}
}

@media screen and (min-width: 782px) {
	.wp-block-columns.grid-text-section {
		display: flex;
		gap: 0;
		align-items: stretch !important;
	}
	.wp-block-columns.grid-text-section .wp-block-column:has(> .wp-block-image) {
		align-self: stretch;
	}

	.wp-block-columns.grid-text-section figure.wp-block-image {
		height: 100%;
	}

	.wp-block-columns.grid-text-section figure.wp-block-image img {
		height: 100%;
		width: 100%;
		object-fit: cover;
	}

	.wp-block-columns.grid-text-section .wp-block-column.grid-text-section-slim-img {
        order: unset;
	}
}













.top-splatter, .bottom-splatter {
    position: relative;
}

.top-splatter:before, .bottom-splatter:after {
	content: '';
    background-repeat: repeat-x;
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    background-size: contain;
}

.top-splatter:before {
    background-image: url(/wp-content/uploads/splatter-top.png);
    height: 144px;
    bottom: auto;
    top: 0;
	background-position: top;
}

.bottom-splatter:after {
    background-image: url(/wp-content/uploads/splatter-bottom.png);
    height: 87px;
    bottom: 0;
    top: auto;
	background-position: bottom;
}

body.dark-mode .top-splatter:before, body.dark-mode .bottom-splatter:after {
    filter: invert(1);
}






.review-display-slider {
    max-width: 800px;
}

.review-display {
    color: inherit;
}

.review-display-controls-btn svg {
    color: inherit;
}

.review-display-controls-btn {
    background-color: transparent;
    box-shadow: none;
	backdrop-filter: none;
}

.review-display .review-display-controls .review-display-controls-btn:hover {
    background-color: var(--background-color-faded);
}

.review-display-default .review-display .review-display-provider {
    margin-top: 0;
}







/* NYHEDSBREV */

.wd-contact-form .wd-contact-form-inner:has(.wd-newsletter) {
    background: transparent;
    box-shadow: none;
    padding: 15px 0;
}

.kontaktform-form-row.wd-newsletter {
    flex-direction: row;
    justify-content: center;
    gap: 0;
}

.kontaktform-form-row.wd-newsletter .kontaktform-rows {
    grid-template-columns: 1fr;
	width: 100%;
    max-width: 750px;
}

.kontaktform-form-row.wd-newsletter .input-wrapper .wd-field-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background: color-mix(in srgb, rgb(255, 255, 255) 80%, transparent);
	height: 48px;
    color: var(--dark);
}

.wd-contact-form .kontaktform-form-row.wd-newsletter .wd-submit-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
	background-color: var(--primary-color);
    color: var(--dark);
	padding: 13px 30px;
}

.wd-contact-form .kontaktform-form-row.wd-newsletter .wd-submit-btn:hover {
    background-color: var(--primary-color-hover);
}

.wd-contact-form .kontaktform-form-row.wd-newsletter label span.label-text {
    color: var(--dark);
}

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






.formular-subheader:not(:first-of-type) {
    margin-top: 20px;
}

.formular-subheader p {
    font-size: calc(var(--standard-text-font-size) + 2px);
    font-weight: bold;
}

.tilfoej-fjern-knapper {
    display: flex;
    gap: 10px;
    flex-direction: row-reverse;
    justify-content: start;
}

.dynamic-form-button {
    padding: 10px 20px;
    width: fit-content;
    background-color: var(--primary-color);
    cursor: pointer;
    transition: var(--standard-transition);
    text-align: center;
}

.dynamic-form-button:hover {
    background-color: var(--primary-color-hover);
}

.kontaktform-form-row:not(:has(.kontaktform-dynamic-rows *)) .kontaktform-dynamic-rows {
    display: none;
}

.kontaktform-form-row:not(:has(.kontaktform-dynamic-rows *)) .dynamic-form-button--remove {
    display: none;
}

.dynamic-form-button--remove {
    background-color: var(--separator);
}

.dynamic-form-button--remove:hover {
    background-color: var(--separator-hover);
}

.kontaktform-dynamic-rows .kontaktform-rows.kontaktform-rows--medrejsende {
    padding: 20px 0;
    border-top: 1px solid var(--separator);
}

.kontaktform-dynamic-rows .kontaktform-rows.kontaktform-rows--medrejsende:last-of-type {
    padding-bottom: 0;
}










.wd-cards.card-text-on-img .wd-card {
    --wd-card-border-radius: 0;
    box-shadow: none;
}

.wd-cards.card-text-on-img .wd-card-image-wrapper:before {
	background: var(--dark-faded);
}

.wd-cards.card-text-on-img .wd-card-content-wrapper {
    top: 0;
    align-self: center;
    text-align: center;
    max-width: 70%;
    margin: 0 auto;
}

.wd-card-content-wrapper .wd-card-title:is(h1,h2,h3,h4,h5,h6,p) {
    line-height: normal;
}










footer.site-footer {
    position: relative;
}

footer.site-footer:before {
    content: '';
    background-image: url(/wp-content/uploads/Bund-grafik-1.png);
    width: 100%;
	height: 153px;
    position: absolute;
    bottom: auto;
    top: -153px;
    pointer-events: none;
}

body.dark-mode footer.site-footer:before {
    filter: invert(0.1);
}

body.dark-mode footer.site-footer {
    --footer-background-color: #191919!important;
}

footer.site-footer:after {
    content: '';
    display: block;
    background-image: url(/wp-content/uploads/payments.png);
    background-repeat: no-repeat;
    background-position: right;
    width: 100%;
    height: 37px;
    position: relative;
    bottom: 0;
    top: auto;
    background-color: #fff;
    pointer-events: none;
}

p.footer-headline {
    font-family: var(--standard-text-font-family);
    text-transform: uppercase;
    font-size: var(--standard-text-font-size);
    font-weight: bold;
}