
/* The shortcode renders its own semantic H1. Hide the outer page-template
   title on FAQ/Register pages to avoid duplicate headings across WP themes. */
.ykse-special-page .wp-block-post-title,
.ykse-special-page .entry-title,
.ykse-special-page .page-title {
  display: none !important;
}


:root {
  --ykse-blue: #2563eb;
  --ykse-blue-dark: #1d4ed8;
  --ykse-ink: #111827;
  --ykse-muted: #6b7280;
  --ykse-line: #e5e7eb;
  --ykse-soft: #f8fafc;
}

.ykse-page {
  padding: 72px 20px 96px;
  background: #fff;
  color: var(--ykse-ink);
}

.ykse-shell {
  max-width: 960px;
  margin: 0 auto;
}

.ykse-register-shell {
  max-width: 760px;
}

.ykse-kicker {
  color: var(--ykse-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 10px;
}

.ykse-page h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.ykse-lead {
  max-width: 720px;
  margin: 18px 0 44px;
  color: var(--ykse-muted);
  font-size: 18px;
  line-height: 1.75;
}

.ykse-faq-group {
  margin: 0 0 44px;
}

.ykse-faq-group h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.ykse-faq-item {
  border-top: 1px solid var(--ykse-line);
  background: #fff;
}

.ykse-faq-item:last-child {
  border-bottom: 1px solid var(--ykse-line);
}

.ykse-faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 2px;
  font-weight: 700;
  font-size: 17px;
}

.ykse-faq-item summary::-webkit-details-marker {
  display: none;
}

.ykse-faq-item summary::after {
  content: "+";
  font-size: 24px;
  line-height: 1;
  color: #9ca3af;
  transition: transform .2s ease;
}

.ykse-faq-item[open] summary::after {
  transform: rotate(45deg);
}

.ykse-faq-answer {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.9;
  padding: 0 42px 22px 2px;
}

.ykse-faq-answer p {
  margin: 0;
}

.ykse-badge {
  margin-left: auto;
  border-radius: 999px;
  padding: 5px 9px;
  background: #eff6ff;
  color: var(--ykse-blue);
  font-size: 12px;
  font-weight: 700;
}

.ykse-contact-card,
.ykse-register-card {
  border: 1px solid var(--ykse-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(15, 23, 42, .06);
}

.ykse-contact-card {
  margin-top: 52px;
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ykse-contact-card h2 {
  margin: 0 0 5px;
}

.ykse-contact-card p {
  margin: 0;
  color: var(--ykse-muted);
}

.ykse-contact-card a {
  color: var(--ykse-blue);
  font-weight: 700;
  text-decoration: none;
}

.ykse-register-card {
  padding: 28px;
}

.ykse-register-card label > span,
.ykse-goals legend {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.ykse-register-card input[type="text"],
.ykse-register-card input[type="email"],
.ykse-register-card input[type="password"],
.ykse-register-card input[type="tel"],
.ykse-register-card select {
  width: 100%;
  box-sizing: border-box;
  min-height: 46px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ykse-ink);
  font-size: 15px;
}

.ykse-register-card input:focus,
.ykse-register-card select:focus {
  outline: 2px solid rgba(37, 99, 235, .15);
  border-color: var(--ykse-blue);
}

.ykse-register-card small {
  display: block;
  color: var(--ykse-muted);
  margin-top: 6px;
  line-height: 1.45;
}

.ykse-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.ykse-goals {
  border: 0;
  padding: 0;
  margin: 22px 0;
}

.ykse-goal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.ykse-check {
  display: flex !important;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  border: 1px solid var(--ykse-line);
  border-radius: 10px;
  cursor: pointer;
}

.ykse-check input {
  width: 16px;
  height: 16px;
}

.ykse-check span {
  margin: 0 !important;
  font-weight: 500 !important;
}

.ykse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 13px 20px;
  text-decoration: none !important;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
}

.ykse-btn-primary,
a.ykse-register-cta {
  background: var(--ykse-ink) !important;
  color: #fff !important;
  border-color: var(--ykse-ink) !important;
}

.ykse-btn-primary:hover,
a.ykse-register-cta:hover {
  background: #000 !important;
  color: #fff !important;
}

.ykse-register-submit {
  width: 100%;
  margin-top: 22px;
  font-size: 16px;
}

.ykse-login-note {
  margin: 18px 0 0;
  text-align: center;
  color: var(--ykse-muted);
}

.ykse-login-note a {
  color: var(--ykse-blue);
  font-weight: 700;
}

.ykse-errors {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid #fecaca;
  border-radius: 10px;
  background: #fff1f2;
  color: #991b1b;
}

.ykse-errors p {
  margin: 3px 0;
}

.ykse-hp {
  position: absolute !important;
  left: -99999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

a.ykse-register-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 10px 16px !important;
  border-radius: 9px !important;
  margin-left: 8px;
  text-decoration: none !important;
  font-weight: 700 !important;
}

a.ykse-login-secondary {
  color: #4b5563 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

@media (max-width: 720px) {
  .ykse-page {
    padding: 48px 16px 72px;
  }

  .ykse-grid-2,
  .ykse-goal-grid {
    grid-template-columns: 1fr;
  }

  .ykse-contact-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .ykse-register-card {
    padding: 20px;
  }
}


.ykse-contact-prompt {
  max-width: 1120px;
  margin: 24px auto 34px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 30px;
  align-items: center;
  border: 1px solid #dbeafe;
  border-radius: 22px;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 55%, #f5fbf2 100%);
  box-shadow: 0 18px 50px rgba(15, 23, 42, .06);
  color: var(--ykse-ink);
}

.ykse-contact-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -.02em;
}

.ykse-contact-copy p {
  margin: 0 0 12px;
  color: #4b5563;
  line-height: 1.8;
}

.ykse-contact-note {
  margin-top: 16px !important;
  color: #1f2937 !important;
}

.ykse-contact-email {
  color: var(--ykse-muted);
}

.ykse-contact-boundary {
  font-size: 13px;
  color: #6b7280 !important;
}

.ykse-contact-qr {
  text-align: center;
}

.ykse-contact-qr img {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 0 auto 10px;
  border-radius: 16px;
  background: #fff;
}

.ykse-contact-qr span {
  color: #4b5563;
  font-size: 13px;
}

@media (max-width: 760px) {
  .ykse-contact-prompt {
    margin: 16px;
    grid-template-columns: 1fr;
  }

  .ykse-contact-qr {
    order: -1;
  }

  .ykse-contact-qr img {
    max-width: 220px;
  }
}
