#sector-hub {
    border-top: 6px solid #306CF6;
}

/* .hub-hero-wrapper */

.hub-hero-wrapper {
    position: relative;
}

.hub-hero-wrapper__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.hub-hero-wrapper__overlay-contain {
    position: relative;
    margin: 0 auto;
    max-width: 1280px;
}

/* .hub-hero-crumbs */

.hub-hero-crumbs {
    position: absolute;
    top: 32px;
    left: 64px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
}

.hub-hero-crumbs a {
    display: block;
    color: inherit;
}

.hub-hero-crumbs a:hover {
    box-shadow: none;
    text-decoration: underline;
}

.hub-hero-crumbs svg {
    width: 12px;
    height: 12px;
}

.hub-hero-crumbs span {
    display: block;
    opacity: 0.8;
}

/* .hub-overview */

.hub-overview {
    background: var(--blue-25);
}

.hub-overview__contain {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    padding: 80px 64px;
    justify-content: center;
    align-items: flex-start;
    gap: 140px;
    align-self: stretch;
}

.hub-overview__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex: 1 0 0;
}

.hub-overview__text-heading {
    color: var(--brand-primary);
    text-transform: uppercase;
}

.hub-overview__text-description {
    color: var(--grey-600);
}

.hub-overview__stats {
    flex: 0 1 546px;
}

/* .hub-cta */

.hub-cta {
    border-top: 0.5px solid #31353F3D;
    border-bottom: 0.5px solid #31353F3D;
    background: url(../images/background-cta.webp) 50% 50% / cover no-repeat;
    color: white;
}

.hub-cta__wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    align-self: stretch;
    max-width: calc(1280px - 16px);
    margin: 0 auto;
}

.hub-cta__content {
    display: flex;
    padding: 56px 60px;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1 0 0;
    align-self: stretch;
}

.hub-cta__content:where(:not(:first-child)) {
    border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.hub-cta__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    flex: 1 0 0;
    align-self: stretch;
    justify-content: center;
}

.hub-cta__description {
    color: rgba(255, 255, 255, 0.68);
}

.hub-cta__description strong {
    color: white;
    font-variation-settings: "slnt" 0, "wght" 600;
}

.hub-cta__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 32px;
    align-self: stretch;
}

.hub-cta__list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
    padding: 0;
    margin: 0;
}

.hub-cta__list-item {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    align-self: stretch;
}

.hub-cta__list-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: var(--brand-primary);
}

/* .hub-content */

.hub-content {
    background: var(--grey-25);
}

.hub-content__wrap {
    --wrap-padding-x: 64px;
    display: flex;
    padding: 80px var(--wrap-padding-x);
    flex-direction: column;
    align-items: stretch;
    gap: 96px;
    align-self: stretch;
    max-width: 1280px;
    margin: 0 auto;
}

/* .hub-dealmakers */

.hub-dealmakers {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    align-self: stretch;
}

.hub-dealmakers__list {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.hub-dealmakers__list-item {
    display: flex;
}

.hub-dealmakers__list-item a {
    display: flex;
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    flex: 1 0 0;
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow-xs-grey-50);
    color: #31353F;
}

.hub-dealmakers__list-item a:hover {
    box-shadow: none;
}

.hub-dealmakers__list-item a:hover .hub-dealmakers__list-item-link span {
    text-decoration: underline;
}

.hub-dealmakers__list-item-header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
    flex: 1 0 0;
}

.hub-dealmakers__list-item-tags {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
    color: var(--blue-600);
}

.hub-dealmakers__list-item-emphasis-tag {
    display: flex;
    padding: 6px 12px;
    align-items: center;
    gap: 16px;
    border-radius: 100px;
    background: linear-gradient(0deg, var(--blue-300) -130.55%, #FFF 147.97%);
    backdrop-filter: blur(40px);
    text-transform: uppercase;
}

.hub-dealmakers__list-item-count-tag {
    display: flex;
    padding: 2px 12px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 100px;
    background: var(--blue-50);
}

.hub-dealmakers__list-item-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.hub-dealmakers__list-item-link span {
    color: var(--brand-primary);
}

.hub-dealmakers__list-item-link svg {
    width: 24px;
    height: 24px;
    fill: var(--brand-primary);
}

.hub-dealmakers__list-more {
    grid-column: 1 / -1;
}

.hub-dealmakers__list-more button[type="button"] {
    margin: 0 auto;
}

.hub-dealmakers__list-item[data-dealmakers-overflow] {
    display: none;
}

/* .hub-resources */

.hub-resources {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    align-self: stretch;
}

.hub-resources__featured {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 24px;
    align-self: stretch;
}

.hub-resources__featured-item {
    display: flex;
}

.hub-resources__featured-item a {
    display: flex;
    padding: 24px 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    flex: 1 0 0;
    align-self: stretch;
    border-radius: 8px;
    background: linear-gradient(180deg, #08349B 0%, #031235 100%);
    color: white;
    justify-content: space-between;
}

.hub-resources__featured-item a:hover .hub-resources__featured-link span {
    text-decoration: underline;
}

.hub-resources__featured-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
}

.hub-resources__featured-tag span {
    display: flex;
    padding: 4px 8px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: #FFF;
    backdrop-filter: blur(10px);
    color: #08349B;
    text-transform: uppercase;
}

.hub-resources__featured-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
}

.hub-resources__featured-content-description {
    opacity: 0.8;
}

