body {
  --canvas: #f6f7fa; --surface: #fff; --ink: #16213a; --muted: #4d596f; --soft: #edf2ff; --line: #dbe2ee;
  --accent: #2448ca; --accent-hover: #18369f; --action: #2247d2; --action-text: white;
  --radius: 1rem; --button-radius: .55rem; --heading: Manrope, sans-serif;
}
.gallery-header { display: flex; align-items: center; min-height: 5rem; border-bottom: 1px solid var(--line); }
.gallery-main { padding-block: clamp(2.5rem,6vw,5.3rem) 3rem; }
.gallery-main > p { margin-top: .75rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.05rem; margin-block: 2rem; }
.gallery-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.gallery-card > div { display: flex; flex-direction: column; align-items: start; flex: 1; padding: 1.25rem; }
.gallery-card h2 { font-size: 1.8rem; }
.gallery-card h2 a { color: var(--ink); text-decoration: none; }
.gallery-card h2 a:hover { text-decoration: underline; }
.gallery-card p { flex: 1; margin-block: .55rem 1rem; }
.gallery-visual { display: block; position: relative; height: 11rem; overflow: hidden; }
.gallery-visual img { width: 100%; height: 100%; object-fit: cover; }
.visual-blue-cloud { background: #132541; }
.visual-blue-cloud img { object-position: 50% 45%; }
.visual-sage { background: #e3eee4; }
.visual-sage img { object-position: center 52%; }
.visual-blue-refresh { background: #0b2046; }
.visual-blue-refresh img { object-position: 65% center; }
.visual-blue-green { background: #d9eefa; }
.visual-blue-green img { object-position: center 51%; }
.gallery-card:has(.visual-blue-cloud) .button { --action: #2455b6; --action-hover: #1a4294; }
.gallery-card:has(.visual-sage) .button { --action: #276246; --action-hover: #1d5038; }
.gallery-card:has(.visual-blue-refresh) .button { --action: #1749d4; --action-hover: #103ab0; }
.gallery-card:has(.visual-blue-green) .button { --action: #086783; --action-hover: #064e65; }
.gallery-note { font-size: .9rem; }
@media (max-width: 68rem) { .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 38rem) { .gallery-grid { grid-template-columns: 1fr; }.gallery-visual { height: 10rem; } }
