:root {
  --hod-orange: #e85a18;
  --hod-ink: #343833;
  --hod-muted: #6d716b;
  --hod-line: #d9d8d1;
  --hod-paper: #fff;
  --hod-wash: #f5f3ee;
  --hod-ink-deep: #4b4b47;
  --hod-copper: #c27650;
}

body.page-id-131 .wp-site-blocks > header,
body.page-id-131 .wp-site-blocks > footer,
body.page-id-131 .wp-block-post-title {
  display: none !important;
}

body.page-id-131 .wp-site-blocks,
body.page-id-131 #wp--skip-link--target,
body.page-id-131 #wp--skip-link--target > .wp-block-group,
body.page-id-131 .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-id-131 .wp-site-blocks > * {
  margin-block-start: 0 !important;
}

.hod-app,
.hod-app * {
  box-sizing: border-box;
}

.hod-app {
  width: 100vw !important;
  max-width: none !important;
  margin: 0 !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0;
  color: var(--hod-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hod-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hod-header {
  width: min(1040px, calc(100% - 36px));
  margin: 24px auto 0;
  padding: 16px 4px 26px;
  border-bottom: 1px solid var(--hod-line);
}

.hod-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  width: min(390px, 64vw);
  color: var(--hod-orange);
  text-decoration: none;
}

.hod-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.hod-brand span {
  margin-top: -2px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .32em;
}

.hod-secure {
  color: var(--hod-muted);
  font-size: 14px;
}

.hod-shell {
  max-width: 780px;
  margin: 44px auto;
}

.hod-shell > h1 {
  margin: 0 0 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 6vw, 54px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.hod-volume-notice {
  display: grid;
  gap: 5px;
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid #9b5c3e;
  border-left-width: 5px;
  border-radius: 8px;
  background: #f7eee7;
  color: var(--hod-ink);
}

.hod-volume-notice strong {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hod-test-banner {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff1c7;
  color: #6a4b00;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hod-form,
.hod-result {
  border: 1px solid var(--hod-line);
  border-radius: 12px;
  background: var(--hod-paper);
  box-shadow: 0 12px 35px rgba(45, 48, 43, .06);
}

.hod-form {
  padding: 24px;
}

.hod-field {
  display: grid;
  gap: 7px;
}

.hod-field > span,
.hod-section legend,
.wide-setting > span {
  color: var(--hod-ink);
  font-size: 13px;
  font-weight: 800;
}

.hod-field input,
.hod-field select,
.hod-course-list input,
.hod-plan-list label {
  width: 100%;
}

.hod-field input,
.hod-field select,
.hod-course-list input {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #c8c8c0;
  border-radius: 7px;
  background: #fff;
  color: var(--hod-ink);
  font: inherit;
}

.hod-field input:focus,
.hod-field select:focus,
.hod-course-list input:focus {
  outline: 3px solid rgba(232, 90, 24, .18);
  border-color: var(--hod-orange);
}

.hod-details {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--hod-line);
}

.hod-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hod-field-full {
  grid-column: 1 / -1;
}

.hod-section {
  margin: 26px 0 0;
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid var(--hod-line);
}

.hod-section > p {
  margin: 4px 0 16px;
  color: var(--hod-muted);
  font-size: 14px;
}

.hod-address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hod-field small {
  color: var(--hod-muted);
  font-weight: 500;
}

.hod-same-address {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--hod-ink);
  font-size: 13px;
  font-weight: 700;
}

.hod-same-address input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--hod-copper);
}

.hod-course-list {
  display: grid;
  gap: 9px;
}

.hod-course-list label {
  display: grid;
  grid-template-columns: 1fr 90px;
  align-items: center;
  gap: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--hod-wash);
}

.hod-course-list label > span,
.hod-plan-list label > span {
  display: grid;
  gap: 3px;
}

.hod-course-list small,
.hod-plan-list small {
  color: var(--hod-muted);
}

.hod-course-list input {
  text-align: center;
}

