.zer-event-results,
.zer-rider-profile {
  --zer-accent: #d71920;
  --zer-ink: #111827;
  --zer-muted: #64748b;
  --zer-line: #e2e8f0;
  width: 100%;
  margin: 32px 0;
  color: var(--zer-ink);
  font-size: 14px;
  line-height: 1.4;
}

.zer-event-results *,
.zer-rider-profile * {
  box-sizing: border-box;
}

.entry-content .zer-event-results h2,
.entry-content .zer-rider-profile h2 {
  margin-top: 1.25em;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -.025em;
  line-height: 1.08;
  text-transform: none;
}

.entry-content .zer-event-results h3,
.entry-content .zer-rider-profile h3 {
  margin-top: 1.15em;
  font-size: clamp(18px, 1.8vw, 23px);
  letter-spacing: -.015em;
  line-height: 1.12;
  text-transform: none;
}

.zer-event-meta,
.zer-tabs,
.zer-classes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zer-event-meta {
  margin-bottom: 18px;
  color: var(--zer-muted);
  font-size: 14px;
}

.zer-event-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
}

.zer-tabs {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--zer-line);
}

.zer-tabs a,
.zer-classes a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid var(--zer-line);
  border-radius: 999px;
  color: var(--zer-ink);
  background: #fff;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.entry-content .zer-tabs a,
.entry-content .zer-classes a {
  color: var(--zer-ink);
  text-decoration: none !important;
}

.zer-tabs a.is-active,
.zer-classes a.is-active,
.entry-content .zer-tabs a.is-active,
.entry-content .zer-classes a.is-active {
  color: #fff;
  border-color: var(--zer-accent);
  background: var(--zer-accent);
}

.zer-classes {
  margin-bottom: 18px;
}

.zer-classes a {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 13px;
}

.zer-table-wrap {
  width: 100%;
  overflow: auto;
  border: 1px solid var(--zer-line);
  border-radius: 10px;
  background: #fff;
}

.zer-results-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  table-layout: auto;
}

.zer-overall-results-table {
  min-width: 1040px;
}

.zer-results-table th,
.zer-results-table td {
  padding: 8px 9px;
  border-bottom: 1px solid var(--zer-line);
  text-align: left;
  vertical-align: middle;
}

