:root {
  --pxs-system-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--pxs-system-font);
}

/* Explicit dark-surface colors prevent WordPress heading presets overriding inheritance. */
.trust-section h2,
.trust-section h3,
.info-panel.dark h2,
.info-panel.dark h3,
.info-panel.dark h4 {
  color: #fff;
}

.info-panel.dark .check-list li::before,
.dark-band .check-list li::before {
  color: #f4c867;
  background: rgba(244, 200, 103, .14);
}

.info-panel.dark a:not(.button) {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Use a centered vector mark instead of a font-dependent letter. */
.social-card::before {
  top: 30px;
  right: 30px;
  width: 100px;
  height: 100px;
  content: "";
  background: rgba(255, 255, 255, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M15.5 3H18V0h-2.5C11.9 0 10 2.1 10 5.5V8H7v4h3v12h4V12h3.3l.7-4h-4V5.5C14 3.8 14.5 3 15.5 3Z'/%3E%3C/svg%3E") center / 44px 44px no-repeat;
  opacity: .65;
  pointer-events: none;
}

.social-card {
  padding-top: 158px;
}

main [id] {
  scroll-margin-top: 120px;
}

.button {
  max-width: 100%;
  text-align: center;
  white-space: normal;
}

.contact-chip > div,
.footer-column {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Hidden overlays must also be absent from keyboard and screen-reader navigation. */
.certificate-modal:not(.is-open),
.gallery-modal:not(.is-open) {
  visibility: hidden;
}

.certificate-modal,
.gallery-modal {
  z-index: 100100;
}

body.pxs-modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  body.admin-bar .sticky-header {
    top: 0;
  }

  .social-card::before {
    top: 24px;
    right: 24px;
    width: 88px;
    height: 88px;
  }
}

.home-page .site-header {
  position: relative;
}

.sticky-header:not(.is-visible) {
  visibility: hidden;
}

.admin-bar.inner-page .site-header {
  top: 32px;
}

@media (min-width: 601px) and (max-width: 782px) {
  .admin-bar.inner-page .site-header {
    top: 46px;
  }
}

@media (max-width: 600px) {
  .admin-bar.inner-page .site-header,
  body.admin-bar .sticky-header {
    top: 0;
  }
}

img {
  height: auto;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed !important;
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  margin: 0;
  padding: 12px 18px;
  border-radius: 6px;
  background: #fff;
  color: #10264f;
  box-shadow: 0 8px 32px rgba(8, 28, 61, .24);
}

.custom-logo {
  display: block;
  width: auto;
  max-width: 250px;
  max-height: 64px;
  object-fit: contain;
}

.admin-bar .sticky-header {
  top: 32px;
}

.pxs-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.pxs-form-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin: 4px 0 18px;
  color: #33415f;
  font-size: .86rem;
  line-height: 1.55;
}

.pxs-form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.pxs-form-consent a {
  color: #174e8c;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.entry-content > * + * {
  margin-top: 1.15em;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 1.8em;
}

.entry-content a:not(.button) {
  color: #174e8c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.navigation.pagination {
  margin-top: 44px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.nav-links .page-numbers {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 1px solid rgba(13, 42, 83, .16);
  border-radius: 5px;
  color: #10264f;
  text-decoration: none;
}

.nav-links .current {
  border-color: #10264f;
  background: #10264f;
  color: #fff;
}

@media (max-width: 782px) {
  .admin-bar .sticky-header {
    top: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
