/*
Theme Name: Magic Lifestyle
Theme URI: https://themagiclifestyle.com/
Author: The Magic Lifestyle
Author URI: https://themagiclifestyle.com/
Description: A bright, photo-first magazine theme for The Magic Lifestyle: a swipeable story slider beside photo tiles, a Featured carousel, colour-coded category pills, clean story cards and an optional ad-friendly sidebar. Mobile-first, accessible and fast, with self-hosted fonts and no external requests.
Version: 2.0.1
Requires at least: 5.9
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: magic-lifestyle
Tags: blog, news, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, footer-widgets, sticky-post, threaded-comments, translation-ready, wide-blocks, editor-style
*/

/* -------------------------------------------------------------
   1. Tokens
------------------------------------------------------------- */
:root {
	--ml-paper: #ffffff;
	--ml-soft: #f6f5fb;
	--ml-ink: #1d1b33;
	--ml-muted: #5f5b78;
	--ml-line: #e9e7f2;

	/* Brand colours from the logo */
	--ml-sky: #23aae0;
	--ml-pink: #f077ab;
	--ml-violet: #9f7af3;

	/* Text-safe link and button colour */
	--ml-link: #0a7db6;
	--ml-link-hover: #07608c;

	--ml-font: "Alegreya Sans", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;

	--ml-max: 80rem;
	--ml-gutter: clamp(1rem, 3vw, 2rem);
	--ml-gap: clamp(0.6rem, 1.2vw, 0.9rem);
	--ml-radius: 12px;
	--ml-header-h: 4.5rem;
}

/* Category colour families: solid for pills (white text passes contrast), light for panels. */
.ml-tone-violet { --tone: #6d4ee0; --tone-light: #efe9ff; }
.ml-tone-sky    { --tone: #0a7db6; --tone-light: #e2f4fc; }
.ml-tone-pink   { --tone: #c9367b; --tone-light: #fde6f0; }
.ml-tone-teal   { --tone: #0d8174; --tone-light: #dff5f1; }
.ml-tone-orange { --tone: #ad5b00; --tone-light: #fff0db; }

/* -------------------------------------------------------------
   2. Base
------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--ml-header-h) + 1rem);
}

body {
	margin: 0;
	background: var(--ml-paper);
	color: var(--ml-ink);
	font-family: var(--ml-font);
	font-size: 1.125rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.005em;
	color: var(--ml-ink);
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--ml-link);
	text-underline-offset: 0.15em;
}

a:hover {
	color: var(--ml-link-hover);
}

:focus-visible {
	outline: 3px solid var(--ml-sky);
	outline-offset: 2px;
	border-radius: 4px;
}

::selection {
	background: #ffd6e8;
	color: var(--ml-ink);
}

.ml-main:focus {
	outline: none;
}

.ml-container {
	width: 100%;
	max-width: var(--ml-max);
	margin-inline: auto;
	padding-inline: var(--ml-gutter);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: var(--ml-paper);
	clip: auto !important;
	clip-path: none;
	color: var(--ml-ink);
	display: block;
	height: auto;
	left: 1rem;
	padding: 0.75rem 1rem;
	top: 1rem;
	width: auto;
	z-index: 100000;
}

.ml-skip {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 1000;
	padding: 0.7rem 1.1rem;
	border-radius: 10px;
	background: var(--ml-ink);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.ml-skip:focus {
	top: 1rem;
	color: #fff;
}

.ml-star {
	display: inline-block;
	width: 1em;
	height: 1em;
	fill: currentColor;
	flex: none;
}

/* Whole-card links: the title link covers the card; pills and author links sit above it. */
.ml-stretch::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

/* -------------------------------------------------------------
   3. Buttons, pills, forms
------------------------------------------------------------- */
.ml-button,
.wp-block-button__link,
.wp-element-button,
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.9rem;
	padding: 0.6rem 1.4rem;
	border: 0;
	border-radius: 10px;
	background: var(--ml-link);
	color: #fff;
	font-family: var(--ml-font);
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.ml-button:hover,
.wp-block-button__link:hover,
.wp-element-button:hover,
input[type="submit"]:hover {
	background: var(--ml-link-hover);
	color: #fff;
}

.is-style-outline > .wp-block-button__link {
	border: 2px solid var(--ml-link);
	background: transparent;
	color: var(--ml-link);
}

.ml-pills {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-bottom: 0.5rem;
}

.ml-pill {
	display: inline-block;
	padding: 0.15rem 0.6rem 0.2rem;
	border-radius: 6px;
	background: var(--tone, #6d4ee0);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 800;
	line-height: 1.4;
	text-decoration: none;
}

.ml-pill:hover {
	color: #fff;
	filter: brightness(1.12);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
	width: 100%;
	min-height: 2.9rem;
	padding: 0.6rem 0.9rem;
	border: 1.5px solid #d9d6e6;
	border-radius: 10px;
	background: var(--ml-paper);
	color: var(--ml-ink);
	font: inherit;
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--ml-sky);
	outline: 3px solid rgba(35, 170, 224, 0.25);
	outline-offset: 0;
}

label {
	display: block;
	margin-bottom: 0.3rem;
	font-weight: 700;
}

.ml-search {
	position: relative;
	display: flex;
	width: 100%;
	max-width: 36rem;
}

.ml-search__field {
	padding-right: 3.4rem;
}

.ml-search__submit {
	position: absolute;
	top: 0.3rem;
	right: 0.3rem;
	bottom: 0.3rem;
	display: grid;
	place-items: center;
	width: 2.5rem;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: var(--ml-link);
	color: #fff;
	cursor: pointer;
}

.ml-search__submit:hover {
	background: var(--ml-link-hover);
}

.ml-search__submit svg,
.ml-icon-btn svg {
	width: 1.2rem;
	height: 1.2rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.3;
	stroke-linecap: round;
}

/* Round icon buttons */
.ml-icon-btn {
	display: inline-grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ml-soft);
	color: var(--ml-ink);
	cursor: pointer;
}

.ml-icon-btn:hover,
.ml-icon-btn[aria-expanded="true"] {
	background: var(--ml-sky);
	color: #fff;
}

/* Social icons */
.ml-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ml-social a {
	display: grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	background: var(--ml-soft);
	color: var(--ml-ink);
}

.ml-social a:hover {
	background: var(--ml-pink);
	color: #fff;
}

.ml-social svg {
	width: 1.05rem;
	height: 1.05rem;
	fill: currentColor;
}

/* -------------------------------------------------------------
   4. Header
------------------------------------------------------------- */
.ml-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--ml-paper);
}

/* Three-colour ribbon in the logo's colours (flat segments). */
.ml-header::after {
	content: "";
	display: block;
	height: 4px;
	background: linear-gradient(90deg, var(--ml-sky) 0 33.33%, var(--ml-pink) 33.33% 66.66%, var(--ml-violet) 66.66% 100%);
}

.admin-bar .ml-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .ml-header {
		top: 0;
	}
}

.ml-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: var(--ml-header-h);
	padding-block: 0.4rem;
}

