/* =========================================================
   DANIEL VISION LAB — BLOG JOURNAL KILLER V2
   /blog/ ONLY
========================================================= */

body.dvl-blog-killer-active {
	--dvl-bjk-brand: #9b8b5a;
	--dvl-bjk-ink: #202020;
	--dvl-bjk-text: #707070;
	--dvl-bjk-card: #ffffff;
	--dvl-bjk-placeholder: #deddd9;

	overflow-x: hidden;
}

.dvl-bjk-page,
.dvl-bjk-page *,
.dvl-bjk-page *::before,
.dvl-bjk-page *::after {
	box-sizing: border-box;
}

.dvl-bjk-page {
	width: 100%;
	max-width: 100%;

	margin: 0;
	padding: 0;

	background: #ffffff;
	color: var(--dvl-bjk-ink);
	font-family: Arial, Helvetica, sans-serif;

	overflow: hidden;
}

.dvl-bjk-shell {
	width: min(calc(100% - 48px), 1320px);
	margin: 0 auto;
	padding: 72px 0 88px;
}

/* =========================================================
   HEADER
========================================================= */

.dvl-bjk-header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
	align-items: end;
	gap: 60px;

	margin-bottom: 50px;
}

.dvl-bjk-title {
	margin: 0;

	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(70px, 7vw, 108px);
	font-weight: 400;
	line-height: .88;
	letter-spacing: -5.5px;

	color: #202020;
}

.dvl-bjk-intro {
	max-width: 390px;
	margin: 0 0 8px;

	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.7;

	color: #767676;
}

/* =========================================================
   SLIDER
========================================================= */

.dvl-bjk-slider {
	position: relative;
	width: 100%;
}

.dvl-bjk-slides {
	position: relative;
	width: 100%;
}

.dvl-bjk-slide {
	display: none;
	width: 100%;
}

.dvl-bjk-slide.is-active {
	display: block;
	animation: dvlBjkFade .3s ease both;
}

@keyframes dvlBjkFade {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* =========================================================
   EXACTLY 8 POSTS PER SLIDE
   4 × 2 DESKTOP
========================================================= */

.dvl-bjk-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	align-items: stretch;
}

/* =========================================================
   CARD
========================================================= */

.dvl-bjk-card {
	min-width: 0;
	margin: 0;

	overflow: hidden;

	border: 1px solid rgba(15, 15, 15, .09);
	border-radius: 22px;

	background: var(--dvl-bjk-card);

	transition:
		transform .25s ease,
		box-shadow .25s ease,
		border-color .25s ease;
}

.dvl-bjk-card:hover {
	transform: translateY(-4px);
	border-color: rgba(155, 139, 90, .35);
	box-shadow: 0 18px 44px rgba(0, 0, 0, .065);
}

.dvl-bjk-card-link {
	display: flex;
	flex-direction: column;

	width: 100%;
	height: 100%;

	color: inherit !important;
	text-decoration: none !important;
}

/* =========================================================
   IMAGE
========================================================= */

.dvl-bjk-media {
	width: 100%;
	aspect-ratio: 4 / 5;

	overflow: hidden;

	background: var(--dvl-bjk-placeholder);
}

.dvl-bjk-image,
.dvl-bjk-placeholder {
	display: block;

	width: 100%;
	height: 100%;
}

.dvl-bjk-image {
	object-fit: cover;
	object-position: center;

	transition: transform .45s ease;
}

.dvl-bjk-card:hover .dvl-bjk-image {
	transform: scale(1.025);
}

.dvl-bjk-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
}

.dvl-bjk-placeholder span {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 32px;
	font-style: italic;
	font-weight: 400;

	color: var(--dvl-bjk-brand);
	opacity: .7;
}

/* =========================================================
   BODY
========================================================= */

.dvl-bjk-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;

	min-height: 228px;

	padding: 21px 19px 19px;
}

.dvl-bjk-card-title {
	margin: 0;

	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(20px, 1.45vw, 25px);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -.45px;

	color: #222222;
}

.dvl-bjk-category {
	margin: 8px 0 15px;

	font-family: Arial, Helvetica, sans-serif;
	font-size: 8px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 2px;

	color: var(--dvl-bjk-brand);
}

.dvl-bjk-excerpt {
	margin: 0 0 26px;

	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.65;

	color: #777777;
}

.dvl-bjk-author {
	margin-top: auto;
	padding-top: 16px;

	border-top: 1px solid rgba(15, 15, 15, .10);

	font-family: Arial, Helvetica, sans-serif;
}

.dvl-bjk-author span {
	display: block;

	margin-bottom: 7px;

	font-size: 7px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 1.8px;

	color: #9b9b9b;
}

.dvl-bjk-author strong {
	display: block;

	font-size: 9px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .7px;
	text-transform: uppercase;

	color: #323232;
}

/* =========================================================
   NAVIGATION
========================================================= */

.dvl-bjk-navigation {
	display: flex;
	align-items: center;
	justify-content: space-between;

	margin-top: 42px;
}

.dvl-bjk-counter {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 2px;

	color: #555555;
}

.dvl-bjk-arrows {
	display: flex;
	align-items: center;
	gap: 9px;
}

