.tg-pd {
  --tg-soft: #3a3b3a;
  --tg-card: #1c1d1a;
  --tg-feat-bg: #f5f5f3;
  color: var(--color-primary);
  margin: 0 auto;
  padding: 8px 0 4px;
  text-align: left;
}

.tg-pd * {
  box-sizing: border-box;
}

.tg-pd .tg-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--tg-soft);
  max-width: 70ch;
  margin: 0 0 30px;
  font-weight: 400;
}
.tg-pd .tg-lead b,
.tg-pd .tg-lead strong {
  color: var(--color-primary);
  font-weight: 800;
}

.tg-pd .tg-slang {
  background: var(--color-primary);
  border-radius: 14px;
  padding: 28px;
  margin: 0 0 36px;
}
.tg-pd .tg-slang-head {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.tg-pd .tg-slang-head::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--color-secondary);
  flex: 0 0 auto;
}
.tg-pd .tg-slang-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.tg-pd .tg-slang-card {
  background: var(--tg-card);
  border-radius: 10px;
  padding: 20px;
}
.tg-pd .tg-slang-card .tg-w {
  font-weight: 900;
  font-size: 20px;
  color: var(--color-secondary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: block;
  margin: 0 0 8px;
}
.tg-pd .tg-slang-card p {
  font-size: 14px;
  line-height: 1.55;
  color: #b9bab5;
  margin: 0;
}

.tg-pd .tg-feats {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tg-pd .tg-feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
  background: var(--tg-feat-bg);
  border-radius: 14px;
  overflow: hidden;
}
.tg-pd .tg-feat-media {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  background: repeating-linear-gradient(
    45deg,
    #ececea 0 12px,
    #e4e4e1 12px 24px
  );
}
.tg-pd .tg-feat--flip .tg-feat-media {
  order: 2;
}
.tg-pd .tg-feat-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  margin: 0;
  z-index: 1;
}
.tg-pd .tg-feat-cap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #9b9c98;
  padding: 18px;
  pointer-events: none;
  z-index: 0;
}
.tg-pd .tg-feat-text {
  padding: 32px 36px;
}
.tg-pd .tg-feat-text h3 {
  font-weight: 900;
  font-size: 24px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 10px;
  padding: 0;
  border: none;
  background: none;
}
.tg-pd .tg-feat-text h3::before,
.tg-pd .tg-feat-text h3::after {
  content: none;
  display: none;
}
.tg-pd .tg-feat-text p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--tg-soft);
  margin: 0;
}

@media (max-width: 768px) {
  .tg-pd .tg-slang {
    padding: 22px;
  }
  .tg-pd .tg-slang-grid {
    grid-template-columns: 1fr;
  }
  .tg-pd .tg-feat {
    grid-template-columns: 1fr;
  }
  .tg-pd .tg-feat--flip .tg-feat-media {
    order: 0;
  }
  .tg-pd .tg-feat-text {
    padding: 22px 24px;
  }
  .tg-pd .tg-feat-text h3 {
    font-size: 21px;
  }
  .tg-pd .tg-lead {
    font-size: 16px;
  }
}
