/* Shared article styles for the public 'Experiments' write-ups (qwen-3-8-explained, hardware-for-qwen-ai).
   Extracted from content/qwen38.php 2026-08-28 so both pages render identically. */
.qw-wrap { max-width: 960px; margin: 0 auto; padding: 96px 24px 64px; color: #1f2937; }
.qw-hero { margin-bottom: 40px; }
.qw-kicker { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #9a3412; font-weight: 700; margin-bottom: 10px; }
.qw-hero h1 { font-size: 40px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; line-height: 1.1; }
.qw-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: #6b7280; margin: 0 0 16px; }
.qw-byline-main { font-weight: 700; color: #9a3412; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 6px; padding: 3px 10px; font-size: 14px; }
.qw-byline-sep { color: #d1d5db; }
.qw-authornote { position: relative; background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 22px 22px 16px; margin: 6px 0 22px; max-width: 760px; }
.qw-authornote-badge { position: absolute; top: -11px; left: 16px; background: #b45309; color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; }
.qw-authornote p { font-size: 15px; line-height: 1.65; color: #44403c; margin: 0 0 8px; font-style: italic; }
.qw-authornote-sig { font-size: 13px; color: #92400e; font-weight: 600; text-align: right; }
.qw-lede { font-size: 18px; line-height: 1.6; color: #4b5563; max-width: 760px; margin: 0; }
.qw-card { background: #fff; border: 1px solid #e5e7eb; border-left: 3px solid #c2410c; border-radius: 10px; padding: 26px 28px; margin-bottom: 22px; }
.qw-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.qw-card h2 { font-size: 22px; font-weight: 700; margin: 0; letter-spacing: -.01em; }
.qw-stamp { font-size: 11px; color: #9ca3af; white-space: nowrap; }
.qw-card p { line-height: 1.65; font-size: 15px; margin: 0 0 12px; }
.qw-card p:last-child { margin-bottom: 0; }
.qw-note { font-size: 13px; color: #6b7280; border-top: 1px dashed #e5e7eb; padding-top: 12px; margin-top: 14px !important; }
.qw-aside { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; padding: 14px 18px; margin: 16px 0; }
.qw-aside-k { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #9a3412; margin-bottom: 6px; }
.qw-aside p { font-size: 14px; color: #4b5563; margin: 0 !important; }
.qw-table-wrap { overflow-x: auto; margin: 14px 0; }
.qw-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.qw-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: #6b7280; padding: 8px 10px; border-bottom: 2px solid #e5e7eb; }
.qw-table td { padding: 9px 10px; border-bottom: 1px solid #f3f4f6; vertical-align: top; line-height: 1.5; }
.qw-table td:first-child { font-weight: 600; white-space: nowrap; }
.qw-table td .qw-sub { font-weight: 400; font-size: 12px; color: #6b7280; white-space: normal; max-width: 260px; margin-top: 4px; line-height: 1.45; }
.qw-table td .qw-sub-wide { max-width: none; margin-top: 8px; padding-top: 8px; border-top: 1px dashed #fed7aa; }
.qw-table td .qw-sub-hi { color: #9a3412; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.qw-verdict { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; white-space: normal; line-height: 1.3; }
.qw-v-win  { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.qw-v-par  { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.qw-v-lose { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.qw-table-matrix th, .qw-table-matrix td { text-align: center; }
.qw-table-matrix .qw-col-sum { text-align: left; min-width: 150px; }
.qw-table-matrix th:first-child, .qw-table-matrix td:first-child { text-align: left; white-space: normal; min-width: 150px; }
.qw-table-matrix .qw-th-sub { font-size: 10px; font-weight: 500; text-transform: none; letter-spacing: 0; color: #9ca3af; margin-top: 2px; }
.qw-table-matrix .qw-col-hi { background: #fff7ed; color: #7c2d12; }
.qw-table-matrix th.qw-col-hi { color: #9a3412; border-bottom-color: #c2410c; }
.qw-table-matrix .qw-row-note td { text-align: left; font-size: 12px; color: #6b7280; padding: 2px 10px 10px; border-bottom: 1px solid #f3f4f6; }
.qw-table-matrix tr:not(.qw-row-note) + tr:not(.qw-row-note) td { border-top: none; }
.qw-table-matrix .qw-row-note + tr td { }
.qw-row-hi td { background: #fff7ed; }
.qw-row-hi td:first-child { border-left: 3px solid #c2410c; }
.qw-table code { font-size: 13px; color: #7c2d12; background: #fff7ed; padding: 1px 6px; border-radius: 4px; white-space: nowrap; }
@media (max-width: 768px) {
    .qw-wrap { padding: 80px 16px 48px; }
    .qw-hero h1 { font-size: 30px; }
    .qw-card { padding: 20px 18px; }
}
