body {
    background: #f4f6f9;
    font-family: "Inter", sans-serif;
    color: #1e293b;
}

.group-block {
    margin-bottom: 70px;
}

.department-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 55px 0 24px;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.job-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    margin-bottom: 28px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    transition: all 0.25s ease;
}

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.job-card .row {
    align-items: stretch !important;
}

.job-card .col-lg-3,
.job-card .col-lg-7,
.job-card .col-lg-2 {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.job-card .col-lg-3 {
    flex: 0 0 24%;
    max-width: 24%;
    padding-right: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.job-card .col-lg-7 {
    flex: 0 0 58%;
    max-width: 58%;
}

.job-card .col-lg-2 {
    flex: 0 0 18%;
    max-width: 18%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.job-title {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    color: #0f172a;
    letter-spacing: -0.03em;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
    max-width: 100%;
}

.job-meta {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.job-meta strong {
    color: #1e293b;
}

.job-card .job-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    background: #e2e8f0;
}

.job-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.job-actions .btn {
    width: 100%;
    min-height: 54px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    transition: all 0.2s ease;
    box-shadow: none;
    line-height: 40px;
}


.share-btn {
    background: #6b7280;
    color: #ffffff;
}

.share-btn:hover {
    background: #4b5563;
    color: #ffffff;
}

.view-btn {
    background: #3464e0;
    color: #ffffff;
}

.view-btn:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.apply-btn {
    background: #0d6efd;
    color: #ffffff;
}

.apply-btn:hover {
    background: #0b5ed7;
    color: #ffffff;
}

.popover {
    max-width: 320px;
    border: none;
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.popover-body {
    padding: 14px 18px;
}

.mw-share-list {
    margin: 0;
    padding: 0;
    list-style: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: nowrap;
}

.mw-share-list li {
    margin: 0;
    padding: 0;
    list-style: none !important;
}

.mw-share-list li::marker {
    display: none;
    content: '';
}

.mw-share-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    text-decoration: none;
    color: #2563eb;
    font-size: 24px;
    transition: all 0.2s ease;
}

.mw-share-list a:hover {
    transform: scale(1.18);
    color: #1d4ed8;
}

@media (max-width: 1199.98px) {
    .job-title {
        font-size: 1.7rem;
    }

    .job-card .col-lg-3 {
        flex: 0 0 28%;
        max-width: 28%;
    }

    .job-card .col-lg-7 {
        flex: 0 0 54%;
        max-width: 54%;
    }

    .job-card .col-lg-2 {
        flex: 0 0 18%;
        max-width: 18%;
    }
}

@media (max-width: 991.98px) {
    .department-title {
        font-size: 1.9rem;
        margin: 45px 0 20px;
    }

    .job-card {
        padding: 20px;
        border-radius: 22px;
    }

    .job-card .col-lg-3,
    .job-card .col-lg-7,
    .job-card .col-lg-2 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .job-card .col-lg-3 {
        padding-right: calc(var(--bs-gutter-x) * .5);
        margin-bottom: 18px;
    }

    .job-card .col-lg-7 {
        margin-bottom: 18px;
    }

    .job-card .col-lg-2 {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .job-actions {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
    }

    .job-actions .btn {
        flex: 1 1 calc(50% - 6px);
        min-width: 140px;
    }

    .job-title {
        font-size: 1.55rem;
        margin-bottom: 12px;
    }

    .job-card .job-image {
        height: 260px;
        margin-top: 4px;
    }
}

@media (max-width: 767.98px) {
    .department-title {
        font-size: 1.7rem;
    }

    .job-card {
        padding: 18px;
        border-radius: 20px;
    }

    .job-title {
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .job-meta {
        font-size: 0.95rem;
    }

    .job-card .job-image {
        height: 220px;
        border-radius: 16px;
    }

    .job-actions {
        flex-direction: column;
    }

    .job-actions .btn {
        flex: 1 1 100%;
        width: 100%;
        min-width: 100%;
    }

    .mw-share-list {
        gap: 14px;
    }

    .mw-share-list a {
        font-size: 22px;
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 575.98px) {
    .department-title {
        font-size: 1.5rem;
    }

    .job-card {
        padding: 16px;
        border-radius: 18px;
    }

    .job-title {
        font-size: 1.25rem;
    }

    .job-meta {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .job-card .job-image {
        height: 190px;
        border-radius: 14px;
    }

    .job-actions .btn {
        min-height: 50px;
        font-size: 0.95rem;
    }
}