.gf-collection-page .container,
.single-gf-collections .container {
    max-width: 1340px;
    padding: 0 24px;
    margin: 0 auto;
}
.gf-collection-page .site-content .ast-container,
.single-gf-collections .site-content .ast-container {
    max-width: 100%;
    padding: 0;
}

/* Hero */
.gfc-hero {
    position: relative;
    height: 492px;
    overflow: hidden;
    background: #fff;
}
.gfc-hero .container {
    position: relative;
    z-index: 1;
    padding-top: 112px;
}
.gfc-breadcrumb {
    margin: 0 0 8px;
}
.gfc-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    color: #505a64;
}
.gfc-breadcrumb li + li::before {
    content: ">";
    margin: 0 10px;
    color: #505a64;
}
.gfc-breadcrumb a {
    color: #505a64;
    text-decoration: none;
}
.gfc-breadcrumb a:hover {
    color: #002852;
    text-decoration: underline;
}
.gfc-breadcrumb li[aria-current="page"] {
    color: #002852;
}
.gfc-hero-content {
    width: 504px;
    max-width: 100%;
}
.gfc-hero-content h1 {
    font-family: var(--primaryFont);
    font-size: 48px;
    line-height: 110%;
    font-weight: 500;
    color: #002852;
    margin: 0 0 20px;
}
.gfc-hero-content p {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    line-height: 23.4px;
    letter-spacing: -0.36px;
    color: #505a64;
    margin: 0 0 24px;
    max-width: 479px;
}
.gfc-hero-content .btn_dark {
    padding: 17px 28px;
    border-radius: 5px;
    background: #1547eb;
    border: 1px solid #1547eb;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
    display: inline-block;
    transition: all 0.3s;
}
.gfc-hero-content .btn_dark:hover {
    background: #fff;
    color: #1547eb;
}
.gfc-mosaic-wrap {
    position: absolute;
    top: 17px;
    right: -57px;
    width: 536px;
    z-index: 0;
}
.gfc-mosaic {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.gfc-mosaic-row {
    display: flex;
    align-items: center;
    gap: 30px;
}
.gfc-mosaic-circle {
    border-radius: 100%;
    flex-shrink: 0;
}
.gfc-mosaic-circle.is-logo {
    border: 1px solid #ecedef;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.gfc-mosaic-circle.is-logo img {
    width: 84%;
    height: 84%;
    object-fit: contain;
    border-radius: 100%;
}
.gfc-mosaic-circle.c-46 { width: 46px; height: 46px; }
.gfc-mosaic-circle.c-62 { width: 62px; height: 62px; }
.gfc-mosaic-circle.c-76 { width: 76px; height: 76px; }
.gfc-mosaic-circle.c-92 { width: 92px; height: 92px; }
.gfc-mosaic-circle.bg-1 { background: #ebf2f9; }
.gfc-mosaic-circle.bg-2 { background: rgba(156, 206, 255, 0.24); }
.gfc-mosaic-circle.bg-3 { background: #a5aae8; opacity: 0.3; }
.gfc-mosaic-circle.bg-4 { background: #fff; opacity: 0.5; border: 1px solid #ecedef; }
.gfc-mosaic-circle.is-hidden { visibility: hidden; }

/* Trending Global Funds */
.gfc-trending {
    padding: 40px 0 64px;
    background: #eff6ff;
}
.gfc-trending .section-title {
    font-size: 30px;
    line-height: 130%;
    font-weight: 500;
    color: #002852;
    text-align: center;
    margin: 0 0 40px;
    font-family: var(--primaryFont);
}
.gfc-trending-slider-wrap {
    width: 100%;
}
.gfc-trending-slider,
.gfc-trending-slider .slick-track,
.gfc-trending-slider .slick-slide {
    display: flex;
    align-items: stretch;
}
.gfc-trending-slider .slick-slide {
    padding: 0 8px;
    height: auto !important;
}
.gfc-trending-slider .slick-slide > div {
    display: flex;
    width: 100%;
    height: auto;
}
.gfc-trending-slider .gf-fund-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
.gfc-trending-slider .gf-fund-card .gf-fund-stats {
    margin-top: auto;
    padding-top: 8px;
}
.gfc-trending-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}
.gfc-trending-nav button.gfc-trending-prev,
.gfc-trending-nav button.gfc-trending-next {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px;
    padding: 0 !important;
    margin: 0;
    border-radius: 100%;
    border: 1px solid #e5e9ee;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
}

/* Explore Global Funds (sidebar + table) */
.gfc-explore {
    padding: 50px 0 50px;
    background: #fff;
}
.gfc-explore > .container > .section-title {
    font-size: 24px;
    line-height: normal;
    font-weight: 500;
    color: #021930;
    font-family: var(--primaryFont);
    margin: 0 0 24px;
    text-align: left;
}
.gfc-explore-wrap {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.gfc-disclosure {
    padding-bottom: 50px;
}

.gfc-disclosure .gfc-disclosure-text {
    font-size: 12px;
    color: #737373;
    text-align: center;
    margin-top: 0;
}

/* Sidebar */
.gfc-sidebar {
    width: 339px;
    flex-shrink: 0;
    border: 1px solid #e5e9ee;
    border-radius: 8px;
    padding: 24px 20px;
    background: #fff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.gfc-sidebar-title {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: #262626;
    margin: 0;
    padding: 0;
}
.gfc-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.gfc-sidebar-item {
    display: flex;
    gap: 8px;
    padding: 16px;
    border: 1px solid #e5e9ee;
    border-radius: 6px;
    text-decoration: none;
    background: #fff;
    box-sizing: border-box;
    transition: background 0.2s, border-color 0.2s;
    width: 100%;
}
.gfc-sidebar-item:hover {
    background: #f5f8fb;
}
.gfc-sidebar-item.is-active {
    border-color: #1547eb;
    background: #eff6ff;
}
.gfc-sidebar-item .icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
}
.gfc-sidebar-item .icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}
.gfc-sidebar-item > span:last-child {
    min-width: 0;
    flex: 1;
}
.gfc-sidebar-item h4 {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #262626;
    font-weight: 600;
    margin: 0 0 4px;
}
.gfc-sidebar-item p {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    line-height: 16px;
    color: #737373;
    margin: 0;
}

/* Table */
.gfc-table-wrap {
    flex: 1;
    min-width: 0;
    background: #fff;
    border: 1px solid #e5e9ee;
    border-radius: 6px;
}
.gfc-table-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 24px 24px 0;
    position: relative;
}

/* Dropdowns (Annualised/Absolute, 1Y/3Y/5Y) */
.gfc-dropdown {
    position: relative;
}
.gfc-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 6px 8px;
    border-radius: 4px;
    border: none;
    font-size: 12px;
    line-height: 16px;
    color: #262626;
    background: rgba(233, 235, 236, 0.6);
    cursor: pointer;
    font-family: "Inter", sans-serif;
}
.gfc-dropdown-toggle img {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}
.gfc-dropdown.is-open .gfc-dropdown-toggle img {
    transform: rotate(180deg);
}
.gfc-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 140px;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border: 1px solid #e5e9ee;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 5;
}
.gfc-dropdown.is-open .gfc-dropdown-menu {
    display: block;
}
.gfc-dropdown-menu li {
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 13px;
    color: #262626;
    cursor: pointer;
    font-family: "Inter", sans-serif;
}
.gfc-dropdown-menu li:hover {
    background: #f5f8fb;
}
.gfc-dropdown-menu li.is-selected {
    background: #eff6ff;
    color: #1547eb;
    font-weight: 600;
}

