Update proof-of-means to 507,43 EUR, add announcement page, European number format (EN)

- Update the residence-permit "sufficient means" figure to 507,43 EUR/month
  (Slovenian basic minimum income from 1 April 2026, source gov.si) across the
  guide, FAQ, budget note, sample parent statement and my-route tip; replaces
  the old 484,88 everywhere.
- New standalone news announcement page /<lang>/news/proof-of-means-updated-2026/
  (trilingual), published 1 August 2026, with a clickable gov.si source box and a
  hero image (Pixabay, credited). news.js now supports announcement items
  (slug + body) and shows them newest-first on the homepage and News hub; the
  image doubles as the card thumbnail. Optimised 6.98MB to 255KB.
- Switch English EUR amounts to European format (comma decimal, dot thousands):
  507,43 / 9.600 / 1.000 etc. Only euro-prefixed amounts are touched, so SI/MK
  (which use a euro suffix) are unaffected. New generator eurofmt.js.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
popovskikandClaude Opus 4.8 committed 2026-08-01 11:48:22 +02:00
1 parent efb3c6ea39
commit ac09e9eff5
31 files changed
+892 -65

No files matched your search

+33
View File
@@ -107,3 +107,36 @@
.newshub-hero { padding: 92px 20px 32px; }
.newshub-hero h1 { font-size: 30px; }
}
/* ==========================================================================
Standalone announcement article (/lang/news/<slug>/)
========================================================================== */
.news-article { font-family: 'Inter', sans-serif; padding: 112px 24px 72px; /* clears the fixed 80px header */ }
.news-article-inner { max-width: 720px; margin: 0 auto; }
.news-back {
display: inline-flex; align-items: center; gap: 8px;
color: #2D738C; font-weight: 600; font-size: 15px; text-decoration: none; margin-bottom: 24px;
}
.news-back:hover { text-decoration: underline; }
.news-article .newshub-eyebrow { display: block; text-align: left; }
.news-article h1 { font-size: 38px; line-height: 1.15; color: #101828; margin: 0 0 12px; }
.news-article-date { color: #667085; font-size: 15px; margin: 0 0 24px; }
.news-article-hero { margin: 0 0 28px; }
.news-article-hero img { width: 100%; height: auto; border-radius: 14px; display: block; }
.news-article-hero figcaption { margin-top: 8px; font-size: 13px; color: #98A2B3; }
.news-article-hero figcaption a { color: #667085; text-decoration: underline; }
.news-article-body p { font-size: 18px; line-height: 30px; color: #344054; margin: 0 0 18px; }
.news-source {
display: flex; flex-direction: column; gap: 6px;
margin: 28px 0; padding: 18px 20px;
background: #F5FAFB; border: 1px solid #E4EEF1; border-left: 4px solid #2D738C; border-radius: 10px;
}
.news-source-label { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #2D738C; }
.news-source a { color: #175163; font-weight: 600; font-size: 16px; word-break: break-word; }
.news-article-cta { display: inline-block; margin-top: 12px; }
@media (max-width: 768px) {
.news-article { padding: 92px 20px 48px; }
.news-article h1 { font-size: 28px; }
.news-article-body p { font-size: 17px; line-height: 28px; }
}