/* Dedicated solution listing page styles. Loaded after frontend-hilti.css. */
.solution-page-hero {
    position: relative;
    overflow: hidden;
    min-height: 32rem;
    color: #fff;
    background: #242329;
}
.solution-page-hero-media {
    position: absolute;
    inset: 0;
    display: block;
    margin: 0;
}
.solution-page-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.solution-page-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20,20,23,0.92) 0%, rgba(20,20,23,0.72) 42%, rgba(20,20,23,0.18) 100%);
}
.solution-page-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    min-height: 32rem;
    padding-top: 5rem;
    padding-bottom: 4rem;
}
.solution-page-hero-copy {
    max-width: 52rem;
}
.solution-page-hero span,
.solution-page-head span,
.solution-page-feature-kicker {
    display: block;
    margin-bottom: 0.75rem;
    color: #d2051e;
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.solution-page-hero span {
    color: rgba(255,255,255,0.78);
}
.solution-page-hero h1 {
    margin: 0;
    color: #fff;
    font-size: 3.15rem;
    line-height: 1.08;
    font-weight: 900;
}
.solution-page-hero p {
    margin: 1.1rem 0 0;
    color: rgba(255,255,255,0.88);
    font-size: 1.06rem;
    line-height: 1.8;
}
.solution-page-hero-action {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 12rem;
    min-height: 3.25rem;
    padding: 0 1.4rem;
    color: #fff;
    background: #d2051e;
    font-weight: 900;
}
.solution-page-hero-action:hover {
    color: #fff;
    background: #ab0115;
}

.solution-page-categories {
    position: relative;
    z-index: 2;
    margin-top: -2.75rem;
}
.solution-page-category-grid {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border: 0.0625rem solid #e2e2de;
    box-shadow: 0 1rem 2.5rem rgba(20,20,23,0.08);
}
.solution-page-category {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.7rem;
    padding: 1.5rem 1.35rem;
    color: #4f4c50;
    border-right: 0.0625rem solid #e2e2de;
    border-bottom: 0.0625rem solid #e2e2de;
    background: #fff;
    transition: background 0.2s ease, transform 0.2s ease;
}
.solution-page-category:nth-child(3n) {
    border-right: 0;
}
.solution-page-category:nth-last-child(-n + 3) {
    border-bottom: 0;
}
.solution-page-category:hover {
    color: #4f4c50;
    background: #fafaf8;
    transform: translateY(-0.125rem);
}
.solution-page-category i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    color: #d2051e;
    background: #f3f3ef;
    font-style: normal;
    font-weight: 900;
}
.solution-page-category strong {
    color: #151515;
    font-size: 1.02rem;
    line-height: 1.35;
}
.solution-page-category span {
    color: #5f5b60;
    font-size: 0.92rem;
    line-height: 1.55;
}

.solution-page-main {
    background: #f7f7f5;
    padding: 4.5rem 0 5rem;
}
.solution-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.8rem;
}
.solution-page-head h2 {
    margin: 0;
    color: #151515;
    font-size: 2.25rem;
    line-height: 1.12;
    font-weight: 900;
}
.solution-page-head p {
    max-width: 32rem;
    margin: 0;
    color: #615e64;
    line-height: 1.75;
}
.solution-page-intro {
    margin-bottom: 1.4rem;
    padding: 1.5rem 1.6rem;
    background: #fff;
    border-left: 0.25rem solid #d2051e;
}
.solution-page-feature-list {
    display: grid;
    gap: 1.75rem;
}
.solution-page-feature {
    position: relative;
    scroll-margin-top: 8rem;
    display: grid;
    grid-template-columns: minmax(22rem, 1fr) minmax(0, 1fr);
    align-items: stretch;
    background: #fff;
    border: 0.0625rem solid #e1e1de;
}
.solution-page-anchor {
    position: absolute;
    top: -8rem;
    left: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}
