/* ==========================================================
   Careeribou
   Complete stylesheet
   ========================================================== */


/* ----------------------------------------------------------
   THEME VARIABLES
   ---------------------------------------------------------- */

:root {
    --page-width: 1180px;

    --green: #08783f;
    --green-bright: #0a9a50;
    --green-dark: #056333;

    --bg: #ffffff;
    --bg-alt: #f6f8f6;
    --surface: #ffffff;

    --text: #15201a;
    --text-soft: #5d6861;
    --text-faint: #7d8781;

    --border: #dce3de;
    --border-strong: #c7d0ca;

    --header-bg: rgba(255, 255, 255, 0.96);

    --tag-bg: #eef4f0;
    --tag-text: #405047;

    --dark-panel: #10291c;

    --shadow-small:
        0 1px 2px rgba(13, 31, 20, 0.04),
        0 5px 18px rgba(13, 31, 20, 0.05);

    color-scheme: light;
}


html[data-theme="dark"] {
    --bg: #111512;
    --bg-alt: #161c18;
    --surface: #191f1b;

    --text: #f1f4f2;
    --text-soft: #a9b3ad;
    --text-faint: #7f8a83;

    --border: #2a342e;
    --border-strong: #3a453e;

    --header-bg: rgba(17, 21, 18, 0.96);

    --tag-bg: #222c26;
    --tag-text: #bdc8c1;

    --dark-panel: #0a2316;

    --shadow-small:
        0 1px 2px rgba(0, 0, 0, 0.18),
        0 5px 20px rgba(0, 0, 0, 0.13);

    color-scheme: dark;
}


/* ----------------------------------------------------------
   RESET / GLOBAL
   ---------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    background: var(--bg);
    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    font-size: 16px;
    line-height: 1.55;

    transition:
        background-color 160ms ease,
        color 160ms ease;
}


img {
    display: block;
    max-width: 100%;
}


a {
    color: inherit;
}


button,
input {
    font: inherit;
}


button {
    color: inherit;
}


svg {
    display: block;
}


.sr-only {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}


.page-width {
    width: min(
        calc(100% - 48px),
        var(--page-width)
    );

    margin-inline: auto;
}


/* ----------------------------------------------------------
   HEADER
   ---------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    border-bottom: 1px solid var(--border);

    background: var(--header-bg);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


.header-inner {
    min-height: 82px;

    display: grid;
    grid-template-columns: 220px 1fr auto;

    align-items: center;

    gap: 28px;
}


/* ----------------------------------------------------------
   NAVBAR LOGO
   Keep original size
   ---------------------------------------------------------- */

.brand {
    display: inline-flex;

    width: fit-content;

    text-decoration: none;
}


.brand-logo {
    position: relative;

    display: block;

    width: 172px;
    height: 58px;
}


.brand-logo img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: left center;
}


.brand-logo__dark {
    display: none;
}


html[data-theme="dark"] .brand-logo__light {
    display: none;
}


html[data-theme="dark"] .brand-logo__dark {
    display: block;
}


/* ----------------------------------------------------------
   DESKTOP NAVIGATION
   ---------------------------------------------------------- */

.desktop-nav {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 34px;
}


.desktop-nav a,
.employer-link {
    color: var(--text-soft);

    text-decoration: none;

    font-size: 0.9rem;
    font-weight: 650;

    transition: color 130ms ease;
}


.desktop-nav a:hover,
.employer-link:hover {
    color: var(--text);
}


.header-actions {
    display: flex;

    align-items: center;

    gap: 18px;
}


/* ----------------------------------------------------------
   THEME BUTTON
   ---------------------------------------------------------- */

.theme-toggle {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: var(--surface);

    cursor: pointer;

    transition:
        border-color 150ms ease,
        background-color 150ms ease,
        transform 150ms ease;
}


.theme-toggle:hover {
    border-color: var(--border-strong);

    transform: translateY(-1px);
}


