.site-content .ast-container {
    max-width: 100%;
    padding: 0;
}

.gf-detail-main .container {
    max-width: 1223px;
    padding: 0 24px;
    margin: 0 auto;
}
.gf-detail-main {
    padding: 24px 0 64px;
    background: #f7f9fb;
}

/* Matches the BreadcrumbList schema (template-parts/gf-detail/schemas.php). */
.gf-breadcrumb {
    margin: 0 0 16px;
}
.gf-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #8E9DAD;
}
.gf-breadcrumb li + li::before {
    content: ">";
    margin: 0 8px;
    color: #8E9DAD;
}
.gf-breadcrumb a {
    color: #8E9DAD;
    text-decoration: none;
}
.gf-breadcrumb a:hover {
    color: #002852;
    text-decoration: underline;
}
.gf-breadcrumb li[aria-current="page"] {
    color: #002852;
    font-weight: 500;
}
.gf-detail-wrap {
    display: flex;
    align-items: flex-start;
    gap: 23px;
}

/* ---------------- LEFT SIDEBAR ---------------- */
.gf-detail-left {
    width: 400px;
    flex-shrink: 0;
    /* position: sticky; */
    /* top: 90px; */
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.gf-fund-search {
    position: relative;
    margin-bottom: 0;
    z-index: 20;
}
.gf-fund-search input,
.gf-fund-search .gf-fund-search-input {
    width: 100%;
    height: 52px;
    border: 1px solid #DCDFE0;
    border-radius: 8px;
    padding: 0 16px 0 44px;
    font-size: 14px;
    line-height: 19px;
    color: #021930;
    background: #fff;
    font-family: "Inter", sans-serif;
    box-sizing: border-box;
}
.gf-fund-search.is-open .gf-fund-search-input {
    border-radius: 8px 8px 0 0;
    border-color: #002852;
}
.gf-fund-search input::placeholder,
.gf-fund-search .gf-fund-search-input::placeholder {
    color: #8e9dad;
}
.gf-fund-search-icon {
    position: absolute;
    left: 13px;
    top: 26px;
    transform: translateY(-50%);
    display: flex;
    line-height: 0;
    z-index: 2;
    pointer-events: none;
}
.gf-fund-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #D1D5DB;
    border-top: 0;
    border-radius: 0 0 8px 8px;
    max-height: 280px;
    overflow: auto;
    z-index: 30;
    box-shadow: 0 8px 20px rgba(2, 25, 48, 0.08);
}
.gf-fund-search-dropdown[hidden] {
    display: none !important;
}
.gf-fund-search-dropdown ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.gf-fund-search-dropdown li {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.gf-fund-search-dropdown li:hover {
    background: #F2F4F6;
}
.gf-fund-search-dropdown li strong {
    display: block;
    color: #1F2937;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    pointer-events: none;
}
.gf-fund-search-dropdown li span {
    display: block;
    color: #9CA3AF;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    pointer-events: none;
}
.gf-fund-search-dropdown p {
    margin: 0;
    padding: 14px 16px;
    color: #6B7280;
    font-size: 13px;
}

.gf-identity-card,
.gf-side-card {
    background: #fff;
    border: 1px solid #DCDFE0;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 0;
}
.gf-identity-card {
    overflow: visible;
}
.gf-identity-inner {
    display: flex;
    flex-direction: column;
    gap: 36px;
    width: 100%;
}
.gf-identity-top {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}
.gf-identity-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
}
.gf-share-btn {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    border: 0;
    background: #f2f4f6;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    overflow: hidden;
}
.gf-share-btn:hover {
    background: #ebeef2;
}
.gf-share-icon {
    width: 20px;
    height: 20px;
    display: block;
    object-fit: contain;
}
.gf-identity-logo {
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    border: 2px solid #ecedef;
    box-sizing: border-box;
    padding: 2px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #fff;
}
.gf-identity-logo-inner {
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    overflow: hidden;
    background: #d9d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gf-identity-logo img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 9999px;
    display: block;
}
.gf-identity-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}
.gf-identity-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}
.gf-identity-name {
    font-size: 20px;
    line-height: 32px;
    font-weight: 500;
    color: #002852;
    font-family: var(--primaryFont);
    margin: 0;
}
.gf-identity-sub {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}
.gf-identity-house,
.gf-identity-isin {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #6b7280;
    margin: 0;
}
.gf-identity-facts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}
.gf-identity-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
}
.gf-tag-text {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.154px;
    color: #737373;
}
.gf-tag-sep {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: #d9d9d9;
    flex-shrink: 0;
}
.gf-identity-risk {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    overflow: visible;
}
.gf-risk-dots {
    display: flex;
    align-items: center;
    gap: 0;
}
.gf-risk-dot {
    width: 16px;
    height: 16px;
    border-radius: 8px;
    background: #d9d9d9;
    margin-right: 4px;
    flex-shrink: 0;
    display: inline-block;
}
.gf-risk-dot:last-child {
    margin-right: 0;
}
.gf-risk-dot.is-on {
    background: #1a90a3;
}
.gf-risk-dots-sm .gf-risk-dot {
    width: 8px;
    height: 8px;
    margin-right: 3px;
}
.gf-risk-dots-sm {
    gap: 0;
}
.gf-risk-info-icon {
    width: 18px;
    height: 18px;
    display: block;
}
.gf-identity-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
    width: 100%;
}
.gf-price {
    font-family: "Inter", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: normal;
    color: #000;
    white-space: nowrap;
}
.gf-price-change {
    flex: 1 1 auto;
    min-width: 0;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 28.8px;
}
.gf-price-change.is-up,
.is-up {
    color: #0a7552;
}
.gf-price-change.is-down,
.is-down {
    color: #dc2626;
}
.gf-identity-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}
.gf-btn {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    height: 44px;
    padding: 8px 16px;
    border-radius: 6px;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    transition: background 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-decoration: none;
}
.gf-btn-navy {
    background: #002852;
    border: 1px solid #DCDFE0;
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}
.gf-btn-navy:hover {
    background: #013a75;
    color: #fff;
}
.gf-btn-green {
    background: #059669;
    border: 1px solid transparent;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}
