.afc-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	box-sizing: border-box;
}

.afc-card--link {
	cursor: pointer;
}

.afc-card__image {
	overflow: hidden;
	line-height: 0;
	flex-shrink: 0;
}

.afc-card__image img {
	display: block;
	width: 100%;
}

.afc-card__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1 1 auto;
	width: 100%;
	box-sizing: border-box;
}

.afc-card__description {
	flex: 1 1 auto;
}

.afc-card__divider {
	flex-shrink: 0;
}

.afc-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	flex-shrink: 0;
	box-sizing: border-box;
}

.afc-card__title {
	margin: 0;
}

.afc-card__description {
	margin: 0;
}

.afc-card__divider {
	display: block;
}

/* ---- Animation ---- */

.afc-card {
	transition-property: transform, box-shadow, border-color;
	transition-timing-function: ease;
	transition-duration: 350ms;
}

.afc-card__image img {
	transition-property: transform;
	transition-timing-function: ease;
	transition-duration: 350ms;
}

.afc-card__icon {
	transition-property: transform;
	transition-timing-function: ease;
	transition-duration: 350ms;
}

/* Lift + shadow */
.afc-hover--lift:hover,
.afc-hover--lift_zoom:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 34px rgba(0, 0, 0, 0.25);
}

/* Image zoom */
.afc-hover--zoom:hover .afc-card__image img,
.afc-hover--lift_zoom:hover .afc-card__image img {
	transform: scale(1.08);
}

/* Border glow */
.afc-hover--glow {
	transition-property: transform, box-shadow, border-color, filter;
}
.afc-hover--glow:hover {
	box-shadow: 0 0 0 1px currentColor, 0 0 24px rgba(201, 160, 92, 0.55);
}

/* Icon pulse on card hover */
.afc-icon-pulse:hover .afc-card__icon {
	transform: scale(1.12);
}

/* Scroll entrance animation */
.afc-entrance {
	opacity: 0;
	transform: translateY(28px);
	transition-property: opacity, transform;
	transition-duration: 600ms;
	transition-timing-function: ease-out;
}

.afc-entrance.afc-in-view {
	opacity: 1;
	transform: translateY(0);
}

