.case-type-navigation { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.case-type-navigation a { border: 1px solid var(--line); padding: 10px 17px; font-size: .875rem; }
.case-type-navigation a:hover, .case-type-navigation a[aria-current] { background: var(--deep); color: #fff; border-color: var(--deep); }
.case-filters { display: grid; grid-template-columns: 1fr 2fr auto; gap: 20px; align-items: end; padding: 24px; background: var(--pale); border: 1px solid var(--line); }
.case-filters label { display: grid; gap: 8px; font-size: .875rem; font-weight: 600; min-width: 0; }
.case-filters select, .case-filters input { box-sizing: border-box; width: 100%; min-height: 48px; border: 1px solid var(--line); padding: 10px 12px; border-radius: 0; background: #fff; color: var(--ink); font: inherit; }
.case-filters .button { min-height: 48px; }
.case-results-count { color: var(--muted); margin: 24px 0 18px; font-size: .875rem; }
.case-card { display: flex; flex-direction: column; }
.case-card .product-picture { position: relative; aspect-ratio: 3 / 2; padding: 0; overflow: hidden; }
.case-card .product-picture img { width: 100%; height: 100%; object-fit: cover; }
.case-country { position: absolute; bottom: 15px; left: 15px; max-width: calc(100% - 30px); background: var(--deep); color: #fff; padding: 6px 10px; font-size: .75rem; }
.case-card .card-body { display: flex; flex-direction: column; flex: 1; }
.case-card h3 { font-size: 1.25rem; line-height: 1.35; }
.case-card .case-capacity { margin: 0 0 12px; font-weight: 600; color: var(--blue); }
.case-card .text-link { margin-top: auto; padding-top: 12px; align-self: flex-start; }
.case-pagination .page-numbers { display: flex; justify-content: center; flex-wrap: wrap; list-style: none; gap: 8px; padding: 0; margin: 36px 0 0; }
.case-pagination li a, .case-pagination li span { display: block; border: 1px solid var(--line); padding: 10px 16px; }
.case-pagination li .current, .case-pagination li a:hover { background: var(--deep); color: #fff; }
.case-placeholder-grid { margin-top: 24px; }
.case-placeholder-media { aspect-ratio: 3 / 2; }
.case-detail-header { max-width: 1000px; margin: 24px 0 36px; }
.case-detail-header .lead { max-width: 800px; }
.case-detail-featured { width: 100%; max-height: 640px; object-fit: contain; background: var(--pale); margin-bottom: 40px; }
.case-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 64px; }
.case-detail-content { min-width: 0; }
.case-detail-sidebar { position: sticky; top: 130px; }
.case-project-brief, .case-project-cta { padding: 26px; background: var(--pale); border: 1px solid var(--line); margin-bottom: 24px; }
.case-detail-sidebar h2 { font-size: 1.375rem; margin: 0 0 20px; }
.case-project-brief dl { margin: 0; }
.case-project-brief dl div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.case-project-brief dl div:last-child { border: 0; padding-bottom: 0; }
.case-project-brief dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 5px; }
.case-project-brief dd { margin: 0; overflow-wrap: anywhere; }
.case-project-cta p { color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.case-project-cta .button { width: 100%; justify-content: center; }
.case-gallery { margin-top: 42px; }
.case-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.case-gallery-grid a { display: flex; background: var(--pale); aspect-ratio: 4 / 3; }
.case-gallery-grid img { width: 100%; height: 100%; object-fit: contain; }
.case-related { margin-top: 64px; border-top: 1px solid var(--line); padding-top: 48px; }
@media (max-width: 1000px) {
  .case-filters { grid-template-columns: 1fr 2fr; }
  .case-filters .button { justify-self: start; }
  .case-detail-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
}
@media (max-width: 640px) {
  .case-filters { grid-template-columns: 1fr; padding: 18px; gap: 16px; }
  .case-filters .button { width: 100%; justify-content: center; }
  .case-detail-layout, .case-gallery-grid { grid-template-columns: 1fr; gap: 24px; }
  .case-detail-sidebar { position: static; }
  .case-type-navigation a { padding: 8px 12px; }
  .case-related .section-heading { display: block; }
}
