/* ST-Brunnenbau home-page typography system.
   The scale is fluid so German compound words stay readable without
   determining the geometry of the surrounding section. */
:root {
    --st-home-h1: clamp(3.75rem, 5.4vw, 4.5rem);
    --st-home-h2: clamp(2.75rem, 4.4vw, 3.5rem);
    --st-home-h3: clamp(1.75rem, 2.8vw, 2.25rem);
    --st-home-h4: clamp(1.5rem, 2.35vw, 1.875rem);
    --st-home-h5: clamp(1.25rem, 1.8vw, 1.5rem);
    --st-home-lead: clamp(1.25rem, 2vw, 1.625rem);
    --st-home-body: clamp(1rem, 1.4vw, 1.125rem);
}

/* Home services: two permanently revealed photographic cards.
   The only hover response is the orange arrow tile. */
#primary #main .st-home-service-showcase .d-grid {
    background: #effaff;
    display: grid !important;
    gap: 30px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

/* Keep the drilling rig clear of the headline by favoring the image's right side. */
#primary #main [data-id="f973e91"] img {
    object-position: 35% top !important;
}

#primary #main .st-home-service-showcase .service-item,
#primary #main .st-home-service-showcase .service-inner,
#primary #main .st-home-service-showcase .service-content {
    min-width: 0;
}

#primary #main .st-home-service-showcase .service-inner {
    background: #102b4e;
    box-shadow: none !important;
    height: 100%;
    overflow: hidden;
    padding: 0 !important;
    position: relative;
}

#primary #main .st-home-service-showcase .service-content {
    column-gap: clamp(16px, 1.6vw, 24px);
    display: grid !important;
    grid-template-columns: clamp(52px, 4.2vw, 64px) minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    min-height: clamp(340px, 28vw, 420px);
    overflow: hidden;
    padding: clamp(24px, 2.4vw, 36px) !important;
    position: relative;
}

#primary #main .st-home-service-showcase .service-content::after {
    background: linear-gradient(180deg, rgba(7, 25, 48, 0.7) 0%, rgba(7, 25, 48, 0.16) 42%, rgba(7, 25, 48, 0.82) 100%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 2;
}

#primary #main .st-home-service-showcase .service-post-thumbnail {
    height: 100% !important;
    inset: 0;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute;
    width: 100%;
    z-index: 1;
}

#primary #main .st-home-service-showcase .service-post-thumbnail img {
    height: 100% !important;
    object-fit: cover;
    object-position: center 48%;
    transform: none !important;
    transition: none !important;
    width: 100%;
}

#primary #main .st-home-service-showcase .service-title,
#primary #main .st-home-service-showcase .service-description,
#primary #main .st-home-service-showcase .service-button {
    position: relative;
    z-index: 3;
}

#primary #main .st-home-service-showcase .service-title {
    align-self: center;
    grid-column: 2;
    grid-row: 1;
    margin: 0 !important;
    min-height: 0;
}

#primary #main .st-home-service-showcase .service-title,
#primary #main .st-home-service-showcase .service-title a {
    color: #fff !important;
    font-size: clamp(26px, 2.1vw, 34px) !important;
    line-height: 1.08 !important;
    overflow-wrap: normal;
    text-wrap: balance;
}

#primary #main .st-home-service-showcase .service-description {
    align-self: end;
    color: #fff !important;
    grid-column: 1 / -1;
    grid-row: 3;
    margin: clamp(64px, 8vw, 108px) 0 0 !important;
    max-width: 100%;
    min-height: 0;
}

#primary #main .st-home-service-showcase .service-description p {
    color: inherit !important;
    font-size: clamp(16px, 1.1vw, 18px) !important;
    line-height: 1.45 !important;
    margin: 0;
}

#primary #main .st-home-service-showcase .service-button {
    align-items: center;
    align-self: start;
    background: rgba(9, 39, 70, 0.42) !important;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: none !important;
    display: flex;
    grid-column: 1;
    grid-row: 1;
    height: clamp(52px, 4.2vw, 64px);
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    transition: background-color 180ms ease, border-color 180ms ease !important;
    width: clamp(52px, 4.2vw, 64px);
}

