/* Shared approved homepage article cards; native Post blocks on every surface. */
:is(.mgh-home, .mgh-editorial, .editor-styles-wrapper :where(.mgh-guides)) .mgh-guide-grid.wp-block-post-template:where(:not(.mgh-content-scroller__track)) { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin: 0; padding: 0; }
:is(.mgh-home, .mgh-editorial, .editor-styles-wrapper :where(.mgh-guides)) .mgh-guide-grid > li { display: flex; flex-direction: column; min-inline-size: 0; border: 1px solid var(--mgh-color-border); border-radius: var(--mgh-article-card-radius); overflow: hidden; background: var(--mgh-color-surface); }
:is(.mgh-home, .mgh-editorial, .editor-styles-wrapper :where(.mgh-guides)) .mgh-guide-image { aspect-ratio: 4/3; inline-size: 100%; background: var(--mgh-color-bg-alt); }
:is(.mgh-home, .mgh-editorial, .editor-styles-wrapper :where(.mgh-guides)) .mgh-guide-image a, :is(.mgh-home, .mgh-editorial, .editor-styles-wrapper :where(.mgh-guides)) .mgh-guide-image img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
:is(.mgh-home, .mgh-editorial, .editor-styles-wrapper :where(.mgh-guides)) .mgh-guide-body { display: flex; flex-direction: column; flex: 1; padding: 19px; }
:is(.mgh-home, .mgh-editorial, .editor-styles-wrapper :where(.mgh-guides)) .mgh-guide-topic { font-size: var(--mgh-type-article-topic); font-weight: 700; color: var(--mgh-color-brand); margin-block-end: var(--mgh-space-2); }
:is(.mgh-home, .mgh-editorial, .editor-styles-wrapper :where(.mgh-guides)) .mgh-guide-body h3 { font-size: var(--mgh-text-md); line-height: 1.7; margin-block-end: 7px; overflow-wrap: anywhere; }
:is(.mgh-home, .mgh-editorial, .editor-styles-wrapper :where(.mgh-guides)) .mgh-guide-body .wp-block-post-excerpt { font-size: var(--mgh-type-article-excerpt); line-height: 1.8; color: var(--mgh-color-text-secondary); }
:is(.mgh-home, .mgh-editorial, .editor-styles-wrapper :where(.mgh-guides)) .mgh-guide-body .wp-block-read-more { margin-block-start: auto; padding-block-start: 15px; min-block-size: var(--mgh-target-min); font-size: var(--mgh-type-article-topic); font-weight: 700; }
:is(.mgh-home, .mgh-editorial, .editor-styles-wrapper :where(.mgh-guides)) .mgh-guide-body .wp-block-post-excerpt__more-text { display: none; }

@media (max-width:767px) {
 :is(.mgh-home, .mgh-editorial, .editor-styles-wrapper :where(.mgh-guides)) .mgh-guide-grid.wp-block-post-template:where(:not(.mgh-content-scroller__track)) { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
 :is(.mgh-home, .mgh-editorial, .editor-styles-wrapper :where(.mgh-guides)) .mgh-guide-body { padding: 12px; }
 :is(.mgh-home, .mgh-editorial, .editor-styles-wrapper :where(.mgh-guides)) .mgh-guide-body h3 { font-size: var(--mgh-type-article-title-mobile); line-height: 1.65; }
 :is(.mgh-home, .mgh-editorial, .editor-styles-wrapper :where(.mgh-guides)) .mgh-guide-topic { margin-block-end: 5px; }
 :is(.mgh-home, .mgh-editorial, .editor-styles-wrapper :where(.mgh-guides)) .mgh-guide-body .wp-block-post-excerpt { line-height: 1.75; }
 :is(.mgh-home, .mgh-editorial, .editor-styles-wrapper :where(.mgh-guides)) .mgh-guide-body .wp-block-read-more { padding-block-start: 11px; }
}
@media (max-width:375px) {
 :is(.mgh-home, .mgh-editorial, .editor-styles-wrapper :where(.mgh-guides)) .mgh-guide-body { padding: 10px; }
 :is(.mgh-home, .mgh-editorial, .editor-styles-wrapper :where(.mgh-guides)) .mgh-guide-body h3 { font-size: var(--mgh-type-article-excerpt); }
}

.mgh-editorial .mgh-guide-body :is(h2,h3) a { display: inline-block; min-block-size: var(--mgh-target-min); padding-block: var(--mgh-space-1); }
.mgh-editorial .mgh-guide-topic a { display: inline-flex; align-items: center; min-block-size: var(--mgh-target-min); }
.mgh-editorial .mgh-guide-image { margin: 0; }
.mgh-editorial .mgh-guide-body > * { margin-block-start: 0; }
@media (min-width:768px) and (max-width:1023px) {
 .mgh-editorial .mgh-guide-grid.wp-block-post-template { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

.mgh-editorial .mgh-guide-grid > li { margin-block: 0; }
.mgh-editorial .mgh-guide-image .mgh-media-placeholder { display: grid; place-items: center; inline-size: 100%; block-size: 100%; color: var(--mgh-color-icon-muted); }