.hub-resources__featured-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hub-resources__featured-link svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.hub-resources__posts {
    --posts-gap: 24px;
    transition: transform var(--transition_d1) var(--transition_e1);
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    gap: var(--posts-gap);
    align-self: stretch;
}

.hub-resources__posts[data-resizing] {
    transition: none;
}

.hub-resources__post {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.hub-resources__post a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    flex: 1 0 0;
    color: inherit;
}

.hub-resources__post a:hover {
    box-shadow: none;
}

.hub-resources__post a:hover .hub-resources__post-text-heading {
    text-decoration: underline;
}

.hub-resources__post-graphic {
    position: relative;
    width: 100%;
    padding-top: calc(200 / 270 * 100%);
    background: var(--grey-50) 50% 50% / cover no-repeat;
}

.hub-resources__post-graphic-text {
    display: flex;
    padding: 8px 10px 0 0;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: #FFF;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    position: absolute;
    bottom: 0;
    left: 0;
    color: var(--brand-primary);
}

.hub-resources__post-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    flex: 1 0 auto;
    justify-content: space-between;
}

.hub-resources__post-text-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    align-self: stretch;
}

.hub-resources__post-text-heading {
    color: var(--grey-800);
}

.hub-resources__post-text-description {
    color: var(--grey-600);
}

.hub-resources__post-text-meta {
    color: #31353F;
    opacity: 0.5;
    display: block;
    padding: 6px 0;
}

.hub-resources__posts-slider {
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
}

.hub-resources__posts-slider-arrows {
    display: none;
}

@media screen and (max-width: 1279px) {
    .hub-hero-crumbs {
        left: 32px;
    }

    /* .hub-overview */

    .hub-overview__contain {
        flex-direction: column;
        gap: 56px;
        align-items: stretch;
        padding: 80px 32px;
    }

    .hub-overview__stats {
        flex: 1 1 auto;
    }

    /* .hub-resources */

    .hub-resources__featured-item a {
        display: flex;
        padding: 24px;
    }

    .hub-resources__posts-slider {
        width: 100%;
    }

    .hub-resources__posts-slider-overflow {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        padding-bottom: 16px; /* Give some space before the scrollbar */
        margin-bottom: -16px;
    }

    .hub-resources__post {
        scroll-snap-align: start;
        flex: 0 0 calc(50% - (var(--posts-gap) / 2));
    }

    .hub-resources__post-graphic {
        padding-top: calc(200 / 316 * 100%);
    }

    .hub-resources__posts-slider-arrows {
        display: flex;
        align-self: flex-end;
        list-style: none;
        padding: 0;
        margin: 0;
        gap: 12px;
    }

    .hub-resources__posts-slider-arrows button[type="button"] {
        margin: 0;
        padding: 0;
        background: none;
        border: 0;
        cursor: pointer;
    }

    .hub-resources__posts-slider-arrows button[type="button"]:hover svg {
        fill: var(--grey-600);
    }

    .hub-resources__posts-slider-arrows button[type="button"][disabled] {
        opacity: 0.4;
    }

    .hub-resources__posts-slider-arrows svg {
        fill: #31353F;
        width: 28px;
        height: 28px;
    }

    /* .hub-cta */

    .hub-cta {
        background-image: url(../images/background-cta-tablet.webp);
    }

    .hub-cta__content {
        padding: 56px 32px;
    }

    /* .hub-content */

    .hub-content__wrap {
        --wrap-padding-x: 32px;
        gap: 80px;
    }

    /* .hub-dealmakers */

    .hub-dealmakers__list {
        gap: 20px;
    }

    .hub-dealmakers__list-item-count-tag {
        padding: 6px 12px;
    }

    .hub-dealmakers__list-more button[type="button"] {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    /* .hub-hero-crumbs */

    .hub-hero-crumbs {
        left: 20px;
        top: 20px;
    }

    /* .hub-overview */

    .hub-overview__contain {
        padding: 64px 20px;
        gap: 32px;
    }

    /* .hub-cta */

    .hub-cta {
        background-image: url(../images/background-cta-mobile.webp);
    }

    .hub-cta__wrap {
        flex-direction: column;
    }

    .hub-cta__content {
        padding: 40px 20px;
    }

    .hub-cta__content:where(:not(:first-child)) {
        border-top: 1px solid rgba(255, 255, 255, 0.24);
        border-left: none;
    }

    /* .hub-dealmakers */

    .hub-dealmakers__list {
        grid-template-columns: repeat(1, 1fr);
    }

    /* .hub-resources */

    .hub-resources__posts {
        --posts-gap: 12px;
        --posts-mobile-offset: 29px;
    }

    .hub-resources__post {
        flex: 0 0 calc(100% - var(--posts-mobile-offset) - (var(--posts-gap) / 2) - var(--wrap-padding-x));
    }

    .hub-resources__post a {
        gap: 16px;
    }

    .hub-resources__post-graphic {
        position: relative;
        width: 100%;
        padding-top: calc(180 / 300 * 100%);
    }

    .hub-resources__post-text {
        gap: 4px;
    }

    .hub-resources__post-text-top {
        gap: 8px;
    }

    .hub-resources__featured {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hub-resources__featured-item a {
        gap: 24px;
        border-radius: 4px;
    }

    .hub-resources__posts-slider {
        gap: 18px;
    }

    /* .hub-content */

    .hub-content__wrap {
        --wrap-padding-x: 20px;
        padding: 60px var(--wrap-padding-x);
    }
}
