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

	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

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

.main-header-logo-link img {
	max-height: 100px;
	height: fit-content;
	margin-top: -35px;
	max-width: 80vw;
}

@media screen and (max-width: 1190px) {
	.main-header-logo-link img {
		margin-top: 0px;
	}
}

.wp-block-separator {
	margin-top: 20px;
	margin-bottom: 20px;
	color: var(--separator);
}

@media screen and (min-width: 700px) {
	body .entry-content > *:last-child {
		margin-bottom: 3.5rem;
	}
}

.underline-center {
	position: relative;
}
.underline-center::after {
	content: "";
    position: absolute;
    display: block;
    width: 100px;
    border-bottom: 2px solid var(--accent-color);
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
}

.underline-left {
	position: relative;
}

.underline-left::after {
	content: "";
    position: absolute;
    display: block;
    width: 100px;
    border-bottom: 2px solid var(--accent-color);
	bottom: -10px;
}


/* Buttons */
.main-header-menu {
	display: grid;
	gap: 10px;
}

.main-header-menu ul.sub-menu li a {
	margin-top: 10px;
}

@media screen and (min-width: 1190px) and (hover: hover) {
	body.sometimes-burger .main-header-menu .menu-item > a {
		background: none;
		color: var(--light);;
	}

	body.sometimes-burger .main-header-menu .menu-item > a:hover {
		background: none;
	}
}

.main-header.main-header--hide-icons .menu-item > a,
body.sometimes-burger .main-header-menu ul.sub-menu li a,
.wp-block-button .wp-block-button__link, .btn, .wpcf7 input.wpcf7-submit {
	color: var(--secondary-text-color);
	background: var(--secondary-color);
	transition: var(--standard-transition);

}

.main-header.main-header--hide-icons .menu-item > a:hover,
.main-header-menu:not(:has(a:focus, a:active)) .menu-item.current_page_item > a,
body.sometimes-burger .main-header-menu ul.sub-menu li a:hover,
.wp-block-button .wp-block-button__link:hover, .btn:hover, .wpcf7 input.wpcf7-submit:hover {
	/* background: var(--secondary-color-hover); */
	background: var(--secondary-color);
	transition: var(--standard-transition);
	color: var(--accent-color);
}

.menu-item-has-children .sub-menu {

	max-height: fit-content;
}

/* Gallery */
.gallery
{
	display: grid;
    max-width: var(--standard-width);
	justify-self: center;
}


/* Footer */
.footer-headline-wrapper {
	height: auto;
}

/* WD-USP */
.wd-usp-icon {
	display: flex;
  	gap: 10px;
}