.wp-site-blocks,
.editor-styles-wrapper {
    background: var(--funobi-cream);
    color: var(--funobi-ink);
}

.editor-styles-wrapper {
    padding: 24px;
}

.funobi-entry-card .wp-block-group,
.funobi-entry-card .wp-block-cover,
.funobi-pattern-hero,
.funobi-pattern-band,
.funobi-pattern-section-header,
.funobi-pattern-feature-grid,
.funobi-pattern-testimonials,
.funobi-pattern-faq,
.funobi-pattern-parent-card,
.funobi-pattern-app-grid {
    border-radius: var(--funobi-radius);
}

.funobi-entry-card p,
.editor-styles-wrapper p,
.editor-styles-wrapper .wp-block-paragraph {
    margin: 0 0 1.1em;
    font-weight: 600;
    color: var(--funobi-muted);
}

.funobi-entry-card h1,
.funobi-entry-card h2,
.funobi-entry-card h3,
.funobi-entry-card h4,
.funobi-entry-card h5,
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5 {
    line-height: 0.98;
}

.funobi-entry-card .wp-block-heading,
.editor-styles-wrapper .wp-block-heading {
    margin-bottom: 0.55em;
}

.funobi-entry-card ul,
.funobi-entry-card ol,
.editor-styles-wrapper ul,
.editor-styles-wrapper ol {
    margin: 0 0 1.4em 1.2em;
    padding: 0;
}

.funobi-entry-card li,
.editor-styles-wrapper li {
    margin-bottom: 0.55em;
    font-weight: 700;
}

.funobi-entry-card .wp-block-buttons,
.editor-styles-wrapper .wp-block-buttons {
    margin-top: 1.4em;
    margin-bottom: 1.4em;
}

.wp-block-button__link {
    border: var(--funobi-border);
    border-radius: 999px;
    box-shadow: var(--funobi-shadow);
    font-weight: 800;
    padding: 16px 24px;
}

.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button .is-style-outline.wp-block-button__link {
    background: var(--funobi-paper);
    color: var(--funobi-ink);
}

.wp-block-quote,
.wp-block-pullquote {
    margin: 2em 0;
    padding: 24px 28px;
    background: var(--funobi-paper);
    border: var(--funobi-border);
    border-radius: var(--funobi-radius);
    box-shadow: var(--funobi-shadow);
}

.wp-block-details {
    margin: 1.25em 0;
    padding: 20px 24px;
    background: var(--funobi-panel-soft);
    border: var(--funobi-border);
    border-radius: 20px;
    box-shadow: var(--funobi-shadow);
}

.wp-block-details summary {
    font-family: 'Bricolage Grotesque', 'Nunito', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    cursor: pointer;
}

.wp-block-separator {
    border: none;
    height: 3px;
    background: var(--funobi-line-soft);
    margin: 2.5em auto;
    max-width: 120px;
}

.wp-block-image img,
.wp-block-cover,
.wp-block-media-text,
.wp-block-columns.is-style-funobi-cards > .wp-block-column {
    border-radius: 24px;
}

.wp-block-group.is-style-funobi-panel,
.wp-block-cover.is-style-funobi-panel {
    padding: clamp(24px, 4vw, 40px);
    background: var(--funobi-panel-soft);
    border: var(--funobi-border);
    box-shadow: var(--funobi-shadow);
}

.wp-block-columns.is-style-funobi-cards {
    gap: 24px;
}

.wp-block-columns.is-style-funobi-cards > .wp-block-column {
    padding: 24px;
    background: var(--funobi-panel);
    border: var(--funobi-border);
    box-shadow: var(--funobi-shadow);
}

.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--funobi-paper);
    border: var(--funobi-border);
    border-radius: 20px;
    overflow: hidden;
}

.wp-block-table th,
.wp-block-table td {
    padding: 14px 16px;
    border-bottom: 2px dashed var(--funobi-line-dashed);
    text-align: left;
}

.funobi-entry-card form,
.funobi-editor-zone form,
.editor-styles-wrapper form {
    display: grid;
    gap: 1rem;
}

