.advisory-hub-grid {
    padding: clamp(2.5rem, 1.6197rem + 3.7559vw, 5rem) 0 clamp(5rem, 3.2394rem + 7.5117vw, 10rem);
    background-color: var(--white);
}

.advisory-hub-grid__wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(20px, 3vw, 40px);
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    justify-content: space-between;
}

.advisory-hub-grid__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 12px;
    cursor: pointer;
    flex-shrink: 0;
}

.advisory-hub-grid__card,
.advisory-hub-grid__card * {
    text-decoration: none;
    color: inherit;
}

.advisory-hub-grid__card:nth-child(1),
.advisory-hub-grid__card:nth-child(2) {
    width: calc(100% * 310 / 1360);
    min-width: 250px;
}

.advisory-hub-grid__card:nth-child(3) {
    width: calc(100% * 655 / 1360);
    min-width: 500px;
}

.advisory-hub-grid__card:nth-child(4),
.advisory-hub-grid__card:nth-child(5),
.advisory-hub-grid__card:nth-child(6),
.advisory-hub-grid__card:nth-child(7) {
    width: calc(100% * 310 / 1360);
    min-width: 220px;
}

.advisory-hub-grid__card:nth-child(8),
.advisory-hub-grid__card:nth-child(10) {
    width: calc(100% * 310 / 1360);
    min-width: 250px;
}

.advisory-hub-grid__card:nth-child(9) {
    width: calc(100% * 655 / 1360);
    min-width: 500px;
}

.advisory-hub-grid__image-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 8px;
    isolation: isolate;
    width: 100%;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    flex: none;
    align-self: stretch;
}

.advisory-hub-grid__card:nth-child(1) .advisory-hub-grid__image-container {
    height: 440px;
}

.advisory-hub-grid__card:nth-child(2) .advisory-hub-grid__image-container {
    height: 304px;
}

.advisory-hub-grid__card:nth-child(3) .advisory-hub-grid__image-container {
    height: 464px;
}

.advisory-hub-grid__card:nth-child(4) .advisory-hub-grid__image-container {
    height: 304px;
}

.advisory-hub-grid__card:nth-child(5) .advisory-hub-grid__image-container {
    height: 440px;
}

.advisory-hub-grid__card:nth-child(6) .advisory-hub-grid__image-container {
    height: 280px;
}

.advisory-hub-grid__card:nth-child(7) .advisory-hub-grid__image-container {
    height: 416px;
}

.advisory-hub-grid__card:nth-child(8) .advisory-hub-grid__image-container {
    height: 304px;
}

.advisory-hub-grid__card:nth-child(9) .advisory-hub-grid__image-container {
    height: 464px;
}

.advisory-hub-grid__card:nth-child(10) .advisory-hub-grid__image-container {
    height: 280px;
}

.advisory-hub-grid__image {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.advisory-hub-grid__overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
    transition: all 500ms ease-in-out;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.advisory-hub-grid__coming-soon {
    position: absolute;
    opacity: 0;
    width: 261px;
    height: 56px;
    left: calc(50% - 261px/2);
    top: calc(50% - 56px/2);
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 48px;
    line-height: 56px;
    display: flex;
    align-items: center;
    text-align: center;
    text-transform: capitalize;
    font-feature-settings: 'pnum' on, 'lnum' on, 'liga' off;
    color: #FFFFFF;
    z-index: 2;
    transition: 300ms;
}

.advisory-hub-grid__card:hover .advisory-hub-grid__coming-soon {
    opacity: 1;
}

.advisory-hub-grid__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 8px;
    width: 100%;
    flex: none;
    align-self: stretch;
}

.advisory-hub-grid__category {
    width: 100%;
    font-family: 'Instrument Sans', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    align-items: center;
    font-feature-settings: 'pnum' on, 'lnum' on, 'liga' off;
    color: #5A77A3;
    flex: none;
    align-self: stretch;
}

.advisory-hub-grid__title {
    width: 100%;
    font-family: 'Instrument Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    font-feature-settings: 'pnum' on, 'lnum' on, 'liga' off;
    color: #000000;
    flex: none;
    align-self: stretch;
    margin: 0;
}

.advisory-hub-grid__card:hover .advisory-hub-grid__overlay {
    opacity: 1;
}

.advisory-hub-grid__card:hover .advisory-hub-grid__coming-soon {
    display: flex;
}

@media (max-width: 1360px) {
    .advisory-hub-grid__wrapper {
        padding: 0 20px;
        gap: clamp(15px, 3vw, 30px);
    }

    .advisory-hub-grid__card:nth-child(1),
    .advisory-hub-grid__card:nth-child(2),
    .advisory-hub-grid__card:nth-child(4),
    .advisory-hub-grid__card:nth-child(5),
    .advisory-hub-grid__card:nth-child(6),
    .advisory-hub-grid__card:nth-child(7),
    .advisory-hub-grid__card:nth-child(9),
    .advisory-hub-grid__card:nth-child(10) {
        width: calc(50% - 15px);
        min-width: 280px;
    }

    .advisory-hub-grid__card:nth-child(3),
    .advisory-hub-grid__card:nth-child(8) {
        width: 100%;
        min-width: auto;
    }

    .advisory-hub-grid__image-container {
        height: clamp(300px, 40vw, 400px) !important;
    }

    .advisory-hub-grid__content {
        height: auto !important;
    }

    .advisory-hub-grid__title {
        height: auto !important;
    }
}

@media (max-width: 768px) {
    .advisory-hub-grid__wrapper {
        gap: 20px;
        padding: 0;
    }

    .advisory-hub-grid__card:nth-child(1),
    .advisory-hub-grid__card:nth-child(2),
    .advisory-hub-grid__card:nth-child(3),
    .advisory-hub-grid__card:nth-child(4),
    .advisory-hub-grid__card:nth-child(5),
    .advisory-hub-grid__card:nth-child(6),
    .advisory-hub-grid__card:nth-child(7),
    .advisory-hub-grid__card:nth-child(8),
    .advisory-hub-grid__card:nth-child(9),
    .advisory-hub-grid__card:nth-child(10) {
        width: 100%;
        min-width: auto;
    }

    .advisory-hub-grid__image-container {
        height: 400px !important;
    }
}

@media (max-width: 560px) {
    .advisory-hub-grid__image-container {
        height: 300px !important;
    }

}