/* Page-specific presentation for the Sambal Kampioenschap fragment. */
#content {
  box-sizing: border-box;
  padding: 0 !important;
}

.championship-page {
  --championship-brand: #c22608;
  --championship-ink: #292522;
  --championship-muted: #665e59;
  --championship-line: #eadfda;
  box-sizing: border-box;
  width: min(100%, 960px);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 52px) clamp(16px, 5vw, 48px) 56px;
  color: var(--championship-ink);
  font: 16px/1.7 Verdana, Arial, Helvetica, sans-serif;
}

.championship-page *,
.championship-page *::before,
.championship-page *::after {
  box-sizing: border-box;
}

.championship-page h1,
.championship-page h2,
.championship-page p,
.championship-page fieldset,
.championship-page legend {
  margin: 0;
  padding: 0;
}

.championship-heading {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--championship-line);
}

.championship-eyebrow {
  margin-bottom: 6px !important;
  color: var(--championship-brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.championship-page h1 {
  color: #241e1b;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.championship-section {
  margin: 0 0 32px;
}

.championship-page h2 {
  margin-bottom: 12px;
  color: #332b27;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.35;
}

.championship-section p + p {
  margin-top: 12px;
}

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

.championship-page a:hover {
  color: #741604;
}

.championship-page :focus-visible {
  outline: 3px solid #7c3c25;
  outline-offset: 3px;
}

.championship-registration {
  margin-top: 40px;
  padding: clamp(18px, 4vw, 32px);
  border: 1px solid var(--championship-line);
  border-top: 4px solid var(--championship-brand);
  border-radius: 12px;
  background: #fffdfc;
}

.championship-registration h2 {
  margin-bottom: 20px;
}

.championship-form .form-field {
  margin-bottom: 18px;
}

.championship-form label,
.championship-form legend {
  display: block;
  margin-bottom: 6px;
  color: #352e2a;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.championship-form input[type="text"],
.championship-form input[type="email"],
.championship-form input[type="number"],
.championship-form input[type="file"],
.championship-form textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cfc4bf;
  border-radius: 7px;
  background: #fff;
  color: var(--championship-ink);
  font: inherit;
  line-height: 1.4;
}

.championship-form input[type="file"] {
  padding: 8px;
}

.championship-form textarea {
  min-height: 170px;
  resize: vertical;
}

.championship-form input::placeholder {
  color: #746b66;
  opacity: 1;
}

.championship-form fieldset {
  min-width: 0;
  margin: 4px 0 22px;
  padding: 0;
  border: 0;
}

.championship-form legend {
  margin-bottom: 6px;
}

.ingredient-guidance,
.upload-guidance {
  margin-bottom: 12px !important;
  color: var(--championship-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.ingredient-list {
  display: grid;
  gap: 10px;
}

.ingredient-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(112px, 0.34fr);
  gap: 10px;
}

.ingredient-row input {
  min-width: 0;
}

.championship-form button,
.championship-form input[type="submit"] {
  min-height: 44px;
  margin-top: 12px;
  padding: 10px 16px;
  border: 1px solid var(--championship-brand);
  border-radius: 7px;
  background: var(--championship-brand);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.championship-form button:hover,
.championship-form input[type="submit"]:not(:disabled):hover {
  border-color: #8b1c05;
  background: #8b1c05;
}

.championship-form input[type="submit"]:disabled {
  border-color: #b8aaa4;
  background: #b8aaa4;
  cursor: not-allowed;
}

.championship-form .error-message {
  display: block;
  min-height: 1.5em;
  margin-top: 8px;
  color: #7b2114;
  font-size: 0.9rem;
  font-weight: 700;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

/* Legacy menu replacement retained for reference; the shared shell navigation is canonical. */
/*
#nav {
  position: relative;
  z-index: 5;
  box-sizing: border-box;
  height: auto;
  padding: 0 16px;
  border-bottom: 1px solid #e7ded9;
  background: #f6f3f1;
  font-size: 16px;
}

#nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#nav > ul {
  display: flex;
  width: min(100%, 1160px);
  margin: 0 auto;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 4px;
}

#nav li {
  position: relative;
  float: none;
  width: auto;
  list-style: none;
}

#nav > ul > li {
  flex: 0 0 auto;
}

#nav > ul > li.previous,
#nav > ul > li.next {
  width: auto !important;
}

#nav > ul > li.previous > a,
#nav > ul > li.next > a {
  width: auto !important;
}

#nav > ul > li > a {
  display: flex !important;
  width: auto !important;
  min-height: 48px;
  margin: 0 !important;
  padding: 10px 14px !important;
  align-items: center;
  gap: 8px;
  color: #342c28 !important;
  font-size: 0.95rem !important;
  font-weight: 700;
  line-height: 1.35 !important;
  text-decoration: none;
}

#nav > ul > li:hover {
  background: transparent;
}

#nav > ul > li:hover > a,
#nav > ul > li:focus-within > a,
#nav > ul > li.active > a {
  border-radius: 7px;
  background: #fff;
  color: #a51f08 !important;
  text-shadow: none !important;
}

#nav span.previous,
#nav span.next {
  display: inline !important;
}

#nav img.previous,
#nav img.next {
  display: none;
}

#nav li ul {
  position: absolute !important;
  top: 100%;
  left: 0 !important;
  z-index: 10;
  display: none;
  width: min(22rem, 85vw) !important;
  margin: 0 !important;
  padding: 6px !important;
  border: 1px solid #e7ded9;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 10px 24px rgb(42 30 23 / 12%);
}

#nav li:hover > ul,
#nav li:focus-within > ul {
  left: 0 !important;
  display: block !important;
}

#nav li li {
  width: auto !important;
  border: 0;
  background: transparent;
}

#nav li li > a {
  display: block !important;
  width: auto !important;
  min-height: 40px;
  margin: 0 !important;
  padding: 9px 10px !important;
  border-radius: 6px;
  color: #342c28 !important;
  font-size: 0.9rem !important;
  font-weight: 500;
  line-height: 1.4 !important;
  text-decoration: none;
  white-space: normal;
}

#nav li li:hover > a,
#nav li li:focus-within > a {
  background: #f8efeb;
  color: #8b1c05 !important;
  text-shadow: none !important;
}

.championship-menu-toggle {
  display: none;
}

@media (max-width: 680px) {
  #nav {
    padding: 8px 16px;
  }

  #nav > ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #nav > ul > li,
  #nav > ul > li.inactive {
    display: block !important;
    min-width: 0;
    padding: 4px;
    border: 1px solid #e7ded9;
    border-radius: 9px;
    background: #fff;
  }

  #nav > ul > li > a {
    min-height: 40px;
    padding: 7px 8px !important;
    overflow-wrap: anywhere;
  }

  #nav .championship-menu-toggle {
    display: block;
    width: 100%;
    min-height: 40px;
    margin: 0;
    padding: 7px 8px;
    border: 0;
    border-top: 1px solid #f0e9e6;
    border-radius: 0;
    background: transparent;
    color: #665e59;
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    text-align: left;
  }

  #nav li ul,
  #nav li:hover > ul,
  #nav li:focus-within > ul {
    position: static !important;
    top: auto;
    left: auto !important;
    display: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 2px 3px !important;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  #nav > ul > li.menu-open > ul {
    display: block !important;
  }

  #nav li li > a {
    min-height: 40px;
    padding: 7px 8px !important;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 380px) {
  #nav > ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

*/

@media (max-width: 420px) {
  .ingredient-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .championship-page {
    padding-right: 16px;
    padding-left: 16px;
  }
}