.theme-toggle svg {
    width: 18px;
    height: 18px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.theme-toggle__sun {
    display: block;
}


.theme-toggle__moon {
    display: none;
}


html[data-theme="dark"] .theme-toggle__sun {
    display: none;
}


html[data-theme="dark"] .theme-toggle__moon {
    display: block;
}


/* ----------------------------------------------------------
   MOBILE MENU BUTTON
   ---------------------------------------------------------- */

.mobile-menu-button {
    display: none;

    width: 42px;
    height: 42px;

    padding: 9px;

    border: 0;

    background: transparent;

    cursor: pointer;
}


.mobile-menu-button span {
    display: block;

    width: 22px;
    height: 2px;

    margin: 4px auto;

    background: var(--text);

    transition:
        transform 160ms ease,
        opacity 160ms ease;
}


.mobile-menu-button.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}


.mobile-menu-button.is-open span:nth-child(2) {
    opacity: 0;
}


.mobile-menu-button.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


/* ----------------------------------------------------------
   MOBILE NAVIGATION
   ---------------------------------------------------------- */

.mobile-nav {
    display: none;

    padding:
        8px
        max(24px, calc((100vw - var(--page-width)) / 2))
        22px;

    border-top: 1px solid var(--border);

    background: var(--bg);
}


.mobile-nav.is-open {
    display: grid;
}


.mobile-nav a {
    padding: 13px 0;

    border-bottom: 1px solid var(--border);

    text-decoration: none;

    font-weight: 650;
}


/* ==========================================================
   TOP BODY BRAND / SITE INTRO
   ========================================================== */

.site-intro {
    padding: 42px 0 0;
}


/* ----------------------------------------------------------
   LARGE BODY LOGO
   ---------------------------------------------------------- */

.intro-brand {
    display: flex;

    justify-content: center;
    align-items: center;

    padding: 4px 0 34px;
}


.intro-logo {
    position: relative;

    display: block;

    width: 245px;
    height: 165px;
}


.intro-logo img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;
}


.intro-logo__dark {
    display: none;
}


html[data-theme="dark"] .intro-logo__light {
    display: none;
}


html[data-theme="dark"] .intro-logo__dark {
    display: block;
}


/* ----------------------------------------------------------
   INTRODUCTION COPY
   ---------------------------------------------------------- */

.intro-content {
    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(280px, 0.75fr);

    gap: clamp(42px, 8vw, 110px);

    align-items: end;

    padding: 32px 0 38px;

    border-top: 1px solid var(--border);
}


.intro-primary {
    max-width: 690px;
}


.intro-primary h1 {
    max-width: 650px;

    margin: 0 0 17px;

    color: var(--text);

    font-size: clamp(1.95rem, 3.3vw, 2.85rem);
    line-height: 1.12;

    font-weight: 720;

    letter-spacing: -0.032em;
}


.intro-primary p {
    max-width: 660px;

    margin: 0;

    color: var(--text-soft);

    font-size: 1rem;
    line-height: 1.72;
}


.intro-secondary {
    padding-bottom: 2px;
}


.intro-secondary p {
    max-width: 410px;

    margin: 0 0 20px;

    color: var(--text-soft);

    font-size: 0.91rem;
    line-height: 1.7;
}


.intro-jobs-link {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--green);

    text-decoration: none;

    font-size: 0.9rem;
    font-weight: 750;
}


.intro-jobs-link:hover {
    color: var(--green-dark);
}


.intro-jobs-link span {
    transition: transform 140ms ease;
}


.intro-jobs-link:hover span {
    transform: translateX(3px);
}


/* ----------------------------------------------------------
   QUICK JOB CATEGORY NAV
   ---------------------------------------------------------- */

