.workscout-stories-bento {
	box-sizing: border-box;
	width: 100%;
}

.workscout-stories-bento *,
.workscout-stories-bento *::before,
.workscout-stories-bento *::after {
	box-sizing: border-box;
}

.workscout-stories-bento__head {
	max-width: 660px;
	margin: 0 auto 48px;
	text-align: center;
}

.workscout-stories-bento__kicker {
	margin: 0 0 18px;
	color: #999;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 3px;
	line-height: 20px;
	text-transform: uppercase;
}

.workscout-stories-bento__tabs {
	display: inline-flex;
	gap: 4px;
	margin-top: 28px;
	padding: 5px;
	border-radius: 6px;
	background: #f4f4f4;
}

.workscout-stories-bento__tab {
	padding: 10px 24px;
	border: 1px solid transparent;
	border-radius: 6px;
	background: transparent;
	box-shadow: none;
	color: #777;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 21px;
	cursor: pointer;
	transition: color 300ms ease, background-color 300ms ease, border-color 300ms ease;
}

.workscout-stories-bento__tab:hover,
.workscout-stories-bento__tab:focus {
	background: transparent;
	box-shadow: none;
	color: #111;
}

.workscout-stories-bento__tab.is-active,
.workscout-stories-bento__tab.is-active:hover,
.workscout-stories-bento__tab.is-active:focus {
	border-color: #e2e2e2;
	background: #fff;
	box-shadow: none;
	color: #111;
}

.workscout-stories-bento__tab:focus-visible {
	outline: 2px solid var(--workscout-primary-color, #26ae61);
	outline-offset: 2px;
}

.workscout-stories-bento__set {
	--workscout-stories-bento-height: 640px;

	display: none;
	height: var(--workscout-stories-bento-height);
	grid-template-columns: minmax(0, 30fr) minmax(0, 42fr) minmax(0, 27fr);
	grid-template-rows: minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.workscout-stories-bento__set.is-active {
	display: grid;
}

.workscout-stories-bento__column {
	display: flex;
	height: 100%;
	min-width: 0;
	flex-direction: column;
	gap: 24px;
}

.workscout-stories-bento__column--accent {
	display: grid;
	grid-template-rows: minmax(0, 18fr) minmax(0, 7fr);
}

.workscout-stories-bento__column--main {
	display: grid;
	grid-template-rows: minmax(0, 1fr);
}

.workscout-stories-bento__column--side {
	display: grid;
	grid-template-rows: minmax(0, 1fr) minmax(0, 3fr);
}

.workscout-stories-bento--without-decorative .workscout-stories-bento__column--accent,
.workscout-stories-bento--without-decorative .workscout-stories-bento__column--side {
	grid-template-rows: minmax(0, 1fr);
}

.workscout-stories-bento__card {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 12px;
	box-shadow: none;
	color: #fff;
	text-decoration: none;
}

.workscout-stories-bento__card:hover,
.workscout-stories-bento__card:focus {
	box-shadow: none;
	color: #fff;
}

.workscout-stories-bento__card:focus-visible {
	outline: 3px solid var(--workscout-primary-color, #26ae61);
	outline-offset: 3px;
}

.workscout-stories-bento__card--primary {
	--workscout-stories-primary-overlay: var(--workscout-primary-color, #111);

	height: 100%;
	background: #111;
}

.workscout-stories-bento__card--photo {
	height: 100%;
}

.workscout-stories-bento__column--main .workscout-stories-bento__card--photo {
	height: 100% !important;
}

.workscout-stories-bento__column--side .workscout-stories-bento__card--photo {
	height: 100% !important;
}

.workscout-stories-bento__card--primary img,
.workscout-stories-bento__card--photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms cubic-bezier(0.22, 0.61, 0.25, 1);
}

.workscout-stories-bento__card--primary:hover img,
.workscout-stories-bento__card--photo:hover img {
	transform: scale(1.045);
}

.workscout-stories-bento__primary-overlay {
	position: absolute;
	inset: 0;
	background-color: var(--workscout-stories-primary-overlay);
	opacity: 0.72;
	pointer-events: none;
}

.workscout-stories-bento__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.64) 0%, rgba(0, 0, 0, 0.2) 36%, rgba(0, 0, 0, 0) 62%);
}

.workscout-stories-bento__card-title {
	position: absolute;
	right: 30px;
	bottom: 26px;
	left: 30px;
	margin: 0;
	color: #fff;
	font-size: 21px;
	font-weight: 500;
	line-height: 29px;
	transition: transform 500ms cubic-bezier(0.22, 0.61, 0.25, 1);
}

