/* static-overrides.css - Phase 1 static-site overrides, linked on every page by tools/convert.py
   (rule add_static_overrides_css). Owner: converter. Keep this file small; Phase 2 replaces it. */

/* D2 font (reports/visual-check.md). Visitors get LiteSpeed's non-guest variant, which links Google Fonts
   `css?family=DM+Sans:400,600`; the shipped guest variant has the font only as an invalid mid-bundle @import, so
   text fell back to the system font. These are the same DM Sans v17 files (wght axis only), self-hosted by
   tools/fetch_extras.py. The older css2 build under /assets/vendor/ has an opsz axis and wraps differently. */
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/vendor/fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6z9mXgjU0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/vendor/fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K6z9mXg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/vendor/fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6z9mXgjU0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/vendor/fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K6z9mXg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* D2 underline. WordPress global styles underline `a:where(:not(.wp-element-button))` (0,0,1); on live
   bootstrap's `a{text-decoration:none}` comes later and wins, in the guest bundle it comes first and loses.
   (0,0,2) restores the live result and still loses to bootstrap's `a:hover` underline (0,1,1). */
html a:where(:not(.wp-element-button)) {
  text-decoration: none;
}

/* Site search needs WordPress; the search toggles are hidden (spec, "Neutralise"). */
.pix-search-sm-btn,
.pix-search-btn,
.pix-header-floating-search {
  display: none !important;
}

/* Lead-form honeypot `zt_hp`: off-screen, not focusable (tabindex=-1), hidden from assistive tech. */
.zt-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Theme likes and star ratings needed admin-ajax; the counts stay visible, clicks do nothing. */
.pixfort-likes,
.kk-star-ratings .kksr-stars {
  pointer-events: none !important;
  cursor: default !important;
}

/* YouTube click-to-load facade (rule youtube_facade); sits inside .embed-responsive like the iframe did. */
.zt-yt-facade {
  background: #000;
  overflow: hidden;
}
.zt-yt-facade .zt-yt-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}
.zt-yt-facade .zt-yt-play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.zt-yt-facade .zt-yt-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  margin: -24px 0 0 -34px;
  border-radius: 12px;
  background: rgba(33, 33, 33, 0.8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 28px no-repeat;
}
.zt-yt-facade .zt-yt-play:hover::after,
.zt-yt-facade .zt-yt-play:focus-visible::after {
  background-color: #f00;
}
