/* Madani Theme — Madinah-inspired (green dome, gold, cream), Google Sans. */
:root {
	--mt-bg: #FAF7F0;
	--mt-bg-alt: #F2EDE1;
	--mt-surface: #FFFFFF;
	--mt-ink: #1C2B26;
	--mt-ink-soft: #4E5E57;
	--mt-muted: #7A8781;
	--mt-green-950: #042A20;
	--mt-green-900: #063D2F;
	--mt-green-800: #034E3A;
	--mt-green-700: #0B5D40;
	--mt-green-600: #178E66;
	--mt-dome: #2E9A63;
	--mt-green-50: #E7F3EC;
	--mt-gold: #C9A24A;
	--mt-gold-600: #B08A34;
	--mt-gold-100: #F5EAD0;
	--mt-line: rgba(6, 61, 47, .12);
	--mt-shadow: 0 1px 2px rgba(6, 61, 47, .06), 0 8px 24px rgba(6, 61, 47, .08);
	--mt-shadow-lg: 0 24px 60px rgba(6, 61, 47, .16);
	--mt-radius: 20px;
	--mt-font: 'Google Sans', 'Noto Sans Bengali', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mt-font-ar: 'Noto Naskh Arabic', 'Google Sans', serif;
	--mt-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 8l5.9 8.1 9.9-2-2 9.9L48 28l-6.2 4 2 9.9-9.9-2L28 48l-5.9-8.1-9.9 2 2-9.9L8 28l6.2-4-2-9.9 9.9 2z' fill='none' stroke='%23C9A24A' stroke-opacity='.22' stroke-width='1'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
	margin: 0;
	background: var(--mt-bg);
	color: var(--mt-ink);
	font-family: var(--mt-font);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
:where(img, video) { max-width: 100%; height: auto; }
:where(a) { color: var(--mt-green-700); }
:where(h1, h2, h3, h4, h5, h6) { font-family: var(--mt-font); line-height: 1.3; color: var(--mt-green-900); }
:focus-visible { outline: 3px solid var(--mt-gold); outline-offset: 2px; }
::selection { background: var(--mt-gold-100); color: var(--mt-green-950); }
[lang="ar"], [lang="ur"], .mt-arabic { font-family: var(--mt-font-ar); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mt-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 18px; border-radius: 999px; background: var(--mt-green-800); color: #fff; text-decoration: none; }
.mt-skip:focus { top: 12px; }
.mt-site { min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }
.mt-content { flex: 1; }
.mt-container { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.mt-section { padding-top: 48px; padding-bottom: 88px; }
.mt-muted { color: var(--mt-muted); }
.mt-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--mt-muted); display: inline-block; }

/* ---------- buttons ---------- */
.mt-btn, .wp-block-button__link, :where(input[type=submit], .comment-form button[type=submit]) {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 22px; border-radius: 999px; border: 1.5px solid transparent;
	font: 600 16px/1.2 var(--mt-font); cursor: pointer; white-space: nowrap; text-decoration: none;
	background: linear-gradient(135deg, var(--mt-green-600), var(--mt-green-800)); color: #fff;
	box-shadow: 0 6px 18px rgba(3, 78, 58, .22);
	transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}
.mt-btn:hover, .wp-block-button__link:hover, :where(input[type=submit]):hover { transform: translateY(-1px); color: #fff; }
.mt-btn--sm { padding: 8px 16px; font-size: 14.5px; }
.mt-btn--primary { color: #fff !important; }
.mt-btn--outline, .is-style-outline .wp-block-button__link { background: #fff; color: var(--mt-green-800) !important; border-color: rgba(3, 78, 58, .25); box-shadow: none; }
.mt-btn--ghost { background: transparent; color: var(--mt-green-800) !important; box-shadow: none; }
.mt-btn--ghost:hover { background: rgba(23, 142, 102, .08); }
.mt-btn--gold { background: linear-gradient(135deg, #E2C278, var(--mt-gold-600)); color: var(--mt-green-950) !important; }

/* ---------- header ---------- */
.mt-header { position: sticky; top: 0; z-index: 50; padding: 14px 16px 0; }
.admin-bar .mt-header { top: 32px; }
.mt-header__inner {
	max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 20px;
	padding: 10px 12px 10px 16px; border-radius: 999px;
	background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
	border: 1px solid var(--mt-line); box-shadow: var(--mt-shadow);
}
.mt-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.mt-logo { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; }
.mt-logo-full { display: block; height: 64px; width: auto; max-width: none; }
.mt-header__inner { padding-top: 4px; padding-bottom: 4px; }
.mt-brand--footer .mt-logo-full { height: 96px; }
.mt-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.mt-brand__name { font-weight: 700; font-size: 18px; color: var(--mt-green-900); }
.mt-brand__sub { font-size: 12px; color: var(--mt-gold-600); font-weight: 500; }
.mt-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.mt-menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mt-menu li { position: relative; }
.mt-menu a, .mt-nav__logout { display: block; padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 16px; color: var(--mt-ink-soft); text-decoration: none; transition: background .2s, color .2s; }
.mt-menu a:hover, .mt-nav__logout:hover { background: rgba(23, 142, 102, .08); color: var(--mt-green-800); }
.mt-menu .current-menu-item > a, .mt-menu .current_page_item > a, .mt-menu .current-menu-ancestor > a { background: var(--mt-green-50); color: var(--mt-green-800); font-weight: 700; }
.mt-nav__logout { color: var(--mt-muted); }
.mt-menu .sub-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px; border-radius: 16px; background: #fff; border: 1px solid var(--mt-line); box-shadow: var(--mt-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(4px); transition: all .18s; }
.mt-menu li:hover > .sub-menu, .mt-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.mt-menu .sub-menu a { border-radius: 10px; }
.mt-header__actions { display: flex; align-items: center; gap: 8px; }
.mt-goalpill { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--mt-gold-100); color: var(--mt-green-900); font-size: 14px; white-space: nowrap; text-decoration: none; }
.mt-goalpill__ring { --p: 0; width: 28px; height: 28px; border-radius: 50%; background: conic-gradient(var(--mt-green-600) calc(var(--p) * 1%), rgba(6, 61, 47, .12) 0); position: relative; }
.mt-goalpill__ring::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--mt-gold-100); }
.mt-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--mt-green-600), var(--mt-green-800)); color: #fff; font-weight: 700; flex-shrink: 0; }
.mt-burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(23, 142, 102, .1); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; box-shadow: none; }
.mt-burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--mt-green-900); }

