.job-listings {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.job-listing {
    border-bottom: 1px solid #eaeaea;
    border-radius: 8px;
    background-color: #fff;
}

.job-meta {
    display: flex;
    justify-content: start;
    margin-bottom: 10px;
    gap: 2em;
    color: #555;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .job-meta {
        gap: 0.8rem;
        font-size: 0.8rem;
    }

    .job-meta svg {
        width: 16px;
        height: 16px;
    }
}

.job-meta .job-location,
.job-meta .job-deadline {
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-meta i {
    color: #f04e3e; /* Röd färg för ikoner */
}

.job-title {
    font-size: 18px;
    margin: 10px 0 15px 0;
}

.job-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.job-title a:hover {
    color: #f04e3e;
}

.job-excerpt {
    font-size: 16px;
    color: #555;
    margin: 0 0 15px;
}

@media (max-width: 768px) {
    .job-excerpt {
        font-size: 14px;
    }
}

.job-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3em;
}

.job-content-left {
    width: 75%;
}

.job-content-right {
    width: 25%;
}

@media (max-width: 768px) {
    .job-content {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    .job-content-left {
        width: 100%;
    }
    .job-content-right {
        width: 100%;
    }
}

.job-apply-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #611B27;
    color: #fff !important;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease;
}

.job-apply-button:hover {
    background-color: #611B27;
}

.job-filter-select {
    padding: 1rem 0.5rem !important;
    font-size: 16px;
    border: 1px solid #eaeaea !important;
    border-radius: 8px !important;
    width: 100%;
    -webkit-appearance: none;
    color: #222 !important;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23333" viewBox="0 0 16 16"><path d="M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 1 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z"/></svg>');
    background-repeat: no-repeat;
    background-color: #fff;
    background-position: right 1rem center;
    background-size: 1em;
}

.job-filter-input {
    padding: 0.9rem 1rem !important;
    font-size: 16px;
    border: 1px solid #eaeaea !important;
    border-radius: 8px !important;
    width: 100%;
}

.filter-group-occupation select,
.filter-group-country select,
.filter-group-occupation,
.filter-group-country {
    width: 100%;
}

.filter-group-search {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.filter-button {
    color: #fff !important;
    border: none !important;
    padding: 0.9rem 2rem !important;
    font-size: 16px;
    border-radius: 50px !important;
    cursor: pointer;
    transition: background-color 0.3s ease;
    background: #611B27 !important;
}

.filter-group-region,
.filter-group-city {
    width: 100%;
}

.job-filter-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .job-filter-form {
        grid-template-columns: repeat(1, 1fr);
    }
}

.filter-group {
    position: relative;
}

.filter-group label {
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.location-dropdown {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    padding: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.location-list,
.sub-location-list,
.city-location-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-item > label,
.sub-location-item > label,
.city-location-item > label {
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.text-search-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-filter-input {
    flex-grow: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    font-size: 1rem;
}

.location-list label {
    display: flex !important;
    align-items: center !important;
}

.sub-location-list {
    padding-left: 1rem !important;
}

.dropdown {
    position: relative !important;
}

.dropdown-toggle {
    padding: 10px 15px !important;
    font-size: 16px !important;
    border: 1px solid #eaeaea !important;
    border-radius: 8px !important;
    background-color: #fff !important;
    cursor: pointer !important;
    width: 100% !important;
    text-align: left !important;
}

.dropdown-menu {
    display: none !important;
    position: absolute !important;
    left: 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
    padding: 10px !important;
    background-color: #fff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 8px !important;
    max-height: 300px !important;
    overflow-y: auto !important;
}

.dropdown-menu.show {
    display: block !important;
}

.dropdown-item {
    padding: 5px 10px !important;
    display: flex !important;
    align-items: center !important;
}

.dropdown-item label {
    margin-left: 10px !important;
    font-size: 14px !important;
}

.nested-dropdown {
    margin-left: 20px !important;
    padding-left: 10px !important;
    border-left: 1px solid #eaeaea !important;
}

.filter-group-location select {
    margin-bottom: 1rem;
}

.multiselect {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    font-size: 16px;
    border: 1px solid #eaeaea;
}

.recman-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-card {
    display: inline-flex;
    flex-direction: column;
    align-items: start;
    margin-bottom: 1rem;
}

.contact-card img {
    width: 200px !important;
    height: 200px !important;
    border-radius: 15px !important;
    object-fit: cover;
    margin-top: 1rem !important;
}

.contact-info h3 {
    margin: 10px 0 5px;
    font-size: 1.2rem;
    color: #333333;
}

.contact-title {
    margin: 5px 0;
    font-size: 1rem;
    color: #777777;
}

.contact-email, .contact-phone {
    margin: 5px 0;
    font-size: 1rem;
    color: #FF4800;
}

.contact-email a, .contact-phone a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #222222 !important;
}

.contact-email svg, .contact-phone svg {
    margin-right: 5px;
}
