/* Post Slider — title + horizontal slider of post cards. Two layouts: inside the page width with soft
   fades at the sides, or running to the screen edges (cards outside the page width can be faded). */
html:not(#syn#syn) .syn-ps{--ps-W:min(var(--ps-w,384px),85vw);--ps-pad:12px;padding:var(--ps-pt,96px) 0 var(--ps-pb,72px);background-color:#F6F5F2;color:var(--syn-ink);--ps-hover:#fff;--ps-muted:rgba(22,21,19,.62);--ps-line:rgba(22,21,19,.18)}
html:not(#syn#syn) .syn-ps.syn-dark{background-color:var(--syn-black);color:#fff;--ps-hover:rgba(255,255,255,.07);--ps-muted:rgba(255,255,255,.66);--ps-line:rgba(255,255,255,.28)}

/* ---------- divider lines (top / bottom), page width or full width ---------- */
html:not(#syn#syn) .syn-ps.has-line-top::before,html:not(#syn#syn) .syn-ps.has-line-bottom::after{content:"";position:absolute;left:max(var(--syn-gutter),(100% - 1440px) / 2 + var(--syn-gutter));right:max(var(--syn-gutter),(100% - 1440px) / 2 + var(--syn-gutter));height:1px;background:var(--syn-line);pointer-events:none}
html:not(#syn#syn) .syn-ps.has-line-top::before{top:0}
html:not(#syn#syn) .syn-ps.has-line-bottom::after{bottom:0}
html:not(#syn#syn) .syn-ps.is-line-full::before,html:not(#syn#syn) .syn-ps.is-line-full::after{left:0;right:0}
html:not(#syn#syn) .syn-ps.syn-dark::before,html:not(#syn#syn) .syn-ps.syn-dark::after{background:rgba(255,255,255,.16)}

/* ---------- heading + arrows ---------- */
html:not(#syn#syn) .syn-ps__head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px 40px;margin-bottom:20px}
html:not(#syn#syn) .syn-ps__intro{min-width:0;max-width:820px}
html:not(#syn#syn) .syn .syn-ps__eyebrow{font-family:var(--syn-mono);font-size:13px;line-height:1.4;letter-spacing:.06em;text-transform:uppercase;color:inherit;opacity:.72;margin:0 0 16px}
html:not(#syn#syn) .syn .syn-ps__eyebrow.syn-rv:not(.is-in){opacity:0}
html:not(#syn#syn) .syn .syn-ps__title{font-family:var(--syn-serif);font-size:clamp(32px,3.4vw,48px);font-weight:400;line-height:1.05;letter-spacing:-.025em;color:inherit;text-transform:none;margin:0}
html:not(#syn#syn) .syn .syn-ps__text{font-size:17px;line-height:1.55;color:var(--ps-muted);margin:14px 0 0;max-width:640px}
/* title + button on one line (the button wraps below on narrow screens) */
html:not(#syn#syn) .syn-ps__title-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px}
html:not(#syn#syn) .syn .syn-ps__btn{flex:none;height:44px;padding:0 20px}
html:not(#syn#syn) .syn .syn-ps__link{display:inline-flex;align-items:center;gap:8px;flex:none;font-family:var(--syn-sans);font-size:15px;font-weight:500;line-height:1.3;color:inherit;text-decoration:none;white-space:nowrap}
html:not(#syn#syn) .syn .syn-ps__link span{text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px;transition:text-decoration-color .2s ease}
html:not(#syn#syn) .syn .syn-ps__link:hover span{text-decoration-color:currentColor}
html:not(#syn#syn) .syn .syn-ps__link .syn-btn__icon{width:15px;height:15px;flex:none;transition:transform .35s var(--syn-ease)}
html:not(#syn#syn) .syn .syn-ps__link:hover .syn-btn__icon{transform:translateX(3px)}
html:not(#syn#syn) .syn-ps__arrows{display:flex;gap:10px;flex:none}
html:not(#syn#syn) .syn-ps__arrows.is-static{display:none}
html:not(#syn#syn) .syn .syn-ps__arrow{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;margin:0;border-radius:50%;border:1px solid var(--ps-line);background:transparent;color:inherit;cursor:pointer;transition:background .25s ease,color .25s ease,border-color .25s ease,opacity .25s ease}
html:not(#syn#syn) .syn .syn-ps__arrow svg{width:18px;height:18px}
html:not(#syn#syn) .syn .syn-ps__arrow.is-prev svg{transform:rotate(180deg)}
html:not(#syn#syn) .syn .syn-ps__arrow:hover:not(:disabled){background:var(--syn-ink);border-color:var(--syn-ink);color:var(--syn-paper)}
html:not(#syn#syn) .syn-ps.syn-dark .syn-ps__arrow:hover:not(:disabled){background:#fff;border-color:#fff;color:var(--syn-ink)}
html:not(#syn#syn) .syn .syn-ps__arrow:disabled{opacity:.32;cursor:default}

/* ---------- track (native horizontal scroll) ----------
   Room around the cards keeps the hover lift and shadow from being cut; negative margins cancel it,
   so the images line up with the title. */
html:not(#syn#syn) .syn-ps__track{--ps-side:28px;display:flex;gap:var(--ps-gap,8px);overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:var(--ps-side);padding:16px var(--ps-side) 48px;margin:0 calc(-1 * (var(--ps-side) + var(--ps-pad))) -48px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
html:not(#syn#syn) .syn-ps__track::-webkit-scrollbar{display:none}
html:not(#syn#syn) .syn-ps__track:focus-visible{outline:2px solid currentColor;outline-offset:-6px;border-radius:18px}
html:not(#syn#syn) .syn-ps__track.is-dragging{scroll-snap-type:none;cursor:grabbing}
html:not(#syn#syn) .syn-ps__track.is-dragging .syn-ps__card{pointer-events:none}

/* page width: soft fade only on a side that has more cards */
html:not(#syn#syn) .syn-ps.is-contained .syn-ps__track{--ps-fl:1;--ps-fr:1;-webkit-mask-image:linear-gradient(to right,rgba(0,0,0,var(--ps-fl)) 0,#000 var(--ps-fade,88px),#000 calc(100% - var(--ps-fade,88px)),rgba(0,0,0,var(--ps-fr)) 100%);mask-image:linear-gradient(to right,rgba(0,0,0,var(--ps-fl)) 0,#000 var(--ps-fade,88px),#000 calc(100% - var(--ps-fade,88px)),rgba(0,0,0,var(--ps-fr)) 100%)}
html:not(#syn#syn) .syn-ps.is-contained .syn-ps__track.has-prev{--ps-fl:0}
html:not(#syn#syn) .syn-ps.is-contained .syn-ps__track.has-next{--ps-fr:0}

/* screen edges: the first card starts at the page edge, the track runs to both screen edges */
html:not(#syn#syn) .syn-ps.is-bleed .syn-ps__track{--ps-side:calc(max(var(--syn-gutter), (100% - 1440px) / 2 + var(--syn-gutter)) - var(--ps-pad));margin:0 0 -48px}
html:not(#syn#syn) .syn-ps__card.is-out{opacity:.38}

/* ---------- cards slide in from the right, one after the other (delays set by the script) ---------- */
/* Snapping is off while the cards move, or the track scrolls along with them and jumps at the end. */
html:not(#syn#syn) .syn-ps.is-pre .syn-ps__track{scroll-snap-type:none}
html:not(#syn#syn) .syn-ps.is-pre .syn-ps__card{opacity:0;transform:translateX(56px);transition:none}
html:not(#syn#syn) .syn-ps.is-pre.is-go .syn-ps__card{opacity:1;transform:none;transition:opacity .7s ease,transform 1s var(--syn-ease)}
html:not(#syn#syn) .syn-ps.is-pre.is-go .syn-ps__card.is-out{opacity:.38}
html:not(#syn#syn) .fl-builder-edit .syn-ps.is-pre .syn-ps__card{opacity:1;transform:none}
html:not(#syn#syn) .syn-ps__card.is-out:hover,html:not(#syn#syn) .syn-ps__card.is-out:focus-visible{opacity:1}

/* ---------- card ---------- */
html:not(#syn#syn) .syn .syn-ps__card{position:relative;display:block;flex:0 0 var(--ps-W);width:var(--ps-W);box-sizing:border-box;padding:var(--ps-pad);border-radius:18px;color:inherit;text-decoration:none;text-align:left;scroll-snap-align:start;transition:background-color .35s ease,box-shadow .45s var(--syn-ease),transform .45s var(--syn-ease),opacity .4s ease}
html:not(#syn#syn) .syn .syn-ps__card:hover,html:not(#syn#syn) .syn .syn-ps__card:focus-visible{background-color:var(--ps-hover);box-shadow:0 18px 40px -12px rgba(22,21,19,.22),0 2px 6px rgba(22,21,19,.05);transform:translateY(-4px)}
html:not(#syn#syn) .syn-ps.syn-dark .syn-ps__card:hover{box-shadow:0 18px 40px -12px rgba(0,0,0,.6)}
html:not(#syn#syn) .syn .syn-ps__card:focus-visible{outline:2px solid currentColor;outline-offset:2px}
html:not(#syn#syn) .syn-ps__media{position:relative;display:block;aspect-ratio:var(--ps-ratio,16 / 9);border-radius:12px;overflow:hidden;background:#E7E3DA}
html:not(#syn#syn) .syn .syn-ps__img{position:absolute;inset:0;width:100%;height:100%;max-width:none;margin:0;object-fit:cover;transition:transform .9s var(--syn-ease)}
html:not(#syn#syn) .syn .syn-ps__card:hover .syn-ps__img{transform:scale(1.1)}

/* hover button (bottom right of the image) */
html:not(#syn#syn) .syn-ps__icon{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;justify-content:center;gap:7px;min-width:36px;height:36px;padding:0 9px;box-sizing:border-box;border-radius:8px;background:#fff;color:var(--syn-ink);font-family:var(--syn-sans);font-size:14px;font-weight:500;line-height:1;white-space:nowrap;box-shadow:0 4px 14px rgba(0,0,0,.12);opacity:0;transform:scale(.7);transform-origin:100% 100%;transition:opacity .3s ease,transform .45s var(--syn-ease);pointer-events:none}
html:not(#syn#syn) .syn-ps__icon svg{display:block;flex:none;width:16px;height:16px}
html:not(#syn#syn) .syn .syn-ps__card:hover .syn-ps__icon,html:not(#syn#syn) .syn .syn-ps__card:focus-visible .syn-ps__icon{opacity:1;transform:scale(1)}

/* text */
html:not(#syn#syn) .syn-ps__body{display:block;padding:18px 4px 4px}
html:not(#syn#syn) .syn .syn-ps__meta{display:flex;flex-wrap:wrap;align-items:center;margin:0 0 8px;font-family:var(--syn-sans);font-size:11px;font-weight:500;line-height:1.3;letter-spacing:.08em;text-transform:uppercase;color:var(--ps-meta,var(--syn-ink))}
html:not(#syn#syn) .syn .syn-ps__meta span + span::before{content:"";display:inline-block;width:3px;height:3px;margin:0 8px 2px;border-radius:50%;background:currentColor;opacity:.6;vertical-align:middle}
html:not(#syn#syn) .syn .syn-ps__name{font-family:var(--syn-sans);font-size:19px;font-weight:600;line-height:1.32;letter-spacing:-.01em;color:inherit;text-transform:none;margin:0}
html:not(#syn#syn) .syn .syn-ps__excerpt{font-family:var(--syn-sans);font-size:15px;line-height:1.5;color:var(--ps-muted);margin:10px 0 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
html:not(#syn#syn) .syn-ps__authors{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:16px}
html:not(#syn#syn) .syn-ps__author{display:flex;align-items:center;gap:8px;min-width:0}
html:not(#syn#syn) .syn .syn-ps__avatar{width:24px;height:24px;max-width:none;margin:0;border-radius:50%;object-fit:cover;flex:none;background:#ddd}
html:not(#syn#syn) .syn-ps__who{font-family:var(--syn-sans);font-size:14px;font-weight:500;line-height:1.3}
html:not(#syn#syn) .syn-ps__role{font-weight:400;color:var(--ps-muted)}
/* "Photos only": overlapping photos, the hovered one lifts to the front with name + position above it */
html:not(#syn#syn) .syn-ps__authors.is-stack{gap:0;flex-wrap:nowrap;margin-top:18px}
html:not(#syn#syn) .syn-ps__authors.is-stack .syn-ps__author{position:relative;display:block;flex:none;transition:transform .3s var(--syn-ease)}
html:not(#syn#syn) .syn-ps__authors.is-stack .syn-ps__author ~ .syn-ps__author{margin-left:-9px}
html:not(#syn#syn) .syn .syn-ps__authors.is-stack .syn-ps__avatar{display:block;width:34px;height:34px;border:2px solid var(--syn-paper-2)}
html:not(#syn#syn) .syn .syn-ps__authors.is-stack .syn-ps__author:hover{z-index:20!important;transform:translateY(-3px)}
html:not(#syn#syn) .syn-ps__tip{position:absolute;left:-6px;bottom:calc(100% + 10px);display:flex;flex-direction:column;gap:1px;padding:8px 12px;border-radius:10px;background:var(--syn-ink);color:#fff;font-family:var(--syn-sans);font-size:13px;line-height:1.3;white-space:nowrap;box-shadow:0 10px 30px rgba(0,0,0,.22);opacity:0;visibility:hidden;transform:translateY(4px);transition:opacity .2s ease,transform .3s var(--syn-ease),visibility 0s linear .3s;pointer-events:none}
html:not(#syn#syn) .syn-ps__tip::after{content:"";position:absolute;left:19px;top:100%;border:6px solid transparent;border-top-color:var(--syn-ink)}
html:not(#syn#syn) .syn-ps.syn-dark .syn-ps__tip{background:var(--syn-sheet);color:var(--syn-ink)}
html:not(#syn#syn) .syn-ps.syn-dark .syn-ps__tip::after{border-top-color:var(--syn-sheet)}
html:not(#syn#syn) .syn-ps__author:hover .syn-ps__tip{opacity:1;visibility:visible;transform:none;transition:opacity .2s ease,transform .3s var(--syn-ease),visibility 0s}
html:not(#syn#syn) .syn-ps__tip-name{font-weight:600}
html:not(#syn#syn) .syn-ps__tip-role{opacity:.7}

/* Accidental selection: only the text highlights. */
html:not(#syn#syn) .syn .syn-ps__media,html:not(#syn#syn) .syn .syn-ps__avatar{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}
html:not(#syn#syn) .syn .syn-ps__card::selection,html:not(#syn#syn) .syn .syn-ps__body::selection,html:not(#syn#syn) .syn .syn-ps__authors::selection,html:not(#syn#syn) .syn .syn-ps__author::selection{background:transparent}

@media (prefers-reduced-motion:reduce){
  html:not(#syn#syn) .syn .syn-ps__card,html:not(#syn#syn) .syn .syn-ps__img,html:not(#syn#syn) .syn-ps__icon{transition:none}
  html:not(#syn#syn) .syn-ps.is-pre .syn-ps__card{opacity:1;transform:none}
  html:not(#syn#syn) .syn .syn-ps__card:hover{transform:none}
  html:not(#syn#syn) .syn .syn-ps__card:hover .syn-ps__img{transform:none}
}

/* ---------- tablet ---------- */
@media (max-width:992px){
  html:not(#syn#syn) .syn-ps{--ps-W:min(var(--ps-w-md,336px),85vw);padding:var(--ps-pt-md,80px) 0 var(--ps-pb-md,64px)}
}
/* ---------- phone ---------- */
@media (max-width:768px){
  html:not(#syn#syn) .syn-ps{--ps-W:min(var(--ps-w-sm,300px),85vw);padding:var(--ps-pt-sm,64px) 0 var(--ps-pb-sm,48px)}
  html:not(#syn#syn) .syn-ps__head{flex-wrap:wrap;margin-bottom:12px}
  html:not(#syn#syn) .syn .syn-ps__btn{width:auto;height:40px;padding:0 16px;font-size:14px}
  html:not(#syn#syn) .syn .syn-ps__title{font-size:clamp(28px,8vw,36px)}
  html:not(#syn#syn) .syn .syn-ps__arrow{width:40px;height:40px}
  html:not(#syn#syn) .syn .syn-ps__name{font-size:17px}
  html:not(#syn#syn) .syn-ps.is-contained .syn-ps__track{--ps-fade:36px}
}
/* touch screens: no hover effects; swipe can be turned off (the arrows still move the slider) */
@media (hover:none){
  html:not(#syn#syn) .syn .syn-ps__card:hover{background-color:transparent;box-shadow:none;transform:none}
  html:not(#syn#syn) .syn .syn-ps__card:hover .syn-ps__img{transform:none}
  html:not(#syn#syn) .syn-ps__icon{display:none}
  html:not(#syn#syn) .syn-ps__tip{display:none}
  html:not(#syn#syn) .syn-ps__track.no-swipe{overflow-x:hidden;touch-action:pan-y}
}
