/*
 * Black and orange look, from _example/proposal-homepage.jpg. Loaded after site-design.css
 * and overrides it. tools/theme-2026.php adds the classes and shortcodes used here.
 */
:root {
    --qst-black: #0b0b0b;
    --qst-orange: #f5a01a;
    --qst-orange-dark: #e08e0b;
    --qst-link-blue: #1d5fae;
    --qst-tint: #eef1f5;
    --qst-line: #e2e5ea;
    --qst-ink: #3a3a3a;
    --qst-heading: #111;
    --qst-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --qst-shadow: 0 6px 22px rgba(15, 23, 42, .08);
    --qst-radius: 6px;

    /* The earlier redesign's blues become black, its yellow becomes orange. */
    --qst-blue: var(--qst-black);
    --qst-dark: var(--qst-black);
    --qst-darker: #000;
    --qst-yellow: var(--qst-orange);
}

/* ------------------------------------------------------------------ type */
body.qst-theme,
body.qst-theme .elementor-kit-74208,
body.qst-theme [class*="elementor-kit-"] {
    --e-global-typography-primary-font-family: "Plus Jakarta Sans";
    --e-global-typography-secondary-font-family: "Plus Jakarta Sans";
    --e-global-typography-text-font-family: "Plus Jakarta Sans";
    --e-global-typography-accent-font-family: "Plus Jakarta Sans";
}

body.qst-theme,
body.qst-theme button,
body.qst-theme input,
body.qst-theme select,
body.qst-theme textarea,
body.qst-theme .elementor-heading-title,
body.qst-theme .elementor-widget-text-editor,
body.qst-theme .elementor-button,
body.qst-theme .eael-creative-button,
body.qst-theme .e-n-menu-title-text,
body.qst-theme .elementor-icon-list-text,
body.qst-theme .elementor-cta__title,
body.qst-theme .elementor-cta__description,
body.qst-theme .elementor-field,
body.qst-theme .elementor-field-label,
body.qst-theme .qst-mmc,
body.qst-theme .qst-mmc * {
    font-family: var(--qst-font) !important;
}

body.qst-theme {
    color: var(--qst-ink);
    -webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------------- shared bits */
.qst-i {
    flex: 0 0 auto;
}

.qst-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 22px;
    border: 0;
    border-radius: var(--qst-radius);
    font-family: var(--qst-font);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.1;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s, transform .15s;
}

.qst-btn-orange,
.qst-btn-orange:visited {
    background: var(--qst-orange);
    color: #fff !important;
}

.qst-btn-orange:hover,
.qst-btn-orange:focus-visible {
    background: var(--qst-orange-dark);
    color: #fff !important;
}

.qst-btn-black,
.qst-btn-black:visited {
    background: var(--qst-black);
    color: #fff !important;
}

.qst-btn-black:hover,
.qst-btn-black:focus-visible {
    background: #2a2a2a;
    color: #fff !important;
}

.qst-btn-lg {
    min-height: 50px;
    padding: 12px 30px;
    font-size: 19px;
    font-weight: 500;
}

.qst-eyebrow {
    margin: 0 0 4px;
    color: var(--qst-link-blue);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.qst-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--qst-link-blue) !important;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none !important;
}

.qst-link-arrow span {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.qst-link-arrow:hover span {
    text-decoration-color: var(--qst-orange);
}

/* ================================================================= header */
[data-elementor-type="header"] > .e-con,
[data-elementor-type="header"] > .e-con-inner > .e-con {
    background-color: var(--qst-black) !important;
    background-image: none !important;
}

/* ------------------------------------------------------------- top bar */
.e-con.qst-topbar-row {
    --padding-top: 0px !important;
    --padding-bottom: 0px !important;
    --min-height: 0px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border-bottom: 2px solid rgba(255, 255, 255, .85) !important;
    background: #000 !important;
}

.qst-topbar-row > .e-con-inner {
    justify-content: center !important;
    padding-block: 0 !important;
}

.qst-topbar-widget {
    width: 100% !important;
    max-width: 100% !important;
}

.qst-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 20px;
    min-height: 34px;
    padding: 4px 16px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.qst-topbar a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    text-decoration: none !important;
}

.qst-topbar a:hover span {
    color: var(--qst-orange);
}

.qst-topbar .qst-i-phone {
    fill: currentColor;
    stroke: none;
}

.qst-topbar-sep {
    color: rgba(255, 255, 255, .7);
}

@media (max-width: 767px) {
    .qst-topbar-widget {
        display: none !important;
    }

    .qst-topbar-row .elementor-icon-list-text,
    .qst-topbar-row .elementor-icon-list-icon i,
    .qst-topbar-row .elementor-icon-list-icon svg {
        color: #fff !important;
        fill: #fff !important;
    }
}

/* ---------------------------------------------------------- main bar */
.e-con.qst-header-bar {
    border-bottom: 0 !important;
    background: var(--qst-black) !important;
}

.qst-header-bar > .e-con-inner {
    min-height: 80px !important;
    gap: 18px !important;
}

.qst-header-bar > .e-con-inner > .e-con:first-child {
    flex: 0 0 124px !important;
    width: 124px !important;
    margin-right: 36px !important;
}

.qst-logo-gold {
    display: block;
    width: 100%;
    max-width: 124px;
    height: auto;
}

/* Menu: white labels, the current page underlined. */
.qst-header-bar .qst-header-menu .e-n-menu-title {
    min-height: 80px !important;
    padding: 0 26px !important;
}

