/* ==========================================================================
   Hot Licks – theme styles
   Colours, fonts and sizes live in theme.json; this file adds the details
   theme.json can't express: sticker shadows, drips, sprinkles and friends.
   ========================================================================== */

:root {
	--hl-ink: var(--wp--preset--color--chocolate);
	--hl-radius: 28px;
	--hl-drip-height: clamp(30px, 4vw, 46px);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

::selection {
	background: var(--wp--preset--color--butterscotch);
	color: var(--wp--preset--color--chocolate);
}

h1, h2, h3, h4, h5,
.wp-block-site-title,
.wp-block-post-title,
.wp-block-query-title {
	font-variation-settings: "SOFT" 100, "WONK" 1;
	text-wrap: balance;
	overflow-wrap: normal;
	hyphens: manual;
}

p {
	text-wrap: pretty;
}

h1 em,
h2 em {
	font-style: italic;
	font-weight: 700;
	color: var(--wp--preset--color--raspberry);
}

/* Links: chunky strawberry underline that darkens on hover. */
a:where(:not(.wp-element-button)) {
	text-decoration-thickness: 2px;
	text-underline-offset: 0.2em;
	text-decoration-color: var(--wp--preset--color--strawberry);
	transition: text-decoration-color 0.15s ease, color 0.15s ease;
}

a:where(:not(.wp-element-button)):hover {
	text-decoration-color: currentColor;
}

:where(a, button, input, select, textarea, summary, .wp-element-button):focus-visible {
	outline: 3px dashed var(--wp--preset--color--raspberry);
	outline-offset: 3px;
}

/* Full-width sections sit flush against each other. */
.wp-site-blocks > * + *,
.hl-main {
	margin-block-start: 0;
}

:where(.is-layout-constrained, .is-layout-flow) > .alignfull + .alignfull {
	margin-block-start: 0;
}

/* --------------------------------------------------------------------------
   Dark sections (chocolate / blueberry backgrounds)
   -------------------------------------------------------------------------- */

.has-chocolate-background-color,
.has-blueberry-background-color {
	--hl-ink: var(--wp--preset--color--butterscotch);
}

.has-chocolate-background-color :focus-visible,
.has-blueberry-background-color :focus-visible {
	outline-color: var(--wp--preset--color--butterscotch);
}

.has-chocolate-background-color h1 em,
.has-chocolate-background-color h2 em,
.has-blueberry-background-color h1 em,
.has-blueberry-background-color h2 em {
	color: var(--wp--preset--color--strawberry);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.wp-element-button,
.wp-block-button__link {
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.wp-block-button .wp-element-button:hover,
.hl-contact .wp-element-button:hover {
	transform: translate(-2px, -2px);
	box-shadow: 5px 5px 0 0 var(--hl-ink);
}

.wp-block-button .wp-element-button:active,
.hl-contact .wp-element-button:active {
	transform: translate(2px, 2px);
	box-shadow: 0 0 0 0 var(--hl-ink);
}

.has-chocolate-background-color .wp-element-button,
.has-blueberry-background-color .wp-element-button {
	box-shadow: 3px 3px 0 0 var(--hl-ink);
}

/* --------------------------------------------------------------------------
   Block style: Sticker card  (group, column)
   -------------------------------------------------------------------------- */

.is-style-hl-card {
	background-color: var(--wp--preset--color--milk);
	color: var(--wp--preset--color--chocolate);
	border: 2px solid var(--wp--preset--color--chocolate);
	border-radius: var(--hl-radius);
	box-shadow: 6px 6px 0 0 var(--wp--preset--color--chocolate);
	padding: clamp(1.25rem, 3vw, 2.25rem);
}

.has-chocolate-background-color .is-style-hl-card,
.has-blueberry-background-color .is-style-hl-card {
	box-shadow: 6px 6px 0 0 var(--wp--preset--color--strawberry);
}

.is-style-hl-card > :first-child {
	margin-block-start: 0;
}

.is-style-hl-card > :last-child {
	margin-block-end: 0;
}

.wp-block-post-featured-image.is-style-hl-card {
	padding: 0;
	overflow: hidden;
}

.wp-block-post-featured-image.is-style-hl-card img {
	border-radius: 0;
}

/* Illustrations at the top of cards. */
.hl-card-illo {
	margin-bottom: var(--wp--preset--spacing--30);
}

.hl-card-illo img {
	height: 112px;
	width: auto;
	transition: transform 0.3s ease;
}

.is-style-hl-card:hover .hl-card-illo img {
	transform: rotate(-6deg) scale(1.05);
}

.hl-arrow-link a {
	font-weight: 700;
	text-decoration: none;
}

.hl-arrow-link a::after {
	content: "→";
	display: inline-block;
	margin-left: 0.35em;
	transition: transform 0.2s ease;
}

.hl-arrow-link a:hover {
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--strawberry);
}

.hl-arrow-link a:hover::after {
	transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Block style: Drippy bottom edge / Wavy top edge  (group)
   The edge takes the group's own background colour.
   -------------------------------------------------------------------------- */

.is-style-hl-drip {
	position: relative;
	z-index: 3;
}

.is-style-hl-drip + .is-style-hl-drip {
	z-index: 2;
}

.is-style-hl-drip::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% - 1px);
	height: var(--hl-drip-height);
	background-color: inherit;
	-webkit-mask: url("../images/drip.svg") left top / 360px 100% repeat-x;
	mask: url("../images/drip.svg") left top / 360px 100% repeat-x;
	pointer-events: none;
}

.is-style-hl-wave {
	position: relative;
	z-index: 3;
}

.is-style-hl-wave::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: calc(100% - 1px);
	height: 22px;
	background-color: inherit;
	-webkit-mask: url("../images/wave.svg") left bottom / 160px 100% repeat-x;
	mask: url("../images/wave.svg") left bottom / 160px 100% repeat-x;
	pointer-events: none;
}

