/* Distributor list. The stylesheet link is emitted by the map section and by
   the list body, and a static flag keeps a single link. Country labels are
   17px. Inside the SVG viewBox those are user units, so the label scales with
   the map. The frame is 1000x440; max-height matches that frame. */
.dist-region { text-align: left; }
.dist-basis,
.dist-region__where { font-size: 14px; color: #cfcfcf; }
.dist-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0.75rem 0 0.5rem;
}
.dist-list .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  color: #fff;
  background: transparent;
  border: 1px solid #ffc107;
  border-radius: 12px;
  text-decoration: none;
  transition: none;
}
.dist-list .chip:hover,
.dist-list .chip:focus,
.dist-list .chip:active { color: #fff; text-decoration: none; }
.dist-list .chip:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.dist-region:target > h2 {
  text-decoration: underline;
  text-decoration-color: #ffc107;
  text-underline-offset: 4px;
}
.dist-map { margin: 0 auto 1rem; }
.dist-map svg {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 440px;
  margin: 0 auto;
}
.dist-map a.wm-link { display: inline; cursor: pointer; transition: none; }
.wm-land { fill: #3a3f47; stroke: none; pointer-events: none; }
.wm-hit { fill: transparent; pointer-events: all; }
.wm-marker { fill: #ffc107; stroke: #111; stroke-width: 2; }
.wm-link:hover .wm-marker,
.wm-link:focus-visible .wm-marker { fill: #ffd54f; }
.wm-link:focus-visible .wm-marker { stroke: #fff; stroke-width: 2; }
.wm-link:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.wm-label {
  fill: #e6e6e6;
  font-family: "Inter", sans-serif, "Meiryo UI";
  font-size: 17px;
  paint-order: stroke;
  stroke: #111;
  stroke-width: 3px;
  stroke-linejoin: round;
}
.wm-link:hover .wm-label,
.wm-link:focus-visible .wm-label { font-weight: 700; }
.dist-legend { margin: 0.5rem 0 0; font-size: 14px; color: #cfcfcf; }
.dist-legend__swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 0.4em;
  vertical-align: -1px;
  background: #ffc107;
  border: 2px solid #111;
  border-radius: 50%;
}
.d-card { padding: 1.25rem 0 1.5rem; }
.d-card + .d-card { border-top: 1px solid rgba(255, 255, 255, 0.15); }
.d-card--preview,
.dist-region--preview { position: relative; }
.dist-preview-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  padding: 2px 8px;
  background: #ffc107;
  color: #111;
  font-weight: 700;
}
.d-card__logo {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 80px;
  margin: 0 auto 0.75rem;
}
.d-card__plate { background: #fff; border-radius: 8px; padding: 8px; }
.d-card__logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.d-card__desc { font-size: 16px; line-height: 1.6; }
.d-card__meta,
.d-card__profile,
.d-card__links { font-size: 14px; }
.d-card__address,
.d-card__links,
.d-card__links a,
.dist-direct,
.dist-direct a { overflow-wrap: anywhere; }
.d-card__links a,
.dist-direct a,
.dist-other a { transition: none; }
.d-card__links a:focus-visible,
.dist-direct a:focus-visible,
.dist-other a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 992px) {
  .d-card {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    column-gap: 24px;
    align-items: start;
  }
  .d-card__logo { margin: 0; }
}
@media (max-width: 991.98px) {
  .d-card__logo { width: 160px; height: 64px; }
  .dist-preview-ribbon {
    position: static;
    display: inline-block;
    margin: 0 0 .5rem;
  }
}
@media (max-width: 767.98px) {
  .dist-map svg,
  .dist-legend { display: none; }
  .d-card__links a,
  .dist-direct a,
  .dist-other a {
    display: inline-block;
    min-height: 44px;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }
}
