.br-gallery-directory,
.br-gallery-single {
	width: min(calc(100% - 40px), 1320px);
	margin: clamp(52px, 7vw, 92px) auto;
	color: #10283d;
}

@media (min-width: 1051px) {
	.br-gallery-directory {
		position: relative;
		left: 50%;
		width: min(calc(100vw - 40px), 1160px);
		max-width: none;
		transform: translateX(-50%);
	}
}

.br-gallery-directory-header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 30px;
}

.br-gallery-directory-header span,
.br-gallery-form-intro span,
.br-home-gallery header span,
.br-gallery-single header > span {
	display: block;
	margin-bottom: 8px;
	color: #0b67b2;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.br-gallery-directory h1,
.br-gallery-form-intro h1,
.br-gallery-single h1 {
	margin: 0 0 10px;
	color: #09263c;
	font: 400 clamp(44px, 6vw, 70px)/1.02 Georgia, "Times New Roman", serif;
}

.br-gallery-directory-header p,
.br-gallery-form-intro p,
.br-gallery-single header p {
	margin: 0;
	color: #607487;
	font-size: 17px;
	line-height: 1.6;
}

.br-gallery-primary-button,
.br-gallery-submit,
.br-gallery-search-tools button {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border: 1px solid #1479d1;
	border-radius: 8px;
	background: #1479d1;
	color: #fff;
	font: inherit;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
}

.br-gallery-primary-button:hover,
.br-gallery-submit:hover,
.br-gallery-search-tools button:hover {
	background: #0b67b2;
	color: #fff;
}

.br-gallery-character-count {
	display: block;
	margin-top: 7px;
	color: #607487;
	font-size: 12px;
	font-weight: 600;
	text-align: right;
}

.br-gallery-filters {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	margin-bottom: 24px;
}

.br-gallery-topic-filters,
.br-gallery-search-tools {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.br-gallery-topic-filters a {
	padding: 9px 15px;
	border: 1px solid #d5e2ea;
	border-radius: 999px;
	background: #fff;
	color: #536a7d;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.br-gallery-topic-filters a.is-active,
.br-gallery-topic-filters a:hover {
	border-color: #1479d1;
	background: #1479d1;
	color: #fff;
}

.br-gallery-search-tools select,
.br-gallery-search-tools input {
	min-height: 44px;
	padding: 9px 13px;
	border: 1px solid #d5e2ea;
	border-radius: 10px;
	background: #fff;
	font: inherit;
}

.br-gallery-search-tools button {
	min-height: 44px;
	padding: 9px 16px;
}

.br-gallery-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid #d5e2ea;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 15px 40px rgba(8, 45, 72, .07);
}

.br-gallery-card.is-featured {
	display: grid;
	grid-template-columns: minmax(280px, .72fr) minmax(320px, 1.28fr);
	margin-bottom: 24px;
}

.br-gallery-card-image {
	position: relative;
	display: block;
	min-height: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #eaf1f6;
}

.br-gallery-card.is-featured .br-gallery-card-image {
	height: 100%;
	min-height: 0;
	aspect-ratio: auto;
}

.br-gallery-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 260ms ease;
}

.br-gallery-card:hover .br-gallery-card-image img {
	transform: scale(1.025);
}

.br-gallery-image-count,
.br-gallery-featured-label,
.br-gallery-topic {
	display: inline-flex;
	align-items: center;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 800;
}

.br-gallery-image-count {
	position: absolute;
	left: 14px;
	bottom: 14px;
	padding: 6px 9px;
	background: rgba(5, 25, 39, .85);
	color: #fff;
}

.br-gallery-card-content {
	display: flex;
	min-width: 0;
	flex-direction: column;
	padding: 20px;
}

.br-gallery-card.is-featured .br-gallery-card-content {
	justify-content: flex-start;
	padding: clamp(26px, 4vw, 46px);
}

.br-gallery-featured-preview {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 20px 0;
}

.br-gallery-featured-preview a {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 10px;
	background: #eaf1f6;
}

.br-gallery-featured-preview img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
	transition: transform 260ms ease;
}

.br-gallery-featured-preview a:hover img {
	transform: scale(1.035);
}

.br-gallery-featured-label {
	width: fit-content;
	margin-bottom: 13px;
	padding: 6px 9px;
	background: #09263c;
	color: #fff;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.br-gallery-card h3 {
	margin: 0 0 11px;
	font: 400 clamp(23px, 3vw, 34px)/1.1 Georgia, "Times New Roman", serif;
}

