/* Homepage v1.5: measurements from approved source, with native editable blocks. */
.mgh-home { padding-block-start: var(--mgh-space-5); padding-block-end: var(--mgh-guides-after-space); margin-block-start: 0; }
.mgh-home :where(h1,h2,h3,p,figure) { margin-block: 0; }
.wp-block-group.mgh-home :where(.is-layout-flow) > * { margin-block: 0; }
.wp-block-group.mgh-home > * { margin-block-start: 0; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-home-section { margin-block-start: var(--mgh-space-16); }
.mgh-home a { text-decoration: none; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-hero.wp-block-cover { position: relative; display: flex; align-items: center; isolation: isolate; min-block-size: 436px; padding: 0; border: 1px solid var(--mgh-color-border); border-radius: 26px; background: var(--mgh-color-bg-tinted); overflow: hidden; box-shadow: var(--mgh-shadow-sm); color: var(--mgh-color-text); }
:is(.mgh-home, .editor-styles-wrapper) .mgh-hero .wp-block-cover__inner-container { position: relative; width: 100%; z-index: 2; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-hero .wp-block-cover__image-background { position: absolute; inset: 0 auto 0 0; inline-size: 62%; block-size: 100%; object-fit: cover; object-position: center; mask-image: linear-gradient(to right, #000 62%, transparent 100%); }
:is(.mgh-home, .editor-styles-wrapper) .mgh-hero .mgh-hero-default-image { object-position: 25% 49%; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-hero .wp-block-cover__background { position: absolute; inset: 0; opacity: 0; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-hero-content { padding: 61px clamp(28px, 4.2vw, 60px) 68px; inline-size: min(54%, 680px); }
:is(.mgh-home, .editor-styles-wrapper) .mgh-hero-content > * + * { margin-block-start: var(--mgh-space-3); }
:is(.mgh-home, .editor-styles-wrapper) .mgh-hero-eyebrow { font-size: var(--mgh-text-xs); font-weight: 700; color: var(--mgh-color-brand); }
:is(.mgh-home, .editor-styles-wrapper) .mgh-hero h1 { font-size: clamp(32px,3.1vw,45px); line-height: 1.45; font-weight: 800; color: var(--mgh-color-text-heading); letter-spacing: -.8px; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-hero-description { font-size: var(--mgh-type-category-label); color: var(--mgh-color-text-secondary); line-height: 2.05; max-inline-size: 470px; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-hero-actions { display: flex; flex-wrap: wrap; gap: var(--mgh-space-3); margin-block-start: var(--mgh-space-6); }
:is(.mgh-home, .editor-styles-wrapper) .mgh-hero-actions > * { min-inline-size: 0; margin: 0; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-hero-actions .mgh-button { font-size: var(--mgh-text-sm); text-align: center; overflow-wrap: anywhere; }
.mgh-hero-service-link .mgh-button:not(.mgh-unavailable) { background: transparent; color: var(--mgh-color-brand); }
.mgh-hero-service-link .mgh-button:not(.mgh-unavailable):hover { background: var(--mgh-color-brand-soft); }
:is(.mgh-home, .editor-styles-wrapper) .mgh-unavailable { background: var(--mgh-color-bg-alt); color: var(--mgh-color-text-secondary); border-color: var(--mgh-color-border); cursor: default; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-benefits { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-block-start: 18px; border: 1px solid var(--mgh-color-border); background: var(--mgh-color-surface-hover); border-radius: 22px; overflow: hidden; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-benefit { display: flex; align-items: center; justify-content: center; gap: var(--mgh-space-3); min-block-size: 86px; padding: 13px 14px; margin: 0; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-benefit:not(:last-child) { border-inline-end: 1px solid var(--mgh-color-border); }
:is(.mgh-home, .editor-styles-wrapper) .mgh-benefit-icon { display: grid; place-items: center; flex: none; inline-size: 50px; block-size: 50px; border-radius: 15px; background: var(--mgh-color-brand-soft); color: var(--mgh-color-brand); }
:is(.mgh-home, .editor-styles-wrapper) .mgh-benefit-copy { margin: 0; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-benefit-copy p:first-child { font-size: var(--mgh-type-benefit-title); line-height: 1.55; color: var(--mgh-color-text-heading); }
:is(.mgh-home, .editor-styles-wrapper) .mgh-benefit-copy p + p { font-size: var(--mgh-type-benefit-subtitle); line-height: 1.65; color: var(--mgh-color-text-secondary); margin: 0; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-home-heading { margin-block-end: 19px; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-home-heading .mgh-section-kicker { font-size: var(--mgh-type-product-caption); color: var(--mgh-color-text-secondary); }
:is(.mgh-home, .editor-styles-wrapper) .mgh-home-heading h2 { display: flex; align-items: center; gap: 10px; font-size: var(--mgh-text-2xl); font-weight: 800; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-home-heading h2::before { content: ''; inline-size: 4px; block-size: 26px; flex: none; border-radius: 3px; background: var(--mgh-color-brand); }
:is(.mgh-home, .editor-styles-wrapper) .mgh-category-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 14px; }
.mgh-category-frame { position: relative; border: 1px solid var(--mgh-color-border); border-radius: var(--mgh-category-card-radius); background: var(--mgh-color-surface-hover); overflow: clip; }
.mgh-category-image { display: grid; place-items: center; }
.mgh-category-image:has(img) { grid-template: minmax(0,1fr) / minmax(0,1fr); padding: 5px; }
.mgh-category-image img { display: block; inline-size: 100%; block-size: 100%; object-fit: contain; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-category-card { display: flex; aspect-ratio: 5 / 6; min-inline-size: 0; flex-direction: column; justify-content: center; gap: var(--mgh-category-image-label-gap); color: var(--mgh-color-text); font-size: var(--mgh-type-category-label); font-weight: var(--mgh-font-weight-bold); line-height: 1.5; text-align: center; overflow-wrap: anywhere; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-category-card:has(img) { gap: 0; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-category-image:has(img) { flex: 1 0 var(--mgh-target-min); min-block-size: 0; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-category-label { position: relative; flex: none; padding-block: var(--mgh-space-1) var(--mgh-space-3); padding-inline: var(--mgh-space-2); }
:is(.mgh-home, .editor-styles-wrapper) .mgh-category-card:has(img) .mgh-category-label {
 --mgh-category-overlay: color-mix(in srgb, var(--mgh-color-surface-hover) 90%, transparent);
 background: var(--mgh-color-surface-hover);
 background: var(--mgh-category-overlay);
}
:is(.mgh-home, .editor-styles-wrapper) .mgh-category-card:has(img) .mgh-category-label::before { content: ''; position: absolute; inset-inline: 0; inset-block-end: 100%; block-size: var(--mgh-space-2); background: linear-gradient(to top, var(--mgh-category-overlay), transparent); pointer-events: none; }
:is(.mgh-home, .editor-styles-wrapper, .mgh-catalog, .mgh-account-wishlist) .mgh-media-placeholder { display: grid; place-items: center; inline-size: 100%; block-size: 100%; min-block-size: 44px; color: var(--mgh-color-icon-muted); background: var(--mgh-color-bg-alt); }
:is(.mgh-home, .editor-styles-wrapper) .mgh-product-grid { --mgh-scroller-default-gap-mobile: 10px; }
:is(.mgh-home, .editor-styles-wrapper, .mgh-catalog, .mgh-account-wishlist) .mgh-product-card { position: relative; container-type: inline-size; display: flex; flex-direction: column; min-inline-size: 0; border: 1px solid var(--mgh-color-border); border-radius: var(--mgh-product-card-radius); background: var(--mgh-color-surface); overflow: hidden; box-shadow: var(--mgh-shadow-xs); }
:is(.mgh-home, .editor-styles-wrapper, .mgh-catalog, .mgh-account-wishlist) .mgh-product-card-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
:is(.mgh-home, .editor-styles-wrapper, .mgh-catalog, .mgh-account-wishlist) .mgh-product-card-link:focus-visible { outline-offset: -3px; }
:is(.mgh-home, .editor-styles-wrapper, .mgh-catalog, .mgh-account-wishlist) .mgh-product-visual { position: relative; aspect-ratio: 1; background: var(--mgh-color-bg-alt); border-block-end: 1px solid var(--mgh-color-divider); }
:is(.mgh-home, .editor-styles-wrapper, .mgh-catalog, .mgh-account-wishlist) .mgh-product-visual > img { display: block; inline-size: 100%; block-size: 100%; object-fit: contain; }
:is(.mgh-home, .editor-styles-wrapper, .mgh-catalog, .mgh-account-wishlist) .mgh-product-visual > img:not(.woocommerce-placeholder) { object-fit: cover; }
:is(.mgh-home, .editor-styles-wrapper, .mgh-catalog, .mgh-account-wishlist) .mgh-stock { position: absolute; inset-inline-end: 12px; inset-block-start: 13px; padding: 2px 9px; border-radius: var(--mgh-radius-pill); background: var(--mgh-color-bg-alt); color: var(--mgh-color-text-secondary); font-size: var(--mgh-type-product-caption); }
:is(.mgh-home, .editor-styles-wrapper, .mgh-catalog, .mgh-account-wishlist) .mgh-stock.is-instock { background: var(--mgh-success-bg); color: var(--mgh-success); }
:is(.mgh-home, .editor-styles-wrapper, .mgh-catalog, .mgh-account-wishlist) .mgh-favorite { position: absolute; inset-inline-start: 12px; inset-block-start: 12px; z-index: 3; display: grid; place-items: center; inline-size: var(--mgh-card-wishlist-size); block-size: var(--mgh-card-wishlist-size); min-block-size: 0; border: 1px solid var(--mgh-color-border); border-radius: 50%; background: var(--mgh-color-surface); color: var(--mgh-color-text-heading); cursor: default; }
/* Expand the hit area around the circle inside the card's existing corner inset. */
.mgh-product-card button.mgh-favorite::before { content: ''; position: absolute; inset: calc((var(--mgh-card-wishlist-size) - var(--mgh-target-min)) / 2 - 1px); }
.mgh-product-card .mgh-favorite svg { inline-size: var(--mgh-card-wishlist-icon); block-size: var(--mgh-card-wishlist-icon); }
:is(.mgh-home, .editor-styles-wrapper, .mgh-catalog, .mgh-account-wishlist) .mgh-product-body { display: flex; flex-direction: column; flex: 1; padding: 17px 17px 16px; }
:is(.mgh-home, .editor-styles-wrapper, .mgh-catalog, .mgh-account-wishlist) .mgh-product-caption { font-size: var(--mgh-type-product-caption); color: var(--mgh-color-text-secondary); margin-block-end: 5px; }
:is(.mgh-home, .editor-styles-wrapper, .mgh-catalog, .mgh-account-wishlist) .mgh-product-body h3 { font-size: var(--mgh-type-category-label); line-height: 1.75; margin-block: 0; overflow-wrap: anywhere; }
:is(.mgh-home, .editor-styles-wrapper, .mgh-catalog, .mgh-account-wishlist) .mgh-product-price { color: var(--mgh-color-brand); margin-block-start: auto; padding-block-start: var(--mgh-space-2); font-weight: 800; font-size: clamp(18px,1.5vw,21px); }
:is(.mgh-home, .editor-styles-wrapper, .mgh-catalog, .mgh-account-wishlist) .mgh-product-price :where(del, .woocommerce-price-suffix) { font-size: var(--mgh-type-product-caption); color: var(--mgh-color-text-secondary); }
:is(.mgh-home, .editor-styles-wrapper, .mgh-catalog, .mgh-account-wishlist) .mgh-product-price ins { text-decoration: none; }
:is(.mgh-home, .editor-styles-wrapper, .mgh-catalog, .mgh-account-wishlist) .mgh-product-price .amount { display: inline-block; unicode-bidi: isolate; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-service-panel { display: grid; direction: ltr; grid-template-columns: minmax(0,1fr) minmax(0,1fr); min-block-size: 275px; border: 1px solid var(--mgh-color-border); border-radius: var(--mgh-radius-xl); overflow: hidden; background: var(--mgh-color-bg-tinted); }
:is(.mgh-home, .editor-styles-wrapper) .mgh-service-copy { direction: rtl; grid-column: 2; grid-row: 1; min-inline-size: 0; display: flex; flex-direction: column; align-items: start; justify-content: center; padding: 41px 48px; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-service-copy > * { margin-block: 0; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-service-kicker { font-size: var(--mgh-text-xs); font-weight: 700; color: var(--mgh-color-brand); }
:is(.mgh-home, .editor-styles-wrapper) .mgh-service-copy h2 { font-size: clamp(22px,2.1vw,28px); line-height: 1.5; font-weight: 800; margin-block-start: var(--mgh-space-2); }
:is(.mgh-home, .editor-styles-wrapper) .mgh-service-copy p:not(.mgh-service-kicker) { font-size: var(--mgh-text-sm); line-height: 1.9; color: var(--mgh-color-text-secondary); margin-block: 12px 19px; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-service-copy .mgh-button { font-size: var(--mgh-text-sm); white-space: normal; text-align: center; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-service-panel .mgh-service-picture { position: relative; grid-column: 1; grid-row: 1; align-self: stretch; inline-size: 100%; min-block-size: 0; margin: 0; padding: 0; border: 0; border-radius: 0; overflow: hidden; background: var(--mgh-color-brand-border); mask-image: linear-gradient(to right,#000 0%,#000 74%,transparent 100%); -webkit-mask-image: linear-gradient(to right,#000 0%,#000 74%,transparent 100%); }
:is(.mgh-home, .editor-styles-wrapper) .mgh-service-panel .mgh-service-picture .wp-block-image, :is(.mgh-home, .editor-styles-wrapper) .mgh-service-panel .mgh-service-picture img { display: block; position: absolute; inset: 0; inline-size: 100%; block-size: 100%; margin: 0; border: 0; padding: 0; border-radius: 0; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-service-panel .mgh-service-picture img { object-fit: cover; object-position: 40% center; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-brand-strip { display: flex; flex-wrap: wrap; justify-content: space-evenly; align-items: center; gap: var(--mgh-space-5); min-block-size: 102px; padding: 18px 32px; border: 1px solid var(--mgh-color-border); border-radius: var(--mgh-radius-lg); background: var(--mgh-color-surface-hover); }
:is(.mgh-home, .editor-styles-wrapper) .mgh-brand-strip > * { margin: 0; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-brand-strip p { font-size: var(--mgh-text-xl); font-weight: 800; color: var(--mgh-color-text-secondary); }
:is(.mgh-home, .editor-styles-wrapper) .mgh-brand-strip img { display: block; max-inline-size: 140px; max-block-size: 64px; object-fit: contain; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-brand-strip:not(:has(img)):not(:has(p:not(:empty))) { display: none; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-guides { margin-block-start: 56px; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-home-empty { padding: var(--mgh-space-6); border: 1px solid var(--mgh-color-border); border-radius: var(--mgh-radius-lg); color: var(--mgh-color-text-secondary); font-size: var(--mgh-text-sm); }
/* The editor adds a selection wrapper around the rendered dynamic figure. */
.editor-styles-wrapper .mgh-service-panel > .wp-block-mgh-home-service-image { position: relative; grid-area: 1 / 1; min-inline-size: 0; margin: 0; }
.editor-styles-wrapper .mgh-service-panel .wp-block-mgh-home-service-image .mgh-service-picture { position: absolute; inset: 0; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-service-panel .mgh-service-picture img.mgh-service-default-image { object-position: center top; }
.editor-styles-wrapper .mgh-service-panel .mgh-service-picture { direction: rtl; }
/* Keep empty image/brand insertion controls usable in saved layouts. */
.editor-styles-wrapper .mgh-service-picture .wp-block-image { position: relative; min-block-size: 275px; }
.editor-styles-wrapper .mgh-brand-strip { display: flex !important; }
@media (min-width:768px) and (max-width:1023px) {
 :is(.mgh-home, .editor-styles-wrapper) .mgh-category-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-benefit { flex-direction: column; text-align: center; }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-service-copy { padding: var(--mgh-space-6); }
}
@media (max-width:767px) {
 .mgh-home { padding-block-start: 10px; padding-block-end: var(--mgh-guides-after-space-mobile); }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-home-section { margin-block-start: var(--mgh-space-10); }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-hero.wp-block-cover { flex-direction: column; justify-content: center; min-block-size: 260px; border-radius: 19px; }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-hero > img.wp-block-cover__image-background { position: relative; inset: auto; inline-size: 100%; block-size: clamp(128px, 42vw, 240px); flex: none; mask-image: linear-gradient(to bottom, #000 82%, transparent); }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-hero-content { inline-size: 100%; padding: 10px 17px 17px; }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-hero-content > * + * { margin-block-start: 6px; }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-hero h1 { font-size: var(--mgh-type-mobile-hero-title); line-height: 1.3; letter-spacing: 0; }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-hero-description { font-size: var(--mgh-type-mobile-hero-description); line-height: 1.6; }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-hero-eyebrow { font-size: var(--mgh-type-product-caption); }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-hero-actions { margin-block-start: 9px; }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-hero-actions .mgh-button { font-size: var(--mgh-text-xs); padding-inline: var(--mgh-space-3); }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-benefits { grid-template-columns: repeat(2,minmax(0,1fr)); margin-block-start: 13px; border-radius: 17px; }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-benefit { min-block-size: 78px; padding: 10px 8px; gap: 9px; justify-content: start; }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-benefit:nth-child(-n+2) { border-block-end: 1px solid var(--mgh-color-border); }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-benefit:nth-child(2) { border-inline-end: 0; }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-benefit-icon { inline-size: 37px; block-size: 37px; border-radius: 12px; }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-benefit-icon svg { inline-size: 20px; block-size: 20px; }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-home-heading { margin-block-end: 14px; }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-home-heading h2 { font-size: var(--mgh-text-lg); gap: var(--mgh-space-2); }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-home-heading h2::before { inline-size: 3px; block-size: 19px; }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-category-card { border-radius: 14px; }
 :is(.mgh-home, .editor-styles-wrapper, .mgh-catalog, .mgh-account-wishlist) .mgh-product-card { border-radius: 16px; }
 :is(.mgh-home, .editor-styles-wrapper, .mgh-catalog, .mgh-account-wishlist) .mgh-stock { inset-inline-end: 7px; inset-block-start: 8px; padding-inline: 7px; }
 :is(.mgh-home, .editor-styles-wrapper, .mgh-catalog, .mgh-account-wishlist) .mgh-favorite { --mgh-card-wishlist-size: var(--mgh-card-wishlist-size-mobile); inset-inline-start: 7px; inset-block-start: 7px; }
 :is(.mgh-home, .editor-styles-wrapper, .mgh-catalog, .mgh-account-wishlist) .mgh-product-body { padding: 11px 10px 10px; }
 :is(.mgh-home, .editor-styles-wrapper, .mgh-catalog, .mgh-account-wishlist) .mgh-product-body h3 { font-size: var(--mgh-text-xs); line-height: 1.72; }
 :is(.mgh-home, .editor-styles-wrapper, .mgh-catalog, .mgh-account-wishlist) .mgh-product-price { font-size: clamp(var(--mgh-text-xs), 9.6cqi, 1.0625rem); }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-service-panel { min-block-size: 210px; border-radius: 20px; }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-service-copy { padding: 14px 11px 16px 12px; }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-service-kicker { font-size: var(--mgh-text-xs); }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-service-copy h2 { font-size: clamp(15px,4.1vw,18px); line-height: 1.52; margin-block-start: 5px; }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-service-copy p:not(.mgh-service-kicker) { font-size: var(--mgh-type-benefit-subtitle); line-height: 1.75; margin-block: 7px 10px; }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-service-copy .mgh-button { font-size: var(--mgh-text-xs); padding-inline: 9px; }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-service-panel .mgh-service-picture img { object-position: 35% center; }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-brand-strip { gap: var(--mgh-space-3); padding: var(--mgh-space-4); }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-brand-strip p { font-size: var(--mgh-text-md); }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-brand-strip img { max-inline-size: 100px; }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-guides { margin-block-start: 43px; }
}
@media (max-width:375px) {
 :is(.mgh-home, .editor-styles-wrapper) .mgh-benefit { flex-direction: column; text-align: center; gap: 5px; }
 :is(.mgh-home, .editor-styles-wrapper) .mgh-hero-content { padding-inline: 14px; }
}

:is(.mgh-home, .editor-styles-wrapper) .mgh-brands:not(:has(img)):not(:has(.mgh-brand-strip p:not(:empty))) { display: none; }
.editor-styles-wrapper .mgh-brands { display: block !important; }

:is(.wp-block-group.mgh-home, .mgh-home-content) > .mgh-home-section { margin-block-start: var(--mgh-space-16); }
:is(.wp-block-group.mgh-home, .mgh-home-content) > .mgh-benefits { margin-block-start: 18px; }
:is(.wp-block-group.mgh-home, .mgh-home-content) > .mgh-guides { margin-block-start: 56px; }
@media (max-width:767px) { :is(.wp-block-group.mgh-home, .mgh-home-content) > .mgh-home-section { margin-block-start: var(--mgh-space-10); } :is(.wp-block-group.mgh-home, .mgh-home-content) > .mgh-benefits { margin-block-start: 13px; } :is(.wp-block-group.mgh-home, .mgh-home-content) > .mgh-guides { margin-block-start: 43px; } }
:is(.mgh-home, .editor-styles-wrapper) .mgh-guide-grid > li { position: relative; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-guide-image { margin: 0; }
:is(.mgh-home, .editor-styles-wrapper) .mgh-guides .mgh-guide-body { padding: var(--mgh-space-3); }
:is(.mgh-home, .editor-styles-wrapper) .mgh-guides .mgh-guide-topic { margin-block-end: var(--mgh-space-1); }
:is(.mgh-home, .editor-styles-wrapper) .mgh-guides .mgh-guide-body h3 { margin-block: 0; }
@media (max-width: 767px) {
 :is(.mgh-home, .editor-styles-wrapper) .mgh-guides .mgh-guide-body { padding: var(--mgh-space-2); }
}
.wp-site-blocks .mgh-home .mgh-guide-body h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--mgh-article-card-radius); }
.wp-site-blocks .mgh-home .mgh-guide-body h3 a:focus-visible::after { outline: 2px solid var(--mgh-color-focus); outline-offset: -3px; }

.mgh-home-heading.mgh-articles-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--mgh-space-2) var(--mgh-space-3);
}
.mgh-articles-heading { min-inline-size: 0; overflow-wrap: anywhere; }
.mgh-articles-header .wp-block-mgh-articles-link { max-inline-size: 100%; margin-inline-start: auto; }

.mgh-home-heading.mgh-content-scroller__header:not(.mgh-articles-header) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
}
.mgh-home-heading.mgh-content-scroller__header:not(.mgh-articles-header) > :not(.mgh-content-scroller__controls) { grid-column: 1; }
.mgh-home-heading.mgh-content-scroller__header:not(.mgh-articles-header) > .mgh-content-scroller__controls { grid-area: 1 / 2 / span 2; align-self: center; }
.mgh-articles-header .mgh-content-scroller__controls[data-mgh-overflow] + .wp-block-mgh-articles-link { margin-inline-start: 0; }
.mgh-articles-link:any-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-block-size: var(--mgh-target-min);
	gap: var(--mgh-space-1);
	padding: var(--mgh-space-1) var(--mgh-space-3);
	border: 1px solid var(--mgh-color-border-strong);
	border-radius: var(--mgh-radius-pill);
	background: var(--mgh-glass-bg-strong);
	box-shadow: var(--mgh-glass-control-shadow);
	backdrop-filter: blur(var(--mgh-glass-blur)) saturate(var(--mgh-glass-saturation));
	color: var(--mgh-color-brand);
	font-size: var(--mgh-text-xs);
	font-weight: var(--mgh-font-weight-semibold);
	text-decoration: none;
	overflow-wrap: anywhere;
}
.mgh-articles-link .mgh-icon { inline-size: 1em; block-size: 1em; }
.mgh-articles-link:hover { background: var(--mgh-color-surface-hover); }
.mgh-articles-link:active { background: var(--mgh-color-brand-soft); }
@media (max-width: 767px) {
	.mgh-home-heading.mgh-content-scroller__header { column-gap: var(--mgh-space-1); }
	.mgh-home-heading.mgh-articles-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
	.mgh-articles-heading { grid-column: 1 / -1; }
	.mgh-articles-header .mgh-content-scroller__controls { grid-column: 1; grid-row: 2; justify-self: end; }
	.mgh-articles-header .wp-block-mgh-articles-link { grid-column: 2; grid-row: 2; margin-inline-start: 0; }
	.mgh-articles-link:any-link { padding-inline: var(--mgh-space-2); }
}
