/* GoldLine homepage — Blog section (Bento) */

.gl-home-blog {
	position: relative;
	overflow: hidden;
}

.gl-home-blog .gl-blog-intro__icon {
	width: 56px;
	height: 56px;
	margin-bottom: 20px;
	border-radius: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.gl-home-blog .gl-blog-intro__icon i {
	font-size: 26px;
}

.gl-home-blog .gl-blog-intro__lead {
	margin: 16px 0 0;
	font-size: 17px;
	line-height: 1.55;
}

.gl-home-blog .gl-blog-intro__cta {
	margin-top: 24px;
}

.gl-home-blog .gl-blog-card__tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.gl-home-blog .gl-blog-card__tag i {
	font-size: 12px;
	opacity: 0.85;
}

.gl-home-blog .gl-blog-card__title {
	margin: 0;
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1.35;
	font-weight: 700;
}

.gl-home-blog .gl-blog-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.gl-home-blog .gl-blog-card__excerpt {
	margin: 10px 0 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--text-color);
}

.gl-home-blog .gl-blog-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	font-size: 15px;
	font-weight: 600;
	color: var(--accent-color);
	text-decoration: none;
	transition: gap 0.2s ease, color 0.2s ease;
}

.gl-home-blog .gl-blog-card__link i {
	font-size: 13px;
	transition: transform 0.2s ease;
}

.gl-home-blog .gl-blog-card__link:hover {
	color: var(--primary-color);
	gap: 12px;
}

.gl-home-blog .gl-blog-card__link:hover i {
	transform: translateX(3px);
}

.gl-home-blog .gl-blog-card__link:focus-visible {
	outline: 2px solid var(--accent-secondary-color);
	outline-offset: 3px;
	border-radius: 4px;
}

/* ── Bento layout ── */
.gl-blog-v3 {
	padding: 88px 0 72px;
	background: linear-gradient(180deg, var(--secondary-color) 0%, var(--bg-color) 100%);
}

.gl-blog-v3 .gl-blog-bento {
	display: grid;
	grid-template-columns: 1.12fr 0.88fr;
	grid-template-rows: auto auto auto;
	gap: 20px;
}

/* Intro panel — top-right on desktop */
.gl-blog-v3 .gl-blog-bento__intro {
	grid-column: 2;
	grid-row: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 28px 32px;
	border-radius: 20px;
	background: var(--white-color);
	border: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.04);
}

.gl-blog-v3 .gl-blog-bento__intro .gl-blog-intro__icon {
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(97, 83, 40, 0.15);
	color: var(--accent-color);
	margin-bottom: 16px;
}

.gl-blog-v3 .gl-blog-bento__intro .gl-blog-intro__lead {
	color: var(--text-color);
	max-width: none;
}

.gl-blog-v3 .gl-blog-bento__intro .gl-blog-intro__cta {
	margin-top: 20px;
}

.gl-blog-v3 .gl-blog-bento__intro .section-title {
	margin-bottom: 0;
}

/* Hero — left column, spans all rows */
.gl-blog-v3 .gl-blog-bento__hero {
	grid-column: 1;
	grid-row: 1 / 4;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 520px;
	border-radius: 24px;
	overflow: hidden;
	background: var(--primary-color);
}

.gl-blog-v3 .gl-blog-bento__hero-media {
	position: absolute;
	inset: 0;
}

.gl-blog-v3 .gl-blog-bento__hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.gl-blog-v3 .gl-blog-bento__hero:hover .gl-blog-bento__hero-media img {
	transform: scale(1.04);
}

.gl-blog-v3 .gl-blog-bento__hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.08) 50%, transparent 100%);
	pointer-events: none;
}

.gl-blog-v3 .gl-blog-bento__hero-body {
	position: relative;
	z-index: 1;
	padding: 24px;
	color: var(--white-color);
}

