/* Local candidate. Scoped to the new stories and the Instagram showcase. */




















/* Eight projects: same section, all seven existing projects retained. */
#alhen-realizacje-instagram.has-pivot{--alhen-showcase-orange:#ff4d00;background:#fff;color:#272b2d;padding:64px 0;border-top:1px solid #e7e7e4;border-bottom:1px solid #e7e7e4}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__heading{margin-bottom:30px}
#alhen-realizacje-instagram.has-pivot #alhen-showcase-title{color:#272b2d;font-size:42px;line-height:1.2;max-width:none;letter-spacing:-1px}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__intro{color:#696f70;max-width:670px}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__kicker{color:#545c60}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__instagram{color:#313637;border-color:#dededb;background:white}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__instagram small{color:#73797c}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__footer{border-color:#e4e4e1}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__note,#alhen-realizacje-instagram.has-pivot .alhen-showcase__note p,#alhen-realizacje-instagram.has-pivot .alhen-showcase__text-link,#alhen-realizacje-instagram.has-pivot .alhen-showcase__scroll-hint{color:#62686a}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto;gap:30px 22px}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__card{grid-column:auto;grid-row:auto;min-width:0;background:white;overflow:visible;margin:0;align-self:start}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__card>a{position:relative;inset:auto;display:block;color:#272b2d;overflow:visible}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__card picture{position:relative;inset:auto;display:block;aspect-ratio:3/4;background:#f5f5f3}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__card img{width:100%;height:100%;aspect-ratio:3/4;object-fit:contain;object-position:center;display:block;transform:none;filter:none}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__shade{display:none}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__tag{display:block;position:static;background:none;color:#b53d08;padding:16px 0 0;border:0;backdrop-filter:none}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__caption{position:static;transform:none;padding:10px 0 0;display:grid;gap:6px;grid-template-columns:1fr auto}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__title{color:#272b2d;font:500 16px/1.4 Raleway,sans-serif;margin:0}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__number{display:none}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__meta{grid-column:1;font-size:11px;color:#727778}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__arrow{grid-column:2;grid-row:1;color:#ff4d00;border:0;background:none;align-self:start}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__card>a::after{display:none}
#alhen-realizacje-instagram.has-pivot .pivot-preview{width:100%;min-height:44px;background:white;border:1px solid #dededb;margin:14px 0 0;color:#333;font:500 11px/1.4 Raleway,sans-serif;letter-spacing:0;text-transform:none;padding:8px;cursor:pointer}
#alhen-realizacje-instagram.has-pivot .pivot-preview:hover{border-color:#ff4d00}
#alhen-realizacje-instagram.has-pivot a:focus-visible,#alhen-realizacje-instagram.has-pivot button:focus-visible{outline:2px solid #252b2c;outline-offset:4px}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__button{border:2px solid #ff4d00;color:white;background:#ff4d00}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__button:hover{background:white;color:#ff4d00;transform:none}
@media(max-width:991px){#alhen-realizacje-instagram.has-pivot .alhen-showcase__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){#alhen-realizacje-instagram.has-pivot .alhen-showcase__grid{display:grid;grid-auto-flow:column;grid-auto-columns:84%;grid-template-columns:none;grid-template-rows:auto;gap:16px;overflow-x:auto;padding:0 0 16px;scroll-snap-type:x mandatory}#alhen-realizacje-instagram.has-pivot .alhen-showcase__card{width:auto;scroll-snap-align:start;height:auto;flex:none}#alhen-realizacje-instagram.has-pivot .alhen-showcase__title{font-size:18px}}
@media(prefers-reduced-motion:reduce){#alhen-realizacje-instagram.has-pivot *,}
@media(max-width:767px){#alhen-realizacje-instagram.has-pivot{padding:40px 0}#alhen-realizacje-instagram.has-pivot #alhen-showcase-title{font-size:32px;line-height:1.25}}

#alhen-realizacje-instagram.has-pivot a.pivot-preview{display:flex;align-items:center;justify-content:center;text-decoration:none;min-height:44px;box-sizing:border-box}
#alhen-home-pivot-lightbox{width:min(1100px,96vw);height:94dvh;max-height:94dvh;padding:0;border:0;background:#f7f7f5;color:#262a2b;box-shadow:0 20px 100px #0006;font-family:Raleway,sans-serif}
#alhen-home-pivot-lightbox::backdrop{background:rgba(18,22,24,.86)}
#alhen-home-pivot-lightbox .modal-grid{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto}
#alhen-home-pivot-lightbox .modal-top,#alhen-home-pivot-lightbox .modal-bottom{display:flex;align-items:center;gap:16px;padding:12px 20px;background:white}
#alhen-home-pivot-lightbox .modal-top strong{font-size:16px;margin-right:auto;font-weight:600}
#alhen-home-pivot-lightbox .modal-top button,#alhen-home-pivot-lightbox .modal-bottom button{min-width:44px;min-height:44px;margin:0;padding:6px 14px;border:1px solid #ddd;background:white;color:#222;font:500 15px/1.4 Raleway,sans-serif;letter-spacing:0;cursor:pointer}
#alhen-home-pivot-lightbox img{width:100%;height:100%;object-fit:contain;min-height:0;display:block}
#alhen-home-pivot-lightbox .modal-bottom p{font-size:13px;line-height:1.5;margin:0;flex:1}
#alhen-home-pivot-lightbox .modal-bottom a{font:500 12px/1.5 Raleway,sans-serif;color:#333;white-space:nowrap;text-decoration:underline}
#alhen-home-pivot-lightbox button:focus-visible,#alhen-home-pivot-lightbox a:focus-visible{outline:2px solid #ff4d00;outline-offset:3px}
@media(max-width:600px){#alhen-home-pivot-lightbox .modal-top,#alhen-home-pivot-lightbox .modal-bottom{padding:8px;gap:8px}#alhen-home-pivot-lightbox .modal-bottom{flex-wrap:wrap}#alhen-home-pivot-lightbox .modal-bottom p{flex-basis:60%;font-size:12px}#alhen-home-pivot-lightbox .modal-top strong{font-size:14px}}

#alhen-home-pivot-lightbox{margin:auto;overscroll-behavior:contain}#alhen-home-pivot-lightbox .counter{white-space:nowrap}#alhen-home-pivot-lightbox button.close{opacity:1;float:none;text-shadow:none;font-size:20px;color:#222}

/* Restore the exact previous section background; retain the approved card layout. */
#alhen-realizacje-instagram.has-pivot{background:linear-gradient(180deg,#0e1014 0%,#111319 52%,#161920 100%);color:#fff;border-color:rgba(255,255,255,.15)}
#alhen-realizacje-instagram.has-pivot #alhen-showcase-title,
#alhen-realizacje-instagram.has-pivot .alhen-showcase__title,
#alhen-realizacje-instagram.has-pivot .alhen-showcase__card>a{color:#fff}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__intro,
#alhen-realizacje-instagram.has-pivot .alhen-showcase__instagram small,
#alhen-realizacje-instagram.has-pivot .alhen-showcase__meta,
#alhen-realizacje-instagram.has-pivot .alhen-showcase__note,
#alhen-realizacje-instagram.has-pivot .alhen-showcase__note p,
#alhen-realizacje-instagram.has-pivot .alhen-showcase__text-link,
#alhen-realizacje-instagram.has-pivot .alhen-showcase__scroll-hint{color:#b8bdc5}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__kicker{color:#d2d5da}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__card{background:transparent}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__card picture{background:#1b1d23}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__tag{color:#ff9a70}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__instagram,
#alhen-realizacje-instagram.has-pivot .pivot-preview{color:#fff;background:transparent;border-color:rgba(255,255,255,.28)}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__instagram:hover,
#alhen-realizacje-instagram.has-pivot .alhen-showcase__instagram:focus-visible,
#alhen-realizacje-instagram.has-pivot .pivot-preview:hover{color:#fff;border-color:#ff4d00;background:rgba(255,77,0,.08)}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__footer{border-color:rgba(255,255,255,.15)}
#alhen-realizacje-instagram.has-pivot .alhen-showcase__text-link:hover{color:#fff}
#alhen-realizacje-instagram.has-pivot a:focus-visible,
#alhen-realizacje-instagram.has-pivot button:focus-visible{outline-color:#fff}
#alhen-home-pivot-lightbox [hidden]{display:none!important}
@media(min-width:992px){#alhen-realizacje-instagram.has-pivot .alhen-showcase__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* First two projects: image controls stay inside the photo, service links remain below. */
#alhen-realizacje-instagram .alhen-project-viewer{position:relative;isolation:isolate;aspect-ratio:3/4;touch-action:pan-y pinch-zoom}
#alhen-realizacje-instagram .alhen-project-photo{display:block;position:relative;cursor:zoom-in}
#alhen-realizacje-instagram .alhen-project-photo::after{display:none}
#alhen-realizacje-instagram .alhen-project-photo:focus-visible{outline:2px solid #fff;outline-offset:-4px}
#alhen-realizacje-instagram .alhen-project-viewer [hidden]{display:none!important}
#alhen-realizacje-instagram .alhen-project-controls{position:absolute;inset:0;pointer-events:none;z-index:2}
#alhen-realizacje-instagram .alhen-project-controls button{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;border:1px solid rgba(255,255,255,.5);border-radius:0;background:rgba(14,16,20,.78);color:#fff;cursor:pointer;pointer-events:auto;transition:opacity .16s,background .16s,border-color .16s;line-height:1;box-shadow:none}
#alhen-realizacje-instagram .alhen-project-controls .alhen-project-prev{left:10px}
#alhen-realizacje-instagram .alhen-project-controls .alhen-project-next{right:10px}
#alhen-realizacje-instagram .alhen-project-controls button:hover{background:#ff4d00;border-color:#ff4d00}
#alhen-realizacje-instagram .alhen-project-controls button:focus-visible{outline:2px solid #fff;outline-offset:3px;opacity:1}
#alhen-realizacje-instagram .alhen-project-count{position:absolute;right:10px;bottom:10px;max-width:70%;padding:5px 9px;background:rgba(14,16,20,.82);color:#fff;font:500 12px/1.4 Raleway,sans-serif;letter-spacing:0;font-variant-numeric:tabular-nums}
@media(hover:hover) and (pointer:fine){#alhen-realizacje-instagram .alhen-project-controls button{opacity:0;pointer-events:none}#alhen-realizacje-instagram .alhen-project-viewer:hover button,#alhen-realizacje-instagram .alhen-project-viewer:focus-within button{opacity:1;pointer-events:auto}}
@media(max-width:767px){#alhen-realizacje-instagram .alhen-project-controls button{opacity:1;pointer-events:auto}}
@media(prefers-reduced-motion:reduce){#alhen-realizacje-instagram .alhen-project-controls button{transition:none}}

/* Stable photo frames: the outgoing decorative layer never changes layout. */
#alhen-realizacje-instagram .alhen-project-photo,#alhen-home-pivot-lightbox .alhen-motion-frame{position:relative;overflow:hidden;min-height:0}
:is(#alhen-realizacje-instagram,#alhen-home-pivot-lightbox) img.alhen-photo-ghost{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;margin:0;pointer-events:none;z-index:1}
