/*
 Theme Name:     Divi Child Theme
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
@import url("../Divi/style.css");

p, div, a, em, i, u, strong, #main-footer h4, #main-footer #footer-bottom *, #main-content .pre-headline, #main-content .pre-headline * {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
font-weight: 500;
font-style: normal;
}
strong {
  font-weight: 600;
}
h1,h2,h3,h4,h5,h6, h1 *, h2 *, h3 *, h4 *, h5 *, h6 *, .contact-text a, .cascading-slider__description, .cascading-slider__description *, .large-text, .large-text *, #main-content .et_pb_slide_content, #main-content .et_pb_slide_content *, #main-footer .widget_text .textwidget p, #main-footer .et_pb_widget ul li * {
  font-family: cormorant-garamond, serif;
font-weight: 400;
font-style: normal;
}
#main-header, #footer-widgets .footer-widget li a::after, #besog .et_pb_column, #footer-widgets .footer-widget li a, #main-footer .socials ul li a, #top-menu li:last-child {
  transition: .5s cubic-bezier(0.625, 0.05, 0, 1);
}
.et_pb_row, .container, .et_pb_row:not([class*="et_flex_column"]) {
  width: 95%;
  max-width: 1800px;
}
#sidebar, #main-content .container::before {
  display: none;
}
#left-area {
  width: 100%;
  padding-right: 0;
}
#main-content, .et_pb_section {
  background: #f2efec;
}
.large-text, .large-text *, .cascading-slider__description {
  font-size: 24px;
  line-height: 30px;
}

/* Header */
.et_pb_svg_logo #logo {
    height: 65% !important;
  }
  #main-header.et-fixed-header #logo {
    height: 80% !important;
  }
  .et_header_style_split #top-menu-nav {
    width: 100% !important;
  }
  #top-menu li:nth-child(1), #top-menu li:nth-child(2) {
    float: left;
  }
  #top-menu li:nth-child(4), #top-menu li:nth-child(5) {
    float: right;
  }
  #top-menu li {
    padding-right: 30px !important;
  }
  #top-menu li:nth-child(4) {
    padding-right: 0px !important;
  }
  #top-menu li.centered-inline-logo-wrap a::after {
    display: none !important;
  }
#top-menu li a {
  opacity: 1 !important;
}
.page-id-19 #top-menu li a {
  color: #181818 !important;
}
.page-id-19 #logo {
  filter: invert(100%);
}
.page-id-19 #main-header.et-fixed-header #top-menu li a {
  color: #fff !important;
}
.page-id-19 #main-header.et-fixed-header #logo {
  filter: invert(0%);
}
/* The line */
#top-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 55px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.625, 0.05, 0, 1);
}
/* Hover in: grow left → right */
#top-menu li a:hover::after, #top-menu li.current-menu-item a::after, #top-menu li.current-page-ancestor a::after {
  transform: scaleX(1);
  transform-origin: left;
}
#main-header.et-fixed-header #top-menu li a::after {
  bottom: 25px;
}
/* Hover out: shrink toward right */
#top-menu li a:not(:hover)::after {
  transform-origin: right;
}
.hide-header {
margin-top: -200px !important;
}
.show-header {
margin-top: 0px !important;
}
#main-header #et-top-navigation, nav#top-menu-nav, #top-menu, nav.et-menu-nav, .et-menu {
  float: none !important; 
  text-align: center !important;
  padding-left: 0 !important;
}
#main-header #top-menu li#menu-item-wpml-ls-2-da {
  position: absolute;
  right: 15px;
}
#main-header.et-fixed-header {
  background: rgba(0,0,0,.5) !important;
  backdrop-filter: blur(8px);
}
#main-header #top-menu li.wpml-ls-menu-item {
  opacity: .4;
}
#main-header #top-menu li.wpml-ls-menu-item.wpml-ls-current-language, #main-header #top-menu li.wpml-ls-menu-item:hover {
  opacity: 1 !important;
}
.otgs-development-site-front-end {
  display: none !important;
}

