:root {
    --yt-refined-ink: #16213d;
    --yt-refined-muted: #515f7a;
    --yt-refined-blue: #4445d7;
    --yt-refined-deep: #3336b2;
    --yt-refined-border: #dce5f3;
}

.yt-feature,
.yt-solution-banner {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.yt-feature-image,
.yt-solution-banner > img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yt-feature {
    color: #fff;
    background: #101a45;
}

.yt-feature-image {
    object-position: 62% 48%;
}

.yt-feature::after,
.yt-solution-banner::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    content: "";
}

.yt-feature::after {
    background: linear-gradient(90deg, #0d1937 0%, #0d1937f2 27%, #0d1937d9 44%, #0d193742 66%, transparent 83%);
}

.yt-feature-layout {
    display: flex;
    min-height: 548px;
    flex-direction: column;
    justify-content: space-between;
}

.yt-feature-copy {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 620px;
    padding: 58px 0 38px;
}

.yt-feature-copy [hidden],
.yt-feature-switch[hidden] {
    display: none;
}

.yt-feature-category {
    margin: 0 0 17px;
    color: #d5dcff;
    font-size: clamp(.9rem, 1.2vw, 1rem);
    font-weight: 560;
    letter-spacing: .06em;
}

.yt-feature-copy :is(h1, h2) {
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(2.65rem, 4.3vw, 4.4rem);
    font-weight: 660;
    line-height: 1.12;
    letter-spacing: -.042em;
}

.yt-feature-copy :is(h1, h2) span {
    color: #cddaff;
}

.yt-feature-lead {
    max-width: 34em;
    margin: 0 0 26px;
    color: #e1e9ff;
    font-size: clamp(.98rem, 1.35vw, 1.14rem);
    line-height: 1.75;
}

.yt-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.yt-hero-actions .yt-refined-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 17px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: .95rem;
    font-weight: 650;
    line-height: 1.25;
    white-space: nowrap;
}

.yt-feature .yt-hero-case-jump {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 5px;
    padding: 0 5px;
    color: #fff;
    font-size: .9rem;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: .22em;
}

.yt-hero-actions .yt-button-primary {
    color: #fff;
    background: var(--yt-refined-blue);
}

.yt-hero-actions .yt-button-primary:hover {
    color: #fff;
    background: var(--yt-refined-deep);
}

.yt-feature .yt-hero-actions .yt-button-primary {
    color: #1e2755;
    background: #fff;
}

.yt-feature .yt-hero-actions .yt-button-primary:hover {
    background: #e3eaff;
}

.yt-hero-actions .yt-button-on-dark {
    color: #fff;
    border-color: #d4dfff69;
    background: #ffffff10;
}

.yt-hero-actions .yt-button-on-dark:hover {
    color: #fff;
    background: #ffffff24;
}

.yt-hero-actions .yt-button-on-light {
    color: var(--yt-refined-deep);
    border-color: #adbae3;
    background: #ffffff8c;
}

.yt-hero-actions .yt-button-on-light:hover {
    background: #fff;
    border-color: #7379db;
}

.yt-feature-switch {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 22px;
}

.yt-feature-topics {
    display: flex;
    gap: 14px;
}

.yt-feature-topics button {
    display: flex;
    min-height: 46px;
    min-width: 104px;
    align-items: center;
    padding: 0 9px;
    border: 0;
    border-top: 2px solid #ced8ff4d;
    color: #d7e0fb;
    background: #142344;
    font-size: .89rem;
    white-space: nowrap;
}

.yt-feature-topics button[aria-pressed="true"] {
    border-top-color: #dce6ff;
    color: #fff;
    font-weight: 700;
    background: #2c385c;
}

.yt-feature-topics button:hover {
    background: #35446b;
}

.yt-feature-arrows {
    display: flex;
    gap: 7px;
    padding-bottom: 4px;
    margin-right: 58px;
}

.yt-feature-arrows button {
    width: 38px;
    height: 38px;
    color: #fff;
    background: #18244b80;
    border: 1px solid #d4dfff68;
    border-radius: 50%;
}

.yt-feature-arrows button:hover {
    background: #192b6699;
}

