html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

.wrapper-sticky-fixed {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#masthead {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
}

.elementor-66 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.elementor-66 .elementor-element-a21c1f4 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

.elementor-66 .elementor-element-780cc78 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.elementor-66 .elementor-element-7d1d6b9 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.elementor-66 .elementor-element-3b3c11e {
    max-width: 100% !important;
}

/* Stop Elementor's generated sticky inline width */
.wrapper-sticky-fixed[style] {
    width: 100% !important;
    max-width: 100vw !important;
}

/* Stop the sticky header itself inheriting the oversized width */
.elementor-66 .jkit-sticky-element--enabled {
    width: 100% !important;
    max-width: 100vw !important;
}

/* =========================================
   CITY HR STICKY HEADER
   ========================================= */

.cityhr-header {
    width: 100% !important;
    background: #ffffff;
    font-family: "Urbanist", sans-serif;
    position: sticky;
    top: 0;
    z-index: 99999;

    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.cityhr-header * {
    box-sizing: border-box;
}

.cityhr-header-inner {
    width: 100%;
    max-width: 1216px;
    min-height: 95px;

    margin: 0 auto;
    padding: 0 30px;
    padding-top: 20px !important;
    padding-bottom: 20px !important;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================
   LOGO
   ========================================= */

.cityhr-header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.cityhr-header-logo a {
    display: block;
    line-height: 0;
}

.cityhr-header-logo img {
    display: block;
    width: 230px !important;
    height: auto;
}


/* =========================================
   DESKTOP NAV
   ========================================= */

.cityhr-header-nav {
    display: flex;
    align-items: center;
}

.cityhr-header-nav ul {
    display: flex;
    align-items: center;
    gap: 5px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.cityhr-header-nav li {
    margin: 0;
    padding: 0;
}

.cityhr-header-nav a {
    display: block;

    padding: 15px !important;
    padding-top: 25px !important;

    color: #1D1D1D;
    text-decoration: none;
    text-transform: uppercase;

    font-size: 19px !important;
    font-weight: 800 !important;
    line-height: 1;

    transition: color 0.25s ease;
}

.cityhr-header-nav a:hover {
    color: #92C033;
}


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

.cityhr-menu-button {
    display: none;

    width: 45px;
    height: 45px;

    padding: 0 !important;
    margin: 0;

    border: 0 !important;
    outline: none !important;

    background: transparent !important;

    cursor: pointer;

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

.cityhr-menu-icon {
    width: 27px;
    height: 20px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cityhr-menu-icon span {
    display: block;

    width: 100%;
    height: 2px;

    background: #90BE34 !important;

    border-radius: 3px;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


/* =========================================
   HAMBURGER → X
   ========================================= */

.cityhr-menu-button.active .cityhr-menu-icon span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.cityhr-menu-button.active .cityhr-menu-icon span:nth-child(2) {
    opacity: 0;
}

.cityhr-menu-button.active .cityhr-menu-icon span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


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

.cityhr-mobile-menu {
    display: none;

    width: 100%;

    background: transparent !important;

    border-top: none !important;

    box-shadow: none !important;

    overflow: hidden;

    max-height: 0;
    opacity: 0;
    visibility: hidden;

    transition:
        max-height 0.35s ease,
        opacity 0.25s ease,
        visibility 0.35s ease;
}

.cityhr-mobile-menu.active {
    max-height: 500px;

    opacity: 1;

    visibility: visible;
}

.cityhr-mobile-menu ul {
    list-style: none;

    margin: 0;

    padding: 8px 25px 18px;

    background: transparent !important;
}

.cityhr-mobile-menu li {
    margin: 0;
    padding: 0;

    border-bottom: 1px solid rgba(144,190,52,0.25);
}

.cityhr-mobile-menu li:last-child {
    border-bottom: none;
}

.cityhr-mobile-menu a {
    display: block;

    padding: 17px 5px;

    color: #1D1D1D;

    text-decoration: none;
    text-transform: uppercase;

    font-size: 17px;
    font-weight: 700;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.cityhr-mobile-menu a:hover {
    color: #90BE34;

    padding-left: 10px;
}


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

@media (max-width: 1024px) {

    .cityhr-header-inner {
        min-height: 80px;
        padding: 0 25px;
    }

    .cityhr-header-logo img {
        width: 175px !important;
    }

    .cityhr-header-nav {
        display: none;
    }

    .cityhr-menu-button {
        display: flex;
    }

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


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

@media (max-width: 767px) {

    /* TRANSPARENT MOBILE HEADER
       WITH BOTTOM DROP SHADOW */

    .cityhr-header {
        background: transparent !important;

        box-shadow:
            0 5px 15px rgba(0,0,0,0.16) !important;
    }

    .cityhr-header-inner {
        min-height: 72px;

        padding: 0 20px;
        padding-top: 20px !important;
        padding-bottom: 20px !important;

        background: transparent !important;
    }

    .cityhr-header-logo img {
        width: 150px !important;
    }

    .cityhr-menu-button {
        width: 42px;
        height: 42px;

        background: transparent !important;
    }

    .cityhr-mobile-menu {
        background: transparent !important;

        box-shadow: none !important;
    }

    .cityhr-mobile-menu ul {
        padding-left: 20px;
        padding-right: 20px;

        background: transparent !important;
    }

    .cityhr-mobile-menu a {
        font-size: 17px;

        padding: 16px 5px;
    }
}


/* =========================================
   SMALL PHONES
   ========================================= */

@media (max-width: 380px) {

    .cityhr-header-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cityhr-header-logo img {
        width: 140px !important;
    }
}



/* =========================================
   SLIDER
   ========================================= */

.logo-slider {
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.logo-track {
    display: flex;
    align-items: flex-start;
    width: max-content;
    padding: 0;
    margin: 0;
    animation: logo-scroll 18s linear infinite;
    will-change: transform;
}

.logo-track > div {
    width: 240px;
    margin: 0;
    padding: 0 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
}

.logo-track img {
    width: 80px;
    height: 100px;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 0 18px 0;
    padding: 0;
}

.logo-track span {
    display: block;
    width: 100%;
    font-family: "Urbanist", sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    color: #000000;
    text-align: center;
    white-space: normal;
    letter-spacing: 0.08em;
}

@keyframes logo-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-25%);
    }
}

/* TABLET */

@media (max-width: 1024px) {

    .logo-track > div {
        width: 210px;
        padding: 0 25px;
    }

    .logo-track img {
        width: 135px;
        height: 85px;
        margin-bottom: 15px;
    }

    .logo-track span {
        font-size: 16px;
        letter-spacing: 0.07em;
    }

}

/* MOBILE */

@media (max-width: 767px) {

    .logo-slider {
        padding: 20px;
    }

    .logo-track > div {
        width: 180px;
        padding: 0 20px;
    }

    .logo-track img {
        width: 115px;
        height: 75px;
        margin-bottom: 12px;
    }

    .logo-track span {
        font-size: 15px;
        line-height: 1.25;
        letter-spacing: 0.06em;
        white-space: normal;
    }

}



/* =====================================================
   CITYHR FAQ
   ===================================================== */

.cityhr-faq {

    width: 100%;
    max-width: 950px;

    margin: 0 auto;

    padding: 20px 20px 60px;

    box-sizing: border-box;

    font-family: "Urbanist", sans-serif !important;


}



/* =====================================================
   FAQ LIST
   ===================================================== */

.cityhr-faq-list {

    width: 100%;

}


/* =====================================================
   FAQ BOX
   ===================================================== */

.cityhr-faq-item {

    margin-bottom: 14px;

    background: #FFFFFF !important;

    border: 1px solid #E1E1E1;

    border-radius: 30px !important;

    overflow: hidden;

    box-sizing: border-box;

    transition:

        border-color 0.25s ease,

        box-shadow 0.25s ease;

}


.cityhr-faq-item:hover {

    border-color: #92C033 !important;

}


/* =====================================================
   QUESTION
   ===================================================== */

.cityhr-faq-question {
    width: 100%;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 18px 25px;
    margin: 0;
    border: none !important;
    outline: none !important;
    border-radius: 30px !important;
    background: #FFFFFF !important;
    color: #1D3D68 !important;
    font-family: "Urbanist", sans-serif !important;
    font-size: 17px !important;
    font-weight: 700;
    line-height: 1.42;
    text-align: left;
    cursor: pointer;
    box-shadow: none !important;
    transition: color 0.25s ease;

    /* Fix text going outside */
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: break-word;
}

.cityhr-faq-question:hover {

    color: #92C033 !important;

}


/* =====================================================
   PLUS CIRCLE
   ===================================================== */

.cityhr-faq-plus {

    position: relative;

    flex-shrink: 0;

    width: 36px;

    height: 36px;

    border-radius: 50% !important;

    background: #92C033 !important;

    transition: background 0.3s ease;

}


/* Horizontal line */

.cityhr-faq-plus::before {

    content: "";

    position: absolute;

    width: 14px;

    height: 2px;

    background: #FFFFFF !important;

    left: 11px;

    top: 17px;

}


/* Vertical line */

.cityhr-faq-plus::after {

    content: "";

    position: absolute;

    width: 2px;

    height: 14px;

    background: #FFFFFF !important;

    left: 17px;

    top: 11px;

    transition:

        transform 0.3s ease,

        opacity 0.3s ease;

}


/* =====================================================
   ANSWER
   ===================================================== */

.cityhr-faq-answer {

    max-height: 0;

    overflow: hidden;

    opacity: 0;

    background: #FFFFFF !important;

    transition:

        max-height 0.45s ease,

        opacity 0.3s ease;

}


.cityhr-faq-answer p {

    margin: 0;

    padding: 0 75px 25px 25px;

    color: #444444 !important;

    background: #FFFFFF !important;

    font-family: "Urbanist", sans-serif !important;

    font-size: 16px !important;

    font-weight: 400;

    line-height: 1.75;

}


/* =====================================================
   ACTIVE
   ===================================================== */

.cityhr-faq-item.active {

    border-color: #92C033 !important;

}


.cityhr-faq-item.active .cityhr-faq-question {

    color: #92C033 !important;

}


/* Navy plus when open */

.cityhr-faq-item.active .cityhr-faq-plus {

    background: #1D3D68 !important;

}


/* Remove vertical plus line */

.cityhr-faq-item.active .cityhr-faq-plus::after {

    opacity: 0;

    transform: rotate(90deg);

}


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

@media (max-width: 767px) {

    .cityhr-faq {

        padding: 10px 15px 5px;

    }


    .cityhr-faq-title {

        margin-bottom: 30px;

    }


    .cityhr-faq-title h2 {

        font-size: 27px;

    }


    .cityhr-faq-title p {

        font-size: 14px;

    }


    .cityhr-faq-item {

        margin-bottom: 10px;

        border-radius: 30px !important;

    }


    .cityhr-faq-question {

        min-height: 62px;

        padding: 16px 18px;

        font-size: 14px;

        gap: 15px;

        border-radius: 30px !important;

    }


    .cityhr-faq-plus {

        width: 30px;

        height: 30px;

    }


    .cityhr-faq-plus::before {

        width: 12px;

        left: 9px;

        top: 14px;

    }


    .cityhr-faq-plus::after {

        height: 12px;

        left: 14px;

        top: 9px;

    }


    .cityhr-faq-answer p {

        padding: 0 20px 22px 18px;

        font-size: 13px;

        line-height: 1.7;

    }

}

/* =========================================================
   CITY HR - EMPLOYMENT LAW CARDS
   COMPACT 3 COLUMN LAYOUT

   LEFT  = 28px heading
   CENTRE = icon
   RIGHT = 18px description
   ========================================================= */

.cityhr-law-section {
    width: 100%;
    max-width: 1250px;

    margin: 0 auto;
    padding: 30px 20px 0px;

    box-sizing: border-box;

    font-family: "Urbanist", sans-serif;
}


/* =========================================================
   CARD
   ========================================================= */

.cityhr-law-card {
    position: sticky;
    top: 30px;

    width: 100%;
    min-height: 195px;

    margin: 0 0 25px;
    padding: 25px 30px;
    box-sizing: border-box;

    background: #FFFFFF;

    border-radius: 30px;

    display: grid;

    /*
       LEFT       CENTRE       RIGHT
       27%        22%          remaining
    */
    grid-template-columns: 15% 22% 1fr;

    align-items: center;

    column-gap: 25px;

    overflow: hidden;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);

    z-index: 1;

    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}


/* =========================================================
   STACK ORDER
   ========================================================= */

.cityhr-law-card:nth-child(1) {
    z-index: 1;
}

.cityhr-law-card:nth-child(2) {
    z-index: 2;
}

.cityhr-law-card:nth-child(3) {
    z-index: 3;
}

.cityhr-law-card:nth-child(4) {
    z-index: 4;
}

.cityhr-law-card:nth-child(5) {
    z-index: 5;
}

.cityhr-law-card:nth-child(6) {
    z-index: 6;
}


/* =========================================================
   LEFT HEADING
   ========================================================= */

.cityhr-law-title {
    width: 100%;
}

.cityhr-law-title h2 {
    margin: 0;
    padding: 0;

    font-family: "Urbanist", sans-serif;

    font-size: 28px;
    line-height: 1.27;

    font-weight: 700;

    letter-spacing: -0.02em;

    color: #19365F;
}


/* =========================================================
   CENTRE ICON
   ========================================================= */

.cityhr-law-image {
    width: 105px;
    height: 105px;

    margin: 0 auto;

    border-radius: 50%;

    overflow: hidden;

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

    flex-shrink: 0;
}

.cityhr-law-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================================
   RIGHT DESCRIPTION
   ========================================================= */

.cityhr-law-description {
    width: 100%;
}

.cityhr-law-description p {
    margin: 0;
    padding: 0;

    font-family: "DM Sans", sans-serif;

    font-size: 18px;
    line-height: 1.7;

    font-weight: 400;

    color: #19365F;
}


/* =========================================================
   STACK EFFECT
   ========================================================= */

.cityhr-law-card.is-stacked {
    transform: scale(0.985);
    opacity: 0.96;
}


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

@media (min-width: 768px) and (max-width: 1024px) {

    .cityhr-law-section {
        padding: 25px 15px 0px;
    }

    .cityhr-law-card {
        top: 25px;

        min-height: 190px;

        padding: 25px 20px;

        grid-template-columns:
            25%
            22%
            1fr;

        column-gap: 20px;

        margin-bottom: 20px;
    }


    /* Heading stays 28px */

    .cityhr-law-title h2 {
        font-size: 28px;
        line-height: 1.2;
    }


    /* Slightly smaller icon */

    .cityhr-law-image {
        width: 95px;
        height: 95px;
    }


    /* Right text stays 18px */

    .cityhr-law-description p {
        font-size: 18px;
        line-height: 1.55;
    }
}


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

@media (max-width: 767px) {

    .cityhr-law-section {
        padding: 15px 12px 0px;
    }


    .cityhr-law-card {
        position: sticky;
        top: 15px;

        min-height: 0;

        margin-bottom: 18px;

        padding: 25px 22px;

        display: grid;

        /*
           Mobile remains compact but becomes:

           HEADING
           ICON
           DESCRIPTION
        */

        grid-template-columns: 1fr;

        row-gap: 20px;

        align-items: center;

        border-radius: 30px;
    }


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

    .cityhr-law-title {
        width: 100%;
    }

    .cityhr-law-title h2 {
        font-size: 28px;
        line-height: 1.15;
        text-align: center;

        letter-spacing: -0.02em;
    }


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

    .cityhr-law-image {
        width: 100px;
        height: 100px;

        margin: 0 auto;

        border-radius: 50%;
    }


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

    .cityhr-law-description {
        width: 100%;
    }

    .cityhr-law-description p {
        font-size: 16px !important;
        text-align: center;
        line-height: 1.5;
    }
}


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

@media (max-width: 480px) {

    .cityhr-law-card {
        padding: 22px 20px;

        row-gap: 18px;
    }

    .cityhr-law-title h2 {
        font-size: 28px;
    }

    .cityhr-law-image {
        width: 90px;
        height: 90px;
    }

    .cityhr-law-description p {
        font-size: 18px;
        line-height: 1.5;
    }
}

/* =========================================================
   CITY HR FORM SUCCESS MESSAGE
   ========================================================= */

#fluentform_1_success {
    text-align: center !important;
}

/* =========================================================
   ANCHOR OFFSET
   Stop the sticky header covering #about etc. when jumping
   to an anchor. Height is set by custom.js; fallback below.
   ========================================================= */

html {
    scroll-padding-top: var(--cityhr-header-height, 111px);
}
