.team-content {
    overflow-wrap: anywhere;
    line-height: 1.65;
}

.team-content p,
.team-content ul,
.team-content ol,
.team-content blockquote {
    margin: 0 0 1rem;
}

.team-content h1,
.team-content h2,
.team-content h3,
.team-content h4,
.team-content h5,
.team-content h6 {
    margin: 1.25rem 0 .65rem;
    font-weight: 700;
    line-height: 1.3;
}

.team-content h1 {
    font-size: 1.8em;
}

.team-content h2 {
    font-size: 1.5em;
}

.team-content h3 {
    font-size: 1.2em;
}

.team-content h4 {
    font-size: 1.05em;
}

.team-content h5 {
    font-size: 1em;
}

.team-content h6 {
    font-size: .9em;
}

.team-content ul {
    list-style: disc outside;
    padding-left: 1.5em;
}

.team-content ol {
    list-style: decimal outside;
    padding-left: 1.5em;
}

.team-content li {
    margin-bottom: .35rem;
}

.team-content a {
    text-decoration: underline;
}

.team-content blockquote {
    border-left: 3px solid #ffcc00;
    padding-left: 1em;
}

.team-content > :first-child {
    margin-top: 0;
}

.team-content > :last-child {
    margin-bottom: 0;
}

/* Keep editor menus above Bootstrap modal dialogs. */
:root {
    --ck-z-default: 1051;
    --ck-z-panel: 1060;
}

.ck-editor {
    min-width: 0;
}

.ck-editor__editable_inline {
    min-height: 240px;
    max-height: 55vh;
}

.ck-content {
    overflow-wrap: anywhere;
}
