.cms-careers-wrapper {
    max-width: 100%;
    margin: auto;
    padding: 0px 0px;
}

.cms-careers-title {
    font-size: 32px;
    margin-bottom: 40px;
}

.cms-careers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cms-career-card {
    border: 1px solid rgba(0, 0, 0, 0.5);
    padding: 20px;
    background: #FFFAFA;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cms-career-top {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #000;
}
.cms-company
{
    font-weight: 500;
}
.cms-type
{
    font-weight:300;
}
.cms-job-title {
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0px;
    height: 120px;
    line-height: 1.3;
}

.cms-career-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cms-deadline
{
    font-weight:300;
    font-size:13px;
}
.cms-deadline strong
{
    font-weight:500;
    font-size:15px;
}
.cms-details-btn {
    background: #000;
    color: #fff !important;
    padding: 8px 18px 8px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none  !important;
}

#cms-load-more {
    margin: 40px auto 0;
    display: block;
    background: #000;
    color: #fff;
    padding: 10px 28px;
    border-radius: 30px;
    cursor: pointer;
    border:0px;
}

#cms-load-more.loading {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

#cms-load-more.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
    animation: cms-spin 0.8s linear infinite;
}

@keyframes cms-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* =========================
   Single Career Page
========================= */

.cms-single-wrapper {
    background: #fff;
    padding: 50px 50px;
}

.cms-single-card {
    max-width: 100%;
    margin: auto;
    background: rgba(255, 250, 250, 1);
    border: 1px solid rgba(0, 0, 0, 0.5);
    padding: 48px;
    position: relative;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

/* Back button */
.cms-back-btn {
    position: absolute;
    top: 24px;
    left: 24px;
    font-size: 22px;
    text-decoration: none;
    color: #000;
}

/* Header */
.cms-single-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    margin-top:30px;
}

.cms-single-header .cms-job-title {
    font-size: 28px;
    margin-bottom: 10px;
    margin-top:0px;
    height: auto;
}

.cms-company-name {
    font-size: 15px;
    color: #000;
    font-weight:500;
    margin:0px;
}

.cms-job-type {
    font-size: 15px;
    color: #000;
    font-weight:300;
}

/* Responsibilities */
.cms-responsibilities h3 {
    font-size: 22px;
    margin-bottom: 16px;
    font-weight: 600;
}

.cms-responsibilities-content {
    font-size: 15px;
    line-height: 1.8;
}

/* Footer */
.cms-single-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.cms-single-footer .cms-deadline span {
    display: block;
    font-size: 15px;
    color: #000;
    font-weight: 300
}

.cms-single-footer .cms-deadline strong {
    font-size: 18px;
    font-weight:500;
}

/* Contact button */
.cms-contact-btn {
    background: #000 !important;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .cms-single-card {
        padding: 32px 20px;
    }

    .cms-single-header {
        flex-direction: column;
        gap: 16px;
    }

    .cms-single-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}






/* =========================
   Contact Popup
========================= */

#cms-contact-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    background: rgba(0,0,0,0.45);

    display: none;               /* hidden by default */
    align-items: center;         /* vertical center */
    justify-content: center;     /* horizontal center */

    z-index: 9999;
}

.cms-contact-popup {
    background: #fff;
    max-width: 420px;
    width:100%;
    margin:auto;
    padding: 32px;
    border-radius: 10px;
    position: relative;
    font-size: 14px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);

}

.cms-contact-popup h3 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight:600;
}

#cms-contact-content p {
    margin-bottom: 8px;
}

.cms-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    font-size: 26px;
    font-weight:600;
    cursor: pointer;
    color:#000 !important;
    background:#fff !important;
}








@media (max-width: 768px)
{
.cms-careers-grid
{
    grid-template-columns: repeat(1, 1fr);
}
.cms-single-wrapper {
    background: #fff;
    padding: 40px 15px;
}
}