#primary #main .st-home-service-showcase .service-button .button-icon,
#primary #main .st-home-service-showcase .service-button .btn-icon-wrap,
#primary #main .st-home-service-showcase .service-button .btn-icon {
    align-items: center;
    display: flex !important;
    height: 20px;
    justify-content: center;
    margin: 0 !important;
    position: static;
    transform: none !important;
    width: 20px;
}

#primary #main .st-home-service-showcase .service-button .btn-icon i {
    color: #fff !important;
    display: block;
    font-size: 15px;
    transform: rotate(45deg);
}

#primary #main .st-home-service-showcase .service-button .btn-icon-hover {
    display: none !important;
}

#primary #main .st-home-service-showcase .service-inner:hover .service-button,
#primary #main .st-home-service-showcase .service-inner:focus-within .service-button {
    background-color: #f17626 !important;
    border-color: #f17626;
}

#primary #main .st-home-service-showcase .service-inner:hover .service-post-thumbnail,
#primary #main .st-home-service-showcase .service-inner:hover .service-post-thumbnail img,
#primary #main .st-home-service-showcase .service-inner:hover .service-title,
#primary #main .st-home-service-showcase .service-inner:hover .service-description {
    opacity: 1 !important;
    transform: none !important;
}

@media (max-width: 767px) {
    #primary #main .st-home-service-showcase .d-grid {
        gap: 15px !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    #primary #main .st-home-service-showcase .service-content {
        grid-template-columns: 52px minmax(0, 1fr);
        min-height: clamp(320px, 92vw, 400px);
        padding: 22px !important;
    }

    #primary #main .st-home-service-showcase .service-title,
    #primary #main .st-home-service-showcase .service-title a {
        font-size: clamp(25px, 7vw, 30px) !important;
    }

    #primary #main .st-home-service-showcase .service-description {
        margin-top: 72px !important;
        max-width: 100%;
    }

    #primary #main .st-home-service-showcase .service-button {
        height: 52px;
        width: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #primary #main .st-home-service-showcase .service-button {
        transition: none !important;
    }
}

/* Display hierarchy */
#primary #main [data-id="1ee26a8"] {
    max-width: 67.5rem;
    width: 100%;
}

#primary #main [data-id="1ee26a8"] h1 {
    font-size: var(--st-home-h1) !important;
    letter-spacing: -0.035em !important;
    line-height: 1.02 !important;
    text-wrap: balance;
}

#primary #main h2.elementor-heading-title {
    font-size: var(--st-home-h2) !important;
    letter-spacing: -0.035em !important;
    line-height: 1.06 !important;
    text-wrap: balance;
}

@media (min-width: 1025px) {
    :root {
        --st-home-h2: clamp(2.25rem, 3.9vw, 3.125rem);
    }

    #primary #main h2.elementor-heading-title {
        text-wrap: nowrap;
        white-space: nowrap;
    }
}

#primary #main h3.elementor-heading-title {
    font-size: var(--st-home-h3) !important;
    letter-spacing: -0.025em !important;
    line-height: 1.12 !important;
    text-wrap: balance;
}

#primary #main h4 {
    font-size: var(--st-home-h4) !important;
    letter-spacing: -0.025em !important;
    line-height: 1.14 !important;
    text-wrap: balance;
}

#primary #main h5 {
    font-size: var(--st-home-h5) !important;
    line-height: 1.2 !important;
}

/* Orange eyebrow labels are a separate utility role, even when the
   original template marks them up as H3. */
#primary #main h3.elementor-icon-box-title {
    font-size: clamp(1rem, 1.35vw, 1.125rem) !important;
    letter-spacing: -0.01em !important;
    line-height: 1.25 !important;
}

/* Hero copy: deliberate two-line measure below the two-line headline. */
#primary #main [data-id="c3f4edd"] {
    max-width: 45rem;
    width: 100%;
}

#primary #main [data-id="c3f4edd"] p {
    font-size: clamp(1.125rem, 1.7vw, 1.375rem) !important;
    line-height: 1.45 !important;
    text-wrap: pretty;
}

