/* Hitna 2027 — design-system component classes (hx-*). Source of truth: the "Hitna 2027" design system artifact (components/bundle.css). */
:root {
  --hx-red: #b50005;
  --hx-red-dark: #8e0004;
  --hx-red-050: #fff4f4;
  --hx-red-200: #ffd9da;
  --hx-red-300: #ff8a8d;
  --hx-red-400: #ff6b6f;
  --hx-ink: #141416;
  --hx-ink-800: #2a2a30;
  --hx-ink-700: #3d3d44;
  --hx-muted: #5a5a60;
  --hx-line: #e3e1dd;
  --hx-field: #cfccc6;
  --hx-mist: #f4f3f1;
  --hx-white: #ffffff;
  --hx-ink-line: #3a3a40;
  --hx-ink-muted: #b9b9c0;
  --hx-ink-text: #d6d6db;
  --hx-display: "Red Hat Display", "Helvetica Neue", Arial, sans-serif;
  --hx-text: "Red Hat Text", "Helvetica Neue", Arial, sans-serif;
  --hx-mono: "Red Hat Mono", ui-monospace, Menlo, monospace;
}

/* Eyebrow + label */
.hx-eyebrow {
  font-family: var(--hx-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hx-red);
  margin: 0;
}
.hx-eyebrow--on-red {
  color: var(--hx-red-200);
}
.hx-eyebrow--on-ink {
  color: var(--hx-red-400);
}
.hx-label {
  font-family: var(--hx-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hx-muted);
}
.hx-badge {
  display: inline-block;
  font-family: var(--hx-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--hx-red);
  color: var(--hx-white);
  padding: 4px 10px;
  border-radius: 4px;
}

/* Buttons */
.hx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  box-sizing: border-box;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--hx-text);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.hx-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(181, 0, 5, 0.35);
}
.hx-btn--primary {
  background: var(--hx-red);
  color: var(--hx-white);
  border-color: var(--hx-red);
}
.hx-btn--primary:hover {
  background: var(--hx-red-dark);
  border-color: var(--hx-red-dark);
  color: var(--hx-white);
}
.hx-btn--ghost {
  background: transparent;
  color: var(--hx-ink);
  border-color: var(--hx-ink);
}
.hx-btn--ghost:hover {
  background: var(--hx-ink);
  color: var(--hx-white);
}
.hx-btn--light {
  background: var(--hx-white);
  color: var(--hx-red);
  border-color: var(--hx-white);
}
.hx-btn--light:hover {
  background: var(--hx-ink);
  border-color: var(--hx-ink);
  color: var(--hx-white);
}

/* Cube mark (3x3, centre red) */
.hx-cube {
  display: inline-grid;
  grid-template-columns: repeat(3, 9px);
  gap: 2px;
  vertical-align: middle;
}
.hx-cube span {
  width: 9px;
  height: 9px;
  background: var(--hx-ink);
}
.hx-cube span:nth-child(5) {
  background: var(--hx-red);
}
.hx-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--hx-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--hx-ink);
  text-decoration: none;
}
.hx-wordmark b {
  color: var(--hx-red);
  font-weight: 900;
}

/* ECG divider */
.hx-ecg {
  display: block;
  width: 100%;
  max-width: 560px;
  height: 34px;
  background: no-repeat center / 100% 100%
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 34' preserveAspectRatio='none'%3E%3Cpath d='M0 22H300l10 0 8-18 10 28 8-20 6 10H560' fill='none' stroke='%23B50005' stroke-width='2.5' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Fact strip */
.hx-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 2px solid var(--hx-ink);
}
.hx-fact {
  padding: 22px 24px 22px 0;
  border-bottom: 1px solid var(--hx-line);
}
.hx-fact__value {
  font-family: var(--hx-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.2;
  margin-top: 6px;
  color: var(--hx-ink);
}
.hx-fact__value--accent {
  color: var(--hx-red);
}

/* Fee card */
.hx-fee {
  border: 1.5px solid var(--hx-line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 150px;
  box-sizing: border-box;
  background: var(--hx-white);
  transition: border-color 0.15s;
}
.hx-fee:hover {
  border-color: var(--hx-ink);
}
.hx-fee__name {
  font-family: var(--hx-text);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.35;
  color: var(--hx-ink);
}
.hx-fee__price {
  font-family: var(--hx-display);
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--hx-ink);
}
.hx-fee__price small {
  font-size: 22px;
  font-weight: 700;
  color: var(--hx-red);
  margin-left: 6px;
  letter-spacing: 0;
}

/* Countdown */
.hx-countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hx-countdown__unit {
  min-width: 108px;
  padding: 16px 18px;
  border: 1px solid var(--hx-ink-line);
  border-radius: 12px;
  text-align: center;
  color: var(--hx-white);
  box-sizing: border-box;
}
.hx-countdown__num {
  font-family: var(--hx-display);
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hx-countdown__lbl {
  font-family: var(--hx-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hx-ink-muted);
  margin-top: 8px;
}

/* Numbered steps (on red) */
.hx-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hx-steps li {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--hx-white);
}
.hx-steps li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
.hx-steps b {
  font-family: var(--hx-display);
  font-weight: 900;
  font-size: 28px;
  line-height: 1;
  min-width: 40px;
}

/* Chips */
.hx-chip {
  display: inline-block;
  border: 1px solid var(--hx-line);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--hx-ink);
}

/* Portrait signature */
.hx-sign {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--hx-line);
}
.hx-sign img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 3px #ffffff,
    0 0 0 5px #b50005;
  flex-shrink: 0;
}

/* Forms (registration / abstracts shortcodes) */
.hx-form label,
.hx-field label {
  display: block;
  font-family: var(--hx-text);
  font-weight: 700;
  font-size: 14px;
  color: var(--hx-ink);
  margin-bottom: 6px;
}
.hx-form input[type="text"],
.hx-form input[type="email"],
.hx-form input[type="tel"],
.hx-form input[type="date"],
.hx-form select,
.hx-form textarea,
.hx-input {
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
  border: 1.5px solid var(--hx-field);
  border-radius: 10px;
  padding: 0 14px;
  font: 16px/1.4 var(--hx-text);
  color: var(--hx-ink);
  background: var(--hx-white);
}
.hx-form textarea {
  padding: 12px 14px;
  min-height: 140px;
}
.hx-form input:focus,
.hx-form select:focus,
.hx-form textarea:focus,
.hx-input:focus {
  outline: none;
  border-color: var(--hx-red);
  box-shadow: 0 0 0 3px rgba(181, 0, 5, 0.25);
}
.hx-form .required,
.hx-req {
  color: var(--hx-red);
}
.hx-choice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  min-height: 76px;
  border-radius: 14px;
  border: 1.5px solid var(--hx-field);
  background: var(--hx-white);
  cursor: pointer;
  box-sizing: border-box;
}
.hx-choice.is-selected,
.hx-choice:has(input:checked) {
  border: 2px solid var(--hx-red);
  background: var(--hx-red-050);
}
.hx-choice input {
  accent-color: var(--hx-red);
  width: 20px;
  height: 20px;
}

/* ------------------------------------------------------------------
   Site-wide base (Divi 5 + Bootstrap 4 forms)
   ------------------------------------------------------------------ */
body {
  color: var(--hx-ink-800);
}
::selection {
  background: var(--hx-red);
  color: var(--hx-white);
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(181, 0, 5, 0.35);
  outline-offset: 2px;
}

