/* Prime HR Advisory real brand colors -- fresh filename to dodge the host's edge/CDN cache on style.css. */
:root {
    --thm-primary-color: #C69C3E !important;
    --thm-primary-color-rgb: 198, 156, 62 !important;
    --thm-secondary-color: #685025 !important;
    --thm-secondary-color-rgb: 104, 80, 37 !important;
    --thm-heading-font-color: #131312 !important;
    --thm-black: #131312 !important;
    --thm-black-bg: #131312 !important;
    --thm-white: #F7F5F0 !important;
    --thm-gray-bg: #F5EFE0 !important;
    --thm-border-radius: 2px !important;
}

.scroll-bar-text {
    background-color: #131312 !important;
}

.logo-box-style1 .shape {
    display: none !important;
}

/* Client dislikes black in the header specifically -- keep header light, black/gold stays for text+footer. */
.logo-box-style1::before,
.main-header-style1__box-top {
    background-color: #F7F5F0 !important;
}
.main-header-style1__box-top a {
    color: #131312 !important;
}
.main-header-style1__box-top a:hover {
    color: #C69C3E !important;
}

/* Keep header text legible on the new light background — spacing/sizing left untouched per client request. */
.header-subscribe-box-one .text a {
    color: #131312 !important;
}
.header-contact-info-style1 .text p,
.header-contact-info-style1 ul li p a,
.box-search-style1 a p {
    color: #131312 !important;
}
.header-contact-info-style1 ul li p a:hover {
    color: #C69C3E !important;
}

/* =====================================================================
   Footer background matches the header (light cream instead of black),
   per client request. Redefining the theme's semantic variables scoped
   to .footer-style1 flips every var(--thm-white)/var(--thm-black-bg)
   consumer inside the footer automatically.
   ===================================================================== */
.footer-style1 {
    --thm-black-bg: #F7F5F0 !important;
    --thm-white: #131312 !important;
}
.footer-style1::before {
    display: none !important;
}

/* =====================================================================
   FOOTER POLISH -- real content now comes from widgets/menus; this
   brings the stock teal-tinted greys/borders onto the brand palette
   and makes the new nav-menu columns (Quick Links / Services) readable
   on the black footer background (their default color was near-black,
   meant for a light sidebar elsewhere on the site).
   ===================================================================== */
.footer-style1 .widget ul li a,
.footer-style1 .widget ol li a,
.footer-widget ul li a,
.footer-widget ol li a {
    color: rgba(19, 19, 18, 0.75) !important;
}
.footer-style1 .widget ul li a:hover,
.footer-style1 .widget ol li a:hover,
.footer-widget ul li a:hover,
.footer-widget ol li a:hover {
    color: #685025 !important;
}
.footer-widget-contact-info ul li .text p,
.footer-widget-contact-info ul li .text p a,
.footer-widget-meeting-info .text p,
.footer-widget-info-box .text-box p,
.copyright-text p {
    color: rgba(19, 19, 18, 0.65) !important;
}
.footer-widget-contact-info ul li .text p a:hover {
    color: #685025 !important;
}
.copyright-text p a {
    color: #685025 !important;
}
.footer-widget-info-box .logo-box img {
    width: 150px !important;
    height: auto !important;
}
.footer-widget-info-box .social-links .hire-meida a {
    border-color: rgba(19, 19, 18, 0.18) !important;
}
.footer-widget-info-box .social-links .hire-meida a:hover {
    border-color: #C69C3E !important;
}
/* Bottom strip (after the divider) stays black, contrasting with the light
   footer above -- client request. */
.footer-bottom {
    background: #131312 !important;
    border-top: none !important;
}
.footer-bottom .copyright-text p {
    color: rgba(247, 245, 240, 0.75) !important;
}
.footer-bottom .copyright-text p a {
    color: #C69C3E !important;
}
.footer-menu ul li a {
    color: rgba(247, 245, 240, 0.75) !important;
}
.footer-menu ul li a:hover {
    color: #C69C3E !important;
}
.footer-menu ul li::before {
    background-color: rgba(247, 245, 240, 0.35) !important;
}
.footer-widget-contact-info ul li .text h6 {
    color: #131312 !important;
}
.footer-widget-info-box .social-links .hire-meida a .icon-instagram-logo {
    color: #131312 !important;
}
.footer-widget-info-box .social-links .hire-meida a:hover .icon-instagram-logo {
    color: #F7F5F0 !important;
}

/* Footer columns: 4 equal columns in a single row on desktop (reference layout),
   collapsing to 2 then 1 on smaller screens. The theme's own CSS never gives
   .footer-column a width, so the flex row wraps unpredictably by content length. */
