/* Preserve the complete portrait in the category card. */
body#categoryPage[data-category="portfolio"] .education-subcategories-section a[href*="feature=modeling-portfolio"] .slide-circle-img-wrap img{
 object-fit:contain!important;object-position:center!important;background:#ebe8e2!important;transform:none!important;
}
/* Keep desktop navigation visible in every scaled template preview. */
body#educationFeaturePage.feature-page-modeling-portfolio .edu-grow-section{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:28px 0!important;align-items:stretch!important}
body#educationFeaturePage.feature-page-modeling-portfolio .edu-grow-section .edu-template-card-col:nth-child(n){width:50%!important;max-width:50%!important;flex:0 0 50%!important;padding:0 12px!important;box-sizing:border-box}
body#educationFeaturePage.feature-page-modeling-portfolio .edu-grow-section .mentor-preview-window{height:550px!important;min-height:550px!important;overflow:hidden!important;position:relative!important;background:#fff}
body#educationFeaturePage.feature-page-modeling-portfolio .edu-grow-section .mentor-preview-window .template-scroll-container,
body#educationFeaturePage.feature-page-modeling-portfolio .edu-grow-section .mentor-preview-window:hover .template-scroll-container{width:1440px!important;height:calc(100% / var(--model-preview-scale,.38))!important;transform:scale(var(--model-preview-scale,.38))!important;transform-origin:top left!important;animation:none!important}
body#educationFeaturePage.feature-page-modeling-portfolio .edu-grow-section .mentor-preview-window .template-iframe-container{width:1440px!important;height:100%!important}
body#educationFeaturePage.feature-page-modeling-portfolio .edu-grow-section .mentor-preview-window iframe{width:1440px!important;height:100%!important;position:static!important;transform:none!important;display:block!important}
@media(max-width:768px){
 body#educationFeaturePage.feature-page-modeling-portfolio .edu-grow-section .edu-template-card-col:nth-child(n){width:100%!important;max-width:100%!important;flex:0 0 100%!important}
 body#educationFeaturePage.feature-page-modeling-portfolio .edu-grow-section .mentor-preview-window{height:500px!important;min-height:500px!important}
}
