/* Resources-page advance-voting poster enlargement; isolated from the original site theme. */
.uc-poster-gallery{max-width:290px;margin-inline:auto}
.uc-election .uc-poster-gallery__preview{display:block;position:relative;border-radius:16px;overflow:hidden;box-shadow:0 14px 30px rgba(6,28,43,.18);outline-offset:5px;text-decoration:none;transform:translateZ(0);transition:transform .2s ease,box-shadow .2s ease}
.uc-election .uc-poster-gallery__preview:hover{transform:translateY(-3px);box-shadow:0 19px 38px rgba(6,28,43,.25)}
.uc-election .uc-poster-gallery__preview:focus-visible{outline:3px solid #07864c}
.uc-election .uc-poster-gallery__preview img{width:100%;height:auto;max-height:none;border-radius:0;box-shadow:none;object-fit:contain;margin:0;display:block}
.uc-poster-gallery__hint{display:flex;align-items:center;justify-content:center;gap:7px;position:static;border-radius:0;padding:11px 12px;background:#0a2b3a;color:white;font:700 .87rem/1.3 Inter,Arial,sans-serif}
.uc-poster-gallery__help{font-size:.84rem;color:#425667;text-align:center;margin:11px 0 0}
.uc-poster-modal{padding:0;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:#071b27;color:#fff;box-shadow:0 22px 90px rgba(0,0,0,.5);width:min(860px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow:hidden;margin:auto;}
.uc-poster-modal:not([open]){display:none}
.uc-poster-modal[open]{display:flex;flex-direction:column}
.uc-poster-modal::backdrop{background:rgba(3,14,25,.85);backdrop-filter:blur(7px)}
.uc-poster-modal__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 19px;border-bottom:1px solid rgba(255,255,255,.14);flex-shrink:0}
.uc-poster-modal__head h2{font:800 clamp(1.03rem,2vw,1.35rem)/1.3 Inter,Arial,sans-serif!important;color:white!important;margin:2px 0 0!important}
.uc-poster-modal__eyebrow{font:700 .67rem/1.4 Inter,Arial,sans-serif;letter-spacing:.09em;color:#91d2af;text-transform:uppercase;margin:0}
.uc-poster-modal__close{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;appearance:none;border:1px solid #5c747d;border-radius:12px;background:#183646;color:white;font:400 2rem/1 Arial,sans-serif;cursor:pointer;transition:background .15s ease}
.uc-poster-modal__close:hover,.uc-poster-modal__close:focus-visible{background:#286276;outline-offset:3px}
.uc-poster-modal__image-wrap{min-height:0;flex:1 1 auto;display:grid;place-items:center;overflow:auto;background:radial-gradient(circle at 50% 30%,#193342 0%,#05121c 75%);padding:12px}
.uc-poster-modal__image-wrap img{width:auto;max-width:100%;max-height:calc(100vh - 175px);max-height:calc(100dvh - 175px);height:auto;object-fit:contain;display:block;border-radius:5px;box-shadow:0 12px 35px #0006}
.uc-poster-modal__actions{padding:12px 18px 15px;display:flex;flex-wrap:wrap;gap:10px;justify-content:center;border-top:1px solid rgba(255,255,255,.12);flex-shrink:0}
.uc-poster-modal__button{border:1px solid #69818a;border-radius:10px;padding:11px 15px;text-decoration:none!important;text-align:center;background:#193744;color:white!important;font:800 .85rem/1.3 Inter,Arial,sans-serif}
.uc-poster-modal__button:hover,.uc-poster-modal__button:focus-visible{background:#2a5260;color:white!important}
.uc-poster-modal__button--primary{background:#0f8850;border-color:#0f8850}
.uc-poster-modal__button--primary:hover,.uc-poster-modal__button--primary:focus-visible{background:#087041}
@media(max-width:680px){.uc-poster-gallery{max-width:min(290px,100%)}.uc-poster-modal{border-radius:13px}.uc-poster-modal__head{padding:12px}.uc-poster-modal__image-wrap{padding:8px}.uc-poster-modal__image-wrap img{max-height:calc(100dvh - 188px)}.uc-poster-modal__actions{padding:10px;gap:8px}.uc-poster-modal__button{font-size:.78rem;padding:10px}}
@media(prefers-reduced-motion:reduce){.uc-election .uc-poster-gallery__preview,.uc-poster-modal__close{transition:none}}