.gf-btn-green:hover {
    background: #047857;
    color: #fff;
}

/* Share toast — same pattern as stocks details */
#copy_link_message {
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    margin: auto;
    background-color: #fff;
    box-shadow: rgba(100, 100, 111, 0.2) 0 7px 29px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 150px;
    z-index: 1000;
    padding: 10px 0;
    border-radius: 6px;
    transition: all 0.5s ease;
}
#copy_link_message img {
    max-width: 20px;
}
#copy_link_message span {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    display: block;
    margin-left: 10px;
}
#copy_link_message.active {
    top: 120px;
}

.gf-side-title {
    font-size: 16px;
    font-weight: 600;
    color: #262626;
    margin: 0 0 16px;
}

/* Top Holdings — Figma 1162:1615 */
.gf-topholdings {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 24px;
    border-radius: 8px;
}
.gf-topholdings .gf-side-title {
    width: 100%;
    margin: 0;
    font-family: var(--primaryFont);
    font-size: 16px !important;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.4px;
    color: #002852;
}
.gf-donut-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 243px;
    height: 243px;
    margin: 0;
    flex-shrink: 0;
}
.gf-donut-wrap canvas {
    width: 243px !important;
    height: 243px !important;
    display: block;
}
.gf-donut-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}
.gf-dist-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.gf-donut-legend li {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 24px;
}
.gf-dist-legend li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.gf-donut-legend .gf-legend-dot {
    width: 24px;
    height: 24px;
    border-radius: 9999px;
    flex-shrink: 0;
    display: inline-block;
}
.gf-dist-legend .gf-legend-dot,
.gf-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    flex-shrink: 0;
}
.gf-donut-legend .gf-legend-name {
    flex: 1 1 0;
    min-width: 0;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #262626;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}
.gf-legend-name {
    flex: 1;
    color: #505a64;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gf-legend-val {
    color: #262626;
    font-weight: 600;
}

.gf-similar-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    border: 1px solid #DCDFE0;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}
.gf-similar-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border: 0;
    border-bottom: 1px solid #DCDFE0;
    border-radius: 0;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}