.gfc-table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding: 16px 24px;
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
}
.gfc-table-head .col-name {
    width: 240px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    line-height: 16px;
    color: #8e9dad;
}
.gfc-table-head .col-group {
    display: flex;
    gap: 40px;
}
.gfc-table-head .col {
    width: 112px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    font-size: 12px;
    line-height: 16px;
    color: #8e9dad;
    text-align: right;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-family: "Inter", sans-serif;
}
.gfc-table-head .col:hover {
    color: #1547eb;
}
.gfc-table-head .col img,
.gfc-table-head .col .sort-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.gfc-table-head .col .sort-icon path {
    color: #8e9dad;
    transition: color 0.2s;
}
.gfc-table-head .col:hover:not(.is-sorted-asc):not(.is-sorted-desc) .sort-icon path {
    color: #1547eb;
}
.gfc-table-head .col.is-sorted-asc,
.gfc-table-head .col.is-sorted-desc {
    color: #1547eb;
}
.gfc-table-head .col.is-sorted-asc .sort-arrow-up,
.gfc-table-head .col.is-sorted-desc .sort-arrow-down {
    color: #1547eb;
}
.gfc-table-head .col.is-sorted-asc .sort-arrow-down,
.gfc-table-head .col.is-sorted-desc .sort-arrow-up {
    color: #8e9dad;
}
.gfc-table-loading,
.gfc-table-empty {
    padding: 40px 24px;
    text-align: center;
    font-size: 14px;
    color: #737373;
    margin: 0;
    font-family: "Inter", sans-serif;
}
.gfc-table-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px 24px;
    border-top: 1px solid #f5f5f5;
}
.gfc-table-pagination:empty {
    display: none;
    padding: 0;
    border: none;
}
.gfc-table-pagination .page-link {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e9ee;
    border-radius: 6px;
    background: #fff;
    color: #505a64;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    font-family: "Inter", sans-serif;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.gfc-table-pagination .page-link:hover:not(:disabled) {
    border-color: #1547eb;
    color: #1547eb;
    background: #eff6ff;
}
.gfc-table-pagination .page-link.is-active {
    background: #1547eb;
    border-color: #1547eb;
    color: #fff;
}
.gfc-table-pagination .page-link:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.gfc-fund-row {
    display: flex;
    /* flex-start, not center: a wrapped asset-class value (e.g. "Liquid
       Alternatives" in the fixed 112px column) or a fund with no house name
       gives .fund-meta/.col-group different heights row to row, and
       centering each independently made the name/logo and the metric
       values visibly jump up and down between rows. Starting both from the
       same top edge keeps every row's baseline consistent regardless. */
    align-items: flex-start;
    justify-content: space-between;
    padding: 12px 24px;
    text-decoration: none;
    color: inherit;
    min-height: 80px;
    box-sizing: border-box;
    transition: background 0.2s;
}
.gfc-fund-row:hover {
    background: #fafbfc;
}
.gfc-fund-row .fund-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 248px;
}
.gfc-fund-row .fund-logo {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border: 1px solid #e5e9ee;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gfc-fund-row .fund-logo img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 100%;
}
.gfc-fund-row .fund-name {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: #262626;
    margin: 0;
    word-break: break-word;
}
.gfc-fund-row .fund-house {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    line-height: 16px;
    color: #737373;
    margin: 0;
}
.gfc-fund-row .col-group {
    display: flex;
    gap: 40px;
    flex-shrink: 0;
}
.gfc-fund-row .col {
    width: 112px;
    text-align: right;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #021930;
}
.gfc-fund-row .col.asset-class {
    color: #262626;
}

