/*
	README

	Modify this file as much or as little as needed.

	This file is shared across all CCL widgets in the Header Slideshow 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.
*/
.core-v2-hero-slideshow {
	margin-bottom: 0;
	z-index: 1;
}
.core-v2-hero-slideshow .img-cont::before {
	display: block;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
}
.core-v2-hero-slideshow.hide-content .img-cont::before {
	display: none;
}
.core-v2-hero-slideshow .slide-title {
	font-weight: 700;
	line-height: var(--leading-tight);
	font-size: var(--text-2xl);
}

.core-v2-hero-slideshow .slide-desc {
	font-size: var(--text-base);
	font-weight: normal;
	line-height: var(--leading-normal);
}
.ccl-v2-widget.core-v2-hero-slideshow {
	--sw-collections-read-more-color: var(--gold);
	--sw-collections-read-more-color-hover: var(--gold);

	.content-section {
		gap: var(--space-2);
		padding: 32px var(--space-5);	

		.slide-title {
			font-family: var(--font-display);
			font-weight: 700;
			color: #ffffff;
			font-size: 1.375rem;
			letter-spacing: var(--tracking-tight);
			line-height: 1.2;
			text-transform: capitalize;	

			a {
				color: inherit;
			}
		}
	}

	.glide__arrows {
		height: 100%;
		width: 100%;
		left: 0;
		right: 0;
		padding: 0 37px;
		justify-content: space-between;

		& > button {
			font-size: 2.26rem;
			background: transparent;
			color: var(--white);
			border: none;
			visibility: hidden;
			pointer-events: none;
		}
	}

	.bullets-cont {
		position: absolute;
		bottom: -2px;
		width: 100%;
		left: 0;
		display: flex;
		gap: 10px;
		justify-content: center;

		button {
			height: 10px;
			width: 10px;
			background-color: var(--white);
			border-radius: 50%;
			padding: 0;
			pointer-events: all;
			transition: background-color var(--transition-appendix);

			&.glide__bullet--active {
				background-color: var(--red);
			}
		}
	}
	.shared-play-button {
		top: var(--space-3);
		right: var(--space-3);
		left: unset;
		transform: none;
	}

	.credits {
		bottom: var(--space-2);
		right: var(--space-3);
	}

	@media (min-width: 40em) {
		.glide__arrows > button {
			visibility: visible;
			pointer-events: all;
		}
	}
	@media (min-width: 64em) {
		margin-bottom: var(--space-8);

		.content-section {
			gap: var(--space-4);

			.slide-title {
				font-size: 1.75rem;
			}
		}

		.bullets-cont {
			bottom: -4px;
			gap: var(--space-4);

			button {
				height: 12px;
				width: 12px;
			}
		}
	}
}
