/* ============================================================
   CAREER GUIDE INDEX
   Cleaned, consolidated and responsive version
   ============================================================ */

/* ============================================================
   1. ROOT / DESIGN TOKENS
   ============================================================ */

:root {
    --cgi-green-1: #16a34a;
    --cgi-green-2: #65a30d;
    --cgi-emerald: #059669;
    --cgi-teal: #14b8a6;
    --cgi-blue: #2563eb;
    --cgi-cyan: #06b6d4;
    --cgi-amber: #f59e0b;
    --cgi-orange: #f97316;
    --cgi-violet: #8b5cf6;
    --cgi-ink: #0f172a;
    --cgi-text: #475569;
    --cgi-muted: #64748b;
    --cgi-border: rgba(15, 23, 42, 0.08);
    --cgi-border-soft: rgba(148, 163, 184, 0.22);
    --cgi-surface: #ffffff;
    --cgi-surface-soft: #f8fafc;
    --cgi-shadow: 0 14px 40px -22px rgba(15, 23, 42, 0.35);
    --cgi-shadow-card: 0 0 25px rgba(15, 23, 42, 0.14);
    --cgi-radius-sm: 10px;
    --cgi-radius-md: 12px;
    --cgi-radius-lg: 18px;
    --cgi-radius-xl: 20px;
}


/* ============================================================
   2. GENERAL PAGE
   ============================================================ */

main[role="main"] {
    background: linear-gradient( 135deg, rgba(255, 209, 148, 0.21) 0%, rgba(112, 225, 245, 0.32) 100% ) !important;
}


/* ============================================================
   3. REVEAL ANIMATION
   ============================================================ */

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(.2, .7, .2, 1), transform 0.7s cubic-bezier(.2, .7, .2, 1);
    will-change: opacity, transform;
}

    [data-reveal].is-visible {
        opacity: 1;
        transform: translateY(0);
    }


/* ============================================================
   4. HERO
   ============================================================ */

.cg-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 4rem 0 6rem;
    color: #fff;
    background: linear-gradient( 135deg, #042f2e 0%, #064e3b 45%, #0c4a6e 100% );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.45);
}

    .cg-hero .container,
    .cg-body.container {
        max-width: 1360px;
    }


/* Hero decorative background */

.cg-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}


/* Blobs */

.cg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    animation: cgBlob 18s ease-in-out infinite;
}

.cg-blob--1 {
    width: 380px;
    height: 380px;
    top: -120px;
    left: -90px;
    background: radial-gradient( circle, var(--cgi-emerald), transparent 70% );
}

.cg-blob--2 {
    width: 480px;
    height: 480px;
    right: -130px;
    bottom: -200px;
    background: radial-gradient( circle, var(--cgi-teal), transparent 70% );
    animation-delay: -5s;
}

.cg-blob--3 {
    width: 310px;
    height: 310px;
    top: 25%;
    left: 50%;
    background: radial-gradient( circle, rgba(227, 246, 92, 0.31), transparent 70% );
    animation-delay: -10s;
}

@keyframes cgBlob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(45px, -35px) scale(1.08);
    }

    66% {
        transform: translate(-35px, 30px) scale(0.94);
    }
}


/* Decorative hero grid
   Scoped under .cg-hero so it does not collide with #cgGrid.
*/

.cg-hero .cg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient( rgba(255, 255, 255, 0.05) 1px, transparent 1px ), linear-gradient( 90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px );
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient( circle at 50% 40%, #000 30%, transparent 75% );
    mask-image: radial-gradient( circle at 50% 40%, #000 30%, transparent 75% );
}


/* Floating hero icons */

.cg-float {
    position: absolute;
    color: rgba(255, 255, 255, 0.22);
    font-size: 1.6rem;
    animation: cgFloat 12s ease-in-out infinite;
}

.cg-float--1 {
    top: 22%;
    left: 10%;
    font-size: 1.9rem;
}

.cg-float--2 {
    top: 32%;
    right: 14%;
    animation-delay: -3s;
}

.cg-float--3 {
    top: 60%;
    left: 18%;
    font-size: 1.7rem;
    animation-delay: -6s;
}

.cg-float--4 {
    top: 70%;
    right: 22%;
    animation-delay: -9s;
}

@keyframes cgFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.22;
    }

    50% {
        transform: translateY(-14px) rotate(10deg);
        opacity: 0.42;
    }
}


/* Hero content */

.cg-hero__inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.cg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    animation: cgChipIn 0.6s both;
}

