/* =======================================================
   ALD Route Pricing (Prices + FAQ)
   - Fix GeneratePress/GenerateBlocks centering
   - FAQ Q1 uses cards
   - FAQ card icons color: #1eacc7 (SVG currentColor)
======================================================= */

.ald-rp-wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin: 24px 0 !important;
  padding: 0 !important;
  display: block !important;
}

.ald-rp-block {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  margin: 0 !important;
  text-align: left !important;
}

/* Text elements we own (avoid nuking everything with *) */
.ald-rp-title,
.ald-rp-subtitle,
.ald-rp-lead,
.ald-rp-distance,
.ald-rp-note,
.ald-rp-cta,
.schema-faq-question,
.schema-faq-answer {
  text-align: left !important;
}

.ald-rp-title {
  margin: 0 0 10px;
  line-height: 1.2;
}

.ald-rp-subtitle {
  margin: 14px 0 10px;
}

.ald-rp-lead {
  margin: 0 0 10px;
}

.ald-rp-distance {
  margin: 0 0 14px;
}

.ald-rp-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.ald-rp-list-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.ald-rp-list-item:last-child {
  border-bottom: 0;
}

.ald-rp-vehicle { font-weight: 600; }
.ald-rp-price   { font-weight: 700; white-space: nowrap; }

.ald-rp-note {
  margin: 10px 0 0;
  color: #666;
  font-style: italic;
  font-size: 0.85em; 
}

.ald-rp-cta {
  margin: 10px 0 0;
  color: #666;
}

/* FAQ */
.ald-rp-faq-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.ald-rp-faq-item:last-child { border-bottom: 0; }

.schema-faq-question {
  font-weight: 700;
  margin: 0 0 10px;
}

.schema-faq-answer {
  margin: 0;
  line-height: 1.6;
}

/* ===========================
   Cards (Q1 answer)
=========================== */
.ald-rp-cards {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  justify-items: start !important;
  align-items: stretch;
}

.ald-rp-card {
  width: 100% !important;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  padding: 12px;

  /* Center card content */
  text-align: center;
}

.ald-rp-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: #fff;
  display: block;
  overflow: hidden;
  border-radius: 8px;
}

.ald-rp-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ald-rp-card-title {
  margin: 10px 0 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 14px;
  text-align: center;
}

.ald-rp-card-meta {
  display: flex;
  gap: 10px;
  margin: 0 0 10px;
  justify-content: center;
}

.ald-rp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 6px;
  padding: 4px 8px;
  font-weight: 600;
  font-size: 13px;
  justify-content: center;
}

/* ICON COLOR */
.ald-rp-chip-ico {
  color: #1eacc7;
  display: inline-flex;
  align-items: center;
}

.ald-rp-chip-ico svg {
  display: block;
  fill: currentColor;
}

.ald-rp-card-price {
  font-weight: 500;
  color:#1eacc7;
  font-size: 20px;
  text-align: center;
}

/* Spacing for note/cta under FAQ cards */
.ald-rp-faq .ald-rp-note,
.ald-rp-faq .ald-rp-cta {
  margin-top: 12px;
}

/* =======================================================
   Hard centering overrides for GP/GB wrappers
======================================================= */
.has-text-align-center .ald-rp-wrap,
.has-text-align-center .ald-rp-block,
.aligncenter .ald-rp-wrap,
.aligncenter .ald-rp-block {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.gb-container .ald-rp-wrap,
.gb-inside-container .ald-rp-wrap,
.wp-block-group .ald-rp-wrap,
.wp-block-columns .ald-rp-wrap,
.wp-block-column .ald-rp-wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  justify-self: stretch !important;
  align-self: stretch !important;
}

@media (max-width: 600px) {
  .ald-rp-cards {
    grid-template-columns: 1fr;
  }
}

.ald-rp-book-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  background: #1eacc7;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  transition: opacity .2s ease;
}

.ald-rp-book-btn:hover,
.ald-rp-book-btn:focus {
  opacity: 0.9;
  color: #fff !important;
  text-decoration: none !important;
}