/* Bibe Google Reviews: mismo diseño que las reseñas de la web (tarjetas oscuras, primera en blanco). */
.bgr{position:relative;width:100%;font-family:"Bi.be Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;box-sizing:border-box}
.bgr *,.bgr *::before,.bgr *::after{box-sizing:border-box}

/* Carrusel */
.bgr-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;outline:none}
.bgr-track::-webkit-scrollbar{display:none}
.bgr-card{flex:0 0 calc((100% - 32px) / 3);scroll-snap-align:start}

/* Tarjeta */
.bgr-card{display:grid;grid-template-columns:36px 1fr auto;grid-template-areas:"stars stars g" "body body body" "av name name" "av title title";gap:0 12px;padding:26px;border-radius:22px;background:#262629;border:1px solid #343438;transition:border-color .3s;align-items:stretch}
.bgr-card:hover{border-color:#5a5a60}

/* Estrellas */
.bgr-stars{grid-area:stars;align-self:center;display:inline-flex;gap:2px;color:#f4b400;font-size:15px;line-height:15px;margin:0}
.bgr-stars i{display:inline-block;width:15px;height:15px;line-height:15px;overflow:hidden;text-align:center;font-style:normal;font-size:15px;transform:scale(.86);transform-origin:left center}
.bgr-stars i.off{color:#5a5a60}

/* Icono de Google */
.bgr-g{grid-area:g;place-self:center end;width:26px;height:26px;border-radius:50%;display:inline-flex;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23FFC107' d='M43.6 20.5H42V20H24v8h11.3C33.7 32.7 29.2 36 24 36c-6.6 0-12-5.4-12-12s5.4-12 12-12c3.1 0 5.8 1.2 7.9 3l5.7-5.7C34 6.1 29.3 4 24 4 13 4 4 13 4 24s9 20 20 20 20-9 20-20c0-1.3-.1-2.4-.4-3.5z'/%3E%3Cpath fill='%23FF3D00' d='M6.3 14.7l6.6 4.8C14.7 15.1 19 12 24 12c3.1 0 5.8 1.2 7.9 3l5.7-5.7C34 6.1 29.3 4 24 4 16.3 4 9.7 8.3 6.3 14.7z'/%3E%3Cpath fill='%234CAF50' d='M24 44c5.2 0 9.9-2 13.4-5.2l-6.2-5.2C29.2 35.1 26.7 36 24 36c-5.2 0-9.6-3.3-11.3-7.9l-6.5 5C9.5 39.6 16.2 44 24 44z'/%3E%3Cpath fill='%231976D2' d='M43.6 20.5H42V20H24v8h11.3c-.8 2.2-2.2 4.2-4.1 5.6l6.2 5.2C37 39.2 44 34 44 24c0-1.3-.1-2.4-.4-3.5z'/%3E%3C/svg%3E") center center/18px auto no-repeat #fff}

/* Texto */
.bgr-body{grid-area:body;display:flex;flex-direction:column;border-bottom:1px solid #343438;padding:16px 0 18px;margin:0 0 16px}
.bgr-text{margin:0;font-size:15px;line-height:1.55;color:rgba(245,245,247,.88);min-height:9.3em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;overflow:hidden}
.bgr-open .bgr-text{display:block;-webkit-line-clamp:unset}

/* Leer más */
.bgr-more{align-self:flex-start;margin-top:10px;display:inline-flex;align-items:center;gap:6px;font:600 14px/1 "Bi.be Sans",-apple-system,BlinkMacSystemFont,sans-serif;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-color:rgba(245,245,247,.35);background:none;border:0;padding:0;color:#f5f5f7;box-shadow:none}
.bgr-more:hover{text-decoration-color:currentColor;background:none;color:#f5f5f7}
/* Que el estilo de botones del tema no pinte fondo negro */
.bgr .bgr-more,.bgr .bgr-more:hover,.bgr .bgr-more:focus{background:none!important;background-color:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important}
.bgr-more svg{width:12px;height:12px;transition:transform .25s}
.bgr-open .bgr-more svg{transform:rotate(180deg)}

/* Autor */
.bgr-av{grid-area:av;align-self:center;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#f5f5f7;color:#1d1d1f;font-size:12px;font-weight:600;line-height:36px;text-align:center}
.bgr-name{grid-area:name;align-self:end;font-size:14px;font-weight:600;color:#f5f5f7;line-height:1.3}
.bgr-sub{grid-area:title;align-self:start;font-size:12px;color:#a1a1a6;line-height:1.4;margin:0}

/* Primera tarjeta destacada en blanco */
.bgr-card:first-child{background:linear-gradient(160deg,#fff,#ededf0);border-color:#fff}
.bgr-card:first-child .bgr-body{border-bottom-color:#e2e2e6}
.bgr-card:first-child .bgr-text,.bgr-card:first-child .bgr-name{color:#1d1d1f}
.bgr-card:first-child .bgr-sub{color:#6e6e73}
.bgr-card:first-child .bgr-av{background:#1d1d1f;color:#f5f5f7}
.bgr-card:first-child .bgr-more{color:#1d1d1f;text-decoration-color:rgba(29,29,31,.35)}
.bgr-card:first-child .bgr-more:hover{color:#1d1d1f;text-decoration-color:currentColor}
.bgr-card:first-child:hover{border-color:#fff}

/* Flechas */
.bgr-arrow{position:absolute;top:50%;z-index:3;width:48px;height:48px;padding:0;border:0;border-radius:50%;background:#fff;color:#1d1d1f;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 10px 24px -8px rgba(0,0,0,.6);transform:translateY(-50%);transition:transform .2s,opacity .2s}
.bgr-arrow:hover{transform:translateY(-50%) scale(1.06);background:#fff;color:#1d1d1f}
.bgr-arrow svg{width:18px;height:18px;margin:0}
.bgr-prev{left:-24px}
.bgr-next{right:-24px}
.bgr-arrow[disabled]{opacity:0;pointer-events:none}

/* Tablet */
@media (max-width:1024px){
  .bgr-card{flex-basis:calc((100% - 16px) / 2)}
  .bgr-prev{left:-8px}
  .bgr-next{right:-8px}
}
/* Móvil: una tarjeta y un trozo de la siguiente; sin flechas */
@media (max-width:767px){
  .bgr-card{flex-basis:calc(100% - 52px)}
  .bgr-arrow{display:none}
}
@media (prefers-reduced-motion:reduce){
  .bgr-track{scroll-behavior:auto}
}
