body.assessment-page {
  overflow-x: hidden;
}

.assessment-page-title {
  color: var(--primary);
  font-size: clamp(22px, 2.4vw, 40px);
  font-weight: 400;
  margin-bottom: 40px;
  line-height: 1.35;
}

.assessment-hero-full {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 28px;
}

.assessment-hero {
  position: relative;
  width: 100%;
  max-height: 270px;
  height: 270px;
  overflow: hidden;
  background-color: #1b2c63;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.assessment-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px 28px;
  background: linear-gradient(
    90deg,
    rgba(17, 44, 99, 0.55) 0%,
    rgba(17, 44, 99, 0.15) 42%,
    rgba(17, 44, 99, 0.15) 58%,
    rgba(17, 44, 99, 0.45) 100%
  );
}

.assessment-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 6px 27px;
  border-radius: 15px;
  background: #fff;
  color: var(--primary);
  font-size: clamp(18px, 2vw, 20px);
  box-shadow: 0 10px 24px rgba(17, 50, 112, 0.2);
  z-index: 2;
  pointer-events: none;
  border: 2px solid var(--primary);
}

.assessment-intro {
  color: var(--primary);
  font-size: clamp(14px, 1.2vw, 22px);
  line-height: 1.65;
  max-width: 920px;
  margin: 35px auto 0;
}

.assessment-test-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px 16px;
  margin-top: 80px;
  padding-bottom: 40px;
}

.assessment-test-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: inherit;
  transition: transform 0.2s ease;
}

button.assessment-test-card {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.assessment-test-card:hover {
  color: inherit;
  transform: translateY(-4px);
}

.assessment-login-modal-title {
  color: var(--primary);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  text-align: center;
}

.assessment-login-modal-text {
  color: var(--primary);
  font-size: 16px;
  line-height: 1.5;
}

.assessment-test-image-wrap {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(17, 50, 112, 0.12);
  background: #eef3fc;
}

.assessment-test-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.assessment-test-title {
  margin: 12px 0 0;
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 500;
  color: var(--primary);
  line-height: 1.35;
}

@media (max-width: 1199.98px) {
  .assessment-test-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .assessment-hero-overlay {
    padding: 14px 16px;
    background: linear-gradient(180deg, rgba(17, 44, 99, 0.1) 20%, rgba(17, 44, 99, 0.72) 100%);
  }

  .assessment-test-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479.98px) {
  .assessment-test-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
}