/* Sprinkles texture – add the class "hl-sprinkles" to any group. */
.hl-sprinkles {
	background-image: url("../images/sprinkles.svg");
	background-size: 320px 320px;
	background-repeat: repeat;
}

/* --------------------------------------------------------------------------
   Block styles: images
   -------------------------------------------------------------------------- */

.is-style-hl-scoop img {
	aspect-ratio: 1;
	object-fit: cover;
	border: 3px solid var(--wp--preset--color--chocolate);
	border-radius: 58% 42% 52% 48% / 50% 54% 46% 50% !important;
	box-shadow: 8px 8px 0 0 var(--wp--preset--color--chocolate);
}

.is-style-hl-tilt img {
	transform: rotate(-5deg);
}

.is-style-hl-float img {
	animation: hl-float 6s ease-in-out infinite;
}

@keyframes hl-float {
	0%, 100% { transform: translateY(0) rotate(-1.5deg); }
	50% { transform: translateY(-12px) rotate(1.5deg); }
}

.wp-block-image:is(.hl-hero-illo, .hl-illo, .hl-footer-illo) {
	display: block;
	text-align: center;
}

.wp-block-image:is(.hl-hero-illo, .hl-illo, .hl-footer-illo) img {
	display: block;
	margin-inline: auto;
	height: auto;
}

.hl-hero-illo img {
	width: min(100%, 470px);
}

.hl-illo img {
	width: min(100%, 360px);
}

.hl-illo--small img {
	width: min(100%, 210px);
}

.hl-footer-illo img {
	width: min(100%, 220px);
}

/* --------------------------------------------------------------------------
   Block styles: text
   -------------------------------------------------------------------------- */

.is-style-hl-note {
	font-family: var(--wp--preset--font-family--caveat);
	font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.95rem);
	font-weight: 700;
	line-height: 1.1;
	color: var(--wp--preset--color--raspberry);
	transform: rotate(-2deg);
	margin-bottom: 0.35rem;
}

.is-style-hl-card .is-style-hl-note {
	font-size: 1.4rem;
	transform: rotate(-1.5deg);
}

.has-chocolate-background-color .is-style-hl-note,
.has-blueberry-background-color .is-style-hl-note {
	color: var(--wp--preset--color--butterscotch);
}

.is-style-hl-badge {
	width: fit-content;
	padding: 0.3em 1em;
	border: 2px solid var(--wp--preset--color--chocolate);
	border-radius: 999px;
	background: var(--wp--preset--color--butterscotch);
	color: var(--wp--preset--color--chocolate);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	box-shadow: 3px 3px 0 0 var(--wp--preset--color--chocolate);
}

.is-style-hl-highlight {
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--butterscotch);
	text-decoration-thickness: 0.32em;
	text-underline-offset: -0.12em;
	text-decoration-skip-ink: none;
}