.gf-similar-card:last-child {
    border-bottom: 0;
}
.gf-similar-card:hover {
    background: #fafbfc;
    border-color: #DCDFE0;
}
.gf-similar-top {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
}
.gf-similar-logo {
    width: 40px;
    height: 40px;
    border-radius: 100px;
    border: 1px solid #DCDFE0;
    box-sizing: border-box;
    overflow: hidden;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    background: #fff;
}
.gf-similar-logo img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 1000px;
    display: block;
}
.gf-similar-info {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
}
.gf-similar-name {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #262626;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gf-similar-subrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}
.gf-similar-house {
    flex: 1 1 0;
    min-width: 0;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #737373;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gf-similar-ret {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    line-height: 16px;
    white-space: nowrap;
    text-align: right;
}
.gf-similar-ret-label {
    font-weight: 400;
    color: #737373;
}
.gf-similar-ret strong {
    font-weight: 600;
    color: #262626;
}
.gf-similar-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 52px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}
.gf-similar-class,
.gf-similar-aum {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #262626;
    white-space: nowrap;
}
.gf-similar .gf-dot-sep {
    width: 4px;
    height: 4px;
    border-radius: 100%;
    background: #d9d9d9;
    display: inline-block;
    flex-shrink: 0;
}
.gf-similar .gf-risk-dots-sm {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    width: 68px;
    flex-shrink: 0;
    margin-left: auto;
}
.gf-similar .gf-risk-dots-sm .gf-risk-dot {
    width: 8px;
    height: 8px;
    margin-right: 0;
    border-radius: 40px;
    background: #e2edef;
}
.gf-similar .gf-risk-dots-sm .gf-risk-dot.is-on {
    background: #1a90a3;
}

/* Discover similar — Figma 1273:24156 */
.gf-similar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 25px;
    border-radius: 8px;
    overflow: hidden;
}
.gf-similar-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}
.gf-similar .gf-side-title {
    width: 100%;
    margin: 0;
    font-family: var(--primaryFont);
    font-size: 16px !important;
    font-weight: 500;
    line-height: 24px;
    color: #002852;
}
.gf-similar-sep {
    width: 100%;
    height: 0;
    border-top: 1px solid #f4f7fe;
    margin: 0;
}

/* ---------------- RIGHT CONTENT ---------------- */
.gf-detail-right {
    flex: 1 1 800px;
    max-width: 800px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}
.gf-tabs-position {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    visibility: hidden;
    pointer-events: none;
}
.gf-tabs {
    margin-bottom: 0;
    position: relative;
    z-index: 10;
}
.gf-tabs.highlighted {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 20;
    border-radius: 0 0 6px 6px;
    background-color: #f7f9fb;
}

.gf-tabs.highlighted .gf-tabs-wrapper {
    border-radius: 0 0 6px 6px;
}

.gf-tabs-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    border-radius: 6px;
    background: rgba(0, 40, 82, 0.10);
    padding: 5px;
    overflow-x: auto;
}
.gf-tab {
    padding: 6px 8px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #6b7280;
    background-color: transparent;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-family: "Inter", sans-serif;
    text-decoration: none;
}
.gf-tab:focus {
    outline: none;
}
.gf-tab.active,
.gf-tab:hover {
    background-color: #ffffff;
    color: #1f2937;
}
.gf-section {
    background: #fff;
    border: 1px solid #DCDFE0;
    border-radius: 8px;
    padding: 21px;
    margin-bottom: 0;
    scroll-margin-top: 140px;
}
.gf-section-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.24px;
    color: #002852;
    font-family: var(--primaryFont);
    margin: 0;
}

/* Overview chart */
.gf-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.gf-chart-header .gf-section-title {
    margin: 0;
    flex: 1;
    min-width: 180px;
}
.gf-chart-ranges {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0;
}
.gf-range {
    color: rgba(0, 40, 82, 0.80);
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
    border-radius: 6px;
    border: 1px solid #ccd4dc;
    background: linear-gradient(0deg, rgba(0, 40, 82, 0.04) 0%, rgba(0, 40, 82, 0.04) 100%), #fff;
    padding: 7px 13px;
    margin-right: 4px;
    cursor: pointer;
    font-family: "Inter", sans-serif;
    white-space: nowrap;
}
.gf-range:last-child {
    margin-right: 0;
}
.gf-range.is-active {
    background: #002852;
    border-color: #002852;
    color: #fff;
}
.gf-chart-separator {
    border-top: 1px solid #f4f7fe;
    margin: 16px 0 0;
}
.gf-price-chart {
    position: relative;
    height: 362px;
    margin-top: 16px;
}
#gfVerticalLine {
    position: absolute;
    top: 9px;
    height: calc(100% - 52px);
    width: 1px;
    background-image: url("../../images/vertical-line.png");
    background-repeat: repeat-y;
    display: none;
    pointer-events: none;
    z-index: 2;
}
#gfCustomTooltip {
    position: absolute;
    display: none;
    pointer-events: none;
    z-index: 3;
}
.gf-chart-label {
    border-radius: 6px;
    border: 1px solid rgba(21, 128, 61, 0.12);
    background: linear-gradient(0deg, rgba(21, 128, 61, 0.04) 0%, rgba(21, 128, 61, 0.04) 100%), #fff;
    padding: 8px 12px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
    white-space: nowrap;
}
.gf-chart-label strong {
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    display: block;
    margin-bottom: 2px;
}

