/* ==========================================================================
   Qemmah — Content pages: legal documents (pagemodule), about, help centre.
   Tokens come from premium.css.
   ========================================================================== */

.qm-doc { --qd-line: rgba(161, 120, 92, .16); --qd-muted: #8a7466; padding-bottom: 64px; color: #3a2a22; }

/* ----- dark head band with the brand arch ----- */
.qm-doc__head {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    margin-bottom: 26px;
    padding: clamp(26px, 3.4vw, 42px) clamp(22px, 3vw, 44px);
    color: #fff;
    background:
        radial-gradient(600px 300px at 100% -20%, rgba(226, 193, 156, .32), transparent 60%),
        radial-gradient(420px 260px at -10% 120%, rgba(161, 120, 92, .4), transparent 60%),
        linear-gradient(150deg, #1a1210 0%, #2b1a14 50%, #4a2c20 100%);
    border-radius: 26px;
    box-shadow: 0 40px 80px -50px rgba(26, 18, 16, .9);
}

.qm-doc__head::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline-end: clamp(22px, 3vw, 44px);
    z-index: -1;
    width: 176px;
    height: calc(100% - 26px);
    border: 1px solid rgba(226, 193, 156, .26);
    border-bottom: 0;
    border-radius: 999px 999px 0 0;
    background: radial-gradient(70% 55% at 50% 100%, rgba(226, 193, 156, .1), transparent 70%);
}

.qm-doc__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 12.5px; font-weight: 700; color: var(--qm-gold-2); }
.qm-doc__head h1 {
    margin: 0;
    padding-bottom: .12em;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    background: var(--qm-gloss-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.qm-doc__date { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 0; font-size: 13px; color: rgba(255, 255, 255, .62); }

/* ----- document layout ----- */
.qm-doc__grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: start; gap: 28px; }
.qm-doc__side { position: sticky; top: 190px; display: grid; gap: 14px; }

.qm-doc__menu { display: grid; gap: 2px; padding: 10px; background: #fff; border-radius: 20px; box-shadow: 0 0 0 1px var(--qd-line), 0 20px 40px -32px rgba(58, 34, 25, .45); }
.qm-doc__menu a { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; font-size: 14px; font-weight: 700; color: #5a463b !important; text-decoration: none; border-radius: 13px; transition: background-color .2s, color .2s; }
.qm-doc__menu a i { width: 18px; font-size: 13px; text-align: center; color: var(--qm-gold-4); }
.qm-doc__menu a:hover { color: var(--qm-ink) !important; background: #faf6f1; }
.qm-doc__menu a.is-active { color: #fff !important; background: #2b1a14; }
.qm-doc__menu a.is-active i { color: var(--qm-gold-2); }

.qm-doc__toc { padding: 16px 18px; background: #fbf7f2; border-radius: 18px; }
.qm-doc__toc p { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .02em; color: var(--qd-muted); }
.qm-doc__toc ol { display: grid; gap: 2px; max-height: 40vh; margin: 0; padding: 0; overflow-y: auto; list-style: none; counter-reset: toc; }
.qm-doc__toc li { counter-increment: toc; }
.qm-doc__toc a { display: flex; gap: 8px; padding: 6px 4px; font-size: 13px; line-height: 1.6; color: #6b5a50 !important; text-decoration: none; border-radius: 8px; }
.qm-doc__toc a::before { content: counter(toc, decimal-leading-zero); flex: none; font-size: 11px; font-weight: 800; color: var(--qm-gold-4); padding-top: 2px; }
.qm-doc__toc a:hover { color: var(--qm-ink) !important; background: #f4ece3; }

.qm-doc__help { display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-size: 13.5px; font-weight: 700; color: var(--qm-brown) !important; text-decoration: none; background: #fff; border: 1px dashed rgba(161, 120, 92, .35); border-radius: 16px; }
.qm-doc__help:hover { border-style: solid; border-color: var(--qm-gold-3); }

.qm-doc__body { padding: clamp(24px, 3vw, 44px); background: #fff; border-radius: 24px; box-shadow: 0 0 0 1px var(--qd-line), 0 30px 60px -44px rgba(58, 34, 25, .45); }

/* ----- prose: tames HTML pasted from Word (inline fonts / sizes / alignment) ----- */
.qm-prose { font-size: 15.5px; line-height: 2; color: #3a2a22; overflow-wrap: anywhere; }
.qm-prose [style] { font-family: inherit !important; line-height: inherit !important; }
.qm-prose [style]:not(h1, h2, h3, h4) { font-size: inherit !important; }
.qm-prose h1 *, .qm-prose h2 *, .qm-prose h3 *, .qm-prose h4 * { font-weight: inherit !important; }
.qm-prose [style*="text-align"] { text-align: start !important; }
.qm-prose [style*="color"] { color: inherit !important; }
.qm-prose [style*="background"] { background: none !important; }
.qm-prose > :first-child { margin-top: 0; }
.qm-prose p, .qm-prose div { margin: 0 0 .6em; }
.qm-prose h1, .qm-prose h2, .qm-prose h3, .qm-prose h4 { margin: 1.6em 0 .55em; font-weight: 800; line-height: 1.5; color: var(--qm-ink); scroll-margin-top: 200px; }
.qm-prose h1, .qm-prose h2, .qm-prose h3, .qm-prose h4 { margin-inline: 0 !important; text-indent: 0 !important; }
.qm-prose h1 { font-size: 24px !important; }
.qm-prose h2, .qm-prose .qm-h2 { position: relative; padding-inline-start: 16px; font-size: 20px !important; }
.qm-prose .qm-h2 { margin: 1.6em 0 .55em; font-weight: 800; line-height: 1.5; color: var(--qm-ink); scroll-margin-top: 200px; }
.qm-prose .qm-h2 * { font-size: inherit !important; font-weight: inherit !important; }
.qm-prose h2::before, .qm-prose .qm-h2::before { content: ""; position: absolute; top: .3em; bottom: .3em; inset-inline-start: 0; width: 4px; background: var(--qm-gloss-gold); border-radius: 4px; }
.qm-prose h3 { margin: 1em 0 .4em !important; font-size: 15.5px !important; font-weight: 700; color: var(--qm-ink); }
.qm-prose h4 { font-size: 15.5px !important; }
.qm-prose .qm-empty { display: none; }
.qm-prose ul, .qm-prose ol { margin: 0 0 1em; padding-inline-start: 1.4em; }
.qm-prose li { margin-bottom: .35em; }
.qm-prose li::marker { color: var(--qm-gold-4); font-weight: 700; }
.qm-prose a { color: var(--qm-brown); text-decoration: underline; text-underline-offset: 3px; }
.qm-prose strong, .qm-prose b { font-weight: 800; color: var(--qm-ink); }
.qm-prose table { width: 100%; margin: 1em 0; border-collapse: collapse; font-size: 14px; }
.qm-prose th, .qm-prose td { padding: 10px 12px; border: 1px solid var(--qd-line); text-align: start; }
.qm-prose th { background: #faf6f1; }
.qm-prose img { max-width: 100%; height: auto; border-radius: 12px; }

@media (max-width: 991px) {
    .qm-doc__grid { grid-template-columns: 1fr; }
    .qm-doc__side { position: static; }
    .qm-doc__menu { display: flex; overflow-x: auto; scrollbar-width: none; }
    .qm-doc__menu::-webkit-scrollbar { display: none; }
    .qm-doc__menu a { flex: none; white-space: nowrap; }
    .qm-doc__toc, .qm-doc__help { display: none; }
}

@media (max-width: 575px) {
    .qm-doc__head { border-radius: 20px; }
    .qm-doc__head::after { display: none; }
    .qm-prose { font-size: 15px; }
}

/* ==========================================================================
   About
   ========================================================================== */

.qm-about { padding-bottom: 64px; color: #3a2a22; }
.qm-about section + section { margin-top: clamp(28px, 4vw, 52px); }

.qm-about__hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: center;
    gap: clamp(20px, 4vw, 56px);
    overflow: hidden;
    isolation: isolate;
    padding: clamp(28px, 4.5vw, 64px);
    color: #fff;
    background:
        radial-gradient(700px 380px at 100% -10%, rgba(226, 193, 156, .3), transparent 60%),
        radial-gradient(500px 300px at -10% 120%, rgba(161, 120, 92, .42), transparent 60%),
        linear-gradient(150deg, #1a1210 0%, #2b1a14 50%, #4a2c20 100%);
    border-radius: 30px;
    box-shadow: 0 50px 90px -56px rgba(26, 18, 16, .95);
}

.qm-about__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 14px; font-size: 12.5px; font-weight: 700; color: var(--qm-gold-1); background: rgba(255, 255, 255, .06); border: 1px solid rgba(226, 193, 156, .25); border-radius: 999px; }
.qm-about__hero h1 { margin: 0; font-size: clamp(28px, 3.6vw, 48px); font-weight: 800; line-height: 1.35; color: #fff; }
.qm-about__lead { max-width: 520px; margin: 16px 0 0; font-size: 16px; line-height: 1.9; color: rgba(255, 255, 255, .72); }
.qm-about__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.qm-about__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    padding: 0 22px;
    font-size: 14.5px;
    font-weight: 800;
    color: #fff !important;
    text-decoration: none;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(226, 193, 156, .35);
    border-radius: 14px;
    transition: background-color .2s, transform .25s var(--qm-ease), filter .25s;
}
.qm-about__btn:hover { background: rgba(255, 255, 255, .12); transform: translateY(-1px); }
.qm-about__btn--gold { color: #fff !important; text-shadow: 0 1px 1px rgba(58, 34, 25, .35); background: var(--qm-gloss-gold); border: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 16px 30px -16px rgba(0, 0, 0, .7); }
.qm-about__btn--gold:hover { background: var(--qm-gloss-gold); filter: brightness(1.06); }

/* two arch-framed photos */
.qm-about__art { position: relative; height: clamp(300px, 34vw, 440px); }
.qm-about__arch { position: absolute; bottom: 0; inset-inline-end: 6%; width: 58%; height: 100%; overflow: hidden; border: 1px solid rgba(226, 193, 156, .45); border-radius: 999px 999px 24px 24px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.qm-about__arch img { width: 100%; height: 100%; object-fit: cover; }
.qm-about__arch--back { inset-inline-end: auto; inset-inline-start: 4%; bottom: 8%; width: 46%; height: 78%; opacity: .55; filter: saturate(.8); }

/* story */
.qm-about__story { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(24px, 4vw, 60px); padding: clamp(24px, 3.5vw, 48px); background: #fff; border-radius: 28px; box-shadow: 0 0 0 1px rgba(161, 120, 92, .12), 0 30px 60px -44px rgba(58, 34, 25, .5); }
.qm-about__story-art { aspect-ratio: 4 / 5; max-height: 420px; overflow: hidden; border-radius: 999px 999px 22px 22px; box-shadow: 0 0 0 8px #fbf7f2, 0 0 0 9px rgba(199, 154, 114, .35); }
.qm-about__story-art img { width: 100%; height: 100%; object-fit: cover; }
.qm-about__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 13px; font-weight: 800; color: var(--qm-gold-4); }
.qm-about__kicker::before { content: ""; width: 26px; height: 2px; background: var(--qm-gloss-gold); }
.qm-about__story h2 { margin: 0 0 14px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; line-height: 1.45; color: var(--qm-ink); }
.qm-about__text { margin: 0; font-size: 15.5px; line-height: 2.05; color: #5a463b; }

/* pillars */
.qm-about__pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.qm-about__pillar { position: relative; overflow: hidden; padding: 26px 24px; background: #fff; border-radius: 22px; box-shadow: 0 0 0 1px rgba(161, 120, 92, .12), 0 24px 48px -38px rgba(58, 34, 25, .5); transition: transform .3s var(--qm-ease); }
.qm-about__pillar:hover { transform: translateY(-3px); }
.qm-about__pillar-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 16px; font-size: 18px; color: #3a2219; background: var(--qm-gloss-gold); border-radius: 15px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
.qm-about__pillar h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; color: var(--qm-ink); }
.qm-about__pillar p { margin: 0; font-size: 14.5px; line-height: 1.9; color: #6b5a50; }

/* numbers */
.qm-about__numbers { padding: clamp(24px, 3.5vw, 44px); color: #fff; text-align: center; background: linear-gradient(150deg, #1a1210 0%, #2b1a14 60%, #3d251b 100%); border-radius: 28px; }
.qm-about__numbers h2 { margin: 0 0 22px; font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--qm-gold-2); }
.qm-about__numbers dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.qm-about__numbers dl > div { display: grid; justify-items: center; gap: 6px; padding: 6px 10px; }
.qm-about__numbers dl > div + div { border-inline-start: 1px solid rgba(226, 193, 156, .16); }
.qm-about__numbers i { font-size: 16px; color: var(--qm-gold-3); }
.qm-about__numbers dd { margin: 0; padding-bottom: .08em; font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.1; background: var(--qm-gloss-gold); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; }
.qm-about__numbers dt { font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .65); }

/* join as a seller */
.qm-about__join { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: clamp(24px, 3.5vw, 40px); background: linear-gradient(120deg, #fdf6ee 0%, #f6ebde 100%); border: 1px solid rgba(199, 154, 114, .3); border-radius: 26px; }
.qm-about__join h2 { margin: 0 0 6px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; color: var(--qm-ink); }
.qm-about__join p { max-width: 640px; margin: 0; font-size: 14.5px; line-height: 1.85; color: #6b5a50; }

@media (max-width: 991px) {
    .qm-about__hero, .qm-about__story { grid-template-columns: 1fr; }
    .qm-about__art { height: 300px; }
    .qm-about__story-art { max-width: 320px; margin: 0 auto; }
    .qm-about__pillars { grid-template-columns: 1fr; }
    .qm-about__numbers dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; }
    .qm-about__numbers dl > div:nth-child(3) { border-inline-start: 0; }
}

@media (max-width: 575px) {
    .qm-about__hero { border-radius: 22px; }
    .qm-about__art { display: none; }
}

.qm-about .qm-gold-text { padding: .08em 0 .28em; margin: -.08em 0 -.28em; background: var(--qm-gloss-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ==========================================================================
   Help centre
   ========================================================================== */

.qm-help__hero {
    position: relative;
    overflow: visible;
    isolation: isolate;
    padding: clamp(30px, 5vw, 64px) clamp(22px, 4vw, 56px);
    color: #fff;
    text-align: center;
    background:
        radial-gradient(700px 360px at 50% -20%, rgba(226, 193, 156, .34), transparent 60%),
        radial-gradient(500px 300px at -10% 120%, rgba(161, 120, 92, .4), transparent 60%),
        linear-gradient(150deg, #1a1210 0%, #2b1a14 50%, #4a2c20 100%);
    border-radius: 30px;
    box-shadow: 0 50px 90px -56px rgba(26, 18, 16, .95);
}

/* arch behind the title */
.qm-help__hero::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: -1;
    width: min(420px, 70%);
    height: calc(100% - 28px);
    border: 1px solid rgba(226, 193, 156, .2);
    border-bottom: 0;
    border-radius: 999px 999px 0 0;
    transform: translateX(-50%);
}

.qm-help__hero h1 { margin: 0; font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; color: #fff; }
.qm-help__lead { max-width: 560px; margin: 12px auto 0; font-size: 15.5px; line-height: 1.85; color: rgba(255, 255, 255, .7); }

.qm-help__search { position: relative; max-width: 620px; margin: 26px auto 0; text-align: start; }
.qm-help__search > i { position: absolute; top: 50%; inset-inline-start: 20px; font-size: 15px; color: var(--qm-gold-4); transform: translateY(-50%); pointer-events: none; }
.qm-help__search input {
    width: 100%;
    height: 60px;
    padding: 0 20px !important;
    padding-inline-start: 50px !important;
    font-size: 15.5px;
    color: var(--qm-ink);
    background: #fff;
    border: 0;
    border-radius: 18px;
    outline: none;
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7), 0 0 0 4px rgba(226, 193, 156, .18);
}
.qm-help__search input:focus { box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7), 0 0 0 4px rgba(226, 193, 156, .45); }

.qm-help__results { position: absolute; top: calc(100% + 8px); right: 0; left: 0; z-index: 20; max-height: 360px; padding: 8px; overflow-y: auto; background: #fff; border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(26, 18, 16, .45), 0 0 0 1px rgba(161, 120, 92, .14); }
.qm-help__results[hidden] { display: none; }
.qm-help__results ul { margin: 0; padding: 0; list-style: none; }
.qm-help__results a { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; font-size: 14px; font-weight: 600; line-height: 1.6; color: #3a2a22 !important; text-decoration: none; border-radius: 11px; }
.qm-help__results a i { margin-top: 4px; font-size: 13px; color: var(--qm-gold-4); }
.qm-help__results a:hover { background: #faf6f1; }
.qm-help__none { margin: 0; padding: 14px; font-size: 14px; color: #8a7466; text-align: center; }

.qm-help__cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.qm-help__cat { display: flex; align-items: center; gap: 14px; padding: 20px; text-decoration: none; background: #fff; border-radius: 20px; box-shadow: 0 0 0 1px rgba(161, 120, 92, .12), 0 24px 48px -38px rgba(58, 34, 25, .5); transition: transform .3s var(--qm-ease), box-shadow .3s; }
.qm-help__cat:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(199, 154, 114, .4), 0 28px 50px -34px rgba(58, 34, 25, .55); }
.qm-help__cat-icon { display: grid; flex: none; place-items: center; width: 52px; height: 52px; font-size: 19px; color: #3a2219; background: var(--qm-gloss-gold); border-radius: 16px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
.qm-help__cat-body { display: grid; flex: 1; gap: 3px; min-width: 0; }
.qm-help__cat-body b { font-size: 16px; font-weight: 800; color: var(--qm-ink); text-transform: capitalize; }
.qm-help__cat-body small { font-size: 12.5px; color: #8a7466; }
.qm-help__cat-go { font-size: 13px; color: var(--qm-gold-3); transition: transform .25s; }
.qm-help__cat:hover .qm-help__cat-go { transform: translateX(-4px); }
.qm-en .qm-help__cat:hover .qm-help__cat-go { transform: translateX(4px); }

.qm-help__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: clamp(28px, 4vw, 48px); padding: clamp(22px, 3vw, 32px); background: linear-gradient(120deg, #fdf6ee 0%, #f6ebde 100%); border: 1px solid rgba(199, 154, 114, .3); border-radius: 24px; }
.qm-help__contact-icon { display: grid; flex: none; place-items: center; width: 56px; height: 56px; font-size: 21px; color: #fff; background: #2b1a14; border-radius: 18px; }
.qm-help__contact > div:nth-child(2) { flex: 1; min-width: 220px; }
.qm-help__contact h2 { margin: 0 0 4px; font-size: 19px; font-weight: 800; color: var(--qm-ink); }
.qm-help__contact p { margin: 0; font-size: 14px; color: #6b5a50; }
.qm-help__contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.qm-help__mail { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px; font-size: 14px; font-weight: 700; color: var(--qm-brown) !important; text-decoration: none; background: #fff; border: 1px solid rgba(161, 120, 92, .3); border-radius: 14px; }

/* category page: accordion */
.qm-faq { display: grid; gap: 10px; }
.qm-faq__item { background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px rgba(161, 120, 92, .12), 0 18px 40px -34px rgba(58, 34, 25, .5); transition: box-shadow .25s; scroll-margin-top: 200px; }
.qm-faq__item[open] { box-shadow: 0 0 0 1px rgba(199, 154, 114, .45), 0 22px 44px -32px rgba(58, 34, 25, .5); }
.qm-faq__item.is-hit { box-shadow: 0 0 0 2px var(--qm-gold-3), 0 22px 44px -32px rgba(58, 34, 25, .5); }
.qm-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-size: 15.5px; font-weight: 800; line-height: 1.6; color: var(--qm-ink); cursor: pointer; list-style: none; }
.qm-faq__item summary::-webkit-details-marker { display: none; }
.qm-faq__item summary i { display: grid; flex: none; place-items: center; width: 30px; height: 30px; font-size: 12px; color: var(--qm-brown); background: #f6ede4; border-radius: 50%; transition: transform .3s var(--qm-ease), background-color .2s, color .2s; }
.qm-faq__item[open] summary i { color: #3a2219; background: var(--qm-gloss-gold); transform: rotate(45deg); }
.qm-faq__answer { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.95; color: #5a463b; }
.qm-faq__empty { display: grid; justify-items: center; gap: 10px; padding: 50px 20px; color: #8a7466; background: #fff; border-radius: 20px; }
.qm-faq__empty i { font-size: 30px; color: var(--qm-gold-3); }

@media (max-width: 991px) {
    .qm-help__cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
    .qm-help__cats { grid-template-columns: 1fr; }
    .qm-help__hero { border-radius: 22px; }
}

/* ==========================================================================
   Designer blog
   ========================================================================== */

.qm-blog__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin: 28px 0 16px; }
.qm-blog__head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 22px; font-weight: 800; color: var(--qm-ink); }
.qm-blog__head h2 i { font-size: 16px; color: var(--qm-gold-4); }
.qm-blog__head p { margin: 0; font-size: 14px; color: #8a7466; }

.qm-blog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.qm-blog__grid.d-none, .blog_table_cards.d-none { display: none !important; }
.qm-blog__skeleton { aspect-ratio: 4 / 4.4; }

.qm-post { display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 22px; box-shadow: 0 0 0 1px rgba(161, 120, 92, .12), 0 24px 48px -38px rgba(58, 34, 25, .5); transition: transform .3s var(--qm-ease), box-shadow .3s; }
.qm-post:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(199, 154, 114, .4), 0 30px 54px -36px rgba(58, 34, 25, .55); }
.qm-post__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: radial-gradient(circle at 50% 42%, #fdf9f4 0%, #efe3d6 100%); }
.qm-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--qm-ease); }
.qm-post:hover .qm-post__media img { transform: scale(1.04); }
.qm-post__media.is-empty img { display: none; }
.qm-post__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.qm-post__date { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #a3917f; }
.qm-post h3 { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.5; }
.qm-post h3 a { color: var(--qm-ink) !important; text-decoration: none; }
.qm-post p { display: -webkit-box; margin: 0; overflow: hidden; font-size: 13.5px; line-height: 1.8; color: #6b5a50; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.qm-post__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 800; color: var(--qm-brown) !important; text-decoration: none; }

/* article */
.qm-article__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 28px; }
.qm-article__main { overflow: hidden; background: #fff; border-radius: 26px; box-shadow: 0 0 0 1px rgba(161, 120, 92, .12), 0 30px 60px -44px rgba(58, 34, 25, .45); }
.qm-article__cover { margin: 0; aspect-ratio: 16 / 8; overflow: hidden; background: #f3ece5; }
.qm-article__cover img { width: 100%; height: 100%; object-fit: cover; }
.qm-article__body { padding: clamp(22px, 3vw, 40px); }
.qm-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 0 0 12px; font-size: 13px; color: #8a7466; }
.qm-article__meta a { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--qm-brown) !important; text-decoration: none; }
.qm-article__meta img { width: 28px; height: 28px; object-fit: cover; border: 1.5px solid #e2c19c; border-radius: 50%; }
.qm-article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.qm-article__body h1 { margin: 0 0 18px; font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; line-height: 1.45; color: var(--qm-ink); }
.qm-article__share { display: flex; align-items: center; gap: 8px; margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(161, 120, 92, .15); }
.qm-article__share span { margin-inline-end: 6px; font-size: 13px; font-weight: 700; color: #8a7466; }
.qm-article__share a { display: grid; place-items: center; width: 38px; height: 38px; font-size: 14px; color: var(--qm-brown) !important; background: #faf6f1; border: 1px solid rgba(161, 120, 92, .2); border-radius: 50%; transition: background-color .2s, color .2s; }
.qm-article__share a:hover { color: #fff !important; background: #2b1a14; }

.qm-article__side { position: sticky; top: 190px; display: grid; gap: 14px; }
.qm-article__designer { position: relative; display: flex; align-items: center; gap: 12px; padding: 18px; overflow: hidden; color: #fff; text-decoration: none; background: linear-gradient(150deg, #1a1210 0%, #2b1a14 60%, #4a2c20 100%); border-radius: 20px; }
.qm-article__designer img { flex: none; width: 54px; height: 54px; object-fit: cover; background: #fff; border: 2px solid #e2c19c; border-radius: 50%; }
.qm-article__designer span { display: grid; flex: 1; gap: 2px; min-width: 0; }
.qm-article__designer small { font-size: 11.5px; color: var(--qm-gold-2); }
.qm-article__designer b { overflow: hidden; font-size: 15.5px; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; }
.qm-article__designer em { flex: none; padding: 6px 12px; font-size: 12px; font-style: normal; font-weight: 700; color: #3a2219; background: var(--qm-gloss-gold); border-radius: 999px; }

.qm-side-list { padding: 18px; background: #fff; border-radius: 20px; box-shadow: 0 0 0 1px rgba(161, 120, 92, .12); }
.qm-side-list h3 { margin: 0 0 10px; font-size: 15px; font-weight: 800; color: var(--qm-ink); }
.qm-side-list__item { display: flex; align-items: center; gap: 12px; padding: 8px; text-decoration: none; border-radius: 12px; transition: background-color .2s; }
.qm-side-list__item:hover { background: #faf6f1; }
.qm-side-list__item img { flex: none; width: 64px; height: 52px; object-fit: cover; background: #f3ece5; border-radius: 10px; }
.qm-side-list__item span { display: grid; gap: 3px; min-width: 0; }
.qm-side-list__item b { font-size: 13.5px; font-weight: 700; line-height: 1.5; color: #3a2a22; }
.qm-side-list__item small { font-size: 11.5px; color: #a3917f; }

@media (max-width: 991px) {
    .qm-blog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .qm-article__grid { grid-template-columns: 1fr; }
    .qm-article__side { position: static; }
}

@media (max-width: 575px) {
    .qm-blog__grid { grid-template-columns: 1fr; }
}
.qm-en .qm-doc__menu a, .qm-en .qm-doc__head h1 { text-transform: capitalize; }
