| ... |
... |
@@ -193,9 +193,13 @@ |
| 193 |
193 |
/* Grid: two columns, last item spans both */ |
| 194 |
194 |
.services-grid { |
| 195 |
195 |
display: grid; |
| 196 |
|
- grid-template-columns: repeat(2, minmax(0, 1fr)); |
| 197 |
|
- column-gap: 36px; |
| 198 |
|
- row-gap: 32px; |
|
196 |
+ grid-template-columns: repeat(2, 1fr); |
|
197 |
+ gap: 32px 36px; |
|
198 |
+ article.service:last-child:nth-child(odd) { |
|
199 |
+ grid-column: 1 / -1; // span both columns |
|
200 |
+ max-width: 680px; // optional: keep it from stretching too wide |
|
201 |
+ justify-self: center; // center it in the row |
|
202 |
+ } |
| 199 |
199 |
} |
| 200 |
200 |
|
| 201 |
201 |
.service { |