.gf-about-text {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #374151;
    margin: 16px 0 0;
}
.gf-about-more {
    color: #002852;
    font-weight: 500;
    text-decoration: underline;
    margin-left: 4px;
    cursor: pointer;
}

/* Key info */
.gf-keyinfo-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    position: relative;
    z-index: 6;
}
.gf-keyinfo-head .gf-section-title {
    margin: 0;
}
#gf-keyinfo {
    overflow: visible;
    padding: 25px;
}
.gf-info-tip {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.gf-info-tip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    line-height: 0;
}

.gf-info-tip-btn:hover {
    background-color: transparent;
}

.gf-info-tip-content {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    transform: none;
    width: max-content;
    max-width: 280px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #002852;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    z-index: 20;
    box-shadow: 0 8px 20px rgba(0, 40, 82, 0.18);
}
.gf-info-tip-content::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 12px;
    top: auto;
    transform: none;
    border: 6px solid transparent;
    border-bottom-color: #002852;
    border-top-color: transparent;
}
.gf-info-tip:hover .gf-info-tip-content,
.gf-info-tip:focus-within .gf-info-tip-content {
    opacity: 1;
    visibility: visible;
}
.gf-keyinfo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
}
.gf-keyinfo-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.gf-keyinfo-col:first-child {
    padding-right: 24px;
}
.gf-keyinfo-col + .gf-keyinfo-col {
    border-left: 1px solid #DCDFE0;
    padding-left: 24px;
}
.gf-keyinfo-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    gap: 16px;
    min-height: 20px;
}
.gf-keyinfo-item:first-child {
    padding-top: 0;
}
.gf-keyinfo-item:last-child {
    padding-bottom: 0;
}
.gf-keyinfo-label {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #737373;
    line-height: 20px;
}
.gf-keyinfo-value {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #021930;
    text-align: right;
    line-height: 20px;
}

/* Returns table — stocks-details style */
.gf-returns-tab-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 16px 0;
}
.gf-returns-tab-container[hidden] {
    display: none !important;
}
.gf-returns-tab-button {
    border-radius: 6px;
    border: 1px solid #CCD4DC;
    background: linear-gradient(0deg, rgba(0, 40, 82, 0.04) 0%, rgba(0, 40, 82, 0.04) 100%), #FFF;
    height: 30px;
    padding: 6px 12px;
    color: rgba(0, 40, 82, 0.80);
    font-size: 12px;
    font-weight: 600;
    line-height: normal;
    cursor: pointer;
    margin: 0;
}
.gf-returns-tab-button + .gf-returns-tab-button {
    margin-left: 4px;
}
.gf-returns-tab-button.active {
    background: #002852;
    border-color: #002852;
    color: #fff;
}
.gf-returns-compare[hidden],
.gf-returns-tab-panel[hidden] {
    display: none !important;
}
.gf-returns-table-container {
    border-radius: 6px;
    border: 1px solid rgba(0, 40, 82, 0.20);
    background: linear-gradient(0deg, rgba(0, 40, 82, 0.08) 0%, rgba(0, 40, 82, 0.08) 100%), #fff;
    overflow: auto;
}
.gf-returns-table-wrapper {
    min-width: 520px;
    position: relative;
}
.gf-returns-table-inner {
    padding-right: 81px;
}
.gf-returns-table-inner.ticker_added {
    padding-right: 0;
}
.gf-returns-table-inner.ticker_added + .gf-returns-add-btn {
    display: none;
}
.gf-returns-table-inner table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
}
.gf-returns-table-inner table th {
    background: linear-gradient(0deg, rgba(0, 40, 82, 0.08) 0%, rgba(0, 40, 82, 0.08) 100%), #fff;
    border: none;
    color: #1f2937;
    font-size: 13px;
    font-weight: 500;
    line-height: normal;
    text-align: center;
    padding: 16px 8px;
}
.gf-returns-table-inner table th:first-child {
    text-align: left;
    padding-left: 14px;
}
.gf-returns-table-inner table td {
    border: 0.5px solid #f5f5f5;
    background: #fff;
    color: #6b7280;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    line-height: normal;
    padding: 9px 14px;
    height: 40px;
}
.gf-returns-table-inner table td:first-child {
    color: #374151;
    text-align: left;
}
.gf-returns-add-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 81px;
    height: 100%;
    border: 0;
    border-radius: 0 6px 6px 0;
    background: linear-gradient(0deg, rgba(0, 40, 82, 0.08) 0%, rgba(0, 40, 82, 0.08) 100%), #fff;
    padding: 14px;
    cursor: pointer;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.gf-returns-add-btn:hover,
