.tabbed-content {
    padding: 10px;
    padding-bottom:0px;

    ul.tabbed-content-controller {
        display: flex;
        padding: 0;
        margin: 0 0 10px 0;
        justify-content: space-evenly;
        flex-wrap: wrap;
        min-height: 8em;
        gap: 10px;

        li {
            border-radius: 10px;
            list-style: none;
            cursor: pointer;
            border: 1px solid #ccc;
            background-color: #f9f9f9;
            text-align: center;
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 5px;

            @media screen and (max-width: 768px) {
                flex: 0 0 calc(50% - 10px - 20px);
            }

            &.active {
                border-width: 5px;
                border-color: var(--wp--preset--color--accent-primary);
            }
        }
    }

    .tabbed-content-tab {
        display: none;
        padding: 15px;
        padding-bottom: 0px;

        div.open-opportunities {
            text-align: center;
            p.no-open-positions {
                background-color: #f9f9f9;
                padding: 20px;
                border: 1px solid #ccc;
            }
            p.subtitle {
                margin-top: 0px;
                font-size: 1.25em;
            }
            ul > li {
                list-style: none;
                background-color: #f9f9f9;
                padding:20px;
                border: 1px solid #ccc;
                display: flex;
                justify-content: space-between;
                gap: 10px;
                align-items: center;
                @media screen and (max-width: 768px) {
                    flex-direction: column;
                }
            }
            a.position-link {
                font-size: 1em;
                background-color: #044ad3;
                color: #fff;
                text-decoration: none;
                padding: 5px;
                font-weight: bold;
                border-radius: 5px;

                &:hover {
                    opacity: 0.5;
                }
            }
        }
    }
}