.ml-brand {
	flex: none;
	margin-right: auto;
}

.custom-logo-link {
	display: block;
	line-height: 0;
}

.custom-logo {
	width: auto;
	max-height: 3.4rem;
}

.ml-brand__name {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--ml-sky);
	font-size: 1.6rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
}

.ml-brand__star {
	color: var(--ml-pink);
}

.ml-header__tools {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.ml-social--header {
	display: none;
}

.ml-menu,
.ml-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ml-menu a {
	display: block;
	color: var(--ml-ink);
	font-weight: 800;
	text-decoration: none;
}

.ml-nav-toggle__icon {
	position: relative;
	display: block;
	width: 1.15rem;
	height: 0.85rem;
}

.ml-nav-toggle__icon::before,
.ml-nav-toggle__icon::after,
.ml-nav-toggle__icon span {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2.4px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.ml-nav-toggle__icon::before { top: 0; }
.ml-nav-toggle__icon span { top: calc(50% - 1.2px); }
.ml-nav-toggle__icon::after { top: calc(100% - 2.4px); }

.ml-nav-toggle[aria-expanded="true"] .ml-nav-toggle__icon::before {
	top: calc(50% - 1.2px);
	transform: rotate(45deg);
}

.ml-nav-toggle[aria-expanded="true"] .ml-nav-toggle__icon span {
	opacity: 0;
}

.ml-nav-toggle[aria-expanded="true"] .ml-nav-toggle__icon::after {
	top: calc(50% - 1.2px);
	transform: rotate(-45deg);
}

/* Search bar under the header */
.ml-searchbar {
	padding: 0.9rem 0;
	border-top: 1px solid var(--ml-line);
	background: var(--ml-soft);
}

.ml-searchbar .ml-search {
	margin-inline: auto;
}

html.ml-js .ml-searchbar:not(.is-open) {
	display: none;
}

html:not(.ml-js) .ml-search-toggle,
html:not(.ml-js) .ml-nav-toggle {
	display: none;
}

/* Mobile menu */
@media (max-width: 63.99em) {
	html:not(.ml-js) .ml-header__inner {
		flex-wrap: wrap;
	}

	html:not(.ml-js) .ml-nav {
		order: 3;
		flex-basis: 100%;
	}

	html.ml-js .ml-nav {
		position: absolute;
		top: calc(100% + 4px);
		left: 0;
		right: 0;
		display: none;
		max-height: calc(100vh - var(--ml-header-h) - 1rem);
		overflow-y: auto;
		padding: 0.5rem var(--ml-gutter) 1.5rem;
		border-bottom: 1px solid var(--ml-line);
		background: var(--ml-paper);
		box-shadow: 0 16px 30px -18px rgba(29, 27, 51, 0.35);
	}

	html.ml-js .ml-nav.is-open {
		display: block;
	}

	.ml-menu > li {
		border-bottom: 1px solid var(--ml-line);
	}

	.ml-menu a {
		padding: 0.8rem 0;
		font-size: 1.2rem;
	}

	.ml-menu .sub-menu {
		padding: 0 0 0.6rem 1rem;
	}

	.ml-menu .sub-menu a {
		padding: 0.45rem 0;
		font-size: 1.05rem;
		font-weight: 700;
		color: var(--ml-muted);
	}

	.ml-menu .current-menu-item > a,
	.ml-menu .current-menu-ancestor > a {
		color: var(--ml-link);
	}

	.ml-nav__extra {
		display: grid;
		gap: 1rem;
		padding-top: 1.25rem;
	}
}

/* Desktop menu */
@media (min-width: 64em) {
	:root {
		--ml-header-h: 5.25rem;
	}

	.custom-logo {
		max-height: 4rem;
	}

	.ml-nav-toggle,
	.ml-nav__extra {
		display: none;
	}

	.ml-nav {
		flex: 1;
	}

	.ml-menu {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 0.1rem 0.25rem;
	}

	.ml-menu > li {
		position: relative;
	}

	.ml-menu > li > a {
		position: relative;
		padding: 0.55rem 0.8rem;
		font-size: 1.1rem;
	}

	.ml-menu > li > a::after {
		content: "";
		position: absolute;
		left: 0.8rem;
		right: 0.8rem;
		bottom: 0.2rem;
		height: 3px;
		border-radius: 3px;
		background: var(--ml-pink);
		transform: scaleX(0);
		transition: transform 0.2s ease;
	}

	.ml-menu > li > a:hover,
	.ml-menu > li:focus-within > a {
		color: var(--ml-link);
	}

	.ml-menu > li > a:hover::after,
	.ml-menu > .current-menu-item > a::after,
	.ml-menu > .current-menu-ancestor > a::after,
	.ml-menu > .current-post-ancestor > a::after {
		transform: scaleX(1);
	}

	.ml-menu .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 5;
		min-width: 14rem;
		padding: 0.5rem;
		border: 1px solid var(--ml-line);
		border-radius: var(--ml-radius);
		background: var(--ml-paper);
		box-shadow: 0 16px 30px -18px rgba(29, 27, 51, 0.35);
		visibility: hidden;
		opacity: 0;
		transform: translateY(4px);
		transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
	}

	.ml-menu li:hover > .sub-menu,
	.ml-menu li:focus-within > .sub-menu {
		visibility: visible;
		opacity: 1;
		transform: none;
	}

	.ml-menu .sub-menu a {
		padding: 0.5rem 0.75rem;
		border-radius: 8px;
		font-size: 1rem;
	}

	.ml-menu .sub-menu a:hover {
		background: var(--ml-soft);
		color: var(--ml-link);
	}
}

@media (min-width: 80em) {
	.ml-social--header {
		display: flex;
	}
}

/* -------------------------------------------------------------
   5. Images and the star-trail fallback
------------------------------------------------------------- */
.ml-media__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.ml-fallback {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--ml-sky);
}