.gf-returns-add-btn:focus {
    background: linear-gradient(0deg, rgba(0, 40, 82, 0.12) 0%, rgba(0, 40, 82, 0.12) 100%), #fff;
    outline: none;
}
.gf-returns-add-btn img {
    width: 24px;
    height: 24px;
}
.gf-returns-add-btn span {
    display: block;
    color: #374151;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
    margin-top: 8px;
}
.gf-returns-table-inner table th .ticker_button {
    padding: 0;
    margin: 2px auto 0;
    background-color: transparent;
    border: 0;
    color: #1F2937;
    font-size: 13px;
    font-weight: 500;
    line-height: normal;
    text-decoration-line: underline;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.gf-returns-table-inner table th .ticker_button img {
    display: block;
    width: auto;
    height: auto;
    margin-right: 4px;
    margin-top: 3px;
}
.gf-returns-table-inner table th .ticker_button:hover {
    background-color: transparent;
    color: #1F2937;
}

/* Compare loading state */
#gf-returns {
    position: relative;
}
.gf-returns-loader {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 6px;
}
.gf-returns-loader[hidden] {
    display: none !important;
}
.gf-returns-loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.gf-returns-spinner {
    width: 28px;
    height: 28px;
    border: 2.5px solid rgba(0, 40, 82, 0.15);
    border-top-color: #002852;
    border-radius: 50%;
    animation: gf-returns-spin 0.7s linear infinite;
}
.gf-returns-loader-text {
    color: #002852;
    font-size: 13px;
    font-weight: 500;
    line-height: normal;
}
#gf-returns.is-loading-compare .gf-returns-tab-container,
#gf-returns.is-loading-compare #gf_returns_default,
#gf-returns.is-loading-compare #gf_returns_compare {
    pointer-events: none;
    opacity: 0.55;
}
@keyframes gf-returns-spin {
    to { transform: rotate(360deg); }
}

