/* Images of the Anglo-Saxon past carousel (mu-plugin kemble-past) */
.pc { position: relative; margin: 16px 0 20px; border-radius: 16px; overflow: hidden; background: #1e2732; box-shadow: var(--shadow-md); outline: none; font-family: var(--font-ui); }
.pc:focus-visible { box-shadow: 0 0 0 3px var(--gold), var(--shadow-md); }
.pc-track { position: relative; aspect-ratio: 2 / 1; }
.pc-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1s var(--ease); }
.pc-slide.is-active { opacity: 1; z-index: 1; }
.pc-slide img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s linear; }
.pc-slide.is-active img { transform: scale(1.12); }
.pc-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.75)); color: #fff; }
.pc-cap { display: block; font-family: var(--font-serif); font-size: 18px; line-height: 1.3; text-shadow: 0 1px 2px rgba(0,0,0,0.6); transform: translateY(8px); opacity: 0; transition: transform 0.7s var(--ease) 0.3s, opacity 0.7s 0.3s; }
.pc-slide.is-active .pc-cap { transform: none; opacity: 1; }
.entry-content .pc-credit { display: inline-block; margin-top: 4px; font-size: 11px; color: rgba(255,255,255,0.8) !important; text-decoration: none; background-image: none; }
.entry-content .pc-credit:hover { color: #f0d27a !important; }
.pc-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.85); color: #1e2732; font-size: 30px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity 0.3s, background 0.2s; }
.pc:hover .pc-arrow, .pc:focus-within .pc-arrow { opacity: 1; } .pc-arrow:hover { background: #fff; }
.pc-prev { left: 12px; } .pc-next { right: 12px; }
.pc-dots { position: absolute; left: 0; right: 0; bottom: 6px; z-index: 2; display: flex; justify-content: center; gap: 6px; }
.pc-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: transform 0.2s, background 0.2s; }
.pc-dots button.is-active { background: #f0d27a; transform: scale(1.4); }
.pc-n { position: absolute; right: 12px; top: 10px; z-index: 2; padding: 2px 9px; border-radius: 999px; background: rgba(0,0,0,0.5); color: #fff; font-size: 12px; }
@media (max-width: 640px) { .pc-track { aspect-ratio: 4 / 3; } .pc-cap { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .pc-slide, .pc-slide img, .pc-cap { transition: none; transform: none; } }
