/* Partner events (inc/partner-events.php). Flat brand look; only the button reacts on hover. */
.ama-pe{font-family:Inter,system-ui,sans-serif;color:#10294D}
.ama-pe *{box-sizing:border-box}
.ama-pe p{margin:0}
.ama-pe-k{font:600 12px/1.3 "IBM Plex Mono",monospace;letter-spacing:.14em;text-transform:uppercase;color:#9DBCE6;margin:0 0 4px}
.ama-pe-k-red{color:#B22B25;margin-bottom:8px}
.ama-pe-sec{background:#F4F6FA;border-radius:12px;padding:32px;margin-top:40px;scroll-margin-top:90px}
.ama-pe-head{margin-bottom:20px}
.ama-pe-head h2{font:700 clamp(26px,3vw,36px)/1.1 "Bricolage Grotesque",sans-serif;letter-spacing:-.02em;margin:0 0 8px;color:#10294D}
.ama-pe-head p{color:#3D4F6B;max-width:560px}
.ama-pe-list{display:grid;gap:16px}
.ama-pe-card{display:grid;grid-template-columns:260px minmax(0,1fr);background:#fff;border:1px solid #D5DDEB;border-radius:10px;overflow:hidden}
.ama-pe-img{background:#10294D;aspect-ratio:1/1}
.ama-pe-img img{display:block;width:100%;height:100%;object-fit:cover}
.ama-pe-body{padding:24px 26px;display:flex;flex-direction:column;gap:10px}
.ama-pe-body h3{font:800 26px/1.1 "Bricolage Grotesque",sans-serif;margin:0;color:#10294D}
.ama-pe-tag{align-self:flex-start;background:#9DBCE6;color:#10294D;font-weight:700;font-size:12px;padding:4px 9px;border-radius:4px}
.ama-pe-date{font:600 14px/1.4 "IBM Plex Mono",monospace;letter-spacing:.08em;color:#B22B25}
.ama-pe-desc{color:#3D4F6B;font-size:15px;line-height:1.55}
.ama-pe-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:auto;padding-top:6px}
.ama-pe-btn{display:inline-block;background:#B22B25;color:#fff !important;font-weight:700;font-size:15px;padding:12px 18px;border-radius:6px;text-decoration:none !important;white-space:nowrap}
.ama-pe-btn:hover,.ama-pe-btn:focus-visible{background:#951F1A}
.ama-pe-note{font-size:13px;color:#5A6B85}
.ama-pe-home{margin-top:8px;grid-column:1/-1;min-width:0}
.ama-pe-strip{display:grid;grid-template-columns:64px auto minmax(0,1fr) auto;gap:22px;align-items:center;background:#10294D;color:#fff;border-radius:10px;padding:16px 20px}
.ama-pe-strip.no-img{grid-template-columns:auto minmax(0,1fr) auto}
.ama-pe-thumb{width:64px;height:64px;border-radius:6px;overflow:hidden;background:#1E3A66}
.ama-pe-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.ama-pe-s-name b{display:block;font:800 20px/1.15 "Bricolage Grotesque",sans-serif;color:#fff}
.ama-pe-strip .ama-pe-date{color:#9DBCE6;margin-top:2px;font-size:13px}
.ama-pe-s-mid{border-left:1px solid #2B4670;padding-left:22px;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.ama-pe-s-mid p{color:#D5DDEB;font-size:14px;line-height:1.45}
.ama-pe-strip .ama-pe-tag{font-size:12px;padding:3px 8px}
.ama-pe-more{margin-top:10px !important;font-size:14px}
.ama-pe-more a{color:#10294D;font-weight:600}
/* Logos sit on a white tile; cards without any image are text only. */
.ama-pe-strip.has-logo{grid-template-columns:150px auto minmax(0,1fr) auto}
.ama-pe-thumb.is-logo{width:150px;height:64px;background:#fff;padding:10px 14px;display:flex;align-items:center;justify-content:center}
.ama-pe-thumb.is-logo img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.ama-pe-img.is-logo{background:#fff;border-right:1px solid #D5DDEB;display:flex;align-items:center;justify-content:center;padding:32px}
.ama-pe-img.is-logo img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.ama-pe-card.no-img{grid-template-columns:1fr}
.ama-pe-empty{background:#fff;border:1px solid #D5DDEB;border-radius:10px;padding:22px 26px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.ama-pe-empty ul{margin:0;padding:0 0 0 18px;color:#3D4F6B;font-size:15px;line-height:1.7}
.ama-pe-strip.ama-pe-strip-empty{grid-template-columns:auto minmax(0,1fr) auto}
@media (max-width:900px){.ama-pe-strip,.ama-pe-strip.has-logo,.ama-pe-strip.ama-pe-strip-empty{grid-template-columns:auto minmax(0,1fr);gap:14px}.ama-pe-s-mid{grid-column:1/-1;border-left:0;padding-left:0}.ama-pe-strip .ama-pe-btn{grid-column:1/-1;text-align:center}}
@media (max-width:760px){.ama-pe-empty{padding:18px}.ama-pe-strip-empty .ama-pe-s-name{grid-column:1/-1}.ama-pe-img.is-logo{aspect-ratio:auto;height:160px;border-right:0;border-bottom:1px solid #D5DDEB}.ama-pe-thumb.is-logo{width:120px;height:56px}.ama-pe-sec{padding:20px;margin-top:32px}.ama-pe-card{grid-template-columns:1fr}.ama-pe-img{aspect-ratio:1/1}.ama-pe-body{padding:20px}.ama-pe-btn{width:100%;text-align:center;white-space:normal}}
