/**
 * Public-facing styles for Collega Gezocht plugin
 * 
 * Structure:
 * 1. Base/Global Styles
 * 2. Archive Page Styles (Job Listing)
 * 3. Single Job Page Styles
 * 4. Filter & Sidebar Styles
 * 5. Responsive Design
 */

/* ==========================================================================
   1. BASE/GLOBAL STYLES
   ========================================================================== */

/* Application Form Frame */
#sollicitatieFrame {
    width: 100%;
    border: none;
}

/* Loading State */
.jobs-container.up-loading {
    opacity: 0.6;
    transition: opacity 0.2s;
}

/* ==========================================================================
   2. ARCHIVE PAGE STYLES (Job Listing)
   ========================================================================== */

/* Hero Section */
.jobs-hero {
    position: relative;
    background-color: rgba(84, 80, 153, 0.1);
    height: 620px;
}

.jobs-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
}

.jobs-hero-content {
    position: relative;
    height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-left: 50%;
    padding-left: 60px;
    gap: 1rem;
}

.jobs-hero-content .title {
    color: #000;;
    font-size: 48px;
    line-height: 1.2;
    font-weight: var(--font-weight-bold);
    margin: 0;
    font-family: var(--font-family-bs);
    font-style: italic;
}

.jobs-hero-content p {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.hero-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.hero-category-pill {
    display: inline-flex;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 0;
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
}

.hero-category-pill:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(84, 80, 153, 0.3);
}

.hero-category-pill.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Breadcrumbs */
.jobs-breadcrumbs-container p {
    margin: 0;
    font-size: 16px;
    padding: 60px 0;
}

/* Jobs Intro Text */
.jobs-intro-text {
    background-color: #FAFAFA;
    padding: 120px 0;
    margin-bottom: 120px;
}

.jobs-intro-text .container-fluid {
    width: 100%;
}

.jobs-intro-text .container {
    text-align: center;
}

.jobs-intro-text p.title {
    font-size: 48px;
    line-height: 1.2;
    font-weight: var(--font-weight-bold);
    margin: 0;
    font-family: var(--font-family-bs);
    font-style: italic;
    color: #000;
    margin-bottom: 2rem;
}

.jobs-intro-text p {
    line-height: 150%;
    color: #3E3E3E;
}

/* Content Sections with alternating layout */
.content-section {
    display: flex;
    gap: 2rem;
    margin-bottom: 120px;
    align-items: center;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section-left {
    flex-direction: row;
}

.content-section-right {
    flex-direction: row-reverse;
}

.content-text {
    width: calc(50% - 1rem);
}

.content-section-left .content-text {
    padding-right: 4rem;
}

.content-section-right .content-text {
    padding-left: 4rem;
}

.content-text h2 {
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-bs);
    font-style: italic;
    color: #000;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.content-text p {
    line-height: 1.6;
    color: #3E3E3E;
    margin-bottom: 1rem;
}

.content-text p:last-child {
    margin-bottom: 0;
}

.content-image {
    flex: 0 0 calc(50% - 1rem);
    width: calc(50% - 1rem);
    background-color: #F5F5F5;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 3/2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile responsive */
@media (max-width: 991px) {
    .content-section {
        flex-direction: column !important;
        margin-bottom: 80px;
        gap: 1.5rem;
    }
    
    .content-section-left .content-text,
    .content-section-right .content-text {
        padding-left: 0;
        padding-right: 0;
    }
    
    .content-text,
    .content-image {
        width: 100%;
    }
    
    .content-text h2 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .content-section {
        margin-bottom: 60px;
        gap: 1rem;
    }
    
    .content-text h2 {
        font-size: 24px;
        margin-bottom: 1rem;
    }
}

/* Jobs Container */
/* Main container for job listings */
.jobs-container {
    margin: 120px 0;
}

.jobs-container-header {
    text-align: center;
    margin-bottom: 2rem;
}

/* Job Grid Layout */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 0;
}

/* Job Cards - Default Style */
.job-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--border-radius-normal);
    border-radius: 10px;
    border: 1px solid rgba(84, 80, 153, 0.10);
    overflow: hidden;
}

.job-image a {
    display: block;
}

.job-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.job-content {
    gap: 1.5rem;
    flex-direction: column;
    display: flex;
    padding: 2rem;
    height: 100%;
}