/* Registration & abstract forms rendered by the cc_* shortcodes (Bootstrap 4 markup) */
.form-group {
  margin-bottom: 20px;
}
.form-group > label,
.control-label,
.cmp__registration label {
  font-family: var(--hx-text);
  font-weight: 700;
  font-size: 14px;
  color: var(--hx-ink);
  margin-bottom: 6px;
}
.form-control {
  min-height: 50px;
  height: auto;
  border: 1.5px solid var(--hx-field);
  border-radius: 10px;
  padding: 12px 14px;
  font: 16px/1.4 var(--hx-text);
  color: var(--hx-ink);
  background-color: var(--hx-white);
  box-shadow: none;
}
textarea.form-control {
  min-height: 140px;
}
.form-control:focus {
  border-color: var(--hx-red);
  box-shadow: 0 0 0 3px rgba(181, 0, 5, 0.25);
  outline: none;
}
.form-control::placeholder {
  color: var(--hx-muted);
}
.required,
.text-danger {
  color: var(--hx-red) !important;
}
.text-muted {
  color: var(--hx-muted) !important;
}
.radio label,
.checkbox label {
  font-weight: 500;
  color: var(--hx-ink);
}
input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--hx-red);
}
.cmp__registration h4,
.cmp__accommodation h4 {
  font-family: var(--hx-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--hx-ink);
  margin: 24px 0 12px;
}
legend {
  font-family: var(--hx-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--hx-ink);
  border: 0;
  margin-bottom: 16px;
}
.table-registration,
.table-accommodation {
  border-top: 2px solid var(--hx-ink);
}
.table td,
.table th {
  border-color: var(--hx-line);
  vertical-align: middle;
}
.alert-info {
  background: var(--hx-mist);
  border: 1px solid var(--hx-line);
  color: var(--hx-ink);
  border-radius: 12px;
}
.total {
  border: 2px solid var(--hx-ink);
  border-radius: 20px;
  padding: 24px 28px;
}
.total__total {
  font-family: var(--hx-display);
  font-weight: 900;
  font-size: 32px;
  color: var(--hx-ink);
}
.btn {
  border-radius: 999px;
  font-family: var(--hx-text);
  font-weight: 700;
  padding: 14px 28px;
  min-height: 48px;
}
.btn-primary,
.btn-success {
  background: var(--hx-red);
  border-color: var(--hx-red);
  color: var(--hx-white);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-success:hover,
.btn-success:focus {
  background: var(--hx-red-dark);
  border-color: var(--hx-red-dark);
  color: var(--hx-white);
}
.btn-secondary,
.btn-default {
  background: transparent;
  border: 2px solid var(--hx-ink);
  color: var(--hx-ink);
}
.btn-secondary:hover,
.btn-default:hover {
  background: var(--hx-ink);
  color: var(--hx-white);
}
.modal-content {
  border: 0;
  border-radius: 20px;
}
.modal-title {
  font-family: var(--hx-display);
  font-weight: 800;
}

/* Phones */
@media (max-width: 767px) {
  .hx-fact__value {
    font-size: 19px;
  }
  .hx-countdown__unit {
    min-width: 0;
    flex: 1 1 0;
    padding: 12px 4px;
  }
  .hx-countdown__num {
    font-size: 28px;
  }
  .hx-fee__price {
    font-size: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hx-btn,
  .hx-fee {
    transition: none;
  }
}

/* ------------------------------------------------------------------
   Divi 5 page helpers (classes set on Divi sections / columns)
   ------------------------------------------------------------------ */
.hx-accent {
  color: var(--hx-red);
}
.hx-hero-copy h1 {
  font-family: var(--hx-display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--hx-ink);
  margin: 0;
  padding: 0;
}
.hx-hero-copy .hx-badge {
  margin-left: 10px;
  vertical-align: middle;
}
.hx-ecg {
  margin: 4px 0;
}
.hx-btn-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 12px;
}
.hx-btn-row > .et_pb_button_module_wrapper {
  margin: 0 !important;
}
.hx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hx-fee__price {
  display: block;
}
.hx-header .et_pb_menu .et-menu > li > a {
  padding-bottom: 0;
}
.hx-header .et_pb_menu .et-menu > li {
  padding-left: 14px;
  padding-right: 14px;
}
.hx-header .et_pb_menu .et-menu > li.current-menu-item > a {
  color: var(--hx-red);
}
.et-l--footer a {
  color: var(--hx-ink-text);
  text-decoration: none;
}
.et-l--footer a:hover {
  color: var(--hx-red-300);
}
.et-l--footer a[href^="mailto:"] {
  color: var(--hx-red-300);
}
.hx-on-red a:not(.et_pb_button) {
  color: var(--hx-white);
  text-decoration: underline;
}
.hx-steps span {
  flex: 1;
}
@media (max-width: 767px) {
  .hx-hero-copy h1 {
    font-size: 50px;
  }
  .hx-header .et_pb_row {
    flex-wrap: wrap;
  }
}
.hx-org {
  border: 1px solid var(--hx-line);
}
.hx-fee .et_pb_text {
  margin-bottom: 0 !important;
}
.hx-fee__price small {
  font-family: var(--hx-display);
}

/* Countdown (Divi Countdown Timer module on the ink band) */
.et_pb_countdown_timer {
  background: transparent !important;
  padding: 0 !important;
}
.et_pb_countdown_timer .et_pb_countdown_timer_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.et_pb_countdown_timer .section.sep {
  display: none !important;
}
.et_pb_countdown_timer .section.values {
  width: auto !important;
  min-width: 108px;
  padding: 16px 18px;
  border: 1px solid var(--hx-ink-line);
  border-radius: 12px;
  box-sizing: border-box;
}
.et_pb_countdown_timer .section p.value {
  font-family: var(--hx-display) !important;
  font-weight: 900 !important;
  font-size: 44px !important;
  line-height: 1 !important;
  color: var(--hx-white) !important;
  font-variant-numeric: tabular-nums;
}
.et_pb_countdown_timer .section p.label {
  font-family: var(--hx-mono) !important;
  font-size: 11px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hx-ink-muted) !important;
  margin-top: 8px;
}
@media (max-width: 767px) {
  .et_pb_countdown_timer .section.values {
    min-width: 0;
    flex: 1 1 0;
    padding: 12px 4px;
  }
  .et_pb_countdown_timer .section p.value {
    font-size: 28px !important;
  }
}
.et_pb_text ol.hx-steps {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.et_pb_text ol.hx-steps li {
  padding-left: 0 !important;
}

/* ------------------------------------------------------------------
   Layout gutters + responsive fixes
   ------------------------------------------------------------------ */
.et-l .et_pb_section > .et_pb_row,
.et_pb_section > .et_pb_row {
  box-sizing: border-box;
  padding-left: 32px !important;
  padding-right: 32px !important;
  max-width: 1304px !important;
}
.et-l--header .et_pb_section > .et_pb_row,
.et-l--footer .et_pb_section > .et_pb_row {
  max-width: 1304px !important;
}

/* Key facts strip: values */
#kljucno .et_pb_module_header {
  font-family: var(--hx-display) !important;
  font-weight: 800 !important;
  font-size: 26px !important;
  line-height: 1.2 !important;
  color: var(--hx-ink);
  margin: 6px 0 0;
  padding: 0;
}
#kljucno .et_pb_column:nth-child(3) .et_pb_module_header {
  color: var(--hx-red);
}
#kljucno .et_pb_text {
  margin-bottom: 0 !important;
}

/* Buttons: centre the label vertically */
.et_pb_button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1.2 !important;
}
.et_pb_button:after {
  display: none !important;
}

@media (max-width: 980px) {
  .et_pb_section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}
@media (max-width: 767px) {
  .et-l .et_pb_section > .et_pb_row,
  .et_pb_section > .et_pb_row {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .et_pb_row {
    flex-wrap: wrap !important;
    row-gap: 24px;
  }
  .et_pb_section h2.et_pb_module_header {
    font-size: 32px !important;
    line-height: 1.08 !important;
  }
  .hx-on-red h2.et_pb_module_header {
    font-size: 36px !important;
  }
  .hx-footer h2.et_pb_module_header {
    font-size: 28px !important;
  }
  #kljucno .et_pb_column {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
  #kljucno .et_pb_module_header {
    font-size: 19px !important;
  }
  .et_pb_group {
    flex-wrap: wrap !important;
  }
  .hx-header-cta {
    display: none !important;
  }
  .hx-header .et_pb_row {
    flex-wrap: nowrap !important;
    align-items: center;
  }
  .hx-fee__price {
    font-size: 36px;
  }
  .et_pb_text_inner p {
    overflow-wrap: anywhere;
  }
}

#kotizacija .et_pb_row_6,
#kotizacija .et_pb_row_7 {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
#kotizacija .et_pb_row_8 {
  padding-top: 24px !important;
}

/* Buttons: one consistent box (Divi wrote the padding shorthand unevenly) */
body .et_pb_button {
  padding: 14px 28px !important;
  min-height: 48px;
  border-width: 2px !important;
}
body .hx-header .et_pb_button {
  padding: 10px 20px !important;
  min-height: 44px;
  font-size: 15px !important;
}
body .et_pb_button:hover {
  padding: 14px 28px !important;
}
body .hx-header .et_pb_button:hover {
  padding: 10px 20px !important;
}

/* ------------------------------------------------------------------
   Registration / abstract form (#cm-form, legacy cm.css) in Hitna 2027 style
   ------------------------------------------------------------------ */
#cm-form {
  font-family: var(--hx-text);
  color: var(--hx-ink);
  max-width: 920px;
  margin: 0 auto;
}
#cm-form fieldset {
  border: 0 !important;
  border-top: 2px solid var(--hx-ink) !important;
  border-radius: 0 !important;
  padding: 28px 0 8px !important;
  margin: 0 0 40px !important;
  background: transparent !important;
}
#cm-form legend {
  background: transparent !important;
  border: 0 !important;
  color: var(--hx-ink) !important;
  font-family: var(--hx-display) !important;
  font-weight: 800 !important;
  font-size: 24px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  padding: 0 16px 0 0 !important;
  margin: 0 !important;
  width: auto !important;
  line-height: 1.2 !important;
  border-radius: 0 !important;
}
#cm-form label {
  font-weight: 700;
  font-size: 14px;
  color: var(--hx-ink);
}
#cm-form .radio label,
#cm-form .checkbox label,
#cm-form .radio-inline {
  font-weight: 500;
  font-size: 16px;
}
#cm-form .radio {
  display: block;
  margin: 0 0 10px;
}
#cm-form .radio label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--hx-field);
  border-radius: 14px;
  cursor: pointer;
}
#cm-form .radio label:has(input:checked) {
  border: 2px solid var(--hx-red);
  background: var(--hx-red-050);
}
#cm-form .radio input[type="radio"] {
  position: static;
  margin: 0;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
