/* ==========================================================================
   Learning Loft Bento · homepage sections (patterns), site and editor.
   Port of the mock-up's "6a. Home" styles. Mobile first; desktop at 900px.
   ========================================================================== */

:root {
	--ll-doodle-rainbow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 72'%3E%3Cg fill='none' stroke-linecap='round' stroke-width='7'%3E%3Cpath d='M18 62a42 42 0 0 1 84 0' stroke='%23C4A3E3'/%3E%3Cpath d='M28 62a32 32 0 0 1 64 0' stroke='%238FC3E3'/%3E%3Cpath d='M38 62a22 22 0 0 1 44 0' stroke='%23F4D77A'/%3E%3Cpath d='M48 62a12 12 0 0 1 24 0' stroke='%23F28FB0'/%3E%3C/g%3E%3Cpath d='M6 68h24a6 6 0 0 0 .5-12 8 8 0 0 0-15-2.5A9 9 0 0 0 6 68z' fill='%23fff' stroke='%238FC3E3' stroke-width='2.5' stroke-linejoin='round'/%3E%3Cpath d='M90 68h24a6 6 0 0 0 .5-12 8 8 0 0 0-15-2.5A9 9 0 0 0 90 68z' fill='%23fff' stroke='%238FC3E3' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E");
	--ll-doodle-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l2.6 7.9 7.9 2.6-7.9 2.6L12 22.5l-2.6-7.9L1.5 12l7.9-2.6z' fill='%23F2B45A'/%3E%3C/svg%3E");
	--ll-doodle-cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 34'%3E%3Cpath d='M10 31h38a9 9 0 0 0 1-18 13 13 0 0 0-24-4 10 10 0 0 0-15 9A7 7 0 0 0 10 31z' fill='%23fff' stroke='%238FC3E3' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E");
	--ll-ico-download: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A2E3F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11m-4.5-4.5L12 15l4.5-4.5M5 20h14'/%3E%3C/svg%3E");
	--ll-ico-truck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A2E3F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.5h11v9h-11zM13.5 9.5h4l3 3.2v2.8h-7'/%3E%3Ccircle cx='7' cy='17.5' r='1.8'/%3E%3Ccircle cx='17' cy='17.5' r='1.8'/%3E%3C/svg%3E");
	--ll-ico-arrow-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-5-5 5 5-5 5'/%3E%3C/svg%3E");
}

/* ---------- Sections ---------- */
.ll-main .ll-section,
.editor-styles-wrapper .ll-section {
	margin-top: var(--ll-section);
}

.ll-main .ll-section:first-child,
.ll-main .ll-hero:first-child {
	margin-top: 6px;
}

.ll-section-title,
.ll-section h2.wp-block-heading {
	font-size: var(--wp--preset--font-size--x-large);
}

.ll-section-head .is-style-script {
	margin-bottom: 0;
}

/* ---------- Hero bento ---------- */
.ll-hero {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-areas:
		"head head"
		"photo photo"
		"free ship";
}

.ll-tile-head {
	grid-area: head;
	padding: 26px 22px 30px !important;
	border-radius: var(--ll-r-xl) !important;
}

.ll-tile-head::before,
.ll-tile-head::after {
	content: "";
	position: absolute;
	pointer-events: none;
	background: center / contain no-repeat;
}

.ll-tile-head::before {
	top: 18px;
	right: 14px;
	width: 92px;
	aspect-ratio: 120 / 72;
	background-image: var(--ll-doodle-rainbow);
}

.ll-tile-head::after {
	display: none;
	right: 26px;
	bottom: 26px;
	width: 22px;
	height: 22px;
	background-image: var(--ll-doodle-star);
}

.ll-tile-head > * {
	position: relative;
	margin-block: 0;
}

.ll-tile-head .is-style-script {
	margin-bottom: 4px;
	transform: rotate(-3deg);
	transform-origin: left;
}

.ll-hero-title {
	font-size: var(--wp--preset--font-size--huge);
	line-height: 1.04;
	letter-spacing: -0.01em;
}

.ll-hero-title .ll-multi {
	font-size: 1.02em;
}

