/*
Theme Name: Muslim Today
Description: हिंदी न्यूज़ और इस्लामी इल्म पोर्टल — Muslim Today (muslim-today.live) के लिए।
Version: 1.0.0
Text Domain: muslim-today
*/

:root {
	--green-900: #072A20;
	--green-800: #0B3D2E;
	--green-700: #0F5240;
	--green-600: #157057;
	--green-100: #E3EFE9;
	--gold: #C9A646;
	--gold-soft: #F4E7C3;
	--cream: #FBF8F1;
	--paper: #FFFFFF;
	--ink: #1A1A17;
	--ink-2: #4A4A44;
	--ink-3: #7A786F;
	--line: #E6E0D2;
	--red: #B8322A;
	--radius: 10px;
	--shadow: 0 1px 2px rgba(7, 42, 32, .06), 0 6px 20px rgba(7, 42, 32, .06);
	--font: "Mukta", "Noto Sans Devanagari", system-ui, sans-serif;
	--font-head: "Tiro Devanagari Hindi", "Mukta", serif;
	--font-ar: "Amiri", "Noto Naskh Arabic", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-600); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.3; margin: 0; color: var(--ink); }
button, input, textarea { font: inherit; }
.mt-icon { flex: none; vertical-align: middle; }
.screen-reader-text, .mt-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.mt-skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.mt-wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .mt-wrap { padding: 0 24px; } }

