﻿.amc-aif-overview {
    --aif-maroon: #682c3e;
    color: #505155;
    background: #fff;
    font: 400 14px/1.55 'Poppins', sans-serif;
}

.amc-aif-overview * {
    box-sizing: border-box;
}

.amc-aif-overview .aif-container {
    width: calc(100% - 48px);
    max-width: 1296px;
    margin: 0 auto;
}

.amc-aif-overview h1,
.amc-aif-overview h2,
.amc-aif-overview h3,
.amc-aif-overview h4 {
    font-family: inherit;
    letter-spacing: 0;
    text-transform: none;
}

.amc-aif-overview a {
    text-decoration: none;
}

.amc-aif-overview a:hover {
    text-decoration: underline;
}

.amc-aif-overview a:focus-visible,
.amc-aif-overview button:focus-visible {
    outline: 2px solid var(--aif-maroon);
    outline-offset: 4px;
}

.aif-intro {
    padding-top: 32px;
}

.aif-brand {
    display: grid;
    grid-template-columns: 416px 1fr;
    align-items: center;
    gap: 24px;
}

.aif-logo {
    min-height: 158px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    border: 1px solid #ececec;
    border-radius: 18px;
    box-shadow: 0 2px 4px #00000003;
}

.aif-logo img {
    width: auto;
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

.amc-aif-overview .aif-brand h1 {
    margin: 0;
    color: #171c28;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.3;
}

.aif-about {
    margin: 16px 0 40px;
    line-height: 1.5;
    text-align: justify;
}

.aif-assets {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    background: #f5f5f5;
    border-radius: 32px;
    padding: 12px 18px;
    color: #222;
    font-size: 16px;
}

.aif-assets>span:first-child {
    margin-right: 8px;
}

.aif-pill {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #dcc6be;
    border-radius: 24px;
    background: #fcf6f0;
    color: #6c4440;
    font-size: 14px;
    white-space: nowrap;
}

.amc-aif-overview .aif-funds>h2 {
    text-align: center;
    color: #222;
    font-size: 28px;
    font-weight: 500;
    margin: 42px 0 24px;
}

.amc-aif-overview .aif-fund-group>h3 {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin: 0 0 24px;
}

.aif-fund-group {
    margin-bottom: 18px;
}

.aif-fund-card {
    display: grid;
    grid-template-columns: 40.5% 1fr;
    align-items: center;
    gap: 24px;
    padding: 24px;
    min-height: 148px;
    margin-bottom: 16px;
    border: 1px solid #d3d3d3;
    border-radius: 8px;
    box-shadow: 0 2px 4px #0000000d;
}

.aif-fund-identity {
    padding-right: 24px;
    border-right: 1px solid #ededed;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.amc-aif-overview .aif-fund-identity h4 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
    margin: 0 0 8px;
}

.aif-fund-identity h4 a {
    color: var(--aif-maroon);
}

.aif-fund-category {
    margin: 4px 0 0;
}

.aif-card-data {
    min-width: 0;
}

.aif-metrics {
    display: grid;
    gap: 12px;
    margin: 0;
}

.aif-metrics-details {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.aif-metrics dt {
    font-weight: 400;
    font-size: 14px;
}

.aif-metrics dd {
    margin: 0;
    color: #303236;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.aif-metrics-returns {
    grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(100px, 1.5fr);
    gap: 8px;
}

.aif-metrics-returns>div+div {
    border-left: 1px solid #eee;
    padding-left: 8px;
}

.aif-metrics-returns dt {
    font-size: 12px;
}

.aif-returns-title {
    color: #111;
    font-size: 12px;
    margin: 0 0 6px;
}

.aif-metrics dd.aif-positive {
    color: #238848;
    font-weight: 500;
}

.aif-metrics dd.aif-negative {
    color: #b52f3c;
    font-weight: 500;
}

.aif-as-on {
    margin: 0 0 18px;
}

.aif-performance-note {
    font-size: 11px;
    padding: 0 0 18px;
    margin: 0;
}

.aif-info {
    position: relative;
    display: inline-block;
    margin-left: 4px;
}

.aif-info button {
    border: 0;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font: bold 10px/14px Georgia, serif;
    height: 14px;
    width: 14px;
    padding: 0;
    cursor: help;
}

.aif-info [role=tooltip] {
    visibility: hidden;
    position: absolute;
    z-index: 4;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    padding: 10px;
    border-radius: 6px;
    background: #242424;
    color: #fff;
    font-size: 12px;
    box-shadow: 0 3px 12px #0002;
}

.aif-info:hover [role=tooltip],
.aif-info:focus-within [role=tooltip] {
    visibility: visible;
}

.aif-leadership {
    background: #f7f7f7;
    padding: 64px 0;
}

.amc-aif-overview .aif-leadership h2 {
    text-align: center;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 500;
    color: #222;
    margin: 0 0 4px;
}

.aif-section-description {
    text-align: center;
    font-size: 16px;
    color: #5b6570;
    margin: 0 0 40px;
}

.aif-manager-grid {
    width: 100%;
}

.aif-manager-grid .owl-stage {
    display: flex;
}

.aif-manager-grid .owl-item {
    display: flex;
    float: none;
}

.aif-manager-grid .owl-nav,
.aif-manager-grid .owl-dots {
    direction: ltr;
}

.aif-manager-card {
    min-width: 0;
    width: 100%;
    direction: ltr;
    text-align: left;
    background: white;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 5px 24px #00000003;
}

.aif-manager-header {
    display: flex;
    direction: ltr;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.aif-manager-header > .aif-manager-portrait {
    flex: 0 0 120px;
    width: 120px;
    min-width: 120px;
    max-width: 120px;
    height: 120px;
    overflow: hidden;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px #0001;
}

.amc-aif-overview .aif-manager-grid .aif-manager-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
}

.aif-manager-header > div {
    flex: 1;
    min-width: 0;
}

.amc-aif-overview .aif-manager-header h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.aif-manager-header h3 a {
    color: #7b302f;
}

.aif-manager-header p {
    color: #5b6570;
    margin: 0;
}

.aif-manager-bio {
    direction: ltr;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: justify;
    line-height: 1.7;
}

.aif-manager-bio p {
    margin: 0;
    font: inherit;
}

.aif-more {
    color: #d76900;
    font-size: 16px;
    font-weight: 500;
}

.aif-contact {
    background: #fcf6ef;
}

.aif-contact-grid {
    display: grid;
    grid-template-columns: 34% 1fr;
}

.aif-address {
    background: #fff;
    padding: 44px 16px;
}

.amc-aif-overview .aif-contact h2 {
    font-size: 16px;
    font-weight: 500;
    color: #222;
    margin: 0 0 4px;
}

.aif-address div {
    font-size: 13px;
}

.aif-call {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px 24px;
}

.aif-call p {
    margin: 0;
    font-size: 13px;
}

.aif-call-button {
    flex-shrink: 0;
    display: inline-flex;
    gap: 12px;
    align-items: center;
    color: white;
    background: var(--aif-maroon);
    padding: 12px 16px;
    border-radius: 6px;
}

.aif-call-button:hover {
    color: white;
}

.aif-empty {
    text-align: center;
    padding: 24px;
}

@media (max-width: 1100px) {
    .aif-brand {
        grid-template-columns: 32% 1fr;
    }

    .amc-aif-overview .aif-brand h1 {
        font-size: 30px;
    }

    .aif-fund-card {
        grid-template-columns: 35% 1fr;
        gap: 16px;
        padding: 20px;
    }

    .aif-call {
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .amc-aif-overview .aif-container {
        width: calc(100% - 32px);
    }

    .aif-brand {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .aif-logo {
        min-height: 140px;
    }

    .amc-aif-overview .aif-brand h1 {
        text-align: center;
        font-size: 26px;
    }

    .aif-about {
        text-align: left;
        margin-bottom: 24px;
    }

    .aif-assets {
        border-radius: 16px;
        gap: 10px;
    }

    .aif-assets>span:first-child {
        flex-basis: 100%;
    }

    .aif-fund-card {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .aif-fund-identity {
        border-right: 0;
        border-bottom: 1px solid #eee;
        padding: 0 0 16px;
    }

    .aif-metrics-details,
    .aif-metrics-returns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .aif-metrics-returns>div+div {
        border-left: 0;
        padding-left: 0;
    }

    .aif-info [role=tooltip] {
        left: auto;
        right: -24px;
        transform: none;
        max-width: 200px;
    }

    .aif-leadership {
        padding: 40px 0;
    }

    .amc-aif-overview .aif-leadership h2 {
        font-size: 25px;
    }

    .aif-section-description {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .aif-manager-card {
        padding: 24px;
    }

    .aif-manager-header {
        gap: 12px;
        margin-bottom: 24px;
    }

    .aif-manager-header > .aif-manager-portrait {
        flex-basis: 96px;
        width: 96px;
        min-width: 96px;
        max-width: 96px;
        height: 96px;
    }

    .aif-contact-grid {
        grid-template-columns: 1fr;
    }

    .aif-address,
    .aif-call {
        padding: 24px 16px;
    }
}
