.accordion {
    margin: 0 auto;
    overflow: hidden;
}

.accordion-item+.accordion-item {
    border-top: 1px solid #6281A3;
}

.accordion-header {
    position: relative;
    width: 100%;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.2s ease;
    background: transparent;
    color: #fff;
    padding: 1.5rem 0rem;
    padding-right: 2rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jobs-accordion-container .accordion-header {
    color: #000 !important;
}

.accordion-header:hover {
    font-weight: bold;
}

.accordion-header>h3 {
    overflow: hidden;
    text-overflow: ellipsis;
}

.accordion-header.open {
    padding-left: 1rem;
    border-radius: 0.5rem;
    background: linear-gradient(to right, #FCD30B 0%, #1E63AD 80%);
    color: #000;
}

.jobs-accordion-container .accordion-header.open,
.accordion-content.active {
    background: #eee;
    color: #000;
    border-radius: 0;
}

.accordion-content.active {
    padding: 2rem;
}

.accordion-header::after {
    content: "";
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    background-image: url('../images/icons/plus-black.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.accordion-header.open::after {
    background-image: url("../images/icons/minus-black.svg");
}

.accordion-content {
    color: #C0D3E7;
    display: none;
    padding: 2rem 0 3rem 0;
    animation: fadeIn 0.2s ease-in;
    font-size: 1.5rem;
}

.accordion-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 481px) {
    .accordion-header {
        padding: 1rem 0;
        padding-right: 2rem;
    }

    .accordion-header::after {
        height: 1rem;
        width: 1rem;
        right: 1rem;
    }

    .accordion-header.open {
        padding-left: 1rem;
    }
}