/* Listing profile reviews — simple grid, no HivePress flex bleed (loads after HivePress). */
body.nh-single-listing #reviews.nh-listing-profile__section {
	display: flow-root;
	overflow: visible;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

body.nh-single-listing .nh-listing-profile__reviews-grid {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

body.nh-single-listing #reviews .nh-listing-profile__review-cards,
body.nh-single-listing #reviews .nh-listing-profile__reviews-grid .hp-reviews > .hp-row {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 0 6px !important;
	box-sizing: border-box !important;
	flex: none !important;
	flex-wrap: nowrap !important;
}

body.nh-single-listing .nh-listing-profile__reviews-grid .hp-grid__item,
body.nh-single-listing .nh-listing-profile__reviews-grid .hp-grid__item[class*='hp-col-'] {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	flex: none !important;
	flex-basis: auto !important;
	padding: 0 !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

body.nh-single-listing .nh-listing-profile__reviews-grid .hp-review {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: 100% !important;
	box-sizing: border-box !important;
	overflow: hidden;
	display: flex !important;
	flex-direction: column !important;
	background: #fff;
	border: 1px solid #eef2f7;
	border-radius: 12px;
	padding: 14px 16px;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
}

body.nh-single-listing #reviews .nh-review-card--compact .hp-review__header {
	align-items: center;
	margin-bottom: 10px;
	min-width: 0;
}

body.nh-single-listing #reviews .nh-review-card--compact .hp-review__image {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	margin-right: 10px;
	border-radius: 999px;
	overflow: hidden;
}

body.nh-single-listing #reviews .nh-review-card--compact .hp-review__image img,
body.nh-single-listing #reviews .nh-review-card--compact .hp-review__image a {
	display: none !important;
}

body.nh-single-listing #reviews .nh-review-avatar,
.nh-reviews-all-modal__list .nh-review-avatar {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	background: #e2e8f0;
	color: #0b2d5b;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

body.nh-single-listing #reviews .nh-review-card--compact .hp-review__image img {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 999px;
}

body.nh-single-listing #reviews .nh-review-card--compact .hp-review__summary {
	min-width: 0;
	flex: 1;
}

body.nh-single-listing #reviews .nh-review-card--compact .hp-review__author {
	font-size: 14px;
	font-weight: 700;
	color: #0b2d5b;
	line-height: 1.3;
}

body.nh-single-listing #reviews .nh-review-card--compact .hp-review__details {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 8px;
	margin-top: 3px;
}

body.nh-single-listing #reviews .nh-review-card--compact .hp-review__rating {
	display: inline-flex;
	gap: 2px;
	color: #f59e0b;
	font-size: 12px;
	line-height: 1;
}

body.nh-single-listing #reviews .nh-review-card--compact .hp-review__rating i {
	font-size: 12px;
	line-height: 1;
}

body.nh-single-listing #reviews .nh-review-card--compact .hp-review__rating i.active,
body.nh-single-listing #reviews .nh-review-card--compact .hp-review__rating.nh-review-rating--static i.fas {
	color: #f59e0b;
}

body.nh-single-listing #reviews .nh-review-card--compact .hp-review__rating i.far {
	color: #e2e8f0;
}

body.nh-single-listing #reviews .nh-review-card--compact .hp-review__created-date {
	display: block;
	font-size: 12px;
	color: #94a3b8;
	line-height: 1.3;
}

body.nh-single-listing #reviews .nh-review-card--compact .hp-review__criteria,
body.nh-single-listing #reviews .nh-review-card--compact .hp-review__attachment,
body.nh-single-listing #reviews .nh-review-card--compact .hp-review__listing {
	display: none !important;
}

body.nh-single-listing #reviews .nh-review-card--compact .hp-review__content {
	margin: 0;
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

body.nh-single-listing #reviews .nh-review-card--compact .hp-review__text {
	margin: 0;
	color: #475569;
	font-size: 14px;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
	flex: 1;
}

body.nh-single-listing #reviews .nh-review-card--compact .hp-review__text p {
	margin: 0;
}

body.nh-single-listing #reviews .nh-review-card__foot {
	margin-top: auto;
	padding-top: 12px;
}

body.nh-single-listing #reviews .nh-review-card__read-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #1b4fd8;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	text-decoration: none;
	transition: color 0.15s ease, gap 0.15s ease;
}

body.nh-single-listing #reviews .nh-review-card__read-more:hover,
body.nh-single-listing #reviews .nh-review-card__read-more:focus-visible {
	color: #1640b8;
	outline: none;
}

body.nh-single-listing #reviews .nh-review-card__read-more:focus-visible {
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.nh-single-listing #reviews .nh-review-card__read-more-icon {
	display: inline-flex;
	font-size: 14px;
	line-height: 1;
	transition: transform 0.15s ease;
}

body.nh-single-listing #reviews .nh-review-card__read-more:hover .nh-review-card__read-more-icon,
body.nh-single-listing #reviews .nh-review-card__read-more:focus-visible .nh-review-card__read-more-icon {
	transform: translateX(2px);
}

