/*
 * Supplio v2: industry pages /branze/ (#542). Hub + one page per NACE division.
 * Depends on css/v2-tokens.css and css/v2-landing.css (nav, buttons, section, footer, dark CTA).
 * Selectors carry a leading .v2 so they outrank the reset in v2-tokens.css (.v2 h2, .v2 p).
 * Everything here is prefixed .ind- so it cannot touch another page.
 */

.v2 .ind-wrap { max-width: 880px; margin: 0 auto; }

.v2 .ind-crumbs {
  font-size: 12.5px;
  color: var(--v2-mute);
  margin: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: center;
}
.v2 .ind-crumbs a { color: var(--v2-soft); text-decoration: none; }
.v2 .ind-crumbs a:hover { color: var(--v2-mint); }

.v2 .ind-h1 {
  font-size: clamp(26px, 4.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0 0 16px;
  color: var(--v2-ink);
  overflow-wrap: anywhere;
}

.v2 .ind-lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--v2-soft);
  margin: 0 0 20px;
  max-width: 720px;
}

.v2 .ind-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.v2 .ind-meta li {
  font-family: var(--v2-font-mono);
  font-size: 11.5px;
  color: var(--v2-soft);
  background: var(--v2-mint-bg);
  border: 1px solid var(--v2-hair);
  border-radius: var(--v2-radius-pill);
  padding: 5px 12px;
}

.v2 .ind-h2 {
  font-size: clamp(19px, 2.6vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 36px 0 14px;
  color: var(--v2-ink);
}

.v2 .ind-card {
  background: var(--v2-paper);
  border: 1px solid var(--v2-hair);
  border-radius: var(--v2-radius-lg);
  overflow: hidden;
}

/* Figures table: two columns, label (+ where it comes from) and value (+ the EUR original). */
.v2 .ind-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.v2 .ind-table caption { text-align: left; padding: 14px 18px; font-size: 12px; color: var(--v2-mute); caption-side: bottom; }
.v2 .ind-table th, .v2 .ind-table td { padding: 14px 18px; vertical-align: top; border-top: 1px solid var(--v2-hair-soft); text-align: left; }
.v2 .ind-table tr:first-child th, .v2 .ind-table tr:first-child td { border-top: 0; }
.v2 .ind-table th { font-weight: 600; color: var(--v2-ink); width: 52%; }
.v2 .ind-table td { text-align: right; font-weight: 700; color: var(--v2-ink); }
.v2 .ind-sub { display: block; font-size: 11.5px; font-weight: 400; color: var(--v2-mute); margin-top: 3px; line-height: 1.4; }
.v2 .ind-eur { display: block; font-size: 11.5px; font-weight: 400; color: var(--v2-soft); margin-top: 3px; font-family: var(--v2-font-mono); }
.v2 .ind-val { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.v2 .ind-note {
  background: var(--v2-paper-alt);
  border: 1px solid var(--v2-hair);
  border-left: 3px solid var(--v2-mint);
  border-radius: var(--v2-radius-lg);
  padding: 16px 18px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--v2-soft);
  margin: 0 0 12px;
}
.v2 .ind-note strong { color: var(--v2-ink); }
.v2 .ind-note a, .v2 .ind-text a { color: var(--v2-mint); }

.v2 .ind-text { font-size: 14px; line-height: 1.65; color: var(--v2-soft); margin: 0 0 12px; max-width: 760px; }
.v2 .ind-text + .ind-text { margin-top: 0; }

.v2 .ind-source { font-size: 13px; line-height: 1.6; color: var(--v2-soft); }
.v2 .ind-source dt { font-weight: 700; color: var(--v2-ink); margin-top: 10px; }
.v2 .ind-source dd { margin: 2px 0 0; overflow-wrap: anywhere; }

/* Hub */
.v2 .ind-section { margin: 0 0 28px; }
.v2 .ind-section h2 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--v2-ink);
  margin: 0 0 10px;
  max-width: none;
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.v2 .ind-section-code {
  font-family: var(--v2-font-mono);
  font-size: 11px;
  color: var(--v2-mint);
  background: var(--v2-mint-bg);
  border-radius: var(--v2-radius-sm);
  padding: 2px 7px;
  flex: none;
}
.v2 .ind-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.v2 .ind-list li { margin: 0; }
.v2 .ind-item {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 11px 14px;
  border: 1px solid var(--v2-hair);
  border-radius: var(--v2-radius-md);
  background: var(--v2-paper);
  color: var(--v2-ink);
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.4;
  height: 100%;
  box-sizing: border-box;
}
.v2 a.ind-item:hover { border-color: var(--v2-mint); background: var(--v2-mint-bg); }
.v2 .ind-code { font-family: var(--v2-font-mono); font-size: 11.5px; font-weight: 700; color: var(--v2-mint); flex: none; }
.v2 .ind-item--na { color: var(--v2-mute); background: var(--v2-paper-alt); }
.v2 .ind-item--na .ind-code { color: var(--v2-mute); }
.v2 .ind-na { display: block; font-size: 11px; color: var(--v2-mute); margin-top: 2px; }
.v2 .ind-item > span:last-child { min-width: 0; overflow-wrap: anywhere; }

.v2 .ind-empty {
  background: var(--v2-amber-bg);
  border: 1px solid var(--v2-amber);
  border-radius: var(--v2-radius-lg);
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--v2-ink);
}

/* CTA: the NIP check */
.v2 .ind-cta { margin-top: 8px; }
.v2 .ind-cta-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.v2 .ind-cta-form input[type="text"] {
  flex: 1 1 220px;
  max-width: 320px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--v2-hair);
  border-radius: var(--v2-radius-md);
  font-family: var(--v2-font-mono);
  font-size: 16px;
  background: var(--v2-paper);
  color: var(--v2-ink);
  box-sizing: border-box;
}
.v2 .ind-cta-sub { color: var(--v2-mint-soft); font-size: 13.5px; margin: 0 0 14px; line-height: 1.5; }

@media (max-width: 640px) {
  .v2 .ind-list { grid-template-columns: minmax(0, 1fr); }
  .v2 .ind-table th, .v2 .ind-table td { padding: 12px 14px; }
  .v2 .ind-table th { width: 48%; }
  .v2 .ind-cta-form input[type="text"] { max-width: none; }
}

/* CTA heading: .v2-section h2 gives it max-width 720px and no auto margin, which left it hanging to the
   left of the centred block. Centre the box itself, and let the words balance across lines. */
.v2 .ind-cta .v2-cta-dark h2 { margin: 0 auto 14px; max-width: 720px; text-align: center; text-wrap: balance; }

.v2 .ind-note--after-table { margin-top: 12px; }
