/* Hito 5 — course completions and purchase confirmation. */

body.page-id-15463,
body.page-id-15464,
body.page-id-15465,
body.page-id-11057 {
  background: var(--eur-design-soft-bg, #f4f8fa);
}

body.page-id-15463 .entry-header,
body.page-id-15464 .entry-header,
body.page-id-15465 .entry-header,
body.page-id-11057 .entry-header {
  display: none;
}

body.page-id-15463 .site-content .ast-container,
body.page-id-15464 .site-content .ast-container,
body.page-id-15465 .site-content .ast-container,
body.page-id-11057 .site-content .ast-container {
  width: 100%;
  max-width: none;
  padding: 0;
}

body.page-id-15463 .site-main,
body.page-id-15464 .site-main,
body.page-id-15465 .site-main,
body.page-id-11057 .site-main,
body.page-id-15463 .entry-content,
body.page-id-15464 .entry-content,
body.page-id-15465 .entry-content,
body.page-id-11057 .entry-content {
  margin: 0;
}

.eurekers-h5-completion,
.eurekers-h5-purchase,
.eurekers-h5-gate {
  --h5-navy: #0e2a3a;
  --h5-accent: #00add9;
  --h5-copy: #3d4b56;
  --h5-muted: #71808c;
  --h5-soft: #f4f8fa;
  --h5-line: #d7e4ea;
  --h5-success: #2f8f57;
  color: var(--h5-copy);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.eurekers-h5-completion *,
.eurekers-h5-purchase *,
.eurekers-h5-gate * {
  box-sizing: border-box;
}

.eurekers-h5-completion {
  width: min(100% - 48px, 1160px);
  margin: 0 auto;
  padding: 72px 0 88px;
}

.eurekers-h5-celebration {
  padding: 68px 72px;
  border: 1px solid var(--h5-line);
  border-radius: 20px 20px 0 0;
  background: var(--eur-design-surface, #fff);
  box-shadow: 0 18px 54px rgba(14, 42, 58, 0.08);
  text-align: center;
}

.eurekers-h5-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #eaf9fc;
  color: var(--h5-accent);
}

.eurekers-h5-check svg {
  width: 50px;
  height: 50px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.eurekers-h5-eyebrow {
  margin: 0 0 14px !important;
  color: var(--h5-accent) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em;
  line-height: 1.3 !important;
  text-transform: uppercase;
}

.eurekers-h5-celebration h1,
.eurekers-h5-purchase h1,
.eurekers-h5-gate h1 {
  max-width: 840px;
  margin: 0 auto 20px;
  color: var(--h5-navy);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.eurekers-h5-lead,
.eurekers-h5-gate > p:not(.eurekers-h5-eyebrow) {
  max-width: 720px;
  margin: 0 auto;
  color: var(--h5-copy);
  font-size: 19px;
  line-height: 1.65;
}

.eurekers-h5-achievements {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 42px 0 0;
  text-align: left;
}

.eurekers-h5-achievements > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 136px;
  padding: 24px;
  border: 1px solid var(--h5-line);
  border-radius: 14px;
  background: var(--h5-soft);
}

.eurekers-h5-achievements span {
  display: inline-flex;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--h5-success);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.eurekers-h5-achievements p {
  margin: 1px 0 0;
  color: var(--h5-copy);
  font-size: 16px;
  line-height: 1.55;
}

.eurekers-h5-certificate {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 660px;
  margin: 34px auto 0;
  padding: 18px 20px;
  border: 1px solid #9eddeb;
  border-radius: 14px;
  background: #f0fbfd;
  color: var(--h5-navy);
  text-align: left;
  text-decoration: none !important;
}

.eurekers-h5-certificate > svg:first-child {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--h5-accent);
  stroke-width: 1.7;
}

.eurekers-h5-certificate > svg:last-child {
  width: 22px;
  height: 22px;
  margin-left: auto;
  fill: none;
  stroke: var(--h5-navy);
  stroke-width: 1.8;
}

.eurekers-h5-certificate span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.eurekers-h5-certificate strong {
  color: var(--h5-navy);
  font-size: 16px;
}

.eurekers-h5-certificate small {
  color: var(--h5-muted);
  font-size: 13px;
}

.eurekers-h5-next {
  padding: 54px 72px 58px;
  border-radius: 0 0 20px 20px;
  background: var(--h5-navy);
  color: #fff;
  text-align: center;
}

.eurekers-h5-next h2 {
  max-width: 780px;
  margin: 0 auto 14px;
  color: #fff;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.eurekers-h5-next > p:not(.eurekers-h5-eyebrow) {
  max-width: 700px;
  margin: 0 auto;
  color: #dce8ed;
  font-size: 17px;
  line-height: 1.65;
}

.eurekers-h5-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.eurekers-h5-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: none !important;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  transform: none !important;
  transition: none !important;
}

.eurekers-h5-button-primary,
.eurekers-h5-button-primary:hover,
.eurekers-h5-button-primary:focus {
  border-color: var(--h5-accent);
  background: var(--h5-accent);
  color: #fff;
}

.eurekers-h5-button-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
}