/* Blur panel for readable text on image */
.gl-blog-v3 .gl-blog-bento__hero-panel {
	padding: 22px 26px;
	border-radius: 16px;
	background: rgba(10, 10, 10, 0.42);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.gl-blog-v3 .gl-blog-bento__hero .gl-blog-card__tag {
	color: var(--accent-secondary-color);
	margin-bottom: 10px;
}

.gl-blog-v3 .gl-blog-bento__hero .gl-blog-card__title {
	font-size: clamp(22px, 2.5vw, 30px);
	color: var(--white-color);
}

.gl-blog-v3 .gl-blog-bento__hero .gl-blog-card__title a:hover {
	color: var(--accent-secondary-color);
}

.gl-blog-v3 .gl-blog-bento__hero .gl-blog-card__excerpt {
	color: rgba(255, 255, 255, 0.9);
	max-width: 48ch;
}

.gl-blog-v3 .gl-blog-bento__hero .gl-blog-card__link {
	color: var(--accent-secondary-color);
	margin-top: 14px;
}

.gl-blog-v3 .gl-blog-bento__hero .gl-blog-card__link:hover {
	color: var(--white-color);
}

/* Side cards — right column rows 2 & 3 */
.gl-blog-v3 .gl-blog-bento__side {
	grid-column: 2;
	display: flex;
	gap: 16px;
	padding: 20px;
	border-radius: 20px;
	background: var(--white-color);
	border: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.04);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.gl-blog-v3 .gl-blog-bento > .gl-blog-bento__side:nth-child(3) {
	grid-row: 2;
}

.gl-blog-v3 .gl-blog-bento > .gl-blog-bento__side:nth-child(4) {
	grid-row: 3;
}

.gl-blog-v3 .gl-blog-bento__side:hover {
	transform: translateX(4px);
	box-shadow: 0 14px 36px rgba(97, 83, 40, 0.1);
}

.gl-blog-v3 .gl-blog-bento__side-thumb {
	flex: 0 0 120px;
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 1;
}

.gl-blog-v3 .gl-blog-bento__side-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gl-blog-v3 .gl-blog-bento__side-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.gl-blog-v3 .gl-blog-bento__side .gl-blog-card__tag {
	color: var(--accent-color);
	margin-bottom: 6px;
	font-size: 11px;
}

.gl-blog-v3 .gl-blog-bento__side .gl-blog-card__title {
	font-size: 17px;
}

.gl-blog-v3 .gl-blog-bento__side .gl-blog-card__excerpt {
	font-size: 14px;
	margin-top: 6px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.gl-blog-v3 .gl-blog-bento__side .gl-blog-card__link {
	margin-top: 10px;
	font-size: 14px;
}

/* ── Responsive ── */
@media only screen and (max-width: 991px) {
	.gl-blog-v3 .gl-blog-bento {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}

	.gl-blog-v3 .gl-blog-bento__intro {
		grid-column: 1;
		grid-row: auto;
		order: 1;
	}

	.gl-blog-v3 .gl-blog-bento__hero {
		grid-column: 1;
		grid-row: auto;
		order: 2;
		min-height: 360px;
	}

	.gl-blog-v3 .gl-blog-bento > .gl-blog-bento__side:nth-child(3) {
		grid-column: 1;
		grid-row: auto;
		order: 3;
	}

	.gl-blog-v3 .gl-blog-bento > .gl-blog-bento__side:nth-child(4) {
		grid-column: 1;
		grid-row: auto;
		order: 4;
	}
}

@media only screen and (max-width: 767px) {
	.gl-blog-v3 {
		padding: 64px 0 48px;
	}

	.gl-blog-v3 .gl-blog-bento__intro {
		padding: 24px 20px;
	}

	.gl-blog-v3 .gl-blog-bento__hero {
		min-height: 300px;
	}

	.gl-blog-v3 .gl-blog-bento__hero-body {
		padding: 20px 16px;
	}

	.gl-blog-v3 .gl-blog-bento__hero-panel {
		padding: 18px 20px;
	}

	.gl-blog-v3 .gl-blog-bento__side {
		flex-direction: column;
	}

	.gl-blog-v3 .gl-blog-bento__side-thumb {
		flex: none;
		width: 100%;
		aspect-ratio: 16 / 9;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gl-blog-v3 .gl-blog-bento__hero-media img,
	.gl-blog-v3 .gl-blog-bento__side,
	.gl-home-blog .gl-blog-card__link,
	.gl-home-blog .gl-blog-card__link i {
		transition: none;
	}

	.gl-blog-v3 .gl-blog-bento__side:hover {
		transform: none;
	}
}
