/*
Theme Name: باغ من
Theme URI: https://www.mygarden.ir
Author: باغ من
Author URI: https://www.mygarden.ir
Description: قالب اختصاصی راست‌به‌چپ سایت باغ من؛ دفترچهٔ گیاه‌شناس با حالت روشن و تیره، فونت وزیرمتن، تاریخ شمسی و ارقام فارسی.
Version: 1.0.0
Requires at least: 6.0
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: mygarden
Tags: rtl-language-support, blog, news, two-columns, left-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   ۱. متغیرها (روشن / تیره)
   ========================================================================== */
:root {
	--bg: #f7f5ee;
	--surface: #ffffff;
	--surface-2: #efece1;
	--text: #17201a;
	--muted: #566559;
	--brand: #0c3510;
	--on-brand: #ffffff;
	--link: #2f6f14;
	--accent: #4f9a2c;
	--tint: #e4eed8;
	--earth: #8f5528;
	--line: #dedacb;
	--shadow: 0 10px 28px rgba(12, 53, 16, 0.12);
	--glass: rgba(247, 245, 238, 0.82);
	--overlay: linear-gradient(to top, rgba(6, 20, 8, 0.9), rgba(6, 20, 8, 0.15) 70%, transparent);

	--r-big: 26px;
	--r-small: 4px;
	--r-card: 16px;
	--wrap: 1240px;
	--side-w: 330px;
	--gap: 40px;
	--nav-h: 72px;
	--font: "Vazirmatn", "Vazir", Tahoma, "Segoe UI", system-ui, sans-serif;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

:root[data-theme="dark"] {
	--bg: #0d1410;
	--surface: #141e17;
	--surface-2: #1a261e;
	--text: #e7efe4;
	--muted: #9fb1a3;
	--brand: #7fcf5a;
	--on-brand: #0b1a0d;
	--link: #7fcf5a;
	--accent: #7fcf5a;
	--tint: #1d2d20;
	--earth: #d99a6c;
	--line: #25352a;
	--shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
	--glass: rgba(13, 20, 16, 0.82);
	color-scheme: dark;
}

/* ==========================================================================
   ۲. پایه
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--nav-h) + 20px);
	overflow-x: clip;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 2;
	font-weight: 400;
	overflow-x: clip;
	text-rendering: optimizeLegibility;
	transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

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

iframe,
embed,
object {
	max-width: 100%;
}

a {
	color: var(--link);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	transition: color 0.2s var(--ease);
}

a:hover {
	color: var(--brand);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.6em;
	font-weight: 800;
	line-height: 1.6;
	color: var(--text);
}

p {
	margin: 0 0 1.1em;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

button,
input,
textarea,
select {
	font: inherit;
	color: inherit;
}

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

.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;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus,
.skip-link:focus {
	background: var(--brand);
	color: var(--on-brand);
	clip: auto !important;
	clip-path: none;
	display: block;
	font-weight: 700;
	height: auto;
	inset-block-start: 8px;
	inset-inline-start: 8px;
	padding: 12px 20px;
	width: auto;
	z-index: 100000;
	border-radius: 999px;
	text-decoration: none;
}

.mg-wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: 20px;
}

.mg-icon {
	flex: none;
	vertical-align: middle;
}

/* ==========================================================================
   ۳. نوار بالا و هدر
   ========================================================================== */
.mg-topbar {
	background: #0c3510;
	color: #e5efdc;
	font-size: 13px;
	line-height: 1.6;
}

:root[data-theme="dark"] .mg-topbar {
	background: #0a110c;
	border-block-end: 1px solid var(--line);
}

.mg-topbar__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
}

.mg-topbar__date,
.mg-topbar__tagline {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.mg-topbar__tagline {
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
	opacity: 0.85;
}

.mg-topbar__social {
	display: flex;
	gap: 4px;
	list-style: none;
}

.mg-topbar__social a {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	color: inherit;
	transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.mg-topbar__social a:hover {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	transform: translateY(-2px);
}

.mg-navbar {
	position: sticky;
	inset-block-start: 0;
	z-index: 90;
	background: var(--glass);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	border-block-end: 1px solid var(--line);
}

body.admin-bar .mg-navbar {
	inset-block-start: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .mg-navbar {
		inset-block-start: 46px;
	}
}

.mg-navbar__row {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: var(--nav-h);
}

.mg-brand {
	flex: none;
}

.mg-brand__link,
.mg-brand .custom-logo-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--brand);
}

.mg-brand .custom-logo {
	width: auto;
	max-height: 52px;
}

.mg-brand__mark {
	width: 46px;
	height: 46px;
	transition: transform 0.35s var(--ease);
}

