.pressgpt-dont-miss {
	/* Prime/Thema marka: Customizer accent + masthead (fallback Medyasyon). */
	--pdm-accent: var(--wp--preset--color--accent, #d71920);
	--pdm-masthead: var(--wp--preset--color--masthead, #0e1626);
	--pdm-ink: #111827;
	--pdm-muted: #6b7280;
	--pdm-surface: #fff;
	--pdm-border: #e5e7eb;

	margin: 1.75em 0;
	border: 1px solid var(--pdm-border);
	border-radius: 12px;
	overflow: hidden;
	background: var(--pdm-surface);
	box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

.pressgpt-dont-miss__header {
	position: relative;
	overflow: hidden;
	padding: 0.85em 1.25em;
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1.25;
	color: #fff;
	background: var(--pdm-masthead);
}

.pressgpt-dont-miss__header-bg,
.pressgpt-dont-miss__header-shine {
	position: absolute;
	display: block;
	pointer-events: none;
	line-height: 0;
	font-size: 0;
}

.pressgpt-dont-miss__header-bg {
	top: 0;
	bottom: 0;
	left: 0;
	width: 200%;
	z-index: 0;
	background: linear-gradient(
		90deg,
		var(--pdm-masthead) 0%,
		color-mix(in srgb, var(--pdm-masthead) 55%, var(--pdm-accent) 45%) 25%,
		var(--pdm-accent) 50%,
		color-mix(in srgb, var(--pdm-masthead) 55%, var(--pdm-accent) 45%) 75%,
		var(--pdm-masthead) 100%
	);
	/* OS reduced-motion açık olsa bile çalışır; kullanıcı bilerek istedi. */
	animation: pressgpt-dont-miss-header-shift 6.5s ease-in-out infinite;
}

.pressgpt-dont-miss__header-shine {
	display: none;
}

.pressgpt-dont-miss__header-label {
	position: relative;
	z-index: 2;
	display: inline-block;
}

@keyframes pressgpt-dont-miss-header-shift {
	0%,
	100% {
		transform: translateX(0);
	}
	50% {
		transform: translateX(-50%);
	}
}

.pressgpt-dont-miss__body {
	display: grid;
	grid-template-columns: minmax(220px, 38%) 1fr;
	gap: 0;
	min-height: 180px;
	align-items: stretch;
}

.pressgpt-dont-miss__body--no-thumb {
	display: block;
	min-height: 0;
}

.pressgpt-dont-miss__thumb {
	display: block;
	position: relative;
	min-height: 180px;
	height: 100%;
	overflow: hidden;
	line-height: 0;
	background: var(--pdm-masthead);
}

.pressgpt-dont-miss__img {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.35s ease;
}

/* Tema içerik görsellerindeki `height:auto` kuralını bu kırpılmış alanda ez. */
.prime-article__content .pressgpt-dont-miss__img,
.post-content .pressgpt-dont-miss__img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.pressgpt-dont-miss__thumb:hover .pressgpt-dont-miss__img,
.pressgpt-dont-miss__thumb:focus-visible .pressgpt-dont-miss__img {
	transform: scale(1.04);
}

.pressgpt-dont-miss__meta {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1.25rem;
	padding: 1.35rem 1.5rem;
	min-width: 0;
	background:
		radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--pdm-accent) 8%, transparent), transparent 55%),
		linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.pressgpt-dont-miss__text {
	display: block;
	min-width: 0;
	max-width: 100%;
}

/* Tek yırtık bant — dikey kenarlar sabit, metinler aynı sol hizada. */
.pressgpt-dont-miss__tape {
	--pdm-tape-pad-x: 1.2em;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.35em;
	width: fit-content;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.7em var(--pdm-tape-pad-x) 0.75em;
	transform: rotate(-0.7deg);
	transform-origin: left center;
	background-color: var(--prime-subheading-overlay-bg, #070a10);
	background-image:
		linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 34%),
		repeating-linear-gradient(
			-14deg,
			transparent,
			transparent 5px,
			rgba(255, 255, 255, 0.05) 5px,
			rgba(255, 255, 255, 0.05) 6px
		);
	/* Sol/sağ yırtık: yüzde ile — yükseklik değişince sol kenar kaymaz. */
	clip-path: polygon(
		0% 0%,
		2.2% 6%,
		0% 12%,
		2.2% 18%,
		0% 24%,
		2.2% 30%,
		0% 36%,
		2.2% 42%,
		0% 48%,
		2.2% 54%,
		0% 60%,
		2.2% 66%,
		0% 72%,
		2.2% 78%,
		0% 84%,
		2.2% 90%,
		0% 96%,
		0% 100%,
		100% 100%,
		97.8% 94%,
		100% 88%,
		97.8% 82%,
		100% 76%,
		97.8% 70%,
		100% 64%,
		97.8% 58%,
		100% 52%,
		97.8% 46%,
		100% 40%,
		97.8% 34%,
		100% 28%,
		97.8% 22%,
		100% 16%,
		97.8% 10%,
		100% 4%,
		100% 0%
	);
	filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45));
}

