/* Блок «Наши программы» на главной */
.programs-v2 {
  --pv2-accent: #e8501e;
  --pv2-green: #4b972e;
  position: relative;
}
.programs-v2 .pv2-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.programs-v2 .pv2-track::-webkit-scrollbar { display: none; }

.programs-v2 .pv2-card {
  position: relative;
  flex: 0 0 calc((100% - 60px) / 4);
  max-width: 290px;
  aspect-ratio: 290 / 460;
  overflow: hidden;
  border-radius: 20px;
  background: #cfd8cc;
  color: #fff;
  text-decoration: none;
  scroll-snap-align: start;
}
.programs-v2 .pv2-card img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.programs-v2 .pv2-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.3) 35%, rgba(0,0,0,0) 60%);
  transition: background .4s ease;
}
.programs-v2 .pv2-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 20px;
}
.programs-v2 .pv2-tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--pv2-green);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.programs-v2 .pv2-title {
  display: block;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}
.programs-v2 .pv2-desc {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.4;
  opacity: .9;
}
.programs-v2 .pv2-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  border-bottom: 2px solid var(--pv2-accent);
  padding-bottom: 2px;
}
.programs-v2 .pv2-card:hover img { transform: scale(1.06); }
.programs-v2 .pv2-card:hover::after {
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.4) 50%, rgba(0,0,0,.05) 100%);
}

/* шапка блока: заголовок слева, стрелки справа */
.programs-v2 .pv2-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 30px;
}
.programs-v2 .pv2-heading {
  margin: 0;
  color: var(--pv2-accent);
  font-size: 32px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.2;
}
.programs-v2 .pv2-heading::after {
  content: "";
  display: block;
  width: 130px;
  height: 2px;
  margin-top: 16px;
  background: var(--pv2-green);
}

/* стрелки */
.programs-v2 .pv2-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.programs-v2 .pv2-btn {
  width: 48px; height: 48px;
  border: 2px solid var(--pv2-accent);
  border-radius: 50%;
  background: transparent;
  color: var(--pv2-accent);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .3s, color .3s, opacity .3s;
}
.programs-v2 .pv2-btn:hover { background: var(--pv2-accent); color: #fff; }
.programs-v2 .pv2-btn[disabled] { opacity: .3; cursor: default; background: transparent; color: var(--pv2-accent); }
.programs-v2 .pv2-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.programs-v2 .pv2-link {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--pv2-accent);
  border-radius: 6px;
  color: var(--pv2-accent);
  font-weight: 700;
  text-decoration: none;
  transition: background .3s, color .3s;
}
.programs-v2 .pv2-link:hover,
.programs-v2 .pv2-link--fill { background: var(--pv2-accent); color: #fff; }
.programs-v2 .pv2-link--fill:hover { background: #c94216; border-color: #c94216; }

@media (max-width: 991px) {
  .programs-v2 .pv2-card { flex-basis: calc((100% - 40px) / 3); }
}
@media (max-width: 767px) {
  .programs-v2 .pv2-track { gap: 12px; }
  .programs-v2 .pv2-card { flex-basis: 60%; border-radius: 16px; }
  .programs-v2 .pv2-nav { display: none; }
  .programs-v2 .pv2-heading { font-size: 28px; }
}
