.careerhero {
    position: relative;
    height: 325px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/career-hero.webp');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}



.careerhero-inner {
    text-align: center;
}

.careerhero .careerkicker {
    position: relative;
    display: inline-block;
    color: #FFC107;
    font-family: 'Karla', sans-serif;
    font-weight: 600;
    font-size: 20px;
    text-transform: capitalize;
    padding-bottom: 12px;
}

.careerhero .careerkicker::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 84px;
    height: 2px;
    background: linear-gradient(90deg,
            rgba(255, 193, 7, 0) 0%,
            #FFC107 50%,
            rgba(255, 193, 7, 0) 100%);
}

.careerhero h1 {
    font-size: 62px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    margin-top: 20px;
    font-family: 'Karla', sans-serif;
}

/* === MAIN CONTAINER === */
.careepage-container {
    width: 80%;
    margin: 0 auto;
    padding: 32px 0 48px;
    font-family: 'Karla', sans-serif;
}

/* === INTRO SECTION === */
.careerintro {
    margin-bottom: 28px;
}

.careerintro svg {
    width: auto;
}

.careerpill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #202020;
    padding: 9px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    background: #fff;
    font-family: 'Karla', sans-serif;
}

.careerintro h2 {
    margin-top: 20px;
    font-size: 36px;
    font-weight: 700;
    color: #000;
    font-family: 'Karla', sans-serif;
}

.careerintro .accent {
    color: #9F2B2C;
}

.careerintro .sub {
    color: #000;
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
    font-family: 'Karla', sans-serif;
}

/* === TWO-COLUMN GRID === */
.jobs-layout {
    display: grid;
    grid-template-columns: 448px 1fr;
    gap: 24px;
    align-items: start;
}

/* === LEFT: Job Cards === */
.gku-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 100vh;
    overflow-y: auto;
    padding-right: 6px;
}

.gku-jobs-list::-webkit-scrollbar {
    width: 10px;
}

.gku-jobs-list::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.gku-jobs-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 999px;
}

.gku-jobs-list::-webkit-scrollbar-thumb {
    background: #b72b2b;
    border-radius: 999px;
}

.gku-jobs-list {
    scrollbar-width: thin;
    scrollbar-color: #b72b2b #f1f1f1;
}

/* Single job card */
.gku-job-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #d9d9d9;
    position: relative;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-right: 4px;
    font-family: 'Karla', sans-serif;
}

.gku-job-card:hover {
    border-color: #9F2B2C;
}

.gku-job-card.active {
    border: 1px solid #b72b2b;
    box-shadow: 0px 6px 4px 0px #00000040;
}

.gku-job-card.active::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    width: 6px;
    height: 50px;
    background: #b72b2b;
}

/* Card top: NEW badge + date */
.gku-card-top {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}

.gku-tag-new {
    background: #84BF7E;
    color: #19790F;
    padding: 7px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Karla', sans-serif;
}

.gku-job-posted {
    color: #666;
    font-size: 12px;
    font-weight: 500;
}

.gku-job-card-title {
    font-size: 20px;
    font-weight: 600;
    margin: 20px 0 14px;
    color: #000;
    font-family: 'Karla', sans-serif;
}

/* Meta list */
.gku-job-meta {
    list-style: none;
    font-size: 16px;
    color: #666;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 0;
}

.gku-job-meta li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gku-job-meta li::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.gku-job-meta .li-exp::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
}

.gku-job-meta .li-loc::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13S3 17 3 10a9 9 0 0118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.gku-job-meta .li-type::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 21V5a2 2 0 00-2-2h-4a2 2 0 00-2 2v16'/%3E%3C/svg%3E");
}

/* Send resume link */
.gku-mailto {
    display: inline-block;
    color: #9F2B2C;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    font-family: 'Karla', sans-serif;
}

.gku-mailto span {
    color: #000;
    font-weight: 500;
}

.gku-mailto:hover {
    text-decoration: underline;
    color: #9F2B2C;
}

/* Mobile action buttons (hidden on desktop) */
.gku-mobile-card-actions {
    display: none;
}

/* Mobile detail panel (hidden on desktop) */
.gku-mobile-detail-panel {
    display: none !important;
}

