/* Minimal, framework-free slider styles (cleaned) */

.mod-featuredintro-slideshow{
  width: 100%;
  display: flex;
  gap: .5rem;
}

/* Middle layout: buttons each side of viewport */
.mod-featuredintro-slideshow.navpos-middle{
  flex-direction: row;
  align-items: center;
}

/* Top/Bottom layouts: nav row + viewport stacked */
.mod-featuredintro-slideshow.navpos-top,
.mod-featuredintro-slideshow.navpos-top_center,
.mod-featuredintro-slideshow.navpos-bottom,
.mod-featuredintro-slideshow.navpos-bottom_center{
  flex-direction: column;
}

/* Viewport */
.mod-featuredintro-slideshow .mfs-viewport{
  overflow: hidden;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

/* Track + slides */
.mod-featuredintro-slideshow .mfs-track{
  display: flex;
  will-change: transform;
  transition: transform 300ms ease;
}

.mod-featuredintro-slideshow .mfs-slide{
  box-sizing: border-box;
  padding: .5rem;
}

/* Nav buttons */
.mod-featuredintro-slideshow .mfs-nav{
  flex: 0 0 auto;
  cursor: pointer;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  padding: .25rem .5rem;
}

/* Nav row (Top/Bottom variants) */
.mod-featuredintro-slideshow .mfs-nav-row{
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* Place nav row above or below viewport */
.mod-featuredintro-slideshow.navpos-top .mfs-nav-row,
.mod-featuredintro-slideshow.navpos-top_center .mfs-nav-row{
  order: 0;
}
.mod-featuredintro-slideshow.navpos-top .mfs-viewport,
.mod-featuredintro-slideshow.navpos-top_center .mfs-viewport{
  order: 1;
}

.mod-featuredintro-slideshow.navpos-bottom .mfs-viewport,
.mod-featuredintro-slideshow.navpos-bottom_center .mfs-viewport{
  order: 1;
}
.mod-featuredintro-slideshow.navpos-bottom .mfs-nav-row,
.mod-featuredintro-slideshow.navpos-bottom_center .mfs-nav-row{
  order: 2;
}

/* Alignment */
.mod-featuredintro-slideshow.navpos-top .mfs-nav-row,
.mod-featuredintro-slideshow.navpos-bottom .mfs-nav-row{
  justify-content: space-between;
  width: 100%;
}

.mod-featuredintro-slideshow.navpos-top_center .mfs-nav-row,
.mod-featuredintro-slideshow.navpos-bottom_center .mfs-nav-row{
  justify-content: center;
}

/* Images */
.mod-featuredintro-slideshow .intro-image img{
  max-width: 100%;
  height: auto;
  display: block;
}


/* Intro text line clamp (when Intro text limit = lines) */
.mod-featuredintro-slideshow.mfi-intro-lines .mfi-introtext{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--mfi-intro-lines, 0);
  overflow: hidden;
}


/* Readmore button styling */
.mod-featuredintro-slideshow .readmore > a:hover,
.mod-featuredintro-slideshow .readmore > a:focus{
    background: var(--mfs-readmore-bg-hover, #1565c0);
    color: var(--mfs-readmore-color-hover, #fff);
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

.mod-featuredintro-slideshow .readmore > a:hover,
.mod-featuredintro-slideshow .readmore > a:focus{
  background: var(--mfs-readmore-bg-hover, #1565c0);
  color: var(--mfs-readmore-color-hover, #fff);
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}


/* Readmore button styling */
.mod-featuredintro-slideshow .readmore > a.readmore-btn{
    display: inline-block;
    font-size: 0.8rem;
    padding: 0.8em 1.4em;

    background: var(--mfs-readmore-bg, #1e88e5);
    color: var(--mfs-readmore-color, #fff);
    text-decoration: none;
    border-radius: 0.4em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.mod-featuredintro-slideshow .readmore > a.readmore-btn:hover,
.mod-featuredintro-slideshow .readmore > a.readmore-btn:focus{
    background: var(--mfs-readmore-bg-hover, #1565c0);
    color: var(--mfs-readmore-color-hover, #fff);
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
}


.mod-featuredintro-slideshow .readmore{
    margin-top: 1.5rem;
}