.ll-hero-lead {
	max-width: 36ch;
	margin-top: 14px !important;
	font-size: 1.0625rem;
}

.ll-tile-head .wp-block-buttons {
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	margin-top: 22px !important;
}

.ll-tile-head .wp-block-button {
	width: 100%;
}

.ll-tile-head .wp-block-button__link {
	width: 100%;
}

.ll-tile-photo {
	grid-area: photo;
	aspect-ratio: 5 / 4;
	padding: 0 !important;
	background-color: var(--ll-butter);
}

/* Higher specificity so it also wins over the editor's block wrappers. */
.ll-tile-photo > figure.wp-block-image {
	position: absolute;
	inset: 0;
	margin: 0;
}

.ll-tile-photo > .wp-block-image img,
.ll-tile-photo > .wp-block-image .components-resizable-box__container {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

.ll-tile-photo > p.ll-sticker {
	position: absolute;
	width: max-content;
	margin: 0;
}

.ll-tile-photo > p.ll-tile-photo__caption {
	position: absolute;
	right: 12px;
	bottom: 12px;
	left: 12px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2px 10px;
	margin: 0 !important;
	padding: 9px 16px;
	border-radius: var(--ll-r-sm);
	background: var(--ll-paper);
	font-size: 0.875rem;
	font-weight: 800;
	line-height: 1.3;
}

.ll-tile-photo__caption a {
	color: var(--ll-ink);
	text-decoration: none;
}

.ll-tile-photo__caption a:hover {
	text-decoration: underline;
}

.ll-tile-photo__caption strong {
	color: var(--ll-berry);
	font-weight: 800;
}

.ll-tile-free {
	grid-area: free;
}

.ll-tile-ship {
	grid-area: ship;
}

.wp-block-group.ll-tile-mini {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 16px;
	border-radius: var(--ll-r-lg);
}

.wp-block-group.ll-tile-mini > * {
	margin: 0;
}

/* Icon in a white circle above the title */
.ll-tile-mini::before {
	content: "";
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--ll-white) var(--ll-ico-download) center / 20px no-repeat;
}

.ll-tile-ship::before {
	background-image: var(--ll-ico-truck);
}

.ll-mini-title {
	font-family: var(--ll-font-head);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.15;
}

.ll-mini-title a {
	color: var(--ll-ink);
	text-decoration: none;
}

/* The whole "Free printable" tile is clickable (the title link stretches) */
.ll-tile-link .ll-mini-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

.ll-tile-link:hover .ll-mini-title a {
	text-decoration: underline;
}

.ll-tile-link:focus-within {
	outline: var(--ll-focus);
	outline-offset: 3px;
}

.ll-tile-link .ll-mini-title a:focus-visible {
	outline: none;
}

.ll-tile-link::after {
	content: "";
	flex: none;
	width: 36px;
	height: 36px;
	margin-top: auto;
	border-radius: 50%;
	background: var(--ll-ink) var(--ll-ico-arrow-white) center / 16px no-repeat;
}

.ll-mini-text {
	color: var(--ll-ink);
	font-size: 0.875rem;
	line-height: 1.45;
}

/* ---------- Shop by type ---------- */
.ll-types {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-areas:
		"post post"
		"pict spin"
		"work acti";
}

.ll-type-big {
	grid-area: post;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 118px;
	grid-template-areas:
		"name img"
		"desc img"
		"badges img"
		"pills pills"
		"cta cta";
	column-gap: 14px;
	align-items: start;
	border-radius: var(--ll-r-xl) !important;
}

.ll-type-big > .ll-type-big__text {
	display: contents;
}

.ll-type-big .wp-block-heading {
	grid-area: name;
	margin: 0;
	font-size: 2rem;
}

.ll-type-big .wp-block-heading a {
	color: var(--ll-ink);
	text-decoration: none;
}

.ll-type-big .wp-block-heading a:hover {
	text-decoration: underline;
}

.ll-type-big__text > p {
	grid-area: desc;
	margin: 4px 0 0;
}

