/* Trade × city list. Homepage colors, rows instead of letter cards. */

.tc-intro { padding: 28px 0 8px; }
.crumb { margin-bottom: 14px; color: var(--muted); font-size: 14px; }
.crumb a { color: var(--green-deep); text-decoration: none; font-weight: 700; }
.crumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tc-intro h1 { max-width: 16em; }
.tc-intro .lead { max-width: 46em; margin-top: 12px; color: var(--muted); }
.tc-count {
  margin-top: 14px;
  color: var(--ink);
}
.tc-count strong {
  color: var(--green);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
}

header.site nav.desk a[aria-current="page"],
header.site nav.mob a[aria-current="page"] { color: var(--ink); }

.tc-note {
  margin-top: 22px;
  padding: 18px 22px 8px;
  border-radius: 18px;
  background: var(--card);
}
.tc-note h2 { margin-bottom: 10px; font-size: clamp(24px, 2.6vw, 32px); }
.tc-note p { margin: 0 0 12px; color: var(--muted); }
.tc-note a { color: var(--green-deep); font-weight: 700; }

.tc-list { padding: 22px 0 8px; }
.list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 8px;
}
.filters {
  display: inline-flex;
  gap: 4px;
  margin: 0 0 12px;
  padding: 4px;
  border-radius: 999px;
  background: var(--card);
}
.list-toolbar .filters { margin: 0; }
.filters button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 8px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}
.filters button.is-on { background: var(--ink); color: #fff; }
.area-filter { display: inline-flex; align-items: center; gap: 8px; }
.area-filter > span {
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 750;
}
.area-pick { position: relative; }
.area-choice {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(260px, calc(100vw - 48px));
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.area-choice .choice-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.area-choice i {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1.5px solid var(--green);
  border-bottom: 1.5px solid var(--green);
  transform: rotate(45deg);
}
.area-pick.is-open .area-choice i { margin-top: 3px; transform: rotate(-135deg); }
.area-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  width: min(320px, calc(100vw - 32px));
  max-height: min(360px, 60vh);
  overflow: auto;
  margin: 0;
  padding: 8px;
  list-style: none;
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.area-pick.is-open .area-panel { display: block; }
.area-panel .search-group {
  padding: 8px 10px 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.area-panel button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.area-panel button:hover { background: var(--mint); }
.area-panel button.is-on { background: var(--green); color: #fff; }
.list-empty { margin: 12px 0; color: var(--muted); }

.tc-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
  padding: 0;
  background: transparent;
}
.tc-rows > .filters,
.tc-rows > .list-toolbar,
.tc-rows > .list-empty { grid-column: 1 / -1; }
.info-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 8px 24px rgba(23, 48, 40, 0.05);
}
.info-card.is-off { display: none; }
.info-card > .logo-mark {
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  background: var(--mint);
  color: var(--green-deep);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}
.info-card > .logo-mark img,
.info-card > .logo-mark picture {
  width: 84px;
  height: 84px;
}
.info-card > .logo-mark img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  background: #fff;
}
.info-card > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.info-card h3 {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.info-card a.name { color: inherit; text-decoration: none; }
.info-card a.name:hover { color: var(--green); }
.info-card .facts { display: flex; flex-direction: column; gap: 2px; }
.info-card .facts p { margin: 0; color: var(--muted); font-size: 14.5px; }
.info-card a.contact { color: var(--green-deep); font-weight: 750; text-decoration: none; }
.info-card a.contact:hover { text-decoration: underline; text-underline-offset: 3px; }

.tc-faq { margin-top: 28px; }
.tc-faq > h2 { margin-bottom: 12px; font-size: clamp(26px, 3vw, 34px); }
.tc-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.tc-links a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--card);
  text-decoration: none;
}
.tc-links a:hover { background: var(--mint); }
.tc-links strong { font-size: 16px; }
.tc-links span { color: var(--muted); font-size: 14px; }
.tc-near { margin-top: 16px; color: var(--muted); font-size: 15px; }
.tc-near a { color: var(--green-deep); font-weight: 700; text-decoration: none; }
.tc-near a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 800px) {
  .tc-rows,
  .tc-links { grid-template-columns: 1fr; }
}
