Preureditev hero sekcije po skici - levo vsebina, desno gumb in kartica
Deploy to Development and Production / deploy (push) Successful in 17s

This commit is contained in:
Mark committed 2026-03-10 23:48:11 +01:00
1 parent 8e0ae5230d
commit acbde88357
2 files changed
+111 -43

No files matched your search

+68
View File
@@ -8388,3 +8388,71 @@ html, body {
margin-top: 1rem;
}
}
/* Hero section restructure - left content, right button + card */
.mediation-hero-container {
display: grid;
grid-template-columns: 1fr 400px;
gap: 4rem;
align-items: start;
max-width: 1200px;
margin: 0 auto;
}
.mediation-hero-text {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.mediation-hero-text h1 {
font-size: 2.5rem;
line-height: 1.2;
margin: 0;
}
.mediation-hero-text .mediation-hero-lead {
font-size: 1.1rem;
line-height: 1.7;
color: #454b57;
margin: 0;
}
.mediation-hero-right {
display: flex;
flex-direction: column;
position: sticky;
top: 120px;
}
/* Mobile adjustments for new structure */
@media (max-width: 992px) {
.mediation-hero-container {
grid-template-columns: 1fr;
gap: 2.5rem;
}
.mediation-hero-right {
position: static;
}
}
@media (max-width: 768px) {
.mediation-hero-text h1 {
font-size: 2rem;
}
.mediation-hero-text .mediation-hero-lead {
font-size: 1rem;
}
}
@media (max-width: 520px) {
.mediation-hero-text h1 {
font-size: 1.75rem;
}
.mediation-hero-text .mediation-hero-lead {
font-size: 0.95rem;
}
}