
/* Elite Reviews Carousel v2.0.4 */
.erc{position:relative;width:100%;font-family:inherit}
.erc *{box-sizing:border-box}

.erc-track{
  display:grid;
  gap:var(--erc-gap,16px);
}

.erc-layout-grid .erc-track{
  grid-template-columns:repeat(var(--erc-columns,3), minmax(0,1fr));
}

.erc-layout-carousel .erc-track{
  grid-auto-flow:column;
  grid-auto-columns:minmax(280px, 1fr);
  grid-template-columns:unset;
  overflow-x:auto;
  padding:4px 0 6px;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.erc-layout-carousel .erc-track::-webkit-scrollbar{display:none}
.erc-layout-carousel .erc-card{scroll-snap-align:start}

/* Cards */
.erc-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:14px;
  padding:16px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  min-width:0;
}
.erc-card-top{display:flex;gap:12px;align-items:flex-start;min-width:0}
.erc-avatar{width:42px;height:42px;flex:0 0 42px;border-radius:999px;overflow:hidden}
.erc-avatar-initial{
  display:flex;align-items:center;justify-content:center;
  width:42px;height:42px;border-radius:999px;
  background: var(--erc-avatar-bg, #5c6ac4) !important;
  color:#fff;font-weight:700;font-size:16px;letter-spacing:.2px;
}
.erc-avatar-img{width:42px;height:42px;object-fit:cover;display:block}

.erc-meta{min-width:0;flex:1}
.erc-name-row{
  display:flex;
  align-items:flex-start;
  gap:10px;
  min-width:0;
}
.erc-name{
  font-weight:700;
  font-size:14px;
  line-height:1.25;
  min-width:0;
  flex:1;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2; /* allow 2 lines on small/medium screens */
  overflow:hidden;
}
.erc-g{
  flex:0 0 auto;
  width:22px;height:22px;
  border-radius:999px;
  background:#f1f3f4;
  display:inline-flex;align-items:center;justify-content:center;
  font-weight:800;font-size:12px;
  color:#1a73e8;
}
.erc-sub{font-size:12px;color:rgba(0,0,0,.60);margin-top:2px;display:flex;gap:6px;flex-wrap:wrap}
.erc-stars{margin-top:6px;font-size:14px;line-height:1}
.erc-star{color:#f4b400;margin-right:2px}
.erc-text-wrap{margin-top:10px}
.erc-text{
  font-size:13px;
  line-height:1.45;
  color:rgba(0,0,0,.78);
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:var(--erc-lines,3);
  overflow:hidden;
}
.erc-more{
  margin-top:10px;
  border:0;
  background:transparent;
  padding:0;
  font-size:12px;
  font-weight:700;
  color:#111;
  cursor:pointer;
  text-decoration:underline;
  display:none; /* shown by JS only if needed */
}

/* Nav arrows */
.erc-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:var(--erc-arrow,32px);
  height:var(--erc-arrow,32px);
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  box-shadow:0 8px 22px rgba(0,0,0,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  line-height:1;
  color:#111;
  cursor:pointer;
  z-index:3;
  user-select:none;
}
.erc-nav:focus{outline:2px solid rgba(0,0,0,.35); outline-offset:2px}
.erc-prev{left:-14px}
.erc-next{right:-14px}
.erc-nav[disabled]{opacity:.35;cursor:not-allowed}
.erc-nav.erc-hidden{display:none!important}

/* Arrow position bottom mode */
.erc.erc-arrows-bottom .erc-nav{
  top:auto;
  bottom:-10px;
  transform:none;
}
.erc.erc-arrows-bottom .erc-prev{left:calc(50% - var(--erc-arrow,32px) - 10px)}
.erc.erc-arrows-bottom .erc-next{right:auto; left:calc(50% + 10px)}

/* Responsive tweaks */
@media (max-width: 1100px){
  .erc-layout-grid .erc-track{grid-template-columns:repeat(2, minmax(0,1fr))}
}
@media (max-width: 768px){
  .erc-layout-grid .erc-track{grid-template-columns:1fr}
  .erc-prev{left:-6px}
  .erc-next{right:-6px}
  .erc{padding-bottom:26px}
  /* on small screens prefer bottom arrows even if overlay is selected */
  .erc-layout-carousel.erc-arrows-overlay .erc-nav{
    top:auto;bottom:-10px;transform:none;
  }
  .erc-layout-carousel.erc-arrows-overlay .erc-prev{left:calc(50% - var(--erc-arrow,32px) - 10px)}
  .erc-layout-carousel.erc-arrows-overlay .erc-next{right:auto; left:calc(50% + 10px)}
}