.mg-brand__link:hover .mg-brand__mark {
	transform: rotate(-6deg) scale(1.06);
}

.mg-brand__name {
	font-size: 28px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.5px;
}

.mg-nav {
	flex: 1;
	min-width: 0;
}

.mg-menu,
.mg-menu ul {
	list-style: none;
}

.mg-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
}

.mg-menu li {
	position: relative;
}

.mg-menu a {
	display: block;
	padding: 6px 14px;
	border-radius: 999px;
	color: var(--text);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.8;
	text-decoration: none;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.mg-menu a:hover,
.mg-menu .current-menu-item > a,
.mg-menu .current-menu-ancestor > a,
.mg-menu .current_page_item > a {
	background: var(--tint);
	color: var(--brand);
}

.mg-menu .sub-menu {
	position: absolute;
	inset-inline-start: 0;
	inset-block-start: 100%;
	min-width: 200px;
	padding: 8px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
	z-index: 5;
}

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

.mg-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-inline-start: auto;
}

.mg-btn-icon {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--text);
	cursor: pointer;
	transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.mg-btn-icon:hover {
	background: var(--tint);
	border-color: var(--accent);
	transform: translateY(-2px);
}

.mg-theme-icon--sun,
.mg-menu-toggle__close {
	display: none;
}

:root[data-theme="dark"] .mg-theme-icon--sun {
	display: inline-flex;
}

:root[data-theme="dark"] .mg-theme-icon--moon {
	display: none;
}

.mg-menu-toggle {
	display: none;
}

.mg-search-panel {
	border-block-start: 1px solid var(--line);
	background: var(--surface);
	padding-block: 14px;
}

.mg-search-panel[hidden] {
	display: none;
}

/* فرم جستجو */
.mg-searchform {
	position: relative;
	display: flex;
	width: 100%;
	max-width: 640px;
	margin-inline: auto;
}

.mg-searchform__input {
	width: 100%;
	height: 50px;
	padding: 0 20px 0 56px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 16px;
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.mg-searchform__input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}

.mg-searchform__btn {
	position: absolute;
	inset-block: 5px;
	inset-inline-end: auto;
	left: 5px;
	display: grid;
	place-items: center;
	width: 40px;
	padding: 0;
	background: var(--brand);
	color: var(--on-brand);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: transform 0.2s var(--ease);
}

.mg-searchform__btn:hover {
	transform: scale(1.07);
}

/* ==========================================================================
   ۴. چیدمان اصلی
   ========================================================================== */
.mg-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--side-w);
	gap: var(--gap);
	align-items: start;
	padding-block: 36px 24px;
}

.mg-main {
	min-width: 0;
}

.mg-side {
	min-width: 0;
}

.mg-side__inner {
	min-width: 0;
}


@media (max-width: 1000px) {
	.mg-layout {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* عنوان بخش‌ها: خط «شاخه» + جوانه */
.mg-section-title {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 22px;
	font-size: 22px;
	font-weight: 800;
	color: var(--brand);
	line-height: 1.5;
}

.mg-section-title > span {
	order: 1;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.mg-section-title > span::before {
	content: "";
	width: 24px;
	height: 24px;
	background: var(--accent);
	-webkit-mask: var(--bud) center / contain no-repeat;
	mask: var(--bud) center / contain no-repeat;
}

.mg-section-title::after {
	content: "";
	order: 2;
	flex: 1;
	height: 1px;
	background: linear-gradient(to left, var(--line), transparent);
}

.mg-section-title__more {
	order: 3;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

:root {
	--bud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21v-9M12 12c0-4 2.5-6.5 7-6.5 0 4.5-2.5 6.5-7 6.5zM12 15c0-3-2-5-6-5 0 3.5 2 5 6 5z' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	--ext: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17 17 7M9 7h8v8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.mg-catblock {
	margin-block-start: 44px;
}

/* ==========================================================================
   ۵. تصاویر کوچک با «گوشهٔ برگی»
   ========================================================================== */
.mg-thumb {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--tint);
	border-start-start-radius: var(--r-big);
	border-end-end-radius: var(--r-big);
	border-start-end-radius: var(--r-small);
	border-end-start-radius: var(--r-small);
}

.mg-thumb img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	opacity: 1 !important;
	transition: transform 0.6s var(--ease);
}

/* خنثی‌سازی Smush و Optimole */
.mg-site img.lazyload,
.mg-site img.lazyloading,
.mg-site img.lazyloaded,
.mg-site img[data-opt-src],
.mg-site img[data-lazy-src] {
	opacity: 1 !important;
}

.mg-thumb-fallback {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--tint), var(--surface-2));
}

.mg-thumb-fallback img {
	width: 72px !important;
	height: 72px !important;
	object-fit: contain;
	opacity: 0.55 !important;
}

