/* ── Practice Section ────────────────────────────── */

.practiceSection {
  background: #fff;
  padding: 100px max(50px, calc((100% - 1440px) / 2));
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 100%;
}

.practiceSection .header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.practiceSection .title {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.practiceSection .sectionTag {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #2865BA;
}

.practiceSection .heading {
  font-family: var(--font-unbounded, 'Arial Black', sans-serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  color: #0a0a0a;
}

.practiceSection .headingBlue {
  color: #397de3;
}

.practiceSection .nav {
  display: flex;
  gap: 8px;
}

.practiceSection .navButton {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 100%;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
}

.practiceSection .navPrev {
  background: #d6dce0;
  color: #60666b;
}

.practiceSection .navNext {
  background: #201e1f;
  color: #fff;
}

.practiceSection .navButton:disabled {
  opacity: 0.4;
  cursor: default;
}

.practiceSection .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.practiceSection .viewport {
  width: 100%;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  padding: 12px;
  margin: -12px;
}

.practiceSection .viewport:active {
  cursor: grabbing;
}

.practiceSection .track {
  display: flex;
  gap: 16px;
  transition: transform 0.35s ease;
}

.practiceSection .slide {
  display: flex;
  gap: 16px;
  width: 100%;
  flex-shrink: 0;
}

.practiceSection .card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 521px;
  padding: 8px;
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  user-select: none;
  container-type: inline-size;
}

.practiceSection .cardImage {
  position: absolute;
  inset: 8px;
  border-radius: 32px;
  background-size: cover;
  background-position: center;
}

.practiceSection .cardImage::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 38%,
    rgba(0, 0, 0, 0.62) 70%,
    rgba(0, 0, 0, 0.99) 100%
  );
}

.practiceSection .cardBody {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  padding: 20px;
}

.practiceSection .cardInfo {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.practiceSection .cardName {
  font-family: var(--font-unbounded, 'Arial Black', sans-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: normal;
  color: #fff;
}

.practiceSection .cardDescription {
  font-family: var(--font-onest, 'Onest', sans-serif);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
}

.practiceSection .tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

.practiceSection .tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 24px;
  background: #dd0020;
  font-family: var(--font-inter-tight, 'Inter', sans-serif);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
}

.practiceSection .tagLight {
  background: #fff;
  color: #2a2a2a;
}

.practiceSection .tagIcon {
  display: flex;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@container (min-width: 620px) {
  .practiceSection .cardBody {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
  }
  .practiceSection .cardInfo { max-width: 345px; gap: 24px; }
  .practiceSection .cardName { font-size: 28px; }
  .practiceSection .cardDescription { font-size: 18px; }
  .practiceSection .tags {
    flex: 0 0 auto;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 8px;
  }
  .practiceSection .tag { font-size: 16px; padding: 8px 12px; }
  .practiceSection .tagIcon { width: 20px; height: 20px; }
}

.practiceSection .pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

.practiceSection .dot {
  flex: 1 1 0;
  max-width: 50px;
  min-width: 0;
  height: 4px;
  border: none;
  padding: 0;
  border-radius: 25px;
  background: #d6dce0;
  cursor: pointer;
  transition: background 0.2s;
}

.practiceSection .dot.dotActive {
  background: #dd0020;
}

/* ── Adaptive ────────────────────────────────────── */

@media (max-width: 885px) {
  .practiceSection { padding: 60px 24px; gap: 32px; }
  .practiceSection .heading { font-size: 24px; line-height: 26px; letter-spacing: -1px; }
  .practiceSection .card { height: 460px; border-radius: 32px; }
  .practiceSection .cardImage,
  .practiceSection .cardImage::after { border-radius: 26px; }
}

@media (max-width: 475px) {
  .practiceSection { padding: 48px 16px; gap: 28px; }
  .practiceSection .card { height: 420px; border-radius: 28px; }
  .practiceSection .cardImage,
  .practiceSection .cardImage::after { border-radius: 22px; }
}