.ll-type-big .ll-badges {
	grid-area: badges;
	align-self: start;
	margin-top: 12px;
}

.ll-type-big .wp-block-list.ll-grade-pills {
	grid-area: pills;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 14px;
}

.ll-type-big .wp-block-list.ll-grade-pills > li > a {
	min-height: 40px;
}

.ll-type-big .wp-block-buttons {
	grid-area: cta;
	justify-self: start;
	margin-top: 14px;
}

.ll-type-big > .wp-block-image {
	grid-area: img;
	align-self: center;
	margin: 0;
}

.ll-type-big > .wp-block-image img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

/* Grade pills as a 2×2 grid (also used in the Shop menu) */
.wp-block-list.ll-grade-pills {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	padding: 0;
	list-style: none;
}

.wp-block-list.ll-grade-pills > li > a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 4px;
	border: 2px solid transparent;
	border-radius: var(--ll-r-pill);
	background: var(--ll-white);
	color: var(--ll-ink);
	font-size: 0.8125rem;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.wp-block-list.ll-grade-pills > li > a:hover {
	border-color: var(--ll-ink);
}

.ll-type-pict {
	grid-area: pict;
}

.ll-type-spin {
	grid-area: spin;
}

.ll-type-work {
	grid-area: work;
}

.ll-type-acti {
	grid-area: acti;
}

.wp-block-group.ll-type-small {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 10px 10px 16px;
}

.ll-type-small > * {
	margin: 0;
}

.ll-type-small .wp-block-image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 18px;
	background: var(--ll-white);
}

.ll-type-small .wp-block-heading {
	margin-top: 8px;
	padding-inline: 6px;
	font-size: 1.1875rem;
}

.ll-type-small .wp-block-heading a {
	color: var(--ll-ink);
	text-decoration: none;
}

.ll-type-small .wp-block-heading a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

.ll-type-small:hover .wp-block-heading a {
	text-decoration: underline;
}

.ll-type-small:focus-within {
	outline: var(--ll-focus);
	outline-offset: 3px;
}

.ll-type-small .wp-block-heading a:focus-visible {
	outline: none;
}

.ll-type-small p {
	padding-inline: 6px;
	color: var(--ll-ink-soft);
	font-size: 0.8125rem;
	line-height: 1.45;
}

.ll-img-top img {
	object-position: 50% 0;
}

.ll-img-upper img {
	object-position: 50% 30%;
}

/* ---------- How it works ---------- */
.ll-steps {
	grid-template-columns: 1fr;
}

.wp-block-group.ll-step {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 4px 14px;
	align-items: start;
}

.ll-step > * {
	margin: 0;
}

.ll-step-num {
	display: grid;
	grid-row: span 2;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--ll-white);
	font-family: var(--ll-font-logo);
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1;
}

.ll-step:nth-child(1) .ll-step-num {
	color: var(--ll-berry);
}

.ll-step:nth-child(2) .ll-step-num {
	color: var(--ll-teal);
}

.ll-step:nth-child(3) .ll-step-num {
	color: var(--ll-plum);
}

.ll-step .wp-block-heading {
	align-self: center;
	font-size: 1.25rem;
}

.ll-step p:not(.ll-step-num) {
	font-size: 0.9375rem;
}

/* ---------- About bento ---------- */
.ll-about {
	grid-template-columns: 1fr;
	grid-template-areas:
		"text"
		"img"
		"lang"
		"custom";
}

.ll-about-text {
	grid-area: text;
	border-radius: var(--ll-r-xl) !important;
}

.ll-about-text > * {
	margin-block: 0;
}

.ll-about-text .wp-block-heading {
	font-size: var(--wp--preset--font-size--x-large);
}

.ll-about-text p:not(.is-style-script) {
	max-width: 62ch;
	margin-top: 12px;
}

.ll-about-text .is-style-script {
	margin-bottom: 2px;
}

.ll-about-img {
	grid-area: img;
	display: grid !important;
	place-items: center;
	padding: 26px !important;
}

.ll-about-img .wp-block-image {
	width: min(100%, 260px);
	margin: 0;
	transform: rotate(-2deg);
}