#cm-form .form-control {
  border-radius: 10px !important;
}
#cm-form input.total {
  background: var(--hx-mist) !important;
  border: 0 !important;
  border-radius: 12px !important;
  color: var(--hx-ink) !important;
  font-family: var(--hx-display);
  font-weight: 900;
}
#cm-form .from-help,
#cm-form .text-muted {
  color: var(--hx-muted) !important;
  border-color: var(--hx-line) !important;
}
#cm-form a {
  color: var(--hx-red);
  text-decoration: underline;
}
#cm-form .btn,
#cm-form button[type="submit"],
#cm-form input[type="submit"] {
  background: var(--hx-red) !important;
  border: 2px solid var(--hx-red) !important;
  color: var(--hx-white) !important;
  border-radius: 999px !important;
  font-family: var(--hx-text) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  padding: 14px 28px !important;
  min-height: 52px;
  box-shadow: none !important;
  text-shadow: none !important;
}
#cm-form .btn:hover,
#cm-form button[type="submit"]:hover,
#cm-form input[type="submit"]:hover {
  background: var(--hx-red-dark) !important;
  border-color: var(--hx-red-dark) !important;
}
.hx-form .alert,
.hx-form .alert-info,
.hx-form .alert-warning {
  background: var(--hx-mist) !important;
  border: 1px solid var(--hx-line) !important;
  color: var(--hx-ink) !important;
  border-radius: 12px !important;
}

/* Inner-page components */
.hx-summary {
  border: 2px solid var(--hx-ink);
}
.hx-summary .et_pb_button_module_wrapper {
  margin-top: 8px;
}
.hx-list {
  margin: 16px 0 !important;
  padding: 0 !important;
  list-style: none !important;
  counter-reset: hx;
}
.hx-list li {
  position: relative;
  padding: 12px 0 12px 44px !important;
  border-top: 1px solid var(--hx-line);
  counter-increment: hx;
}
.hx-list li:last-child {
  border-bottom: 1px solid var(--hx-line);
}
ol.hx-list li::before {
  content: counter(hx, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 12px;
  font-family: var(--hx-display);
  font-weight: 900;
  color: var(--hx-red);
}
ul.hx-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 22px;
  width: 10px;
  height: 10px;
  background: var(--hx-red);
}
.hx-small {
  font-size: 14px;
  color: var(--hx-muted);
}
.et_pb_row:has(> .hx-fee),
.et_pb_row:has(> .hx-org) {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
/* Groups holding buttons or logos sit in a row */
.et_pb_group:has(> .et_pb_button_module_wrapper),
.et_pb_group:has(> .et_pb_image + .et_pb_image) {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.et_pb_group:has(> .et_pb_button_module_wrapper) > *,
.et_pb_group:has(> .et_pb_image + .et_pb_image) > * {
  margin-bottom: 0 !important;
}
/* stronger than Divi's per-button rules (.et_pb_button_N_wrapper .et_pb_button_N) */
body .et_pb_button_module_wrapper .et_pb_button.et_pb_module,
body .et_pb_button_module_wrapper .et_pb_button.et_pb_module:hover {
  padding: 14px 28px !important;
}
body .hx-header .et_pb_button_module_wrapper .et_pb_button.et_pb_module,
body .hx-header .et_pb_button_module_wrapper .et_pb_button.et_pb_module:hover {
  padding: 10px 20px !important;
}

/* ------------------------------------------------------------------
   Registration form v2 – layout from the design mockup
   (backup of the previous version: _backup-2025/hitna.before-form-redesign.css
    and _backup-2025/cc_registration_hr.before-redesign.php)
   ------------------------------------------------------------------ */
#cm-form {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  column-gap: 48px;
  align-items: start;
  counter-reset: hxstep;
}
#cm-form > fieldset,
#cm-form > .row,
#cm-form > div:not(.hx-reg-aside) {
  grid-column: 1;
  min-width: 0;
}
#cm-form > fieldset > legend {
  display: flex !important;
  align-items: center;
  gap: 14px;
}
#cm-form > fieldset > legend::before {
  counter-increment: hxstep;
  content: counter(hxstep);
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--hx-ink);
  color: var(--hx-white);
  font-family: var(--hx-display);
  font-weight: 800;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#cm-form > fieldset {
  border-top: 0 !important;
  padding-top: 0 !important;
}
#cm-form > fieldset > legend {
  margin-bottom: 20px !important;
}
#cm-form > fieldset hr {
  display: none;
}

/* fee categories as cards: name left, price right */
#cm-form .radio label {
  justify-content: flex-start;
}
#cm-form .hx-opt__name {
  flex: 1;
  font-weight: 700;
  line-height: 1.3;
}
#cm-form .hx-opt__price {
  font-family: var(--hx-display);
  font-weight: 900;
  font-size: 22px;
  white-space: nowrap;
  color: var(--hx-ink);
}
#cm-form .radio {
  padding: 0 !important;
}
@media (min-width: 1280px) {
  #cm-form fieldset:has(.cmp__registration) > .radio {
    display: inline-block;
    width: calc(50% - 6px);
    vertical-align: top;
    margin: 0 0 12px;
  }
  #cm-form fieldset:has(.cmp__registration) > .radio:nth-of-type(odd) {
    margin-right: 8px;
  }
  #cm-form fieldset:has(.cmp__registration) > .radio label {
    min-height: 76px;
    height: 100%;
  }
}

/* summary sidebar */
#cm-form .hx-reg-aside {
  grid-column: 2;
  grid-row: 1 / span 30;
  position: sticky;
  top: 24px;
  border: 2px solid var(--hx-ink);
  border-radius: 20px;
  padding: 28px;
  background: var(--hx-white);
}
#cm-form .hx-reg-aside fieldset {
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
}
#cm-form .hx-reg-aside legend {
  font-family: var(--hx-mono) !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--hx-muted) !important;
  margin-bottom: 14px !important;
}
#cm-form .hx-reg-aside p {
  font-size: 14px;
  color: var(--hx-muted);
  margin-bottom: 10px;
}
#cm-form .hx-reg-aside .total__total {
  color: var(--hx-ink);
  font-weight: 700;
  padding-top: 14px;
  border-top: 1px solid var(--hx-line);
}
#cm-form .hx-reg-aside input.total {
  background: transparent !important;
  padding: 0 !important;
  min-height: 0;
  height: auto;
  text-align: right;
  font-size: 22px !important;
}
#cm-form .hx-reg-aside .total__total input.total {
  font-size: 40px !important;
  color: var(--hx-ink) !important;
}
#cm-form .hx-reg-aside .checkbox label {
  font-size: 14px !important;
  font-weight: 500 !important;
}
#cm-form .hx-reg-aside .btn-link {
  color: var(--hx-red) !important;
  text-decoration: underline;
  font: inherit;
}
#cm-form .hx-reg-aside .form-actions .btn {
  width: 100%;
}
#cm-form .hx-reg-aside br {
  display: none;
}

@media (max-width: 980px) {
  #cm-form {
    grid-template-columns: minmax(0, 1fr);
  }
  #cm-form .hx-reg-aside {
    grid-column: 1;
    grid-row: auto;
    position: static;
  }
}

/* Main menu dropdowns */
.hx-header .et-menu li ul.sub-menu {
  background: var(--hx-white);
  border: 1px solid var(--hx-line);
  border-top: 3px solid var(--hx-red);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 32px rgba(20, 20, 22, 0.12);
  padding: 10px 0;
  width: 260px;
}
.hx-header .et-menu li ul.sub-menu li {
  padding: 0 10px;
  width: 100%;
}
.hx-header .et-menu li ul.sub-menu a {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--hx-ink) !important;
  font-weight: 500;
}
.hx-header .et-menu li ul.sub-menu a:hover {
  background: var(--hx-mist);
  color: var(--hx-red) !important;
  opacity: 1;
}
.hx-header .et_mobile_menu {
  border-top: 3px solid var(--hx-red);
}

#cm-form .table-accommodation {
  white-space: normal !important;
}
#cm-form .table-accommodation th,
#cm-form .table-accommodation td {
  padding: 10px 8px;
}
#cm-form .table-accommodation .radio label {
  padding: 10px 12px;
}
#cm-form .table-responsive {
  border: 0;
}

/* ---------- Header menu: room above dropdowns, full-width mobile menu ---------- */
.hx-header .et_pb_menu .et-menu > li > a {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}
.hx-header .et-menu li ul.sub-menu {
  top: 100%;
}
.hx-header .et-menu > li.menu-item-has-children > a:after {
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 980px) {
  .hx-header .et_pb_row {
    position: relative;
  }
  .hx-header .et_pb_column,
  .hx-header .et_pb_menu,
  .hx-header .et_pb_menu_inner_container,
  .hx-header .et_pb_menu__wrap,
  .hx-header .et_mobile_nav_menu,
  .hx-header .mobile_nav {
    position: static !important;
  }
  .hx-header .et_mobile_menu {
    position: absolute !important;
    top: 100% !important;
    left: 16px !important;
    right: 16px !important;
    width: auto !important;
    z-index: 9999;
    background: var(--hx-white) !important;
    border: 1px solid var(--hx-line);
    border-top: 3px solid var(--hx-red) !important;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 16px 40px rgba(20, 20, 22, 0.14);
    padding: 8px 16px 16px !important;
  }
  .hx-header .et_mobile_menu li a {
    color: var(--hx-ink) !important;
    font-family: var(--hx-display);
    font-weight: 800;
    font-size: 18px;
    padding: 12px 4px !important;
    border-bottom: 1px solid var(--hx-line) !important;
  }
  .hx-header .et_mobile_menu li li a {
    font-family: var(--hx-text);
    font-weight: 500;
    font-size: 16px;
    padding-left: 16px !important;
  }
  .hx-header .et_mobile_menu li a:hover {
    color: var(--hx-red) !important;
    background: transparent !important;
  }
}