/* ---------- title band ---------- */
.mt-hero { position: relative; padding: 64px 0 56px; text-align: center; border-bottom: 1px solid var(--mt-line); background: linear-gradient(to bottom, transparent, var(--mt-bg-alt)); }
.mt-hero::before { content: ''; position: absolute; inset: 0; background: var(--mt-pattern); opacity: .75; mask-image: linear-gradient(to bottom, #000, transparent 90%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%); pointer-events: none; }
.mt-hero__inner { position: relative; max-width: 860px; }
.mt-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--mt-line); color: var(--mt-gold-600); font-weight: 600; font-size: 14px; box-shadow: var(--mt-shadow); }
.mt-hero__title { margin: 16px 0 0; font-size: clamp(30px, 4.4vw, 50px); font-weight: 700; }
.mt-hero__desc { margin-top: 12px; color: var(--mt-ink-soft); font-size: 18px; }
.mt-hero__desc p { margin: 0; }

/* ---------- post cards ---------- */
.mt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.mt-card { display: flex; flex-direction: column; border-radius: var(--mt-radius); background: #fff; border: 1px solid var(--mt-line); box-shadow: var(--mt-shadow); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.mt-card:hover { transform: translateY(-4px); box-shadow: var(--mt-shadow-lg); }
.mt-card__media { display: block; aspect-ratio: 16/9; background: var(--mt-bg-alt); overflow: hidden; }
.mt-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.mt-card:hover .mt-card__media img { transform: scale(1.04); }
.mt-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: var(--mt-pattern), linear-gradient(135deg, var(--mt-green-800), var(--mt-green-950)); }
.mt-card__placeholder .mt-logo { width: 72px; height: 72px; }
.mt-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.mt-card__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: var(--mt-muted); }
.mt-card__title { margin: 10px 0 0; font-size: 20px; font-weight: 700; line-height: 1.4; }
.mt-card__title a { color: var(--mt-green-900); text-decoration: none; }
.mt-card__title a:hover { color: var(--mt-green-600); }
.mt-card__excerpt { margin: 8px 0 0; color: var(--mt-ink-soft); font-size: 15.5px; flex: 1; }
.mt-card__more { margin-top: 16px; font-weight: 600; text-decoration: none; }
.mt-chip { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--mt-green-800); color: #fff !important; font-size: 13px; font-weight: 600; text-decoration: none; line-height: 1.6; }
.mt-chip--soft { background: var(--mt-gold-100); color: var(--mt-gold-600) !important; }

