/**
 * Theme patches — rules that would live in style.css if the LESS toolchain
 * were still available (it is not; style.css can no longer be recompiled).
 * Loaded after style.css. Keep each patch dated and self-explanatory.
 */

/* 6 Nov 2026 — Form submit buttons: the arrow (36px wide, 60px from the
   right edge on desktop, 35px below 1100px) overlapped long labels such as
   "Download now" because the right padding (80px / 40px) was narrower than
   the space the arrow occupies. Reserve enough room on the right. Short
   labels are unaffected (min-width still applies). */
form input.submit,
form button.submit { padding-right: 110px; }
@media only screen and (max-width: 1100px) {
  form input.submit,
  form button.submit { padding-right: 80px; }
}
/* Submit buttons that remove the arrow keep their own padding. */
section.our-jobs-offer .filter-jobs button.submit { padding-right: 10px; }
section.country-select #visa_form button.submit { padding-right: 5px; }

/* 6 Nov 2026 — Insights page, featured page card (white paper promo): the
   card was locked to a 2:1 image ratio, so on phones (160px tall) the text
   block (500px+) was clipped. Below 860px the card grows with its text and
   the image becomes the full background. */
@media only screen and (max-width: 860px) {
  .featured-page-card .pic { position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: auto; padding-bottom: 0; }
  .featured-page-card .infos { position: relative; padding: 24px 20px; }
  .featured-page-card .page-header { flex-wrap: wrap; gap: 6px 16px; padding-bottom: 14px; margin-bottom: 14px; }
  .featured-page-card .page-header .cat { font-size: 1.2rem; }
  .featured-page-card .page-header .date { font-size: 1.2rem; }
  .featured-page-card .page-title { font-size: 2.2rem; }
  .featured-page-card .page-subtitle { font-size: 1.3rem; }
  .featured-page-card { margin-bottom: 40px; }
}