.ml-fallback--violet { background: var(--ml-violet); }
.ml-fallback--pink { background: var(--ml-pink); }
.ml-fallback--teal { background: #2bbfa9; }

.ml-fallback svg {
	display: block;
	width: 100%;
	height: 100%;
}

.ml-fallback__trail {
	fill: none;
	stroke: rgba(255, 255, 255, 0.75);
	stroke-width: 2.5;
	stroke-dasharray: 2 9;
	stroke-linecap: round;
}

.ml-fallback__star {
	fill: #fff;
}

/* -------------------------------------------------------------
   6. Photo tiles (slider, top tiles, featured, related)
------------------------------------------------------------- */
.ml-tile {
	position: relative;
	overflow: hidden;
	border-radius: var(--ml-radius);
	background: var(--ml-ink);
	color: #fff;
	isolation: isolate;
}

.ml-tile__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

/* Darkens the lower part of the photo so white headlines stay readable. */
.ml-tile::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(0deg, rgba(20, 17, 44, 0.9) 0%, rgba(20, 17, 44, 0.55) 38%, rgba(20, 17, 44, 0) 68%);
}

.ml-tile__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0.9rem 1rem 1rem;
}

.ml-tile__title {
	margin: 0;
	color: #fff;
	font-size: 1.1rem;
	line-height: 1.15;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.ml-tile__title a {
	color: inherit;
	text-decoration: none;
}

.ml-tile .ml-pills {
	margin-bottom: 0.45rem;
}

.ml-tile .ml-meta {
	margin-top: 0.45rem;
	color: rgba(255, 255, 255, 0.85);
}

.ml-tile .ml-meta__author {
	color: #fff;
}

.ml-tile:hover .ml-media__img,
.ml-card:hover .ml-media__img {
	transform: scale(1.04);
}

.ml-tile:hover .ml-tile__title a {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-decoration-color: var(--ml-pink);
}

.ml-tile:focus-within {
	outline: 3px solid var(--ml-sky);
	outline-offset: 2px;
}

.ml-tile a:focus-visible {
	outline: none;
}

/* Meta line */
.ml-meta {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.2rem 0.9rem;
	color: var(--ml-muted);
	font-size: 0.92rem;
	line-height: 1.3;
}

.ml-meta__author {
	color: var(--ml-ink);
	font-weight: 800;
	text-decoration: none;
}

.ml-meta__author:hover {
	text-decoration: underline;
}

/* -------------------------------------------------------------
   7. Sliders (scroll-snap; works by swiping without JavaScript)
------------------------------------------------------------- */
.ml-slider {
	position: relative;
}

.ml-slider__track {
	display: grid;
	grid-auto-flow: column;
	gap: var(--ml-gap);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.ml-slider__track::-webkit-scrollbar {
	display: none;
}

.ml-slide {
	scroll-snap-align: start;
}

.ml-slider__btn {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 1.5px solid var(--ml-line);
	border-radius: 50%;
	background: var(--ml-paper);
	color: var(--ml-ink);
	cursor: pointer;
}

.ml-slider__btn svg {
	width: 1.25rem;
	height: 1.25rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ml-slider__btn:hover:not(:disabled) {
	border-color: var(--ml-sky);
	background: var(--ml-sky);
	color: #fff;
}

.ml-slider__btn:disabled {
	opacity: 0.35;
	cursor: default;
}

html:not(.ml-js) .ml-slider__controls {
	display: none;
}

/* Top-of-home layout */
.ml-top {
	display: grid;
	gap: var(--ml-gap);
	margin-top: clamp(0.75rem, 2vw, 1.5rem);
}

.ml-slider--hero {
	height: min(118vw, 31rem);
	overflow: hidden;
	border-radius: var(--ml-radius);
}

.ml-slider--hero .ml-slider__track {
	height: 100%;
	gap: 0;
	grid-auto-columns: 100%;
}

.ml-tile--hero {
	height: 100%;
	border-radius: 0;
}

.ml-tile--hero .ml-tile__body {
	padding: 1.25rem 1.25rem 1.5rem;
}

.ml-tile--hero .ml-tile__title {
	max-width: 36rem;
	font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem);
	line-height: 1.05;
}

.ml-tile--hero .ml-meta {
	margin-top: 0.7rem;
	font-size: 1rem;
}

.ml-slider--hero .ml-slider__controls {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.3rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
}

.ml-slider--hero .ml-slider__btn {
	width: 2.2rem;
	height: 2.2rem;
	border: 0;
	background: transparent;
}

.ml-slider__dots {
	display: flex;
	align-items: center;
	gap: 0.1rem;
}

.ml-slider__dot {
	width: 1.4rem;
	height: 1.4rem;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.ml-slider__dot::before {
	content: "";
	display: block;
	width: 0.5rem;
	height: 0.5rem;
	margin: auto;
	border-radius: 999px;
	background: #c9c5da;
	transition: width 0.2s ease, background-color 0.2s ease;
}

.ml-slider__dot[aria-current="true"]::before {
	width: 1.1rem;
	background: var(--ml-pink);
}

.ml-top__tiles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--ml-gap);
}

.ml-tile--small {
	aspect-ratio: 1 / 1;
}

.ml-tile--small .ml-tile__body {
	padding: 0.7rem 0.75rem 0.8rem;
}

.ml-tile--small .ml-tile__title {
	font-size: clamp(0.98rem, 0.85rem + 0.5vw, 1.2rem);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
}

.ml-tile--small .ml-meta {
	display: none;
}

@media (min-width: 40em) {
	.ml-tile--small .ml-meta {
		display: flex;
	}
}

@media (min-width: 56em) {
	.ml-top {
		grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
		height: clamp(28rem, 38vw, 35rem);
	}

	.ml-slider--hero {
		height: 100%;
	}

	.ml-top__tiles {
		grid-template-rows: 1fr 1fr;
	}

	.ml-tile--small {
		aspect-ratio: auto;
	}

	.ml-tile--hero .ml-tile__body {
		padding: 2rem 2.25rem 2.25rem;
	}
}

/* -------------------------------------------------------------
   8. Sections, featured carousel, explore buttons
------------------------------------------------------------- */
.ml-section {
	padding-block: clamp(2rem, 4vw, 3rem) 0;
}

.ml-section-head {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

/* Heading with a dotted "wand trail" and star, echoing the logo. */
.ml-section-title {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
}

.ml-section-title > span {
	flex: none;
}

.ml-section-title::after {
	content: "";
	flex: 1;
	min-width: 2rem;
	border-top: 3px dotted var(--ml-sky);
	order: 3;
}

.ml-section-title__star {
	order: 2;
	width: 1rem;
	height: 1rem;
	color: var(--ml-pink);
}

.ml-slider__controls--head {
	display: flex;
	gap: 0.4rem;
}

.ml-slider--row .ml-slider__track {
	grid-auto-columns: 78%;
	scroll-padding-inline: 0;
}

.ml-tile--row {
	aspect-ratio: 1 / 1;
}

.ml-tile--row .ml-tile__title {
	font-size: 1.2rem;
}

@media (min-width: 40em) {
	.ml-slider--row .ml-slider__track {
		grid-auto-columns: calc((100% - var(--ml-gap)) / 2.3);
	}
}

@media (min-width: 56em) {
	.ml-slider--row .ml-slider__track {
		grid-auto-columns: calc((100% - 3 * var(--ml-gap)) / 4);
	}

	.ml-tile--row {
		aspect-ratio: 4 / 5;
	}
}

/* Explore buttons */
.ml-topics {
	margin-top: clamp(2rem, 4vw, 3rem);
	padding-block: 1.1rem;
	background: var(--ml-soft);
}

.ml-topics__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.ml-topics__title {
	flex: none;
	margin: 0;
	font-size: 1.25rem;
}

.ml-topics__list {
	display: flex;
	gap: 0.5rem;
	margin: 0;
	padding: 0.25rem 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}

.ml-topics__list::-webkit-scrollbar {
	display: none;
}

.ml-topic {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.45rem 0.9rem 0.5rem;
	border-radius: 999px;
	background: var(--tone-light);
	color: var(--tone);
	white-space: nowrap;
	text-decoration: none;
}

.ml-topic:hover {
	background: var(--tone);
	color: #fff;
}

.ml-topic__star {
	width: 0.95rem;
	height: 0.95rem;
}

.ml-topic__name {
	font-weight: 800;
}

.ml-topic__count {
	font-size: 0.85rem;
	opacity: 0.8;
}

@media (min-width: 64em) {
	.ml-topics__list {
		flex-wrap: wrap;
		overflow: visible;
	}
}

/* -------------------------------------------------------------
   9. Lists of posts and the sidebar
------------------------------------------------------------- */
.ml-layout {
	display: grid;
	gap: clamp(2rem, 4vw, 3rem);
	padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 4.5rem);
}

@media (min-width: 64em) {
	.ml-has-sidebar .ml-layout {
		grid-template-columns: minmax(0, 1fr) 300px;
	}
}

.ml-layout__main {
	min-width: 0;
}

.ml-cards {
	display: grid;
	gap: clamp(1rem, 2vw, 1.5rem);
}

@media (min-width: 40em) {
	.ml-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 64em) {
	body:not(.ml-has-sidebar) .ml-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.ml-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--ml-line);
	border-radius: var(--ml-radius);
	background: var(--ml-paper);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ml-card:hover {
	border-color: #d6d2e6;
	box-shadow: 0 10px 24px -16px rgba(29, 27, 51, 0.4);
}

.ml-card__media {
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--ml-soft);
}

