picture { display: contents; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; overflow: hidden; }
.form-errors { color: #8a1f1f; font-size: 14px; margin: 0 0 12px; }
.sr-seams { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.page-error .err-code { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--thread); }
.page-error .phero h1 { max-width: 14ch; }
.page-error .err-search { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; max-width: 640px; }
.page-error .err-search .psearch { flex: 1 1 220px; min-width: 0; }
.page-error .err-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Products mega menu: one column per category */
@media (min-width:901px) { .mega { grid-template-columns: repeat(4, 190px); } }

/* Home slider dots: 3px bar, at least a 24px hit target */
.hsl-prog button {
  box-sizing: content-box;
  min-width: 24px;
  padding: 10.5px 0;
  background-clip: content-box;
}

/* Brand-wall category labels stay readable on small screens */
.logo-t .cat2 { font-size: 12px; }

/* Spare-parts brand cards: photo sits above the name inside the existing offer card */
.page-spare-parts .brand-grid { align-items: start; }
.page-spare-parts .ocard .prod-img { margin-bottom: 18px; border-radius: 16px; }
.page-spare-parts .brand-note { margin-top: 28px; max-width: 46ch; }

/* Product overview text above the feature cards */
.pd-about { max-width: 760px; margin: 0 0 28px; color: var(--steel); font-size: 17px; line-height: 1.7; }
.pd-about p + p { margin-top: 14px; }

/* Blog index: same spacing and background as the events list */
.blog { padding: 90px 0 120px; background: var(--paper); }
@media (max-width: 900px) { .blog { padding: 60px 0 90px; } }

/* Header: never squeeze the quote button, and tighten the menu just above the burger breakpoint */
.top .btn { flex-shrink: 0; }
@media (min-width: 901px) and (max-width: 1100px) {
  .top .wrap { gap: 16px; }
  .nav > li > a, .nav > li > button { padding: 10px 8px; font-size: 14.5px; }
  .top .btn { padding: 14px 20px; font-size: 14.5px; }
}

/* Blog newsletter: floating label on the dark banner; clear the sticky header when linked to */
.newsletter { scroll-margin-top: 110px; }
.nl-form { flex-wrap: wrap; }
.nl-form .ufld input:focus + label,
.nl-form .ufld input:not(:placeholder-shown) + label { color: var(--thread); }
.nl-form .form-errors { flex-basis: 100%; color: #ffb4a8; }

/* FAQs page: search box and topic groups */
.faqpage #fqs { display: block; width: 100%; max-width: 520px; margin: 0 0 18px; padding: 15px 22px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 16px; color: var(--text); outline: 0; transition: border-color .3s; }
.faqpage #fqs:focus { border-color: var(--forest); }
.fgroup { margin-top: 44px; }
.fgroup h2 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 16px; }
@media (max-width: 900px) { .faqpage { padding: 60px 0 90px; } }

/* Footer credit */
.f-credit { color: var(--thread); white-space: nowrap; }
/* .f-credit::before { content: "·"; margin-right: 10px; } */
/* .f-credit:hover { color: var(--thread); } */

/* Range of products: with five categories, the last card fills the bottom row */
@media (min-width: 1101px) {
  .pgrid .pcard.p4:last-child { grid-column: span 2; flex-direction: row; }
  .pgrid .pcard.p4:last-child .pimg { width: 50%; aspect-ratio: auto; min-height: 260px; }
  .pgrid .pcard.p4:last-child .pbody { justify-content: center; padding: 34px 40px; }
}
