.ch-hub-page {
    --ch-surface: #f5f3f1;
    --ch-surface-deep: #ebe8e5;
    --ch-border: #e5e5e5;
}
.ch-hub-page .page-top-heading {
    margin: 10px 0;
    color: #383838;
    font-size: 20px;
    font-weight: 400;
    line-height: 35px;
}

/* Standard hero image for regular desktop and tablet widths. */
.ch-hub-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: var(--ch-surface);
    background-image: url('../images/category-hub/privacy-office-hero-angle-v1.png');
    background-position: right center;
    background-size: cover;
}

.ch-hub-hero:before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(90deg,
        var(--ch-surface) 0%,
        rgba(245,243,241,.96) 0%,
        rgba(245,243,241,.82) 31%,
        rgba(245,243,241,.34) 43%,
        rgba(245,243,241,0) 54%);
    content: '';
    pointer-events: none;
}

.ch-hub-hero .container {
    position: relative;
    z-index: 1;
}

.ch-hub-nav-card,
.ch-hub-nav-card:hover,
.ch-hub-nav-card:focus {
    border-color: var(--ch-border);
    background: linear-gradient(135deg, #fff 0%, var(--ch-surface) 100%);
}

.ch-hub-nav-card-media {
    position: relative;
    height: 100%;
    margin: 0;
    padding: 18px 22px;
    border-left: 1px solid var(--ch-border);
    background: linear-gradient(90deg, rgba(255,255,255,.72), #fff 15%);
}

.ch-hub-nav-card-media:before {
    display: none;
}

/*
 * Per-tile image sizing used to live here as :nth-child(3)/:nth-child(4) overrides that shrank
 * individual images until the tiles looked even. That was a symptom fix - it depended on the order
 * of the categories in the grid, so a fifth category would have broken it again. The tiles are now
 * sized once, at the source, by the fixed-ratio .ch-hub-nav-card-thumb frame in category-hub.css.
 */

.ch-hub-support,
.ch-hub-partnership {
    border-color: var(--ch-border);
    background: linear-gradient(135deg, #fff 0%, var(--ch-surface) 100%);
}

.ch-hub-partnership {
    grid-template-columns: minmax(360px, 54%) minmax(280px, 46%);
}

.ch-hub-partnership-copy {
    z-index: 3;
    padding-right: 28px;
}

.ch-hub-partnership-benefits {
    grid-template-columns: 1fr;
    gap: 9px;
    width: 100%;
    margin: 20px 0;
}

.ch-hub-partnership-benefits li {
    display: flex;
    align-items: center;
    font-size: 11px;
    line-height: 1.35;
}

.ch-hub-partnership-benefits .fa {
    flex: 0 0 18px;
}

.ch-hub-partnership-visual {
    z-index: 1;
    margin-left: 0;
    background: transparent;
}

.ch-hub-partnership-visual:before {
    position: absolute;
    z-index: 2;
    inset: 0 auto 0 0;
    display: block;
    width: 42%;
    background: linear-gradient(90deg, var(--ch-surface) 0%, rgba(247,246,245,.85) 30%, rgba(247,246,245,0) 100%);
    content: '';
    pointer-events: none;
}

.ch-hub-partnership-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    -webkit-mask-image: none;
    mask-image: none;
}

@media (min-width: 1600px) {
    .ch-hub-hero {
        width: 100%;
        max-width: none;
        min-height: 500px;
        margin: 0;
        background-image: url('../images/category-hub/privacy-office-hero-ultrawide-v1.png');
        background-position: right center;
        background-size: auto 100%;
    }
    .ch-hub-hero .container {
        min-height: 500px;
    }
    .ch-hub-hero:before {
        background: linear-gradient(90deg,
            var(--ch-surface) 0%,
            rgba(245,243,241,.98) 27%,
            rgba(245,243,241,.88) 38%,
            rgba(245,243,241,.5) 48%,
            rgba(245,243,241,0) 62%);
    }
}

@media (min-width: 2200px) {
    .ch-hub-hero {
        background-position: right center;
        background-size: auto 100%;
    }
    .ch-hub-hero:before {
        background: linear-gradient(90deg,
            var(--ch-surface) 0%,
            rgba(245,243,241,.98) 23%,
            rgba(245,243,241,.84) 34%,
            rgba(245,243,241,.42) 44%,
            rgba(245,243,241,0) 57%);
    }
}

@media (max-width: 991px) {
    .ch-hub-partnership {
        grid-template-columns: minmax(360px, 54%) minmax(280px, 46%);
    }
}

@media (max-width: 767px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }
    .ch-hub-page {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    .ch-hub-page > .container,
    .ch-hub-page section > .container,
    .ch-hub-page header > .container {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
        box-sizing: border-box;
    }
    .navbar-default,
    .navbar-collapse,
    .navbar-collapse.collapse.in,
    .navbar-default .navbar-nav,
    .navbar-default .dropdown-menu {
        background: #fff !important;
    }
    .navbar-default {
        width: 100%;
    }
    .navbar-collapse.collapse.in {
        position: relative;
        z-index: 1000;
        border-top: 1px solid var(--ch-border);
        box-shadow: 0 10px 22px rgba(0,0,0,.12);
    }
    .ch-hub-hero {
        background-position: 72% center;
        background-size: cover;
    }
    .ch-hub-hero:before {
        background: linear-gradient(90deg, rgba(247,246,245,.99) 0%, rgba(247,246,245,.95) 58%, rgba(247,246,245,.42) 100%);
    }
    .ch-hub-hero:after {
        display: none;
    }
    .ch-hub-partnership {
        grid-template-columns: 1fr;
    }
    .ch-hub-partnership-visual:before {
        inset: 0 0 auto;
        width: auto;
        height: 34%;
        background: linear-gradient(180deg, var(--ch-surface) 0%, rgba(247,246,245,0) 100%);
    }
}

@media (max-width: 479px) {
    .ch-hub-nav-card-media {
        padding: 16px;
    }
}