.job-content h3,
.job-content .h3 {
    font-size: 28px;
    line-height: 2rem;
    margin: 0;
    color: #000;
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-bs);
    font-style: italic;
}

.job-content h3 a,
.job-content .h3 a {
    color: #000;
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-bs);
    font-style: italic;
    text-decoration: none;
}

.job-content h3 a:hover,
.job-content .h3 a:hover {
    color: var(--primary-color);
}
.job-content .intro {
    margin: 0;
}

.job-content .meta-grid {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.job-content .meta-grid .meta-item {
    padding: 16px;
    display: flex;
    padding: 8px 16px;
    border-radius: 19px;
    background: #D75198;
    color: #fff;
    font-size: 14px;
    align-items: center;
    gap: 0.25rem;
}

.job-content .meta-grid .meta-item.location {
    background: #F4C142;
} 

.job-content .meta-grid .meta-item.education {
    background: #00622A;
} 

.job-content .btn {
    border-radius: 27px;
    background: #545099;
    color: #fff;
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-bs);
    font-style: italic;
    text-decoration: none;
    padding: 16px 32px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.job-content .btn:hover {
    background: #434174;
    color: #fff;
}

 .job-content .job-content-bottom {
     display: flex;
     flex-direction: column;
     gap: 1rem;
     margin-top: auto;
 }


/* Job Meta Information */
.job-meta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    color: #666;
}

.job-meta i {
    margin-right: 0.5rem;
}

/* Job Grid - Style 5 (List Layout) */
.jobs-grid.style5 {
    display: flex;
    flex-direction: column;
}

.jobs-grid.style5 .job-card {
    color: #000;
    box-shadow: none;
    border-radius: 0;
}

.jobs-grid.style5 .job-card .job-content {
    display: flex;
    flex-direction: column;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.20);
    padding: 0;
}

.jobs-grid.style5 .job-card .job-content h2 {
    font-size: 26px;
    margin-bottom: 1rem;
    min-height: 0;
}

.jobs-grid.style5 .job-card .job-content h2 a {
    color: #000;
    font-weight: 500;
}

.jobs-grid.style5 .job-card .job-content .intro {
    margin-bottom: 1.5rem;
    max-width: 925px;
    color: #3E3E3E;
}

.jobs-grid.style5 .job-card .job-content .meta-grid {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.jobs-grid.style5 .job-card .job-content .meta-grid .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #000;
}

.jobs-grid.style5 .job-card .job-content .meta-grid .meta-item i {
    margin-right: 0;
}

.jobs-grid.style5 .job-card .job-content a.btn {
    text-align: center;
    align-self: flex-end;
    margin-bottom: 32px;
}

/* Promotional Blocks */
.promotional-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.20);
    padding-bottom: 2rem;
}

.promo-block {
    padding: 56px 60px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.promo-green {
    background: #00622A;
    color: #fff;
}

.promo-yellow {
    background: #F6C42E;
    color: #000;
}

.promo-yellow .text {
    margin-bottom: 5rem;
}

.promo-content .title {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 44px;
}

.promo-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.promo-content .list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.promo-content .list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    font-size: 20px;
}

.promo-content .list li i {
    font-size: 20px;
}

.promo-content .simple-btn {
    color: inherit;
    text-decoration: underline;
}

.promo-content .simple-btn::after {
    font-family: "Font Awesome 6 Pro";
    content: "\f0a9";
    font-weight: var(--font-weight-semibold);
    margin-left: .5rem;
    text-decoration: none;
    display: inline-flex;
}

.graphic {
    font-size: 6rem;
    position: absolute;
    bottom: 12%;
    right: 10%;
}

