diff --git a/wp-content/themes/dekart/assets/css/camp.css b/wp-content/themes/dekart/assets/css/camp.css index f405d19..b995bc0 100644 --- a/wp-content/themes/dekart/assets/css/camp.css +++ b/wp-content/themes/dekart/assets/css/camp.css @@ -1935,9 +1935,35 @@ p { .hero-cta.on-mobile { display: none; } } +/* ═══════════════════════════════════════════════ + SECTION BACKGROUNDS — full-width, unique per section + ═══════════════════════════════════════════════ */ +.camp section:not(.hero-media-search) { + position: relative; +} +.camp section::before { + content: ''; + position: absolute; + top: 0; + bottom: 0; + left: calc(-50vw + 50%); + width: 100vw; + z-index: -1; +} - +.hero-media-search::before { background: #f6f1e9; } +.about-us::before { background: #ffffff; } +.suggestions::before { background: #f5faf7; } +.infograph::before { background: #faf7f2; } +.programs::before { background: #faf5eb; } +.bring-child::before { background: #f8f5ff; } +.mentors::before { background: #f0f7fa; } +.routine::before { background: #ffffff; } +.foto::before { background: #faf7f2; } +.camp-reviews::before { background: #f6f1e9; } +.camp-faq::before { background: #ffffff; } +.camp-contact::before { background: #f5faf7; } @media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; transition: none; } diff --git a/wp-content/themes/dekart/page-camp.php b/wp-content/themes/dekart/page-camp.php index af8c868..09f5a12 100644 --- a/wp-content/themes/dekart/page-camp.php +++ b/wp-content/themes/dekart/page-camp.php @@ -456,7 +456,7 @@ $metrics = [ -
+

Что говорят о нас родители