.ml-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 1rem 1.15rem 1.15rem;
}

.ml-card__title {
	margin-bottom: 0.4rem;
	font-size: 1.35rem;
	line-height: 1.15;
}

.ml-card__title a {
	color: var(--ml-ink);
	text-decoration: none;
}

.ml-card:hover .ml-card__title a {
	color: var(--ml-link);
}

.ml-card__excerpt {
	color: var(--ml-muted);
	font-size: 1.02rem;
	line-height: 1.5;
}

.ml-card__excerpt p {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	margin-bottom: 0.75rem;
}

.ml-card .ml-meta {
	margin-top: auto;
}

.ml-card:focus-within {
	outline: 3px solid var(--ml-sky);
	outline-offset: 2px;
}

.ml-card a:focus-visible {
	outline: none;
}

/* Phones: compact rows (small square photo beside the headline) so more posts fit on screen. */
@media (max-width: 39.99em) {
	.ml-card:not(.ml-card--wide) {
		display: grid;
		grid-template-columns: 6.5rem minmax(0, 1fr);
		gap: 0.85rem;
		padding: 0.7rem;
	}

	.ml-card:not(.ml-card--wide) .ml-card__media {
		aspect-ratio: 1 / 1;
		border-radius: 8px;
	}

	.ml-card:not(.ml-card--wide) .ml-card__body {
		padding: 0;
	}

	.ml-card:not(.ml-card--wide) .ml-pills {
		margin-bottom: 0.3rem;
	}

	.ml-card:not(.ml-card--wide) .ml-card__title {
		font-size: 1.12rem;
	}

	.ml-card:not(.ml-card--wide) .ml-card__excerpt {
		display: none;
	}

	.ml-card:not(.ml-card--wide) .ml-meta {
		font-size: 0.85rem;
	}

	.ml-cards {
		gap: 0.75rem;
	}
}

