/* 2026-12 maintenance fixes (loaded after dist/styles/app.css) */

/* Homepage slider: keep long project titles clear of the "1/9" counter */
.featured__projects-title { box-sizing: border-box; padding-right: 110px; }
@media (min-width: 955px) {
  .featured__projects-title { padding-right: 230px; }
}

/* wp_get_attachment_image() adds width/height attributes; keep the image's
   aspect ratio when max-width shrinks it (news list, news article, project text).
   Slider/project-slide rules set height:100% with a class selector, so they still win. */
img { height: auto; }

/* Screen-reader-only helper (used by search labels) */
.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;
}
