/* Desktop announcement over the landscape; the mobile layout stays unchanged. */
.home .site-header .weather-source { display: none; }
.home .weather-mobile-credit {
  display: block;
  padding-bottom: 16px;
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
}
.home .weather-mobile-credit a {
  display: inline;
  min-height: 0;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 981px) {
  .home .snow-surface { --photo-height: 230px; }
  .home .snow-surface[data-home-message] {
    --photo-height: max(300px, calc(var(--home-message-height, 0px) + 75px));
  }
  .home .main-photo > img { object-position: 45% 50%; }
  .home .image-tools { margin-top: -16px; }
  .home .image-tools-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-width: 440px;
    row-gap: 18px;
    padding-top: 8px;
    padding-bottom: 8px;
    justify-items: center;
    text-align: center;
  }
  .home .image-tools a.trail-status {
    grid-column: 1;
    grid-row: 1;
    justify-content: center;
    transform: none;
    margin: 0;
    font-size: 24px;
  }
  .home .image-tools .home-map-entry {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    padding: 0;
  }
  .home .image-tools .home-map-link {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
  .home .image-tools .home-map-link .trail-mini-map {
    width: 180px;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .home .image-tools .home-map-copy { padding: 12px 16px; }
  .home .image-tools .home-map-copy strong { font-size: 16px; }
  .home .image-tools .home-map-copy small { font-size: 11px; margin-top: 2px; }
  .home .image-tools .hero-actions-wrap {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    max-width: 440px;
  }
  .home .image-tools .hero-actions .button {
    min-width: 0;
    font-size: 12px;
    padding: 15px 30px;
  }
  .home .image-tools .board-home-message {
    position: absolute;
    grid-column: 1;
    grid-row: 2;
    z-index: 5;
    top: calc(20px - var(--photo-height));
    right: calc(50% - 50vw + 40px);
    display: block;
    width: 340px;
    max-width: none;
    margin: 0;
    padding: 23px 25px;
    border-radius: 12px;
    background: rgba(24, 51, 65, .94);
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
    text-align: left;
    box-shadow: 0 14px 35px #102b3a26;
  }
  .home .image-tools .board-home-message::before {
    content: 'MELDING FRA STYRET';
    display: block;
    color: #bfddeb;
    font-size: 9px;
    letter-spacing: .14em;
    font-weight: 700;
    margin-bottom: 12px;
  }
  .home .image-tools .board-home-message strong { font-size: 17px; line-height: 1.45; }
  .home .image-tools .board-home-message p {
    font-size: 13px;
    line-height: 1.65;
    margin: 9px 0 12px;
    color: #f0f5f7;
  }
  .home .image-tools .board-home-message time { font-size: 10px; color: #bdd1dc; }
  .home #nyheter { padding-top: 28px; }
}