/* Lead card of a list */
.ml-card--wide {
	grid-column: 1 / -1;
}

.ml-card--wide .ml-card__title {
	font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
	line-height: 1.08;
}

.ml-card--wide .ml-card__excerpt {
	font-size: 1.1rem;
}

@media (min-width: 40em) {
	.ml-card--wide {
		display: grid;
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	}

	.ml-card--wide .ml-card__media {
		aspect-ratio: auto;
		min-height: 18rem;
	}

	.ml-card--wide .ml-card__body {
		justify-content: center;
		padding: 1.5rem 1.75rem;
	}

	.ml-card--wide .ml-card__excerpt p {
		-webkit-line-clamp: 4;
	}

	.ml-card--wide .ml-meta {
		margin-top: 0.25rem;
	}
}

/* Archive header */
.ml-archive-head {
	padding-block: clamp(1.75rem, 4vw, 2.75rem);
	border-bottom: 4px solid var(--tone);
	background: var(--tone-light);
}

.ml-archive-head__title {
	margin: 0 0 0.25rem;
	color: var(--ml-ink);
	font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
}

.ml-archive-head__desc {
	max-width: 44rem;
	color: var(--ml-muted);
	font-size: 1.15rem;
}

.ml-archive-head__desc p {
	margin-bottom: 0.5rem;
}