body.nh-single-listing #reviews .nh-review-card--compact:has(.nh-review-card__read-more) {
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.nh-single-listing #reviews .nh-review-card--compact:has(.nh-review-card__read-more):hover {
	border-color: #dbe4f0;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07);
}

@media (max-width: 980px) {
	body.nh-single-listing #reviews .nh-listing-profile__review-cards,
	body.nh-single-listing #reviews .nh-listing-profile__reviews-grid .hp-reviews > .hp-row {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

/* All-reviews modal — premium single-column list (not the page grid). */
.nh-reviews-all-modal__list {
	display: flex !important;
	flex-direction: column !important;
	gap: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	grid-template-columns: unset !important;
}

.nh-reviews-all-modal__list .hp-review.nh-review-card--modal-list {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	padding: 20px 24px !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: #fff !important;
	border-bottom: 1px solid #eef2f7 !important;
	transition: background-color 0.15s ease;
}

.nh-reviews-all-modal__list .hp-review.nh-review-card--modal-list:last-child {
	border-bottom: 0 !important;
	padding-bottom: 24px !important;
}

.nh-reviews-all-modal__list .hp-review.nh-review-card--modal-list:hover {
	background: #fafbfc !important;
}

.nh-reviews-all-modal__list .hp-review__header {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	margin-bottom: 10px !important;
}

.nh-reviews-all-modal__list .hp-review__image {
	flex: 0 0 44px !important;
	width: 44px !important;
	height: 44px !important;
	margin: 0 !important;
	border-radius: 999px;
	overflow: hidden;
	background: transparent;
}

.nh-reviews-all-modal__list .hp-review__image img,
.nh-reviews-all-modal__list .hp-review__image a {
	display: none !important;
}

.nh-reviews-all-modal__list .nh-review-avatar {
	flex: 0 0 44px !important;
	width: 44px !important;
	height: 44px !important;
	font-size: 15px;
}

.nh-reviews-all-modal__list .hp-review__image img {
	width: 44px !important;
	height: 44px !important;
	object-fit: cover;
	border-radius: 999px;
}

.nh-reviews-all-modal__list .hp-review__summary {
	min-width: 0;
	flex: 1;
}

.nh-reviews-all-modal__list .hp-review__author {
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #0b2d5b !important;
	line-height: 1.3 !important;
}

.nh-reviews-all-modal__list .hp-review__details {
	display: flex !important;
	align-items: center;
	gap: 8px;
	margin-top: 3px !important;
}

.nh-reviews-all-modal__list .hp-review__rating {
	display: inline-flex !important;
	gap: 2px;
	color: #f59e0b !important;
	font-size: 12px !important;
	line-height: 1;
}

.nh-reviews-all-modal__list .hp-review__rating i {
	font-size: 12px;
	line-height: 1;
}

.nh-reviews-all-modal__list .hp-review__rating i.active,
.nh-reviews-all-modal__list .hp-review__rating.nh-review-rating--static i.fas {
	color: #f59e0b !important;
}

.nh-reviews-all-modal__list .hp-review__rating i.far {
	color: #e2e8f0 !important;
}

.nh-reviews-all-modal__list .hp-review__criteria {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 14px;
	margin: 12px 0 0 !important;
	padding: 12px 14px !important;
	border-radius: 10px;
	background: #f8fafc;
	border: 1px solid #eef2f7;
}

.nh-reviews-all-modal__list .hp-review__criterion {
	margin: 0;
	font-size: 12px;
	line-height: 1.4;
	color: #475569;
}

.nh-reviews-all-modal__list .hp-review__criterion strong {
	font-weight: 600;
	color: #334155;
}

.nh-reviews-all-modal__list .hp-review__attachment,
.nh-reviews-all-modal__list .hp-review__listing {
	display: none !important;
}

.nh-reviews-all-modal__list .hp-review__created-date {
	display: block !important;
	margin-top: 2px !important;
	font-size: 12px !important;
	color: #94a3b8 !important;
}

.nh-reviews-all-modal__list .hp-review__content {
	margin: 0 !important;
	padding: 0 !important;
}

.nh-reviews-all-modal__list .hp-review__text {
	margin: 10px 0 0 !important;
	color: #334155 !important;
	font-size: 14px !important;
	line-height: 1.6 !important;
	display: block !important;
	overflow: visible !important;
	-webkit-line-clamp: unset !important;
}

.nh-reviews-all-modal__list .hp-review__text p {
	margin: 0 0 8px !important;
}

.nh-reviews-all-modal__list .hp-review__text p:last-child {
	margin-bottom: 0 !important;
}

.nh-reviews-all-modal__list .nh-review-card__foot,
.nh-reviews-all-modal__list .nh-review-card__read-more,
.nh-reviews-all-modal__list .nh-review-card__view-more {
	display: none !important;
}