/* ---------- Top bar & header ---------- */
.mt-topbar { background: var(--green-900); color: #CFE0D8; font-size: 13.5px; }
.mt-topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; flex-wrap: wrap; }
.mt-dates { display: flex; gap: 8px; flex-wrap: wrap; }
.mt-dot { opacity: .5; }
.mt-topbar-links { display: flex; gap: 18px; }
.mt-topbar-links a { color: #CFE0D8; }
.mt-topbar-links a:hover { color: var(--gold); }
@media (max-width: 640px) { .mt-topbar-links { display: none; } }

.mt-header {
	background-color: var(--green-800);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23C9A646' stroke-opacity='.13' stroke-width='1'%3E%3Cpath d='M28 4l7 17 17 7-17 7-7 17-7-17-17-7 17-7z'/%3E%3Crect x='16' y='16' width='24' height='24' transform='rotate(45 28 28)'/%3E%3C/g%3E%3C/svg%3E");
	color: #fff;
}
.mt-header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.mt-brand { display: flex; align-items: center; gap: 14px; color: #fff; min-width: 0; }
.mt-brand:hover { color: #fff; }
.mt-logo, .mt-logo-img { width: 60px; height: 60px; flex: none; border-radius: 50%; }
.mt-brand-text { display: flex; flex-direction: column; min-width: 0; }
.mt-brand-name { font-family: var(--font-head); font-size: 34px; line-height: 1.1; color: #fff; }
.mt-brand-sub { font-size: 12px; letter-spacing: .14em; color: var(--gold); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-brand-sub em { font-style: normal; opacity: .6; }
.mt-header-tools { display: flex; align-items: center; gap: 10px; }
.mt-search { display: flex; align-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; overflow: hidden; }
.mt-search input { background: none; border: 0; color: #fff; padding: 8px 4px 8px 16px; width: 200px; outline: none; }
.mt-search input::placeholder { color: rgba(255,255,255,.6); }
.mt-search button { background: none; border: 0; color: var(--gold); padding: 8px 14px 8px 8px; cursor: pointer; display: flex; }
.mt-burger { display: none; background: none; border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 8px; padding: 6px; cursor: pointer; }
.mt-burger-close { display: none; }
.mt-nav-open .mt-burger-open { display: none; }
.mt-nav-open .mt-burger-close { display: inline; }
@media (max-width: 900px) {
	.mt-burger { display: flex; }
	.mt-search { display: none; }
	.mt-brand-name { font-size: 26px; }
	.mt-logo, .mt-logo-img { width: 48px; height: 48px; }
}

/* ---------- Navigation ---------- */
.mt-nav { background: var(--paper); border-bottom: 3px solid var(--gold); position: sticky; top: 0; z-index: 50; box-shadow: 0 4px 14px rgba(7,42,32,.06); }
.mt-menu, .mt-menu ul { list-style: none; margin: 0; padding: 0; }
.mt-menu { display: flex; flex-wrap: wrap; }
.mt-menu > li { position: relative; }
.mt-menu > li > a { display: block; padding: 13px 15px; font-weight: 600; font-size: 16px; color: var(--ink); white-space: nowrap; }
.mt-menu > li > a:hover, .mt-menu > li.current-menu-item > a, .mt-menu > li.current-menu-ancestor > a { color: var(--green-700); box-shadow: inset 0 -3px 0 var(--green-700); }
.mt-menu > li.menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: 0 0 4px 8px; opacity: .55; }
.mt-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 230px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--green-700); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); padding: 6px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease; z-index: 60; }
.mt-menu li:hover > .sub-menu, .mt-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.mt-menu .sub-menu a { display: block; padding: 8px 18px; color: var(--ink-2); font-size: 15.5px; }
.mt-menu .sub-menu a:hover { background: var(--green-100); color: var(--green-800); }
.mt-menu .sub-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 4px 14px; min-width: 0; border-radius: 0; }
.mt-menu .sub-menu .sub-menu a { font-size: 14.5px; padding: 5px 18px; color: var(--ink-3); }
.mt-menu > li:last-child .sub-menu, .mt-menu > li:nth-last-child(2) .sub-menu { left: auto; right: 0; }
.mt-sub-toggle { display: none; }

@media (max-width: 900px) {
	.mt-nav { position: static; display: none; border-bottom-width: 2px; }
	.mt-nav.is-open { display: block; }
	.mt-menu { flex-direction: column; padding: 6px 0 12px; }
	.mt-menu li { position: relative; border-bottom: 1px solid var(--line); }
	.mt-menu > li > a { padding: 12px 48px 12px 4px; }
	.mt-menu > li > a:hover { box-shadow: none; }
	.mt-menu > li.menu-item-has-children > a::after { display: none; }
	.mt-menu .sub-menu, .mt-menu .sub-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 6px 14px; display: none; min-width: 0; }
	.mt-menu li.is-open > .sub-menu { display: block; }
	.mt-menu .sub-menu li { border: 0; }
	.mt-sub-toggle { display: block; position: absolute; right: 0; top: 4px; width: 42px; height: 40px; background: none; border: 0; cursor: pointer; }
	.mt-sub-toggle::before { content: ""; position: absolute; left: 16px; top: 14px; width: 8px; height: 8px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: .15s; }
	li.is-open > .mt-sub-toggle::before { transform: rotate(225deg); top: 18px; }
	.mt-menu .sub-menu .mt-sub-toggle { top: 0; height: 36px; }
}

/* ---------- Ticker ---------- */
.mt-ticker { background: var(--paper); border-bottom: 1px solid var(--line); }
.mt-ticker-in { display: flex; align-items: center; gap: 14px; height: 42px; }
.mt-ticker-label { background: var(--red); color: #fff; font-weight: 700; font-size: 14px; padding: 3px 12px; border-radius: 4px; flex: none; }
.mt-ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.mt-ticker-move { display: inline-flex; gap: 40px; white-space: nowrap; animation: mt-tick 50s linear infinite; }
.mt-ticker-move a { color: var(--ink); font-size: 15.5px; }
.mt-ticker-move a::before { content: "◆"; color: var(--gold); font-size: 9px; margin-right: 10px; vertical-align: 2px; }
.mt-ticker:hover .mt-ticker-move { animation-play-state: paused; }
@keyframes mt-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mt-ticker-move { animation: none; } }

