| 1 |
.card-list { |
| 2 |
display: flex; |
| 3 |
flex-direction: column; |
| 4 |
gap: 32px; |
| 5 |
} |
| 6 |
|
| 7 |
.card-columns { |
| 8 |
display: flex; |
| 9 |
gap: 32px; |
| 10 |
justify-content: center; |
| 11 |
} |
| 12 |
|
| 13 |
.card-item { |
| 14 |
background: #fff; |
| 15 |
border-radius: 16px; |
| 16 |
box-shadow: 0 2px 12px rgba(0,0,0,0.07); |
| 17 |
padding: 32px 24px; |
| 18 |
flex: 1 1 0; |
| 19 |
min-width: 260px; |
| 20 |
max-width: 400px; |
| 21 |
display: flex; |
| 22 |
flex-direction: column; |
| 23 |
justify-content: space-between; |
| 24 |
transition: box-shadow 0.2s; |
| 25 |
} |
| 26 |
|
| 27 |
.card-item:hover { |
| 28 |
box-shadow: 0 4px 24px rgba(0,0,0,0.12); |
| 29 |
} |
| 30 |
|
| 31 |
.card-title { |
| 32 |
font-family: 'Montserrat', Arial, sans-serif; |
| 33 |
font-size: 2rem; |
| 34 |
font-style: italic; |
| 35 |
font-weight: 700; |
| 36 |
color: #001871; |
| 37 |
margin-bottom: 16px; |
| 38 |
} |
| 39 |
|
| 40 |
.card-text { |
| 41 |
color: #757575; |
| 42 |
font-size: 1.1rem; |
| 43 |
margin-bottom: 24px; |
| 44 |
} |
| 45 |
|
| 46 |
.card-link .wp-block-button__link { |
| 47 |
background: #ff9900; |
| 48 |
color: #111 !important; |
| 49 |
font-weight: 700; |
| 50 |
border-radius: 8px; |
| 51 |
padding: 10px 24px; |
| 52 |
font-size: 1rem; |
| 53 |
text-decoration: none; |
| 54 |
transition: background 0.2s, color 0.2s; |
| 55 |
box-shadow: 0 1px 4px rgba(0,0,0,0.06); |
| 56 |
} |
| 57 |
|
| 58 |
.card-link .wp-block-button__link:hover { |
| 59 |
background: #e67c00; |
| 60 |
color: #fff !important; |
| 61 |
} |
| 62 |
|
| 63 |
@media (max-width: 900px) { |
| 64 |
.card-columns { |
| 65 |
flex-direction: column; |
| 66 |
gap: 24px; |
| 67 |
} |
| 68 |
.card-item { |
| 69 |
max-width: 100%; |
| 70 |
} |
| 71 |
} |