.detail-main > h2[id] {
    scroll-margin-top: 8rem;
}
.solution-page-feature.is-reverse {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 1fr);
}
.solution-page-feature.is-reverse .solution-page-feature-media {
    grid-column: 2;
}
.solution-page-feature.is-reverse .solution-page-feature-body {
    grid-column: 1;
    grid-row: 1;
}
.solution-page-feature-media {
    position: relative;
    display: block;
    min-height: 28rem;
    overflow: hidden;
    background: #d8d8d4;
}
.solution-page-feature-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.solution-page-feature:hover .solution-page-feature-media img {
    transform: scale(1.03);
}
.solution-page-feature-body {
    display: grid;
    align-content: center;
    gap: 1.15rem;
    padding: 2.5rem 2.75rem;
}
.solution-page-feature-body h3 {
    margin: 0;
    color: #151515;
    font-size: 2.05rem;
    line-height: 1.15;
    font-weight: 900;
}
.solution-page-feature-body h3 a {
    color: inherit;
}
.solution-page-feature-summary {
    margin: 0;
    color: #4f4c50;
    font-size: 1rem;
    line-height: 1.85;
}
.solution-page-feature-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 0;
}
.solution-page-feature-points div {
    margin: 0;
    padding: 1rem 1rem 1.05rem;
    background: #f7f7f5;
    border-left: 0.18rem solid #d2051e;
}
.solution-page-feature-points dt {
    margin: 0 0 0.45rem;
    color: #151515;
    font-weight: 900;
}
.solution-page-feature-points dd {
    margin: 0;
    color: #5f5b60;
    line-height: 1.6;
}
.solution-page-feature-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.2rem;
}
.solution-page-feature-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    padding: 0 1rem;
    color: #fff;
    background: #d2051e;
    font-weight: 900;
}
.solution-page-feature-actions a + a {
    color: #242329;
    background: #efefeb;
}

