.gallery-hero, .gallery-section { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.gallery-hero { min-height: 360px; display: flex; align-items: end; padding: clamp(36px, 6vw, 72px); border-radius: 28px; background: linear-gradient(90deg, rgba(59,45,17,.88), rgba(85,65,16,.34)), url("../images/missionback (2).png") center/cover; color: #fff; }.gallery-hero > div { max-width: 640px; }.gallery-hero .page-eyebrow { color: #f7d56b; }.gallery-hero h1 { margin: 13px 0 14px; font-family: "Noto Serif Oriya", serif; font-size: clamp(2.3rem, 4.8vw, 4rem); font-weight: 700; line-height: 1.12; }.gallery-hero p { margin: 0; color: #fbf4dc; font-size: 1.06rem; line-height: 1.7; }
.gallery-section { padding: 88px 0; }.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 18px; margin-top: 35px; }.gallery-item { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: 17px; background: #3d321e; color: #fff; cursor: zoom-in; text-align: left; }.gallery-item--large { grid-column: span 2; grid-row: span 2; }.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, opacity .35s ease; }.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 42%, rgba(37,28,11,.8)); }.gallery-item span { position: absolute; z-index: 1; right: 20px; bottom: 17px; left: 20px; font-family: "Noto Serif Oriya", serif; font-size: 1.16rem; font-weight: 700; }.gallery-item:hover img, .gallery-item:focus-visible img { opacity: .83; transform: scale(1.06); }.gallery-item:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 3px; }
.gallery-lightbox { width: min(940px, calc(100% - 28px)); max-height: calc(100vh - 48px); padding: 16px; border: 0; border-radius: 18px; background: #241d14; color: #fff; box-shadow: 0 22px 70px rgba(0,0,0,.55); }.gallery-lightbox::backdrop { background: rgba(19,14,7,.78); }.gallery-lightbox img { display: block; width: 100%; max-height: calc(100vh - 145px); object-fit: contain; }.gallery-lightbox p { margin: 13px 38px 3px 5px; color: #fbf4dc; }.gallery-lightbox__close { position: absolute; top: 8px; right: 9px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--brand-accent); color: #fff; font-size: 1.75rem; line-height: 1; cursor: pointer; }
@media (max-width: 760px) { .gallery-section { padding: 65px 0; }.gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }.gallery-item--large { grid-column: span 2; grid-row: span 2; } }
@media (max-width: 430px) { .gallery-hero, .gallery-section { width: min(100% - 28px, 1120px); }.gallery-hero { min-height: 315px; padding: 28px; }.gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 235px; }.gallery-item--large { grid-column: span 1; grid-row: span 1; } }
