.post_query_section {
    & .section_inner {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 3rem;

        @media (max-width: 991px) {
            flex-direction: column;
        }
        & .top-section{
            display: flex;
            justify-content: space-between;
            width: 100%;
            align-items: baseline;
            margin-bottom: 4rem;
            @media screen and (max-width:992px) {
                flex-direction: column;
            }
            & .left-side{
                width: 70%;
                padding-right: 9rem;
                @media screen and (max-width:992px) {
                    width: 100%;
                    padding-right: 0;
                }
                & p{
                    color:#6B6B6B;
                    max-width: 85%;
                    & strong{
                        color:#408EC6;
                    }
                }
                & h2, & h3, & h4, & h5, & a, & li, & span {
                    color: var(--blue);
                }
            }

            & .right-side{
                display: flex;
                justify-content: flex-end;
                width: 30%;
                @media screen and (max-width:992px) {
                    width: 100%;
                    justify-content: flex-start;
                }
            }
        }
        & .post-wrapper{
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            @media screen and (max-width:992px) {            
                grid-template-columns: repeat(2, 1fr);                
            }
            @media screen and (max-width:768px) {                
                grid-template-columns: repeat(1, 1fr);
            }
            & .post_block {
                height: 429px;
                position: relative;
                overflow: hidden;
                border-radius: 10px;
                @media (max-width: 991px) {
                    width: 100%;
                }
                
                & .post_overlay {
                    position: absolute;
                    width: 100%;
                    height: 85%;
                    z-index: 1;
                    background: linear-gradient(to top,
                    rgba(0, 32, 91, 0.95) 0%,
                    rgba(0, 32, 91, 0.85) 30%,
                    rgba(0, 32, 91, 0.5) 60%,
                    rgba(0, 32, 91, 0.1) 85%,
                    rgba(0, 32, 91, 0) 100%
                    );
                    display: flex;
                    flex-direction: column;
                    align-items: flex-start;
                    justify-content: flex-end;
                    bottom: 0 !important;
                    top: unset;
                    left: 0;
                    margin: 0;
                    padding:  1rem 4rem;
                    &:hover{
                        & a{
                            display: block;
                            opacity: 1;
                            transition-delay: 0s;
                            margin-bottom: 1rem;
                        }
                    }
                    &:focus{
                        & a{
                            display: block;
                            opacity: 1;
                            transition-delay: 0s;
                            margin-bottom: 1rem;
                        }
                    }
                    & span, & p {
                        width: 100%;
                        color: var(--white);
                    }
                    
                    & span {
                        font-size: 22.4;
                        font-weight: 700;
                        margin: 0 0 2rem;
                    }

                    & p {
                        font-size: 1.6rem;
                        font-weight: 300;
                        margin: 0 0 2rem;
                    }

                    & a{
                        color: var(--green);
                        font-size: 16px;
                        text-transform: capitalize;
                        display: none;
                        opacity: 0; /* Set opacity to 0 for smooth fade-in */
                        transition: visibility 0s linear 0.3s, opacity 0.3s ease-in-out; /* Transition effect */
                    }
                }

                & img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    object-position: center;
                }
            }
        }
    }

    .call_to_action_buttons {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}