.portal-section-wrap:has(>.home-courses){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:18px}
.portal-section-wrap:has(>.home-courses)>.portal-title,.portal-section-wrap:has(>.home-courses)>.news-grid{grid-column:1/-1;width:100%}
.portal-section-wrap>.home-courses{display:flex;min-width:0;flex-direction:column;margin-top:28px}
.portal-section-wrap>.home-courses>h3{display:flex;min-height:64px;align-items:flex-end;margin:0 0 16px;font-size:22px;line-height:1.3}
.portal-section-wrap>.home-courses>.news-grid{display:grid;flex:1;grid-template-columns:1fr;grid-auto-rows:1fr}
.portal-section-wrap>.home-courses>.news-grid article{display:flex;height:100%;min-height:250px;flex-direction:column}
.portal-section-wrap>.home-courses>.news-grid article .button{align-self:flex-start;margin-top:auto}
.portal-section-wrap:not(:has(>.home-courses+.home-courses))>.home-courses{grid-column:1/-1}
@media(max-width:800px){.portal-section-wrap:has(>.home-courses){grid-template-columns:1fr}.portal-section-wrap>.home-courses{grid-column:1;margin-top:24px}.portal-section-wrap>.home-courses>h3{min-height:0}.portal-section-wrap>.home-courses>.news-grid article{min-height:0}}