/* Company facts: three concise, equally weighted columns. */
@media (min-width: 768px) {
    #primary #main [data-id="f9d8cb2"] {
        --e-con-grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* Company numbers must remain on one line inside their columns. */
#primary #main [data-id="f9d8cb2"] .elementor-counter-number-wrapper {
    align-items: baseline;
    flex-wrap: nowrap;
    font-size: clamp(2.75rem, 4.1vw, 3.5rem) !important;
    letter-spacing: -0.045em;
    line-height: 1 !important;
    white-space: nowrap;
}

#primary #main [data-id="f9d8cb2"] .st-counter-plus {
    letter-spacing: 0;
    margin-left: 0.1em;
}

#primary #main [data-id="f9d8cb2"] .st-counter-unit {
    color: var(--e-global-color-primary, #F17626);
    letter-spacing: 0;
    margin-left: 0.18em;
}

#primary #main [data-id="f9d8cb2"] .st-counter-range-prefix {
    display: inline-flex;
    gap: 0.12em;
    letter-spacing: 0;
    margin-right: 0.12em;
}

#primary #main [data-id="f9d8cb2"] .elementor-counter-title {
    font-size: clamp(0.875rem, 1.25vw, 1rem) !important;
    line-height: 1.3 !important;
}

/* Services intro stays expressive, but no longer competes with H2. */
#primary #main [data-id="8b0dc2b"] p {
    font-size: var(--st-home-lead) !important;
    line-height: 1.34 !important;
    text-wrap: pretty;
}

/* Equal service columns and predictable text/image zones. */
#primary #main [data-id="9de1852"] .d-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

#primary #main [data-id="9de1852"] .service-item,
#primary #main [data-id="9de1852"] .service-inner,
#primary #main [data-id="9de1852"] .service-content {
    min-width: 0;
}

#primary #main [data-id="9de1852"] .icon-wrap {
    margin-bottom: 4rem !important;
}

#primary #main [data-id="9de1852"] .service-title {
    font-size: var(--st-home-h4) !important;
    line-height: 1.14 !important;
    margin-bottom: 1rem !important;
    min-height: 2.28em;
    hyphens: manual;
    overflow-wrap: anywhere;
    text-wrap: balance;
    word-break: normal;
}

#primary #main [data-id="9de1852"] .service-description {
    font-size: var(--st-home-body);
    line-height: 1.5;
    min-height: 4.5em;
}

#primary #main [data-id="9de1852"] .service-post-thumbnail {
    height: 12rem;
    margin-top: 1.5rem !important;
    padding-top: 0 !important;
}

#primary #main [data-id="9de1852"] .service-post-thumbnail img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

/* Client cards use the same H4 scale and never need more than two lines. */
#primary #main [data-id="fea4381"] .service-title {
    font-size: var(--st-home-h4) !important;
    line-height: 1.14 !important;
    max-width: 100%;
    overflow-wrap: normal;
    text-wrap: balance;
    word-break: normal;
}

#primary #main [data-id="fea4381"] .service-description {
    font-size: var(--st-home-body);
    line-height: 1.5;
}

/* Imported feature blocks had their own 90px rules; keep their body copy
   proportional to the shared heading scale. */
#primary #main [data-id="2f46fc7"] p,
#primary #main [data-id="816ede1"] p,
#primary #main [data-id="54e7208"] p,
#primary #main [data-id="f327896"] p,
#primary #main [data-id="a213ff0"] p,
#primary #main [data-id="a261f00"] p,
#primary #main [data-id="30ae8d4"] p {
    font-size: var(--st-home-lead) !important;
    line-height: 1.38 !important;
    text-wrap: pretty;
}

/* Benefit descriptions are supporting copy, not additional headings. */
#primary #main [data-id="816ede1"],
#primary #main [data-id="cff9db2"],
#primary #main [data-id="249de32"],
#primary #main [data-id="a439338"] {
    color: var(--e-global-color-text_light) !important;
    font-weight: 400 !important;
}

