/* Balanced image/copy sections: content determines row height, images fill it. */
.balanced-corporate{padding:80px 0}
.balanced-page-heading{margin-bottom:42px}
.balanced-detail-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:54px;align-items:stretch;margin-bottom:64px}
.balanced-detail-row:last-child{margin-bottom:0}
.balanced-detail-visual{position:relative;min-width:0;min-height:330px;margin:0;overflow:hidden;background:#f7f3f4}
.balanced-detail-visual img{position:absolute;inset:0;display:block;width:100%!important;max-width:100%;height:100%!important;aspect-ratio:auto!important;object-fit:cover;object-position:center}
.balanced-detail-copy{min-width:0;align-self:center;padding:12px 0}
.balanced-detail-row .balanced-detail-visual{min-height:0}
.balanced-detail-row .balanced-detail-copy{align-self:stretch;display:flex;flex-direction:column;justify-content:center}
.balanced-corporate .corporate-subheading{margin:0 0 22px;font-size:26px;line-height:1.35}
.balanced-detail-copy p{font-size:16px;line-height:1.85;margin:0 0 18px;overflow-wrap:break-word}
.balanced-detail-copy p:last-child{margin-bottom:0}
.balanced-detail-row:nth-of-type(odd) .balanced-detail-visual{order:2}
.balanced-service{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:stretch;margin-bottom:36px}
.balanced-service .main-heading{font-size:30px;line-height:1.3}
.balanced-service .balanced-detail-visual{min-height:360px}
.balanced-service .ot-heading{margin-bottom:20px}
/* Other detail templates retain their galleries with consistent responsive sizes. */
.single-post .entry-media img,.blog-post .entry-media img{width:100%;height:auto;max-height:540px;object-fit:cover;aspect-ratio:16/10!important}
.entry-summary .simple-slide img{display:block;width:100%;height:auto;aspect-ratio:16/10!important;object-fit:cover}
.portfolio-detail .proje_detay{width:100%!important;height:clamp(300px,41vw,540px)!important;aspect-ratio:auto!important;object-fit:cover}
.single-team .team-member-img img{display:block;width:100%;height:auto;max-height:430px;object-fit:cover}
.single-team-detail p,.portfolio-detail p{overflow-wrap:break-word}
@media(max-width:1199px){.balanced-detail-row{gap:36px}.balanced-service{grid-template-columns:minmax(0,1fr)}.balanced-service .balanced-detail-visual{min-height:0;aspect-ratio:16/9}.balanced-service .balanced-detail-copy{padding:0}}
@media(max-width:767px){.balanced-corporate{padding:50px 0}.balanced-page-heading{margin-bottom:30px}.balanced-detail-row{grid-template-columns:minmax(0,1fr);gap:24px;margin-bottom:44px}.balanced-detail-row:nth-of-type(odd) .balanced-detail-visual{order:0}.balanced-detail-visual{min-height:0;aspect-ratio:4/3}.balanced-detail-copy{padding:0}.balanced-corporate .corporate-subheading{font-size:23px;margin-bottom:16px}.balanced-detail-copy p{line-height:1.8}.portfolio-detail .proje_detay{height:auto!important;aspect-ratio:4/3!important}.balanced-service .main-heading{font-size:28px}}
