/* MGT news blog; isolated from existing theme and calculators */
.mgt-news-index,.mgt-news-post{color:var(--ds-text,#07172f);padding-block:28px 64px}
.mgt-news-index h1,.mgt-news-post h1{font-family:inherit;line-height:1.14;max-width:1020px;margin:0 0 24px}
.mgt-news-lead{margin:0 0 34px;color:var(--ds-muted,#59677e);max-width:760px}
.mgt-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.mgt-news-tile{display:flex;flex-direction:column;min-width:0;border:1px solid var(--ds-border,#dbe3ee);border-radius:20px;overflow:hidden;background:var(--ds-card,#fff);box-shadow:0 8px 32px rgba(7,23,47,.045);transition:transform .18s ease,box-shadow .18s ease}
.mgt-news-tile:hover{transform:translateY(-3px);box-shadow:0 14px 36px rgba(7,23,47,.11)}
.mgt-news-tile__image{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--ds-soft,#e8edf5)}
.mgt-news-tile__image img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .25s ease}
.mgt-news-tile:hover .mgt-news-tile__image img{transform:scale(1.025)}
.mgt-news-tile__body{display:flex;flex-direction:column;flex:1;padding:24px;gap:10px}
.mgt-news-tile__meta,.mgt-news-post__meta{color:var(--ds-muted,#69778b);font-size:14px;line-height:1.5}
.mgt-news-tile h2{font-size:clamp(18px,1.6vw,22px);line-height:1.25;margin:0;font-weight:650}
.mgt-news-tile h2 a{color:inherit;text-decoration:none}
.mgt-news-tile h2 a:hover{text-decoration:underline;text-underline-offset:3px}
.mgt-news-tile__body p{font-size:15px;line-height:1.6;margin:0;color:var(--ds-text,#27384c);flex:1}
.mgt-news-tile__more{color:var(--ds-primary,#155fc0);font-weight:600;text-decoration:none;font-size:15px;display:inline-flex;align-items:center;gap:5px;margin-top:10px}
.mgt-news-post__meta{margin-bottom:22px}
.mgt-news-post__hero{display:block;width:100%;max-width:1050px;aspect-ratio:16/8;object-fit:cover;border-radius:18px;margin:0 0 28px}
.mgt-news-post .w1050{width:100%;max-width:1050px}
.mgt-news-post__text p{line-height:1.75;margin:0 0 19px}
.mgt-news-post__text h2{font-size:clamp(22px,2vw,28px);line-height:1.22;margin:36px 0 16px}
.mgt-news-post__source{margin:32px 0 24px;border-top:1px solid var(--ds-border,#dbe3ee);padding-top:20px;color:var(--ds-muted,#58657a);font-size:14px}
.mgt-news-post__source a{overflow-wrap:anywhere}
.mgt-news-back{display:inline-flex;margin-top:14px;color:var(--ds-primary,#155fc0);text-decoration:underline;text-underline-offset:3px}
@media(max-width:980px){.mgt-news-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:620px){.mgt-news-index,.mgt-news-post{padding-block:20px 45px}.mgt-news-grid{grid-template-columns:1fr;gap:16px}.mgt-news-tile__body{padding:20px}.mgt-news-post__hero{aspect-ratio:16/10;border-radius:12px}}
@media(prefers-reduced-motion:reduce){.mgt-news-tile,.mgt-news-tile__image img{transition:none}}
