/* ===== THUM — practice areas grid ===== */
.thum { --h: 947; background: #fff; }
.thum__title {
  position: absolute; top: 48px; left: 50%; transform: translate(-50%, -50%);
  width: 700px; text-align: center; font-size: 42px; line-height: 48px; font-weight: 400; color: var(--green-900);
}
.thum__grid {
  position: absolute; top: 148px; left: 311px; width: 1298px;
  display: grid; grid-template-columns: repeat(4, 301px); gap: 29px 31px; direction: rtl;
}
.tcard {
  position: relative; height: 224px; border-radius: 8px; overflow: hidden; display: block;
  color: #fff;
}
.tcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tcard__grad { position: absolute; inset: auto 0 0 0; height: 167px; background: linear-gradient(to top, #0d2c21 0%, rgba(13,44,33,0) 100%); }
.tcard__ic {
  position: absolute; left: 14px; bottom: 19px; width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45); display: flex; align-items: center; justify-content: center; z-index: 2;
}
.tcard__ic img { width: 22px; height: 22px; }
.tcard__title {
  position: absolute; right: 17px; bottom: 28px; width: 201px; z-index: 2;
  font-size: 24px; font-weight: 700; line-height: 26px; text-align: right; color: #fff;
}

@media (max-width: 1024px) {
  .thum { --h: auto; height: auto; }
  .thum .stage { position: static; width: 100%; height: auto; transform: none; padding: 36px 0 8px; }
  .thum__title { position: relative; top: 0; left: 0; transform: none; width: auto; font-size: 26px; line-height: 1.2; padding: 0 16px; }
  .thum__grid {
    position: relative; top: 0; left: 0; width: auto; margin: 22px 16px 0;
    grid-template-columns: 1fr 1fr; gap: 12px;
  }
  .tcard { height: 150px; }
  .tcard__title { font-size: 16px; width: auto; right: 12px; bottom: 16px; }
  .tcard__ic { width: 38px; height: 38px; left: 10px; bottom: 12px; }
  .tcard__ic img { width: 16px; height: 16px; }
}