.mg-chip {
	display: inline-block;
	padding: 2px 14px;
	background: var(--brand);
	color: var(--on-brand);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.9;
	text-decoration: none;
	border-start-start-radius: 14px;
	border-end-end-radius: 14px;
	border-start-end-radius: 3px;
	border-end-start-radius: 3px;
	transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.mg-chip:hover {
	background: var(--accent);
	color: #fff;
	transform: translateY(-2px);
}

:root[data-theme="dark"] .mg-chip:hover {
	color: #0b1a0d;
}

.mg-chip--static {
	background: var(--tint);
	color: var(--brand);
}

.mg-chip--static small {
	opacity: 0.75;
	font-size: 12px;
}

.mg-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin-block-end: 12px;
}

/* ==========================================================================
   ۶. بخش ویژه (هیرو)
   ========================================================================== */
.mg-hero {
	padding-block-start: 30px;
}

.mg-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
	gap: 16px;
}

.mg-hero__side {
	display: grid;
	grid-template-rows: repeat(3, minmax(0, 1fr));
	gap: 16px;
	min-width: 0;
}

.hero-card {
	position: relative;
	overflow: hidden;
	min-height: 150px;
	background: var(--surface-2);
	border-start-start-radius: var(--r-big);
	border-end-end-radius: var(--r-big);
	border-start-end-radius: var(--r-small);
	border-end-start-radius: var(--r-small);
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.hero-card--lead {
	min-height: 450px;
	border-start-start-radius: 40px;
	border-end-end-radius: 40px;
}

.hero-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}

.hero-card__link {
	position: absolute;
	inset: 0;
	display: block;
	color: #fff;
	text-decoration: none;
}

.hero-card__media {
	position: absolute;
	inset: 0;
	aspect-ratio: auto;
	border-radius: 0;
}

.hero-card:hover .hero-card__media img {
	transform: scale(1.06);
}

.hero-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--overlay);
	pointer-events: none;
}

.hero-card__text {
	position: absolute;
	inset-inline: 0;
	inset-block-end: 0;
	z-index: 2;
	padding: 18px 22px 20px;
}

.hero-card__title {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.7;
	color: #fff;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hero-card--lead .hero-card__title {
	font-size: 30px;
	line-height: 1.6;
	-webkit-line-clamp: 3;
}

.hero-card__excerpt {
	margin: 0 0 8px;
	font-size: 15px;
	line-height: 1.9;
	color: rgba(255, 255, 255, 0.88);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hero-card__meta {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 900px) {
	.mg-hero__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.mg-hero .hero-card--lead {
		min-height: 360px;
	}

	.hero-card--lead .hero-card__title {
		font-size: 23px;
	}

	.mg-hero__side {
		grid-template-rows: none;
	}

	.hero-card {
		min-height: 170px;
	}
}

/* ==========================================================================
   ۷. کارت‌ها
   ========================================================================== */
.mg-feed {
	display: grid;
	gap: 18px;
}

.mg-feed--grid {
	grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
}

.mg-feed--quad {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 520px) {
	.mg-feed--quad {
		grid-template-columns: minmax(0, 1fr);
	}
}

.article-card {
	position: relative;
	display: grid;
	gap: 16px;
	padding: 14px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.article-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
	border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
}

.article-card:hover .mg-thumb img {
	transform: scale(1.06);
}

.article-card--list {
	grid-template-columns: 280px minmax(0, 1fr);
	align-items: start;
}

.article-card--grid {
	align-content: start;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
}

.article-card__media {
	position: relative;
}

.article-card__media .mg-chip {
	position: absolute;
	inset-block-start: 10px;
	inset-inline-start: 10px;
	z-index: 2;
}

.article-card__title {
	margin: 0 0 6px;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.75;
}

.article-card--grid .article-card__title {
	font-size: 17px;
}

.article-card__title a {
	color: var(--text);
	text-decoration: none;
	background: linear-gradient(var(--accent), var(--accent)) no-repeat 100% 100% / 0 2px;
	transition: background-size 0.35s var(--ease), color 0.2s var(--ease);
}

.article-card:hover .article-card__title a {
	background-size: 100% 2px;
	color: var(--brand);
}

.article-card__excerpt {
	margin: 0 0 8px;
	font-size: 15px;
	line-height: 1.95;
	color: var(--muted);
}

.article-card__meta {
	margin: 0;
	font-size: 13px;
	line-height: 1.7;
	color: var(--muted);
}

@media (max-width: 640px) {
	.article-card--list {
		grid-template-columns: 112px minmax(0, 1fr);
		gap: 12px;
		padding: 10px;
	}

	.article-card--list .mg-thumb {
		aspect-ratio: 1 / 1;
		border-start-start-radius: 18px;
		border-end-end-radius: 18px;
	}

	.article-card--list .mg-chip {
		display: none;
	}

	.article-card--list .article-card__excerpt {
		display: none;
	}

	.article-card--list .article-card__title {
		font-size: 16px;
	}
}

.mg-empty {
	padding: 40px 20px;
	text-align: center;
	background: var(--surface);
	border: 1px dashed var(--line);
	border-radius: var(--r-card);
}

/* ==========================================================================
   ۸. صفحه‌بندی
   ========================================================================== */
.mg-pager {
	margin-block: 32px 8px;
}

.mg-pager ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	list-style: none;
}