.solution-page-products {
    background: #fff;
    padding: 4rem 0 5rem;
}
.solution-page-products-head a {
    color: #d2051e;
    font-weight: 900;
    border-bottom: 0.125rem solid #d2051e;
    padding-bottom: 0.2rem;
}
.solution-page-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.solution-page-product {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    min-height: 8rem;
    color: #4f4c50;
    background: #fff;
    border: 0.0625rem solid #e1e1de;
}
.solution-page-product:hover {
    color: #4f4c50;
    background: #f7f7f5;
}
.solution-page-product-image {
    display: block;
    min-height: 8rem;
    overflow: hidden;
    background: #d8d8d4;
}
.solution-page-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.solution-page-product-image.is-empty {
    background:
        linear-gradient(135deg, rgba(238,238,235,0.96), rgba(211,211,207,0.95)),
        repeating-linear-gradient(45deg, rgba(210,5,30,0.16) 0 1px, transparent 1px 20px);
}
.solution-page-product-body {
    display: grid;
    gap: 0.45rem;
    align-content: center;
    padding: 1rem;
}
.solution-page-product strong {
    color: #151515;
    font-size: 1.05rem;
    line-height: 1.35;
}
.solution-page-product em {
    color: #5f5b60;
    font-style: normal;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 1199.98px) {
    .solution-page-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1023.98px) {
    .solution-page-hero-inner,
    .solution-page-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .solution-page-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .solution-page-category:nth-child(3n) {
        border-right: 0.0625rem solid #e2e2de;
    }
    .solution-page-category:nth-child(2n) {
        border-right: 0;
    }
    .solution-page-category:nth-last-child(-n + 3) {
        border-bottom: 0.0625rem solid #e2e2de;
    }
    .solution-page-category:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
    .solution-page-feature,
    .solution-page-feature.is-reverse {
        grid-template-columns: 1fr;
    }
    .solution-page-feature.is-reverse .solution-page-feature-media,
    .solution-page-feature.is-reverse .solution-page-feature-body {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 767.98px) {
    .solution-page-hero,
    .solution-page-hero-inner {
        min-height: 20rem;
    }
    .solution-page-hero-media::after {
        background:
            linear-gradient(90deg, rgba(20,20,23,0.86) 0%, rgba(20,20,23,0.58) 58%, rgba(20,20,23,0.16) 100%),
            linear-gradient(0deg, rgba(20,20,23,0.32), rgba(20,20,23,0));
    }
    .solution-page-hero-inner {
        justify-content: flex-end;
        gap: 1rem;
        padding-top: 2.4rem;
        padding-bottom: 2.2rem;
    }
    .solution-page-hero-copy {
        max-width: 100%;
    }
    .solution-page-hero span {
        margin-bottom: 0.55rem;
        font-size: 0.78rem;
    }
    .solution-page-hero h1 {
        font-size: 1.85rem;
        line-height: 1.14;
        max-width: 19rem;
    }
    .solution-page-hero p {
        display: -webkit-box;
        margin-top: 0.8rem;
        max-width: 20rem;
        overflow: hidden;
        font-size: 0.95rem;
        line-height: 1.65;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
    .solution-page-hero-action {
        width: auto;
        min-width: 10.5rem;
        min-height: 2.9rem;
    }
    .solution-page-product-grid,
    .solution-page-feature-points {
        grid-template-columns: 1fr;
    }
    .solution-page-categories {
        margin-top: 0;
        padding: 1rem 0 0;
        background: #fff;
    }
    .solution-page-category-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
        overflow: visible;
        padding: 0 1rem 1rem;
        border: 0;
        box-shadow: none;
    }
    .solution-page-category {
        flex: none;
        max-width: none;
        min-height: 6.8rem;
        padding: 0.9rem;
        border: 0.0625rem solid #e2e2de;
        justify-content: flex-start;
    }
    .solution-page-category:nth-child(3n),
    .solution-page-category:nth-child(2n) {
        border-right: 0.0625rem solid #e2e2de;
    }
    .solution-page-category:nth-last-child(-n + 3),
    .solution-page-category:nth-last-child(-n + 2) {
        border-bottom: 0.0625rem solid #e2e2de;
    }
    .solution-page-category i {
        width: 1.85rem;
        height: 1.85rem;
        font-size: 0.78rem;
    }
    .solution-page-category strong {
        font-size: 1rem;
    }
    .solution-page-category span {
        display: none;
    }
    .solution-page-main {
        padding: 2.75rem 0 3.25rem;
    }
    .solution-page-head {
        gap: 0.75rem;
        margin-bottom: 1.2rem;
    }
    .solution-page-head h2 {
        font-size: 1.65rem;
    }
    .solution-page-head p {
        font-size: 0.95rem;
        line-height: 1.65;
    }
    .solution-page-feature-media {
        min-height: 15rem;
    }
    .solution-page-feature-body {
        padding: 1.5rem;
    }
    .solution-page-feature-body h3 {
        font-size: 1.6rem;
    }
    .solution-page-product {
        grid-template-columns: 7rem minmax(0, 1fr);
    }
}

@media (max-width: 420px) {
    .solution-page-category-grid {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }
    .solution-page-category {
        min-height: 0;
        gap: 0.55rem;
        padding: 0.85rem 0.95rem;
    }
}

/* Solution detail page extras */
.solution-carousel {
    position: relative;
    margin: 1.5rem 0 2rem;
    border-radius: 0.25rem;
    overflow: hidden;
    background: #f0f0ee;
}
.solution-carousel-track {
    display: flex;
    transition: transform 0.4s ease;
    width: 100%;
}
.solution-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.solution-carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.solution-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
}
.solution-carousel-btn:hover {
    background: rgba(0,0,0,0.6);
}
.solution-carousel-prev { left: 0.75rem; }
.solution-carousel-next { right: 0.75rem; }
.solution-carousel-dots {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}
.solution-carousel-dots button {
    width: 0.5rem;
    height: 0.5rem;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}
.solution-carousel-dots button.active {
    background: #d2051e;
}