.br-gallery-card h3 a {
	color: #09263c;
	text-decoration: none;
}

.br-gallery-card p {
	margin: 14px 0;
	color: #607487;
	line-height: 1.6;
}

.br-gallery-author {
	display: flex;
	align-items: center;
	gap: 9px;
	color: #536a7d;
	font-size: 13px;
}

.br-gallery-author .fb-member-avatar,
.br-gallery-author .br-member-avatar {
	width: 34px;
	height: 34px;
	flex-basis: 34px;
	border-width: 2px;
	border-radius: 50%;
	font-size: 14px;
	object-fit: cover;
}

.br-gallery-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
}

.br-gallery-topic {
	padding: 6px 9px;
	background: #eaf5fd;
	color: #0b67b2;
}

.br-gallery-card-link,
.br-gallery-back {
	color: #0b67b2;
	font-weight: 800;
	text-decoration: none;
}

.br-gallery-grid,
.br-home-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.br-gallery-grid .br-gallery-card-content,
.br-home-gallery-grid .br-gallery-card-content {
	min-height: 205px;
}

.br-gallery-grid .br-gallery-card h3,
.br-home-gallery-grid .br-gallery-card h3 {
	display: -webkit-box;
	min-height: 2.2em;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.br-gallery-grid .br-gallery-card-content > p,
.br-home-gallery-grid .br-gallery-card-content > p {
	display: -webkit-box;
	min-height: 6.4em;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.br-gallery-empty {
	padding: 38px;
	border: 1px dashed #bfd2df;
	border-radius: 15px;
	background: #f8fbfd;
	text-align: center;
}

.br-gallery-single header {
	max-width: 860px;
	margin: 26px 0 36px;
}

.br-gallery-single-author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 14px;
}

.br-gallery-single-author .br-member-avatar,
.br-gallery-single-author .fb-member-avatar {
	width: 52px;
	height: 52px;
	flex: 0 0 52px;
	border-radius: 50%;
	object-fit: cover;
}

.br-gallery-single-author p {
	margin: 0;
}

.br-gallery-single-summary {
	margin-top: 16px !important;
}

.br-gallery-photo-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.br-gallery-photo {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: 14px;
	background: #f4f8fb;
}

.br-gallery-photo-open {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	overflow: hidden;
	border: 0;
	background: #eaf1f6;
	cursor: zoom-in;
	aspect-ratio: 4 / 5;
}

.br-gallery-photo-open img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 260ms ease;
}

.br-gallery-photo-open:hover img,
.br-gallery-photo-open:focus-visible img {
	transform: scale(1.025);
}

.br-gallery-photo-open:focus-visible {
	outline: 3px solid #51b9ff;
	outline-offset: 3px;
}

.br-gallery-photo-open-label {
	position: absolute;
	right: 14px;
	bottom: 14px;
	padding: 7px 10px;
	border-radius: 7px;
	background: rgba(5, 25, 39, .86);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
}

.br-gallery-photo-settings {
	position: absolute;
	top: 14px;
	left: 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	max-width: calc(100% - 28px);
}

.br-gallery-photo-settings span {
	display: inline-flex;
	align-items: center;
	min-height: 29px;
	padding: 5px 9px;
	border: 1px solid rgba(255, 255, 255, .26);
	border-radius: 7px;
	background: rgba(5, 25, 39, .82);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	backdrop-filter: blur(8px);
}

.br-gallery-photo figcaption {
	padding: 13px 15px;
	color: #536a7d;
	line-height: 1.5;
}

body.br-gallery-lightbox-open {
	overflow: hidden;
}

.br-gallery-lightbox[hidden] {
	display: none;
}

.br-gallery-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: 28px;
}

.br-gallery-lightbox-backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	background: rgba(2, 18, 31, .94);
	cursor: zoom-out;
}

.br-gallery-lightbox-dialog {
	position: relative;
	z-index: 1;
	display: grid;
	width: min(1180px, 100%);
	max-height: calc(100vh - 56px);
	grid-template-rows: minmax(0, 1fr) auto;
	overflow: hidden;
	border: 1px solid rgba(157, 194, 220, .38);
	border-radius: 18px;
	background: #071f31;
	box-shadow: 0 28px 90px rgba(0, 0, 0, .45);
}