.mg-pager .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--text);
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.mg-pager a.page-numbers:hover {
	background: var(--tint);
	border-color: var(--accent);
	transform: translateY(-2px);
}

.mg-pager .page-numbers.current {
	background: var(--brand);
	border-color: var(--brand);
	color: var(--on-brand);
}

.mg-pager--inline {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.mg-pager--inline > a,
.mg-pager--inline > span:not(.mg-pager__label) {
	display: inline-grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 999px;
	text-decoration: none;
}

/* ==========================================================================
   ۹. دکمه‌ها
   ========================================================================== */
.mg-btn,
.comment-form .submit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 26px;
	background: var(--brand);
	border: 0;
	border-radius: 999px;
	color: var(--on-brand);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.9;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}

.mg-btn:hover,
.comment-form .submit:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow);
	color: var(--on-brand);
	background: color-mix(in srgb, var(--brand) 88%, var(--accent));
}

/* ==========================================================================
   ۱۰. سرصفحهٔ صفحات داخلی و breadcrumb
   ========================================================================== */
.mg-breadcrumb {
	margin-block-end: 18px;
	font-size: 14px;
	color: var(--muted);
}

.mg-breadcrumb p,
.mg-breadcrumb ol {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

.mg-breadcrumb li + li::before {
	content: "‹";
	margin-inline-end: 6px;
	opacity: 0.6;
}

.mg-breadcrumb a {
	color: var(--muted);
	text-decoration: none;
}

.mg-breadcrumb a:hover {
	color: var(--brand);
	text-decoration: underline;
}

.mg-pagehead {
	margin-block-end: 28px;
}

.mg-pagehead__title {
	margin: 0 0 8px;
	font-size: 34px;
	font-weight: 800;
	line-height: 1.6;
	color: var(--brand);
}

.mg-pagehead__query {
	color: var(--earth);
}

.mg-pagehead__desc {
	margin: 0 0 16px;
	color: var(--muted);
}

.mg-notfound {
	text-align: center;
	padding-block: 24px 40px;
}

.mg-notfound__code {
	margin: 0;
	font-size: 80px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--earth);
}

.mg-archive-block {
	margin-block-end: 36px;
}

.mg-archive-list {
	list-style: none;
}

.mg-archive-list li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-block: 8px;
	border-block-end: 1px dashed var(--line);
}

.mg-archive-list a {
	color: var(--text);
	text-decoration: none;
	min-width: 0;
}

.mg-archive-list a:hover {
	color: var(--link);
}

.mg-archive-list time {
	flex: none;
	font-size: 13px;
	color: var(--muted);
}

/* ==========================================================================
   ۱۱. نوشته
   ========================================================================== */
.mg-article__head {
	margin-block-end: 20px;
}

.mg-article__title {
	margin: 0 0 14px;
	font-size: 36px;
	font-weight: 800;
	line-height: 1.65;
	color: var(--text);
	text-wrap: balance;
}

.mg-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 18px;
	list-style: none;
	font-size: 14px;
	color: var(--muted);
	line-height: 1.8;
}

.mg-meta li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.mg-meta a {
	color: inherit;
	text-decoration: none;
}

.mg-meta a:hover {
	color: var(--brand);
}

.mg-meta__avatar {
	border-radius: 50%;
}

.mg-meta__author a {
	font-weight: 700;
	color: var(--text);
}

.mg-article__figure {
	margin: 0 0 28px;
}

.mg-article__figure .mg-thumb {
	aspect-ratio: 16 / 9;
	border-start-start-radius: 44px;
	border-end-end-radius: 44px;
	border-start-end-radius: 6px;
	border-end-start-radius: 6px;
}

.mg-article__figure:hover .mg-thumb img {
	transform: none;
}

.mg-prose {
	font-size: 18px;
	line-height: 2.15;
	overflow-wrap: anywhere;
	word-break: normal;
}

.mg-prose > *:first-child {
	margin-block-start: 0;
}

.mg-prose h2 {
	margin-block: 1.8em 0.6em;
	font-size: 26px;
	color: var(--brand);
}