.detail-main .compact-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0.25rem 0.25rem 0 0;
    background: #f0f0ee;
}
.detail-main .compact-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.detail-main .compact-card {
    padding: 0 0 1.25rem;
    overflow: hidden;
}
.detail-main .compact-card strong,
.detail-main .compact-card span {
    padding: 0 1rem;
}
.detail-main .compact-card strong {
    display: block;
    margin-top: 0.75rem;
}

@media (max-width: 767.98px) {
    .solution-carousel-btn {
        width: 2rem;
        height: 2rem;
        font-size: 0.8rem;
    }
    .solution-carousel-prev { left: 0.4rem; }
    .solution-carousel-next { right: 0.4rem; }
}

/* 案例列表页布局修复 */
.listing-layout { display: grid; grid-template-columns: 17rem 1fr; gap: 2rem; align-items: start; }
.listing-filter { grid-column: 1; }
.listing-main { grid-column: 2; min-width: 0; }
.case-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1023.98px) {
    .listing-layout { grid-template-columns: 1fr; }
    .listing-filter { grid-column: auto; }
    .listing-main { grid-column: auto; }
}

/* Hilti engineering reference layout for /index/solution/index. */
body:has(.yt-eng-breadcrumb) main {
    padding-top: 132px !important;
    background: #fff !important;
}

body:has(.yt-eng-breadcrumb) .smartbar-top {
    display: none !important;
}

