.ct-demos-list-container {
	ul {
		display: grid;
		grid-column-gap: 30px;
		grid-row-gap: 30px;
		@include list-normalize;

		@media (min-width: 783px) {
			grid-template-columns: repeat(3, 1fr);
			// grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
		}

		li {
			margin: 0;
			box-sizing: border-box;
			box-shadow: 0 2px 5px rgba(143, 163, 184, 0.12);

			figure {
				position: relative;
				margin: 0;
				overflow: hidden;
				border-radius: 3px 3px 0 0;

				&:before {
					content: '';
					display: block;
					width: 100%;
					padding-bottom: 75%;
				}

				img {
					position: absolute;
					top: 0;
					left: 0;
					width: 100%;
					height: 100%;
				}

				section {
					position: absolute;
					display: flex;
					flex-direction: column;
					// flex-wrap: wrap;
					align-items: center;
					justify-content: center;
					top: 0;
					left: 0;
					right: 0;
					bottom: 0;
					opacity: 0;
					background: rgba(36, 41, 45, 0.9);
					transition: opacity 0.2s ease;

					h3 {
						font-size: 15px;
						color: #fff !important;
						margin: 0 0 25px 0;
					}

					div {
						display: flex;
					}

					span {
						padding: 8px 12px;
						display: block;
						font-size: 17px;
						font-weight: 500;
						color: #fff;
						border-radius: 3px;
						border: 2px solid rgba(255, 255, 255, 0.5);
						background: rgba(36, 41, 45, 0.4);

						&:not(:last-child) {
							margin-right: 15px;
						}
					}
				}
			}

			&:hover {
				figure > section {
					opacity: 1;
				}
			}

			// pro
			&.ct-is-pro figure {
				position: relative;

				a {
					position: absolute;
					z-index: 1;
					content: 'PRO';
					top: 0;
					right: 0;
					font-size: 13px;
					font-weight: 700;
					letter-spacing: .03em;
					color: rgb(161,104,13);
					text-decoration: none;
					padding: 5px 15px;
					margin: 25px;
					background: #ffc568;
					border-radius: 3px;
					box-shadow: 0 5px 8px 0 rgba(234,157,33,.3);
				}
			}
		}
	}
}

.ct-demo-actions {
	display: flex;
	align-items: center;
	padding: 20px 25px;
	border-radius: 0 0 3px 3px;
	border: 1px solid rgba(226, 230, 235, 0.7);
	background: rgba(235, 237, 241, 0.2);

	@media (max-width: 549px) {
		flex-direction: column;
	}

	@media (min-width: 550px) {
		justify-content: space-between;
	}

	h4 {
		margin: 0;

		@media (max-width: 549px) {
			margin-bottom: 20px;
		}
	}

	.ct-button {
		margin-right: 15px;
	}

	button[disabled] {
		opacity: 0.3;
		user-select: none;
		pointer-events: none;
	}
}