/* Big sticker numbers for steps. */
.hl-step-number {
	font-family: var(--wp--preset--font-family--fraunces);
	font-variation-settings: "SOFT" 100, "WONK" 1;
	font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
	font-weight: 900;
	line-height: 1;
	color: var(--wp--preset--color--strawberry);
	text-shadow: 3px 3px 0 var(--wp--preset--color--chocolate);
	margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   Lists
   -------------------------------------------------------------------------- */

ul.is-style-hl-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	padding-left: 0;
}

ul.is-style-hl-pills.hl-center {
	justify-content: center;
}

ul.is-style-hl-pills li,
.wp-block-post-terms.is-style-hl-pills a {
	margin: 0;
	padding: 0.3em 0.9em;
	border: 2px solid var(--wp--preset--color--chocolate);
	border-radius: 999px;
	background: var(--wp--preset--color--milk);
	color: var(--wp--preset--color--chocolate);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.3;
}

ul.is-style-hl-pills li a {
	text-decoration: none;
	color: inherit;
}

ul.is-style-hl-pills li:has(a) {
	transition: background-color 0.15s ease, transform 0.15s ease;
}

ul.is-style-hl-pills li:has(a):hover {
	background: var(--wp--preset--color--butterscotch);
	transform: translateY(-2px);
}

.wp-block-post-terms.is-style-hl-pills {
	display: flex;
	gap: 0.4rem;
}

.wp-block-post-terms.is-style-hl-pills a {
	text-decoration: none;
}

.wp-block-post-terms.is-style-hl-pills .wp-block-post-terms__separator {
	display: none;
}

ul.is-style-hl-scoops {
	list-style: none;
	padding-left: 0;
}

ul.is-style-hl-scoops li {
	position: relative;
	padding-left: 2.1rem;
	margin-bottom: 0.7rem;
}

ul.is-style-hl-scoops li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.28em;
	width: 1.15rem;
	height: 1.05rem;
	border: 2px solid var(--wp--preset--color--chocolate);
	border-radius: 55% 55% 40% 40%;
	background: var(--wp--preset--color--strawberry);
	box-shadow: inset -3px -3px 0 rgba(51, 32, 26, 0.12);
}

ul.is-style-hl-scoops li:nth-child(3n + 2)::before {
	background: var(--wp--preset--color--pistachio);
}

ul.is-style-hl-scoops li:nth-child(3n + 3)::before {
	background: var(--wp--preset--color--butterscotch);
}

ol.wp-block-list li::marker {
	font-family: var(--wp--preset--font-family--fraunces);
	font-weight: 800;
	color: var(--wp--preset--color--raspberry);
}

ol.wp-block-list li {
	padding-left: 0.3rem;
	margin-bottom: 0.6rem;
}

/* --------------------------------------------------------------------------
   Separators
   -------------------------------------------------------------------------- */

.wp-block-separator {
	border-top-width: 2px;
}

.wp-block-separator.is-style-hl-sprinkles {
	border: none;
	height: 18px;
	max-width: 280px;
	margin-inline: auto;
	opacity: 1;
	background: url("../images/sprinkles-row.svg") center / auto 18px repeat-x;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.hl-header {
	position: relative;
	z-index: 20;
	border-bottom: 2px solid var(--wp--preset--color--chocolate);
}

.hl-logo {
	margin: 0;
}

.hl-logo img {
	display: block;
	height: auto;
	transition: transform 0.3s ease;
}

.hl-logo a:hover img {
	transform: rotate(-12deg) scale(1.08);
}

.hl-brand .wp-block-site-title {
	white-space: nowrap;
}

.hl-brand .wp-block-site-title a {
	text-decoration: none;
}

.hl-brand .wp-block-site-title a:hover {
	color: var(--wp--preset--color--raspberry);
}

.hl-nav .wp-block-navigation-item__content {
	padding: 0.3rem 0.85rem;
	border: 2px solid transparent;
	border-radius: 999px;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.hl-nav .wp-block-navigation-item__content:hover,
.hl-nav .current-menu-item > .wp-block-navigation-item__content {
	border-color: var(--wp--preset--color--chocolate);
	background: var(--wp--preset--color--bubblegum);
}

.hl-nav .wp-block-navigation__container {
	gap: 0.25rem;
}

@media (max-width: 781px) {
	.hl-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}

	.hl-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}
}

.hl-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	padding: 0.15em 0.8em;
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 800;
}

.hl-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 4rem;
}

.hl-nav .wp-block-navigation__responsive-container.is-menu-open :is(.wp-block-navigation__responsive-container-content, .wp-block-navigation__container, .wp-block-navigation-item) {
	align-items: center;
}