/* Distribution */
.gf-dist-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
    flex-wrap: wrap;
}
.gf-dist-tab {
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid #DCDFE0;
    background: #fff;
    color: #737373;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: "Inter", sans-serif;
    line-height: 1.2;
}
.gf-dist-tab.is-active {
    background: #fff;
    border-color: #002852;
    color: #002852;
}
.gf-dist-tab:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    color: #8e9dad;
    border-color: #DCDFE0;
    background: #fff;
}
.gf-dist-divider {
    border-top: 1px solid #f4f7fe;
    margin: 16px 0;
}
.gf-dist-panel {
    display: none;
}
.gf-dist-panel.is-active {
    display: block;
}
.gf-dist-bar {
    display: flex;
    width: 100%;
    height: 14px;
    border-radius: 100px;
    overflow: hidden;
    margin: 0 0 24px;
    background: #f0f3f6;
}
.gf-dist-seg {
    height: 100%;
    min-width: 2px;
}
.gf-dist-legend {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.gf-dist-legend li {
    display: flex;
    align-items: center;
    gap: 10px;
}
.gf-legend-sq {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    flex-shrink: 0;
}
.gf-dist-legend .gf-legend-name {
    font-size: 14px;
    color: #262626;
    font-weight: 400;
}
.gf-dist-legend .gf-legend-val {
    margin-left: auto;
    font-size: 14px;
    font-weight: 500;
    color: #262626;
}

/* Key Holdings rows */
.gf-holdings-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.gf-holdings-row {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) 64px minmax(120px, 1.4fr);
    align-items: center;
    gap: 16px;
}
.gf-holdings-extra {
    display: none !important;
}
.gf-holdings-list.is-expanded .gf-holdings-extra {
    display: grid !important;
}
.gf-holdings-name {
    font-size: 14px;
    color: #262626;
    font-weight: 400;
    line-height: 1.3;
}
.gf-holdings-val {
    font-size: 14px;
    font-weight: 500;
    color: #262626;
    text-align: right;
}
.gf-holdings-bartrack {
    display: block;
    width: 100%;
    height: 10px;
    border-radius: 100px;
    background: transparent;
    overflow: hidden;
}
.gf-holdings-bar {
    display: block;
    height: 100%;
    border-radius: 100px;
    min-width: 8px;
}
.gf-holdings-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eceef2;
    display: flex;
    justify-content: center;
}
.gf-holdings-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #262626;
    font-size: 14px;
    font-weight: 500;
    font-family: "Inter", sans-serif;
    cursor: pointer;
}

.gf-holdings-more:hover,
.gf-holdings-more:focus {
    background-color: transparent;
    color: #262626;
}

.gf-holdings-more-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #262626;
}
.gf-holdings-more-icon svg {
    display: block;
    transition: transform 0.2s ease;
}
.gf-holdings-more.is-expanded .gf-holdings-more-icon svg {
    transform: rotate(180deg);
}

/* Section head with action button */
.gf-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 0;
}
.gf-section-head .gf-section-title {
    margin-bottom: 0;
}
#gf-returns .gf-chart-separator,
#gf-distribution .gf-chart-separator,
#gf-faqs .gf-chart-separator,
#gf-about .gf-chart-separator {
    margin-top: 16px;
}
#gf-returns .gf-returns-table-container {
    margin-top: 16px;
}
#gf-distribution .gf-dist-tabs {
    margin-top: 16px;
}
#gf-distribution .gf-dist-divider {
    margin: 16px 0;
}
#gf-faqs .gf-faq-list {
    margin-top: 16px;
}

/* Calculator — Figma node 1203:4443 */
.gf-calc-section {
    padding: 0 !important;
    overflow: visible;
}
.gf-calc-field-cagr {
    overflow: visible;
}
.gf-calc-field-cagr .gf-calc-field-top,
.gf-calc-field-cagr label {
    overflow: visible;
}
.gf-calc {
    display: block;
}
.gf-calc-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 24px 12px;
}
.gf-calc-title {
    margin: 0;
    font-family: var(--primaryFont);
    font-size: 16px !important;
    font-weight: 500;
    line-height: 24px;
    color: #002852;
}
.gf-calc-toggle {
    display: inline-flex;
    align-items: center;
    background: #DCDFE0;
    border-radius: 6px;
    padding: 4px;
    margin: 0;
}
.gf-calc-mode {
    padding: 6px 12px;
    border: 0;
    background: transparent;
    border-radius: 4px;
    font-size: 14px;
    line-height: 20px;
    color: #8e9dad;
    cursor: pointer;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    white-space: nowrap;
}

.gf-calc-mode:hover,
.gf-calc-mode:focus {
    background-color: transparent;
    color: #8e9dad;
}

