/* /realizacje/studium-przypadku/ – case study template */
.case-facts { margin: 0; }
.case-facts dd { margin: 8px 0 0; }
.case-facts__value { font-size: 16px; font-weight: 700; }
.case-title { margin: 12px 0 12px; font-size: clamp(24px, 2.6vw, 30px); }
.case-tags { margin-top: 16px; padding: 0; list-style: none; }
.case-time__title { font-size: clamp(24px, 2.6vw, 30px); }
.case-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 12px; }
.case-photos__main { grid-column: span 2; grid-row: span 2; }
@media (max-width: 899px) { .case-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; } }
@media (max-width: 540px) { .case-photos { grid-template-columns: minmax(0, 1fr); } .case-photos__main { grid-column: auto; grid-row: span 1; } }


/* 5 facts in a 2-column grid: the last one spans the row instead of leaving a hole */
@media (max-width: 899px) { .case-facts > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
