:root {
	--bg-bg: #eeeeee;
	--bg-navy: #173e62;
	--bg-tan: #bda588;
	--bg-white: #ffffff;
	--bg-muted: #8a9aaa;
	--bg-text: #2a2a2a;
	--bg-border: #e4e8ec;
	--bg-light: #f6f7f9;
}

/* ── Section ── */
.bgs-section {
	background: var(--bg-bg);
	padding: 80px 0 100px;
}

/* ═══════════════════════
   POST CARDS
═══════════════════════ */
.bgs-post {
	background: var(--bg-white);
	margin-bottom: 32px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(23, 62, 98, 0.07);
	border: 1px solid rgba(23, 62, 98, 0.06);
	transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.bgs-post:hover {
	box-shadow: 0 16px 52px rgba(23, 62, 98, 0.14);
	transform: translateY(-5px);
}

/* Image */
.bgs-post-img {
	position: relative;
	overflow: hidden;
	height: 310px;
}

.bgs-post-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
	filter: brightness(0.93);
}

.bgs-post:hover .bgs-post-img img {
	transform: scale(1.05);
	filter: brightness(1);
}

/* Image overlay gradient */
.bgs-post-img::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, transparent 50%, rgba(23, 62, 98, 0.18) 100%);
	pointer-events: none;
}

/* Tags on image */
.bgs-img-tags {
	position: absolute;
	bottom: 16px;
	left: 18px;
	z-index: 2;
	display: flex;
	gap: 6px;
}

.bgs-tag {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	padding: 5px 11px;
	border-radius: 3px;
	backdrop-filter: blur(8px);
}

.bgs-tag-tips {
	background: rgba(189, 165, 136, 0.92);
	color: #fff;
}

.bgs-tag-uncat {
	background: rgba(23, 62, 98, 0.85);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Body */
.bgs-post-body {
	padding: 28px 32px 32px;
}

/* Title */
.bgs-post-title {
	font-size: 24px;
	font-weight: 600;
	color: var(--bg-navy);
	line-height: 1.3;
	margin-bottom: 10px;
	text-decoration: none;
	display: block;
	transition: color 0.25s;
}

.bgs-post-title:hover {
	color: var(--bg-tan);
}

/* Meta */
.bgs-post-meta {
	font-size: 12px;
	color: var(--bg-muted);
	font-weight: 300;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.bgs-meta-dot {
	width: 3px;
	height: 3px;
	background: var(--bg-tan);
	border-radius: 50%;
	display: inline-block;
}

.bgs-post-meta a {
	color: var(--bg-navy);
	font-weight: 600;
	font-size: 12px;
	text-decoration: none;
	transition: color 0.2s;
}

.bgs-post-meta a:hover {
	color: var(--bg-tan);
}

/* Divider */
.bgs-divider {
	height: 1px;
	background: var(--bg-border);
	margin-bottom: 20px;
	position: relative;
}

.bgs-divider::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 48px;
	height: 1px;
	background: var(--bg-tan);
}

/* Excerpt */
.bgs-excerpt {
	font-size: 14px;
	color: #6a7a86;
	font-weight: 300;
	line-height: 1.8;
	margin-bottom: 24px;
}

/* Read More */
.bgs-read-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: var(--bg-navy);
	text-decoration: none;
	transition: gap 0.3s, color 0.25s;
	position: relative;
	padding-bottom: 3px;
}

.bgs-read-more::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 1px;
	background: var(--bg-tan);
	transition: width 0.35s ease;
}

.bgs-read-more:hover {
	color: var(--bg-tan);
	gap: 13px;
}

.bgs-read-more:hover::after {
	width: 100%;
}

.bgs-arrow {
	font-size: 15px;
	line-height: 1;
	transition: transform 0.3s;
}

.bgs-read-more:hover .bgs-arrow {
	transform: translateX(4px);
}


/* ═══════════════════════
   SIDEBAR
═══════════════════════ */
.bgs-sidebar {
	position: sticky;
	top: 30px;
}

/* Widget */
.bgs-widget {
	background: var(--bg-white);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(23, 62, 98, 0.07);
	border: 1px solid rgba(23, 62, 98, 0.05);
	margin-bottom: 24px;
}