/* === RIGHT: Job Detail Panel === */
.gku-job-detail {
    position: sticky;
    top: 20px;
}

.gku-detail-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #c3c3c3;
    box-shadow: 0px 4px 4px 0px #00000040;
    font-family: 'Karla', sans-serif;
}

.gku-job-top-card {
    border-bottom: 1px solid #d9d9d9;
    padding: 20px;
    border-radius: 20px 20px 0px 0px;
}

.gku-detail-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 6px;
}

.gku-detail-top h3 {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin: 10px 0 10px;
    font-family: 'Karla', sans-serif;
}

.gku-detail-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    font-size: 16px;
    color: #666;
    margin-bottom: 18px;
    margin-top: 8px;
    font-family: 'Karla', sans-serif;
}

.gku-details-meta-icon {
    display: flex;
    align-items: center;
    gap: 5px;
}

.gku-details-meta-icon svg {
    width: auto;
}

/* Apply button */
.gku-job-apply-wrap {
    margin-top: 4px;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.gku-btn-apply {
    background: #9F2B2C;
    color: #fff;
    border: 1.5px solid transparent;
    height: 40px;
    padding: 0 24px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Karla', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.gku-btn-apply:hover {
    background: transparent;
    color: #9f2b2c;
    border: 1.5px solid #9f2b2c;
    text-decoration: none;
}

.gku-btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: #fff;
    color: #9F2B2C;
    border: 1.5px solid #9F2B2C;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    text-decoration: none;
    flex-shrink: 0;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.gku-btn-download:hover {
    background: #9F2B2C;
    color: #fff;
    text-decoration: none;
}

/* Job description body */
.gku-job-description-body {
    padding: 0 20px 20px;
}

/* Send resume box */
.gku-send-resume-box {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 30px 0;
    padding: 10px;
    background: #fff9f0;
    border: 1px solid #f2e2c7;
    border-radius: 8px;
}

.gku-envelope-icon {
    width: 50px;
    height: 50px;
    background: #D4A017;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gku-envelope-icon svg {
    width: 25px;
    height: 25px;
}

.gku-send-resume-box .sr-label {
    font-size: 12px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
}

.gku-send-resume-box .sr-email {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-top: 7px;
}

/* Section headings */
.gku-section-heading,
.section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 10px;
}

.gku-section-heading::before,
.section-heading::before {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background: #9F2B2C;
    border-radius: 2px;
    flex-shrink: 0;
}

.gku-section-heading h4,
.section-heading h4 {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: #000;
    margin: 0;
    font-family: 'Karla', sans-serif;
}