/* Slider */
#front {
  padding: 0 !important;
}
#front .et_pb_slide {
  height: 100vh;
}
#main-content h2.et_pb_slide_title {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
font-weight: 500;
text-transform: uppercase;
visibility: visible !important;
letter-spacing: 2px;
font-size: 12px !important;
}
#main-content .et_pb_slide_content, #main-content .et_pb_slide_content * {
font-family: cormorant-garamond, serif !important;
font-weight: 400;
font-style: normal;
font-size: 2.2vw !important;
  line-height: 2.2vw;
}
#main-content .et_pb_slide_description {
  padding: 0 13% 50px !important;
}
.et_pb_slides .et_pb_slider_container_inner {
  vertical-align: bottom !important;
}
#main-content .et_pb_slide_description::after {
  display: block;
  content: '"' !important;
  font-family: ETmodules !important;
  font-size: 20px !important;
  margin: 20px 0 0 !important;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

/* Page Intro */
.page-intro {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: #171207;
  z-index: 99999;
  overflow: hidden;
  transform: translateY(0);
}

.page-intro__inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-intro__logo {
  display: block;
  width: min(160px, 40vw);
  max-width: 160px;
  height: auto;
  opacity: 1;
}

.page-intro.is-hidden {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .page-intro,
  .page-intro__logo {
    animation: none !important;
    transition: none !important;
  }
}

/* Page */
#main-content .et_pb_bg_layout_light.pre-headline, #main-content .et_pb_bg_layout_light.pre-headline * {
  color: #181818 !important;
}
#main-content a.et_pb_button {
  padding: 2px 0 !important;
  background: none;
  border-bottom: 1px solid #80745C;
}
#main-content a.et_pb_button::after {
  position: relative;
  margin-left: .5em;
}
#main-content a.et_pb_button:hover::after {
  margin-left: .75em;
}
.et_pb_gallery_image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.et_pb_gallery_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.et_pb_bg_layout_light .et-pb-controllers a {
  background: none;
  border: 1px solid white;
}
.et_pb_bg_layout_light .et-pb-controllers .et-pb-active-control {
  background: white;
}
#main-content .padding-left {
  margin-left: 10%;
}
#main-content .text-column {
  padding: 0 5%;
}
.et_pb_column .padding-left.arrow::after {
  display: block;
  content: "$";
  font-family: ETmodules !important;
  position: absolute;
  left: -10%;
  color: #80745C;
  font-size: 20px;
}

/* Facts */
.facts {
    margin: 0;
    padding: 0;
}

.facts__row {
    display: grid;
    width: 65%;
    grid-template-columns: 1fr 2fr;
    align-items: baseline;
    gap: 16px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.facts__row:first-child {
    border-top: 1px solid rgba(0,0,0,0.2);
}

.facts__label, .facts__value {
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #181818;
    opacity: 0.4;
    margin: 0;
}

.facts__value {
    opacity: 1;
}

/* Highlightede køkkener */
.highlightede-koekkener-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    row-gap: 60px;
}

.highlightede-koekkener-item {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Row 1: 50 / 50 */
.highlightede-koekkener-item:nth-child(4n+1),
.highlightede-koekkener-item:nth-child(4n+2) {
    grid-column: span 3;
}

/* Row 2: 33 / 66 */
.highlightede-koekkener-item:nth-child(4n+3) {
    grid-column: span 2;
}

.highlightede-koekkener-item:nth-child(4n+4) {
    grid-column: span 4;
}

/* Equal image height */
.highlightede-koekkener-image {
    width: 100%;
    height: clamp(320px, 38vw, 620px);
    overflow: hidden;
    background: black;
}

.highlightede-koekkener-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .3s;
    opacity: 1;
}
.highlightede-koekkener-item:hover .highlightede-koekkener-image img {
  opacity: .7;
}

.highlightede-koekkener-content {
    padding-top: 16px;
    display: grid;
    grid-template-columns: 4fr 1fr .5fr;
}
.highlightede-koekkener-category, .highlightede-koekkener-year {
  color: #181818 !important;
  align-content: end;
}
.highlightede-koekkener-category {
  opacity: .4;
}
h3.highlightede-koekkener-title {
  font-size: 26px;
  line-height: 34px;
}
.highlightede-koekkener-year {
  text-align: right;
}

/* Projects-filtering shortcode (all projects) — 2-col grid, centered/stacked text, 10:8 image crop */
.projects-filter-grid-wrap .highlightede-koekkener-grid {
    grid-template-columns: repeat(2, 1fr);
}

.projects-filter-grid-wrap .highlightede-koekkener-item {
    grid-column: span 1 !important;
}

