/* Layered enhancement for PAMVERSE Programmes — original header, hero, footer and layout retained. */
.pe-archive-tools{display:flex;gap:12px;align-items:center;margin:0 0 26px}.pe-archive-tools input,.pe-archive-tools select{border:1px solid #d8d2cb;background:#fff;border-radius:12px;padding:15px 16px;font:600 14px Raleway,sans-serif;color:#173543}.pe-archive-tools input{flex:1;min-width:180px}.pe-archive-tools select{min-width:150px}.pe-archive-count{font:700 13px Raleway,sans-serif;color:#6d4334;margin:0 0 19px}.pe-event-card{display:flex;flex-direction:column;overflow:hidden;transform-style:preserve-3d}.pe-event-card:hover{transform:perspective(1000px) rotateX(1.6deg) rotateY(-1.5deg) translateY(-8px);box-shadow:0 25px 54px #203f4830}.pe-event-card .pe-card-body{display:flex;flex-direction:column;flex:1}.pe-event-card .pe-card-body p{flex:1}.pe-event-card .pe-event-open{cursor:pointer}.pe-event-card button.pe-card-image{border:0;padding:0;width:100%;text-align:left}.pe-event-card button.pe-card-link{border:0;background:transparent;width:100%;cursor:pointer;text-align:left}.pe-event-date{letter-spacing:.04em!important;font-size:12px!important}.pe-photo-placeholder{height:100%;width:100%;display:flex;flex-direction:column;gap:15px;align-items:center;justify-content:center;background:radial-gradient(circle at 22% 20%,#3a6c82,#172f47 56%,#5c453c);color:#f8ede0;font:800 11px Raleway,sans-serif;letter-spacing:.14em;text-align:center}.pe-photo-icon{display:grid;place-items:center;width:82px;height:82px;border:1px solid #ffe5bc66;border-radius:50%;font:bold 46px Georgia,serif;color:#e6c6a2}.pe-detail-overlay[hidden],.pe-photo-overlay[hidden]{display:none!important}.pe-detail-overlay,.pe-photo-overlay{position:fixed;inset:0;z-index:20000}.pe-detail-backdrop{position:absolute;inset:0;background:#071b29ca;backdrop-filter:blur(7px)}.pe-detail-dialog{position:absolute;inset:3vh max(12px,calc((100vw - 850px)/2));overflow-y:auto;max-height:94vh;border-radius:20px;background:#fbf6ee;box-shadow:0 35px 100px #0007;padding:clamp(24px,5vw,55px)}.pe-detail-close{position:sticky;top:0;float:right;background:#173c4d;border:0;border-radius:100%;color:#fff;width:44px;height:44px;cursor:pointer;font-size:21px;z-index:1}.pe-detail-label{font:800 12px Raleway,sans-serif;letter-spacing:.13em;color:#775039;margin:12px 0}.pe-detail-dialog h2{font:700 clamp(27px,4vw,44px)/1.14 'Playfair Display',serif;color:#16364a;margin:14px 0 20px;clear:both}.pe-detail-meta{display:flex;flex-wrap:wrap;gap:12px;color:#385b56;font:700 13px Raleway,sans-serif}.pe-detail-meta span{background:#eae8dc;border-radius:30px;padding:10px 14px}.pe-detail-lead{font-size:19px;line-height:1.55;color:#6c4533;border-left:3px solid #b78c67;padding-left:16px;margin:24px 0}.pe-detail-dialog h3{font:800 19px Raleway,sans-serif;color:#17483f;margin:25px 0 12px}.pe-detail-description{white-space:pre-line;font-size:16px;line-height:1.85;color:#293d46}.pe-detail-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.pe-detail-photo{border:0;background:transparent;padding:0;border-radius:10px;overflow:hidden;aspect-ratio:4/3;cursor:zoom-in}.pe-detail-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}.pe-detail-photo:hover img{transform:scale(1.06)}.pe-detail-no-photo{display:grid;place-items:center;background:#e7e7de;color:#435958;min-height:120px;border-radius:12px;font:700 15px Raleway,sans-serif}.pe-detail-gallery-link{display:inline-block;color:#754331;font-weight:800;margin-top:22px}.pe-detail-locked{overflow:hidden}.pe-photo-overlay{background:#061723ee;display:grid;grid-template-columns:80px minmax(0,1fr) 80px;align-items:center;color:white}.pe-photo-overlay figure{margin:0;text-align:center;min-width:0}.pe-photo-overlay img{max-width:100%;max-height:80vh;object-fit:contain}.pe-photo-overlay figcaption{margin-top:10px;font-size:13px}.pe-photo-overlay button{cursor:pointer;color:white;border:1px solid #fff5;background:#152b43;border-radius:40px;width:46px;height:46px;justify-self:center;font-size:20px}.pe-photo-close{position:absolute;top:16px;right:16px}.pe-photo-prev{grid-column:1}.pe-photo-overlay figure{grid-column:2}.pe-photo-next{grid-column:3}@media(max-width:640px){.pe-archive-tools{display:block}.pe-archive-tools input,.pe-archive-tools select{width:100%;box-sizing:border-box;margin-bottom:10px}.pe-detail-dialog{inset:9px;max-height:calc(100dvh - 18px);padding:20px}.pe-detail-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.pe-photo-overlay{grid-template-columns:44px minmax(0,1fr) 44px}.pe-photo-overlay button{width:37px;height:37px}.pe-event-card:hover{transform:translateY(-5px)}}@media(prefers-reduced-motion:reduce){.pe-event-card,.pe-detail-photo img{transition:none}}