/* Blog listing styles */
.blog-hero{
	position:relative;
	overflow:hidden;
	padding-block:clamp(3rem,7vw,6rem);
	background:
		linear-gradient(90deg,#fff 0%,#fff 36%,rgba(255,255,255,.6) 52%,rgba(255,255,255,0) 68%),
		url('../images/blog/blog-hero.jpg') center right / cover no-repeat;
	background-color:#EAF2FE;
}
.blog-hero-inner{max-width:600px;}
.blog-hero-inner h1{margin-bottom:var(--space-3);}
.blog-hero-inner .lead{max-width:54ch;}
.blog-filter-section.section{padding-bottom:0;}
.blog-listing.section{padding-top:0;}

.filter-row{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:var(--space-5);}
.filter-pill{
	display:inline-flex;
	padding:.6rem 1.1rem;
	border:1px solid var(--border);
	border-radius:999px;
	background:#fff;
	color:var(--ink-muted);
	font-size:.88rem;
	font-weight:600;
	transition:all .18s var(--ease);
	line-height: normal;
}
.filter-pill:hover{border-color:var(--blue-600);color:var(--blue-600);}
.filter-pill.is-active{border-color:var(--navy-900);background:var(--navy-900);color:#fff;}

.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-3);}
.blog-card{overflow:hidden;display:flex;flex-direction:column;}
.blog-card-image-link{display:block;overflow:hidden;}
.blog-card-image{display:block;width:100%;height:190px;object-fit:cover;}
.blog-card-body{display:flex;flex:1;flex-direction:column;gap:.6rem;padding:var(--space-3);}
.blog-card-body .tag{align-self:flex-start;}
.blog-card-body h3 {
    color: var(--navy-900);
    font-size: 1.05rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
}
.blog-card-body h3 a:hover{color:var(--blue-600);}
.blog-card-body p.excerpt{flex:1;color:var(--ink-muted);font-size:.88rem;line-height:1.5;}
.blog-card-foot{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:.5rem;
	padding-top:.6rem;
	border-top:1px solid var(--border);
}
.blog-card-foot .post-meta{display:flex;align-items:center;gap:.35rem;font-size:.82rem;color:var(--ink-muted);}
.blog-card-foot .icon-xs{width:14px;height:14px;color:var(--blue-600);}
.tag{
	display:inline-flex;
	align-items:center;
	gap:.35rem;
	padding:.3rem .7rem;
	border-radius:999px;
	background:rgba(31,122,224,.1);
	color:var(--blue-600);
	font-size:.74rem;
	font-weight:700;
	letter-spacing:.03em;
	text-transform:uppercase;
}
.tag[data-cat="installations"]{background:rgba(47,182,201,.14);color:#146b78;}
.tag[data-cat="papers-news"]{background:rgba(76,195,138,.14);color:#1f7a52;}

.load-more-row{margin-top:var(--space-5);text-align:center;}
.load-more-row .btn.btn--outline {
    line-height: normal;
    height: auto;
}
.load-more-row .btn[disabled]{cursor:default;opacity:1;}
.blog-load-more-status:not(:empty){margin-top:var(--space-2);color:var(--red);}
.blog-no-results{text-align:center;color:var(--ink-muted);}

@media (max-width:860px){
	.blog-hero{
		background:
			linear-gradient(180deg,#fff 0%,#fff 58%,rgba(255,255,255,.9) 100%),
			url('../images/blog/blog-hero.jpg') center 30% / cover no-repeat;
		background-color:#EAF2FE;
	}
	.blog-hero-inner{max-width:100%;}
}
@media (max-width:991px){.blog-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width: 767px) {
	.blog-card-body h3 {
		min-height: auto;
	}
}
@media (max-width:620px){.blog-grid{grid-template-columns:1fr;}}