.br-gallery-lightbox-stage {
	position: relative;
	display: grid;
	min-height: 360px;
	place-items: center;
	overflow: hidden;
	background: #041522;
}

.br-gallery-lightbox-image {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 210px);
	width: auto;
	height: auto;
	object-fit: contain;
}

.br-gallery-lightbox-close,
.br-gallery-lightbox-nav {
	position: absolute;
	z-index: 2;
	display: grid;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .48);
	background: rgba(5, 30, 48, .82);
	color: #fff;
	cursor: pointer;
}

.br-gallery-lightbox-close {
	top: 16px;
	right: 16px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	font-size: 28px;
	line-height: 1;
}

.br-gallery-lightbox-nav {
	top: 50%;
	width: 50px;
	height: 68px;
	transform: translateY(-50%);
	border-radius: 10px;
	font-size: 34px;
}

.br-gallery-lightbox-previous {
	left: 16px;
}

.br-gallery-lightbox-next {
	right: 16px;
}

.br-gallery-lightbox-close:hover,
.br-gallery-lightbox-close:focus-visible,
.br-gallery-lightbox-nav:hover,
.br-gallery-lightbox-nav:focus-visible {
	border-color: #72c8ff;
	background: #0b67b2;
	outline: none;
}

.br-gallery-lightbox-info {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px 24px;
	padding: 20px 24px 22px;
	background: #09263c;
	color: #dceaf4;
}

.br-gallery-lightbox-info h2 {
	margin: 0;
	color: #fff;
	font: 400 clamp(24px, 3vw, 36px)/1.1 Georgia, "Times New Roman", serif;
}

.br-gallery-lightbox-label {
	display: block;
	margin-bottom: 7px;
	color: #72c8ff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.br-gallery-lightbox-info p {
	margin: 8px 0 0;
}

.br-gallery-lightbox-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-content: flex-start;
	justify-content: flex-end;
	gap: 7px 16px;
	color: #a9c6da;
	font-size: 13px;
}

