/* VESNA© Portfolio — case pages (Portfolio project single template + case widgets). */
.v4p-block{
  --v4p-font-head:'Inter','Helvetica Neue',Arial,sans-serif;
  --v4p-font-body:'Neue Haas Grotesk Text Pro','Helvetica Neue',Arial,sans-serif;
  --v4p-font-nav:'Helvetica Neue LT Pro','Helvetica Neue',Arial,sans-serif;
  --v4p-page-pad:clamp(16px,2.1vw,40px);
  box-sizing:border-box;
  width:100vw;
  max-width:100vw;
  margin-left:calc(50% - 50vw);
  position:relative;
  font-family:var(--v4p-font-body);
  font-weight:500;
  letter-spacing:-.01em;
  text-transform:none!important;
}
.v4p-block *{box-sizing:border-box;text-transform:none!important}
.v4p-block img{max-width:100%}
body.v4p-js-ready .elementor-element.v4p-panel-hidden,
body.v4p-js-ready .v4p-panel-hidden{display:none!important}

/* Hero */
.v4p-hero-wrap{height:200svh;min-height:1440px;margin-bottom:-100svh;z-index:1;background:#171915}
.v4p-hero{height:100svh;min-height:720px;position:sticky;top:0;color:#fff;overflow:hidden;background:#171915}
.v4p-hero-bg{position:absolute;inset:-12% 0;background-image:linear-gradient(180deg,rgba(0,0,0,.13),rgba(0,0,0,.06) 40%,rgba(0,0,0,.18)),var(--v4p-hero-image);background-position:center 42%;background-size:cover;transform:translate3d(0,var(--v4p-parallax,0px),0) scale(1.04);will-change:transform;pointer-events:none}
.v4p-hero-top-content{position:absolute;top:clamp(112px,15svh,175px);left:var(--v4p-page-pad);right:var(--v4p-page-pad);z-index:4;display:flex;align-items:center;flex-direction:column;text-align:center;color:#fff}
.v4p-case-tabs{display:flex;align-items:center;justify-content:center;gap:clamp(14px,2.4vw,36px);padding:0;margin:0 0 clamp(26px,3.2vh,42px);background:transparent;position:relative;z-index:5}
.v4p-case-tab{appearance:none;-webkit-appearance:none;border:0;background:none;color:rgba(255,255,255,.78);font-family:var(--v4p-font-body);font-size:clamp(13px,.9vw,16px);font-weight:500;line-height:1.3;padding:0 0 4px;letter-spacing:0;position:relative;white-space:nowrap;cursor:pointer}
.v4p-case-tab:hover,.v4p-case-tab.active{color:#fff}
.v4p-case-tab::after{content:'';position:absolute;bottom:0;left:0;width:100%;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left center;transition:transform .38s cubic-bezier(.22,1,.36,1)}
.v4p-case-tab.active::after,.v4p-case-tab:hover::after{transform:scaleX(1)}
.v4p-hero-title{font-family:var(--v4p-font-head);font-weight:500;font-size:clamp(32px,3.65vw,60px);line-height:1.15;letter-spacing:-.035em;max-width:1100px;margin:0 auto;text-wrap:balance;overflow-wrap:break-word}

/* Sticky tabs: exact type scale of the hero tabs. */
.v4p-sticky-tabs{--v4p-header-height:68px;position:fixed;top:var(--v4p-header-height);left:0;right:0;z-index:1999;background:#fff;min-height:58px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #e8e8e8;transform:translate3d(0,-110%,0);opacity:0;visibility:hidden;pointer-events:none;transition:transform .32s cubic-bezier(.22,1,.36,1),opacity .23s,visibility .23s}
.v4p-sticky-tabs.is-visible{transform:translate3d(0,0,0);opacity:1;visibility:visible;pointer-events:auto}
.v4p-sticky-tabs.is-header-hidden{top:0}
.v4p-sticky-tabs .v4p-case-tabs{margin:0;gap:clamp(14px,2.4vw,36px)}
.v4p-sticky-tabs .v4p-case-tab{font-family:var(--v4p-font-body);font-size:clamp(13px,.9vw,16px);font-weight:500;line-height:1.3;letter-spacing:0;color:#777;padding-bottom:4px}
.v4p-sticky-tabs .v4p-case-tab.active{color:#111}
.v4p-sticky-tabs .v4p-case-tab::after{background:#111}

/* All case content overlays the sticky hero exactly as the V4 article did. */
.v4p-intro,.v4p-copy-row,.v4p-media,.v4p-media-trio,.v4p-additional-metrics-wrap,.v4p-process,.v4p-team,.v4p-next-showcase,.v4p-related-projects{z-index:3;background:#fff}

/* Intro */
.v4p-intro{display:grid;grid-template-columns:minmax(0,31%) minmax(0,1fr);gap:clamp(24px,2.2vw,42px);padding:clamp(72px,6vw,105px) var(--v4p-page-pad) clamp(64px,8vw,148px)}
.v4p-intro-meta{display:block;align-self:start;min-width:0;letter-spacing:normal}
.v4p-meta-item{display:block;margin:0 0 clamp(30px,3.4vw,48px)}
.v4p-meta-label{display:table;position:relative;font-family:var(--v4p-font-nav);font-size:clamp(12px,.86vw,14px);line-height:1.5;font-weight:400;letter-spacing:.005em;margin:0 0 13px;padding-bottom:0}
.v4p-meta-value{display:table;position:relative;padding-bottom:3px;text-decoration:none;color:inherit;font-family:var(--v4p-font-body);font-size:clamp(19px,1.27vw,24px);font-weight:500;line-height:1.2;letter-spacing:-.01em;margin:0 0 5px;overflow-wrap:anywhere}
.v4p-meta-value::after{content:"";position:absolute;left:0;bottom:0;width:100%;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left center;transition:transform .65s cubic-bezier(.19,1,.22,1);pointer-events:none}
.v4p-meta-value:hover::after,.v4p-meta-value:focus-visible::after{transform:scaleX(1)}
.v4p-intro-content{width:100%;max-width:1050px;min-width:0}
.v4p-editorial,.v4p-editorial p,.v4p-process-story p{font-family:var(--v4p-font-body);font-size:clamp(19px,1.27vw,24px);font-weight:500;line-height:1.5;letter-spacing:-.01em}
.v4p-editorial p{margin:0 0 1.65em}
.v4p-editorial p:last-child{margin-bottom:0}
.v4p-top-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin-top:82px}
.v4p-stat-number{font-family:var(--v4p-font-head);font-size:clamp(90px,7.1vw,130px);font-weight:500;line-height:1;letter-spacing:-.02em}
.v4p-stat-number sup{font-size:.56em;vertical-align:top;position:relative;top:.06em}
.v4p-stat-label{font-family:var(--v4p-font-body);font-size:19px;font-weight:500;margin-top:22px;line-height:1.4}

/* Full media */
.v4p-media{margin:0 var(--v4p-page-pad) clamp(60px,8vw,135px);position:relative;background:#151515;overflow:hidden}
.v4p-media-large{aspect-ratio:1.84}
.v4p-media>img,.v4p-media-inset img{width:100%;height:100%;object-fit:cover;display:block;will-change:transform;transform-origin:center center}
.v4p-media-inset{position:absolute;inset:14% 11%;background:#272727;overflow:hidden}
.v4p-caption{font-family:var(--v4p-font-body);font-size:12px;position:absolute;left:20px;bottom:20px;color:#ddd;z-index:2}
.v4p-video-play{position:absolute;right:23px;bottom:21px;color:#fff;background:#242424;width:45px;height:45px;border-radius:50%;display:grid;place-items:center;z-index:2}
.v4p-video-play::before{content:'▶';font-size:16px;margin-left:3px}

/* Centered editorial V4 column */
.v4p-copy-row{display:block;padding:0 var(--v4p-page-pad);margin-bottom:clamp(80px,8vw,148px)}
.v4p-copy-body{width:min(760px,52%);max-width:none;margin-left:auto;margin-right:auto;min-width:0}
.v4p-copy-body h2{font-family:var(--v4p-font-head);font-size:clamp(30px,2.22vw,42px);font-weight:500;line-height:1.17;letter-spacing:-.02em;margin:0 0 35px}
.v4p-copy-body .v4p-editorial{margin-bottom:60px}
.v4p-copy-body .v4p-editorial:last-child{margin-bottom:0}
.v4p-copy-body h2:not(:first-child){margin-top:58px}

/* Media trio */
.v4p-media-trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,2.1vw,35px);margin:0 var(--v4p-page-pad) clamp(80px,8vw,150px)}
.v4p-trio-frame{aspect-ratio:.83;background:#151515;overflow:hidden;display:flex;align-items:center;justify-content:center}
.v4p-trio-frame img{width:100%;height:100%;object-fit:cover;display:block;will-change:transform;transform-origin:center center}

/* Additional metrics */
.v4p-additional-metrics-wrap{padding:0 var(--v4p-page-pad) clamp(80px,8vw,148px)}
.v4p-case-metrics{width:min(760px,52%);margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(22px,3vw,55px)}
.v4p-case-metric{min-width:0}
.v4p-case-metric-number{font-family:var(--v4p-font-head);font-size:clamp(48px,4.8vw,86px);font-weight:500;line-height:1.08;letter-spacing:-.04em;overflow-wrap:anywhere}
.v4p-case-metric-label{font-family:var(--v4p-font-body);font-size:clamp(16px,1.12vw,19px);font-weight:500;line-height:1.4;margin-top:16px}

/* Process */
.v4p-process-story{width:min(100% - 48px,780px);margin:0 auto;padding:96px 0 150px}
.v4p-process-story p{margin:0 0 1.65em}
.v4p-process-story figure{margin:38px 0 76px;overflow:hidden}
.v4p-process-story img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;display:block;will-change:transform;transform-origin:center center}

/* Team */
.v4p-team-grid{padding:95px var(--v4p-page-pad) 155px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.5vw,26px)}
.v4p-team-member{min-width:0}
.v4p-team-photo-frame{width:100%;aspect-ratio:3/4;overflow:hidden;position:relative;background:#eee}
.v4p-team-photo-parallax{position:absolute;left:0;top:-6%;width:100%;height:112%;will-change:transform}
.v4p-team-photo-frame img{width:100%;height:100%;object-fit:cover;display:block;transform-origin:center center;will-change:transform}
.v4p-member-name{font-family:var(--v4p-font-body);font-weight:500;font-size:24px;margin:22px 0 6px}
.v4p-member-role{font-family:var(--v4p-font-body);font-size:17px;color:#666}

/* Next project */
.v4p-next-showcase{position:relative;min-height:100svh;overflow:hidden;margin:0;padding:0;isolation:isolate}
.v4p-next-showcase-link{display:block;min-height:100svh;color:#fff;text-decoration:none;position:relative;overflow:hidden;isolation:isolate}
.v4p-next-showcase-visual{position:absolute;inset:0;clip-path:inset(7% 4% 7% 4%);overflow:hidden;will-change:clip-path;transform:translateZ(0)}
.v4p-next-showcase-visual img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 38%;transform:scale(1.08);will-change:transform}
.v4p-next-showcase-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 42%,rgba(0,0,0,.59) 100%)}
.v4p-next-showcase-heading{position:absolute;z-index:2;bottom:clamp(42px,6vw,110px);left:clamp(24px,5vw,90px);right:24px;will-change:transform,opacity}
.v4p-next-showcase h2{font-family:var(--v4p-font-head);font-size:clamp(42px,5.2vw,82px);font-weight:500;line-height:1.08;letter-spacing:-.025em;margin:0;max-width:900px}
.v4p-next-showcase-cta{display:table;position:relative;margin-top:24px;padding-bottom:3px;font-family:var(--v4p-font-body);font-size:clamp(16px,1.05vw,19px);font-weight:500;line-height:1.2;letter-spacing:-.01em;color:inherit}
.v4p-next-showcase-cta::after{content:"";position:absolute;left:0;bottom:0;width:100%;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left center;transition:transform .65s cubic-bezier(.19,1,.22,1);pointer-events:none}
.v4p-next-showcase-link:hover .v4p-next-showcase-cta::after,.v4p-next-showcase-link:focus-visible .v4p-next-showcase-cta::after{transform:scaleX(1)}

/* More projects — no arrows, counter only, initial left inset only. */
.v4p-related-projects{padding:112px 0 128px;overflow:hidden;color:#111}
.v4p-related-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;padding-left:var(--v4p-page-pad);padding-right:var(--v4p-page-pad);margin:0 0 48px}
.v4p-related-heading h2{font-family:var(--v4p-font-head);font-size:clamp(34px,3vw,52px);letter-spacing:-.015em;line-height:1.12;font-weight:500;margin:0}
.v4p-related-carousel-nav{display:flex;align-items:center;justify-content:flex-end;gap:18px;flex:0 0 auto;padding-bottom:4px}
.v4p-related-counter{font-family:var(--v4p-font-nav);font-size:14px;font-weight:500;line-height:1;letter-spacing:-.01em;min-width:58px;text-align:center;font-variant-numeric:tabular-nums;color:#111}
.v4p-related-viewport{width:100vw;max-width:100vw;margin:0;overflow:hidden;cursor:grab;touch-action:pan-y}
.v4p-related-viewport.is-dragging{cursor:grabbing}
.v4p-related-track{display:flex;flex-wrap:nowrap;width:max-content;max-width:none;gap:clamp(16px,1.65vw,30px);padding-left:var(--v4p-page-pad);padding-right:0;overflow:visible;transform:translate3d(0,0,0);will-change:transform;backface-visibility:hidden;user-select:none;-webkit-user-select:none;cursor:inherit}
.v4p-related-card{flex:0 0 clamp(270px,21vw,370px);width:clamp(270px,21vw,370px);min-width:0;display:block;color:inherit;text-decoration:none;transform:translateZ(0);backface-visibility:hidden;-webkit-user-drag:none}
.v4p-related-category{font-family:var(--v4p-font-nav);font-size:clamp(15px,1.05vw,19px);font-weight:500;display:table;position:relative;margin:0 0 24px;line-height:1.25;padding-bottom:3px}
.v4p-related-category::after{content:'';position:absolute;left:0;bottom:0;width:100%;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left center;transition:transform .65s cubic-bezier(.19,1,.22,1)}
.v4p-related-card:hover .v4p-related-category::after,.v4p-related-card:focus-visible .v4p-related-category::after{transform:scaleX(1)}
.v4p-related-mosaic{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));aspect-ratio:4/5;overflow:hidden;background:#fff;cursor:inherit}
.v4p-related-mosaic img,.v4p-related-empty{width:100%;height:100%;object-fit:cover;min-width:0;min-height:0;display:block;pointer-events:none;backface-visibility:hidden;will-change:transform;background:#eee}

@media(max-width:900px){
  .v4p-intro{grid-template-columns:minmax(0,1fr);gap:30px}
  .v4p-copy-body,.v4p-case-metrics{width:100%}
  .v4p-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v4p-media-large{aspect-ratio:1.4}
}
@media(max-width:767px){
  .v4p-block{--v4p-page-pad:clamp(16px,4.5vw,25px)}
  .v4p-hero-wrap{min-height:1340px}
  .v4p-hero{min-height:670px}
  .v4p-hero-top-content{top:clamp(108px,17svh,160px);left:var(--v4p-page-pad);right:var(--v4p-page-pad)}
  .v4p-case-tabs{gap:clamp(15px,4.5vw,28px);flex-wrap:nowrap;max-width:100%;margin-bottom:clamp(24px,4.5vh,42px)}
  .v4p-case-tab,.v4p-sticky-tabs .v4p-case-tab{font-size:clamp(13px,3.5vw,16px)}
  .v4p-hero-title{font-size:clamp(29px,8vw,43px);line-height:1.17;max-width:100%}
  .v4p-sticky-tabs{--v4p-header-height:72px;min-height:54px}
  .v4p-intro{padding:clamp(62px,11vw,90px) var(--v4p-page-pad);gap:30px}
  .v4p-editorial,.v4p-editorial p,.v4p-process-story p{font-size:19px;line-height:1.55}
  .v4p-meta-value{font-size:19px;line-height:1.4}
  .v4p-top-metrics{margin-top:48px;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .v4p-stat-number{font-size:65px}
  .v4p-stat-label{font-size:14px}
  .v4p-media{margin-inline:var(--v4p-page-pad);margin-bottom:clamp(65px,10vw,95px)}
  .v4p-media-large{aspect-ratio:4/5}
  .v4p-media-inset{inset:12% 6%}
  .v4p-copy-row{padding:0 var(--v4p-page-pad);margin-bottom:clamp(75px,12vw,100px)}
  .v4p-copy-body h2{font-size:clamp(29px,7.4vw,38px)}
  .v4p-media-trio{margin-inline:var(--v4p-page-pad);grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .v4p-trio-frame:last-child{grid-column:1/-1;aspect-ratio:1.6}
  .v4p-additional-metrics-wrap{padding-inline:var(--v4p-page-pad)}
  .v4p-case-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .v4p-case-metric-number{font-size:clamp(30px,8vw,48px)}
  .v4p-case-metric-label{font-size:13px;margin-top:10px;line-height:1.3}
  .v4p-process-story{width:calc(100% - var(--v4p-page-pad)*2);padding:70px 0 100px}
  .v4p-process-story figure{margin:26px 0 56px}
  .v4p-team-grid{padding:60px var(--v4p-page-pad) 100px;gap:26px 12px}
  .v4p-member-name{font-size:19px;margin-top:15px}
  .v4p-member-role{font-size:14px}
  .v4p-next-showcase,.v4p-next-showcase-link{min-height:88svh}
  .v4p-next-showcase-visual{clip-path:inset(4% 4% 4% 4%)}
  .v4p-next-showcase h2{font-size:clamp(38px,10vw,60px)}
  .v4p-next-showcase-heading{left:24px;bottom:55px}
  .v4p-next-showcase-cta{font-size:16px;margin-top:18px}
  .v4p-related-projects{padding:64px 0 80px}
  .v4p-related-heading{padding-left:20px;padding-right:20px;align-items:center;gap:16px;margin-bottom:32px}
  .v4p-related-heading h2{font-size:34px}
  .v4p-related-counter{font-size:13px;min-width:52px}
  .v4p-related-track{gap:14px;padding-left:20px}
  .v4p-related-card{flex-basis:min(75vw,350px);width:min(75vw,350px)}
  .v4p-related-category{font-size:15px;margin-bottom:14px}
}
@media(max-width:420px){
  .v4p-hero-top-content{top:clamp(108px,16svh,143px)}
  .v4p-hero-title{font-size:clamp(28px,7vw,35px)}
  .v4p-case-tabs{gap:15px}
  .v4p-member-name{font-size:clamp(15px,4vw,19px)}
  .v4p-related-heading h2{font-size:30px}
  .v4p-related-category{font-size:14px}
}
@media(prefers-reduced-motion:reduce){
  .v4p-hero-bg,.v4p-team-photo-parallax,.v4p-team-photo-frame img,.v4p-media img,.v4p-media-trio img,.v4p-process-story img{transform:none!important;will-change:auto!important}
  .v4p-case-tab::after,.v4p-meta-value::after,.v4p-next-showcase-cta::after,.v4p-related-category::after{transition:none!important}
  .v4p-next-showcase-visual{clip-path:inset(0)!important}
  .v4p-next-showcase-visual img{transform:none!important}
  .v4p-next-showcase-heading{opacity:1!important;transform:none!important}
}

/* Elementor wrappers must not introduce spacing that is absent in the approved V4 baseline. */


/* Elementor wrapper normalization.
   The V4 widget owns its layout; Elementor wrappers must be transparent. */
.elementor-widget-vesna_v4_case_intro,
.elementor-widget-vesna_v4_editorial_copy,
.elementor-widget-vesna_v4_case_metrics,
.elementor-widget-vesna_v4_more_projects{margin-bottom:0!important;
  width:100%!important;max-width:none!important;
  margin:0!important;padding:0!important;
  align-self:stretch!important;
}
.elementor-widget-vesna_v4_case_intro>.elementor-widget-container,
.elementor-widget-vesna_v4_editorial_copy>.elementor-widget-container,
.elementor-widget-vesna_v4_case_metrics>.elementor-widget-container,
.elementor-widget-vesna_v4_more_projects>.elementor-widget-container{
  width:100%!important;max-width:none!important;
  margin:0!important;padding:0!important;
}
body.vesna-portfolio-project .elementor-location-single,
body.vesna-portfolio-project .elementor-location-single>.elementor-element,
body.vesna-portfolio-project main,
body.vesna-portfolio-project .site-main{max-width:none!important;width:100%!important}
body.vesna-portfolio-project .elementor-location-single{overflow:clip}

/* empty Elementor media controls stay visible as neutral layout placeholders. */
.v4p-hero-bg.is-placeholder{background-image:none!important;background-color:#cfcfcf}
.v4p-media.is-placeholder{background:#e5e5e5}
.v4p-media-placeholder{position:absolute;inset:0;display:block;background:#e5e5e5}
.v4p-media.is-inset.is-placeholder{background:#eeeeee}
.v4p-media.is-inset.is-placeholder .v4p-media-inset{background:#e5e5e5}
.v4p-trio-frame:empty{background:#e5e5e5}
.v4p-process-story figure.v4p-process-placeholder{display:block;aspect-ratio:3/2;background:#e5e5e5}
.v4p-next-showcase-visual.is-placeholder{background:#bdbdbd}
.v4p-team-photo-parallax:empty{background:#e5e5e5}


/* Text theme is a CASE/PAGE setting, not a widget setting.
   It controls the case hero/UI contrast. Section backgrounds and all widget
   layout/media/style controls remain independent. */
body.v4p-case-text-theme-light{
  --v4p-page-ui-text:#fff;
  --v4p-page-ui-muted:rgba(255,255,255,.78);
}
body.v4p-case-text-theme-dark{
  --v4p-page-ui-text:#111;
  --v4p-page-ui-muted:rgba(17,17,17,.62);
}
body.v4p-case-text-theme-light .v4p-hero,
body.v4p-case-text-theme-dark .v4p-hero,
body.v4p-case-text-theme-light .v4p-hero-top-content,
body.v4p-case-text-theme-dark .v4p-hero-top-content{color:var(--v4p-page-ui-text)}
body.v4p-case-text-theme-light .v4p-hero .v4p-case-tab,
body.v4p-case-text-theme-dark .v4p-hero .v4p-case-tab{color:var(--v4p-page-ui-muted)}
body.v4p-case-text-theme-light .v4p-hero .v4p-case-tab:hover,
body.v4p-case-text-theme-light .v4p-hero .v4p-case-tab.active,
body.v4p-case-text-theme-dark .v4p-hero .v4p-case-tab:hover,
body.v4p-case-text-theme-dark .v4p-hero .v4p-case-tab.active{color:var(--v4p-page-ui-text)}

/* Theme Builder must be only a transparent shell around Elementor Pro Post Content. */
body.vesna-portfolio-project .elementor-widget-theme-post-content,
body.vesna-portfolio-project .elementor-widget-theme-post-content>.elementor-widget-container{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
}

/* exact V4 button reset. Site/theme button styles must not create boxes
   around the approved Overview / Process / Team navigation. */
.v4p-case-tab,
.v4p-sticky-tabs .v4p-case-tab{
  -webkit-appearance:none!important;
  appearance:none!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  min-width:0!important;
  min-height:0!important;
}
.v4p-case-tab:focus:not(:focus-visible){outline:0!important;box-shadow:none!important}
.v4p-case-tab:focus-visible{outline:0!important;box-shadow:none!important}

/* Theme Builder contains one dynamic bridge. The case owns all of its own
   Elementor blocks and remains full-bleed exactly like the standalone V4. */
.vesna-v4-case-document{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
.vesna-v4-case-document>.elementor,
.vesna-v4-case-document .elementor-section-wrap{
  width:100%!important;
  max-width:none!important;
}

/* modern Elementor container architecture + native Image widgets. */
body.vesna-portfolio-project{
  --v4p-page-pad:clamp(16px,1.75vw,32px);
  --v4p-native-font:Arial,Helvetica,sans-serif;
  --v4p-native-editorial:Georgia,'Times New Roman',serif;
}
body.vesna-portfolio-project .e-con.vesna-case-container,
body.vesna-portfolio-project .elementor-element.vesna-case-container{
  --padding-top:0;--padding-right:0;--padding-bottom:0;--padding-left:0;
  --margin-top:0;--margin-right:0;--margin-bottom:0;--margin-left:0;
  --gap:0px;
  width:100%!important;max-width:none!important;
  margin:0!important;padding:0!important;gap:0!important;
}
body.vesna-portfolio-project .v4p-native-block{
  width:100vw!important;max-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  position:relative;box-sizing:border-box;
  background:#fff;z-index:3;
}
body.vesna-portfolio-project .v4p-native-block *{box-sizing:border-box}

/* Native hero: Container > Image + Container > HTML tabs + Heading. */
body.vesna-portfolio-project .v4p-native-hero-wrap{
  height:200svh!important;min-height:1440px!important;
  margin-bottom:-100svh!important;background:#171915!important;z-index:1!important;
}
body.vesna-portfolio-project .v4p-native-hero{
  height:100svh!important;min-height:720px!important;position:sticky!important;top:0!important;
  display:block!important;overflow:hidden!important;background:#171915!important;color:#fff;
}
body.vesna-portfolio-project .v4p-hero-native-image{
  position:absolute!important;inset:-12% 0!important;width:100%!important;height:124%!important;
  max-width:none!important;margin:0!important;z-index:0!important;pointer-events:none;
}
body.vesna-portfolio-project .v4p-hero-native-image>.elementor-widget-container{
  width:100%!important;height:100%!important;overflow:hidden!important;padding:0!important;background:#20221f;
}
body.vesna-portfolio-project .v4p-hero-native-image img{
  width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 42%;display:block!important;
  max-width:none!important;will-change:transform;transform-origin:center center;
}
body.vesna-portfolio-project .v4p-native-hero::after{
  content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.13),rgba(0,0,0,.06) 40%,rgba(0,0,0,.18));
  z-index:1;pointer-events:none;
}
body.vesna-portfolio-project .v4p-native-hero-content{
  position:absolute!important;top:clamp(112px,15svh,175px)!important;left:var(--v4p-page-pad)!important;right:var(--v4p-page-pad)!important;
  z-index:4!important;display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;
  width:auto!important;max-width:none!important;margin:0!important;padding:0!important;gap:0!important;
  color:var(--v4p-page-ui-text,#fff);
}
body.vesna-portfolio-project .v4p-native-tabs-widget,
body.vesna-portfolio-project .v4p-native-tabs-widget>.elementor-widget-container{margin:0!important;padding:0!important;width:auto!important}
body.vesna-portfolio-project .v4p-native-hero-title,
body.vesna-portfolio-project .v4p-native-hero-title>.elementor-widget-container{width:100%!important;margin:0!important;padding:0!important}
body.vesna-portfolio-project .v4p-native-hero-title .elementor-heading-title{
  font-family:var(--v4p-font-head,'Inter','Helvetica Neue',Arial,sans-serif)!important;font-weight:500!important;
  font-size:clamp(32px,3.65vw,60px)!important;line-height:1.15!important;letter-spacing:-.035em!important;
  max-width:1100px!important;margin:0 auto!important;color:inherit!important;text-wrap:balance;
}
body.v4p-case-text-theme-light .v4p-native-hero-content{color:#fff}
body.v4p-case-text-theme-dark .v4p-native-hero-content{color:#111}
body.v4p-case-text-theme-light .v4p-native-hero-content .v4p-case-tab{color:rgba(255,255,255,.78)}
body.v4p-case-text-theme-dark .v4p-native-hero-content .v4p-case-tab{color:rgba(17,17,17,.62)}
body.v4p-case-text-theme-light .v4p-native-hero-content .v4p-case-tab:hover,
body.v4p-case-text-theme-light .v4p-native-hero-content .v4p-case-tab.active{color:#fff}
body.v4p-case-text-theme-dark .v4p-native-hero-content .v4p-case-tab:hover,
body.v4p-case-text-theme-dark .v4p-native-hero-content .v4p-case-tab.active{color:#111}

/* Native Image stays an Elementor Image widget; its widget container is the frame. */
body.vesna-portfolio-project .elementor-widget-image.v4p-native-parallax-yes>.elementor-widget-container{
  overflow:hidden!important;position:relative;
}
body.vesna-portfolio-project .elementor-widget-image.v4p-native-parallax-yes img{
  display:block;width:100%;height:100%;will-change:transform;transform-origin:center center;
}
body.vesna-portfolio-project .v4p-native-media{
  padding:0 var(--v4p-page-pad) clamp(60px,8vw,135px)!important;background:#fff!important;
}
body.vesna-portfolio-project .v4p-native-media>.elementor-widget-image{
  width:100%!important;max-width:none!important;margin:0!important;
}
body.vesna-portfolio-project .v4p-native-media>.elementor-widget-image>.elementor-widget-container{
  width:100%!important;aspect-ratio:1.84;background:#151515;overflow:hidden;
}
body.vesna-portfolio-project .v4p-native-media.v4p-native-media-inset>.elementor-widget-image>.elementor-widget-container{
  padding:14% 11%;background:#eee;
}
body.vesna-portfolio-project .v4p-native-media.v4p-native-media-inset>.elementor-widget-image>.elementor-widget-container img{
  background:#151515;
}
body.vesna-portfolio-project .v4p-native-media>.elementor-widget-image>.elementor-widget-container:empty{min-height:clamp(360px,51vw,980px);background:#e5e5e5}

/* Three images: modern parent/child containers, no legacy columns. */
body.vesna-portfolio-project .v4p-native-trio{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:2.1vw!important;padding:0 var(--v4p-page-pad) 150px!important;background:#fff!important;
}
body.vesna-portfolio-project .v4p-native-trio-frame{
  width:100%!important;min-width:0!important;margin:0!important;padding:0!important;display:block!important;
}
body.vesna-portfolio-project .v4p-native-trio-frame>.elementor-widget-image{width:100%!important;margin:0!important}
body.vesna-portfolio-project .v4p-native-trio-frame>.elementor-widget-image>.elementor-widget-container{
  width:100%!important;aspect-ratio:.83;background:#e5e5e5;overflow:hidden;
}
body.vesna-portfolio-project .v4p-native-trio-frame>.elementor-widget-image img{width:100%!important;height:100%!important;object-fit:cover!important}

/* Process: text and every process visual are separate native Elementor widgets. */
body.vesna-portfolio-project .v4p-native-process{background:#fff!important;padding:0!important}
body.vesna-portfolio-project .v4p-native-process-story{
  width:min(100% - 48px,780px)!important;max-width:780px!important;margin:0 auto!important;padding:96px 0 150px!important;gap:0!important;
}
body.vesna-portfolio-project .v4p-native-process-text,
body.vesna-portfolio-project .v4p-native-process-text>.elementor-widget-container{margin:0!important;padding:0!important}
body.vesna-portfolio-project .v4p-native-process-text p{
  font-family:var(--v4p-font-body,'Neue Haas Grotesk Text Pro','Helvetica Neue',Arial,sans-serif)!important;
  font-size:clamp(19px,1.27vw,24px)!important;font-weight:500!important;line-height:1.5!important;letter-spacing:-.01em!important;margin:0 0 34px!important;
}
body.vesna-portfolio-project .v4p-native-process-image{width:100%!important;margin:4px 0 76px!important}
body.vesna-portfolio-project .v4p-native-process-image>.elementor-widget-container{width:100%!important;aspect-ratio:3/2;background:#e5e5e5;overflow:hidden!important;padding:0!important}
body.vesna-portfolio-project .v4p-native-process-image img{width:100%!important;height:100%!important;object-fit:cover!important}

/* Native next project keeps the picture as an Image widget. */
body.vesna-portfolio-project .v4p-native-next{position:relative!important;min-height:100svh!important;overflow:hidden!important;background:#1b1b1b!important;color:#fff!important}
body.vesna-portfolio-project .v4p-native-next .v4p-next-showcase-visual{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;overflow:hidden!important;z-index:0!important}
body.vesna-portfolio-project .v4p-native-next .v4p-next-native-image{width:100%!important;height:100%!important;margin:0!important}
body.vesna-portfolio-project .v4p-native-next .v4p-next-native-image>.elementor-widget-container{width:100%!important;height:100%!important;overflow:hidden!important;background:#bbb}
body.vesna-portfolio-project .v4p-native-next .v4p-next-native-image img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
body.vesna-portfolio-project .v4p-native-next::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 42%,rgba(0,0,0,.59) 100%);z-index:1;pointer-events:none}
body.vesna-portfolio-project .v4p-native-next .v4p-next-showcase-heading{z-index:2!important;position:absolute!important;left:clamp(24px,5vw,90px)!important;right:24px!important;bottom:clamp(42px,6vw,110px)!important;width:auto!important;margin:0!important;padding:0!important;gap:0!important;color:#fff}
body.vesna-portfolio-project .v4p-native-next-title .elementor-heading-title{font-family:var(--v4p-font-head,'Inter','Helvetica Neue',Arial,sans-serif)!important;font-size:clamp(42px,5.2vw,82px)!important;font-weight:500!important;line-height:1.08!important;letter-spacing:-.025em!important;color:#fff!important;margin:0!important;max-width:900px}
body.vesna-portfolio-project .v4p-native-next-cta,
body.vesna-portfolio-project .v4p-native-next-cta>.elementor-widget-container{margin:0!important;padding:0!important}
body.vesna-portfolio-project .v4p-native-next-cta a{display:table;position:relative;margin-top:24px;padding-bottom:3px;color:#fff;text-decoration:none;font-size:clamp(16px,1.05vw,19px);font-weight:500}
body.vesna-portfolio-project .v4p-native-next-cta a::after{content:"";position:absolute;left:0;bottom:0;width:100%;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .65s cubic-bezier(.19,1,.22,1)}
body.vesna-portfolio-project .v4p-native-next-cta a:hover::after{transform:scaleX(1)}

@media(max-width:767px){
  body.vesna-portfolio-project{--v4p-page-pad:18px}
  body.vesna-portfolio-project .v4p-native-hero-wrap{min-height:1340px!important}
  body.vesna-portfolio-project .v4p-native-hero{min-height:670px!important}
  body.vesna-portfolio-project .v4p-native-hero-content{top:clamp(108px,17svh,160px)!important}
  body.vesna-portfolio-project .v4p-native-hero-title .elementor-heading-title{font-size:clamp(29px,8vw,43px)!important;line-height:1.17!important}
  body.vesna-portfolio-project .v4p-native-media{padding:0 var(--v4p-page-pad) 85px!important}
  body.vesna-portfolio-project .v4p-native-media>.elementor-widget-image>.elementor-widget-container{aspect-ratio:4/5}
  body.vesna-portfolio-project .v4p-native-media.v4p-native-media-inset>.elementor-widget-image>.elementor-widget-container{padding:12% 6%}
  body.vesna-portfolio-project .v4p-native-trio{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding:0 14px 85px!important}
  body.vesna-portfolio-project .v4p-native-trio-frame:last-child{grid-column:1/-1}
  body.vesna-portfolio-project .v4p-native-trio-frame:last-child>.elementor-widget-image>.elementor-widget-container{aspect-ratio:1.6}
  body.vesna-portfolio-project .v4p-native-process-story{width:calc(100% - 36px)!important;padding:64px 0 96px!important}
  body.vesna-portfolio-project .v4p-native-process-text p{font-size:19px!important;line-height:1.6!important;margin-bottom:26px!important}
  body.vesna-portfolio-project .v4p-native-process-image{margin:0 0 56px!important}
  body.vesna-portfolio-project .v4p-native-next{min-height:88svh!important}
  body.vesna-portfolio-project .v4p-native-next .v4p-next-showcase-heading{left:24px!important;bottom:55px!important}
  body.vesna-portfolio-project .v4p-native-next-title .elementor-heading-title{font-size:clamp(38px,10vw,60px)!important}
}
@media(prefers-reduced-motion:reduce){
  body.vesna-portfolio-project .elementor-widget-image.v4p-native-parallax-yes img{transform:none!important;will-change:auto!important}
}

/* restore the approved V4 geometry literally; no invented Elementor rhythm. */
@media(min-width:901px){
  body.vesna-portfolio-project .v4p-intro{
    grid-template-columns:30.9% minmax(0,1fr)!important;
    column-gap:1.8%!important;row-gap:0!important;
    padding:148px var(--v4p-page-pad)!important;
  }
  body.vesna-portfolio-project .v4p-intro-meta{font-size:23px!important;line-height:1.3!important;padding-left:5px!important}
  body.vesna-portfolio-project .v4p-meta-item{margin-bottom:54px!important}
  body.vesna-portfolio-project .v4p-meta-label{font-size:14px!important;margin-bottom:7px!important}
  body.vesna-portfolio-project .v4p-intro-content{max-width:1050px!important}
  body.vesna-portfolio-project .v4p-editorial,
  body.vesna-portfolio-project .v4p-editorial p{
    font-family:Georgia,'Times New Roman',serif!important;
    font-size:clamp(22px,1.65vw,29px)!important;line-height:1.34!important;letter-spacing:0!important;font-weight:400!important;
  }
  body.vesna-portfolio-project .v4p-editorial p{margin:0 0 29px!important}
  body.vesna-portfolio-project .v4p-top-metrics{gap:32px!important;margin-top:82px!important}
  body.vesna-portfolio-project .v4p-stat-number{font-size:clamp(90px,7.1vw,130px)!important;font-weight:400!important;line-height:1!important;letter-spacing:-.025em!important}
  body.vesna-portfolio-project .v4p-stat-label{font-size:20px!important;margin-top:22px!important}
  body.vesna-portfolio-project .v4p-copy-row{
    display:grid!important;grid-template-columns:30.9% minmax(0,1fr)!important;column-gap:1.8%!important;
    padding:0 var(--v4p-page-pad)!important;margin-bottom:148px!important;
  }
  body.vesna-portfolio-project .v4p-copy-body{
    grid-column:2!important;width:auto!important;max-width:1050px!important;margin:0!important;
  }
  body.vesna-portfolio-project .v4p-copy-body h2{font-size:clamp(29px,2.42vw,43px)!important;font-weight:400!important;line-height:1.12!important;letter-spacing:0!important;margin:0 0 35px!important}
  body.vesna-portfolio-project .v4p-copy-body .v4p-editorial{margin-bottom:60px!important}
  body.vesna-portfolio-project .v4p-copy-body h2:not(:first-child){margin-top:58px!important}
}

/* Theme Builder shell: modern Container > Post Content, completely transparent. */
body.vesna-portfolio-project .vesna-case-template-shell,
body.vesna-portfolio-project .vesna-case-template-shell.e-con{
  --container-max-width:100%;--content-width:100%;--padding-top:0;--padding-right:0;--padding-bottom:0;--padding-left:0;--gap:0px;
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;gap:0!important;
}
body.vesna-portfolio-project .vesna-case-template-shell>.e-con-inner{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;gap:0!important}
