.tr-listings-section {
  width: min(100%, 1240px);
  margin: 0 auto 64px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(20, 35, 38, .13);
  border-radius: 16px;
  background: #fff;
  color: #142326;
  box-shadow: 0 18px 55px rgba(12, 52, 54, .07);
}

.tr-listings-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.tr-listings-heading span {
  color: #c87338;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.tr-listings-heading h2 {
  margin: 5px 0 0;
  color: #0c3436;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -.035em;
  line-height: 1;
}

.tr-listings-heading p {
  max-width: 390px;
  margin: 0;
  color: #647478;
  font-size: 13px;
  text-align: right;
}

.tr-listings-table-wrap { overflow-x: auto; }
.tr-listings-table { width: 100%; border-collapse: collapse; }
.tr-listings-table th { padding: 13px 12px; border-block: 1px solid rgba(20,35,38,.12); color: #647478; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-align: left; text-transform: uppercase; }
.tr-listings-table td { padding: 16px 12px; border-bottom: 1px solid rgba(20,35,38,.1); font-size: 13px; vertical-align: middle; }
.tr-listings-table tr:last-child td { border-bottom: 0; }
.tr-listing-type { display: inline-flex; padding: 6px 9px; border-radius: 999px; background: #e4ecea; color: #0b6655; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.tr-listing-type-cumparare { background: #f6e9df; color: #a05224; }
.tr-listing-type-job { background: #e7e7f4; color: #4c4b8c; }
.tr-listings-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.tr-listings-filters a { padding: 8px 13px; border: 1px solid rgba(20,35,38,.13); border-radius: 999px; color: #647478; font-size: 10px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.tr-listings-filters a:hover { border-color: #0b6655; color: #0b6655; }
.tr-listings-filters a[aria-current="page"] { border-color: #0c3436; background: #0c3436; color: #fff; }
.tr-listing-product { display: flex; align-items: center; gap: 13px; min-width: 260px; }
.tr-listing-product strong { display: block; color: #0c3436; font-size: 14px; line-height: 1.25; }
.tr-listing-product small { display: block; max-width: 440px; margin-top: 4px; color: #647478; font-size: 11px; line-height: 1.4; }
.tr-listing-thumb { overflow: hidden; flex: 0 0 62px; width: 62px; height: 52px; border-radius: 8px; background: #e4ecea; }
.tr-listing-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tr-listing-price { color: #0c3436; white-space: nowrap; }
.tr-listing-link { display: inline-flex; align-items: center; gap: 6px; color: #0b6655; font-size: 11px; font-weight: 850; white-space: nowrap; }
.tr-listing-contact { display: block; margin-top: 4px; color: #647478; font-size: 10px; white-space: nowrap; }
.tr-listings-empty { display: flex; flex-direction: column; gap: 4px; padding: 34px; border-radius: 12px; background: #f5f2ea; text-align: center; }
.tr-listings-empty strong { color: #0c3436; font-family: "Source Serif 4", Georgia, serif; font-size: 23px; }
.tr-listings-empty span { color: #647478; font-size: 12px; }
.tr-listings-note { margin-top: 18px; color: #647478; font-size: 10px; line-height: 1.5; }

@media (max-width: 780px) {
  .tr-listings-section { width: 100%; padding: 24px 18px; }
  .tr-listings-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .tr-listings-heading p { text-align: left; }
  .tr-listings-table thead { position: absolute; overflow: hidden; width: 1px; height: 1px; clip: rect(0 0 0 0); }
  .tr-listings-table, .tr-listings-table tbody, .tr-listings-table tr, .tr-listings-table td { display: block; width: 100%; }
  .tr-listings-table tr { margin-bottom: 14px; padding: 15px; border: 1px solid rgba(20,35,38,.11); border-radius: 12px; }
  .tr-listings-table td { display: grid; grid-template-columns: 92px 1fr; padding: 7px 0; border: 0; }
  .tr-listings-table td::before { color: #647478; content: attr(data-label); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .tr-listings-table td:nth-child(2) { display: block; padding: 4px 0 13px; }
  .tr-listings-table td:nth-child(2)::before, .tr-listings-table td:last-child::before { display: none; }
  .tr-listing-product { min-width: 0; }
  .tr-listings-table td:last-child { display: block; padding-top: 12px; }
}