.hl-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 0.75rem;
}

.hl-nav .wp-block-navigation__responsive-container-open,
.hl-nav .wp-block-navigation__responsive-container-close {
	padding: 0.35rem;
	border: 2px solid var(--wp--preset--color--chocolate);
	border-radius: 999px;
	background: var(--wp--preset--color--bubblegum);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.hl-footer h3 {
	color: var(--wp--preset--color--butterscotch);
}

.hl-footer-cols .wp-block-column {
	padding-top: var(--wp--preset--spacing--40);
	border-top: 2px dashed rgba(255, 248, 238, 0.3);
}

.hl-footer .hl-footer-rule.wp-block-separator {
	width: 100%;
	margin-top: var(--wp--preset--spacing--60);
	margin-bottom: var(--wp--preset--spacing--30);
	border-top: 2px solid rgba(255, 248, 238, 0.2);
	opacity: 1;
}

.hl-footer-bar p {
	margin: 0;
	opacity: 0.85;
}

.hl-footer-nav .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--butterscotch);
}

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */

.hl-ticker {
	overflow: hidden;
	padding-block: 0.9rem;
	border-block: 2px solid var(--wp--preset--color--chocolate);
}

.hl-ticker .hl-ticker__track {
	width: max-content;
	max-width: none;
	gap: 0;
	animation: hl-marquee 45s linear infinite;
}

.hl-ticker .hl-ticker__track > * {
	margin: 0;
	padding-right: 0.75em;
	white-space: nowrap;
	font-family: var(--wp--preset--font-family--fraunces);
	font-variation-settings: "SOFT" 100, "WONK" 1;
	font-size: var(--wp--preset--font-size--large);
	font-weight: 800;
}

.hl-ticker:hover .hl-ticker__track {
	animation-play-state: paused;
}

@keyframes hl-marquee {
	to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Menu board (house specials)
   -------------------------------------------------------------------------- */

.hl-menu-item {
	padding-block: 1.1rem;
	border-bottom: 2px dashed rgba(255, 248, 238, 0.28);
}

.hl-menu-item > * {
	margin: 0;
}

.hl-menu-item h3 {
	color: var(--wp--preset--color--butterscotch);
}

.hl-menu-item p {
	margin-top: 0.3rem;
	opacity: 0.92;
}

/* --------------------------------------------------------------------------
   Timeline
   -------------------------------------------------------------------------- */

.hl-timeline {
	position: relative;
}

.hl-timeline::before {
	content: "";
	position: absolute;
	top: 1.5rem;
	bottom: 1.5rem;
	left: 3.5rem;
	border-left: 3px dashed var(--wp--preset--color--chocolate);
}

.hl-timeline > .hl-timeline__item {
	position: relative;
	align-items: flex-start;
	gap: 1.25rem;
}

.hl-timeline__item + .hl-timeline__item {
	margin-top: var(--wp--preset--spacing--40);
}

.hl-timeline .hl-timeline__year {
	flex: 0 0 7rem;
	margin: 1.25rem 0 0;
	text-align: center;
	width: auto;
	position: relative;
	z-index: 1;
}

.hl-timeline__card {
	flex: 1 1 auto;
}

.hl-timeline__card h3 {
	margin-top: 0;
}

@media (max-width: 640px) {
	.hl-timeline::before {
		left: 1.25rem;
	}

	.hl-timeline > .hl-timeline__item {
		flex-direction: column;
		gap: 0.5rem;
	}

	.hl-timeline .hl-timeline__year {
		flex: none;
		margin-top: 0;
	}
}

/* --------------------------------------------------------------------------
   Details / FAQ
   -------------------------------------------------------------------------- */

.wp-block-details summary {
	font-family: var(--wp--preset--font-family--fraunces);
	font-variation-settings: "SOFT" 100, "WONK" 1;
	font-size: var(--wp--preset--font-size--large);
	font-weight: 800;
	cursor: pointer;
}

.wp-block-details[open] summary {
	margin-bottom: 0.5rem;
}

.wp-block-details + .wp-block-details {
	margin-top: 0.85rem;
}

.wp-block-details {
	box-shadow: 4px 4px 0 0 var(--wp--preset--color--chocolate);
}

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */

.hl-contact__form {
	display: grid;
	gap: 1.1rem;
}

.hl-contact__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	gap: 1.1rem;
}

.hl-contact__field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin: 0;
}

.hl-contact label {
	font-weight: 700;
}

