.ppc-wrapper {
	width: 100%;
}

.ppc-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	background-color: #12241f;
	border-radius: 16px;
	padding: 24px 28px;
	flex-wrap: wrap;
}

.ppc-card-text {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ppc-card-title {
	font-size: 20px;
	font-weight: 600;
	color: #ffffff;
}

.ppc-card-actions {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
}

.ppc-btn-open {
	background: transparent;
	border: none;
	cursor: pointer;
	color: #ffffff;
	font-size: 16px;
	font-weight: 500;
	padding: 0;
}

.ppc-btn-download {
	color: #d4a373;
	font-weight: 700;
	font-size: 18px;
	text-decoration: none;
}

.ppc-btn-download:hover,
.ppc-btn-open:hover {
	opacity: 0.8;
}

.ppc-card-image {
	cursor: pointer;
	flex-shrink: 0;
}

.ppc-card-image img {
	width: 300px;
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	transition: transform 0.2s ease;
}

.ppc-card-image:hover img {
	transform: scale(1.02);
}

/* ===== Modal / Popup ===== */
.ppc-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 999999;
}

.ppc-modal.ppc-modal-active {
	display: block;
}

.ppc-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
}

.ppc-modal-content {
	position: relative;
	max-width: 900px;
	width: 92%;
	margin: 40px auto;
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	max-height: 88vh;
}

.ppc-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	background: #12241f;
	color: #ffffff;
	font-weight: 600;
	font-size: 16px;
}

.ppc-modal-header-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.ppc-modal-download {
	color: #d4a373;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}

.ppc-modal-close {
	background: transparent;
	border: none;
	color: #ffffff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.ppc-modal-body {
	flex: 1;
	background: #525659;
}

.ppc-modal-body iframe {
	width: 100%;
	height: 75vh;
	border: none;
	display: block;
}

body.ppc-modal-open {
	overflow: hidden;
}

@media (max-width: 640px) {
	.ppc-card {
		flex-direction: column;
		align-items: flex-start;
	}

	.ppc-card-image {
		width: 100%;
	}

	.ppc-card-image img {
		width: 100%;
	}

	.ppc-modal-body iframe {
		height: 60vh;
	}
}
