/* ── Scroller layout — J3 RokSprocket Scroller replica ── */
/* Source: J3 scroller.css + demo-*.css fp-roksprocket-scroller-feature rules */

.bdca-scroller {
  margin: 0;
  padding: 10px;
}

.bdca-scroller-wrap {
  position: relative;
  display: flex;
}

.bdca-scroller-scrollbar {
  position: relative;
  width: 13px;
  flex-shrink: 0;
}

.bdca-scroller-scrollbar .bdca-sb-track {
  position: relative;
  width: 13px;
  height: 100%;
  padding: 1px;
}

.bdca-scroller-scrollbar .bdca-sb-thumb {
  position: absolute;
  top: 0;
  width: 10px;
  height: 20px;
  background: #b3c4c9;
  cursor: pointer;
  border-radius: 0;
  margin-top: 15px;
}

/* ── Left column: scrollable title list ── */
.bdca-scroller-nav {
  max-height: 680px;
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 15px;
}

/* J3: 960–1199px — viewport height 585px */
@media (min-width: 960px) and (max-width: 1199px) {
  .bdca-scroller-nav { max-height: 585px; }
}

/* J3: 768–959px — viewport height 560px, smaller title */
@media (min-width: 768px) and (max-width: 959px) {
  .bdca-scroller-nav { max-height: 560px; }

  .bdca-scroller-title {
    font-size: 24.5px;
    line-height: 36px;
  }
}

/* J3: ≤767px — 50/50 columns, reduced heights, smaller typography */
@media (max-width: 767px) {
  .bdca-scroller { padding: 0; }

  .bdca-scroller > .row > [class*="col-4"] { flex: 0 0 50%; max-width: 50%; }
  .bdca-scroller > .row > [class*="col-8"] { flex: 0 0 50%; max-width: 50%; }

  .bdca-scroller-nav {
    max-height: 500px;
    font-size: 1em;
  }

  .bdca-scroller-nav .list-group-item {
    font-size: 12px;
    line-height: 24px;
  }

  .bdca-scroller-title {
    font-size: 18.9px;
    line-height: 30px;
    margin-top: 0;
  }

  .bdca-scroller-meta {
    font-size: 1.15em;
    line-height: 1.35em;
  }
}

.bdca-scroller-nav::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* J3: .sprocket-features-pagination li */
.bdca-scroller-nav .list-group-item {
  position: relative;
  direction: ltr;
  text-align: left;
  font-family: 'PT Serif', 'ptserif', Verdana, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 24px;
  font-weight: normal;
  color: #686868;
  padding: 15px 0;
  cursor: pointer;
  border-bottom: 1px solid var(--bdca-color-border-light, #ddd);
  transition: opacity 0.2s ease-in;
}

.bdca-scroller-nav .list-group-item:hover,
.bdca-scroller-nav .list-group-item:focus {
  background-color: transparent;
  color: #686868;
  text-decoration: none;
}

/* J3: .sprocket-features-pagination li.active — playfairdisplay, #000000, bold, 1.5em */
.bdca-scroller-nav .list-group-item.active {
  background-color: transparent;
  color: #000000;
  font-size: 1.5em;
  line-height: 1.5em;
  font-weight: 700;
  font-family: 'Playfair Display', 'playfairdisplay', Verdana, Helvetica, Arial, sans-serif;
}

/* ── Right column: content panel ── */
.bdca-scroller-content {
  padding: 0 15px 15px 15px;
}

/* J3: .sprocket-features-img-container — padding:15px */
.bdca-scroller-image {
  height: clamp(260px, 33vw, 340px);
  object-fit: cover;
  border: 3px solid #565656;
  box-shadow: 3px 3px 4px #828282;
}

@media (min-width: 768px) {
  .bdca-scroller-image {
    margin-left: -5px;
  }
}

/* J3: feature section title — inherits #000000 from #rt-feature .rt-container */
.bdca-scroller-title {
  font-family: 'Playfair Display', 'playfairdisplay', Verdana, Helvetica, Arial, sans-serif;
  font-size: 22.4px;
  line-height: 31.2px;
  color: #000000;
  font-weight: bold;
}

/* J3: .sprocket-features-desc — 16.1px, line-height 27.6px */
.bdca-scroller-meta {
  font-family: 'PT Serif', 'ptserif', Verdana, Helvetica, Arial, sans-serif;
  font-size: 16.1px;
  line-height: 27.6px;
  color: #000000;
}

/* J3: .readon — padding:0, border:none, background:transparent, color:#b3c4c9, underline */
.bdca-scroller-readmore {
  font-family: 'Roboto', Verdana, Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0;
  text-underline-offset: 2px;
  color: #5b645b !important;
  text-decoration: underline;
  padding: 0;
  border: none;
  background: transparent;
}

/* J3: .readon:hover — color:#5a729c */
.bdca-scroller-readmore:hover {
  color: #5a729c;
}

.bdca-scroller-link,
.bdca-scroller-link:hover {
  color: inherit;
  text-decoration: none;
}

/* J3: .rt-title-tag — 0.85em, roboto */
.bdca-scroller .rt-title-tag {
  font-size: 0.85em;
  margin: 0 0 5px 0;
  font-family: 'Roboto', Verdana, Helvetica, Arial, sans-serif;
}

.mod-jrshowcase.layout-scroller.fp-roksprocket-scroller-feature .bdca-scroller-meta h2 {
    display: none;
}