/* Google Preferred Sources strip — navy/gold/white, DM Sans, mobile-first */
.cc-preferred-source {
  font-family: "DM Sans", system-ui, sans-serif;
  text-align: center;
}

.cc-preferred-source__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: min(36rem, 100%);
  margin: 0 auto;
}

.cc-preferred-source--footer {
  background: #111a2d;
  color: #fff;
  padding: 1.15rem 1.25rem 1.45rem;
  border-top: 1px solid rgba(237, 180, 23, 0.22);
}

.cc-preferred-source--in-footer {
  background: #111a2d;
  border-top: 1px solid rgba(237, 180, 23, 0.22);
  margin-top: 1.5rem;
  padding: 1.25rem 0.25rem 0.15rem;
}

.cc-preferred-source--article {
  background: transparent;
  margin: 2.5rem auto 0;
  max-width: 48rem;
  padding: 1.75rem 1rem 0;
  border-top: 1px solid rgba(17, 26, 45, 0.1);
}

.cc-preferred-source__btn {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cc-preferred-source__fallback {
  margin: 0;
  line-height: 1.45;
}

.cc-preferred-source__fallback a {
  display: inline-block;
  color: #edb417;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  padding: 0.35rem 0.15rem;
}

.cc-preferred-source__fallback a:hover,
.cc-preferred-source__fallback a:focus-visible {
  color: #fff;
}

.cc-preferred-source--article .cc-preferred-source__fallback a {
  color: #111a2d;
}

.cc-preferred-source--article .cc-preferred-source__fallback a:hover,
.cc-preferred-source--article .cc-preferred-source__fallback a:focus-visible {
  color: #c8920a;
}

/* Hide the text fallback once publisher.js initializes the official button.
   Google renders that control in shadow DOM, so :not(:empty) never matches.
   publisher.js sets data-initialized on the host element instead. */
.cc-preferred-source__btn[data-initialized] + .cc-preferred-source__fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  /* Clear the sticky “Book Your $27 Consultation” bar and the FABs above it. */
  .cc-preferred-source--footer,
  .cc-preferred-source--in-footer {
    padding-bottom: calc(8rem + env(safe-area-inset-bottom, 0px));
  }

  .cc-preferred-source__fallback a {
    font-size: 0.9rem;
  }
}
