/*
 * SECTION:  Deals of the week
 * File:     assets/css/sections/sol-deals.css
 * Used by:  [sol_deals] shortcode and the Deals widget (Core plugin)
 * To remove: delete this file and its line in inc/assets.php (handle "sol-deals").
 */

.sol-deals {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
}

.sol-deals__intro {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	padding: 24px;
	background: var(--sol-accent);
	color: var(--sol-accent-ink);
	border-radius: var(--sol-radius-md);
}

/* The panel is yellow in both themes, so its heading stays dark. */
.sol-deals__intro h2 {
	color: var(--sol-accent-ink) !important;
	font-size: 1.75rem;
}

.sol-deals__intro .sol-btn {
	background: var(--sol-accent-ink);
	color: var(--sol-accent);
}

@media (min-width: 1000px) {
	.sol-deals {
		grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
	}

	.sol-deals__intro {
		padding: 28px;
	}
}