.yt-feature :is(a, button):focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.yt-solution-banner a:focus-visible,
.yt-solution-directory :is(a, button):focus-visible,
.yt-service-strip a:focus-visible {
    outline: 2px solid var(--yt-refined-blue);
    outline-offset: 3px;
}

.yt-service-strip {
    border-bottom: 1px solid var(--yt-refined-border);
    background: #fff;
}

.yt-service-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yt-service-links a {
    display: grid;
    min-height: 96px;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px 17px;
    border-right: 1px solid var(--yt-refined-border);
    color: var(--yt-refined-ink);
}

.yt-service-links a:first-child {
    border-left: 1px solid var(--yt-refined-border);
}

.yt-service-links a:hover {
    color: var(--yt-refined-blue);
    background: #f6f8ff;
}

.yt-service-icon,
.yt-solution-icon {
    display: grid;
    width: 41px;
    height: 41px;
    place-items: center;
    color: var(--yt-refined-blue);
    background: #edf0ff;
    border-radius: 8px;
    font-size: 1.02rem;
}

.yt-service-links strong,
.yt-service-links small {
    display: block;
}

.yt-service-links small {
    margin-top: 2px;
    color: var(--yt-refined-muted);
    font-size: .82rem;
}

.yt-service-links a > i {
    color: var(--yt-refined-blue);
    font-size: .72rem;
}

.yt-product-directory {
    color: var(--yt-refined-ink);
    padding: clamp(48px, 5.7vw, 84px) 0;
    background: #fff;
}

.yt-section-link {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 7px;
    color: var(--yt-refined-deep);
    font-weight: 620;
}

.yt-section-link:hover {
    color: var(--yt-refined-blue);
}

.yt-solution-banner {
    border-bottom: 1px solid var(--yt-refined-border);
    background: #eff4fd;
    color: var(--yt-refined-ink);
}

.yt-solution-banner > img {
    left: auto;
    width: min(100%, 1080px);
    object-position: 62% 44%;
}

body.pages-solution .header-container-topbar a[aria-current="page"] {
    color: var(--yt-refined-deep);
}

.yt-solution-banner::after {
    background: linear-gradient(90deg, #f0f5fde8 0%, #f0f5fdb3 41%, #f0f5fd06 77%);
}

.yt-solution-intro {
    min-height: 424px;
    padding-top: 27px;
    padding-bottom: 60px;
}

.yt-solution-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 54px;
    color: var(--yt-refined-muted);
    font-size: .87rem;
}

.yt-solution-breadcrumb a {
    color: var(--yt-refined-deep);
}

.yt-solution-breadcrumb i {
    font-size: .62rem;
}

.yt-solution-intro h1 {
    margin: 0 0 13px;
    color: inherit;
    font-size: clamp(2.4rem, 4vw, 3.7rem);
    font-weight: 710;
    line-height: 1.18;
    letter-spacing: -.035em;
}