.projects-filter-grid-wrap .highlightede-koekkener-image {
    height: auto !important;
    aspect-ratio: 10 / 8;
}

.projects-filter-grid-wrap .highlightede-koekkener-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.projects-filter-grid-wrap .highlightede-koekkener-title,
.projects-filter-grid-wrap .highlightede-koekkener-category,
.projects-filter-grid-wrap .highlightede-koekkener-year {
    text-align: center;
}


/* Highlighted projects shortcode — same treatment: 2-col grid, centered/stacked text, 10:8 image crop */
.highlighted-projects-grid-wrap .highlightede-koekkener-grid {
    grid-template-columns: repeat(2, 1fr);
}

.highlighted-projects-grid-wrap .highlightede-koekkener-item {
    grid-column: span 1 !important;
}

.highlighted-projects-grid-wrap .highlightede-koekkener-image {
    height: auto !important;
    aspect-ratio: 10 / 8;
}

.highlighted-projects-grid-wrap .highlightede-koekkener-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.highlighted-projects-grid-wrap .highlightede-koekkener-title,
.highlighted-projects-grid-wrap .highlightede-koekkener-category,
.highlighted-projects-grid-wrap .highlightede-koekkener-year {
    text-align: center;
}


/* Related projects shortcode — same treatment: 2-col grid, centered/stacked text, 10:8 image crop */
.related-projects-grid-wrap .highlightede-koekkener-grid {
    grid-template-columns: repeat(2, 1fr);
}

.related-projects-grid-wrap .highlightede-koekkener-item {
    grid-column: span 1 !important;
}

.related-projects-grid-wrap .highlightede-koekkener-image {
    height: auto !important;
    aspect-ratio: 10 / 8;
}

.related-projects-grid-wrap .highlightede-koekkener-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.related-projects-grid-wrap .highlightede-koekkener-title,
.related-projects-grid-wrap .highlightede-koekkener-category,
.related-projects-grid-wrap .highlightede-koekkener-year {
    text-align: center;
}

/* Highlightede kategorier */
.projekt-kategorier-content {
    padding-top: 16px;
}

.projekt-kategorier-title {
    margin: 0;
}
.projekt-kategorier-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    row-gap: 60px;
}

.projekt-kategorier-item {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Row 1: 66 / 33 */
.projekt-kategorier-item:nth-child(4n+1) {
    grid-column: span 4;
}

.projekt-kategorier-item:nth-child(4n+2) {
    grid-column: span 2;
}

/* Row 2: 33 / 66 */
.projekt-kategorier-item:nth-child(4n+3) {
    grid-column: span 2;
}

.projekt-kategorier-item:nth-child(4n+4) {
    grid-column: span 4;
}

/* Same image height across cards */
.projekt-kategorier-image {
    width: 100%;
    height: clamp(320px, 38vw, 620px);
    overflow: hidden;
    background: black;
}

.projekt-kategorier-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .3s ease-in-out;
}

.projekt-kategorier-item:hover .projekt-kategorier-image img {
  opacity: .7;
}

.projekt-kategorier-content {
    padding-top: 16px;
}

.projekt-kategorier-title {
    margin: 0;
}
.projekt-kategorier-item h3 {
  position: relative;
}
.projekt-kategorier-item h3::after {
  display: block;
  content: "$";
  font-family: ETmodules !important;
  position: absolute;
  right: 0;
  font-size: 20px;
  top: 0;
}
#hero {
  height: 100dvh;
  display: grid;
  align-content: end;
}
#hero .et_pb_row {
  margin: auto !important;
  border-bottom: 1px solid rgba(255,255,255,.3) !important;
  padding-bottom: 30px !important;
}

/* Proces Slider */
/* Proces Slider */
[data-cascading-viewport] {
  --gap: 0.5em;
}

[data-cascading-slide] {
  --clip: 0;
  --radius: 0;
}

