.price_card {
  padding: 128px 0 0 0;
  max-width: 1024px;
  margin: auto;
}

@media (max-width: 768px) {
  .price_card {
    padding: var(--clamp24);
    max-width: 1024px;
    margin: auto;
  }
}

.price .wp-block-table table {
  table-layout: auto;
  border-collapse: collapse;
  width: 100%;
}

.price .wp-block-table td {
  padding: 16px;
  border: 1px solid var(--navy);
  vertical-align: top;
}

.price .wp-block-table td:nth-child(1) {
  width: 30%;
  font-size: var(--clamp18);
}

.price .wp-block-table td:nth-child(2) {
  width: 15%;
  font-size: var(--clamp18);
}

.price .wp-block-table td:nth-child(3) {
  width: auto;
  font-size: var(--clamp16);
}

.price .wp-block-table td img {
  aspect-ratio: 1 / 1;
  width: 180px;
  display: block;
  margin: 24px auto;
}

.price .wp-block-table th {
  border: 0;
  width: 25%;
  padding: var(--clamp72) 0 24px 0;
  font-size: var(--clamp24);
  font-weight: 500;
  color: var(--navy);
}

.price h2 {
  font-size: 36px;
  color: #2d5469;
  text-align: center;
  line-height: 160%;
  font-family: var(--serif);
  margin: 0 auto 32px auto;
  letter-spacing: 0.1em;
}

.price .creditcards {
  width: 400px;
  margin: auto;
  display: block;
  padding-top: var(--clamp48);
}

.price_card p {
  padding: 24px 0;
  line-height: 200%;
}

.price_card h3 {
  font-family: var(--serif);
  font-size: var(--clamp24);
  text-align: center;
  border-bottom: 1px solid var(--navy);
  line-height: 150%;
  padding: 8px 0;
  color: var(--navy);
  margin-top: var(--clamp64);
}

.calc {
  padding: 24px;
  background-color: #c5d9e4;
  font-size: var(--clamp20);
  font-weight: 600;
  margin: var(--clamp24) auto;
}

.price_card h4 {
  font-size: var(--clamp18);
  text-align: center;
  line-height: 150%;
  padding: 8px 0;
  color: var(--navy);
  margin-top: var(--clamp64);
  width: fit-content;
  margin: auto;
  margin-top: var(--clamp48);
  font-family: var(--serif);
}

.price strong {
  font-weight: 600;
  background-color: rgba(255, 255, 0, 0.3);
}

@media (max-width: 768px) {
  .price .wp-block-table table {
    width: 100%;
  }

  .price .wp-block-table td {
    display: block;
    width: 100%;
    border: 0;
  }

  .price .wp-block-table td:nth-child(1) {
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--navy);
    font-size: var(--clamp24);
    font-weight: 600;
    padding-top: var(--clamp48);
  }

  .price .wp-block-table td:nth-child(1) br {
    display: none;
  }

  .price .wp-block-table td:nth-child(2) {
    display: block;
    width: 100%;
  }

  .price .wp-block-table td:nth-child(3) {
    display: block;
    width: 100%;
  }

  .price .wp-block-table th {
    display: block;
    width: 100%;
  }

  .price .wp-block-table tr {
    display: block;
    width: 100%;
  }
}