/* ---------- Registration form v2.1: more room ---------- */
#cm-form {
  grid-template-columns: minmax(0, 1fr) 320px;
  column-gap: 40px;
}
/* personal info: two fields per row instead of three */
#cm-form > fieldset .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}
#cm-form > fieldset .row > [class*="col-"] {
  flex: 0 0 50%;
  max-width: 50%;
  padding-left: 10px;
  padding-right: 10px;
}
@media (max-width: 600px) {
  #cm-form > fieldset .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
/* fee categories: one full-width card per line */
#cm-form fieldset:has(.cmp__registration) > .radio {
  display: block !important;
  width: 100% !important;
  margin: 0 0 10px !important;
}
#cm-form .radio label {
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}
#cm-form .hx-opt__name {
  min-width: 0;
  overflow-wrap: anywhere;
}
/* accommodation: cards instead of a table */
#cm-form .table-accommodation,
#cm-form .table-accommodation tbody {
  display: block;
  width: 100%;
  border: 0 !important;
}
#cm-form .table-accommodation thead {
  display: none;
}
#cm-form .table-accommodation tr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
#cm-form .table-accommodation th[scope="row"] {
  grid-column: 1 / -1;
  padding: 0 !important;
  border: 0 !important;
  font-family: var(--hx-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--hx-ink);
  text-align: left;
}
#cm-form .table-accommodation td {
  padding: 0 !important;
  border: 0 !important;
}
#cm-form .table-accommodation td:empty,
#cm-form .table-accommodation td:last-child:not(:nth-child(2)):not(:nth-child(3)) {
  display: none;
}
#cm-form .table-accommodation td[colspan] {
  grid-column: 1 / -1;
}
#cm-form .table-accommodation tr:not(:last-child) .radio label {
  font-family: var(--hx-display);
  font-weight: 900;
  font-size: 18px;
}
#cm-form .table-accommodation tr:not(:last-child) .radio label input {
  order: 0;
}
#cm-form .table-accommodation tr:not(:last-child) .radio label {
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  #cm-form .table-accommodation tr {
    grid-template-columns: 1fr;
  }
}
#cm-forms {
  max-width: none !important;
  width: 100%;
}
#cm-form .table-accommodation tr:not(:last-child) .radio label {
  flex-wrap: nowrap;
}
#cm-form .table-accommodation tr:not(:last-child) .radio label input {
  order: -2;
}
@media (max-width: 980px) {
  #cm-form {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  #cm-form .hx-reg-aside {
    grid-column: 1 !important;
    grid-row: auto !important;
    position: static !important;
  }
}

/* ---------- Registration form v2.2: spacing pass ---------- */
#cm-form .form-group {
  margin-bottom: 22px !important;
}
#cm-form .form-group > label,
#cm-form label.control-label {
  display: block;
  margin-bottom: 8px !important;
  line-height: 1.3;
}
#cm-form .form-control {
  font-size: 16px !important;
}
#cm-form select.form-control {
  padding-left: 12px !important;
}
#cm-form .from-help,
#cm-form small,
#cm-form .help-block {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  border: 0 !important;
}
#cm-form > fieldset > p,
#cm-form > fieldset > .table-responsive + p {
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: var(--hx-ink-700) !important;
  margin: 0 0 16px !important;
  max-width: 70ch;
}
#cm-form > fieldset {
  margin-bottom: 56px !important;
}
#cm-form > fieldset > legend {
  margin-bottom: 24px !important;
}
#cm-form .radio {
  margin-bottom: 10px !important;
}
#cm-form .radio label {
  padding: 16px 18px !important;
  gap: 14px !important;
}
#cm-form .hx-reg-note {
  margin: 4px 0 0 !important;
  padding: 14px 18px !important;
  font-size: 14px;
  line-height: 1.5 !important;
}
#cm-form .row > [class*="col-"] {
  margin-bottom: 0;
}
/* checkboxes: bigger, aligned with text */
#cm-form .checkbox {
  margin: 0 0 12px;
}
#cm-form .checkbox label {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.45;
  cursor: pointer;
  padding: 0 !important;
}
#cm-form input[type="checkbox"] {
  position: static !important;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 0 !important;
  accent-color: var(--hx-red);
}
/* accommodation block */
#cm-form .table-responsive {
  margin: 8px 0 20px;
}
#cm-form .table-accommodation th[scope="row"] {
  margin-bottom: 4px;
}
/* invoice / accompanying sub-blocks */
#cm-form .cmp__hide,
#cm-form #ac_person_wrap {
  margin-top: 16px;
}
/* sidebar spacing */
#cm-form .hx-reg-aside fieldset + fieldset {
  border-top: 1px solid var(--hx-line) !important;
  padding-top: 20px !important;
  margin-top: 20px !important;
}
#cm-form .hx-reg-aside legend {
  line-height: 1.4 !important;
}
#cm-form .hx-reg-aside .form-group {
  margin-bottom: 4px !important;
}
#cm-form .hx-reg-aside #math-question-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--hx-ink);
}
#cm-form .hx-reg-aside .checkbox {
  margin-bottom: 18px;
}
#cm-form .hx-reg-aside .checkbox label {
  font-size: 14px !important;
}
#cm-form .hx-reg-aside .total__fees {
  margin-bottom: 4px !important;
}
#cm-form .hx-reg-aside p.total__total {
  margin-bottom: 0 !important;
}
/* validation messages (Bootstrap 4) */
#cm-form .invalid-feedback,
#cm-form em.error,
#cm-form .error:not(input) {
  display: block;
  margin-top: 6px;
  color: var(--hx-red);
  font-size: 13px;
  font-style: normal;
}
#cm-form .form-control.is-invalid {
  border-color: var(--hx-red) !important;
  background-image: none;
}
#cm-form .form-control.is-valid {
  border-color: #2e7d32 !important;
  background-image: none;
}
/* checkbox labels contain text + a button: keep them as flowing text */
#cm-form .checkbox label {
  display: block !important;
  position: relative;
  padding-left: 34px !important;
}
#cm-form .checkbox label input[type="checkbox"] {
  position: absolute !important;
  left: 0;
  top: 0;
}
#cm-form .checkbox .btn-link {
  display: inline !important;
  vertical-align: baseline;
}
/* accommodation cards: room name first, price right */
#cm-form .table-accommodation tr:last-child .radio {
  margin-bottom: 0 !important;
}
#cm-form .hx-reg-aside fieldset + fieldset {
  border-top: 0 !important;
  padding-top: 0 !important;
  margin-top: 28px !important;
}
#cm-form .hx-reg-aside legend {
  float: none;
  display: block;
  width: 100% !important;
  padding: 0 !important;
}

/* v2.3 — accommodation room cards: small label on top, price below */
#cm-form .table-accommodation .radio label::before {
  content: none !important;
  display: none !important;
}
#cm-form .table-accommodation tr:not(:last-child) .radio label {
  align-items: center !important;
  flex-wrap: nowrap !important;
  padding: 16px 18px !important;
  min-height: 84px;
  font-family: var(--hx-text) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}
#cm-form .table-accommodation tr:not(:last-child) .radio label input {
  order: 0 !important;
  flex: 0 0 auto;
}
#cm-form .hx-room {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  line-height: 1.15;
}
#cm-form .hx-room small {
  font-family: var(--hx-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hx-muted);
  white-space: nowrap;
}
#cm-form .hx-room strong {
  font-family: var(--hx-display);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--hx-ink);
  white-space: nowrap;
}
#cm-form .radio label:has(input:checked) .hx-room small {
  color: var(--hx-red);
}
#cm-form .table-accommodation tr {
  margin-bottom: 10px !important;
}
#cm-form .table-accommodation th[scope="row"]:empty,
#cm-form .table-accommodation tr:last-child th {
  display: none !important;
}
#cm-form .table-accommodation tr:last-child {
  margin-top: 0 !important;
}
#cm-form .table-accommodation tr:last-child td[colspan] {
  grid-column: 1 / -1;
}
@media (max-width: 600px) {
  #cm-form .table-accommodation tr {
    grid-template-columns: 1fr !important;
  }
  #cm-form .hx-room strong {
    font-size: 22px;
  }
}

/* totals: show accommodation line */
#cm-form .hx-reg-aside .total__accommodation {
  display: flex !important;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px !important;
}
#cm-form .hx-reg-aside .total__fees {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
#cm-form .hx-reg-aside .total__fees input.total,
#cm-form .hx-reg-aside .total__accommodation input.total {
  max-width: 60%;
}

