.village-construction-strip {
  width: 100vw;
  max-width: none;
  margin: 32px calc(50% - 50vw);
  height: 180px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-behavior: auto !important;
  overflow-anchor: none;
  overscroll-behavior-x: contain;
}
.village-construction-strip::-webkit-scrollbar { display: none; }
.village-construction-strip__track { display: flex; width: max-content; height: 180px; gap: 12px; }
.village-construction-strip__card {
  position: relative;
  display: block;
  flex: 0 0 264px;
  width: 264px;
  height: 180px;
  overflow: hidden;
  background: #234331;
  color: #fff !important;
  text-decoration: none !important;
  isolation: isolate;
  border-radius: 10px;
}
.village-construction-strip__card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .65s ease;
}
.village-construction-strip__card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8,24,18,.75), rgba(8,24,18,.28) 42%, rgba(8,24,18,.04) 65%, rgba(8,24,18,.24));
  pointer-events: none;
}
.village-construction-strip__caption {
  position: absolute;
  top: 15px;
  left: 18px;
  right: 18px;
  z-index: 2;

  text-shadow: 0 1px 2px #0003;
  overflow-wrap: break-word;

}
.village-construction-strip__card:hover img,
.village-construction-strip__card:focus-visible img { transform: scale(1.07); }
.village-construction-strip__card:focus-visible { outline: 3px solid #a7e777; outline-offset: -3px; }

.village-construction-strip__title {
  display: block;
  font: 400 19px/1.04 'Roboto Condensed', sans-serif;
  text-wrap: pretty;
}
.village-construction-strip__action {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #264334;
  transition: background-color .25s ease, transform .3s ease;
}
.village-construction-strip__action svg { display: block; width: 18px; height: 18px; }
.village-construction-strip__card:hover .village-construction-strip__action,
.village-construction-strip__card:focus-visible .village-construction-strip__action {
  background: #d8eed7;
  transform: translateX(2px);
}
.village-construction-strip__card_long .village-construction-strip__title { font-size: 18px; }
@media (max-width: 600px) {
  .village-construction-strip__card { width: 230px; flex-basis: 230px; }
  .village-construction-strip__title { font-size: 19px; }
  .village-construction-strip__card_long .village-construction-strip__title { font-size: 18px; }
}

/* Detail pages share the map column and leave the sticky manager unobstructed. */
.village-construction-strip--contained {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 0 10px;
}
@media (max-width: 900px) {
  .village-construction-strip--contained {
    width: 100vw;
    max-width: none;
    margin-inline: calc(50% - 50vw);
  }
}
/* Safari can drop static overlays while compositing a scaled image inside
   the detail page's clipped horizontal scroller. Keep the overlays composited
   throughout both directions of the hover transition. */
.village-construction-strip--contained .village-construction-strip__card::after,
.village-construction-strip--contained .village-construction-strip__caption,
.village-construction-strip--contained .village-construction-strip__action {
  transform: translateZ(0);
}
.village-construction-strip--contained .village-construction-strip__card:hover .village-construction-strip__action,
.village-construction-strip--contained .village-construction-strip__card:focus-visible .village-construction-strip__action {
  transform: translate3d(2px, 0, 0);
}