.hod-total {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding: 14px;
  border-top: 1px solid var(--hod-line);
}

.hod-student-count {
  max-width: 220px;
}

.hod-family-student-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.hod-family-student-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 12px;
  padding: 12px;
  border-left: 3px solid var(--hod-copper);
  border-radius: 0 8px 8px 0;
  background: var(--hod-wash);
}

.hod-student-address-controls {
  grid-column: 2 / -1;
  display: grid;
  gap: 12px;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid var(--hod-line);
}

.hod-student-address {
  padding: 12px;
  border-radius: 7px;
  background: #fff;
}

.hod-student-number {
  align-self: center;
  color: var(--hod-copper);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .06em;
}

.hod-plan-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hod-plan-list label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--hod-line);
  border-radius: 8px;
  cursor: pointer;
}

.hod-plan-list input {
  width: auto;
  margin-top: 4px;
  accent-color: var(--hod-orange);
}

.hod-scholarship-note,
.hod-school-scholarship-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  padding: 12px 14px;
  border-left: 4px solid #78a3a1;
  background: #eef5f3;
}

.hod-scholarship-note > div,
.hod-school-scholarship-note > div {
  display: grid;
  gap: 3px;
}

.hod-scholarship-note strong,
.hod-school-scholarship-note strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.hod-scholarship-note span,
.hod-school-scholarship-note span {
  color: var(--hod-muted);
  font-size: 12.5px;
  line-height: 1.4;
}

.hod-scholarship-note a,
.hod-school-scholarship-note a {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid var(--hod-ink-deep);
  color: var(--hod-ink-deep);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.hod-scholarship-note a:hover,
.hod-scholarship-note a:focus-visible,
.hod-school-scholarship-note a:hover,
.hod-school-scholarship-note a:focus-visible {
  background: var(--hod-ink-deep);
  color: #fff;
}

.hod-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.hod-captcha {
  display: grid;
  gap: 5px;
  justify-items: start;
  margin-top: 20px;
  padding: 12px 14px;
  border-left: 3px solid #aaa99f;
  border-radius: 0 7px 7px 0;
  background: var(--hod-wash);
}

.hod-captcha small {
  color: var(--hod-muted);
  font-size: 11px;
}

.hod-limit-panel {
  margin-top: 22px;
  padding: 12px 14px;
  border-left: 3px solid #aaa99f;
  border-radius: 0 7px 7px 0;
  background: #f7f5f0;
}

.hod-limit-panel > strong {
  display: block;
  color: var(--hod-ink);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hod-limit-panel ul {
  display: grid;
  gap: 3px;
  margin: 7px 0 0 17px;
  padding: 0;
}

.hod-limit-panel li {
  padding: 3px 6px;
  border-left: 0 solid transparent;
  border-radius: 4px;
  color: var(--hod-muted);
  font-size: 12.5px;
  line-height: 1.38;
  transition: background-color .18s ease, border-width .18s ease;
}

.hod-limit-panel li::marker {
  color: var(--hod-copper);
}

.hod-limit-panel li.is-hit,
.hod-limit-panel li.is-notice {
  margin-left: -4px;
  padding-left: 8px;
  border-left-width: 3px;
  color: var(--hod-ink);
  font-weight: 750;
}

.hod-limit-panel li.is-hit {
  border-left-color: var(--hod-copper);
  background: #f8e7dc;
}

.hod-limit-panel li.is-notice {
  border-left-color: #c69b3a;
  background: #f6edcf;
}

.hod-limit-field-hit {
  outline: 3px solid rgba(194, 118, 80, .22) !important;
  outline-offset: 3px;
  border-radius: 6px;
}

.hod-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
}

.hod-submit-note {
  color: var(--hod-muted);
  font-size: 13px;
}

.hod-submit-row button {
  min-height: 46px;
  padding: 11px 20px;
  border: 0;
  border-radius: 7px;
  background: var(--hod-orange);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.hod-submit-row button:disabled {
  opacity: .6;
  cursor: wait;
}

.hod-form-result,
.hod-result {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 15px;
}

.hod-result {
  margin: 0 0 18px;
}

.hod-form-result.success,
.hod-result-success {
  border-color: #a9c9af;
  background: #eff8f0;
}

.hod-form-result.notice {
  border-color: #d2b77c;
  background: #fbf5e8;
}

.hod-form-result.error {
	border-color: #dfaea8;
	background: #fff1ef;
}

.hod-download-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 44px;
	margin-top: 10px;
	padding: 10px 18px;
	border-radius: 7px;
	background: var(--hod-orange);
	color: #fff;
	font-weight: 800;
	text-decoration: none;
}

.hod-invoice-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}