/* invoice block: 2 per row on larger screens */
#cm-form #invoiceInfoWrap .row > [class*="col-"] {
  flex: 0 0 50%;
  max-width: 50%;
}
@media (max-width: 767px) {
  #cm-form #invoiceInfoWrap .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* terms modal */
.modal-backdrop.show {
  opacity: 0.6;
  background: var(--hx-ink);
}
#modalCancellationPolicy .modal-dialog {
  max-width: 720px;
  margin: 40px auto;
  padding: 0 16px;
}
#modalCancellationPolicy .modal-content {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(20, 20, 22, 0.28);
  font-family: var(--hx-text);
}
#modalCancellationPolicy .modal-header {
  display: flex;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--hx-line);
  border-top: 4px solid var(--hx-red);
  background: var(--hx-white);
}
#modalCancellationPolicy .modal-title,
#modalCancellationPolicy .modal-header h3,
#modalCancellationPolicy .modal-header h4 {
  font-family: var(--hx-display);
  font-weight: 900;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--hx-ink);
  margin: 0;
  padding: 0;
}
#modalCancellationPolicy .modal-header .close {
  order: 2;
  margin: 0 0 0 auto;
  padding: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--hx-mist);
  opacity: 1;
  font-size: 26px;
  line-height: 40px;
  text-align: center;
  color: var(--hx-ink);
  text-shadow: none;
}
#modalCancellationPolicy .modal-header .close:hover {
  background: var(--hx-red);
  color: #fff;
}
#modalCancellationPolicy .modal-body {
  padding: 24px 28px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--hx-ink-800, #2a2a30);
  max-height: 65vh;
  overflow-y: auto;
}
#modalCancellationPolicy .modal-body h1,
#modalCancellationPolicy .modal-body h2,
#modalCancellationPolicy .modal-body h3,
#modalCancellationPolicy .modal-body h4,
#modalCancellationPolicy .modal-body h5 {
  font-family: var(--hx-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--hx-ink);
  margin: 22px 0 8px;
  padding: 0;
}
#modalCancellationPolicy .modal-body > :first-child {
  margin-top: 0;
}
#modalCancellationPolicy .modal-body p {
  margin: 0 0 12px;
  padding: 0;
}
#modalCancellationPolicy .modal-body ul,
#modalCancellationPolicy .modal-body ol {
  margin: 0 0 14px;
  padding-left: 22px;
}
#modalCancellationPolicy .modal-body li {
  margin-bottom: 6px;
  padding-left: 4px;
}
#modalCancellationPolicy .modal-body li::marker {
  color: var(--hx-red);
}
#modalCancellationPolicy .modal-body strong,
#modalCancellationPolicy .modal-body b {
  color: var(--hx-ink);
}
#modalCancellationPolicy .modal-body a {
  color: var(--hx-red);
  text-decoration: underline;
}
#modalCancellationPolicy .modal-footer {
  padding: 16px 28px 24px;
  border-top: 1px solid var(--hx-line);
  justify-content: flex-end;
}
#modalCancellationPolicy .modal-footer .btn {
  background: var(--hx-red) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 12px 28px !important;
  font-family: var(--hx-text);
  font-weight: 700;
  font-size: 15px;
}
#modalCancellationPolicy .modal-footer .btn:hover {
  background: #8e0004 !important;
}
@media (max-width: 600px) {
  #modalCancellationPolicy .modal-dialog {
    margin: 16px auto;
  }
  #modalCancellationPolicy .modal-header,
  #modalCancellationPolicy .modal-body,
  #modalCancellationPolicy .modal-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  #modalCancellationPolicy .modal-footer .btn {
    width: 100%;
  }
}
#modalCancellationPolicy .modal-body h3,
#modalCancellationPolicy .modal-body h4 {
  font-family: var(--hx-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--hx-red);
  margin: 26px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--hx-line);
}
#modalCancellationPolicy .modal-body > h3:first-child,
#modalCancellationPolicy .modal-body > h4:first-child {
  padding-top: 0;
  border-top: 0;
  margin-top: 0;
}
#cm-form .table-accommodation .radio {
  margin: 0 !important;
}
#cm-form .table-accommodation + *,
#cm-form .table-responsive:has(.table-accommodation) {
  margin-bottom: 8px !important;
}

/* totals: tighter rows */
#cm-form .hx-reg-aside .total__fees,
#cm-form .hx-reg-aside .total__accommodation,
#cm-form .hx-reg-aside .total__extras {
  padding: 0 !important;
  margin: 0 0 6px !important;
  min-height: 0;
}
#cm-form .hx-reg-aside .total__fees input.total,
#cm-form .hx-reg-aside .total__accommodation input.total,
#cm-form .hx-reg-aside .total__extras input.total {
  margin: 0 !important;
  height: auto !important;
  line-height: 1.2;
}
#cm-form .hx-reg-aside p.total__total {
  margin-top: 12px !important;
}

/* ==========================================================
   Datepicker (jQuery UI) — Hitna skin
   Za drugi projekt promijeni samo varijable --dp-* ispod.
   ========================================================== */
:root {
  --dp-accent: var(--hx-red, #b50005);
  --dp-accent-hover: #8e0004;
  --dp-accent-soft: var(--hx-red-050, #fff4f4);
  --dp-ink: var(--hx-ink, #141416);
  --dp-muted: var(--hx-muted, #5a5a60);
  --dp-line: var(--hx-line, #e3e1dd);
  --dp-bg: #ffffff;
  --dp-hover: var(--hx-mist, #f4f3f1);
  --dp-radius: 16px;
  --dp-cell: 38px;
  --dp-font: var(--hx-text, "Red Hat Text", sans-serif);
  --dp-font-title: var(--hx-display, "Red Hat Display", sans-serif);
  --dp-font-label: var(--hx-mono, "Red Hat Mono", monospace);
}
body .ui-datepicker {
  width: auto !important;
  min-width: calc(var(--dp-cell) * 7 + 32px);
  padding: 16px !important;
  margin-top: 8px;
  background: var(--dp-bg) !important;
  border: 1px solid var(--dp-line) !important;
  border-radius: var(--dp-radius) !important;
  box-shadow: 0 16px 40px rgba(20, 20, 22, 0.16);
  font-family: var(--dp-font) !important;
  color: var(--dp-ink);
  z-index: 1000 !important;
}
body .ui-datepicker .ui-datepicker-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 44px 12px !important;
  margin-bottom: 8px;
  background: none !important;
  border: 0 !important;
  border-bottom: 1px solid var(--dp-line) !important;
  border-radius: 0 !important;
}
body .ui-datepicker .ui-datepicker-title {
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--dp-font-title);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  color: var(--dp-ink);
  text-transform: capitalize;
}
body .ui-datepicker .ui-datepicker-title select {
  width: auto !important;
  margin: 0 !important;
  padding: 4px 26px 4px 10px !important;
  height: 34px;
  border: 1px solid var(--dp-line) !important;
  border-radius: 999px !important;
  background: var(--dp-bg)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23141416' stroke-width='1.5'/%3E%3C/svg%3E")
    no-repeat right 10px center !important;
  -webkit-appearance: none;
  appearance: none;
  font: 700 15px var(--dp-font) !important;
  color: var(--dp-ink) !important;
  text-transform: capitalize;
  cursor: pointer;
}
body .ui-datepicker .ui-datepicker-prev,
body .ui-datepicker .ui-datepicker-next {
  position: absolute;
  top: 0 !important;
  width: 36px !important;
  height: 36px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--dp-hover) !important;
  cursor: pointer;
  transition: background 0.15s;
}
body .ui-datepicker .ui-datepicker-prev {
  left: 0 !important;
}
body .ui-datepicker .ui-datepicker-next {
  right: 0 !important;
}
body .ui-datepicker .ui-datepicker-prev span,
body .ui-datepicker .ui-datepicker-next span {
  display: none !important;
}
body .ui-datepicker .ui-datepicker-prev::after,
body .ui-datepicker .ui-datepicker-next::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border: solid var(--dp-ink);
  border-width: 0 2px 2px 0;
}
body .ui-datepicker .ui-datepicker-prev::after {
  transform: translate(-30%, -50%) rotate(135deg);
}
body .ui-datepicker .ui-datepicker-next::after {
  transform: translate(-70%, -50%) rotate(-45deg);
}
body .ui-datepicker .ui-datepicker-prev:not(.ui-state-disabled):hover,
body .ui-datepicker .ui-datepicker-next:not(.ui-state-disabled):hover {
  background: var(--dp-accent) !important;
}
body .ui-datepicker .ui-datepicker-prev:not(.ui-state-disabled):hover::after,
body .ui-datepicker .ui-datepicker-next:not(.ui-state-disabled):hover::after {
  border-color: #fff;
}
body .ui-datepicker .ui-state-disabled.ui-datepicker-prev,
body .ui-datepicker .ui-state-disabled.ui-datepicker-next {
  opacity: 0.35;
  cursor: default;
}
body .ui-datepicker table {
  width: 100%;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate;
  border-spacing: 2px;
  font-size: 15px;
}
body .ui-datepicker th {
  padding: 6px 0 !important;
  border: 0 !important;
  font-family: var(--dp-font-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dp-muted);
  text-align: center;
}
body .ui-datepicker th.ui-datepicker-week-end {
  color: var(--dp-accent);
}
body .ui-datepicker td {
  padding: 0 !important;
  border: 0 !important;
  text-align: center;
}
body .ui-datepicker td a.ui-state-default,
body .ui-datepicker td span.ui-state-default {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: var(--dp-cell);
  height: var(--dp-cell);
  margin: 0 auto;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  font-family: var(--dp-font) !important;
  font-weight: 600 !important;
  font-size: 15px;
  color: var(--dp-ink) !important;
  text-align: center !important;
  transition:
    background 0.15s,
    color 0.15s;
}
body .ui-datepicker td a.ui-state-default:hover {
  background: var(--dp-hover) !important;
  color: var(--dp-accent) !important;
}
body .ui-datepicker td a.ui-state-highlight {
  box-shadow: inset 0 0 0 1.5px var(--dp-line);
  background: transparent !important;
}
body .ui-datepicker td a.ui-state-active,
body .ui-datepicker td a.ui-state-active:hover {
  background: var(--dp-accent) !important;
  color: #fff !important;
  box-shadow: none;
}
body .ui-datepicker td.ui-state-disabled {
  opacity: 1 !important;
}
body .ui-datepicker td.ui-state-disabled span.ui-state-default {
  color: var(--dp-muted) !important;
  opacity: 0.4;
  font-weight: 400 !important;
}
body .ui-datepicker td.ui-datepicker-other-month {
  visibility: hidden;
}
body .ui-datepicker .ui-datepicker-buttonpane {
  margin: 10px 0 0 !important;
  padding: 10px 0 0 !important;
  border-top: 1px solid var(--dp-line) !important;
  background: none !important;
}
body .ui-datepicker .ui-datepicker-buttonpane button {
  margin: 0 0 0 8px !important;
  padding: 8px 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--dp-hover) !important;
  font: 700 14px var(--dp-font) !important;
  color: var(--dp-ink) !important;
  opacity: 1 !important;
}
body .ui-datepicker .ui-datepicker-buttonpane button.ui-priority-primary {
  background: var(--dp-accent) !important;
  color: #fff !important;
}
@media (max-width: 400px) {
  :root {
    --dp-cell: 36px;
  }
  body .ui-datepicker {
    padding: 12px !important;
  }
}
/* datepicker: hidden until jQuery UI opens it (inline display:block wins) — works even if the jQuery UI theme CSS isn't loaded */
body #ui-datepicker-div,
body .ui-datepicker {
  display: none;
}
body #ui-datepicker-div:empty {
  display: none !important;
}
body .ui-datepicker-inline {
  display: block;
}