#primary #main [data-id="816ede1"] p,
#primary #main [data-id="cff9db2"] p,
#primary #main [data-id="249de32"] p,
#primary #main [data-id="a439338"] p {
    color: inherit;
    font-weight: inherit;
}

/* FAQ titles need room for long German questions without oversized rows. */
#primary #main [data-id="c649cab"] .e-n-accordion-item-title-text {
    font-size: clamp(1.125rem, 1.65vw, 1.375rem) !important;
    line-height: 1.25 !important;
}

@media (max-width: 1024px) {
    :root {
        --st-home-h1: clamp(3rem, 7vw, 4rem);
        --st-home-h2: clamp(2.25rem, 5.5vw, 3rem);
        --st-home-h4: clamp(1.375rem, 3vw, 1.75rem);
        --st-home-lead: clamp(1.125rem, 2.6vw, 1.375rem);
    }

    #primary #main [data-id="9de1852"] .d-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    #primary #main [data-id="9de1852"] .service-post-thumbnail {
        height: 13rem;
    }
}

@media (max-width: 767px) {
    :root {
        --st-home-h1: clamp(2.25rem, 10.5vw, 2.75rem);
        --st-home-h2: clamp(1.875rem, 8.5vw, 2.25rem);
        --st-home-h3: clamp(1.5rem, 7vw, 1.875rem);
        --st-home-h4: clamp(1.375rem, 6.5vw, 1.625rem);
        --st-home-lead: clamp(1.0625rem, 5vw, 1.25rem);
    }

    #primary #main [data-id="1ee26a8"],
    #primary #main [data-id="c3f4edd"] {
        max-width: 100%;
    }

    #primary #main [data-id="f9d8cb2"] .elementor-counter-number-wrapper {
        font-size: clamp(2.125rem, 10vw, 2.75rem) !important;
    }

    #primary #main [data-id="f9d8cb2"] {
        --e-con-grid-template-columns: minmax(0, 1fr) !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    #primary #main [data-id="9de1852"] .d-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    #primary #main [data-id="9de1852"] .icon-wrap {
        margin-bottom: 2.5rem !important;
    }

    #primary #main [data-id="9de1852"] .service-title,
    #primary #main [data-id="9de1852"] .service-description {
        min-height: 0;
    }

    #primary #main [data-id="9de1852"] .service-post-thumbnail {
        height: auto;
        padding-top: 66% !important;
    }
}

/* Desktop header: reserve enough space for both actions without wrapping. */
@media (min-width: 1201px) {
    header [data-id="fc77be2"] > .e-con-inner {
        flex-wrap: nowrap !important;
    }

    header [data-id="1e26b60"] {
        --width: 210px !important;
        flex: 0 0 210px !important;
        min-width: 210px;
    }

    header [data-id="f4cdaa6"] {
        flex: 1 1 auto !important;
        min-width: 0;
    }

    header [data-id="51fd958"] {
        --width: 500px !important;
        flex: 0 0 500px !important;
        min-width: 500px;
        flex-wrap: nowrap !important;
    }

    header [data-id="a74a493"],
    header [data-id="a74a493"] .elementor-heading-title,
    header [data-id="a74a493"] a,
    header [data-id="41699c8"] .elementor-button,
    header [data-id="41699c8"] .elementor-button-text,
    header [data-id="41699c8"] .elementor-button-text span {
        white-space: nowrap !important;
    }

    /* Pull the Hero content upward and bring the counters closer to the CTA. */
    #primary #main [data-id="e5aacc2"] {
        --padding-top: 190px !important;
        --padding-bottom: 24px !important;
    }

    #primary #main [data-id="f9d8cb2"] {
        --margin-top: 70px !important;
    }
}

@media (min-width: 1367px) {
    header [data-id="1e26b60"] {
        --width: 360px !important;
        flex-basis: 360px !important;
        min-width: 360px;
    }
}

/* Short laptop screens need an additional compact vertical rhythm. */
@media (min-width: 1201px) and (max-height: 820px) {
    #primary #main [data-id="e5aacc2"] {
        --padding-top: 150px !important;
        --padding-bottom: 15px !important;
    }

    #primary #main [data-id="f9d8cb2"] {
        --margin-top: 45px !important;
    }
}

