/* ============================================================
   Legacy block fallback styling — keeps Genesis Blocks & Qubely
   STATIC blocks looking right AFTER those plugins are removed.
   (Their HTML stays in post_content; this restyles the classes.)
   ============================================================ */

/* --- Genesis Blocks: Notice (callout box) ---
   Force our calm blue style, overriding the garish inline green/blue
   backgrounds and white title text saved in the content. */
.wp-block-genesis-blocks-gb-notice {
	background: rgba(47,111,255,.07) !important;
	color: #1f2c47 !important;
	border: 0 !important;
	border-left: 4px solid #2f6fff !important;
	border-radius: 10px;
	padding: 1.1rem 1.3rem; margin: 1.2rem 0;
}
.wp-block-genesis-blocks-gb-notice,
.wp-block-genesis-blocks-gb-notice p,
.wp-block-genesis-blocks-gb-notice li,
.wp-block-genesis-blocks-gb-notice span { color: #1f2c47 !important; }
.wp-block-genesis-blocks-gb-notice a { color: #2f6fff !important; }
.wp-block-genesis-blocks-gb-notice .gb-notice-title {
	color: #1f3a63 !important; font-family: 'Outfit', sans-serif;
	font-weight: 700; margin: 0 0 .4rem; font-size: 1.05rem;
}
.wp-block-genesis-blocks-gb-notice .gb-notice-text { border: 0 !important; } /* kill the leftover green border */
.wp-block-genesis-blocks-gb-notice .gb-notice-text > :last-child { margin-bottom: 0; }
.wp-block-genesis-blocks-gb-notice .gb-notice-dismiss { display: none; }

/* --- Genesis Blocks: Button --- */
.wp-block-genesis-blocks-gb-button { margin: 1rem 0; }
.gb-button {
	display: inline-block; padding: .7rem 1.4rem; background: #2f6fff;
	color: #fff !important; text-decoration: none; font-weight: 600;
	font-family: 'Outfit', sans-serif; border-radius: 8px;
}
.gb-button.gb-button-shape-square { border-radius: 0; }
.gb-button.gb-button-shape-pill, .gb-button.gb-button-shape-circular { border-radius: 999px; }
.gb-button:hover { background: #1f5fff; color: #fff !important; }

/* --- Genesis Blocks: Container --- */
.wp-block-genesis-blocks-gb-container { margin: 1.2rem 0; }
.gb-container-inside { max-width: 100%; }

/* --- Qubely: Divider --- */
.wp-block-qubely-divider .qubely-block-divider {
	border: 0; border-top: 1px solid #e2e9f7; height: 0;
	margin: 1.5rem auto; max-width: 660px;
}

/* --- Qubely: Gallery --- */
.qubely-block-gallery .qubely-gallery-items {
	display: grid; gap: .6rem; list-style: none; padding: 0; margin: 1.2rem 0;
	grid-template-columns: repeat(2, 1fr);
}
.qubely-block-gallery img { width: 100%; height: auto; border-radius: 8px; display: block; }
@media (max-width: 600px) { .qubely-block-gallery .qubely-gallery-items { grid-template-columns: 1fr; } }
