/* SOLART 04 — homepage composition; existing brand palette. */
/* Constant-scale panorama movement continues through the outgoing fade. */
.solart-slide {overflow:hidden;transition:opacity 1s linear,visibility 1s;z-index:0;}
.solart-slide.is-active {z-index:2;}
.solart-slide.is-moving:not(.is-active) {z-index:1;}
.solart-hero {--solart-pan-start:-40px;--solart-pan-end:40px;}
/* Animate a dedicated bitmap container, not the responsive picture element.
   A fixed tiny rotation asks the renderer to interpolate fractional translation;
   it is constant throughout the animation, with no changing zoom. */
.solart-slide .solart-pan-layer {position:absolute;left:-50px;top:-2px;width:calc(100% + 100px);height:calc(100% + 4px);backface-visibility:hidden;will-change:transform;transform:translate3d(var(--solart-pan-start),0,0) rotate(.01deg);}
.solart-slide picture {position:static;display:block;width:100%;height:100%;animation:none;transform:none;}
.solart-slide img {animation:none!important;transform:none!important;will-change:auto;backface-visibility:visible;}
.solart-hero.is-ready .solart-slide.is-moving .solart-pan-layer {animation:solart-panorama-drift 10s linear both;will-change:transform;}
.solart-hero.is-paused .solart-slide.is-moving .solart-pan-layer {animation-play-state:paused;}
@keyframes solart-panorama-drift {from{transform:translate3d(var(--solart-pan-start),0,0) rotate(.01deg)}to{transform:translate3d(var(--solart-pan-end),0,0) rotate(.01deg)}}
.solart-v3 #home_invests {grid-template-columns:repeat(2,minmax(0,1fr));max-width:none;}
.solart-v3 #home_invests .investbox:first-child {grid-column:1/-1;display:grid;grid-template-columns:1.8fr 1fr;grid-template-rows:1fr auto;}
.solart-v3 #home_invests .investbox:first-child .invest_top {grid-row:1/3;border-bottom:0;border-right:4px solid #03cf76;min-height:340px;}
.solart-v3 #home_invests .investbox:first-child .invest_top a {display:block;height:100%;}
.solart-v3 #home_invests .investbox:first-child img {height:100%;aspect-ratio:auto;}
.solart-v3 #home_invests .investbox:first-child .invest_middle {align-self:center;padding:28px 10px 0;}
.solart-v3 #home_invests .investbox:first-child .invest_title {font-size:3.5rem;}
.solart-v3 #home_invests .investbox:first-child .invest_bottom {margin:24px 34px 34px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;}
.solart-v3 #home_invests .invest_top img {aspect-ratio:16/9;}
.solart-v3 #home_achievements .achievement_number {font-variant-numeric:tabular-nums;display:inline-block;min-width:2ch;}
.solart-v3 #home_achievements .achievementbox {position:relative;overflow:hidden;}
.solart-v3 #home_achievements .achievementbox:after {content:'';position:absolute;bottom:0;left:0;width:100%;height:3px;background:#03cf76;transform:scaleX(0);transform-origin:left;}
.solart-v3 #home_achievements .is-counting:after {animation:solart-count-progress 2.2s ease-out forwards;}
.solart-v3 #home_achievements .is-counted:after {transform:scaleX(1);}
.solart-v3 #home_achievements .is-counting .achievement_number {color:#008f51;}
@keyframes solart-count-progress {to{transform:scaleX(1)}}
.solart-completed {margin-top:32px;color:#0f3657;}
.solart-completed-panel {margin:0 0 28px;background:#0f3657;border-radius:16px;overflow:hidden;}
.solart-completed-panel[hidden],.solart-completed-navigation[hidden] {display:none!important;}
.solart-completed-image {display:block;overflow:hidden;background:#e5ebee;}
.solart-completed-image img {display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;transition:transform .7s ease;}
.solart-completed-image:hover img {transform:scale(1.025);}
.solart-completed-caption {display:flex;align-items:center;gap:28px;padding:26px 32px;color:#fff;border-top:4px solid #03cf76;}
.solart-completed-caption h3 {margin:0;flex:1;font-size:2.8rem;line-height:1.25;font-weight:500;color:#fff;}
.solart-completed-number {font-size:2.4rem;color:#03cf76;font-variant-numeric:tabular-nums;white-space:nowrap;}
.solart-completed-number span {font-size:1.2rem;color:#bbcedb;}
.solart-completed-caption .search {display:inline-flex;align-items:center;gap:32px;padding:14px 23px;background:#03cf76;color:#0f3657;border:0;border-radius:7px;font-size:1.4rem;white-space:nowrap;}
.solart-completed-navigation {display:flex;gap:14px;align-items:center;}
.solart-completed-navigation>button {flex:0 0 44px;width:44px;height:44px;border:1px solid #c1d0da;border-radius:50%;background:#fff;color:#0f3657;font-size:22px;cursor:pointer;}
.solart-completed-thumbs {position:relative;display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-color:#008f51 #e1e7eb;scrollbar-width:thin;overscroll-behavior-x:contain;padding:3px 2px 15px;flex:1;min-width:0;}
.solart-completed-thumbs button {flex:0 0 176px;scroll-snap-align:start;background:#fff;color:#0f3657;border:2px solid transparent;border-radius:9px;overflow:hidden;padding:0;text-align:left;cursor:pointer;font:inherit;}
.solart-completed-thumbs img {width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;display:block;opacity:.7;transition:opacity .2s;}
.solart-completed-thumbs button span {display:block;padding:12px 10px;font-size:1.2rem;line-height:1.35;min-height:3em;}
.solart-completed-thumbs button[aria-pressed=true] {border-color:#008f51;background:#eaf8f1;}
.solart-completed-thumbs button[aria-pressed=true] img,.solart-completed-thumbs button:hover img {opacity:1;}
.solart-completed button:focus-visible,.solart-completed a:focus-visible {outline:3px solid #03cf76;outline-offset:3px;}
.solart-visually-hidden {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;}
@media(max-width:760px){
 .solart-v3 #home_invests .investbox:first-child {display:flex;}
 .solart-v3 #home_invests .investbox:first-child .invest_top {min-height:0;border-right:0;border-bottom:4px solid #03cf76;}
 .solart-v3 #home_invests .investbox:first-child img {height:auto;aspect-ratio:2/1;}
 .solart-v3 #home_invests .investbox:first-child .invest_middle {align-self:stretch;padding:7px 0 0;}
 .solart-v3 #home_invests .investbox:first-child .invest_bottom {margin:20px 24px 24px;}
 .solart-completed-caption {padding:20px;gap:16px;flex-wrap:wrap;}
 .solart-completed-caption h3 {font-size:2.2rem;min-width:60%;}
 .solart-completed-caption .search {margin-left:auto;}
 .solart-completed-navigation {gap:8px;}
 .solart-completed-navigation>button {flex-basis:36px;width:36px;height:36px;}
 .solart-completed-thumbs button {flex-basis:140px;}
}
@media(max-width:540px){
 .solart-v3 #home_invests {grid-template-columns:1fr;}
 .solart-v3 #home_invests .investbox:first-child .invest_title {font-size:2.8rem;}
 .solart-completed-image img {aspect-ratio:4/3;}
}
@media(prefers-reduced-motion:reduce){
 .solart-hero.is-ready .solart-slide.is-moving .solart-pan-layer,.solart-v3 #home_achievements .is-counting:after {animation:none;}
 .solart-completed-image img,.solart-slide {transition:none;}
}

@media(max-width:540px){
 .solart-hero {--solart-pan-start:-20px;--solart-pan-end:20px;}
 .solart-slide .solart-pan-layer {left:-30px;width:calc(100% + 60px);}
}

/* Prevent legacy perspective effects from enlarging the page scroll area. */
.solart-v3 .maincontainer {width:100%;max-width:100%;}
.solart-v3 #home_invests .investbox {transform:none!important;}
.solart-v3 .content_grey:has(#home_invests) {overflow:clip;}
.solart-v3 #home_invests .investbox:first-child {grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);}
.solart-v3 #home_invests .invest_top,.solart-v3 #home_invests .invest_middle,.solart-v3 #home_invests .invest_bottom {min-width:0;}

/* Original production slider engine, inside the redesigned frame. */
.solart-original-stage {position:absolute;inset:0 0 76px;overflow:hidden;}
.solart-hero--original .zoominout {width:100%;height:100%;max-height:none;animation:none;line-height:normal;}
.solart-hero--original .zoominout .contentHolderVisibleWrapper {max-height:none!important;}
.solart-hero--original .zoominout .bannerControls,.solart-hero--original .zoominout .bottomNav {display:none!important;}
.solart-hero--original .zoominout .contentHolderUnit {height:100%;}
.solart-hero--original .zoominout .contentHolderUnit>img {max-width:none;max-height:none;}
.solart-hero--original .zoominout .solart-slide-caption {bottom:40px;pointer-events:none;}
.solart-hero--original .zoominout .solart-slide-caption a {pointer-events:auto;}
.solart-hero--original:not(.has-original-engine) #zoominout .zoominout_list {display:block;}
.solart-hero--original:not(.has-original-engine) #zoominout .zoominout_list>li:not(:first-child) {display:none;}
.solart-hero--original:not(.has-original-engine) #zoominout .zoominout_list img {width:100%;height:100%;object-fit:cover;}
@media(max-width:760px){.solart-hero--original .zoominout .solart-slide-caption {bottom:24px;}}
@media(prefers-reduced-motion:reduce){
 .solart-hero--original .zoominout .contentHolderUnit>img {transition:none!important;transform:none!important;}
}

.solart-hero--original .zoominout>.mycanvas,.solart-hero--original .zoominout>.play_pause,.solart-hero--original .zoominout>.thumbsHolderWrapper {display:none!important;}

/* 12 — same vertical card composition: one full-width card, then two half-width. */
.solart-v3 #home_invests {gap:44px;}
.solart-v3 #home_invests .investbox:first-child {display:flex;flex-direction:column;grid-column:1/-1;}
.solart-v3 #home_invests .investbox:first-child .invest_top {min-height:0;grid-row:auto;border-right:0;border-bottom:4px solid #03cf76;}
.solart-v3 #home_invests .investbox:first-child .invest_top a {height:auto;}
.solart-v3 #home_invests .investbox:first-child img {width:100%;height:auto;aspect-ratio:2.4/1;object-fit:cover;}
.solart-v3 #home_invests .investbox:first-child .invest_middle {align-self:stretch;padding:7px 0 0;}
.solart-v3 #home_invests .investbox:first-child .invest_title {font-size:2.5rem;}
.solart-v3 #home_invests .investbox:first-child .invest_bottom {margin:22px 24px 24px;display:flex;align-items:center;justify-content:space-between;}
@media(max-width:760px){.solart-v3 #home_invests {gap:30px;}}
@media(max-width:540px){.solart-v3 #home_invests .investbox:first-child img {aspect-ratio:16/9;}}

/* v15: one keyboard-accessible primary link covering each active card. */
.solart-v3 #home_invests .investbox {position:relative;isolation:isolate;}
.solart-v3 #home_invests .solart-card-link::after {content:"";position:absolute;inset:0;z-index:5;border-radius:inherit;cursor:pointer;}
.solart-v3 #home_invests .invest_more,
.solart-v3 #home_invests .solart-card-link {position:static;}
.solart-v3 #home_invests .investbox:has(.solart-card-link:focus-visible) {outline:3px solid #008f51;outline-offset:5px;}

/* v16: identical cover crop before initialization and at animation start. */
.solart-hero--original:not(.has-original-engine) #zoominout,
.solart-hero--original:not(.has-original-engine) .zoominout_list {width:100%;height:100%;}
.solart-hero--original:not(.has-original-engine) .zoominout_list>li:first-child {position:absolute;inset:0;overflow:hidden;}
.solart-hero--original:not(.has-original-engine) #zoominout .zoominout_list img {position:absolute;left:50%;top:50%;width:calc((100% + 2px) / .94);height:calc((100% + 2px) / .94);max-width:none;object-fit:cover;transform:translate(-50%,-50%);}
.solart-original-stage {touch-action:pan-y pinch-zoom;cursor:grab;}
.solart-original-stage.is-dragging {cursor:grabbing;user-select:none;}
.solart-original-stage img {-webkit-user-drag:none;user-select:none;}

/* 66: two current projects form an equal, fully clickable pair. */
.solart-v3 #home_invests .investbox:first-child {grid-column:auto;}
.solart-v3 #home_invests .investbox .invest_top img {width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;}
@media(max-width:540px){.solart-v3 #home_invests .investbox .invest_top img {aspect-ratio:16/9;}}

/* 67: featured Heila / Pychowice 2:1, common image height and aligned footers. */
.solart-v3 .solart-current-section {padding-bottom:72px;}
.solart-v3 #home_invests {grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:36px;}
.solart-v3 #home_invests .investbox .invest_top,
.solart-v3 #home_invests .investbox:first-child .invest_top {height:clamp(250px,25vw,350px);flex:0 0 auto;}
.solart-v3 #home_invests .investbox .invest_top a,
.solart-v3 #home_invests .investbox:first-child .invest_top a {display:block;height:100%;}
.solart-v3 #home_invests .investbox .invest_top img,
.solart-v3 #home_invests .investbox:first-child .invest_top img {width:100%;height:100%;aspect-ratio:auto;object-fit:cover;}
.solart-v3 #home_invests .investbox .invest_middle {flex:1;}
.solart-v3 #home_invests .investbox .invest_bottom,
.solart-v3 #home_invests .investbox:first-child .invest_bottom {margin:0 24px 24px;padding:20px 0 0;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;}
@media(max-width:900px){
 .solart-v3 #home_invests {grid-template-columns:minmax(0,1fr);gap:28px;}
 .solart-v3 #home_invests .investbox .invest_top,
 .solart-v3 #home_invests .investbox:first-child .invest_top {height:auto;aspect-ratio:2/1;}
 .solart-v3 .solart-current-section {padding-bottom:48px;}
}