.quick-categories {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


.quick-categories a {
    min-height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0 14px;

    border-right: 1px solid var(--border);

    color: var(--text-soft);

    text-decoration: none;

    font-size: 0.8rem;
    font-weight: 700;

    transition:
        color 130ms ease,
        background-color 130ms ease;
}


.quick-categories a:last-child {
    border-right: 0;
}


.quick-categories a:hover {
    color: var(--text);

    background: var(--bg-alt);
}


/* ==========================================================
   PRINCIPLES / CURATION POINTS
   ========================================================== */

.principles {
    border-bottom: 1px solid var(--border);

    background: var(--bg-alt);
}


.principles-inner {
    display: grid;

    grid-template-columns: repeat(3, 1fr);
}


.principle {
    min-height: 160px;

    display: grid;

    grid-template-columns: auto 1fr;

    gap: 18px;

    padding: 34px 32px;

    border-right: 1px solid var(--border);
}


.principle:first-child {
    padding-left: 0;
}


.principle:last-child {
    padding-right: 0;

    border-right: 0;
}


.principle-number {
    color: var(--green);

    font-size: 0.72rem;
    font-weight: 850;
}


.principle strong {
    display: block;

    margin-bottom: 8px;

    font-size: 0.98rem;
}


.principle p {
    max-width: 290px;

    margin: 0;

    color: var(--text-soft);

    font-size: 0.88rem;
    line-height: 1.65;
}


/* ==========================================================
   COMMON SECTION STYLES
   ========================================================== */

.jobs-section,
.categories-section,
.about-section {
    padding: 92px 0;
}


.section-kicker {
    margin: 0 0 14px;

    color: var(--green);

    font-size: 0.76rem;
    font-weight: 800;

    letter-spacing: 0.15em;
    text-transform: uppercase;
}


.section-heading {
    display: flex;

    justify-content: space-between;
    align-items: end;

    gap: 40px;

    margin-bottom: 40px;
}


.section-heading h2,
.about-grid h2,
.employer-box h2 {
    margin: 0;

    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    line-height: 1.1;

    font-weight: 720;

    letter-spacing: -0.04em;
}


.section-heading-copy {
    max-width: 400px;

    margin: 0;

    color: var(--text-soft);

    font-size: 0.94rem;
    line-height: 1.7;
}


/* ==========================================================
   JOB TOOLBAR
   ========================================================== */

.job-toolbar {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 24px;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--border);
}


.job-filters {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;
}


.filter-button {
    min-height: 38px;

    padding: 0 13px;

    border: 1px solid transparent;
    border-radius: 4px;

    background: transparent;

    color: var(--text-soft);

    font-size: 0.82rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        color 130ms ease,
        border-color 130ms ease,
        background-color 130ms ease;
}


.filter-button:hover {
    color: var(--text);

    background: var(--bg-alt);
}


.filter-button.active {
    border-color: var(--border-strong);

    background: var(--surface);

    color: var(--text);
}


/* ----------------------------------------------------------
   JOB SEARCH
   ---------------------------------------------------------- */

.job-search {
    width: 230px;

    flex: 0 0 auto;

    display: flex;

    align-items: center;

    gap: 8px;

    min-height: 40px;

    padding: 0 11px;

    border: 1px solid var(--border);
    border-radius: 4px;

    background: var(--surface);
}


.job-search:focus-within {
    border-color: var(--green);
}


.job-search svg {
    width: 16px;
    height: 16px;

    fill: none;

    stroke: var(--text-faint);
    stroke-width: 1.8;
}


.job-search input {
    min-width: 0;

    width: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--text);

    font-size: 0.84rem;
}


.job-search input::placeholder {
    color: var(--text-faint);
}


/* ==========================================================
   JOB LIST
   ========================================================== */

.job-list {
    border-bottom: 1px solid var(--border);
}


.job {
    display: grid;

    grid-template-columns: 52px 1fr auto;

    gap: 22px;

    align-items: start;

    padding: 29px 8px;

    border-bottom: 1px solid var(--border);

    transition:
        background-color 130ms ease,
        padding-left 130ms ease,
        padding-right 130ms ease;
}


.job:last-child {
    border-bottom: 0;
}


.job:hover {
    padding-left: 14px;
    padding-right: 14px;

    background: var(--bg-alt);
}


.job[hidden] {
    display: none;
}


/* ----------------------------------------------------------
   COMPANY MARK
   ---------------------------------------------------------- */

.job-company-mark {
    width: 48px;
    height: 48px;

    display: grid;

    place-items: center;

    border: 1px solid var(--border);
    border-radius: 5px;

    background: var(--surface);

    color: var(--green);

    font-size: 0.74rem;
    font-weight: 850;

    letter-spacing: 0.04em;
}


.job-main {
    min-width: 0;
}


/* ----------------------------------------------------------
   JOB TITLE / COMPANY
   ---------------------------------------------------------- */

