/* Shared Empire Mechanics & Tyres presentation overrides. */
.header-container,
.header-container.sticky.move,
.header-container .sf-menu > li {
    background-color: #000 !important;
}

/* Contact and appointment forms */
.empire-home-video-banner {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #10161c;
}

.empire-home-video-banner video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.empire-vehicle-note {
    margin-top: 34px;
    color: #777;
    font-size: 16px;
    line-height: 1.6;
}

.empire-vehicle-note a {
    color: #1e69b8;
    font-weight: 600;
}

.empire-client-slider {
    display: none !important;
}

.footer-row .cs_contact_details_widget .list.simple li:last-child span,
.footer-row .cs_contact_details_widget .list.simple li:last-child a {
    display: block;
    float: none;
    width: 100%;
}

.footer-row .cs_contact_details_widget .list.simple li:last-child a {
    margin-top: 4px;
    overflow-wrap: anywhere;
    line-height: 1.45;
}

.call-to-action .hexagon.small {
    background: #f4f8fc;
    border-color: #1e69b8;
}

.call-to-action .hexagon.small::before,
.call-to-action .hexagon.small::after {
    border-color: #1e69b8;
}

.call-to-action .sl-small-calendar::before {
    content: "\67";
    font-family: "streamline-small-cs";
    color: #1e69b8;
}

.site-credit {
    display: block;
    margin-top: 7px;
}

.site-credit a {
    color: #1e69b8;
    font-weight: 600;
    text-decoration: none;
}

.site-credit a:hover,
.site-credit a:focus {
    color: #124f8f;
    text-decoration: underline;
}

.social-icons a[class*="brand-"] {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 5px;
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
    animation: empire-social-in .45s ease both;
}

.social-icons a[class*="brand-"]::before {
    color: #fff !important;
    font-size: 17px;
    line-height: 1;
}

.social-icons a[class*="brand-"]:hover,
.social-icons a[class*="brand-"]:focus {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 7px 14px rgba(0, 0, 0, .25);
    filter: saturate(1.2) brightness(1.05);
}

.social-icons li:nth-child(2) a { animation-delay: .07s; }
.social-icons li:nth-child(3) a { animation-delay: .14s; }
.social-icons li:nth-child(4) a { animation-delay: .21s; }
.social-icons li:nth-child(5) a { animation-delay: .28s; }