/* homepage fee cards as links to registration */
.hx-fee--link {
  position: relative;
  cursor: pointer;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}
.hx-fee--link:hover,
.hx-fee--link:focus-within {
  border-color: var(--hx-red);
  box-shadow: 0 10px 28px rgba(20, 20, 22, 0.08);
  transform: translateY(-2px);
}
.hx-fee__link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px;
  text-decoration: none;
}
.hx-fee__link:focus-visible {
  outline: 3px solid var(--hx-red);
  outline-offset: 3px;
}
.hx-fee__cta {
  font-family: var(--hx-text);
  font-weight: 700;
  font-size: 14px;
  color: var(--hx-red);
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.15s,
    transform 0.15s;
}
.hx-fee--link:hover .hx-fee__cta,
.hx-fee__link:focus-visible .hx-fee__cta {
  opacity: 1;
  transform: none;
}
@media (hover: none) {
  .hx-fee__cta {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hx-fee--link,
  .hx-fee__cta {
    transition: none;
    transform: none !important;
  }
}
/* registration: highlight the preselected fee */
#cm-form .radio label.hx-flash {
  animation: hxFlash 2s ease-out;
}
@keyframes hxFlash {
  0%,
  30% {
    box-shadow: 0 0 0 6px rgba(181, 0, 5, 0.18);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(181, 0, 5, 0);
  }
}

/* ==========================================================
   Abstract submission form [cc_abstract] — v1 (2027)
   ========================================================== */
.hx-abs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
  font-family: var(--hx-text);
  color: var(--hx-ink);
}
.hx-abs * {
  box-sizing: border-box;
}
.hx-abs__main {
  min-width: 0;
}
.hx-abs__req {
  font-size: 14px;
  color: var(--hx-muted);
  margin: 0 0 20px;
  padding: 0;
}
.hx-abs__star {
  color: var(--hx-red);
  font-weight: 700;
}
.hx-abs__opt {
  font-family: var(--hx-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hx-muted);
  margin-left: 6px;
}
.hx-abs.is-enhanced .hx-abs__legacy {
  display: none !important;
}
.hx-abs__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* steps */
.hx-abs__step {
  border: 1.5px solid var(--hx-line);
  border-radius: 20px;
  padding: 28px;
  margin: 0 0 20px;
  background: var(--hx-white);
}
.hx-abs__step.has-error {
  border-color: var(--hx-red);
}
.hx-abs__head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.hx-abs__num {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--hx-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hx-display);
  font-weight: 900;
  font-size: 16px;
  margin-top: 2px;
}
.hx-abs__head h3 {
  font-family: var(--hx-display);
  font-weight: 900;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  padding: 0;
  color: var(--hx-ink);
}
.hx-abs__head p {
  margin: 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--hx-muted);
}

/* fields */
.hx-abs__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px 16px;
}
.hx-f {
  min-width: 0;
  grid-column: span 6;
}
.hx-f--2 {
  grid-column: span 2;
}
.hx-f--3 {
  grid-column: span 3;
}
.hx-f--6 {
  grid-column: span 6;
}
.hx-abs label,
.hx-abs .control-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--hx-ink);
  margin: 0 0 6px;
  padding: 0;
}
.hx-abs .form-control {
  width: 100%;
  min-height: 50px;
  border: 1.5px solid var(--hx-field) !important;
  border-radius: 10px !important;
  padding: 12px 14px;
  font: 16px/1.45 var(--hx-text) !important;
  color: var(--hx-ink);
  background-color: var(--hx-white);
  box-shadow: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.hx-abs select.form-control {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 38px;
  background: var(--hx-white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23141416' stroke-width='1.6'/%3E%3C/svg%3E")
    no-repeat right 14px center;
}
.hx-abs .form-control:hover {
  border-color: var(--hx-muted) !important;
}
.hx-abs .form-control:focus {
  border-color: var(--hx-red) !important;
  box-shadow: 0 0 0 3px rgba(181, 0, 5, 0.18);
  outline: none;
}
.hx-abs .form-control.is-invalid {
  border-color: var(--hx-red) !important;
  background-color: var(--hx-red-050);
  background-image: none;
}
.hx-abs textarea.form-control {
  resize: vertical;
}
.hx-abs textarea.hx-abs__title {
  min-height: 50px;
  font-weight: 700 !important;
}
.hx-abs textarea.hx-abs__text {
  min-height: 280px;
  line-height: 1.6 !important;
}
.hx-abs__msg,
.hx-abs__error {
  margin: 6px 0 0;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--hx-red);
}
.hx-abs__step > .hx-f + .hx-f {
  margin-top: 22px;
}

/* co-authors */
.hx-abs__coauthors {
  display: grid;
  gap: 14px;
}
.hx-abs.is-enhanced .coautor[hidden] {
  display: none !important;
}
.hx-abs .coautor {
  display: block;
}
.hx-abs.is-enhanced .coautor:not(.is-open) {
  display: none;
}
.hx-abs__co {
  border: 1.5px solid var(--hx-line);
  border-radius: 16px;
  padding: 20px;
  background: var(--hx-mist);
  animation: hxCoIn 0.2s ease-out;
}
@keyframes hxCoIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hx-abs__co-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  min-height: 32px;
}
.hx-abs__co-badge {
  font-family: var(--hx-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hx-red);
  white-space: nowrap;
}
.hx-abs__co-name {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hx-abs__co-remove {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--hx-muted);
  font: 600 14px var(--hx-text);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.hx-abs__co-remove:hover,
.hx-abs__co-remove:focus-visible {
  background: var(--hx-white);
  color: var(--hx-red);
  outline: none;
  box-shadow: 0 0 0 1.5px var(--hx-red);
}
.hx-abs:not(.is-enhanced) .hx-abs__co-remove {
  display: none;
}
.hx-abs__co .form-control {
  background-color: var(--hx-white);
}
.hx-abs__add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 14px;
  padding: 16px;
  border: 1.5px dashed var(--hx-field);
  border-radius: 16px;
  background: transparent;
  font: 700 16px var(--hx-text);
  color: var(--hx-ink);
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s,
    color 0.15s;
}
.hx-abs__add:hover:not(:disabled),
.hx-abs__add:focus-visible {
  border-color: var(--hx-red);
  color: var(--hx-red);
  background: var(--hx-red-050);
  outline: none;
}
.hx-abs__add:disabled {
  opacity: 0.45;
  cursor: default;
}
.hx-abs__add-plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--hx-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}
.hx-abs__add-count {
  font-family: var(--hx-mono);
  font-weight: 500;
  font-size: 12px;
  color: var(--hx-muted);
  letter-spacing: 0.08em;
}
.hx-abs__coauthors:empty + .hx-abs__add,
.hx-abs__coauthors:not(:has(.is-open)) + .hx-abs__add {
  margin-top: 0;
}