.mg-prose h3 {
	margin-block: 1.6em 0.5em;
	font-size: 21px;
}

.mg-prose h4,
.mg-prose h5,
.mg-prose h6 {
	margin-block: 1.4em 0.4em;
	font-size: 18px;
}

.mg-prose ul,
.mg-prose ol {
	margin: 0 0 1.2em;
	padding-inline-start: 1.6em;
}

.mg-prose li {
	margin-block-end: 0.35em;
}

.mg-prose li::marker {
	color: var(--accent);
}

.mg-prose a {
	font-weight: 600;
}

.mg-prose blockquote {
	margin: 1.6em 0;
	padding: 14px 24px;
	background: var(--tint);
	border-inline-start: 4px solid var(--accent);
	border-start-end-radius: 18px;
	border-end-end-radius: 18px;
	color: var(--text);
	font-weight: 500;
}

.mg-prose blockquote p:last-child {
	margin-block-end: 0;
}

.mg-prose img {
	height: auto;
	border-radius: 10px;
}

.mg-prose figure,
.mg-prose .wp-caption {
	max-width: 100%;
	margin: 1.6em 0;
}

.mg-prose figcaption,
.mg-prose .wp-caption-text {
	margin-block-start: 8px;
	font-size: 14px;
	line-height: 1.8;
	color: var(--muted);
	text-align: center;
}

.mg-prose table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
	margin: 1.6em 0;
	font-size: 16px;
	line-height: 1.8;
}

.mg-prose th,
.mg-prose td {
	padding: 10px 14px;
	border: 1px solid var(--line);
	text-align: start;
}

.mg-prose th {
	background: var(--tint);
	color: var(--brand);
}

.mg-prose pre,
.mg-prose code,
.mg-prose kbd {
	font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	font-size: 15px;
	direction: ltr;
	unicode-bidi: plaintext;
}

.mg-prose code {
	padding: 1px 7px;
	background: var(--surface-2);
	border-radius: 6px;
}

.mg-prose pre {
	max-width: 100%;
	overflow-x: auto;
	margin: 1.6em 0;
	padding: 16px 18px;
	background: #0f1a12;
	color: #e3eede;
	border-radius: 14px;
	line-height: 1.8;
	text-align: left;
}

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

.mg-prose hr {
	margin-block: 2em;
	border: 0;
	height: 1px;
	background: var(--line);
}

.mg-prose iframe,
.mg-prose video {
	display: block;
	max-width: 100%;
}

.mg-prose .alignleft {
	float: left;
	margin: 0.3em 1.4em 1em 0;
}

.mg-prose .alignright {
	float: right;
	margin: 0.3em 0 1em 1.4em;
}

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

.mg-prose::after {
	content: "";
	display: table;
	clear: both;
}

.mg-article__foot {
	display: grid;
	gap: 22px;
	margin-block-start: 32px;
	padding-block-start: 22px;
	border-block-start: 1px solid var(--line);
}

.mg-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
}

.mg-tags a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 14px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--muted);
	font-size: 14px;
	text-decoration: none;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.mg-tags a:hover {
	background: var(--tint);
	color: var(--brand);
	transform: translateY(-2px);
}

.mg-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.mg-share__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	color: var(--muted);
}

.mg-share__list {
	display: flex;
	gap: 8px;
	list-style: none;
}

.mg-share__btn {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--text);
	cursor: pointer;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.mg-share__btn:hover {
	background: var(--brand);
	color: var(--on-brand);
	transform: translateY(-3px);
}

.mg-authorbox {
	display: flex;
	gap: 18px;
	margin-block-start: 32px;
	padding: 20px 24px;
	background: var(--tint);
	border-start-start-radius: 30px;
	border-end-end-radius: 30px;
	border-start-end-radius: 6px;
	border-end-start-radius: 6px;
}

.mg-authorbox img {
	flex: none;
	width: 72px;
	height: 72px;
	border-radius: 50%;
}

.mg-authorbox__title {
	margin: 0 0 4px;
	font-size: 17px;
}

.mg-authorbox p {
	margin: 0;
	font-size: 15px;
	color: var(--muted);
}

.mg-postnav .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-block-start: 32px;
}

.mg-postnav a {
	display: block;
	height: 100%;
	padding: 14px 18px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	color: var(--text);
	text-decoration: none;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.mg-postnav a:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
	border-color: var(--accent);
}

.mg-postnav .nav-next {
	text-align: start;
	grid-column: 2;
}

.mg-postnav .nav-previous {
	grid-column: 1;
}

.mg-postnav__label {
	display: block;
	font-size: 13px;
	color: var(--muted);
	line-height: 1.7;
}

.mg-postnav__title {
	display: block;
	font-weight: 700;
	line-height: 1.8;
}

