.job-offers {
    padding: 48px 0;
    .job-offers__top {
        flex-direction: column;
        padding-bottom: 32px;

        .job-offers__top-title {
            align-items: center;
            display: flex;
            gap: 16px;
            margin-top: 1vh !important;
            padding-bottom: 24px;
        }

        .job-offers__top-nav {
            gap: 8px;
        
            .wp-block-button {
                width: 100%;

                a {
                    width: 100%;
                }
            }

            .wp-block-button.active a {
                background-color: var(--wp--preset--color--blue-bg);
                color: white;
            }
        }
    }

    .job-offers__content-cards {
        gap: 16px;
        padding-bottom: 24px;

    }

    .job-offers__content-cards-card--last {
       p {
        padding-bottom: 24px;
       }

       figure {
            display: none;
        }

       a {
        font-weight: 500;
       }
    }
}

@media only screen and (min-width: 576px) {
    .job-offers {
        padding: 80px 0;

        .job-offers__top {
            align-items: flex-start;

            .job-offers__top-nav {
                gap: 12px;
            
                .wp-block-button {
                    width: fit-content;

                    a {
                        width: fit-content;
                        padding-left: 12px;
                        padding-right: 12px;
                    }
                }

                .wp-block-button.active a {
                    background-color: var(--wp--preset--color--blue-bg);
                    color: white;
                }
            }
        }
    }

    .job-offers__content-cards-card--last {
        width: 47%;
    }
}

@media only screen and (min-width: 900px) {
    .job-offers {
        .job-offers__top {
            flex-direction: row;
            justify-content: space-between;
        }
    }
}

@media only screen and (min-width: 1200px) {

    .job-offers {

        .job-offers__top {
            .job-offers__top-nav {
                gap: 16px;

                a {
                    transition: all .4s ease-in-out;
                    border: 1px solid transparent;
                }

                div:hover{
                    a {
                        border: 1px solid white;
                    }
                }
            }
        }
        
        .job-offers__content-cards-card--last {
            position: relative;
            width: 29%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;

            p {
                margin: 0;
                padding-bottom: 48px;
            }

            .wp-block-buttons {
                margin-left: 0 !important;
            }

            a {
                padding-left: 16px;
                padding-right: 16px;
                font-size: 16px;
                
                &:hover {
                    background-color: var(--wp--preset--color--light-blue) !important;
                }
            }
        }
    }

    .job-offers {
        .job-offers__top {
            padding-bottom: 64px;
        }

        .job-offers__content {
            align-items: stretch;
        }
    }

}

@media only screen and (min-width: 1300px) {
    .job-offers {
        .job-offers__content-cards-card {
            width: 28%;
        }

        .job-offers__content-cards-card--last {
            position: relative;
            width: 29%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;

            p {
                margin: 0;
                padding-bottom: 48px;
            }

            .wp-block-buttons {
                margin-left: 0 !important;
            }

            a {
                padding-left: 16px;
                padding-right: 16px;
            }
        }
    }
}

@media only screen and (min-width: 1500px) {
    .job-offers {
        .job-offers__content-cards-card {
            width: 27%;
        }

        .job-offers__content-cards-card--last {
            position: relative;
            width: 30%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;

            p {
                margin: 0;
                padding-bottom: 48px;
            }

            figure {
                display: block;
                position: absolute;
                right: 0;
                bottom: 0;
                margin: 0;
                width: 200px;
                height: auto;
            }

            .wp-block-buttons {
                margin-left: 0 !important;
            }

            a {
                padding-left: 16px;
                padding-right: 16px;
            }
        }
    }
}

@media only screen and (min-width: 1800px) {
    .job-offers {
        .job-offers__content-cards-card--last {
            width: 31%;

            figure {
                width: 240px;
            }
        }
    }
}