/* Template styles for case-study-single (were an inline <style> block in the WordPress template) */
.cs-gallery-grid .cs-gallery-item {
        display: block;
    }
    .cs-gallery-thumb {
        position: relative;
        aspect-ratio: 4 / 3;
        overflow: hidden;
    }
    .cs-gallery-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
    .cs-gallery-item:hover .cs-gallery-thumb img {
        transform: scale(1.05);
    }
    .cs-gallery-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.4);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .cs-gallery-item:hover .cs-gallery-overlay {
        opacity: 1;
    }
    /* Video thumbnail always shows play button */
    .gallery-video .cs-gallery-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.25);
    }
    .gallery-video:hover .cs-gallery-overlay {
        background: rgba(0, 0, 0, 0.4);
    }

/* Key-figures table on the case-study page (added 10 Nov 2026) */
.cs-facts{width:100%;border-collapse:collapse;margin-bottom:.75rem;font-size:1rem}
.cs-facts th,.cs-facts td{padding:.65rem .75rem;border-bottom:1px solid #e2e5f1;text-align:left;vertical-align:top}
.cs-facts tr:first-child th,.cs-facts tr:first-child td{border-top:1px solid #e2e5f1}
.cs-facts th{width:42%;font-weight:500;color:#6f788b}
.cs-facts td{color:#121519;font-weight:600}
@media (max-width:575.98px){.cs-facts th,.cs-facts td{display:block;width:100%;padding:.35rem 0}.cs-facts th{border-bottom:0;padding-top:.75rem}.cs-facts tr:first-child td{border-top:0}}
