/* Psychological tests — extends blog layout */
.pt-page .pt-hero {
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(99, 102, 241, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(20, 184, 166, 0.12), transparent 50%),
    linear-gradient(165deg, #eef2ff 0%, #f0fdfa 38%, #f8fafc 100%);
  border-bottom-color: rgba(79, 70, 229, 0.12);
}

.pt-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pt-card__meta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-500);
}

.pt-test-page .bl-article-layout {
  align-items: start;
}

.pt-test-head {
  margin-bottom: 1.5rem;
}

.pt-test-head h1 {
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  line-height: 1.15;
  margin: 0.5rem 0 0.75rem;
}

.pt-test-head__lead {
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.pt-test-head__meta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-700);
}

.pt-quiz {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.pt-quiz__intro p {
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.pt-quiz__progress-wrap {
  margin-bottom: 1.25rem;
}

.pt-quiz__progress {
  height: 8px;
  background: var(--slate-100);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.pt-quiz__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--teal-500), #6366f1);
  border-radius: inherit;
  transition: width 0.25s ease;
}

.pt-quiz__progress-text {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-500);
}

.pt-question {
  border: 0;
  padding: 0;
  margin: 0;
  display: none;
}

.pt-question.is-active {
  display: block;
}

.pt-question__text {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--slate-800);
  margin-bottom: 1rem;
  padding: 0;
}

.pt-question__options {
  display: grid;
  gap: 0.55rem;
}

.pt-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.pt-option:hover {
  border-color: rgba(13, 148, 136, 0.35);
  background: #f0fdfa;
}

.pt-option:has(input:checked) {
  border-color: var(--teal-600);
  background: #ecfdf5;
  box-shadow: 0 0 0 1px rgba(13, 148, 136, 0.15);
}

.pt-option input {
  flex-shrink: 0;
  accent-color: var(--teal-600);
}

.pt-option span {
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.45;
}

.pt-quiz__nav {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.35rem;
  flex-wrap: wrap;
}

.pt-quiz__disclaimer {
  font-size: 0.82rem;
  color: var(--slate-500);
  line-height: 1.55;
  margin: 1rem 0 1.25rem;
}

.pt-result-card {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.pt-result-card--low {
  background: #ecfdf5;
  border-color: rgba(16, 185, 129, 0.25);
}

.pt-result-card--mild {
  background: #fffbeb;
  border-color: rgba(245, 158, 11, 0.25);
}

.pt-result-card--moderate {
  background: #fff7ed;
  border-color: rgba(249, 115, 22, 0.25);
}

.pt-result-card--high {
  background: #fef2f2;
  border-color: rgba(239, 68, 68, 0.25);
}

.pt-result-card__level {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  margin-bottom: 0.35rem;
}

.pt-result-card__title {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 0.65rem;
}

.pt-result-card__detail {
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.pt-result-card__score {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-500);
}

.pt-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pt-result-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-top: 0.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
  border: 1px solid rgba(13, 148, 136, 0.16);
}

.pt-result-cta__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-700);
  margin: 0 0 0.25rem;
}

.pt-result-cta__text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--slate-600);
  margin: 0;
  max-width: 28rem;
}

.pt-result-cta__btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.pt-result-retake {
  display: inline-flex;
  margin-top: 0.85rem;
  padding: 0;
  border: none;
  background: none;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--slate-500);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pt-result-retake:hover {
  color: var(--teal-700);
}

.pt-promo__inner {
  align-items: center;
}

.pt-promo__copy {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
}

.pt-promo__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #99f6e4;
  flex-shrink: 0;
}

.pt-promo__icon svg {
  width: 22px;
  height: 22px;
}

.pt-promo__btn {
  flex-shrink: 0;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 640px) {
  .pt-card__foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .pt-quiz {
    padding: 1rem;
  }

  .pt-result-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .pt-result-cta__btn {
    width: 100%;
    justify-content: center;
  }

  .pt-promo__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .pt-promo__btn {
    width: 100%;
    justify-content: center;
  }
}
