/* Vigilante Blog — the blog listing page in the dark gold "Special Reports"
   style. Builds on vigilante-reports' reports.css (.dvr palette, .dvr-hero,
   .dvr-wrap, .dvr-section-head, .dvr-btn). Only blog rules live here.

   The listing itself is rendered by the [vigilante_blog] shortcode: a dynamic
   WP_Query of published posts (21 per page, excluding the Stock Company
   Profile category like the live /blog/ page) shown as image cards with the real
   featured image, title, author, date and excerpt, plus numeric pagination. */

.dvb { --body: 'Rubik', Arial, Helvetica, sans-serif; }

/* ---------------------------------------------------------------- hero */
/* The user's new banner (1568x672). A strong dark gradient keeps the title
   readable over the busy collage; the image sits slightly above centre so the
   family/drone action stays in view on desktop. */
.dvb .dvb-hero {
	padding: 96px 0 80px;
	background:
		radial-gradient(ellipse 60% 80% at 50% 0%, rgba(210, 154, 55, .20), transparent 70%),
		linear-gradient(180deg, rgba(11, 11, 16, .82) 0%, rgba(11, 11, 16, .56) 42%, rgba(11, 11, 16, .90) 100%),
		url('https://dollarvigilante.com/wp-content/uploads/2026/11/tdvbloghero2.jpg') center 38% / cover no-repeat;
}
.dvb-hero .dvr-title { max-width: 1000px; margin-left: auto; margin-right: auto; text-shadow: 0 2px 22px rgba(0, 0, 0, .7); }

/* RSS link in the section head — a gold pill matching the page's other
   gold links/buttons, with an inline SVG icon (no icon font/CDN). */
.dvb .dvb-rss {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid rgba(210, 154, 55, .45);
	background: rgba(210, 154, 55, .08);
	font-family: var(--display);
	font-size: 15px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--gold);
	transition: background .2s, color .2s, border-color .2s;
}
.dvb .dvb-rss:hover,
.dvb .dvb-rss:focus-visible {
	background: var(--gold-hi);
	border-color: var(--gold-hi);
	color: #111;
}
.dvb .dvb-rss-icon { width: 1em; height: 1em; flex: none; }

/* ---------------------------------------------------------------- listing */
.dvb-posts { padding: 56px 0 8px; }
.dvb-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
}
.dvb-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 14px;
	background: var(--panel);
	box-shadow: 0 0 0 1px var(--line);
	transition: transform .25s var(--ease), box-shadow .25s, box-shadow .25s;
}
.dvb-card:hover,
.dvb-card:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 0 0 1px rgba(210, 154, 55, .45), 0 26px 50px rgba(0, 0, 0, .5);
}

.dvb-thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--panel-2);
}
.dvb-thumb-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--ease);
}
.dvb-card:hover .dvb-thumb-img { transform: scale(1.05); }
.dvb-thumb-fallback {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background:
		radial-gradient(ellipse 80% 120% at 50% 0%, rgba(210, 154, 55, .18), transparent 70%),
		var(--panel-2);
}
.dvb-thumb-fallback > span {
	font-family: var(--display);
	font-size: 40px;
	letter-spacing: .28em;
	color: rgba(210, 154, 55, .55);
}

.dvb-card-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 20px 22px 22px;
}
.dvb-card-title {
	font-size: 22px;
	line-height: 1.16;
	text-transform: uppercase;
}
.dvb-card-title a { transition: color .2s; }
.dvb-card-title a:hover { color: var(--gold-hi); }
.dvb-card-meta {
	margin: 10px 0 0;
	font-size: 13px;
	letter-spacing: .02em;
	color: var(--muted);
}
.dvb-card-meta a { color: var(--gold); }
.dvb-card-meta a:hover { color: var(--gold-hi); }
.dvb-sep { color: rgba(255, 255, 255, .25); }
.dvb-card-excerpt {
	margin: 14px 0 0;
	font-size: 15px;
	line-height: 1.66;
	color: #c6c6d0;
}
.dvb-card .dvb-read {
	flex: 0 0 auto;
	align-self: flex-start;
	margin-top: 20px;
	min-height: 40px;
	padding: 10px 20px;
	font-size: 15px;
}
.dvb-card .dvb-read svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------------- pagination */
.dvb-pagination { margin: 48px 0 4px; }
.dvb-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.dvb-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border-radius: 10px;
	border: 1px solid var(--line);
	background: var(--panel);
	font-family: var(--display);
	font-size: 19px;
	line-height: 1;
	letter-spacing: .06em;
	color: var(--muted);
	transition: background .2s, color .2s, border-color .2s;
}
.dvb-pagination a.page-numbers:hover,
.dvb-pagination a.page-numbers:focus-visible {
	color: #111 !important;
	background: var(--gold-hi);
	border-color: var(--gold-hi);
}
.dvb-pagination .page-numbers.current {
	color: #111 !important;
	background: var(--gold);
	border-color: var(--gold);
}
.dvb-pagination .page-numbers.dots {
	border-color: transparent;
	background: none;
	color: var(--muted);
}
.dvb-no-results {
	margin: 0;
	padding: 40px 0;
	text-align: center;
	color: var(--muted);
}

/* ---------------------------------------------------------------- cta */
.dvb-cta { padding: 56px 0 88px; }
.dvb-cta-in {
	max-width: 860px;
	margin: 0 auto;
	padding: 48px 34px;
	text-align: center;
	border-radius: 20px;
	background:
		radial-gradient(ellipse 60% 100% at 50% 0%, rgba(210, 154, 55, .18), transparent 70%),
		var(--panel);
	box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgba(0, 0, 0, .45);
}
.dvb-cta-in h2 {
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.05;
	text-transform: uppercase;
}
.dvb-cta-in p {
	max-width: 620px;
	margin: 16px auto 30px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--muted);
}
.dvb-cta-actions { display: flex; justify-content: center; }
.dvb-cta-actions .dvr-btn {
	flex: 0 0 auto;
	min-height: 54px;
	padding: 15px 44px;
	font-size: 18px;
}
.dvb-cta-actions .dvr-btn svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 1024px) {
	.dvb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 640px) {
	.dvb .dvb-hero { padding: 72px 0 60px; background-position: center 42%; }
	.dvb-posts { padding: 44px 0 8px; }
	.dvb-grid { grid-template-columns: 1fr; gap: 22px; }
	.dvb-card-title { font-size: 20px; }
	.dvb-cta { padding: 44px 0 64px; }
	.dvb-cta-in { padding: 34px 20px; }
	.dvb-cta-actions .dvr-btn { width: 100%; }
	.dvb-pagination .page-numbers { min-width: 40px; height: 40px; font-size: 17px; }
}