.hod-invoice-actions .hod-download-link {
	margin-top: 0;
}

.hod-download-link:hover,
.hod-download-link:focus-visible {
	background: #994326;
	color: #fff;
}

.hod-invoice-phone-help {
	display: block;
	max-width: 580px;
	margin-top: 4px;
	color: var(--hod-muted);
	font-size: 12px;
	line-height: 1.45;
}

@media (max-width: 560px) {
	.hod-invoice-actions {
		display: grid;
	}

	.hod-invoice-actions > * {
		width: 100%;
	}
}


.hod-help {
  margin: 18px 4px;
  color: var(--hod-muted);
  font-size: 14px;
}

.hod-help a {
  color: var(--hod-orange);
}

.hod-footer {
  padding: 28px 0;
  border-top: 5px solid var(--hod-copper);
  background: var(--hod-ink-deep);
  color: #ebe8e1;
}

.hod-footer .hod-footer-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hod-footer strong,
.hod-footer a {
  color: #fff;
}

.hod-footer-details {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 18px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, .28);
  font-size: 13px;
  line-height: 1.42;
}

[hidden] {
  display: none !important;
}

@media (max-width: 700px) {
  .hod-header,
  .hod-submit-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .hod-brand {
    width: min(330px, 86vw);
  }

  .hod-shell {
    width: calc(100% - 24px);
    margin: 30px auto;
  }

  .hod-shell > h1 {
    font-size: clamp(32px, 11vw, 42px);
    line-height: 1.03;
  }

  .hod-form {
    padding: 18px;
  }

  .hod-grid,
  .hod-address-grid,
  .hod-plan-list {
    grid-template-columns: 1fr;
  }

  .hod-scholarship-note,
  .hod-school-scholarship-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hod-course-list label {
    grid-template-columns: 1fr 76px;
  }

  .hod-family-student-row {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .hod-family-student-row .hod-field {
    grid-column: 2;
  }

  .hod-family-student-row .hod-student-address-controls {
    grid-column: 1 / -1;
  }

  .hod-student-address .hod-field {
    grid-column: 1;
  }

  .hod-student-number {
    grid-row: 1 / span 2;
    align-self: start;
    padding-top: 28px;
  }

  .hod-submit-row button {
    width: 100%;
  }

  .hod-footer .hod-footer-wrap {
    grid-template-columns: 1fr;
  }

  .hod-footer-details {
    grid-column: 1;
  }
}


.hod-value-summary {
  display: grid;
  gap: 6px;
  margin: -8px 0 22px;
  padding: 15px 17px;
  border-left: 4px solid var(--hod-copper);
  border-radius: 0 8px 8px 0;
  background: var(--hod-wash);
}

.hod-value-summary strong {
  color: var(--hod-ink);
  font-size: 17px;
  line-height: 1.25;
}

.hod-value-summary span {
  color: var(--hod-muted);
  font-size: 14px;
  line-height: 1.45;
}

.hod-value-summary small {
  color: var(--hod-copper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.4;
}

.hod-runtime-note[hidden] {
  display: none !important;
}

@media (max-width: 560px) {
  .hod-value-summary {
    margin-top: -4px;
    padding: 13px 14px;
  }

  .hod-value-summary strong {
    font-size: 16px;
  }
}
