/* Chris Lam Design — Herd Grid. Scoped to avoid theme conflicts. */
.cl-herd-grid { width:100%; color:#171717; }
.cl-herd-grid *, .cl-herd-grid *::before, .cl-herd-grid *::after { box-sizing:border-box; }
.cl-herd-grid__filters { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; margin:0 0 38px; }
.cl-herd-grid__filter { appearance:none; -webkit-appearance:none; width:100%; min-height:38px; border:1px solid #0b2341; border-radius:5px; background:#0b2341; color:#fff; font:inherit; font-size:15px; font-weight:600; letter-spacing:.045em; line-height:1.3; text-transform:uppercase; text-align:center; padding:8px 12px; cursor:pointer; transition:background .2s ease, box-shadow .2s ease, transform .2s ease; }
.cl-herd-grid__filter:hover { background:#183b63; transform:translateY(-1px); }
.cl-herd-grid__filter.is-active { background:#0b2341; box-shadow:inset 0 -3px 0 #c7a36a; }
.cl-herd-grid__filter:focus-visible { outline:3px solid #3a83d6; outline-offset:3px; }
.cl-herd-grid__panel[hidden] { display:none !important; }
.cl-herd-grid__cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:60px; row-gap:38px; }
.cl-herd-grid__card { min-width:0; margin:0; }
.cl-herd-grid__image-link { display:block; aspect-ratio:317 / 196; overflow:hidden; background:#e3dfd6; }
.cl-herd-grid__image { display:block; width:100%; height:100%; object-fit:cover; transition:transform .45s cubic-bezier(.22,1,.36,1); }
.cl-herd-grid__image-link:hover .cl-herd-grid__image:not(.cl-herd-grid__image--placeholder) { transform:scale(1.035); }
.cl-herd-grid__image--placeholder { background:#e3dfd6; }
.cl-herd-grid__title { margin:14px 0 6px; font-size:17px; line-height:1.3; letter-spacing:.02em; font-weight:600; text-transform:uppercase; }
.cl-herd-grid__title a { color:inherit; text-decoration:none; }
.cl-herd-grid__title a:hover { text-decoration:underline; text-underline-offset:3px; }
.cl-herd-grid__details { font-size:12px; font-weight:500; line-height:1.75; text-transform:uppercase; }
.cl-herd-grid__details p { margin:0; padding:0; }
.cl-herd-grid__details strong { font-weight:700; }
.cl-herd-grid__empty { margin:0; padding:24px 0; font-size:15px; }
@media (max-width:700px) { .cl-herd-grid__filters { gap:10px; margin-bottom:26px; } .cl-herd-grid__filter { padding:9px 4px; font-size:12px; } .cl-herd-grid__cards { grid-template-columns:1fr; row-gap:30px; } }
@media (max-width:400px) { .cl-herd-grid__filters { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (prefers-reduced-motion:reduce) { .cl-herd-grid__filter, .cl-herd-grid__image { transition:none; } }