.yt-solution-intro p {
    max-width: 32em;
    margin: 0 0 24px;
    color: var(--yt-refined-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.yt-solution-directory {
    scroll-margin-top: 82px;
    padding: clamp(47px, 5vw, 73px) 0;
    color: var(--yt-refined-ink);
    background: #f8f9fd;
}

.yt-directory-title {
    text-align: center;
    margin-bottom: 28px;
}

.yt-directory-title h2 {
    margin: 0 0 7px;
    color: inherit;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 690;
    letter-spacing: -.02em;
}

.yt-directory-title p {
    margin: 0;
    color: var(--yt-refined-muted);
}

.yt-solution-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.yt-solution-cards .yt-solution-card {
    display: flex;
    min-height: 198px;
    flex-direction: column;
    padding: 18px;
    color: var(--yt-refined-ink);
    background: #fff;
    border: 1px solid var(--yt-refined-border);
    border-radius: 8px;
    transition: border-color .16s, box-shadow .16s;
}

.yt-solution-cards .yt-solution-card:hover {
    color: var(--yt-refined-deep);
    border-color: #a3afe8;
    box-shadow: 0 7px 20px #233c8811;
}

.yt-solution-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 11px;
}

.yt-solution-card h3 {
    margin: 0 0 6px;
    color: inherit;
    font-size: 1.05rem;
    font-weight: 690;
}

.yt-solution-card p {
    margin: 0 0 13px;
    color: var(--yt-refined-muted);
    font-size: .895rem;
    line-height: 1.6;
}

.yt-solution-card-link {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: var(--yt-refined-deep);
    font-weight: 620;
    font-size: .85rem;
}

@media (max-width: 767px) {
    .yt-feature-layout {
        min-height: 465px;
    }

    .yt-feature-image {
        object-position: 63% 50%;
    }

    .yt-feature::after {
        background: linear-gradient(90deg, #0d1937fa 0%, #0d1937ed 45%, #0d1937c4 100%);
    }

    .yt-feature-copy {
        padding: 41px 0 22px;
    }

    .yt-feature-copy :is(h1, h2) {
        margin-bottom: 14px;
        font-size: clamp(2.15rem, 10.2vw, 3.35rem);
    }

    .yt-feature-lead {
        margin-bottom: 18px;
    }

    .yt-feature-switch {
        overflow-x: auto;
        padding-bottom: 13px;
    }

    .yt-feature-topics {
        gap: 4px;
    }

    .yt-feature-topics button {
        min-width: auto;
        min-height: 42px;
        padding-inline: 5px;
        font-size: .76rem;
    }

    .yt-feature-arrows {
        flex-shrink: 0;
        gap: 4px;
        margin-right: 0;
    }

    .yt-feature-arrows button {
        width: 31px;
        height: 31px;
        padding: 0;
    }

    .yt-service-links a {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 86px;
        gap: 5px;
        padding: 7px 3px;
    }

    .yt-service-icon {
        width: 31px;
        height: 31px;
        font-size: .86rem;
    }

    .yt-service-links strong {
        font-size: .86rem;
    }

    .yt-service-links small,
    .yt-service-links a > i {
        display: none;
    }

    .yt-solution-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 11px;
    }

    .yt-solution-intro {
        min-height: 330px;
        padding-top: 20px;
        padding-bottom: 36px;
    }

    .yt-solution-breadcrumb {
        margin-bottom: 39px;
    }

    .yt-solution-banner > img {
        object-position: 62% 46%;
    }

    .yt-solution-banner::after {
        background: linear-gradient(90deg, #f0f5fdfc 5%, #f0f5fdd1 49%, #f0f5fd61 100%);
    }

    .yt-solution-intro p {
        max-width: 23em;
        font-size: .96rem;
    }

    .yt-solution-cards .yt-solution-card {
        min-height: 0;
        padding: 16px;
    }

    body:is(.homepage, .pages-solution) #ws {
        position: relative;
        inset: auto;
        width: auto;
        margin: 0 15px 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transform: none;
    }

    body:is(.homepage, .pages-solution) #ws .block_box {
        display: flex;
        margin: 0;
    }

    body:is(.homepage, .pages-solution) #ws .block {
        width: clamp(51px, 17vw, 72px);
    }

    body:is(.homepage, .pages-solution) #ws .block .down {
        right: 0;
        bottom: 100%;
        z-index: 1;
    }

    body:is(.homepage, .pages-solution) #ws .block .down::after {
        display: none;
    }
}

@media (max-width: 375px) {
    .yt-feature-switch {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .yt-solution-cards .yt-solution-card {
        transition: none;
    }
}

@media (min-width: 770px) and (max-width: 1026px) {
    body:is(.homepage, .pages-solution),
    body:is(.homepage, .pages-solution) .bor-header-container-top {
        min-width: 0;
    }
    body:is(.homepage, .pages-solution) .header-container-left .et-diff-intro,
    body:is(.homepage, .pages-solution) .header-container .bor-link {
        display: none;
    }
    body:is(.homepage, .pages-solution) .header-container-right :is(.menu-icon, .user-icon, .sec-menu-icon) {
        display: inline-block;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .yt-feature::after {
        background: linear-gradient(90deg, #0d1937 0%, #0d1937f2 34%, #0d1937df 56%, #0d1937b3 72%, #0d193721 100%);
    }
    .yt-feature-lead { max-width: min(34em, 62vw); }
}
