.case-studies-blocks {
    background-color: var(--wp--preset--color--contrast-2);
    padding-top: 8rem;

    input[type=text] {
        float: right;
        padding: 6px;
        margin-top: 8px;
        margin-right: 16px;
        border: none;
        font-size: 16px;
        margin-bottom: 1rem;
    }

    .search-form {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
        margin-bottom: 1rem;

        .search-btn{
            height: 32px;
            width: auto;
            margin-top: 7px;
        }
    }
    
    .content-width{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 2rem;
        color: white;

        .case-studies-grid{
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 5rem;
            color: white;
        
            .case-study {
                display: flex;
                flex-direction: column;
                text-decoration: none;
                font-size: 17px;
                color: white;
        
                img {
                    width: 100%;
                    height: auto;
                    aspect-ratio: 12 / 7;
                    object-fit: cover;
                    margin-bottom: 0.5rem;
                }
        
                .company-name {
                    margin-bottom: 0px;
                }
        
                .post-title {
                    margin-top: 0px;
                }
            }
        }

        .pagination-nav{
            display: flex;
            flex-direction: row;
            justify-content: flex-start;
            align-items: center;
            margin-top: 1rem;
            
            ul.page-numbers {
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 8px;
                list-style: none;
                padding: 0;
            }
            
            .page-numbers {
                display: inline-block;
                padding: 8px 12px;
                text-decoration: none;
                color: #ffffff;
            }

            a.page-numbers {
                border: 1px solid;
                border-color: #E00808;
            }
            
            .page-numbers.current {
                color: #ffffff;
                background-color: #E00808;

            }
            
            a.page-numbers:hover {
                text-decoration: underline;
            }
        }
    }
}
