
/* NBICCS Gallery / Events */
.gallery-page{background:linear-gradient(180deg,#f4f8f5 0%,#fff 55%,#f7faf8 100%);padding:50px 0 74px}
.gallery-container{max-width:1180px;margin:0 auto;padding:0 18px}
.gallery-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#052e1a 0%,#0b7a35 62%,#16a34a 100%);color:#fff;border-radius:34px;padding:38px;margin-bottom:22px;box-shadow:0 26px 70px rgba(6,61,33,.24);display:flex;justify-content:space-between;gap:20px;align-items:flex-start}
.gallery-hero:before{content:"";position:absolute;right:-95px;top:-95px;width:300px;height:300px;border-radius:50%;background:rgba(255,255,255,.13)}
.gallery-hero>*{position:relative;z-index:2}
.gallery-kicker{display:inline-flex;align-items:center;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:7px 13px;font-size:12px;font-weight:1000;text-transform:uppercase;letter-spacing:.08em;margin-bottom:14px}
.gallery-hero h1{margin:0 0 10px;font-size:42px;line-height:1.05;color:#fff;font-weight:1000}
.gallery-hero p{margin:0;max-width:770px;color:rgba(255,255,255,.92);line-height:1.68;font-size:16px}
.gallery-hero a{display:inline-flex;background:#f5b942;color:#111!important;border-radius:999px;padding:12px 16px;font-weight:1000;text-decoration:none;white-space:nowrap}
.gallery-filter{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 20px}
.gallery-filter a{display:inline-flex;border:1px solid #d0d5dd;background:#fff;color:#344054!important;border-radius:999px;padding:10px 14px;font-weight:900;text-decoration:none}
.gallery-filter a.active{background:#0b7a35;color:#fff!important;border-color:#0b7a35}
.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.gallery-card{background:#fff;border:1px solid #e4e7ec;border-radius:26px;overflow:hidden;box-shadow:0 16px 42px rgba(16,24,40,.065)}
.gallery-photo{height:240px;background:#eaf3ed;position:relative;overflow:hidden;cursor:pointer}
.gallery-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
.gallery-card:hover .gallery-photo img{transform:scale(1.04)}
.gallery-tag{position:absolute;left:14px;top:14px;background:rgba(255,255,255,.94);color:#063d21;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:1000;box-shadow:0 10px 22px rgba(16,24,40,.12)}
.gallery-body{padding:18px}
.gallery-body h2{margin:0 0 7px;color:#101828;font-size:20px}
.gallery-body p{margin:0 0 12px;color:#667085;line-height:1.6}
.gallery-meta{display:flex;gap:10px;justify-content:space-between;border-top:1px solid #eef2f7;padding-top:12px;color:#667085;font-size:12px;font-weight:800}
.gallery-empty{background:#fff;border:1px dashed #cbd5e1;border-radius:26px;padding:34px;text-align:center;color:#667085}
.gallery-lightbox{position:fixed;inset:0;background:rgba(0,0,0,.82);z-index:9999;display:none;align-items:center;justify-content:center;padding:22px}
.gallery-lightbox.open{display:flex}
.gallery-lightbox img{max-width:94vw;max-height:82vh;border-radius:18px;box-shadow:0 22px 70px rgba(0,0,0,.35)}
.gallery-lightbox button{position:absolute;right:22px;top:20px;background:#fff;border:0;border-radius:999px;width:44px;height:44px;font-size:24px;font-weight:1000;cursor:pointer}
.g-admin-wrap{max-width:1180px;margin:0 auto;padding-bottom:36px}.g-admin-card{background:#fff;border:1px solid #e4e7ec;border-radius:24px;padding:18px;margin-bottom:16px;box-shadow:0 14px 36px rgba(16,24,40,.06)}.g-admin-card h2{margin:0 0 14px;color:#101828}.g-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.g-form-grid .full{grid-column:1/-1}.g-admin-card label{display:block;font-size:12px;color:#667085;font-weight:900;margin-bottom:6px;text-transform:uppercase}.g-admin-card input,.g-admin-card select,.g-admin-card textarea{width:100%;border:1px solid #d0d5dd;border-radius:14px;padding:12px}.g-admin-card textarea{min-height:105px}.g-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;padding:11px 15px;font-weight:900;text-decoration:none;cursor:pointer}.g-btn.green{background:#0b7a35;color:#fff!important}.g-btn.light{background:#fff;color:#063d21!important;border:1px solid #bbf7d0}.g-btn.red{background:#dc2626;color:#fff!important}.g-table-wrap{overflow:auto}.g-table{width:100%;border-collapse:collapse;min-width:900px}.g-table th{background:#f8fafc;color:#667085;font-size:12px;text-transform:uppercase;padding:12px;text-align:left}.g-table td{border-top:1px solid #eef2f7;padding:12px;vertical-align:top}.g-thumb{width:80px;height:60px;object-fit:cover;border-radius:12px}.g-badge{display:inline-flex;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900;background:#f1f5f9;color:#475569}.g-badge.published{background:#dcfce7;color:#166534}.g-badge.draft{background:#fffbeb;color:#92400e}
@media(max-width:980px){.gallery-grid{grid-template-columns:repeat(2,1fr)}.gallery-hero{display:block}.gallery-hero a{margin-top:16px}}
@media(max-width:700px){.gallery-page{padding:34px 0 52px}.gallery-container{padding:0 12px}.gallery-hero{border-radius:24px;padding:24px}.gallery-hero h1{font-size:30px}.gallery-grid,.g-form-grid{grid-template-columns:1fr}.gallery-card,.g-admin-card{border-radius:22px}.gallery-photo{height:220px}.gallery-hero a{width:100%;justify-content:center}.g-table{min-width:760px}}
