/* HealthySmiles blog components (front end, single posts). Mirrors the existing inline-styled boxes. */
.hs-at-a-glance {
  background: #E7F8FB;
  border-left: 6px solid #44B9CB;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
  font-family: 'Poppins', Arial, sans-serif;
  color: #1c1d1e;
}
.richtext .hs-at-a-glance p,
.hs-at-a-glance p { margin: 0; font-size: 16px; line-height: 1.65; }
.richtext .hs-at-a-glance p.hs-at-a-glance__label,
.hs-at-a-glance .hs-at-a-glance__label {
  margin: 0 0 8px;
  line-height: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #44b9cb;
}

/* Highlight format from the editor toolbar (same look as <strong><em>). */
.richtext mark.hs-highlight { background-color: #DDFBB8; color: inherit; font-weight: 500; padding: 0; }
.richtext mark.hs-highlight a,
.richtext a:has(mark.hs-highlight) { color: inherit; }

/* Price table */
.hs-price-table { border: 2px solid #000; border-radius: 35px; padding: 30px 32px 18px; margin: 30px 0; }
.hs-price-table table { width: 100%; border-collapse: collapse; margin: 0; font-family: inherit; }
.hs-price-table th { padding: 0 12px 16px 0; text-align: left; vertical-align: bottom; font-size: 20px; line-height: 1.2; font-weight: 500; border-bottom: 2px solid #000; }
.hs-price-table td { padding: 14px 12px 14px 0; text-align: left; vertical-align: top; font-size: 16px; line-height: 1.25; border-bottom: 2px solid #000; }
.hs-price-table tr:last-child td { border-bottom: 0; }
.hs-price-table th:first-child, .hs-price-table td:first-child { width: 42%; }
.hs-price-table strong { font-weight: 600; }
@media (max-width: 600px) {
  .hs-price-table { padding: 20px 16px 10px; border-radius: 24px; }
  .hs-price-table th { font-size: 15px; padding: 0 8px 12px 0; }
  .hs-price-table td { font-size: 13.5px; padding: 12px 8px 12px 0; }
}

/* Book a Visit box */
.hs-book-visit { background: #E7F8FB; border-left: 6px solid #44B9CB; border-radius: 12px; padding: 20px 24px; margin: 24px 0; font-family: 'Poppins', Arial, sans-serif; color: #1c1d1e; }
.richtext .hs-book-visit p { margin: 0 0 20px; font-size: 16px; line-height: 1.65; }
.richtext .hs-book-visit p.hs-book-visit__btn { margin: 0 0 25px; font-size: 18px; line-height: 24px; }   /* same as the classic <p><a> */
.hs-book-visit .btn-hs { color: #000 !important; text-decoration: none !important; }

/* Links inside the light-blue boxes stay dark (decision Nov 16: blue on light blue doesn't read well),
   same as the classic rule for div[style*="E7F8FB"]. */
.richtext .hs-at-a-glance a,
.richtext .hs-at-a-glance a:hover,
.richtext .hs-book-visit p a,
.richtext .hs-book-visit p a:hover { color: inherit; }

/* Image block: same spacing as the classic <p><a><img></a></p> (margins collapse like in classic posts). */
.richtext figure.wp-block-image { margin: 0 0 25px; }
.richtext figure.wp-block-image > a { display: block; }