.job-topline {
    display: flex;

    justify-content: space-between;

    gap: 20px;
}


.job h3 {
    margin: 0;

    font-size: 1.08rem;
    line-height: 1.35;
}


.job h3 a {
    text-decoration: none;
}


.job h3 a:hover {
    color: var(--green);
}


.company-name {
    margin: 4px 0 0;

    color: var(--text-soft);

    font-size: 0.88rem;
}


.job-age {
    flex: 0 0 auto;

    color: var(--text-faint);

    font-size: 0.75rem;
    font-weight: 650;
}


/* ----------------------------------------------------------
   JOB METADATA
   ---------------------------------------------------------- */

.job-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 9px 18px;

    margin-top: 16px;

    color: var(--text-soft);

    font-size: 0.8rem;
}


.job-meta span {
    position: relative;
}


.job-meta span:not(:last-child)::after {
    content: "";

    position: absolute;

    right: -10px;
    top: 50%;

    width: 2px;
    height: 2px;

    border-radius: 50%;

    background: var(--text-faint);
}


/* ----------------------------------------------------------
   JOB TAGS
   ---------------------------------------------------------- */

.job-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 14px;
}


.job-tags span {
    padding: 4px 8px;

    border-radius: 3px;

    background: var(--tag-bg);

    color: var(--tag-text);

    font-size: 0.71rem;
    font-weight: 650;
}


.job-arrow {
    align-self: center;

    padding-left: 12px;

    color: var(--text-faint);

    font-size: 1.3rem;
}


.job:hover .job-arrow {
    color: var(--green);
}


/* ----------------------------------------------------------
   NO RESULTS
   ---------------------------------------------------------- */

.no-results {
    padding: 50px 0;

    color: var(--text-soft);

    text-align: center;
}


/* ----------------------------------------------------------
   JOB LIST FOOTER
   ---------------------------------------------------------- */

.jobs-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 24px;

    margin-top: 32px;
}


.jobs-footer p {
    margin: 0;

    color: var(--text-faint);

    font-size: 0.76rem;
}


/* ==========================================================
   BUTTONS
   ========================================================== */

.button {
    min-height: 49px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0 21px;

    border: 1px solid transparent;
    border-radius: 5px;

    text-decoration: none;

    font-size: 0.91rem;
    font-weight: 750;

    transition:
        background-color 150ms ease,
        border-color 150ms ease,
        color 150ms ease,
        transform 150ms ease;
}


.button:hover {
    transform: translateY(-1px);
}


.button-primary {
    background: var(--green);

    color: #ffffff;
}


.button-primary:hover {
    background: var(--green-dark);
}


.button-secondary {
    border-color: var(--border-strong);

    background: var(--surface);

    color: var(--text);
}


.button-secondary:hover {
    border-color: var(--text-faint);
}


.button-light {
    background: #ffffff;

    color: #143621;
}


/* ==========================================================
   CATEGORIES
   ========================================================== */

.categories-section {
    background: var(--bg-alt);
}


.category-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}


.category-card {
    min-height: 270px;

    display: flex;

    flex-direction: column;

    padding: 30px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    background: var(--surface);

    text-decoration: none;

    transition:
        background-color 140ms ease,
        transform 140ms ease;
}


.category-card:hover {
    background: var(--bg);
}


.category-index {
    margin-bottom: 52px;

    color: var(--green);

    font-size: 0.72rem;
    font-weight: 850;
}


.category-card h3 {
    margin: 0 0 10px;

    font-size: 1.35rem;

    letter-spacing: -0.025em;
}


.category-card p {
    max-width: 440px;

    margin: 0;

    color: var(--text-soft);

    font-size: 0.9rem;
    line-height: 1.65;
}


.category-link {
    margin-top: auto;

    padding-top: 26px;

    color: var(--text);

    font-size: 0.82rem;
    font-weight: 750;
}


/* ==========================================================
   ABOUT
   ========================================================== */

.about-grid {
    display: grid;

    grid-template-columns: 1fr 0.82fr;

    gap: clamp(50px, 10vw, 140px);
}


.about-copy {
    color: var(--text-soft);

    font-size: 1rem;
    line-height: 1.8;
}


.about-copy p {
    margin: 0 0 23px;
}


