/* Smokeless Moxa Guide — scoped styles. Inherits the theme's fonts and colours. */
.msx-guide { box-sizing: border-box; max-width: 1080px; margin: 0 auto; padding: clamp(26px, 4vw, 60px) clamp(20px, 4vw, 48px) 80px; line-height: 1.7; overflow-wrap: anywhere; }
.msx-page-header { padding-bottom: 1.35rem; margin-bottom: 1.8rem; border-bottom: 1px solid #dce4eb; }
.msx-kicker { margin: 0 0 .65rem; color: #a75213; font-size: .8rem; font-weight: 700; letter-spacing: .065em; text-transform: uppercase; }
.msx-kicker a { color: inherit; text-decoration: none; }
.msx-kicker a:hover { text-decoration: underline; }
.msx-page-header h1 { max-width: 22ch; margin: 0 0 .8rem; font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.14; letter-spacing: -.035em; color: #10233c; }
.msx-deck { max-width: 72ch; margin: 0; color: #526176; font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.55; }
.msx-guide-hub { padding-top: 0; }
.msx-hub-hero { position: relative; left: 50%; width: 100vw; transform: translateX(-50%); margin-bottom: clamp(2rem, 4vw, 3.25rem); background: #112f4d; color: #f6f9fc; }
.msx-hub-hero-inner { box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); max-width: 1240px; margin: 0 auto; padding: clamp(2.8rem, 5vw, 4.5rem) clamp(24px, 4vw, 56px); }
.msx-hub-kicker, .msx-hub-service-label { display: block; margin: 0 0 .9rem; color: #a9cbe1; font-size: .82rem; font-weight: 700; letter-spacing: .055em; }
.msx-hub-hero h1 { max-width: 17ch; margin: 0 0 1rem; color: #fff; font-size: clamp(2.4rem, 4.3vw, 4.15rem); line-height: 1.08; letter-spacing: -.035em; }
.msx-hub-lead { max-width: 58ch; margin: 0; color: #d2e2ee; font-size: clamp(1rem, 1.35vw, 1.13rem); line-height: 1.6; }
.msx-hub-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.msx-hub-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .6rem 1.15rem; border-radius: 8px; font-weight: 700; line-height: 1.3; text-decoration: none; transition: background-color .15s ease, border-color .15s ease; }
.msx-hub-actions .msx-hub-primary { background: #b95308; border: 1px solid #b95308; color: #fff; }
.msx-hub-actions .msx-hub-primary:hover { background: #d46818; border-color: #d46818; }
.msx-hub-actions .msx-hub-secondary { border: 1px solid #b9d6e8; color: #edf7fd; }
.msx-hub-actions .msx-hub-secondary:hover { background: rgba(255,255,255,.12); }
.msx-hub-hero-service { min-width: 0; padding-inline-start: clamp(1.5rem, 3vw, 2.6rem); border-inline-start: 1px solid rgba(198,225,240,.5); }
.msx-guide .msx-hub-hero-service h2 { margin: 0 0 .9rem; color: #fff; font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.38; }
.msx-hub-hero-service > p { max-width: 42ch; margin: 0; color: #c6d9e7; font-size: .97rem; line-height: 1.65; }
.msx-hub-botanical { display: block; width: 48px; height: 72px; margin-top: .65rem; object-fit: contain; filter: brightness(0) invert(1); opacity: .48; }
.msx-guide[dir="rtl"] .msx-hub-hero h1 { letter-spacing: 0; max-width: 19ch; }
.msx-guide[dir="rtl"] .msx-hub-hero { left: auto; right: 50%; transform: translateX(50%); }
.msx-guide[dir="rtl"] .msx-hub-kicker, .msx-guide[dir="rtl"] .msx-hub-service-label { letter-spacing: 0; }
.msx-guide > p, .msx-guide > blockquote, .msx-guide > ul, .msx-guide > ol { max-width: 76ch; }
.msx-routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0 2rem; }
.msx-route { display: flex; flex-direction: column; min-width: 0; padding: 1.15rem 1.2rem; border: 1px solid #dce4eb; border-radius: 12px; background: #fff; box-shadow: 0 5px 18px rgba(16, 35, 60, .045); }
.msx-route-label { margin: 0; color: #a75213; font-size: .8rem; font-weight: 700; letter-spacing: .025em; }
.msx-route h3 { margin: .35rem 0 .4rem; font-size: 1.13rem; line-height: 1.3; color: #10233c; }
.msx-route p:not(.msx-route-label) { margin: 0 0 .85rem; color: #526176; font-size: .93rem; line-height: 1.55; }
.msx-route a { display: block; margin-top: auto; padding-top: .4rem; font-weight: 700; text-underline-offset: .2em; }
.msx-route a + a { margin-top: 0; }
.msx-toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.4rem; list-style: none; padding: 0 !important; margin: .65rem 0 1.7rem; }
.msx-toc li { min-width: 0; padding: .45rem .15rem; border-bottom: 1px solid #edf1f5; line-height: 1.4; }
.msx-toc a { color: #174364; text-decoration-thickness: 1px; text-underline-offset: .19em; }
.msx-context { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; margin: 1.35rem 0 1.6rem; padding: .95rem 1.1rem; border-inline-start: 3px solid #b96b24; background: #f5f8fa; border-radius: 0 8px 8px 0; }
.msx-context > div { min-width: 0; }
.msx-context-title { margin: 0 0 .15rem !important; color: #10233c; font-weight: 750; line-height: 1.35; }
.msx-context p:not(.msx-context-title) { margin: 0; color: #526176; font-size: .9rem; line-height: 1.5; }
.msx-context-links { display: flex; flex: 0 0 28%; flex-direction: column; gap: .3rem; font-size: .85rem; line-height: 1.4; }
.msx-context-links a { color: #a75213; font-weight: 700; text-underline-offset: .2em; }
.msx-guide h2 { margin-top: 2.2em; scroll-margin-top: 90px; }
.msx-guide h3 { margin-top: 1.6em; scroll-margin-top: 90px; }
.msx-guide p > strong:first-child { color: inherit; }
.msx-guide blockquote {
	margin: 1.2em 0; padding: .9em 1.1em; border-inline-start: 4px solid #c58b2b;
	background: rgba(197, 139, 43, .08); border-radius: 6px; font-size: .95em;
}
.msx-guide blockquote p { margin: 0; }
.msx-guide .msx-table { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.2em 0; }
.msx-guide table { width: 100%; border-collapse: collapse; font-size: .92em; min-width: 520px; }
.msx-guide th, .msx-guide td { border: 1px solid rgba(0, 0, 0, .12); padding: .55em .7em; vertical-align: top; text-align: start; }
.msx-guide thead th { background: rgba(0, 0, 0, .04); font-weight: 600; }
.msx-guide sup.msx-cite { font-size: .68em; line-height: 0; margin-inline-start: 1px; white-space: nowrap; }
.msx-guide sup.msx-cite a { text-decoration: none; }
.msx-guide .msx-sources { margin-top: 3em; padding-top: 1.2em; border-top: 1px solid rgba(0, 0, 0, .12); font-size: .88em; }
.msx-guide .msx-sources h2 { margin-top: 0; font-size: 1.15em; }
.msx-guide .msx-sources ol { padding-inline-start: 1.6em; }
.msx-guide .msx-sources li { margin: .35em 0; }
.msx-guide .msx-sources li:target { background: rgba(197, 139, 43, .15); }
.msx-guide .msx-updated { color: rgba(0, 0, 0, .6); }
.msx-guide .msx-reflist { list-style: none; padding: 0; font-size: .9em; }
.msx-guide .msx-reflist li { margin: .5em 0; }
.msx-business { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); margin-top: 3rem; padding: 1.5rem 0 0; border-top: 1px solid #dce4eb; }
.msx-business > div { flex: 1; min-width: 0; }
.msx-business h2 { margin: .25rem 0 .45rem; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.25; }
.msx-business h3 { margin: .95rem 0 .2rem; font-size: 1rem; line-height: 1.35; }
.msx-business p:not(.msx-kicker) { margin: 0; color: #526176; }
.msx-business img { width: 96px; height: 144px; object-fit: contain; flex: none; }
.msx-business-links { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; margin-top: 1rem; font-weight: 700; }
.msx-business-links a { color: #a75213; text-underline-offset: .2em; }
/* Arabic */
.msx-guide[dir="rtl"] { font-family: "Noto Naskh Arabic", "Segoe UI", Tahoma, "Geeza Pro", "Arial", sans-serif; line-height: 1.9; font-size: 1.05em; text-align: start; }
.msx-guide[dir="rtl"] .msx-kicker { letter-spacing: 0; text-transform: none; }
.msx-guide[dir="rtl"] .msx-page-header h1 { max-width: 26ch; letter-spacing: 0; }
.msx-guide[dir="rtl"] .msx-context { border-radius: 8px 0 0 8px; }
.msx-guide[dir="rtl"] ol, .msx-guide[dir="rtl"] ul { padding-inline-start: 1.6em; padding-inline-end: 0; }
.msx-guide-ar .entry-title, .msx-guide-ar h1 { direction: rtl; text-align: right; }
@media (max-width: 640px) {
	.msx-guide { font-size: 1rem; }
	.msx-hub-hero-inner { grid-template-columns: 1fr; gap: 1.8rem; padding: 2.4rem 20px 2.2rem; }
	.msx-hub-hero h1 { font-size: clamp(2.25rem, 9vw, 3rem); }
	.msx-hub-hero-service { padding-inline-start: 0; padding-block-start: 1.3rem; border-inline-start: 0; border-block-start: 1px solid rgba(198,225,240,.5); }
	.msx-hub-actions a { width: 100%; }
	.msx-routes, .msx-toc { grid-template-columns: 1fr; }
	.msx-context { display: block; }
	.msx-context-links { margin-top: .55rem; }
	.msx-guide table { font-size: .86em; }
	.msx-business img { width: 56px; height: 84px; }
}
@media (prefers-color-scheme: dark) {
	.msx-guide th, .msx-guide td { border-color: rgba(255, 255, 255, .18); }
	.msx-guide .msx-updated { color: rgba(255, 255, 255, .65); }
}
