/* WordPress-specific adjustments for the Urist M theme */
body.admin-bar .site-header { top: 32px; }
body.admin-bar .scroll-progress { top: 32px; }
body.admin-bar .mobile-menu { top: 32px; }
body.admin-bar .hero { padding-top: calc(var(--header-h) + 80px); }
body.admin-bar .page-hero { padding-top: calc(var(--header-h) + 88px); }
body.admin-bar .error-page { padding-top: calc(var(--header-h) + 96px); }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .scroll-progress { top: 46px; }
  body.admin-bar .mobile-menu { top: 46px; }
  body.admin-bar .hero { padding-top: calc(var(--header-h) + 86px); }
  body.admin-bar .page-hero { padding-top: calc(var(--header-h) + 92px); }
}
/* WP menu items */
.nav > li { display: flex; }
.nav .current-menu-item > .nav__link,
.nav .current_page_item > .nav__link { opacity: 1; }
.footer .footer__links { display: grid; gap: 10px; }
.footer .footer__links li { list-style: none; }
.footer .footer__links a { font-size: 14px; color: rgba(245,241,231,.7); }
.footer .footer__links a:hover { color: var(--sun); }
/* Generic page content */
.page-body { padding-block: clamp(48px, 6vw, 80px); }
.page-body .prose { max-width: 820px; }
.page-body .prose h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; margin-bottom: 22px; }
/* Lead form notes / success */
.uristm-form-error { color: #c14b3a; font-size: 12px; margin-top: 6px; }
/* Small fixes for WP login/admin bar */
.admin-bar .mobile-bar { bottom: 0; }

/* Custom anchor menu items should not show the active dot on the home page */
.nav .menu-item-type-custom.current-menu-item > .nav__link::after { display: none; }

/* Generated icons need explicit sizes inside text links and mobile controls */
.btn--link > svg,
.service__cta > svg,
.svc__aside-link > svg { width: 16px; height: 16px; flex: 0 0 auto; }
.mobile-bar .btn > svg { width: 16px; height: 16px; flex: 0 0 auto; }
.mobile-menu__close svg { width: 18px; height: 18px; }
.service__cta { align-items: center; }
.to-top svg { transform: rotate(-45deg); }
/* Keep the scrolled header readable over large white headings */
.site-header.is-scrolled { background: rgba(245, 241, 231, .98); }
.form[hidden], form[hidden] { display: none !important; }

.form-success a { white-space: nowrap; }

.svc__text { margin-top: 14px; max-width: 60ch; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.svc__text p + p { margin-top: 10px; }
.hero__title em, .page-hero h1 em { white-space: nowrap; }