/* Compact desktop rhythm: keep each section's useful content close to its
   heading while preserving the existing visual language. */
@media (min-width: 1025px) {
    /* Services */
    #primary #main [data-id="a4687d8"] {
        --padding-top: 80px !important;
        --padding-bottom: 0px !important;
    }

    #primary #main [data-id="afcd9e2"] {
        margin-bottom: 35px !important;
    }

    #primary #main [data-id="27a517f"] {
        --padding-top: 28px !important;
    }

    #primary #main [data-id="9de1852"] .icon-wrap {
        margin-bottom: 2rem !important;
    }

    #primary #main [data-id="a3b297e"] {
        --padding-top: 48px !important;
        --padding-bottom: 48px !important;
    }

    /* Customer groups */
    #primary #main [data-id="488ece4"] {
        --padding-top: 80px !important;
        --padding-bottom: 80px !important;
    }

    #primary #main [data-id="8aa0323"] .elementor-heading-title {
        font-size: var(--st-home-lead) !important;
        line-height: 1.38 !important;
    }

    #primary #main [data-id="fea4381"] .d-grid {
        gap: 20px !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    /* Advantages */
    #primary #main [data-id="5be5b2a"] {
        --padding-top: 80px !important;
        --padding-bottom: 80px !important;
    }

    #primary #main [data-id="b4626c7"] {
        margin-bottom: 35px !important;
    }

    #primary #main [data-id="ca12db7"] {
        --gap: 24px !important;
        --padding-top: 28px !important;
    }

    #primary #main [data-id="f1d77bf"],
    #primary #main [data-id="159f36f"] {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    #primary #main [data-id="25d7078"] {
        padding-top: 24px !important;
    }

    /* Benefits */
    #primary #main [data-id="f840f73"] {
        --padding-top: 80px !important;
        --padding-bottom: 80px !important;
    }

    #primary #main [data-id="f657f33"] {
        margin-bottom: 35px !important;
    }

    #primary #main [data-id="3bc2306"] {
        --margin-bottom: 45px !important;
        --padding-top: 28px !important;
    }

    #primary #main [data-id="fef67c9"],
    #primary #main [data-id="7d902c3"] {
        --padding-top: 24px !important;
        --padding-bottom: 24px !important;
    }

    #primary #main [data-id="892586e"] {
        --padding-top: 24px !important;
    }

    /* Regional coverage */
    #primary #main .st-city-showcase__inner {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    #primary #main .st-city-showcase__header {
        margin-bottom: 44px;
    }

    #primary #main .st-city-showcase__header h2 {
        font-size: var(--st-home-h2);
        line-height: 1.06;
        margin-bottom: 30px;
        padding-bottom: 30px;
        white-space: nowrap;
    }

    #primary #main .st-city-showcase__intro {
        gap: 48px;
    }

    #primary #main .st-city-showcase__lead p {
        margin-bottom: 24px;
    }

    #primary #main .st-city-showcase__grid {
        gap: 18px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #primary #main .st-city-showcase__copy {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }

    #primary #main .st-city-showcase__card strong {
        font-size: clamp(1.5rem, 2vw, 2rem);
    }

    /* Portfolio */
    #primary #main [data-id="dad8ace"] {
        --padding-top: 80px !important;
        --padding-bottom: 80px !important;
    }

    #primary #main [data-id="50155af"] {
        margin-bottom: 25px !important;
    }

    #primary #main [data-id="41027b9"] {
        margin-bottom: 15px !important;
    }

    #primary #main [data-id="f327896"] {
        margin-bottom: 20px !important;
    }

    /* Pricing, FAQ and final request form */
    #primary #main [data-id="07d616e"],
    #primary #main [data-id="6eab2c1"] {
        min-height: 414px !important;
    }

    #primary #main [data-id="6eab2c1"] {
        --padding-top: 40px !important;
        --padding-bottom: 40px !important;
    }

    #primary #main [data-id="2c7b4d1"] {
        --padding-top: 70px !important;
        --padding-bottom: 70px !important;
    }

    #primary #main [data-id="c649cab"] .e-n-accordion-item-title {
        padding-top: 18px !important;
        padding-bottom: 18px !important;
    }

    #primary #main [data-id="efc9f85"] {
        --padding-top: 80px !important;
        --padding-bottom: 80px !important;
    }

    #primary #main [data-id="eda5f38"] {
        margin-bottom: 25px !important;
    }

    #primary #main [data-id="78dbe8f"] {
        --padding-top: 30px !important;
        --padding-bottom: 30px !important;
    }

    #primary #main [data-id="30ae8d4"] {
        margin-bottom: 40px !important;
    }

    #primary #main [data-id="0b0d8c8"] input:not([type="hidden"]) {
        min-height: 52px;
        margin-bottom: 18px !important;
        padding-top: 11px;
        padding-bottom: 11px;
    }
}

