/* Editable sections share the existing Blackwall palette and spacing. */
.bw-editor-section {
    padding: 40px;
    background: var(--wp--preset--color--blackwall-dark);
    color: var(--wp--preset--color--blackwall-white);
    font:
        400 20px/1.5 'Satoshi',
        Arial,
        Helvetica,
        sans-serif;
    overflow-wrap: anywhere;
}

.bw-editor-section,
.bw-editor-section * {
    box-sizing: border-box;
}

.bw-editor-section :where(h2, h3, p) {
    color: inherit;
}

.bw-editor-section h2.wp-block-heading {
    font-size: clamp(32px, 2.5vw, 48px);
    line-height: 1.1;
    font-weight: 500;
}

.bw-editor-section h3.wp-block-heading {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 500;
}

.bw-editor-section img {
    display: block;
    max-width: 100%;
    height: auto;
}

.bw-editor-section .wp-block-button__link {
    background: var(--wp--preset--color--blackwall-accent);
    color: var(--wp--preset--color--blackwall-dark);
    border-radius: 0;
    padding: 16px 24px;
    font: inherit;
    text-decoration: none;
}

.bw-editor-section a:focus-visible {
    outline: 2px solid var(--wp--preset--color--blackwall-white);
    outline-offset: 4px;
}

.bw-editor-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-items: center;
}

.bw-editor-card {
    padding: 32px;
    background: var(--wp--preset--color--blackwall-card);
    align-self: stretch;
}

.bw-editor-investors {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
}

.bw-editor-investor {
    display: grid;
    place-items: center;
    padding: 16px;
    border: 1px solid #323447;
}

.bw-editor-investor figure {
    margin: 0;
}

.bw-editor-investor img {
    max-height: 60px;
    object-fit: contain;
}

.bw-editor-closing {
    text-align: center;
}

.bw-editor-closing .wp-block-buttons {
    justify-content: center;
}

@media (max-width: 1024px) {
    .bw-editor-investors {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .bw-editor-section {
        padding: 24px;
    }

    .bw-editor-columns {
        grid-template-columns: minmax(0, 1fr);
    }

    .bw-editor-investors {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
