0 Votes

Changes for page Home

Last modified by Alex Cotiugă on 2026/01/13 13:12

From version 5.11
edited by Alex Cotiugă
on 2025/11/12 15:36
Change comment: There is no comment for this version
To version 5.13
edited by Alex Cotiugă
on 2025/11/12 15:42
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
Code
... ... @@ -102,3 +102,105 @@
102 102   background:#fff;border:1px solid var(--line);border-radius:var(--radius);
103 103   padding:20px;box-shadow:var(--shadow);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px
104 104   }
105 +/* Keep primary CTA text white on hover */
106 +.btn-primary,
107 +.btn-primary:hover,
108 +.btn-primary:focus {
109 + color: #fff;
110 +}
111 +
112 +/* Benefits row under CTAs for quick scannability */
113 +.benefits {
114 + display:flex;flex-wrap:wrap;gap:.5rem 1rem;
115 + margin:10px 0 0; padding:0; list-style:none; color:#5B6B64;
116 +}
117 +
118 +/* Assurance widgets layout (right column) */
119 +.widgets {
120 + display:grid; gap:12px;
121 + grid-template-columns:1fr; align-content:start;
122 +}
123 +.widget {
124 + display:grid; grid-template-columns:auto 1fr; gap:10px;
125 + background:#fff; border:1px solid #E4ECE9; border-radius:16px;
126 + padding:14px; box-shadow:0 6px 20px rgba(0,0,0,.06);
127 +}
128 +.widget h3 { margin:.1rem 0 .15rem; font-size:1rem }
129 +.widget p { margin:0; color:#5B6B64 }
130 +.widget .icon {
131 + width:38px;height:38px;border-radius:10px;
132 + background:#F7F9F8;border:1px solid #E4ECE9;
133 + display:grid;place-items:center;
134 +}
135 +
136 +/* Ensure the hero two-column balance feels filled */
137 +.hero-top { display:grid; gap:22px; grid-template-columns:1fr }
138 +@media (min-width:860px){
139 + .hero-top { grid-template-columns:1.15fr .85fr }
140 +}
141 +/* Centered hero layout */
142 +.hero-centered {
143 + text-align:center;
144 + background:
145 + radial-gradient(60rem 24rem at 50% -20%, #E7FFF8 0%, transparent 60%),
146 + radial-gradient(60rem 24rem at 50% -10%, #E8F6F3 0%, transparent 60%);
147 + display:flex; align-items:center; justify-content:center;
148 + min-height:70vh;
149 +}
150 +
151 +.hero-inner {
152 + max-width:780px;
153 + margin:auto;
154 + display:flex;
155 + flex-direction:column;
156 + align-items:center;
157 + gap:1.2rem;
158 +}
159 +
160 +.hero-badges {
161 + display:flex;
162 + gap:.5rem;
163 + flex-wrap:wrap;
164 + justify-content:center;
165 +}
166 +
167 +.hero-centered h1 {
168 + font-size:clamp(1.8rem,2.5vw + .8rem,3rem);
169 + line-height:1.15;
170 + margin:.3rem 0 .4rem;
171 +}
172 +
173 +.hero-centered .lead {
174 + color:#5B6B64;
175 + max-width:70ch;
176 + margin:0 auto 1.2rem;
177 +}
178 +
179 +/* CTA buttons centered */
180 +.hero-cta {
181 + display:flex;
182 + gap:.8rem;
183 + flex-wrap:wrap;
184 + justify-content:center;
185 + margin-top:.5rem;
186 +}
187 +
188 +.btn-primary,
189 +.btn-primary:hover,
190 +.btn-primary:focus {
191 + background:#00937D;
192 + color:#fff !important; /* ensure white text always */
193 +}
194 +
195 +/* Benefits under CTAs */
196 +.benefits {
197 + display:flex;
198 + flex-wrap:wrap;
199 + justify-content:center;
200 + gap:.6rem 1.2rem;
201 + list-style:none;
202 + padding:0;
203 + margin:.8rem 0 0;
204 + color:#5B6B64;
205 + font-size:.95rem;
206 +}