/* Pagination */
.jobs-grid .pagination {
    grid-column: 1 / -1;
    margin-top: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.jobs-grid .pagination h2 {
    display: none;
}

/* Content Areas */
.landing-page-content,
.jobs-page-content {
    margin-top: 4rem;
    margin-bottom: 6rem;
}

/* ==========================================================================
   3. SINGLE JOB PAGE STYLES
   ========================================================================== */

.single-cg-job p:last-of-type {
    margin-bottom: 2rem;
}

.single-cg-job h2 {
    line-height: 120%;
    margin-bottom: 2rem;
}

@media screen and (max-width: 767px) {
    .single-cg-job h2 {
        margin-bottom: 1rem;
    }

}

.single-cg-job ul {
    margin-bottom: 2rem;
}

/* Job Slider/Hero */
.slider.job-slider {
    height: 600px;
    background: #f8f8f8;
}

.slider.job-slider .slide,
.slider.job-slider .slide .container {
    display: flex;
    height: 600px;
}

.slider.job-slider .slide .container-fluid .container {
    display: flex;
    justify-content: center;
    height: 600px;
}

.slider.job-slider .slide .container-fluid .container .content {
    width: 100%;
    max-width: 950px;
    align-self: center;
    justify-content: center;
    color: var(--white-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.slider.job-slider .slide .container-fluid .container .content .title {
    font-size: 58px;
    line-height: normal;
    font-weight: 600;
    max-width: none;
}

/* Job Specs Container */
.specs-container {
    background: #000000;
    color: #FFFFFF;
}

.specs-container .container {
    max-width: 1280px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.specs-container .container .title-specs {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
}

.specs-container .container .title-specs p {
    font-size: 21px;
    line-height: 21px;
    font-weight: 700;
    margin: 0;
}

.specs-container .container .title-specs .specs {
    display: flex;
    gap: 2rem;
}

.specs-container .container .title-specs .spec {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.application-form-wrapper {
    background: #EEEEF5;
    padding: 120px 0;
}

.form-title {
    display: block;
    margin-bottom: 1rem !important;;
}

.single-cg-job footer {
    padding-top: 0;
}

@media screen and (max-width: 850px) {
    .specs-container .container .title-specs .specs {
        gap: 1rem;
    }
}

@media screen and (max-width: 767px) {
    .specs-container .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

	
    .specs-container .container .title-specs > p {
        display: none;
    }

    .specs-container .container .title-specs .specs {
        flex-direction: column;
    }
	
	.specs-container .container .title-specs{
		justify-content: center;
	}
	
	.specs-container .container .title-specs .spec{
		font-size: 14px;
	}
	
	.specs-container .container .title-specs .button a.btn{
		justify-content: center;
	}
}


/* Job Intro Section */
.job-intro {
    background: rgba(84, 80, 153, 0.10);
    color: #000000;
    padding: 80px 0;

    .job-intro-content {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .job-intro-images {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 400px;
        padding: 2rem 0;

        @media (max-width: 768px) {
            flex-direction: column;
            gap: 2rem;
            min-height: auto;
        }
    }

    .job-intro-image {
        position: relative;
        border-radius: 10px;
        border: 5px solid white;
        overflow: hidden;

        img {
            display: block;
            width: 100%;
            height: auto;
            object-fit: cover;
        }

        &.job-intro-image-left {
            transform: rotate(-8deg);
            z-index: 1;
            max-width: 280px;
            margin-right: -50px;

            @media (max-width: 768px) {
                margin-right: 0;
                max-width: 100%;
            }
        }

        &.job-intro-image-right {
            transform: rotate(8deg);
            z-index: 2;
            max-width: 280px;
            margin-bottom: -60px;

            @media (max-width: 768px) {
                max-width: 100%;
            }
        }
    }
}

/* Job Pills Section */
.job-pills {
    background: #FFFFFF;
    padding: 120px 0;
}

.job-pills .job-pills-title {
    text-align: center;
}

.job-pills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1120px;
    margin: 0 auto;
    justify-content: center;
}

.job-pill {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 2rem;
    background: #f0f0f5;
    border-radius: 50px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-pill i {
    font-size: 1.5rem;
    color: #5243c0;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.job-pill span {
    color: #3E3E3E;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
}

/* Responsive adjustments for job pills */
@media (max-width: 767px) {
    .job-pills {
        padding: 60px 0;
    }

    .job-pills-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .job-pills-grid {
        gap: 1rem;
    }

    .job-pill {
        padding: 1rem 1.25rem;
    }

    .job-pill i {
        font-size: 1.25rem;
    }

    .job-pill span {
        font-size: 0.95rem;
    }
}

/* Job Textblock Base */
.job-textblock {
    @media screen and (min-width: 1024px) {
        .content {
            display: flex;

            .content-inner {
                display: flex;
                flex-direction: column;
                gap: 0;
                align-self: center;

                ul {
                    color: #696969;

                    li {
                        margin-bottom: 0.5rem;
                    }

                    li:last-of-type {
                        margin-bottom: 0;
                    }

                    li::marker {
                        color: #545099;
                    }
                }
                
            }
        }

        .image img {
            border-radius: 10px;
        }
    }
}

/* Job Textblock 1 */
.job-textblock-1 {
    padding: 0 0 120px;

    @media screen and (min-width: 1024px) {
        .content {
            padding-left: 50px;
        }
    }
}

/* Job Textblock 2 */
.job-textblock-2, .job-textblock-3 {
    padding: 0 0 120px;
    @media screen and (min-width: 1024px) {
        .content {
            padding-right: 50px;
        }
    }
}

/* Job CTA Banner */
.job-cta-banner {
    padding: 0 0 120px;

    .container {
        border-radius: 10px;
		
		background-image: url("/wp-content/themes/eyecframework/assets/images/purple-cta-with-circle.webp");
        background-repeat: no-repeat;
        background-position: right center;
        background-size: cover;
    }

    .cta-banner-inner {
        display: flex;
        flex-direction: column;
        gap: 0;
        max-width: 814px;
        padding: 80px;
        color: #fff;

        h2 {
            max-width: 580px;
        }

        .btn-black {
            color: #fff;
            background-color: #000;
        }

        .btn-black:hover {
            color: #000;
            background-color: #fff;
        }
    }
}

/* Job Summary */
.job-summary {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}
.job-summary p {
   margin: 0;
   line-height: 100%;
}

.job-summary .details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.job-summary .company-name {
    font-size: 48px;
    font-weight: 600;
}

/* Single job main */

.wrapper.single-job .main {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 120px;
}


.jobs-breadcrumbs {
    max-width: 1280px;
    margin: 60px auto 0;
}

.jobs-breadcrumbs p {
    margin: 0;
    font-size: 16px;
    line-height: 100%;
}

/* ==========================================================================
   4. FILTER & SIDEBAR STYLES
   ========================================================================== */

/* Sidebar */
.jobs-sidebar {
    background: transparent;
    padding: 0;
    border-radius: 0;
    height: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Sidebar Blocks */
.sidebar-block {
    padding: 50px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 250px;
    position: relative;
    overflow: hidden;
}

.sidebar-block h3 {
    font-size: 28px;
    line-height: 140%;
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-bs);
    font-style: italic;
    margin: 0;
    color: #fff;
    position: relative;
    z-index: 2;
}

.sidebar-block p {
    font-size: 18px;
    line-height: 150%;
    color: #fff;
    margin: 0;
    position: relative;
    z-index: 2;
}

.sidebar-block-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    justify-content: center;
}



.sidebar-block-image {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%), url('../img/contact-us-sidebar.webp');
    background-size: cover;
    background-position: top 80px center;
    background-repeat: no-repeat;
    background-color: #000;
    min-height: 561px;
    box-sizing: border-box;
}

.sidebar-block-primary {
    background-color: var(--primary-color, #545099);
}

.sidebar-block-primary ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-block-primary li {
    color: #fff;
    display: flex;
    align-items: flex-start;
    gap: 0.25rem;
    position: relative;
    padding-left: 0;
    margin-bottom: 0 !important;
}

.sidebar-block-primary li::before {
    color: #fff !important;
}

/* Filter Styles */
.job-filters-top,
.job-filters-sidebar {
    margin-bottom: 2rem;
}

.job-filters-top {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.job-filters-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.filter-group label {
    color: #333;
}

.filter-group h4 {
    margin-bottom: 0.5rem;
    font-size: 22px;
    color: #000;
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-bs);
    font-style: italic;
}

/* Filter Inputs */
.job-filters select,
.job-filters-sidebar select {
    width: 100%;
    min-width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.job-filters-top select {
    width: auto;
    min-width: 200px;
    padding: 0.5rem;
}

/* Checkbox Styles */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0;
    cursor: pointer;
    font-size: 90%;
}

.checkbox-label input[type="checkbox"] {
    margin: 0.25rem 0 0 0;
    padding: 0;
    cursor: pointer;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: white;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked {
    background-color: var(--primary-color, #007bff);
    border-color: var(--primary-color, #007bff);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:hover {
    border-color: var(--primary-color, #007bff);
}

/* Mobile Filter Toggle */
.filter-toggle {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 40px;
    z-index: 999;
    background: var(--primary-color, #007bff);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    cursor: pointer;
}

.filter-toggle i {
    font-size: 24px;
}

.sidebar-close {
    display: none;
}

/* ==========================================================================
   5. RESPONSIVE DESIGN
   ========================================================================== */

/* Tablet and smaller desktop */
@media (max-width: 1023px) {
    .jobs-hero {
        height: auto;
        min-height: 500px;
    }
    
    .jobs-hero-image {
        position: relative;
        width: 100%;
        height: 300px;
    }
    
    .jobs-hero-content {
        width: 100%;
        margin-left: 0;
        padding: 40px 20px;
        align-items: center;
        text-align: center;
        box-sizing: border-box;
        height: 400px;
    }
    
    .jobs-hero-content .title {
        font-size: 42px;
    }
    
    .hero-category-pills {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .hero-category-pill {
        font-size: 0.875rem;
        padding: 0.4rem 1rem;
    }

    /* Sidebar on tablet - stack vertically */
    .sidebar-block {
        padding: 40px;
        min-height: 561px;
    }
    
    .sidebar-block h3 {
        font-size: 24px;
    }

    .sidebar-block-image {
        background-position: center center;
    }
    
    /* Hide mobile filter toggle and overlay (not needed with new blocks) */
    .filter-toggle {
        display: none;
    }
    
    .sidebar-overlay {
        display: none;
    }
    
    .sidebar-close {
        display: none;
    }

    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .jobs-intro-text .container-fluid,
    .jobs-intro-text .container {
        padding: 0;
    }
}

/* Mobile devices */
@media (max-width: 767px) {
    /* Job listing page mobile styles */
    .jobs-container {
        margin: 60px 0;
    }
    
    .jobs-intro-text {
        padding: 60px 0;
        margin-bottom: 60px;
    }


    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .job-meta {
        font-size: 0.875rem;
    }
    
    /* Sidebar blocks on mobile */
    .sidebar-block {
        padding: 30px;
        min-height: 561px;
    }
    
    .sidebar-block h3 {
        font-size: 22px;
    }

    .sidebar-block-image {
        background-position: top 40px center;
    }
        
    .sidebar-block-primary {
        min-height: 0;
        margin-bottom: 2rem;
    }
    
    .sidebar-block-primary ul {
        gap: 0.75rem;
    }
    
    .sidebar-block-primary li {
        gap: 0.5rem;
    }
    
    .sidebar-block-primary li::before {
        width: 20px;
        height: 20px;
        min-width: 20px;
        border-width: 2px;
    }

    /* Promotional blocks mobile */
    .promotional-blocks {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .promo-block {
        padding: 1.5rem;
        min-height: 150px;
    }
    
    .promo-content .title {
        font-size: 1.2rem;
    }
    
    .graphic {
        font-size: 3rem;
    }

    /* Single job page mobile styles */
    .single-cg-job .page-content {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .page-sidebar.right {
        padding-top: 0;
        padding-bottom: 2.5rem;
        margin-top: 0;
    }

    /* Job slider mobile */
    .slider.job-slider, 
    .slider.job-slider .slide,
    .slider.job-slider .slide .container-fluid .container,
    .slider.job-slider .slide .container, 
    .slider.job-slider .slide .container .content {
        height: 300px;
    }

    .slider.job-slider .slide .container-fluid .container .content .title {
        font-size: 2rem;
    }
    .wrapper.single-job .main {
        padding-top: 50px;
    }

    .single-cg-job .job-cta-banner {
        padding-bottom: 60px;
    }


    .single-cg-job .job-cta-banner .cta-banner-inner {
        padding: 60px 40px;
        border-radius: 0;
    }

    .single-cg-job .image img {
        margin-bottom: 3rem;
        margin-top: 3rem;
    }

    .single-cg-job .content-inner ul {
        margin-bottom: 2rem;
    } 

    /* Mobile: all job textblock sections get 60px padding */
    .single-cg-job .job-textblock-1,
    .single-cg-job .job-textblock-2,
    .single-cg-job .job-textblock-3,
    .single-cg-job .job-textblock-4,
    .single-cg-job .job-textblock-5 {
        padding-bottom: 60px;
    }

    /* Mobile: make images always appear first regardless of desktop order */
    .single-cg-job .job-textblock .row {
        display: flex;
        flex-direction: column;
    }

    .single-cg-job .job-textblock .image {
        order: -1; /* Image always first */
    }

    .single-cg-job .job-textblock .content {
        order: 0; /* Content always second */
    }

    .single-cg-job .application-form-wrapper {
        padding: 60px 0;
    }
}