.elementor-5842 .elementor-element.elementor-element-e12951c .e-gallery-item:hover .elementor-gallery-item__overlay, .elementor-5842 .elementor-element.elementor-element-e12951c .e-gallery-item:focus .elementor-gallery-item__overlay{background-color:rgba(0,0,0,0.5);}.elementor-5842 .elementor-element.elementor-element-e12951c{--image-transition-duration:800ms;--overlay-transition-duration:800ms;--content-text-align:center;--content-padding:20px;--content-transition-duration:800ms;--content-transition-delay:800ms;}.elementor-5842 .elementor-element.elementor-element-4e87b06 > .elementor-container{max-width:1200px;}.elementor-5842 .elementor-element.elementor-element-4e87b06{margin-top:5%;margin-bottom:0%;}@media(max-width:1024px){.elementor-5842 .elementor-element.elementor-element-e6f0303 > .elementor-element-populated{margin:0% 0% 0% 0%;--e-column-margin-right:0%;--e-column-margin-left:0%;padding:0% 0% 0% 0%;}}/* Start custom CSS *//* Utsnitt for toppbildet på Hytte i skogen. */
body.postid-5842 .elementor-element-7bf659a > .elementor-widget-wrap {
  aspect-ratio: 1200 / 1148;
  min-height: 0;
  background-size: cover;
  background-position: 50% 56% !important;
}
body.postid-5842 .elementor-element-7bf659a .elementor-element-04ca5c2 {
  display: none;
}
/* Ingen synlig bildetekst i forstørret bildevisning. */
body.postid-5842 .elementor-slideshow__footer {
  display: none !important;
}

/* Variert bildegalleri: store oversikter og mindre detaljer. */
body.postid-5842 .elementor-element-e12951c .elementor-gallery__container {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(3rem, 6vw, 7rem) clamp(1rem, 2vw, 2rem) !important;
  align-items: center;
  height: auto !important;
  padding-bottom: 0 !important;
  overflow: visible;
}
body.postid-5842 .elementor-element-e12951c .e-gallery-item {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  aspect-ratio: 2 / 3;
  min-width: 0;
  overflow: hidden;
  transform: none;
  transition: transform 350ms ease, box-shadow 350ms ease;
}
body.postid-5842 .elementor-element-e12951c .e-gallery-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding-bottom: 0 !important;
  background-size: cover;
  background-position: center;
}
body.postid-5842 .elementor-element-e12951c .elementor-gallery-item__overlay { background: transparent !important; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(1) { grid-column: 1 / 8; grid-row: 1; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(2) { grid-column: 10 / 13; grid-row: 1; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(3) { grid-column: 2 / 7; grid-row: 2; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(4) { grid-column: 8 / 12; grid-row: 2; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(5) { grid-column: 1 / 5; grid-row: 3; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(6) { grid-column: 6 / 13; grid-row: 3; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(7) { grid-column: 1 / 13; grid-row: 4; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(8) { grid-column: 2 / 5; grid-row: 5; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(9) { grid-column: 6 / 12; grid-row: 5; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(10) { grid-column: 1 / 5; grid-row: 6; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(11) { grid-column: 5 / 9; grid-row: 6; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(12) { grid-column: 9 / 13; grid-row: 6; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(13) { grid-column: 1 / 8; grid-row: 7; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(14) { grid-column: 10 / 13; grid-row: 7; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(15) { grid-column: 1 / 5; grid-row: 8; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(16) { grid-column: 5 / 9; grid-row: 8; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(17) { grid-column: 9 / 13; grid-row: 8; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(18) { grid-column: 1 / 13; grid-row: 9; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(19) { grid-column: 1 / 8; grid-row: 10; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(20) { grid-column: 10 / 13; grid-row: 10; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(21) { grid-column: 2 / 7; grid-row: 11; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(22) { grid-column: 8 / 13; grid-row: 11; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(7),
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(18) { aspect-ratio: 4 / 3; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(7) .e-gallery-image,
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(18) .e-gallery-image { background-position: 50% 44%; }
@media (hover: hover) and (pointer: fine) {
  body.postid-5842 .elementor-element-e12951c .e-gallery-item:hover {
    transform: scale(1.025);
    z-index: 2;
    box-shadow: 0 0.75rem 2rem rgba(0,0,0,0.12);
  }
}
body.postid-5842 .elementor-element-e12951c .e-gallery-item:focus-visible {
  outline: 2px solid #4c4b50;
  outline-offset: 6px;
}
@media (max-width: 767px) {
  body.postid-5842 .elementor-element-e12951c .elementor-gallery__container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 0.75rem !important;
  }
  body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 2 / 3;
  }
  body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(1),
  body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(6),
  body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(7),
  body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(13),
  body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(18),
  body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(19) { grid-column: 1 / -1; }
  body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(7),
  body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(18) { aspect-ratio: 1 / 1; }
}
@media (prefers-reduced-motion: reduce) {
  body.postid-5842 .elementor-element-e12951c .e-gallery-item { transition: none; }
  body.postid-5842 .elementor-element-e12951c .e-gallery-item:hover { transform: none; }
}

/* Favorittene får størst plass; galleri følger sidens brede bildeflate. */
body.postid-5842 .elementor-element-9154a28 > .elementor-container { max-width: min(90vw, 100rem); }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(1) { grid-column: 2 / 6; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(2) { grid-column: 7 / 13; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(15) { grid-column: 1 / 4; grid-row: 8; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(16) { grid-column: 5 / 8; grid-row: 8; }
body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(17) { grid-column: 9 / 13; grid-row: 8; }
@media (min-width: 768px) {
  body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(15) { grid-column: 1 / 5; }
  body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(16) { grid-column: 1 / 5; grid-row: 9; }
  body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(17) { grid-column: 6 / 13; grid-row: 8 / 10; }
  body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(18) { grid-row: 10; }
  body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(19), body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(20) { grid-row: 11; }
  body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(21), body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(22) { grid-row: 12; }
}
@media (max-width: 767px) {
 body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(1), body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(2), body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(17) {grid-column: 1 / -1; grid-row: auto;}
 body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(15), body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(16) {grid-column:auto;grid-row:auto;}
}

@media (max-width: 767px) {
 body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(n) {grid-column:auto;grid-row:auto;aspect-ratio:2 / 3;}
 body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(1),
 body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(2),
 body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(7),
 body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(12),
 body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(17),
 body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(18) {grid-column:1 / -1;}
 body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(7),
 body.postid-5842 .elementor-element-e12951c .e-gallery-item:nth-child(18) {aspect-ratio:1 / 1;}
}

/* DSCF2266 ligger som et rolig bakteppe bak hele prosjektsiden. */
body.postid-5842 { isolation: isolate; }
body.postid-5842::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(246,245,241,.55),rgba(246,245,241,.55)), url("https://moll-arkitektur.no/wp-content/uploads/2026/10/DSCF2266-bakgrunn.jpg");
  background-size: cover;
  background-position: 50% 60%;
  background-repeat: no-repeat;
}/* End custom CSS */