.zgr-image-description,
.zgr-image-credit,
.zgr-image-credit a,
.zgr-image-credit-prefix,
.zgr-image-photographer,
.zgr-image-agency {
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.zgr-image-credit,
.zgr-image-credit a,
.zgr-image-credit-prefix,
.zgr-image-photographer,
.zgr-image-platform,
.zgr-image-agency {
	font-size: .95rem;
	line-height: 1.5;
	font-weight: 500;
	color: #2e3b4e;
}

.zgr-image-description {
	font-size: .9rem !important;
	color: #474b55 !important;
	margin-bottom: 0 !important;
}
.zgr-image-credit-prefix {
	font-style: italic;
	font-size: .9rem;
	color: #5c616d;
}
.zgr-image-platform {
	text-decoration: underline;
    text-underline-offset: 3px;
}
/* Anchor metadata button to each inline story image wrapper. */
.zgr-image-wrapper {
	position: relative;
	display: inline-block;
	width: 100%;
}

/* Hero featured image (template-managed) acts as a metadata-enabled media wrapper. */
.single__post-article .post__thumb-single.zgr-image {
	position: relative;
}

.zgr-image-wrapper img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: .7em;
}


.zgr-image-info-btn {
	position: absolute;
	top: 10px;
    right: 10px;
	min-width: 48px;
	min-height: 48px;
	width: auto;
	height: auto;
	border-radius: 50%;
	border: 0;
	background: #fff;
	color: inherit;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
	transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
	z-index: 2;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
	text-decoration: none;
}
.post__thumb-single .zgr-image-info-btn {
	top: 3em;
    right: 3em;
}
.zgr-image-info-btn img {
	height: 20px !important;
	width: 20px !important;
	border-radius: 0 !important;
}

.zgr-image-info-btn:hover {
	background: #f3f4f6;
	transform: translateY(-1px);
}


.zgr-meta-modal {
	text-align: left;
}
.zenger-modal-box.zgr-modal-box--image-metadata {
	max-width: 35em !important;
	border-radius: .7em !important;
	padding: 1em !important;
	max-height: 85vh !important;
}

.zgr-meta-subtitle {
	margin: 0 0 1rem;
	font-size: 0.88em;
	color: #6b7280;
}

.zgr-meta-image-preview {
	margin-bottom: 1rem;
	border-radius: 8px;
	overflow: hidden;
	max-height: 20em;
}

.zgr-meta-image-preview img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	max-height: 20em;
}

.zgr-meta-verification {
	background: #F4F5F7;
	border-radius: 10px;
	padding: 12px 16px;
	margin-bottom: 1rem;
}

.zgr-meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 3px 0;
}

.zgr-meta-label {
	font-size: 0.77em;
	color: #374151;
	font-weight: 500;
}

.zgr-meta-badge {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-weight: 600;
	font-size: 0.77em;
}

.zgr-meta-badge--yes {
	color: #16a34a;
}

.zgr-meta-badge--no {
	color: #dc2626;
}

.zgr-meta-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 10px;
}

@media (max-width: 480px) {
	.zgr-meta-cards {
		grid-template-columns: 1fr;
	}
}

.zgr-meta-card {
	background: #F4F5F7;
	border-radius: 10px;
	padding: 14px 16px;
}

.zgr-meta-card-label {
	font-size: 0.76em;
	font-weight: 500;
	color: #51617d;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin-bottom: 8px;
}

.zgr-meta-card-text {
	margin: 0 0 8px;
	font-size: 0.88em;
	line-height: 1.5;
	color: #374151;
	font-style: italic;
}

.zgr-meta-card-dim {
	margin: 0;
	font-size: 0.82em;
	color: #9ca3af;
}

.zgr-meta-photographer-name {
	font-size: 0.95em;
	color: #1a2332;
	margin-bottom: 4px;
}

.zgr-meta-card-agency {
	margin: 0 0 8px;
	font-size: 0.85em;
	color: #6b7280;
}

.zgr-meta-correspondent {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8em;
	color: #6b7280;
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid #e5e7eb;
}

.zgr-meta-card-device {
	font-size: 1em;
	color: #1a2332;
	margin-bottom: 6px;
}

.zgr-meta-card-date {
	margin: 0 0 4px;
	font-size: 0.85em;
	color: #6b7280;
}

.zgr-meta-card-time {
	margin: 0;
	font-size: 0.85em;
	color: #6b7280;
}

.zgr-meta-card-rights {
	font-size: 1em;
	color: #1a2332;
	margin-bottom: 6px;
}

.zgr-meta-card-copyright {
	margin: 0;
	font-size: 0.85em;
	color: #6b7280;
}

.zgr-meta-edits {
	background: #F4F5F7;
	border-radius: 10px;
	padding: 14px 16px;
}

.zgr-meta-edit-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.zgr-meta-edit-tag {
	display: inline-block;
	padding: 4px 12px;
	background: #fff;
	border-radius: 16px;
	font-size: 0.82em;
	color: #374151;
	font-weight: 500;
}

/* Hero image attribution (below hero image) */
.zgr-hero-attribution {
	margin: 1rem 0 1.5rem;
	padding: 0;
}
.zgr-hero-attribution-inner {
	margin: 0;
	padding: 0;
}
.zgr-hero-attribution-inner .zgr-image-description {
	margin-bottom: 0.5rem;
}
.zgr-hero-attribution-inner .zgr-image-credit {
	margin: 0;
}

.zgr-video {
	margin: 2rem 0;
}