.ll-about-lang {
	grid-area: lang;
}

.ll-about-lang .wp-block-list {
	margin-top: 12px;
}

.ll-about-custom {
	grid-area: custom;
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.ll-about-lang > *,
.ll-about-custom > * {
	margin: 0;
}

.ll-about-lang .wp-block-heading,
.ll-about-custom .wp-block-heading {
	font-size: 1.375rem;
}

.ll-about-custom .wp-block-buttons {
	margin-top: 8px;
}

/* ---------- Free printable sign-up ---------- */
.wp-block-group.ll-signup {
	position: relative;
	display: grid;
	gap: 26px;
	padding: 30px 22px;
	border-radius: var(--ll-r-xl);
	overflow: hidden;
}

.ll-signup::before,
.ll-signup::after {
	content: "";
	position: absolute;
	width: 120px;
	aspect-ratio: 60 / 34;
	background: var(--ll-doodle-cloud) center / contain no-repeat;
	pointer-events: none;
}

.ll-signup::before {
	top: 18px;
	right: -18px;
}

.ll-signup::after {
	bottom: 22px;
	left: -30px;
	width: 140px;
}

.ll-signup > * {
	position: relative;
	z-index: 1;
	margin: 0;
}

.ll-signup-copy > * {
	margin-block: 0;
}

.ll-signup-copy > .ll-signup-form {
	margin-top: 20px;
}

.ll-signup-title {
	font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.2rem);
}

.ll-signup-copy > p:not(.is-style-script) {
	max-width: 44ch;
	margin-top: 8px;
	font-size: 1.0625rem;
}

.ll-signup .wp-block-image {
	justify-self: center;
	width: min(100%, 240px);
}

.ll-signup .wp-block-image img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	object-position: 50% 20%;
	border: 8px solid var(--ll-white);
	border-radius: var(--ll-r-lg);
	transform: rotate(3deg);
}


/* ---------- Product listings (shop, category, tag, search) ---------- */
.ll-cat-head {
	grid-template-columns: 1fr;
}

.wp-block-group.ll-tile-title {
	display: grid;
	gap: 20px;
	padding: 26px 22px;
}

.ll-tile-title__text > * {
	margin-block: 0;
}

.ll-tile-title .is-style-script {
	margin-bottom: 2px;
}

.ll-archive-title {
	margin: 0;
	font-size: var(--wp--preset--font-size--xx-large);
}

.ll-lead {
	max-width: 54ch;
	margin-top: 10px !important;
	font-size: 1.0625rem;
}

.ll-title-art,
.ll-cat-promo {
	display: none !important;
}

.wp-block-group.ll-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	margin: 14px 0 16px;
	padding: 10px 10px 10px 20px;
	border-radius: var(--ll-r-md);
	background: var(--ll-lilac);
}

.ll-toolbar > * {
	margin: 0 !important;
}

.ll-toolbar .woocommerce-result-count {
	margin: 0;
	font-size: 1rem;
	font-weight: 800;
}

.ll-toolbar .woocommerce-result-count strong {
	font-family: var(--ll-font-head);
	font-size: 1.25rem;
}

.ll-toolbar .ll-result-page {
	color: var(--ll-ink-soft);
	font-size: 0.875rem;
}

.ll-toolbar .woocommerce-ordering {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	margin: 0;
	font-size: 0.9375rem;
}