.pressgpt-dont-miss__kicker,
.pressgpt-dont-miss__title {
	display: block;
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	border: 0;
	border-radius: 0;
	background: none !important;
	box-shadow: none;
	filter: none;
	-webkit-mask-image: none !important;
	mask-image: none !important;
	transform: none;
	color: #facc15 !important;
	text-align: left !important;
	text-indent: 0 !important;
	overflow-wrap: anywhere;
}

.pressgpt-dont-miss__kicker {
	font-size: clamp(1.05rem, 1.4vw, 1.18rem);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.01em;
}

.pressgpt-dont-miss__title {
	font-size: clamp(1.4rem, 2.4vw, 1.85rem);
	font-weight: 800;
	line-height: 1.28;
	text-decoration: none !important;
}

.pressgpt-dont-miss__title:hover,
.pressgpt-dont-miss__title:focus-visible {
	color: #fff !important;
	text-decoration: none !important;
}

/* Tema .post-content a / p stilleri ezmesin. */
.prime-article__content .pressgpt-dont-miss__kicker,
.post-content .pressgpt-dont-miss__kicker,
.prime-article__content a.pressgpt-dont-miss__title,
.post-content a.pressgpt-dont-miss__title {
	color: #facc15 !important;
	text-decoration: none !important;
	margin: 0 !important;
	padding: 0 !important;
	text-indent: 0 !important;
}

.prime-article__content a.pressgpt-dont-miss__title:hover,
.prime-article__content a.pressgpt-dont-miss__title:focus-visible,
.post-content a.pressgpt-dont-miss__title:hover,
.post-content a.pressgpt-dont-miss__title:focus-visible {
	color: #fff !important;
}

.pressgpt-dont-miss__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	min-width: 11.5rem;
	padding: 0.85em 1.4em;
	border-radius: 8px;
	background: var(--pdm-accent);
	color: #fff !important;
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-decoration: none !important;
	text-transform: uppercase;
	line-height: 1.2;
	box-shadow: 0 6px 16px color-mix(in srgb, var(--pdm-accent) 35%, transparent);
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.pressgpt-dont-miss__cta:hover,
.pressgpt-dont-miss__cta:focus-visible {
	background: var(--pdm-accent);
	color: #fff !important;
	filter: brightness(0.9);
	transform: translateY(-1px);
	box-shadow: 0 10px 20px color-mix(in srgb, var(--pdm-accent) 40%, transparent);
}

.pressgpt-dont-miss__body--no-thumb .pressgpt-dont-miss__meta {
	padding: 1.5rem 1.6rem;
}

.pressgpt-dont-miss__body--no-thumb .pressgpt-dont-miss__title {
	max-width: none;
}

/* Mobil: desktop ile aynı yatay düzen (görsel sol, metin sağ). */
@media (max-width: 720px) {
	.pressgpt-dont-miss__body {
		grid-template-columns: minmax(110px, 36%) 1fr;
		min-height: 160px;
	}

	.pressgpt-dont-miss__thumb {
		min-height: 160px;
	}

	.pressgpt-dont-miss__meta {
		padding: 1rem 1.1rem 1.15rem;
		gap: 0.85rem;
	}

	.pressgpt-dont-miss__tape {
		--pdm-tape-pad-x: 0.95em;
		padding: 0.55em var(--pdm-tape-pad-x) 0.6em;
		transform: rotate(-0.5deg);
	}

	.pressgpt-dont-miss__kicker {
		font-size: 0.95rem;
	}

	.pressgpt-dont-miss__title {
		font-size: 1.15rem;
	}

	.pressgpt-dont-miss__cta {
		min-width: 0;
		padding: 0.7em 1.1em;
		font-size: 0.8rem;
	}
}
