/**
 * ZenGo shared component styles
 * Class names are uniquely prefixed "zg-" so they're safe to use directly
 * inside any widget's output without needing a page-level wrapper class —
 * they won't collide with the theme's existing "ao-" classes.
 * Depends on zg-tokens.css being loaded first.
 *
 * Load order:
 *   1. zg-tokens.css
 *   2. zg-shared.css   (this file)
 *   3. per-widget style files (e.g. zg-banner-style-six.css)
 *
 * Optional: add class="zg-theme" to a page wrapper to apply the ZenGo
 * body font/color as a page-wide default (not required per-widget).
 */

.zg-theme {
  font-family: var(--zg-font-body);
  color: var(--zg-body-text);
}

.zg-heading,
h1.zg-heading,
h2.zg-heading,
h3.zg-heading,
h4.zg-heading {
  font-family: var(--zg-font-display);
  color: var(--zg-heading);
  line-height: 1.2;
  margin: 0 0 16px;
}

/* ---------- Eyebrow label ---------- */
/* Small uppercase kicker above section headings, e.g. "SERVICES WE OFFER" */
.zg-eyebrow {
  display: inline-block;
  font-family: var(--zg-font-accent);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--zg-terracotta);
  margin-bottom: 12px;
}

/* ---------- Section heading block ---------- */
.zg-section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.zg-section-heading.zg-align-left {
  text-align: left;
  margin-left: 0;
}
.zg-section-heading .zg-section-title {
  font-family: var(--zg-font-display);
  font-size: 42px;
  font-weight: 400;
  color: var(--zg-heading);
  margin-bottom: 12px;
}
.zg-section-heading .zg-section-subtitle {
  font-family: var(--zg-font-accent);
  font-size: 18px;
  color: var(--zg-body-text);
  margin: 0;
}
.zg-section-heading .zg-highlight {
  color: var(--zg-sage);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

/* ---------- Pill buttons ---------- */
.zg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--zg-font-accent);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  padding: 18px 32px;
  border-radius: var(--zg-radius-pill);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.zg-btn-primary {
  background-color: var(--zg-terracotta);
  color: var(--zg-white);
}
.zg-btn-primary:hover {
  background-color: var(--zg-ink);
  color: var(--zg-white);
}
.zg-btn-outline {
  background-color: transparent;
  color: var(--zg-heading);
  border-color: var(--zg-heading);
}
.zg-btn-outline:hover {
  background-color: var(--zg-heading);
  color: var(--zg-white);
}
.zg-btn-sm {
  padding: 12px 22px;
  font-size: 14px;
}
.zg-btn .zg-btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- Star rating ---------- */
.zg-stars {
  display: inline-flex;
  gap: 2px;
  color: #F5B942;
  font-size: 14px;
}
.zg-stars .zg-star-empty {
  color: var(--zg-divider);
}

/* ---------- Cards (shared base for service/doctor/blog/job cards) ---------- */
.zg-card {
  background: var(--zg-white);
  border-radius: var(--zg-radius-card);
  overflow: hidden;
}

/* ---------- Icon circle ---------- */
.zg-icon-circle {
  width: var(--zg-icon-circle-size);
  height: var(--zg-icon-circle-size);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--zg-sage-light);
  color: var(--zg-sage);
  flex-shrink: 0;
}

/* ---------- Layout helpers ---------- */
.zg-section {
  padding: 100px 0;
}
.zg-section-cream {
  background-color: var(--zg-cream);
}
.zg-section-sage {
  background-color: var(--zg-sage);
  color: var(--zg-white);
}
.zg-section-sage h1,
.zg-section-sage h2,
.zg-section-sage h3,
.zg-section-sage h4,
.zg-section-sage .zg-heading {
  color: var(--zg-white);
}
.zg-section-maroon {
  background-color: var(--zg-maroon);
  color: var(--zg-white);
}

@media (max-width: 1024px) {
  .zg-section { padding: 72px 0; }
  .zg-section-heading { margin-bottom: 40px; }
}
@media (max-width: 767px) {
  .zg-section { padding: 56px 0; }
  .zg-section-heading .zg-section-title { font-size: 32px; }
  .zg-btn { padding: 15px 26px; font-size: 15px; }
}
