/* Guide pages (CountryCountGuideAction): the legal reading page widened to the shared 1440 px grid,
   plus an answer box, key figures, a call to action and a FAQ. */
.ws-guide {
  width: min(90rem, calc(100% - 2 * clamp(1.25rem, 4vw, 3rem)));
}

.ws-guide .ws-legal__document h1,
.ws-guide .ws-legal__document p {
  max-width: none;
}

.ws-guide__breadcrumb {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--ws-ink-soft);
}

.ws-guide__breadcrumb a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--ws-accent-text);
}

.ws-guide__answer {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--ws-accent);
  border-radius: 0.4rem;
  background: var(--ws-surface-raised);
  font-size: 1.08rem;
}

.ws-guide__figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.ws-guide__figures li {
  padding: 0.9rem 1rem;
  border: 1px solid var(--ws-line);
  border-radius: 0.4rem;
  line-height: 1.4;
}

.ws-guide__figures strong {
  display: block;
  font: 700 2rem / 1.1 var(--ws-font-display);
}

.ws-guide__cta {
  margin: 2.5rem 0;
  padding: 1.25rem;
  border-radius: 0.6rem;
  background: var(--ws-surface-raised);
}

.ws-guide__cta h2 {
  margin-top: 0;
}

.ws-guide__cta .button {
  display: inline-flex;
  max-width: 100%;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--ws-accent-text);
  border-radius: 0.75rem;
  background: var(--ws-accent-text);
  color: var(--ws-on-accent);
  font: 600 1rem / 1.4 var(--ws-font-ui);
  text-align: center;
  text-decoration: none;
  white-space: normal;
}

.ws-guide__faq details {
  border-bottom: 1px solid var(--ws-line);
}

.ws-guide__faq summary {
  min-height: 2.75rem;
  padding: 0.75rem 0.25rem;
  cursor: pointer;
  font-weight: 700;
}

.ws-guide__sources {
  padding-left: 1.2rem;
}

.ws-guide .ws-legal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

/* Tables: one surface for every body cell, numbers right-aligned in equal-width digits, a bold total row. */
.ws-guide .ws-legal__table tbody th {
  background: transparent;
}

.ws-guide .ws-legal__table tr:last-child th {
  border-bottom: 0;
}

.ws-guide .ws-legal__table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ws-guide__total th,
.ws-guide__total td {
  font-weight: 700;
  border-top: 2px solid var(--ws-line);
}

/* Phones: guide tables fit the screen instead of scrolling sideways (device QA 2026-11-08). */
.ws-guide .ws-legal__table table {
  min-width: 0;
}
