.nb-wrap{width:100%;box-sizing:border-box}
.nb-wrap *{box-sizing:border-box}
.nb-inner{margin:0 auto;width:100%}

/* Header */
.nb-header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px}
.nb-heading{margin:0;line-height:1.1}
.nb-filters{display:flex;flex-wrap:wrap;justify-content:center;align-items:center}
.nb-filter{
	cursor:pointer;border:1px solid transparent;background:transparent;line-height:1.2;
	transition:background-color .2s ease,color .2s ease,border-color .2s ease;
	-webkit-appearance:none;appearance:none;box-shadow:none;text-transform:none;
}
.nb-search-wrap{display:flex;justify-content:flex-end}
.nb-search{display:flex;align-items:center;gap:8px;margin:0;border:1px solid transparent;background:transparent}
.nb-search svg{width:15px;height:15px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.nb-search-input{
	width:100%;min-width:0;margin:0;padding:0;border:0 !important;background:transparent !important;
	box-shadow:none !important;outline:0 !important;border-radius:0;font:inherit;color:inherit;line-height:1.4;
}
.nb-search-input::placeholder{opacity:1}

/* Body */
.nb-body{display:flex;flex-direction:column}
.nb-featured-wrap:empty{display:none}

/* Featured */
.nb-featured{display:flex;align-items:center;transition:transform .3s ease,box-shadow .3s ease}
.nb-featured .nb-media{flex:0 0 auto}
.nb-featured-content{flex:1 1 0;min-width:0}
.nb-featured .nb-title{margin:0}
.nb-excerpt{margin:0}

/* Shared */
.nb-media{display:block;overflow:hidden;position:relative;line-height:0}
.nb-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.nb-noimg{display:block;width:100%;height:100%;background:#E8DFD0}
.nb-title a{color:inherit;text-decoration:none;box-shadow:none}
.nb-meta{display:flex;flex-wrap:wrap;align-items:center}
.nb-pill{display:inline-block;border:1px solid transparent;line-height:1.2;white-space:nowrap}

/* Grid */
.nb-grid{display:grid}
.nb-card{display:flex;flex-direction:column;transition:transform .3s ease,box-shadow .3s ease}
.nb-card .nb-title{margin:0}
.nb-card .nb-meta{margin-top:auto}
.nb-empty{grid-column:1/-1;margin:0;text-align:center;padding:30px 0}

/* Load more */
.nb-more-wrap{display:flex}
.nb-more{cursor:pointer;border:0;line-height:1.2;transition:background-color .2s ease,color .2s ease;-webkit-appearance:none;appearance:none}
.nb-more[hidden]{display:none}

.nb-wrap.nb-loading .nb-body{opacity:.55;transition:opacity .2s ease}

@media (max-width:1024px){
	.nb-header{grid-template-columns:1fr;justify-items:start}
	.nb-filters{justify-content:flex-start}
	.nb-search-wrap{justify-content:flex-start}
	.nb-featured{flex-direction:column;align-items:stretch}
	.nb-featured .nb-media{width:100% !important}
	.nb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){
	.nb-grid{grid-template-columns:1fr}
}