.gf-calc-mode.is-active {
    background: #fff;
    color: #262626;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.gf-calc-mode.is-active:hover,
.gf-calc-mode.is-active:focus {
    background-color: #fff;
    color: #262626;
}

.gf-calc-body {
    display: flex;
    align-items: stretch;
    gap: 16px;
    padding: 16px 24px 24px;
}
.gf-calc-inputs {
    flex: 0 1 352px;
    width: 352px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-width: 0;
}
.gf-calc-field {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}
.gf-calc-field-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}
.gf-calc-field label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #262626;
    font-family: "Inter", sans-serif;
    flex: 1;
    min-width: 0;
}
.gf-calc-field-cagr .gf-info-tip {
    flex-shrink: 0;
}
.gf-calc-inputrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #DCDFE0 !important;
    border-radius: 6px;
    padding: 8px 12px;
    min-height: 36px;
    height: 36px;
    margin: 0;
    background: #fff !important;
    width: 122px;
    flex-shrink: 0;
    box-sizing: border-box;
    overflow: hidden;
}
.gf-calc-inputrow-sm {
    width: 102px;
}
.gf-calc-inputrow.is-disabled {
    background: #f2f4f6 !important;
    border-color: #e5e7eb !important;
}
.gf-calc-suffix {
    color: #b2becb !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    flex-shrink: 0;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline;
    box-shadow: none !important;
    white-space: nowrap;
}
.gf-calc .gf-calc-num,
.gf-calc-inputrow input.gf-calc-num,
.gf-calc-inputrow input[type="number"] {
    flex: 1 1 auto;
    border: 0 !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 400;
    line-height: 20px !important;
    color: #262626 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    font-family: "Inter", sans-serif !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    -moz-appearance: textfield;
    appearance: textfield;
    transition: none !important;
}
.gf-calc-num::-webkit-outer-spin-button,
.gf-calc-num::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.gf-calc-inputrow.is-disabled .gf-calc-num,
.gf-calc-inputrow.is-disabled .gf-calc-suffix {
    color: #b2becb !important;
}
.gf-calc-inputrow.is-disabled .gf-calc-num {
    pointer-events: none;
}

/* Sliders — custom track fill + white thumb (Figma) */
.gf-calc-slider-wrap {
    position: relative;
    width: 100%;
    height: 18px;
    display: flex;
    align-items: center;
    box-shadow: none !important;
    filter: none !important;
}
.gf-calc-slider-track {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 8px;
    border-radius: 4px;
    background: #DCDFE0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
    box-shadow: none !important;
}
.gf-calc-slider-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: #002852;
    border-radius: 4px;
    box-shadow: none !important;
}
.gf-calc-slider {
    -webkit-appearance: none !important;
    appearance: none !important;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 18px;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    background-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    filter: none !important;
    cursor: pointer;
}
.gf-calc-slider:focus,
.gf-calc-slider:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}
.gf-calc-slider::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    height: 8px;
    border-radius: 4px;
    background: transparent !important;
    border: 0;
    box-shadow: none !important;
}
.gf-calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 18px;
    height: 18px;
    margin-top: -5px;
    border-radius: 50%;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    cursor: pointer;
    border: 1px solid #DCDFE0 !important;
    box-shadow: none !important;
    filter: none !important;
}
.gf-calc-slider::-moz-range-track {
    height: 8px;
    border-radius: 4px;
    background: transparent !important;
    border: 0;
    box-shadow: none !important;
}
.gf-calc-slider::-moz-range-progress {
    height: 8px;
    border-radius: 4px;
    background: transparent;
    box-shadow: none !important;
}
.gf-calc-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff !important;
    background-color: #ffffff !important;
    cursor: pointer;
    border: 1px solid #DCDFE0 !important;
    box-shadow: none !important;
}

.gf-calc-divider {
    width: 1px;
    flex: 0 0 1px;
    background: #DCDFE0;
    align-self: stretch;
}
.gf-calc-result {
    flex: 1 1 0;
    min-width: 0;
    max-width: 386px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 0;
    border: 0;
}
.gf-calc-result-top {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.gf-calc-splitbar {
    display: flex;
    width: calc(100% - 48px);
    height: 23px;
    border-radius: 6px;
    overflow: hidden;
    margin: 12px 24px 0;
    padding: 0;
    box-sizing: border-box;
    background: #DCDFE0;
}
.gf-calc-splitseg {
    height: 100%;
    display: block;
}
.gf-calc-invested-seg {
    background: #9fdeff;
    border-radius: 6px 0 0 6px;
}
.gf-calc-returns-seg {
    background: #3b82f6;
    border-radius: 0 6px 6px 0;
}
.gf-calc-invested-dot {
    background: #9fdeff;
}
.gf-calc-returns-dot {
    background: #3b82f6;
}
.gf-calc-legend {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 16px 24px 24px;
}
.gf-calc-resrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #262626;
    padding: 0;
    font-family: "Inter", sans-serif;
}
.gf-calc-reslabel {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.gf-calc-sq {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    flex-shrink: 0;
    display: inline-block;
}
.gf-calc-resrow > span:last-child {
    font-weight: 500;
    color: #262626;
}
.gf-calc-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #DCDFE0;
    margin: 0;
    padding: 16px 24px 0;
    gap: 16px;
}
.gf-calc-total > span:first-child {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #737373;
    font-family: "Inter", sans-serif;
}
.gf-calc-total > span:last-child {
    font-size: 18px;
    font-weight: 600;
    line-height: 30px;
    color: #262626;
    font-family: "Inter", sans-serif;
}

