/*
* Main styling file for Better Business Reviews plugin
*/

.brtpmj_businessheader{
	display: flex;
	margin-bottom: 15px;
	align-items: center;
	gap: 10px;
}
.brtpmj_businessheader img{
	width: 150px;
}
.brtpmj_business_ratings{
	display: flex;
	gap: 5px;
	position: relative;
}
.brtpmj_business_ratings span{
	font-weight: bold;
}
.brtpmj_br_score_img img{
	width: 150px;
	vertical-align: bottom;
}
.brtpmj_business_ratings a{
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	padding: 10px;
	line-height: 1;
	font-weight: bold;
	text-decoration: none;
}
.brtpmj_business_ratings a img{
	width: 15px;
	height: 15px;
	vertical-align: bottom;
}

/* single review */
.brtpmj_single_rvw {
	border: 1px solid #e5e5dd;
	margin-bottom: 15px;
	padding: 15px;
	border-radius: 8px;
	break-inside: avoid;
}
.brtpmj_sr_author_overview{
	display: flex;
	border-bottom: 1px solid #e5e5dd;
	margin-bottom: 15px;
	padding-bottom: 10px;
}
.brtpmj_sr_ab_img {
	width: 50px;
	height: 50px;
	background: #d1f9ea;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.brtpmj_sr_ab_img span{
	font-weight: bold;
}
.brtpmj_sr_ab_img img{
	border-radius: 50%;
}
.brtpmj_sr_ab_name_date {
	display: flex;
	flex-direction: column;
	margin-left: 15px;
}
.brtpmj_sr_ab_name{
	font-weight: bold;
}

/* ===== Carousel Look (mockup) ===== */

.brtpmj_businessheader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 24px 0 8px;
}
.brtpmj_businessheader img { width: 180px; height: auto; }
.brtpmj_business_name { display: none; } /* dans le mockup, seul le logo est visible */

.brtpmj_business_ratings {
  display: none; /* pas d’agrégat “score global” dans le mockup */
}

/* Carte review - style mockup */
.carousel .brtpmj_single_rvw {
  background: #f5f5f5;
  border: 0;
  border-radius: 8px;
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 260px;
}

.carousel .brtpmj_sr_author_overview { display: none; } /* on masque l’overview/avatars en mode carousel */

.carousel .brtpmj_sr_rating { margin-bottom: 16px; }
.carousel .brtpmj_sr_rating img { width: 120px; height: auto; vertical-align: middle; }

.carousel .brtpmj_sr_title h4 {
  margin: 12px 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  color: #1a1a1a;
}

.carousel .brtpmj_sr_text p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.carousel .brtpmj_sr_footer {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.carousel .brtpmj_sr_sep { opacity: .5; }
.carousel .brtpmj_sr_date { opacity: .9; }
.carousel .brtpmj_sr_name { opacity: .9; }

/* Petites améliorations */
.carousel .brtpmj_single_rvw:focus-within,
.carousel .brtpmj_single_rvw:hover {
  outline: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

/* Clamp 3 lignes + lien "Mehr lesen" */
.carousel .brtpmj_sr_text p.brtpmj--clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: calc(1.6em * 3); /* 3 lignes (line-height: 1.6) */
}

.brtpmj_sr_more {
  display: block;           /* saut de ligne */
  margin-top: 6px;
  font-size: 14px;
  text-decoration: underline;
  color: inherit;           /* même couleur que le texte */
  cursor: pointer;
}
