.investor-info-toggle {
    display: inline-block;
    color: #007cba;
    cursor: pointer;
    margin-left: 8px;
    font-size: 14px;
    font-weight: normal;
    transition: color 0.2s ease;
    text-decoration: none !important;
}

.investor-info-toggle:hover {
    color: #005a87;
    text-decoration: underline !important;
}

/* Base styles for the investor definitions container */
.investor-definitions {

    background: #f9f9f9;
    border-left: 3px solid #007cba;
    border-radius: 4px;
    font-size: 14px;
    /* Initial state (hidden by default) */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border-width: 0;
    /* Transition properties */
    transition: max-height 0.4s ease-out,
                opacity 0.4s ease-out,
                padding 0.4s ease-out,
                margin 0.4s ease-out,
                border-width 0.4s ease-out;
}

/* Visible state */
.visible .investor-definitions {
    max-height: 1000px; /* Large enough for most content */
    opacity: 1;
    padding: 15px;
    margin: 15px 0;
    border-width: 3px;
}

/* Fully open state after transition */
.fully-open .investor-definitions {
    max-height: none;
    overflow: visible;
}

/* Definition items */
.definition {
    display: none;
}

.definition.active {
    display: block;
}

.definition h4 {
    margin-top: 0;
    color: #007cba;
    font-size: 16px;
    margin-bottom: 10px;
}

.definition p {
    margin-bottom: 8px;
}

.definition ul {
    padding-left: 20px;
    margin-top: 5px;
}

.definition li {
    margin-bottom: 5px;
    line-height: 1.4;
}

.investor-definitions .definition {
    display: block;
}

.uacf7-form-wrapper-container label {
    margin-top: 20px;
    margin-bottom: 5px;
}

.wpcf7-form-control .wpcf7-list-item {
    display: block;
    margin-top: 20px;
    margin-bottom: 20px;
}

.uacf7-form-wrapper-container .wpcf7-form-control.wpcf7-submit {
    display: flex;
    margin-bottom: 40px;
}

form.wpcf7-form {
    overflow: visible;
}