/* ============================================================
   Novi Partner Portfolio — Frontend Styles v1.3.0
   All rules scoped under .novi-pp-wrapper for specificity.
   ============================================================ */

.novi-pp-wrapper {
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
}
.novi-pp-wrapper *,
.novi-pp-wrapper *::before,
.novi-pp-wrapper *::after {
	box-sizing: inherit;
}

/* ---- Intro ---- */
.novi-pp-wrapper .novi-pp-intro {
	margin: 0 0 40px;
	max-width: 680px;
}
.novi-pp-wrapper .novi-pp-intro-title {
	margin: 0 0 14px !important;
	font-size: 1.9em !important;
	line-height: 1.2 !important;
}
.novi-pp-wrapper .novi-pp-intro-text {
	color: #555;
	line-height: 1.75;
	font-size: 1em;
}
.novi-pp-wrapper .novi-pp-intro-text p:last-child {
	margin-bottom: 0;
}

/* ---- Controls bar ---- */
.novi-pp-wrapper .novi-pp-controls {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0 0 36px;
	padding: 20px 24px;
	background: #f8f9fb;
	border: 1px solid #e8eaed;
	border-radius: 12px;
}

/* ---- Search ---- */
.novi-pp-wrapper .novi-pp-search-wrap {
	width: 100%;
}
.novi-pp-wrapper .novi-pp-search {
	display: block !important;
	width: 100% !important;
	padding: 11px 16px !important;
	border: 1.5px solid #d0d5dd !important;
	border-radius: 8px !important;
	font-size: 0.95em !important;
	line-height: 1.4 !important;
	background: #fff !important;
	color: #333 !important;
	box-shadow: 0 1px 3px rgba(0,0,0,.06) !important;
	outline: none !important;
	transition: border-color .15s, box-shadow .15s;
	-webkit-appearance: none;
	appearance: none;
}
.novi-pp-wrapper .novi-pp-search:focus {
	border-color: #4f6ef7 !important;
	box-shadow: 0 0 0 3px rgba(79,110,247,.15) !important;
}

/* ---- Filter groups ---- */
.novi-pp-wrapper .novi-pp-filter-group {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	flex-wrap: wrap;
}
.novi-pp-wrapper .novi-pp-filter-label {
	display: inline-block;
	padding-top: 7px;
	font-size: 0.78em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #888;
	white-space: nowrap;
	min-width: 90px;
}
.novi-pp-wrapper .novi-pp-filter-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

/* ---- Pills — shared base ---- */
.novi-pp-wrapper button.novi-pp-pill {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	padding: 6px 14px !important;
	border-radius: 999px !important;
	font-family: inherit;
	font-size: 0.82em !important;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
	text-decoration: none !important;
	transition: border-color .15s, background .15s, color .15s;
	box-shadow: none !important;
	outline-offset: 2px;
}

/* Sector pills — teal/green tint */
.novi-pp-wrapper button.novi-pp-pill--sector {
	border: 1.5px solid #b2d8c8 !important;
	background: #fff !important;
	color: #2e7d5e !important;
}
.novi-pp-wrapper button.novi-pp-pill--sector:hover {
	border-color: #2e7d5e !important;
	background: #f0faf5 !important;
	color: #2e7d5e !important;
}
.novi-pp-wrapper button.novi-pp-pill--sector.active {
	background: #2e7d5e !important;
	border-color: #2e7d5e !important;
	color: #fff !important;
}

/* Service pills — indigo tint */
.novi-pp-wrapper button.novi-pp-pill--service {
	border: 1.5px solid #bcc7f5 !important;
	background: #fff !important;
	color: #3a4fc4 !important;
}
.novi-pp-wrapper button.novi-pp-pill--service:hover {
	border-color: #3a4fc4 !important;
	background: #f3f5ff !important;
	color: #3a4fc4 !important;
}
.novi-pp-wrapper button.novi-pp-pill--service.active {
	background: #3a4fc4 !important;
	border-color: #3a4fc4 !important;
	color: #fff !important;
}

/* ---- No results / empty ---- */
.novi-pp-wrapper .novi-pp-no-results,
.novi-pp-wrapper .novi-pp-empty {
	color: #888;
	font-style: italic;
	margin: 0 0 24px;
}

/* ---- Grid ---- */
.novi-pp-wrapper .novi-pp-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin: 0;
}
.novi-pp-wrapper .novi-pp-grid.novi-pp-cols-2 {
	grid-template-columns: repeat(2, 1fr);
	max-width: 760px;
}

