/* Page-specific styles for this case study.
   This page carries no page CSS at all, only the live theme's linked
   stylesheets plus its own two inline <style> blocks for the hero/stat-chip
   case-study template. The shared HEADER markup (.btn-box/.mob-btn-box, the
   Post Your Vacancy / Franchise Inquiry / Job Seekers buttons) is the same
   NitroPack-per-page-critical-CSS gap found and fixed on ARACOM-178's page:
   neither .btn-box nor Gotham's @font-face is in any linked stylesheet, so
   the header buttons render as a stacked background image + icon/label
   instead of one overlapped button (confirmed via screenshot: the CI job's
   own staging run shows exactly this). Same fix, same measured values,
   reused verbatim — this is the sitewide header component, not specific to
   either page's template. */

.btn-box {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.btn-icon {
    position: absolute;
    left: 0;
    z-index: 1;
}

.btn-text {
    color: #fff;
    position: absolute;
    z-index: 1;
    left: 50px;
    top: 6px;
}

.btn-box.tablet-btn {
    display: none;
}

.btn-box img {
    width: revert-layer;
}

@media (min-width: 992px) and (max-width: 1250px) {
    .btn-text {
        object-fit: contain;
        width: 38px;
        left: 31px;
        top: 4px;
    }
    .btn-box {
        display: none;
    }
    .btn-box.tablet-btn {
        display: block;
    }
}

.mob-btn-box {
    position: relative;
    max-width: 167px;
    font-family: outfit;
}

.mob-btn-box .mob-btn-icon {
    position: absolute;
    left: 0;
    z-index: 2;
    width: auto;
}

.mob-btn-box .mob-btn-text {
    color: #fff;
    position: absolute;
    left: 48px;
    top: calc(50% - 14px);
    font-size: 14px;
    z-index: 2;
    font-weight: 500;
}

/* Self-hosted Gotham: same CORS gap as ARACOM-178 (the live site's .otf
   files are cross-origin from this host, so the browser blocks them and
   silently falls back to the default sans-serif). This page's own inline
   <style> block already sets font-family:Gotham sitewide (body{...}), so
   without this the whole page silently renders in the fallback font. */
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ARACOM-224: the frozen header markup carries two GTranslate widget
   wrappers (.flag-icons.translator-mains, one in the top contact bar, one
   in the mobile nav row). On the live site these collapse to zero size by
   design (the language switcher is not shown) via rules this page doesn't
   otherwise inherit, so they rendered as two full-size dropdown boxes
   instead. Match the live site's collapsed state directly. */
.main-header .flag-icons.translator-mains {
    width: 0;
    height: 0;
    overflow: hidden;
}
