.jgv-press-gallery {
	clear: both;
	margin: 10px 0 28px;
}

.jgv-press-gallery__intro {
	color: #333;
	font-size: 14px;
	margin: 0 0 16px;
}

.jgv-press-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.jgv-press-card {
	min-width: 0;
	height: 100%;
}

.jgv-press-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid #d8dde5;
	border-radius: 4px;
	background: #fff;
	color: #0d3174;
	overflow: hidden;
	text-decoration: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.jgv-press-card__link:hover,
.jgv-press-card__link:focus {
	border-color: #c52d3a;
	box-shadow: 0 4px 14px rgba(20, 32, 55, 0.16);
	color: #0d3174;
	outline: none;
	text-decoration: none;
	transform: translateY(-2px);
}

.jgv-press-card__link:focus-visible {
	outline: 3px solid #0d6fa8;
	outline-offset: 2px;
}

.jgv-press-card__thumb {
	display: block;
	position: relative;
	width: 100%;
	aspect-ratio: 15 / 11;
	overflow: hidden;
	background: #eef1f4;
}

.jgv-press-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.jgv-press-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 20px;
	color: #555;
	font-size: 16px;
	text-align: center;
}

.jgv-press-card__expand {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 7px 10px;
	background: rgba(13, 49, 116, 0.86);
	color: #fff;
	font-size: 12px;
	text-align: center;
}

.jgv-press-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 12px 14px 13px;
}

.jgv-press-card__title {
	display: -webkit-box;
	min-height: 60px;
	overflow: hidden;
	font-size: 15px;
	font-weight: 600;
	line-height: 20px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.jgv-press-card__date {
	display: block;
	margin-top: auto;
	padding-top: 8px;
	color: #666;
	font-size: 12px;
}

.jgv-press-gallery__more {
	display: flow-root;
	margin: 16px 0 0;
}

body.jgv-press-modal-open {
	overflow: hidden;
}

.jgv-press-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.jgv-press-modal[hidden] {
	display: none !important;
}

.jgv-press-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
}

.jgv-press-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 980px);
	max-height: 92vh;
	overflow: auto;
	border-top: 4px solid #ff9933;
	border-bottom: 4px solid #138808;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 10px 36px rgba(0, 0, 0, 0.42);
	padding: 20px;
}

.jgv-press-modal__close {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	color: #222;
	font-size: 32px;
	line-height: 38px;
	cursor: pointer;
}

.jgv-press-modal__close:focus-visible,
.jgv-press-modal__toolbar button:focus-visible,
.jgv-press-modal__actions a:focus-visible {
	outline: 3px solid #0d6fa8;
	outline-offset: 2px;
}

.jgv-press-modal__header {
	padding-right: 44px;
}

.jgv-press-modal__title {
	margin: 0 0 5px;
	color: #0d3174;
	font-size: 21px;
	line-height: 28px;
}

.jgv-press-modal__date,
.jgv-press-modal__status {
	margin: 0 0 10px;
	color: #666;
	font-size: 13px;
}

.jgv-press-modal__toolbar {
	display: flex;
	justify-content: flex-end;
	gap: 6px;
	margin: 0 0 8px;
}

.jgv-press-modal__toolbar[hidden] {
	display: none;
}

.jgv-press-modal__toolbar button {
	min-width: 38px;
	height: 34px;
	border: 1px solid #b9c2ce;
	border-radius: 4px;
	background: #fff;
	color: #26364a;
	font-size: 14px;
	cursor: pointer;
}

.jgv-press-modal__toolbar button:hover {
	background: #edf3f8;
}

.jgv-press-modal__image-stage {
	max-height: 62vh;
	overflow: auto;
	border: 1px solid #dce1e7;
	background: #f6f7f8;
	padding: 8px;
	text-align: center;
}

.jgv-press-modal__image-stage[hidden] {
	display: none;
}

.jgv-press-modal__image {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.jgv-press-modal__body {
	margin-top: 16px;
	color: #222;
	font-size: 15px;
	line-height: 24px;
}

.jgv-press-modal__body p {
	margin: 0 0 11px;
}

.jgv-press-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.jgv-press-modal__actions a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	border: 1px solid #0d5c86;
	border-radius: 4px;
	padding: 8px 14px;
	background: #fff;
	color: #0d5c86;
	font-size: 14px;
	text-decoration: none;
}

.jgv-press-modal__actions a:hover {
	background: #0d5c86;
	color: #fff;
	text-decoration: none;
}

@media (max-width: 900px) {
	.jgv-press-gallery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.jgv-press-gallery__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.jgv-press-modal {
		padding: 8px;
	}

	.jgv-press-modal__dialog {
		max-height: 96vh;
		padding: 16px 12px 12px;
	}

	.jgv-press-modal__title {
		font-size: 18px;
		line-height: 24px;
	}

	.jgv-press-modal__image-stage {
		max-height: 58vh;
	}
}

