.formatphotoalbum{width:100%;float:left;box-sizing:border-box;background:var(--fpa-bg);color:var(--fpa-text)}
.formatphotoalbum__wrap{width:min(var(--fpa-wrap-width),100%);margin:var(--fpa-wrap-margin);padding:var(--fpa-wrap-padding);box-sizing:border-box;background:var(--fpa-wrap-bg);border-radius:var(--fpa-wrap-radius)}
.formatphotoalbum__grid{display:grid;grid-template-columns:repeat(var(--fpa-columns),minmax(0,1fr));gap:24px}
.formatphotoalbum__item{min-width:0}
.formatphotoalbum__photo{display:block;width:100%;padding:0;border:var(--fpa-image-border-width,0) solid var(--fpa-image-border-color,#fff);background:transparent;cursor:pointer;text-align:left;overflow:hidden;border-radius:var(--fpa-image-radius);box-sizing:border-box}
.formatphotoalbum__photo img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--fpa-image-radius);transition:transform .22s ease,opacity .22s ease}
.formatphotoalbum__photo:hover img{transform:scale(1.035);opacity:.88}
.formatphotoalbum__caption{padding:12px 2px 0;color:var(--fpa-caption-text,inherit)}
.formatphotoalbum__caption h3{margin:0 0 5px;color:inherit;font-size:20px;line-height:1.25}
.formatphotoalbum__caption p{margin:0;color:inherit;line-height:1.55}
.formatphotoalbum a{color:var(--fpa-link,#815e55)}
.formatphotoalbum a:hover{color:var(--fpa-link-hover,#fa9403)}
.formatphotoalbum__modal{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:34px;box-sizing:border-box}
.formatphotoalbum__modal[aria-hidden=false]{display:flex}
.formatphotoalbum__shade{position:absolute;inset:0;background:rgba(35,30,28,.56)}
.formatphotoalbum__dialog{position:relative;width:min(900px,94vw);max-height:92vh;background:#fff;border-radius:8px;padding:14px;box-sizing:border-box;color:#2f2927;box-shadow:0 14px 42px rgba(35,30,28,.18);overflow:auto}
.formatphotoalbum__dialog figure{margin:0;display:block}
.formatphotoalbum__modal-img{display:block;width:100%;max-height:70vh;object-fit:contain;border-radius:var(--fpa-image-radius);background:#f5f5f5}
.formatphotoalbum__modal-text{font-size:16px;line-height:1.55;max-width:760px;margin:14px auto 0;color:#3f3633;text-align:center}
.formatphotoalbum__modal-text:empty{display:none}
.formatphotoalbum__modal-text h3{margin:0 0 8px;font-size:22px;line-height:1.2;color:#5d433c}
.formatphotoalbum__close,.formatphotoalbum__nav{position:absolute;border:0;background:#815e55;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;z-index:2}
.formatphotoalbum__close{right:12px;top:12px;width:38px;height:38px;border-radius:50%;font-size:30px;line-height:1}
.formatphotoalbum__nav{top:50%;width:46px;height:62px;margin-top:-31px;border-radius:8px;font-size:42px;line-height:1}
.formatphotoalbum__nav--prev{left:-23px}
.formatphotoalbum__nav--next{right:-23px}
.formatphotoalbum__close:hover,.formatphotoalbum__nav:hover{background:#fa9403}
.formatphotoalbum-lock{overflow:hidden}
@media(max-width:980px){.formatphotoalbum__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.formatphotoalbum__modal-text{max-height:none;overflow:visible}.formatphotoalbum__nav--prev{left:8px}.formatphotoalbum__nav--next{right:8px}}
@media(max-width:620px){.formatphotoalbum__wrap{padding:24px 18px}.formatphotoalbum__grid{grid-template-columns:1fr}.formatphotoalbum__modal{padding:14px}.formatphotoalbum__dialog{padding:12px}.formatphotoalbum__close{right:8px;top:8px}.formatphotoalbum__nav{width:38px;height:48px;font-size:32px}}