.br-gallery-lightbox-counter {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 6px 11px;
	border-radius: 8px;
	background: #31506a;
	color: #fff;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}

.br-gallery-lightbox-description {
	grid-column: 1 / -1;
	margin: 4px 0 0;
	color: #dceaf4;
	line-height: 1.55;
}

.br-gallery-lightbox-capture {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 8px;
	margin-top: 8px;
}

.br-gallery-lightbox-capture[hidden] {
	display: none;
}

.br-gallery-lightbox-capture > span {
	display: grid;
	gap: 3px;
	min-width: 0;
	padding: 10px 11px;
	border: 1px solid rgba(151, 195, 224, .22);
	border-radius: 9px;
	background: rgba(255, 255, 255, .06);
}

.br-gallery-lightbox-capture small {
	color: #8fb8d3;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.br-gallery-lightbox-capture strong {
	overflow-wrap: anywhere;
	color: #fff;
	font-size: 12px;
	line-height: 1.3;
}

.br-gallery-dashboard-shell .fb-dashboard-layout {
	width: min(calc(100% - 40px), 1320px);
	margin: 0 auto;
}

.br-gallery-form-main {
	min-width: 0;
}

.br-gallery-form-intro {
	margin-bottom: 28px;
}

.br-gallery-manager {
	display: grid;
	gap: 14px;
	margin-bottom: 24px;
	padding: 18px;
	border: 1px solid #d5e2ea;
	border-radius: 15px;
	background: #f8fbfd;
}

.br-gallery-manager-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.br-gallery-manager-heading span,
.br-gallery-manager-heading strong {
	display: block;
}

.br-gallery-manager-heading span {
	color: #607487;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.br-gallery-manager-heading strong {
	margin-top: 3px;
	color: #10283d;
	font-size: 18px;
}

.br-gallery-manager-heading .br-gallery-primary-button {
	margin: 0;
}

.br-gallery-manager-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.br-gallery-manager-item {
	display: grid;
	gap: 4px;
	padding: 13px 14px;
	border: 1px solid #cbdce7;
	border-radius: 10px;
	background: #fff;
	color: #10283d;
	text-decoration: none;
}

.br-gallery-manager-item:hover,
.br-gallery-manager-item.is-active {
	border-color: #1479d1;
	background: #edf7fe;
}

.br-gallery-manager-item span {
	font-weight: 800;
}

.br-gallery-manager-item small,
.br-gallery-manager-empty {
	color: #607487;
}

.br-gallery-manager-empty {
	margin: 0;
}

.br-gallery-form,
.br-gallery-existing,
.br-gallery-upload {
	display: grid;
	gap: 20px;
}

.br-gallery-form > label,
.br-gallery-existing-item label {
	display: grid;
	gap: 8px;
	color: #10283d;
	font-weight: 700;
}

.br-gallery-form input[type="text"],
.br-gallery-form textarea,
.br-gallery-form select {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 15px;
	border: 1px solid #bfd2df;
	border-radius: 12px;
	background: #fff;
	color: #10283d;
	font: inherit;
}

.br-gallery-form textarea {
	min-height: 110px;
	resize: vertical;
}

.br-gallery-status,
.br-gallery-success {
	padding: 16px 18px;
	border: 1px solid #c9dce9;
	border-radius: 12px;
	background: #edf7fe;
}

.br-gallery-status span,
.br-gallery-status small {
	display: block;
}

.br-gallery-status strong {
	display: block;
	margin: 4px 0;
	color: #0b67b2;
}

.br-gallery-existing,
.br-gallery-upload {
	padding: 22px;
	border: 1px solid #d5e2ea;
	border-radius: 15px;
	background: #f8fbfd;
}

.br-gallery-existing h2,
.br-gallery-upload h2 {
	margin: 0;
	font: 400 28px/1.15 Georgia, "Times New Roman", serif;
}

.br-gallery-existing p,
.br-gallery-upload p {
	margin: -12px 0 0;
	color: #607487;
}

.br-gallery-existing-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.br-gallery-existing-item,
.br-gallery-new-file {
	display: grid;
	grid-template-columns: 100px minmax(0, 1fr);
	gap: 14px;
	padding: 14px;
	border: 1px solid #d5e2ea;
	border-radius: 12px;
	background: #fff;
}

.br-gallery-existing-content,
.br-gallery-new-file-content {
	display: grid;
	gap: 14px;
	min-width: 0;
}

.br-gallery-capture-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.br-gallery-capture-fields label {
	display: grid;
	gap: 6px;
	min-width: 0;
	color: #3f596d;
	font-size: 12px;
	font-weight: 700;
}

.br-gallery-capture-fields input {
	min-width: 0;
	padding: 10px 11px !important;
	border-radius: 9px !important;
	font-size: 13px !important;
}

.br-gallery-exif-note {
	margin: -2px 0 2px !important;
	padding: 13px 15px;
	border-left: 3px solid #1479d1;
	border-radius: 0 9px 9px 0;
	background: #edf7fe;
	color: #365269 !important;
	line-height: 1.55;
}

.br-gallery-existing-item img,
.br-gallery-new-file img,
.br-gallery-new-file-preview {
	width: 100px;
	height: 100px;
	border-radius: 9px;
}

.br-gallery-new-file img {
	object-fit: cover;
}

.br-gallery-new-file-preview {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #eaf5fd;
	color: #0b67b2;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: .08em;
}

.br-gallery-existing-item textarea,
.br-gallery-new-file textarea {
	min-height: 76px;
}

.br-gallery-remove {
	grid-column: 1 / -1;
	display: flex !important;
	grid-auto-flow: column;
	justify-content: start;
}

.br-gallery-file-button {
	display: inline-flex !important;
	width: fit-content;
	min-height: 46px;
	align-items: center;
	padding: 10px 18px;
	border-radius: 999px;
	background: #1479d1;
	color: #fff !important;
	cursor: pointer;
}

.br-gallery-file-button input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.br-gallery-new-files {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.br-gallery-submit {
	justify-self: start;
	border-radius: 999px;
}

@media (max-width: 820px) {
	.br-gallery-manager-heading {
		align-items: stretch;
		flex-direction: column;
	}

	.br-gallery-manager-heading .br-gallery-primary-button {
		width: 100%;
	}

	.br-gallery-manager-list {
		grid-template-columns: 1fr;
	}
}

.br-home-gallery {
	padding: clamp(70px, 9vw, 120px) 20px;
	background: #f4f8fb;
}

.br-home-gallery-inner {
	width: min(100%, 1200px);
	margin: 0 auto;
}

.br-home-gallery header {
	max-width: 780px;
	margin-bottom: 32px;
}

.br-home-gallery h2 {
	margin: 0 0 14px;
	color: #09263c;
	font: 400 clamp(42px, 6vw, 68px)/1.03 Georgia, "Times New Roman", serif;
}

.br-home-gallery header p {
	color: #607487;
	font-size: 18px;
	line-height: 1.65;
}

.br-home-gallery .br-gallery-primary-button {
	margin-top: 0;
}

.br-home-gallery-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 28px;
}

.br-gallery-secondary-button {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border: 1px solid #1479d1;
	border-radius: 8px;
	background: transparent;
	color: #0b67b2;
	font: inherit;
	font-weight: 800;
	text-decoration: none;
}

.br-gallery-secondary-button:hover,
.br-gallery-secondary-button:focus-visible {
	background: #eaf5ff;
	color: #09263c;
}

@media (min-width: 900px) {
	.br-gallery-filters {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 250px;
		align-items: center;
		gap: 20px;
	}

	.br-gallery-topic-filters {
		flex-wrap: nowrap;
		gap: 7px;
	}

	.br-gallery-topic-filters a {
		padding: 8px 11px;
		font-size: 12px;
		white-space: nowrap;
	}

	.br-gallery-search-tools {
		display: grid;
		width: 250px;
		grid-template-columns: 1fr;
		justify-self: end;
		gap: 7px;
	}

	.br-gallery-search-tools select,
	.br-gallery-search-tools input,
	.br-gallery-search-tools button {
		width: 100%;
		min-height: 40px;
		padding: 8px 10px;
	}
}

@media (max-width: 1050px) {
	.br-gallery-grid,
	.br-home-gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.br-gallery-photo-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.br-gallery-filters {
		align-items: stretch;
		flex-direction: column;
	}
}

@media (max-width: 760px) {
	.br-gallery-directory,
	.br-gallery-single {
		width: min(calc(100% - 24px), 1320px);
	}
	.br-gallery-directory-header,
	.br-gallery-card.is-featured {
		display: grid;
		grid-template-columns: 1fr;
	}
	.br-gallery-directory-header {
		align-items: start;
	}
	.br-gallery-card.is-featured .br-gallery-card-image {
		height: auto;
		min-height: 0;
		aspect-ratio: 4 / 5;
	}
	.br-gallery-search-tools,
	.br-gallery-search-tools select,
	.br-gallery-search-tools input,
	.br-gallery-search-tools button {
		width: 100%;
	}
	.br-gallery-photo-grid,
	.br-gallery-existing-grid,
	.br-gallery-new-files {
		grid-template-columns: 1fr;
	}
	.br-gallery-dashboard-shell .fb-dashboard-layout {
		width: min(calc(100% - 24px), 1320px);
	}
	.br-gallery-lightbox {
		padding: 10px;
	}
	.br-gallery-lightbox-dialog {
		max-height: calc(100dvh - 20px);
		border-radius: 13px;
	}
	.br-gallery-lightbox-stage {
		min-height: 250px;
	}
	.br-gallery-lightbox-image {
		max-height: calc(100dvh - 190px);
	}
	.br-gallery-lightbox-close {
		top: 10px;
		right: 10px;
		width: 44px;
		height: 44px;
	}
	.br-gallery-lightbox-nav {
		width: 42px;
		height: 58px;
		font-size: 28px;
	}
	.br-gallery-lightbox-previous {
		left: 8px;
	}
	.br-gallery-lightbox-next {
		right: 8px;
	}
	.br-gallery-lightbox-info {
		grid-template-columns: 1fr auto;
		padding: 16px;
	}
	.br-gallery-lightbox-capture {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.br-home-gallery-actions {
		align-items: stretch;
		flex-direction: column;
	}
	.br-home-gallery-actions a {
		width: 100%;
	}
	.br-gallery-grid,
	.br-home-gallery-grid {
		grid-template-columns: 1fr;
	}
	.br-gallery-existing-item,
	.br-gallery-new-file {
		grid-template-columns: 76px minmax(0, 1fr);
	}
	.br-gallery-existing-item img,
	.br-gallery-new-file img,
	.br-gallery-new-file-preview {
		width: 76px;
		height: 76px;
	}
	.br-gallery-capture-fields {
		grid-template-columns: 1fr;
	}
	.br-gallery-lightbox-capture {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