/* ==========================================================
   EMPLOYER SECTION
   ========================================================== */

.employer-section {
    padding: 0 0 92px;
}


.employer-box {
    display: grid;

    grid-template-columns: 1fr auto;

    gap: 70px;

    align-items: end;

    padding: 58px 62px;

    border-radius: 8px;

    background: var(--dark-panel);

    color: #ffffff;
}


.employer-box .section-kicker {
    color: #67d496;
}


.employer-box h2 {
    max-width: 680px;
}


.employer-box p {
    max-width: 650px;

    margin: 18px 0 0;

    color: #b8c9bf;

    font-size: 0.92rem;
    line-height: 1.7;
}


.employer-action {
    display: grid;

    gap: 12px;

    min-width: 180px;
}


.employer-action span {
    color: #8fa299;

    font-size: 0.7rem;

    text-align: center;
}


/* ==========================================================
   FOOTER
   ========================================================== */

.site-footer {
    padding: 42px 0;

    border-top: 1px solid var(--border);
}


.footer-inner {
    display: grid;

    grid-template-columns: 1fr auto auto;

    align-items: center;

    gap: 52px;
}


.footer-brand {
    display: grid;

    gap: 3px;
}


.footer-brand strong {
    color: var(--green);

    font-size: 1rem;
}


.footer-brand span,
.footer-copy {
    color: var(--text-faint);

    font-size: 0.75rem;
}


.footer-nav {
    display: flex;

    gap: 22px;
}


.footer-nav a {
    color: var(--text-soft);

    text-decoration: none;

    font-size: 0.8rem;
    font-weight: 650;
}