@media (max-width: 640px) {
	.mg-postnav .nav-links {
		grid-template-columns: minmax(0, 1fr);
	}

	.mg-postnav .nav-next,
	.mg-postnav .nav-previous {
		grid-column: auto;
	}

	.mg-article__title {
		font-size: 26px;
	}

	.mg-prose {
		font-size: 17px;
	}

	.mg-pagehead__title {
		font-size: 26px;
	}
}

.mg-related {
	margin-block-start: 44px;
}

/* افزونه Read Meter: اگر داخل عنوان نشت کرد، پنهان شود */
.mg-article__title .bsf-rt-reading-time,
.article-card__title .bsf-rt-reading-time,
.mg-more__title .bsf-rt-reading-time {
	display: none !important;
}

/* ==========================================================================
   ۱۲. دیدگاه‌ها
   ========================================================================== */
.mg-comments {
	margin-block-start: 44px;
}

.mg-comments__list,
.mg-comments__list .children {
	list-style: none;
}

.mg-comments__list .children {
	margin-block-start: 14px;
	padding-inline-start: 28px;
	border-inline-start: 2px solid var(--tint);
}

.mg-comment {
	margin-block-end: 14px;
}

.mg-comment__body {
	padding: 16px 20px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
}

.mg-comment__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-block-end: 6px;
}

.mg-comment__avatar img {
	border-radius: 50%;
}

.mg-comment__meta {
	display: grid;
	line-height: 1.6;
}

.mg-comment__meta time {
	font-size: 13px;
	color: var(--muted);
}

.mg-comment__wait {
	padding: 8px 14px;
	background: var(--tint);
	border-radius: 10px;
	font-size: 14px;
}

.mg-comment__text p:last-child {
	margin-block-end: 0;
}

.mg-comment__actions {
	margin-block-start: 8px;
	font-size: 14px;
}

.comment-reply-link {
	display: inline-block;
	padding: 0 14px;
	background: var(--tint);
	border-radius: 999px;
	color: var(--brand);
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.comment-reply-link:hover {
	background: var(--accent);
	color: #fff;
	transform: translateY(-2px);
}

.mg-comments .comment-form {
	display: grid;
	gap: 14px;
}

.mg-comments .comment-form p {
	margin: 0;
}

.mg-comments .comment-form label {
	display: block;
	margin-block-end: 4px;
	font-weight: 700;
	font-size: 15px;
}

.mg-comments .comment-form input[type="text"],
.mg-comments .comment-form input[type="email"],
.mg-comments .comment-form input[type="url"],
.mg-comments .comment-form textarea {
	width: 100%;
	padding: 10px 16px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 14px;
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.mg-comments .comment-form input:focus,
.mg-comments .comment-form textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}

.mg-comments .comment-form-cookies-consent {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}

.mg-comments .comment-form-cookies-consent label {
	margin: 0;
	font-weight: 400;
}

.mg-form-note,
.mg-comments__closed {
	font-size: 14px;
	color: var(--muted);
}

/* ==========================================================================
   ۱۳. سایدبار و ابزارک‌ها
   ========================================================================== */
.widget-box {
	margin-block-end: 22px;
	padding: 18px 20px 16px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	font-size: 15px;
	line-height: 1.9;
	overflow-wrap: anywhere;
}

.widget-box__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	padding-block-end: 10px;
	border-block-end: 1px solid var(--line);
	font-size: 17px;
	font-weight: 800;
	color: var(--brand);
	line-height: 1.6;
}

.widget-box__title::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	background: var(--accent);
	-webkit-mask: var(--bud) center / contain no-repeat;
	mask: var(--bud) center / contain no-repeat;
}

.widget-box ul {
	list-style: none;
}

.widget-box li {
	padding-block: 3px;
	border-block-end: 1px dashed var(--line);
}

.widget-box li:last-child {
	border-block-end: 0;
}

