body#s-GaleriPublikPage { margin: 0; background: #edf8fd; color: #082c70; }
.gallery-page { background: #edf8fd; }
.gallery-hero { background-position: center 48%; }
.gallery-main { padding: 30px 0 52px; background: radial-gradient(circle at 0 10%, rgba(64,191,237,.12), transparent 28%), #edf8fd; }
.gallery-heading { text-align: center; margin-bottom: 20px; }
.gallery-kicker { color: #078af0; font-size: 11px; font-weight: 800; letter-spacing: 1.7px; text-transform: uppercase; }
.gallery-heading h2 { margin: 4px 0 5px; color: #062e78; font: 800 25px/1.25 Poppins, sans-serif; }
.gallery-heading p { margin: 0; color: #6680a5; font-size: 11px; }
.gallery-filters { display: flex; justify-content: center; gap: 10px; margin-bottom: 22px; }
.gallery-search, .gallery-year { height: 42px; position: relative; display: flex; align-items: center; border: 1px solid #d5e7f2; border-radius: 22px; background: #fff; box-shadow: 0 5px 17px rgba(16,91,140,.06); }
.gallery-search { width: min(440px, 100%); }
.gallery-search > i, .gallery-year > i:first-child { position: absolute; left: 15px; color: #078af0; font-size: 11px; }
.gallery-search input { width: 100%; height: 100%; border: 0; outline: 0; background: transparent; padding: 0 16px 0 38px; color: #34547e; font-size: 11px; }
.gallery-year { width: 155px; }
.gallery-year select { width: 100%; height: 100%; appearance: none; border: 0; outline: 0; background: transparent; padding: 0 32px 0 37px; color: #34547e; font-size: 11px; cursor: pointer; }
.gallery-year > .fa-chevron-down { position: absolute; right: 14px; color: #6e8aaa; font-size: 8px; pointer-events: none; }
.gallery-result-info { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.gallery-result-info h3 { margin: 0; color: #082f73; font: 700 16px Poppins, sans-serif; }
.gallery-result-info span { color: #7487a4; font-size: 10px; }
.gallery-album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.gallery-album-card { overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 8px 25px rgba(16,91,140,.09); transition: transform .2s ease, box-shadow .2s ease; }
.gallery-album-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(16,91,140,.14); }
.gallery-album-card[hidden] { display: none; }
.gallery-album-cover { height: 218px; display: block; position: relative; overflow: hidden; background: #dceef8; }
.gallery-album-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-album-card:hover .gallery-album-cover img { transform: scale(1.04); }
.gallery-cover-empty { width: 100%; height: 100%; display: grid; place-items: center; color: #75afd0; font-size: 40px; background: linear-gradient(135deg, #edf7fc, #d8eefa); }
.gallery-item-count { position: absolute; right: 12px; bottom: 11px; padding: 6px 10px; border-radius: 15px; color: #fff; background: rgba(4,57,106,.8); font-size: 9px; font-weight: 700; backdrop-filter: blur(5px); }
.gallery-item-count i { margin-right: 4px; }
.gallery-album-body { padding: 15px 17px 14px; }
.gallery-date { color: #7185a5; font-size: 9.5px; }
.gallery-date i { color: #078af0; margin-right: 5px; }
.gallery-album-body h3 { min-height: 43px; margin: 6px 0 6px; font: 700 15px/1.42 Poppins, sans-serif; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.gallery-album-body h3 a { color: #082f73; }
.gallery-album-body > p { height: 45px; margin: 0 0 11px; color: #61789d; font-size: 10px; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.gallery-album-footer { padding-top: 11px; border-top: 1px solid #eaf1f5; display: flex; align-items: center; gap: 12px; color: #7e90aa; font-size: 9px; }
.gallery-album-footer > a { margin-left: auto; color: #0781e5; font-weight: 700; }
.gallery-empty { min-height: 260px; margin-top: 15px; border-radius: 14px; display: grid; place-items: center; align-content: center; color: #6b82a4; background: #fff; text-align: center; }
.gallery-empty[hidden] { display: none; }
.gallery-empty > i { color: #7db8d9; font-size: 42px; }
.gallery-empty h3 { margin: 11px 0 3px; color: #0a397b; }
.gallery-empty p { margin: 0; font-size: 11px; }

.gallery-detail-head { margin-bottom: 20px; padding: 24px 28px; border-radius: 14px; background: #fff; box-shadow: 0 8px 25px rgba(16,91,140,.08); }
.gallery-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: #0781e5; font-size: 10px; font-weight: 700; }
.gallery-detail-head h1 { margin: 6px 0 8px; color: #062e78; font: 800 26px/1.3 Poppins, sans-serif; }
.gallery-detail-head p { max-width: 900px; margin: 0 0 13px; color: #60779d; font-size: 11px; line-height: 1.6; }
.gallery-detail-stats { display: flex; flex-wrap: wrap; gap: 9px; }
.gallery-detail-stats span { padding: 6px 10px; border-radius: 14px; color: #35628c; background: #eaf6fd; font-size: 9px; font-weight: 700; }
.gallery-detail-stats i { color: #078af0; margin-right: 4px; }
.gallery-media-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.gallery-media-card { min-width: 0; padding: 0; overflow: hidden; border: 0; border-radius: 12px; color: #082f73; background: #fff; text-align: left; cursor: pointer; box-shadow: 0 7px 21px rgba(16,91,140,.08); transition: transform .18s ease, box-shadow .18s ease; }
.gallery-media-card:hover { transform: translateY(-2px); box-shadow: 0 12px 27px rgba(16,91,140,.14); }
.gallery-media-preview { height: 180px; position: relative; display: grid; place-items: center; overflow: hidden; color: #78afcf; background: #deeff8; font-size: 34px; }
.gallery-media-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gallery-media-card:hover img { transform: scale(1.04); }
.gallery-caption { min-height: 45px; padding: 10px 12px; display: block; font-size: 10px; font-weight: 700; line-height: 1.35; }
.gallery-play { width: 45px; height: 45px; position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(0,112,211,.9); font-size: 14px; box-shadow: 0 5px 16px rgba(0,0,0,.2); }
.gallery-lightbox { display: none; position: fixed; inset: 0; z-index: 500; padding: 40px; align-items: center; justify-content: center; background: rgba(3,22,48,.9); }
.gallery-lightbox.open { display: flex; }
.gallery-lightbox > div { max-width: 1100px; max-height: 90vh; text-align: center; }
.gallery-lightbox img { max-width: 100%; max-height: 80vh; border-radius: 8px; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.gallery-lightbox p { margin: 10px 0 0; color: #fff; font-size: 12px; }
.gallery-lightbox-close { position: absolute; right: 25px; top: 22px; width: 39px; height: 39px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: #fff; background: rgba(255,255,255,.12); cursor: pointer; }

@media (max-width: 980px) { .gallery-album-grid { grid-template-columns: repeat(2, 1fr); } .gallery-media-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 670px) { .gallery-main { padding-top: 22px; } .gallery-filters { flex-direction: column; } .gallery-search, .gallery-year { width: 100%; } .gallery-album-grid { grid-template-columns: 1fr; } .gallery-media-grid { grid-template-columns: repeat(2, 1fr); } .gallery-media-preview { height: 145px; } .gallery-detail-head { padding: 20px 17px; } .gallery-detail-head h1 { font-size: 22px; } .gallery-lightbox { padding: 18px; } }
@media (max-width: 420px) { .gallery-media-grid { grid-template-columns: 1fr; } .gallery-media-preview { height: 210px; } }