.ml-archive-head__count {
	margin: 0;
	color: var(--tone);
	font-weight: 800;
}

/* Pagination */
.pagination,
.comments-pagination {
	margin-top: 2.5rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding-inline: 0.85rem;
	border: 1.5px solid var(--ml-line);
	border-radius: 10px;
	color: var(--ml-ink);
	font-weight: 800;
	text-decoration: none;
}

a.page-numbers:hover {
	border-color: var(--ml-sky);
	color: var(--ml-link);
}

.page-numbers.current {
	border-color: var(--ml-link);
	background: var(--ml-link);
	color: #fff;
}

.page-numbers.dots {
	min-width: 0;
	border: 0;
}

/* Sidebar */
.ml-sidebar__inner {
	display: grid;
	gap: 2rem;
}

@media (min-width: 64em) {
	.ml-sidebar__inner {
		position: sticky;
		top: calc(var(--ml-header-h) + 1.5rem);
	}

	.admin-bar .ml-sidebar__inner {
		top: calc(var(--ml-header-h) + 1.5rem + 32px);
	}
}

.ml-widget {
	font-size: 1.02rem;
}

.ml-widget__title,
.ml-sidebar .ml-widget h2 {
	margin-bottom: 0.75rem;
	padding-bottom: 0.45rem;
	border-bottom: 3px dotted var(--ml-sky);
	font-size: 1.2rem;
}

.ml-widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ml-widget li {
	padding: 0.4rem 0;
	border-bottom: 1px solid var(--ml-line);
}

.ml-widget li a {
	color: var(--ml-ink);
	font-weight: 700;
	text-decoration: none;
}

.ml-widget li a:hover {
	color: var(--ml-link);
}

.ml-empty {
	padding: 2rem 0;
}

/* -------------------------------------------------------------
   10. Single posts and pages
------------------------------------------------------------- */
.ml-article__head {
	padding-top: clamp(1.25rem, 3vw, 2rem);
	padding-bottom: 1.25rem;
}

.ml-article__head > * {
	max-width: 52rem;
}

.ml-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
	font-size: 0.95rem;
}

.ml-crumbs li + li::before {
	content: "/";
	margin-right: 0.3rem;
	color: #b9b5cc;
}

.ml-crumbs a {
	color: var(--ml-muted);
	font-weight: 700;
	text-decoration: none;
}

.ml-crumbs a:hover {
	color: var(--ml-link);
}

.ml-article__title {
	margin-bottom: 0.4em;
	font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.4rem);
	line-height: 1.04;
	letter-spacing: -0.01em;
}

.ml-article__dek {
	color: var(--ml-muted);
	font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
	line-height: 1.4;
}

.ml-article__byline {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.ml-avatar {
	flex: none;
	border-radius: 50%;
	background: var(--ml-soft);
}

.ml-article__byline .ml-meta {
	font-size: 1rem;
}

.ml-article__figure {
	margin-block: 0.5rem 0;
}

.ml-article__figure img {
	display: block;
	width: 100%;
	max-height: min(70vh, 44rem);
	object-fit: cover;
	border-radius: var(--ml-radius);
}

.ml-article__figure figcaption {
	margin-top: 0.5rem;
	color: var(--ml-muted);
	font-size: 0.95rem;
}

.ml-layout--article {
	padding-top: clamp(1.5rem, 3vw, 2.25rem);
}

.ml-article--page .ml-layout--article {
	grid-template-columns: minmax(0, 1fr);
}

/* Prose */
.ml-prose {
	max-width: 46rem;
	font-size: 1.1875rem;
	line-height: 1.7;
}

.ml-prose > *:first-child {
	margin-top: 0;
}

.ml-prose h2 {
	margin-top: 1.9em;
	font-size: clamp(1.6rem, 1.35rem + 0.8vw, 1.95rem);
}

.ml-prose h3 {
	margin-top: 1.7em;
	font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.55rem);
}

.ml-prose h4 {
	margin-top: 1.5em;
	font-size: 1.2rem;
}

.ml-prose a {
	text-decoration-thickness: 1.5px;
}

.ml-prose ul,
.ml-prose ol {
	margin: 0 0 1.2em;
	padding-left: 1.35em;
}

.ml-prose li {
	margin-bottom: 0.5em;
}

.ml-prose li::marker {
	color: var(--ml-sky);
	font-weight: 800;
}

.ml-prose strong {
	font-weight: 800;
}

.ml-prose img {
	border-radius: 10px;
}

.ml-prose figure {
	margin: 1.75em 0;
}

.ml-prose figcaption,
.wp-element-caption,
.wp-caption-text,
.gallery-caption {
	margin-top: 0.5rem;
	color: var(--ml-muted);
	font-size: 0.95rem;
	text-align: center;
}

.ml-prose blockquote,
.wp-block-quote {
	margin: 1.75em 0;
	padding: 0.25em 0 0.25em 1.25em;
	border-left: 4px solid var(--ml-pink);
	font-size: 1.35rem;
	font-style: italic;
	line-height: 1.45;
}

