/* v1.3.6 — editorial brand card gallery */
.ptfh-home .ptfh-intro-gallery{margin-top:40px;--ptfh-intro-gap:20px;--ptfh-intro-cols:3;position:relative}
.ptfh-home .ptfh-intro-gallery-viewport{overflow:hidden;border-radius:20px}
.ptfh-home .ptfh-intro-gallery-track{display:flex;gap:var(--ptfh-intro-gap);transform:translate3d(0,0,0);transition:transform .72s cubic-bezier(.22,1,.36,1);will-change:transform;touch-action:pan-y}
.ptfh-home .ptfh-intro-gallery-item{position:relative;flex:0 0 calc((100% - (var(--ptfh-intro-cols) - 1)*var(--ptfh-intro-gap))/var(--ptfh-intro-cols));min-width:0;aspect-ratio:501/651;overflow:hidden;border-radius:20px;background:#242424;isolation:isolate}
.ptfh-home .ptfh-intro-gallery-image{position:absolute;inset:0}
.ptfh-home .ptfh-intro-gallery-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.22,1,.36,1)}
.ptfh-home .ptfh-intro-gallery-item:hover img{transform:scale(1.045)}
.ptfh-home .ptfh-intro-gallery-overlay{position:absolute;inset:0;z-index:2;padding:clamp(18px,2.5vw,40px);display:flex;flex-direction:column;align-items:flex-start;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.26) 0%,transparent 32%,transparent 60%,rgba(0,0,0,.18) 100%)}
.ptfh-home .ptfh-intro-gallery-overlay h3{color:#fff;font-weight:750;font-size:clamp(22px,1.85vw,31px);margin:4px 0 9px;line-height:1.2;text-shadow:0 1px 4px rgba(0,0,0,.2)}
.ptfh-home .ptfh-intro-gallery-overlay p{font-size:clamp(12px,1vw,15px);color:#fff;line-height:1.45;max-width:95%;margin:0;text-shadow:0 1px 4px #0008}
.ptfh-home .ptfh-intro-gallery-link{margin-top:auto;display:inline-flex;align-items:center;gap:12px;background:#fff!important;color:#111!important;border-radius:11px;min-height:44px;padding:11px 16px;font-size:14px;font-weight:750;pointer-events:auto;box-shadow:0 2px 12px #0002;transition:background .2s,transform .2s}
.ptfh-home .ptfh-intro-gallery-link:hover{background:#f0f0f0!important;transform:translateY(-2px)}
.ptfh-home .ptfh-intro-gallery-link span{font-size:21px;font-weight:400;line-height:14px}
/* Navigation floats just outside the cards, vertically centered, as in the reference. */
.ptfh-home .ptfh-intro-gallery-nav{position:absolute;z-index:10;top:calc(50% - 12px);left:-43px;right:-43px;display:flex;align-items:center;justify-content:space-between;transform:translateY(-50%);pointer-events:none;margin:0}
/* Navigation matches the dark translucent controls used by the main hero slider. */
.ptfh-home .ptfh-intro-gallery-nav button{
  pointer-events:auto;display:grid;place-items:center;
  width:40px;height:40px;min-width:40px;min-height:40px;
  padding:0;margin:0;border:1px solid rgba(255,255,255,.26);
  border-radius:50%;background:rgba(18,25,31,.36);color:#fff;
  box-shadow:0 2px 12px rgba(0,0,0,.12);
  backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);
  opacity:.82;cursor:pointer;
  transition:background .22s ease,opacity .22s ease,transform .22s ease,border-color .22s ease;
  -webkit-tap-highlight-color:transparent;
}
.ptfh-home .ptfh-intro-gallery-nav button svg{
  display:block;width:18px;height:18px;fill:none;stroke:currentColor;
  stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
}
.ptfh-home .ptfh-intro-gallery-nav button:hover:not(:disabled){
  opacity:1;background:rgba(18,25,31,.65);border-color:rgba(255,255,255,.62);
  transform:scale(1.055);
}
.ptfh-home .ptfh-intro-gallery-nav button:disabled{opacity:.3;cursor:default;}
.ptfh-home .ptfh-intro-gallery-nav button:focus-visible{outline:2px solid #fff;outline-offset:3px;}
@media(max-width:980px){.ptfh-home .ptfh-intro-gallery-nav{left:-20px;right:-20px}.ptfh-home .ptfh-intro-gallery{--ptfh-intro-cols:2;--ptfh-intro-gap:15px}.ptfh-home .ptfh-intro-gallery-item{aspect-ratio:501/651}}
@media(max-width:600px){.ptfh-home .ptfh-intro-gallery-nav{left:7px;right:7px}.ptfh-home .ptfh-intro-gallery-nav button{width:34px;height:34px;min-width:34px;min-height:34px;background:rgba(18,25,31,.36)}.ptfh-home .ptfh-intro-gallery{--ptfh-intro-cols:1;--ptfh-intro-gap:12px;margin-top:27px}.ptfh-home .ptfh-intro-gallery-item{aspect-ratio:501/651}.ptfh-home .ptfh-intro-gallery-viewport{border-radius:16px}.ptfh-home .ptfh-intro-gallery-overlay{padding:25px}.ptfh-home .ptfh-intro-gallery-overlay h3{font-size:26px}}
@media(prefers-reduced-motion:reduce){.ptfh-home .ptfh-intro-gallery-track,.ptfh-home .ptfh-intro-gallery-image img{transition:none!important}}

/* v1.3.7: slide navigation dots, hero-inspired, below image cards */
.ptfh-home .ptfh-intro-gallery-dots{display:flex;justify-content:center;align-items:center;gap:8px;margin:16px auto 0;min-height:18px}
.ptfh-home .ptfh-intro-gallery-dots[hidden]{display:none!important}
.ptfh-home .ptfh-intro-gallery-dots button{display:block;flex:0 0 auto;width:7px;height:7px;min-width:7px;min-height:7px;margin:0;padding:0;border:0;border-radius:999px;background:#a5a8ad;opacity:.8;box-shadow:none;cursor:pointer;transition:width .35s ease,background .35s ease,opacity .35s ease}
.ptfh-home .ptfh-intro-gallery-dots button.is-active{width:22px;min-width:22px;background:#262d34;opacity:1}
.ptfh-home .ptfh-intro-gallery-dots button:focus-visible{outline:2px solid #262d34;outline-offset:4px}
@media(max-width:600px){.ptfh-home .ptfh-intro-gallery-dots{gap:7px;margin-top:14px}.ptfh-home .ptfh-intro-gallery-dots button{width:6px;height:6px;min-width:6px;min-height:6px}.ptfh-home .ptfh-intro-gallery-dots button.is-active{width:19px;min-width:19px}}
@media(prefers-reduced-motion:reduce){.ptfh-home .ptfh-intro-gallery-dots button{transition:none!important}}