.hl-contact label span,
.hl-contact__required span {
	color: var(--wp--preset--color--raspberry);
}

.hl-contact input[type="text"],
.hl-contact input[type="email"],
.hl-contact select,
.hl-contact textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 0.75rem 1rem;
	border: 2px solid var(--wp--preset--color--chocolate);
	border-radius: 14px;
	background: #fff;
	color: var(--wp--preset--color--chocolate);
	font: inherit;
	transition: box-shadow 0.15s ease;
}

.hl-contact input:focus,
.hl-contact select:focus,
.hl-contact textarea:focus {
	outline: none;
	box-shadow: 4px 4px 0 0 var(--wp--preset--color--strawberry);
}

.hl-contact textarea {
	resize: vertical;
	min-height: 9rem;
}

.hl-contact__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin: 0.25rem 0 0;
}

.hl-contact button.wp-element-button {
	cursor: pointer;
}

.hl-contact__required {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--cocoa);
}

.hl-contact__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.hl-contact__notice {
	margin: 0 0 1.25rem;
	padding: 0.9rem 1.2rem;
	border: 2px solid var(--wp--preset--color--chocolate);
	border-radius: 16px;
	font-weight: 600;
}

.hl-contact__notice.is-success {
	background: var(--wp--preset--color--pistachio);
}

.hl-contact__notice.is-error {
	background: var(--wp--preset--color--bubblegum);
}

/* --------------------------------------------------------------------------
   Blog bits
   -------------------------------------------------------------------------- */

.hl-post-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
}

.hl-post-card .wp-block-post-featured-image img {
	border: 2px solid var(--wp--preset--color--chocolate);
}

.hl-post-card .wp-block-post-title a:hover {
	color: var(--wp--preset--color--raspberry);
}

.wp-block-query-pagination a,
.wp-block-query-pagination .current {
	padding: 0.2rem 0.7rem;
	border-radius: 999px;
	text-decoration: none;
}

.wp-block-query-pagination .current {
	border: 2px solid var(--wp--preset--color--chocolate);
	background: var(--wp--preset--color--butterscotch);
}

.hl-search .wp-block-search__input {
	border: 2px solid var(--wp--preset--color--chocolate);
	border-radius: 999px;
	padding-inline: 1.1rem;
	background: #fff;
}

.hl-search .wp-block-search__inside-wrapper {
	gap: 0.5rem;
}

.wp-block-post-navigation-link a {
	font-weight: 700;
	text-decoration: none;
}

/* --------------------------------------------------------------------------
   Small screens
   -------------------------------------------------------------------------- */

@media (max-width: 781px) {
	.hl-hero-illo img {
		width: min(78%, 340px);
	}

	.hl-illo img {
		width: min(70%, 280px);
	}

	.hl-hero .wp-block-columns {
		gap: var(--wp--preset--spacing--40);
	}

	.hl-footer-illo {
		display: none !important;
	}
}

/* Four-across card rows are tight between tablet and small laptop widths:
   show them two-by-two instead. */
@media (min-width: 782px) and (max-width: 1100px) {
	.wp-block-columns:has(> .wp-block-column:nth-child(4)) {
		flex-wrap: wrap;
	}

	.wp-block-columns:has(> .wp-block-column:nth-child(4)) > .wp-block-column {
		flex-basis: calc(50% - 1.25rem);
		flex-grow: 0;
	}
}

/* --------------------------------------------------------------------------
   Recipes and guides
   -------------------------------------------------------------------------- */

/* Numbered method steps. */
ol.is-style-hl-steps {
	list-style: none;
	padding-left: 0;
	counter-reset: hl-step;
}

ol.is-style-hl-steps > li {
	counter-increment: hl-step;
	position: relative;
	min-height: 2.6rem;
	padding-left: 3.6rem;
	margin-bottom: 1.1rem;
}

ol.is-style-hl-steps > li::before {
	content: counter(hl-step);
	position: absolute;
	left: 0;
	top: -0.15em;
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	border: 2px solid var(--wp--preset--color--chocolate);
	border-radius: 999px;
	background: var(--wp--preset--color--strawberry);
	box-shadow: 3px 3px 0 0 var(--wp--preset--color--chocolate);
	font-family: var(--wp--preset--font-family--fraunces);
	font-variation-settings: "SOFT" 100, "WONK" 1;
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1;
}

ol.is-style-hl-steps > li::marker {
	content: "";
}

/* The ingredients list: tighter, with its own bullets. */
.hl-ingredients ul {
	list-style: none;
	padding-left: 0;
}