.widget-box li a {
	display: inline-block;
	color: var(--text);
	text-decoration: none;
	transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.widget-box li a:hover {
	color: var(--link);
	transform: translateX(-4px);
}

.widget-box .children,
.widget-box .sub-menu {
	margin-inline-start: 14px;
}

.widget-box__more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-block-start: 8px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.widget-box--banner .mg-banner {
	display: block;
}

.mg-banner {
	text-align: center;
}

.mg-banner a {
	display: block;
}

.mg-banner img {
	display: block;
	max-width: 100%;
	height: auto;
	margin-inline: auto;
	border-radius: 10px;
}

/* ابزارک‌های خوراک (Feedzy / RSS) */
.widget-box [class*="feedzy"] ul,
.widget-box .rss-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget-box [class*="feedzy"] li,
.widget-box .rss_item {
	display: flex !important;
	align-items: flex-start;
	gap: 10px;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 4px 0 !important;
	border-block-end: 1px dashed var(--line);
}

.widget-box [class*="feedzy"] li:last-child {
	border-block-end: 0;
}

.widget-box [class*="feedzy"] .rss_image,
.widget-box [class*="feedzy"] .rss_image img,
.widget-box [class*="feedzy"] li > img {
	float: none !important;
	flex: none;
	width: 36px !important;
	height: 36px !important;
	max-width: 36px !important;
	margin: 0 !important;
	border-radius: 8px;
	object-fit: cover;
}

.widget-box [class*="feedzy"] .rss_image {
	overflow: hidden;
}

.widget-box [class*="feedzy"] .rss_content,
.widget-box [class*="feedzy"] .rss-output {
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
}

.widget-box [class*="feedzy"] .title,
.widget-box [class*="feedzy"] .title a,
.widget-box .rsswidget {
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.9 !important;
	color: var(--text) !important;
	text-decoration: none !important;
}

.widget-box a.rsswidget::after {
	content: "";
	display: inline-block;
	width: 13px;
	height: 13px;
	margin-inline-start: 6px;
	vertical-align: -1px;
	background: var(--muted);
	-webkit-mask: var(--ext) center / contain no-repeat;
	mask: var(--ext) center / contain no-repeat;
	transition: background-color 0.2s var(--ease);
}

.widget-box [class*="feedzy"] .title a:hover,
.widget-box a.rsswidget:hover {
	color: var(--link) !important;
}

.widget-box a.rsswidget:hover::after {
	background: var(--link);
}

.widget-box [class*="feedzy"] .rss_summary,
.widget-box [class*="feedzy"] .rss-date,
.widget-box [class*="feedzy"] .meta {
	display: none !important;
}

/* Feedzy «دوستان سایت»: بدون عنوان تکراری، آیکن برگ، بدون تاریخ و فلش */
.widget-box [class*="feedzy"] .rss_description,
.widget-box [class*="feedzy"] .rss_content {
	display: none !important;
}

.widget-box [class*="feedzy"] .title a::after,
.widget-box [class*="feedzy"] .feedzy-rss-link-icon::after,
.widget-box [class*="feedzy"] a::after {
	content: none !important;
	display: none !important;
}

.widget-box [class*="feedzy"] li.rss_item {
	align-items: center;
}

.widget-box [class*="feedzy"] .rss_image {
	width: 28px !important;
	height: 28px !important;
	max-width: 28px !important;
	background: var(--accent);
	border-radius: 0;
	-webkit-mask: var(--bud) center / contain no-repeat;
	mask: var(--bud) center / contain no-repeat;
}

.widget-box [class*="feedzy"] .rss_image a {
	display: block;
	width: 100% !important;
	height: 100% !important;
}

.widget-box [class*="feedzy"] .rss_image img {
	display: none !important;
}

/* ابر برچسب */
.widget-box .tagcloud {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.widget-box .tagcloud a {
	display: inline-block;
	padding: 0 12px;
	background: var(--tint);
	border-start-start-radius: 12px;
	border-end-end-radius: 12px;
	border-start-end-radius: 3px;
	border-end-start-radius: 3px;
	color: var(--brand);
	font-size: 13px !important;
	line-height: 2;
	text-decoration: none;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.widget-box .tagcloud a:hover {
	background: var(--brand);
	color: var(--on-brand);
	transform: translateY(-2px);
}

.widget-box select {
	width: 100%;
	padding: 8px 12px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 12px;
}

.widget-box .mg-searchform {
	max-width: none;
}

.widget-box .textwidget p:last-child {
	margin-block-end: 0;
}

/* ==========================================================================
   ۱۴. ممکن است بپسندید
   ========================================================================== */
.mg-more {
	padding-block: 36px 12px;
}

.mg-more__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px;
	list-style: none;
}

.mg-more__link {
	display: block;
	color: var(--text);
	text-decoration: none;
}

.mg-more__link:hover {
	color: var(--link);
}

.mg-more__link:hover .mg-thumb img {
	transform: scale(1.07);
}

.mg-more__thumb {
	margin-block-end: 8px;
	aspect-ratio: 4 / 3;
}

.mg-more__title {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.8;
}

@media (max-width: 1000px) {
	.mg-more__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.mg-more__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ==========================================================================
   ۱۵. فوتر
   ========================================================================== */
.mg-footer {
	margin-block-start: 36px;
	background: #0c3510;
	color: #d7e5cd;
	font-size: 15px;
	line-height: 2;
}

:root[data-theme="dark"] .mg-footer {
	background: #0a110c;
	border-block-start: 1px solid var(--line);
}

.mg-footer a {
	color: #e6f2dc;
	text-decoration: none;
}

.mg-footer a:hover {
	color: #b6e79a;
	text-decoration: underline;
}

.mg-footer__cols {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: 40px;
	padding-block: 44px 28px;
}

.mg-footer__brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-block-end: 10px;
	font-size: 26px;
	font-weight: 800;
	color: #fff !important;
	text-decoration: none !important;
}

.mg-footer__about p {
	max-width: 520px;
	margin: 0;
	color: #c3d6b7;
}

.mg-footer__title {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 800;
	color: #fff;
}

.mg-footer__latest ul {
	list-style: none;
}

.mg-footer__latest li {
	padding-block: 2px;
	border-block-end: 1px dashed rgba(255, 255, 255, 0.14);
}

.mg-footer__latest li:last-child {
	border-block-end: 0;
}

.mg-footer__banner {
	display: flex;
	justify-content: center;
	padding-block: 0 28px;
}

.mg-footer__banner .mg-banner img {
	border-radius: 12px;
}

@media (max-width: 799px) {
	.mg-footer__banner {
		display: none;
	}
}

.mg-footer__bar {
	border-block-start: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(0, 0, 0, 0.18);
}

.mg-footer__bar-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 24px;
	padding-block: 14px;
	font-size: 14px;
}

.mg-footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	list-style: none;
}

