
*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body{
  font-family: var(--font-base);
  font-weight: 400;
  color: #1b1b1b;
  line-height: 1.6;
  background: white;
}


.service-page {
    padding-block: clamp(40px, 8vh, 100px);
    width: min(100% - 2rem, var(--container-max, 1100px));
    margin-inline: auto;
}

.project_page{
  padding-block: clamp(24px, 6vh, 56px);
}

.project_inner{
  width: min(100% - 2rem, 860px);
  margin-inline: auto;
}

/* Head */
.project_head{
  text-align: center;
}

.project_title{
  margin: 0;
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-dark);
  font-family: var(--font-display);
  font-size: var(--fs-h2);
}

/* Text */
.project_body{
  margin: clamp(60px, 10vh, 120px) auto 0;
}

.project_text{
  margin: 10px auto 0;
  max-width: 60ch;
  font-family: var(--font-base);
  font-weight: 400;
  font-size: clamp(14px, 1vw + 0.35rem, 18px);
  line-height: 1.5;
  color: #6b544b;
  text-wrap: balance;
  text-align: center;;
}

/* Galeri */
.prefa_fixedgrid{
  --gap: 8px;
  gap: var(--gap);

  display: grid;
  grid-template-columns: repeat(3, 1fr);


  grid-auto-rows: var(--cell, 220px);
  margin-top: clamp(22px, 5vh, 40px);
}

.prefa_fixedgrid-item{
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.prefa_fixedgrid-item img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}


.prefa_fixedgrid-item:nth-child(4){
  grid-column: 2;
  grid-row: 1 / span 2;
}


.prefa_fixedgrid-item:nth-child(7){
  grid-column: 3;
  grid-row: 2 / span 2;
}

/* Placeholder */
.project_fixedgrid-item--placeholder{
  background: #f3efec;
  box-shadow: inset 0 0 0 1px rgba(199, 165, 150, .35);
}

.project_placeholder{
  width: 100%;
  height: 100%;
  display: block;
  background:
    linear-gradient(135deg, rgba(199,165,150,.22), rgba(199,165,150,0) 60%),
    linear-gradient(0deg, rgba(0,0,0,.03), rgba(0,0,0,0));
}



/* Responsive */
@media (max-width: 900px){
  .project_fixedgrid{
    grid-template-columns: repeat(2, 1fr);
  }

  .project_fixedgrid-item:nth-child(4),
  .project_fixedgrid-item:nth-child(7){
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 560px){
  .project_fixedgrid{
    grid-template-columns: 1fr;
  }
}