.hl-ingredients li {
	padding: 0.45rem 0 0.45rem 1.6rem;
	border-bottom: 1px dashed rgba(51, 32, 26, 0.18);
	position: relative;
}

.hl-ingredients li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.05em;
	width: 0.6rem;
	height: 0.6rem;
	border: 2px solid var(--wp--preset--color--chocolate);
	border-radius: 50%;
	background: var(--wp--preset--color--banana);
}

.hl-ingredients li:last-child {
	border-bottom: 0;
}

/* Keep the ingredients in view while reading the method, on big screens. */
@media (min-width: 1100px) {
	.hl-sticky {
		position: sticky;
		top: 1.5rem;
	}
}

/* Recipe and guide cards on the index pages. */
.hl-card-meta {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--cocoa);
	font-weight: 600;
}

.hl-print-button {
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	padding: 0.5em 1.2em;
	border: 2px solid var(--wp--preset--color--chocolate);
	border-radius: 999px;
	background: var(--wp--preset--color--milk);
	color: var(--wp--preset--color--chocolate);
	box-shadow: 3px 3px 0 0 var(--wp--preset--color--chocolate);
}

.hl-print-button:hover {
	background: var(--wp--preset--color--butterscotch);
}

/* Six menu items need a little more room between tablet and laptop. */
@media (min-width: 782px) and (max-width: 1000px) {
	.hl-nav .wp-block-navigation-item__content {
		padding-inline: 0.55rem;
	}

	.hl-nav {
		font-size: 1rem;
	}
}

[hidden] {
	display: none !important;
}

/* Metric / US switch on the ingredients card. */
.hl-units:not([hidden]) {
	display: flex;
	gap: 0.4rem;
	margin: 0 0 1rem;
}

.hl-unit-button,
.hl-filter {
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	padding: 0.3em 0.9em;
	border: 2px solid var(--wp--preset--color--chocolate);
	border-radius: 999px;
	background: var(--wp--preset--color--milk);
	color: var(--wp--preset--color--chocolate);
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.hl-unit-button:hover,
.hl-filter:hover {
	background: var(--wp--preset--color--butterscotch);
}

.hl-unit-button.is-on,
.hl-filter.is-on {
	background: var(--wp--preset--color--strawberry);
	box-shadow: 2px 2px 0 0 var(--wp--preset--color--chocolate);
}

/* Without JavaScript both quantities show, the US one in brackets. */
.hl-us::before {
	content: " (";
}

.hl-us::after {
	content: ")";
}

.hl-units-ready .hl-us::before,
.hl-units-ready .hl-us::after {
	content: "";
}

.hl-units-ready.hl-units-metric .hl-us,
.hl-units-ready.hl-units-us .hl-metric {
	display: none;
}

/* Filter chips on the recipes index. */
.hl-filters {
	margin: var(--wp--preset--spacing--50) auto 0;
	text-align: center;
}

.hl-filters__label {
	display: block;
	font-family: var(--wp--preset--font-family--caveat);
	font-size: 1.5rem;
	color: var(--wp--preset--color--raspberry);
	margin-bottom: 0.4rem;
}

.hl-filters__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
}

.hl-filter-count {
	margin: 0.75rem 0 0;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--cocoa);
}

.hl-section-empty {
	display: none;
}

/* A recipe photo instead of an illustration. */
.hl-recipe-photo img {
	width: min(100%, 460px);
}

/* --------------------------------------------------------------------------
   Printing a recipe
   -------------------------------------------------------------------------- */

@media print {
	.hl-header,
	.hl-footer,
	.hl-ticker,
	.hl-no-print,
	.wp-block-buttons,
	.hl-filters,
	.hl-units,
	.hl-print-button {
		display: none !important;
	}

	body {
		background: #fff;
	}

	.is-style-hl-drip::after,
	.is-style-hl-wave::before,
	.hl-sprinkles {
		display: none;
		background-image: none;
	}

	.is-style-hl-card {
		box-shadow: none;
		break-inside: avoid;
	}

	.wp-block-group {
		padding-top: 0.5rem !important;
		padding-bottom: 0.5rem !important;
	}

	.hl-sticky {
		position: static;
	}
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.is-style-hl-float img,
	.hl-ticker .hl-ticker__track {
		animation: none;
	}

	.wp-element-button,
	.wp-block-button__link,
	.hl-card-illo img,
	.hl-logo img {
		transition: none;
	}
}
