/**
 * ==================================================
 * Hub Child Sidebar
 * ==================================================
 *
 * Components:
 * - Hub Child Statistics
 * - Hub Child Albums
 *
 * @package Lyrics71
 */


/**
 * ==================================================
 * Hub Child Statistics
 * ==================================================
 */

.hub-child-stats .title h4 {
	border-color: #7b3ff2;
}

.hub-child-stats .title i {
	color: #7b3ff2;
}


/**
 * Statistics list.
 */

.hub-child-stats__list {
	margin-top: 5px;
	border-top: 1px solid #eee;
}


/**
 * Individual statistic.
 */

.hub-child-stats__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #eee;
	font-size: 14px;
	line-height: 1.4;
}

.hub-child-stats__item:last-child {
	border-bottom: 0;
}


/**
 * Statistic label.
 */

.hub-child-stats__label {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1;
	color: #333;
}

.hub-child-stats__label i {
	width: 18px;
	text-align: center;
	color: #7b3ff2;
}


/**
 * Statistic value.
 */

.hub-child-stats__value {
	flex-shrink: 0;
	color: #7b3ff2;
	font-size: 16px;
	font-weight: 700;
}


/**
 * ==================================================
 * Hub Child Albums
 * ==================================================
 */

.hub-child-albums .title h4 {
	border-color: #7b3ff2;
}

.hub-child-albums .title i {
	color: #7b3ff2;
}


.hub-child-albums__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}


.hub-child-albums__item {
	margin: 0;
	padding: 0;
}


.hub-child-albums__link {
	display: block;

	color: inherit;
	text-decoration: none;
}


.hub-child-albums__link:hover {
	color: inherit;
	text-decoration: none;
}


.hub-child-albums__image {
	position: relative;

	width: 100%;

	/*
	 * Previously 1:1.
	 * Make the sidebar cards considerably shorter.
	 */
	aspect-ratio: 2.25 / 1;

	overflow: hidden;

	border-radius: 5px;

	background-color: #f1f1f1;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;

	transition:
		transform .25s ease,
		box-shadow .25s ease;
}


/**
 * Overlay colors.
 */

.hub-child-albums__overlay {
	position: absolute;
	inset: 0;

	opacity: .82;

	transition: opacity .25s ease;
}


.hub-child-albums__overlay--green {
	background: linear-gradient(
		to right,
		#001510,
		#00bf8f
	);
}


.hub-child-albums__overlay--gold {
	background: linear-gradient(
		to right,
		#757519,
		#ccccb2
	);
}


.hub-child-albums__overlay--blue {
	background: linear-gradient(
		to right,
		#283e51,
		#4b79a1
	);
}


.hub-child-albums__overlay--gray {
	background: linear-gradient(
		to right,
		#d7d2cc,
		#304352
	);
}


/**
 * Album content.
 */

.hub-child-albums__content {
	position: absolute;

	left: 12px;
	right: 12px;
	bottom: 10px;

	z-index: 2;

	color: #fff;
}


.hub-child-albums__title {
	margin: 0;

	color: #fff;

	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
}


.hub-child-albums__subtitle {
	margin-top: 3px;

	color: rgba(255, 255, 255, .95);

	font-size: 12px;
	line-height: 1.3;
}


/**
 * Hover.
 */

.hub-child-albums__link:hover
.hub-child-albums__image {
	transform: translateY(-2px);

	box-shadow: 0 6px 18px rgba(0, 0, 0, .14);
}


.hub-child-albums__link:hover
.hub-child-albums__overlay {
	opacity: .72;
}


.hub-child-albums__link:hover
.hub-child-albums__title {
	text-decoration: underline;
}


/**
 * ==================================================
 * Mobile
 * ==================================================
 */

@media (max-width: 575px) {

	.hub-child-albums__list {
		gap: 12px;
	}

	.hub-child-albums__title {
		font-size: 16px;
	}

	.hub-child-albums__subtitle {
		font-size: 14px;
	}

}