.main { margin: 54px auto 0 auto; }
@media only screen and (max-width: 1200px) { .main { margin: 49px auto 0 auto; } }
@media only screen and (max-width: 600px) { .main { margin: 46px auto 0 auto; } .main__hero { min-height: 160px; } }


.ntWrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 50% at 20% 0%, rgba(128, 0, 0, 0.06) 0%, transparent 100%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(128, 0, 0, 0.05) 0%, transparent 100%),
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(128, 0, 0, 0.02) 0%, transparent 100%),
    linear-gradient(180deg, #f9f6f6 0%, #ffffff 40%, #f7f3f4 70%, #ffffff 100%);
}
.ntWrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../../images/catalog/new_trainings.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.18;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}
.ntWrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 10%, #800000 50%, transparent 90%);
  opacity: 0.3;
  pointer-events: none;
}

.nt {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px 80px 20px;
  position: relative;
  z-index: 1;
}
@media only screen and (max-width: 1050px) {
  .nt {
    padding: 30px 15px 50px 15px;
  }
}
@media only screen and (max-width: 600px) {
  .ntWrapper {
    padding-top: 120px;
  }
  .nt {
    padding: 20px 10px 40px 10px;
  }
}

.nt__h1 {
  color: #800000;
  font-size: 42px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 10px 0;
  line-height: 1.2em;
}
@media only screen and (max-width: 1050px) {
  .nt__h1 {
    font-size: 28px;
  }
}
@media only screen and (max-width: 600px) {
  .nt__h1 {
    font-size: 24px;
  }
}

.nt__subtitle {
  color: #656263;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  margin: 0 0 40px 0;
}
@media only screen and (max-width: 1050px) {
  .nt__subtitle {
    font-size: 16px;
    margin: 0 0 25px 0;
  }
}

/* ====== FILTERS ====== */
.nt__filters {
  width: 100%;
  background: white;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 25px 30px;
  margin: 0 0 30px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
  scroll-margin-top: 100px;
}
@media only screen and (max-width: 1050px) {
  .nt__filters {
    padding: 20px 15px;
  }
}

.nt__filtersRow {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 15px;
  flex-wrap: wrap;
}
@media only screen and (max-width: 850px) {
  .nt__filtersRow {
    flex-direction: column;
    align-items: stretch;
  }
  .nt__filterGroup {
    flex: 0 0 auto !important;
  }
}

.nt__filterGroup {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1 1 250px;
}
.nt__filterGroup--btn {
  flex: 0 0 auto;
}

.nt__filterLabel {
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

.nt__select {
  padding: 10px 16px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  background: white;
  min-width: 160px;
  transition: 0.3s;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23800000' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.nt__select:focus {
  outline: none;
  border-color: #800000;
}
.nt__select:disabled {
  background-color: #f5f5f5;
  color: #aaa;
  cursor: not-allowed;
  opacity: 0.7;
}

.nt__searchBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 30px;
  background: #800000;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  white-space: nowrap;
  font-family: "Poppins", sans-serif;
}
.nt__searchBtn:hover {
  background: #a00000;
  box-shadow: 0 4px 20px rgba(128, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* ====== RESULTS HEADER ====== */
.nt__resultsHeader {
  width: 100%;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 15px;
}
.nt__resultsCount {
  font-size: 22px;
  font-weight: 500;
  color: #333;
}
.nt__resultsCount strong {
  color: #800000;
  font-weight: 800;
  font-size: 26px;
}
.nt__resultsRange {
  font-size: 14px;
  font-weight: 400;
  color: #888;
}
@media only screen and (max-width: 600px) {
  .nt__resultsHeader {
    flex-direction: column;
    gap: 4px;
  }
  .nt__resultsCount {
    font-size: 18px;
  }
  .nt__resultsCount strong {
    font-size: 22px;
  }
}

/* ====== LOADING & NO RESULTS ====== */
.nt__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 60px 20px;
  font-size: 18px;
  color: #800000;
  font-weight: 500;
}

.nt__noResults {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 60px 20px;
  font-size: 17px;
  color: #656263;
  background: white;
  border-radius: 16px;
  border: 2px solid rgba(0, 0, 0, 0.06);
  width: 100%;
}
.nt__noResults i {
  font-size: 48px;
  color: #ccc;
}

/* ====== GRID ====== */
.nt__grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media only screen and (max-width: 850px) {
  .nt__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}
@media only screen and (max-width: 450px) {
  .nt__grid {
    grid-template-columns: 1fr;
  }
}

/* ====== CARD ====== */
.nt__card {
  background: #ffffff;
  border: 2px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 25px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.nt__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #800000;
  border-radius: 16px 0 0 16px;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}
.nt__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 35px rgba(128, 0, 0, 0.12);
  border-color: rgba(128, 0, 0, 0.15);
}
.nt__card:hover::before {
  transform: scaleY(1);
}
.nt__card:hover .nt__cta {
  background: #a00000;
  box-shadow: 0 4px 15px rgba(128, 0, 0, 0.25);
}
.nt__card:hover .nt__cta i {
  transform: translateX(3px);
}

/* Card header */
.nt__cardHeader {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px 0;
}

.nt__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.nt__category {
  font-size: 15px;
  font-weight: 700;
  color: #444;
  line-height: 1.3em;
}

/* Title */
.nt__title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3em;
  margin: 0 0 16px 0;
  flex: 1;
}

/* Meta row */
.nt__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin: 0 0 18px 0;
}

.nt__days {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
}
.nt__days i {
  color: #800000;
  font-size: 15px;
}

.nt__guaranteed {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: .3px;
  white-space: nowrap;
}
.nt__guaranteed i {
  font-size: 14px;
}

/* Card bottom */
.nt__cardBottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 0 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.nt__date {
  font-size: 13px;
  font-weight: 400;
  color: #aaa;
}

.nt__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #800000;
  color: white;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
  white-space: nowrap;
}
.nt__cta i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

/* ====== PAGINATION ====== */
.nt__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 30px 0 0 0;
  flex-wrap: wrap;
}

.nt__pageBtn {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: white;
  color: #333;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  padding: 0 8px;
  font-family: "Poppins", sans-serif;
}
.nt__pageBtn:hover {
  border-color: #800000;
  color: #800000;
  background: rgba(128, 0, 0, 0.05);
}
.nt__pageBtn--active {
  background: #800000;
  color: white;
  border-color: #800000;
}
.nt__pageBtn--active:hover {
  background: #a00000;
  color: white;
}

.nt__pageDots {
  font-size: 16px;
  color: #999;
  padding: 0 4px;
}