.qst-header-bar .qst-header-menu .e-n-menu-title-text,
.qst-header-bar .qst-header-menu .e-n-menu-title-container,
.qst-header-bar .qst-header-menu .e-n-menu-dropdown-icon,
.qst-header-bar .qst-header-menu .e-n-menu-dropdown-icon svg {
    color: #fff !important;
    fill: #fff !important;
}

.qst-header-bar .qst-header-menu .e-n-menu-title-text {
    font-size: 16px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.qst-header-bar .qst-header-menu .e-n-menu-title.e-current .e-n-menu-title-text,
.qst-header-bar .qst-header-menu .e-n-menu-title:hover .e-n-menu-title-text {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

.qst-header-bar .qst-header-menu .e-n-menu-title:hover .e-n-menu-title-text {
    text-decoration-color: var(--qst-orange);
}

.qst-header-bar .qst-header-menu .e-n-menu-title,
.qst-header-bar .qst-header-menu .e-n-menu-title:hover,
.qst-header-bar .qst-header-menu .e-n-menu-title.e-current {
    background: transparent !important;
}

/* Contact is reached from the envelope button, as in the proposal. */
.qst-header-bar .e-n-menu-heading > .e-n-menu-item:nth-child(5) {
    display: none !important;
}

.qst-header-bar .qst-header-menu {
    flex: 0 1 auto !important;
}

.qst-header-bar .qst-header-menu .e-n-menu-heading {
    justify-content: flex-start !important;
}

/* Round icon buttons. */
.qst-header-bar .qst-header-actions-widget {
    --order: 2 !important;
    order: 2 !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
}

.qst-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.qst-round-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1.5px solid var(--qst-orange);
    border-radius: 50%;
    color: var(--qst-orange) !important;
    transition: background-color .15s, color .15s;
}

.qst-round-icon:hover,
.qst-round-icon:focus-visible {
    background: var(--qst-orange);
    color: #000 !important;
}

.qst-round-icon .qst-i-phone {
    fill: currentColor;
    stroke: none;
}

/* Availability & Pricing: an outlined pill with a search icon. */
.qst-header-bar > .e-con-inner > .e-con:last-child {
    flex: 0 0 auto !important;
    width: auto !important;
    margin-left: 26px !important;
}

.qst-header-bar a.eael-creative-button {
    gap: 8px;
    height: 46px !important;
    min-height: 46px;
    padding: 0 18px !important;
    border: 1.5px solid rgba(255, 255, 255, .55) !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #fff !important;
}

.qst-header-bar a.eael-creative-button:hover,
.qst-header-bar a.eael-creative-button:focus-visible {
    border-color: var(--qst-orange) !important;
}

.qst-header-bar a.eael-creative-button,
.qst-header-bar a.eael-creative-button * {
    color: #fff !important;
    fill: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.qst-header-bar a.eael-creative-button i,
.qst-header-bar a.eael-creative-button svg,
.qst-header-bar a.eael-creative-button .eael-creative-button-icon-left {
    display: none !important;
}

.qst-header-bar a.eael-creative-button::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 2px;
    background: var(--qst-orange);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M20 20l-4.6-4.6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M20 20l-4.6-4.6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Basket */
.qst-header-bar .qst-mmc-basket-icon {
    border-color: rgba(255, 255, 255, .4);
    background: transparent;
    color: #fff;
}

.qst-header-bar .qst-mmc-basket-icon svg {
    stroke: #fff;
    color: #fff;
}

.qst-header-bar .qst-mmc-basket-icon:hover,
.qst-header-bar .qst-mmc-basket-icon:focus {
    border-color: var(--qst-orange);
}

@media (max-width: 1240px) {
    .qst-header-bar .qst-header-menu .e-n-menu-title {
        padding: 0 12px !important;
    }

    .qst-header-bar > .e-con-inner > .e-con:first-child {
        margin-right: 12px !important;
    }

    .qst-header-actions {
        gap: 10px;
    }

    .qst-header-bar > .e-con-inner > .e-con:last-child {
        margin-left: 8px !important;
    }
}

/* Tablet and mobile headers */
[data-elementor-type="header"] .e-n-menu-toggle,
[data-elementor-type="header"] .e-n-menu-toggle i,
[data-elementor-type="header"] .e-n-menu-toggle svg {
    color: #fff !important;
    fill: #fff !important;
}

[data-elementor-type="header"] .elementor-widget-image img[src*="QST-"],
[data-elementor-type="header"] .qst-logo-gold {
    max-width: 120px;
}

/* ------------------------------------------------- orange category bar */
.e-con.qst-catbar-row {
    padding: 0 !important;
    background: var(--qst-orange) !important;
}

@media (min-width: 1025px) {
    .e-con.qst-header-empty.qst-catbar-row {
        --padding-top: 0px !important;
        --padding-bottom: 0px !important;
        --min-height: 0px !important;
        display: flex !important;
        min-height: 0 !important;
    }
}

.qst-catbar-row > .e-con-inner {
    padding-block: 0 !important;
}

.qst-catbar-widget {
    width: 100% !important;
    max-width: 100% !important;
}

.qst-catbar-list {
    display: flex;
    justify-content: center;
    gap: 0 34px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.qst-catbar-item {
    position: relative;
}

.qst-catbar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 12px;
    color: #fff !important;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none !important;
}

.qst-catbar-link .qst-i {
    stroke-width: 2.4;
    transition: transform .15s;
}

.qst-catbar-item.is-open .qst-catbar-link .qst-i,
.qst-catbar-item:hover .qst-catbar-link .qst-i {
    transform: rotate(180deg);
}

.qst-catbar-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 50;
    display: none;
    width: max-content;
    min-width: 260px;
    max-width: 420px;
    padding: 10px 0;
    border-top: 3px solid var(--qst-black);
    border-radius: 0 0 var(--qst-radius) var(--qst-radius);
    background: #fff;
    box-shadow: 0 16px 30px rgba(0, 0, 0, .18);
    transform: translateX(-50%);
}

.qst-catbar-item:hover > .qst-catbar-menu,
.qst-catbar-item:focus-within > .qst-catbar-menu,
.qst-catbar-item.is-open > .qst-catbar-menu {
    display: block;
}

.qst-catbar-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.qst-catbar-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 18px;
    color: var(--qst-heading) !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none !important;
}

