/* Category-based homepage examples: large, unboxed devices.
   Intentionally loaded on the homepage only. */
body.clean-design #main-content#main-content#main-content :is(.home-area-project,.concept-card,.web-project-card,.webshop-cases-grid article){background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;transform:none!important}
body.clean-design #main-content#main-content#main-content :is(.home-area-project-photo,.concept-card-visual,.real-device-project-visual,.real-device-gallery-stage){background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important}
body.clean-design #main-content#main-content#main-content :is(.home-area-project-photo,.concept-card-visual)>span{display:none!important}
body.clean-design #main-content#main-content#main-content .web-project-grid::before{content:none!important;display:none!important}
body.clean-design #main-content#main-content#main-content #projektgalleri{background:#fff!important}
body.clean-design #main-content#main-content#main-content .home-area-project-track{grid-auto-columns:calc((100% - 56px)/3)!important;gap:28px!important;padding:4px 0 20px!important;scroll-padding:0!important}
body.clean-design #main-content#main-content#main-content #projektgalleri .concept-grid{gap:28px!important;padding-inline:0!important}
body.clean-design #main-content#main-content#main-content #projektgalleri .concept-card{flex:0 0 calc((100% - 56px)/3)!important;min-width:0!important}
body.clean-design #main-content#main-content#main-content :is(.software-project-grid,.web-project-grid){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:28px!important}
body.clean-design #main-content#main-content#main-content .webshop-cases-grid{--inset:0;--gap:28px;gap:28px!important;padding:0 0 20px!important;scroll-padding:0!important;width:100%!important}
body.clean-design #main-content#main-content#main-content .webshop-cases-grid article{flex:0 0 calc((100% - 56px)/3)!important;min-width:0!important}
body.clean-design #main-content#main-content#main-content .webshop-carousel::after{display:none!important}
body.clean-design #main-content#main-content#main-content :is(.home-area-project-copy,.concept-card-copy,.web-project-copy){display:flex!important;flex-direction:column!important;gap:15px!important;flex:1!important;padding:22px 8px 12px!important;text-align:left!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.clean-design #main-content#main-content#main-content .webshop-cases-grid article>a>div:not(.real-device-gallery-stage){padding:22px 8px 12px!important;background:transparent!important}
body.clean-design #main-content#main-content#main-content :is(.home-area-project-copy,.concept-card-copy,.web-project-copy) :is(h2,h3),body.clean-design #main-content#main-content#main-content .webshop-cases-grid h3{font-size:clamp(20px,1.9vw,26px)!important;line-height:1.25!important;letter-spacing:-.025em!important;margin:0!important;color:#153f47!important}
body.clean-design #main-content#main-content#main-content :is(.home-area-project-copy,.concept-card-copy,.web-project-copy) p,body.clean-design #main-content#main-content#main-content .webshop-cases-grid article p{display:block!important;font-size:15px!important;line-height:1.7!important;color:#526d71!important;margin:0!important}
body.clean-design #main-content#main-content#main-content :is(.home-area-project-link,.concept-card-link,.web-project-link){display:inline-flex!important;align-self:flex-start!important;margin-top:auto!important;padding:9px 0 0!important;min-height:0!important;font-size:14px!important;font-weight:600!important;line-height:1.6!important;text-decoration:underline!important;text-underline-offset:5px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#153f47!important}
body.clean-design #main-content#main-content#main-content .webshop-cases-grid article>a>div>span{display:inline-block!important;margin-top:17px!important;font-size:14px!important}
body.clean-design #main-content#main-content#main-content .webshop-cases-grid .real-device-gallery-stage{padding:0!important}
@media(max-width:1000px){
 body.clean-design #main-content#main-content#main-content .home-area-project-track{grid-auto-columns:calc((100% - 24px)/2)!important;gap:24px!important}
 body.clean-design #main-content#main-content#main-content #projektgalleri .concept-card,body.clean-design #main-content#main-content#main-content .webshop-cases-grid article{flex-basis:calc((100% - 28px)/2)!important}
 body.clean-design #main-content#main-content#main-content :is(.software-project-grid,.web-project-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:680px){
 body.clean-design #main-content#main-content#main-content .home-area-project-track{grid-auto-columns:100%!important;gap:20px!important}
 body.clean-design #main-content#main-content#main-content #projektgalleri .concept-card,body.clean-design #main-content#main-content#main-content .webshop-cases-grid article{flex-basis:100%!important}
 body.clean-design #main-content#main-content#main-content :is(.software-project-grid,.web-project-grid){grid-template-columns:minmax(0,1fr)!important}
}

/* Give both device types the same space above their project copy. */
body.clean-design #main-content#main-content#main-content .home-area-project-photo .real-device-gallery-stage {
  aspect-ratio: 1.48 !important;
}

body.clean-design #main-content#main-content#main-content .home-area-project-photo .real-device-gallery-stage .real-device.real-phone {
  width: 44% !important;
  max-width: none !important;
}

body.clean-design #main-content#main-content#main-content .home-area-project-copy {
  text-align: center !important;
}

body.clean-design #main-content#main-content#main-content .home-area-project-copy .home-area-project-link {
  align-self: center !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px !important;
  padding: 9px 20px !important;
  border: 1px solid #153f47;
  border-radius: 999px;
  background: #153f47;
  color: #fff !important;
  text-decoration: none !important;
}

body.clean-design #main-content#main-content#main-content .home-area-project:is(:hover, :focus-visible) .home-area-project-link {
  background: #245b62;
  border-color: #245b62;
}
body.clean-design #main-content#main-content#main-content .home-area-project:focus-visible .home-area-project-link {
  outline: 2px solid #153f47;
  outline-offset: 3px;
}

/* The desktop hardware asset has white space around the bezel. */
body.clean-design #main-content#main-content#main-content
  .home-area-project-photo .real-device-gallery-stage .real-device.real-computer {
  flex: 0 0 118%;
  width: 118% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

@media (min-width: 1001px) {
  body.clean-design #main-content#main-content#main-content
    .home-area-project-track:has(.real-computer) {
    --project-monitor-gap: 12px;
    gap: var(--project-monitor-gap) !important;
    grid-auto-columns: calc((100% - 2 * var(--project-monitor-gap)) / 3) !important;
  }
}

@media (min-width: 1001px) {
  body.clean-design #main-content#main-content#main-content
    .home-area-project-track:has(.real-computer) {
    padding-top: clamp(48px, 5vw, 72px) !important;
  }

  body.clean-design #main-content#main-content#main-content
    .home-area-project-centered .home-area-project-photo:has(.real-computer) {
    z-index: 1;
    /* Scale around the display midpoint, above the foot. */
    transform-origin: 50% 39%;
    transform: scale(1.4);
  }

  body.clean-design #main-content#main-content#main-content
    .home-area-project-track:has(.real-computer) .home-area-project-photo {
    margin-bottom: clamp(32px, 4vw, 64px);
  }
}

@media (min-width: 1001px) and (prefers-reduced-motion: no-preference) {
  .home-area-project-photo:has(.real-computer) {
    transition: transform 180ms ease;
  }
}

.home-area-project-track.is-dragging-projects {
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}

/* Extend the artwork's edge color across the monitor without cropping the interface. */
body.clean-design #main-content#main-content#main-content #arbejdsomraader
  .home-area-project-photo .real-computer img.real-device-content[src^="/assets/concepts/"] {
  background-color: #e8efeb !important;
}

body.clean-design #main-content#main-content#main-content #arbejdsomraader
  .home-area-project-photo .real-computer img.real-device-content[src^="/projekteksempler/"] {
  background-color: #dce8e1 !important;
}
