/* =========================================================================
   Info Bar: full-bleed gradient background, container-aligned content.
   Left = info items (icon + two lines); right = live rating widget.

   The background lives on a dedicated layer (.nhc-ib__bg) that is stretched to
   the viewport width in info-bar.js, so the bar runs edge-to-edge while the
   content keeps the container width (place this element in a normal row).
   ========================================================================= */

.nhc-ib {
	position: relative;
}

.nhc-ib__bg {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: -1;
	background-repeat: no-repeat;
	background-size: cover;
	pointer-events: none;
}
/* Fallback before JS (correct when the row is centred); JS refines it. */
.nhc-ib__bg {
	left: 50%;
	right: auto;
	width: 100vw;
	transform: translateX(-50%);
}

.nhc-ib__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 24px 40px;
	padding-top: var(--nhc-ib-pad, 26px);
	padding-bottom: var(--nhc-ib-pad, 26px);
}

/* ---------- Left: info items ---------- */
.nhc-ib__items {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px 48px;
}
.nhc-ib__item {
	display: flex;
	align-items: center;
	gap: 14px;
}
.nhc-ib__icon {
	flex: 0 0 auto;
	display: inline-flex;
	color: #00606A;
}
.nhc-ib__icon svg { display: block; height: 28px; width: auto; }

.nhc-ib__text {
	font-size: 14px;
	line-height: 1.35;
	color: #243a3b;
}
.nhc-ib__line1 { display: block; }
.nhc-ib__line2 { display: block; }

/* ---------- Right: rating widget ---------- */
.nhc-ib__rating {
	flex: 0 0 auto;
	position: relative;
}
.nhc-ib__rating--link { cursor: pointer; }
.nhc-ib__rating-link {
	position: absolute;
	inset: 0;
	z-index: 10;
	border: 0;
	background: none;
	text-decoration: none;
}
.nhc-ib__rating-link:focus-visible {
	outline: 2px solid #137e83;
	outline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media only screen and (max-width: 768px) {
	.nhc-ib__inner {
		justify-content: flex-start;
		gap: 20px 32px;
	}
	.nhc-ib__items { gap: 16px 32px; }
}

/* ---------- Static rating badge (look-alike of the live widget) ---------- */
.nhc-ib__badge {
	display: inline-block;
	background: transparent;
	padding: 0;
	box-shadow: none;
}
.nhc-ib .nhc-ib__badge .nhc-ib__badge-logo {
	display: block;
	width: 190px !important;
	max-width: 100% !important;
	height: 46px !important;
	object-fit: contain !important;   /* fit without distorting the 275x54 logo */
	object-position: left center;
	margin-bottom: 8px !important;
}
.nhc-ib__badge-score {
	display: flex;
	align-items: center;
	gap: 10px;
}
.nhc-ib__badge-star {
	flex: 0 0 auto;
	display: inline-flex;
	color: #16263f;
}
.nhc-ib__badge-star svg {
	display: block;
	fill: currentColor;
}
.nhc-ib__badge-num {
	font-size: 42px;
	font-weight: 700;
	line-height: 1;
	color: #16263f;
}
.nhc-ib__badge-text {
	width: 65px;
	font-size: 13px;
	line-height: 13px;
	color: #777777;
}

/* Clickable info item (e.g. phone / email) */
.nhc-ib__item--link {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	transition: opacity .2s ease;
}
.nhc-ib__item--link:hover,
.nhc-ib__item--link:focus-visible { opacity: .8; }
