/**
Theme Name: MGL Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mgl-child
Template: astra
*/

/* ==========================================================================
   Millionaire Grant Lady design system
   Fonts: Plus Jakarta Sans for headings and interface text (menu, buttons, labels, footer),
   Lora for body copy. Set in Customizer > Global > Typography.
   Colors come from Astra's global palette (Customizer > Global > Colors):
   0 logo green (buttons, highlights)  1 accent green (button hover)
   2 black (headings)  3 dark grey (body text)
   4 white  5 light neutral (alternate sections)  6 accent blue (text links, focus)
   7 grey (borders)  8 logo gold (the coin motif, ledger amounts)
   Dark bands and the footer use --mgl-forest below (deep forest green, not in the palette);
   the footer rows point at it in Customizer > Footer Builder.
   ========================================================================== */

:root {
	--mgl-green: var(--ast-global-color-0);
	--mgl-green-dark: var(--ast-global-color-1);
	--mgl-ink: var(--ast-global-color-2);
	--mgl-text: var(--ast-global-color-3);
	--mgl-paper: var(--ast-global-color-5);
	--mgl-forest: #1a4d2e;
	--mgl-link: var(--ast-global-color-6);
	--mgl-rule: var(--ast-global-color-7);
	--mgl-gold: var(--ast-global-color-8);
	--mgl-gold-edge: color-mix(in srgb, var(--ast-global-color-8) 68%, #000);
	--mgl-ui: 'Plus Jakarta Sans', sans-serif;
	--mgl-section-y: clamp(64px, 8vw, 112px);
	--mgl-gutter: 24px;
}

/* ---------- Type ---------- */
body { -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6,
.entry-content :is(h1, h2, h3, h4, h5, h6) { font-family: var(--mgl-ui); color: var(--mgl-ink); text-wrap: balance; }
.entry-content p, .entry-content li { text-wrap: pretty; }
.entry-content a:not(.wp-element-button) { color: var(--mgl-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.entry-content a:not(.wp-element-button):hover { color: var(--mgl-ink); text-decoration-thickness: 2px; }
.mgl-lead { font-size: 1.22rem; line-height: 1.6; color: var(--mgl-text); }
.mgl-small { font-size: 0.94rem; }
.mgl-ui { font-family: var(--mgl-ui); }

/* Long reading: keep lines short */
.mgl-prose > *, .mgl-measure { max-width: 55ch; }
.mgl-prose > .wp-block-image, .mgl-prose > .wp-block-columns { max-width: none; }

/* ---------- Sections (Spectra containers carry these classes) ---------- */
.mgl-section { padding: var(--mgl-section-y) var(--mgl-gutter); gap: 0; }
.mgl-section.mgl-tight { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.mgl-inner { width: 100%; max-width: 1200px; margin-inline: auto; gap: 0; }
.mgl-inner.mgl-narrow { max-width: 760px; }
/* Text in narrow sections (product pages, Hire a Grant Writer, Contact) keeps the site's 55ch line length;
   the 760px column alone gave lines of up to 98 characters */
.mgl-inner.mgl-narrow > :is(p, ul, ol) { max-width: 55ch; }
/* One spacing rhythm inside designed sections (Spectra containers are flex columns, so margins don't collapse) */
.mgl-section :is(p, h1, h2, h3, h4, h5, ul, ol, figure, blockquote, .wp-block-columns, .wp-block-spectra-buttons, .mgl-embed) { margin-bottom: 0; }
.mgl-inner > * { margin-top: 0; }
.mgl-inner > * + *, .mgl-section .wp-block-column > * + * { margin-top: 1.1rem; }
.mgl-inner > :is(h2, h3) + * { margin-top: 0.9rem; }
.mgl-inner > * + :is(.wp-block-columns, .mgl-ledger, .mgl-ledger-total, .wp-block-spectra-buttons) { margin-top: 2rem; }
.mgl-paper { background: var(--mgl-paper); }
/* Spectra paints a section's Background setting in a full-size layer over it (--spectra-background-color, set inline).
   The dark bands' setting is palette black, so the forest has to be set on that layer too */
.mgl-forest { background: var(--mgl-forest); color: #fff; --spectra-background-color: var(--mgl-forest) !important; }
.mgl-forest :is(h1, h2, h3, h4, p, li, cite) { color: #fff; }
.mgl-forest a:not(.wp-element-button) { color: #fff; }

/* Full-width pages: Astra's content area adds no extra space around sections */
.mgl-page .site-content > .ast-container { padding-left: 0; padding-right: 0; max-width: none; }
.mgl-page #primary { margin-top: 0; margin-bottom: 0; }
.mgl-page .entry-content > .alignfull { margin-top: 0; margin-bottom: 0; }

/* ---------- Buttons ---------- */
.wp-block-spectra-buttons { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.wp-block-spectra-button.wp-element-button { font-family: var(--mgl-ui); font-weight: 600; text-decoration: none; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.wp-block-spectra-button.wp-element-button { color: #000; }
.wp-block-spectra-button.mgl-btn-secondary { background: transparent; color: #000; box-shadow: inset 0 0 0 2px var(--mgl-green); }
/* Every button hovers to the gold with black text (15:1), as on the dark bands */
.wp-block-spectra-button.mgl-btn-secondary:hover { background: var(--mgl-gold); color: #000; box-shadow: inset 0 0 0 2px var(--mgl-gold); }
.mgl-forest .wp-block-spectra-button.wp-element-button { background: var(--mgl-green); color: #000; }
.mgl-forest .wp-block-spectra-button.wp-element-button:hover { background: var(--mgl-gold); color: #000; }
.mgl-forest .wp-block-spectra-button.mgl-btn-secondary { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.75); }
.mgl-forest .wp-block-spectra-button.mgl-btn-secondary:hover { background: var(--mgl-gold); color: #000; box-shadow: inset 0 0 0 2px var(--mgl-gold); }

/* Visible keyboard focus everywhere */
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid var(--mgl-link); outline-offset: 3px; border-radius: 2px; }
:where(.mgl-forest, .site-footer) :where(a, button, input, [tabindex]):focus-visible { outline-color: var(--mgl-gold); }
/* Buttons get the same ring (Astra's a:focus rule otherwise wins with a 1px dotted line) */
.wp-block-spectra-button:focus-visible, .ast-custom-button-link:focus-visible { outline: 3px solid var(--mgl-link); outline-offset: 3px; }
.mgl-forest .wp-block-spectra-button:focus-visible { outline-color: var(--mgl-gold); }

/* ---------- Hero (team photo from her live homepage) and Alex on a gold coin (About Us) ---------- */
.mgl-hero { align-items: center; gap: clamp(32px, 5vw, 72px); }
.mgl-hero .mgl-lead { margin-top: 1.25rem; max-width: 44ch; }
.mgl-hero .wp-block-spectra-buttons { margin-top: 2rem; }
/* The proof under the lead: the $131M total in the ledger's number style, in ink (the gold is 1.3:1 on white) */
.mgl-hero .mgl-hero-stat, .entry-content .mgl-story-result { margin-top: 1.25rem; font-family: var(--mgl-ui); font-size: 1.05rem; font-weight: 600; line-height: 1.3; color: var(--mgl-ink); }
/* Each success story's headline result reuses the same number style */
.entry-content .mgl-story-result { margin-top: 0.75rem; }
.mgl-hero-stat strong, .mgl-story-result strong { display: block; margin-bottom: 2px; font-weight: 800; font-size: clamp(1.75rem, 2.8vw, 2.2rem); line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
.mgl-coin-photo { position: relative; margin: 0 auto; max-width: 440px; isolation: isolate; }
.mgl-coin-photo::before { content: ""; position: absolute; z-index: -1; inset: auto 6% 0 6%; aspect-ratio: 1; border-radius: 50%;
	background: radial-gradient(circle at 50% 50%, var(--mgl-gold) 0 62%, var(--mgl-gold-edge) 62% 64%, var(--mgl-gold) 64% 100%); }
.mgl-coin-photo img { display: block; width: 100%; height: auto; }
.mgl-hero-photo { margin: 0; }
.mgl-hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 25px; }
/* Landscape hero photo (Services hub): shown at its own 3:2 shape, so a smaller photo isn't cropped and enlarged */
.mgl-hero-photo.mgl-hero-wide img { aspect-ratio: 3 / 2; }
/* ---------- About Us (homepage): bio beside Alex's photo, credentials in a panel below.
   The bio comes first in the page (phones, screen readers); desktop shows the photo on the left. ---------- */
.wp-block-columns.mgl-about { gap: 40px clamp(40px, 6vw, 88px); }
@media (min-width: 782px) { .wp-block-columns.mgl-about { flex-direction: row-reverse; } }
/* "Meet Alex" text keeps the 55ch line length in its 58% column (it ran to 81 characters) */
.wp-block-columns.mgl-about .wp-block-column > :is(p, ul, ol) { max-width: 55ch; }
.mgl-about .mgl-about-photo { max-width: 340px; margin: 0 auto 3rem; }
/* Her name hangs under the photo, so the gold coin stays aligned with the bottom of the photo */
.mgl-about .mgl-about-photo figcaption { position: absolute; top: 100%; left: 0; right: 0; margin: 16px 0 0; text-align: center; font-family: var(--mgl-ui); font-size: 1.15rem; font-weight: 600; font-style: normal; line-height: 1.3; color: var(--mgl-ink); }
.entry-content .mgl-coins.mgl-credentials, .mgl-coins.mgl-credentials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3vw, 36px) clamp(24px, 3.5vw, 44px); background: #fff; border-radius: 16px; }
.mgl-credentials li { margin: 0; line-height: 1.6; }
@media (max-width: 1023.98px) { .entry-content .mgl-coins.mgl-credentials { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599.98px) { .entry-content .mgl-coins.mgl-credentials { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

/* ---------- The client wins ledger ---------- */
.entry-content .mgl-ledger, .mgl-ledger { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); column-gap: 48px; }
/* Four wins form a 2x2 grid, so none is left alone on a row */
@media (min-width: 768px) { .entry-content .mgl-ledger:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mgl-ledger li { margin: 0; padding: 22px 0 24px; border-top: 1px solid rgba(255,255,255,.22); font-size: 1rem; line-height: 1.5; }
.mgl-ledger li strong:first-child, .mgl-ledger-total strong { display: block; font-family: var(--mgl-ui); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1.05; letter-spacing: -0.02em; color: var(--mgl-gold); margin-bottom: 6px; font-variant-numeric: lining-nums tabular-nums; }
.mgl-forest .mgl-ledger li { color: rgba(255,255,255,.86); }
.mgl-ledger-note { font-family: var(--mgl-ui); font-size: 0.95rem; color: rgba(255,255,255,.78); }
/* The all-time total leads the ledger, at the same size as each win */
.mgl-forest .mgl-ledger-total { font-size: 1rem; line-height: 1.5; color: rgba(255,255,255,.86); }

/* ---------- Coin bullets (lists of benefits, credentials) ---------- */
.entry-content .mgl-coins, .mgl-coins { list-style: none; padding-left: 0; margin-left: 0; }
.mgl-coins li { position: relative; padding-left: 2.1em; margin-bottom: 0.9em; }
.mgl-coins li::before { content: ""; position: absolute; left: 0; top: 0.32em; width: 1.05em; height: 1.05em; border-radius: 50%;
	background: radial-gradient(circle, var(--mgl-gold) 0 52%, var(--mgl-gold-edge) 52% 60%, var(--mgl-gold) 60% 100%); }
.mgl-coins li strong:first-child { font-family: var(--mgl-ui); color: var(--mgl-ink); }
.mgl-forest .mgl-coins li strong:first-child { color: #fff; }
/* Long lists: one 55ch column below 1024px, two columns from 1024px so each line stays 50-75 characters */
.mgl-coins.mgl-two-col { max-width: 55ch; }
@media (min-width: 1024px) { .mgl-coins.mgl-two-col { max-width: none; columns: 2; column-gap: 48px; } }
.mgl-coins.mgl-two-col li { break-inside: avoid; }

/* ---------- Services and other grids (core columns) ---------- */
.wp-block-columns.mgl-grid { gap: 40px 48px; }
.mgl-grid .wp-block-column > * + * { margin-top: 0.75rem; }
.mgl-grid h3 { margin-bottom: 0; }
/* FAQs and success stories in rows of two: the section heading stays as close to the first row as it was to the first item */
.mgl-inner > h2 + .wp-block-columns:is(.mgl-faq, .mgl-stories) { margin-top: 0; }
/* Theme patterns (patterns/*.php) use plain WordPress groups; mgl-stack lays their content out like a Spectra container (a column, 24px apart) so a section inserted from a pattern matches the rest of the site */
.wp-block-group.mgl-inner.mgl-stack { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
/* Its margin reset is the last rule in this file, matching how Spectra's own rule behaves */
/* Each story keeps the section's 24px rhythm between its heading, result and paragraphs */
.wp-block-columns.mgl-stories > .wp-block-column { display: flex; flex-direction: column; gap: 24px; }
.wp-block-columns.mgl-stories > .wp-block-column > * { margin-top: 0; }
.wp-block-columns.mgl-stories > .wp-block-column > .mgl-story-result { margin-top: 0.75rem; }
/* These rows and closing bands stay one column below 1024px, like the long lists, so lines stay above 45 characters */
@media (max-width: 1023.98px) {
	.wp-block-columns:is(.mgl-faq, .mgl-stories, .mgl-cta-band .mgl-report) { flex-wrap: wrap !important; }
	.wp-block-columns:is(.mgl-faq, .mgl-stories, .mgl-cta-band .mgl-report) > .wp-block-column { flex-basis: 100% !important; }
}
.mgl-grid .wp-block-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
.mgl-ruled .wp-block-column { border-top: 3px solid var(--mgl-green); padding-top: 22px; }
.mgl-four .wp-block-image img { aspect-ratio: 4 / 3; }
/* Phones (one card per row): a 16:9 photo, so it keeps its shape at every phone width instead of becoming a thin band */
@media (max-width: 599.98px) { .mgl-four .wp-block-image img { aspect-ratio: 16 / 9; } }
.mgl-price { font-family: var(--mgl-ui); font-weight: 700; font-size: 1.35rem; color: var(--mgl-ink); }
.mgl-statement { font-family: var(--mgl-ui); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.3; letter-spacing: -0.01em; }
.mgl-forest .mgl-statement em { color: var(--mgl-gold); font-style: normal; }
.mgl-rounded img { border-radius: 8px; width: 100%; height: auto; }
.mgl-coin-small { max-width: 260px; margin-left: 0; }
/* Logo walls: 72px-tall logos, six per row (three under 768px). WordPress's cropped-gallery rules stretched each image
   (flex: 1 0 0%) and worked out columns from a 24px gap, so rows broke at five, the last row grew and phones showed one logo per row */
.entry-content .mgl-logos.wp-block-gallery.has-nested-images { gap: 28px 40px; --wp--style--unstable-gallery-gap: 40px; align-items: center; }
.entry-content .mgl-logos.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { flex-grow: 0; }
@media (max-width: 767.98px) { .entry-content .mgl-logos.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: calc(33.333% - 40px * 2 / 3); } }
.mgl-logos.wp-block-gallery .wp-block-image img { flex: none !important; height: 72px !important; width: 100% !important; object-fit: contain !important; filter: grayscale(1); opacity: .85; transition: filter .2s ease, opacity .2s ease; }
.mgl-logos.wp-block-gallery .wp-block-image:hover img { filter: none; opacity: 1; }
/* A short label over a logo row sits with its logos, away from what comes before */
.entry-content .mgl-logos-label { margin-top: 3rem; color: var(--mgl-ink); }
.entry-content .mgl-logos-label + .mgl-logos { margin-top: 1rem; }
/* About page: text list of more funders, under the logo wall */
.entry-content .mgl-funder-list { columns: 3; column-gap: 40px; margin: 1rem 0 0; padding-left: 1.1em; }
.entry-content .mgl-funder-list li { break-inside: avoid; margin: 0 0 .5em; line-height: 1.45; }
@media (max-width: 1023.98px) { .entry-content .mgl-funder-list { columns: 2; column-gap: 32px; } }
@media (max-width: 479.98px) { .entry-content .mgl-funder-list { column-gap: 20px; font-size: .9em; } }
.mgl-jump { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; margin: 0; padding: 0; font-family: var(--mgl-ui); font-weight: 600; }
.mgl-sitemap-posts { columns: 2 340px; column-gap: 48px; }
.mgl-sitemap-posts li { break-inside: avoid; margin-bottom: .5rem; }

/* ---------- Testimonials ---------- */
.mgl-quotes { gap: 40px 48px; }
/* .entry-content raises this above Astra's quote rule, which adds a faint 5px left border */
.entry-content .mgl-quotes .wp-block-quote { border: 0; margin: 0; padding: 0; }
.mgl-quotes .wp-block-quote p { font-size: 1.12rem; line-height: 1.6; font-style: italic; color: var(--mgl-ink); }
.mgl-quotes .wp-block-quote cite { display: block; margin-top: 1rem; font-family: var(--mgl-ui); font-style: normal; font-size: 0.92rem; line-height: 1.4; color: var(--mgl-text); }
.mgl-quotes .wp-block-quote cite strong { display: block; color: var(--mgl-ink); font-size: 1rem; }
.mgl-quotes .wp-block-image img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.mgl-forest .mgl-quotes .wp-block-quote p, .mgl-forest .mgl-quotes cite, .mgl-forest .mgl-quotes cite strong { color: #fff; }
/* Quote cards (homepage testimonials), in the blog sidebar's design: a round photo overlapping
   the top of a light green card, the quote left-aligned (long quotes are hard to read centered), then the name and role centered */
.wp-block-columns.mgl-quote-cards { gap: 64px 28px; align-items: stretch; }
.mgl-quote-cards > .wp-block-column { display: flex; flex-direction: column; }
.mgl-quote-cards .wp-block-image { position: relative; z-index: 1; margin: 0 0 -44px; text-align: center; }
.mgl-quote-cards .wp-block-image img { display: inline-block; width: 88px; height: 88px; border: 4px solid #fff; }
.mgl-section .mgl-quote-cards > .wp-block-column > .wp-block-quote { flex: 1; margin-top: 0; padding: 60px clamp(22px, 2.5vw, 32px) 30px; background: var(--mgl-paper); border-radius: 16px; text-align: center; }
.mgl-quote-cards .wp-block-quote p { font-size: 1.08rem; line-height: 1.65; text-align: left; }
.mgl-quote-cards .wp-block-quote cite { margin-top: 1.25rem; }
.mgl-quote-cards .wp-block-quote cite strong { margin-bottom: .4rem; }
/* Same cards on a light-green section: white cards so they still stand out */
.mgl-section.mgl-paper .mgl-quote-cards > .wp-block-column > .wp-block-quote { background: #fff; }
/* Longer quotes: space between paragraphs; bold lines keep the quote colour */
.mgl-quote-cards .wp-block-quote p + p { margin-top: .9em; }
.mgl-quote-cards .wp-block-quote p strong { color: var(--mgl-ink); }
/* No photo: the person's initials in a gold coin in the photo's place */
.mgl-quote-cards .mgl-quote-initials { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 88px; height: 88px; margin: 0 auto -44px; border: 4px solid #fff; border-radius: 50%; background: var(--mgl-gold); color: var(--mgl-ink); font-family: var(--mgl-ui); font-size: 1.6rem; font-weight: 700; font-style: normal; letter-spacing: .02em; }


/* ==========================================================================
   Imported from womenconquerbiz.com (Astra-WCB child theme), in MGL colors.
   WCB's sapphire link color maps to MGL's accent blue (--mgl-link).
   ========================================================================== */

/* Header menu states */
/* Dropdown items: blue + underline on hover and keyboard focus (desktop) */
.ast-builder-menu-1 .main-header-menu .sub-menu .menu-item > .menu-link:hover,
.ast-builder-menu-1 .main-header-menu .sub-menu .menu-item > .menu-link:focus-visible,
.ast-builder-menu-1 .main-header-menu .sub-menu .menu-item:hover > .menu-link { color: var(--mgl-link); text-decoration: underline; text-underline-offset: 4px; }
/* Current section: top-level item blue with a 2px underline, 6px below the text. Blog stays marked on posts, categories and archives (menu item 3288).
   .current-page-ancestor covers pages that sit under a menu page without a menu entry of their own (e.g. /shop/grant-grader/ under DIY Shop) */
.ast-builder-menu-1 .main-header-menu > .menu-item:is(.current-menu-item, .current-menu-ancestor, .current-menu-parent, .current_page_parent, .current-page-ancestor) > .menu-link,
body:is(.single-post, .archive, .category) .ast-builder-menu-1 .main-header-menu > .menu-item-3288 > .menu-link { color: var(--mgl-link); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.ast-builder-menu-1 .main-header-menu > .menu-item:not(.current-menu-item, .current-menu-ancestor, .current-menu-parent, .current_page_parent, .current-page-ancestor) > .menu-link { color: var(--mgl-text); }
.ast-builder-menu-1 .main-header-menu > .menu-item:not(.current-menu-item, .current-menu-ancestor, .current-page-ancestor) > .menu-link:hover { color: var(--mgl-ink); }
/* Current item inside a dropdown: blue and bold (desktop and phones) */
.main-header-menu .sub-menu .menu-item.current-menu-item > .menu-link { color: var(--mgl-link); font-weight: 700; }
/* Desktop dropdowns 300px wide so every label sits on one line */
@media (min-width: 922px) { .ast-builder-menu-1 .main-header-menu .sub-menu { width: 300px; } }
/* Phones: an open submenu's arrow turns blue; sub-items at least 44px tall.
   The current page and its section are marked as on desktop (blue, 2px underline, no tint: 5.25:1 on white).
   Tapped and open rows lose Astra's green-on-tint (3.16:1), so they no longer look like the current page. */
@media (max-width: 921px) {
	.ast-builder-menu-mobile .main-header-menu .menu-item.ast-submenu-expanded > .ast-menu-toggle,
	.ast-builder-menu-mobile .main-header-menu .menu-item.ast-submenu-expanded > .ast-menu-toggle :is(.ast-icon, svg) { color: var(--mgl-link); fill: var(--mgl-link); }
	.ast-builder-menu-mobile .main-header-menu .sub-menu .menu-item > .menu-link { min-height: 44px; display: flex; align-items: center; }
	.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item:is(:hover, .ast-submenu-expanded) > .menu-link { color: var(--mgl-ink); background: transparent; }
	.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item:is(.current-menu-item, .current-menu-ancestor) > .menu-link,
	.ast-builder-menu-mobile .main-navigation .main-header-menu > .menu-item.current-page-ancestor > .menu-link { color: var(--mgl-link); background: transparent; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
}
/* Submenu arrow buttons: visible dotted focus outline, like menu links */
.ast-builder-menu-1 .ast-header-navigation-arrow:focus-visible { outline: 3px dotted var(--mgl-link); outline-offset: 2px; }

/* Shared layout grids for Spectra containers (Advanced > Additional CSS class).
   mgl-grid-4: four per row from 1024px, two from 768 to 1023px, one under 768px.
   mgl-grid-3 / mgl-grid-2: three or two per row from 768px, one under 768px. */
.wp-block-spectra-container.mgl-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wp-block-spectra-container.mgl-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wp-block-spectra-container.mgl-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Same behavior for the four services row (core Columns) */
.wp-block-columns.mgl-four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wp-block-columns.mgl-four > .wp-block-column { flex-basis: auto !important; }
@media (max-width: 1023.98px) {
	.wp-block-spectra-container.mgl-grid-4, .wp-block-columns.mgl-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
	.wp-block-spectra-container:is(.mgl-grid-4, .mgl-grid-3, .mgl-grid-2) { grid-template-columns: minmax(0, 1fr); }
}
/* The four service cards stay two per row down to 600px (large phones, small tablets), then one per row */
@media (max-width: 599.98px) {
	.wp-block-columns.mgl-four { grid-template-columns: minmax(0, 1fr); }
}

/* FAQ accordions: visible keyboard focus (Spectra removes it) */
.wp-block-spectra-accordion-child-header:focus-visible { outline: 2px solid var(--mgl-link); outline-offset: 2px; }

/* Dark bands: yellow icons, white underlined in-text links */
.mgl-forest .spectra-icon, .mgl-forest .spectra-icon * { color: var(--mgl-gold); fill: var(--mgl-gold); }
.mgl-forest a:not(.wp-block-button__link):not(.spectra-button__link):not(.wp-element-button) { color: #fff; text-decoration: underline; }
.mgl-forest a:not(.wp-block-button__link):not(.spectra-button__link):not(.wp-element-button):hover { color: var(--mgl-paper); }

/* Offset when jumping to an in-page heading (Success Stories industry links) */
h2[id] { scroll-margin-top: 100px; }

/* Blog: share icons get a 44x44px tap area (icon size and row height unchanged) */
.single-post .ast-post-social-sharing .ast-social-inner-wrap a.ast-social-icon-a { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 44px; min-height: 44px; padding: 12px; margin: -11px -2px; }
.single-post .ast-post-social-sharing .ast-social-inner-wrap a.ast-social-icon-a:first-child { margin-left: -12px; }
.single-post .ast-post-social-sharing .ast-social-inner-wrap a.ast-social-icon-a:last-child { margin-right: -12px; }
.ast-social-sharing-heading { font-family: var(--mgl-ui); }

/* Blog post header (as on womenconquerbiz.com): small breadcrumbs, then the title, then
   author photo, author, date, read time on one line. Fonts and colors stay MGL's. */
.single-post .ast-breadcrumbs, .single-post .ast-breadcrumbs a { font-size: 13px; }
.single-post .ast-breadcrumbs-wrapper { margin-bottom: 1rem; }
.single-post header.entry-header .entry-meta { display: flex; flex-wrap: wrap; align-items: center; column-gap: .45em; row-gap: .35em; margin-top: 1.25rem; }
.single-post .entry-meta .ast-author-avatar { display: inline-flex; margin-right: .35em; }
.single-post header.entry-header .entry-meta a, .single-post header.entry-header .entry-meta a * { color: var(--mgl-link); }
.single-post header.entry-header .entry-meta a:hover, .single-post header.entry-header .entry-meta a:hover * { color: var(--mgl-ink); }
.single-post .entry-meta .ast-author-avatar img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.single-post .entry-meta .ast-reading-time { margin-left: .35em; }

/* After the post (as on womenconquerbiz.com): tags line, then centered share icons with the
   heading below, then the author box in a soft rounded card */
.single-post .mgl-post-tags { margin-top: 2rem; }
.single .ast-single-author-box .ast-author-meta { background: var(--mgl-paper); border-radius: 26px; padding: 3em; }
@media (max-width: 921px) { .single .ast-single-author-box .ast-author-meta { padding: 1.5em 2.14em; } }
@media (max-width: 544px) { .single .ast-single-author-box .ast-author-meta { padding: 1.5em 1em; } }

/* Two-column blog post template (as on womenconquerbiz.com): 70% content, 30% sticky right sidebar */
/* Readable line length (about 68 characters), centered in the content column */
/* One width for text, headings and the contents box (about 68 characters of body text), so left edges line up */
.single-post .entry-content > :is(p, ul, ol, h2, h3, h4, h5, blockquote, .custom-toc, .mgl-post-tags, .wp-block-table, .code-block) { max-width: min(100%, 40rem); margin-left: auto; margin-right: auto; }
/* Featured image under the meta line: 25px corners */
.single-post .ast-single-post-featured-section img, .single-post .post-thumb-img-content img { border-radius: 25px; width: 100%; height: auto; }
.single-post .ast-single-post-featured-section { margin-bottom: 2rem; }
/* Blog and category cards: Astra sets the image box to 16:9; crop to fill it instead of squeezing 1200x630 cards */
.ast-blog-featured-section .post-thumb-img-content img { object-fit: cover; }
/* Table of contents, right below the featured image */
.single-post .entry-content > .mgl-article-summary { max-width: min(100%, 40rem); margin: 0 auto 1.5rem; padding: 22px 26px; background: #fff; border: 1px solid color-mix(in srgb, var(--mgl-green) 35%, transparent); border-radius: 10px; }
.mgl-article-summary .mgl-article-summary-label { font-family: var(--mgl-ui); font-size: 17px; font-weight: 700; color: var(--mgl-ink); margin: 0 0 8px; }
.mgl-article-summary p:not(.mgl-article-summary-label) { margin: 0 0 .75em; }
.mgl-article-summary p:last-child { margin-bottom: 0; }
.custom-toc.mgl-toc { background: var(--mgl-paper); border-radius: 10px; padding: 20px 24px; margin-top: 0; margin-bottom: 2.25rem; }
.custom-toc .toc-heading { display: block; font-family: var(--mgl-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--mgl-text); margin-bottom: 14px; }
.entry-content .custom-toc ul { list-style: none; margin: 0; padding: 0; }
.custom-toc li { margin: 0 0 12px; line-height: 1.45; }
.custom-toc li:last-child { margin-bottom: 0; }
.entry-content .custom-toc a { color: var(--mgl-ink); text-decoration: none; font-size: 14px; font-weight: 400; }
.entry-content .custom-toc a:hover, .entry-content .custom-toc a:focus-visible { color: var(--mgl-link); text-decoration: underline; }
/* Sidebar */
.ast-right-sidebar #secondary.widget-area { border-left-color: color-mix(in srgb, var(--mgl-rule) 35%, transparent); }
.single-post #secondary .widget { margin-bottom: 2.5em; }
.single-post #secondary :is(h2, h3) { font-size: 1.15rem; margin-bottom: .6rem; }
.single-post #secondary p { font-size: 15px; line-height: 1.65; }
.mgl-sidebar-quote-photo { margin: 0 auto -32px; text-align: center; position: relative; z-index: 1; }
.mgl-sidebar-quote-photo img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; }
#secondary .wp-block-quote.mgl-sidebar-quote { background: var(--mgl-paper); border: 0; border-radius: 10px; margin: 0; padding: 44px 22px 22px; text-align: center; }
.mgl-sidebar-quote p { font-style: italic; color: var(--mgl-ink); }
.mgl-sidebar-quote cite { display: block; margin-top: .75rem; font-family: var(--mgl-ui); font-style: normal; font-size: 13px; line-height: 1.45; color: var(--mgl-text); }
.mgl-sidebar-quote cite strong { display: block; color: var(--mgl-ink); font-size: 14px; }
#secondary .mgl-sidebar-links { list-style: none; margin: 0 0 1.1rem; padding: 0; font-size: 15px; }
#secondary .mgl-sidebar-links li { margin: 0; padding: 7px 0; border-bottom: 1px solid color-mix(in srgb, var(--mgl-rule) 35%, transparent); }
#secondary .mgl-sidebar-links li:first-child { border-top: 1px solid color-mix(in srgb, var(--mgl-rule) 35%, transparent); }
#secondary .mgl-sidebar-links a { color: var(--mgl-ink); text-decoration: none; }
#secondary .mgl-sidebar-links a:hover, #secondary .mgl-sidebar-links a:focus-visible { color: var(--mgl-link); text-decoration: underline; }
#secondary .mgl-sidebar-cta { margin: 0 0 .75rem; }
#secondary .mgl-sidebar-cta .wp-block-button__link { width: 100%; text-align: center; }
.single-post #secondary p.mgl-sidebar-note { font-size: 14px; color: var(--mgl-text); }
.wp-block-social-links.mgl-sidebar-social { margin-top: .5rem; }
.wp-block-social-links.mgl-sidebar-social .wp-social-link { color: var(--mgl-ink); }
.wp-block-social-links.mgl-sidebar-social .wp-social-link a { padding: 10px; margin: -10px; }
.wp-block-social-links.mgl-sidebar-social .wp-social-link:hover { color: var(--mgl-link); }
.wp-block-social-links.mgl-sidebar-social svg { width: 26px; height: 26px; }

/* Blog: related post cards show image and title only (excerpt off in the Customizer) */
.single-post .ast-related-post-excerpt { display: none; }
/* Related post images: 25px rounded corners, as on womenconquerbiz.com */
.ast-related-post-featured-section img { border-radius: 25px; }

/* ---------- Blog offers and call boxes (Ad Inserter blocks at the end of posts; see blog-offers.md) ----------
   One card style for every block: light green panel, Plus Jakarta Sans heading, the site's green button.
   Flodesk forms inside a card lose their own title and spacing and use the site's field style. */
/* Ad Inserter wraps each block with an inline margin; these keep blocks centred on the text column */
.single-post .entry-content > .code-block { margin: 2.5rem auto 0 !important; }
.single-post .entry-content > .code-block:has(> .mgl-call-link) { margin: 2rem auto !important; }
/* Mid-post call link (block 1): one line, no card */
.entry-content .mgl-call-link { margin: 0; padding: 14px 20px; background: var(--mgl-paper); border-left: 4px solid var(--mgl-green); border-radius: 8px; font-family: var(--mgl-ui); font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--mgl-ink); }
/* Call card on hiring posts (block 2): dark, so the call leads and the free tips card under it reads second */
.entry-content .mgl-offer.mgl-offer--call { background: var(--mgl-forest); }
.entry-content .mgl-offer--call :is(.mgl-offer__title, .mgl-offer__text) { color: #fff; }
.entry-content .mgl-offer--call .mgl-offer__link { display: inline-block; margin: 12px 0 0 18px; font-family: var(--mgl-ui); font-size: 15px; color: #fff; }
.entry-content .mgl-offer--call a:focus-visible { outline-color: var(--mgl-gold); }
/* Quiet call line at the bottom of each free offer card */
.entry-content .mgl-offer__alt { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid color-mix(in srgb, var(--mgl-rule) 35%, transparent); font-family: var(--mgl-ui); font-size: 15px; color: var(--mgl-ink); }
/* Short aside at the end of a section, with a divider as wide as the text (pair with mgl-measure) */
.entry-content .mgl-note { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid color-mix(in srgb, var(--mgl-rule) 35%, transparent); }
.entry-content :is(.mgl-offer, .mgl-cta-box) { padding: clamp(24px, 3vw, 32px); background: var(--mgl-paper); border-radius: 16px; }
.entry-content :is(.mgl-offer__title, .mgl-cta-box h3) { margin: 0 0 .6rem; font-size: 1.35rem; line-height: 1.3; }
.entry-content :is(.mgl-offer__text, .mgl-cta-box p) { margin: 0 0 1.25rem; }
.entry-content .code-block a:is(.mgl-offer__button, .mgl-cta-btn) { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 28px; border-radius: 26px; background: var(--mgl-green); color: #000; font-family: var(--mgl-ui); font-size: 15px; font-weight: 600; line-height: 1.3; text-decoration: none; transition: background-color .15s ease; }
.entry-content .code-block a:is(.mgl-offer__button, .mgl-cta-btn):hover { background: var(--mgl-gold); color: #000; text-decoration: none; }
.entry-content .code-block a:is(.mgl-offer__button, .mgl-cta-btn):focus-visible { outline: 3px solid var(--mgl-link); outline-offset: 3px; }
.entry-content .mgl-cta-link { display: inline-block; margin: 12px 0 0 16px; font-family: var(--mgl-ui); font-size: 15px; }
.entry-content .mgl-offer__note { margin: .75rem 0 0; font-family: var(--mgl-ui); font-size: 14px; color: var(--mgl-text); }
.entry-content .mgl-offer [data-ff-el="root"] :is([class*="__title"], [class*="__subtitle"], [class*="__image"]) { display: none; }
.entry-content .mgl-offer [data-ff-el="root"] :is([class*="__container"], [class*="__wrapper"], [class*="__form"], [class*="__content"]) { max-width: none; margin: 0; padding: 0; background: transparent; text-align: left; }
.entry-content .mgl-offer [data-ff-el="root"] [class*="__footer"] { padding: 4px 0 0; text-align: left; }
.entry-content .mgl-offer [data-ff-el="root"] .fd-form-group { display: flex; flex-direction: column-reverse; margin: 0 0 14px; }
.entry-content .mgl-offer [data-ff-el="root"] .fd-form-label { position: static; display: block !important; opacity: 1 !important; padding: 0 0 6px; border: 0; color: var(--mgl-ink); font-family: var(--mgl-ui); font-size: 15px; font-weight: 600; letter-spacing: 0; text-align: left; text-transform: none; }
.entry-content .mgl-offer [data-ff-el="root"] .fd-form-control { height: 48px; padding: 10px 14px; border: 1px solid color-mix(in srgb, var(--mgl-rule) 70%, transparent); border-radius: 8px; background: #fff; color: var(--mgl-ink); font-family: var(--mgl-ui); font-size: 16px; letter-spacing: 0; text-transform: none; }
.entry-content .mgl-offer [data-ff-el="root"] .fd-form-control:focus { border-color: var(--mgl-link); outline: 2px solid var(--mgl-link); outline-offset: 1px; }
.entry-content .mgl-offer [data-ff-el="root"] .fd-btn { width: auto; min-height: 48px; padding: 12px 28px; border: 0; border-radius: 26px; background: var(--mgl-green); color: #000; font-family: var(--mgl-ui); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.entry-content .mgl-offer [data-ff-el="root"] .fd-btn:hover { background: var(--mgl-gold); color: #000; }
.entry-content .mgl-offer [data-ff-el="root"] .fd-btn:focus-visible { outline: 3px solid var(--mgl-link); outline-offset: 3px; }
.entry-content .mgl-offer [data-ff-el="root"] :is([class*="__success-message"], [class*="__error"]) { color: var(--mgl-ink); text-align: left; font-family: var(--mgl-ui); font-size: 16px; }
@media (max-width: 599.98px) { .entry-content .mgl-offer [data-ff-el="root"] .fd-btn, .entry-content .mgl-offer__button { width: 100%; justify-content: center; } .entry-content .mgl-offer--call .mgl-offer__link { margin-left: 0; } }

/* ---------- Shop ([mgl_shop] grid: filter by need, sort by price) ---------- */
.mgl-shop .mgl-shop-toolbar { margin: 0 0 1.5rem; }
.mgl-shop .mgl-shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid color-mix(in srgb, var(--mgl-rule) 35%, transparent); }
.mgl-shop .mgl-shop-toolbar[hidden] { display: none; }
.mgl-shop .mgl-shop-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.mgl-shop .mgl-shop-filters__label { flex-basis: 100%; font-family: var(--mgl-ui); font-weight: 600; font-size: 15px; color: var(--mgl-ink); margin: 0 0 2px; }
.mgl-shop .mgl-chip { min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--mgl-rule) 55%, transparent); background: #fff; color: var(--mgl-ink); font-family: var(--mgl-ui); font-size: 15px; font-weight: 600; line-height: 1.2; cursor: pointer; }
.mgl-shop .mgl-chip:hover { border-color: var(--mgl-ink); background: #fff; color: var(--mgl-ink); }
.mgl-shop .mgl-chip[aria-pressed="true"] { background: var(--mgl-green); border-color: var(--mgl-green); color: #000; }
.mgl-shop .mgl-chip__count { font-weight: 500; opacity: .75; margin-left: 2px; }
.mgl-shop .mgl-shop-sort { display: flex; align-items: center; gap: 10px; font-family: var(--mgl-ui); font-size: 15px; }
.mgl-shop .mgl-shop-sort label { font-weight: 600; color: var(--mgl-ink); margin: 0; white-space: nowrap; }
.mgl-shop .mgl-shop-sort select { min-height: 44px; padding: 8px 36px 8px 12px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--mgl-rule) 55%, transparent); background-color: #fff; color: var(--mgl-ink); font: inherit; }
.mgl-shop .mgl-shop-count { font-family: var(--mgl-ui); font-size: 15px; color: var(--mgl-text); margin: 0; }
.mgl-shop .mgl-product-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1023.98px) { .mgl-shop .mgl-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (max-width: 767.98px) { .mgl-shop .mgl-product-grid { grid-template-columns: minmax(0, 1fr); } }
/* Phones: the need filters become one swipeable row so the products stay near the top */
@media (max-width: 767.98px) {
	.mgl-shop .mgl-shop-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -24px; padding: 0 24px 6px; scroll-padding-inline: 24px; scrollbar-width: thin; }
	.mgl-shop .mgl-shop-filters__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.mgl-shop .mgl-chip { flex: 0 0 auto; }
	.mgl-shop .mgl-shop-toolbar::before { content: "What do you need?"; display: block; font-family: var(--mgl-ui); font-weight: 600; font-size: 15px; color: var(--mgl-ink); margin-bottom: 8px; }
}
.mgl-shop .mgl-product { position: relative; display: flex; flex-direction: column; margin: 0; background: #fff; border: 1px solid color-mix(in srgb, var(--mgl-rule) 35%, transparent); border-radius: 16px; overflow: hidden; transition: border-color .15s ease; }
.mgl-shop .mgl-product[hidden] { display: none; }
.mgl-shop .mgl-product:hover { border-color: var(--mgl-green); }
.mgl-shop .mgl-product:focus-within { outline: 3px solid var(--mgl-link); outline-offset: 3px; }
.mgl-shop .mgl-product__media { margin: 0; aspect-ratio: 3 / 2; background: var(--mgl-paper); }
/* The ratio sits on the image too: on the figure alone, a square image stretched it, so cards in one row had different heights */
.mgl-shop .mgl-product__media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.mgl-shop .mgl-product__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.mgl-shop .mgl-product__need { margin: 0; font-family: var(--mgl-ui); font-size: 13px; font-weight: 600; color: var(--mgl-text); }
.mgl-shop .mgl-product__title { margin: 6px 0 8px; font-size: 1.2rem; line-height: 1.3; }
.entry-content .mgl-shop .mgl-product__title a { color: var(--mgl-ink); text-decoration: none; }
.mgl-shop .mgl-product__title a::after { content: ""; position: absolute; inset: 0; }
.mgl-shop .mgl-product__title a:focus-visible { outline: none; }
.mgl-shop .mgl-product__desc { flex: 1; margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: var(--mgl-text); }
.mgl-shop .mgl-product__price { margin: 0 0 14px; font-family: var(--mgl-ui); color: var(--mgl-ink); }
.mgl-shop .mgl-product__amount { font-size: 1.35rem; font-weight: 700; }
.mgl-shop .mgl-product.is-free .mgl-product__amount { background: var(--mgl-gold); padding: 2px 10px; border-radius: 6px; }
.mgl-shop .mgl-product__note { font-size: 14px; color: var(--mgl-text); }
.mgl-shop .mgl-product__cta { font-family: var(--mgl-ui); font-size: 15px; font-weight: 600; color: var(--mgl-link); text-decoration: underline; text-underline-offset: 4px; }
.mgl-shop .mgl-product:hover .mgl-product__cta { color: var(--mgl-ink); }

/* ---------- Embedded HoneyBook and Flodesk forms ---------- */
.mgl-embed { width: 100%; }
.mgl-embed iframe { width: 100%; border: 0; }
/* Flodesk "Grant Calendar" form (homepage and the grant calendar post): black text on its green box.
   Flodesk's white text measured 2.66:1 there; black is 7.9:1 (WCAG 2.2 AA asks 4.5:1). */
.entry-content [data-ff-el="root"].ff-68950c72e9fefc74c69c90e4 :is(.ff-68950c72e9fefc74c69c90e4__form, .ff-68950c72e9fefc74c69c90e4__title, .ff-68950c72e9fefc74c69c90e4__preference-title, .ff-68950c72e9fefc74c69c90e4__success-message, .ff-68950c72e9fefc74c69c90e4__form-check .fd-form-check__label) { color: #000; }
.entry-content [data-ff-el="root"].ff-68950c72e9fefc74c69c90e4 .ff-68950c72e9fefc74c69c90e4__button { color: #000; border-color: #000; }
.entry-content [data-ff-el="root"].ff-68950c72e9fefc74c69c90e4 .ff-68950c72e9fefc74c69c90e4__button:hover { background: var(--mgl-gold); border-color: var(--mgl-gold); color: #000; }
/* Same form: labels sit above the fields and stay visible while typing (Flodesk hides them inside
   the field), and typed text is 16px, since iPhones zoom in on fields with smaller text */
.entry-content [data-ff-el="root"].ff-68950c72e9fefc74c69c90e4 .ff-68950c72e9fefc74c69c90e4__field { display: flex; flex-direction: column-reverse; }
.entry-content [data-ff-el="root"].ff-68950c72e9fefc74c69c90e4 .ff-68950c72e9fefc74c69c90e4__label { position: static; display: block !important; opacity: 1 !important; padding: 0 0 6px; border: 0; color: #000; font-size: 14px; font-weight: 600; text-transform: none; }
.entry-content [data-ff-el="root"].ff-68950c72e9fefc74c69c90e4 .ff-68950c72e9fefc74c69c90e4__control { font-size: 16px; }
/* Flodesk "Grants Report" form (homepage and /grant-acquisition/) and newsletter form (/newsletter/) in the site's own form style:
   labels above the fields and visible while typing, 16px typed text, the site's green button with
   black text, and a dark title (Flodesk's green title on white is 2.6:1) */
.entry-content [data-ff-el="root"]:is(.ff-655256ed1e9ddfd72a8f3ed7, .ff-673ea8b8b9c175f9a8174c58) :is(.ff-655256ed1e9ddfd72a8f3ed7__title, .ff-673ea8b8b9c175f9a8174c58__title) { color: var(--mgl-ink); }
.entry-content [data-ff-el="root"]:is(.ff-655256ed1e9ddfd72a8f3ed7, .ff-673ea8b8b9c175f9a8174c58) :is(.ff-655256ed1e9ddfd72a8f3ed7__field, .ff-673ea8b8b9c175f9a8174c58__field) { display: flex; flex-direction: column-reverse; }
.entry-content [data-ff-el="root"]:is(.ff-655256ed1e9ddfd72a8f3ed7, .ff-673ea8b8b9c175f9a8174c58) :is(.ff-655256ed1e9ddfd72a8f3ed7__label, .ff-673ea8b8b9c175f9a8174c58__label) { position: static; display: block !important; opacity: 1 !important; padding: 0 0 6px; border: 0; color: var(--mgl-ink); font-family: var(--mgl-ui); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.entry-content [data-ff-el="root"]:is(.ff-655256ed1e9ddfd72a8f3ed7, .ff-673ea8b8b9c175f9a8174c58) :is(.ff-655256ed1e9ddfd72a8f3ed7__control, .ff-673ea8b8b9c175f9a8174c58__control) { height: 48px; padding: 10px 14px; border: 1px solid color-mix(in srgb, var(--mgl-rule) 70%, transparent); border-radius: 8px; background: #fff; color: var(--mgl-ink); font-family: var(--mgl-ui); font-size: 16px; letter-spacing: 0; text-transform: none; }
.entry-content [data-ff-el="root"]:is(.ff-655256ed1e9ddfd72a8f3ed7, .ff-673ea8b8b9c175f9a8174c58) :is(.ff-655256ed1e9ddfd72a8f3ed7__control, .ff-673ea8b8b9c175f9a8174c58__control):focus { border-color: var(--mgl-link); outline: 2px solid var(--mgl-link); outline-offset: 1px; }
.entry-content [data-ff-el="root"]:is(.ff-655256ed1e9ddfd72a8f3ed7, .ff-673ea8b8b9c175f9a8174c58) :is(.ff-655256ed1e9ddfd72a8f3ed7__button, .ff-673ea8b8b9c175f9a8174c58__button) { min-height: 48px; border-radius: 26px; background: var(--mgl-green); color: #000; font-family: var(--mgl-ui); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.entry-content [data-ff-el="root"]:is(.ff-655256ed1e9ddfd72a8f3ed7, .ff-673ea8b8b9c175f9a8174c58) :is(.ff-655256ed1e9ddfd72a8f3ed7__button, .ff-673ea8b8b9c175f9a8174c58__button):hover { background: var(--mgl-gold); color: #000; }
.entry-content [data-ff-el="root"]:is(.ff-655256ed1e9ddfd72a8f3ed7, .ff-673ea8b8b9c175f9a8174c58) :is(.ff-655256ed1e9ddfd72a8f3ed7__button, .ff-673ea8b8b9c175f9a8174c58__button):focus-visible { outline: 3px solid var(--mgl-link); outline-offset: 3px; }
/* Homepage: the copy beside the form replaces Flodesk's title and description; the form sits in a white card */
.wp-block-columns.mgl-report { gap: 32px clamp(40px, 6vw, 80px); }
.mgl-report .mgl-lead { max-width: 40rem; }
.mgl-report-byline, .mgl-report-note { font-family: var(--mgl-ui); font-size: 15px; color: var(--mgl-text); }
.mgl-report-byline { max-width: 55ch; }
/* Under the button: how the report arrives. In the thank-you message: the next step (added by assets/report-form.js) */
.mgl-report-form .mgl-report-note { margin-top: 14px; }
[data-ff-el="root"].ff-655256ed1e9ddfd72a8f3ed7 .mgl-report-next { margin: 14px 0 0; font-family: var(--mgl-ui); font-size: 16px; line-height: 1.5; }
.mgl-report-form { padding: clamp(24px, 3vw, 36px); background: #fff; border-radius: 16px; }
/* A heading inside the card (newsletter page) sits apart from the first field */
.entry-content .mgl-report-form > h2 { margin: 0 0 1.25rem; }
.mgl-report-form [data-ff-el="root"]:is(.ff-655256ed1e9ddfd72a8f3ed7, .ff-673ea8b8b9c175f9a8174c58) :is(.ff-655256ed1e9ddfd72a8f3ed7__title, .ff-655256ed1e9ddfd72a8f3ed7__subtitle, .ff-673ea8b8b9c175f9a8174c58__title, .ff-673ea8b8b9c175f9a8174c58__subtitle) { display: none; }
/* The card supplies the spacing, so Flodesk's own 70px padding and 620px width limit come off */
.mgl-report-form [data-ff-el="root"]:is(.ff-655256ed1e9ddfd72a8f3ed7, .ff-673ea8b8b9c175f9a8174c58) :is(.ff-655256ed1e9ddfd72a8f3ed7__form, .ff-673ea8b8b9c175f9a8174c58__form) { padding: 0; }
.mgl-report-form [data-ff-el="root"]:is(.ff-655256ed1e9ddfd72a8f3ed7, .ff-673ea8b8b9c175f9a8174c58) :is(.ff-655256ed1e9ddfd72a8f3ed7__container, .ff-673ea8b8b9c175f9a8174c58__container) { max-width: none; }
.mgl-report-form [data-ff-el="root"]:is(.ff-655256ed1e9ddfd72a8f3ed7, .ff-673ea8b8b9c175f9a8174c58) :is(.ff-655256ed1e9ddfd72a8f3ed7__fields, .ff-673ea8b8b9c175f9a8174c58__fields) { margin-bottom: 20px; }

/* ---------- Header ---------- */
.main-header-menu .menu-link, .ast-builder-menu-1 .menu-item > .menu-link { font-family: var(--mgl-ui); font-weight: 600; }
@media (min-width: 922px) {
	.ast-builder-menu-1 .main-header-menu { flex-wrap: nowrap; }
	.ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link { padding-left: 11px; padding-right: 11px; white-space: nowrap; }
}
.ast-header-button-1 .ast-custom-button { font-family: var(--mgl-ui); font-weight: 600; white-space: nowrap; }
/* Phone menu (☰): a visible bottom edge, so the open menu doesn't blend into the page under it */
.ast-mobile-header-content { padding-bottom: 24px; box-shadow: 0 16px 24px rgba(0, 0, 0, .15); }
/* Narrow laptops and tablets held sideways (922–1,199px): tighter spacing so the logo, menu,
   search and "Book a strategy call" fit on one line. Below 922px the phone header takes over.
   The button selector matches Astra's own so the tighter padding applies. */
@media (min-width: 922px) and (max-width: 1199.98px) {
	.ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link { padding-left: 7px; padding-right: 7px; }
	.ast-header-button-1[data-section*="section-hb-button-"] .ast-builder-button-wrap .ast-custom-button { padding-left: 20px; padding-right: 20px; }
}
@media (min-width: 922px) and (max-width: 1079.98px) {
	#ast-desktop-header .custom-logo-link img { width: 160px; max-width: 160px; }
	.ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link { font-size: 15px; padding-left: 5px; padding-right: 5px; }
	.ast-header-button-1[data-section*="section-hb-button-"] .ast-builder-button-wrap .ast-custom-button { padding-left: 16px; padding-right: 16px; }
}
/* Narrowest desktop widths: the search icon steps aside (search stays on the blog and in the phone header) */
@media (min-width: 922px) and (max-width: 999.98px) {
	#ast-desktop-header .ast-header-search { display: none; }
	.ast-header-button-1[data-section*="section-hb-button-"] .ast-builder-button-wrap .ast-custom-button { padding-left: 14px; padding-right: 14px; }
}
.ast-builder-menu-1 .sub-menu { border-top: 3px solid var(--mgl-green); }
.ast-header-search .astra-search-icon, .ast-header-search .ast-icon, .ast-header-search svg, .ast-mobile-menu-trigger-minimal, .menu-toggle .ast-mobile-svg { color: var(--mgl-ink); fill: var(--mgl-ink); }
/* Phones and tablets: the 18x26px search icon gets a 44x44px tap area; the negative margin keeps the icon where it was */
@media (max-width: 921px) { .ast-header-search .astra-search-icon { box-sizing: border-box; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; margin: -9px -13px; } }
/* Blog cards: category labels and meta in readable colors */
.ast-blog-single-element.ast-taxonomy-container a, .ast-article-post .cat-links a, .ast-article-post .ast-taxonomy-container a { color: var(--mgl-link); }
.entry-meta, .entry-meta * { color: var(--mgl-text); }

/* ---------- Footer ---------- */
.site-footer { font-family: var(--mgl-ui); }
.site-footer .widget-title, .site-footer h2 { font-size: 1rem; letter-spacing: 0; color: #fff; margin-bottom: 0.9rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--mgl-gold); }
.mgl-footer-logo { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 6px; }
.mgl-footer-logo img { display: block; width: 190px; height: auto; }
.mgl-footer-links { list-style: none; padding: 0; margin: 0; }
.mgl-footer-links li { margin: 0 0 0.5rem; }
.site-below-footer-wrap .ast-footer-copyright, .site-below-footer-wrap a { font-size: 0.9rem; }
.mgl-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
/* Footer column 1: the booking button and the Contact link under the company description.
   Black text on the green, gold on hover, as on every other button (the footer's white link color gave 2:1) */
.site-footer .mgl-footer-cta { margin-top: 1.25rem; }
.site-footer .mgl-footer-cta .wp-block-button a.wp-element-button { color: #000; }
.site-footer .mgl-footer-cta .wp-block-button a.wp-element-button:hover { background: var(--mgl-gold); color: #000; }
.site-footer .mgl-footer-contact { margin-top: 0.75rem; }
.site-footer .mgl-footer-contact a { text-decoration: underline; text-underline-offset: 0.18em; }
/* Room between the logo and the company description */
.site-footer .mgl-footer-logo { margin-bottom: 1.5rem; }
/* LinkedIn as an icon: white on the forest (LinkedIn blue was too dark there), gold on hover, 44px tap target */
.site-footer .mgl-footer-social { margin: 1.25rem 0 0 -8px; padding: 0; gap: 8px; }
.site-footer .mgl-footer-social .wp-social-link { margin: 0; color: #fff; }
.site-footer .mgl-footer-social .wp-social-link:hover { color: var(--mgl-gold); }
.site-footer .mgl-footer-social .wp-block-social-link-anchor { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; color: inherit; }
.site-footer .mgl-footer-social .wp-block-social-link-anchor svg { width: 28px; height: 28px; }
/* Footer column 4: the newsletter form (Flodesk "Grants News You Need") in the footer's own style.
   Flodesk's white card, 70px padding and title come off; labels sit above white fields; the button matches the site's */
.site-footer .mgl-footer-note { margin: 0 0 1rem; color: rgba(255,255,255,.86); }
.site-footer [data-ff-el="root"].ff-673ea8b8b9c175f9a8174c58 .ff-673ea8b8b9c175f9a8174c58__container { max-width: none; background: transparent; }
.site-footer [data-ff-el="root"].ff-673ea8b8b9c175f9a8174c58 .ff-673ea8b8b9c175f9a8174c58__form { padding: 0; }
.site-footer [data-ff-el="root"].ff-673ea8b8b9c175f9a8174c58 :is(.ff-673ea8b8b9c175f9a8174c58__title, .ff-673ea8b8b9c175f9a8174c58__subtitle) { display: none; }
.site-footer [data-ff-el="root"].ff-673ea8b8b9c175f9a8174c58 .ff-673ea8b8b9c175f9a8174c58__fields { margin-bottom: 14px; }
.site-footer [data-ff-el="root"].ff-673ea8b8b9c175f9a8174c58 .ff-673ea8b8b9c175f9a8174c58__field { display: flex; flex-direction: column-reverse; margin-bottom: 12px; }
.site-footer [data-ff-el="root"].ff-673ea8b8b9c175f9a8174c58 .ff-673ea8b8b9c175f9a8174c58__label { position: static; display: block !important; opacity: 1 !important; padding: 0 0 6px; border: 0; color: #fff; font-family: var(--mgl-ui); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.site-footer [data-ff-el="root"].ff-673ea8b8b9c175f9a8174c58 .ff-673ea8b8b9c175f9a8174c58__control { height: 44px; padding: 8px 12px; border: 1px solid transparent; border-radius: 8px; background: #fff; color: #000; font-family: var(--mgl-ui); font-size: 16px; letter-spacing: 0; text-transform: none; }
.site-footer [data-ff-el="root"].ff-673ea8b8b9c175f9a8174c58 .ff-673ea8b8b9c175f9a8174c58__control:focus { outline: 3px solid var(--mgl-gold); outline-offset: 2px; }
.site-footer [data-ff-el="root"].ff-673ea8b8b9c175f9a8174c58 .ff-673ea8b8b9c175f9a8174c58__button { width: 100%; min-height: 44px; padding: 10px 20px; border: 0; border-radius: 26px; background: var(--mgl-green); color: #000; font-family: var(--mgl-ui); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.site-footer [data-ff-el="root"].ff-673ea8b8b9c175f9a8174c58 .ff-673ea8b8b9c175f9a8174c58__button:hover { background: var(--mgl-gold); color: #000; }
.site-footer [data-ff-el="root"].ff-673ea8b8b9c175f9a8174c58 .ff-673ea8b8b9c175f9a8174c58__button:focus-visible { outline: 3px solid var(--mgl-gold); outline-offset: 3px; }
.site-footer [data-ff-el="root"].ff-673ea8b8b9c175f9a8174c58 :is(.ff-673ea8b8b9c175f9a8174c58__success-message, .ff-673ea8b8b9c175f9a8174c58__error) { color: #fff; }
/* Phones and tablets: footer links get at least 44px-tall tap rows (they were 20px text boxes) */
@media (max-width: 921px) {
	.site-footer .widget_nav_menu .menu-link, .site-footer .mgl-footer-posts a { display: block; padding: 7px 0; }
	.site-footer .widget_block p > a { display: inline-block; padding: 7px 0; }
	.site-below-footer-wrap .astra-footer-horizontal-menu .menu-link { min-height: 44px; align-items: center; }
}
/* Desktop: a label that wraps in the narrow footer columns ("Grant Grader (free or expert)") keeps its two lines
   closer together than the gap between items, so the second line doesn't read as its own link. One-line items keep their 30.6px rhythm. */
@media (min-width: 922px) {
	.site-footer .widget_nav_menu .menu-item { line-height: 1.4; }
	.site-footer .widget_nav_menu .menu-item + .menu-item { margin-top: 7px; }
}
/* The fixed scroll-to-top button (32px, 30px from the right) sat on top of "Terms of Use" at the end of the page:
   desktop moves the legal links 40px left, clear of it; phones move the button into the 34px page margin, clear of the report form's fields */
@media (min-width: 922px) { .site-below-footer-wrap .footer-nav-wrap { padding-right: 40px; } }
@media (max-width: 767.98px) { #ast-scroll-top.ast-scroll-to-top-right { right: 8px; } }

/* ---------- Blog ---------- */
.ast-article-post .entry-title, .ast-archive-description .page-title { font-family: var(--mgl-ui); }
.blog .ast-archive-description, .archive .ast-archive-description { background: var(--mgl-paper); }

/* ---------- Blog finder (blog page, topics and tags): heading band, search, topic links, sort, page links ---------- */
.mgl-blog-head { background: var(--mgl-paper); padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 3.5vw, 40px); }
.mgl-blog-head__inner { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.mgl-blog-back { margin: 0 0 10px; font-family: var(--mgl-ui); font-size: 14px; color: var(--mgl-text); }
.mgl-blog-back a { color: var(--mgl-link); }
.mgl-blog-title { margin: 0 0 12px; }
.mgl-blog-intro { max-width: 40rem; margin: 0 0 24px; }
.mgl-blog-search { max-width: 40rem; margin: 0 0 24px; }
.mgl-blog-search__label, .mgl-blog-topics__label { display: block; font-family: var(--mgl-ui); font-weight: 600; font-size: 15px; color: var(--mgl-ink); margin: 0 0 8px; }
.mgl-blog-search__row { display: flex; gap: 8px; }
.mgl-blog-search input[type="search"] { flex: 1; min-width: 0; min-height: 48px; padding: 10px 14px; border: 1px solid color-mix(in srgb, var(--mgl-rule) 70%, transparent); border-radius: 8px; background: #fff; color: var(--mgl-ink); font-family: var(--mgl-ui); font-size: 16px; }
.mgl-blog-search input[type="search"]::placeholder { color: var(--mgl-text); opacity: .8; }
.mgl-blog-search input[type="search"]:focus { border-color: var(--mgl-link); outline: 2px solid var(--mgl-link); outline-offset: 1px; }
.mgl-blog-search__button { min-height: 48px; padding: 10px 24px; border-radius: 26px; }
.mgl-blog-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
/* Topic links share the shop's chip look */
.mgl-blog-topics .mgl-chip { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--mgl-rule) 55%, transparent); background: #fff; color: var(--mgl-ink); font-family: var(--mgl-ui); font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; }
.mgl-blog-topics .mgl-chip:hover { border-color: var(--mgl-ink); color: var(--mgl-ink); }
.mgl-blog-topics .mgl-chip[aria-current="page"] { background: var(--mgl-green); border-color: var(--mgl-green); color: #000; }
.mgl-blog-topics .mgl-chip__count { font-weight: 500; opacity: .75; }
/* Phones: topics become one swipeable row so the posts stay near the top */
@media (max-width: 767.98px) {
	.mgl-blog-topics { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 0 20px 6px; scroll-padding-inline: 20px; scrollbar-width: thin; }
	.mgl-blog-topics .mgl-chip { flex: 0 0 auto; }
	.mgl-blog-search { margin-bottom: 18px; }
	/* Page links: numbers on one row, Previous and Next sharing the row below */
	.ast-pagination .prev.page-numbers { order: 10; flex: 1 1 40%; width: auto; }
	.ast-pagination .next.page-numbers { order: 11; flex: 1 1 40%; width: auto; }
}
/* Tablets: two posts per row (Customizer > Blog sets 3 / 2 / 1, but Astra only applies the tablet value to boxed layouts) */
@media (min-width: 545px) and (max-width: 921px) {
	.ast-plain-container #primary.ast-grid-md-2 .ast-row > .ast-article-post { width: 50%; }
}
/* Less space above the posts: the band already opens the page */
.blog #primary, .category #primary, .tag #primary { margin-top: 32px; }
.mgl-blog-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 0 0 28px; padding-bottom: 16px; border-bottom: 1px solid color-mix(in srgb, var(--mgl-rule) 35%, transparent); font-family: var(--mgl-ui); font-size: 15px; }
.mgl-blog-count { margin: 0; color: var(--mgl-text); }
.mgl-blog-clear { margin-left: 10px; color: var(--mgl-link); font-weight: 600; }
.mgl-blog-sort { display: flex; align-items: center; gap: 10px; margin: 0; }
.mgl-blog-sort label { font-weight: 600; color: var(--mgl-ink); margin: 0; white-space: nowrap; }
.mgl-blog-sort select { min-height: 44px; padding: 8px 36px 8px 12px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--mgl-rule) 55%, transparent); background-color: #fff; color: var(--mgl-ink); font: inherit; }
.mgl-blog-sort__apply { min-height: 44px; padding: 8px 18px; border-radius: 26px; }
/* With the script on, the Sort button only shows when a keyboard user tabs to it */
.mgl-blog-sort.is-enhanced .mgl-blog-sort__apply:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Page links: round 44px targets, current page in hero green */
.blog .ast-pagination, .category .ast-pagination, .tag .ast-pagination { margin-top: 40px; }
.ast-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.ast-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin: 0; padding: 0 14px; border: 1px solid color-mix(in srgb, var(--mgl-rule) 55%, transparent); border-radius: 999px; background: #fff; color: var(--mgl-ink); font-family: var(--mgl-ui); font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; }
.ast-pagination a.page-numbers:hover { border-color: var(--mgl-ink); color: var(--mgl-ink); }
.ast-pagination .nav-links .page-numbers.current { background: var(--mgl-green); border-color: var(--mgl-green); border-radius: 999px; color: #000; }
.ast-pagination .page-numbers.dots { border-color: transparent; background: none; min-width: 24px; padding: 0; }
.ast-pagination .prev.page-numbers, .ast-pagination .next.page-numbers { float: none; gap: 6px; padding: 0 18px; border-color: transparent; background: none; }
/* Previous and Next are plain text links: no pill, underline on hover */
.ast-pagination a.prev.page-numbers:hover, .ast-pagination a.next.page-numbers:hover { border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
.mgl-page-of { margin: 12px 0 0; text-align: center; font-family: var(--mgl-ui); font-size: 14px; color: var(--mgl-text); }
/* Keyboard focus on the finder's links, buttons and menus (Astra's button styles would otherwise hide it) */
.mgl-blog-head :is(a, button):focus-visible, .mgl-blog-bar :is(a, button, select):focus-visible, .ast-pagination a.page-numbers:focus-visible, .mgl-blog-empty a:focus-visible { outline: 3px solid var(--mgl-link); outline-offset: 3px; }
/* Nothing found */
.mgl-blog-empty { max-width: 40rem; margin: 8px 0 24px; }
.mgl-blog-empty h2 { margin-bottom: 12px; }

/* ---------- Mobile ---------- */
@media (max-width: 781px) {
	.mgl-coin-photo { max-width: 300px; }
	.mgl-hero-photo img { aspect-ratio: 4 / 3; object-position: 50% 35%; }
	.mgl-hero .mgl-lead { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Services and Shop product pages (Nov. 7) ---------- */
/* Numbered steps (only for a real sequence, like "how working with us works"): a gold coin carries the number */
.entry-content .mgl-steps, .mgl-steps { list-style: none; padding-left: 0; margin-left: 0; counter-reset: mgl-step; }
.mgl-steps li { position: relative; padding-left: 2.75em; margin-bottom: 1.1em; counter-increment: mgl-step; }
.mgl-steps li::before { content: counter(mgl-step); position: absolute; left: 0; top: -0.1em; width: 1.9em; height: 1.9em; display: grid; place-items: center; border-radius: 50%; background: var(--mgl-gold); box-shadow: inset 0 0 0 2px var(--mgl-gold-edge); font-family: var(--mgl-ui); font-weight: 700; font-size: 0.92em; line-height: 1; color: #000; }
.mgl-steps li strong:first-child { font-family: var(--mgl-ui); color: var(--mgl-ink); }
/* Long step lists: one 55ch column below 1024px; from 1024px two columns, read down the first column, then the second */
.mgl-steps.mgl-two-col { max-width: 55ch; }
@media (min-width: 1024px) { .mgl-steps.mgl-two-col { max-width: none; columns: 2; column-gap: 48px; } }
.mgl-steps.mgl-two-col li { break-inside: avoid; }
.mgl-steps.mgl-two-col li::before { top: 0; } /* nothing above the item, so the coin isn't split across the column break */
/* Service cards: the heading is the link to the service page */
.entry-content .mgl-grid h3 a { color: var(--mgl-ink); text-decoration: none; }
.entry-content .mgl-grid h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
/* Shop product pages: the price under the lead */
.mgl-price { font-family: var(--mgl-ui); font-size: 1.4rem; font-weight: 700; color: var(--mgl-ink); }
.mgl-price .mgl-price-note { display: block; margin-top: 4px; font-size: 0.95rem; font-weight: 400; color: var(--mgl-text); }
.mgl-order-note { font-family: var(--mgl-ui); font-size: 0.95rem; color: var(--mgl-text); }
/* A subheading after body text (FAQs) gets more room above it than below */
.mgl-inner > :is(p, ul, ol, .wp-block-columns, .wp-block-spectra-buttons) + h3 { margin-top: 2rem; }

/* ---------- Closing call to action (the last band before the footer, Nov. 7) ----------
   Hero green with black text and a black button, so it stands apart from the black footer. 10.6:1 text contrast. */
.mgl-cta-band { background: var(--mgl-green); color: #000; }
.mgl-cta-band :is(h1, h2, h3, h4, p, li, cite) { color: #000; }
.mgl-cta-band a:not(.wp-element-button) { color: #000; }
/* Buttons on the green band use the forest green of the dark bands; text on the band stays black (forest text on green is under 4.5:1) */
.mgl-cta-band .wp-block-spectra-button.wp-element-button { background: var(--mgl-forest); color: #fff; }
.mgl-cta-band .wp-block-spectra-button.wp-element-button:hover { background: var(--mgl-gold); color: #000; }
.mgl-cta-band .wp-block-spectra-button.mgl-btn-secondary { background: transparent; color: #000; box-shadow: inset 0 0 0 2px var(--mgl-forest); }
.mgl-cta-band .wp-block-spectra-button.mgl-btn-secondary:hover { background: var(--mgl-gold); color: #000; box-shadow: inset 0 0 0 2px var(--mgl-gold); }
.mgl-cta-band :where(a, button):focus-visible, .mgl-cta-band .wp-block-spectra-button:focus-visible { outline-color: #000; }

/* Service cards with a button (Services page): the buttons line up along the bottom of the row */
.wp-block-columns.mgl-cards > .wp-block-column { display: flex; flex-direction: column; }
.mgl-grid.mgl-cards .wp-block-column > .wp-block-spectra-buttons { margin-top: auto; padding-top: 1.5rem; }
/* Text links inside the dark call card (e.g. "Total Grants Management") */
.entry-content .mgl-offer--call .mgl-offer__text a { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.entry-content .mgl-offer--call .mgl-offer__text a:hover { color: var(--mgl-gold); text-decoration-thickness: 2px; }
/* Hiring tips on /grant-writer/: the guide's cover beside the form; the form sits on the page, not in a second panel */
.mgl-tips-cover img { display: block; width: 100%; max-width: 380px; height: auto; margin: 0 auto; border-radius: 16px; }
.entry-content .mgl-offer.mgl-offer--page { margin-top: 1.5rem; padding: 0; background: none; box-shadow: none; }
/* Inside a white form card (landing pages), the form sits right under the card heading and its button spans the card, like the Grants Report and newsletter cards */
.entry-content .mgl-report-form .mgl-offer.mgl-offer--page { margin-top: 0; }
.entry-content .mgl-report-form .mgl-offer [data-ff-el="root"] .fd-btn { width: 100%; }

/* ---------- AI Engine chatbot (site-wide popup, Nov. 11): MGL greens instead of the theme's blue ---------- */
.mwai-timeless-theme {
	--mwai-accentColor: #1a4d2e;
	--mwai-bubbleColor: #1a4d2e;
	--mwai-linkColor: #1a4d2e;
	--mwai-backgroundHeaderColor: #1a4d2e;
	--mwai-backgroundUserColor: #1a4d2e;
	--mwai-iconTextBackgroundColor: #1a4d2e;
	--mwai-iconTextColor: #ffffff;
}
.mwai-timeless-theme .mwai-reply a { text-decoration: underline; font-weight: 600; }
.mwai-timeless-theme .mwai-compliance a { color: #1a4d2e; text-decoration: underline; }
/* Launcher: the woman from the logo (Media Library "MGL chat launcher", made by _site-tools/chat-icon), with a soft shadow so she reads on light and green bands */
.mwai-timeless-theme .mwai-open-button img.mwai-icon {
	width: auto;
	height: 92px;
	object-fit: contain;
	filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.9)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.28));
	transition: transform 0.2s ease;
}
.mwai-timeless-theme .mwai-open-button:hover img.mwai-icon { transform: translateY(-2px) scale(1.04); }
/* Chat badge: a green speech bubble at her face (she faces right), its pointed corner toward her, so she looks like she's talking and visitors see she's a chat. It pulses twice on page load (not for reduced motion) */
.mwai-timeless-theme .mwai-open-button .mwai-icon-container { position: relative; }
.mwai-timeless-theme .mwai-open-button .mwai-icon-container::after {
	content: "";
	position: absolute;
	top: -10px;
	right: -24px;
	width: 34px;
	height: 34px;
	border-radius: 50% 50% 50% 6px;
	border: 2px solid #fff;
	background: #1a4d2e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20.5l1.4-5.1A8 8 0 1 1 21 12z'/%3E%3Ccircle cx='8.5' cy='12' r='0.6' fill='%23ffffff'/%3E%3Ccircle cx='12.5' cy='12' r='0.6' fill='%23ffffff'/%3E%3Ccircle cx='16.5' cy='12' r='0.6' fill='%23ffffff'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	pointer-events: none;
	animation: mgl-chat-badge-pulse 1.6s ease-in-out 1.5s 2;
}
@keyframes mgl-chat-badge-pulse {
	0%, 100% { transform: scale(1); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(58, 179, 73, 0.6); }
	50% { transform: scale(1.12); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(58, 179, 73, 0); }
}
@media (prefers-reduced-motion: reduce) {
	.mwai-timeless-theme .mwai-open-button .mwai-icon-container::after { animation: none; }
}
/* Chat window header: the name "MGL AI Guide" once, in the large row. Hidden: the logo icon, the subtitle,
   and the small duplicate title in the top bar (the close and minimize buttons stay) */
body .mwai-chat.mwai-timeless-theme .mwai-header .mwai-avatar,
body .mwai-chat.mwai-timeless-theme .mwai-header .mwai-subtitle,
body .mwai-chat.mwai-timeless-theme .mwai-header .mwai-osx-title { display: none !important; }
/* Limit messages ("Thanks for all your questions today...") arrive as AI Engine errors; show them like a normal reply, not a pink warning */
body .mwai-timeless-theme .mwai-conversation .mwai-reply.mwai-error {
	border: 0;
	background: var(--mwai-backgroundAiColor);
	color: var(--mwai-fontColor);
	border-radius: var(--mwai-borderRadius);
	border-bottom-left-radius: calc(var(--mwai-borderRadius) / 3);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mwai-fontColor) 5%, transparent), 0 1px 2px color-mix(in srgb, var(--mwai-fontColor) 6%, transparent);
}
body .mwai-timeless-theme .mwai-conversation .mwai-reply.mwai-error .mwai-text { color: var(--mwai-fontColor); }
body .mwai-timeless-theme .mwai-conversation .mwai-reply.mwai-error .mwai-text a { color: #1a4d2e; font-weight: 600; text-decoration: underline; }
/* Astra's scroll-to-top button moves to the bottom-left corner, so the chat launcher and its
   "Questions about working with Alex?" bubble have the bottom-right corner to themselves */
#ast-scroll-top.ast-scroll-to-top-right { right: auto; left: 8px; }
.mwai-timeless-theme .mwai-visitor-form-submit-button { background: #3ab349; color: #000; border: 0; border-radius: 26px; padding: 10px 20px; font-weight: 600; cursor: pointer; }
.mwai-timeless-theme .mwai-visitor-form-submit-button:hover { background: #1a4d2e; color: #fff; }

/* Comparison table (synced pattern on Hire a Grant Writer, Services and Total Grants Management): plain ruled rows in the site's type; a green rule under the header row.
   The table uses a fixed layout, so column widths come from the header row: the narrow first column holds the row labels. */
.entry-content .mgl-compare { margin: 0; overflow-x: auto; }
.entry-content .mgl-compare table { width: 100%; border: 0; border-collapse: collapse; font-size: 1rem; line-height: 1.55; }
.entry-content .mgl-compare :is(th, td) { padding: 14px 16px; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--mgl-rule) 40%, transparent); background: transparent; text-align: left; vertical-align: top; }
.entry-content .mgl-compare thead th { font-family: var(--mgl-ui); font-weight: 700; color: var(--mgl-ink); border-bottom: 3px solid var(--mgl-green); }
.entry-content .mgl-compare thead th:first-child { width: 24%; }
.entry-content .mgl-compare tbody th { font-family: var(--mgl-ui); font-weight: 600; color: var(--mgl-ink); }
@media (max-width: 599.98px) {
	.entry-content .mgl-compare :is(th, td) { padding: 12px 6px; font-size: .95rem; }
	.entry-content .mgl-compare tr > :first-child { padding-left: 0; }
	.entry-content .mgl-compare tr > :last-child { padding-right: 0; }
	.entry-content .mgl-compare thead th:first-child { width: 29%; }
}

/* HoneyBook form popup, opened from chatbot links (assets/chat-contact.js) */
.mgl-hb-dialog { width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); overflow: hidden; }
.mgl-hb-dialog::backdrop { background: rgba(0, 0, 0, 0.55); }
.mgl-hb-dialog[open] { display: flex; flex-direction: column; }
.mgl-hb-dialog__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: #1a4d2e; color: #fff; }
.mgl-hb-dialog__title { margin: 0; font-family: var(--mgl-ui); font-size: 17px; font-weight: 600; color: #fff; }
.mgl-hb-dialog__close { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.mgl-hb-dialog__close:hover, .mgl-hb-dialog__close:focus-visible { background: rgba(255, 255, 255, 0.15); }
.mgl-hb-dialog__loading { margin: 24px 8px; font-family: var(--mgl-ui); font-size: 16px; color: #555; }
.mgl-hb-dialog.is-loaded .mgl-hb-dialog__loading { display: none; }
/* HoneyBook sizes its form a few seconds after it loads; until then, give it room so the fields show */
.mgl-hb-dialog__body iframe { min-height: 640px; }
.mgl-hb-dialog__body { flex: 1; min-height: 200px; padding: 8px 12px 12px; overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Theme patterns: mgl-stack (keep this rule last) ----------
   Spectra containers clear their children's top margins with a rule of this same weight (body + one class),
   printed after this stylesheet; stronger theme rules (2rem above a row of columns, above a subheading) still apply.
   Being last here, this does the same for sections inserted from the theme patterns, so they space like the rest of the site. */
body .mgl-stack > * { margin-top: 0; }