.ml-prose blockquote cite {
	display: block;
	margin-top: 0.4rem;
	color: var(--ml-muted);
	font-size: 1rem;
	font-style: normal;
	font-weight: 700;
}

.wp-block-pullquote {
	padding: 1.5rem 0;
	border-block: 3px dotted var(--ml-sky);
}

.wp-block-pullquote blockquote {
	border: 0;
	padding: 0;
	text-align: center;
}

.ml-prose hr,
hr.wp-block-separator {
	height: auto;
	margin: 2.5em 0;
	border: 0;
	background: none;
	text-align: center;
	opacity: 1;
}

.ml-prose hr::after,
hr.wp-block-separator::after {
	content: "\2605\00a0\00a0\00a0\2605\00a0\00a0\00a0\2605";
	color: var(--ml-sky);
	font-size: 1rem;
}

.ml-prose code,
.ml-prose kbd {
	padding: 0.1em 0.35em;
	border-radius: 5px;
	background: var(--ml-soft);
	font-size: 0.9em;
}

.ml-prose pre {
	overflow-x: auto;
	padding: 1rem 1.2rem;
	border-radius: 10px;
	background: var(--ml-ink);
	color: #f1efff;
	font-size: 0.92rem;
}

.ml-prose pre code {
	padding: 0;
	background: none;
}

.ml-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1.02rem;
}

.ml-prose th,
.ml-prose td {
	padding: 0.6rem 0.7rem;
	border-bottom: 1px solid var(--ml-line);
	text-align: left;
}

.ml-prose th {
	background: var(--ml-soft);
}

.ml-prose .alignwide,
.ml-prose .alignfull {
	max-width: none;
}

.alignleft {
	float: left;
	margin: 0.3em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.3em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-block-image img {
	border-radius: 10px;
}

.wp-block-embed iframe {
	max-width: 100%;
}

.wp-block-group.has-background {
	padding: clamp(1.1rem, 3vw, 1.75rem);
	border-radius: var(--ml-radius);
}

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
	gap: 0.6rem;
}

.sticky,
.bypostauthor {
	--ml-flag: 1;
}

.ml-page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	margin-top: 2rem;
	font-weight: 800;
}

/* Post footer */
.ml-article__foot {
	max-width: 46rem;
	margin-top: 2.25rem;
}

.ml-share {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 0;
	border-block: 1px solid var(--ml-line);
}

.ml-share__label {
	font-weight: 800;
}

.ml-share ul {
	display: flex;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ml-share a {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--ml-soft);
	color: var(--ml-ink);
}

.ml-share a:hover {
	background: var(--ml-sky);
	color: #fff;
}

.ml-share svg {
	width: 1.1rem;
	height: 1.1rem;
	fill: currentColor;
}

.ml-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
}

.ml-tags a {
	display: inline-block;
	padding: 0.2rem 0.7rem;
	border: 1.5px solid var(--ml-line);
	border-radius: 999px;
	color: var(--ml-muted);
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
}

.ml-tags a:hover {
	border-color: var(--ml-pink);
	color: #c9367b;
}

.ml-author {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	margin-top: 1.75rem;
	padding: 1.25rem;
	border-radius: var(--ml-radius);
	background: var(--ml-soft);
}

.ml-author__name {
	margin-bottom: 0.2rem;
	font-size: 1.25rem;
}

.ml-author__name a {
	color: var(--ml-ink);
	text-decoration: none;
}

.ml-author__name a:hover {
	color: var(--ml-link);
}

.ml-author__bio {
	margin: 0;
	color: var(--ml-muted);
}

.post-navigation {
	margin-top: 1.75rem;
}

.post-navigation .nav-links {
	display: grid;
	gap: 0.75rem;
	justify-content: stretch;
}

.post-navigation a {
	display: block;
	height: 100%;
	padding: 1rem 1.15rem;
	border: 1px solid var(--ml-line);
	border-radius: var(--ml-radius);
	color: var(--ml-ink);
	text-decoration: none;
}

.post-navigation a:hover {
	border-color: var(--ml-sky);
}

.post-navigation .nav-next {
	text-align: right;
}

.ml-postnav__label {
	display: block;
	color: var(--ml-muted);
	font-size: 0.92rem;
	font-weight: 700;
}

.ml-postnav__title {
	display: block;
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.2;
}

@media (min-width: 40em) {
	.post-navigation .nav-links {
		grid-template-columns: 1fr 1fr;
	}

	.post-navigation .nav-next:only-child {
		grid-column: 2;
	}
}

/* Related posts */
.ml-related {
	padding-block: clamp(2rem, 4vw, 3rem);
	background: var(--ml-soft);
}

.ml-related__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--ml-gap);
}

.ml-related .ml-tile--row .ml-tile__title {
	font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
}