.zgr-video-card {
	position: relative;
	width: 100%;
	height: 24rem;
	border-radius: 0.75rem;
	overflow: hidden;
	background: #000;
	transition: height 0.28s ease, transform 0.28s ease;
}

.zgr-video.is-playing .zgr-video-card {
	height: 33rem;
}

.zgr-video-placeholder-view,
.zgr-video-player-view {
	position: absolute;
	inset: 0;
	height: 100%;
	min-height: 0;
	transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.zgr-video.is-playing .zgr-video-player-view {
	height: 100%;
}

.zgr-video-placeholder-view {
	background: linear-gradient(135deg, #0d1f38 0%, #122b50 52%, #1a3a5f 100%);
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 1;
}

.zgr-video-player-view {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	background: transparent;
	transform: scale(0.985);
	z-index: 2;
}

.zgr-video.is-playing .zgr-video-placeholder-view {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: scale(0.985);
}

.zgr-video.is-playing .zgr-video-player-view {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: scale(1);
}

.zgr-video-card-inner {
	height: 100%;
	min-height: 0;
	display: grid;
	align-items: center;
	align-content: center;
	justify-content: center;
	justify-items: center;
	padding: 2rem;
	text-align: center;
}

.zgr-video-card-title {
	margin: 1.5em 0 1.5rem;
	color: #fff !important;
	font-size: 2rem;
	line-height: 1.2;
	font-weight: 700;
	max-width: 40rem;
}

.zgr-video-card-actions {
	margin-top: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
}

.zgr-video-play-trigger {
	border: 0;
	padding: 0;
	background: transparent;
	cursor: pointer;
}

.zgr-video-card-icon-wrap {
	display: inline-flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	width: 6rem;
	height: 6rem;
	border-radius: 9999px;
	background-color: #2d456a;
	box-shadow: 0 24px 40px rgba(0, 0, 0, 0.28);
	transition: transform 0.25s ease, background-color 0.25s ease;
	animation: zgrVideoPulse 1.8s ease-in-out infinite;
}

.zgr-video-card:hover .zgr-video-card-icon-wrap,
.zgr-video-play-trigger:hover .zgr-video-card-icon-wrap,
.zgr-video-play-trigger:focus-visible .zgr-video-card-icon-wrap {
	transform: scale(1.08);
	background-color: #3a567f;
}

.zgr-video-card-icon {
	width: 3rem;
	height: 3rem;
	color: #fff;
	stroke: currentColor;
	transition: transform 0.25s ease;
}

.zgr-video-card:hover .zgr-video-card-icon,
.zgr-video-play-trigger:hover .zgr-video-card-icon,
.zgr-video-play-trigger:focus-visible .zgr-video-card-icon {
	transform: scale(1.08);
}

.zgr-video-card-duration {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	padding: 0.35rem 0.75rem;
	border-radius: 0.375rem;
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1;
	z-index: 2;
}

.zgr-video.is-playing .zgr-video-card-duration {
	display: none;
}

.zgr-video-player-el {
	display: block;
	position: absolute;
	inset: 0;
	width: auto;
	height: 100%;
	min-height: 0;
	max-height: none;
	background: #000;
	object-fit: cover;
	justify-self: center;
}

.zgr-video-player-controls {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0));
	z-index: 3;
}

.zgr-video-player-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	border-radius: 0.5rem;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.zgr-video-player-btn:hover,
.zgr-video-player-btn:focus-visible {
	background: rgba(255, 255, 255, 0.2);
}

.zgr-video-volume-icon--off {
	display: none;
}

.zgr-video-volume-btn.is-muted .zgr-video-volume-icon--on {
	display: none;
}

.zgr-video-volume-btn.is-muted .zgr-video-volume-icon--off {
	display: block;
}

.zgr-video-progress-wrap {
	position: relative;
	flex: 1 1 auto;
	width: 100%;
	min-width: 10rem;
	height: 1.25rem;
	display: flex;
	align-items: center;
	cursor: pointer;
	touch-action: none;
}

.zgr-video-progress-track {
	position: relative;
	width: 100%;
	height: 0.35rem;
	border-radius: 999px;
	background: rgba(75, 85, 99, 0.95);
	overflow: hidden;
	pointer-events: none;
}

.zgr-video-progress-fill {
	display: block !important;
	height: 100%;
	width: 0;
	background: #122b50;
	transition: width 0.12s linear;
}

.zgr-video-progress-thumb {
	position: absolute;
	top: 50%;
	left: 0;
	width: 0.9rem;
	height: 0.9rem;
	transform: translate(-50%, -50%);
	border: 0;
	border-radius: 999px;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.zgr-video-progress-wrap:hover .zgr-video-progress-thumb,
.zgr-video-progress-wrap.is-dragging .zgr-video-progress-thumb,
.zgr-video-progress-wrap:focus-visible .zgr-video-progress-thumb {
	transform: translate(-50%, -50%) scale(1.08);
}

.zgr-video-progress-wrap:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.45);
	outline-offset: 2px;
	border-radius: 999px;
}

.zgr-video-time {
	color: #fff;
	font-size: 0.875rem;
	white-space: nowrap;
}

.zgr-video-details {
	display: block;
	margin-top: 1rem;
}

.zgr-video-details-title {
	margin: 0 0 0.5rem;
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1.35rem;
	font-weight: 500;
	color: #222222;
}

.zgr-video-details-desc {
	margin: 0;
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #6b7280;
	line-height: 1.6;
}

@keyframes zgrVideoPulse {
	0%, 100% {
		transform: scale(1);
		background-color: #2d456a;
	}
	50% {
		transform: scale(1.04);
		background-color: #3a567f;
	}
}
