/* Hilti-style support/about secondary navigation overrides. */
body .site-header .yt-hilti-mega {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 18rem;
}

body .site-header .header-nav > li:nth-child(3) > .mega-menu .mega-menu-inner,
body .site-header .header-nav > li:nth-child(4) > .mega-menu .mega-menu-inner {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 18rem !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
}

body .yt-hilti-mega-tabs {
    display: flex;
    align-items: stretch;
    min-height: 3.7rem;
    border-bottom: 1px solid #deded9;
    background: #f6f6f4;
    padding-left: clamp(2rem, 6vw, 7rem);
}

body .yt-hilti-mega-tabs a {
    display: flex;
    align-items: center;
    min-width: 13.8rem;
    padding: 0 1.8rem;
    color: #33333a;
    font-size: 1rem;
    font-weight: 800;
    border-right: 1px solid #deded9;
    text-decoration: none;
}

body .yt-hilti-mega-tabs a.active {
    color: #fff;
    background: #d2051e;
}

body .yt-hilti-mega-tabs a:hover {
    color: #d2051e;
}

body .yt-hilti-mega-tabs a.active:hover {
    color: #fff;
}

body .yt-hilti-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(12rem, 19rem));
    gap: clamp(2.5rem, 7vw, 7.5rem);
    padding: 2.2rem clamp(2rem, 6vw, 7rem) 2.6rem;
    align-items: start;
}

body .yt-hilti-mega-group h4 {
    margin: 0 0 1.05rem;
    color: #33333a;
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 900;
}

body .yt-hilti-mega-group a {
    display: flex;
    align-items: center;
    min-height: 2.85rem;
    color: #57545a;
    font-size: 0.95rem;
    line-height: 1.45;
    font-weight: 500;
    text-decoration: none;
}

body .yt-hilti-mega-group a:hover {
    color: #d2051e;
}

body .yt-hilti-page-tabs {
    background: #f6f6f4;
    border-top: 1px solid #deded9;
    border-bottom: 1px solid #deded9;
}

body .yt-hilti-page-tabs .yt-wide-container {
    display: flex;
    align-items: stretch;
    min-height: 3.8rem;
    padding-left: 0;
    padding-right: 0;
}

body .yt-hilti-page-tabs a {
    display: flex;
    align-items: center;
    min-width: 15rem;
    padding: 0 1.8rem;
    color: #33333a;
    font-size: 1rem;
    font-weight: 900;
    border-right: 1px solid #deded9;
}

body .yt-hilti-page-tabs a:first-child {
    border-left: 1px solid #deded9;
}

body .yt-hilti-page-tabs a.active {
    color: #fff;
    background: #d2051e;
}

body .yt-service-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: #deded9;
    border: 1px solid #deded9;
}

body .yt-service-link-grid a {
    display: block;
    min-height: 7.5rem;
    padding: 1.25rem 1.35rem;
    color: #33333a;
    background: #fff;
}

body .yt-service-link-grid strong {
    display: block;
    margin-bottom: 0.55rem;
    color: #202126;
    font-size: 1.05rem;
    font-weight: 900;
}

body .yt-service-link-grid span {
    display: block;
    color: #6b6862;
    font-size: 0.92rem;
    line-height: 1.6;
}

body .yt-service-link-grid a:hover strong {
    color: #d2051e;
}

body .yt-service-column-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 5rem);
    padding: 1.7rem 0 0.5rem;
}

body .yt-service-column h3 {
    margin: 0 0 1rem;
    color: #202126;
    font-size: 1rem;
    font-weight: 900;
}

body .yt-service-column a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    color: #57545a;
    font-size: 0.96rem;
    line-height: 1.45;
    border-bottom: 1px solid #ededeb;
}

body .yt-service-column a:hover {
    color: #d2051e;
}

body .yt-section-kicker {
    display: block;
    margin-bottom: 0.55rem;
    color: #d2051e;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
}

body .yt-support-section .yt-consult-panel {
    margin-top: 1.5rem;
}

