/* ============================================================================
   Agence Rizz — WordPress-specific overrides
   ============================================================================ */

/* WP admin bar offset */
html { scroll-padding-top: 32px; }
body.admin-bar .rz-nav { top: 32px; }
body.admin-bar .rz-fixed-logo { top: 54px; }
body.admin-bar .rz-top-pill { top: 58px; }
body.admin-bar .rz-overlay { padding-top: 152px; }

@media (max-width: 782px) {
  html { scroll-padding-top: 46px; }
  body.admin-bar .rz-nav { top: 46px; }
  body.admin-bar .rz-fixed-logo { top: 68px; }
  body.admin-bar .rz-top-pill { top: 72px; }
  body.admin-bar .rz-overlay { padding-top: 166px; }
}

/* Editor & post content basics (Gutenberg) */
.entry-content > * + * { margin-top: 24px; }
.entry-content a { color: var(--accent); text-decoration: underline; }
.entry-content h1, .entry-content h2, .entry-content h3 {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.entry-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
}

/* Hide narrator eye & custom cursor on touch devices */
@media (hover: none) {
  .fx-eye, .rz-eye-cursor { display: none !important; }
}

/* Screen-reader only utility (WP convention) */
.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;
}
.screen-reader-text:focus {
  background-color: var(--bg);
  clip: auto !important;
  clip-path: none;
  color: var(--ink);
  display: block;
  font-size: 14px;
  font-weight: 600;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
