
.wfp-wrap {
  --wfp-primary: #173f5f;
  --wfp-secondary: #20639b;
  --wfp-accent: #f6c344;
  --wfp-dark: #17212b;
  --wfp-muted: #667085;
  --wfp-light: #f4f7fa;
  --wfp-white: #ffffff;
  --wfp-border: #d9e1e8;
  color: var(--wfp-dark);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

.wfp-wrap * {
  box-sizing: border-box;
}

.wfp-container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.wfp-simple-hero {
  background: linear-gradient(135deg, var(--wfp-primary), var(--wfp-secondary));
  color: #fff;
  padding: 72px 0;
  text-align: center;
}

.wfp-simple-hero-inner {
  max-width: 820px;
}

.wfp-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 13px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 30px;
  background: rgba(255,255,255,.12);
  font-weight: 700;
}

.wfp-simple-hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.08;
}

.wfp-simple-hero p {
  max-width: 760px;
  margin: 0 auto 27px;
  font-size: 1.08rem;
}

.wfp-button {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none !important;
  transition: .2s ease;
}

.wfp-button:hover {
  transform: translateY(-2px);
}

.wfp-button-primary {
  background: var(--wfp-secondary);
  color: #fff;
}

.wfp-button-accent {
  background: var(--wfp-accent);
  color: #222;
}

.wfp-section {
  padding: 65px 0;
}

.wfp-section-light {
  background: var(--wfp-light);
}

.wfp-heading {
  max-width: 760px;
  margin: 0 auto 35px;
  text-align: center;
}

.wfp-heading h2,
.wfp-basic-info h2 {
  margin: 0 0 10px;
  color: var(--wfp-primary);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.wfp-heading p,
.wfp-basic-info p {
  color: var(--wfp-muted);
}

.wfp-domain-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 17px;
}

.wfp-domain-card {
  display: block;
  min-height: 205px;
  padding: 22px 17px;
  border: 1px solid var(--wfp-border);
  border-radius: 14px;
  background: #fff;
  color: var(--wfp-dark);
  text-decoration: none !important;
  box-shadow: 0 12px 32px rgba(23,63,95,.09);
  transition: .2s ease;
}

.wfp-domain-card:hover {
  transform: translateY(-5px);
  border-color: var(--wfp-secondary);
}

.wfp-domain-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: #eaf3fa;
  font-size: 1.5rem;
}

.wfp-domain-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--wfp-primary);
  font-size: 1.05rem;
}

.wfp-domain-card span:last-child {
  display: block;
  color: var(--wfp-muted);
  font-size: .9rem;
}

.wfp-basic-info {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.wfp-basic-info .wfp-button {
  margin-top: 12px;
}

@media (max-width: 1020px) {
  .wfp-domain-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .wfp-domain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wfp-simple-hero {
    padding: 55px 0;
  }

  .wfp-section {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .wfp-domain-grid {
    grid-template-columns: 1fr;
  }
}


.wfp-practice-header {
  padding: 52px 0;
  background: linear-gradient(135deg, var(--wfp-primary), var(--wfp-secondary));
  color: #fff;
  text-align: center;
}

.wfp-practice-header h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
}

.wfp-practice-header p {
  max-width: 760px;
  margin: 0 auto;
}

.wfp-practice-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(270px, .8fr);
  gap: 24px;
  align-items: start;
}

.wfp-panel {
  padding: 25px;
  border: 1px solid var(--wfp-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(23,63,95,.09);
}

.wfp-panel h2,
.wfp-panel h3 {
  color: var(--wfp-primary);
}

.wfp-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.wfp-mode-heading {
  margin-top: 28px;
}

.wfp-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.wfp-mode-card {
  min-height: 170px;
  padding: 18px;
  border: 2px solid var(--wfp-border);
  border-radius: 13px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.wfp-mode-card:hover {
  border-color: var(--wfp-secondary);
  background: #f6fbff;
}

.wfp-mode-card > span {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.wfp-mode-card strong,
.wfp-mode-card small {
  display: block;
}

.wfp-mode-card strong {
  color: var(--wfp-primary);
  font-size: 1.03rem;
  margin-bottom: 7px;
}

.wfp-mode-card small {
  color: var(--wfp-muted);
  line-height: 1.45;
}

.wfp-course-info {
  position: sticky;
  top: 20px;
}

.wfp-course-info li {
  margin-bottom: 12px;
}

.wfp-quiz-topbar {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 15px;
  color: var(--wfp-primary);
  font-weight: 800;
}

.wfp-progress-track {
  height: 11px;
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: 20px;
  background: #e5e7eb;
}

#wfp-progress-bar {
  width: 0;
  height: 100%;
  background: var(--wfp-secondary);
  transition: width .3s ease;
}

.wfp-question-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 11px;
  border-radius: 20px;
  background: #eaf3fa;
  color: var(--wfp-secondary);
  font-weight: 700;
  font-size: .86rem;
}

.wfp-answer-button {
  display: block;
  width: 100%;
  margin-bottom: 11px;
  padding: 13px 15px;
  border: 2px solid var(--wfp-border);
  border-radius: 10px;
  background: #fff;
  color: var(--wfp-dark);
  text-align: left;
  cursor: pointer;
}

.wfp-answer-button:hover:not(:disabled) {
  border-color: var(--wfp-secondary);
}

.wfp-answer-button.is-correct {
  border-color: #198754;
  background: #e8f7ee;
}

.wfp-answer-button.is-incorrect {
  border-color: #c0392b;
  background: #fdecea;
}

.wfp-feedback {
  margin: 18px 0;
  padding: 15px;
  border-radius: 10px;
}

.wfp-feedback.is-correct {
  border-left: 5px solid #198754;
  background: #e8f7ee;
}

.wfp-feedback.is-incorrect {
  border-left: 5px solid #c0392b;
  background: #fdecea;
}

.wfp-feedback.is-info {
  border-left: 5px solid var(--wfp-secondary);
  background: #eaf3fa;
}

.wfp-interview-answer {
  width: 100%;
  margin-bottom: 14px;
  padding: 14px;
  border: 2px solid var(--wfp-border);
  border-radius: 10px;
  resize: vertical;
}

.wfp-result-panel {
  text-align: center;
}

.wfp-result-score {
  margin: 15px 0;
  color: var(--wfp-secondary);
  font-size: 2.3rem;
  font-weight: 800;
}

@media (max-width: 850px) {
  .wfp-practice-layout,
  .wfp-form-grid {
    grid-template-columns: 1fr;
  }

  .wfp-course-info {
    position: static;
  }
}

@media (max-width: 650px) {
  .wfp-mode-grid {
    grid-template-columns: 1fr;
  }
}
