/* PeakMade Specials › Announcement Banner (2.3.0). Four styles: Ribbon (default), Glass, Capsule, Classic bar.
 * Colors, sizes and spacing come from custom properties set on the banner by includes/banner.php. */
.pms-ab { position: relative; z-index: 99; box-sizing: border-box; width: 100%; margin: 0; overflow: hidden;
  background: var(--pms-ab-bg, #f5f5f7); color: var(--pms-ab-fg, #1d1d1f);
  font-size: var(--pms-ab-d, 15px); font-weight: var(--pms-ab-w, 400); text-transform: var(--pms-ab-case, none); line-height: 1.35; text-align: center; letter-spacing: -.005em; }
.pms-ab[hidden] { display: none !important; }
.pms-ab .pms-ab-in { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35em .7em;
  padding: calc(.75em * var(--pms-ab-pad, 1)) 3em; }
.pms-ab p.pms-ab-text { margin: 0 !important; padding: 0 !important; font: inherit; color: inherit; line-height: inherit; text-transform: inherit; letter-spacing: inherit; }
.pms-ab .pms-ab-sub { font-weight: 400; opacity: .8; }
.pms-ab .pms-ab-msg-phone { display: none; }
.pms-ab .pms-ab-dot { flex: none; width: .5em; height: .5em; border-radius: 50%; background: var(--pms-ab-accent, #00A9CE); }
.pms-ab .pms-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The link: text, outline button or solid button, on every style. */
.pms-ab a.pms-ab-cta { display: inline-flex; align-items: center; gap: .2em; font-weight: 700; white-space: nowrap; text-decoration: none; text-transform: inherit; line-height: 1.2; transition: transform .25s cubic-bezier(.2,.8,.2,1), background-color .2s, color .2s, opacity .2s; }
.pms-ab a.pms-ab-cta.is-text { color: var(--pms-ab-link, currentColor) !important; }
.pms-ab a.pms-ab-cta.is-text:hover { text-decoration: underline; text-underline-offset: 3px; }
.pms-ab a.pms-ab-cta .pms-ab-chev { display: inline-block; font-size: 1.15em; line-height: 1; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.pms-ab a.pms-ab-cta:hover .pms-ab-chev, .pms-ab a.pms-ab-cta:focus-visible .pms-ab-chev { transform: translateX(3px); }
.pms-ab a.pms-ab-cta.is-outline { color: inherit !important; border: 1.5px solid currentColor; border-radius: 999px; padding: .32em .95em; font-size: .87em; }
.pms-ab a.pms-ab-cta.is-outline:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.pms-ab a.pms-ab-cta.is-solid { background: var(--pms-ab-accent, #00A9CE); color: var(--pms-ab-accent-ink, #fff) !important; border-radius: 999px; padding: .38em 1em; font-size: .87em; }
.pms-ab a.pms-ab-cta.is-solid:hover { opacity: .88; }
.pms-ab a.pms-ab-cta:focus-visible, .pms-ab .pms-ab-x:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* Close: a quiet round × in the text color (Classic keeps its own colored square). */
.pms-ab .pms-ab-x { position: absolute; top: 50%; right: .8em; transform: translateY(-50%); width: 1.75em; height: 1.75em; min-width: 26px; min-height: 26px; margin: 0; padding: 0;
  border: 0; border-radius: 50%; display: grid; place-items: center; background: transparent; color: inherit; cursor: pointer; font-size: 1em; line-height: 1; opacity: .7; transition: background-color .2s, opacity .2s; }
.pms-ab .pms-ab-x:hover { opacity: 1; background: color-mix(in srgb, currentColor 12%, transparent); }
.pms-ab .pms-ab-x svg { width: .6em; height: .6em; min-width: 9px; min-height: 9px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* Glass: frosted and see-through. Over the photo when it sits below the navigation. */
.pms-ab--glass { -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid color-mix(in srgb, var(--pms-ab-fg) 12%, transparent); }
.pms-ab--glass .pms-ab-x { background: color-mix(in srgb, currentColor 8%, transparent); }

/* Capsule: a floating pill, centered, over the photo. */
.pms-ab--capsule { background: transparent; overflow: visible; pointer-events: none; }
.pms-ab--capsule .pms-ab-in { pointer-events: auto; display: inline-flex; flex-wrap: nowrap; gap: .75em; max-width: calc(100% - 32px); margin: 1.1em auto; padding: .55em .6em .55em 1.15em;
  background: var(--pms-ab-bg); border-radius: 999px; -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.pms-ab--capsule .pms-ab-x { position: static; transform: none; background: color-mix(in srgb, currentColor 12%, transparent); opacity: .9; flex: none; }
.pms-ab--capsule .pms-ab-dot { box-shadow: 0 0 0 .25em color-mix(in srgb, var(--pms-ab-accent) 30%, transparent); animation: pms-ab-pulse 2.4s ease-in-out infinite; }
@keyframes pms-ab-pulse { 50% { box-shadow: 0 0 0 .45em color-mix(in srgb, var(--pms-ab-accent) 0%, transparent); } }
.pms-ab--capsule.is-overlay, .pms-ab--glass.is-overlay { background-clip: padding-box; }

/* Classic bar: the theme's full-color bar with a colored square close button. */
.pms-ab--classic .pms-ab-in { padding: calc(.5em * var(--pms-ab-pad, 1)) 2.6em; gap: .3em .5em; }
.pms-ab--classic a.pms-ab-cta.is-text { color: inherit !important; text-decoration: underline; text-underline-offset: 3px; }
.pms-ab--classic .pms-ab-x { top: 0; right: 0; bottom: 0; transform: none; width: 2em; height: auto; border-radius: 0; background: var(--pms-ab-xbg, #fff); color: var(--pms-ab-xfg, #000); opacity: 1; }
.pms-ab--classic .pms-ab-x:hover { background: var(--pms-ab-xbg, #fff); opacity: .85; }
.pms-ab--classic .pms-ab-x svg { width: .8em; height: .8em; stroke-width: 2.4; }

/* Sizes by screen; phones show the shorter message and drop the details. */
@media (max-width: 980px) { .pms-ab { font-size: var(--pms-ab-t, 15px); } }
@media (max-width: 767px) {
  .pms-ab { font-size: var(--pms-ab-p, 13px); }
  .pms-ab .pms-ab-in { padding-left: 1.2em; padding-right: 2.8em; }
  .pms-ab--capsule .pms-ab-in { padding-right: .6em; }
  .pms-ab.has-phone-text .pms-ab-msg { display: none; }
  .pms-ab.has-phone-text .pms-ab-msg-phone { display: inline; }
  .pms-ab:not(.pms-ab--classic) .pms-ab-sub { display: none; }
}

/* Motion: in a quarter second after the page settles; closing fades, then the space closes so the page slides up. */
.pms-ab.is-entering { animation: pms-ab-in .6s cubic-bezier(.2,.8,.2,1) .25s both; }
.pms-ab--capsule.is-entering { animation: pms-ab-spring .7s cubic-bezier(.34,1.56,.64,1) .3s both; }
@keyframes pms-ab-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes pms-ab-spring { from { opacity: 0; transform: translateY(-14px) scale(.92); } to { opacity: 1; transform: none; } }
.pms-ab.is-closing { animation: pms-ab-out .42s cubic-bezier(.4,0,.2,1) forwards; }
.pms-ab--capsule.is-closing { animation: pms-ab-shrink .35s cubic-bezier(.4,0,1,1) forwards; }
@keyframes pms-ab-out { 0% { opacity: 1; } 40% { opacity: 0; } 100% { opacity: 0; max-height: 0; } }
@keyframes pms-ab-shrink { to { opacity: 0; transform: translateY(-10px) scale(.94); } }
@media (prefers-reduced-motion: reduce) {
  .pms-ab.is-entering, .pms-ab.is-closing { animation-duration: .01s !important; animation-delay: 0s !important; }
  .pms-ab--capsule .pms-ab-dot { animation: none; }
}

/* Below the navigation, Pushes the page down: the theme's banner section (absolute on Threshold sites) takes up room. */
.et-l--header .et_pb_section:has(.pms-ab.is-push) { position: relative !important; }
/* Placed by banner.js right after a site header (sites without [top-announcement]): over the page, as the theme did. */
.pms-ab-anchor { position: relative; height: 0; z-index: 99; }
.pms-ab-anchor > .pms-ab { position: absolute; top: 0; left: 0; right: 0; }
