/* WordPress-specific additions on top of the designer system (site.css / service.css). */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.ghl-form{width:100%;min-height:200px}
.ghl-form iframe{display:block;width:100%;background:transparent}
body.admin-bar .site-header{top:32px}
@media (max-width:782px){body.admin-bar .site-header{top:46px}}

/* Long-form content (standard pages, blog articles) */
.entry { color: var(--teal); font-size: 18px; line-height: 1.7; }
.entry > * + * { margin-top: 1.1em; }
.entry h2, .entry h3, .entry h4 { color: var(--ink); line-height: 1.2; margin-top: 1.8em; font-weight: 500; }
.entry h2 { font-size: clamp(28px, 2.6vw, 36px); letter-spacing: -.02em; }
.entry h3 { font-size: clamp(22px, 2vw, 26px); }
.entry h4 { font-size: 20px; }
.entry a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.entry strong { color: var(--ink); font-weight: 600; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li + li { margin-top: .4em; }
.entry img { max-width: 100%; height: auto; border-radius: var(--r); }
.entry figure { margin-inline: 0; }
.entry figcaption { font-size: 14px; margin-top: 8px; }
.entry blockquote { margin-inline: 0; padding-left: 20px; border-left: 2px solid var(--mint-line); font-style: italic; }
.entry table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.entry th, .entry td { border: 1px solid var(--hairline); padding: 10px 12px; text-align: left; vertical-align: top; }
.entry th { background: var(--mint); color: var(--ink); }
.entry iframe { max-width: 100%; }
.entry .wp-block-embed iframe, .entry iframe[src*="youtube"], .entry iframe[src*="vimeo"] { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--r); }

/* Long unbroken URLs in imported posts (e.g. references) must wrap on phones */
.ar-wrap > * { min-width: 0; }
.entry a, .entry p, .entry li { overflow-wrap: anywhere; }

/* Promotion popup (inc/promo.php): GHL form in the design's lightbox style */
dialog.promo-dialog { width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--cream); color: var(--ink); overflow: auto; }
dialog.promo-dialog::backdrop { background: rgba(20,64,62,.6); backdrop-filter: blur(6px); }
dialog.promo-dialog[open] { animation: promo-pop .5s var(--ease-out); }
@keyframes promo-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.promo-dialog__body { padding: 56px 20px 20px; }
.promo-dialog__close { position: absolute; right: 14px; top: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); border: 1px solid rgba(20,64,62,.3); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.promo-dialog__close svg { width: 18px; height: 18px; }
@media (max-width: 480px) { .promo-dialog__body { padding: 56px 8px 8px; } }
