.bg-section {
	background: var(--bg-bg, #eae4d6);
	padding: 60px 20px 70px;
	max-width: 1100px;
	margin: 0 auto;
	font-family: 'EB Garamond', Georgia, serif;
	box-sizing: border-box;
}

/* Category Navigation */
.bg-cats {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 45px;
	margin-bottom: 50px;
	flex-wrap: wrap;
}

.bg-cats a.bg-cat-tab {
	font-family: 'Eagle Lake', Georgia, serif;
	color: var(--bg-cat, #340e0e);
	text-decoration: none;
	font-size: 1.15rem;
	letter-spacing: 0.03em;
	padding-bottom: 4px;
	transition: all 0.2s ease;
	position: relative;
	border-bottom: 2px solid transparent;
	cursor: pointer;
}

.bg-cats a.bg-cat-tab:hover,
.bg-cats a.bg-cat-tab.active {
	border-bottom-color: var(--bg-cat, #340e0e);
}

/* Featured Section */
.bg-featured-wrap {
	width: 100%;
	margin-top: 35px;
	margin-bottom: 50px;
	position: relative;
}

.bg-featured {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	position: relative !important;
	width: 100% !important;
	max-width: 960px !important;
	margin: 35px auto 30px !important;
}

.bg-featured-media {
	flex: 1 1 66% !important;
	width: 66% !important;
	position: relative !important;
	border-radius: 20px !important;
	overflow: visible !important;
	background: transparent !important;
	z-index: 1 !important;
}

.bg-media-link {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	aspect-ratio: 16 / 10 !important;
	border-radius: 20px !important;
	overflow: hidden !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
	text-decoration: none !important;
	background: transparent !important;
}

.bg-featured-media img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center center !important;
	display: block !important;
	border-radius: 20px !important;
	background: transparent !important;
}

.bg-featured-placeholder {
	width: 100% !important;
	height: 100% !important;
	border-radius: 20px !important;
	background: #e5dfd2 !important;
	display: block !important;
}

/* Top-Left Circular Badge */
.bg-badge {
	position: absolute !important;
	top: -30px !important;
	left: -28px !important;
	width: 115px !important;
	height: 115px !important;
	border-radius: 50% !important;
	background: var(--bg-panel-bg, #340e0e) !important;
	color: var(--bg-panel-text, #ebe5d7) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	font-family: 'EB Garamond', Garamond, Georgia, serif !important;
	font-style: italic !important;
	font-weight: 500 !important;
	font-size: 0.72rem !important;
	line-height: 1.2 !important;
	padding: 14px !important;
	z-index: 10 !important;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28) !important;
	box-sizing: border-box !important;
}

@media (min-width: 901px) {
	.bg-badge {
		width: 100px !important;
		height: 100px !important;
		font-size: 0.68rem !important;
		line-height: 1.15 !important;
		padding: 12px !important;
	}
}

/* Play Button */
.bg-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--bg-play-bg, rgba(255, 255, 255, 0.32));
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, 0.4);
	color: var(--bg-play-icon, #ffffff);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
	transition: transform 0.25s ease, background 0.25s ease;
	z-index: 3;
}

.bg-media-link:hover .bg-play,
.bg-card-media:hover .bg-play {
	transform: translate(-50%, -50%) scale(1.12);
	background: rgba(255, 255, 255, 0.5);
}

.bg-play.bg-play-large {
	width: 60px;
	height: 60px;
}

.bg-play svg {
	display: block;
	margin-left: 2px;
}

/* Right Overlapping Tall Card (Taller than Featured Image & Deep Overlap) */
.bg-panel {
	flex: 0 0 320px !important;
	width: 320px !important;
	margin-left: -95px !important;
	margin-top: -35px !important;
	margin-bottom: -35px !important;
	min-height: 490px !important;
	z-index: 5 !important;
	background: var(--bg-panel-bg, #340e0e) !important;
	color: var(--bg-panel-text, #ebe5d7) !important;
	border-radius: 20px !important;
	padding: 48px 28px !important;
	box-shadow: -6px 16px 42px rgba(0, 0, 0, 0.35) !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	align-items: center !important;
	text-align: center !important;
	box-sizing: border-box !important;
	align-self: center !important;
	position: relative !important;
}

.bg-panel-icon {
	margin-bottom: 14px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: var(--bg-panel-text, #ebe5d7);
}

.bg-panel-custom-icon {
	max-height: 46px;
	max-width: 55px;
	object-fit: contain;
	display: block;
}

.bg-panel-title {
	font-family: 'Eagle Lake', Georgia, serif;
	font-size: 1.35rem;
	font-weight: 400;
	margin: 0 0 14px;
	color: var(--bg-panel-text, #ebe5d7);
	line-height: 1.3;
}

.bg-panel-body {
	font-family: 'EB Garamond', Georgia, serif;
	font-size: 0.92rem;
	line-height: 1.65;
	opacity: 0.88;
	font-style: italic;
	margin: 0;
	color: var(--bg-panel-text, #ebe5d7);
}

/* Info Below Featured Card */
.bg-featured-info {
	padding-top: 18px !important;
	text-align: left !important;
	width: 100% !important;
	max-width: 960px !important;
	margin: 0 auto !important;
}

.bg-featured-title {
	font-family: 'Eagle Lake', Georgia, serif;
	font-size: 1.3rem;
	font-weight: 400;
	margin: 0 0 4px;
	line-height: 1.3;
}

.bg-featured-title a {
	color: var(--bg-title, #340e0e);
	text-decoration: none;
}

.bg-featured-title a:hover {
	opacity: 0.85;
}

.bg-featured-subtitle {
	font-family: 'EB Garamond', Georgia, serif;
	font-size: 0.95rem;
	font-style: italic;
	color: var(--bg-date, #6b5e52);
	margin: 0;
}

/* Grid of Posts */
.bg-grid {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 30px !important;
	margin-top: 50px !important;
}

.bg-card,
a.bg-card,
a.bg-card:link,
a.bg-card:visited,
a.bg-card:hover,
a.bg-card:focus,
a.bg-card:active {
	display: flex !important;
	flex-direction: column !important;
	text-align: left !important;
	color: var(--bg-title, #340e0e) !important;
	text-decoration: none !important;
	border-bottom: none !important;
	box-shadow: none !important;
	outline: none !important;
}

.bg-card-media {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	aspect-ratio: 16 / 10 !important;
	border-radius: 18px !important;
	overflow: hidden !important;
	background: transparent !important;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08) !important;
	transition: transform 0.3s ease, box-shadow 0.3s ease !important;
	text-decoration: none !important;
	border: none !important;
	border-bottom: none !important;
}

.bg-card-media:hover {
	transform: translateY(-4px) !important;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16) !important;
	text-decoration: none !important;
}

.bg-card-media img {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: center center !important;
	display: block !important;
	border-radius: 18px !important;
	background: transparent !important;
	margin: 0 !important;
	padding: 0 !important;
}

.bg-card-placeholder {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	border-radius: 18px !important;
	background: #e5dfd2 !important;
	display: block !important;
}

.bg-card-content {
	padding-top: 14px !important;
}

.bg-card-title {
	font-family: 'Eagle Lake', Georgia, serif !important;
	font-size: 1.18rem !important;
	font-weight: 400 !important;
	margin: 0 0 4px !important;
	line-height: 1.3 !important;
	color: var(--bg-title, #340e0e) !important;
	text-decoration: none !important;
	border-bottom: none !important;
	box-shadow: none !important;
}
a.bg-card:hover .bg-card-title {
	opacity: 0.85 !important;
	color: var(--bg-title, #340e0e) !important;
	text-decoration: none !important;
}

.bg-featured-title a,
.bg-card-title a {
	color: var(--bg-title, #340e0e) !important;
	text-decoration: none !important;
	border-bottom: none !important;
	box-shadow: none !important;
}

.bg-featured-title a:hover,
.bg-card-title a:hover {
	opacity: 0.85 !important;
	text-decoration: none !important;
}

.bg-card-excerpt {
	font-family: 'EB Garamond', Georgia, serif !important;
	font-size: 0.95rem !important;
	font-style: italic !important;
	color: var(--bg-date, #6b5e52) !important;
	margin: 0 !important;
	line-height: 1.4 !important;
}

/* Load More Button */
.bg-btn-wrap {
	text-align: center;
	margin-top: 55px;
}

.bg-load-btn {
	display: inline-block;
	padding: 13px 44px;
	background: var(--bg-btn-bg, #340e0e);
	color: var(--bg-btn-text, #ebe5d7);
	border: none;
	border-radius: 26px;
	font-family: 'EB Garamond', Georgia, serif;
	font-size: 1rem;
	font-weight: 500;
	cursor: pointer;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
	transition: all 0.25s ease;
	outline: none;
}

.bg-load-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
	opacity: 0.95;
}

.bg-load-btn[disabled] {
	opacity: 0.5;
	cursor: default;
	transform: none;
}

/* Responsive */
@media (max-width: 860px) {
	.bg-featured {
		flex-direction: column !important;
		margin: 20px auto !important;
	}
	.bg-featured-media {
		flex: 1 1 100% !important;
		width: 100% !important;
	}
	.bg-media-link {
		height: auto !important;
	}
	.bg-panel {
		flex: 1 1 100% !important;
		width: 100% !important;
		margin-left: 0 !important;
		margin-top: -25px !important;
		margin-bottom: 0 !important;
		min-height: auto !important;
		padding: 35px 22px !important;
	}
	.bg-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 22px !important;
	}
}

@media (max-width: 580px) {
	.bg-section {
		padding: 40px 15px 50px !important;
	}
	.bg-cats {
		gap: 25px !important;
		margin-bottom: 35px !important;
	}
	.bg-badge {
		width: 90px !important;
		height: 90px !important;
		font-family: 'EB Garamond', Garamond, Georgia, serif !important;
		font-size: 0.7rem !important;
		top: -18px !important;
		left: -15px !important;
	}
	.bg-media-link {
		height: auto !important;
	}
	.bg-grid {
		grid-template-columns: 1fr !important;
		gap: 25px !important;
	}
	.bg-load-btn {
		width: 100% !important;
		max-width: 260px !important;
	}
}


/* Lightbox */
.bg-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
}
.bg-lightbox.is-open { display: flex; }
.bg-lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 10, 10, 0.82);
	backdrop-filter: blur(4px);
}
.bg-lightbox-dialog {
	position: relative;
	z-index: 1;
	width: min(960px, 100%);
	max-height: 90vh;
}
.bg-lightbox-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #1a1210;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 24px 80px rgba(0,0,0,0.45);
}
.bg-lightbox-frame iframe,
.bg-lightbox-frame img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: contain;
	object-position: center;
	background: #110c0a;
}
.bg-lightbox-close {
	position: absolute !important;
	top: -16px !important;
	right: -16px !important;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	min-height: 40px !important;
	max-width: 40px !important;
	max-height: 40px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #ebe5d7 !important;
	color: #340e0e !important;
	font-size: 26px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	cursor: pointer !important;
	box-shadow: 0 6px 18px rgba(0,0,0,0.25) !important;
	z-index: 2 !important;
	appearance: none !important;
	-webkit-appearance: none !important;
}
.bg-lightbox-frame video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: contain;
	background: #110c0a;
}
@media (max-width: 700px) {
	.bg-lightbox-close { top: -8px; right: 0; }
	.bg-media-link { aspect-ratio: 4 / 5 !important; max-height: none !important; }
}


/* Whole card opens lightbox — no separate post pages */
.bg-card[data-bg-lightbox] {
	cursor: pointer;
}
.bg-card-title a,
.bg-featured-title a.bg-open-lightbox {
	cursor: pointer;
}
.bg-card-excerpt {
	cursor: pointer;
}