@media screen and (max-width: 1100px) {
    .gfc-hero {
        height: auto;
        padding: 56px 0 64px;
    }
    .gfc-hero .container {
        padding-top: 0;
    }
    .gfc-mosaic-wrap {
        display: none;
    }
    .gfc-explore-wrap {
        flex-direction: column;
    }
    .gfc-sidebar {
        width: 100%;
    }
    .gfc-table-wrap {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .gfc-hero {
        padding: 40px 0;
    }
    .gfc-breadcrumb ol {
        font-size: 14px;
        line-height: 20px;
    }
    .gfc-hero-content h1 {
        font-size: 32px;
    }
    .gfc-hero-content p {
        font-size: 16px;
        line-height: 150%;
        letter-spacing: 0;
    }
    .gfc-hero-content .btn_dark {
        font-size: 16px;
        padding: 14px 24px;
    }
    .gfc-explore {
        padding: 40px 0 56px;
    }
    .gfc-table-controls {
        justify-content: flex-end;
        flex-wrap: wrap;
    }
    /* The head + rows keep their desktop widths and scroll together as one
       block, instead of squeezing/wrapping — the page's global
       `section { overflow: hidden }` rule would otherwise silently clip
       any columns that don't fit the viewport. */
    .gfc-table-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .gfc-table-head,
    .gfc-fund-row {
        width: 730px;
        min-width: 100%;
        flex-wrap: wrap;
        gap: 20px;
    }
    .gfc-fund-row .fund-meta {
        width: 35%;
    }
    
    .gfc-fund-row .col-group {
        width: calc(65% - 20px);
    }
    
    .gfc-table-head .col-name {
        width: 35%;
    }
    
    .gfc-table-head .col-group {
        width: calc(65% - 20px);
        justify-content: flex-start;
    }
    
    .gfc-table-head .col {
        justify-content: flex-start;
        text-align: left;
    }
    
    .gfc-fund-row .col {
        text-align: left;
    }
    /* Wrap onto multiple lines instead of overflowing — with 10+ pages the
       row otherwise runs past the viewport and, same as above, the global
       `section { overflow: hidden }` rule clips it with no way to reach it. */
    .gfc-table-pagination {
        flex-wrap: wrap;
        row-gap: 8px;
    }
    .gfc-trending-slider  .gf-fund-card .gf-fund-stats .dot {
        display: block;
        width: 100%;
        height: 0;
    }
    
    .gfc-trending-slider .gf-fund-card .gf-fund-stats {
        flex-wrap: wrap;
        gap: 1px 8px;
    }
}