.cascading-slider {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cascading-slider__collection {
  width: 100%;
}

.cascading-slider__list {
  width: 100%;
  height: 35em;
  position: relative;
  overflow: hidden;
}

.cascading-slider__item {
  color: #FBEBC3;
  background-color: #171207;
  cursor: pointer;
  will-change: transform, clip-path, opacity;
  clip-path: inset(0px calc(var(--clip) * 1px) round var(--radius));
  -webkit-user-select: none;
  user-select: none;
  height: 100%;
  position: absolute;
  inset: 0% auto auto 0%;
}

.cascading-slider__item[data-status="active"] {
  cursor: default;
}

.cascading-slider__item-inner {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.cascading-slider__item-bg {
  z-index: 0;
  position: absolute;
  inset: 0%;
}

.cascading-slider__img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0%;
}

.cascading-slider__item-content {
  z-index: 2;
  padding: 2em 2em 3em 2.5em;
  position: absolute;
  inset: auto 0% 0%;
  text-align: center;
}

.cascading-slider__h {
  opacity: 0;
  letter-spacing: -.03em;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Haffer XH, Arial, sans-serif;
  font-size: 2.75em;
  font-weight: 400;
  line-height: 1;
  transition: all .3s cubic-bezier(.645, .045, .355, 1);
  transform: translate(0, .25em);
  transition-delay: 0ms;
}

[data-cascading-slide][data-status="active"] .cascading-slider__h {
  transition-delay: 400ms;
  opacity: 1;
  transform: translate(0px, 0em);
}

.cascading-slider__description {
  opacity: 0;
  margin-top: 1em;
  transform: translate(0, .25em);
  transition: all .3s cubic-bezier(.645, .045, .355, 1);
  transition-delay: 0ms;
  max-width: 70%;
  margin: 1em auto 0;
}

[data-cascading-slide][data-status="active"] .cascading-slider__description {
  transition-delay: 500ms;
  opacity: 1;
  transform: translate(0, 0);
}

.cascading-slider__nav {
  grid-column-gap: 1em;
  grid-row-gap: 1em;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  margin-top: 4em;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  position: relative;
}

.cascading-slider__button {
  color: #181818;
  justify-content: center;
  background: none !important;
  align-items: center;
  width: 3em;
  height: 3em;
  padding: .75em;
  display: flex;
  cursor: pointer;
  border: none;
}

.cascading-slider__button-arrow.is--prev {
  transform: rotate(-180deg);
}
.cascading-slider__number {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75em;
  opacity: 0;
  transform: translate(0, .25em);
  transition: all .3s cubic-bezier(.645, .045, .355, 1);
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 2.5em;
  background: #FBEBC3 !important;
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  text-align: center;
  line-height: 40px;
  color: #181818 !important;
  letter-spacing: 0 !important;
}

/* Animate like title */
[data-cascading-slide][data-status="active"] .cascading-slider__number {
  transition-delay: 300ms;
  opacity: 1;
  transform: translate(0, 0);
}

.cascading-slider__item-content * {
  color: #f2efec !important;
}

/* Besøg */
.height-100 {
  height: 100vh;
}
#besog .et_pb_column {
  height: 75vh;
  display: grid;
  align-content: end;
  padding-bottom: 75px;
}
#besog .et_pb_column h2 {
  font-size: 34px !important;
}
#besog {
  padding-top: 0 !important;
}
#besog .et_pb_column:hover {
  background-color: rgba(0,0,0,0.7);
  padding-bottom: 100px;
}
.facts .opening-start {
  color: #181818 !important;
  opacity: .4 !important;
  border-right: none !important;
}
.facts tr {
  border-bottom: 1px solid rgba(0,0,0,0.2) !important;
}
.facts .opening-end {
  color: #181818 !important;
  border-left: none !important;
}
.facts tr td {
  padding: 20px 0 !important;
}
.fact-start, .fact-end {
  width: 50%;
}
.fact-start *, .fact-end * {
  color: #181818 !important;
  margin-bottom: 0 !important;
}
.fact-start:first-child {
  padding-top: 15px;
  border-top: 1px solid rgba(0,0,0,0.2);
}
.fact-start .et_pb_text_inner {
  opacity: .4;
}
.fact-end {
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0,0,0,0.2);
}
.billede-tekst .et_pb_text_inner {
  font-size: 13px;
  opacity: .4;
}
/* Kontakt */
#kontakt {
  height: 100vh;
  display: grid;
  align-content: center;
  padding-top: 0 !important;
}
#kontakt h4 {
  margin-bottom: 25px;
  padding-bottom: 0;
}
#kontakt h4::after {
  display: block;
  content: "";
  margin: 0 auto;
  width: 15px;
  height: 1px;
  background: #B7A185;
  margin-top: 25px;
}
.contact-text a {
  color: #B7A185 !important;
  font-size: 26px;
  transition: .3s ease-in-out;
}
.contact-text a:hover {
  color: white !important;
}
.contact-text .et_pb_text_inner {
  display: grid;
  grid-template-columns: 1fr 4fr;
}
.rotating-text__heading {
  margin: 0;
  font-weight: 500;
  line-height: 1;
}