body:has(.yt-eng-breadcrumb) main > :not(.yt-eng-breadcrumb):not(.yt-eng-hero):not(.yt-eng-card-section):not(.yt-eng-bottom-cta) {
    display: none !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-breadcrumb,
body:has(.yt-eng-breadcrumb) .yt-eng-hero,
body:has(.yt-eng-breadcrumb) .yt-eng-card-section,
body:has(.yt-eng-breadcrumb) .yt-eng-bottom-cta {
    background: #fff !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-breadcrumb .container,
body:has(.yt-eng-breadcrumb) .yt-eng-hero-grid,
body:has(.yt-eng-breadcrumb) .yt-eng-card-grid,
body:has(.yt-eng-breadcrumb) .yt-eng-bottom-cta .container {
    width: calc(100% - 120px) !important;
    max-width: 1785px !important;
    margin: 0 auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-breadcrumb {
    padding: 26px 0 0 !important;
    border-top: 1px solid #e6e6e1 !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-breadcrumb .container {
    color: #7d7565 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-breadcrumb a {
    color: #7d7565 !important;
    text-decoration: none !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-breadcrumb span {
    margin: 0 7px !important;
    color: #c2bfb8 !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-breadcrumb strong {
    color: #4f4d50 !important;
    font-weight: 600 !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-hero {
    padding: 34px 0 92px !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-hero-grid {
    display: grid !important;
    grid-template-columns: 40% 60% !important;
    align-items: center !important;
    min-height: 620px !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-hero-copy {
    position: relative !important;
    z-index: 3 !important;
    max-width: 650px !important;
    padding-right: 44px !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-hero-copy h1 {
    margin: 0 0 4px !important;
    color: #d2051e !important;
    font-size: 30px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-hero-copy h2 {
    margin: 0 0 14px !important;
    color: #33333a !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    font-weight: 900 !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-hero-copy p {
    max-width: 625px !important;
    margin: 0 0 24px !important;
    color: #4f4d50 !important;
    font-size: 14px !important;
    line-height: 1.72 !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-hero-copy a,
body:has(.yt-eng-breadcrumb) .yt-eng-bottom-cta a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 245px !important;
    min-height: 35px !important;
    padding: 0 24px !important;
    border: 2px solid #d2051e !important;
    color: #d2051e !important;
    background: #fff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-hero-media {
    position: relative !important;
    min-height: 620px !important;
    overflow: hidden !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-hero-media::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    z-index: 2 !important;
    width: 50% !important;
    background: linear-gradient(112deg, #fff 0 38%, rgba(255,255,255,0.88) 38% 57%, rgba(255,255,255,0) 57% 100%) !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-hero-media img {
    display: block !important;
    width: 100% !important;
    height: 620px !important;
    object-fit: cover !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-card-section {
    padding: 0 0 92px !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-card-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    column-gap: 12px !important;
    row-gap: 96px !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-service-card {
    min-width: 0 !important;
    margin: 0 !important;
    background: #fff !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-service-media {
    display: block !important;
    overflow: hidden !important;
    margin-bottom: 28px !important;
    color: inherit !important;
    text-decoration: none !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-service-media img {
    display: block !important;
    width: 100% !important;
    height: 300px !important;
    object-fit: cover !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-service-body {
    padding: 0 16px 0 0 !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-service-body p {
    margin: 0 0 22px !important;
    color: #4f4d50 !important;
    font-size: 14px !important;
    line-height: 1.68 !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-service-links {
    display: grid !important;
    gap: 13px !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-service-links a {
    display: inline-flex !important;
    width: fit-content !important;
    color: #33333a !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-service-links a::after {
    content: " >" !important;
    padding-left: 4px !important;
    color: #d2051e !important;
    font-weight: 900 !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-bottom-cta {
    padding: 30px 0 170px !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-bottom-cta h2 {
    margin: 0 0 6px !important;
    color: #d2051e !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-bottom-cta p {
    max-width: 620px !important;
    margin: 0 0 18px !important;
    color: #33333a !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
    font-weight: 900 !important;
}

body:has(.yt-eng-breadcrumb) .yt-eng-bottom-cta a {
    min-width: 245px !important;
    color: #fff !important;
    background: #d2051e !important;
}

@media (max-width: 1199.98px) {
    body:has(.yt-eng-breadcrumb) main {
        padding-top: 112px !important;
    }

    body:has(.yt-eng-breadcrumb) .yt-eng-breadcrumb .container,
    body:has(.yt-eng-breadcrumb) .yt-eng-hero-grid,
    body:has(.yt-eng-breadcrumb) .yt-eng-card-grid,
    body:has(.yt-eng-breadcrumb) .yt-eng-bottom-cta .container {
        width: calc(100% - 40px) !important;
    }

    body:has(.yt-eng-breadcrumb) .yt-eng-hero-grid {
        grid-template-columns: 42% 58% !important;
        min-height: 500px !important;
    }

    body:has(.yt-eng-breadcrumb) .yt-eng-hero-media,
    body:has(.yt-eng-breadcrumb) .yt-eng-hero-media img {
        min-height: 500px !important;
        height: 500px !important;
    }

    body:has(.yt-eng-breadcrumb) .yt-eng-service-media img {
        height: 245px !important;
    }
}

@media (max-width: 767.98px) {
    body:has(.yt-eng-breadcrumb) main {
        padding-top: 64px !important;
    }

    body:has(.yt-eng-breadcrumb) .yt-eng-breadcrumb .container,
    body:has(.yt-eng-breadcrumb) .yt-eng-hero-grid,
    body:has(.yt-eng-breadcrumb) .yt-eng-card-grid,
    body:has(.yt-eng-breadcrumb) .yt-eng-bottom-cta .container {
        width: 100% !important;
        padding-right: 16px !important;
        padding-left: 16px !important;
    }

    body:has(.yt-eng-breadcrumb) .yt-eng-breadcrumb {
        padding-top: 18px !important;
    }

    body:has(.yt-eng-breadcrumb) .yt-eng-hero {
        padding: 24px 0 42px !important;
    }

    body:has(.yt-eng-breadcrumb) .yt-eng-hero-grid {
        display: flex !important;
        flex-direction: column-reverse !important;
        min-height: 0 !important;
        gap: 22px !important;
    }

    body:has(.yt-eng-breadcrumb) .yt-eng-hero-copy {
        max-width: none !important;
        padding-right: 0 !important;
    }

    body:has(.yt-eng-breadcrumb) .yt-eng-hero-copy h1 {
        font-size: 26px !important;
    }

    body:has(.yt-eng-breadcrumb) .yt-eng-hero-copy h2 {
        font-size: 17px !important;
    }

    body:has(.yt-eng-breadcrumb) .yt-eng-hero-copy a,
    body:has(.yt-eng-breadcrumb) .yt-eng-bottom-cta a {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 42px !important;
    }

    body:has(.yt-eng-breadcrumb) .yt-eng-hero-media {
        width: 100% !important;
        min-height: 0 !important;
    }

    body:has(.yt-eng-breadcrumb) .yt-eng-hero-media::before {
        width: 44% !important;
    }

    body:has(.yt-eng-breadcrumb) .yt-eng-hero-media img {
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 10 !important;
    }

    body:has(.yt-eng-breadcrumb) .yt-eng-card-section {
        padding-bottom: 42px !important;
    }

    body:has(.yt-eng-breadcrumb) .yt-eng-card-grid {
        grid-template-columns: 1fr !important;
        row-gap: 34px !important;
    }

    body:has(.yt-eng-breadcrumb) .yt-eng-service-media {
        margin-bottom: 16px !important;
    }

    body:has(.yt-eng-breadcrumb) .yt-eng-service-media img {
        height: auto !important;
        aspect-ratio: 16 / 10 !important;
    }

    body:has(.yt-eng-breadcrumb) .yt-eng-service-body {
        padding-right: 0 !important;
    }

    body:has(.yt-eng-breadcrumb) .yt-eng-bottom-cta {
        padding: 12px 0 56px !important;
    }

    body:has(.yt-eng-breadcrumb) .yt-eng-bottom-cta h2 {
        font-size: 19px !important;
    }
}

/* Solution detail benchmark: same structure as Hilti engineering detail page. */
body:has(.yt-eng-detail-breadcrumb) main {
    padding-top: 132px !important;
    background: #fff !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-breadcrumb,
body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-hero,
body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-cards,
body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-bottom-cta {
    background: #fff !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-breadcrumb .container,
body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-hero-grid,
body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-card-grid,
body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-products .container,
body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-bottom-cta .container {
    width: calc(100% - 120px) !important;
    max-width: 1785px !important;
    margin: 0 auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-breadcrumb .container::before,
body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-breadcrumb .container::after,
body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-hero-grid::before,
body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-hero-grid::after,
body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-card-grid::before,
body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-card-grid::after,
body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-products .container::before,
body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-products .container::after,
body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-product-grid::before,
body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-product-grid::after,
body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-bottom-cta .container::before,
body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-bottom-cta .container::after {
    content: none !important;
    display: none !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-breadcrumb {
    padding: 26px 0 0 !important;
    border-top: 1px solid #e6e6e1 !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-breadcrumb .container {
    color: #7d7565 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-breadcrumb a {
    color: #7d7565 !important;
    text-decoration: none !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-breadcrumb span {
    margin: 0 7px !important;
    color: #c2bfb8 !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-breadcrumb strong {
    color: #4f4d50 !important;
    font-weight: 600 !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-hero {
    padding: 34px 0 92px !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-hero-grid {
    display: grid !important;
    grid-template-columns: 40% 60% !important;
    align-items: center !important;
    min-height: 620px !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-hero-copy {
    position: relative !important;
    z-index: 3 !important;
    max-width: 650px !important;
    padding-right: 44px !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-hero-copy h1 {
    margin: 0 0 4px !important;
    color: #d2051e !important;
    font-size: 30px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-hero-copy h2 {
    margin: 0 0 14px !important;
    color: #33333a !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    font-weight: 900 !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-hero-copy p {
    max-width: 625px !important;
    margin: 0 0 24px !important;
    color: #4f4d50 !important;
    font-size: 14px !important;
    line-height: 1.72 !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-hero-copy a,
body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-bottom-cta a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 245px !important;
    min-height: 35px !important;
    padding: 0 24px !important;
    border: 2px solid #d2051e !important;
    color: #d2051e !important;
    background: #fff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-hero-media {
    position: relative !important;
    min-height: 620px !important;
    overflow: hidden !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-hero-media::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    z-index: 2 !important;
    width: 50% !important;
    background: linear-gradient(112deg, #fff 0 38%, rgba(255,255,255,0.88) 38% 57%, rgba(255,255,255,0) 57% 100%) !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-hero-media img {
    display: block !important;
    width: 100% !important;
    height: 620px !important;
    object-fit: cover !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-cards {
    padding: 0 0 92px !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-card-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    column-gap: 12px !important;
    row-gap: 96px !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-card-media {
    display: block !important;
    overflow: hidden !important;
    margin-bottom: 28px !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-card-media img {
    display: block !important;
    width: 100% !important;
    height: 300px !important;
    object-fit: cover !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-card-body {
    padding: 0 16px 0 0 !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-card-body p {
    margin: 0 0 22px !important;
    color: #4f4d50 !important;
    font-size: 14px !important;
    line-height: 1.68 !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-card-links {
    display: grid !important;
    gap: 13px !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-card-links a {
    display: inline-flex !important;
    width: fit-content !important;
    color: #33333a !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-card-links a::after {
    content: " >" !important;
    padding-left: 4px !important;
    color: #d2051e !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-products {
    padding: 72px 0 !important;
    background: #f7f7f5 !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-products h2 {
    margin: 0 0 10px !important;
    color: #d2051e !important;
    font-size: 20px !important;
    font-weight: 900 !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-products p {
    max-width: 680px !important;
    margin: 0 0 24px !important;
    color: #4f4d50 !important;
    font-size: 14px !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-product-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-product-grid a {
    display: grid !important;
    gap: 12px !important;
    padding-bottom: 18px !important;
    color: #33333a !important;
    background: #fff !important;
    text-decoration: none !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-product-grid img {
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    object-fit: cover !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-product-grid strong,
body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-product-grid span {
    padding: 0 18px !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-bottom-cta {
    padding: 70px 0 92px !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-bottom-cta h2 {
    margin: 0 0 12px !important;
    color: #d2051e !important;
    font-size: 28px !important;
    font-weight: 900 !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-bottom-cta p {
    max-width: 760px !important;
    margin: 0 0 24px !important;
    color: #524f53 !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
}

body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-bottom-cta a {
    color: #fff !important;
    background: #d2051e !important;
}

@media (max-width: 1199.98px) {
    body:has(.yt-eng-detail-breadcrumb) main {
        padding-top: 112px !important;
    }

    body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-breadcrumb .container,
    body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-hero-grid,
    body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-card-grid,
    body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-products .container,
    body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-bottom-cta .container {
        width: calc(100% - 40px) !important;
    }
}

@media (max-width: 767.98px) {
    body:has(.yt-eng-detail-breadcrumb) main {
        padding-top: 64px !important;
    }

    body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-breadcrumb .container,
    body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-hero-grid,
    body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-card-grid,
    body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-products .container,
    body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-bottom-cta .container {
        width: 100% !important;
        padding-right: 16px !important;
        padding-left: 16px !important;
    }

    body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-hero-grid {
        display: flex !important;
        flex-direction: column-reverse !important;
        min-height: 0 !important;
        gap: 22px !important;
    }

    body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-hero-media,
    body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-hero-media img {
        min-height: 0 !important;
        height: auto !important;
        aspect-ratio: 16 / 10 !important;
    }

    body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-card-grid,
    body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-product-grid {
        grid-template-columns: 1fr !important;
        row-gap: 34px !important;
    }

    body:has(.yt-eng-detail-breadcrumb) .yt-eng-detail-card-media img {
        height: auto !important;
        aspect-ratio: 16 / 10 !important;
    }
}
