/**
 * Widget sidebar « À la une » — Figma 541:15228.
 */

.r100f-featured-tool {
	margin: 0 0 24px;
	padding: 0;
	border: none;
	background: transparent;
	box-shadow: none;
}

.r100f-featured-tool__card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
	min-height: 100%;
	padding: 24px 12px;
	background: #f8f8f8;
	border-radius: 24px;
	box-sizing: border-box;
}

.r100f-featured-tool__top {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
}

.r100f-featured-tool__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-width: 92px;
	height: 28px;
	margin: 0 !important;
	padding: 8px 24px;
	background: #ffe8ad;
	border: 1px solid #ffe8ad;
	border-radius: 24px;
	font-family: Raleway, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #28221c;
	box-sizing: border-box;
}

.r100f-featured-tool__headline {
	margin: 0;
	font-family: "Caveat Brush", Caveat, cursive;
	font-size: 18px;
	font-weight: 400;
	line-height: 26px;
	letter-spacing: 2px;
	color: #000;
}

.r100f-featured-tool__body {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	width: 100%;
}

.r100f-featured-tool__media-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.r100f-featured-tool__media {
	display: block;
	width: 100%;
	/* aspect-ratio: 1 / 1; */
	border-radius: 12px;
	overflow: hidden;
	background: #eee;
}

img.r100f-featured-tool__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 12px;
}

.r100f-featured-tool__img--placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 200px;
	background: linear-gradient(135deg, #eee 0%, #e0e0e0 100%);
}

.r100f-featured-tool__tool-title {
	margin: 0;
	padding: 0 4px;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 24px;
	letter-spacing: 1px;
	text-align: center;
	color: #000;
	text-decoration: none;
}

a.r100f-featured-tool__tool-title:hover,
a.r100f-featured-tool__tool-title:focus {
	text-decoration: underline;
}

.r100f-featured-tool__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 41px;
	padding: 1px 24px;
	background: #353535;
	border-radius: 30px;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 39px;
	letter-spacing: 1px;
	text-align: center;
	text-decoration: none;
	color: #fff;
	box-sizing: border-box;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.r100f-featured-tool__cta:hover,
.r100f-featured-tool__cta:focus {
	opacity: 0.92;
	transform: translateY(-1px);
	color: #fff;
}

/* Sidebar articles / recettes (Bridge) */
aside.sidebar .r100f-featured-tool {
	width: 100%;
}

body.r100f-single-recipe-figma.r100f-single-recipe-only-figma aside.sidebar .r100f-featured-tool {
	display: none;
}

body.r100f-single-recipe-figma aside.sidebar .r100f-featured-tool {
	margin-bottom: 24px;
}

body.r100f-single-recipe-figma aside.sidebar .r100f-featured-tool:last-child {
	margin-bottom: 0;
}