@keyframes empire-social-in {
    from { opacity: 0; transform: translateY(10px) scale(.86); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.social-icons .brand-facebook { background: #1877f2; }
.social-icons .brand-instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d 55%, #fcb045); }
.social-icons .brand-pinterest { background: #e60023; }
.social-icons .brand-youtube { background: #f00; }
.social-icons .brand-tiktok { background: linear-gradient(135deg, #25f4ee, #111 38%, #111 62%, #fe2c55); }

.header-top-bar .social-icons li {
    margin-left: 6px;
    border: 0;
}

.header-top-bar .social-icons {
    margin-top: 10px;
}

.header-top-bar .social-icons a[class*="brand-"] {
    width: 30px;
    height: 30px;
    padding: 0;
}

.footer-row .social-icons.gray li {
    margin-left: 6px;
    border: 0;
    background: transparent;
}

.footer-row .social-icons.gray a[class*="brand-"] {
    width: 38px;
    height: 38px;
    padding: 0;
}

.footer-row .social-icons.gray a[class*="brand-"]::before {
    font-size: 15px;
}

.social-icons a[class*="brand-"]::before {
    color: #fff !important;
}

.social-icons a[class*="brand-"]:hover::before,
.social-icons a[class*="brand-"]:focus::before {
    color: #777 !important;
}

@media screen and (max-width: 767px) {
    .empire-home-video-banner {
        height: 320px;
    }
}

/* Use the same SVS-inspired menu interaction on tablet and desktop. */
@media screen and (min-width: 768px) {
    html.empire-mobile-menu-open,
    body.empire-mobile-menu-open { overflow: hidden !important; }

    .header .menu-container { display: none !important; }

    .header .mobile-menu-switch {
        display: table-cell !important;
        position: relative;
        width: 52px;
        height: 52px;
        padding: 13px 10px;
        vertical-align: middle;
        box-sizing: border-box;
    }

    .header .mobile-menu-switch .line {
        display: block;
        width: 28px;
        height: 2px;
        margin: 6px 0 0;
        background: #fff;
    }

    .mobile-menu-container.empire-mobile-panel {
        display: block !important;
        position: fixed;
        z-index: 10020;
        inset: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        overflow-y: auto;
        background: #fff;
        transform: translate3d(100%, 0, 0);
        transition: transform .42s cubic-bezier(.22, .75, .24, 1);
        visibility: hidden;
        box-sizing: border-box;
    }

    .mobile-menu-container.empire-mobile-panel.is-open {
        transform: translate3d(0, 0, 0);
        visibility: visible;
    }

    .empire-mobile-panel__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 96px;
        padding: 12px max(28px, calc((100% - 1170px) / 2));
        border-bottom: 1px solid #e5e7e9;
        background: #fff;
        box-sizing: border-box;
    }

    .empire-mobile-panel__logo img {
        display: block;
        width: auto;
        max-width: 250px;
        max-height: 68px;
    }

    .empire-mobile-panel__close {
        position: relative;
        width: 48px;
        height: 48px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .empire-mobile-panel__close::before,
    .empire-mobile-panel__close::after {
        content: "";
        position: absolute;
        top: 23px;
        left: 8px;
        width: 32px;
        height: 2px;
        background: #343c43;
    }

    .empire-mobile-panel__close::before { transform: rotate(45deg); }
    .empire-mobile-panel__close::after { transform: rotate(-45deg); }
    .mobile-menu-container.empire-mobile-panel .mobile-menu-divider { display: none !important; }

    .mobile-menu-container.empire-mobile-panel nav {
        display: block !important;
        width: min(720px, 100%) !important;
        margin: 0 auto !important;
    }

    .mobile-menu-container.empire-mobile-panel .mobile-menu {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff;
    }

    .mobile-menu-container.empire-mobile-panel .mobile-menu > li {
        position: relative;
        float: none;
        width: 100%;
        margin: 0;
        border-bottom: 1px solid #e5e7e9;
        background: #fff;
    }

    .mobile-menu-container.empire-mobile-panel .mobile-menu > li > a:not(.template-arrow-menu) {
        display: flex;
        align-items: center;
        min-height: 58px;
        padding: 0 62px 0 20px;
        color: #545d64;
        font-size: 18px;
        font-weight: 400;
        line-height: 1.35;
        box-sizing: border-box;
    }

    .mobile-menu-container.empire-mobile-panel .mobile-menu > li > a:hover,
    .mobile-menu-container.empire-mobile-panel .mobile-menu > li.is-services-open > a:first-child {
        color: #2473ba;
        background: #fff;
    }

    .mobile-menu-container.empire-mobile-panel a.template-arrow-menu {
        display: block !important;
        position: absolute;
        top: 0;
        right: 0;
        width: 60px !important;
        height: 58px;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .mobile-menu-container.empire-mobile-panel a.template-arrow-menu::before {
        content: "" !important;
        position: absolute;
        top: 21px;
        right: 23px;
        width: 9px;
        height: 9px;
        border-right: 1px solid #606970;
        border-bottom: 1px solid #606970;
        transform: rotate(45deg);
        transition: transform .25s ease, top .25s ease;
    }

    .mobile-menu-container.empire-mobile-panel li.is-services-open > a.template-arrow-menu::before {
        top: 26px;
        transform: rotate(225deg);
        border-color: #2473ba;
    }

    .mobile-menu-container.empire-mobile-panel .mobile-menu .sub-menu {
        display: block !important;
        position: static !important;
        float: none;
        max-height: 0;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
        opacity: 0;
        background: #fafafa;
        transition: max-height .42s ease, opacity .25s ease;
    }

    .mobile-menu-container.empire-mobile-panel li.is-services-open > .sub-menu {
        max-height: 900px;
        opacity: 1;
    }

    .mobile-menu-container.empire-mobile-panel .sub-menu li {
        position: relative;
        float: none;
        width: 100% !important;
        margin: 0;
        border-top: 1px solid #e8eaec;
        background: #fafafa;
    }

    .mobile-menu-container.empire-mobile-panel .sub-menu li::before {
        content: "";
        position: absolute;
        top: 21px;
        left: 24px;
        width: 7px;
        height: 7px;
        border: 2px solid #7b858c;
        border-radius: 50%;
        box-sizing: border-box;
    }

    .mobile-menu-container.empire-mobile-panel .sub-menu a {
        display: flex !important;
        align-items: center;
        min-height: 49px;
        padding: 9px 20px 9px 48px !important;
        color: #5e676e !important;
        font-size: 15px !important;
        font-weight: 400 !important;
        line-height: 1.35 !important;
        background: transparent !important;
        box-sizing: border-box;
    }

    .mobile-menu-container.empire-mobile-panel .sub-menu a:hover { color: #2473ba !important; }
}

/* Clear, consistent accordion indicator at every size. */
.mobile-menu-container.empire-mobile-panel a.template-arrow-menu::before {
    content: none !important;
    display: none !important;
    top: 15px !important;
    right: 20px !important;
    width: auto !important;
    height: auto !important;
    border: 0 !important;
    color: #606970 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    transform: none !important;
}

.mobile-menu-container.empire-mobile-panel .empire-services-arrow {
    display: block;
    color: #606970;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 53px;
    text-align: center;
}

.mobile-menu-container.empire-mobile-panel li.is-services-open .empire-services-arrow {
    color: #2473ba;
}

.mobile-menu-container.empire-mobile-panel li.is-services-open > a.template-arrow-menu::before {
    content: "⌃" !important;
    top: 20px !important;
    color: #2473ba !important;
    transform: none !important;
}

/* Desktop keeps the full horizontal navigation, matching the SVS desktop pattern. */
@media screen and (min-width: 768px) {
    html.empire-mobile-menu-open,
    body.empire-mobile-menu-open { overflow: auto !important; }

    .header .menu-container {
        display: table-cell !important;
    }

    .header .mobile-menu-switch {
        display: none !important;
    }

    .mobile-menu-container.empire-mobile-panel {
        display: none !important;
        visibility: hidden !important;
        transform: none !important;
    }
}

/* Empire workshop quick-contact card (loaded on the home page only). */
.empire-contact-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: inherit;
    pointer-events: none;
}
.empire-contact-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 56px;
    height: 56px;
    padding: 0 18px;
    overflow: visible;
    color: #fff;
    background: linear-gradient(135deg,#287bc1,#15558e);
    border: 0;
    border-radius: 28px;
    box-shadow: 0 12px 28px rgba(14,53,88,.34);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    transition: transform .2s ease,box-shadow .2s ease,background .2s ease;
    pointer-events: auto;
}
.empire-contact-toggle:hover,
.empire-contact-toggle:focus-visible {background:linear-gradient(135deg,#318bd2,#124873);box-shadow:0 15px 32px rgba(14,53,88,.4);transform:translateY(-2px);outline:0}
.empire-contact-toggle__icon {display:flex;width:24px;height:24px}
.empire-contact-toggle__icon svg,.empire-contact-action__icon svg {width:100%;height:100%;fill:currentColor}
.empire-contact-toggle__pulse {position:absolute;inset:0;border:2px solid rgba(36,115,186,.42);border-radius:inherit;animation:empire-contact-pulse 2.4s ease-out infinite;pointer-events:none}
.empire-contact-card {
    box-sizing: border-box;
    width: 324px;
    margin-bottom: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce3e8;
    border-radius: 15px;
    box-shadow: 0 20px 52px rgba(20,32,42,.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(.97);
    transform-origin: right bottom;
    transition: opacity .22s ease,transform .22s ease,visibility .22s;
    pointer-events: none;
}
.empire-contact-widget.is-open .empire-contact-card {opacity:1;visibility:visible;transform:translateY(0) scale(1);pointer-events:auto}
.empire-contact-card__header {display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:20px;color:#fff;background:linear-gradient(135deg,#1f75b9,#12476f)}
.empire-contact-card__eyebrow {display:block;margin-bottom:5px;color:#d9edfc;font-size:10px;font-weight:700;letter-spacing:1.15px}
.empire-contact-card__header h2 {margin:0;color:#fff;font-size:19px;line-height:1.28;font-weight:600}
.empire-contact-card__close {flex:0 0 30px;width:30px;height:30px;margin:-5px -7px 0 0;padding:0;color:#fff;background:rgba(255,255,255,.12);border:0;border-radius:50%;cursor:pointer;font:300 24px/28px Arial,sans-serif;transition:background .2s,transform .2s}
.empire-contact-card__close:hover,.empire-contact-card__close:focus-visible {background:rgba(255,255,255,.25);transform:rotate(5deg);outline:0}
.empire-contact-card__body {padding:17px}
.empire-contact-card__status {display:flex;align-items:flex-start;gap:8px;margin:0 0 14px;color:#5c6971;font-size:12px;line-height:1.45}
.empire-contact-card__status > span:first-child {flex:0 0 8px;width:8px;height:8px;margin-top:4px;background:#39a852;border-radius:50%;box-shadow:0 0 0 3px rgba(57,168,82,.14)}
.empire-contact-card__status > span:last-child {min-width:0}
.empire-contact-card__actions {display:grid;gap:9px}
.empire-contact-action {display:grid;grid-template-columns:38px minmax(0,1fr) 16px;align-items:center;gap:11px;box-sizing:border-box;min-height:58px;padding:9px 12px;color:#344149!important;background:#f8fafb;border:1px solid #e1e6e9;border-radius:10px;text-decoration:none!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}
.empire-contact-action:hover,.empire-contact-action:focus-visible {color:#26343c!important;background:#fff;border-color:#a9c9e3;box-shadow:0 7px 17px rgba(25,58,82,.1);transform:translateX(-3px);outline:0}
.empire-contact-action__icon {display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:38px;height:38px;padding:9px;color:#fff;background:#2473ba;border-radius:9px}
.empire-contact-action--email .empire-contact-action__icon {background:#56656d}
.empire-contact-action--whatsapp {background:#f2fbf5;border-color:#ccebd6}
.empire-contact-action--whatsapp:hover,.empire-contact-action--whatsapp:focus-visible {border-color:#81cea0;background:#f8fffa}
.empire-contact-action--whatsapp .empire-contact-action__icon {background:#25a85a}
.empire-contact-action strong,.empire-contact-action small {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.empire-contact-action strong {margin-bottom:2px;color:inherit;font-size:13px;line-height:1.25}
.empire-contact-action small {color:#77838a;font-size:11px;line-height:1.3}
.empire-contact-action__arrow {color:#8c989e;font:300 24px/1 Arial,sans-serif}
.empire-contact-widget.is-open .empire-contact-toggle__pulse {display:none}
.scroll-top.animated-element {
    right:24px!important;
    bottom:94px!important;
    z-index:9997!important;
    display:flex!important;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    width:50px;
    height:50px;
    padding:0!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none;
    transform:translateY(8px);
    transition:opacity .2s ease,visibility .2s ease,transform .2s ease,background .2s ease!important;
}
.scroll-top.animated-element.is-scroll-visible {
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto;
    transform:translateY(0);
}
html.empire-contact-open .scroll-top.animated-element {
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
}
@keyframes empire-contact-pulse {0%{opacity:.65;transform:scale(1)}70%,100%{opacity:0;transform:scale(1.32)}}
@media screen and (max-width:480px) {
    .empire-contact-widget {right:14px;bottom:14px;left:14px;align-items:flex-end}
    .empire-contact-card {width:100%;max-width:338px;margin-bottom:11px}
    .empire-contact-toggle {height:52px;min-width:52px;padding:0 15px;border-radius:26px}
    .empire-contact-toggle__icon {width:22px;height:22px}
    .scroll-top.animated-element {right:14px!important;bottom:78px!important;width:46px;height:46px}
}
@media (prefers-reduced-motion:reduce) {
    .empire-contact-widget * {animation:none!important;transition:none!important}
}

.empire-contact .empire-form-card,
.empire-appointment .empire-form-card {
    box-sizing: border-box;
    max-width: 1120px;
    margin: 42px auto 66px !important;
    padding: 38px 40px 40px !important;
    background: #fff;
    border: 1px solid #e2e6e9;
    border-top: 4px solid #2473ba;
    border-radius: 4px;
    box-shadow: 0 14px 38px rgba(31,45,57,.09);
}
.empire-form-intro {max-width:680px;margin:0 0 30px}
.empire-form-intro span {display:block;margin-bottom:7px;color:#2473ba;font-size:12px;font-weight:700;letter-spacing:1.4px}
.empire-form-intro h2 {margin:0 0 8px;color:#2d3439;font-size:30px;line-height:1.2}
.empire-form-intro p {margin:0;color:#68747b;font-size:15px;line-height:1.65}
.empire-contact .contact-form > .empire-form-intro + .vc_row {display:grid;grid-template-columns:1fr 1fr;gap:22px}
.empire-contact .contact-form > .empire-form-intro + .vc_row::before,
.empire-contact .contact-form > .empire-form-intro + .vc_row::after {display:none}
.empire-contact .contact-form fieldset {float:none;width:auto;padding:0}
.empire-contact .contact-form .block {margin:0 0 16px}
.empire-contact .contact-form input.text_input,
.empire-contact .contact-form textarea,
.empire-appointment .cost-calculator-form input[type="text"],
.empire-appointment .cost-calculator-form input[type="number"],
.empire-appointment .cost-calculator-form select,
.empire-appointment .cost-calculator-form textarea {
    box-sizing:border-box;width:100%!important;min-height:54px;padding:14px 16px!important;
    color:#303a40;font:14px inherit;background:#fff;border:1px solid #d7dde1!important;
    border-radius:3px;outline:0;transition:border-color .2s,box-shadow .2s;
}
.empire-contact .contact-form textarea,
.empire-appointment .cost-calculator-form textarea {min-height:194px;resize:vertical}
.empire-contact .contact-form input:focus,
.empire-contact .contact-form textarea:focus,
.empire-appointment .cost-calculator-form input:focus,
.empire-appointment .cost-calculator-form select:focus,
.empire-appointment .cost-calculator-form textarea:focus {border-color:#2473ba!important;box-shadow:0 0 0 3px rgba(36,115,186,.12)}
.empire-contact .contact-form .submit-container {display:grid;grid-template-columns:1fr auto;align-items:center;gap:24px;margin-top:4px!important;padding-top:22px;border-top:1px solid #e7eaec}
.empire-contact .contact-form .submit-container::before,
.empire-contact .contact-form .submit-container::after,
.empire-contact .contact-form .button-with-recaptcha::before,
.empire-contact .contact-form .button-with-recaptcha::after {display:none}
.empire-contact .contact-form .terms-container {margin:0}
.empire-contact .contact-form .terms-container label {display:inline;color:#58656c;font-size:13px;line-height:1.5}
.empire-contact .contact-form .terms-container input {width:auto;margin-right:8px;vertical-align:middle}
.empire-contact .contact-form .contact-submit-action {justify-self:end}
.empire-contact .contact-form .contact-honeypot {position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.empire-contact .contact-form button.more,
.empire-appointment .cost-calculator-form button.cost-calculator-more {min-width:190px;min-height:54px;padding:0 24px;color:#fff;background:#2473ba;border:0;border-radius:3px;font-weight:700;letter-spacing:.7px;cursor:pointer;transition:.2s}
.empire-contact .contact-form button.more:hover,
.empire-appointment .cost-calculator-form button.cost-calculator-more:hover {background:#185b98;transform:translateY(-1px)}
.empire-contact .contact-form input.validation-error,
.empire-contact .contact-form textarea.validation-error {border-color:#c62828!important;box-shadow:0 0 0 2px rgba(198,40,40,.15)}
.empire-contact .contact-form .terms-container input.validation-error {outline:2px solid #c62828;outline-offset:2px}
.empire-contact .contact-form .field-error {display:block;margin-top:7px;color:#b71c1c;font-size:13px;font-weight:600;line-height:1.4}
.empire-contact .contact-form button.is-submitting {cursor:wait;opacity:.7}
.contact-success {box-sizing:border-box;max-width:1120px;margin:30px auto 0;padding:16px 20px;border-left:4px solid #2e7d32;background:#edf7ee;color:#245b28;font-weight:600}

/* Replace the theme's nested calculator floats with a stable appointment grid. */
.empire-appointment .cost-calculator-form > .wpb_column,
.empire-appointment .cost-calculator-form > .wpb_column > .wpb_wrapper {float:none;width:100%}
.empire-appointment .cost-calculator-form > .wpb_column > .wpb_wrapper > .vc_row:first-child {
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;
}
.empire-appointment .cost-calculator-form > .wpb_column > .wpb_wrapper > .vc_row:first-child::before,
.empire-appointment .cost-calculator-form > .wpb_column > .wpb_wrapper > .vc_row:first-child::after {display:none}
.empire-appointment .cost-calculator-form > .wpb_column > .wpb_wrapper > .vc_row:first-child > .wpb_column {float:none;width:auto}
.empire-appointment .cost-calculator-box > label,
.empire-appointment .cost-calculator-box .cost-calculator-select-label,
.empire-appointment .cost-calculator-contact-box > .vc_row:first-child > label,
.empire-appointment .cost-calculator-form label.box-header {
    display:block;box-sizing:border-box;margin:0 0 10px!important;padding:0;color:#3b464c;
    font-size:12px;font-weight:700;line-height:1.4;letter-spacing:.7px;
}
.empire-appointment .cost-calculator-form .border-container,
.empire-appointment .cost-calculator-datepicker-container {border:0}
.empire-appointment .cost-calculator-form .page-margin-top {margin-top:28px!important}
.empire-appointment .cost-calculator-form .cost-calculator-float {float:none;display:inline-block;width:auto;margin:0 8px 9px 0;padding:0;vertical-align:top}
.empire-appointment .cost-calculator-form .cost-calculator-checkbox-label {
    display:flex;align-items:center;box-sizing:border-box;min-height:44px;padding:9px 13px;
    color:#4c5960;background:#f7f9fa;border:1px solid #dfe4e7;border-radius:3px;line-height:1.35;cursor:pointer;
}
.empire-appointment .cost-calculator-form .cost-calculator-checkbox-label:hover {color:#2473ba;border-color:#9fc3e3}
.empire-appointment .cost-calculator-contact-box {margin-top:30px!important;padding-top:28px;border-top:1px solid #e1e5e8}
.empire-appointment .cost-calculator-flex-box {display:grid;grid-template-columns:1fr 1fr;gap:20px}
.empire-appointment .cost-calculator-flex-box::before,
.empire-appointment .cost-calculator-flex-box::after {display:none}
.empire-appointment .cost-calculator-flex-box fieldset {float:none;width:auto;padding:0}
.empire-appointment .cost-calculator-block {margin-bottom:14px}
.empire-appointment .cost-calculator-contact-box-submit-container {margin-top:8px!important;padding-top:18px;border-top:0}
.empire-appointment .cost-calculator-contact-box-submit-container > .vc_row {display:flex;justify-content:flex-end}
.empire-appointment .cost-calculator-form > .wpb_column > .wpb_wrapper > .vc_row.page-margin-top > .wpb_column {float:none;width:100%}
.empire-appointment .cost-calculator-form > .wpb_column > .wpb_wrapper > .vc_row.page-margin-top > .wpb_column > .vc_column-inner > .wpb_wrapper {
    display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:30px;align-items:start;
}
.empire-appointment .cost-calculator-form > .wpb_column > .wpb_wrapper > .vc_row.page-margin-top > .wpb_column > .vc_column-inner > .wpb_wrapper > :not(.vc_col-sm-6) {grid-column:1}
.empire-appointment .cost-calculator-form > .wpb_column > .wpb_wrapper > .vc_row.page-margin-top > .wpb_column > .vc_column-inner > .wpb_wrapper > .vc_col-sm-6 {
    grid-column:2;grid-row:1 / span 4;float:none;width:auto;
}
@media screen and (max-width:900px) {
    .empire-contact .empire-form-card,.empire-appointment .empire-form-card {margin:30px 18px 50px!important;padding:28px 24px 30px!important}
    .empire-appointment .cost-calculator-form > .wpb_column > .wpb_wrapper > .vc_row:first-child {grid-template-columns:1fr 1fr}
}
@media screen and (max-width:640px) {
    .empire-contact .contact-form > .empire-form-intro + .vc_row,
    .empire-appointment .cost-calculator-form > .wpb_column > .wpb_wrapper > .vc_row:first-child,
    .empire-appointment .cost-calculator-flex-box {grid-template-columns:1fr}
    .empire-appointment .cost-calculator-form > .wpb_column > .wpb_wrapper > .vc_row.page-margin-top > .wpb_column > .vc_column-inner > .wpb_wrapper {display:block}
    .empire-contact .contact-form .submit-container {grid-template-columns:1fr;align-items:stretch}
    .empire-contact .contact-form .contact-submit-action {justify-self:stretch}
    .empire-contact .contact-form button.more,
    .empire-appointment .cost-calculator-form button.cost-calculator-more {width:100%}
}

.header-container {
    position: sticky;
    top: 0;
    z-index: 1001;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.header .logo a img {
    display: block;
    width: auto;
    max-width: 260px;
    max-height: 65px;
    height: auto;
}

.header-container .menu-container .sf-menu > li > a,
body .header-container .menu-container .sf-menu > li:first-child > a {
    color: #fff !important;
    padding: 22px 9px !important;
}

.header-container .menu-container .sf-menu > li:hover,
.header-container .menu-container .sf-menu > li.sfHover {
    background: #fff !important;
}

.header-container .menu-container .sf-menu > li.current-menu-item,
.header-container .menu-container .sf-menu > li.current-menu-parent,
.header-container .menu-container .sf-menu > li.current-menu-ancestor {
    background: #1a1a1a !important;
}

.header-container .menu-container .sf-menu > li:hover > a,
.header-container .menu-container .sf-menu > li.sfHover > a {
    color: #1e69b8 !important;
    background: #fff !important;
    box-shadow: inset 0 -3px 0 #1e69b8;
}

body .header-container .menu-container .sf-menu > li:first-child:hover > a,
body .header-container .menu-container .sf-menu > li:first-child.sfHover > a,
body .header-container .menu-container .sf-menu > li:first-child > a:hover,
body .header-container .menu-container .sf-menu > li:first-child > a:focus {
    color: #1e69b8 !important;
    background-color: #fff !important;
    box-shadow: inset 0 -3px 0 #1e69b8;
}

@media screen and (min-width: 768px) {
    .header-container .sf-menu > li > .sub-menu {
        left: auto !important;
        right: 0 !important;
        width: 620px !important;
        max-width: calc(100vw - 30px);
    }

    .header-container .sf-menu > li > .sub-menu > li {
        float: left;
        width: 50% !important;
        box-sizing: border-box;
    }

    .header-container .sf-menu > li > .sub-menu > li > a {
        width: 100% !important;
        min-height: 42px;
        padding: 10px 16px !important;
        box-sizing: border-box;
        line-height: 20px !important;
        white-space: nowrap;
    }
}

.header-top-bar-container,
.header-top-bar-container a,
.header-top-bar-container li,
.header-top-bar-container span,
.header-top-bar-container [class^="template-"]::before,
.header-top-bar-container [class*=" template-"]::before {
    color: #777 !important;
}

.home-workshop-label {
    color: #fff !important;
    font-weight: 300 !important;
    font-style: normal !important;
    letter-spacing: normal !important;
}

.services-list > li > ul {
    display: flex;
    align-items: stretch;
}

.services-list > li > ul > li {
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
    min-height: 0;
    height: auto;
    padding-bottom: 0;
}

.services-list > li > ul > li > a:first-child {
    display: block;
    overflow: hidden;
}

.services-list > li > ul > li img {
    display: block;
    width: 100% !important;
    height: 260px !important;
    object-fit: cover;
}

.services-list > li > ul > li h4 {
    min-height: 26px;
}

.services-list > li > ul > li > p {
    flex: 1;
    margin: 0;
    padding: 0 30px 30px;
    line-height: 1.65;
}

.vc_single_image-img.attachment-big-thumb {
    width: 100% !important;
    height: 320px !important;
    object-fit: cover;
}

.galleries-list img,
.gallery-item img {
    width: 100% !important;
    object-fit: cover;
}

.galleries-list > li img {
    height: 180px !important;
    object-fit: cover;
}

.page-header h1 {
    line-height: 1.25;
}

.empire-service-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 42px;
}

.empire-service-images img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.empire-service-copy > .box-header {
    margin-bottom: 24px;
}

.empire-service-copy .service-lead {
    margin-bottom: 38px;
    color: #666;
    font-size: 17px;
    line-height: 1.8;
}

.service-section {
    margin-top: 34px;
    padding-top: 4px;
    scroll-margin-top: 100px;
}

.service-section h3 {
    margin-bottom: 16px;
    color: #333;
    font-size: 22px;
}

.service-section p {
    color: #666;
    line-height: 1.8;
}

.service-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.service-checklist li {
    position: relative;
    padding: 10px 12px 10px 32px;
    background: #f5f5f5;
    color: #555;
    line-height: 1.5;
}

.service-checklist li::before {
    position: absolute;
    left: 12px;
    color: #1e69b8;
    content: "✓";
    font-weight: 700;
}

.empire-service-cta {
    margin-top: 46px;
    padding: 34px;
    background: #f5f5f5;
}

.empire-service-cta h3 {
    margin: 0 0 10px;
}

.empire-service-cta p {
    margin: 0 0 22px;
}

.empire-service-cta .more {
    margin-right: 10px;
}

.call-to-action .more {
    display: block !important;
    width: 100%;
    padding: 16px 8px !important;
    box-sizing: border-box;
    overflow: hidden;
    line-height: 1.35;
}

.call-to-action .more span {
    display: block;
    margin: 0 !important;
    overflow-wrap: normal;
    word-break: normal;
}

.footer-row .cs_list_widget .list a {
    color: #ddd;
}

.footer-row .cs_list_widget .list a:hover,
.footer-row .cs_list_widget .list a:focus {
    color: #fff;
}

.empire-page-intro {
    padding: 42px 30px 38px;
    background: #f5f5f5;
    text-align: center;
}

.empire-page-intro h1 {
    margin: 0;
    color: #333;
    font-size: 30px;
    line-height: 1.25;
}

.empire-page-intro p {
    max-width: 720px;
    margin: 14px auto 0;
    color: #777;
    line-height: 1.7;
}

.empire-about-intro > .wpb_column:first-child {
    padding-right: 34px;
}

.empire-eyebrow {
    margin: 0 0 12px;
    color: #1e69b8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.empire-about-intro .box-header {
    margin-bottom: 22px;
    font-size: 30px;
    line-height: 1.3;
}

.empire-about-intro p:not(.empire-eyebrow) {
    line-height: 1.75;
}

.empire-about-checklist {
    grid-template-columns: 1fr;
    margin-top: 25px;
}

.empire-about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.empire-about-actions .more {
    margin: 0;
}

.empire-about-gallery img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.empire-about-gallery-main {
    height: 355px;
}

.empire-about-gallery-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.empire-about-gallery-pair img {
    height: 170px;
}

.empire-about-trust-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    clear: both;
    width: 100%;
}

.empire-about-trust-grid::before,
.empire-about-trust-grid::after,
.empire-about-values::before,
.empire-about-values::after {
    display: none !important;
    content: none !important;
}

.empire-about-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 22px;
    padding: 32px;
    border-top: 4px solid #1e69b8;
    background: #f5f5f5;
    box-sizing: border-box;
}

.empire-about-card .icon {
    color: #1e69b8;
    font-size: 54px;
    line-height: 1;
}

.empire-about-card h3 {
    margin: 0 0 10px;
    color: #333;
    font-size: 21px;
    line-height: 1.35;
}

.empire-about-card p {
    margin: 0;
    line-height: 1.7;
}

.empire-about-values {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    clear: both;
    width: 100%;
    background: #73767a;
}

.empire-about-value {
    min-height: 92px;
    padding: 24px 18px;
    border-right: 1px solid rgba(255,255,255,.2);
    color: #fff;
    text-align: center;
    box-sizing: border-box;
}

.empire-about-value:last-child {
    border-right: 0;
}

.empire-about-value strong,
.empire-about-value span {
    display: block;
}

.empire-about-value strong {
    margin-bottom: 7px;
    font-size: 17px;
    letter-spacing: .5px;
}

.empire-about-value span {
    color: #e9e9e9;
    line-height: 1.45;
}

.empire-about-services > .wpb_column > .wpb_wrapper > .description {
    margin-top: 18px;
}

.empire-about-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 38px;
}

.empire-about-service-card {
    min-height: 220px;
    padding: 28px;
    border: 1px solid #e2e6e7;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.empire-about-service-card:hover,
.empire-about-service-card:focus {
    border-color: #1e69b8;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
    transform: translateY(-3px);
}

.empire-about-service-card .icon {
    display: block;
    margin-bottom: 20px;
    color: #1e69b8;
    font-size: 43px;
}

.empire-about-service-card h3 {
    margin: 0 0 10px;
    color: #333;
    font-size: 18px;
    line-height: 1.35;
}

.empire-about-service-card p {
    margin: 0;
    color: #777;
    line-height: 1.65;
}

.empire-appointment .google-map-container,
.empire-contact .google-map-container,
.empire-appointment .google-map-container iframe,
.empire-contact .google-map-container iframe {
    height: 360px !important;
}

#cost-calculator-form > .wpb_column > .wpb_wrapper > .vc_row:first-child {
    display: flex;
    flex-wrap: nowrap;
}

#cost-calculator-form > .wpb_column > .wpb_wrapper > .vc_row:first-child > .wpb_column {
    float: none;
    width: 25% !important;
    min-width: 0;
    box-sizing: border-box;
}

#cost-calculator-form > .wpb_column > .wpb_wrapper > .vc_row:first-child input,
#cost-calculator-form > .wpb_column > .wpb_wrapper > .vc_row:first-child select,
#cost-calculator-form > .wpb_column > .wpb_wrapper > .vc_row:first-child .cost-calculator-dropdown {
    box-sizing: border-box;
    max-width: 100%;
}

#cost-calculator-form .ui-selectmenu-button.validation-error {
    border-color: #c62828 !important;
    box-shadow: 0 0 0 2px rgba(198, 40, 40, .15);
}

#cost-calculator-form input.validation-error,
#cost-calculator-form textarea.validation-error {
    border-color: #c62828 !important;
    box-shadow: 0 0 0 2px rgba(198, 40, 40, .15);
}

#cost-calculator-form .field-error {
    display: block;
    clear: both;
    margin-top: 7px;
    color: #b71c1c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

#cost-calculator-form .service-error {
    margin: 0 0 14px;
}

#cost-calculator-form .cost-calculator-more.is-submitting {
    cursor: wait;
    opacity: .7;
}

.appointment-success {
    margin: 30px 0 0;
    padding: 16px 20px;
    border-left: 4px solid #2e7d32;
    background: #edf7ee;
    color: #245b28;
    font-weight: 600;
}

@media screen and (max-width: 767px) {
	/* SVS Digital-inspired full-screen mobile navigation, adapted for Empire. */
	html.empire-mobile-menu-open,
	body.empire-mobile-menu-open {
		overflow: hidden !important;
	}

	.header-container {
		position: relative;
		z-index: 10010;
		background: #fff;
	}

	.header .mobile-menu-switch {
		position: relative;
		z-index: 2;
		width: 42px;
		height: 42px;
		padding: 11px 8px;
		box-sizing: border-box;
	}

	.header .mobile-menu-switch .line {
		width: 25px;
		height: 2px;
		margin: 5px 0 0;
		background: #2e3740;
	}

	.mobile-menu-container.empire-mobile-panel {
		display: block !important;
		position: fixed;
		z-index: 10020;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 100%;
		margin: 0;
		padding: 0;
		overflow-x: hidden;
		overflow-y: auto;
		background: #fff;
		box-sizing: border-box;
		transform: translate3d(100%, 0, 0);
		transition: transform .42s cubic-bezier(.22, .75, .24, 1);
		visibility: hidden;
	}

	.mobile-menu-container.empire-mobile-panel.is-open {
		transform: translate3d(0, 0, 0);
		visibility: visible;
	}

	.empire-mobile-panel__header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 82px;
		padding: 10px 18px;
		border-bottom: 1px solid #e5e7e9;
		background: #fff;
		box-sizing: border-box;
	}

	.empire-mobile-panel__logo {
		display: block;
	}

	.empire-mobile-panel__logo img {
		display: block;
		width: auto;
		max-width: 220px;
		max-height: 60px;
	}

	.empire-mobile-panel__close {
		position: relative;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		background: transparent;
		cursor: pointer;
	}

	.empire-mobile-panel__close::before,
	.empire-mobile-panel__close::after {
		content: "";
		position: absolute;
		top: 21px;
		left: 9px;
		width: 27px;
		height: 2px;
		background: #343c43;
	}

	.empire-mobile-panel__close::before { transform: rotate(45deg); }
	.empire-mobile-panel__close::after { transform: rotate(-45deg); }

	.mobile-menu-container.empire-mobile-panel .mobile-menu-divider {
		display: none !important;
	}

	.mobile-menu-container.empire-mobile-panel nav {
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
	}

	.mobile-menu-container.empire-mobile-panel .mobile-menu {
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		background: #fff;
	}

	.mobile-menu-container.empire-mobile-panel .mobile-menu > li {
		position: relative;
		float: none;
		width: 100%;
		margin: 0;
		border-bottom: 1px solid #e5e7e9;
		background: #fff;
	}

	.mobile-menu-container.empire-mobile-panel .mobile-menu > li > a:not(.template-arrow-menu) {
		display: flex;
		align-items: center;
		min-height: 53px;
		padding: 0 54px 0 18px;
		color: #545d64;
		font-size: 17px;
		font-weight: 400;
		line-height: 1.35;
		box-sizing: border-box;
	}

	.mobile-menu-container.empire-mobile-panel .mobile-menu > li > a:hover,
	.mobile-menu-container.empire-mobile-panel .mobile-menu > li.current-menu-item > a,
	.mobile-menu-container.empire-mobile-panel .mobile-menu > li.is-services-open > a:first-child {
		color: #2473ba;
		background: #fff;
	}

	.mobile-menu-container.empire-mobile-panel a.template-arrow-menu {
		display: block !important;
		position: absolute;
		top: 0;
		right: 0;
		width: 54px !important;
		height: 53px;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
	}

	.mobile-menu-container.empire-mobile-panel a.template-arrow-menu::before {
		content: "" !important;
		position: absolute;
		top: 20px;
		right: 21px;
		width: 8px;
		height: 8px;
		border-right: 1px solid #606970;
		border-bottom: 1px solid #606970;
		transform: rotate(45deg);
		transition: transform .25s ease, top .25s ease;
	}

	.mobile-menu-container.empire-mobile-panel li.is-services-open > a.template-arrow-menu::before {
		top: 24px;
		transform: rotate(225deg);
		border-color: #2473ba;
	}

	.mobile-menu-container.empire-mobile-panel .mobile-menu .sub-menu {
		display: block !important;
		position: static !important;
		float: none;
		max-height: 0;
		margin: 0 !important;
		padding: 0 !important;
		overflow: hidden;
		opacity: 0;
		background: #fafafa;
		transition: max-height .42s ease, opacity .25s ease;
	}

	.mobile-menu-container.empire-mobile-panel li.is-services-open > .sub-menu {
		max-height: 900px;
		opacity: 1;
	}

	.mobile-menu-container.empire-mobile-panel .sub-menu li {
		position: relative;
		float: none;
		width: 100% !important;
		margin: 0;
		border-top: 1px solid #e8eaec;
		background: #fafafa;
	}

	.mobile-menu-container.empire-mobile-panel .sub-menu li::before {
		content: "";
		position: absolute;
		top: 20px;
		left: 22px;
		width: 7px;
		height: 7px;
		border: 2px solid #7b858c;
		border-radius: 50%;
		box-sizing: border-box;
	}

	.mobile-menu-container.empire-mobile-panel .sub-menu a {
		display: flex !important;
		align-items: center;
		min-height: 47px;
		padding: 9px 18px 9px 44px !important;
		color: #5e676e !important;
		font-size: 14px !important;
		font-weight: 400 !important;
		line-height: 1.35 !important;
		background: transparent !important;
		box-sizing: border-box;
	}

	.mobile-menu-container.empire-mobile-panel .sub-menu a:hover {
		color: #2473ba !important;
	}

	@media (prefers-reduced-motion: reduce) {
		.mobile-menu-container.empire-mobile-panel,
		.mobile-menu-container.empire-mobile-panel .mobile-menu .sub-menu {
			transition-duration: .01ms;
		}
	}

	#cost-calculator-form > .wpb_column > .wpb_wrapper > .vc_row:first-child {
		display: block;
	}

	#cost-calculator-form > .wpb_column > .wpb_wrapper > .vc_row:first-child > .wpb_column {
		width: 100% !important;
	}
    .header .logo a img {
        max-width: 210px;
        max-height: 58px;
    }

    .services-list > li > ul {
        display: block;
    }

    .mobile-menu .sub-menu,
    .mobile-menu .sub-menu li,
    .mobile-menu .sub-menu a {
        width: 100% !important;
        white-space: normal;
        box-sizing: border-box;
    }

    .services-list > li > ul > li {
        min-height: 0;
    }

    .empire-service-images,
    .service-checklist {
        grid-template-columns: 1fr;
    }

    .empire-service-images img {
        height: auto;
        aspect-ratio: 3 / 2;
    }

    .empire-service-cta {
        padding: 26px 20px;
    }

    .empire-service-cta .more,
    .empire-service-cta .more.simple {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 54px;
        margin: 0 0 12px !important;
        padding: 15px 14px !important;
        box-sizing: border-box;
        line-height: 1.35;
        white-space: normal;
    }

    .empire-service-cta .more:last-child {
        margin-bottom: 0 !important;
    }

    .empire-service-cta .more span {
        display: block;
        margin: 0 !important;
        overflow-wrap: normal;
        word-break: normal;
        white-space: normal;
    }

    .services-list > li > ul > li img {
        height: auto !important;
        aspect-ratio: 3 / 2;
    }

    .empire-about-intro > .wpb_column:first-child {
        padding-right: 0;
    }

    .empire-about-gallery {
        margin-top: 40px;
    }

    .empire-about-gallery-main,
    .empire-about-gallery-pair img {
        height: auto;
        aspect-ratio: 3 / 2;
    }

    .empire-about-trust-grid,
    .empire-about-service-grid,
    .empire-about-values {
        grid-template-columns: 1fr;
    }

    .empire-about-card {
        grid-template-columns: 52px 1fr;
        padding: 25px 22px;
    }

    .empire-about-card .icon {
        font-size: 42px;
    }

    .empire-about-value {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.2);
    }

    .empire-about-value:last-child {
        border-bottom: 0;
    }

}