.footer-style1 .footer-main .footer-sytle-one {
    flex-wrap: nowrap !important;
}
.footer-style1 .footer-main .footer-sytle-one .footer-column {
    flex: 1 1 0 !important;
    min-width: 0 !important;
}
.footer-style1 .footer-main .footer-sytle-one .footer-column:first-child {
    flex: 1.2 1 0 !important;
}
@media (max-width: 991px) {
    .footer-style1 .footer-main .footer-sytle-one {
        flex-wrap: wrap !important;
    }
    .footer-style1 .footer-main .footer-sytle-one .footer-column {
        flex: 1 1 40% !important;
        min-width: 220px !important;
    }
}
@media (max-width: 600px) {
    .footer-style1 .footer-main .footer-sytle-one .footer-column {
        flex: 1 1 100% !important;
    }
}

/* The theme's icon font is missing the linkedin glyph (icon-linkedin renders blank) --
   swap it for a masked inline SVG so the LinkedIn logo actually shows in the footer. */
.footer-widget-info-box .social-links .hire-meida a[href*="linkedin"] .icon-linkedin {
    font-size: 0 !important;
    display: inline-block !important;
    width: 18px;
    height: 18px;
    background-color: #131312;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M100.28 448H7.4V148.9h92.88zm-46.44-338.3C24.28 109.7 0 85.7 0 55.9 0 25 25 0 55.9 0s55.9 25 55.9 55.9c0 29.8-24.3 53.8-55.95 53.8zM447.9 448h-92.68V302.4c0-34.7-.7-79.3-48.3-79.3-48.3 0-55.7 37.7-55.7 76.7V448h-92.8V148.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V448z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M100.28 448H7.4V148.9h92.88zm-46.44-338.3C24.28 109.7 0 85.7 0 55.9 0 25 25 0 55.9 0s55.9 25 55.9 55.9c0 29.8-24.3 53.8-55.95 53.8zM447.9 448h-92.68V302.4c0-34.7-.7-79.3-48.3-79.3-48.3 0-55.7 37.7-55.7 76.7V448h-92.8V148.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V448z'/></svg>");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    vertical-align: middle;
}
.footer-widget-info-box .social-links .hire-meida a[href*="linkedin"]:hover .icon-linkedin {
    background-color: #C69C3E;
}

/* Client wants the header's "Book Consultation" pill removed and replaced with
   social icons alongside the phone/email (see prime-header-social.js). */
.header-subscribe-box-one {
    display: none !important;
}
.main-header-style1__box-top__right {
    margin-left: auto !important;
}
.header-contact-info-style1 ul {
    display: flex !important;
    align-items: center !important;
}
.header-contact-info-style1 .prime-header-social {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin-right: 8px;
    padding-right: 14px;
    border-right: 1px solid rgba(19, 19, 18, 0.15);
}
.header-contact-info-style1 .prime-header-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(19, 19, 18, 0.18);
    transition: border-color .25s, background-color .25s;
}
.header-contact-info-style1 .prime-header-social a:hover {
    border-color: #C69C3E;
    background-color: #C69C3E;
}
.header-contact-info-style1 .prime-header-social a span {
    width: 15px;
    height: 15px;
    display: inline-block;
    background-color: #131312;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    transition: background-color .25s;
}
.header-contact-info-style1 .prime-header-social a:hover span {
    background-color: #F7F5F0;
}
.header-contact-info-style1 .prime-header-social a.prime-social-linkedin span {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M100.28 448H7.4V148.9h92.88zm-46.44-338.3C24.28 109.7 0 85.7 0 55.9 0 25 25 0 55.9 0s55.9 25 55.9 55.9c0 29.8-24.3 53.8-55.95 53.8zM447.9 448h-92.68V302.4c0-34.7-.7-79.3-48.3-79.3-48.3 0-55.7 37.7-55.7 76.7V448h-92.8V148.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V448z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M100.28 448H7.4V148.9h92.88zm-46.44-338.3C24.28 109.7 0 85.7 0 55.9 0 25 25 0 55.9 0s55.9 25 55.9 55.9c0 29.8-24.3 53.8-55.95 53.8zM447.9 448h-92.68V302.4c0-34.7-.7-79.3-48.3-79.3-48.3 0-55.7 37.7-55.7 76.7V448h-92.8V148.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V448z'/></svg>");
}
.header-contact-info-style1 .prime-header-social a.prime-social-instagram span {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z'/></svg>");
}
/* Same divider style between the phone and email items as between the social
   icons and the phone number, for a consistent rhythm across the whole row. */
.header-contact-info-style1 ul li:not(.prime-header-social):not(:last-child) {
    margin-right: 8px;
    padding-right: 14px;
    border-right: 1px solid rgba(19, 19, 18, 0.15);
}

/* Client wants the desktop header's search box + sidebar-toggle icon replaced with
   a michaelpage.ae-style pill switch ("Start Hiring" / "Get Hired"), brand colors
   instead of the reference's navy blue. Injected by prime-header-social.js. */
