Homepage refresh, activities redesign + newsletter rollout

Navigation
- Replace "Donate" with a "Support MSOS ❤️" CTA site-wide
- Remove dead nav links (Gallery, Press releases)
- Turn the one-item News dropdown into a direct link

Homepage
- Replace the non-functional "Become part" contact form with a
  "Find your people in Slovenia" join CTA (blue/white gradient band,
  orange button, photo collage), in all three languages
- Fix the placeholder Activities subtitle
- Redesign Activities into card-style tabs with icons; move per-tab
  content into HTML panels and switch by index so the tabs work in
  every language (MK/SI tabs were previously dead)

Newsletter (MailerLite)
- Add the subscribe block to the News hub, news articles, and every
  events/projects page and hub, in all three languages
- Resize/rebalance the block, shrink the privacy line, add top spacing
- Standardise on honest copy (drop the "2,000+ subscribers" claim)
- Load main.js on the News hub pages (they shipped without it, so the
  form and header dropdowns didn't work there)
- Fix a dead privacy-policy link on the makedonska-vecer page
- Document the signup convention in docs/newsletter-signup.md

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 19:51:59 +02:00
1 parent f492a8a547
commit 9e8cbc5876
199 files changed
+1765 -3971

No files matched your search

+228 -229
View File
@@ -201,13 +201,23 @@
/* 4. Activities Section */
.activities-section {
padding: 128px 80px;
padding: 112px 80px;
background: #F9FAFB;
}
.activities-header {
text-align: center;
margin-bottom: 96px;
margin-bottom: 64px;
}
.activities-eyebrow {
display: inline-block;
color: #2D738C;
font-weight: 700;
font-size: 14px;
letter-spacing: 0.06em;
text-transform: uppercase;
margin-bottom: 12px;
}
.activities-header h2 {
@@ -216,80 +226,126 @@
line-height: 44px;
letter-spacing: -0.02em;
color: #101828;
margin-bottom: 20px;
margin-bottom: 16px;
}
.activities-header p {
font-size: 20px;
line-height: 30px;
font-size: 19px;
line-height: 29px;
color: #667085;
max-width: 768px;
max-width: 720px;
margin: 0 auto;
}
.activities-content {
display: flex;
gap: 109px;
display: grid;
grid-template-columns: 340px 1fr;
gap: 56px;
max-width: 1232px;
margin: 0 auto;
align-items: start;
}
.activities-nav {
width: 302px;
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 12px;
}
.activities-nav ul {
list-style: none;
padding: 0;
margin: 0;
/* Tab buttons — card style with icon + active highlight */
.activity-tab {
display: flex;
flex-direction: column;
gap: 40px;
}
.activities-nav li {
font-size: 20px;
color: #646E82;
cursor: pointer;
position: relative;
padding-left: 48px;
}
.activities-nav li::before {
content: '';
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 24px;
height: 2px;
background-color: #646E82;
}
.activities-nav li.active {
font-size: 24px;
font-weight: 600;
color: #000000;
}
.activity-details {
width: 821px;
}
.activity-details p {
font-size: 20px;
line-height: 30px;
color: #667085;
margin-bottom: 40px;
}
.activity-details img {
align-items: center;
gap: 16px;
width: 100%;
height: 400px;
text-align: left;
background: transparent;
border: 1px solid transparent;
border-radius: 14px;
padding: 16px 18px;
cursor: pointer;
font-family: inherit;
color: #475467;
transition: background 0.18s ease, border-color 0.18s ease,
box-shadow 0.18s ease, transform 0.18s ease;
}
.activity-tab:hover {
background: #FFFFFF;
border-color: #EAECF0;
transform: translateX(2px);
}
.activity-tab.active {
background: #FFFFFF;
border-color: #EAECF0;
box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
}
.activity-tab-ico {
flex: 0 0 auto;
width: 44px;
height: 44px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
color: #2D738C;
background: #E7F0F3;
transition: background 0.18s ease, color 0.18s ease;
}
.activity-tab.active .activity-tab-ico {
background: #2D738C;
color: #FFFFFF;
}
.activity-tab-label {
font-size: 17px;
font-weight: 600;
line-height: 22px;
}
.activity-tab.active .activity-tab-label {
color: #101828;
}
.activities-cta {
margin-top: 20px;
align-self: flex-start;
}
/* Panels */
.activities-panels {
position: relative;
}
.activity-panel[hidden] {
display: none;
}
.activity-panel.active {
animation: activity-fade 0.35s ease;
}
@keyframes activity-fade {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: none; }
}
.activity-panel p {
font-size: 19px;
line-height: 30px;
color: #475467;
margin: 0 0 28px;
}
.activity-panel-media {
border-radius: 20px;
overflow: hidden;
box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
}
.activity-panel-media img {
width: 100%;
height: 420px;
object-fit: cover;
border-radius: 24px;
display: block;
transition: transform 0.5s ease;
}
.activity-panel-media:hover img {
transform: scale(1.04);
}
/* 5. Latest News Section */
@@ -386,127 +442,92 @@
/* 7. Become Part Section */
.become-part-section {
padding: 128px 0;
background: #F9FAFB;
text-align: center;
/* ==========================================================================
Join CTA — "Find your people" band (mirrors member hero, blue/white palette)
========================================================================== */
.join-cta {
position: relative;
max-width: 1200px;
margin: 0 auto;
padding: 96px 24px;
display: grid;
grid-template-columns: 1.05fr 0.95fr;
gap: 48px;
align-items: center;
}
.become-part-header {
margin-bottom: 64px;
/* Full-bleed soft-blue gradient band behind the centred content */
.join-cta::before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 50%;
width: 100vw;
transform: translateX(-50%);
background: linear-gradient(115deg, #CFE3EA 0%, #E4EFF3 45%, #F5FAFC 100%);
z-index: -1;
}
.become-part-header h2 {
font-size: 36px;
font-weight: 600;
line-height: 44px;
.join-cta-eyebrow {
display: inline-block;
color: #2D738C;
font-weight: 700;
font-size: 14px;
letter-spacing: 0.06em;
text-transform: uppercase;
margin-bottom: 14px;
}
.join-cta-text h2 {
font-size: 46px;
line-height: 1.06;
letter-spacing: -0.02em;
color: #101828;
margin-bottom: 20px;
margin: 0 0 18px;
}
.become-part-header p {
font-size: 20px;
.join-cta-lead {
font-size: 19px;
line-height: 30px;
color: #646E82;
color: #475467;
margin: 0 0 28px;
max-width: 520px;
}
.team-photo {
width: 1232px;
height: 400px;
object-fit: cover;
border-radius: 24px;
margin: 0 auto 96px;
display: block;
}
.contact-form-container {
max-width: 800px;
margin: 0 auto;
}
.contact-form {
.join-cta-actions {
display: flex;
flex-direction: column;
gap: 24px;
text-align: left;
}
.form-row {
display: flex;
gap: 32px;
}
.form-group {
flex: 1;
display: flex;
flex-direction: column;
}
.form-group label {
font-size: 14px;
font-weight: 500;
color: #344054;
margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
padding: 12px 16px;
border: 1px solid #D0D5DD;
border-radius: 8px;
box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
font-size: 16px;
background: #FFFFFF;
color: #646E82;
font-family: 'Inter', sans-serif;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
color: #646E82;
}
.phone-input {
display: flex;
border: 1px solid #D0D5DD;
border-radius: 8px;
overflow: hidden;
box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
}
.phone-input select {
border: none;
border-right: 1px solid #D0D5DD;
border-radius: 0;
box-shadow: none;
}
.phone-input input {
border: none;
flex-grow: 1;
box-shadow: none;
}
.checkbox-group {
flex-direction: row;
gap: 14px;
flex-wrap: wrap;
align-items: center;
gap: 12px;
}
.checkbox-group input {
width: 20px;
height: 20px;
}
.checkbox-group label {
margin: 0;
color: #646E82;
}
.checkbox-group label a {
color: #2D738C;
}
.contact-form button {
width: 100%;
padding: 12px 20px;
/* Normalise both button sizes so they align cleanly */
.join-cta-actions .btn {
padding: 14px 28px;
font-size: 16px;
line-height: 24px;
border-radius: 10px;
}
.join-cta-collage {
position: relative;
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr;
gap: 16px;
height: 460px;
}
.join-cta-photo {
border-radius: 18px;
overflow: hidden;
box-shadow: 0 16px 32px rgba(16, 24, 40, 0.12);
}
.join-cta-photo img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: transform 0.5s ease;
}
.join-cta-photo:hover img {
transform: scale(1.05);
}
.join-cta-photo--1 {
grid-row: 1 / span 2;
}
/* 8. FAQ Section */
@@ -714,7 +735,7 @@
}
.activities-header {
padding: 0 24px;
margin-bottom: 48px;
margin-bottom: 40px;
}
.activities-header h2 {
font-size: 32px;
@@ -725,56 +746,39 @@
line-height: 24px;
}
.activities-content {
flex-direction: column;
align-items: center;
gap: 32px;
grid-template-columns: 1fr;
gap: 28px;
padding: 0 24px;
}
.activities-nav {
width: 100%;
max-width: 326px;
gap: 32px;
gap: 10px;
}
.activities-nav ul {
width: 100%;
gap: 16px;
.activity-tab {
padding: 14px 16px;
gap: 14px;
}
.activities-nav li {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px;
background: rgba(208, 213, 221, 0.5);
border-radius: 8px;
.activity-tab-ico {
width: 40px;
height: 40px;
font-size: 16px;
font-weight: 600;
color: #000;
}
.activities-nav li::before {
display: none;
}
.activities-nav li.active::after {
content: ' ';
display: inline-block;
border: solid black;
border-width: 0 2px 2px 0;
padding: 4px;
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
}
.activities-nav .btn-primary-orange {
align-self: center;
}
.activity-details {
width: 100%;
max-width: 327px;
}
.activity-details p {
.activity-tab-label {
font-size: 16px;
line-height: 24px;
}
.activity-details img {
.activities-cta {
width: 100%;
text-align: center;
margin-top: 8px;
}
.activity-panel p {
font-size: 16px;
line-height: 25px;
}
.activity-panel-media img {
height: 300px;
}
.activity-panel-media {
border-radius: 16px;
}
@@ -841,33 +845,28 @@
margin-top: 0;
}
/* Mobile Become Part Section */
.become-part-section {
padding: 64px 16px;
/* Mobile Join CTA */
.join-cta {
grid-template-columns: 1fr;
padding: 64px 20px;
gap: 36px;
}
.become-part-header {
margin-bottom: 48px;
.join-cta-text h2 {
font-size: 34px;
}
.become-part-header h2 {
font-size: 32px;
line-height: 40px;
.join-cta-lead {
font-size: 17px;
line-height: 27px;
}
.become-part-header p {
font-size: 16px;
line-height: 24px;
}
.team-photo {
width: 100%;
height: auto;
margin-bottom: 48px;
}
.contact-form-container {
width: 100%;
padding: 0;
}
.form-row {
.join-cta-actions {
flex-direction: column;
gap: 24px;
align-items: stretch;
}
.join-cta-actions .btn {
width: 100%;
}
.join-cta-collage {
height: 320px;
}
/* Mobile FAQ Section */