.dvl-bjk-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 44px;
	height: 44px;

	padding: 0;

	border: 1px solid rgba(155, 139, 90, .48);
	border-radius: 50%;

	background: #ffffff;
	color: #202020;

	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;

	cursor: pointer;

	transition:
		background-color .2s ease,
		color .2s ease,
		border-color .2s ease;
}

.dvl-bjk-arrow:hover,
.dvl-bjk-arrow:focus-visible {
	border-color: var(--dvl-bjk-brand);
	background: var(--dvl-bjk-brand);
	color: #ffffff;
	outline: none;
}

.dvl-bjk-empty {
	padding: 80px 0;

	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;

	color: #777777;
}

/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1500px) {
	.dvl-bjk-shell {
		width: min(calc(100% - 88px), 1420px);
	}

	.dvl-bjk-grid {
		gap: 25px;
	}
}

/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1100px) {
	.dvl-bjk-shell {
		width: min(calc(100% - 34px), 1040px);
	}

	.dvl-bjk-header {
		gap: 35px;
	}

	.dvl-bjk-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 820px) {
	.dvl-bjk-shell {
		width: min(calc(100% - 28px), 740px);
		padding: 54px 0 70px;
	}

	.dvl-bjk-header {
		display: block;
		margin-bottom: 36px;
	}

	.dvl-bjk-title {
		font-size: clamp(64px, 13vw, 88px);
		letter-spacing: -4px;
	}

	.dvl-bjk-intro {
		max-width: 460px;
		margin-top: 23px;
	}

	.dvl-bjk-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 19px;
	}

	.dvl-bjk-navigation {
		margin-top: 34px;
	}
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 560px) {
	.dvl-bjk-shell {
		width: calc(100% - 22px);
		padding: 42px 0 58px;
	}

	.dvl-bjk-header {
		margin-bottom: 29px;
	}

	.dvl-bjk-title {
		font-size: 59px;
		line-height: .92;
		letter-spacing: -3px;
	}

	.dvl-bjk-intro {
		margin-top: 18px;
		font-size: 11px;
	}

	.dvl-bjk-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.dvl-bjk-card-body {
		min-height: 212px;
	}

	.dvl-bjk-card-title {
		font-size: 25px;
	}

	.dvl-bjk-navigation {
		margin-top: 30px;
	}

	.dvl-bjk-arrow {
		width: 42px;
		height: 42px;
	}
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
	.dvl-bjk-slide.is-active {
		animation: none !important;
	}

	.dvl-bjk-card,
	.dvl-bjk-image,
	.dvl-bjk-arrow {
		transition: none !important;
	}
}


/* =========================================================
   V3 — EXACTLY TWO SLIDES
   Slide 01: first 8 published posts
   Slide 02: every remaining published post
========================================================= */

.dvl-bjk-slide[data-dvl-slide="1"] .dvl-bjk-grid {
	align-items: stretch;
}

/* Slide 02 can contain more than 8 cards and simply grows downward. */
.dvl-bjk-slide[data-dvl-slide="1"] {
	min-height: 1px;
}


/* =========================================================
   V4 — FIXED EMPTY SLOTS
   Every slide always has exactly 8 equal cards.
========================================================= */

.dvl-bjk-card-empty {
	background: #faf9f6;
	border-color: rgba(155, 139, 90, .18);
}

.dvl-bjk-card-empty:hover {
	transform: none;
	box-shadow: none;
	border-color: rgba(155, 139, 90, .18);
}

.dvl-bjk-empty-slot {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	min-height: 100%;
}

.dvl-bjk-empty-media {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 100%;
	aspect-ratio: 4 / 5;

	background: #efeee9;
}

.dvl-bjk-empty-media span {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 31px;
	font-style: italic;
	font-weight: 400;

	color: #9b8b5a;
	opacity: .45;
}

.dvl-bjk-empty-body {
	display: flex;
	flex: 1;
	flex-direction: column;

	min-height: 228px;
	padding: 21px 19px 19px;
}

.dvl-bjk-empty-kicker {
	margin-bottom: 9px;

	font-family: Arial, Helvetica, sans-serif;
	font-size: 8px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 2px;

	color: #9b8b5a;
	opacity: .65;
}

.dvl-bjk-empty-title {
	margin-bottom: 14px;

	font-family: Georgia, "Times New Roman", serif;
	font-size: 23px;
	font-weight: 400;
	line-height: 1.08;

	color: #77736a;
}

.dvl-bjk-empty-body p {
	max-width: 220px;
	margin: 0;

	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: 400;
	line-height: 1.55;

	color: #a09d95;
}

@media (max-width: 560px) {
	.dvl-bjk-empty-body {
		min-height: 212px;
	}
}


/* =========================================================
   V15 — DIRECT CARD IMAGE + FULL CLICK TARGET
========================================================= */

.dvl-bjk-card-filled .dvl-bjk-card-link {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
}

.dvl-bjk-card-filled .dvl-bjk-media {
	position: relative;
	overflow: hidden;
	background: #deddd9;
}

.dvl-bjk-card-filled .dvl-bjk-image {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center !important;
	opacity: 1 !important;
	visibility: visible !important;
}

/* No first-load fade: article card is already server-rendered. */
.dvl-bjk-slide.is-active {
	animation: none !important;
}
