/* Background Colors */

.topic-title-text {
    padding: var(--padding-y) var(--padding-x);
}

.topic-title-text.blue {
    background-color: var(--primary-400);
}

.topic-title-text.darkBlue {
    background-color: var(--primary-700);
}

.topic-title-text.darkBlue *,
.topic-title-text.blue * {
    color: var(--white);
}

.topic-title-text.white {
    background-color: var(--white);
}

.topic-title-text.beige {
    background-color: var(--secondary-50);
}

.topic-title-text:has(h2:only-child):has( + .component-title-sliding-images-texts__image-right),
.topic-title-text:has(h2:only-child):has( + .component-title-sliding-images-texts__image-left) {
    padding-bottom: 0;
}

.topic-title-text h2 {
    margin: var(--padding-y) 0 1rem;
}

.topic-title-text h3 {
    margin: 2.5rem 0 1rem;

    text-transform: uppercase;
}

.topic-title-text ul {
    list-style-type: "- ";

    padding-left: 1rem;
}

.topic-title-text *:first-child {
    margin-top: 0;
}

.topic-title-text-title {
    font-family: var(--h2-family);
    font-size: var(--h2-size);
    font-weight: var(--h2-weight);
    line-height: var(--h2-line-height);
    letter-spacing: var(--h2-letter-spacing);
    color: var(--blue-800);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.topic-title-text--text p + p,
.topic-title-text--text p + ul,
.topic-title-text--text ul + p {
    margin-top: 1.75rem;
}

.topic-title-text:not(.beige):not(.blue):not(.darkBlue):has(+.component-title-sliding-images-texts:not(.beige):not(.blue):not(.darkBlue)),
.topic-title-text.beige:has(+.topic-title-text.beige),
.topic-title-text.blue:has(+.topic-title-text.blue),
.topic-title-text.darkBlue:has(+.topic-title-text.darkBlue),
.topic-title-text:not(.beige):not(.blue):not(.darkBlue):has(+.topic-image-text:not(.beige):not(.blue):not(.darkBlue)) {
    padding-bottom: unset;
}

.topic-title-text:not(.beige):not(.blue):not(.darkBlue) + .topic-title-text:not(.beige):not(.blue):not(.darkBlue) {
    padding-top: unset;
}

@media (min-width:64rem) {

}