/* Search */
.bgs-search-box {
	display: flex;
	align-items: center;
	padding: 4px 6px 4px 18px;
	gap: 6px;
}

.bgs-search-input {
	flex: 1;
	border: none;
	outline: none;
	padding: 11px 0;
	font-size: 13px;
	color: var(--bg-text);
	font-weight: 300;
	background: transparent;
}

.bgs-search-input::placeholder {
	color: #c0c8d0;
	font-size: 13px;
}

.bgs-search-btn {
	background: var(--bg-navy);
	border: none;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.25s, transform 0.2s;
	flex: 0 0 36px;
}

.bgs-search-btn:hover {
	background: #0e2b47;
	transform: scale(1.05);
}

.bgs-search-btn svg {
	width: 14px;
	height: 14px;
	stroke: #fff;
	fill: none;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Widget head */
.bgs-widget-head {
	padding: 20px 22px 16px;
	border-bottom: 1px solid var(--bg-border);
}

.bgs-widget-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--bg-navy);
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
}

.bgs-widget-title::before {
	content: '';
	width: 4px;
	height: 18px;
	background: linear-gradient(180deg, var(--bg-navy), var(--bg-tan));
	border-radius: 2px;
	flex: 0 0 4px;
}

/* Recent list */
.bgs-recent-list {
	padding: 8px 20px 14px;
}

.bgs-recent-item {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	padding: 11px 0;
	border-bottom: 1px solid var(--bg-border);
	text-decoration: none;
	transition: transform 0.25s;
}

.bgs-recent-item:last-child {
	border-bottom: none;
	padding-bottom: 2px;
}

.bgs-recent-item:hover {
	transform: translateX(4px);
}

.bgs-recent-thumb {
	flex: 0 0 62px;
	width: 62px;
	height: 52px;
	border-radius: 6px;
	overflow: hidden;
}

.bgs-recent-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.bgs-recent-item:hover .bgs-recent-thumb img {
	transform: scale(1.1);
}

.bgs-recent-info {
	flex: 1;
}

.bgs-recent-name {
	font-size: 13px;
	font-weight: 500;
	color: var(--bg-navy);
	line-height: 1.4;
	margin-bottom: 5px;
	display: block;
	transition: color 0.2s;
}

.bgs-recent-item:hover .bgs-recent-name {
	color: var(--bg-tan);
}

.bgs-recent-date {
	font-size: 11px;
	color: var(--bg-muted);
	font-weight: 300;
	display: flex;
	align-items: center;
	gap: 5px;
}

.bgs-recent-date::before {
	content: '';
	width: 12px;
	height: 1px;
	background: var(--bg-tan);
	display: inline-block;
}

/* Categories */
.bgs-cat-list {
	list-style: none;
	padding: 10px 20px 16px;
	margin: 0;
}

.bgs-cat-item {
	border-bottom: 1px solid var(--bg-border);
}

.bgs-cat-item:last-child {
	border-bottom: none;
}

.bgs-cat-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 11px 0;
	font-size: 13px;
	font-weight: 400;
	color: #5a6a78;
	text-decoration: none;
	transition: color 0.25s, padding-left 0.3s;
}

.bgs-cat-link:hover {
	color: var(--bg-navy);
	padding-left: 6px;
}

.bgs-cat-left {
	display: flex;
	align-items: center;
	gap: 10px;
}

.bgs-cat-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--bg-border);
	transition: background 0.25s, transform 0.25s;
	flex: 0 0 6px;
}

.bgs-cat-link:hover .bgs-cat-dot {
	background: var(--bg-tan);
	transform: scale(1.4);
}

.bgs-cat-arrow {
	font-size: 12px;
	color: var(--bg-tan);
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity 0.25s, transform 0.25s;
}

.bgs-cat-link:hover .bgs-cat-arrow {
	opacity: 1;
	transform: translateX(0);
}

/* ── Responsive ── */
@media (max-width: 991px) {
	.bgs-sidebar {
		position: static;
		margin-top: 36px;
	}
}

@media (max-width: 767px) {
	.bgs-section {
		padding: 50px 0 70px;
	}

	.bgs-post-img {
		height: 220px;
	}

	.bgs-post-body {
		padding: 22px 20px 26px;
	}

	.bgs-post-title {
		font-size: 20px;
	}
}