body .yt-detail-breadcrumb {
    padding: 1.05rem 0;
    background: #fff;
    border-bottom: 1px solid #ededeb;
}

body .yt-detail-breadcrumb .yt-wide-container {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #6b6862;
    font-size: 0.88rem;
}

body .yt-detail-breadcrumb a {
    color: #57545a;
}

body .yt-detail-breadcrumb strong {
    color: #202126;
    font-weight: 700;
}

body .yt-reference-hero {
    background: #f7f7f5;
    border-bottom: 1px solid #deded9;
}

body .yt-reference-hero .yt-wide-container {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(34rem, 1.22fr);
    gap: 4.5rem;
    align-items: center;
    min-height: 30rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

body .yt-reference-hero-copy span,
body .yt-reference-intro span,
body .yt-reference-cta span {
    display: block;
    margin-bottom: 0.8rem;
    color: #d2051e;
    font-size: 0.82rem;
    font-weight: 900;
}

body .yt-reference-hero-copy h1 {
    margin: 0 0 1.25rem;
    color: #202126;
    font-size: clamp(2.3rem, 4vw, 4.2rem);
    line-height: 1.05;
    font-weight: 900;
}

body .yt-reference-hero-copy p {
    margin: 0;
    color: #524f53;
    font-size: 1.18rem;
    line-height: 1.75;
}

body .yt-reference-hero-media {
    aspect-ratio: 16 / 9;
    background: #deded9;
    overflow: hidden;
}

body .yt-reference-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body .yt-reference-body {
    padding: 3.6rem 0 4.5rem;
    background: #fff;
}

body .yt-reference-layout {
    display: grid;
    grid-template-columns: 18.5rem minmax(0, 1fr);
    gap: 4rem;
    align-items: start;
}

body .yt-reference-side {
    position: sticky;
    top: 7.5rem;
    padding: 1.25rem 0 1.4rem;
    border-top: 1px solid #deded9;
    border-bottom: 1px solid #deded9;
}

body .yt-reference-side h2 {
    margin: 0 0 1rem;
    color: #202126;
    font-size: 1.35rem;
    font-weight: 900;
}

body .yt-reference-side a {
    display: block;
    padding: 0.55rem 0;
    color: #57545a;
}

body .yt-reference-side a.active,
body .yt-reference-side a:hover {
    color: #d2051e;
}

body .yt-reference-main {
    max-width: 58rem;
}

body .yt-reference-intro {
    padding-bottom: 2rem;
    border-bottom: 1px solid #ededeb;
}

body .yt-reference-intro h2,
body .yt-reference-cta h2 {
    margin: 0 0 1rem;
    color: #202126;
    font-size: 2.15rem;
    line-height: 1.18;
    font-weight: 900;
}

body .yt-reference-intro p,
body .yt-reference-section p,
body .yt-reference-cta p,
body .yt-reference-card-grid p {
    color: #524f53;
    font-size: 1rem;
    line-height: 1.8;
}

body .yt-reference-section {
    padding: 2rem 0;
    border-bottom: 1px solid #ededeb;
}

body .yt-reference-section h3,
body .yt-reference-highlight h3 {
    margin: 0 0 0.9rem;
    color: #202126;
    font-size: 1.45rem;
    font-weight: 900;
}

body .yt-reference-highlight {
    padding: 2rem 0;
}

body .yt-reference-bullets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

body .yt-reference-bullets span {
    display: flex;
    align-items: center;
    min-height: 3.1rem;
    padding: 0.75rem 1rem;
    color: #202126;
    background: #f7f7f5;
    border-left: 4px solid #d2051e;
    font-weight: 800;
}

body .yt-reference-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 12rem;
    gap: 2rem;
    align-items: center;
    margin-top: 1rem;
    padding: 2rem;
    color: #fff;
    background: #202126;
}

body .yt-reference-cta h2,
body .yt-reference-cta p {
    color: #fff;
}

