/* =====================================================
   NVLimo Reviews — Carousel + Card (Initial avatar)
   ===================================================== */

/* Reset quirks inside widget */
.nvlimo-reviews * { box-sizing: border-box; }
.nvlimo-reviews ul,
.nvlimo-reviews .nvlimo-reviews-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Slider shell */
.nvlimo-slider {
  position: relative;
  width: 100%;
  margin: 1rem auto;
  padding: 0 40px 28px; /* room for arrows + dots */
}

.nvlimo-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 12px;
}

/* Track = UL; item = LI */
.nvlimo-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 1rem;
  transition: transform .35s ease;
}

.nvlimo-reviews .nvlimo-reviews-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 1rem;
}

.nvlimo-slide {
  display: block;
}

/* Card */
.nvlimo-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, sans-serif;
}

/* Header with INITIAL avatar */
.nvlimo-header {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: center;
}

.nvlimo-initial {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e9e9e9;
  color: #555;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.nvlimo-header-info {
  display: flex;
  flex-direction: column;
}

.nvlimo-name {
  font-weight: 700;
  color: #222;
}

.nvlimo-sub {
  font-size: .9rem;
  color: #666;
  display: flex;
  gap: .35rem;
  align-items: center;
}

.nvlimo-stars {
  color: #f5b400;
  letter-spacing: .5px;
}

/* Body */
.nvlimo-title {
  font-weight: 600;
  margin-top: .1rem;
  color: #222;
}

.nvlimo-text {
  color: #333;
  line-height: 1.5;
}

/* Footer/meta */
.nvlimo-footer {
  margin-top: .25rem;
}

.nvlimo-link {
  color: #0b5cff;
  text-decoration: none;
  font-weight: 600;
}

.nvlimo-link:hover {
  text-decoration: underline;
}

/* Read more / less buttons */
.nvlimo-reviews button.nvlimo-more,
.nvlimo-reviews button.nvlimo-less {
  background: none !important;
  border: none !important;
  color: #0073aa !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  cursor: pointer;
  padding: 0 !important;
  margin-top: 3px;
  text-decoration: underline;
  border-radius: 0 !important;
  transition: color 0.2s ease;
}

.nvlimo-reviews button.nvlimo-more:hover,
.nvlimo-reviews button.nvlimo-less:hover {
  color: #005177 !important;
  text-decoration: none;
}

/* Navigation arrows (bullet-proof & centered) */
.nvlimo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;

  width: 32px;
  height: 32px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 0 !important;
  line-height: 0 !important; /* kill theme glyphs */

  background: rgba(255,255,255,.97) !important;
  border: 1px solid #cfcfcf !important;
  border-radius: 50% !important;
  color: #555 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.05) !important;
  cursor: pointer;
  opacity: .9;
  transition: transform .2s ease, opacity .2s ease;
}

.nvlimo-nav:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.05);
}

.nvlimo-nav:disabled {
  opacity: .35;
  cursor: default;
  transform: translateY(-50%) scale(1);
}

.nvlimo-nav::before {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid #4a4a4a;
  border-bottom: 2px solid #4a4a4a;
  display: block;
}

.nvlimo-prev { left: 10px; }
.nvlimo-next { right: 10px; }

.nvlimo-prev::before { transform: rotate(135deg); } /* ← */
.nvlimo-next::before { transform: rotate(-45deg); }  /* → */

/* Dots */
.nvlimo-dots {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 6px;
}

.nvlimo-dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: #d0d0d0;
  padding: 0;
  cursor: pointer;
}

.nvlimo-dots button[aria-current="true"] {
  background: #111;
}

/* Responsive */
@media (max-width: 768px) {
  .nvlimo-slider { padding: 0 25px 30px; }
  .nvlimo-card { font-size: 14px; padding: 14px; }
  .nvlimo-nav { width: 28px; height: 28px; }
  .nvlimo-prev { left: 6px; }
  .nvlimo-next { right: 6px; }
}

/* === NVLimo override: make Read more / Read less look like links === */
/* Put this at the VERY BOTTOM of assets/style.css */

.nvlimo-card button,
.nvlimo-card .button,
.nvlimo-card .wp-element-button,
.nvlimo-card input[type="button"],
.nvlimo-card input[type="submit"],
.nvlimo-card .nvlimo-more,
.nvlimo-card .nvlimo-less {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 3px 0 0 0 !important;
  border-radius: 0 !important;

  font: inherit !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #0073aa !important;
  text-decoration: underline !important;
  line-height: 1.2 !important;

  cursor: pointer !important;
}

.nvlimo-card button:hover,
.nvlimo-card .button:hover,
.nvlimo-card .wp-element-button:hover,
.nvlimo-card input[type="button"]:hover,
.nvlimo-card input[type="submit"]:hover,
.nvlimo-card .nvlimo-more:hover,
.nvlimo-card .nvlimo-less:hover {
  color: #005177 !important;
  text-decoration: none !important;
}

/* Keep nav arrows untouched */
.nvlimo-nav { /* intentionally empty to preserve arrow styles */ }
