/*
	README

	Modify this file as much or as little as needed.

	This file is shared across all CCL widgets in the Slider Preview family. This enables the ability to
	a family of widgets in a single update without touching the structure of the widget and without needing
	to duplicate efforts across several widget-specific CSS files.
*/

/* Kit2 Styling */
.kit2 .core-preview-slider {
	margin-bottom: var(--widget-margin-bottom);
	padding-top: var(--widget-padding-top);
}

.kit2 .core-preview-slider .slide.overlap-image-desktop .img-cont::after {
	content: "";
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
	pointer-events: none;
}

.kit2 .core-preview-slider .slide .slide-title {
	font-size: var(--text-xl);
	line-height: var(--leading-tight);
}

.kit2 .core-preview-slider .slide .description {
	font-size: var(--text-lg);
	line-height: var(--leading-tight);
}

.kit2 .core-preview-slider .slide.overlap-image-desktop .content-section,
.kit2 .core-preview-slider .slide .content-section {
    position: relative;
    padding: var(--space-5);
    color: var(--text-color);
    font-size: var(--text-base);
    font-weight: normal;
    width: auto;
}
.kit2 .core-preview-slider .slide.overlap-image-desktop .content-section .description.hideDescription,
.kit2 .core-preview-slider .slide .content-section .description.hideDescription { 
    display: none;
}


.kit2 .core-preview-slider .slide.overlap-image-desktop .content-section .slide-title,
.kit2 .core-preview-slider .slide .content-section .slide-title {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    color: var(--text-color);
    font-weight: 400;
    letter-spacing: 0.36px;
    max-width: 100%;
}

.kit2 .core-preview-slider .slide.overlap-image-desktop .content-section p,
.kit2 .core-preview-slider .slide .content-section p {
    color: var(--text-color);
    font-size: var(--text-base);
    font-weight: normal;
    /* overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 5; 
           line-clamp: 5; 
   -webkit-box-orient: vertical; */
}

/* @media screen and (min-width: 70em) {
    .kit2 .core-preview-slider .slide.overlap-image-desktop .content-section p,
    .kit2 .core-preview-slider .slide .content-section p {
    display: -webkit-box;
    -webkit-line-clamp: 3; 
            line-clamp: 3; 
    -webkit-box-orient: vertical;
    }
} */

.kit2 .core-preview-slider .slide.overlap-image-desktop .content-section  .slide-footer,
.kit2 .core-preview-slider .slide .content-section .slide-footer {
    margin: 0;
}

.kit2 .core-preview-slider .slide.overlap-image-desktop .content-section .slide-footer .read-more,
.kit2 .core-preview-slider .slide .content-section .slide-footer .read-more {
    margin: 0;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 2px;
}

/* Kit2 Tablet */
@media (min-width: 40em) {
    .kit2 .core-preview-slider .slide.overlap-image-desktop .content-section {
        padding: var(--space-4);
        position: static;
        margin: 0;
    }
}

/* Kit2 Desktop */
@media (min-width: 64em) {
    .kit2 .core-preview-slider .slide.overlap-image-desktop .content-section  {
        position: absolute;
        bottom: 10px;
        left: 10px;
    }

    .kit2 .core-preview-slider .slide.overlap-image-desktop .content-section .slide-title,
    .kit2 .core-preview-slider .slide.overlap-image-desktop .content-section p {
        color: var(--white);
    }
}