body .yt-reference-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.1rem;
    color: #fff;
    background: #d2051e;
    font-weight: 900;
}

body .yt-reference-more {
    padding: 3.5rem 0 4.5rem;
    background: #f7f7f5;
}

body .yt-reference-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: #deded9;
    border: 1px solid #deded9;
}

body .yt-reference-card-grid a {
    display: flex;
    flex-direction: column;
    min-height: 13rem;
    padding: 1.5rem;
    color: #202126;
    background: #fff;
}

body .yt-reference-card-grid strong {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    font-weight: 900;
}

body .yt-reference-card-grid em {
    margin-top: auto;
    color: #d2051e;
    font-style: normal;
    font-weight: 900;
}

@media (max-width: 1199px) and (min-width: 992px) {
    body .yt-reference-card-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body .yt-reference-card-grid a {
        min-height: 12rem;
        padding: 1.25rem;
    }
}

@media (max-width: 991px) {
    body .yt-hilti-page-tabs .yt-wide-container {
        overflow-x: auto;
        min-height: 3.35rem;
        padding: 0;
        -webkit-overflow-scrolling: touch;
    }

    body .yt-hilti-page-tabs a {
        min-width: 11.5rem;
        padding: 0 1rem;
        font-size: 0.95rem;
        white-space: nowrap;
    }

    body .mobile-nav-list li.open .mobile-subnav {
        padding: 0.15rem 0 0.65rem;
        background: #f7f7f5;
    }

    body .mobile-nav-list li.open .mobile-subnav a {
        min-height: 2.65rem;
        padding: 0.68rem 1rem;
        color: #524f53;
        font-size: 0.94rem;
        font-weight: 500;
        border-top: 1px solid #ededeb;
    }

    body .mobile-nav-list li.open .mobile-subnav a::before {
        content: "";
        display: inline-block;
        width: 0.32rem;
        height: 0.32rem;
        margin-right: 0.55rem;
        background: #d2051e;
    }

    body .yt-service-link-grid {
        grid-template-columns: 1fr;
    }

    body .yt-service-column-grid {
        grid-template-columns: 1fr;
        gap: 1.35rem;
        padding-top: 0.5rem;
    }

    body .yt-service-link-grid a {
        min-height: 5.9rem;
        padding: 1rem;
    }

    body .yt-support-page,
    body .yt-about-page {
        padding-top: 1.4rem;
    }

    body .yt-support-side,
    body .yt-about-side {
        position: static;
    }

    body .yt-reference-hero .yt-wide-container,
    body .yt-reference-layout,
    body .yt-reference-cta {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    body .yt-reference-hero .yt-wide-container {
        min-height: 0;
        padding-top: 2rem;
        padding-bottom: 0;
    }

    body .yt-reference-hero-media {
        margin-left: -1rem;
        margin-right: -1rem;
    }

    body .yt-reference-side {
        position: static;
    }

    body .yt-reference-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body .yt-hilti-page-tabs {
        margin-top: 0;
    }

    body .yt-hilti-page-tabs .yt-wide-container {
        width: 100%;
    }

    body .yt-hilti-page-tabs a {
        flex: 1 0 50%;
        min-width: 50%;
        justify-content: center;
        padding: 0 0.75rem;
        font-size: 0.9rem;
    }

    body .yt-section-head h2,
    body .yt-about-section h2,
    body .yt-consult-panel h2 {
        font-size: 1.45rem;
    }

    body .yt-reference-body,
    body .yt-reference-more {
        padding: 2rem 0;
    }

    body .yt-reference-hero-copy h1 {
        font-size: 2rem;
    }

    body .yt-reference-intro h2,
    body .yt-reference-cta h2 {
        font-size: 1.55rem;
    }

    body .yt-reference-bullets {
        grid-template-columns: 1fr;
    }

    body .yt-reference-cta {
        padding: 1.35rem;
    }

    body .yt-reference-card-grid {
        grid-template-columns: 1fr;
    }
}