/* presenter picker */
.hx-abs__people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.hx-abs__person {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 1.5px solid var(--hx-field);
  border-radius: 14px;
  cursor: pointer;
  background: var(--hx-white);
  transition:
    border-color 0.15s,
    background 0.15s;
  font-weight: 500 !important;
}
.hx-abs__person:hover {
  border-color: var(--hx-ink);
}
.hx-abs__person input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.hx-abs__person:focus-within {
  box-shadow: 0 0 0 3px rgba(181, 0, 5, 0.18);
}
.hx-abs__person.is-selected {
  border: 2px solid var(--hx-red);
  background: var(--hx-red-050);
  padding: 13.5px 15.5px !important;
}
.hx-abs__avatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--hx-mist);
  color: var(--hx-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hx-display);
  font-weight: 900;
  font-size: 15px;
}
.hx-abs__person.is-selected .hx-abs__avatar {
  background: var(--hx-red);
  color: #fff;
}
.hx-abs__person-txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hx-abs__person-txt strong {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hx-abs__person-txt small {
  font-size: 13px;
  color: var(--hx-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* counters */
.hx-abs__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.hx-abs__count {
  flex: 0 0 auto;
  font-family: var(--hx-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--hx-muted);
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--hx-mist);
}
.hx-abs__count.is-ok {
  color: #1f6a2a;
  background: #eaf4ec;
}
.hx-abs__count.is-over {
  color: #fff;
  background: var(--hx-red);
}
.hx-abs__meter {
  height: 4px;
  border-radius: 4px;
  background: var(--hx-line);
  margin-top: 8px;
  overflow: hidden;
}
.hx-abs__meter span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--hx-ink);
  border-radius: 4px;
  transition: width 0.2s;
}
.hx-abs__meter span.is-over {
  background: var(--hx-red);
}

/* summary aside */
.hx-abs__aside {
  position: sticky;
  top: 24px;
  border: 2px solid var(--hx-ink);
  border-radius: 20px;
  padding: 26px;
  background: var(--hx-white);
}
.hx-abs__aside-label {
  font-family: var(--hx-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hx-muted);
  margin: 0 0 16px;
  padding: 0;
}
.hx-abs__check {
  list-style: none;
  margin: 0 0 20px !important;
  padding: 0 !important;
  display: grid;
  gap: 14px;
}
.hx-abs__check li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hx-abs__check li::marker {
  content: none;
}
.hx-abs__check strong {
  display: block;
  font-size: 15px;
  line-height: 1.3;
}
.hx-abs__check small {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  color: var(--hx-muted);
  overflow-wrap: anywhere;
}
.hx-abs__dot {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1.5px solid var(--hx-field);
  position: relative;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.hx-abs__check li.is-done .hx-abs__dot {
  background: var(--hx-ink);
  border-color: var(--hx-ink);
}
.hx-abs__check li.is-done .hx-abs__dot::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2.5px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.hx-abs__check li.is-warn .hx-abs__dot {
  background: var(--hx-red);
  border-color: var(--hx-red);
}
.hx-abs__check li.is-warn small {
  color: var(--hx-red);
}
.hx-abs__aside-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--hx-muted);
  margin: 0 0 18px;
  padding: 16px 0 0;
  border-top: 1px solid var(--hx-line);
}
.hx-abs__aside-note a,
.hx-abs__help a {
  color: var(--hx-red);
}
.hx-abs .form-actions {
  margin: 0;
  padding: 0;
}
.hx-abs .hx-abs__submit {
  display: block;
  width: 100%;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--hx-red) !important;
  color: #fff !important;
  font: 700 17px var(--hx-text) !important;
  padding: 16px 24px !important;
  cursor: pointer;
  transition: background 0.15s;
}
.hx-abs .hx-abs__submit:hover:not(:disabled) {
  background: #8e0004 !important;
}
.hx-abs .hx-abs__submit:disabled {
  opacity: 0.7;
  cursor: progress;
}
.hx-abs__submit-error {
  text-align: center;
}

/* messages around the form */
.hx-abs__alert {
  border: 0 !important;
  border-radius: 16px !important;
  padding: 18px 22px !important;
  margin: 0 0 24px !important;
  font-size: 15px;
  line-height: 1.55;
  font-family: var(--hx-text);
}
.hx-abs__alert--ok {
  background: #eaf4ec !important;
  color: #1f4d26 !important;
  border-left: 4px solid #2e7d32 !important;
}
.hx-abs__alert--err {
  background: var(--hx-red-050) !important;
  color: var(--hx-ink) !important;
  border-left: 4px solid var(--hx-red) !important;
}
.hx-abs__alert ul {
  margin: 8px 0 0 18px !important;
  padding: 0 !important;
}
.hx-abs__help {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--hx-mist);
  font-size: 14px;
  color: var(--hx-ink-800, #2a2a30);
  font-family: var(--hx-text);
}

@media (max-width: 980px) {
  .hx-abs {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .hx-abs__aside {
    position: static;
  }
}
@media (max-width: 640px) {
  .hx-abs__step {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .hx-abs__head {
    gap: 12px;
  }
  .hx-abs__head h3 {
    font-size: 21px;
  }
  .hx-abs__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .hx-f--2,
  .hx-f--3,
  .hx-f--6 {
    grid-column: 1 / -1;
  }
  .hx-abs__co {
    padding: 16px 14px;
  }
  .hx-abs__aside {
    padding: 20px 16px;
  }
}
@media (min-width: 641px) and (max-width: 1100px) {
  .hx-abs__grid .hx-f--2 {
    grid-column: span 3;
  }
  .hx-abs__grid .hx-f--2:first-child {
    grid-column: span 6;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hx-abs__co {
    animation: none;
  }
  .hx-abs__meter span {
    transition: none;
  }
}
.hx-abs .form-control,
.hx-abs .form-control.required {
  color: var(--hx-ink) !important;
}
@media (max-width: 640px) {
  .hx-abs__add-count {
    display: none;
  }
  .hx-abs__add span {
    white-space: nowrap;
  }
}

/* ==========================================================
   Abstracts export page (/export-sazetaka/) — page_abstracts-export.php
   ========================================================== */
.hx-exp-page {
  background: var(--hx-mist);
  font-family: var(--hx-text);
  color: var(--hx-ink);
  padding-bottom: 96px;
}
.hx-exp-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.hx-exp-eyebrow {
  font-family: var(--hx-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hx-red);
  margin: 0 0 12px;
  padding: 0;
}

/* hero */
.hx-exp-hero {
  padding: 56px 0 32px;
}
.hx-exp-hero__title {
  font-family: var(--hx-display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--hx-ink);
  margin: 0 0 12px;
  padding: 0;
}
.hx-exp-hero__lead {
  font-size: 16px;
  color: var(--hx-muted);
  margin: 0 0 28px;
  padding: 0;
}
.hx-exp-hero__lead strong {
  color: var(--hx-red);
  text-transform: uppercase;
  font-family: var(--hx-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.hx-exp-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hx-exp-stat {
  background: var(--hx-white);
  border: 1px solid var(--hx-line);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.hx-exp-stat strong {
  font-family: var(--hx-display);
  font-weight: 900;
  font-size: 26px;
  line-height: 1;
}
.hx-exp-stat span {
  font-size: 14px;
  color: var(--hx-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hx-exp-stat--main {
  background: var(--hx-ink);
  border-color: var(--hx-ink);
}
.hx-exp-stat--main strong,
.hx-exp-stat--main span {
  color: #fff;
}
.hx-exp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  background: var(--hx-field);
}
.hx-exp-dot--ok {
  background: #2e7d32;
}
.hx-exp-dot--no {
  background: var(--hx-red);
}
.hx-exp-dot--info {
  background: #1f5fad;
}
.hx-exp-dot--wait {
  background: #b7791f;
}

/* toolbar */
.hx-exp-toolbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 243, 241, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--hx-line);
  border-bottom: 1px solid var(--hx-line);
  padding: 12px 0;
  margin-bottom: 32px;
}
.admin-bar .hx-exp-toolbar {
  top: 32px;
}
.hx-exp-toolbar__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.hx-exp-search {
  flex: 1 1 320px;
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
}
.hx-exp-search svg {
  position: absolute;
  left: 14px;
  color: var(--hx-muted);
  pointer-events: none;
}
.hx-exp-search input,
#hx-exp-status {
  height: 46px;
  border: 1.5px solid var(--hx-field);
  border-radius: 999px;
  background: var(--hx-white);
  font: 15px var(--hx-text);
  color: var(--hx-ink);
  box-sizing: border-box;
}
.hx-exp-search input {
  width: 100%;
  padding: 0 16px 0 42px;
}
#hx-exp-status {
  padding: 0 38px 0 16px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--hx-white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23141416' stroke-width='1.6'/%3E%3C/svg%3E")
    no-repeat right 14px center;
}
.hx-exp-search input:focus,
#hx-exp-status:focus {
  outline: none;
  border-color: var(--hx-red);
  box-shadow: 0 0 0 3px rgba(181, 0, 5, 0.15);
}
.hx-exp-found {
  font-family: var(--hx-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--hx-muted);
  min-width: 48px;
}
.hx-exp-btn {
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--hx-ink);
  color: #fff;
  font: 700 15px var(--hx-text);
  cursor: pointer;
  margin-left: auto;
  transition: background 0.15s;
}
.hx-exp-btn:hover {
  background: var(--hx-red);
}

/* layout */
.hx-exp-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.hx-exp-index {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding-right: 6px;
}
.admin-bar .hx-exp-index {
  top: 128px;
}
.hx-exp-index .hx-exp-eyebrow {
  color: var(--hx-muted);
}
.hx-exp-index ol {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  gap: 2px;
}
.hx-exp-index li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hx-exp-index li[hidden] {
  display: none;
}
.hx-exp-index a {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--hx-ink);
  text-decoration: none;
}
.hx-exp-index a span {
  flex: 0 0 auto;
  font-family: var(--hx-mono);
  font-size: 12px;
  color: var(--hx-red);
  padding-top: 1px;
}
.hx-exp-index a:hover {
  background: var(--hx-white);
}

