.ogallery-news {
	width: 100%;
}

.ogallery-news-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-block-end: 2rem;
	align-items: center;
}

.ogallery-news-filter {
	display: inline-block;
	text-decoration: none;
	border-style: none;
	border-width: 0;
	border-color: transparent;
}

.ogallery-news-filters .ogallery-news-filter + .ogallery-news-filter {
	position: relative;
}

.ogallery-news-filters .ogallery-news-filter + .ogallery-news-filter::before {
	content: '';
	position: absolute;
	inset-inline-start: 0;
	top: 50%;
	transform: translateY(-50%);
	border-inline-start: 0 solid transparent;
	padding: 0;
	margin: 0;
}

.ogallery-news-filter:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.ogallery-news-grid {
	display: grid;
	grid-template-columns: repeat(var(--ogallery-news-columns, 3), minmax(0, 1fr));
	column-gap: 2rem;
	row-gap: 2rem;
}

.ogallery-news-grid.is-equal-height .ogallery-news-item {
	height: 100%;
}

.ogallery-news-grid.is-equal-height .ogallery-news-content {
	height: 100%;
	box-sizing: border-box;
}

.ogallery-news-grid.is-masonry {
	display: block;
	column-count: var(--ogallery-news-columns, 3);
	column-gap: 2rem;
}

.ogallery-news-grid.is-masonry .ogallery-news-item {
	display: inline-block;
	width: 100%;
	margin: 0 0 2rem;
	break-inside: avoid;
}

.ogallery-news-item {
	min-width: 0;
}

.ogallery-news-image {
	display: block;
}

.ogallery-news-image img {
	display: block;
	width: 100%;
	height: auto;
}

.ogallery-news-title {
	margin-block: 0.5rem;
}

.ogallery-news-title a {
	text-decoration: none;
}

.ogallery-news-date {
	display: block;
	margin-block-end: 0.5rem;
}

.ogallery-news-excerpt p:last-child {
	margin-block-end: 0;
}

.ogallery-news-read-more {
	display: inline-block;
	margin-block-start: 0.75rem;
}

.ogallery-news-pagination {
	margin-block-start: 2.5rem;
}

.ogallery-news-pagination.align-left {
	text-align: left;
}

.ogallery-news-pagination.align-center {
	text-align: center;
}

.ogallery-news-pagination.align-right {
	text-align: right;
}

.ogallery-news-pagination ul {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ogallery-news-pagination a,
.ogallery-news-pagination span {
	text-decoration: none;
}

.ogallery-news-load-more {
	cursor: pointer;
	border: 0;
	background: transparent;
	font: inherit;
	padding: 0;
}

.ogallery-news-load-more:disabled,
.ogallery-news-pagination.is-loading {
	cursor: wait;
	opacity: 0.6;
}

.ogallery-news.is-loading .ogallery-news-grid {
	opacity: 0.55;
	transition: opacity 0.2s ease;
}

.ogallery-news-infinite-sentinel {
	height: 1px;
	width: 100%;
}

.ogallery-news-message {
	margin-block: 2rem;
}

@media (max-width: 900px) {
	.ogallery-news-grid {
		grid-template-columns: repeat(var(--ogallery-news-columns-tablet, 2), minmax(0, 1fr));
	}
	.ogallery-news-grid.is-masonry {
		column-count: var(--ogallery-news-columns-tablet, 2);
	}
}

@media (max-width: 600px) {
	.ogallery-news-grid {
		grid-template-columns: repeat(var(--ogallery-news-columns-mobile, 1), minmax(0, 1fr));
	}
	.ogallery-news-grid.is-masonry {
		column-count: var(--ogallery-news-columns-mobile, 1);
	}
}

.ogallery-news-single {
	width: 100%;
}

.ogallery-news-single-featured-image {
	display: block;
	max-width: 100%;
	height: auto;
}

.ogallery-news-single-title {
	margin-block: 0;
}

.ogallery-news-single-date,
.ogallery-news-single-categories,
.ogallery-news-single-tags {
	display: block;
}

.ogallery-news-single-categories a,
.ogallery-news-single-tags a {
	text-decoration: none;
}

.ogallery-news-single-featured-placeholder,
.ogallery-news-single-content-placeholder {
	padding: 2rem;
	border: 1px dashed currentColor;
	text-align: center;
}

/* Elementor Saved Template item mode */
.ogallery-news-item-template {
	min-width: 0;
}

.ogallery-news-single-pdf { display: block; }
.ogallery-news-single-pdf a { display: inline-block; }

.ogallery-news-single-title a { color: inherit; text-decoration: inherit; }
.ogallery-news-single-excerpt { display: block; }
.ogallery-news-single-read-more { display: block; }
.ogallery-news-single-read-more a { display: inline-block; }
