/* Single-copy inventory rail. Retains the existing Map Share glass/orange style. */
/* Keep the existing destination heading visible beneath JustNews' fixed header. */
#modules-49 { scroll-margin-top: 90px; }
.twj-map-showcase .msh-blob { animation: none; }
.twj-map-showcase .twj-showcase-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: none;
  overflow-anchor: none;
  scroll-behavior: auto;
  scroll-padding-inline: 12px;
  padding: 16px 12px 28px;
  border-radius: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.twj-map-showcase .twj-showcase-scroll::-webkit-scrollbar { display: none; width: 0; height: 0; }
/* Native focus scrolling must not snap a partially visible link back out of view. */
.twj-map-showcase .twj-showcase-scroll:focus-within { scroll-snap-type: none; }
.twj-map-showcase .twj-showcase-list {
  display: flex;
  gap: var(--msh-gap);
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.twj-map-showcase .msh-card-item {
  box-sizing: border-box;
  width: 280px;
  max-width: 100%;
  height: auto;
  min-height: 225px;
  scroll-snap-align: start;
  list-style: none;
  margin: 0;
}
.twj-map-showcase .msh-card-glass {
  box-sizing: border-box;
  text-align: left;
  transition: border-color .2s, box-shadow .2s;
}
.twj-map-showcase .msh-card-item:hover .msh-card-glass {
  transform: none;
}
.twj-map-showcase .twj-showcase-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 16px;
}
.twj-map-showcase .msh-typ-badge {
  color: #a34a14;
  margin: 0;
  font-size: 11px;
}
.twj-map-showcase .twj-showcase-provenance {
  color: #666;
  font-size: 12px;
}
.twj-map-showcase .msh-map-title {
  display: block;
  overflow: visible;
  overflow-wrap: anywhere;
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 8px;
}
.twj-map-showcase .twj-showcase-destination {
  color: #666;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}
.twj-map-showcase .msh-map-desc { overflow-wrap: anywhere; }
.twj-map-showcase .twj-showcase-map-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  padding: 8px 0;
  margin-top: auto;
  color: #5b5652;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.twj-map-showcase .msh-cta-wrapper { margin-top: 20px; }
.twj-map-showcase .msh-cta-wrapper .msh-cta-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 8px;
  margin-top: 0;
  font-size: 13px;
}
.twj-map-showcase .msh-cta-hint a { color: #98420f; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.twj-map-showcase a:focus-visible,
.twj-map-showcase .twj-showcase-scroll:focus-visible {
  outline: 3px solid #8d3d0e;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .twj-map-showcase { padding: 40px 0; }
  .twj-map-showcase .msh-content-layer { padding-inline: 20px; }
  .twj-map-showcase .msh-header-group { margin-bottom: 24px; }
  .twj-map-showcase .msh-section-subtitle { font-size: 16px; }
  .twj-map-showcase .twj-showcase-scroll {
    max-height: 180px;
    padding: 0 4px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: auto;
    scroll-snap-type: none;
    scroll-padding: 0;
    border-radius: 0;
    scrollbar-width: none;
  }
  .twj-map-showcase .twj-showcase-list { display: block; }
  .twj-map-showcase .msh-card-item {
    width: 100%;
    min-height: 0;
    height: 60px;
    perspective: none;
  }
  .twj-map-showcase .msh-card-glass,
  .twj-map-showcase .msh-card-item:hover .msh-card-glass {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "title link" "meta link";
    align-content: center;
    column-gap: 12px;
    padding: 6px 2px;
    border: 0;
    border-bottom: 1px solid rgba(152,66,15,.12);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: none;
  }
  .twj-map-showcase .msh-map-title {
    grid-area: title;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .twj-map-showcase .twj-showcase-meta { grid-area: meta; margin: 0; }
  .twj-map-showcase .twj-showcase-provenance { font-size: 11px; line-height: 16px; }
  .twj-map-showcase .msh-typ-badge,
  .twj-map-showcase .twj-showcase-destination,
  .twj-map-showcase .msh-map-desc { display: none; }
  .twj-map-showcase .twj-showcase-map-link {
    grid-area: link;
    align-self: center;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 12px;
    white-space: nowrap;
    min-height: 44px;
  }
  .twj-map-showcase .msh-cta-wrapper { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .twj-map-showcase *, .twj-map-showcase *::before, .twj-map-showcase *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
