.tfi-currency{
	margin-left:10px;
	margin-right:10px;
}

/* GRID CONTAINER */
.beyond-countries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* DESKTOP: 5 PER ROW */
.beyond-countries-grid .country-card {
    width: calc((100% - 80px) / 5);
    text-decoration: none;
}

/* TABLET: 3 PER ROW */
@media (max-width: 1024px) {
    .beyond-countries-grid .country-card {
        width: calc((100% - 40px) / 3);
    }
}

/* MOBILE: 1 PER ROW */
@media (max-width: 600px) {
    .beyond-countries-grid .country-card {
        width: 100%;
    }
}

/* IMAGE BLOCK */
.country-image {
    position: relative;
    width: 100%;
    padding-top: 60%; /* aspect ratio */
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s ease;
}

/* OVERLAY */
.country-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

/* TEXT */
.country-overlay span {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 10px;
}

/* HOVER EFFECT */
.country-card:hover .country-overlay {
    background: rgba(0,0,0,0.55);
}

.country-card:hover .country-image {
    transform: scale(1.05);
}

/* Stock graph text mode (country profile pages) */
.stock-graph-text-box {
    display: block !important;
    background: linear-gradient(45deg, #1ba0e2 0%, #05202d 100%) !important;
    padding: 20px !important;
    border-radius: 30px !important;
}

.stock-graph-text-box h6.stock-graph-text-heading {
    color: #fff !important;
    margin: 0 0 12px;
}

.stock-graph-text-box .stock-graph-text,
.stock-graph-text-box .stock-graph-text p,
.stock-graph-text-box .stock-graph-text a {
    color: #fff !important;
}

/* Funds Hub shortcode [beyond_funds_hub] */
.tfi-funds-hub {
    width: 100%;
    color: #05202d;
    font-family: "Instrument Sans", sans-serif;
}

.tfi-funds-hub__empty {
    margin: 0;
    opacity: 0.75;
}

.tfi-funds-hub__region {
    margin: 0 0 2.5rem;
}

.tfi-funds-hub__region-title {
    margin: 0 0 1.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #05202d;
    border-bottom: 1px solid rgba(5, 32, 45, 0.15);
    padding-bottom: 0.65rem;
}

.tfi-funds-hub__list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.tfi-funds-hub__card {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 0 0 1.75rem;
    border-bottom: 1px solid rgba(5, 32, 45, 0.1);
}

.tfi-funds-hub__card:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.tfi-funds-hub__main {
    flex: 1 1 70%;
    min-width: 0;
}

.tfi-funds-hub__holdings {
    flex: 0 1 28%;
    min-width: 180px;
}

.tfi-funds-hub__title {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    color: #05202d;
}

.tfi-funds-hub__description {
    margin: 0 0 1.25rem;
    line-height: 1.6;
    color: #05202d;
}

.tfi-funds-hub__contact {
    display: inline-block;
    padding: 0.7rem 1.25rem;
    background: #1ba0e2;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 2px;
    transition: background 0.2s ease;
}

.tfi-funds-hub__contact:hover,
.tfi-funds-hub__contact:focus {
    background: #05202d;
    color: #fff !important;
}

.tfi-funds-hub__holdings-title {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #05202d;
}

.tfi-funds-hub__holdings-body {
    line-height: 1.6;
    color: #05202d;
}

@media (max-width: 768px) {
    .tfi-funds-hub__card {
        flex-direction: column;
        gap: 1.25rem;
    }

    .tfi-funds-hub__holdings {
        flex: 1 1 auto;
        min-width: 0;
        width: 100%;
    }
}
