/*
 * PASS THAT HAZE – Amsterdam Stadsgids PREVIEW V7.0.8.9
 * ONLY responsive order of the existing preview's right column.
 * Desktop (>900px), map, cards, menus, CMS and archive page unchanged.
 */
@media (max-width: 900px) {
  /* The right column is moved after the existing featured-shop section by
     the preview-only V7.0.8.9 script. Preserve the site's .wrap gutters. */
  .pth-ams-v7082:not(.pth-ams-archive) > .pth-ams-sidebar-mobile-last {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
    width: min(1390px, calc(100% - 42px));
    min-width: 0;
    margin: 0 auto;
    padding: 24px 0 8px;
    border-top: 1px solid #dce6dc;
  }
  .pth-ams-v7082:not(.pth-ams-archive) > .pth-ams-sidebar-mobile-last .pth-ams-index {
    order: 1;
    width: 100%;
  }
  .pth-ams-v7082:not(.pth-ams-archive) > .pth-ams-sidebar-mobile-last .pth-ams-brandpanel {
    order: 2;
    width: 100%;
  }
  .pth-ams-v7082:not(.pth-ams-archive) > .pth-ams-sidebar-mobile-last .pth-ams-tip {
    order: 3;
    width: 100%;
  }
}
@media (max-width: 640px) {
  /* The featured-grid limit of six cards is already supplied by V7.0.8.7.
     Let the existing 'Bekijk alle coffeeshops' link follow those six cards
     as a full-width action, instead of a seventh half-width tile. */
  .pth-ams-v7082:not(.pth-ams-archive) .pth-ams-feature-grid > .pth-ams-feature-all {
    grid-column: 1 / -1;
    min-height: 58px;
    flex-direction: row;
    gap: 12px;
  }
  .pth-ams-v7082:not(.pth-ams-archive) .pth-ams-featured .pth-ams-section-head > a {
    display: none;
  }
  .pth-ams-v7082:not(.pth-ams-archive) > .pth-ams-sidebar-mobile-last {
    width: calc(100% - 34px);
  }
}
