/*
Theme Name: Esteves Minimal Blocks
Theme URI: https://www.esteves.nu/
Author: Esteves
Description: Independent editable block-template homepage; responsive portfolio and navigation.
Version: 2.56.3
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: esteves-minimal-blocks-v07
Tags: full-site-editing, portfolio, one-column
*/
:root{color-scheme:dark}
html,body{margin:0;padding:0}
body{background:#111214;color:#f3f3f2}
/* Form controls follow the site-wide Inter typeface from theme.json. */
button,input,select,textarea{font-family:inherit}
.wp-site-blocks{min-height:100svh;margin:0!important;padding:0!important}
.wp-site-blocks>*{margin-block-start:0!important}
.wp-block-image img{max-width:100%;height:auto}
a:focus-visible,button:focus-visible{outline:3px solid #ffce78;outline-offset:4px}
/* Independent landing template — no inherited post content or obsolete buttons */
.esteves-landing{position:relative;margin:0!important;padding:0!important;min-height:100svh;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:center}
.esteves-landing .wp-block-cover__image-background{object-fit:cover;object-position:center center}
.esteves-landing .wp-block-cover__background{background:rgba(0,0,0,.18)!important;opacity:1!important}
.esteves-landing .wp-block-cover__inner-container{position:relative;z-index:2;width:100%;max-width:100%!important;padding:clamp(100px,15vh,170px) clamp(18px,6vw,80px) clamp(55px,10vh,100px);box-sizing:border-box;text-align:center}
.esteves-landing .esteves-hero-heading{font-size:clamp(2.5rem,6vw,5.5rem)!important;font-weight:700!important;line-height:1.1;letter-spacing:-.035em;margin:0 0 26px!important;color:#121212!important;text-wrap:balance}
.esteves-landing .esteves-hero-line{font-size:clamp(.93rem,1.6vw,1.22rem)!important;line-height:1.5;color:#121212!important;font-weight:500;margin:0 auto 12px!important;max-width:900px;text-wrap:balance}
/* Floating header occupies zero layout height: no black top strip */
.wp-site-blocks>header:has(.esteves-home-nav){position:absolute!important;top:0;left:0;width:100%;z-index:20;background:transparent!important;margin:0!important;padding:0!important}
.esteves-home-nav{position:absolute!important;top:0;right:0;left:0;z-index:30;margin:0!important;padding:clamp(18px,3vw,38px) clamp(34px,8vw,136px)!important;background:transparent!important;display:flex;justify-content:flex-end;box-sizing:border-box}
.esteves-nav-links{gap:clamp(18px,2.5vw,38px)!important;background:transparent!important}
.esteves-nav-links .wp-block-navigation-item__content{color:#fff9e8!important;background:transparent!important;font-size:clamp(.9rem,1.4vw,1.1rem)!important;font-weight:800!important;letter-spacing:.095em;text-decoration:none!important;text-transform:uppercase!important;text-shadow:0 2px 8px rgba(0,0,0,.85);padding:9px 2px!important;transition:color .2s ease!important}
.esteves-nav-links .wp-block-navigation-item__content:hover,.esteves-nav-links .wp-block-navigation-item__content:focus-visible{color:#ffca76!important}
/* Regular pages */
.esteves-inner-nav{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px clamp(22px,6vw,105px);box-sizing:border-box;border-bottom:1px solid #444;background:#111214}
.esteves-back-link .wp-block-navigation-item__content{font-weight:800!important;letter-spacing:.08em;color:#fff9e8!important;text-transform:uppercase;text-decoration:none!important}
.esteves-back-link .wp-block-navigation-item__content:hover{color:#ffca76!important}
.esteves-page{box-sizing:border-box;padding:clamp(28px,5vw,60px) clamp(18px,6vw,80px) 80px;overflow-wrap:anywhere}
.esteves-page .wp-block-post-content>*:first-child{margin-block-start:0}
.esteves-page .wp-block-media-text__media img{height:auto}
.site-footer{border-top:1px solid #353535}
/* Single run: background picture first, then text lines. */
@keyframes estevesPhotoIn{from{opacity:0}to{opacity:1}}
@keyframes estevesTextIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media (prefers-reduced-motion:no-preference){
.esteves-landing .wp-block-cover__image-background{animation:estevesPhotoIn 1.15s ease-out both}
.esteves-landing .esteves-hero-heading{animation:estevesTextIn .85s ease-out 1.05s both}
.esteves-landing .esteves-hero-line-one{animation:estevesTextIn .85s ease-out 1.45s both}
.esteves-landing .esteves-hero-line-two{animation:estevesTextIn .85s ease-out 1.8s both}
}
@media (max-width:640px){
.esteves-home-nav{padding:18px 24px!important}
.esteves-nav-links{gap:14px!important}
.esteves-nav-links .wp-block-navigation-item__content{font-size:.78rem!important;letter-spacing:.05em}
.esteves-landing .wp-block-cover__image-background{object-position:center}
.esteves-landing .wp-block-cover__inner-container{padding:120px 20px 70px}
.esteves-landing .esteves-hero-heading{margin-bottom:22px!important}
.esteves-inner-nav{padding:15px 18px}
}
@media (prefers-reduced-motion:reduce){.esteves-landing .wp-block-cover__image-background,.esteves-landing .esteves-hero-heading,.esteves-landing .esteves-hero-line{animation:none!important;opacity:1!important;transform:none!important}}

/* v0.8: ONLY correct the hero copy's centering and color. */
.esteves-landing .wp-block-cover__inner-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
}
.esteves-landing .esteves-hero-heading,
.esteves-landing .esteves-hero-line {
  box-sizing: border-box;
  color: #ffffff !important;
  text-align: center !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* v0.9: only viewport fit and responsive navigation. */
/* The old 100vh Cover height plus WordPress's admin toolbar caused needless scrolling. */
html,body { min-height: 0; }
.esteves-landing.wp-block-cover {
  height: 100svh;
  min-height: 100svh !important;
  box-sizing: border-box;
}
@supports (height: 100dvh) {
  .esteves-landing.wp-block-cover {
    height: 100dvh;
    min-height: 100dvh !important;
  }
}
/* Admin toolbar lives outside the page: reserve its height when logged in. */
body.admin-bar .esteves-landing.wp-block-cover {
  height: calc(100svh - 32px);
  min-height: calc(100svh - 32px) !important;
}
@supports (height: 100dvh) {
  body.admin-bar .esteves-landing.wp-block-cover {
    height: calc(100dvh - 32px);
    min-height: calc(100dvh - 32px) !important;
  }
}
@media (max-width:782px) {
  body.admin-bar .esteves-landing.wp-block-cover {
    height: calc(100svh - 46px);
    min-height: calc(100svh - 46px) !important;
  }
  @supports (height: 100dvh) {
    body.admin-bar .esteves-landing.wp-block-cover {
      height: calc(100dvh - 46px);
      min-height: calc(100dvh - 46px) !important;
    }
  }
}
/* Avoid a scroll bar caused only by tall hero text on very short displays. */
.esteves-landing .wp-block-cover__inner-container {
  padding-top: clamp(66px, 9svh, 125px) !important;
  padding-bottom: clamp(20px, 5svh, 60px) !important;
}
/* WordPress Navigation mobile button and flyout. */
.esteves-home-nav .wp-block-navigation__responsive-container-open,
.esteves-inner-nav .wp-block-navigation__responsive-container-open {
  color: #fff9e8 !important;
  fill: currentColor;
  padding: 8px;
  border-radius: 4px;
}
.esteves-home-nav .wp-block-navigation__responsive-container-open svg,
.esteves-inner-nav .wp-block-navigation__responsive-container-open svg { width: 29px; height: 29px; }
.esteves-home-nav .wp-block-navigation__responsive-container,
.esteves-inner-nav .wp-block-navigation__responsive-container {
  z-index: 100;
}
.esteves-home-nav .wp-block-navigation__responsive-container.is-menu-open,
.esteves-inner-nav .wp-block-navigation__responsive-container.is-menu-open {
  background: #111214 !important;
  color: #fff9e8 !important;
  padding: 24px !important;
}
.esteves-home-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
.esteves-inner-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  color: #fff9e8 !important;
  font-weight: 800 !important;
  letter-spacing: .095em !important;
  text-transform: uppercase !important;
}
.esteves-home-nav .wp-block-navigation__responsive-container-close,
.esteves-inner-nav .wp-block-navigation__responsive-container-close { color: #fff9e8 !important; }
@media(max-width:600px) {
  .esteves-home-nav { padding: 15px 22px !important; }
  .esteves-home-nav .wp-block-navigation__responsive-container-open { display: flex; }
}

/* v1.0 — explicit mobile navigation; no change to hero, motion or desktop links. */
.esteves-mobile-nav.wp-block-navigation { display: none !important; }
.esteves-desktop-nav.wp-block-navigation { display: flex !important; }
@media (max-width: 767px) {
  .esteves-desktop-nav.wp-block-navigation { display: none !important; }
  .esteves-mobile-nav.wp-block-navigation { display: flex !important; }
  .esteves-mobile-nav .wp-block-navigation__responsive-container-open {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #fff9e8 !important;
    background: rgba(0,0,0,.20) !important;
    min-width: 44px;
    min-height: 44px;
    border-radius: 5px;
    cursor: pointer;
  }
  .esteves-mobile-nav .wp-block-navigation__responsive-container-open svg { width: 28px; height: 28px; fill: currentColor; }
  .esteves-mobile-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
  .esteves-mobile-nav .wp-block-navigation__responsive-container.is-menu-open {
    display: flex !important;
    background: #111214 !important;
    color: #fff9e8 !important;
    padding: 26px !important;
  }
  .esteves-mobile-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    color: #fff9e8 !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
  }
  .esteves-mobile-nav .wp-block-navigation__responsive-container-close { color: #fff9e8 !important; }
}

/* v1.2: top navigation fades in together with background image on initial page load.
   Both desktop links and the mobile hamburger share the same wrapper.
   The expanded mobile menu remains unaffected. */
@media (prefers-reduced-motion: no-preference) {
  .esteves-home-nav {
    animation: estevesPhotoIn 1.15s ease-out 0s both;
  }
}

/* v1.3 — soft depth for the hero text only. No layout, color or motion changes. */
.esteves-landing .esteves-hero-heading {
  text-shadow: 0 2px 3px rgba(0,0,0,.80), 0 5px 14px rgba(0,0,0,.65), 0 11px 30px rgba(0,0,0,.42) !important;
}
.esteves-landing .esteves-hero-line {
  text-shadow: 0 1px 3px rgba(0,0,0,.85), 0 4px 12px rgba(0,0,0,.68), 0 8px 22px rgba(0,0,0,.38) !important;
}

/* v1.5 — Portfolio and product pages ONLY. Existing homepage styling untouched. */
.esteves-page { max-width: 1250px; margin-left:auto!important; margin-right:auto!important; }
.esteves-page .wp-block-post-content {max-width:100%;}
/* v2.45: v1.5 portfolio cards and old project markup removed (unused legacy layout). */
/* v1.7 — Portfolio + inner pages; homepage unchanged. */
/* Use the SAME right edge, font and horizontal rhythm as home nav. */
.esteves-inner-nav {
  justify-content:flex-end!important;
  padding:clamp(18px,3vw,38px) clamp(34px,8vw,136px)!important;
  background:#111214;
  border-bottom:1px solid rgba(255,255,255,.10);
  min-height:0;
}
.esteves-inner-nav .esteves-inner-desktop {
  display:flex!important;
  margin:0!important;
  gap:clamp(18px,2.5vw,38px)!important;
}
.esteves-inner-nav .esteves-inner-desktop .wp-block-navigation-item__content {
  color:#fff9e8!important;
  font-size:clamp(.9rem,1.4vw,1.1rem)!important;
  font-weight:800!important;
  letter-spacing:.095em!important;
  text-decoration:none!important;
  text-transform:uppercase!important;
  text-shadow:0 2px 8px rgba(0,0,0,.85)!important;
  padding:9px 2px!important;
  transition:color .2s ease!important;
}
.esteves-inner-nav .esteves-inner-desktop .wp-block-navigation-item__content:hover,
.esteves-inner-nav .esteves-inner-desktop .wp-block-navigation-item__content:focus-visible {color:#ffca76!important;}
body.esteves-portfolio-section .esteves-inner-desktop .wp-block-navigation-item:nth-child(2) .wp-block-navigation-item__content,
body.esteves-portfolio-section .esteves-inner-nav .esteves-mobile-nav .wp-block-navigation-item:nth-child(2) .wp-block-navigation-item__content {color:#ffca76!important;}
.esteves-inner-nav .esteves-mobile-nav {margin-left:auto!important;}
@media(max-width:767px) {
  .esteves-inner-nav {padding:15px 22px!important;}
  .esteves-inner-nav .esteves-inner-desktop {display:none!important;}
  .esteves-inner-nav .esteves-mobile-nav {display:flex!important;}
}
/* The post-content block in a constrained WP group must have full available width. */
.esteves-page{max-width:1200px!important;width:100%;padding:clamp(22px,3.2vw,42px) clamp(18px,4vw,50px) 75px!important;margin:0 auto!important;box-sizing:border-box;}
.esteves-page>.wp-block-post-content,.esteves-page .wp-block-post-content{max-width:100%!important;width:100%!important;}
/* v2.45: v1.7 old portfolio and Gutenberg project markup removed (unused legacy layout). */
/* v2.45: v1.9 portfolio layout; preserve shared inner navigation below removed (unused legacy layout). */
/* One shared right-aligned desktop navigation geometry on home and inner pages. */
.wp-site-blocks > header:has(.esteves-inner-nav) {
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
}
.esteves-inner-nav {
  display:flex!important;justify-content:flex-end!important;align-items:center!important;
  width:100%!important;max-width:none!important;margin:0!important;
  padding:clamp(18px,3vw,38px) clamp(34px,8vw,136px)!important;
  box-sizing:border-box!important;
}
.esteves-inner-nav .esteves-inner-desktop {
  display:flex!important;justify-content:flex-end!important;
  width:auto!important;margin:0!important;padding:0!important;
  gap:clamp(18px,2.5vw,38px)!important;align-items:center!important;
}
.esteves-inner-nav .esteves-inner-desktop .wp-block-navigation-item__content {
  padding:9px 2px!important;font-size:clamp(.9rem,1.4vw,1.1rem)!important;
  font-weight:800!important;letter-spacing:.095em!important;
}
/* v2.45: v1.9 obsolete portfolio tablet rules removed (unused legacy layout). */
@media(max-width:767px){
  .esteves-inner-nav {padding:15px 22px!important;}
  .esteves-inner-nav .esteves-inner-desktop {display:none!important;}
}
/* v2.45: v1.9 mobile and v2.0 legacy page-ID portfolio overrides removed (unused legacy layout). */
/* v2.1 — Navigation ONLY. Identical PORTFOLIO/LINKEDIN anchors on all pages.
   Use the same full-width wrapper, right inset, line box and WordPress list gap.
   Adding HEM to the left cannot displace the two rightmost items. */
@media (min-width:768px) {
  .wp-site-blocks > header:has(.esteves-home-nav),
  .wp-site-blocks > header:has(.esteves-inner-nav) {
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    box-sizing:border-box !important;
  }
  .esteves-home-nav,
  .esteves-inner-nav {
    width:100% !important;
    max-width:none !important;
    display:flex !important;
    justify-content:flex-end !important;
    align-items:center !important;
    box-sizing:border-box !important;
    padding:clamp(18px,3vw,38px) clamp(34px,8vw,136px) !important;
    margin:0 !important;
    gap:0 !important;
  }
  .esteves-home-nav .esteves-desktop-nav,
  .esteves-inner-nav .esteves-inner-desktop {
    display:flex !important;
    justify-content:flex-end !important;
    align-items:center !important;
    flex:0 0 auto !important;
    width:max-content !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    gap:0 !important;
  }
  .esteves-home-nav .esteves-desktop-nav .wp-block-navigation__container,
  .esteves-inner-nav .esteves-inner-desktop .wp-block-navigation__container {
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    flex-wrap:nowrap !important;
    column-gap:clamp(18px,2.5vw,38px) !important;
    row-gap:0 !important;
    margin:0 !important;
    padding:0 !important;
    width:max-content !important;
  }
  .esteves-home-nav .esteves-desktop-nav .wp-block-navigation-item__content,
  .esteves-inner-nav .esteves-inner-desktop .wp-block-navigation-item__content {
    display:block !important;
    box-sizing:border-box !important;
    margin:0 !important;
    padding:9px 2px !important;
    font-size:clamp(.9rem,1.4vw,1.1rem) !important;
    line-height:1.5 !important;
    font-weight:800 !important;
    letter-spacing:.095em !important;
    text-transform:uppercase !important;
    white-space:nowrap !important;
  }
}


/* v2.2 — Portfolio canvas rebuilt from the same COVER + floating navigation foundation as front page.
   No post-content block, no inherited portfolio card/grid CSS, no footer. */
.wp-site-blocks > header:has(.esteves-portfolio-nav) {
  position:absolute !important; top:0 !important; left:0 !important; right:0 !important;
  z-index:20 !important; background:transparent !important; border:0 !important;
  width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important;
}
.esteves-portfolio-nav.esteves-home-nav {
  /* Exactly the same header container + style rules as home, using home classes. */
  background:transparent !important;
}
.esteves-portfolio-nav .wp-block-navigation-item__content {white-space:nowrap !important;}
.esteves-portfolio-canvas.wp-block-cover {
  box-sizing:border-box !important;
  position:relative !important;
  isolation:isolate !important;
  min-height:100svh !important;
  height:auto !important;
  overflow:visible !important;
  display:flex !important;
  align-items:flex-start !important;
  justify-content:center !important;
  margin:0 !important;
  padding:0 !important;
  background-color:#111214 !important;
}
.esteves-portfolio-canvas .wp-block-cover__image-background {
  width:100% !important; height:100% !important; object-fit:cover !important;
  object-position:center center !important;
}
.esteves-portfolio-canvas .wp-block-cover__background {
  background:linear-gradient(180deg,rgba(2,8,15,.34),rgba(5,9,16,.58)) !important;
  opacity:1 !important;
}
.esteves-portfolio-canvas > .wp-block-cover__inner-container {
  box-sizing:border-box !important;
  position:relative !important; z-index:2 !important;
  width:min(1120px,100%) !important; max-width:1120px !important;
  margin:0 auto !important;
  padding:clamp(105px,12vh,150px) clamp(20px,4vw,44px) 65px !important;
  display:block !important;
  text-align:center !important;
}
.esteves-portfolio-canvas .esteves-title-placeholder {
  box-sizing:border-box !important;
  width:min(580px,100%) !important;
  min-height:150px !important;
  margin:0 auto clamp(25px,4vh,44px) !important;
  padding:28px !important;
  border:1px dashed rgba(255,255,255,.73) !important;
  border-radius:16px !important;
  background:rgba(8,15,24,.52) !important;
  backdrop-filter:blur(6px);
  display:flex !important; flex-direction:column !important;
  align-items:center !important; justify-content:center !important;
}
.esteves-portfolio-canvas .esteves-title-placeholder h1 {
  font-size:clamp(1.75rem,3vw,2.8rem) !important;
  color:#fff !important; line-height:1.15 !important;
  margin:0 0 12px !important;
  text-shadow:0 3px 14px rgba(0,0,0,.5) !important;
}
.esteves-portfolio-canvas .esteves-title-placeholder p {
  color:#e6edf6 !important; margin:0 !important;
  font-size:clamp(.88rem,1.2vw,1rem) !important;
}
.esteves-portfolio-canvas .esteves-placeholder-grid {
  display:grid !important; width:100% !important; max-width:100% !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  column-gap:clamp(16px,2.8vw,32px) !important;
  row-gap:clamp(16px,2.8vw,26px) !important;
  align-items:stretch !important; justify-items:stretch !important;
  margin:0 !important; padding:0 !important;
}
.esteves-portfolio-canvas .esteves-app-placeholder {
  box-sizing:border-box !important;
  width:100% !important; height:210px !important;
  min-width:0 !important; min-height:210px !important; max-width:none !important;
  margin:0 !important; padding:24px !important;
  border:1px dashed rgba(255,255,255,.6) !important;
  border-radius:16px !important;
  background:rgba(15,24,35,.68) !important;
  backdrop-filter:blur(5px);
  display:flex !important; flex-direction:column !important;
  align-items:center !important; justify-content:center !important;
  text-align:center !important;
}
.esteves-portfolio-canvas .esteves-app-placeholder h2 {
  margin:0 0 10px !important; color:#fff !important;
  font-size:clamp(1.35rem,2vw,1.8rem) !important; line-height:1.2 !important;
}
.esteves-portfolio-canvas .esteves-app-placeholder p {
  margin:0 !important; color:#d9e0e8 !important;
  font-size:clamp(.85rem,1.1vw,.95rem) !important;
}
.esteves-portfolio-canvas .esteves-app-placeholder:last-child:nth-child(odd) {
  grid-column:1 / -1 !important;
  width:calc((100% - clamp(16px,2.8vw,32px)) / 2) !important;
  justify-self:center !important;
}
@media(prefers-reduced-motion:no-preference){
  .esteves-portfolio-canvas .wp-block-cover__image-background {animation:estevesPhotoIn 1.15s ease-out both;}
  .esteves-portfolio-canvas .esteves-title-placeholder {animation:estevesTextIn .85s ease-out 1.05s both;}
  .esteves-portfolio-canvas .esteves-placeholder-grid {animation:estevesTextIn .85s ease-out 1.45s both;}
  .esteves-portfolio-nav {animation:estevesPhotoIn 1.15s ease-out both;}
}
@media(max-width:767px){
  .esteves-portfolio-canvas > .wp-block-cover__inner-container {padding:95px 20px 36px !important;}
  .esteves-portfolio-canvas .esteves-placeholder-grid {grid-template-columns:minmax(0,1fr) !important;}
  .esteves-portfolio-canvas .esteves-app-placeholder:last-child:nth-child(odd) {
    grid-column:auto !important; width:100% !important;
  }
  .esteves-portfolio-canvas .esteves-app-placeholder {height:190px !important;min-height:190px !important;}
}
@media(prefers-reduced-motion:reduce){
  .esteves-portfolio-canvas .wp-block-cover__image-background,
  .esteves-portfolio-canvas .esteves-title-placeholder,
  .esteves-portfolio-canvas .esteves-placeholder-grid,
  .esteves-portfolio-nav {animation:none !important;opacity:1 !important;transform:none !important;}
}

/* v2.4 — ONLY the portfolio cover photograph is replaced.
   The v2.2 portfolio placeholders, layout, navbar, and homepage remain untouched.
   Use a theme-local responsive cover background so it also works on /esteves-test/. */
.esteves-portfolio-canvas.wp-block-cover::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background-image:url("assets/portfolio-workspace-bg.webp");
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}
.esteves-portfolio-canvas.wp-block-cover > .wp-block-cover__image-background {
  visibility:hidden !important;
}
@media (prefers-reduced-motion:no-preference) {
  .esteves-portfolio-canvas.wp-block-cover::before {animation:estevesPhotoIn 1.15s ease-out both;}
}
@media (prefers-reduced-motion:reduce) {
  .esteves-portfolio-canvas.wp-block-cover::before {animation:none !important;opacity:1 !important;}
}

/* v2.5 — portfolio background focal point on smaller viewports only.
   Keep the same cover photo, desktop composition, page layout, and animation. */
@media (min-width: 768px) and (max-width: 1100px) {
  .esteves-portfolio-canvas.wp-block-cover::before {
    background-position: 75% center;
  }
}
@media (max-width: 767px) {
  .esteves-portfolio-canvas.wp-block-cover::before {
    background-position: 88% center;
  }
}


/* v2.6 — Navigation refinements only. Keep the v2.5 mobile photo focal point. */
/* One consistent light-blue hover colour in the navigation on all pages. */
.esteves-home-nav .esteves-desktop-nav .wp-block-navigation-item__content:hover,
.esteves-home-nav .esteves-desktop-nav .wp-block-navigation-item__content:focus-visible,
.esteves-portfolio-nav .esteves-desktop-nav .wp-block-navigation-item__content:hover,
.esteves-portfolio-nav .esteves-desktop-nav .wp-block-navigation-item__content:focus-visible,
.esteves-inner-nav .esteves-inner-desktop .wp-block-navigation-item__content:hover,
.esteves-inner-nav .esteves-inner-desktop .wp-block-navigation-item__content:focus-visible,
.esteves-home-nav .esteves-mobile-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
.esteves-home-nav .esteves-mobile-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus-visible {
  color:#A7D7FF !important;
}
/* The active Portfolio item is a non-interactive <span aria-current="page">
   via the existing render_block filter. No dependence on a database page ID. */
.esteves-portfolio-nav .wp-block-navigation-item__content[aria-current="page"],
.esteves-portfolio-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content[aria-current="page"],
.esteves-inner-nav .wp-block-navigation-item__content[aria-current="page"] {
  color:#A7D7FF !important;
  cursor:default !important;
}
/* WordPress supplies a two-bar SVG icon; visually replace it with three real bars.
   Retain the native button and its existing menu-opening behaviour. */
@media (max-width:767px) {
  .esteves-mobile-nav .wp-block-navigation__responsive-container-open {
    position:relative !important;
  }
  .esteves-mobile-nav .wp-block-navigation__responsive-container-open svg {
    visibility:hidden !important;
  }
  .esteves-mobile-nav .wp-block-navigation__responsive-container-open::after {
    content:"";
    position:absolute;
    top:50%;left:50%;
    width:25px;height:2px;
    background:currentColor;
    box-shadow:0 -7px 0 currentColor,0 7px 0 currentColor;
    transform:translate(-50%,-50%);
    pointer-events:none;
  }
}


/* v2.7 — only fixed photograph backgrounds and a subtle blue navigation glow.
   No changes to navigation offsets, fonts, margins, links, content or mobile menu. */

/* When content exceeds viewport height, the *photograph* remains stationary.
   The cover and its text/grid keep their normal page scroll behavior. */
.esteves-portfolio-canvas.wp-block-cover::before {
  position:fixed !important;
  inset:0 !important;
  width:100% !important;
  height:100vh !important;
  height:100dvh !important;
  pointer-events:none !important;
}
/* Same behavior for the index photo if the viewport becomes short enough to scroll. */
.esteves-landing.wp-block-cover > .wp-block-cover__image-background {
  position:fixed !important;
  inset:0 !important;
  width:100% !important;
  height:100vh !important;
  height:100dvh !important;
  pointer-events:none !important;
}

/* A restrained blue halo around the letterforms, not a new button/background. */
.esteves-home-nav .wp-block-navigation-item__content,
.esteves-inner-nav .wp-block-navigation-item__content {
  transition:color .2s ease, text-shadow .2s ease !important;
}
@media (hover:hover) and (pointer:fine) {
  .esteves-home-nav .wp-block-navigation-item__content:hover,
  .esteves-inner-nav .wp-block-navigation-item__content:hover {
    color:#A7D7FF !important;
    text-shadow:0 0 4px rgba(167,215,255,.9), 0 0 13px rgba(90,176,255,.67), 0 0 25px rgba(68,147,231,.38) !important;
  }
}
.esteves-home-nav .wp-block-navigation-item__content:focus-visible,
.esteves-inner-nav .wp-block-navigation-item__content:focus-visible {
  color:#A7D7FF !important;
  text-shadow:0 0 4px rgba(167,215,255,.9), 0 0 13px rgba(90,176,255,.67), 0 0 25px rgba(68,147,231,.38) !important;
}
/* The active item keeps the same glow in desktop and mobile navigation. */
.esteves-portfolio-nav .wp-block-navigation-item__content[aria-current="page"],
.esteves-portfolio-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content[aria-current="page"],
.esteves-inner-nav .wp-block-navigation-item__content[aria-current="page"] {
  color:#A7D7FF !important;
  text-shadow:0 0 4px rgba(167,215,255,.85), 0 0 13px rgba(90,176,255,.62), 0 0 24px rgba(68,147,231,.32) !important;
}
@media (prefers-reduced-motion:reduce) {
  .esteves-home-nav .wp-block-navigation-item__content,
  .esteves-inner-nav .wp-block-navigation-item__content {
    transition:none !important;
  }
}

/* v2.8 — Navigation position ONLY.
   Match visual top inset of link lettering with the right inset of the LinkedIn arrow.
   Identical geometry for front page, Portfolio and inner-page headers.
   Keep link order, responsive behavior, animation and glow untouched. */
@media (min-width:768px) {
  .esteves-home-nav,
  .esteves-inner-nav,
  .esteves-portfolio-nav.esteves-home-nav {
    padding:22px 32px !important;
  }
}
@media (max-width:767px) {
  .esteves-home-nav,
  .esteves-inner-nav,
  .esteves-portfolio-nav.esteves-home-nav {
    padding:18px 20px !important;
  }
}

/* v2.9 — Portfolio text hero + equal-size glass cards. Do not change navigation or background behavior. */
.esteves-portfolio-canvas .esteves-title-placeholder {
  width:min(850px,100%) !important;
  min-height:0 !important;
  margin:0 auto clamp(26px,4.5vw,46px) !important;
  padding:0 10px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  box-shadow:none !important;
}
.esteves-portfolio-canvas .esteves-title-placeholder h1 {
  font-size:clamp(2.45rem,5.6vw,4rem) !important;
  margin:0 0 12px !important;
  font-weight:750 !important;
  text-shadow:0 2px 15px rgba(0,0,0,.95),0 6px 28px rgba(0,0,0,.72) !important;
}
.esteves-portfolio-canvas .esteves-title-placeholder p {
  color:#fff !important;
  font-size:clamp(1rem,1.55vw,1.2rem) !important;
  line-height:1.5 !important;
  text-shadow:0 2px 9px rgba(0,0,0,.95),0 4px 22px rgba(0,0,0,.8) !important;
}
.esteves-portfolio-canvas .esteves-app-placeholder {
  height:320px !important;
  min-height:320px !important;
  padding:22px !important;
  display:grid !important;
  grid-template-columns:minmax(110px,42%) minmax(0,1fr) !important;
  gap:clamp(12px,1.8vw,23px) !important;
  align-items:center !important;
  justify-items:stretch !important;
  text-align:left !important;
  border:1px solid rgba(224,236,251,.28) !important;
  background:rgba(9,19,30,.49) !important;
  backdrop-filter:blur(14px) saturate(120%) !important;
  -webkit-backdrop-filter:blur(14px) saturate(120%) !important;
  box-shadow:0 8px 30px rgba(0,0,0,.13) !important;
  overflow:hidden !important;
}
.esteves-portfolio-canvas .esteves-app-art {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  height:250px !important;
  min-width:0 !important;
  margin:0 !important;
}
.esteves-portfolio-canvas .esteves-app-art img {
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  filter:drop-shadow(0 7px 11px rgba(0,0,0,.3));
}
.esteves-portfolio-canvas .esteves-app-copy {
  margin:0 !important;
  min-width:0 !important;
}
.esteves-portfolio-canvas .esteves-app-placeholder h2 {
  margin:0 0 12px !important;
  font-size:clamp(1.28rem,2.1vw,1.8rem) !important;
  overflow-wrap:anywhere !important;
}
.esteves-portfolio-canvas .esteves-app-placeholder p {
  line-height:1.5 !important;
  font-size:clamp(.84rem,1.08vw,.96rem) !important;
  margin:0 0 14px !important;
}
.esteves-portfolio-canvas .esteves-app-placeholder .esteves-app-cta {margin:16px 0 0 !important;}
.esteves-portfolio-canvas .esteves-app-cta a {
  color:#A7D7FF !important;
  font-weight:700 !important;
  text-decoration:none !important;
  text-shadow:0 0 10px rgba(167,215,255,.18);
}
.esteves-portfolio-canvas .esteves-app-cta a:hover,
.esteves-portfolio-canvas .esteves-app-cta a:focus-visible {
  color:#d9efff !important;
  text-decoration:underline !important;
  text-shadow:0 0 12px rgba(167,215,255,.55);
}
@media(min-width:768px) and (max-width:1040px){
  .esteves-portfolio-canvas .esteves-app-placeholder {
    grid-template-columns:minmax(0,1fr) !important;
    grid-template-rows:142px auto !important;
    height:360px !important;
    min-height:360px !important;
    gap:7px !important;
    text-align:center !important;
    padding:19px !important;
  }
  .esteves-portfolio-canvas .esteves-app-art {height:140px !important;}
  .esteves-portfolio-canvas .esteves-app-placeholder h2 {margin-bottom:6px !important;}
  .esteves-portfolio-canvas .esteves-app-placeholder p {margin-bottom:7px !important;}
}
@media(max-width:767px){
  .esteves-portfolio-canvas > .wp-block-cover__inner-container {padding-top:105px !important;}
  .esteves-portfolio-canvas .esteves-title-placeholder {margin-bottom:26px !important;}
  .esteves-portfolio-canvas .esteves-app-placeholder {
    grid-template-columns:minmax(0,1fr) !important;
    grid-template-rows:175px auto !important;
    height:350px !important;
    min-height:350px !important;
    gap:8px !important;
    padding:18px !important;
    text-align:center !important;
  }
  .esteves-portfolio-canvas .esteves-app-art {height:172px !important;}
  .esteves-portfolio-canvas .esteves-app-placeholder p {font-size:.92rem !important;}
}

/* v2.10: Only requested Portfolio refinements. */
/* Pull the lead paragraph closer to Portfolio without altering header/navigation. */
.esteves-portfolio-canvas .esteves-title-placeholder {
  gap:0 !important;
  row-gap:0 !important;
}
.esteves-portfolio-canvas .esteves-title-placeholder h1 {
  margin-bottom:0 !important;
}
.esteves-portfolio-canvas .esteves-title-placeholder p {
  margin-top:0 !important;
}
/* Preserve equal card sizes and original two-above, one-centered arrangement. */
.esteves-portfolio-canvas .esteves-app-placeholder {
  height:262px !important;
  min-height:262px !important;
  padding:18px !important;
}
.esteves-portfolio-canvas .esteves-app-art {
  height:218px !important;
}
/* Equal visual area for artwork: phone mockups now scale the same way. */
.esteves-portfolio-canvas .esteves-app-art img {
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
}
/* White, no-underlining CTAs; blue menu-style glow on hover/focus. */
.esteves-portfolio-canvas .esteves-app-cta a,
.esteves-portfolio-canvas .esteves-app-cta a:link,
.esteves-portfolio-canvas .esteves-app-cta a:visited {
  color:#ffffff !important;
  text-decoration:none !important;
  text-shadow:none !important;
}
.esteves-portfolio-canvas .esteves-app-cta a:hover,
.esteves-portfolio-canvas .esteves-app-cta a:focus-visible {
  color:#A7D7FF !important;
  text-decoration:none !important;
  text-shadow:0 0 7px rgba(167,215,255,.90),0 0 17px rgba(167,215,255,.55) !important;
}
@media(min-width:768px) and (max-width:1040px){
 .esteves-portfolio-canvas .esteves-app-placeholder {
   height:318px !important;
   min-height:318px !important;
   grid-template-rows:145px auto !important;
 }
 .esteves-portfolio-canvas .esteves-app-art {height:145px !important;}
}
@media(max-width:767px){
 .esteves-portfolio-canvas .esteves-app-placeholder {
   height:306px !important;
   min-height:306px !important;
   grid-template-rows:154px auto !important;
 }
 .esteves-portfolio-canvas .esteves-app-art {height:154px !important;}
}

/* v2.11 — Preserve Visuell Tid device geometry from the user-provided original.
   Improve card readability and normalize project link typography. */
.esteves-portfolio-canvas .esteves-title-placeholder h1 {
 text-shadow:0 2px 3px rgba(0,0,0,.80),0 5px 14px rgba(0,0,0,.65),0 11px 30px rgba(0,0,0,.42) !important;
}
.esteves-portfolio-canvas .esteves-title-placeholder p {
 text-shadow:0 1px 3px rgba(0,0,0,.85),0 4px 12px rgba(0,0,0,.68),0 8px 22px rgba(0,0,0,.38) !important;
}
.esteves-portfolio-canvas .esteves-app-placeholder h2,
.esteves-portfolio-canvas .esteves-app-placeholder .esteves-app-copy > p:not(.esteves-app-cta) {
 text-shadow:0 1px 2px rgba(0,0,0,.78),0 3px 9px rgba(0,0,0,.53),0 6px 18px rgba(0,0,0,.28) !important;
}
/* SkärmTimeOut needs the larger artwork only in the side-by-side desktop card.
   In the stacked card (<=1040px) it must stay within the shared image row,
   otherwise the scaled phones overlap the heading or card border. */
@media (min-width:1041px) {
  .esteves-portfolio-canvas .esteves-app-placeholder:has(img[src*="skarmtimeout-presentation"]) .esteves-app-art img {
    transform:scale(1.38);
    transform-origin:center;
  }
}
/* Navigation-style typography on all three project CTAs. */
.esteves-portfolio-canvas .esteves-app-cta a {
 text-transform:uppercase !important; letter-spacing:.075em !important;
 font-weight:800 !important; text-decoration:none !important;
}
.esteves-portfolio-canvas .esteves-app-cta a:hover,
.esteves-portfolio-canvas .esteves-app-cta a:focus-visible {text-decoration:none !important;}

/* v2.12 — shorter equal-size portfolio cards; CTAs pinned bottom-right.
   Keep all grid gaps and image proportions unchanged. */
.esteves-portfolio-canvas .esteves-app-placeholder {
  position:relative !important;
  height:236px !important;
  min-height:236px !important;
  padding:18px 18px 54px !important;
  align-items:center !important;
}
.esteves-portfolio-canvas .esteves-app-art {height:178px !important;}
.esteves-portfolio-canvas .esteves-app-copy {position:static !important;}
.esteves-portfolio-canvas .esteves-app-placeholder .esteves-app-cta {
  position:absolute !important;
  right:18px !important;
  bottom:18px !important;
  margin:0 !important;
  text-align:right !important;
  line-height:1.2 !important;
}
@media(min-width:768px) and (max-width:1040px) {
  .esteves-portfolio-canvas .esteves-app-placeholder {
    height:294px !important;
    min-height:294px !important;
    grid-template-rows:125px auto !important;
    padding:16px 16px 53px !important;
  }
  .esteves-portfolio-canvas .esteves-app-art {height:125px !important;}
  .esteves-portfolio-canvas .esteves-app-placeholder .esteves-app-cta {right:16px !important;bottom:16px !important;}
}
@media(max-width:767px) {
  /* Mobile cards use an actual image / copy row split. Keep the CTA in normal
     flex layout at the lower-right: descriptions cannot drift underneath it. */
  .esteves-portfolio-canvas .esteves-app-placeholder {
    height:286px !important;
    min-height:286px !important;
    grid-template-rows:134px minmax(0,1fr) !important;
    padding:16px !important;
  }
  .esteves-portfolio-canvas .esteves-app-art {height:134px !important;}
  .esteves-portfolio-canvas .esteves-app-copy {
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    align-self:stretch !important;
    min-height:0 !important;
    height:100% !important;
    width:100% !important;
  }
  .esteves-portfolio-canvas .esteves-app-copy > h2 {
    margin:0 0 6px !important;
  }
  .esteves-portfolio-canvas .esteves-app-copy > p:not(.esteves-app-cta) {
    margin:0 !important;
  }
  .esteves-portfolio-canvas .esteves-app-placeholder .esteves-app-cta {
    position:static !important;
    margin:auto 0 0 !important;
    text-align:right !important;
    flex:none !important;
  }
}
@media(max-width:360px) {
  /* Allow three description lines at the narrowest phone widths; all cards
     still remain exactly the same height. */
  .esteves-portfolio-canvas .esteves-app-placeholder {
    height:308px !important;
    min-height:308px !important;
  }
}


/* A distinct arrow glyph avoids the small-looking arrow of the current font. */
.esteves-portfolio-canvas .esteves-app-cta .esteves-cta-arrow {
  display:inline-block;
  font-size:1.35em;
  font-weight:800;
  line-height:0.75;
  vertical-align:-0.06em;
  margin-left:.15em;
}


/* v2.45: v2.15 unused project canvas; active fresh pages remain removed (unused legacy layout). */
/* Navigation: fixed on desktop; on phones the hamburger scrolls away with the page. */
@media (min-width:768px) {
  .wp-site-blocks > header:has(.esteves-home-nav),
  .wp-site-blocks > header:has(.esteves-inner-nav) {
    position:fixed !important;
    top:0 !important; right:0 !important; left:0 !important;
    z-index:200 !important;
    background:transparent !important;
    width:100% !important; max-width:none !important;
    margin:0 !important; padding:0 !important;
  }
}
@media (max-width:767px) {
  .wp-site-blocks > header:has(.esteves-home-nav),
  .wp-site-blocks > header:has(.esteves-inner-nav) {
    position:absolute !important;
    top:0 !important; right:0 !important; left:0 !important;
    z-index:200 !important;
    background:transparent !important;
    width:100% !important; max-width:none !important;
    margin:0 !important; padding:0 !important;
  }
}
/* Retain the current menu geometry and native open/close behavior. */
.wp-site-blocks > header:has(.esteves-home-nav) .esteves-home-nav,
.wp-site-blocks > header:has(.esteves-inner-nav) .esteves-inner-nav {
  position:relative !important;
  top:auto !important; left:auto !important; right:auto !important;
}


/* v2.44 — Shared, stable presentation for Visuell Tid, SkärmTimeOut and
   Voice Arena. These three pages use the same responsive geometry and animations.
   The native image ratios and the presence/absence of download buttons differ.
   This replaces three copies of the same rules, not the approved design. */
body.esteves-project-detail:is(.esteves-visuell-tid-detail,.esteves-skarmtimeout-detail,.esteves-voice-arena-detail) {
  background:linear-gradient(135deg,#111a27 0%,#0d121a 52%,#070b11 100%) fixed !important;
}
:is(.esteves-vt-fresh,.esteves-st-fresh,.esteves-va-fresh) {
  box-sizing:border-box;
  width:100%; max-width:none !important; margin:0 !important;
  min-height:100svh;
  padding:92px clamp(20px,3vw,42px) clamp(32px,calc(50svh - 300px),92px);
  display:flex;
  background:transparent;
  position:relative; isolation:isolate;
}
:is(.esteves-vt-fresh,.esteves-st-fresh,.esteves-va-fresh)::before {
  content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(ellipse at 80% 20%,rgba(81,130,174,.13),transparent 55%),
             radial-gradient(ellipse at 12% 90%,rgba(43,70,105,.15),transparent 55%);
}
:is(.esteves-vt-fresh__inner,.esteves-st-fresh__inner,.esteves-va-fresh__inner) {
  box-sizing:border-box; flex:1 1 auto; min-width:0; width:100%; margin:0;
  container-type:inline-size; container-name:esteves-project;
  display:grid; grid-template-columns:minmax(0,1fr); align-content:center;
}
:is(.esteves-vt-fresh__footer,.esteves-st-fresh__footer,.esteves-va-fresh__footer) {min-width:0;}
:is(.esteves-vt-fresh__grid,.esteves-st-fresh__grid,.esteves-va-fresh__grid) {
  box-sizing:border-box; width:100%; max-width:620px; margin:0 auto;
  display:flex; flex-direction:column; gap:28px;
}
:is(.esteves-vt-fresh__visual,.esteves-st-fresh__visual,.esteves-va-fresh__visual,
    .esteves-vt-fresh__copy,.esteves-st-fresh__copy,.esteves-va-fresh__copy) {
  box-sizing:border-box; min-width:0; margin:0; padding:0;
}
:is(.esteves-vt-fresh__visual img,.esteves-st-fresh__visual img,.esteves-va-fresh__visual img) {
  display:block; box-sizing:border-box;
  width:100%; max-width:100%; height:auto;
  margin:0; border-radius:6px;
}
.esteves-vt-fresh__visual img {aspect-ratio:16 / 9;}
.esteves-st-fresh__visual img {aspect-ratio:1024 / 500;}
.esteves-va-fresh__visual img {aspect-ratio:1672 / 941; object-fit:contain;}
:is(.esteves-vt-fresh__copy,.esteves-st-fresh__copy,.esteves-va-fresh__copy) {
  display:flex; flex-direction:column; row-gap:16px;
  font-size:clamp(.96rem,1.08vw,1.03rem);
}
:is(.esteves-vt-fresh .esteves-vt-fresh__copy > p,
    .esteves-st-fresh .esteves-st-fresh__copy > p,
    .esteves-va-fresh .esteves-va-fresh__copy > p) {
  font-size:1em; line-height:1.65; color:#e5ebf2;
  margin:0 !important; padding:0 !important;
  text-shadow:0 2px 7px rgba(0,0,0,.52);
}
/* One shared sizing system: natural image ratio determines each visual height;
   the four text paragraphs stretch across the matching grid row. At narrow
   widths the elements stack instead of forcing a cropped or distorted image. */
@container esteves-project (min-width:1152px) {
  :is(.esteves-vt-fresh__grid,.esteves-st-fresh__grid,.esteves-va-fresh__grid) {
    --project-gap:60px;
    --project-text:32;
    --project-picture:46;
    font-size:min(16.5px, calc((100cqw - var(--project-gap)) / (var(--project-text) + var(--project-picture))));
    width:calc((var(--project-text) + var(--project-picture)) * 1em + var(--project-gap));
    max-width:100%;
    display:grid;
    grid-template-columns:minmax(0,1fr) calc(var(--project-text) * 1em);
    column-gap:var(--project-gap); row-gap:0;
    align-items:stretch;
  }
  :is(.esteves-vt-fresh__visual,.esteves-st-fresh__visual,.esteves-va-fresh__visual) {align-self:start;}
  :is(.esteves-vt-fresh .esteves-vt-fresh__copy,
      .esteves-st-fresh .esteves-st-fresh__copy,
      .esteves-va-fresh .esteves-va-fresh__copy) {
    font-size:1em;
    margin-block:-.325em;
    justify-content:space-between; row-gap:.5em;
  }
  @supports (text-box: trim-both cap alphabetic) {
    :is(.esteves-vt-fresh .esteves-vt-fresh__copy,
        .esteves-st-fresh .esteves-st-fresh__copy,
        .esteves-va-fresh .esteves-va-fresh__copy) {margin-block:0;}
    :is(.esteves-vt-fresh .esteves-vt-fresh__copy > p:first-child,
        .esteves-st-fresh .esteves-st-fresh__copy > p:first-child,
        .esteves-va-fresh .esteves-va-fresh__copy > p:first-of-type) {text-box:trim-start cap alphabetic;}
    :is(.esteves-vt-fresh .esteves-vt-fresh__copy > p:last-child,
        .esteves-st-fresh .esteves-st-fresh__copy > p:last-child,
        .esteves-va-fresh .esteves-va-fresh__copy > p:last-child) {text-box:trim-end cap alphabetic;}
  }
}
@media (min-height:900px) {
  @container esteves-project (min-width:1152px) {
    :is(.esteves-vt-fresh__footer,.esteves-st-fresh__footer,.esteves-va-fresh__footer) {height:0;}
  }
}
/* Both downloadable apps use identical store badges; Voice Arena has none. */
:is(.esteves-vt-fresh__stores,.esteves-st-fresh__stores) {
  display:flex; justify-content:center; align-items:center;
  gap:14px; flex-wrap:wrap; margin:30px 0 0;
}
:is(.esteves-vt-fresh__stores,.esteves-st-fresh__stores) a {
  display:inline-flex; align-items:center; text-decoration:none;
}
:is(.esteves-vt-fresh__stores,.esteves-st-fresh__stores) img {
  display:block; height:43px; width:auto; max-width:160px;
  object-fit:contain;
}
:is(.esteves-vt-fresh__back,.esteves-st-fresh__back,.esteves-va-fresh__back) {
  text-align:center; margin:24px 0 0;
}
.esteves-va-fresh__back {margin-top:30px;}
:is(.esteves-vt-fresh__back,.esteves-st-fresh__back,.esteves-va-fresh__back) a {
  color:#fff; text-decoration:none; text-transform:uppercase;
  font-weight:800; letter-spacing:.075em; font-size:.94rem;
  display:inline-block; padding:9px 12px;
  text-shadow:0 2px 7px rgba(0,0,0,.7);
}
:is(.esteves-vt-fresh__back,.esteves-st-fresh__back,.esteves-va-fresh__back) a:hover,
:is(.esteves-vt-fresh__back,.esteves-st-fresh__back,.esteves-va-fresh__back) a:focus-visible {
  color:#A7D7FF; text-decoration:none;
  text-shadow:0 0 7px rgba(167,215,255,.85),0 0 17px rgba(167,215,255,.55);
}
@media (max-width:800px) {
  :is(.esteves-vt-fresh,.esteves-st-fresh,.esteves-va-fresh) {padding:100px 20px 55px;}
  :is(.esteves-vt-fresh__stores,.esteves-st-fresh__stores) {margin-top:28px; gap:13px;}
  :is(.esteves-vt-fresh__stores,.esteves-st-fresh__stores) img {height:42px;}
}
@media (prefers-reduced-motion:no-preference) {
  :is(.esteves-vt-fresh__inner,.esteves-st-fresh__inner,.esteves-va-fresh__inner) {
    animation:estevesTextIn .75s ease-out .2s both;
  }
}

/* v2.43 — Project descriptions: one text per project, intentional line breaks.
   Visuell Tid wraps between sentences on every viewport.
   SkärmTimeOut wraps only in the mobile card layout. */
.esteves-portfolio-canvas .esteves-app-copy .esteves-desc-newline {
  display:block;
}
.esteves-portfolio-canvas .esteves-app-copy .esteves-desc-mobile-newline {
  display:inline;
}
@media (max-width:767px) {
  .esteves-portfolio-canvas .esteves-app-copy .esteves-desc-mobile-newline {
    display:block;
  }
}


/* v2.45.2 TEST — Option 1: visible mobile text navigation (no hamburger).
   This is an intentionally reversible experiment; desktop widths >=768px
   and the actual page templates are unchanged. Only mobile navigation changes.
   The homepage retains two links; the other pages show three. */
@media (max-width:767px) {
  /* Hide the redundant hamburger navigation, including the native overlay. */
  .esteves-home-nav .esteves-mobile-nav.wp-block-navigation,
  .esteves-inner-nav .esteves-mobile-nav.wp-block-navigation {
    display:none !important;
  }

  /* Show the existing desktop-link markup in a compact horizontal row. */
  .esteves-home-nav .esteves-desktop-nav.wp-block-navigation,
  .esteves-inner-nav .esteves-inner-desktop.wp-block-navigation {
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    flex:0 1 auto !important;
    min-width:0 !important;
    max-width:100% !important;
    width:auto !important;
    margin:0 !important;
    padding:0 !important;
  }

  /* Never show a second toggle from the always-visible inline navigation. */
  .esteves-home-nav .esteves-desktop-nav .wp-block-navigation__responsive-container-open,
  .esteves-home-nav .esteves-desktop-nav .wp-block-navigation__responsive-container-close,
  .esteves-inner-nav .esteves-inner-desktop .wp-block-navigation__responsive-container-open,
  .esteves-inner-nav .esteves-inner-desktop .wp-block-navigation__responsive-container-close {
    display:none !important;
  }

  /* Core Navigation hides its responsive container on some phone widths,
     even if the block is configured with overlayMenu="never". */
  .esteves-home-nav .esteves-desktop-nav .wp-block-navigation__responsive-container,
  .esteves-inner-nav .esteves-inner-desktop .wp-block-navigation__responsive-container {
    display:block !important;
    position:static !important;
    visibility:visible !important;
    opacity:1 !important;
    width:auto !important;
    max-width:100% !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    background:transparent !important;
    overflow:visible !important;
  }
  .esteves-home-nav .esteves-desktop-nav .wp-block-navigation__container,
  .esteves-inner-nav .esteves-inner-desktop .wp-block-navigation__container {
    display:flex !important;
    flex-flow:row nowrap !important;
    justify-content:flex-end !important;
    align-items:center !important;
    column-gap:clamp(16px,4.5vw,24px) !important;
    row-gap:0 !important;
    width:max-content !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 !important;
  }
  .esteves-home-nav .esteves-desktop-nav .wp-block-navigation-item__content,
  .esteves-inner-nav .esteves-inner-desktop .wp-block-navigation-item__content {
    display:block !important;
    margin:0 !important;
    padding:14px 0 !important;
    font-size:clamp(.78rem,3.45vw,.94rem) !important;
    font-weight:800 !important;
    line-height:1.4 !important;
    letter-spacing:.025em !important;
    text-transform:uppercase !important;
    white-space:nowrap !important;
  }

  /* Restore side insets appropriate to a row of links on narrow screens. */
  .esteves-home-nav,
  .esteves-portfolio-nav.esteves-home-nav,
  .esteves-inner-nav {
    padding:14px clamp(12px,4vw,20px) !important;
  }
}


/* v2.45.3 — A slightly more spacious Portfolio heading (both layouts). */
.esteves-portfolio-canvas .esteves-title-placeholder h1 {
  letter-spacing:.04em !important;
}

/* v2.45.3–v2.45.4 — Desktop-only stretched CTA links and refined hover glow.
   Keep one link per card, retaining its focus behavior and real destination.
   Mobile cards keep the original CTA-only hit area and appearance. */
@media (min-width:768px) {
  .esteves-portfolio-canvas .esteves-app-placeholder {
    box-shadow:0 11px 32px rgba(0,0,0,.22) !important;
    transition:box-shadow .2s ease,border-color .2s ease !important;
  }
  .esteves-portfolio-canvas .esteves-app-placeholder:hover,
  .esteves-portfolio-canvas .esteves-app-placeholder:focus-within {
    border-color:rgba(167,215,255,.62) !important;
    box-shadow:0 16px 40px rgba(0,0,0,.36),0 0 24px rgba(167,215,255,.26),0 0 48px rgba(110,180,255,.13) !important;
  }
  /* Making the paragraph non-positioned lets the link's pseudo-element
     position itself against the existing relative-positioned card. */
  .esteves-portfolio-canvas .esteves-app-placeholder .esteves-app-cta {
    position:static !important;
    height:0 !important;
    line-height:0 !important;
  }
  .esteves-portfolio-canvas .esteves-app-cta a::before {
    content:"";
    position:absolute;
    inset:0;
    z-index:2;
    border-radius:16px;
    cursor:pointer;
  }
  .esteves-portfolio-canvas .esteves-app-cta .esteves-card-cta-label {
    position:absolute;
    right:18px;
    bottom:18px;
    z-index:3;
    pointer-events:none;
    line-height:1.2;
  }
  .esteves-portfolio-canvas .esteves-app-cta a:focus-visible {
    outline:none !important;
  }
  .esteves-portfolio-canvas .esteves-app-cta a:focus-visible::before {
    outline:3px solid #ffce78;
    outline-offset:-4px;
  }
}
@media (max-width:767px) {
  /* Keep the added semantic wrapper from changing mobile CTA line metrics. */
  .esteves-portfolio-canvas .esteves-card-cta-label {
    display:contents !important;
  }
}
@media (min-width:768px) and (max-width:1040px) {
  .esteves-portfolio-canvas .esteves-app-cta .esteves-card-cta-label {
    right:16px;
    bottom:16px;
  }
}
@media (prefers-reduced-motion:reduce) {
  .esteves-portfolio-canvas .esteves-app-placeholder {
    transition:none !important;
  }
}


/* v2.45.5 TEST — The homepage hero approaches from the road's vanishing point.
   Keep the approved final geometry: transform changes only the visual entrance,
   never element placement in the document flow. The existing photo and menu fade
   remain untouched; the heading and both lines move together as a single group. */
@keyframes estevesRoadJourney {
  0% {
    opacity:0;
    transform:translate3d(0,-4vh,0) scale(.075);
    filter:blur(2px);
  }
  20% {opacity:.42;filter:blur(1.2px);}
  58% {opacity:1;filter:blur(0);}
  100% {
    opacity:1;
    transform:translate3d(0,0,0) scale(1);
    filter:blur(0);
  }
}
@media (prefers-reduced-motion:no-preference) {
  .esteves-landing .wp-block-cover__inner-container {
    transform-origin:50% 50%;
    animation:estevesRoadJourney 2.15s cubic-bezier(.22,.61,.20,1) .95s both !important;
  }
  /* Override only the old staggered home-text intro, not other pages. */
  .esteves-landing .esteves-hero-heading,
  .esteves-landing .esteves-hero-line {
    animation:none !important;
    opacity:1 !important;
    transform:none !important;
  }
}
@media (prefers-reduced-motion:reduce) {
  .esteves-landing .wp-block-cover__inner-container {
    animation:none !important;
    opacity:1 !important;
    transform:none !important;
    filter:none !important;
  }
}

/* v2.47 — Voice Arena Gutenberg Image block has a figure wrapper. Remove
   block defaults to retain the approved visual sizing and vertical spacing. */
/* v2.48 — Same figure reset for the newly editable app presentations. */
:is(.esteves-va-fresh__visual,.esteves-vt-fresh__visual,.esteves-st-fresh__visual) > figure.wp-block-image {
  box-sizing:border-box; margin:0; padding:0; width:100%; max-width:100%;
}


/* v2.49 — Shared privacy-policy layout. Only page templates that use
   .esteves-policy-page are affected. The legal text stays in the page editor;
   neither app's privacy-policy content is copied into the theme. */
.esteves-policy-page {
  box-sizing:border-box;
  width:100%;
  max-width:none !important;
  min-height:100svh;
  margin:0 !important;
  padding:clamp(105px,11vh,145px) clamp(16px,4.5vw,48px) 90px !important;
  background:transparent;
  color:#e5ebf2;
}
.esteves-policy-page .esteves-policy-sheet {
  box-sizing:border-box;
  width:100%;
  max-width:840px !important;
  margin:0 auto !important;
  padding:clamp(24px,4.1vw,52px) !important;
  border:1px solid rgba(167,215,255,.17);
  border-radius:18px;
  background:rgba(11,19,30,.68);
  box-shadow:0 16px 60px rgba(0,0,0,.24);
  overflow-wrap:break-word;
}
.esteves-policy-page .wp-block-post-content {
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  font-size:clamp(15px,1.1vw,16.5px);
  line-height:1.78;
  color:#e5ebf2;
}
.esteves-policy-page .wp-block-post-content > p {
  margin:0 0 20px !important;
  line-height:inherit !important;
  color:inherit;
}
.esteves-policy-page .wp-block-post-content > p:first-child {
  margin:0 0 clamp(32px,4vw,46px) !important;
  line-height:1.8 !important;
  color:#abbfd1;
}
.esteves-policy-page .wp-block-post-content > p:first-child strong:first-child {
  color:#f8fbff;
  font-size:clamp(2rem,4.4vw,3.25rem);
  font-weight:800;
  line-height:1.25;
  letter-spacing:-.015em;
}
.esteves-policy-page .wp-block-post-content > p:first-child strong:nth-of-type(2) {
  color:#a7d7ff;
  font-size:clamp(1.08rem,1.8vw,1.25rem);
  font-weight:700;
}
.esteves-policy-page .wp-block-post-content > p:first-child strong:nth-of-type(n+3) {
  font-size:.88em;
  font-weight:500;
}
.esteves-policy-page .wp-block-post-content > h2,
.esteves-policy-page .wp-block-post-content > h3,
.esteves-policy-page .wp-block-post-content > h4 {
  margin:30px 0 13px !important;
  padding:24px 0 0;
  border-top:1px solid rgba(167,215,255,.12);
  color:#f8fbff;
  font-weight:700;
  font-size:clamp(1.12rem,1.8vw,1.36rem);
  line-height:1.4;
  letter-spacing:0;
}
.esteves-policy-page .wp-block-post-content strong {color:#f8fbff;}
.esteves-policy-page .wp-block-post-content a {
  color:#a7d7ff;
  text-decoration:underline;
  text-underline-offset:.18em;
}
.esteves-policy-page .wp-block-post-content a:hover,
.esteves-policy-page .wp-block-post-content a:focus-visible {
  color:#e3f3ff;
  text-shadow:0 0 12px rgba(167,215,255,.55);
}
.esteves-policy-page .wp-block-post-content > :last-child {margin-bottom:0 !important;}
@media(max-width:767px) {
  .esteves-policy-page {
    padding:102px 14px 44px !important;
  }
  .esteves-policy-page .esteves-policy-sheet {
    padding:clamp(20px,5vw,30px) !important;
    border-radius:14px;
  }
  .esteves-policy-page .wp-block-post-content {
    font-size:15px;
    line-height:1.75;
  }
}


/* v2.51 — Simple email-based Support. Scoped exclusively to the Support page;
   images reused from Portfolio; no form, form handlers, or third-party plugin. */
.esteves-support-page {
  box-sizing:border-box;
  width:100%;max-width:none!important;min-height:100svh;
  margin:0!important;
  padding:clamp(105px,11vh,145px) clamp(16px,4.5vw,48px) 70px!important;
  background:
    radial-gradient(ellipse at 83% 13%,rgba(81,130,174,.16),transparent 56%),
    radial-gradient(ellipse at 11% 85%,rgba(43,70,105,.15),transparent 58%),
    linear-gradient(135deg,#111a27 0%,#0d121a 52%,#070b11 100%);
  color:#e5ebf2;
}
.esteves-support-page .esteves-support-inner {
  box-sizing:border-box;width:100%;max-width:1040px!important;
  margin:0 auto!important;padding:0!important;
}
.esteves-support-page .esteves-support-intro {
  max-width:760px!important;margin:0 auto clamp(26px,4vw,44px)!important;
  text-align:center;
}
.esteves-support-page .esteves-support-intro h1 {
  margin:0 0 16px!important;color:#f8fbff;
  font-size:clamp(2.25rem,5vw,3.7rem);font-weight:800;
  line-height:1.12;letter-spacing:.025em;
}
.esteves-support-page .esteves-support-intro p {
  margin:0!important;color:#bdcbd9;
  font-size:clamp(.92rem,1.35vw,1.02rem);line-height:1.65;
}
.esteves-support-page .esteves-support-grid {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px!important;max-width:none!important;
}
.esteves-support-page .esteves-support-card {
  box-sizing:border-box;min-width:0;
  display:flex!important;flex-direction:column;align-items:center;
  padding:clamp(20px,3vw,32px) clamp(16px,2.8vw,30px)!important;
  margin:0!important;
  border:1px solid rgba(167,215,255,.21);border-radius:18px;
  background:rgba(11,19,30,.68);
  box-shadow:0 16px 54px rgba(0,0,0,.25);
  text-align:center;
}
.esteves-support-page .esteves-support-art {
  box-sizing:border-box;display:flex;align-items:center;justify-content:center;
  margin:0 0 16px!important;padding:0!important;
  width:100%;max-width:100%;height:180px;
}
.esteves-support-page .esteves-support-art img {
  display:block;width:auto;height:auto;max-width:100%;max-height:180px;
  object-fit:contain;
}
.esteves-support-page .esteves-support-card h2 {
  margin:0 0 8px!important;
  font-size:clamp(1.3rem,2.4vw,1.6rem);line-height:1.3;
  font-weight:750;letter-spacing:0;color:#f8fbff;
}
.esteves-support-page .esteves-support-card-desc {
  margin:0 0 22px!important;
  color:#c5d3e0;font-size:.92rem;line-height:1.5;
}
.esteves-support-page .esteves-support-links {
  display:flex!important;flex-direction:row;align-items:center;
  justify-content:center;gap:12px!important;
  width:100%;max-width:100%;margin:auto 0 0!important;padding:0!important;
  flex-wrap:wrap;
}
.esteves-support-page .esteves-support-links > p {
  margin:0!important;padding:0!important;
}
.esteves-support-page a.esteves-support-action {
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  box-sizing:border-box;min-height:44px;min-width:126px;
  padding:11px 19px;border:1px solid rgba(167,215,255,.4);
  border-radius:10px;background:rgba(167,215,255,.08);
  color:#f7fbff;font-size:.92rem;line-height:1.3;font-weight:750;
  text-decoration:none;text-transform:uppercase;letter-spacing:.025em;
  transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.esteves-support-page a.esteves-support-action:hover,
.esteves-support-page a.esteves-support-action:focus-visible {
  color:#a7d7ff;border-color:rgba(167,215,255,.82);
  background:rgba(167,215,255,.13);
  box-shadow:0 0 18px rgba(167,215,255,.24);
  text-decoration:none;
}
.esteves-support-page a.esteves-support-action:focus-visible {
  outline:2px solid #a7d7ff;outline-offset:3px;
}
.esteves-support-page .esteves-support-note {
  max-width:700px;margin:26px auto 0!important;
  text-align:center;color:#abbfd1;font-size:.85rem;line-height:1.7;
}
.esteves-support-page .esteves-support-back {
  text-align:center;margin:18px 0 0!important;
}
.esteves-support-page .esteves-support-back a {
  display:inline-block;padding:10px 12px;color:#f8fbff;
  font-weight:800;letter-spacing:.075em;font-size:.88rem;
  text-decoration:none;
}
.esteves-support-page .esteves-support-back a:hover,
.esteves-support-page .esteves-support-back a:focus-visible {
  color:#a7d7ff;text-shadow:0 0 7px rgba(167,215,255,.85),0 0 17px rgba(167,215,255,.55);
  text-decoration:none;
}
@media(max-width:767px) {
  .esteves-support-page {padding:101px 14px 44px!important;}
  .esteves-support-page .esteves-support-intro {margin-bottom:24px!important;}
  .esteves-support-page .esteves-support-grid {grid-template-columns:minmax(0,1fr);gap:16px!important;}
  .esteves-support-page .esteves-support-card {border-radius:14px;padding:20px 16px!important;}
  .esteves-support-page .esteves-support-art {height:145px;margin-bottom:12px!important;}
  .esteves-support-page .esteves-support-art img {max-height:145px;}
  .esteves-support-page .esteves-support-card-desc {margin-bottom:16px!important;}
}
@media(max-width:360px) {
  .esteves-support-page .esteves-support-links {gap:9px!important;}
  .esteves-support-page a.esteves-support-action {min-width:112px;padding:10px 14px;}
}
@media(prefers-reduced-motion:reduce) {
  .esteves-support-page a.esteves-support-action {transition:none;}
}


/* v2.52 — Support-only navigation: same current-page glow as Portfolio.
   Four links must fit narrow mobile screens without changing the other headers. */
@media (max-width:767px) {
  .esteves-support-nav .esteves-desktop-nav .wp-block-navigation__container {
    column-gap:clamp(7px,2vw,14px) !important;
  }
  .esteves-support-nav .esteves-desktop-nav .wp-block-navigation-item__content {
    font-size:clamp(.7rem,3vw,.94rem) !important;
    letter-spacing:.015em !important;
  }
  .esteves-support-nav.esteves-home-nav {
    padding-inline:clamp(9px,3vw,20px) !important;
  }
}

/* v2.52 — Centre the Support page's bottom Portfolio link even where WP's
   constrained block layout applies inline margins and widths. */
.esteves-support-page .esteves-support-back {
  box-sizing:border-box !important;
  display:flex !important;
  width:100% !important;
  max-width:none !important;
  justify-content:center !important;
  align-items:center !important;
  text-align:center !important;
  margin:18px auto 0 !important;
}

/* v2.52 — A discreet Support button between the store badges and the back link.
   Applies to Visuell Tid and SkärmTimeOut only; Voice Arena stays untouched. */
:is(.esteves-vt-fresh__support,.esteves-st-fresh__support) {
  display:flex;justify-content:center;align-items:center;
  margin:16px 0 0 !important;padding:0 !important;text-align:center;
}
:is(.esteves-vt-fresh__support,.esteves-st-fresh__support) a {
  display:inline-flex;justify-content:center;align-items:center;
  box-sizing:border-box;min-height:42px;min-width:112px;
  padding:9px 22px;border:1px solid rgba(167,215,255,.42);
  border-radius:9px;background:rgba(167,215,255,.07);
  color:#f4f9ff;text-decoration:none;text-transform:uppercase;
  font-size:.88rem;font-weight:800;letter-spacing:.075em;
  transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease;
}
:is(.esteves-vt-fresh__support,.esteves-st-fresh__support) a:hover,
:is(.esteves-vt-fresh__support,.esteves-st-fresh__support) a:focus-visible {
  color:#a7d7ff;background:rgba(167,215,255,.13);
  border-color:rgba(167,215,255,.76);
  box-shadow:0 0 17px rgba(167,215,255,.26);
}
@media (prefers-reduced-motion:reduce) {
  :is(.esteves-vt-fresh__support,.esteves-st-fresh__support) a {transition:none;}
}


/* v2.54 — JulklAPP privacy policy: same layout as existing policies.
   Only the new page's heading, lists and table need extra styling. */
.esteves-julklapp-policy .wp-block-post-content > h1 {
  margin:0 0 7px !important;
  padding:0 !important;
  color:#f8fbff;
  font-size:clamp(2rem,4.4vw,3.25rem);
  font-weight:800;
  line-height:1.25;
  letter-spacing:-.015em;
  overflow-wrap:anywhere;
}
.esteves-julklapp-policy .wp-block-post-content > h1 + p {
  margin:0 0 clamp(32px,4vw,46px) !important;
  color:#a7d7ff;
  font-size:clamp(.98rem,1.5vw,1.14rem);
  font-weight:600;
  line-height:1.65;
}
.esteves-julklapp-policy .wp-block-post-content > ul.wp-block-list {
  box-sizing:border-box;
  margin:0 0 22px !important;
  padding-left:clamp(20px,3vw,30px) !important;
  color:#e5ebf2;
  list-style-type:disc;
}
.esteves-julklapp-policy .wp-block-post-content > ul.wp-block-list > li {
  margin:0 0 9px !important;
  padding:0 !important;
  line-height:1.7;
}
.esteves-julklapp-policy .wp-block-post-content > .esteves-julklapp-table {
  box-sizing:border-box;
  max-width:100%;
  margin:6px 0 23px !important;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border:1px solid rgba(167,215,255,.18);
  border-radius:10px;
}
.esteves-julklapp-policy .esteves-julklapp-table table {
  box-sizing:border-box;
  width:100%;
  min-width:540px;
  margin:0;
  border-collapse:collapse;
  border:0;
  table-layout:fixed;
  font-size:.91em;
  line-height:1.6;
  color:#e5ebf2;
}
.esteves-julklapp-policy .esteves-julklapp-table :is(th,td) {
  padding:12px 14px;
  border:1px solid rgba(167,215,255,.13);
  vertical-align:top;
  overflow-wrap:anywhere;
}
.esteves-julklapp-policy .esteves-julklapp-table thead th {
  background:rgba(167,215,255,.10);
  color:#f8fbff;
  font-weight:700;
  text-align:left;
}
.esteves-julklapp-policy .esteves-julklapp-table tbody tr:nth-child(even) {
  background:rgba(167,215,255,.035);
}
@media(max-width:767px) {
  .esteves-julklapp-policy .esteves-julklapp-table table {
    font-size:13.5px;
  }
}


/* v2.54.1 — Privacy-policy navigation belongs to document flow.
   Let the menu scroll away instead of overlaying the lengthy policy text.
   Scoped to the privacy-header part shared by Visual Time, Screen TimeOut
   and JulklAPP; portfolio, support, homepage and project headers unchanged. */
.wp-site-blocks > header:has(.esteves-policy-nav) {
  position:relative !important;
  top:auto !important;
  right:auto !important;
  bottom:auto !important;
  left:auto !important;
  z-index:auto !important;
  background:transparent !important;
  height:auto !important;
}
.wp-site-blocks > header:has(.esteves-policy-nav) .esteves-policy-nav {
  position:relative !important;
  top:auto !important;
  right:auto !important;
  left:auto !important;
}
/* The header now occupies its natural height. Reduce the old top space that
   previously compensated for the floating header. Card width is untouched. */
.esteves-policy-page {
  padding-top:25px !important;
}
@media (max-width:767px) {
  .esteves-policy-page {
    padding-top:28px !important;
  }
}


/* v2.54.2 — One continuous background for privacy pages.
   Keep the header in normal document flow (v2.54.1), but paint the gradient
   once on the shared wrapper rather than starting a second gradient in the
   header. All three policy pages use this template part. */
.wp-site-blocks:has(> header .esteves-policy-nav) {
  background:
    radial-gradient(ellipse at 83% 13%,rgba(81,130,174,.16),transparent 56%),
    radial-gradient(ellipse at 11% 85%,rgba(43,70,105,.15),transparent 58%),
    linear-gradient(135deg,#111a27 0%,#0d121a 52%,#070b11 100%);
}

/* v2.54.3: Semantic app headings without changing the visual layout. */
.esteves-semantic-heading {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* JulklAPP: long editorial copy must not be compressed to image height. */
.esteves-julklapp-detail .esteves-va-fresh__inner {align-content:start;}
.esteves-julklapp-detail .esteves-va-fresh__copy {row-gap:16px; justify-content:start;}
.esteves-julklapp-detail .esteves-va-fresh__footer {height:auto !important;}

/* v2.55.1 — JulklAPP editorial layout, scoped to this project. */
.esteves-julklapp-detail .esteves-julklapp-title {
  text-align:center; color:#fff; font-size:clamp(1.65rem,3.3vw,2.65rem);
  line-height:1.2; margin:0 auto 28px; max-width:1000px;
}
.esteves-julklapp-detail .esteves-va-fresh__grid {
  display:flex; flex-direction:column; width:100%; max-width:1000px;
  gap:32px; margin:0 auto; font-size:1rem;
}
.esteves-julklapp-detail .esteves-va-fresh__visual {width:100%; max-width:850px; margin:0 auto;}
.esteves-julklapp-detail .esteves-va-fresh__visual figure {margin:0;}
.esteves-julklapp-detail .esteves-va-fresh__visual img {aspect-ratio:auto; height:auto;}
.esteves-julklapp-detail .esteves-va-fresh__copy {margin:0; font-size:1rem; row-gap:16px; justify-content:start;}
.esteves-julklapp-detail .esteves-va-fresh__copy > p {text-box:normal;}
body:has(.esteves-julklapp-detail) .esteves-portfolio-nav .wp-block-navigation-item:nth-child(2) .wp-block-navigation-item__content {
  color:#A7D7FF !important;
  text-shadow:0 0 4px rgba(167,215,255,.85),0 0 13px rgba(90,176,255,.62),0 0 24px rgba(68,147,231,.32) !important;
}
@media(max-width:767px) {
  .esteves-julklapp-detail .esteves-julklapp-title {margin-bottom:22px;}
  .esteves-julklapp-detail .esteves-va-fresh__grid {gap:24px;}
}

/* v2.55.2: native text wrap, isolated to JulklAPP. */
.esteves-julklapp-detail .esteves-va-fresh__grid {display:flow-root; width:100%; max-width:1100px;}
.esteves-julklapp-detail .esteves-va-fresh__visual {float:left; width:50%; max-width:none; margin:0 30px 20px 0;}
.esteves-julklapp-detail .esteves-va-fresh__copy {display:block; overflow:visible; margin:0; width:auto; font-size:1rem;}
.esteves-julklapp-detail .esteves-va-fresh__copy > p + p {margin-top:16px !important;}
@media(max-width:767px) {
 .esteves-julklapp-detail .esteves-va-fresh__visual {float:none; width:100%; margin:0 auto 24px;}
}

/* v2.55.3 — Match JulklAPP artwork to the optical size of adjacent cards. */
.esteves-portfolio-canvas .esteves-app-art img[src*="julklapp-kort-v2552"],
.esteves-portfolio-canvas .esteves-app-art img[alt="JulklAPP på två Android-telefoner"] {
  transform:scale(.84); transform-origin:center;
}
.esteves-julklapp-detail .esteves-julklapp-full-image {display:block; cursor:zoom-in;}
.esteves-julklapp-detail .esteves-julklapp-full-image:focus-visible {outline:2px solid #a7d7ff; outline-offset:4px;}

/* v2.56 — rotating hero and presentation lightbox */
.esteves-landing .esteves-hero-motto{color:#a7d7ff!important;font-weight:700;font-size:clamp(1.25rem,3vw,2.2rem);margin:0 0 1.2rem!important;text-shadow:0 2px 8px #000;}
.esteves-rotation{width:100%;max-width:900px;perspective:800px;text-align:center;color:white;text-shadow:0 2px 8px #000;}
.esteves-rotation-stage{display:grid;align-items:center;min-height:7em;}
.esteves-rotation-message{grid-area:1/1;line-height:1.5;font-size:clamp(1rem,2vw,1.4rem);margin:0!important;text-wrap:balance;}
.esteves-rotation-message[hidden]{display:none!important;}
.esteves-rotation-message span{display:block;font-size:.85em;margin-top:.35em;}
.esteves-rotation-toggle{background:#101820b3;color:white;border:1px solid #ffffff80;border-radius:50%;width:44px;height:44px;cursor:pointer;font-size:1rem;}
.esteves-rotation-toggle[hidden]{display:none;}
.esteves-lightbox{border:0;background:transparent;color:white;padding:0;max-width:96vw;max-height:96dvh;overflow:auto;}
.esteves-lightbox::backdrop{background:rgba(0,0,0,.92);}
.esteves-lightbox img{display:block;max-width:92vw;max-height:85dvh;width:auto;height:auto;object-fit:contain;margin:auto;}
.esteves-lightbox button{display:block;margin:0 0 .5rem auto;background:#222;color:white;border:1px solid #aaa;border-radius:6px;min-height:44px;padding:0 16px;cursor:pointer;}
.esteves-lightbox-trigger{cursor:zoom-in;}

/* v2.56.2 — one message per visit; compact, evenly spaced hero. */
.esteves-landing .wp-block-cover__inner-container {gap:clamp(16px,2.5vh,28px)!important;padding-top:clamp(35px,5svh,65px)!important;padding-bottom:clamp(45px,8svh,90px)!important;}
.esteves-landing .esteves-hero-heading,.esteves-landing .esteves-hero-motto,.esteves-landing .esteves-rotation {margin:0!important;}
.esteves-rotation-stage {min-height:0;align-items:center;}
.esteves-rotation-message[hidden]{display:none!important;}
.esteves-motto-word{display:inline-block;white-space:nowrap;}
.esteves-motto-letter{display:inline-block;}
