/* Rich-text distribution has no space-between control in the native Copyright element. */
.ct-footer .ct-footer-copyright {
    width: 100%;
}

.ct-footer .ct-footer-copyright p {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

/* Let the office heading inherit its own HTML element's editable typography. */
.ct-footer .ct-header-text h3 {
    font: inherit;
    letter-spacing: inherit;
    margin: 0;
}

/* Keep the original icon geometry and separate click area from the native icon-size control. */
.ct-footer .ct-footer-socials a {
    min-width: 36px;
    min-height: 36px;
    justify-content: center;
}

.ct-footer .ct-footer-socials svg {
    color: var(--theme-icon-color);
}

.ct-footer .ct-footer-socials a:is(:hover, :focus-visible) svg {
    color: var(--theme-icon-hover-color);
}

.ct-footer .ct-footer-socials [data-network="instagram"] svg {
    fill: none;
}

@media (max-width: 999.98px) {
    .ct-footer .ct-footer-copyright p {
        flex-direction: column;
        align-items: flex-start;
    }
}