@media (min-width: 1440px) {
    #primary #main [data-id="fea4381"] .d-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }
}

/* Responsive stabilization for the production homepage. These rules keep the
   established desktop composition intact and only resolve narrow-screen
   collisions, German compound-word wrapping and touch-target sizing. */
#primary #main [data-id="1ee26a8"] h1,
#primary #main [data-id="9de1852"] .service-title,
#primary #main .st-audience-section .service-title,
#primary #main .st-audience-section .service-title a {
    hyphens: none;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

/* German calls to action use sentence case; the imported template applies
   title case through text-transform. */
#primary #main .elementor-button-text,
#primary #main .elementor-button-text span,
#primary #main .st-city-showcase__button span {
    text-transform: none !important;
}

#primary #main .st-core-values-import .elementor-icon-box-title,
#primary #main .st-core-values-import .elementor-icon-box-title span {
    hyphens: none !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

#primary #main .st-core-values-import .elementor-icon-box-description {
    color: rgba(255, 255, 255, 0.82) !important;
}

#primary #main .st-faq-source [data-id="a261f00"] .elementor-heading-title,
#primary #main .st-faq-source .e-n-accordion-item-title-text > span,
#primary #main .st-faq-source .e-n-accordion-item .elementor-widget-text-editor,
#primary #main .st-faq-source .e-n-accordion-item .elementor-widget-text-editor p {
    color: rgba(255, 255, 255, 0.8) !important;
}

@media (max-width: 1024px) {
    header [data-id="f5a1b73"] > .elementor-widget-container {
        padding: 0 !important;
    }

    header .menu-mobile-nav-button {
        align-items: center;
        display: inline-flex !important;
        height: 46px;
        justify-content: center;
        min-height: 46px;
        min-width: 46px;
        width: 46px;
    }

    .mobile-nav-close {
        align-items: center;
        display: flex;
        height: 44px;
        justify-content: center;
        right: 8px;
        top: 8px;
        width: 44px;
    }

    .st-brunnenbau-mobile-nav .dropdown-toggle {
        min-height: 44px;
        min-width: 44px;
    }

    #primary #main .st-audience-section .service-title,
    #primary #main .st-audience-section .service-title a {
        font-size: clamp(1.5rem, 3.4vw, 1.6875rem) !important;
    }

    #primary #main .st-core-values-import [data-id="381cdaa"],
    #primary #main .st-core-values-import [data-id="fb5ea2d"],
    #primary #main .st-core-values-import [data-id="318df25"],
    #primary #main .st-core-values-import [data-id="6012435"] {
        padding-left: clamp(24px, 4vw, 36px) !important;
        padding-right: clamp(24px, 4vw, 36px) !important;
    }

    #primary #main .st-core-values-import [data-id="02412d1"] .elementor-button,
    #primary #main .st-core-values-import [data-id="02412d1"] .elementor-button-text,
    #primary #main .st-core-values-import [data-id="02412d1"] .elementor-button-text span {
        white-space: nowrap !important;
    }

    .progress-wrap {
        background: rgba(255, 255, 255, 0.96);
        bottom: max(12px, env(safe-area-inset-bottom));
        box-shadow: 0 8px 24px rgba(18, 59, 119, 0.2), inset 0 0 0 1px rgba(37, 86, 159, 0.12);
        height: 48px;
        right: 12px;
        width: 48px;
    }
}

