.xg-overview-wrapper {
    overflow: hidden;
    position: relative;
    transition: max-height 2s cubic-bezier(0.65, 0.05, 0.36, 1);
    max-height: 544px;
}

.xg-overview-wrapper.expanded {
    transition: max-height 2s cubic-bezier(0.65, 0.05, 0.36, 1);
}

.xg-overview-content {
    padding-bottom: 96px;
}

.xg-overview-fade {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(0deg, #16171f 0%, #16171f 50%, rgba(22, 23, 31, 0) 100%);
    pointer-events: none;
    z-index: 1;
    transition: opacity 2s ease;
}

.xg-overview-wrapper.expanded .xg-overview-fade {
    opacity: 0;
}

.xg-overview-toggle {
    padding: 8px !important;
    position: absolute;
    bottom: 32px;
    background: #1f2028 !important;
    z-index: 2;
    border-radius: 8px;
    border: 1px solid rgba(174, 177, 199, 0.10) !important;
    color: #aeb1c7 !important;
    margin: 0 auto !important;
    text-align: center;
    width: 100%;
    transition: 0.3s all;
}

.xg-overview-toggle:hover {
    border: 1px solid rgba(174, 177, 199, 0.25) !important;
    color: #FFFFFF !important;
}

.xg-overview-content h2,
.xg-overview-content h3,
.xg-overview-content h4,
.xg-overview-content h5,
.xg-overview-content h6 {
    color: #FFF;
    font-family: 'Lexend', sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 24px;
}

.xg-overview-content h2 { font-size: 24px; }
.xg-overview-content h3 { font-size: 20px; }
.xg-overview-content h4 { font-size: 16px; }
.xg-overview-content h5 { font-size: 14px; }
.xg-overview-content h6 { font-size: 12px; }

.xg-overview-content h2:first-child,
.xg-overview-content h3:first-child,
.xg-overview-content h4:first-child,
.xg-overview-content h5:first-child,
.xg-overview-content h6:first-child {
    margin-top: 0;
}

.xg-overview-content hr {
    border: none;
    border-top: 1px solid #1F2028;
    margin: 24px 0;
}
