/* Site Info module ([address]/[phone]/[socials]/banners…). Type comes from .subheading-sm /
   .body-* in typography.css; colors are inline per banner. Owned by inc/site-info.php. */

/* ── Social icons ([socials] / [instagram]) ─────────────────── */
.site-social {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.site-social__link {
  display: inline-flex;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.site-social__link:hover {
  opacity: 0.7;
}
.site-social svg {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  fill: currentColor;
}

/* ── Map ([map]) — override the iframe's hard-coded size; height fills a sibling column. ── */
.site-map {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 20rem;
  overflow: hidden;
}
.site-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
/* carry the column height down through the Code module wrappers (map only) */
.et_pb_code:has(.site-map) {
  height: 100%;
}
.et_pb_code:has(.site-map) > .et_pb_code_inner {
  height: 100%;
}

/* ── Phone ([phone]/[fax]) digit spacing ────────────────────── */
.site-phone {
  letter-spacing: 0.06em;
}

/* ── Banners (Site Info → Banners) — announcement bars above the header; colors inline per banner. ── */
.site-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem 3.25rem;
}
/* WYSIWYG text — fixed 16px on all breakpoints (Bogart body font). */
.site-banner__text {
  color: inherit;
  font-family: var(--font-body);
  font-size: 1rem;   /* 16px desktop + mobile */
  line-height: 1.4;
}
.site-banner__text p {
  margin: 0;
  padding: 0;
}
.site-banner__text a {
  text-decoration: underline;
  color: inherit;
}
/* X rides the first text line: centered on a one-line banner, top-right when the text wraps. */
.site-banner__close {
  position: absolute;
  right: 0.5rem;
  top: 0.75rem;
  height: 1.4rem;
  display: inline-flex;
  align-items: center;
  background: none;
  border: 0;
  padding: 0 0.5rem;
  cursor: pointer;
  color: inherit;
  font-size: 1.375rem;
  line-height: 1;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
.site-banner__close:hover {
  opacity: 1;
}