@media (min-width: 681px) and (max-width: 1024px) {
    #primary #main [data-id="1ee26a8"] h1 {
        font-size: clamp(3.25rem, 5.86vw, 3.75rem) !important;
        hyphens: none;
    }

    #primary #main .st-audience-section .service-title {
        margin-right: 0 !important;
        margin-top: 56px !important;
    }
}

@media (min-width: 768px) and (max-width: 900px) {
    header [data-id="fc77be2"] > .e-con-inner {
        flex-wrap: nowrap !important;
        gap: 12px !important;
    }

    header [data-id="1e26b60"] {
        --width: auto !important;
        flex: 0 1 auto !important;
        min-width: 0;
    }

    header [data-id="a74a493"] {
        display: none !important;
    }

    header [data-id="51fd958"] {
        --width: auto !important;
        flex: 0 0 auto !important;
        flex-wrap: nowrap !important;
        margin-left: auto;
        min-width: 0;
    }

    header [data-id="41699c8"] .elementor-button {
        padding: 14px 18px !important;
        white-space: nowrap !important;
    }

    header [data-id="41699c8"] .elementor-button-text,
    header [data-id="41699c8"] .elementor-button-text span {
        white-space: nowrap !important;
    }
}

@media (max-width: 767px) {
    #primary #main [data-id="1ee26a8"] h1 {
        font-size: clamp(2.125rem, 9vw, 2.375rem) !important;
        hyphens: none;
        line-height: 1.04 !important;
        text-wrap: wrap;
    }

    #primary #main [data-id="8aa0323"] .elementor-heading-title {
        font-size: var(--st-home-lead) !important;
        line-height: 1.42 !important;
    }

    #primary #main .st-city-showcase__header h2 {
        font-size: var(--st-home-h2) !important;
        letter-spacing: -0.035em;
        line-height: 1.06;
        margin-bottom: 24px;
        padding-bottom: 24px;
    }

    #primary #main .st-city-showcase__inner {
        padding-bottom: 64px;
        padding-top: 68px;
    }

    #primary #main .st-city-showcase__header {
        margin-bottom: 36px;
    }

    #primary #main .st-city-showcase__grid {
        gap: 14px;
    }

    #primary #main .st-city-showcase__card {
        aspect-ratio: 4 / 4.25;
    }

    #primary #main .st-city-showcase__card strong {
        font-size: 2rem;
        overflow-wrap: normal;
        word-break: normal;
    }

    .progress-wrap {
        height: 44px;
        right: 10px;
        width: 44px;
    }

    .progress-wrap .icon-arrow i {
        font-size: 16px !important;
    }
}

/* Keep the photographic service layout ahead of the legacy widget rules above. */
:is(body.page-id-48, body.page-id-88) #primary #main .st-home-service-showcase .d-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

:is(body.page-id-48, body.page-id-88) #primary #main .st-home-service-showcase .service-title {
    font-size: clamp(26px, 2.1vw, 34px) !important;
    margin: 0 !important;
    min-height: 0 !important;
}

:is(body.page-id-48, body.page-id-88) #primary #main .st-home-service-showcase .service-description {
    margin: clamp(64px, 8vw, 108px) 0 0 !important;
    min-height: 0 !important;
}

:is(body.page-id-48, body.page-id-88) #primary #main .st-home-service-showcase .service-post-thumbnail {
    height: 100% !important;
    inset: 0;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute;
    width: 100%;
}

@media (max-width: 767px) {
    :is(body.page-id-48, body.page-id-88) #primary #main .st-home-service-showcase .d-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    :is(body.page-id-48, body.page-id-88) #primary #main .st-home-service-showcase .service-title {
        font-size: clamp(25px, 7vw, 30px) !important;
    }

    :is(body.page-id-48, body.page-id-88) #primary #main .st-home-service-showcase .service-description {
        margin-top: 72px !important;
    }

    :is(body.page-id-48, body.page-id-88) #primary #main .st-home-service-showcase .service-post-thumbnail {
        height: 100% !important;
        padding: 0 !important;
    }
}
