/**
 * Featured article grid specific styles
 * 
 */

/** General */
	.featured-categories .container {
		display: block;
	}

		.featured-categories .featured-categories-grid {
			display: flex;
			flex-wrap: wrap;
			justify-content: space-between;
			align-items: stretch;
		}

			.featured-categories .owl-carousel .owl-stage{
				display: flex;
			}

			.featured-categories .featured-categories-grid a {
				position: relative;
				box-sizing: border-box;
				width: 100%;
				height: 100%;
				min-height: 400px;
				display: flex;
				flex-flow: column;
				padding: 2em;
				text-decoration: none;
				border-radius: var(--border-radius);
				background: var(--mist);
			}
			@media only screen and (max-width: 1099px) { 
				
				.featured-categories .featured-categories-grid a {
					width: 400px;
				}

			}
			@media only screen and (max-width: 550px) {
		
				.featured-categories .featured-categories-grid a {
					width: calc(90vw - calc( var(--spacer) * 2 ) );
				}
		
			}
			.featured-categories .featured-categories-grid a::before {
				display: block;
				content: '';
				width: 100%;
				height: 60%;
				position: absolute;
				bottom: 0;
				left: 0;
				background: rgb(var(--indigo-rga));
				background: linear-gradient(0deg, rgba(var(--indigo-rga), 1) 10%, rgba(var(--indigo-rga), 0) 100%);
				border-radius: 0 0 var(--border-radius) var(--border-radius);
				transition: all .5s;
				z-index: 1;
			}
			.featured-categories .featured-categories-grid a:hover::before {
				height: 100%;
			}
			
				.featured-categories .featured-categories-grid a span.img-wrapper {
					position: absolute;
					top: 0;
					left: 0;
					width: 100%;
					height: 100%;
					max-width: none;
					border-radius: var(--border-radius);
				}
			
					.featured-categories .featured-categories-grid a span.img-wrapper img {
						width: 100%;
						height: 100%;
						object-fit: cover;
						border-radius: var(--border-radius);
						margin: 0;
					}
			
					.featured-categories .featured-categories-grid a h3 {
						position: relative;
						color: #FFF;
						margin: auto 0 0;
						padding: 0;
						transition: all .3s;
						font-size: 2em;
						z-index: 10;
						line-height: 1.1;
						font-weight: 100;
					}
					
					.featured-categories .featured-categories-grid a .from {
						font-size: .7em;
						margin: 0 3px 0 0;
						text-transform: uppercase;
						vertical-align: middle;
						color: #FFF;
					}
			
					.featured-categories .featured-categories-grid a .price {
						display: block;
						font-weight: 400;
						color: #FFF;
						margin: 3px 0;
						font-size: 1em;
						z-index: 10;
					}
			
						.featured-categories .featured-categories-grid a .price span.woocommerce-Price-amount {
							color: #FFF;
							font-size: 1.1em;
							font-weight: 600;
							vertical-align: middle;
						}
			
					.featured-categories .featured-categories-grid a .enrol {
						display: flex;
						align-items: center;
						justify-content: space-between;
						z-index: 10;
						color: #FFF;
						font-weight: 700;
						transition: all .3s;
					}
					.featured-categories .featured-categories-grid a:hover .enrol {
						padding-bottom: 1em;	
					}
			
						.featured-categories .featured-categories-grid a  .enrol ion-icon {
							font-size: 1.2em;
						}


/** Responsive */
	@media only screen and (max-width: 768px) {

		.featured-categories .featured-categories-grid {
			width: calc( 100% + 4em );
			margin-left: -2em;
		}

	}