/* abstract card */
.hx-exp-list {
  display: grid;
  gap: 20px;
}
.hx-exp-item {
  background: var(--hx-white);
  border: 1px solid var(--hx-line);
  border-radius: 20px;
  padding: 32px 36px;
  scroll-margin-top: 96px;
}
.hx-exp-item[hidden] {
  display: none;
}
.hx-exp-item__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 14px;
}
.hx-exp-no {
  font-family: var(--hx-display);
  font-weight: 900;
  font-size: 18px;
  color: var(--hx-red);
}
.hx-exp-badge {
  font-family: var(--hx-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--hx-mist);
  color: var(--hx-ink);
}
.hx-exp-badge--ok {
  background: #eaf4ec;
  color: #1f5a26;
}
.hx-exp-badge--no {
  background: var(--hx-red-050);
  color: var(--hx-red);
}
.hx-exp-badge--info {
  background: #eaf1fa;
  color: #1f4c86;
}
.hx-exp-badge--wait {
  background: #fbf3e4;
  color: #8a5a10;
}
.hx-exp-date {
  font-size: 13px;
  color: var(--hx-muted);
}
.hx-exp-edit {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--hx-red);
}
.hx-exp-item__title {
  font-family: var(--hx-display);
  font-weight: 900;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--hx-ink);
  margin: 0 0 14px;
  padding: 0;
}
.hx-exp-authors {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 6px;
  padding: 0;
  color: var(--hx-ink);
}
.hx-exp-author {
  font-weight: 700;
}
.hx-exp-author.is-presenter {
  text-decoration: underline;
  text-decoration-color: var(--hx-red);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.hx-exp-authors sup,
.hx-exp-inst sup {
  font-size: 11px;
  color: var(--hx-red);
  margin-left: 1px;
  font-weight: 700;
}
.hx-exp-inst {
  list-style: none;
  margin: 0 0 22px !important;
  padding: 0 0 20px !important;
  border-bottom: 1px solid var(--hx-line);
  font-size: 14px;
  line-height: 1.55;
  color: var(--hx-muted);
}
.hx-exp-inst li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hx-exp-inst sup {
  margin-right: 4px;
}
.hx-exp-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--hx-ink-800, #2a2a30);
  max-width: 72ch;
}
.hx-exp-text p {
  margin: 0 0 14px;
  padding: 0;
}
.hx-exp-item__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--hx-line);
  font-size: 14px;
  color: var(--hx-muted);
}
.hx-exp-item__foot b {
  font-family: var(--hx-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-right: 6px;
  color: var(--hx-muted);
}
.hx-exp-item__foot a {
  color: var(--hx-ink);
}
.hx-exp-top {
  margin-left: auto;
  font-weight: 700;
  color: var(--hx-red) !important;
  text-decoration: none;
}
.hx-exp-empty,
.hx-exp-none {
  background: var(--hx-white);
  border: 1px dashed var(--hx-field);
  border-radius: 20px;
  padding: 48px 24px;
  text-align: center;
  color: var(--hx-muted);
  font-size: 16px;
  margin: 0;
}

/* password screen */
.hx-exp-lock {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 16px;
}
.hx-exp-lock__card {
  width: 100%;
  max-width: 460px;
  background: var(--hx-white);
  border-radius: 24px;
  border-top: 4px solid var(--hx-red);
  box-shadow: 0 20px 50px rgba(20, 20, 22, 0.08);
  padding: 40px 36px;
  box-sizing: border-box;
}
.hx-exp-lock__card .hx-cube {
  margin-bottom: 22px;
}
.hx-exp-lock__title {
  font-family: var(--hx-display);
  font-weight: 900;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  padding: 0;
  color: var(--hx-ink);
}
.hx-exp-lock__lead {
  font-size: 15px;
  line-height: 1.55;
  color: var(--hx-muted);
  margin: 0 0 22px;
  padding: 0;
}
.hx-exp-lock form {
  margin: 0;
}
.hx-exp-lock .ppw-post-password-form,
.hx-exp-lock .ppw-ppf-input-container {
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  background: none !important;
  max-width: none !important;
  display: block !important;
}
.hx-exp-lock .ppw-ppf-input-container + .ppw-ppf-error-msg {
  padding-top: 8px !important;
}
.hx-exp-lock .ppw-ppf-desc,
.hx-exp-lock form > p:first-child {
  font-size: 14px;
  color: var(--hx-muted);
  margin: 0 0 14px;
}
.hx-exp-lock .ppw-ppf-field-container,
.hx-exp-lock form p {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}
.hx-exp-lock label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--hx-ink);
}
.hx-exp-lock input[type="password"] {
  height: 50px;
  border: 1.5px solid var(--hx-field);
  border-radius: 12px;
  padding: 0 14px;
  font: 16px var(--hx-text);
  color: var(--hx-ink);
  width: 100%;
  box-sizing: border-box;
  background: var(--hx-white);
}
.hx-exp-lock input[type="password"]:focus {
  outline: none;
  border-color: var(--hx-red);
  box-shadow: 0 0 0 3px rgba(181, 0, 5, 0.15);
}
.hx-exp-lock input[type="submit"],
.hx-exp-lock button[type="submit"],
.hx-exp-lock .ppw-pwd-submit-btn {
  height: 50px;
  border: 0;
  border-radius: 999px;
  background: var(--hx-red);
  color: #fff;
  font: 700 16px var(--hx-text);
  cursor: pointer;
  width: 100%;
  margin-top: 4px;
  transition: background 0.15s;
}
.hx-exp-lock input[type="submit"]:hover,
.hx-exp-lock button[type="submit"]:hover,
.hx-exp-lock .ppw-pwd-submit-btn:hover {
  background: #8e0004;
}
.hx-exp-lock .ppw-ppf-error-msg,
.hx-exp-lock .ppwp-wrong-pw-error {
  color: var(--hx-red);
  font-size: 14px;
  margin: 0 0 12px;
}

@media (max-width: 980px) {
  .hx-exp-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .hx-exp-index {
    display: none;
  }
}
@media (max-width: 640px) {
  .hx-exp-wrap {
    padding: 0 16px;
  }
  .hx-exp-hero {
    padding: 36px 0 24px;
  }
  .hx-exp-item {
    padding: 22px 18px;
    border-radius: 16px;
  }
  .hx-exp-item__title {
    font-size: 21px;
  }
  .hx-exp-text {
    font-size: 16px;
  }
  .hx-exp-btn {
    margin-left: 0;
    width: 100%;
  }
  .hx-exp-edit,
  .hx-exp-top {
    margin-left: 0;
  }
  .hx-exp-lock__card {
    padding: 30px 22px;
  }
}

/* print / save as PDF: clean pages, one abstract never split */
@media print {
  .hx-exp-page {
    background: #fff !important;
    padding: 0 !important;
  }
  .et-l--header,
  .et-l--footer,
  #main-header,
  #main-footer,
  .hx-exp-toolbar,
  .hx-exp-index,
  .hx-exp-top,
  .hx-exp-edit,
  #wpadminbar {
    display: none !important;
  }
  .hx-exp-layout {
    display: block;
  }
  .hx-exp-wrap {
    max-width: none;
    padding: 0;
  }
  .hx-exp-hero {
    padding: 0 0 12px;
  }
  .hx-exp-stat {
    border: 1px solid #ccc;
  }
  .hx-exp-stat--main {
    background: #fff;
  }
  .hx-exp-stat--main strong,
  .hx-exp-stat--main span {
    color: #000;
  }
  .hx-exp-item {
    border: 0;
    border-top: 2px solid #000;
    border-radius: 0;
    padding: 18px 0 8px;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .hx-exp-item[hidden] {
    display: none !important;
  }
  .hx-exp-text {
    max-width: none;
    font-size: 12pt;
  }
  a {
    color: inherit !important;
    text-decoration: none !important;
  }
}
@media (max-width: 640px) {
  .hx-exp-toolbar {
    position: static;
  }
  .hx-exp-toolbar__in {
    gap: 8px;
  }
}
.hx-exp-lock .ppw-ppf-desc-below:empty {
  display: none;
}
