/* qatar-poland-tech — the archived forum site. Maroon (Qatar) + crimson (Poland) on white,
   sampled from the forum's own mark; a light editorial page, not a casino. */
:root {
  --qp-maroon: #5c0032;
  --qp-crimson: #b91f36;
  --qp-ink: #1d1a1c;
  --qp-ink-2: #4d4549;
  --qp-line: #e7dfe2;
  --qp-bg: #ffffff;
  --qp-bg-2: #faf6f7;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--qp-bg); color: var(--qp-ink);
  font: 17px/1.65 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--qp-crimson); }
a:hover { color: var(--qp-maroon); }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: var(--qp-maroon); line-height: 1.2; }
h1 { font-size: clamp(1.9rem, 3.2vw + 1rem, 3rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.4rem, 1.2vw + 1rem, 1.9rem); margin: 1.8em 0 .5em; }
h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; }
.qp-wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.qp-page { padding-top: 40px; padding-bottom: 40px; max-width: 780px; }

.qp-pbn { background: var(--qp-bg-2); border-bottom: 1px solid var(--qp-line); font-size: .9rem; padding: 8px 0; }

.qp-top { border-bottom: 3px solid var(--qp-crimson); background: #fff; }
.qp-top-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 14px; padding-bottom: 14px; }
.qp-brand { font-family: Georgia, serif; font-weight: 700; font-size: 1.2rem; color: var(--qp-maroon); text-decoration: none; }
.qp-brand span { color: var(--qp-crimson); }
.qp-top nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .95rem; }
.qp-top nav a { color: var(--qp-ink-2); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.qp-top nav a:hover, .qp-top nav a[aria-current="page"] { color: var(--qp-maroon); border-bottom-color: var(--qp-crimson); }

.qp-hero { position: relative; color: #fff; background: var(--qp-maroon); }
.qp-hero img { width: 100%; height: clamp(260px, 38vw, 440px); object-fit: cover; opacity: .55; }
.qp-hero-in { position: absolute; inset: auto 0 0 0; max-width: 1040px; margin: 0 auto; padding: 0 16px 32px; }
.qp-hero h1 { color: #fff; margin: 0 0 .3em; text-shadow: 0 2px 16px rgba(0,0,0,.45); }
.qp-kicker { margin: 0 0 .4em; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; font-weight: 600; }
.qp-lead { margin: 0; font-size: 1.1rem; max-width: 36rem; text-shadow: 0 1px 10px rgba(0,0,0,.5); }

.qp-meta { color: var(--qp-ink-2); font-size: .95rem; margin-top: -.3em; }
.qp-sectors { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr)); }   /* 20 sectors: 5x4, 4x5, 2x10 — no orphans (FIX-91) */
@media (max-width: 860px) { .qp-sectors { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .qp-sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.qp-sectors li { margin: 0; background: var(--qp-maroon); color: #fff; border-radius: 10px; padding: 14px 12px; text-align: center; font-size: .9rem; font-weight: 600; }
.qp-sectors img { margin: 0 auto 8px; width: 36px; height: 36px; }
.qp-prog { width: 100%; border-collapse: collapse; margin: 12px 0 20px; }
.qp-prog th, .qp-prog td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--qp-line); }
.qp-prog th { width: 5.5rem; color: var(--qp-crimson); font-variant-numeric: tabular-nums; }
.qp-who { color: var(--qp-ink-2); font-size: .92rem; }
.qp-list li { margin-bottom: .4em; }
.qp-event { border-left: 4px solid var(--qp-crimson); padding: 4px 0 4px 18px; margin: 24px 0; }
.qp-event h2 { margin-top: .2em; }
.qp-date { margin: 0; font-weight: 700; color: var(--qp-crimson); }
.qp-fig { margin: 0 0 20px; }
.qp-fig img { border-radius: 10px; }

.qp-foot { margin-top: 40px; background: var(--qp-maroon); color: #f3e6ea; font-size: .9rem; padding: 26px 0; }
.qp-foot p { margin: 0 0 .5em; max-width: 46rem; }
