.ta-rpc-wrap {
  margin: 100px 0 0 0;
}

.ta-rpc-title {
  text-align: center;
  font-size: 26px;
  margin: 0 0 18px 0;
}

.ta-rpc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ta-rpc-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px 0 #d7d9dd;
  display: flex;
  align-items: stretch;
  min-height: 170px;
}

.ta-rpc-media {
  display: block;
  width: 42%;
  min-width: 42%;
  position: relative;
  overflow: hidden;
}

.ta-rpc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.ta-rpc-body {
  width: 58%;
  padding: 14px 14px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ta-rpc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ta-rpc-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1;
  background: rgba(255, 140, 0, 0.12);
  color: #d86b00;
  font-weight: 600;
  white-space: nowrap;
}

.ta-rpc-price {
  font-size: 18px;
  white-space: nowrap;
}

.ta-rpc-price .woocommerce-Price-amount {
  font-weight: bold;
}

.ta-rpc-name {
  font-size: 16px;
  font-weight: 800;
  color: #0d1b2a;
  text-decoration: none;
  line-height: 1.25;
}

.ta-rpc-name:hover {
  text-decoration: underline;
}

.ta-rpc-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ta-rpc-reviews {
  font-size: 12px;
  color: rgba(0,0,0,0.55);
}

.ta-rpc-rating-empty {
  opacity: 0.35;
}

.ta-rpc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  padding-top: 2px;
}

.ta-rpc-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: rgba(0,0,0,0.65);
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.05);
  padding: 6px 10px;
  border-radius: 999px;
}

.ta-rpc-ico {
  width: 16px;
  height: 16px;
  fill: rgba(0,0,0,0.6);
  flex: 0 0 auto;
}

.ta-rpc-actions {
  display: flex;
  justify-content: flex-end;
}

.ta-rpc-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ta-rpc-loc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(0,0,0,0.7);
  min-width: 0;
}

.ta-rpc-loc span {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 220px;
}

.ta-rpc-loc-empty {
  height: 1px;
}

.ta-rpc-loc-ico {
  width: 16px;
  height: 16px;
  fill: rgba(0,0,0,0.65);
  flex: 0 0 auto;
}

.ta-rpc-hotel-amen {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 5px;
  padding-top: 2px;
}

.ta-rpc-hotel-amen-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: rgba(0,0,0,0.75);
}

.ta-rpc-hotel-amen-ico {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.ta-rpc-hotel-amen-ico svg {
  width: 15px;
  height: 15px;
  stroke: rgba(0,0,0,0.7);
  fill: rgba(0,0,0,0.7);
}

.ta-rpc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 5px;
  background: #f59e0b;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  min-width: 95px;
}

.ta-rpc-btn:hover {
  filter: brightness(0.95);
}

/* Tablet */
@media (max-width: 980px) {
  .ta-rpc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ta-rpc-card {
    min-height: 160px;
  }
}

/* Mobile */
@media (max-width: 620px) {
  .ta-rpc-grid {
    grid-template-columns: 1fr;
  }

  .ta-rpc-card {
    flex-direction: column;
  }

  .ta-rpc-media {
    width: 100%;
    min-width: 100%;
    height: 190px;
  }

  .ta-rpc-body {
    width: 100%;
  }

  .ta-rpc-title {
    font-size: 22px;
  }
}