.rotating-text__highlight {
  color: #80745C;
  font-style: italic !important;
}

[data-rotating-words] {
  display: inline-block;
  position: relative;
}

.rotating-text__inner {
  display: inline-block;
}

.rotating-text__word {
  display: block;
  white-space: nowrap;
  position: absolute;
  font-style: italic !important;
  top: 0;
  left: 0;
}

.rotating-line{
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
  white-space: nowrap;
}

.rotating-line-mask{
  overflow-x: visible !important;
  overflow-y: clip !important;
}

/* Footer */
.et_pb_gutters3.et_pb_footer_columns3 .footer-widget {
  margin-right: 0 !important;
  width: 25% !important;
}
.et_pb_gutters3.et_pb_footer_columns3 .footer-widget:first-child {
  width: 50% !important;
}
#main-footer .widget_media_image {
  width: 125px !important;
}
#main-footer .footer-widget h4, #main-footer #footer-bottom *, .et_mobile_menu li.wpml-ls-item a, .facts td, .fact-start *, .fact-end *, .pre-headline, .pre-headline *, .opening-start, .highlightede-koekkener-category, .highlightede-koekkener-year {
  letter-spacing: 2px;
  margin-bottom: 15px;
  font-size: 12px;
  color: #F6ECDF;
  text-transform: uppercase;
}
.pre-headline * {
  margin-bottom: 0; 
}
.et_pb_gutters3.et_pb_footer_columns3 .footer-widget .fwidget {
  float: none !important;
}
#footer-widgets .footer-widget li {
  padding-left: 0 !important;
  margin-bottom: 0 !important;
  position: relative;
}
#footer-widgets .footer-widget li::before {
  display: none !important;
}
#footer-widgets .footer-widget li a::after {
  display: block;
  content: "$";
  font-family: ETmodules !important;
  position: absolute;
  left: -25px;
  top: 2px;
  font-size: 18px;
  opacity: 0;
}
#footer-widgets .footer-widget li a:hover::after {
  left: 0;
  opacity: 1;
}
#footer-widgets .footer-widget li a:hover {
  padding-left: 25px;
}
#main-footer #text-3 {
  margin-bottom: 24% !important;
}
#main-footer {
  height: 100vh;
  position: relative;
}
#main-footer .socials li {
  display: inline-block;
  margin-bottom: 0;
  padding-left: 10px;
}
#main-footer #footer-bottom .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
#main-footer .socials {
  text-align: right;
}
#main-footer .socials ul li a {
  opacity: .4;
}
#main-footer .socials ul li a:hover {
  opacity: 1;
}
#footer-bottom * {
  margin-bottom: 0 !important;
}
#footer-bottom {
  position: absolute;
  bottom: 10px;
  width: 100%;
}


/* Projects filter */
.projects-filter {
    margin-bottom: 40px;
}

.projects-filter__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.projects-filter__heading {
    margin: 0;
    font-family: cormorant-garamond, serif;
    font-weight: 400;
    font-size: 43px;
    line-height: 48px;
}

.projects-filter__toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #181818;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.projects-filter__toggle:hover {
    opacity: 0.6;
}