.mg-footer__copy {
	margin: 0;
	color: #b5c9a9;
}

@media (max-width: 760px) {
	.mg-footer__cols {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
}

/* بازگشت به بالا و پیام کوتاه */
.mg-totop {
	position: fixed;
	inset-block-end: 22px;
	inset-inline-end: 22px;
	z-index: 80;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	background: var(--brand);
	color: var(--on-brand);
	border: 0;
	border-radius: 50%;
	box-shadow: var(--shadow);
	cursor: pointer;
	transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.mg-totop[hidden] {
	display: none;
}

.mg-totop:hover {
	transform: translateY(-4px);
}

.mg-toast {
	position: fixed;
	inset-block-end: 28px;
	inset-inline: 0;
	z-index: 120;
	width: fit-content;
	max-width: calc(100% - 40px);
	margin-inline: auto;
	padding: 8px 22px;
	background: var(--brand);
	color: var(--on-brand);
	font-size: 15px;
	font-weight: 600;
	border-radius: 999px;
	box-shadow: var(--shadow);
}

.mg-toast[hidden] {
	display: none;
}

/* ==========================================================================
   ۱۶. موبایل و تبلت (هدر)
   ========================================================================== */
@media (max-width: 900px) {
	:root {
		--nav-h: 64px;
	}

	.mg-topbar__tagline {
		display: none;
	}

	.mg-topbar__row {
		justify-content: space-between;
	}

	.mg-menu-toggle {
		display: inline-grid;
	}

	.mg-navbar__row {
		gap: 12px;
	}

	.mg-nav {
		position: absolute;
		inset-inline: 0;
		inset-block-start: 100%;
		display: none;
		max-height: calc(100vh - var(--nav-h) - 40px);
		overflow-y: auto;
		padding: 10px 20px 18px;
		background: var(--surface);
		border-block-end: 1px solid var(--line);
		box-shadow: var(--shadow);
	}

	.mg-nav.is-open {
		display: block;
	}

	.mg-menu {
		flex-direction: column;
		gap: 0;
	}

	.mg-menu a {
		padding: 8px 12px;
		border-radius: 12px;
	}

	.mg-menu .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 14px 0 0;
		background: none;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.mg-menu-toggle[aria-expanded="true"] .mg-menu-toggle__open {
		display: none;
	}

	.mg-menu-toggle[aria-expanded="true"] .mg-menu-toggle__close {
		display: inline-flex;
	}

	.mg-brand__name {
		font-size: 24px;
	}

	.mg-wrap {
		padding-inline: 16px;
	}

	.mg-layout {
		padding-block: 24px 16px;
	}
}

/* ==========================================================================
   ۱۷. حرکت کم و چاپ
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.article-card:hover,
	.hero-card:hover,
	.mg-btn:hover {
		transform: none;
	}
}

@media print {
	.mg-topbar,
	.mg-navbar,
	.mg-side,
	.mg-footer,
	.mg-more,
	.mg-share,
	.mg-comments,
	.mg-related,
	.mg-postnav,
	.mg-totop,
	.mg-toast,
	.mg-breadcrumb {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
		font-size: 12pt;
	}

	.mg-layout {
		display: block;
		padding: 0;
	}

	.mg-prose a::after {
		content: " (" attr(href) ")";
		font-size: 0.8em;
		word-break: break-all;
	}
}
