/*
 * ParsAray Thermowood v135 — architectural dark-cut project cards.
 * Only this landing's "همراهی‌های ماندگار" gallery is affected.
 * Existing real photos, project URLs and inline SVG icons are preserved.
 */
body.pa135-thermowood .pa121-trust .pa118-trust-grid{
  gap:14px!important;
  perspective:1200px;
}

body.pa135-thermowood .pa121-trust .pa118-client{
  position:relative;
  isolation:isolate;
  overflow:hidden!important;
  border:1px solid rgba(206,178,118,.49)!important;
  border-radius:22px!important;
  background:#080d0b!important;
  /* Real, deliberate corner cuts: no empty cream blobs or floating masks. */
  -webkit-clip-path:polygon(22px 0,100% 0,100% calc(100% - 20px),calc(100% - 20px) 100%,0 100%,0 22px);
  clip-path:polygon(22px 0,100% 0,100% calc(100% - 20px),calc(100% - 20px) 100%,0 100%,0 22px);
  box-shadow:0 17px 35px rgba(7,19,13,.20);
  padding:12px 14px 13px!important;
  gap:8px;
  will-change:auto;
  transform:translateZ(0);
  transition:border-color .55s ease,box-shadow .55s ease,transform .55s cubic-bezier(.2,.75,.23,1);
}
body.pa135-thermowood .pa121-trust .pa118-client:hover{
  box-shadow:0 22px 48px rgba(5,13,9,.30);
  border-color:rgba(237,199,126,.8)!important;
  transform:translate3d(0,-3px,0) scale(1.004);
}

