/* Tananyagok oldal: Magyar / Matek fülek */
.materials-tabs {
  justify-content: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.10);
  margin-bottom: 40px;
}

.materials-tabs .nav-item {
  margin-bottom: -1px;
}

.materials-tabs .nav-link {
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 12px 30px;
  color: rgba(0, 0, 0, 0.55);
  font-size: 18px;
  font-weight: 600;
  background: transparent;
}

.materials-tabs .nav-link:hover,
.materials-tabs .nav-link:focus {
  color: #1eaaf1;
  background: transparent;
}

.materials-tabs .nav-link.active {
  color: #1eaaf1;
  border-bottom-color: #1eaaf1;
  background: transparent;
}

.math-practice {
  max-width: 760px;
  margin: 0 auto;
}

.math-practice-intro {
  margin: 0 auto 24px;
  max-width: 650px;
}

.math-practice-intro h3 {
  color: #1f1f1f;
}

.math-practice-intro p {
  color: #666;
}

.math-practice .exercise-card {
  background: #fff;
}

@media (max-width: 767.98px) {
  .materials-tabs {
    margin-bottom: 25px;
  }

  .materials-tabs .nav-link {
    padding: 10px 22px;
    font-size: 17px;
  }

  .math-practice-intro {
    padding: 0 10px;
  }
}