.funobi-entry-card input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
.funobi-entry-card select,
.funobi-entry-card textarea,
.funobi-editor-zone input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
.funobi-editor-zone select,
.funobi-editor-zone textarea,
.editor-styles-wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
.editor-styles-wrapper select,
.editor-styles-wrapper textarea {
    width: 100%;
    min-height: 54px;
    padding: 0.9rem 1rem;
    font: inherit;
    color: var(--funobi-ink);
    background: var(--funobi-paper);
    border: var(--funobi-border);
    border-radius: 18px;
    box-shadow: var(--funobi-shadow);
}

.funobi-entry-card textarea,
.funobi-editor-zone textarea,
.editor-styles-wrapper textarea {
    min-height: 160px;
    resize: vertical;
}

.funobi-entry-card label,
.funobi-entry-card legend,
.funobi-editor-zone label,
.funobi-editor-zone legend,
.editor-styles-wrapper label,
.editor-styles-wrapper legend {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-family: 'Bricolage Grotesque', 'Nunito', sans-serif;
    font-weight: 800;
    color: var(--funobi-ink);
}

.funobi-entry-card input[type="checkbox"],
.funobi-entry-card input[type="radio"],
.funobi-editor-zone input[type="checkbox"],
.funobi-editor-zone input[type="radio"],
.editor-styles-wrapper input[type="checkbox"],
.editor-styles-wrapper input[type="radio"] {
    accent-color: var(--funobi-gum);
}

.funobi-entry-card .wpcf7-not-valid-tip,
.funobi-entry-card .ff-el-is-error .text-danger,
.funobi-entry-card .ff-message-success,
.funobi-entry-card .ff-message-error,
.funobi-entry-card .wpforms-confirmation-container-full,
.funobi-entry-card .wpforms-error-container,
.funobi-editor-zone .wpcf7-not-valid-tip,
.funobi-editor-zone .ff-el-is-error .text-danger,
.funobi-editor-zone .ff-message-success,
.funobi-editor-zone .ff-message-error,
.funobi-editor-zone .wpforms-confirmation-container-full,
.funobi-editor-zone .wpforms-error-container {
    margin-top: 0.75rem;
    padding: 1rem 1.1rem;
    border: var(--funobi-border);
    border-radius: 18px;
    box-shadow: var(--funobi-shadow);
}

.funobi-entry-card .ff-message-success,
.funobi-entry-card .wpforms-confirmation-container-full,
.funobi-editor-zone .ff-message-success,
.funobi-editor-zone .wpforms-confirmation-container-full {
    background: var(--funobi-mint);
}

.funobi-entry-card .ff-message-error,
.funobi-entry-card .wpforms-error-container,
.funobi-entry-card .wpcf7-not-valid-tip,
.funobi-entry-card .ff-el-is-error .text-danger,
.funobi-editor-zone .ff-message-error,
.funobi-editor-zone .wpforms-error-container,
.funobi-editor-zone .wpcf7-not-valid-tip,
.funobi-editor-zone .ff-el-is-error .text-danger {
    background: var(--funobi-gum);
}

.funobi-pattern-hero,
.funobi-pattern-band,
.funobi-pattern-section-header,
.funobi-pattern-feature-grid,
.funobi-pattern-testimonials,
.funobi-pattern-faq,
.funobi-pattern-parent-card,
.funobi-pattern-app-grid {
    padding: 32px;
    border: var(--funobi-border);
    box-shadow: var(--funobi-shadow-lg);
}

.funobi-pattern-hero,
.funobi-pattern-section-header,
.funobi-pattern-testimonials,
.funobi-pattern-faq,
.funobi-pattern-parent-card {
    background: var(--funobi-paper);
}

.funobi-pattern-band {
    background: var(--funobi-sky);
}

.funobi-pattern-feature-grid,
.funobi-pattern-app-grid {
    background: var(--funobi-mint);
}

.funobi-pattern-feature-grid .wp-block-column,
.funobi-pattern-testimonials .wp-block-column,
.funobi-pattern-faq .wp-block-details {
    background: var(--funobi-panel-strong);
    border: var(--funobi-border);
    border-radius: 20px;
    box-shadow: var(--funobi-shadow);
}

.funobi-pattern-feature-grid .wp-block-column,
.funobi-pattern-testimonials .wp-block-column {
    padding: 24px;
}

.funobi-pattern-feature-grid .wp-block-columns,
.funobi-pattern-testimonials .wp-block-columns {
    gap: 20px;
}
