.tgs-news-gallery { max-width: 1200px; margin: 64px auto; padding: 0 24px; color: #092f21; scroll-margin-top: 110px; }
.tgs-news-gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.tgs-news-gallery-heading h2 { margin: 0 0 8px; color: #092f21; font: 700 clamp(1.7rem, 3vw, 2.4rem)/1.2 'Ubuntu', sans-serif; }
.tgs-news-gallery-heading p { margin: 0; font-size: .95rem; color: #486452; }
.tgs-news-gallery-heading > span { font-size: .85rem; color: #486452; }
.tgs-news-gallery-grid { columns: 3; column-gap: 12px; }
.tgs-news-gallery-photo { position: relative; display: block; margin: 0 0 12px; border-radius: 12px; overflow: hidden; break-inside: avoid; background: #eff5f0; text-decoration: none; }
.tgs-news-gallery-photo img { display: block; width: 100%; height: auto; }
.tgs-news-gallery-photo > span { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 34px; height: 34px; background: rgba(9,47,33,.85); border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: #fff; font-size: 1.1rem; }
.tgs-news-gallery-photo:focus-visible { outline: 3px solid #50b848; outline-offset: 3px; }
.tgs-news-gallery-photo:hover > span { background: #166b35; }
.tgs-news-lightbox { box-sizing: border-box; margin: auto; width: min(1200px, 94vw); height: min(900px, 92vh); height: min(900px, 92dvh); max-width: none; max-height: none; padding: 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; background: #092f21; color: #fff; }
.tgs-news-lightbox[open] { display: flex; flex-direction: column; gap: 14px; }
.tgs-news-lightbox::backdrop { background: rgba(2,15,10,.86); }
.tgs-news-lightbox-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tgs-news-lightbox-header h2 { margin: 0; font: 500 1rem/1.4 'Ubuntu', sans-serif; color: #fff; }
.tgs-news-lightbox button { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; flex-shrink: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font: 500 1.5rem/1 'Mulish', sans-serif; cursor: pointer; }
.tgs-news-lightbox button:hover { background: #166b35; }
.tgs-news-lightbox :is(button, a):focus-visible { outline: 3px solid #50b848; outline-offset: 3px; }
.tgs-news-lightbox-stage { display: flex; align-items: center; justify-content: center; flex: 1; min-height: 0; }
.tgs-news-lightbox-stage img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tgs-news-lightbox-controls { display: flex; align-items: center; justify-content: center; gap: 16px; }
.tgs-news-lightbox-controls span { min-width: 65px; text-align: center; font-size: .85rem; }
.tgs-news-lightbox-controls a { color: #eff5f0; font: 600 .85rem/1.4 'Mulish', sans-serif; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) { .tgs-news-gallery-grid { columns: 2; } }
@media (max-width: 560px) {
    .tgs-news-gallery { margin: 44px auto; padding: 0 16px; }
    .tgs-news-gallery-heading { flex-direction: column; align-items: start; gap: 10px; }
    .tgs-news-gallery-grid { columns: 1; }
    .tgs-news-lightbox { width: 96vw; padding: 12px; }
    .tgs-news-lightbox-controls { flex-wrap: wrap; gap: 12px; }
    .tgs-news-lightbox-controls a { flex-basis: 100%; text-align: center; }
}
