/* Featured Cards Block */

.featured-card-grid {
    overflow:hidden;
}

.featured-card-grid .featured-card {
    border-radius: var(--theme--border-radius);
    overflow: hidden;
    display:block;
    height:100%;
}

.featured-card-grid.no-border .featured-card {
    border:0;
}

.featured-card.icon .card-img-top {
    display:flex;
    justify-content: center;
    padding:30px;
    box-sizing: border-box;
}

.featured-card-grid .featured-card .card-img-top img {
    width:100%;
    object-fit: cover;
    height: 280px;
}

.featured-card.icon .card-img-top img {
    width:75%;
    max-width:150px;
    height:auto;
    margin:0 auto;
}

.featured-card .card-body {
    padding:20px;
}

.featured-card.icon .card-body {
    text-align:center;
}

a.featured-card .card-body,
.featured-card.link .card-body{
    padding-bottom:50px;
}

.featured-card .card-footer,
.editor-styles-wrapper .featured-card .card-footer{
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    border-top:0;
    background-color: unset;
    padding: 0 20px 20px;
}

a.featured-card .card-footer > span.btn,
.editor-styles-wrapper .featured-card.link .card-footer > span.btn{
	position:relative;
	font-size:var(--text-size-small);
	font-weight:var(--theme--button-font-weight);
	padding-bottom:8px;
	display:inline-block;
}

a.featured-card .card-footer > span.btn::after,
.editor-styles-wrapper .featured-card.link .card-footer > span.btn::after{
	content:'';
	position:absolute;
	left:0;
	bottom:0;
	width:100%;
	height:3px;
	background:var(--theme--primary-color);
	transition-duration: 300ms;
	transition-timing-function: ease-in-out;
}

.editor-styles-wrapper .featured-card.link .card-footer > span.btn::after{
	background: #666;
}

a.featured-card .card-footer > span.btn:hover::after{
	bottom:4px;
}

.featured-card-grid .featured-card.slider {
    margin-right: calc(var(--bs-gutter-x)* .5);
    margin-left: calc(var(--bs-gutter-x)* .5);
}