/* About me quote card and About pop-up (includes/about-me-card.php).
   Loaded by the component itself, so it styles the same on every host page.
   The pop-up's window, grab bar, top row and close button are the reviews
   pop-up's (ht-reviews.css); only its contents and foot are styled here. */

/* ---- the card: the Featured strip's gray quote box ---- */
.ht-about {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 16px 18px;
  background: #F8F8F8;
  border-radius: 12px;
  color: #1A1A1A;
  text-align: left;
  box-sizing: border-box;
  transition: background-color .15s ease;
}
.ht-about *, .ht-about *::before, .ht-about *::after { box-sizing: border-box; }
.ht-about__main { flex: 1 1 auto; min-width: 0; }
.ht-about__by {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 24px;
  color: #1A1A1A;
}
/* The business link page colors every bare span gray. */
.ht-about .ht-about__by span { color: inherit; font: inherit; }
.ht-about__face {
  flex: none;
  display: block;
  width: 24px;
  height: 24px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
}
.ht-about__text {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  color: #4A4A4A;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
/* Read more is the card's one button: its ::after covers the whole card. */
.ht-about .ht-about__more {
  display: inline-block;
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: #1A1A1A;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.ht-about .ht-about__more::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  border-radius: 12px;
}
.ht-about .ht-about__more:focus { outline: 0; }
.ht-about .ht-about__more:focus-visible::after { outline: 2px solid #1A1A1A; outline-offset: 2px; }
.ht-about__sr {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ht-about__arrow {
  flex: none;
  display: block;
  width: 22px;
  height: 22px;
  color: #1A1A1A;
  transition: transform .15s ease;
}
/* It looks pressable: a little darker, and the arrow moves. */
@media (hover: hover) {
  .ht-about:not(.is-short):hover { background: #F1F1F1; }
  .ht-about:not(.is-short):hover .ht-about__arrow { transform: translateX(3px); }
}
.ht-about:not(.is-short):active { background: #ECECEC; }
/* A text that fits shows whole and is not a button. */
.ht-about.is-short .ht-about__more,
.ht-about.is-short .ht-about__arrow { display: none; }
@media (prefers-reduced-motion: reduce) {
  .ht-about, .ht-about__arrow { transition: none; }
}

/* ---- the pop-up's contents ---- */
.ht-about-pop .htrv-body { padding-bottom: 24px; }
.ht-about-pop .ht-about-pop__who { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.ht-about-pop .ht-about-pop__face { flex: none; display: block; width: 48px; height: 48px; margin: 0; border-radius: 50%; object-fit: cover; }
.ht-about-pop .ht-about-pop__name { font-size: 16px; font-weight: 700; line-height: 20px; color: #1A1A1A; }
.ht-about-pop .ht-about-pop__service { font-size: 13px; line-height: 18px; color: #717171; }
.ht-about-pop .ht-about-pop__text { font-size: 15px; line-height: 25px; color: #4A4A4A; overflow-wrap: anywhere; }
.ht-about-pop .ht-about-pop__text p { margin: 0 0 12px; font-size: inherit; line-height: inherit; color: inherit; }
.ht-about-pop .ht-about-pop__text span { color: inherit; }
.ht-about-pop .ht-about-pop__text p:last-child { margin-bottom: 0; }
.ht-about-pop .ht-about-pop__text img { max-width: 100%; height: auto; }

/* ---- the pop-up's foot: the price and the page's Book button ---- */
.ht-about-pop .ht-about-pop__foot {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 28px;
  border-top: 1px solid #ECECF0;
  background: #fff;
}
.ht-about-pop .ht-about-pop__price { font-size: 20px; font-weight: 800; line-height: 1.2; color: #1A1A1A; white-space: nowrap; }
.ht-about-pop .ht-about-pop__book {
  flex: none;
  height: 48px;
  margin: 0;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #FFA23D 0%, #F7880C 52%, #EA7B05 100%);
  box-shadow: 0 6px 16px rgba(247, 136, 12, .40), inset 0 1px 0 rgba(255, 255, 255, .30);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 48px;
  color: #fff;
  white-space: nowrap;
  cursor: pointer;
}
.ht-about-pop .ht-about-pop__book:hover,
.ht-about-pop .ht-about-pop__book:focus { color: #fff; filter: brightness(1.03); }
.ht-about-pop .ht-about-pop__book[hidden] { display: none; }

@media (max-width: 575px) {
  .ht-about-pop .ht-about-pop__foot { padding: 14px 20px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .ht-about-pop .htrv-body { padding-bottom: 20px; }
}