.workscout-stories-bento__card:hover .workscout-stories-bento__card-title {
	transform: translateY(-4px);
}

.workscout-stories-bento__tag {
	position: absolute;
	top: 30px;
	left: 30px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 2px;
	line-height: 20px;
	text-transform: uppercase;
}

.workscout-stories-bento__pill {
	position: absolute;
	top: 24px;
	left: 24px;
	padding: 8px 15px;
	border-radius: 100px;
	background: #fff;
	color: #111;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
}

.workscout-stories-bento__blank {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: #f4f4f4;
}

.workscout-stories-bento__blank-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	font-size: 48px;
	line-height: 1;
	pointer-events: none;
}

.workscout-stories-bento__blank-icon i,
.workscout-stories-bento__blank-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	color: inherit;
}

.workscout-stories-bento__blank--accent {
	width: auto;
	height: 100%;
	max-width: 60%;
	margin-right: 8%;
	margin-left: auto;
	aspect-ratio: 1;
}

.workscout-stories-bento__blank--side {
	width: auto;
	height: 100%;
	max-width: 55%;
	aspect-ratio: 1;
}

.workscout-stories-bento__actions {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}

.workscout-stories-bento__button,
.elementor .workscout-stories-bento__button {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 7px 7px 7px 27px;
	border: 0;
	border-radius: 6px;
	background: var(--workscout-primary-color, #26ae61);
	box-shadow: none;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 22px;
	text-decoration: none;
	transition: none;
}

.workscout-stories-bento__button:hover,
.workscout-stories-bento__button:focus,
.elementor .workscout-stories-bento__button:hover,
.elementor .workscout-stories-bento__button:focus {
	background: var(--workscout-primary-color, #26ae61);
	box-shadow: none;
	color: #fff;
	text-decoration: none;
}

.workscout-stories-bento__button:focus-visible {
	outline: 2px solid var(--workscout-primary-color, #26ae61);
	outline-offset: 3px;
}

.workscout-stories-bento__button-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 6px;
	background: #fff;
	color: var(--workscout-primary-color, #26ae61);
	flex: 0 0 38px;
}

.workscout-stories-bento__button-arrow svg {
	display: block;
	width: 16px;
	height: 16px;
}

.workscout-stories-bento__set.is-active .workscout-stories-bento__card,
.workscout-stories-bento__set.is-active .workscout-stories-bento__blank {
	animation: workscout-stories-bento-in 650ms cubic-bezier(0.22, 0.61, 0.25, 1) both;
}

.workscout-stories-bento__set.is-active .workscout-stories-bento__column--main .workscout-stories-bento__card {
	animation-delay: 100ms;
}

.workscout-stories-bento__set.is-active .workscout-stories-bento__column--side > * {
	animation-delay: 200ms;
}

@keyframes workscout-stories-bento-in {
	from { opacity: 0; transform: translateY(26px); }
	to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
	.workscout-stories-bento__set {
		height: auto;
	}

	.workscout-stories-bento__set.is-active {
		display: flex;
		flex-direction: column;
	}

	.workscout-stories-bento__column {
		display: flex;
		height: auto;
		width: 100%;
	}

	.workscout-stories-bento__card--primary {
		height: 340px;
	}

	.workscout-stories-bento__card--photo,
	.workscout-stories-bento__column--main .workscout-stories-bento__card--photo,
	.workscout-stories-bento__column--side .workscout-stories-bento__card--photo {
		height: 420px !important;
		margin-top: 0;
	}

	.workscout-stories-bento__blank {
		display: none;
	}
}

@media (max-width: 520px) {
	.workscout-stories-bento__tabs {
		display: flex;
		max-width: 100%;
		overflow-x: auto;
	}

	.workscout-stories-bento__tab {
		flex: 0 0 auto;
		padding: 9px 18px;
	}

	.workscout-stories-bento__card--photo,
	.workscout-stories-bento__column--main .workscout-stories-bento__card--photo,
	.workscout-stories-bento__column--side .workscout-stories-bento__card--photo {
		height: 360px !important;
	}

	.workscout-stories-bento__card-title {
		right: 24px;
		bottom: 22px;
		left: 24px;
		font-size: 19px;
		line-height: 27px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.workscout-stories-bento *,
	.workscout-stories-bento *::before,
	.workscout-stories-bento *::after {
		animation: none !important;
		transition: none !important;
	}
}
