.blog-page { overflow: hidden; }

.blog-hero {
	position: relative;
	display: grid;
	grid-template-columns: 58% 42%;
	min-height: min(42vw, 760px);
	color: var(--white);
	background: var(--navy);
}
.blog-hero__image { min-height: inherit; }
.blog-hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.blog-hero__copy {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(3rem, 5vw, 6rem) clamp(2rem, 4vw, 5rem); padding-left: clamp(5rem, 11vw, 14rem);
	margin-left: -8vw;
	background: var(--navy);
	clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}
.blog-hero__copy::after {
	position: absolute;
	right: 4%;
	bottom: 2%;
	width: min(60%, 410px);
	height: 320px;
	background: url("../images/shared/Watermark Logo Levefort Branco.png") center / contain no-repeat;
	opacity: .045;
	content: "";
}
.blog-hero h1 {
	position: relative;
	z-index: 1;
	margin-bottom: 1.5rem;
	font-family: var(--heading-font);
	font-size: clamp(3rem, 5vw, 6.3rem);
	font-weight: 300;
	line-height: .96;
	text-align: center;
	text-transform: uppercase;
}
.blog-hero h1 strong { font-weight: 800; }
.blog-hero__copy p {
	position: relative;
	z-index: 1;
	max-width: 570px;
	margin-right: auto;
	margin-left: auto;
	font-size: clamp(.9rem, 1vw, 1.1rem);
	text-align: center;
}
.blog-hero .whatsapp-float { right: 2.5rem; bottom: 2rem; }

.blog-listing {
	color: var(--ink);
	background: var(--white);
}
.blog-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
	gap: clamp(3rem, 6vw, 7rem);
	align-items: start;
}
.blog-content > h2 {
	margin: 0 0 clamp(1.5rem, 2.7vw, 2.7rem);
	font-size: clamp(1.25rem, 1.7vw, 1.75rem);
	line-height: 1.1;
	text-transform: uppercase;
}
.blog-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(2.5rem, 4vw, 4rem) clamp(1rem, 2vw, 2rem);
}
.blog-card { min-width: 0; }
.blog-card__image {
	display: block;
	overflow: hidden;
	aspect-ratio: 1.38 / 1;
	background: #dce3e6;
}
.blog-card__image img,
.blog-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 320ms ease;
}
.blog-card__placeholder {
	background: var(--navy) url("../images/blog/BLOG_Header.png") center / cover no-repeat;
}
.blog-card:hover .blog-card__image img,
.blog-card:hover .blog-card__placeholder { transform: scale(1.035); }
.blog-card__body { padding-top: .9rem; }
.blog-card time {
	display: block;
	margin-bottom: .4rem;
	color: #81909b;
	font-size: .64rem;
	text-transform: uppercase;
	letter-spacing: .06em;
}
.blog-card h3 {
	margin: 0 0 .55rem;
	font-size: clamp(.95rem, 1.2vw, 1.15rem);
	line-height: 1.25;
}
.blog-card h3 a { color: inherit; }
.blog-card p {
	margin-bottom: .9rem;
	color: #65727c;
	font-size: .77rem;
	line-height: 1.45;
}
.blog-card .text-link { color: #607285; font-size: .6rem; }

.blog-sidebar { position: sticky; top: calc(var(--header-height) + 2rem); }
.blog-search {
	position: relative;
	margin-bottom: 2.2rem;
}
.blog-search input[type="search"] {
	width: 100%;
	height: 38px;
	padding: 0 42px 0 15px;
	border: 0;
	border-radius: 999px;
	outline: 0;
	color: var(--ink);
	background: #f2f3f3;
	font-size: .72rem;
}
.blog-search input[type="search"]:focus {
	box-shadow: 0 0 0 2px rgba(21, 155, 211, .25);
}
.blog-search button {
	position: absolute;
	top: 50%;
	right: 9px;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	color: #7b8993;
	background: transparent;
	cursor: pointer;
	transform: translateY(-50%);
}
.blog-search button span {
	position: relative;
	display: block;
	width: 11px;
	height: 11px;
	border: 1.5px solid currentColor;
	border-radius: 50%;
}
.blog-search button span::after {
	position: absolute;
	right: -4px;
	bottom: -3px;
	width: 5px;
	height: 1.5px;
	background: currentColor;
	content: "";
	transform: rotate(45deg);
}
.blog-archive h2 {
	margin: 0 0 .65rem;
	font-size: .78rem;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: .03em;
}
.blog-archive ul { margin: 0; padding: 0; list-style: none; }
.blog-archive li {
	padding: .38rem 0;
	border-bottom: 1px solid #eef0f1;
	color: #7a8790;
	font-size: .72rem;
}
.blog-archive a { color: var(--ink); }
.blog-archive a:hover { color: var(--blue); }

.blog-empty {
	padding: clamp(2rem, 4vw, 4rem);
	background: #f3f5f5;
}
.blog-empty h3 {
	margin: 0 0 .75rem;
	font-family: var(--heading-font);
	font-size: clamp(1.6rem, 2.6vw, 2.7rem);
	font-weight: 300;
	text-transform: uppercase;
}
.blog-empty p { max-width: 600px; margin: 0; color: #66737d; }

.blog-pagination { margin-top: clamp(3rem, 5vw, 5rem); }
.blog-pagination .page-numbers {
	display: flex;
	gap: .55rem;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}
.blog-pagination a,
.blog-pagination span.page-numbers {
	display: grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	padding: 0 .55rem;
	border: 1px solid #cbd3d8;
	border-radius: 999px;
	color: var(--ink);
	font-size: .72rem;
}
.blog-pagination .current {
	border-color: var(--navy) !important;
	color: var(--white) !important;
	background: var(--navy);
}

@media (max-width: 900px) {
	.blog-hero { grid-template-columns: 1fr; min-height: auto; }
	.blog-hero__image { min-height: 58vw; }
	.blog-hero__copy {
		min-height: 420px;
		padding: 4rem var(--gutter);
		margin-left: 0;
		clip-path: none;
	}
	.blog-hero .whatsapp-float { right: 1.25rem; bottom: 1.25rem; }
	.blog-layout { grid-template-columns: 1fr; }
	.blog-sidebar {
		position: static;
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(220px, .7fr);
		gap: 2rem;
		padding-top: 2.5rem;
		border-top: 1px solid #e3e7e9;
	}
	.blog-search { margin: 0; }
}

@media (max-width: 620px) {
	.blog-hero__image { min-height: 78vw; }
	.blog-hero__copy { min-height: 390px; }
	.blog-hero h1 { font-size: 3rem; }
	.blog-grid { grid-template-columns: 1fr; gap: 3rem; }
	.blog-card__image { aspect-ratio: 1.45 / 1; }
	.blog-card h3 { font-size: 1.05rem; }
	.blog-card p { font-size: .8rem; }
	.blog-sidebar { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.blog-card__image img,
	.blog-card__placeholder { transition: none; }
}