.gku-detail-card p {
    color: #666;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

.gku-detail-card ul {
    margin-left: 30px;
    padding-left: 0;
    list-style-type: disc !important;
}

.gku-detail-card ul li {
    font-size: 16px;
    color: #666;
    line-height: 28px;
    font-weight: 400;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1420px) {
    .gku-detail-meta-row {
        gap: 10px;
    }
}

@media (max-width: 1024px) {
    .jobs-layout {
        grid-template-columns: 0.4fr 0.8fr;
        gap: 12px;
    }

    .careepage-container {
        width: 94%;
    }
}

@media (max-width: 992px) {
    .careerintro h2 {
        font-size: 26px;
    }

    .careerintro .sub {
        font-size: 14px;
        margin-top: 7px;
    }

    .gku-tag-new {
        padding: 4px 14px;
        font-size: 12px;
    }

    .gku-job-card-title {
        font-size: 16px;
        margin: 15px 0 10px;
    }

    .gku-job-meta {
        font-size: 11px;
    }

    .gku-mailto {
        font-size: 13px;
    }

    .gku-detail-top h3 {
        font-size: 20px;
        margin: 5px 0;
    }

    .gku-detail-meta-row {
        font-size: 12px;
    }

    .gku-btn-apply {
        padding: 8px 20px;
        font-size: 12px;
    }

    .gku-section-heading h4,
    .section-heading h4 {
        font-size: 16px;
    }

    .gku-detail-card p {
        font-size: 14px;
        line-height: 20px;
    }

    .gku-detail-card ul li {
        font-size: 14px;
        line-height: 24px;
    }
}

/* Mobile: hide detail panel, show mobile actions */
@media (min-width: 768px) {
    .gku-mobile-card-actions {
        display: none;
    }

    .gku-mobile-detail-panel {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .careerhero {
        height: 206px;
    }

    .careerhero .careerkicker {
        font-size: 12px;
        padding-bottom: 5px;
    }

    .careerhero .careerkicker::after {
        width: 42px;
        height: 1px;
    }

    .careerhero h1 {
        font-size: 20px;
        margin-top: 10px;
    }

    .jobs-layout {
        grid-template-columns: 1fr;
    }

    .gku-job-detail {
        display: none;
    }

    .gku-jobs-list {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }

    .gku-job-card {
        padding: 16px;
    }

    .gku-job-card-title {
        font-size: 14px;
        margin: 12px 0 10px;
    }

    .gku-job-meta {
        font-size: 10px;
    }

    .gku-mailto {
        font-size: 10px;
    }

    /* Mobile action buttons */
    .gku-mobile-card-actions {
        display: flex;
        gap: 10px;
        margin-top: 12px;
    }

    .gku-btn-mobile-apply {
        flex: 1;
        background: #9F2B2C;
        color: #fff;
        border: none;
        padding: 10px 0;
        border-radius: 8px;
        font-family: 'Karla', sans-serif;
        font-size: 10px;
        font-weight: 600;
        cursor: pointer;
        text-align: center;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .gku-btn-mobile-download {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 8px;
        background: #fff;
        color: #9F2B2C;
        border: 1.5px solid #9F2B2C;
        cursor: pointer;
        text-decoration: none;
        flex-shrink: 0;
        transition: background 0.15s, color 0.15s;
    }

    .gku-btn-mobile-download:hover {
        background: #9F2B2C;
        color: #fff;
        text-decoration: none;
    }

    .gku-btn-mobile-view {
        flex: 1;
        background: #fff;
        color: #9F2B2C;
        border: 1.5px solid #9F2B2C;
        padding: 10px 0;
        border-radius: 8px;
        font-family: 'Karla', sans-serif;
        font-size: 10px;
        font-weight: 600;
        cursor: pointer;
        text-align: center;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .gku-btn-mobile-view svg {
        width: auto;
    }

    .gku-chevron-icon {
        transition: transform 0.3s ease;
    }

    .gku-btn-mobile-view.active .gku-chevron-icon {
        transform: rotate(180deg);
    }

    /* Mobile detail panel */
    .gku-mobile-detail-panel {
        display: none;
        background: #fff;
        margin-top: 10px;
        overflow: hidden;
        border: 1px solid #d9d9d9;
        border-radius: 10px;
    }

    .gku-mobile-detail-panel.open {
        display: block !important;
    }

    .gku-mobile-detail-panel .gku-section-heading h4,
    .gku-mobile-detail-panel .section-heading h4 {
        font-size: 14px;
    }

    .gku-careersec-description {
        font-size: 12px;
        line-height: 1.6;
        color: #666;
        text-align: justify;
    }

    .gku-careersec-description p {
        font-size: 12px;
        line-height: 1.6;
        color: #666;
        margin-bottom: 12px;
    }

    .gku-careersec-description ul {
        margin-left: 20px;
        margin-bottom: 12px;
        list-style-type: disc !important;
    }

    .gku-careersec-description li {
        font-size: 12px;
        line-height: 1.6;
        color: #666;
        margin-bottom: 6px;
    }

    .careepage-container {
        width: 94%;
        padding: 20px 0 32px;
    }

    .careerintro {
        text-align: center;
        margin-bottom: 20px;
    }

    .careerpill {
        padding: 7px 14px;
        font-size: 10px;
    }

    .careerintro h2 {
        margin-top: 10px;
        font-size: 24px;
        line-height: 26px;
    }

    .careerintro .sub {
        font-size: 12px;
        margin-top: 10px;
        line-height: 14px;
    }

    .gku-tag-new {
        padding: 4px 11px;
        font-size: 10px;
    }

    .gku-job-posted {
        font-size: 10px;
    }
}