.qst-catbar-menu a:hover,
.qst-catbar-menu a:focus-visible {
    background: #fff5e6;
    color: #000 !important;
}

.qst-catbar-menu .qst-catbar-all {
    font-weight: 700;
}

.qst-catbar-menu .qst-catbar-all .qst-i {
    color: var(--qst-orange);
}

/* ================================================================ home hero */
.e-con.qst-hero {
    background-color: #1b1f26 !important;
    background-image: url("img/hero.jpg") !important;
    background-position: left center !important;
    background-size: cover !important;
}

.e-con.qst-hero::before {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 18%, rgba(8, 12, 20, .25) 45%, rgba(8, 12, 20, .15) 100%) !important;
}

@media (min-width: 1025px) {
    .e-con.qst-hero {
        padding-top: 22px !important;
        padding-bottom: 52px !important;
    }

    .qst-hero > .e-con-inner {
        align-items: flex-start !important;
        gap: 40px !important;
    }

    .qst-hero > .e-con-inner > .e-con.qst-hero-copy {
        align-self: center;
        flex: 1 1 auto !important;
        max-width: 560px !important;
        margin-left: 16% !important;
        padding-top: 40px !important;
    }

    .qst-hero .qst-hero-search {
        flex: 0 0 430px !important;
        width: 430px !important;
        align-self: flex-start !important;
    }
}

.qst-hero .elementor-heading-title {
    font-size: clamp(40px, 4.4vw, 64px) !important;
    font-weight: 800 !important;
    line-height: 1.02 !important;
    letter-spacing: -.015em !important;
    text-transform: none !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .25);
}

.qst-hero .qst-hero-copy .elementor-widget-text-editor,
.qst-hero .qst-hero-copy .elementor-widget-text-editor p {
    margin-bottom: 0 !important;
    font-size: 19px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

.qst-hero .qst-hero-copy .elementor-widget-text-editor {
    margin-top: 8px !important;
}

.qst-hero .qst-hero-actions-widget {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 10px !important;
}

.qst-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 40px;
}

.qst-hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #fff !important;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: .02em;
    text-decoration: none !important;
}

.qst-hero-phone span {
    border-bottom: 2px solid #fff;
    line-height: 1.25;
}

.qst-hero-phone .qst-i-phone {
    fill: #fff;
    stroke: none;
}

.qst-hero-phone:hover span {
    border-color: var(--qst-orange);
}

/* Search card */
.qst-mmc-search-title {
    margin: 0 0 12px !important;
    color: var(--qst-heading) !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: -.01em;
    text-transform: none !important;
}

.qst-hero .qst-mmc-search,
.qst-mmc-search {
    border-radius: 8px !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28) !important;
}

.qst-hero .qst-mmc-search {
    display: block !important;
    padding: 22px 22px 24px !important;
}

.qst-hero .qst-mmc-search-form,
.qst-mmc-search-form {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
}

.qst-mmc-search-form > label,
.qst-mmc-search-form > .qst-mmc-segments,
.qst-mmc .qst-mmc-search-form > button.qst-mmc-button {
    grid-column: 1 / -1 !important;
}