@media (min-width: 56em) {
	.ml-related__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* -------------------------------------------------------------
   11. Comments
------------------------------------------------------------- */
.ml-comments {
	max-width: 46rem;
	margin-top: 2.5rem;
}

.ml-comments__title {
	font-size: 1.5rem;
}

.ml-comments__list,
.ml-comments__list .children {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ml-comments__list .children {
	padding-left: clamp(0.75rem, 4vw, 2rem);
}

.ml-comments__list .comment-body {
	margin-bottom: 0.75rem;
	padding: 1rem 1.15rem;
	border: 1px solid var(--ml-line);
	border-radius: var(--ml-radius);
}

.comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.2rem 0.9rem;
	margin-bottom: 0.5rem;
	font-size: 0.95rem;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 800;
}

.comment-author .avatar {
	border-radius: 50%;
	background: var(--ml-soft);
}

.comment-author .says {
	display: none;
}

.comment-metadata a {
	color: var(--ml-muted);
	text-decoration: none;
}

.reply a {
	font-weight: 800;
}

.bypostauthor > .comment-body {
	border-color: var(--ml-pink);
}

.comment-respond {
	margin-top: 2rem;
}

.comment-form > p {
	margin-bottom: 0.9rem;
}

.comment-form-cookies-consent {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
}

.comment-form-cookies-consent label {
	font-weight: 400;
}

.comment-notes,
.logged-in-as {
	color: var(--ml-muted);
	font-size: 0.95rem;
}

/* -------------------------------------------------------------
   12. 404
------------------------------------------------------------- */
.ml-lost {
	max-width: calc(38rem + 2 * var(--ml-gutter));
	padding-block: clamp(3rem, 8vw, 5rem) 1rem;
	text-align: center;
}

.ml-lost__art {
	position: relative;
	height: 5.5rem;
	margin-bottom: 1rem;
}

.ml-lost__star {
	position: absolute;
}

.ml-lost__star--a {
	left: calc(50% - 1.6rem);
	top: 0.75rem;
	width: 3.2rem;
	height: 3.2rem;
	color: var(--ml-sky);
}

.ml-lost__star--b {
	left: calc(50% + 2.2rem);
	top: 0;
	width: 1.4rem;
	height: 1.4rem;
	color: var(--ml-pink);
}

.ml-lost__star--c {
	left: calc(50% - 3.6rem);
	top: 3.5rem;
	width: 1.1rem;
	height: 1.1rem;
	color: var(--ml-violet);
}

.ml-lost__title {
	font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
}

.ml-lost__text {
	color: var(--ml-muted);
	font-size: 1.2rem;
}

.ml-lost__search .ml-search {
	margin: 1.5rem auto;
}

/* -------------------------------------------------------------
   13. Footer
------------------------------------------------------------- */
.ml-footer {
	margin-top: clamp(2rem, 5vw, 3.5rem);
	background: var(--ml-ink);
	color: #cfcbe4;
}

.ml-related + .ml-footer,
.ml-topics + .ml-footer {
	margin-top: 0;
}

.ml-footer::before {
	content: "";
	display: block;
	height: 4px;
	background: linear-gradient(90deg, var(--ml-sky) 0 33.33%, var(--ml-pink) 33.33% 66.66%, var(--ml-violet) 66.66% 100%);
}

.ml-footer__top {
	display: grid;
	gap: 2rem;
	padding-block: clamp(2.25rem, 5vw, 3.25rem);
}

.ml-footer__name {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-bottom: 0.5rem;
	color: #fff;
	font-size: 1.6rem;
	font-weight: 800;
	text-decoration: none;
}

.ml-footer__name:hover {
	color: #fff;
}

.ml-footer__star {
	color: var(--ml-pink);
}

.ml-footer__about {
	max-width: 28rem;
}

.ml-footer .ml-social a {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.ml-footer .ml-social a:hover {
	background: var(--ml-pink);
}

.ml-footer__heading,
.ml-footer .ml-widget__title {
	margin-bottom: 0.75rem;
	padding: 0;
	border: 0;
	color: #fff;
	font-size: 1.15rem;
}

.ml-footer__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.35rem 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ml-footer a {
	color: #e6e3f5;
}

.ml-footer a:hover {
	color: #fff;
}

.ml-footer__list a,
.ml-footer .ml-widget li a {
	color: #e6e3f5;
	font-weight: 700;
	text-decoration: none;
}

.ml-footer__list a:hover {
	color: var(--ml-sky);
}

.ml-footer .ml-widget li {
	border-color: rgba(255, 255, 255, 0.1);
}

.ml-footer :focus-visible {
	outline-color: var(--ml-pink);
}

.ml-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	padding-block: 1.25rem 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.95rem;
}

.ml-footer__copy {
	margin: 0;
}

.ml-footer__note {
	margin-left: 0.75rem;
	padding-left: 0.75rem;
	border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.ml-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ml-footer__menu a {
	font-weight: 700;
	text-decoration: none;
}

@media (min-width: 48em) {
	.ml-footer__top {
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
		gap: 3rem;
	}
}

/* -------------------------------------------------------------
   14. Motion preferences and print
------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}

	.ml-tile:hover .ml-media__img,
	.ml-card:hover .ml-media__img {
		transform: none;
	}
}

@media print {
	.ml-header,
	.ml-footer,
	.ml-sidebar,
	.ml-related,
	.ml-comments,
	.ml-share,
	.post-navigation {
		display: none;
	}
}
