/* Shared Photo Album template — copy this file unchanged into each album's dist/. */
*{box-sizing:border-box}
body{margin:0;background:#080809;color:#fff;font-family:Arial,"Microsoft YaHei",sans-serif}
.album{max-width:1200px;margin:0 auto;padding:18px}
.country-section{margin:0 0 28px}
.country-heading{margin:0 0 12px;font-size:18px;color:#f5d77b;letter-spacing:.04em}
.country-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.card{overflow:hidden;background:#151517;border:1px solid #5c4927;border-radius:12px;box-shadow:0 8px 25px #0008;color:inherit;text-decoration:none;width:100%;padding:0;text-align:left;cursor:pointer;font:inherit}
.card img{display:block;width:100%;height:auto;background:#222}
.card .media-count{padding:5px 12px;text-align:right;font-size:12px;color:#f5d77b}
.card .card-footer{padding:8px 12px 13px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.card h2{font-size:17px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card span{font-size:12px;letter-spacing:.03em;color:#0d120e;background:#a6eb7e;padding:5px 7px;border-radius:99px}
.card.off span{background:#dedede;color:#343434}
.photo-lightbox{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:45px 45px 60px;background:#000e}
.gallery-content{display:flex;align-items:center;justify-content:center;max-width:100%;max-height:100%}
.gallery-content img,.gallery-content video{display:block;max-width:100%;max-height:calc(100vh - 110px);width:auto;height:auto;object-fit:contain}
.gallery-caption{position:absolute;bottom:15px;left:0;right:0;text-align:center;color:#fff}
.photo-lightbox button{position:absolute;border:0;border-radius:50%;background:#151517dd;color:white;cursor:pointer;font-size:28px;width:40px;height:40px}
.gallery-prev{left:5px}.gallery-next{right:5px}.gallery-close{right:10px;top:10px}
@media (min-width:601px){.album{padding:24px}.country-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:901px){.album{padding:28px}.country-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