.ll-toolbar .woocommerce-ordering label {
	margin-left: 6px;
	font-size: 0.75rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.ll-toolbar .woocommerce-ordering select {
	min-height: 44px;
	padding: 0 42px 0 18px;
	border: 2px solid var(--ll-ink-soft);
	border-radius: var(--ll-r-pill);
	background: var(--ll-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A2E3F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
	color: var(--ll-ink);
	font-size: 0.9375rem;
	font-weight: 700;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.ll-main .wp-block-woocommerce-product-collection.ll-card-grid {
	margin-top: 0;
}

.ll-pagination {
	gap: 8px;
	margin-top: 32px;
	font-weight: 800;
}

.ll-pagination a,
.ll-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	min-height: 48px;
	padding: 0 16px;
	border: 2px solid var(--ll-line-chip);
	border-radius: var(--ll-r-pill);
	background: var(--ll-white);
	color: var(--ll-ink);
	text-decoration: none;
}

.ll-pagination .page-numbers.current {
	border-color: var(--ll-ink);
	background: var(--ll-ink);
	color: var(--ll-white);
}

.wp-block-group.ll-promo-tile {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 8px;
	margin-top: var(--ll-gap);
	border-radius: var(--ll-r-lg);
}

.ll-promo-tile > * {
	position: relative;
	margin: 0 !important;
}

.ll-promo-tile::after {
	content: "";
	position: absolute;
	right: 16px;
	bottom: 16px;
	width: 90px;
	aspect-ratio: 120 / 72;
	background: var(--ll-doodle-rainbow) center / contain no-repeat;
	opacity: 0.9;
	pointer-events: none;
}

.ll-promo-tile h2 {
	font-size: 1.75rem;
}

.ll-promo-tile p:not(.is-style-script) {
	max-width: 34ch;
}

.ll-promo-tile .wp-block-buttons {
	margin-top: 8px !important;
}

.ll-no-results > * {
	margin-block: 0 10px;
}

@media (min-width: 900px) {

	.ll-cat-head {
		grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
	}

	.wp-block-group.ll-tile-title {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		padding: 40px 44px;
	}

	.ll-title-art {
		display: flex !important;
		align-items: center;
		padding-right: 8px;
	}

	.ll-title-art .wp-block-image {
		margin: 0;
	}

	.ll-title-art img {
		width: 124px;
		aspect-ratio: 4 / 5;
		object-fit: cover;
		border: 6px solid var(--ll-white);
		border-radius: 18px;
		transform: rotate(-6deg);
	}

	.ll-title-art .wp-block-image + .wp-block-image {
		margin-left: -30px;
	}

	.ll-title-art .wp-block-image + .wp-block-image img {
		transform: rotate(5deg) translateY(12px);
	}

	.ll-cat-promo {
		display: flex !important;
		padding: 28px !important;
	}

	.wp-block-group.ll-toolbar {
		margin-top: 16px;
		padding: 8px 8px 8px 24px;
		border-radius: var(--ll-r-pill);
	}

	.ll-toolbar .woocommerce-ordering {
		flex-direction: row;
		align-items: center;
		gap: 10px;
	}

	.ll-toolbar .woocommerce-ordering label {
		margin-left: 0;
		font-size: 0.9375rem;
		letter-spacing: 0;
		text-transform: none;
	}

	.wp-block-group.ll-promo-tile {
		padding: 36px;
	}

	.ll-bento.ll-contact {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
		align-items: start;
	}
}

/* ---------- Contact page ---------- */
.ll-contact {
	grid-template-columns: minmax(0, 1fr);
}

.ll-contact > .wp-block-group > *,
.ll-custom-theme > * {
	margin-block: 0 12px;
}

.ll-contact-side h3 {
	font-size: 1.375rem;
}

.ll-contact-side h3:not(:first-child) {
	margin-top: 22px;
}

.wp-block-group.ll-custom-theme {
	border-radius: var(--ll-r-xl);
}

.ll-custom-theme .frm-fluent-form {
	max-width: 720px;
}

/* ---------- Standard pages, legal pages, 404, search ---------- */
.ll-page-head > * {
	margin-block: 0;
}

.ll-page-head .ll-lead {
	margin-top: 10px !important;
}

.ll-page-head .wp-block-search,
.ll-page-head .wp-block-buttons {
	margin-top: 22px !important;
}

.ll-search .wp-block-search__inside-wrapper {
	max-width: 520px;
	padding: 4px;
	border: 2px solid var(--ll-ink-soft);
	border-radius: var(--ll-r-pill);
	background: var(--ll-white);
}

.ll-search .wp-block-search__input {
	min-height: 44px;
	padding: 0 16px;
	border: 0;
	background: transparent;
}

.ll-search .wp-block-search__button {
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0 12px;
	border-radius: var(--ll-r-pill);
	background: var(--ll-teal);
	color: var(--ll-white);
}

.ll-legal h2 {
	margin-top: 32px;
	font-size: 1.5rem;
}

.ll-legal h3 {
	margin-top: 20px;
	font-size: 1.125rem;
}

.ll-legal .is-style-fill-in-note {
	margin-block: 14px;
}

.ll-legal .is-style-fill-in-note ul {
	margin: 6px 0 0;
}

.ll-result-list {
	display: grid;
	gap: var(--ll-gap);
	padding: 0;
	list-style: none;
}

.wp-block-group.ll-result {
	border: 2px solid var(--ll-line);
}

.ll-result-title {
	margin: 0 0 8px;
	font-size: 1.375rem;
}

.ll-result-title a {
	color: var(--ll-ink);
}

/* ---------- Media queries ---------- */
@media (min-width: 600px) {

	.ll-tile-photo {
		aspect-ratio: 16 / 9;
	}

	.ll-steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.wp-block-group.ll-step {
		grid-template-columns: 1fr;
	}

	.ll-step-num {
		grid-row: auto;
	}
}

@media (min-width: 900px) {

	.ll-hero {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		grid-template-rows: repeat(2, minmax(250px, auto));
		grid-template-areas:
			"head head photo free"
			"head head photo ship";
	}

	.ll-tile-head {
		display: flex !important;
		flex-direction: column;
		justify-content: center;
		padding: 44px 44px 48px !important;
	}

	.ll-tile-head .wp-block-buttons {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
	}

	.ll-tile-head .wp-block-button {
		width: auto;
	}

	.ll-tile-photo {
		aspect-ratio: auto;
		min-height: 0;
	}

	.wp-block-group.ll-tile-mini {
		gap: 10px;
		padding: 24px;
	}

	.ll-mini-title {
		font-size: 1.375rem;
	}

	.ll-mini-text {
		font-size: 0.9375rem;
	}

	.ll-tile-head::before {
		top: 26px;
		right: 28px;
		width: 132px;
	}

	.ll-tile-head::after {
		display: block;
	}

	.ll-types {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		grid-template-rows: repeat(2, minmax(240px, auto));
		grid-template-areas:
			"pict spin post post"
			"work acti post post";
	}

	.ll-type-big {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
		grid-template-areas: none;
		gap: 28px;
		align-items: center;
		padding: 36px !important;
	}

	.ll-type-big > .ll-type-big__text {
		display: block;
	}

	.ll-type-big > .wp-block-image {
		grid-area: auto;
	}

	.ll-type-big .wp-block-heading {
		font-size: 2.6rem;
	}

	.ll-type-big .wp-block-list.ll-grade-pills {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wp-block-group.ll-type-small {
		padding: 12px 12px 20px;
	}

	.ll-type-small .wp-block-image img {
		aspect-ratio: 16 / 10;
	}

	.ll-type-small .wp-block-heading {
		font-size: 1.375rem;
	}

	.ll-type-small p {
		font-size: 0.875rem;
	}

	.wp-block-group.ll-step {
		padding: 28px 30px;
	}

	.ll-about {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.95fr);
		grid-template-areas:
			"text text img"
			"lang custom img";
	}

	.ll-about-text {
		padding: 44px !important;
	}

	.ll-about-img {
		padding: 30px !important;
	}

	.ll-about-img .wp-block-image {
		width: min(100%, 320px);
	}

	.wp-block-group.ll-signup {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
		gap: 40px;
		align-items: center;
		padding: 60px 64px;
	}

	.ll-signup .wp-block-image {
		width: min(100%, 360px);
	}

	.ll-signup::before {
		top: 26px;
		right: 32%;
		width: 130px;
	}

	.ll-signup::after {
		right: -26px;
		bottom: 26px;
		left: auto;
		width: 150px;
	}
}

@media (min-width: 1100px) {

	.ll-tile-head {
		padding: 52px 48px 56px !important;
	}

	.ll-tile-head .wp-block-button.ll-btn-lg > .wp-block-button__link {
		padding-inline: 22px;
	}
}