/* ---------- Shared bits ---------- */
.mt-main { min-height: 50vh; }
.mt-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--green-700); color: #fff; border: 0; border-radius: 999px; padding: 10px 22px; font-weight: 600; cursor: pointer; transition: background .15s; }
.mt-btn:hover { background: var(--green-800); color: #fff; }
.mt-btn-light { background: var(--gold); color: var(--green-900); }
.mt-btn-light:hover { background: var(--gold-soft); color: var(--green-900); }
.mt-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.mt-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--gold); text-transform: uppercase; margin-bottom: 6px; }
.mt-arabic { font-family: var(--font-ar); direction: rtl; }
.mt-empty { color: var(--ink-3); font-size: 15px; background: repeating-linear-gradient(-45deg, transparent 0 8px, rgba(201,166,70,.06) 8px 16px); border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px; margin: 0; }
.mt-kicker { display: inline-block; font-size: 13px; font-weight: 700; color: var(--green-600); margin-bottom: 4px; }
.mt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mt-chips a { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 14.5px; color: var(--ink-2); }
.mt-chips a:hover { border-color: var(--green-600); color: var(--green-700); }

.mt-sec { padding-top: 40px; padding-bottom: 40px; }
.mt-sec-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 22px; padding-bottom: 10px; }
.mt-sec-head h2 { display: flex; align-items: center; gap: 10px; font-size: 28px; }
.mt-sec-head h2 .mt-icon { color: var(--gold); }
.mt-sec-head > a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.mt-col-h { font-family: var(--font); font-weight: 700; font-size: 19px; padding-bottom: 8px; margin-bottom: 14px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.mt-col-h a { color: var(--ink); }
.mt-col-h .mt-icon { color: var(--gold); }
.mt-col-desc { font-size: 15px; color: var(--ink-3); margin: -6px 0 14px; }

.mt-cols-2, .mt-cols-3, .mt-cols-4, .mt-grid-3, .mt-grid-4 { display: grid; gap: 28px; }
@media (min-width: 700px) { .mt-cols-2, .mt-cols-3, .mt-grid-3, .mt-grid-4, .mt-cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .mt-cols-3, .mt-grid-3 { grid-template-columns: repeat(3, 1fr); } .mt-grid-4, .mt-cols-4 { grid-template-columns: repeat(4, 1fr); } }

.mt-band-green { background: var(--green-800); color: #E6EFEA; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23C9A646' stroke-opacity='.08'%3E%3Cpath d='M40 6l10 24 24 10-24 10-10 24-10-24L6 40l24-10z'/%3E%3Ccircle cx='40' cy='40' r='12'/%3E%3C/g%3E%3C/svg%3E"); }
.mt-band-green .mt-sec-head { border-color: var(--gold); }
.mt-band-green .mt-sec-head h2, .mt-band-green .mt-sec-head > a { color: #fff; }
.mt-band-cream { background: #F3EDDF; }

/* ---------- Cards ---------- */
.mt-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mt-card-img { display: block; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--green-100); aspect-ratio: 16 / 10; }
.mt-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.mt-card:hover .mt-card-img img { transform: scale(1.03); }
.mt-card-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--green-600); opacity: .45; background: linear-gradient(135deg, var(--green-100), var(--gold-soft)); }
.mt-card-title { font-family: var(--font); font-weight: 700; font-size: 18px; line-height: 1.4; }
.mt-card-title a { color: var(--ink); }
.mt-card-title a:hover { color: var(--green-700); }
.mt-card-ex { margin: 6px 0 0; color: var(--ink-2); font-size: 16px; }
.mt-card-meta { font-size: 13px; color: var(--ink-3); }
.mt-card-lead .mt-card-img { aspect-ratio: 16 / 9; }
.mt-card-lead .mt-card-title { font-family: var(--font-head); font-weight: 400; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.25; }
.mt-card-mini { padding: 12px 0; border-top: 1px solid var(--line); }
.mt-card-mini .mt-card-title { font-size: 16.5px; }
.mt-card-mini .mt-kicker { margin-bottom: 0; font-size: 12.5px; }
.mt-card-row { flex-direction: row; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.mt-card-row .mt-card-img { width: 140px; flex: none; aspect-ratio: 4 / 3; }
.mt-card-row .mt-card-ex { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mt-col > .mt-card-card { margin-bottom: 4px; }
.mt-band-green .mt-card-title a { color: #fff; }
.mt-band-green .mt-card-meta { color: #A9C3B8; }
.mt-band-green .mt-kicker { color: var(--gold); }

/* ---------- Hero ---------- */
.mt-hero { display: grid; gap: 28px; padding-top: 28px; padding-bottom: 12px; }
@media (min-width: 1000px) { .mt-hero { grid-template-columns: minmax(0, 1fr) 340px; } }
.mt-hero-main { display: grid; gap: 24px; }
@media (min-width: 760px) { .mt-hero-main { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.mt-hero-list .mt-card-mini:first-child { border-top: 0; padding-top: 0; }
.mt-welcome { grid-column: 1 / -1; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 40px 32px; text-align: center; box-shadow: var(--shadow); }
.mt-welcome .mt-arabic { display: block; font-size: 30px; color: var(--green-700); margin-bottom: 14px; }
.mt-welcome h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; }
.mt-welcome p { max-width: 620px; margin: 0 auto 22px; color: var(--ink-2); }

.mt-seekh { position: relative; background: var(--green-800); color: #E6EFEA; border-radius: 16px; padding: 26px 24px; overflow: hidden; align-self: start; box-shadow: var(--shadow); }
.mt-seekh::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 180px; height: 180px; border: 1px solid rgba(201,166,70,.25); border-radius: 50%; box-shadow: 0 0 0 18px rgba(201,166,70,.06), 0 0 0 40px rgba(201,166,70,.04); }
.mt-seekh-label { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 700; letter-spacing: .04em; margin-bottom: 12px; }
.mt-seekh h2 { font-size: 24px; margin-bottom: 10px; }
.mt-seekh h2 a { color: #fff; }
.mt-seekh p { margin: 0 0 10px; }
.mt-seekh-src { color: var(--gold-soft); font-size: 15px; }
.mt-seekh-more { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 600; }
.mt-seekh-empty { color: #C6D8CF; }

/* ---------- Feature strip ---------- */
.mt-features { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-top: 24px; padding-bottom: 8px; }
.mt-feature { display: flex; flex-direction: column; gap: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px; color: var(--ink); transition: border-color .15s, transform .15s; }
.mt-feature:hover { border-color: var(--gold); transform: translateY(-2px); color: var(--ink); }
.mt-feature .mt-icon { color: var(--green-700); margin-bottom: 6px; }
.mt-feature strong { font-size: 18px; }
.mt-feature span { font-size: 14.5px; color: var(--ink-3); line-height: 1.45; }
.mt-feature-ask { background: var(--gold-soft); border-color: #E5D29E; }

/* ---------- Islamic topics ---------- */
.mt-topics { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-bottom: 30px; }
.mt-topic { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 20px 10px; border: 1px solid rgba(201,166,70,.35); border-radius: 14px; background: rgba(255,255,255,.04); color: #fff; transition: background .15s, border-color .15s; }
.mt-topic:hover { background: rgba(201,166,70,.12); border-color: var(--gold); color: #fff; }
.mt-topic-ar { font-family: var(--font-ar); font-size: 30px; line-height: 1.3; color: var(--gold); }
.mt-topic-name { font-weight: 600; font-size: 16px; }

/* ---------- Family ---------- */
.mt-family { display: grid; gap: 28px; }
@media (min-width: 1000px) { .mt-family { grid-template-columns: 1.2fr 1fr 1fr; } }
.mt-kids { background: #FFF6DE; border-radius: 16px; padding: 20px; border: 1px solid #F0DFAE; }
.mt-kids-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 8px; }
.mt-kids-grid a { background: #fff; border-radius: 10px; padding: 10px 12px; font-weight: 600; color: var(--ink); border: 1px solid #F0DFAE; font-size: 15.5px; }
.mt-kids-grid a:hover { border-color: var(--gold); color: var(--green-700); }
.mt-yuva { margin: 36px 0; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.mt-yuva-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.mt-yuva-head h3 { display: flex; align-items: center; gap: 8px; font-size: 24px; }
.mt-yuva-head h3 .mt-icon { color: var(--gold); }
.mt-col-card { background: var(--paper); border-radius: 14px; padding: 20px; border: 1px solid var(--line); }

/* ---------- Azadi band ---------- */
.mt-band-azadi { background: linear-gradient(120deg, var(--green-900), var(--green-700)); color: #E6EFEA; }
.mt-azadi { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .mt-azadi { grid-template-columns: 1fr 1fr; } }
.mt-azadi h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 10px; }
.mt-azadi p { margin: 0 0 20px; color: #C6D8CF; }
.mt-azadi-list { background: rgba(255,255,255,.05); border: 1px solid rgba(201,166,70,.3); border-radius: 14px; padding: 8px 20px; }
.mt-azadi-list .mt-card-mini { border-color: rgba(255,255,255,.12); }
.mt-azadi-list .mt-card-mini:first-child { border-top: 0; }
.mt-azadi-list .mt-card-title a { color: #fff; }
.mt-azadi-list .mt-card-meta { color: #A9C3B8; }
.mt-azadi-list .mt-kicker { color: var(--gold); }
.mt-azadi-list .mt-empty { color: #C6D8CF; border-color: rgba(255,255,255,.2); background: none; margin: 12px 0; }

/* ---------- Ask an Alim ---------- */
.mt-ask { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .mt-ask { grid-template-columns: 1fr 1fr; } }
.mt-ask-info h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 10px; }
.mt-ask-info > p { color: var(--ink-2); margin: 0 0 18px; }
.mt-ask-form { display: flex; flex-direction: column; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.mt-ask-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15.5px; }
.mt-ask-form label span { font-weight: 400; color: var(--ink-3); font-size: 13.5px; }
.mt-ask-form input, .mt-ask-form textarea { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: var(--cream); font-weight: 400; width: 100%; }
.mt-ask-form input:focus, .mt-ask-form textarea:focus { outline: 2px solid var(--green-600); border-color: transparent; background: #fff; }
.mt-ask-form .mt-btn { align-self: flex-start; }
.mt-form-row { display: grid; gap: 14px; }
@media (min-width: 560px) { .mt-form-row { grid-template-columns: 1fr 1fr; } }
.mt-form-note { font-size: 13.5px; color: var(--ink-3); margin: 0; }
.mt-alert { margin: 0; padding: 12px 14px; border-radius: 8px; font-weight: 600; }
.mt-alert-ok { background: var(--green-100); color: var(--green-800); }
.mt-alert-err { background: #FBE6E3; color: var(--red); }
.mt-qa-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.mt-qa { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.mt-qa-q { display: flex; flex-direction: column; gap: 4px; }
.mt-qa-q a, .mt-qa-q p { font-weight: 600; color: var(--ink); margin: 0; }
.mt-qa-q small { color: var(--ink-3); }
.mt-qa-badge { align-self: flex-start; font-size: 12px; font-weight: 700; background: var(--gold-soft); color: #7A5D12; padding: 1px 10px; border-radius: 999px; }
.mt-qa-badge-a { background: var(--green-100); color: var(--green-800); }
.mt-qa-a { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.mt-qa-full .mt-qa { padding: 20px 22px; }

/* ---------- Archive / single / page ---------- */
.mt-crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 14px; }
.mt-crumbs a { color: var(--ink-3); }
.mt-crumbs a:hover { color: var(--green-700); }
.mt-crumbs span { margin: 0 4px; opacity: .6; }
.mt-archive, .mt-page { padding-top: 30px; padding-bottom: 50px; }
.mt-archive-head { border-bottom: 2px solid var(--ink); padding-bottom: 18px; margin-bottom: 28px; }
.mt-archive-head h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 6px; }
.mt-archive-head p { color: var(--ink-2); margin: 0 0 12px; }
.mt-pagination { margin-top: 36px; }
.mt-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.mt-pagination .page-numbers { padding: 6px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); }
.mt-pagination .page-numbers.current { background: var(--green-700); color: #fff; border-color: var(--green-700); }

.mt-single-wrap { display: grid; gap: 40px; padding-top: 30px; padding-bottom: 50px; }
@media (min-width: 1000px) { .mt-single-wrap { grid-template-columns: minmax(0, 1fr) 320px; } }
.mt-single { min-width: 0; }
.mt-single-title { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.25; margin: 4px 0 12px; }
.mt-standfirst { font-size: 20px; color: var(--ink-2); margin: 0 0 14px; }
.mt-single-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--ink-3); font-size: 14.5px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.mt-single-img { margin: 0 0 24px; }
.mt-single-img img { border-radius: var(--radius); width: 100%; }
.mt-single-img figcaption { font-size: 14px; color: var(--ink-3); margin-top: 6px; }
.mt-content { font-size: 18.5px; line-height: 1.85; }
.mt-content p { margin: 0 0 1.1em; }
.mt-content h2 { font-size: 28px; margin: 1.4em 0 .5em; }
.mt-content h3 { font-size: 23px; margin: 1.3em 0 .5em; }
.mt-content blockquote { margin: 1.4em 0; padding: 16px 22px; border-left: 4px solid var(--gold); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; font-size: 19px; }
.mt-content [lang="ar"], .mt-content .arabic { font-family: var(--font-ar); font-size: 1.45em; direction: rtl; line-height: 2; }
.mt-content img { border-radius: var(--radius); }
.mt-content a { text-decoration: underline; text-underline-offset: 3px; }
.mt-page { max-width: 820px; }
.mt-page-wide { max-width: 1240px; }
.mt-page-title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 20px; }

.mt-source { margin: 32px 0; background: var(--green-100); border: 1px solid #C9DED3; border-radius: 14px; padding: 18px 22px; font-size: 16px; }
.mt-source-h { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green-800); margin-bottom: 8px; }
.mt-source ul { margin: 0 0 8px; padding-left: 20px; }
.mt-reviewer { margin: 0 0 8px; }
.mt-source-note { font-size: 14px; color: var(--ink-3); margin: 0; }
.mt-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.mt-share span { font-weight: 600; }
.mt-share a { border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 14.5px; background: var(--paper); }

.mt-sidebar { display: flex; flex-direction: column; gap: 24px; }
.mt-side-box { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.mt-side-ask { background: var(--green-800); color: #E6EFEA; border: 0; }
.mt-side-ask .mt-icon { color: var(--gold); }
.mt-side-ask h3 { color: #fff; font-size: 24px; margin: 8px 0 4px; }
.mt-side-ask p { margin: 0 0 14px; color: #C6D8CF; }
.mt-side-ask .mt-btn { background: var(--gold); color: var(--green-900); }
.mt-side-box .mt-card-mini:first-of-type { border-top: 0; padding-top: 0; }

.mt-404 { text-align: center; }
.mt-404 .mt-arabic { font-size: 72px; color: var(--gold); display: block; }
.search-form { display: flex; gap: 8px; max-width: 480px; margin: 16px auto; }
.mt-archive-head .search-form { margin: 14px 0 0; }
.search-form label { flex: 1; }
.search-field { width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.search-submit { background: var(--green-700); color: #fff; border: 0; border-radius: 999px; padding: 10px 20px; cursor: pointer; }

/* ---------- Footer ---------- */
.mt-footer { background: var(--green-900); color: #B9CCC3; margin-top: 20px; padding: 48px 0 0; font-size: 15px; }
.mt-footer-grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.mt-footer-about { grid-column: 1 / -1; max-width: 520px; }
@media (min-width: 1100px) { .mt-footer-grid { grid-template-columns: 1.6fr repeat(5, 1fr); } .mt-footer-about { grid-column: auto; } }
.mt-footer-brand { font-family: var(--font-head); font-size: 30px; color: #fff; margin-bottom: 8px; }
.mt-footer-note { font-size: 13.5px; color: #8FA89D; border-left: 2px solid var(--gold); padding-left: 10px; }
.mt-footer h3 { font-family: var(--font); font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.mt-footer h3 a { color: var(--gold); }
.mt-footer ul { list-style: none; padding: 0; margin: 0; }
.mt-footer li { margin-bottom: 5px; }
.mt-footer a { color: #B9CCC3; }
.mt-footer a:hover { color: #fff; }
.mt-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.mt-footer-menu { display: flex; flex-wrap: wrap; gap: 18px; }
