/* Remove vertical gap above Job Information box */
.twm-s-info2-wrap.mb-5 {
    margin-bottom: 0px !important;
}

.twm-s-info2 {
    margin-top: 0px !important;
    padding-top: 10px !important;
}

/* Reduce spacing between individual info items inside the widget */
.twm-s-info2 ul li,
.twm-s-info2 .twm-s-info-inner {
    margin-bottom: 12px !important;
}
/* 1. Collapse margin & min-height on the element directly above */
.twm-s-info2-wrap,
.sidebar-mb-4 > div:first-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 2. Reset top margin/padding on the Job Information box */
.twm-s-info2 {
    margin-top: 0 !important;
    padding-top: 15px !important;
}

/* 3. Hide any empty flex wrappers pushing the content down */
.twm-s-info2-wrap:empty,
.sidebar-mb-4 .widget:empty {
    display: none !important;
}

/* 4. Fix vertical spacing between list items inside Job Information */
.twm-s-info2 ul {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.twm-s-info2 ul li {
    margin-bottom: 12px !important;
    padding-bottom: 0 !important;
}
/* Fix internal vertical gap inside Job Information box */
.twm-s-info2 ul,
.twm-s-info-inner ul {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Reduce spacing on all list items inside Job Information */
.twm-s-info2 ul li,
.twm-s-info-inner ul li,
.twm-s-info-inner li {
    margin-bottom: 12px !important; /* Adjust this value to tighten/loosen spacing */
    padding-bottom: 0 !important;
}

/* Hide empty or hidden list items causing blank spaces */
.twm-s-info2 ul li:empty,
.twm-s-info-inner li:empty,
.twm-s-info-inner li[style*="display: none"] {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Fix oversized company slider logo on mobile */
@media (max-width: 767px) {
    .job-banner .company-slider img,
    .job-banner .trusted-companies img,
    .section-company-slider img {
        max-height: 40px !important;
        width: auto !important;
        object-fit: contain;
    }
    .job-banner .company-slider,
    .job-banner .trusted-companies {
        padding: 20px 0 !important;
    }
/* Fix oversized company slider on mobile */
@media (max-width: 767px) {
    .h-page6-client-slider-outer {
        overflow: hidden !important;
        max-width: 100% !important;
    }
    .h-page6-client-slider .owl-stage {
        display: flex !important;
        align-items: center !important;
    }
    .h-page6-client-slider .owl-item {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 10px !important;
    }
    .h-page6-client-slider .owl-item img {
        max-height: 50px !important;
        max-width: 120px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        margin: 0 auto !important;
    }
    .section-full.site-bg-white.h-page6-getjobs-wrap {
        padding: 20px 0 !important;
    }
  body.page-id-23 .wt-bnr-inr,
body.page-id-23 .twm-bnr-inr-entry,
body.page-id-23 .page-title,
body.page-id-23 .breadcrumb-row {
    display: none !important;
}
body.page-id-23 .page-content {
    padding-top: 0 !important;
}
.twm-bnr-title-small {
    display: block !important;
    text-align: center !important;
    font-size: clamp(18px, 3vw, 30px) !important;
    font-weight: 800 !important;
    color: #b45309 !important;
    letter-spacing: -0.3px !important;
    line-height: 1.3 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 0 16px 0 !important;
    margin: -40px 0 20px 0 !important;
    width: 100% !important;
}

.twm-bnr-title-small::after {
    content: '';
    display: block;
    width: clamp(50px, 8vw, 90px);
    height: 3px;
    background: #b45309;
    border-radius: 2px;
    margin: 8px auto 0;
}

.twm-bnr-left-section .site-button,
.twm-bnr-left-section a.site-button {
    display: inline-flex !important;
    width: auto !important;
    max-width: 220px !important;
    font-size: clamp(14px, 2vw, 18px) !important;
    padding: clamp(12px, 2vw, 16px) clamp(24px, 4vw, 40px) !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
}
  /* Fix job detail page mobile layout */
@media (max-width: 767px) {
    /* Push content below the fixed header */
    .twm-job-detail-banner,
    .twm-job-detail-banner-section,
    .wt-bnr-inr {
        padding-top: 80px !important;
        margin-top: 0 !important;
    }

    /* Fix logo overlapping title */
    .twm-job-detail-logo {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        margin-bottom: 12px !important;
    }

    /* Fix title font size */
    .twm-job-detail-banner h2,
    .twm-job-detail-banner h1,
    .wt-bnr-inr-entry h2 {
        font-size: 20px !important;
        line-height: 1.3 !important;
        padding-right: 0 !important;
        word-break: break-word !important;
    }

    /* Fix the banner image not covering properly */
    .twm-job-detail-banner-section .wt-bnr-inr {
        min-height: auto !important;
        background-attachment: scroll !important;
    }
}
  /* Remove gap between job title and image on mobile */
@media (max-width: 767px) {
    .wt-bnr-inr.overlay-wraper.bg-center {
        min-height: auto !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    .wt-bnr-inr-entry {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    .banner-title-outer {
        padding: 0 !important;
        margin: 0 !important;
    }
    .section-full.p-t120 {
        padding-top: 30px !important;
    }
}
  @media (max-width: 767px) {
    /* Remove the coloured breadcrumb bar gap */
    .wt-bnr-inr-entry nav,
    .banner-title-outer nav,
    .wt-bnr-inr-entry .banner-title-outer nav {
        display: none !important;
    }

    /* Collapse the banner wrapper height */
    .wt-bnr-inr.overlay-wraper.bg-center {
        min-height: auto !important;
        padding: 16px 0 !important;
    }

    /* Remove padding below title */
    .wt-bnr-inr-entry {
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Remove top padding from the content section */
    .section-full.p-t120 {
        padding-top: 20px !important;
    }
}