/* Shared, page-scoped price styling for National Service Animals core pages. */

/* ESA evaluation cards: one pet, multiple pets, then PSD where present. */
.service-offerings .home-service-card:not(.state-service-card) .home-service-price,
.home-commercial .home-service-card .home-service-price {
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 0;
  border-radius: 9px;
  background: #1f5f99;
  color: #fff;
  box-shadow: 0 7px 16px rgb(10 36 67 / 18%);
}

.service-offerings .home-service-card:not(.state-service-card):nth-child(2) .home-service-price,
.home-commercial .home-service-card:nth-child(2) .home-service-price {
  background: #c8102e;
}

.service-offerings .home-service-card:not(.state-service-card):nth-child(3) .home-service-price,
.home-commercial .home-service-card:nth-child(3) .home-service-price {
  background: #147451;
}

.service-offerings .home-service-card:not(.state-service-card) .home-service-price > span,
.service-offerings .home-service-card:not(.state-service-card) .home-service-price > strong,
.home-commercial .home-service-card .home-service-price > span,
.home-commercial .home-service-card .home-service-price > strong {
  color: #fff;
}

.service-offerings .home-service-card:not(.state-service-card) .home-service-price > span,
.home-commercial .home-service-card .home-service-price > span {
  flex: 1 1 auto;
  font-size: 12px;
  line-height: 1.35;
}

.service-offerings .home-service-card:not(.state-service-card) .home-service-price > strong,
.home-commercial .home-service-card .home-service-price > strong {
  flex: none;
  font-size: 32px;
  line-height: 1;
}

/* Main pricing-page cards: emphasize only the actual NSA standard price row. */
.offering-card dl > div:nth-child(2) {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 12px;
  padding: 11px 15px;
  border: 0;
  border-radius: 9px;
  background: #1f5f99;
  color: #fff;
  box-shadow: 0 7px 16px rgb(10 36 67 / 18%);
}

.offering-card:nth-child(2) dl > div:nth-child(2) { background: #c8102e; }
.offering-card:nth-child(3) dl > div:nth-child(2) { background: #147451; }
.offering-card dl > div:nth-child(2) dt,
.offering-card dl > div:nth-child(2) dd {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: #fff;
}
.offering-card dl > div:nth-child(2) dt { font-size: 12px; font-weight: 750; }
.offering-card dl > div:nth-child(2) dd { flex: none; font-size: 28px; font-weight: 850; text-align: right; }

/* PSD service page's standalone standard-price callout. */
.guide-service-pricing .guide-service-price {
  padding: 13px 16px;
  border: 0;
  border-radius: 9px;
  background: #147451;
  color: #fff;
  box-shadow: 0 7px 16px rgb(10 36 67 / 18%);
}
.guide-service-pricing .guide-service-price > span,
.guide-service-pricing .guide-service-price > strong { color: #fff; }
.guide-service-pricing .guide-service-price > strong { font-size: 2rem; line-height: 1; }

/* Keep the illustrative rent/deposit matrix visually distinct from NSA fees. */
.pet-cost-card:nth-child(1) .pet-cost-evaluation { border-color: #1f5f99; background: #1f5f99; }
.pet-cost-card:nth-child(2) .pet-cost-evaluation { border-color: #c8102e; background: #c8102e; }
.pet-cost-card:nth-child(3) .pet-cost-evaluation { border-color: #147451; background: #147451; }
.pet-cost-evaluation > span:nth-child(2),
.pet-cost-evaluation > strong { color: #fff !important; }
.pet-cost-evaluation .pet-cost-fee-icon { border-color: #fff; color: #fff; background: rgb(255 255 255 / 14%); box-shadow: none; }

/* Compact price options on the FAQ page. */
.faq-price-option { border-color: #1f5f99; background: #1f5f99; color: #fff; }
.faq-price-option:nth-child(2) { border-color: #c8102e; background: #c8102e; }
.faq-price-option:nth-child(3) { border-color: #147451; background: #147451; }
.faq-price-option > span:nth-child(2),
.faq-price-option strong { color: #fff; }
.faq-price-option .faq-price-icon { border: 1px solid rgb(255 255 255 / 72%); background: rgb(255 255 255 / 14%); color: #fff; }

/* Match each price-bearing application link on the pricing guide to its service. */
.pricing-article-cta-group > a:nth-child(1) { background: #1f5f99; color: #fff; }
.pricing-article-cta-group > a:nth-child(2) { background: #c8102e; color: #fff; }
.pricing-article-cta-group > a:nth-child(3) { background: #147451; color: #fff; }
.pricing-article-cta-group > a:hover { filter: brightness(.92); color: #fff; }

@media (max-width: 650px) {
  .offering-card dl > div:nth-child(2) { align-items: center; }
  .offering-card dl > div:nth-child(2) dt { flex: 1 1 auto; }
  .offering-card dl > div:nth-child(2) dd { flex: none; margin: 0; font-size: 26px; text-align: right; }
  .guide-service-pricing .guide-service-price { gap: 10px; }
  .guide-service-pricing .guide-service-price > span { flex: 1 1 auto; }
}
