.rt-cost-table {
  padding: 3rem;
  background: transparent;
}

.rt-cost-table__inner {
  width: min(100%, 1560px);
  margin: 0 auto;
}

.rt-cost-table__grid {
  display: grid;
  grid-template-columns: minmax(630px,1.07fr) minmax(200px,400px)
  gap: 40px;
  align-items: end;
}

.rt-cost-table__content {
  min-width: 0;
}

.rt-cost-table__heading {
  margin: 0 0 10px;
  color: #0d4a4f;
  font-family: 'Amifer Black', sans-serif;
  font-size: 50px;
  line-height: 53px;
  font-weight: 900;
  letter-spacing: -0.02em;
  padding-bottom: 1rem;
}

.rt-cost-table__intro {
  margin: 0 0 18px;
  max-width: 620px;
}

.rt-cost-table__intro p {
  margin: 0 0 20px 0;
  color: #104d4d;
  font-family: 'Neue Haas Grotesk Display Pro Black', sans-serif;
  font-size: 24px;
  line-height: 36px;
  font-weight: 700;
}

.rt-cost-table__intro p + p {
  margin-top: 2px;
}

.rt-cost-table__table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  background: #d9e5d2;
}

.rt-cost-table__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 640px;
}

.rt-cost-table__table thead th {
  padding: 16px 20px;
  background: #0f5753;
  color: #d2ea45;
  text-align: left;
  font-family: 'Neue Haas Grotesk Display Pro Black', sans-serif;
  font-size: 20px;
  line-height: 35px;
  font-weight: 700;
}

.rt-cost-table__table thead th:first-child {
  border-top-left-radius: 14px;
}

.rt-cost-table__table thead th:last-child {
  border-top-right-radius: 14px;
}

.rt-cost-table__table tbody td {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  color: #184d4d;
  font-family: 'Neue Haas Grotesk Display Pro Black', sans-serif;
  font-size: 20px;
  line-height: 35px;
  font-weight: 700;
  vertical-align: top;
  background: #d9e5d2;
}

.rt-cost-table__table tbody td:nth-child(2) {
  font-weight: 500;
}

.rt-cost-table__table tbody td:last-child {
  white-space: nowrap;
  text-align: left;
  font-weight: 700;
}

.rt-cost-table__table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 14px;
}

.rt-cost-table__table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 14px;
}

.rt-cost-table__media {
  display: flex;
  align-items: end;
  justify-content: center;
}

.rt-cost-table__dog {
  display: block;
  width: 100%;
  max-width: 390px;
  height: auto;
}
@media (max-width: 1024px) {
  .rt-cost-table__grid {grid-template-columns: minmax(700px, 1.05fr) minmax(140px, 420px);}
  
}
@media (max-width: 991px) {
  .rt-cost-table__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .rt-cost-table__media {
    justify-content: flex-end;
  }

  .rt-cost-table__dog {
    
  }
}

@media (max-width: 767px) {
  .rt-cost-table__heading {
    font-size: clamp(28px, 9vw, 42px);
  }

  .rt-cost-table__intro p {
    margin-bottom:20px;
  }

  .rt-cost-table__table {
        max-width: 100%;
        min-width: unset;
  }

  .rt-cost-table__table thead th,
  .rt-cost-table__table tbody td {
    padding: 14px 16px;
  }
}