/* pagination */
.mt-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.mt-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 999px; background: #fff; border: 1px solid var(--mt-line); color: var(--mt-ink); text-decoration: none; font-weight: 600; }
.mt-pagination .page-numbers.current { background: var(--mt-green-800); border-color: var(--mt-green-800); color: #fff; }
.mt-pagination a.page-numbers:hover { border-color: var(--mt-green-600); }

/* ---------- article ---------- */
.mt-hero--article { text-align: left; padding-bottom: 40px; }
.mt-hero--article .mt-hero__inner { max-width: 860px; }
.mt-hero--article.has-sidebar .mt-hero__inner { max-width: 1240px; }
.mt-article__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; color: var(--mt-ink-soft); font-size: 15px; }
.mt-article__author { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--mt-ink); }
.mt-article__avatar { width: 34px; height: 34px; border-radius: 50%; }
.mt-article__wrap { max-width: 860px; padding-top: 40px; padding-bottom: 88px; }
.mt-article__wrap.has-sidebar { max-width: 1240px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.mt-article__cover { margin: 0 0 36px; border-radius: var(--mt-radius); overflow: hidden; box-shadow: var(--mt-shadow-lg); }
.mt-article__cover img { width: 100%; display: block; }
.mt-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.mt-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.mt-postnav__item { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--mt-line); text-decoration: none; transition: border-color .2s; }
.mt-postnav__item:hover { border-color: var(--mt-green-600); }
.mt-postnav__item small { color: var(--mt-gold-600); font-weight: 600; }
.mt-postnav__item strong { color: var(--mt-green-900); line-height: 1.45; }
.mt-postnav__item--next { text-align: right; grid-column: 2; }
.mt-sidebar { position: sticky; top: 110px; display: grid; gap: 20px; }
.mt-page { max-width: 860px; margin: 0 auto; }

/* ---------- prose (post & page content) ---------- */
.mt-prose { font-size: 18px; line-height: 1.85; color: var(--mt-ink); }
.mt-prose > * { margin-top: 0; margin-bottom: 1.25em; }
.mt-prose h2 { font-size: 30px; margin-top: 1.8em; margin-bottom: .6em; }
.mt-prose h3 { font-size: 23px; margin-top: 1.6em; margin-bottom: .5em; }
.mt-prose h4 { font-size: 19px; margin-top: 1.4em; }
.mt-prose a { color: var(--mt-green-700); text-decoration-color: var(--mt-gold); text-underline-offset: 3px; }
.mt-prose ul, .mt-prose ol { padding-left: 1.4em; }
.mt-prose li { margin-bottom: .4em; }
.mt-prose li::marker { color: var(--mt-gold-600); }
.mt-prose blockquote, .wp-block-quote { margin-left: 0; margin-right: 0; padding: 20px 26px; border-left: 4px solid var(--mt-gold); border-radius: 0 16px 16px 0; background: #fff; box-shadow: var(--mt-shadow); font-size: 1.05em; }
.mt-prose blockquote p:last-child { margin-bottom: 0; }
.mt-prose blockquote cite, .wp-block-quote cite { display: block; margin-top: 8px; font-size: 15px; color: var(--mt-muted); font-style: normal; }
.wp-block-pullquote { border-top: 3px solid var(--mt-gold); border-bottom: 3px solid var(--mt-gold); color: var(--mt-green-900); }
.mt-prose img { border-radius: 14px; }
.mt-prose figure { margin-left: 0; margin-right: 0; }
.mt-prose figcaption, .wp-element-caption { font-size: 14px; color: var(--mt-muted); text-align: center; margin-top: 8px; }
.mt-prose hr, .wp-block-separator { border: 0; height: 1px; background: var(--mt-line); margin: 2.4em auto; }
.mt-prose table { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; border-radius: 12px; overflow: hidden; }
.mt-prose th, .mt-prose td { padding: 10px 14px; border-bottom: 1px solid var(--mt-line); text-align: left; }
.mt-prose th { background: var(--mt-green-50); color: var(--mt-green-900); }
.mt-prose code { padding: 2px 6px; border-radius: 6px; background: var(--mt-bg-alt); font-size: .9em; }
.mt-prose pre { padding: 18px; border-radius: 14px; background: var(--mt-green-950); color: #E7F3EC; overflow-x: auto; font-size: 15px; }
.mt-prose pre code { background: none; padding: 0; }
.mt-prose [lang="ar"], .mt-prose .has-arabic { font-size: 1.35em; line-height: 2; color: var(--mt-green-800); }
.mt-prose .alignwide { width: min(1100px, 100vw - 40px); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.mt-prose .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); border-radius: 0; }
.mt-prose .aligncenter { margin-left: auto; margin-right: auto; }
.mt-prose .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.mt-prose .alignright { float: right; margin: .3em 0 1em 1.5em; }
.mt-prose::after { content: ''; display: table; clear: both; }
.mt-prose--canvas > .alignfull { transform: none; margin-left: 0; width: 100%; }
.mt-pagelinks { margin-top: 2em; font-weight: 600; }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }

/* ---------- comments & forms ---------- */
.mt-comments { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--mt-line); }
.mt-comments__title { font-size: 24px; margin: 0 0 20px; }
.mt-comments__list, .mt-comments__list .children { list-style: none; margin: 0; padding: 0; }
.mt-comments__list .children { margin-left: 28px; }
.mt-comments__list .comment-body { padding: 18px 20px; margin-bottom: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--mt-line); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.comment-author .avatar { border-radius: 50%; width: 40px; height: 40px; }
.comment-author .says { display: none; }
.comment-metadata { font-size: 13px; }
.comment-metadata a { color: var(--mt-muted); text-decoration: none; }
.comment-content { margin-top: 8px; }
.reply a { font-size: 14px; font-weight: 600; text-decoration: none; }
.comment-respond { margin-top: 28px; padding: 26px; border-radius: var(--mt-radius); background: #fff; border: 1px solid var(--mt-line); box-shadow: var(--mt-shadow); }
.comment-reply-title { margin: 0 0 8px; font-size: 22px; }
.comment-form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.comment-form-cookies-consent label { display: inline; font-weight: 400; }
:where(input[type=text], input[type=email], input[type=url], input[type=password], input[type=search], input[type=number], textarea, select) {
	width: 100%; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--mt-line); background: var(--mt-bg);
	font: 16px/1.5 var(--mt-font); color: var(--mt-ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
:where(input, textarea, select):focus { outline: none; border-color: var(--mt-green-600); background: #fff; box-shadow: 0 0 0 4px rgba(23, 142, 102, .12); }
.mt-search { display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--mt-line); max-width: 560px; }
.mt-search:focus-within { border-color: var(--mt-green-600); box-shadow: 0 0 0 4px rgba(23, 142, 102, .12); }
.mt-search svg { width: 18px; color: var(--mt-muted); flex-shrink: 0; }
.mt-search input[type=search] { border: 0; background: transparent; padding: 8px 4px; box-shadow: none; }
.mt-searchbar { margin: 0 auto 36px; max-width: 560px; }
.mt-empty { text-align: center; padding: 40px 0; }
.mt-empty .mt-logo { width: 72px; height: 72px; }
.mt-empty .mt-search { margin: 20px auto 0; }

/* ---------- widgets ---------- */
.mt-widget { padding: 22px; border-radius: var(--mt-radius); background: #fff; border: 1px solid var(--mt-line); box-shadow: var(--mt-shadow); }
.mt-widget__title { margin: 0 0 12px; font-size: 18px; }
.mt-widget ul { list-style: none; margin: 0; padding: 0; }
.mt-widget li { padding: 6px 0; border-bottom: 1px dashed var(--mt-line); }
.mt-widget li:last-child { border-bottom: 0; }
.mt-widget a { text-decoration: none; }
.mt-widget h2, .mt-widget .wp-block-heading { margin: 0 0 12px; font-size: 18px; }
.mt-widget .wp-block-latest-posts, .mt-widget .wp-block-latest-comments, .mt-widget .wp-block-archives, .mt-widget .wp-block-categories { padding: 0; }
.mt-widget .wp-block-latest-comments__comment { font-size: 15px; line-height: 1.5; margin-bottom: 10px; }
.wp-block-search__label { display: block; font-weight: 700; color: var(--mt-green-900); margin-bottom: 8px; }
.wp-block-search__inside-wrapper { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--mt-bg); border: 1.5px solid var(--mt-line); }
.wp-block-search__inside-wrapper:focus-within { border-color: var(--mt-green-600); }
.wp-block-search .wp-block-search__input { border: 0; background: transparent; padding: 6px 10px; box-shadow: none; min-width: 0; }
.wp-block-search .wp-block-search__button { margin: 0; padding: 8px 16px; border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--mt-green-600), var(--mt-green-800)); color: #fff; font: 600 14.5px/1.2 var(--mt-font); cursor: pointer; }

/* ---------- 404 ---------- */
.mt-404 { position: relative; padding: 90px 0 110px; text-align: center; }
.mt-404::before { content: ''; position: absolute; inset: 0; background: var(--mt-pattern); opacity: .7; mask-image: radial-gradient(circle at 50% 30%, #000, transparent 70%); -webkit-mask-image: radial-gradient(circle at 50% 30%, #000, transparent 70%); }
.mt-404__inner { position: relative; max-width: 640px; }
.mt-404__code { display: block; font-size: clamp(90px, 16vw, 160px); font-weight: 700; line-height: 1; background: linear-gradient(135deg, var(--mt-green-600), var(--mt-green-900)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mt-404 h1 { font-size: clamp(26px, 3.4vw, 36px); margin: 12px 0 8px; }
.mt-404 p { color: var(--mt-ink-soft); }
.mt-404__search .mt-search { margin: 26px auto 0; }
.mt-404__actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- footer ---------- */
.mt-footer { position: relative; background: var(--mt-green-950); color: rgba(255, 255, 255, .72); font-size: 15px; overflow: hidden; }
.mt-footer::before { content: ''; position: absolute; inset: 0; background: var(--mt-pattern); opacity: .35; pointer-events: none; }
.mt-footer__grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.mt-footer__brand p { margin: 16px 0 0; max-width: 420px; }
.mt-brand--light .mt-brand__name { color: #fff; }
.mt-footer .mt-widget, .mt-footer .mt-footer__col { background: none; border: 0; box-shadow: none; padding: 0; }
.mt-footer .mt-widget__title { color: #E9CF8E; font-size: 16px; }
.mt-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.mt-footer a:hover { color: #fff; }
.mt-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mt-footer .mt-widget li { border-color: rgba(255, 255, 255, .1); }
.mt-footer__bottom { position: relative; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: rgba(255, 255, 255, .5); }
.mt-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; }
.mt-footer__bottom p { margin: 0; }
.mt-footer__credit { color: rgba(233, 207, 142, .8); }

/* ---------- block editor palette helpers ---------- */
.has-green-color { color: var(--mt-green-800); }
.has-green-background-color { background-color: var(--mt-green-800); }
.has-gold-color { color: var(--mt-gold-600); }
.has-gold-background-color { background-color: var(--mt-gold); }
.has-cream-background-color { background-color: var(--mt-bg-alt); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
	.mt-article__wrap.has-sidebar { grid-template-columns: 1fr; }
	.mt-sidebar { position: static; }
	.mt-footer__grid { grid-template-columns: 1fr 1fr; }
	.mt-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
	.mt-burger { display: flex; }
	.mt-nav { position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border-radius: 22px; background: #fff; border: 1px solid var(--mt-line); box-shadow: var(--mt-shadow-lg); display: none; }
	.mt-nav.is-open { display: flex; }
	.mt-menu { flex-direction: column; }
	.mt-menu a, .mt-nav__logout { padding: 12px 16px; }
	.mt-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; }
	.mt-header__actions { margin-left: auto; }
}
@media (max-width: 782px) {
	.admin-bar .mt-header { top: 46px; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.mt-container { padding-left: 16px; padding-right: 16px; }
	.mt-header { padding: 10px 10px 0; }
	.mt-header__inner { gap: 10px; padding: 8px 8px 8px 12px; }
	.mt-brand__sub, .mt-hide-sm, .mt-avatar { display: none; }
	.mt-brand__name { font-size: 16px; }
	.mt-logo { width: 36px; height: 36px; }
	.mt-logo-full { height: 48px; }
	.mt-brand--footer .mt-logo-full { height: 84px; }
	.mt-goalpill__text { font-size: 12.5px; }
	.mt-hero { padding: 44px 0 36px; }
	.mt-cards { grid-template-columns: 1fr; }
	.mt-prose { font-size: 17px; }
	.mt-prose h2 { font-size: 25px; }
	.mt-postnav { grid-template-columns: 1fr; }
	.mt-postnav__item--next { grid-column: auto; }
	.mt-footer__grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
