@font-face {
    font-family: 'intro_rustbase';
    src: url('/application/files/fonts/introrust.woff2') format('woff2'),
         url('/application/files/fonts/introrust.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'glacial_indifferencebold';
    src: url('/application/files/fonts/glacialindifference-bold.woff2') format('woff2'),
         url('/application/files/fonts/glacialindifference-bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'glacial_indifferenceregular';
    src: url('/application/files/fonts/glacialindifference-regular.woff2') format('woff2'),
         url('/application/files/fonts/glacialindifference-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body, .ccm-page {
  font-family: 'glacial_indifferenceregular', sans-serif !important;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'intro_rustbase', sans-serif !important;
}

div.theme-atomik .ccm-block-hero-image .ccm-block-hero-image-cover {
    background: transparent !important;
}

.work-with-us {
    text-align: center;
    padding: 40px 20px;
}

.work-with-us-title {
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.work-with-us-subtitle {
    font-size: 1.6rem;
    margin-bottom: 40px;
    color: #333;
}

.vacancy-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.vacancy-pill {
    background-color: #FFEF5D;
    border-radius: 50px;
    padding: 10px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #222;
    flex-wrap: wrap;
}

.vacancy-pill .divider {
    font-weight: 900;
    font-size: 1.4em;
    transform: scaleX(1.4);
    display: inline-block;
    opacity: 1;
    margin: 0 6px;
}

.apply-now-wrapper {
    margin-top: 20px;
    margin-bottom: 40px;
}

.apply-now-btn {
    display: inline-block;
    background-color: #000;
    color: #fff !important;
    padding: 16px 50px;
    border-radius: 50px;
    font-family: 'intro_rustbase', sans-serif !important;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.2s ease;
}

.apply-now-btn:hover {
    background-color: #333;
    color: #fff !important;
}

/* ===== Current Vacancies panel (grey) – updated ===== */
.vacancies-panel-grey {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 30px 20px 24px;
    margin: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #fff;
}

.vacancies-panel-inner {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    overflow: hidden;
}

.vacancies-panel-grey .work-with-us-title {
    font-family: 'intro_rustbase', sans-serif;
    font-size: 4.2rem;
    font-weight: normal;
    letter-spacing: -1px;
    margin: 0 0 24px 0 !important;
    text-transform: uppercase;
    color: #000;
}

.vacancy-list-grey {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 900px;
    align-items: center;
    max-height: 50vh;
    overflow-y: auto;
    padding-right: 6px;
}

.vacancy-pill-grey {
    background-color: #6B6B6B;
    border-radius: 50px;
    padding: 16px 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    flex-wrap: wrap;
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
}

.vacancy-pill-grey .divider {
    font-weight: 700;
    opacity: 0.85;
    color: #fff;
}

.vacancies-panel-grey .scroll-down {
    display: inline-block;
    margin: 12px 0 0 0;
    text-decoration: none;
    animation: bounce 2s infinite;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
    position: static;
    transform: none;
}

.vacancies-panel-grey .scroll-down:hover {
    opacity: 0.75;
}

.vacancies-panel-grey .scroll-down img {
    width: 68px;
    height: auto;
    display: block;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-12px); }
    60% { transform: translateY(-6px); }
}

.job-descriptions-panel .job-descriptions-title {
    margin: 0 0 24px 0 !important;
}

.job-applications-panel .job-applications-title {
    margin: 0 0 24px 0 !important;
}

.ccm-block-express-entry-list,
.ccm-page > .container,
.ccm-area {
    margin-top: 0 !important;
}

@media (max-width: 900px) {
    .vacancies-panel-grey {
        height: auto;
        max-height: none;
        min-height: 100dvh;
        padding: 20px 16px 16px;
    }
    .vacancies-panel-grey .work-with-us-title {
        font-size: 2.6rem;
        margin-bottom: 20px;
    }
    .vacancy-pill-grey {
        font-size: 1rem;
        padding: 12px 20px;
    }
    .vacancies-panel-grey .scroll-down img {
        width: 52px;
    }
}

/* Sitewide Header */
.site-header {
    background-color: #000;
    color: #fff;
    padding: 20px 80px;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: transform 0.35s ease;
}

html:not(.ccm-toolbar-visible) .site-header {
    position: fixed;
    z-index: 1000;
}

html:not(.ccm-toolbar-visible) .site-header.header-hidden {
    transform: translateY(-100%);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: relative;
}

.header-nav-left {
    justify-self: stretch;
    display: flex;
    align-items: center;
    width: 100%;
}

.header-nav-left a {
    margin: 0;
}

.header-nav-left a[href="/our-story"] {
    flex-shrink: 0;
}

.header-nav-left a[href="/find-us"] {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-nav a {
    font-family: 'intro_rustbase', sans-serif;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    margin: 0 32px;
    transition: opacity 0.2s ease;
}

.header-nav a:hover {
    opacity: 0.75;
}

.header-logo {
    justify-self: center;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
}

.header-logo a:hover {
    opacity: 0.75;
}

.header-logo .logo-img {
    height: 100px;
    width: auto;
    display: block;
}

.header-logo .logo-text {
    font-family: 'Brush Script MT', 'Segoe Script', cursive;
    font-size: 3.1rem;
    font-weight: 400;
    color: #fff;
    line-height: 1;
}

.header-right {
    justify-self: stretch;
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0;
}

.header-nav-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-nav-right a {
    margin: 0;
}

.header-social {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-social a {
    display: flex;
    line-height: 0;
    transition: opacity 0.2s ease;
}

.header-social a:hover {
    opacity: 0.75;
}

.header-social img {
    height: 30px;
    width: auto;
    display: block;
}

.theme-atomik footer {
  padding-top: 1rem !important;
  padding-bottom: 0rem !important;
  background-color: #ffef5d;
  color: rgba(255,255,255,.6);
}

.ccm-page>div.container {
margin-bottom: 0rem;
}

/* ===== CSA / Job Application Form – Ground branding ===== */
.ccm-page h1,
.ccm-page .page-title {
    font-family: 'intro_rustbase', sans-serif !important;
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
    margin: 40px 0 0px !important;
    color: #000 !important;
}

.ccm-block-express-form,
form.ccm-express-form,
.express-form {
    max-width: 720px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.ccm-block-express-form legend,
.ccm-block-express-form .form-group > label:first-child,
.ccm-express-form fieldset legend,
.ccm-block-express-form h3,
.ccm-block-express-form .card-title {
    font-family: 'intro_rustbase', sans-serif !important;
    font-size: 1.4rem !important;
    text-transform: uppercase;
    color: #000 !important;
    margin-bottom: 20px !important;
    border: none !important;
    display: none;
}

.ccm-block-express-form label,
.ccm-express-form label,
.form-group label {
    font-family: 'glacial_indifferenceregular', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #000 !important;
    margin-bottom: 6px !important;
}

.ccm-block-express-form input[type="text"],
.ccm-block-express-form input[type="email"],
.ccm-block-express-form input[type="tel"],
.ccm-block-express-form input[type="number"],
.ccm-block-express-form input[type="url"],
.ccm-block-express-form input[type="date"],
.ccm-block-express-form select,
.ccm-block-express-form textarea,
.ccm-express-form input,
.ccm-express-form select,
.ccm-express-form textarea,
.form-control {
    font-family: 'glacial_indifferenceregular', sans-serif !important;
    font-size: 1rem !important;
    color: #000 !important;
    background: #fff !important;
    border: 2px solid #000 !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    width: 100% !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.ccm-block-express-form textarea,
.ccm-express-form textarea {
    min-height: 120px;
    resize: vertical;
}

.ccm-block-express-form input:focus,
.ccm-block-express-form select:focus,
.ccm-block-express-form textarea:focus,
.ccm-express-form input:focus,
.ccm-express-form select:focus,
.ccm-express-form textarea:focus,
.form-control:focus {
    outline: none !important;
    border-color: #FFE66D !important;
    box-shadow: 0 0 0 3px rgba(255, 230, 109, 0.35) !important;
}

.ccm-block-express-form .form-group,
.ccm-express-form .form-group,
.mb-3 {
    margin-bottom: 22px !important;
}

.ccm-block-express-form button[type="submit"],
.ccm-block-express-form input[type="submit"],
.ccm-express-form button[type="submit"],
.ccm-express-form .btn-primary,
.ccm-block-express-form .btn {
    font-family: 'intro_rustbase', sans-serif !important;
    font-size: 1.15rem !important;
    font-weight: normal !important;
    text-transform: uppercase !important;
    letter-spacing: 1px;
    color: #000 !important;
    background: #FFE66D !important;
    border: 2px solid #000 !important;
    border-radius: 50px !important;
    padding: 14px 40px !important;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    box-shadow: none !important;
}

.ccm-block-express-form button[type="submit"]:hover,
.ccm-block-express-form .btn:hover,
.ccm-express-form .btn-primary:hover {
    background: #fff !important;
    color: #000 !important;
    transform: translateY(-2px);
}

.ccm-block-express-form .text-muted,
.ccm-block-express-form .required,
.form-group .text-danger {
    color: #000 !important;
}

.no-jobs-message {
    max-width: 720px;
    margin: 40px auto 80px;
    padding: 40px 30px;
    text-align: center;
    background: #FFE66D;
    border-radius: 24px;
    border: 2px solid #000;
}

.no-jobs-message h2 {
    font-family: 'intro_rustbase', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    text-transform: uppercase;
    margin: 0 0 12px 0;
    color: #000;
}

.no-jobs-message p {
    font-family: 'glacial_indifferenceregular', sans-serif;
    font-size: 1.1rem;
    margin: 0 0 10px 0;
    color: #222;
}

.no-jobs-message a {
    color: #000;
    font-weight: 700;
    text-decoration: underline;
}

/* ========== MOBILE ONLY ========== */
.header-hamburger,
.mobile-menu {
    display: none;
}

@media (max-width: 900px) {
    .site-header {
        padding: 18px 16px;
    }
    .header-inner {
        display: flex !important;
        align-items: center;
        justify-content: center !important;
        position: relative;
        min-height: 80px;
    }

    /* Hide desktop navs + socials on mobile only */
    .header-nav-left,
    .header-nav-right,
    .header-social {
        display: none !important;
    }

    /* Hamburger – top left */
    .header-hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1002;
    }
    .header-hamburger span {
        display: block;
        width: 26px;
        height: 2px;
        background: #fff;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }
    .site-header.menu-open .header-hamburger span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .site-header.menu-open .header-hamburger span:nth-child(2) {
        opacity: 0;
    }
    .site-header.menu-open .header-hamburger span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Logo – forced to centre */
    .header-logo {
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        margin: 0 auto !important;
    }
    .header-logo .logo-img {
        height: 72px;
        width: auto;
        display: block;
        margin: 0 auto;
    }

    /* Mobile menu */
    .mobile-menu {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #000;
        flex-direction: column;
        align-items: center;
        padding: 28px 0 32px;
        gap: 24px;
        z-index: 999;
    }
    .site-header.menu-open .mobile-menu {
        display: flex;
    }
    .mobile-menu a {
        font-family: 'intro_rustbase', sans-serif;
        font-size: 22px;
        font-weight: 500;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: #fff;
        text-decoration: none;
        margin: 0;
    }
    .mobile-menu a:hover {
        opacity: 0.75;
    }
}

@media (max-width: 900px) {
    .site-header .header-logo {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        width: auto !important;
    }
    .site-header .header-logo .logo-img {
        height: 72px !important;
        width: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }
}


/* Mobile heading sizes – desktop stays exactly as it is */
@media (max-width: 900px) {
    h1, .h1,
    .work-with-us-title,
    .job-descriptions-title,
    .job-applications-title,
    .hero-content h1 {
        font-size: clamp(2.2rem, 8vw, 3.4rem) !important;
        line-height: 1.1 !important;
    }
    h2, .h2 {
        font-size: clamp(1.8rem, 6.5vw, 2.6rem) !important;
        line-height: 1.15 !important;
    }
    h3, .h3 {
        font-size: clamp(1.5rem, 5.5vw, 2.1rem) !important;
    }
    h4, .h4 {
        font-size: clamp(1.25rem, 4.5vw, 1.7rem) !important;
    }
    h5, .h5 {
        font-size: clamp(1.1rem, 4vw, 1.4rem) !important;
    }
    h6, .h6 {
        font-size: clamp(1rem, 3.5vw, 1.2rem) !important;
    }
}

@media (max-width: 900px) {
    body .our-story-hero .hero-content h1,
    body section.our-story-hero .hero-content h1,
    body .ccm-page .our-story-hero .hero-content h1,
    html .our-story-hero .hero-content h1,
    html section.our-story-hero .hero-content h1,
    html .ccm-page .our-story-hero .hero-content h1 {
        font-size: 48px !important;
        line-height: 1.05 !important;
        letter-spacing: 1px !important;
        margin: 0 0 10px 0 !important;
    }

    body .our-story-hero .hero-content p,
    body section.our-story-hero .hero-content p,
    body .ccm-page .our-story-hero .hero-content p,
    html .our-story-hero .hero-content p,
    html section.our-story-hero .hero-content p,
    html .ccm-page .our-story-hero .hero-content p {
        font-size: 27px !important;
        line-height: 1.35 !important;
    }

    body .our-story-hero .hero-content,
    body section.our-story-hero .hero-content,
    html .our-story-hero .hero-content {
        max-width: 90vw !important;
        width: 90vw !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 600px) {
    body .our-story-hero .hero-content h1,
    body section.our-story-hero .hero-content h1,
    body .ccm-page .our-story-hero .hero-content h1,
    html .our-story-hero .hero-content h1,
    html section.our-story-hero .hero-content h1,
    html .ccm-page .our-story-hero .hero-content h1 {
        font-size: 39px !important;
    }

    body .our-story-hero .hero-content p,
    body section.our-story-hero .hero-content p,
    body .ccm-page .our-story-hero .hero-content p,
    html .our-story-hero .hero-content p,
    html section.our-story-hero .hero-content p,
    html .ccm-page .our-story-hero .hero-content p {
        font-size: 18px !important;
    }
}

@media (max-width: 767px) {
    /* Only target image blocks and raw images */
    .ccm-block-image,
    .ccm-block-image img,
    .ccm-block-image figure,
    img.ccm-image-block,
    figure img {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        display: block;
    }

    /* Remove side padding only from the immediate parent of an image block */
    .ccm-block-image {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 767px) {
    /* Restore original spacing for the Instagram gallery only */
    .ig-gallery,
    .ig-grid {
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .ig-grid a {
        border-radius: 36px !important;   /* keep the rounded corners */
        width: 100% !important;
    }
}

/* Mobile Instagram icon – hidden on desktop */
.mobile-instagram {
    display: none;
}

@media (max-width: 900px) {
    .mobile-instagram {
        display: flex;
        align-items: center;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }
    .mobile-instagram img {
        height: 28px;          /* adjust to match hamburger size */
        width: auto;
        display: block;
    }
    /* Optional: hide the full social group on mobile if it's still visible */
    .header-social {
        display: none;
    }
}

@media (max-width: 900px) {
  /* Remove Bootstrap column gutters site-wide on mobile */
  .row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x)*.0);
  padding-left: calc(var(--bs-gutter-x)*.0);
  margin-top: var(--bs-gutter-y);
}

@media (max-width: 600px) {
  .story-text {
    max-width: 80% !important;
  }
}

}