@media (min-width: 993px) {
    .box-search-style1,
    .side-content-button {
        display: none !important;
    }
}
.prime-audience-toggle {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 1.5px solid #131312;
    border-radius: 999px;
    padding: 0;
}
.prime-audience-toggle a {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.4rem 1.5rem;
    border-radius: 999px;
    color: #131312;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .25s, color .25s, box-shadow .25s;
}
.prime-audience-toggle a.is-active {
    background: #131312;
    color: #F7F5F0;
    box-shadow: 0 6px 16px rgba(19, 19, 18, 0.28);
}
.prime-audience-toggle a:not(.is-active):hover {
    color: #685025;
}
@media (max-width: 1200px) {
    .header-contact-info-style1 .prime-header-social {
        display: none !important;
    }
}


/* =====================================================================
   MOBILE NAV PANEL -- client wants cream instead of black, matching the
   header/footer treatment above. Text/icon colors flipped dark-on-cream;
   the LinkedIn glyph gets the same broken-icomoon SVG-mask fix as footer.
   ===================================================================== */
.mobile-nav__content {
    background-color: #F7F5F0 !important;
}
.mobile-nav__close {
    background-color: rgba(19, 19, 18, 0.08) !important;
    color: #131312 !important;
}
.mobile-nav__close:hover {
    background-color: #C69C3E !important;
    color: #F7F5F0 !important;
}
.mobile-nav-search-box .search-form input[type="text"] {
    border-color: rgba(19, 19, 18, 0.15) !important;
}
.mobile-nav__container {
    border-top-color: rgba(19, 19, 18, 0.1) !important;
    border-bottom-color: rgba(19, 19, 18, 0.1) !important;
}
.mobile-nav__content .main-menu__list > li > a,
.mobile-nav__content .main-menu__list > li > ul > li > a,
.mobile-nav__content .main-menu__list > li > ul > li > ul > li > a {
    color: #131312 !important;
}
.mobile-nav__content .main-menu__list > li > a.expanded,
.mobile-nav__content .main-menu__list > li > ul > li > a.expanded,
.mobile-nav__content .main-menu__list > li > ul > li > ul > li > a.expanded {
    color: #C69C3E !important;
}
.mobile-nav__content .main-menu__list > li:not(:last-child),
.mobile-nav__content .main-menu__list > li > ul > li:not(:last-child),
.mobile-nav__content .main-menu__list > li > ul > li > ul > li:not(:last-child) {
    border-bottom-color: rgba(19, 19, 18, 0.1) !important;
}
.mobile-nav__content .main-menu__list > li > ul,
.mobile-nav__content .main-menu__list > li > ul > li > ul {
    border-top-color: rgba(19, 19, 18, 0.1) !important;
}
.mobile-nav__content .main-menu__list > li > a > button,
.mobile-nav__content .main-menu__list > li > ul > li > a > button,
.mobile-nav__content .main-menu__list > li > ul > li > ul > li > a > button {
    background: rgba(19, 19, 18, 0.08) !important;
    color: #131312 !important;
}
.mobile-nav__contact li,
.mobile-nav__contact li a {
    color: #131312 !important;
}
.mobile-nav__contact li a:hover {
    color: #C69C3E !important;
}
.mobile-nav__contact li > i {
    background-color: rgba(19, 19, 18, 0.08) !important;
    color: #131312 !important;
}
.mobile-nav__social a {
    background-color: rgba(19, 19, 18, 0.08) !important;
    color: #131312 !important;
}
.mobile-nav__social a:hover {
    background-color: #C69C3E !important;
    color: #F7F5F0 !important;
}
.mobile-nav__social a[href*="linkedin"] .icon-linkedin {
    font-size: 0 !important;
    display: inline-block !important;
    width: 16px;
    height: 16px;
    background-color: #131312;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M100.28 448H7.4V148.9h92.88zm-46.44-338.3C24.28 109.7 0 85.7 0 55.9 0 25 25 0 55.9 0s55.9 25 55.9 55.9c0 29.8-24.3 53.8-55.95 53.8zM447.9 448h-92.68V302.4c0-34.7-.7-79.3-48.3-79.3-48.3 0-55.7 37.7-55.7 76.7V448h-92.8V148.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V448z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M100.28 448H7.4V148.9h92.88zm-46.44-338.3C24.28 109.7 0 85.7 0 55.9 0 25 25 0 55.9 0s55.9 25 55.9 55.9c0 29.8-24.3 53.8-55.95 53.8zM447.9 448h-92.68V302.4c0-34.7-.7-79.3-48.3-79.3-48.3 0-55.7 37.7-55.7 76.7V448h-92.8V148.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V448z'/></svg>");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    vertical-align: middle;
    margin: 0 auto;
}
.mobile-nav__social a[href*="linkedin"]:hover .icon-linkedin {
    background-color: #F7F5F0 !important;
}

/* =====================================================================
   Site-wide: the gold accent <em> used across every hero/heading is a
   color device, not semantic emphasis -- client wants it upright, not
   italic, everywhere (some pages set italic via inline style attribute
   on the <em> itself, so this needs !important to win).
   ===================================================================== */
em {
    font-style: normal !important;
}