.projects-filter__arrow {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.projects-filter.is-open .projects-filter__arrow {
    transform: rotate(180deg);
}

/* Slide-down panel */
.projects-filter__panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.projects-filter.is-open .projects-filter__panel {
    max-height: 400px;
    padding-bottom: 8px;
}

.projects-filter__list {
    list-style-type: none !important;
    margin: 0;
    padding: 0 !important;
}

.projects-filter__option {
    display: inline-block;
    padding: 10px 0;
    font-family: cormorant-garamond, serif;
    font-weight: 400;
    font-size: 43px;
    line-height: 48px;
    color: #181818;
    text-decoration: none;
    transition: opacity 0.2s ease;
    opacity: 0.5;
}

.projects-filter__option:hover {
    opacity: 0.7;
}

.projects-filter__option.is-active {
    opacity: 1;
}

.projects-filter__option-count {
    opacity: 0.5;
}

.projects-filter__empty {
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    font-size: 14px;
    opacity: 0.5;
    padding: 40px 0;
}

/* Phone */
@media (max-width: 1000px) {
    .highlightede-koekkener-grid {
        grid-template-columns: 1fr;
    }

    .highlightede-koekkener-item {
        grid-column: span 1 !important;
    }

    .highlightede-koekkener-image {
        height: inherit !important;
    }

    /* Header */
    .et_header_style_left #logo {
      max-width: 80%;
      max-height: 90%;
    }
     .et_fixed_nav #main-header {
      transition: .3s ease-in-out !important;
      position: fixed;
      height: 100px;
    }
    #main-header .container {
      top: 10px;
    }
    .et_mobile_menu {
      background: #171207 !important;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      align-content: center !important;
      height: 100vh;
      border-top: none !important;
    }
    .et_header_style_left .logo_container {
      z-index: 99999999999;
      width: 50%;
    }
    .mobile_menu_bar {
      z-index: 999999;
    }
    .et_mobile_menu li a {
      font-family: cormorant-garamond, serif;
      font-weight: 400;
      font-style: normal;
      font-size: 28px !important;
    }
    .et_mobile_menu li.wpml-ls-item a {
      font-size: 12px !important;
      margin-bottom: 0 !important;
      font-family: "itc-avant-garde-gothic-pro", sans-serif !important;
    }
    .et_mobile_menu li.wpml-ls-item {
      display: inline-block !important;
      margin-top: 100px !important;
      margin-left: 10px !important;
      margin-right: 10px !important;
      opacity: .5;
    }
    .et_mobile_menu li.wpml-ls-item.wpml-ls-current-language {
      opacity: 1;
    }

    /* Page */
    #front .et_pb_slide {
      height: 60vh;
    }
    #main-content .et_pb_slide_description {
      padding: 0 0% 50px !important;
    }
    #main-content .et_pb_slide_content, #main-content .et_pb_slide_content * {
      font-size: 26px !important;
      line-height: 32px !important;
    }
    .page-id-2 #main-content .et_pb_slide_content, .page-id-2 #main-content .et_pb_slide_content * {
      font-size: 36px !important;
      line-height: 40px !important;
    }
    .highlightede-koekkener-content {
      display: block;
      padding-bottom: 50px;
    }
    .highlightede-koekkener-year {
      text-align: left;
    }
    .highlightede-koekkener-category, .highlightede-koekkener-year {
      opacity: .5 !important;
      margin-bottom: 0 !important;
    }
    #hero {
      height: inherit !important;
      padding: 50px 0 !important;
    }
    #main-content .text-column {
      padding: 0;
    }
    .et_pb_row, .container, .et_pb_row:not([class*="et_flex_column"]) {
      width: 90%;
    }
    .projekt-kategorier-grid {
      display: block; 
    }
    .projekt-kategorier-content {
      margin-bottom: 50px;
    }
    h2, .product .related h2, .et_pb_column_1_2 .et_quote_content blockquote p, .projects-filter__option {
      font-size: 36px !important;
      line-height: 42px !important;
    }
    .cascading-slider__item-content {
      padding: 1em;
    }
    .cascading-slider__number {
      top: .8em;
      left: .8em;
    }
    .cascading-slider__description {
      max-width: 100%;
    }

    /* Projekter */
    .projects-filter__header {
      display: block;
    }
    .projects-filter__list {
      margin-top: 30px;
    }
    .facts__row {
      width: 100% !important;
    }
    .facts {
      margin-bottom: 50px;
    }
    .gallery-forskudt .et_pb_image, .gallery-forskudt .et_pb_text {
      width: 100%;
      margin-top: 0 !important;
      padding-left: 0 !important;
    }
    .projects-filter-grid-wrap .highlightede-koekkener-grid {
      grid-template-columns: 1fr 1fr !important;
      gap: 14px !important;
    }
    .highlighted-projects-grid-wrap .highlightede-koekkener-grid {
      grid-template-columns: 1fr 1fr !important;
      gap: 14px !important;
    }
    .related-projects-grid-wrap .highlightede-koekkener-grid {
      grid-template-columns: 1fr 1fr !important;
      gap: 14px !important;
    }
    h3.highlightede-koekkener-title {
      font-size: 20px;
      line-height: 24px;
    }
    .highlightede-koekkener-category, .highlightede-koekkener-year {
      font-size: 10px !important;
    }

    /* Besøg */
    #besog .et_pb_column {
      height: 60dvh !important;
      padding-bottom: 30px !important;
    }
    .fact-start, .fact-end {
      width: 100%;
    }

    /* Kontakt */
    #kontakt {
      height: inherit !important;
    }
    .contact-text .et_pb_text_inner {
      display: block;
    }
    .contact-text a {
      display: block;
      margin-bottom: 5px;
    }

    /* Footer */
    #main-footer {
      height: inherit;
    }
    .footer-widget, .footer-widget li, .footer-widget li a, #footer-info {
      font-size: 20px !important;
    }
    #main-footer .widget_media_image {
      display: none !important;
    }
    .et_pb_gutters3.et_pb_footer_columns3 .footer-widget .fwidget {
      text-align: center !important;
    }
    #main-footer .footer-widget h4 {
      margin-bottom: 0 !important;
      opacity: .5 !important;
    }
    #footer-widgets {
      padding: 12% 0 40%;
    }
}
/* Language switcher (DA / EN) */
#et-top-navigation {
  position: relative;
}
.sterr-lang-switch {
  position: absolute;
  right: 0;
  bottom: 60px;
  z-index: 10;
  font-family: itc-avant-garde-gothic-pro, sans-serif;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  transition: bottom .5s cubic-bezier(0.625, 0.05, 0, 1);
}
#main-header.et-fixed-header .sterr-lang-switch {
  bottom: 30px;
}
.sterr-lang-switch a {
  color: inherit;
  opacity: .5;
  transition: opacity .3s ease;
}
.sterr-lang-switch a.is-active,
.sterr-lang-switch a:hover {
  opacity: 1;
}
.sterr-lang-switch__sep {
  margin: 0 6px;
  opacity: .5;
}
@media (min-width: 981px) {
  /* Make room right of "Kontakt" and keep the logo centered */
  .et_header_style_split #top-menu {
    padding-right: 90px !important;
  }
  .et_header_style_split #top-menu li.centered-inline-logo-wrap {
    position: relative;
    left: 45px;
  }
}
@media (max-width: 980px) {
  .sterr-lang-switch,
  #main-header.et-fixed-header .sterr-lang-switch {
    top: 9px;
    bottom: auto;
    right: 46px;
  }
}