.eurekers-h5-button-secondary:hover,
.eurekers-h5-button-secondary:focus {
  border-color: #fff;
  background: transparent;
  color: #fff;
}

.eurekers-h5-gate,
.eurekers-h5-purchase {
  width: min(100% - 48px, 840px);
  margin: 72px auto 88px;
  padding: 64px;
  border: 1px solid var(--eur-design-border-strong, #d7e4ea);
  border-radius: 20px;
  background: var(--eur-design-surface, #fff);
  box-shadow: 0 18px 54px rgba(14, 42, 58, 0.08);
  text-align: center;
}

.eurekers-h5-gate .eurekers-h5-button {
  margin-top: 28px;
}

.eurekers-h5-text-link {
  display: block;
  margin-top: 20px;
  color: var(--h5-copy);
  font-size: 15px;
  font-weight: 650;
}

.eurekers-h5-purchase .eurekers-h5-actions {
  margin-top: 32px;
}

.eurekers-h5-purchase .eurekers-h5-button-secondary {
  border-color: var(--eur-design-border-strong, #b8c8cf);
  background: var(--eur-design-surface, #fff);
  color: var(--h5-copy);
}

.eurekers-h5-purchase .eurekers-h5-button-secondary:hover,
.eurekers-h5-purchase .eurekers-h5-button-secondary:focus {
  border-color: var(--h5-navy);
  color: var(--h5-navy);
}

.eurekers-h5-purchase.is-pending .eurekers-h5-check {
  background: #fff8e8;
  color: #936213;
}

.eurekers-h5-trust,
.eurekers-h5-support {
  margin: 24px 0 0 !important;
  color: var(--h5-muted) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.eurekers-h5-support a {
  color: var(--h5-navy);
  font-weight: 700;
}

.eurekers-h5-payment-cancelled {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  width: min(100% - 48px, 1160px);
  margin: 28px auto 0;
  padding: 16px 18px;
  border: 1px solid #e4c477;
  border-radius: 10px;
  background: #fff8e8;
  color: #6f4b0f;
  font-size: 15px;
  line-height: 1.45;
}

.eurekers-h5-payment-cancelled strong {
  color: #593b0b;
}

.eurekers-h5-payment-cancelled span {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .eurekers-h5-completion {
    width: min(100% - 32px, 1160px);
    padding: 38px 0 54px;
  }

  .eurekers-h5-celebration {
    padding: 42px 22px;
    border-radius: 16px 16px 0 0;
  }

  .eurekers-h5-check {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
  }

  .eurekers-h5-check svg {
    width: 42px;
    height: 42px;
  }

  .eurekers-h5-celebration h1,
  .eurekers-h5-purchase h1,
  .eurekers-h5-gate h1 {
    font-size: 34px;
    line-height: 1.1;
  }

  .eurekers-h5-lead,
  .eurekers-h5-gate > p:not(.eurekers-h5-eyebrow) {
    font-size: 17px;
    line-height: 1.6;
  }

  .eurekers-h5-achievements {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 30px;
  }

  .eurekers-h5-achievements > div {
    min-height: 0;
    padding: 18px;
  }

  .eurekers-h5-certificate {
    padding: 16px;
  }

  .eurekers-h5-certificate > svg:last-child {
    display: none;
  }

  .eurekers-h5-next {
    padding: 40px 22px 44px;
    border-radius: 0 0 16px 16px;
  }

  .eurekers-h5-next h2 {
    font-size: 29px;
  }

  .eurekers-h5-actions {
    flex-direction: column;
  }

  .eurekers-h5-button {
    width: 100%;
  }

  .eurekers-h5-gate,
  .eurekers-h5-purchase {
    width: min(100% - 32px, 840px);
    margin: 38px auto 54px;
    padding: 42px 22px;
    border-radius: 16px;
  }

  .eurekers-h5-payment-cancelled {
    flex-direction: column;
    width: min(100% - 32px, 1160px);
    margin-top: 18px;
    padding: 14px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eurekers-h5-completion *,
  .eurekers-h5-purchase *,
  .eurekers-h5-gate * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