/* Photos remain genuine, clearly visible as subtle architecture behind the text. */
body.pa135-thermowood .pa121-trust .pa121-client-bg{
  inset:0!important;
  opacity:1!important;
  z-index:0!important;
  border-radius:inherit;
  overflow:hidden;
  background:#08120e;
}
body.pa135-thermowood .pa121-trust .pa121-client-bg img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center;
  opacity:.87!important;
  filter:brightness(.61) contrast(1.15) saturate(.80)!important;
  transform:scale(1.025)!important;
  transition:transform 1.15s cubic-bezier(.18,.7,.26,1),filter .7s ease!important;
}
body.pa135-thermowood .pa121-trust .pa118-client:hover .pa121-client-bg img{
  filter:brightness(.72) contrast(1.12) saturate(.84)!important;
  transform:scale(1.075)!important;
}
body.pa135-thermowood .pa121-trust .pa118-client::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1!important;
  pointer-events:none;
  background:
    linear-gradient(180deg,
      rgba(3,9,7,.74) 0%,
      rgba(4,10,8,.51) 28%,
      rgba(3,10,8,.43) 44%,
      rgba(2,8,6,.74) 73%,
      rgba(1,6,5,.96) 100%)!important;
}
body.pa135-thermowood .pa121-trust .pa118-client::after{
  content:"";
  position:absolute;
  z-index:2;
  left:12px;
  bottom:11px;
  width:22px;
  height:1px;
  pointer-events:none;
  opacity:.85;
  background:linear-gradient(90deg,#e1be79,transparent);
}

/* Top row is redrawn using self-contained SVG, not icon fonts. */
body.pa135-thermowood .pa121-trust .pa121-client-top{
  position:relative;
  z-index:4!important;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  flex:none;
  width:100%;
  min-height:54px;
  direction:rtl;
}
body.pa135-thermowood .pa121-trust .pa135-architectural-mark{
  display:inline-flex;
  align-items:center;
  gap:7px;
  flex:0 0 auto;
  min-width:111px;
  max-width:131px;
  height:51px;
  margin-top:-3px;
  margin-right:-4px;
  padding:7px 9px 7px 12px;
  background:linear-gradient(137deg,rgba(197,153,79,.23),rgba(27,35,24,.88) 48%,rgba(12,18,15,.96));
  border:1px solid rgba(235,197,119,.55);
  color:#eed29b;
  -webkit-clip-path:polygon(0 0,100% 0,100% 72%,calc(100% - 16px) 100%,0 100%);
  clip-path:polygon(0 0,100% 0,100% 72%,calc(100% - 16px) 100%,0 100%);
}
body.pa135-thermowood .pa121-trust .pa135-architectural-icon{
  display:grid;
  flex:0 0 25px;
  width:25px;
  height:29px;
  place-items:center;
  color:#f0cd8c;
}
body.pa135-thermowood .pa121-trust .pa135-architectural-icon svg{
  display:block!important;
  width:21px!important;
  height:21px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
}
body.pa135-thermowood .pa121-trust .pa135-architectural-lettering{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  gap:2px;
  min-width:0;
  direction:ltr;
  white-space:nowrap;
}
body.pa135-thermowood .pa121-trust .pa135-architectural-lettering b{
  font:800 8px/1.15 Arial,sans-serif;
  letter-spacing:.095em;
  color:#ffebc0;
}
body.pa135-thermowood .pa121-trust .pa135-architectural-lettering small{
  font:700 6.5px/1.15 Arial,sans-serif;
  letter-spacing:.2em;
  color:#bdaf92;
}
body.pa135-thermowood .pa121-trust .pa135-card-arrow{
  display:grid;
  place-items:center;
  flex:0 0 28px;
  width:28px;
  height:28px;
  margin-top:5px;
  margin-left:10px;
  color:#f2ce86;
  border-radius:10px;
  border:1px solid rgba(228,191,115,.48);
  background:rgba(9,19,14,.78);
}
body.pa135-thermowood .pa121-trust .pa135-card-arrow svg{
  display:block!important;
  width:15px!important;
  height:15px!important;
  stroke:currentColor!important;
  fill:none!important;
  transform:rotate(0deg);
}

/* Content stays above all images and gradients. */
body.pa135-thermowood .pa121-trust .pa118-client :is(.pa121-client-top,.pa121-client-copy,.pa121-client-materials,.pa121-client-location){
  position:relative;
  z-index:3!important;
}
body.pa135-thermowood .pa121-trust .pa121-client-copy{
  margin-top:2px;
  width:100%;
}
body.pa135-thermowood .pa121-trust .pa121-client-copy strong{
  color:#fff4d7!important;
  text-shadow:0 1px 13px rgba(0,0,0,.8);
  font-size:13px!important;
  line-height:1.8!important;
  -webkit-line-clamp:2;
  min-height:0!important;
}
body.pa135-thermowood .pa121-trust .pa121-client-copy small{
  color:#e4dfcf!important;
  text-shadow:0 2px 9px rgba(0,0,0,.9);
  font-size:9px!important;
  line-height:1.8!important;
  min-height:0!important;
  -webkit-line-clamp:2;
}
body.pa135-thermowood .pa121-trust .pa121-client-materials{
  align-self:stretch;
  margin-top:auto;
  gap:4px;
}
body.pa135-thermowood .pa121-trust .pa121-client-materials span{
  display:inline-flex!important;
  align-items:center;
  gap:5px;
  max-width:100%;
  padding:4px 6px!important;
  color:#f3dca9!important;
  background:rgba(5,15,10,.86)!important;
  border:1px solid rgba(215,181,110,.55)!important;
  border-radius:6px!important;
  font-size:8px!important;
  line-height:1.65!important;
  backdrop-filter:blur(4px);
}
body.pa135-thermowood .pa121-trust .pa121-client-materials svg,
body.pa135-thermowood .pa121-trust .pa121-client-location svg{
  display:inline-block!important;
  flex:0 0 13px!important;
  width:13px!important;
  height:13px!important;
  min-width:13px!important;
  min-height:13px!important;
  overflow:visible!important;
  opacity:1!important;
  visibility:visible!important;
  color:#eac47b!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
}
body.pa135-thermowood .pa121-trust .pa121-client-location{
  color:#efe6ce!important;
  font-size:9px!important;
  text-shadow:0 2px 9px #000;
}

/* Slower, more cinematic transition. Only the changed cards animate. */
body.pa135-thermowood .pa121-trust .pa118-client.pa134-entering{
  animation:pa135-architectural-enter .82s cubic-bezier(.17,.72,.22,1) both!important;
}
@keyframes pa135-architectural-enter{
  0%{opacity:0;transform:perspective(900px) translate3d(0,22px,0) scale(.968) rotateX(-4deg);filter:brightness(.83)}
  65%{opacity:1;transform:perspective(900px) translate3d(0,-3px,0) scale(1.008) rotateX(.6deg);filter:brightness(1)}
  100%{opacity:1;transform:perspective(900px) translate3d(0,0,0) scale(1) rotateX(0);filter:brightness(1)}
}
body.pa135-thermowood .pa121-trust .pa134-trust-controls{
  margin-top:17px;
}
body.pa135-thermowood .pa121-trust .pa134-trust-count{
  letter-spacing:0;
}
@media(max-width:900px){
  body.pa135-thermowood .pa121-trust .pa118-client{
    padding:10px 11px 12px!important;
  }
  body.pa135-thermowood .pa121-trust .pa135-architectural-mark{
    min-width:102px;
    height:46px;
    padding:6px 6px 6px 10px;
  }
  body.pa135-thermowood .pa121-trust .pa135-architectural-lettering b{font-size:7.2px}
  body.pa135-thermowood .pa121-trust .pa135-architectural-lettering small{font-size:6px}
  body.pa135-thermowood .pa121-trust .pa135-card-arrow{margin-left:3px}
  body.pa135-thermowood .pa121-trust .pa121-client-copy strong{font-size:11.4px!important}
}
@media(max-width:480px){
  body.pa135-thermowood .pa121-trust .pa118-client{
    -webkit-clip-path:polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px);
    clip-path:polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px);
  }
  body.pa135-thermowood .pa121-trust .pa135-architectural-mark{
    min-width:92px;
    height:43px;
    gap:3px;
  }
  body.pa135-thermowood .pa121-trust .pa135-architectural-icon{width:20px;flex-basis:20px}
  body.pa135-thermowood .pa121-trust .pa135-architectural-icon svg{width:17px!important;height:17px!important}
  body.pa135-thermowood .pa121-trust .pa135-architectural-lettering b{font-size:6.8px}
  body.pa135-thermowood .pa121-trust .pa135-architectural-lettering small{font-size:5.5px}
  body.pa135-thermowood .pa121-trust .pa135-card-arrow{width:24px;height:24px;flex-basis:24px;margin-left:0}
  body.pa135-thermowood .pa121-trust .pa121-client-materials svg,
  body.pa135-thermowood .pa121-trust .pa121-client-location svg{width:11px!important;height:11px!important;flex-basis:11px!important}
}
@media(prefers-reduced-motion:reduce){
  body.pa135-thermowood .pa121-trust .pa118-client,
  body.pa135-thermowood .pa121-trust .pa121-client-bg img{
    transition:none!important;
  }
  body.pa135-thermowood .pa121-trust .pa118-client.pa134-entering{
    animation:none!important;
  }
}
