Batch fixes: MSS 2026 event, blog/news cards, mobile gallery & language banner #26

Merged
popovskik merged 12 commits from develop-kristijan into develop 2026-08-27 15:03:54 +00:00

12 Commits

Author SHA1 Message Date
popovskik fb3625efd9 Merge branch 'fix/mss-news-excerpt' into develop-kristijan 2026-08-27 17:00:14 +02:00
popovskik abf04db9b1 Merge branch 'fix/blog-card-images' into develop-kristijan 2026-08-27 17:00:13 +02:00
popovskik 6c710eafb7 Merge branch 'fix/lightbox-mobile-layout' into develop-kristijan 2026-08-27 17:00:12 +02:00
popovskik 9ffb7fe257 Merge branch 'fix/mobile-lang-popup-button' into develop-kristijan 2026-08-27 17:00:12 +02:00
popovskik 08142a929e Merge branch 'fix/mss-2026-form-conditional' into develop-kristijan 2026-08-27 17:00:11 +02:00
popovskik d6638414ae Merge branch 'fix/teambuilding-remove-photos' into develop-kristijan 2026-08-27 17:00:09 +02:00
popovskik 41b41da092 fix(news): give MSS 2026 a card excerpt / meta description
The Meet Student Slovenia 2026 news card had an empty description because the
auto-extractor looks for the first <p> right after .news-article-body, but that
page starts with the sticky-CTA <a>, so nothing matched. Add a curated
description (EN/MK/SI) via seo_inject DESC_OVERRIDES; this now fills the meta
description, OG/Twitter/JSON-LD, the News-hub card excerpt, and llms.txt.
MK/SI copy AI-drafted — flag for native review.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-27 16:54:55 +02:00
popovskik fb0c5c8639 fix(blog): use each published post hero image on the blog listing cards
The blog index cards showed placeholder icons even for published posts that
have a hero image. Replace the icon thumb with the post hero (cover-cropped)
for every published card in EN/MK/SI, and add a .blog-thumb--image rule to
mirror the existing featured-card image style. Coming-soon / unpublished cards
keep their icons.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-27 16:43:18 +02:00
popovskik 1273edcb41 fix(lightbox mobile): stack caption/button under photo + hide Ask-MSOS pill
On phones the lightbox caption and "Read the story" button were pinned to the
screen bottom, cramped and overlapped by the floating "Ask MSOS" pill
(z-index above the lightbox). Now:
- lightbox becomes a centred column on <=600px: image -> button -> caption
  flow directly under the photo instead of being absolutely bottom-pinned;
- image capped at 62vh so tall/portrait photos leave room for the button;
- the Ask-MSOS pill is hidden while the viewer is open (body.lightbox-open),
  so it can no longer overlap the controls.
Desktop layout is unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-27 16:36:38 +02:00
popovskik 7bccf716de fix(mobile): language banner vs Ask-MSOS pill + guide button overflow
- On phones the language-suggestion banner sat at the bottom and the floating
  "Ask MSOS" pill (higher z-index) overlapped its bottom-right, hiding the
  dismiss (x) button. Raise the banner above the pill (bottom: 84px) so they
  stack and the x is fully visible and tappable.
- The success-screen "Read the welcome guide" button used the base .btn
  white-space:nowrap, so the long MK label overflowed the box on narrow
  screens. Allow .ms-success-links .btn to wrap (white-space: normal).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-27 16:09:39 +02:00
popovskik 3e205a5c96 fix(mss-2026 form): hide study plans for parents and "other"
Parents and "other" registrants will not be studying, so the "Your study
plans" section is now hidden for those roles. Gating is driven by the role
<select>; validate()/collect() skip any field inside a hidden container, so
the study fields are neither required nor submitted for those roles. Students
(future/current) are unchanged: the section stays visible and required.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-27 15:38:03 +02:00
popovskik 8d90fcddac content(teambuilding-2026): remove two photos from event page + gallery
Remove the "a-new-space-for-the-community-3" (toast) and "additional-12"
(diploma) photos from the Teambuilding / MSOS Hub opening event: drop the
inline article image and both gallery thumbnails, promote one hidden thumb to
keep 5 visible, and correct the "+more" badges and album photo count
(16 -> 14). Delete the two now-orphaned webp files. All three languages.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-27 15:31:51 +02:00