/*
 * Static GZ-Amel export: narrow-screen corrections.
 * The historic theme only adjusts footer columns below 800px; desktop layout
 * rules otherwise remain active.  This file deliberately leaves the original
 * theme untouched and applies only to viewports up to 600px.
 */
@media screen and (max-width: 600px) {
  html,
  body {
    overflow-x: hidden;
  }

  .navigation-top,
  .site-navigation-fixed {
    position: relative !important;
    top: auto;
    height: auto;
    min-height: 5.5rem;
  }

  .menu-toggle {
    display: inline-block;
    margin: 1.25rem auto;
  }

  .custom-header {
    top: 0.5rem;
    right: 0.75rem;
    left: auto;
    margin: 0;
    width: auto;
    z-index: 112;
  }

  .custom-logo-link img {
    display: block;
    width: auto;
    max-width: 34vw;
    max-height: 4.25rem;
  }

  .single-featured-image-header {
    height: 15rem;
    margin: 0;
  }

  .single-featured-image-header img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
  }

  .single-featured-image-header + .site-content-contain .entry-header {
    position: static;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 1.75rem 2rem 1.25rem;
    background: #fff;
  }

  .single-featured-image-header + .site-content-contain .entry-title {
    margin: 0;
    color: #202124;
    font-size: clamp(2rem, 10vw, 2.8rem);
    line-height: 1.12;
    letter-spacing: 0;
    overflow-wrap: normal;
    word-break: normal;
  }

  .single-featured-image-header + .site-content-contain .entry-title h3 {
    display: block;
    margin: 1rem 0 0;
    color: #54565a;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.35;
  }

  #content .wrap,
  .site-content-contain .wrap {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding-right: 2rem;
    padding-left: 2rem;
  }

  article,
  .entry-content,
  .entry-header {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
  }

  .entry-content img {
    height: auto;
    max-width: 100%;
  }

  #cookie-law-info-bar {
    box-sizing: border-box;
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    line-height: 1.45;
  }
}
