/*
 * WebXtent v0.8.173 — annotated Home profile / Developments access refinements.
 */

/* Home Company Profile card is the Open action itself. */
body.wxt-scene-home .wxt-home-editorial__document{
  position:relative;
  cursor:pointer;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}

body.wxt-scene-home .wxt-home-editorial__document-open{
  position:absolute;
  inset:0;
  z-index:8;
  border-radius:inherit;
  text-decoration:none;
}

body.wxt-scene-home .wxt-home-editorial__document-preview iframe{
  pointer-events:none!important;
}

body.wxt-scene-home .wxt-home-editorial__document:hover{
  border-color:rgba(196,155,72,.30);
  box-shadow:0 20px 50px rgba(24,50,71,.10),inset 0 1px 0 rgba(255,255,255,.82);
  transform:translateY(-1px);
}

body.wxt-scene-home .wxt-home-editorial__document:has(.wxt-home-editorial__document-open:focus-visible){
  outline:3px solid rgba(196,155,72,.40);
  outline-offset:3px;
}

/* v0.8.174 — simplify the Company Profile block: no outer frosted card.
 * The cover + title sit directly on the Home canvas and the explicit Download
 * action mirrors the Header pill styling. */
body.wxt-scene-home .wxt-home-editorial__document{
  width:min(100%,430px)!important;
  grid-template-columns:132px minmax(0,1fr)!important;
  gap:18px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  cursor:default!important;
}

body.wxt-scene-home .wxt-home-editorial__document:hover{
  border-color:transparent!important;
  box-shadow:none!important;
  transform:none!important;
}

body.wxt-scene-home .wxt-home-editorial__document-preview{
  border:0!important;
  border-radius:16px!important;
  box-shadow:0 12px 28px rgba(24,50,71,.10)!important;
}

body.wxt-scene-home .wxt-home-editorial__document-meta{
  position:relative;
  z-index:9;
  gap:9px!important;
  justify-content:center!important;
}

body.wxt-scene-home .wxt-home-editorial__document-download{
  position:relative;
  z-index:10;
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-width:174px;
  min-height:48px;
  margin-top:3px;
  padding:5px 6px 5px 18px;
  border:1px solid rgba(24,50,71,.10);
  border-radius:999px;
  background:rgba(255,255,255,.94);
  color:#183247;
  box-shadow:0 10px 28px rgba(24,50,71,.08),inset 0 1px 0 rgba(255,255,255,.96);
  text-decoration:none;
  font:750 13px/1 var(--wxt-font-ui);
  letter-spacing:-.01em;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

body.wxt-scene-home .wxt-home-editorial__document-download span{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  flex:0 0 36px;
  border-radius:50%;
  background:#0d2f49;
  color:#fff;
  font:700 18px/1 var(--wxt-font-ui);
}

body.wxt-scene-home .wxt-home-editorial__document-download:hover,
body.wxt-scene-home .wxt-home-editorial__document-download:focus-visible{
  transform:translateY(-1px);
  border-color:rgba(196,155,72,.30);
  box-shadow:0 14px 32px rgba(24,50,71,.12),inset 0 1px 0 rgba(255,255,255,1);
  outline:none;
}

body.wxt-scene-home .wxt-home-editorial__document-open{
  z-index:7!important;
}

@media(max-width:767px){
  body.wxt-scene-home .wxt-home-editorial__document{
    grid-template-columns:104px minmax(0,1fr)!important;
    gap:14px!important;
  }

  body.wxt-scene-home .wxt-home-editorial__document-download{
    min-width:150px;
    min-height:44px;
    padding-left:15px;
    font-size:12px;
  }

  body.wxt-scene-home .wxt-home-editorial__document-download span{
    width:32px;
    height:32px;
    flex-basis:32px;
    font-size:16px;
  }
}

/* Developments — dedicated catalogue access above Search projects. */
body.wxt-scene-developments .wxt-development-project-directory-link{
  position:absolute;
  z-index:7;
  left:var(--wxt-dev-gutter);
  top:calc(clamp(112px,17vh,176px) - 45px);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:32px;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:999px;
  background:
    radial-gradient(circle at 18% 12%,rgba(255,255,255,.16),transparent 44%),
    linear-gradient(135deg,rgba(12,16,20,.38),rgba(12,16,20,.20));
  color:#f7f3ec;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.11),0 8px 24px rgba(0,0,0,.10);
  backdrop-filter:blur(18px) saturate(118%);
  -webkit-backdrop-filter:blur(18px) saturate(118%);
  text-decoration:none;
  font:750 10px/1 var(--wxt-font-ui);
  letter-spacing:.11em;
  white-space:nowrap;
  transition:border-color .2s ease,background .2s ease,transform .2s ease,box-shadow .2s ease;
}

body.wxt-scene-developments .wxt-development-project-directory-link span{
  display:grid;
  place-items:center;
  width:18px;
  height:18px;
  border-radius:50%;
  background:rgba(255,255,255,.10);
  color:#e0b45b;
  font-size:11px;
}

body.wxt-scene-developments .wxt-development-project-directory-link:hover,
body.wxt-scene-developments .wxt-development-project-directory-link:focus-visible{
  transform:translateY(-1px);
  border-color:rgba(217,173,89,.66);
  background:
    radial-gradient(circle at 18% 12%,rgba(255,255,255,.19),transparent 44%),
    linear-gradient(135deg,rgba(12,16,20,.48),rgba(12,16,20,.27));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 10px 28px rgba(0,0,0,.14);
  outline:none;
}

/* Tablet/iPad search sits at 88px; keep View Projects immediately above it. */
@media (min-width:768px) and (max-width:1194px){
  body.wxt-scene-developments .wxt-development-project-directory-link{
    top:48px;
    min-height:30px;
    padding-inline:12px;
    font-size:9px;
  }
}

/* On phone the Search field is promoted into the Header, so keep the project
 * catalogue access on the stage itself directly beneath the Header. */
@media (max-width:767px){
  body.wxt-scene-developments .wxt-development-project-directory-link{
    left:14px;
    top:max(78px,calc(env(safe-area-inset-top) + 64px));
    min-height:30px;
    padding:0 11px;
    font-size:8px;
    letter-spacing:.10em;
  }
}

@media(prefers-reduced-motion:reduce){
  body.wxt-scene-home .wxt-home-editorial__document,
  body.wxt-scene-developments .wxt-development-project-directory-link{
    transition:none!important;
  }
}