.qst-mmc-search-form label > span,
.qst-mmc-segments legend {
    color: var(--qst-heading) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

.qst-hero .qst-mmc-search-form label,
.qst-mmc-search-form label {
    gap: 6px !important;
}

.qst-mmc-search-form select,
.qst-hero .qst-mmc-search-form select {
    min-height: 38px !important;
    padding: 6px 34px 6px 14px !important;
    border: 1px solid var(--qst-line) !important;
    border-radius: 5px !important;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 14px no-repeat !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
    color: var(--qst-heading) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    -webkit-appearance: none;
    appearance: none;
}

.qst-mmc-segments > div {
    gap: 0 !important;
    padding: 0 !important;
    border-radius: 5px !important;
    background: #f1f2f4 !important;
}

.qst-mmc-segments span,
.qst-hero .qst-mmc-segments span {
    padding: 9px 2px !important;
    border-radius: 5px !important;
    color: var(--qst-heading) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.qst-mmc-segments input:checked + span {
    background: var(--qst-orange) !important;
    color: #fff !important;
}

.qst-mmc .qst-mmc-search-form > button.qst-mmc-button,
.qst-mmc .qst-hero-search .qst-mmc-search-form > button.qst-mmc-button {
    min-height: 46px !important;
    margin-top: 8px;
    border-radius: 6px !important;
    background: var(--qst-black) !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.qst-mmc .qst-mmc-search-form > button.qst-mmc-button svg {
    width: 20px;
    height: 20px;
}

.qst-mmc .qst-mmc-search-form > button.qst-mmc-button:hover {
    background: #2a2a2a !important;
}

/* ============================================================ callback bar */
.e-con.qst-logo-strip {
    overflow: visible !important;
    padding-top: 0 !important;
    padding-bottom: 18px !important;
    border-bottom: 0 !important;
}

.qst-logo-strip .elementor-widget-image-carousel {
    overflow: hidden;
}

.qst-callback-widget {
    position: relative;
    z-index: 5;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: -42px !important;
    margin-bottom: 8px !important;
}

.qst-callback {
    padding: 18px 40px 18px 48px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 34px rgba(15, 23, 42, .12);
}

.qst-callback-form {
    display: grid;
    grid-template-columns: auto repeat(3, minmax(0, 1fr)) auto;
    align-items: center;
    gap: 16px;
}

.qst-callback-title {
    position: relative;
    margin: 0 18px 0 0 !important;
    padding-left: 26px;
    color: var(--qst-heading) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -.01em;
    text-transform: none !important;
    white-space: nowrap;
}

.qst-callback-title::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 6px;
    height: 32px;
    border-radius: 3px;
    background: var(--qst-orange);
    transform: translateY(-50%);
}

.qst-callback-field {
    display: block;
    margin: 0;
}

.qst-callback-field input {
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    padding: 0 14px !important;
    border: 1px solid var(--qst-line) !important;
    border-radius: 5px !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    color: var(--qst-heading);
    font-size: 15px;
}

.qst-callback-field input::placeholder {
    color: #6b6f76;
}

.qst-callback-field input:focus {
    border-color: var(--qst-orange) !important;
    outline: 2px solid rgba(245, 160, 26, .25);
}

.qst-callback .qst-btn {
    min-height: 42px;
    padding: 8px 26px;
    font-size: 17px;
    font-weight: 500;
}

.qst-callback-trap {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.qst-callback-note {
    margin: 12px 0 0 !important;
    padding: 10px 14px;
    border-radius: 5px;
    background: #fff5e6;
    color: var(--qst-heading);
    font-size: 14px;
    font-weight: 600;
}

.qst-callback-note.is-sent {
    background: #e9f7ef;
    color: #14532d;
}

/* ------------------------------------------------------------ client logos */
.qst-logo-strip .swiper-slide {
    position: relative;
    padding: 0 12px;
}

.qst-logo-strip .swiper-slide::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 46px;
    background: var(--qst-line);
    transform: translateY(-50%);
}

.qst-logo-strip .swiper-slide img {
    max-height: 64px;
    width: auto !important;
    object-fit: contain;
}

/* ============================================================ category grid */
.e-con.qst-card-grid.qst-cats-section {
    --padding-top: 0px !important;
    --padding-bottom: 0px !important;
    padding: 30px max(16px, calc((100% - 1200px) / 2)) 48px !important;
    background-color: var(--qst-tint) !important;
    background-image: none !important;
}

.qst-cats-section::before {
    display: none !important;
}

.qst-cats-section .qst-cats-widget {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}

.qst-cats-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 28px;
}

.qst-cats-title {
    margin: 0 !important;
    color: var(--qst-heading) !important;
    font-size: clamp(28px, 2.6vw, 38px) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -.02em !important;
    text-transform: none !important;
}

.qst-cats-head .qst-link-arrow {
    margin-bottom: 6px;
}

.qst-cats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.qst-cat-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 16px 16px;
    border-top: 4px solid var(--qst-orange);
    border-radius: 6px;
    background: #fff;
    box-shadow: var(--qst-shadow);
    transition: box-shadow .15s, transform .15s;
}

.qst-cat-card:hover {
    box-shadow: 0 12px 30px rgba(15, 23, 42, .13);
    transform: translateY(-2px);
}

.qst-cat-body {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.qst-cat-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.qst-cat-logo img {
    display: block;
    max-width: 82px;
    max-height: 64px;
    width: auto;
    height: auto;
}

.qst-cat-logo-iosh img,
.qst-cat-logo-elearning img,
.qst-cat-logo-other img {
    max-height: 70px;
}

.qst-cat-logo-spa img,
.qst-cat-logo-eusr img {
    max-width: 92px;
}

.qst-cat-title {
    margin: 0 0 6px !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -.01em;
    text-transform: none !important;
}

.qst-cat-title a {
    color: var(--qst-heading) !important;
    text-decoration: none !important;
}

.qst-cat-text {
    margin: 0 !important;
    color: #4a4d52;
    font-size: 13.5px;
    line-height: 1.5;
}

.qst-cat-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
}

.qst-cat-select {
    box-sizing: border-box;
    width: 100%;
    height: 38px;
    padding: 0 34px 0 14px !important;
    border: 1px solid var(--qst-line) !important;
    border-radius: 5px !important;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 13px no-repeat !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    color: var(--qst-heading);
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    -webkit-appearance: none;
    appearance: none;
}

.qst-cat-actions .qst-btn {
    min-height: 38px;
    padding: 8px 20px;
    font-size: 15px;
    font-weight: 500;
}

.qst-cat-card-wide {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
}

.qst-cat-card-wide .qst-cat-body {
    flex: 1 1 auto;
}

