/* Isolated styling for the Sambal Kampioenschap results fragment. */
.sambal-results {
  --results-brand: #c22608;
  --results-ink: #292522;
  --results-muted: #665e59;
  --results-line: #eadfda;
  box-sizing: border-box;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px) clamp(16px, 4vw, 44px) 60px;
  color: var(--results-ink);
  font: 16px/1.65 Verdana, Arial, Helvetica, sans-serif;
}

.sambal-results *,
.sambal-results *::before,
.sambal-results *::after {
  box-sizing: border-box;
}

.sambal-results h1,
.sambal-results h2,
.sambal-results h3,
.sambal-results p,
.sambal-results dl,
.sambal-results dd {
  margin: 0;
}

.sambal-results h1,
.sambal-results h2,
.sambal-results h3 {
  color: #241e1b;
  font-weight: 700;
}

.sambal-results h1 {
  max-width: 18ch;
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.sambal-results h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.sambal-results h3 {
  font-size: 1.05rem;
  line-height: 1.4;
}

.sambal-results__header {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--results-line);
}

.sambal-results__eyebrow {
  margin-bottom: 7px;
  color: #a51f08;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.sambal-results__intro {
  max-width: 68ch;
  margin-top: 16px;
  color: #514943;
  font-size: 1.06rem;
}

.sambal-results__status {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 15px;
  margin-bottom: 42px;
  padding: 20px;
  border: 1px solid #e7c7b9;
  border-left: 5px solid var(--results-brand);
  border-radius: 10px;
  background: #fff8f4;
}

.sambal-results__status h2 {
  margin: 0 0 6px;
  font-size: 1.12rem;
}

.sambal-results__status p {
  max-width: 78ch;
  color: #514943;
}

.sambal-results__status-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid #a51f08;
  border-radius: 50%;
  color: #8b1c05;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.sambal-results__section {
  margin: 0 0 44px;
}

.sambal-results__section-heading {
  display: flex;
  margin-bottom: 18px;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.sambal-results__section-heading .sambal-results__eyebrow {
  margin-bottom: 4px;
}

.sambal-results__availability {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid #d5c7c0;
  border-radius: 999px;
  background: #f8f5f3;
  color: #514943;
  font-size: 0.78rem;
  font-weight: 700;
}

.sambal-results__summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sambal-results__summary-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--results-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px rgb(42 30 23 / 4%);
}

.sambal-results__summary-card dt {
  color: var(--results-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.sambal-results__summary-card dd {
  margin-top: 10px;
  color: #352e2a;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
}

.sambal-results__summary-card p,
.sambal-results__section-note {
  margin-top: 8px;
  color: var(--results-muted);
  font-size: 0.87rem;
  line-height: 1.5;
}

.sambal-results__unavailable {
  color: #514943 !important;
}

.sambal-results__section-note {
  max-width: 34ch;
  margin: 0;
  text-align: right;
}

.sambal-results__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--results-line);
  border-radius: 10px;
  background: #fff;
}

.sambal-results__table-wrap:focus-visible,
.sambal-results a:focus-visible {
  outline: 3px solid #7c3c25;
  outline-offset: 3px;
}

.sambal-results__table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

.sambal-results__table caption {
  padding: 14px 16px;
  color: var(--results-muted);
  font-size: 0.85rem;
  text-align: left;
}

.sambal-results__table th,
.sambal-results__table td {
  padding: 13px 14px;
  border-top: 1px solid #eee6e2;
  vertical-align: top;
}

.sambal-results__table th {
  background: #f8f5f3;
  color: #342c28;
  font-size: 0.8rem;
  line-height: 1.4;
}

.sambal-results__empty-cell {
  padding: 26px 18px !important;
  color: #514943;
  text-align: center;
}

.sambal-results__empty-cell strong,
.sambal-results__empty-cell span {
  display: block;
}

.sambal-results__empty-cell span {
  margin-top: 5px;
  color: var(--results-muted);
  font-size: 0.9rem;
}

.sambal-results__footnote {
  margin-top: 10px !important;
  color: var(--results-muted);
  font-size: 0.82rem;
}

.sambal-results__metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sambal-results__metric-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--results-line);
  border-radius: 10px;
  background: #fffdfc;
}

.sambal-results__metric-card p {
  margin-top: 11px;
  color: #514943;
  font-size: 0.9rem;
}

.sambal-results__metric-card .sambal-results__formula {
  padding: 10px 12px;
  border-radius: 6px;
  background: #f6f1ee;
  color: #352e2a;
  overflow-wrap: anywhere;
}

.sambal-results__formula code {
  font: 0.85rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.sambal-results__quality {
  padding: clamp(20px, 4vw, 30px);
  border-radius: 12px;
  background: #f6f3f1;
}

.sambal-results__quality h2 {
  margin-bottom: 12px;
}

.sambal-results__quality > p:not(.sambal-results__eyebrow) {
  max-width: 82ch;
  color: #514943;
}

.sambal-results__quality > p + p {
  margin-top: 12px !important;
}

.sambal-results__quality .sambal-results__source-note {
  padding-top: 12px;
  border-top: 1px solid #e1d8d3;
  color: #514943;
  font-size: 0.88rem;
}

.sambal-results__backlink {
  padding-top: 8px;
  font-weight: 700;
}

.sambal-results a {
  color: #a51f08;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.sambal-results a:hover {
  color: #741604;
}

@media (max-width: 760px) {
  .sambal-results__summary-grid,
  .sambal-results__metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .sambal-results__status {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }

  .sambal-results__section-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .sambal-results__section-note {
    max-width: none;
    text-align: left;
  }

  .sambal-results__summary-grid,
  .sambal-results__metric-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sambal-results *,
  .sambal-results *::before,
  .sambal-results *::after {
    scroll-behavior: auto !important;
  }
}
