/* Content-driven home layout: no viewport clipping or width-driven image growth. */
#section-about,#section-work{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;display:block;padding:48px 0!important;scroll-margin-top:80px}
#section-about .container,#section-work .container{width:calc(100% - 64px);max-width:1240px;height:auto;margin-inline:auto;padding:0;display:block}
#section-about .heading-block,#section-work .heading-block{margin:0 0 28px!important}
#section-about .heading-block h2,#section-work .heading-block h2{font-size:28px;line-height:1.35}
#section-about .research-grid-row{grid-template-columns:repeat(6,minmax(0,1fr));gap:20px;max-width:none}
#section-about .research-grid-col{min-width:0;max-width:none;width:auto;grid-column:span 2}
#section-about .research-grid-col:nth-child(4){grid-column:2/span 2}
#section-about .research-grid-col:nth-child(5){grid-column:4/span 2}
#section-about .research-card{height:100%;border-radius:8px;display:flex;flex-direction:column;box-shadow:none;transform:none}
#section-about .research-card img{width:100%!important;height:140px!important;min-height:0;max-height:140px;aspect-ratio:auto!important;object-fit:contain!important;transform:none!important;padding:12px!important;background:#fff}
#section-about .research-badge{display:none!important}
#section-about .research-overlay{position:static;flex:1;background:#142d4c;padding:16px 18px!important}
#section-about .research-overlay h3{font-size:20px!important;line-height:1.3;margin:0 0 8px}
#section-about .research-overlay p{font-size:13px;line-height:1.6;min-height:42px;margin:0;white-space:normal;overflow:visible}
#section-about .research-arrow{font-size:12px;margin-top:10px}
.rf-home-source{display:block;color:#abc1dc;font-size:11px;line-height:1.5;margin-top:9px}
#section-work .project-group{margin:0 0 32px;height:auto;min-height:0}
#section-work .project-group:last-child{margin-bottom:0}
#section-work .project-group-title{font-size:24px;line-height:1.4}
#section-work .project-group-subtitle{font-size:13px}
#section-work .project-slider,#section-work .project-slider-track{height:auto!important;min-height:0!important;max-height:none;flex:none}
#section-work .project-slider-track{gap:20px;align-items:stretch;padding:0 0 12px;overflow-x:auto;overflow-y:hidden}
#section-work .project-slide{flex:0 0 calc((100% - 20px)/2);max-width:calc((100% - 20px)/2);height:auto!important;min-width:0}
#section-work .project-card{height:auto;min-height:0;display:flex;flex-direction:column;border-radius:8px;box-shadow:none}
#section-work .project-card-image{height:260px!important;min-height:0;max-height:260px;aspect-ratio:auto;flex:none;background:#202936}
#section-work .project-card-image img{width:100%;height:100%;object-fit:contain!important}
#section-work .project-card-body{position:static!important;padding:16px 18px!important;flex:1}
#section-work .project-card-body h3{font-size:18px;line-height:1.5;min-height:0;margin:0 0 8px;overflow:visible}
#section-work .project-card-body p{font-size:13px;line-height:1.65;min-height:0;margin:0;overflow:visible}
#section-work .completed-project-list{height:auto;max-height:none;overflow:visible}
#section-work .completed-project-item{padding-block:12px}
@media(max-width:991px){
 #section-about .research-grid-row{grid-template-columns:repeat(2,minmax(0,1fr))}
 #section-about .research-grid-col,#section-about .research-grid-col:nth-child(4){grid-column:auto}
 #section-about .research-grid-col:nth-child(5){grid-column:1/-1;width:calc((100% - 20px)/2);justify-self:center}
 #section-work .project-card-image{height:220px!important;max-height:220px}
}
@media(max-width:600px){
 #section-about,#section-work{padding:36px 0!important}
 #section-about .container,#section-work .container{width:calc(100% - 36px)}
 #section-about .heading-block h2,#section-work .heading-block h2{font-size:23px}
 #section-about .research-grid-row{grid-template-columns:1fr;gap:16px}
 #section-about .research-grid-col:nth-child(5){grid-column:auto;width:100%}
 #section-about .research-card img{height:120px!important;max-height:120px}
 #section-work .project-slide{flex-basis:100%;max-width:100%}
 #section-work .project-card-image{height:200px!important;max-height:200px}
 #section-work .project-group-header>div:first-child{display:block}
 #section-work .project-group-title{font-size:21px}
 #section-work .completed-project-heading{display:block}
}