.cg-title {
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(2.1rem, 4.8vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
}

.cg-title__text {
    background: linear-gradient( 135deg, #fff 30%, rgba(255, 255, 255, 0.75) );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cg-title__accent {
    background: linear-gradient( 135deg, #84cc16, #14b8a6 );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cg-title__underline {
    display: block;
    width: 110px;
    height: 4px;
    margin: 1rem auto 0;
    border-radius: 999px;
    background: linear-gradient( 90deg, #84cc16, #14b8a6, #2563eb );
    transform-origin: center;
    animation: cgLine 1.2s ease forwards;
}

@keyframes cgLine {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.cg-tagline {
    max-width: 64ch;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.6;
}

.cg-hero__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}


/* Hero stat boxes */

.cg-mini {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 170px;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.cg-mini__icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    border-radius: 10px;
    background: linear-gradient( 135deg, #16a34a, #65a30d );
    color: #fff;
    font-size: 0.98rem;
    box-shadow: 0 8px 18px -10px rgba(22, 163, 74, 0.60);
}

.cg-mini__icon--blue {
    background: linear-gradient( 135deg, #2563eb, #06b6d4 );
    box-shadow: 0 8px 18px -10px rgba(37, 99, 235, 0.55);
}

.cg-mini__icon--amber {
    background: linear-gradient( 135deg, #f59e0b, #f97316 );
    box-shadow: 0 8px 18px -10px rgba(245, 158, 11, 0.55);
}

.cg-mini__value {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1;
}

.cg-mini__label {
    margin-top: 0.15rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.78rem;
}

@keyframes cgChipIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================================================
   5. BODY
   ============================================================ */

.cg-body {
    position: relative;
    z-index: 2;
    margin-top: -3rem;
    padding-bottom: 4rem;
}


/* ============================================================
   6. TOOLBAR / FILTERS
   ============================================================ */

.cg-toolbar {
    margin-bottom: 1.5rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--cgi-border);
    border-radius: var(--cgi-radius-lg);
    background: #fff;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.45);
}

.cg-toolbar__form {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.65rem;
}

.cg-field {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}

    .cg-field > i {
        position: absolute;
        left: 0.9rem;
        z-index: 1;
        color: var(--cgi-muted);
        font-size: 1rem;
        pointer-events: none;
    }

    .cg-field .form-control,
    .cg-field .form-select {
        width: 100%;
        height: 44px;
        padding-left: 2.3rem;
        border: 1px solid #e2e8f0;
        border-radius: var(--cgi-radius-md);
        background: #f8fafc;
        transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    }

        .cg-field .form-control:focus,
        .cg-field .form-select:focus {
            border-color: rgba(22, 163, 74, 0.45);
            background: #fff;
            box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
        }

.cg-toolbar__reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 44px;
    padding: 0.55rem 0.85rem;
    border: 1px solid #fecaca;
    border-radius: var(--cgi-radius-md);
    background: #fef2f2;
    color: #dc2626;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

    .cg-toolbar__reset:hover {
        background: #fee2e2;
        color: #b91c1c;
        transform: translateY(-1px);
        box-shadow: 0 7px 18px -14px rgba(220, 38, 38, 0.65);
    }

.cg-toolbar__active {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--cgi-border);
    color: var(--cgi-muted);
    font-size: 0.9rem;
}

    .cg-toolbar__active i {
        color: var(--cgi-green-1);
    }

    .cg-toolbar__active strong {
        color: var(--cgi-ink);
    }


/* ============================================================
   7. JOB GRID
   ============================================================ */

#cgGrid.cg-grid {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 3rem 1.5rem;
    background: none;
    -webkit-mask-image: none;
    mask-image: none;
}


/* ============================================================
   8. JOB CARD
   ============================================================ */

.cg-card {
    position: relative;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    transition: transform 0.3s ease;
}

    .cg-card::before {
        display: none;
    }

    .cg-card:hover {
        transform: translateY(-6px);
    }


/* Card image */

.cg-job-card__image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid var(--cgi-border-soft);
    border-radius: 0.8rem;
    background: linear-gradient( 135deg, #e2e8f0 0%, #f8fafc 100% );
    box-shadow: 0 14px 26px -22px rgba(15, 23, 42, 0.35);
}

    .cg-job-card__image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.cg-card:hover .cg-job-card__image img {
    transform: scale(1.08);
}


/* Generic card media support */

.cg-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    margin-bottom: 0.9rem;
    overflow: hidden;
    border: 1px solid var(--cgi-border-soft);
    border-radius: 0.95rem;
    background: linear-gradient( 135deg, #e2e8f0 0%, #f8fafc 100% );
}

    .cg-card__media img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.cg-card__media--cover {
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
}

    .cg-card__media--cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.cg-card__media-placeholder {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--cgi-muted);
    font-size: 0.82rem;
    font-weight: 700;
}


/* Card body */

.cg-job-card__body {
    position: relative;
    z-index: 2;
    width: calc(100% - 3.75rem);
    margin: -6.25rem auto 0;
    padding: 3.15rem 1.9rem 1.35rem;
    border: 1px solid var(--cgi-border);
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--cgi-shadow-card);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.cg-card:hover .cg-job-card__body {
    border-color: rgba(22, 163, 74, 0.16);
    box-shadow: 0 18px 38px -20px rgba(15, 23, 42, 0.30);
}


/* Center icon */

.cg-job-card__icon {
    position: absolute;
    top: 0;
    left: 50%;
    width: 72px;
    height: 72px;
    margin-top: -2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 6px solid #fff;
    border-radius: 999px;
    background: linear-gradient( 135deg, #16a34a, #14b8a6 );
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 10px 22px -14px rgba(22, 163, 74, 0.90);
    transform: translateX(-50%);
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.cg-card:hover .cg-job-card__icon {
    border: 2px solid var(--cgi-green-1);
    background: #fff;
    color: var(--cgi-green-1);
    box-shadow: 0 12px 28px -14px rgba(22, 163, 74, 0.70);
    transform: translateX(-50%) translateY(-2px) scale(1.05);
}


/* Card glow */

.cg-card__glow {
    position: absolute;
    top: -40%;
    right: -30%;
    z-index: -1;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient( circle, rgba(20, 184, 166, 0.18), transparent 70% );
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cg-card:hover .cg-card__glow,
.cg-card:focus-within .cg-card__glow {
    opacity: 1;
}


/* Card header */

.cg-card__head {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
}

.cg-card__sector {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    background: linear-gradient( 135deg, #ecfdf5, #f0fdfa );
    color: #047857;
    font-size: 0.76rem;
    font-weight: 700;
}

    .cg-card__sector i {
        color: var(--cgi-green-1);
    }

.cg-card__time {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--cgi-muted);
    font-size: 0.78rem;
    font-weight: 600;
}


/* Card text */

.cg-card__title {
    margin: 0 0 0.45rem;
    color: var(--cgi-ink);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    transition: color 0.25s ease;
}

.cg-card:hover .cg-card__title {
    color: var(--cgi-green-1);
}

.cg-card__desc {
    display: -webkit-box;
    margin: 0 0 1rem;
    overflow: hidden;
    color: var(--cgi-text);
    font-size: 0.9rem;
    line-height: 1.55;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}


/* ============================================================
   9. CAREER STEPS
   ============================================================ */

.cg-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

    .cg-steps::before {
        content: "";
        position: absolute;
        top: 14px;
        left: 12%;
        right: 12%;
        z-index: 0;
        height: 2px;
        background: repeating-linear-gradient( 90deg, #cbd5e1 0 6px, transparent 6px 12px );
    }

.cg-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
}

.cg-step__dot {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #94a3b8;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 4px 12px -6px rgba(15, 23, 42, 0.40);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cg-step--start .cg-step__dot {
    background: linear-gradient( 135deg, #16a34a, #65a30d );
}

.cg-step--mid .cg-step__dot {
    background: linear-gradient( 135deg, #2563eb, #06b6d4 );
}

.cg-step--adv .cg-step__dot {
    background: linear-gradient( 135deg, #f59e0b, #ec4899 );
}

.cg-card:hover .cg-step__dot {
    transform: scale(1.08);
}

.cg-step__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.2;
}

.cg-step__stage {
    color: var(--cgi-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cg-step__role {
    color: var(--cgi-ink);
    font-size: 0.82rem;
    font-weight: 700;
}


/* ============================================================
   10. AUDIENCE
   ============================================================ */

.cg-card__audience {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0 auto 0.85rem;
    padding: 0.35rem 0.65rem;
    border-radius: 10px;
    background: #f1f5f9;
    color: var(--cgi-text);
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

    .cg-card__audience i {
        color: var(--cgi-blue);
    }


/* ============================================================
   11. CARD FOOTER / BUTTONS
   ============================================================ */

.cg-card__foot {
    display: flex;
    justify-content: center;
}

.cg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cg-btn--primary {
    background: linear-gradient( 135deg, #16a34a, #15803d );
    color: #fff;
    box-shadow: 0 10px 22px -12px rgba(22, 163, 74, 0.60);
}

    .cg-btn--primary:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 14px 28px -12px rgba(22, 163, 74, 0.75);
    }

    .cg-btn--primary i {
        transition: transform 0.2s ease;
    }

    .cg-btn--primary:hover i {
        transform: translateX(3px);
    }

.cg-btn--ghost {
    border-color: rgba(22, 163, 74, 0.30);
    background: #fff;
    color: var(--cgi-green-1);
}

    .cg-btn--ghost:hover {
        background: rgba(22, 163, 74, 0.06);
        color: #15803d;
        transform: translateY(-2px);
    }


/* ============================================================
   12. EMPTY STATE
   ============================================================ */

.cg-empty {
    padding: 3rem 1.5rem;
    border: 1px dashed var(--cgi-border);
    border-radius: var(--cgi-radius-lg);
    background: #fff;
    text-align: center;
    box-shadow: var(--cgi-shadow);
}

.cg-empty__icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 18px;
    background: linear-gradient( 135deg, #ecfdf5, #f0fdfa );
    color: var(--cgi-green-1);
    font-size: 1.6rem;
}

.cg-empty h4 {
    margin-bottom: 0.25rem;
    color: var(--cgi-ink);
    font-weight: 800;
}

.cg-empty p {
    margin-bottom: 1rem;
    color: var(--cgi-muted);
}

.cg-empty--search {
    margin-top: 1.5rem;
}


/* ============================================================
   13. PAGINATION
   ============================================================ */

.cg-pagination-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.cg-pagination-meta {
    color: var(--cgi-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.cg-pagination .pagination {
    gap: 0.35rem;
}

.cg-pagination .page-link {
    min-width: 42px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 0.75rem;
    background: #fff;
    color: var(--cgi-ink);
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

    .cg-pagination .page-link:hover {
        border-color: rgba(22, 163, 74, 0.30);
        background: #f0fdf4;
        color: var(--cgi-green-1);
        transform: translateY(-1px);
    }

.cg-pagination .page-item.active .page-link {
    border-color: transparent;
    background: linear-gradient( 135deg, #0ea5e9 0%, #22c55e 100% );
    color: #fff;
}

.cg-pagination .page-item.disabled .page-link {
    background: #f8fafc;
    color: #94a3b8;
    box-shadow: none;
}


/* ============================================================
   14. RESPONSIVE
   ============================================================ */

@media (max-width: 1199.98px) {

    #cgGrid.cg-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cg-job-card__body {
        width: calc(100% - 2.75rem);
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}


@media (max-width: 991.98px) {

    .cg-hero {
        padding: 3.5rem 0 5.5rem;
    }

    .cg-toolbar__form {
        grid-template-columns: 1fr 1fr;
    }

    .cg-toolbar__reset {
        grid-column: 1 / -1;
        width: 100%;
    }

    .cg-job-card__body {
        width: calc(100% - 2.5rem);
    }
}


@media (max-width: 767.98px) {

    .cg-hero {
        padding: 3rem 0 5rem;
    }

    .cg-title {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    .cg-tagline {
        font-size: 0.98rem;
    }

    .cg-toolbar {
        padding: 0.9rem;
    }

    .cg-toolbar__form {
        grid-template-columns: 1fr;
    }

    .cg-toolbar__reset {
        grid-column: auto;
    }

    #cgGrid.cg-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem 1rem;
    }

    .cg-mini {
        min-width: 0;
        flex: 1 1 100%;
    }

    .cg-job-card__body {
        width: calc(100% - 2.5rem);
        margin-top: -5rem;
        padding: 3rem 1.25rem 1.25rem;
    }

    .cg-job-card__icon {
        width: 66px;
        height: 66px;
        margin-top: -2rem;
    }

    .cg-card__title {
        font-size: 1.08rem;
    }

    .cg-card__desc {
        font-size: 0.86rem;
    }

    .cg-step__role {
        font-size: 0.76rem;
    }
}


@media (max-width: 575.98px) {

    .cg-body {
        margin-top: -2rem;
        padding-bottom: 3rem;
    }

    .cg-hero__stats {
        gap: 0.55rem;
    }

    .cg-job-card__body {
        width: calc(100% - 1.5rem);
        margin-top: -4rem;
        padding: 2.8rem 1rem 1.1rem;
    }

    .cg-card__head {
        gap: 0.3rem;
    }

    .cg-card__sector {
        font-size: 0.72rem;
    }

    .cg-steps {
        gap: 0.2rem;
    }

    .cg-step__dot {
        width: 26px;
        height: 26px;
        font-size: 0.74rem;
    }

    .cg-step__stage {
        font-size: 0.62rem;
    }

    .cg-step__role {
        font-size: 0.7rem;
    }

    .cg-btn {
        width: 100%;
    }
}


/* ============================================================
   15. ACCESSIBILITY / REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
    }

    .cg-blob,
    .cg-float,
    .cg-eyebrow,
    .cg-title__underline,
    .cg-step__dot {
        animation: none !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .cg-card,
    .cg-job-card__image img,
    .cg-job-card__icon,
    .cg-btn,
    .cg-pagination .page-link {
        transition: none !important;
    }
}