/* FAQ */
.gf-faq-list {
    display: flex;
    flex-direction: column;
}
.gf-faq {
    border-bottom: 1px solid #DCDFE0;
}
.gf-faq:last-child {
    border-bottom: 0;
}
.gf-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 44px;
    padding: 12px 0;
    cursor: pointer;
}
.gf-faq-q h3 {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #262626;
    margin: 0;
}
.gf-faq-icon {
    display: flex;
    line-height: 0;
    flex-shrink: 0;
    transition: transform 0.3s;
    color: #002852;
}
.gf-faq.is-open .gf-faq-icon {
    transform: rotate(180deg);
}
.gf-faq-a {
    display: none;
    padding: 0 0 16px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #737373;
}
.gf-faq-a ol {
    margin: 8px 0 0 20px;
}
.gf-faq.is-open .gf-faq-a {
    display: block;
}

/* ---------------- RESPONSIVE ---------------- */
@media screen and (max-width: 991px) {
    .gf-detail-wrap {
        flex-direction: column;
    }
    .gf-detail-left {
        width: 100%;
        position: static;
    }
    .gf-detail-right {
        width: 100%;
        max-width: none;
        flex: 1 1 auto;
    }
    .gf-tabs.highlighted {
        position: fixed;
        left: 0;
        right: 0;
        width: calc(100% - 30px);
        margin: auto;
        padding: 0;
        top: 0;
    }
    .gf-tabs.highlighted .gf-tabs-wrapper {
        border-radius: 0 0 6px 6px;
    }
    .gf-chart-header {
        flex-wrap: wrap;
    }
    .gf-calc-body {
        flex-wrap: wrap;
    }
    .gf-calc-inputs {
        flex: 1 1 100%;
        width: 100%;
    }
    .gf-calc-divider {
        display: none;
    }
    .gf-calc-result {
        flex: 1 1 100%;
        max-width: none;
    }
}
@media screen and (max-width: 767px) {
    .gf-keyinfo-grid,
    .gf-dist-legend {
        grid-template-columns: 1fr;
    }
    .gf-holdings-row {
        grid-template-columns: 1fr 56px;
        gap: 8px 12px;
    }
    .gf-holdings-bartrack {
        grid-column: 1 / -1;
    }
    .gf-keyinfo-col + .gf-keyinfo-col {
        border-left: 0;
        padding-left: 0;
        margin-top: 8px;
        border-top: 1px solid #DCDFE0;
        padding-top: 8px;
    }
    .gf-info-tip-content {
        left: 0;
        max-width: 220px;
    }
    .gf-info-tip-content::after {
        left: 12px;
    }
    .gf-calc-field-top {
        flex-wrap: wrap;
    }
    .gf-calc-inputrow,
    .gf-calc-field:nth-child(2) .gf-calc-inputrow,
    .gf-calc-field-cagr .gf-calc-inputrow {
        width: 140px;
    }
    .gf-identity-name {
        font-size: 18px !important;
        line-height: 28px;
    }
    .gf-section-title {
        font-size: 16px !important;
    }
    .gf-price {
        font-size: 24px;
    }
    .gf-chart-ranges {
        width: 100%;
        justify-content: flex-start;
    }
    .gf-keyinfo-col:first-child {
        padding-right: 0;
    }
    .ast-separate-container #content .ast-container {
        padding: 0;
    }

    .gf-similar-card {
        padding: 10px;
    }

    .gf-similar-top {
        gap: 8px;
    }

    .gf-similar-meta {
        padding-left: 0;
    }

    .gf-similar .gf-risk-dots-sm {
        margin-left: 0;
    }

    .gf-chart-ranges {
        gap: 6px;
    }

    .gf-range {
        margin-right: 0;
    }
}