.footer-nav a:hover {
    color: var(--text);
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 950px) {

    .desktop-nav,
    .employer-link {
        display: none;
    }


    .mobile-menu-button {
        display: block;
    }


    .header-inner {
        grid-template-columns: 1fr auto;
    }


    /* Intro */

    .site-intro {
        padding-top: 34px;
    }


    .intro-brand {
        padding-bottom: 30px;
    }


    .intro-logo {
        width: 220px;
        height: 150px;
    }


    .intro-content {
        grid-template-columns: 1fr;

        gap: 24px;

        padding: 28px 0 34px;
    }


    .intro-primary {
        max-width: 720px;
    }


    .intro-secondary {
        max-width: 620px;
    }


    .quick-categories {
        grid-template-columns: repeat(3, 1fr);
    }


    .quick-categories a:nth-child(3) {
        border-right: 0;
    }


    .quick-categories a:nth-child(n + 4) {
        border-top: 1px solid var(--border);
    }


    /* Principles */

    .principles-inner {
        grid-template-columns: 1fr;
    }


    .principle {
        min-height: auto;

        padding: 27px 0;

        border-right: 0;
        border-bottom: 1px solid var(--border);
    }


    .principle:first-child {
        padding-left: 0;
    }


    .principle:last-child {
        padding-right: 0;

        border-bottom: 0;
    }


    /* Section headings */

    .section-heading {
        align-items: start;

        flex-direction: column;
    }


    /* Jobs toolbar */

    .job-toolbar {
        align-items: stretch;

        flex-direction: column;
    }


    .job-search {
        width: 100%;
    }


    /* About */

    .about-grid {
        grid-template-columns: 1fr;

        gap: 38px;
    }


    /* Employer */

    .employer-box {
        grid-template-columns: 1fr;

        gap: 36px;
    }


    .employer-action {
        width: fit-content;
    }


    /* Footer */

    .footer-inner {
        grid-template-columns: 1fr;

        gap: 22px;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 650px) {

    .page-width {
        width: min(
            calc(100% - 30px),
            var(--page-width)
        );
    }


    /* ------------------------------------------------------
       Header
       ------------------------------------------------------ */

    .header-inner {
        min-height: 70px;
    }


    /*
       Navbar logo remains the same mobile size
       from the original stylesheet.
    */

    .brand-logo {
        width: 145px;
        height: 50px;
    }


    .header-actions {
        gap: 5px;
    }


    /* ------------------------------------------------------
       Intro logo
       ------------------------------------------------------ */

    .site-intro {
        padding-top: 22px;
    }


    .intro-brand {
        padding: 2px 0 24px;
    }


    .intro-logo {
        width: 185px;
        height: 128px;
    }


    /* ------------------------------------------------------
       Intro content
       ------------------------------------------------------ */

    .intro-content {
        padding: 24px 0 28px;
    }


    .intro-primary h1 {
        max-width: 520px;

        margin-bottom: 14px;

        font-size: clamp(1.7rem, 7vw, 2.15rem);
        line-height: 1.14;

        letter-spacing: -0.025em;
    }


    .intro-primary p {
        font-size: 0.94rem;
        line-height: 1.68;
    }


    .intro-secondary p {
        font-size: 0.87rem;
        line-height: 1.67;
    }


    /* ------------------------------------------------------
       Quick categories
       ------------------------------------------------------ */

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


    .quick-categories a {
        min-height: 52px;

        justify-content: flex-start;

        padding: 0 14px;

        font-size: 0.76rem;
    }


    .quick-categories a:nth-child(odd) {
        border-right: 1px solid var(--border);
    }


    .quick-categories a:nth-child(even) {
        border-right: 0;
    }


    .quick-categories a:nth-child(n + 3) {
        border-top: 1px solid var(--border);
    }


    /* Last odd item spans naturally on left side */

    .quick-categories a:last-child:nth-child(odd) {
        border-right: 1px solid var(--border);
    }


    /* ------------------------------------------------------
       Main sections
       ------------------------------------------------------ */

    .jobs-section,
    .categories-section,
    .about-section {
        padding: 66px 0;
    }


    .section-heading {
        margin-bottom: 30px;
    }


    .section-heading h2,
    .about-grid h2,
    .employer-box h2 {
        font-size: clamp(1.65rem, 7vw, 2.15rem);
    }


    /* ------------------------------------------------------
       Job filters
       ------------------------------------------------------ */

    .job-filters {
        flex-wrap: nowrap;

        margin-inline: -15px;

        padding-inline: 15px;
        padding-bottom: 5px;

        overflow-x: auto;

        scrollbar-width: none;
    }


    .job-filters::-webkit-scrollbar {
        display: none;
    }


    .filter-button {
        white-space: nowrap;
    }


    /* ------------------------------------------------------
       Job listing
       ------------------------------------------------------ */

    .job {
        grid-template-columns: 42px 1fr;

        gap: 15px;

        padding: 24px 0;
    }


    .job:hover {
        padding-left: 0;
        padding-right: 0;
    }


    .job-company-mark {
        width: 42px;
        height: 42px;
    }


    .job-arrow {
        display: none;
    }


    .job-topline {
        gap: 10px;
    }


    .job-age {
        font-size: 0.68rem;
    }


    .job-meta {
        display: grid;

        gap: 4px;
    }


    .job-meta span::after {
        display: none;
    }


    .jobs-footer {
        align-items: flex-start;

        flex-direction: column;
    }


    /* ------------------------------------------------------
       Categories
       ------------------------------------------------------ */

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


    .category-card {
        min-height: 235px;

        padding: 25px;
    }


    .category-index {
        margin-bottom: 40px;
    }


    /* ------------------------------------------------------
       Employer
       ------------------------------------------------------ */

    .employer-section {
        padding-bottom: 66px;
    }


    .employer-box {
        padding: 38px 27px;
    }


    /* ------------------------------------------------------
       Footer
       ------------------------------------------------------ */

    .footer-nav {
        flex-wrap: wrap;
    }

}


/* ==========================================================
   VERY SMALL MOBILE
   ========================================================== */

@media (max-width: 400px) {

    .brand-logo {
        width: 135px;
        height: 48px;
    }


    .intro-logo {
        width: 170px;
        height: 118px;
    }


    .quick-categories {
        grid-template-columns: 1fr;
    }


    .quick-categories a {
        border-right: 0 !important;
        border-top: 1px solid var(--border);
    }


    .quick-categories a:first-child {
        border-top: 0;
    }


    .job {
        grid-template-columns: 38px 1fr;

        gap: 12px;
    }


    .job-company-mark {
        width: 38px;
        height: 38px;

        font-size: 0.68rem;
    }

}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}
