/* ---------- Card palette tuned to light gray UI ---------- */
:root {
  --card-bg: #ffffff;
  --card-border: #e5e7eb;     /* light gray border */
  --text-muted: #6b7280;      /* medium gray text */
  --icon: #6b7280;            /* arrow icon color */
  --dot-inactive: #cfd3d9;    /* small light gray */
  --dot-active: #6b7280;      /* medium gray active */
  --ctrl-bg: #f9fafb;         /* light control bg */
  --ctrl-border: #e5e7eb;     /* light control border */
  --ctrl-shadow: 0 1px 2px rgba(16,24,40,0.06);
}

.project-wrap {
  margin: 0 auto;
  max-width: 980px;
  padding: 0 1rem 2rem;
}

.report-body,
.report-images {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(17,24,39,0.06);
}

.report-body {
  padding: 1rem 1.25rem;
  margin: 0 0 1rem;
  color: #111827;
}
.report-body h2,
.report-body h3 { margin-top: .6rem; margin-bottom: .4rem; }
.report-body ul { margin: .25rem 0 .25rem 1.1rem; }
.report-body li { margin: .2rem 0; color: #1f2937; }
.report-body em, .report-body strong { color: #111827; }

/* ---------- Slider visuals (smaller, card-like) ---------- */
.report-images {
  --slider-max-width: 620px;
  --slide-radius: 12px;
  --ctrl-size: 30px;
  --dot-size: 8px;

  position: relative;
  max-width: var(--slider-max-width);
  padding: .5rem .5rem .75rem;
  margin: 0 auto;
}

/* Track & slides */
.report-images .slider-track {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
  border-radius: var(--slide-radius);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: none;
}

.report-images .slide {
  min-width: 100%;
  display: grid;
  place-items: center;
  background: var(--card-bg);
  aspect-ratio: 4 / 3;
  max-height: 360px;
}

.report-images .slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--card-bg);
  display: block;
}

/* Controls */
.report-images .ctrl {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: var(--ctrl-size);
  height: var(--ctrl-size);
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--ctrl-border);
  background: var(--ctrl-bg);
  box-shadow: var(--ctrl-shadow);
  cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease, opacity .2s ease;
  opacity: .96;
}
.report-images .ctrl.prev { left: .45rem; }
.report-images .ctrl.next { right: .45rem; }
.report-images .ctrl:hover {
  transform: translateY(-50%) scale(1.06);
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(16,24,40,0.10);
}
.report-images .ctrl:active { transform: translateY(-50%) scale(.98); }

.report-images .ctrl svg {
  width: 60%;
  height: 60%;
  color: var(--icon);
}

/* Dots */
.report-images .dots {
  display: flex;
  gap: .4rem;
  justify-content: center;
  margin-top: .5rem;
}
.report-images .dot {
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  background: var(--dot-inactive);
  cursor: pointer;
  transition: transform .12s ease, background-color .2s ease;
}
.report-images .dot:hover { transform: scale(1.1); }
.report-images .dot.active { background: var(--dot-active); }

/* ---------- Force light look even on dark themes ---------- */
@media (prefers-color-scheme: dark) {
  .report-body,
  .report-images,
  .report-images .slider-track,
  .report-images .slide,
  .report-images .slide img {
    background: var(--card-bg) !important;
    border-color: var(--card-border) !important;
    box-shadow: 0 8px 20px rgba(17,24,39,0.06) !important;
  }
  .report-images .ctrl { background: var(--ctrl-bg) !important; border-color: var(--ctrl-border) !important; }
  .report-images .ctrl svg { color: var(--icon) !important; }
  .report-images .dot { background: var(--dot-inactive) !important; }
  .report-images .dot.active { background: var(--dot-active) !important; }
}
/* Put the slider inside the card and make it larger */
.report-body .report-images {
  margin: .75rem auto 0;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: .5rem .5rem .75rem;
  background: #fff;
  box-shadow: 0 8px 20px rgba(17,24,39,0.06);
}

/* Large variant */
.report-images--lg { --slider-max-width: 940px; }
.report-images { max-width: var(--slider-max-width); }

/* Bigger slides so details are readable */
.report-images .slider-track {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}
.report-images .slide {
  min-width: 100%;
  display: grid;
  place-items: center;
  background: #fff;
  /* more room for detail */
  aspect-ratio: 16 / 10;
  max-height: 560px;
}
.report-images .slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

/* Controls & dots (light, subtle) */
.report-images .ctrl { width: 34px; height: 34px; background:#f9fafb; border:1px solid #e5e7eb; box-shadow:0 1px 2px rgba(16,24,40,.06); }
.report-images .ctrl svg { color:#6b7280; }
.report-images .dot { width:9px; height:9px; background:#cfd3d9; }
.report-images .dot.active { background:#6b7280; }

/* Responsive: smaller on phones */
@media (max-width: 640px) {
  .report-images--lg { --slider-max-width: 100%; }
  .report-images .slide { aspect-ratio: 4 / 3; max-height: 360px; }
}
