.session-list-text .elementor-widget-container {
  /* 1. Define Scroll Behavior */
  max-height: 310px; /* target ~10 items before scroll */
  overflow-y: auto;  /* Enable vertical scrollbar only when content exceeds max-height */
  
  /* 2. Container basics */
  position: relative;
  background-color: #ffffff; /* --- ADJUST if your background isn't white --- */

  /* 3. Subtle content fade near bottom using mask
     - This fades only the CONTENT, not an overlay.
     - On non-scrollable lists there is nothing to fade, so it appears clean. */
  -webkit-mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  /* 4. Optional: Nicer scrollbar styling (adjust colors as needed) */
  /* Firefox */
  scrollbar-width: thin; 
  scrollbar-color: #cccccc #f1f1f1; /* thumb track */
}

/* Hide the fade when scrolled to the bottom (JS toggles .at-bottom) */
.session-list-text .elementor-widget-container.at-bottom {
  -webkit-mask-image: none;
          mask-image: none;
}

/* 3a. Optional: Nicer scrollbar styling (Webkit: Chrome, Safari, Edge) */
.session-list-text .elementor-widget-container::-webkit-scrollbar {
    width: 6px; /* Adjust width */
}
.session-list-text .elementor-widget-container::-webkit-scrollbar-track {
    background: #f1f1f1; /* Track background */
    border-radius: 3px;
}
.session-list-text .elementor-widget-container::-webkit-scrollbar-thumb {
    background: #cccccc; /* Scroll handle color */
    border-radius: 3px;
}
.session-list-text .elementor-widget-container::-webkit-scrollbar-thumb:hover {
    background: #aaaaaa; /* Handle color on hover */
}

/* Remove overlay-based fade so non-scrollable lists stay crisp */
.session-list-text::after { content: none; }

/* Additional session list styles */
.session-list.plain {
  list-style: none;
  /* Reset default UL indentation */
  margin: 0;
  padding: 0; /* base reset */
  /* Logical properties for RTL/LTR compatibility */
  padding-inline-start: 0;
  margin-inline-start: 0;
  /* Add only bottom padding without left indent */
  padding-block-end: 16px; /* logical equivalent */
}

.f12-session-list p a {
  display: block;
  margin: 0;
}

.f12-session-list p br {
  display: none;
}