.zer-results-table th {
  color: #fff;
  background: var(--zer-ink);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.zer-results-table tr:last-child td {
  border-bottom: 0;
}

.entry-content .zer-results-table a,
.zer-results-table a {
  color: inherit;
  font-weight: 800;
  text-decoration: none !important;
  text-underline-offset: initial;
}

.zer-results-table td,
.zer-results-table td a {
  overflow-wrap: anywhere;
}

.zer-place,
.zer-points {
  font-weight: 900;
}

.zer-position-value {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
}

.zer-position-change {
  display: inline-flex;
  min-width: 27px;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.zer-position-change.is-up {
  color: #166534;
  background: #dcfce7;
}

.zer-position-change.is-down {
  color: #b91c1c;
  background: #fee2e2;
}

.zer-position-change.is-same {
  color: #475569;
  background: #e2e8f0;
}

.zer-championship-table {
  min-width: 980px;
}

.zer-event-round-head,
.zer-championship-cell {
  min-width: 104px;
  text-align: center !important;
}

.zer-event-round-head small {
  display: block;
  max-width: 150px;
  margin-top: 4px;
  overflow: hidden;
  color: #cbd5e1;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.zer-championship-result {
  display: inline-grid;
  gap: 2px;
  justify-items: center;
}

.zer-championship-result strong {
  font-size: 15px;
}

.zer-championship-result small,
.zer-no-result {
  color: var(--zer-muted);
  white-space: nowrap;
}

.zer-statistics-head {
  display: flex;
  gap: 12px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 14px;
}

.zer-statistics-head h2,
.zer-statistics-head p {
  margin: 0;
}

.zer-statistics-head p,
.zer-statistics-note {
  color: var(--zer-muted);
  font-size: 13px;
}

.zer-statistics-table {
  min-width: 520px;
}

.zer-statistics-table th:nth-child(3),
.zer-statistics-table th:nth-child(4),
.zer-statistics-table td:nth-child(3),
.zer-statistics-table td:nth-child(4) {
  text-align: right;
}

.zer-statistics-note {
  margin: 8px 2px 0;
}

.zer-time {
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.zer-rider-head {
  display: grid;
  grid-template-columns: minmax(120px, 220px) 1fr;
  gap: 24px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--zer-line);
  border-radius: 12px;
}

.zer-rider-photo img {
  display: block;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}

.zer-rider-profile .zer-rider-photo {
  width: 100%;
  max-width: 220px;
}

/* Fallback for themes that print the singular featured image without using
   WordPress' post_thumbnail_html filter. The plugin photo below stays visible. */
body.single-zer_rider .entry-header > .post-thumbnail,
body.single-zer_rider .entry-header > .featured-image,
body.single-zer_rider .entry-header > .featured-media,
body.single-zer_rider .single-featured-image-header,
body.single-zer_rider .wp-block-post-featured-image,
body.single-zer_rider article.zer_rider .single-featured {
  display: none !important;
}

body.single-zer_rider .zer-rider-profile .zer-rider-photo {
  display: block !important;
}

/* ZE Magazine Express keeps normal articles at a narrow reading width.
   Result pages need the entire viewport because their tables contain many
   columns. These selectors are intentionally limited to plugin post types. */
body.wp-theme-ze-magazine-theme.single-zer_event article.zer_event > .ze-container,
body.wp-theme-ze-magazine-theme.single-zer_rider article.zer_rider > .ze-container {
  width: calc(100% - 28px);
  max-width: none;
}

body.wp-theme-ze-magazine-theme.zer-has-championship article.page > .ze-container {
  width: calc(100% - 28px);
  max-width: none;
}

body.wp-theme-ze-magazine-theme.single-zer_event article.zer_event .ze-content-width,
body.wp-theme-ze-magazine-theme.single-zer_rider article.zer_rider .ze-content-width,
body.wp-theme-ze-magazine-theme.zer-has-championship article.page .ze-content-width {
  width: 100%;
  max-width: none;
}

body.single-zer_event article.zer_event .entry-content,
body.single-zer_rider article.zer_rider .entry-content,
body.zer-has-championship article.page .entry-content {
  width: 100%;
  max-width: none;
}

.zer-rider-photo:empty {
  min-height: 140px;
  border-radius: 10px;
  background: #f1f5f9;
}

.zer-rider-facts {
  display: grid;
  gap: 12px;
}

.zer-rider-facts div {
  display: grid;
  gap: 2px;
}

.zer-rider-facts a {
  color: inherit;
  text-decoration: none !important;
}

.zer-rider-id {
  justify-self: start;
}

.zer-rider-id summary {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border: 1px solid var(--zer-ink);
  border-radius: 999px;
  color: #fff;
  background: var(--zer-ink);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.zer-rider-id summary::-webkit-details-marker {
  display: none;
}

.zer-rider-id[open] summary {
  color: var(--zer-ink);
  background: #fff;
}

.zer-rider-id > div {
  gap: 3px;
  padding: 10px 12px;
  margin-top: 7px;
  border: 1px solid var(--zer-line);
  border-radius: 8px;
  background: #f8fafc;
}

.zer-rider-id > div span {
  max-width: 340px;
  color: var(--zer-muted);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.zer-rider-facts span,
.zer-stat-grid span {
  color: var(--zer-muted);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.zer-rider-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.zer-rider-social a,
.zer-rider-edit-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border: 1px solid var(--zer-line);
  border-radius: 999px;
  color: var(--zer-ink);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.zer-rider-social a:hover,
.zer-rider-edit-link:hover {
  color: #fff;
  border-color: var(--zer-accent);
  background: var(--zer-accent);
}

.zer-rider-edit-link {
  justify-self: start;
  color: #fff;
  border-color: var(--zer-accent);
  background: var(--zer-accent);
}

.zer-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 10px;
  margin: 16px 0 28px;
}

.zer-stat-grid div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 10px;
  background: #f8fafc;
}

.zer-stat-grid strong {
  font-size: clamp(20px, 3vw, 30px);
}

.zer-stat-time strong {
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(17px, 2.5vw, 25px);
}

.zer-club-page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.zer-club-page {
  margin-top: 24px;
}

.zer-club-hero {
  padding: clamp(20px, 4vw, 36px);
  margin-bottom: 24px;
  border: 1px solid var(--zer-line);
  border-radius: 14px;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
}

.zer-club-hero > p {
  margin: 0 0 5px;
  color: var(--zer-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.zer-club-hero h1 {
  margin: 0 0 14px;
  color: var(--zer-ink);
  font-size: clamp(30px, 6vw, 54px);
  line-height: 1.05;
}

.zer-club-hero .zer-event-meta {
  margin: 0;
}

.zer-club-classes {
  display: grid;
  gap: 26px;
}

.zer-club-class-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.zer-club-class-head h2 {
  margin: 0;
  font-size: 22px;
}

.zer-club-class-head span {
  color: var(--zer-muted);
  font-size: 13px;
}

.zer-club-riders-table {
  min-width: 640px;
}

.zer-rider-events {
  display: grid;
  gap: 18px;
}

.zer-rider-event {
  border: 1px solid var(--zer-line);
  border-radius: 12px;
  background: #fff;
}

.zer-rider-event-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}

.zer-rider-event-head > a {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: inherit;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none !important;
}

.zer-rider-round {
  padding: 4px 7px;
  border-radius: 6px;
  color: #fff;
  background: var(--zer-accent);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.zer-rider-event-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.zer-rider-event-summary span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--zer-ink);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.zer-rider-event-table-wrap {
  border-width: 1px 0 0;
  border-radius: 0 0 11px 11px;
}

.zer-rider-event-table {
  min-width: 640px;
}

.zer-rider-event-table tr.is-overall td {
  background: #fff7f7;
  font-weight: 800;
}

.zer-login-form,
.zer-profile-form {
  display: grid;
  gap: 16px;
  max-width: 620px;
  padding: 20px;
  border: 1px solid var(--zer-line, #e2e8f0);
  border-radius: 10px;
  background: #fff;
}

.zer-profile-dashboard {
  --zer-accent: #d71920;
  --zer-ink: #111827;
  --zer-muted: #64748b;
  --zer-line: #e2e8f0;
  width: min(100%, 760px);
  margin: 24px 0;
  color: var(--zer-ink);
}

.zer-profile-dashboard-head {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.zer-profile-dashboard-head p,
.zer-profile-dashboard-head h2 {
  margin: 0;
}

.zer-profile-dashboard-head p {
  color: var(--zer-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.zer-profile-dashboard-head a,
.zer-profile-signout a {
  color: var(--zer-accent);
  font-weight: 800;
}

.zer-profile-current-photo img {
  display: block;
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
}

.zer-profile-form small,
.zer-social-fields > p {
  color: var(--zer-muted);
  font-size: 12px;
}

.zer-social-fields {
  display: grid;
  gap: 12px;
  padding: 16px;
  margin: 0;
  border: 1px solid var(--zer-line);
  border-radius: 9px;
}

.zer-social-fields legend {
  padding: 0 6px;
  font-weight: 900;
}

.zer-social-fields > p {
  margin: 0;
}

.zer-social-field-grid,
.zer-custom-social-list {
  display: grid;
  gap: 12px;
}

.zer-social-field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.zer-custom-social-row {
  display: grid;
  grid-template-columns: minmax(130px, .7fr) minmax(220px, 1.3fr);
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--zer-line);
}

.zer-custom-social-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.zer-profile-signout {
  margin: 14px 2px 0;
}

.zer-login-form label,
.zer-profile-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.zer-login-form input,
.zer-profile-form input,
.zer-profile-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font: inherit;
}

.zer-login-form button,
.zer-profile-form button {
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--zer-accent, #d71920);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.zer-login-form > small {
  color: #64748b;
  font-size: 12px;
}

.zer-form-notice {
  max-width: 620px;
  padding: 12px 14px;
  border-left: 4px solid var(--zer-accent, #d71920);
  background: #f8fafc;
}

.zer-insights {
  --zer-accent: #d71920;
  --zer-ink: #111827;
  --zer-muted: #64748b;
  --zer-line: #e2e8f0;
  width: 100%;
  margin: 30px 0;
  color: var(--zer-ink);
}

.zer-event-results .zer-insights {
  margin-bottom: 4px;
}

.zer-insights-head {
  display: flex;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 14px;
}

.zer-insights-head h2,
.zer-insights-head p {
  margin: 0;
}

.zer-insights-head p {
  max-width: 520px;
  color: var(--zer-muted);
  font-size: 12px;
  text-align: right;
}

.zer-insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.zer-insight-card {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--zer-line);
  border-radius: 10px;
  background: #f8fafc;
}

.zer-insight-card strong {
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(18px, 2.3vw, 25px);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zer-insight-card span,
.zer-live-battle span,
.zer-favourite-vote > div > span {
  color: var(--zer-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.zer-insight-card small,
.zer-live-battle small,
.zer-favourite-vote small {
  color: var(--zer-muted);
  font-size: 11px;
  line-height: 1.35;
}

.zer-live-battle {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--zer-ink);
  border-radius: 10px;
  background: var(--zer-ink);
}

.zer-live-battle > div {
  display: grid;
  gap: 4px;
  padding: 15px;
  background: #fff;
}

.zer-live-battle strong {
  font-size: 17px;
}

.zer-live-battle a {
  color: inherit;
  text-decoration: none;
}

.zer-favourite-vote {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--zer-line);
  border-radius: 11px;
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
}

.zer-favourite-vote > div {
  display: grid;
  gap: 4px;
}

.zer-favourite-vote > div > span,
.zer-favourite-vote small {
  color: #cbd5e1;
}

.zer-favourite-vote strong {
  color: #fff;
  font-size: 19px;
}

.zer-favourite-vote form {
  margin: 0;
}

.zer-favourite-vote button,
.zer-vote-selected {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--zer-accent);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.zer-vote-selected {
  color: #166534;
  background: #dcfce7;
  cursor: default;
}

.zer-vote-message {
  grid-column: 1 / -1;
  padding: 8px 10px;
  margin: 0;
  border-radius: 7px;
  color: #166534;
  background: #dcfce7;
  font-size: 12px;
  font-weight: 800;
}

.zer-event-comparison-wrap {
  margin-top: 14px;
}

.zer-event-comparison-table {
  min-width: 1040px;
}

.zer-event-comparison-table th:not(:first-child),
.zer-event-comparison-table td:not(:first-child) {
  text-align: right;
}

.zer-secondary-statistics {
  margin-top: 22px;
}

.zer-secondary-statistics > header {
  display: flex;
  gap: 14px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 10px;
}

.zer-secondary-statistics h3,
.zer-secondary-statistics p {
  margin: 0;
}

.zer-secondary-statistics h3 {
  font-size: 18px;
}

.zer-secondary-statistics p {
  max-width: 580px;
  color: var(--zer-muted);
  font-size: 11px;
  text-align: right;
}

.zer-class-day-table {
  min-width: 880px;
}

.zer-class-day-table th:nth-child(2),
.zer-class-day-table th:nth-child(4),
.zer-class-day-table td:nth-child(2),
.zer-class-day-table td:nth-child(4) {
  text-align: right;
}

.zer-event-motorcycle-table {
  min-width: 820px;
}

.zer-event-motorcycle-table th:nth-child(n+3),
.zer-event-motorcycle-table td:nth-child(n+3) {
  text-align: right;
}

.zer-rider-race-insights {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--zer-line);
  background: #f8fafc;
}

.zer-rider-race-insight {
  display: grid;
  grid-template-columns: minmax(90px, auto) 1fr;
  gap: 12px;
  align-items: center;
}

.zer-rider-race-insight-title {
  display: grid;
  gap: 2px;
}

.zer-rider-race-insight-title strong {
  font-size: 13px;
}

.zer-rider-race-insight-title span {
  color: var(--zer-muted);
  font-size: 11px;
  font-weight: 800;
}

.zer-rider-race-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.zer-race-metric {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid var(--zer-line);
  border-radius: 999px;
  color: #334155;
  background: #fff;
  font-size: 11px;
  line-height: 1.2;
}

.zer-race-metric b {
  color: var(--zer-ink);
}

.zer-race-metric.is-ahead {
  color: #166534;
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.zer-race-metric.is-behind {
  color: #b91c1c;
  border-color: #fecaca;
  background: #fef2f2;
}

.zer-race-metric.is-current {
  color: #1d4ed8;
  border-color: #bfdbfe;
  background: #eff6ff;
}

@media (max-width: 760px) {
  .zer-tabs,
  .zer-classes {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .zer-tabs::-webkit-scrollbar,
  .zer-classes::-webkit-scrollbar {
    display: none;
  }

  .zer-tabs a,
  .zer-classes a {
    flex: 0 0 auto;
  }

  .zer-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .zer-results-table,
  .zer-results-table tbody,
  .zer-results-table tr,
  .zer-results-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .zer-results-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .zer-results-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--zer-line);
    border-radius: 10px;
    background: #fff;
  }

  .zer-results-table td {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    min-width: 0;
    padding: 0;
    border: 0;
    font-size: 13px;
    line-height: 1.25;
    text-align: left;
  }

  .zer-results-table td::before {
    content: attr(data-label);
    color: var(--zer-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .055em;
    text-align: left;
    text-transform: uppercase;
  }

  .zer-results-table td > *,
  .zer-results-table td a {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .zer-event-classification-table tr {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .zer-event-classification-table td:nth-child(1),
  .zer-event-classification-table td:nth-child(2) {
    grid-column: span 3;
  }

  .zer-event-classification-table td:nth-child(3),
  .zer-event-classification-table td:nth-child(4) {
    grid-column: 1 / -1;
  }

  .zer-event-classification-table td:nth-child(3),
  .zer-event-classification-table td:nth-child(4) {
    padding: 8px 0;
    border-top: 1px solid var(--zer-line);
    font-size: 14px;
  }

  .zer-event-classification-table td:nth-child(5),
  .zer-event-classification-table td:nth-child(6),
  .zer-event-classification-table td:nth-child(7) {
    grid-column: span 2;
  }

  .zer-event-classification-table td:nth-child(8),
  .zer-event-classification-table td:nth-child(9) {
    grid-column: span 3;
  }

  .zer-event-classification-table td:nth-child(10) {
    grid-column: 1 / -1;
  }

  .zer-event-classification-table .zer-time {
    font-size: 12px;
  }

  .zer-championship-table .zer-championship-cell {
    grid-column: 1 / -1;
    grid-template-columns: minmax(100px, auto) 1fr;
    padding-top: 8px;
    border-top: 1px solid var(--zer-line);
    text-align: right !important;
  }

  .zer-championship-result {
    display: flex;
    gap: 8px;
    align-items: baseline;
    justify-content: flex-end;
  }

  .zer-statistics-head {
    display: grid;
    align-items: start;
  }

  .zer-insights-head {
    display: grid;
    align-items: start;
  }

  .zer-insights-head p {
    text-align: left;
  }

  .zer-insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zer-insight-card {
    padding: 13px;
  }

  .zer-secondary-statistics > header,
  .zer-rider-race-insight {
    display: grid;
    align-items: start;
  }

  .zer-secondary-statistics p {
    text-align: left;
  }

  .zer-rider-race-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zer-race-metric {
    display: grid;
    gap: 2px;
    border-radius: 8px;
  }

  .zer-live-battle,
  .zer-favourite-vote {
    grid-template-columns: 1fr;
  }

  .zer-favourite-vote button,
  .zer-vote-selected {
    width: 100%;
  }

  .zer-statistics-table td:nth-child(3),
  .zer-statistics-table td:nth-child(4) {
    grid-column: auto;
  }

  .zer-rider-event-table td {
    grid-column: auto;
  }

  .zer-rider-event {
    border: 0;
    background: transparent;
  }

  .zer-rider-event-head {
    display: grid;
    padding: 14px;
    margin-bottom: 10px;
    border: 1px solid var(--zer-line);
    border-radius: 10px;
    background: #fff;
  }

  .zer-rider-event-summary {
    justify-content: flex-start;
  }

  .zer-rider-event-table-wrap {
    border: 0;
  }

  .zer-rider-head {
    grid-template-columns: 110px 1fr;
    gap: 16px;
    padding: 14px;
  }

  .zer-profile-dashboard-head {
    display: grid;
    justify-items: start;
  }

  .zer-profile-form {
    padding: 14px;
  }

  .zer-social-field-grid,
  .zer-custom-social-row {
    grid-template-columns: 1fr;
  }

  .zer-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zer-club-page-shell {
    width: min(100% - 20px, 1200px);
  }

  .zer-club-hero {
    padding: 18px;
  }

  body.wp-theme-ze-magazine-theme.single-zer_event article.zer_event > .ze-container,
  body.wp-theme-ze-magazine-theme.single-zer_rider article.zer_rider > .ze-container,
  body.wp-theme-ze-magazine-theme.zer-has-championship article.page > .ze-container {
    width: calc(100% - 16px);
  }

}