/* ---- Card ---- */
.novi-pp-wrapper .novi-pp-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 14px;
	padding: 28px 28px 24px;
	box-shadow: 0 1px 4px rgba(0,0,0,.06);
	transition: box-shadow .2s ease, transform .2s ease;
}
.novi-pp-wrapper .novi-pp-card:hover {
	box-shadow: 0 8px 28px rgba(0,0,0,.11);
	transform: translateY(-3px);
}

.novi-pp-wrapper .novi-pp-card-logo {
	max-width: 140px;
	max-height: 56px;
	margin-bottom: 20px;
	overflow: hidden;
}
.novi-pp-wrapper .novi-pp-card-logo img {
	display: block;
	max-width: 100%;
	max-height: 56px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.novi-pp-wrapper .novi-pp-card-title {
	margin: 0 0 4px !important;
	font-size: 1.1em !important;
	line-height: 1.3 !important;
	font-weight: 700 !important;
}
.novi-pp-wrapper .novi-pp-card-category {
	margin: 0 0 12px !important;
	font-size: 0.73em !important;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #999 !important;
	font-weight: 700 !important;
}

/* ---- Stars ---- */
.novi-pp-wrapper .novi-pp-stars {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0 0 14px;
	line-height: 1;
}
.novi-pp-wrapper .novi-pp-star {
	display: inline-block !important;
	font-style: normal !important;
	font-size: 1.05em;
	line-height: 1;
}
.novi-pp-wrapper .novi-pp-star--full  { color: #f59e0b !important; }
.novi-pp-wrapper .novi-pp-star--empty { color: #dde0e4 !important; }
.novi-pp-wrapper .novi-pp-star--half  {
	background: linear-gradient(to right, #f59e0b 50%, #dde0e4 50%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent !important;
}
.novi-pp-wrapper .novi-pp-rating-num {
	font-size: 0.78em !important;
	font-weight: 700 !important;
	color: #999 !important;
	line-height: 1;
	margin-left: 2px;
}

/* ---- Description ---- */
.novi-pp-wrapper .novi-pp-card-description {
	margin: 0 0 18px !important;
	color: #555 !important;
	line-height: 1.65 !important;
	flex-grow: 1;
	font-size: 0.9em !important;
}

/* ---- Card pills ---- */
.novi-pp-wrapper .novi-pp-card-tags {
	display: flex !important;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 20px !important;
}
/* Sector pill on card — green tint */
.novi-pp-wrapper .novi-pp-card-tags .novi-pp-card-tag--sector {
	display: inline-block !important;
	padding: 3px 10px !important;
	border: 1.5px solid #a8d5be !important;
	border-radius: 999px !important;
	font-size: 0.74em !important;
	font-weight: 600 !important;
	color: #2e7d5e !important;
	background: #f0faf5 !important;
	white-space: nowrap;
	line-height: 1.5;
}
/* Service pill on card — indigo tint */
.novi-pp-wrapper .novi-pp-card-tags .novi-pp-card-tag--service {
	display: inline-block !important;
	padding: 3px 10px !important;
	border: 1.5px solid #bcc7f5 !important;
	border-radius: 999px !important;
	font-size: 0.74em !important;
	font-weight: 600 !important;
	color: #3a4fc4 !important;
	background: #f3f5ff !important;
	white-space: nowrap;
	line-height: 1.5;
}

/* ---- CTA button ---- */
.novi-pp-wrapper .novi-pp-card-cta {
	display: inline-block !important;
	margin-top: auto;
	padding: 10px 22px !important;
	border-radius: 8px !important;
	background: #1a1a1a !important;
	color: #fff !important;
	text-decoration: none !important;
	font-size: 0.87em !important;
	font-weight: 600 !important;
	border: none !important;
	transition: opacity .15s ease;
	line-height: 1.4;
	box-shadow: none !important;
}
.novi-pp-wrapper .novi-pp-card-cta:hover,
.novi-pp-wrapper .novi-pp-card-cta:focus {
	opacity: 0.78;
	color: #fff !important;
	text-decoration: none !important;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
	.novi-pp-wrapper .novi-pp-grid.novi-pp-cols-3 {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}
@media (max-width: 680px) {
	.novi-pp-wrapper .novi-pp-controls {
		padding: 16px;
	}
	.novi-pp-wrapper .novi-pp-filter-group {
		flex-direction: column;
		gap: 8px;
	}
	.novi-pp-wrapper .novi-pp-filter-label {
		min-width: 0;
		padding-top: 0;
	}
}
@media (max-width: 540px) {
	.novi-pp-wrapper .novi-pp-grid,
	.novi-pp-wrapper .novi-pp-grid.novi-pp-cols-2,
	.novi-pp-wrapper .novi-pp-grid.novi-pp-cols-3 {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.novi-pp-wrapper .novi-pp-card {
		padding: 22px 20px 20px;
	}
}
