.block-reader-favorites {
}

.block-reader-favorites .block-reader-favorites__inner {
	display: grid;
	grid-template-columns: 1fr;
	align-items: flex-start;
}

/* Featured */
.editor-styles-wrapper .block-reader-favorites .block-reader-favorites__featured {
	pointer-events: none;
}

.block-reader-favorites .block-reader-favorites__featured {
	background: var(--wp--preset--color--background);
	box-shadow: var(--wp--custom--box-shadow--1);
	/* overflow: hidden; */
	position: relative;
}

.block-reader-favorites .block-reader-favorites__featured::before {
	content: '';
	display: block;
	width: 140px;
	height: 140px;
	background: var(--wp--preset--color--quaternary) url(../../assets/icons/logo/badge.svg) no-repeat center;
	background-size: 100px;
	border-radius: 50%;
	box-shadow: var(--wp--custom--box-shadow--1);
	position: absolute;
}

.block-reader-favorites .block-reader-favorites__featured img {
	object-fit: cover;
	width: 100%;
	aspect-ratio: 0.67;
}

.block-reader-favorites .block-reader-favorites__featured-content {
	padding: 12px 12px 16px;
	text-align: center;
}

.block-reader-favorites .block-reader-favorites__featured-content  > * {
	margin: 0;
}

.block-reader-favorites .block-reader-favorites__featured-content  > * + * {
	margin-top: 10px;
}

.block-reader-favorites .block-reader-favorites__featured-content a {
	display: block;
	font-family: var(--wp--custom--typography--heading--font-family);
	font-weight: var(--wp--custom--typography--heading--font-weight);
	letter-spacing: var(--wp--custom--typography--heading--letter-spacing);
	line-height: var(--wp--custom--typography--heading--line-height);
	text-transform: var(--wp--custom--typography--heading--text-transform);
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--foreground);
	text-decoration: none;
}

.block-reader-favorites .block-reader-favorites__featured-content a:hover {
	/* color: var(--wp--preset--color--primary); */
}

.block-reader-favorites .block-reader-favorites__featured-content .entry-total-time {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	color: var(--wp--custom--color--neutral-700);
	font-weight: 300;
	font-size: var(--wp--preset--font-size--min);
}

/* Others */
.editor-styles-wrapper .block-reader-favorites .block-reader-favorites__others--items {
	pointer-events: none;
}
.block-reader-favorites .block-reader-favorites__others--items {
	counter-reset: reader-favorites-counter;
	border-top: 1px solid var(--wp--preset--color--tertiary);
}

.block-reader-favorites .block-reader-favorites__others--item {
	padding: 16px 0;
	display: flex;
	gap: 24px;
}


.block-reader-favorites .block-reader-favorites__others--item::before {
	display: block;
	content: counter(reader-favorites-counter, decimal-leading-zero);
    counter-increment: reader-favorites-counter;
	/* font-family: var(--wp--custom--typography--heading--font-family); */
	font-family: -apple-system-ui-serif, ui-serif, Noto Serif, Iowan Old Style, Apple Garamond, Baskerville, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
	letter-spacing: var(--wp--custom--typography--heading--letter-spacing);
	line-height: 1;
	text-transform: var(--wp--custom--typography--heading--text-transform);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--gargantuan);
	font-style: italic;
	color: var(--wp--preset--color--secondary);
}

.block-reader-favorites .block-reader-favorites__others--item h3 {
	margin-bottom: 8px;
}

.block-reader-favorites .block-reader-favorites__others--item a {
	text-decoration: none;
	color: inherit;
}

.block-reader-favorites .block-reader-favorites__others--item a:hover {
	text-decoration: underline;
}

.block-reader-favorites .post-header__summary p {
	font-size: var(--wp--preset--font-size--tiny);
	margin: 0;
	line-height: 1.4;
}

/* Footer */
.editor-styles-wrapper .block-reader-favorites footer {
	pointer-events: none;
}

.block-reader-favorites footer {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-top: 32px;
}

.block-reader-favorites footer::before,
.block-reader-favorites footer::after {
    background: var(--wp--custom--color--neutral-300);
    content: "";
    display: block;
    height: 1px;
    width: 100%;
    flex-basis: 0%;
    flex-grow: 1;
}

.block-reader-favorites footer .block-reader-favorites__more.wp-block-button__link {
	width: auto;
}

@media only screen and (max-width: 767px) {

	/* Featured */
	.block-reader-favorites .block-reader-favorites__featured::before {
		top: -16px;
		left: -8px;
		width: 100px;
		height: 100px;
		background-size: 78px;
	}

	/* Others */
	.block-reader-favorites .block-reader-favorites__others {
		margin-top: 24px;
	}

	.block-reader-favorites .block-reader-favorites__others--items {
		margin-top: 16px;
	}
}

@media only screen and (min-width: 768px) {
	.block-reader-favorites .block-reader-favorites__inner {
		grid-template-columns: minmax(0, 356px) 1fr;
		column-gap: 24px;
	}

	/* body.full-width-content .block-reader-favorites__inner {
		grid-template-columns: minmax(0, 572px) 1fr;
		column-gap: 56px;
	} */

	/* Featured */
	.block-reader-favorites .block-reader-favorites__featured::before {
		top: -16px;
		left: -32px;
	}

	/* Others */
	.block-reader-favorites .block-reader-favorites__others--items {
		margin-top: 16px;
	}
}


@media only screen and (min-width: 992px) {
	body.full-width-content .block-reader-favorites .block-reader-favorites__inner {
		grid-template-columns: minmax(0, 572px) 1fr;
		column-gap: 56px;
	}
}
