/* Footer container styles */
.cm-footer,
.wp-block .cm-footer,
.editor-styles-wrapper .cm-footer,
.block-editor-block-list__layout .cm-footer {
    width: 100%;
    background-color: var(--cm-footer-bg-color);
    display: flex;
    flex-wrap: wrap;
}

/* Footer section base styles */
.cm-footer-section,
.wp-block .cm-footer-section,
.editor-styles-wrapper .cm-footer-section,
.block-editor-block-list__layout .cm-footer-section {
    background-color: var(--cm-footer-bg-color);
    color: var(--cm-footer-text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    box-sizing: border-box;
}

/* Two column layout */
.cm-footer--two-columns .cm-footer-section,
.wp-block .cm-footer--two-columns .cm-footer-section,
.editor-styles-wrapper .cm-footer--two-columns .cm-footer-section,
.block-editor-block-list__layout .cm-footer--two-columns .cm-footer-section {
    width: 50%;
}

/* Three column layout */
.cm-footer--three-columns .cm-footer-section,
.wp-block .cm-footer--three-columns .cm-footer-section,
.editor-styles-wrapper .cm-footer--three-columns .cm-footer-section,
.block-editor-block-list__layout .cm-footer--three-columns .cm-footer-section {
    width: 33.333333%;
}

/* Company section specific styles */
.company-section,
.wp-block .company-section,
.editor-styles-wrapper .company-section,
.block-editor-block-list__layout .company-section {
    text-align: left;
}

.company-section p,
.wp-block .company-section p,
.editor-styles-wrapper .company-section p,
.block-editor-block-list__layout .company-section p {
    margin: 0.25rem 0;
    color: var(--cm-footer-text-color);
}

/* Policy section specific styles */
.policy-section,
.wp-block .policy-section,
.editor-styles-wrapper .policy-section,
.block-editor-block-list__layout .policy-section {
    text-align: center;
}

.policy-section a,
.wp-block .policy-section a,
.editor-styles-wrapper .policy-section a,
.block-editor-block-list__layout .policy-section a {
    color: var(--cm-footer-text-color);
}

/* Social section specific styles */
.social-section,
.wp-block .social-section,
.editor-styles-wrapper .social-section,
.block-editor-block-list__layout .social-section {
    text-align: center;
}

.social-icons,
.wp-block .social-icons,
.editor-styles-wrapper .social-icons,
.block-editor-block-list__layout .social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.social-icon,
.wp-block .social-icon,
.editor-styles-wrapper .social-icon,
.block-editor-block-list__layout .social-icon {
    display: inline-block;
    line-height: 0;
}

.social-icon img,
.wp-block .social-icon img,
.editor-styles-wrapper .social-icon img,
.block-editor-block-list__layout .social-icon img {
    width: 40px;
    height: 40px;
    display: block;
}