/* Homepage event gallery. All selectors are scoped to the section. */
.ptx-event-carousel,.ptx-event-carousel *,.ptx-event-carousel *::before,.ptx-event-carousel *::after{box-sizing:border-box}
.ptx-event-carousel{padding:clamp(64px,7vw,94px) 0 70px;background:#eff4f8;color:#0b2849;font-family:"IBM Plex Sans",Arial,sans-serif}
.ptx-event-carousel__shell{width:min(1180px,calc(100% - 44px));margin-inline:auto}
.ptx-event-carousel__heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:22px}
.ptx-event-carousel__eyebrow{margin:0 0 12px;color:#ad2732;font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.ptx-event-carousel__heading h2{margin:0 0 10px;color:#0b2849;font-size:clamp(34px,4vw,52px);font-weight:800;line-height:1.08;letter-spacing:-.045em}
.ptx-event-carousel__heading p:not(.ptx-event-carousel__eyebrow){max-width:680px;margin:0;color:#475e73;font-size:17px;line-height:1.55}
.ptx-event-carousel__all{flex:0 0 auto;margin-bottom:5px;padding:8px 0;border-bottom:2px solid #c62c38;color:#0c4774;font-size:15px;font-weight:800;text-decoration:none}
.ptx-event-carousel__all:hover{color:#bd2632}
.ptx-event-carousel__controls{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-bottom:14px}
.ptx-event-carousel__count{margin-right:7px;color:#0b2849;font-size:15px;font-weight:800;letter-spacing:.08em;font-variant-numeric:tabular-nums}
.ptx-event-carousel__count span:last-child{color:#7d91a4}
.ptx-event-carousel__controls button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #b9cbd9;border-radius:50%;background:#fff;color:#0b2849;font:700 22px/1 "IBM Plex Sans",Arial,sans-serif;cursor:pointer;transition:background-color .18s ease,border-color .18s ease,transform .18s ease}
.ptx-event-carousel__controls button:not(:disabled):hover{transform:translateY(-2px);border-color:#0b2849;background:#dfeaf2}
.ptx-event-carousel__controls button:disabled{opacity:.38;cursor:not-allowed}
.ptx-event-carousel button:focus-visible,.ptx-event-carousel a:focus-visible,.ptx-event-carousel__track:focus-visible{outline:3px solid #bd2632;outline-offset:4px}
.ptx-event-carousel__track{position:relative;display:flex;gap:22px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#aebdca transparent;padding:5px 3px 21px;touch-action:manipulation}
.ptx-event-carousel__slide{flex:0 0 min(88%,1050px);min-width:0;scroll-snap-align:center}
.ptx-event-carousel__card{height:100%;min-width:0;margin:0;overflow:hidden;border-radius:18px;background:#0a2849;box-shadow:0 15px 36px rgba(9,35,63,.15)}
.ptx-event-carousel__card a{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);min-height:365px;color:#fff;text-decoration:none}
.ptx-event-carousel__card a:focus-visible{outline:3px solid #f7bf74;outline-offset:-5px}
.ptx-event-carousel__card img{display:block;width:100%;height:100%;min-height:365px;aspect-ratio:4/3;object-fit:cover;object-position:center}
.ptx-event-carousel__slide:nth-child(2) img{object-position:center bottom}
.ptx-event-carousel__slide:nth-child(3) img{object-position:center 22%}
.ptx-event-carousel__slide:nth-child(4) img{object-position:center 34%}
.ptx-event-carousel__copy{display:flex;flex-direction:column;min-width:0;padding:clamp(27px,3.5vw,45px)}
.ptx-event-carousel__meta{margin:0 0 16px;color:#f3bc7c;font-size:12px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.ptx-event-carousel__meta span{margin-inline:5px;color:#a9bacb}
.ptx-event-carousel__copy h3{margin:0;color:#fff;font-size:clamp(27px,3vw,39px);font-weight:800;line-height:1.13;letter-spacing:-.04em}
.ptx-event-carousel__excerpt{margin:20px 0 26px;color:#d6e2ed;font-size:16px;line-height:1.62}
.ptx-event-carousel__read{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:15px;border-top:1px solid rgba(255,255,255,.25);color:#fff;font-size:15px;font-weight:800}
.ptx-event-carousel__read span{color:#f3bc7c;font-size:24px;line-height:1}
.ptx-event-carousel__card a:hover .ptx-event-carousel__read span{transform:translate(2px,-2px)}
.ptx-event-carousel__footer{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:16px}
.ptx-event-carousel__markers{display:flex;align-items:center;gap:8px}
.ptx-event-carousel__markers button{width:31px;height:28px;padding:0;border:0;background:none;cursor:pointer;touch-action:manipulation}
.ptx-event-carousel__markers button::before{content:"";display:block;width:10px;height:10px;margin:auto;border-radius:50%;background:#a8bac9;transition:width .18s ease,background-color .18s ease,border-radius .18s ease}
.ptx-event-carousel__markers button[aria-current="true"]::before{width:25px;border-radius:99px;background:#bf2b36}
.ptx-event-carousel__footer p{max-width:690px;margin:0;color:#667a8c;font-size:12px;line-height:1.55;text-align:right}
.ptx-event-carousel__status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:850px){
  .ptx-event-carousel__card a{grid-template-columns:1fr;min-height:0}
  .ptx-event-carousel__card img{height:auto;min-height:0;aspect-ratio:16/10}
  .ptx-event-carousel__copy{min-height:245px}
}
@media(max-width:650px){
  .ptx-event-carousel{padding:62px 0 58px}
  .ptx-event-carousel__shell{width:min(100% - 32px,1180px)}
  .ptx-event-carousel__heading{display:block;margin-bottom:15px}
  .ptx-event-carousel__heading p:not(.ptx-event-carousel__eyebrow){font-size:15px}
  .ptx-event-carousel__all{display:inline-block;margin-top:15px}
  .ptx-event-carousel__slide{flex-basis:88%}
  .ptx-event-carousel__track{gap:13px}
  .ptx-event-carousel__copy{min-height:255px;padding:25px}
  .ptx-event-carousel__copy h3{font-size:27px}
  .ptx-event-carousel__excerpt{margin:13px 0 20px;font-size:15px}
  .ptx-event-carousel__footer{display:block}
  .ptx-event-carousel__footer p{margin-top:15px;text-align:left}
}
@media(prefers-reduced-motion:no-preference){
  .ptx-event-carousel__track{scroll-behavior:smooth}
}
@media(prefers-reduced-motion:reduce){
  .ptx-event-carousel__controls button,.ptx-event-carousel__markers button::before{transition:none}
}
