/* ═══════════════════════════════════════════════════════════════
   Houngnibo – Featured Article Widget
   ═══════════════════════════════════════════════════════════════ */

.hgb-featured {
	position: relative;
	background-color: transparent;
	padding-top: 4rem;
	padding-bottom: 4rem;
	font-family: "Montserrat", sans-serif;
	box-sizing: border-box;
}

.hgb-featured__container {
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 3rem);
	box-sizing: border-box;
}

/* Eyebrow Top Bar */
.hgb-featured__top-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 2rem;
}

.hgb-featured__badge-wrap {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.hgb-featured__indicator {
	width: 2rem;
	height: 2px;
	background-color: #825500;
	display: inline-block;
}

.hgb-featured__badge {
	font-size: 10px;
	line-height: 14px;
	letter-spacing: 0.12em;
	font-weight: 700;
	text-transform: uppercase;
	color: #825500;
}

.hgb-featured__recommendation {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 10px;
	line-height: 14px;
	letter-spacing: 0.08em;
	color: #4f453d;
	font-weight: 500;
}

.hgb-featured__rec-icon {
	color: #825500;
	font-size: 16px;
}

/* Asymmetric Card Container */
.hgb-featured__card {
	background-color: #ffffff;
	border: 1px solid #d3c4b9;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.05);
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
	display: grid;
	grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
	.hgb-featured__card {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}
}

.hgb-featured__card:hover {
	box-shadow: 0 20px 30px -10px rgba(50, 29, 8, 0.12);
	border-color: #825500;
}

/* Visual Column (Left, 7 cols) */
.hgb-featured__visual-col {
	position: relative;
	min-height: 380px;
	overflow: hidden;
	background-color: #321d08;
}

@media (min-width: 1024px) {
	.hgb-featured__visual-col {
		grid-column: span 7 / span 7;
		min-height: 520px;
		height: 100%;
	}
}

.hgb-featured__visual-link {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
	cursor: pointer;
	z-index: 1;
}

.hgb-featured__visual-col .hgb-featured__img,
.hgb-featured__card .hgb-featured__img,
img.hgb-featured__img {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: center !important;
	display: block !important;
	filter: brightness(0.95);
	transition: transform 0.7s ease, filter 0.7s ease;
	z-index: 1;
}

.hgb-featured__card:hover .hgb-featured__img {
	transform: scale(1.05);
	filter: brightness(1);
}

.hgb-featured__img-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(30, 16, 4, 0.92) 0%, rgba(30, 16, 4, 0.65) 25%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.35) 100%);
	pointer-events: none;
	z-index: 2;
}

/* Floating Badges (Top-Left) */
.hgb-featured__floating-badges {
	position: absolute;
	top: 1.5rem;
	left: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	z-index: 5;
}

.hgb-featured__badge-event {
	background-color: #825500;
	color: #ffffff;
	font-size: 10px;
	line-height: 14px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 700;
	padding: 0.375rem 0.75rem;
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.hgb-featured__badge-loc {
	background: rgba(50, 29, 8, 0.9);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #ffddb2;
	font-size: 10px;
	line-height: 14px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 600;
	padding: 0.375rem 0.75rem;
	border-radius: 4px;
	border: 1px solid rgba(130, 85, 0, 0.4);
}

/* Floating Meta (Bottom) */
.hgb-featured__floating-meta {
	position: absolute;
	bottom: 1.5rem;
	left: 1.5rem;
	right: 1.5rem;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #ffffff;
	font-size: 11px;
	line-height: 15px;
	letter-spacing: 0.08em;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	padding-top: 1rem;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.hgb-featured__meta-left {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.hgb-featured__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

.hgb-featured__meta-item .hgb-ms {
	font-size: 14px;
}

.hgb-featured__meta-sep {
	opacity: 0.6;
}

.hgb-featured__meta-views {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	color: #ffddb2;
	font-weight: 600;
}

.hgb-featured__meta-views .hgb-ms {
	font-size: 15px;
}

/* Editorial Column (Right, 5 cols) */
.hgb-featured__editorial-col {
	background-color: #f7f3ea;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border-top: 1px solid #d3c4b9;
}

@media (min-width: 1024px) {
	.hgb-featured__editorial-col {
		grid-column: span 5 / span 5;
		padding: 3rem;
		border-top: none;
		border-left: 1px solid #d3c4b9;
	}
}

.hgb-featured__cat {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #825500;
	font-size: 10px;
	line-height: 14px;
	letter-spacing: 0.12em;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
}

.hgb-featured__cat .hgb-icon-wrap,
.hgb-featured__cat .hgb-ms {
	font-size: 16px;
	color: #825500;
}

.hgb-featured__title {
	font-family: "Montserrat Alternates", "Montserrat", sans-serif;
	font-size: clamp(1.375rem, 2vw, 1.75rem);
	line-height: 1.25;
	font-weight: 700;
	color: #321d08;
	margin: 0 0 1rem 0;
	transition: color 0.2s ease;
}

.hgb-featured__title a {
	color: inherit;
	text-decoration: none;
}

.hgb-featured__title a:hover {
	color: #825500;
}

.hgb-featured__excerpt {
	font-size: 14px;
	line-height: 1.6;
	color: #4f453d;
	margin: 0 0 1.5rem 0;
	font-weight: 400;
}

/* Quote Box */
.hgb-featured__quote-box {
	background-color: #f1eee5;
	border-left: 4px solid #825500;
	padding: 1rem 1.25rem;
	border-radius: 0 8px 8px 0;
	margin-bottom: 2rem;
}

.hgb-featured__quote-text {
	font-size: 13px;
	line-height: 1.5;
	font-style: italic;
	color: #1c1c16;
	margin: 0;
}

.hgb-featured__quote-author {
	display: block;
	margin-top: 0.5rem;
	font-size: 10px;
	line-height: 14px;
	letter-spacing: 0.08em;
	font-weight: 700;
	text-transform: uppercase;
	color: #825500;
}

/* Footer / Author & CTA */
.hgb-featured__footer {
	padding-top: 1.5rem;
	border-top: 1px solid #d3c4b9;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.hgb-featured__author {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.hgb-featured__author-avatar {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background-color: #4a321b;
	color: #ffddb2;
	font-weight: 700;
	font-size: 0.875rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.hgb-featured__author-info {
	display: flex;
	flex-direction: column;
}

.hgb-featured__author-name {
	font-size: 12px;
	line-height: 16px;
	letter-spacing: 0.05em;
	font-weight: 700;
	color: #321d08;
}

.hgb-featured__author-role {
	font-size: 10px;
	line-height: 14px;
	color: #4f453d;
}

/* Button */
.hgb-featured__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background-color: #825500;
	color: #ffffff;
	padding: 0.625rem 1.25rem;
	border-radius: 8px;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
	transition: background-color 0.2s ease, transform 0.2s ease;
	white-space: nowrap;
}

.hgb-featured__btn:hover {
	background-color: #624000;
	transform: translateY(-1px);
	color: #ffffff;
}

.hgb-featured__btn .hgb-ms {
	font-size: 16px;
	transition: transform 0.2s ease;
}

.hgb-featured__btn:hover .hgb-ms {
	transform: translateX(2px);
}
