.g-text-media {
    display: flex;
    justify-content: space-between;
    gap: var(--ama-spacer-md);
}

.g-text-media.has-bg {
    color: #000;
    background-color: #fff;
    box-shadow: 0.625rem 0.625rem 0.9375rem rgba(214, 214, 214, .1);
}

.g-text-media.has-bg .g-text-media__media {
    align-self: stretch;
}

.g-text-media.has-bg .g-text-media__media img {
    height: 100%;
}

.g-text-media.has-bg .g-text-media__text {
    padding-top: var(--ama-spacer-sm);
    padding-bottom: var(--ama-spacer-sm);
}

.g-text-media.has-bg:not(.reverse) .g-text-media__text {
    padding-left: var(--ama-spacer-md);
}

.g-text-media.has-bg.reverse .g-text-media__text {
    padding-right: var(--ama-spacer-md);
}

.g-text-media + .g-text-media {
    margin-top: var(--ama-spacer-md) !important;
}

.g-text-media.reverse {
    flex-direction: row-reverse;
}

.g-text-media.reverse .g-text-media__media {
    text-align: left;
}

.g-text-media__text {
    position: relative;
    flex: 0 0 39.5683453237%;
}

.g-text-media__text-title {
    margin-bottom: 0;
}

.g-text-media__text-title.text-italic {
    margin-bottom: 1.25rem;
}

.g-text-media__text-content:not(:first-child) {
    margin-top: 1em;
}

.g-text-media__text-content:not(:last-child) {
    margin-bottom: var(--ama-grid-gutter);
}

.g-text-media__links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: calc(var(--ama-grid-gutter) * .75) var(--ama-grid-gutter);
}

.g-text-media__media {
    flex: 0 0 52.8057553957%;
    text-align: right;
}

.g-text-media__media-image-wrapper {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='670.001' height='480' viewBox='0 0 670.001 480'%3E%3Cpath d='M-13177.591-3512.382c-8.666-86.919-62.395-140.9-166.384-208.605s-129.123-70.45-249.579-62.216-142.434,28.607-210.843,91.2-52.328,278.421,36.879,334.77,128.034,51.628,257.156,49.8,117.857-14.639,201.049-65.875S-13168.925-3425.463-13177.591-3512.382Z' transform='translate(13846.725 3786.49)'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='670.001' height='480' viewBox='0 0 670.001 480'%3E%3Cpath d='M-13177.591-3512.382c-8.666-86.919-62.395-140.9-166.384-208.605s-129.123-70.45-249.579-62.216-142.434,28.607-210.843,91.2-52.328,278.421,36.879,334.77,128.034,51.628,257.156,49.8,117.857-14.639,201.049-65.875S-13168.925-3425.463-13177.591-3512.382Z' transform='translate(13846.725 3786.49)'/%3E%3C/svg%3E") center / contain no-repeat;
}

.g-text-media:not(.reverse) .g-text-media__media-image-wrapper {
    transform: scaleX(-1);
}

.g-text-media:not(.reverse) .g-text-media__media-image {
    transform: scaleX(-1);
}

.g-text-media__media-image img {
    object-fit: cover;
    width: 100%;
}

.g-text-media__media .arve-embed {
    aspect-ratio: 734 / 490 !important;
}

.g-text-media__media .arve {
    margin-bottom: 0 !important;
    width: 100%;
}@media (max-width: 991.98px) {
.g-text-media, .g-text-media.reverse {
    flex-direction: column-reverse;
}

.g-text-media__media {
    width: 100%;
    margin-bottom: var(--ama-spacer-sm);
}
}