.qst-cat-card-wide .qst-cat-actions {
    display: flex;
    flex: 0 0 auto;
}

@media (max-width: 1024px) {
    .qst-cats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qst-callback-form {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .qst-callback-title {
        grid-column: 1 / -1;
        margin: 0 !important;
    }

    .qst-callback .qst-btn {
        grid-column: 1 / -1;
    }

    .qst-hero > .e-con-inner > .e-con.qst-hero-copy {
        margin-left: 0 !important;
    }

    .e-con.qst-hero::before {
        background: linear-gradient(90deg, rgba(8, 12, 20, .55) 0%, rgba(8, 12, 20, .45) 100%) !important;
    }

    .e-con.qst-hero {
        padding-bottom: 64px !important;
    }
}

@media (max-width: 767px) {
    .qst-cats-grid {
        grid-template-columns: 1fr;
    }

    .qst-cat-card-wide {
        flex-direction: column;
        align-items: stretch;
    }

    .qst-cat-actions {
        gap: 10px;
    }

    .qst-callback {
        padding: 18px 16px;
    }

    .qst-callback-form {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .qst-callback-title {
        font-size: 19px !important;
        white-space: normal;
    }

    .qst-hero-actions {
        gap: 14px 24px;
    }

    .qst-btn-lg {
        font-size: 17px;
        padding: 10px 22px;
    }

    .qst-hero-phone {
        font-size: 19px;
    }

    .qst-hero .qst-hero-copy .elementor-widget-text-editor,
    .qst-hero .qst-hero-copy .elementor-widget-text-editor p {
        font-size: 17px !important;
    }
}

/* ============================================== lower sections of the home page */
/* About / Courses / Contact tiles: white cards with an orange top edge. */
.qst-tiles {
    background-color: var(--qst-tint) !important;
    padding-top: 8px !important;
    padding-bottom: 48px !important;
}

.qst-tiles > .e-con,
.qst-tiles > .e-con-inner > .e-con {
    border-top: 4px solid var(--qst-orange);
    border-radius: 6px !important;
    background: #fff !important;
    box-shadow: var(--qst-shadow);
}

.qst-tiles .elementor-heading-title {
    color: var(--qst-heading) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

/* Section titles across pages: black, heavy, sentence case. */
body.qst-theme [data-elementor-type="wp-page"] h2.elementor-heading-title {
    color: var(--qst-heading);
    font-size: clamp(26px, 2.4vw, 36px) !important;
    font-weight: 800 !important;
    letter-spacing: -.015em !important;
    text-transform: none !important;
}

body.qst-theme [data-elementor-type="wp-page"] h1.elementor-heading-title {
    font-weight: 800 !important;
    letter-spacing: -.015em !important;
    text-transform: none !important;
}

body.qst-theme [data-elementor-type="wp-page"] h3.elementor-heading-title,
body.qst-theme [data-elementor-type="wp-page"] h4.elementor-heading-title {
    font-weight: 700 !important;
}

/* Compliance Partner: black band, orange title and button. */
.e-con.qst-band-dark {
    background-color: var(--qst-black) !important;
}

.qst-band-dark h2.elementor-heading-title,
body.qst-theme [data-elementor-type="wp-page"] .qst-band-dark h2.elementor-heading-title {
    color: var(--qst-orange) !important;
}

.qst-band-dark .elementor-widget-text-editor li::marker {
    color: var(--qst-orange);
}

/* Elementor buttons everywhere: orange, rounded, sentence case. */
body.qst-theme [data-elementor-type="wp-page"] .elementor-button,
body.qst-theme [data-elementor-type="footer"] .elementor-button {
    border: 0 !important;
    border-radius: var(--qst-radius) !important;
    background-color: var(--qst-orange) !important;
    color: #fff !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

body.qst-theme [data-elementor-type="wp-page"] .elementor-button:hover,
body.qst-theme [data-elementor-type="footer"] .elementor-button:hover {
    background-color: var(--qst-orange-dark) !important;
}

body.qst-theme [data-elementor-type="wp-page"] .elementor-button *,
body.qst-theme [data-elementor-type="footer"] .elementor-button * {
    color: #fff !important;
    fill: #fff !important;
}

/* Feedback: quiet band with an orange quote mark. */
.e-con.qst-band-white {
    background-color: #fff !important;
}

.qst-band-white .elementor-icon,
.qst-band-white .elementor-icon i,
.qst-band-white .elementor-icon svg {
    color: var(--qst-orange) !important;
    fill: var(--qst-orange) !important;
}

/* Why Choose Us and other photo bands: darker photo, white text. */
.qst-section[class*="e-con"]::before {
    opacity: 1;
}

/* ============================================================ other pages */
/* Pages opening on a photo: the home hero's treatment. */
.e-con.qst-page-hero,
.e-con.qst-course-hero {
    background-color: #111 !important;
}

.e-con.qst-page-hero::before,
.e-con.qst-course-hero::before {
    background: linear-gradient(90deg, rgba(5, 7, 10, .86) 0%, rgba(5, 7, 10, .7) 50%, rgba(5, 7, 10, .45) 100%) !important;
    opacity: 1 !important;
}

.qst-page-hero h1.elementor-heading-title,
.qst-page-hero h2.elementor-heading-title,
.qst-course-hero h1.elementor-heading-title {
    color: #fff !important;
    font-weight: 800 !important;
    text-transform: none !important;
}

/* Course listing cards (Elementor call-to-action): white, orange edge, black button. */
.qst-card-grid:not(.qst-cats-section) .elementor-cta {
    border: 0 !important;
    border-top: 4px solid var(--qst-orange) !important;
    border-radius: 6px !important;
    background: #fff !important;
    box-shadow: var(--qst-shadow);
}

.qst-card-grid .elementor-cta__title {
    color: var(--qst-heading) !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

.qst-card-grid .elementor-cta__button {
    border: 0 !important;
    border-radius: var(--qst-radius) !important;
    background: var(--qst-black) !important;
    color: #fff !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.qst-card-grid .elementor-cta__button::after {
    content: " \2192";
}

.qst-card-grid .elementor-cta__button:hover {
    background: #2a2a2a !important;
}

.qst-mmc-card-count {
    background: var(--qst-orange) !important;
    color: #fff !important;
}

/* Course page side card and EAEL buttons. */
body.qst-theme [data-elementor-type="wp-page"] a.eael-creative-button {
    border-radius: var(--qst-radius) !important;
}

/* Plugin components: tables, buttons, facts. */
.qst-mmc {
    --qst-mmc-primary: var(--qst-black);
    --qst-mmc-dark: #111;
    --qst-mmc-accent: var(--qst-orange);
}

.qst-mmc a.qst-mmc-button,
.qst-mmc button.qst-mmc-button {
    border-radius: var(--qst-radius) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* Forms on every page: inputs and an orange submit, as the callback bar. */
body.qst-theme .elementor-field-group .elementor-field-textual,
body.qst-theme .elementor-field-group select {
    border: 1px solid var(--qst-line) !important;
    border-radius: 5px !important;
}

body.qst-theme .elementor-field-group .elementor-field-textual:focus {
    border-color: var(--qst-orange) !important;
    box-shadow: 0 0 0 2px rgba(245, 160, 26, .2) !important;
}

body.qst-theme .elementor-form .elementor-button[type="submit"] {
    border-radius: var(--qst-radius) !important;
    background: var(--qst-orange) !important;
    color: #fff !important;
}

/* Mega menu: orange accents on hover. */
.qst-mega-cat:hover,
.qst-mega-item.is-open > .qst-mega-cat {
    color: #000 !important;
}

.qst-mega-item.is-open > .qst-mega-cat {
    box-shadow: inset 3px 0 0 var(--qst-orange);
}

.qst-mega-panel a:hover,
.qst-mega-help a:hover {
    color: var(--qst-orange-dark) !important;
}

/* ================================================================== footer */
[data-elementor-type="footer"] > .e-con:first-child {
    background-color: #fff !important;
}

.e-con.qst-band-yellow {
    background-color: var(--qst-orange) !important;
}

.qst-band-yellow .elementor-heading-title,
.qst-band-yellow .elementor-widget-text-editor,
.qst-band-yellow .elementor-widget-text-editor * {
    color: #111 !important;
}

.qst-band-yellow h2.elementor-heading-title,
.qst-band-yellow .elementor-heading-title {
    font-weight: 800 !important;
    text-transform: none !important;
}

body.qst-theme [data-elementor-type="footer"] .qst-band-yellow .elementor-button,
body.qst-theme .qst-band-yellow .qst-band-button .elementor-button {
    background-color: var(--qst-black) !important;
}

body.qst-theme [data-elementor-type="footer"] .qst-band-yellow .elementor-button:hover {
    background-color: #2a2a2a !important;
}

.e-con.qst-footer-main,
.e-con.qst-footer-legal {
    background-color: var(--qst-black) !important;
}

.e-con.qst-footer-legal {
    border-top: 1px solid rgba(255, 255, 255, .12) !important;
}

.qst-footer-main .elementor-heading-title,
.qst-footer-main .elementor-heading-title a,
.qst-footer-main .elementor-icon-list-text,
.qst-footer-main .elementor-widget-text-editor,
.qst-footer-main .elementor-widget-text-editor * {
    color: #d6d8dc !important;
}

.qst-footer-main .qst-foot-links > .elementor-widget-heading:first-child .elementor-heading-title {
    color: var(--qst-orange) !important;
    font-weight: 700 !important;
}

.qst-footer-main .elementor-heading-title a:hover,
.qst-footer-main a:hover .elementor-icon-list-text {
    color: var(--qst-orange) !important;
}

.qst-footer-main .elementor-icon-list-icon i,
.qst-footer-main .elementor-icon-list-icon svg {
    color: var(--qst-orange) !important;
    fill: var(--qst-orange) !important;
}

.qst-footer-main .elementor-divider-separator {
    border-color: rgba(255, 255, 255, .12) !important;
}

/* Footer divider: no person/star icon in the middle, one plain long line. */
.elementor-element-2c114fd .elementor-divider__element {
    display: none !important;
}

.elementor-element-2c114fd .elementor-divider-separator {
    gap: 0 !important;
}

/* Footer logo: smaller than site-design.css's 230px. */
.qst-footer-main .qst-foot-brand .elementor-widget-image img.qst-logo-gold {
    width: 160px !important;
    max-width: 100% !important;
}

.qst-footer-legal .elementor-widget-text-editor,
.qst-footer-legal .elementor-widget-text-editor * {
    color: #9a9ea6 !important;
}

/* Sticky bar at the foot of mobile screens. */
.qst-mmc-sticky,
.qst-sticky-bar {
    background: var(--qst-black) !important;
}

/* ============================================================ tuning pass 1 */
.qst-btn,
body.qst-theme .qst-btn {
    letter-spacing: 0 !important;
    text-transform: none !important;
}

@media (min-width: 1025px) {
    .qst-hero > .e-con-inner {
        gap: 28px !important;
    }

    .qst-hero > .e-con-inner > .e-con.qst-hero-copy {
        flex: 0 1 560px !important;
        max-width: 560px !important;
        margin-left: 14% !important;
        margin-right: auto !important;
        padding-top: 52px !important;
    }

    .qst-hero .elementor-heading-title {
        font-size: 60px !important;
        letter-spacing: -.02em !important;
    }

    .qst-hero .qst-hero-copy .elementor-widget-text-editor,
    .qst-hero .qst-hero-copy .elementor-widget-text-editor p {
        font-size: 18.5px !important;
    }

    .qst-hero .qst-hero-search {
        flex: 0 0 428px !important;
        width: 428px !important;
    }
}

/* Callback bar overlaps the foot of the hero, inside the page width. */
.qst-logo-strip .elementor-element.qst-callback-widget {
    margin-top: -44px !important;
    margin-bottom: 14px !important;
}

.qst-logo-strip > .e-con-inner,
.e-con.qst-logo-strip.e-con-full {
    box-sizing: border-box;
}

.qst-logo-strip .qst-callback-widget,
.qst-logo-strip .elementor-widget-image-carousel {
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Client logos at a readable size. */
.qst-logo-strip .swiper-slide img,
.qst-logo-strip .swiper-slide-image {
    /* The logo files are square with wide margins: show the middle band. */
    width: 100% !important;
    max-width: 150px !important;
    height: 80px !important;
    max-height: none !important;
    object-fit: cover;
}

.qst-logo-strip .swiper-slide:last-child::after {
    display: none;
}

/* The three tiles keep a modest title size. */
body.qst-theme [data-elementor-type="wp-page"] .qst-tiles h2.elementor-heading-title,
body.qst-theme [data-elementor-type="wp-page"] .qst-tiles .elementor-heading-title {
    font-size: 24px !important;
    font-weight: 700 !important;
}

/* Theme button rules (type=submit) would otherwise paint it black. */
.qst-callback button.qst-btn-orange,
.qst-callback button.qst-btn-orange:focus {
    border: 0 !important;
    background: var(--qst-orange) !important;
    color: #fff !important;
}

.qst-callback button.qst-btn-orange:hover {
    background: var(--qst-orange-dark) !important;
}

/* The figure shrank to nothing inside the centred slide, taking the logo with it. */
.qst-logo-strip .swiper-slide-inner,
.qst-logo-strip .swiper-slide figure {
    width: 100% !important;
}

/* Listing cards match the home page cards: white, with black buttons. */
.qst-card-grid:not(.qst-cats-section) .elementor-cta__content,
.qst-card-grid:not(.qst-cats-section) .elementor-cta {
    background-color: #fff !important;
}

/* The card stays white on hover, so its text keeps its normal colour (Elementor would turn it white). */
.qst-card-grid:not(.qst-cats-section) .elementor-cta:hover .elementor-cta__description {
    color: #3f444b !important;
}

.qst-card-grid:not(.qst-cats-section) .elementor-cta:hover .elementor-cta__title {
    color: var(--qst-heading) !important;
}

body.qst-theme [data-elementor-type="wp-page"] .qst-card-grid .elementor-cta__button.elementor-button {
    background-color: var(--qst-black) !important;
    color: #fff !important;
}

body.qst-theme [data-elementor-type="wp-page"] .qst-card-grid .elementor-cta__button.elementor-button:hover {
    background-color: #2a2a2a !important;
}

/* Tablet and mobile menu button: white icon on the black bar. */
[data-elementor-type="header"] .e-n-menu-toggle,
[data-elementor-type="header"] .e-n-menu-toggle:hover,
[data-elementor-type="header"] .e-n-menu-toggle:focus,
[data-elementor-type="header"] .elementor-menu-toggle {
    border: 1.5px solid rgba(255, 255, 255, .5) !important;
    border-radius: 8px !important;
    background: transparent !important;
    --n-menu-toggle-icon-color: #fff;
    --n-menu-toggle-icon-color-hover: var(--qst-orange);
}

[data-elementor-type="header"] .e-n-menu-toggle .e-n-menu-toggle-icon,
[data-elementor-type="header"] .e-n-menu-toggle .e-n-menu-toggle-icon i,
[data-elementor-type="header"] .e-n-menu-toggle .e-n-menu-toggle-icon svg {
    color: #fff !important;
    fill: #fff !important;
}

[data-elementor-type="header"] button.e-n-menu-toggle,
[data-elementor-type="header"] button.e-n-menu-toggle .e-n-menu-toggle-icon {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

[data-elementor-type="header"] button.e-n-menu-toggle {
    padding: 8px !important;
}

[data-elementor-type="header"] button.e-n-menu-toggle svg {
    width: 24px !important;
    height: 24px !important;
    fill: #fff !important;
}

/* Contact page hero: the same dark treatment as the other page heroes. */
.e-con.qst-contact-hero {
    background-color: #111 !important;
}

.e-con.qst-contact-hero::before {
    background: linear-gradient(90deg, rgba(5, 7, 10, .86) 0%, rgba(5, 7, 10, .72) 55%, rgba(5, 7, 10, .55) 100%) !important;
}

/* Footer contact icons: black glyph on the orange disc. */
.qst-footer-main .elementor-icon-list-icon i,
.qst-footer-main .elementor-icon-list-icon svg {
    color: #111 !important;
    fill: #111 !important;
}

/* Why Choose Us: the card has an Elementor scroll effect that slides it down by up to
   200px. On small screens that carries it past its photo band, under the footer. */
@media (max-width: 1024px) {
    .elementor-74215 .elementor-element-7a7b7af {
        transform: none !important;
    }

    /* Room above the card so the photo still shows. */
    .elementor-74215 .e-con.elementor-element-4d1922a {
        --padding-top: 160px !important;
        padding-top: 160px !important;
    }
}

/* Course card with no dates: a note above Availability & Pricing / Make Booking Enquiry.
   Text Editor widget in the card template; its first paragraph is the orange title.
   Long selectors: the hero's white-text rules would otherwise win. */
.qst-course-card > .elementor-widget.qst-no-dates,
.elementor-widget.qst-no-dates {
    width: 100%;
    margin: 0 0 14px !important;
}

.qst-no-dates > .elementor-widget-container {
    padding: 12px 14px !important;
    border-left: 4px solid var(--qst-orange);
    border-radius: 4px;
    background: #fff5e6 !important;
    text-align: left;
}

.e-con .qst-course-card .elementor-widget.elementor-widget-text-editor.qst-no-dates,
.e-con .qst-course-card .elementor-widget.elementor-widget-text-editor.qst-no-dates p,
.e-con .qst-course-card .elementor-widget.elementor-widget-text-editor.qst-no-dates li {
    margin: 0 !important;
    color: #111 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.e-con .qst-course-card .elementor-widget.elementor-widget-text-editor.qst-no-dates p:first-child {
    margin-bottom: 4px !important;
    color: var(--qst-orange) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
}

.e-con .qst-course-card .elementor-widget.elementor-widget-text-editor.qst-no-dates strong {
    color: #111 !important;
    font-weight: 700;
}

/* Call to Action boxes placed one under another in a plain container (e.g. "Assessment &
   Certification" on course pages) sit side by side on desktop. Keyed on structure, not
   element ids, so it applies wherever the pattern is used. Course grids have their own layout. */
@media (min-width: 1025px) {
    .e-con:not(.qst-card-grid) > .e-con-inner:has(> .elementor-widget-call-to-action + .elementor-widget-call-to-action),
    .e-con.e-con-full:not(.qst-card-grid):has(> .elementor-widget-call-to-action + .elementor-widget-call-to-action) {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px !important;
        align-items: stretch;
    }

    .e-con:not(.qst-card-grid) > .e-con-inner:has(> .elementor-widget-call-to-action + .elementor-widget-call-to-action) > .elementor-widget-call-to-action,
    .e-con.e-con-full:not(.qst-card-grid):has(> .elementor-widget-call-to-action + .elementor-widget-call-to-action) > .elementor-widget-call-to-action {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    .e-con:not(.qst-card-grid) > .e-con-inner:has(> .elementor-widget-call-to-action + .elementor-widget-call-to-action) .elementor-cta,
    .e-con.e-con-full:not(.qst-card-grid):has(> .elementor-widget-call-to-action + .elementor-widget-call-to-action) .elementor-cta {
        height: 100%;
        min-height: 340px;
    }
}

/* --------------------------------------- booking section: gold QST watermark */
/* The "Book ... Course Manually" section of the course pages: the old
   person/star watermark is replaced by a faint gold QST logo behind the
   left column. */
.e-con.qst-form-group > .elementor-background-overlay {
    display: none !important;
}

.e-con.qst-form-group {
    position: relative !important;
    overflow: hidden;
}

.e-con.qst-form-group::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    width: 46% !important;
    height: 100% !important;
    background-color: transparent !important;
    background-image: url("img/qst-logo-gold.png") !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 80% auto !important;
    opacity: .12 !important;
    mix-blend-mode: normal !important;
    pointer-events: none;
    z-index: 0 !important;
}

.e-con.qst-form-group > .e-con-inner,
.e-con.qst-form-group > .elementor-element {
    position: relative;
    z-index: 1;
}

@media (max-width: 767px) {
    .e-con.qst-form-group::before {
        width: 100% !important;
        height: 50% !important;
    }
}

/* ------------------------------------- top bar on mobile: one even row */
/* Call / Email / hours stay on one line, all at the same height. */
@media (max-width: 767px) {
    .qst-topbar-row .elementor-icon-list-items.elementor-inline-items {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
    }

    .qst-topbar-row .elementor-inline-items > .elementor-icon-list-item {
        display: flex !important;
        align-items: center !important;
        height: 40px;
        margin: 0 !important;
        padding: 0 8px !important;
        white-space: nowrap;
        line-height: 1 !important;
    }

    .qst-topbar-row .elementor-icon-list-item > a {
        display: flex !important;
        align-items: center !important;
        height: 100%;
        line-height: 1 !important;
    }

    .qst-topbar-row .elementor-icon-list-icon {
        display: flex !important;
        align-items: center !important;
        padding: 0 !important;
        margin: 0 5px 0 0 !important;
    }

    .qst-topbar-row .elementor-icon-list-text {
        font-size: clamp(10px, 3.2vw, 13px) !important;
        line-height: 1 !important;
        padding: 0 !important;
    }
}