/* English contact page (same styling as the Danish contact page) */
.page-id-654 #top-menu li a,
.page-id-19 .sterr-lang-switch,
.page-id-654 .sterr-lang-switch {
  color: #181818 !important;
}
.page-id-654 #logo {
  filter: invert(100%);
}
.page-id-654 #main-header.et-fixed-header #top-menu li a,
.page-id-19 #main-header.et-fixed-header .sterr-lang-switch,
.page-id-654 #main-header.et-fixed-header .sterr-lang-switch {
  color: #fff !important;
}
.page-id-654 #main-header.et-fixed-header #logo {
  filter: invert(0%);
}

/* -------------------------------------------------------
   Custom mobile menu
   ------------------------------------------------------- */
.sterr-burger,
.sterr-mm {
  display: none;
}

@media (max-width: 980px) {
  /* Hide Divi's own mobile menu and the header language switcher */
  #main-header #et-top-navigation {
    display: none !important;
  }
  #main-header .logo_container {
    position: relative;
  }

  /* Burger: two thin lines */
  .sterr-burger {
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 5;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    margin-right: -8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .sterr-burger:focus {
    outline: none;
  }
  .sterr-burger:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 2px;
  }
  .sterr-burger__line {
    position: absolute;
    left: 8px;
    width: 28px;
    height: 1px;
    background: currentColor;
    transition: transform .6s cubic-bezier(0.77, 0, 0.175, 1), width .6s cubic-bezier(0.77, 0, 0.175, 1);
  }
  .sterr-burger__line:nth-child(1) {
    top: 18px;
  }
  .sterr-burger__line:nth-child(2) {
    top: 25px;
    width: 20px;
    left: 16px;
  }
  .sterr-burger:hover .sterr-burger__line:nth-child(2) {
    width: 28px;
    left: 8px;
  }
  .sterr-menu-open .sterr-burger__line:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg);
  }
  .sterr-menu-open .sterr-burger__line:nth-child(2) {
    width: 28px;
    left: 8px;
    transform: translateY(-3.5px) rotate(-45deg);
  }

  /* Dark header text on the contact pages */
  .page-id-19 .sterr-burger,
  .page-id-654 .sterr-burger {
    color: #181818;
  }
  .page-id-19 #main-header.et-fixed-header .sterr-burger,
  .page-id-654 #main-header.et-fixed-header .sterr-burger,
  .sterr-menu-open .sterr-burger {
    color: #fff !important;
  }

  /* Keep the header visible and light while the menu is open */
  .sterr-menu-open #main-header {
    margin-top: 0 !important;
  }
  .sterr-menu-open #main-header,
  .sterr-menu-open #main-header.et-fixed-header {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
  }
  .sterr-menu-open #logo {
    filter: none !important;
  }

  /* Overlay */
  .sterr-mm {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 99998;
    padding: 140px 24px 40px;
    background: #171207;
    color: #f2efec;
    overflow-y: auto;
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
    transition: clip-path .8s cubic-bezier(0.77, 0, 0.175, 1) .15s, visibility 0s linear .95s;
  }
  .sterr-mm.is-open {
    visibility: visible;
    clip-path: inset(0 0 0 0);
    transition: clip-path .8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0s linear 0s;
  }
  .admin-bar .sterr-mm {
    top: 46px;
  }

  .sterr-mm__nav {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .sterr-mm__list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
  }
  .sterr-mm__list li {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    overflow: hidden;
  }
  .sterr-mm__list li::before {
    display: none !important;
  }
  .sterr-mm__list a {
    display: inline-block;
    padding: 6px 0;
    color: #f2efec !important;
    font-family: cormorant-garamond, serif !important;
    font-size: clamp(40px, 11vw, 64px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    transition: opacity .4s ease;
  }
  .sterr-mm__label {
    display: inline-block;
    transform: translateY(110%);
    transition: transform .5s cubic-bezier(0.77, 0, 0.175, 1);
  }
  .sterr-mm.is-open .sterr-mm__label {
    transform: translateY(0);
    transition: transform .9s cubic-bezier(0.19, 1, 0.22, 1);
  }
  .sterr-mm.is-open li:nth-child(1) .sterr-mm__label { transition-delay: .35s; }
  .sterr-mm.is-open li:nth-child(2) .sterr-mm__label { transition-delay: .42s; }
  .sterr-mm.is-open li:nth-child(3) .sterr-mm__label { transition-delay: .49s; }
  .sterr-mm.is-open li:nth-child(4) .sterr-mm__label { transition-delay: .56s; }
  .sterr-mm.is-open li:nth-child(5) .sterr-mm__label { transition-delay: .63s; }
  .sterr-mm.is-open li:nth-child(6) .sterr-mm__label { transition-delay: .70s; }

  /* Dim the other items on hover, mark the current page */
  .sterr-mm__list:hover a {
    opacity: .4;
  }
  .sterr-mm__list a:hover,
  .sterr-mm__list a:focus-visible {
    opacity: 1;
  }
  .sterr-mm__list .current-menu-item > a .sterr-mm__label,
  .sterr-mm__list .current-page-ancestor > a .sterr-mm__label {
    font-style: italic;
  }

  /* Footer: language + contact */
  .sterr-mm__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-top: 32px;
    font-family: itc-avant-garde-gothic-pro, sans-serif;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .3s ease, transform .3s ease;
  }
  .sterr-mm.is-open .sterr-mm__footer {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .8s ease .75s, transform .8s cubic-bezier(0.19, 1, 0.22, 1) .75s;
  }
  .sterr-mm .sterr-lang-switch {
    position: static;
    color: #f2efec !important;
  }
  .sterr-mm__contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 20px;
  }
  .sterr-mm__contact a {
    color: #f2efec;
    opacity: .5;
    text-transform: none;
    letter-spacing: 1px;
    transition: opacity .3s ease;
  }
  .sterr-mm__contact a:hover {
    opacity: 1;
  }

  html.sterr-menu-open,
  .sterr-menu-open body {
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sterr-mm,
  .sterr-mm.is-open,
  .sterr-mm__label,
  .sterr-mm.is-open .sterr-mm__label,
  .sterr-mm__footer,
  .sterr-mm.is-open .sterr-mm__footer,
  .sterr-burger__line {
    transition-duration: .01s !important;
    transition-delay: 0s !important;
  }
}
