/* ============================================================
   Vertex Articles & Podcast — brand styling
   Black / white / red, bold uppercase, numbered cards.
   All classes are prefixed with .vap- to avoid theme conflicts.
   ============================================================ */

:root {
	--vap-black: #0d0d0d;
	--vap-black-soft: #161616;
	--vap-white: #ffffff;
	--vap-gray: #b3b3b3;
	--vap-red: #ff1f4c;
}

.vap-section, .vap-podcast {
	max-width: 1200px;
	margin: 0 auto;
	padding: 60px 20px;
	box-sizing: border-box;
}

.vap-section *, .vap-podcast * { box-sizing: border-box; }

.vap-header { text-align: center; margin-bottom: 40px; }

.vap-eyebrow {
	display: inline-block;
	color: var(--vap-red);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.vap-heading {
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 800;
	color: var(--vap-black);
	margin: 0;
	line-height: 1.15;
}

.vap-notice {
	text-align: center;
	color: var(--vap-gray);
	padding: 30px;
}

/* ---------- Featured (big) article ---------- */
.vap-featured {
	position: relative;
	display: block;
	border-radius: 14px;
	overflow: hidden;
	min-height: 460px;
	background: var(--vap-black);
	text-decoration: none;
	margin-bottom: 30px;
	isolation: isolate;
}

.vap-featured-media {
	position: absolute;
	inset: 0;
}

.vap-featured-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;
}

.vap-featured:hover .vap-featured-media img {
	transform: scale(1.05);
}

.vap-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}

.vap-featured-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.15) 100%);
}

.vap-featured-content {
	position: relative;
	z-index: 2;
	padding: 40px;
	max-width: 760px;
	align-self: flex-end;
	margin-top: auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 460px;
}

.vap-featured-content .vap-cat {
	display: inline-block;
	color: var(--vap-red);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 14px;
}

.vap-featured-content h3 {
	color: var(--vap-white);
	font-size: clamp(24px, 3.4vw, 36px);
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 14px;
}

.vap-featured-content p {
	color: rgba(255,255,255,0.78);
	font-size: 16px;
	line-height: 1.6;
	margin: 0 0 18px;
	max-width: 620px;
}

.vap-readmore {
	display: inline-block;
	color: var(--vap-white);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	border-bottom: 2px solid var(--vap-red);
	padding-bottom: 4px;
	width: fit-content;
	transition: color 0.25s ease, border-color 0.25s ease;
}

.vap-featured:hover .vap-readmore { color: var(--vap-red); }

/* ---------- Grid (rest of the articles) ---------- */
.vap-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

@media (max-width: 900px) {
	.vap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.vap-grid { grid-template-columns: 1fr; }
	.vap-featured-content { padding: 26px; }
}

.vap-card {
	display: flex;
	flex-direction: column;
	background: var(--vap-black-soft);
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vap-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 34px rgba(0,0,0,0.25);
}

.vap-card-media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #1a1a1a;
}

.vap-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.vap-card:hover .vap-card-media img { transform: scale(1.06); }

.vap-card-content {
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.vap-num {
	color: var(--vap-red);
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 1px;
}

.vap-card-content h4 {
	color: var(--vap-white);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
	flex: 1;
}

.vap-readmore.vap-small {
	font-size: 11px;
	color: rgba(255,255,255,0.85);
}

.vap-card:hover .vap-readmore.vap-small { color: var(--vap-red); }

/* ---------- Podcast block ---------- */
.vap-podcast {
	background: var(--vap-black);
	border-radius: 16px;
	padding: 0;
	max-width: 1200px;
}

.vap-podcast-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
	padding: 56px;
	border-left: 4px solid var(--vap-red);
	border-radius: 16px;
}

@media (max-width: 800px) {
	.vap-podcast-inner {
		grid-template-columns: 1fr;
		padding: 34px 24px;
	}
}

.vap-podcast-text .vap-heading { color: var(--vap-white); }

.vap-podcast-text p {
	color: rgba(255,255,255,0.72);
	font-size: 15px;
	line-height: 1.7;
	margin-top: 14px;
}

.vap-podcast-player { width: 100%; }

.vap-embed { width: 100%; }

.vap-embed-video {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	border-radius: 10px;
	overflow: hidden;
}

.vap-embed-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.vap-embed-audio iframe {
	border-radius: 10px;
}
