/* ============================================================
   MiniPC Blogs — CNN-style news layout
   ============================================================ */
:root {
  --paper:        #ffffff;
  --paper-alt:    #f6f7f8;
  --ink:          #0a0a0a;
  --ink-soft:     #404040;
  --ink-muted:    #767676;
  --rule:         #e6e6e6;
  --rule-soft:    #efefef;
  --accent:       #c00000;
  --accent-dark:  #8a0000;
  --review:       #0a7a3f;
  --review-bg:    #e8f4ec;
  --watchdog:     #c00000;
  --watchdog-bg:  #fbe6e6;

  --serif:  Georgia, 'Times New Roman', serif;
  --sans:   'CNN Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono:   ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.35;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 700px) { .wrap { padding: 0 16px; } }

/* ============== HEADER ============== */
.site-header {
  background: #0a0a0a;
  color: #fff;
  position: sticky; top: 0; z-index: 100;
}
.site-header .wrap {
  display: flex; align-items: center; gap: 24px;
  padding-top: 12px; padding-bottom: 12px;
  flex-wrap: wrap;
}
.site-header .brand {
  font-family: var(--sans);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  position: relative;
  padding-left: 36px;
}
.site-header .brand::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 18px;
  background: var(--accent);
  border-radius: 2px;
}
.site-header nav.primary {
  display: flex; gap: 0; flex: 1;
  font-family: var(--sans); font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: 24px;
}
.site-header nav.primary a {
  color: #fff; text-decoration: none;
  padding: 8px 14px;
  transition: color .12s, background .12s;
}
.site-header nav.primary a:hover { color: var(--accent); }
.site-header nav.lang-switch {
  display: flex; gap: 2px;
  font-family: var(--sans);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em;
}
.site-header nav.lang-switch a {
  color: #999; text-decoration: none;
  padding: 5px 8px;
  transition: color .12s, background .12s;
}
.site-header nav.lang-switch a:hover { color: #fff; }
.site-header nav.lang-switch a.current { color: #fff; background: var(--accent); }

main { padding: 0 0 64px; background: var(--paper); }

/* ============== HERO ============== */
.hero {
  display: block;
  width: 100%;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.hero__link {
  display: block;
  position: relative;
  width: 100%;
  color: inherit;
  text-decoration: none;
}
.hero__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 640px;
  overflow: hidden;
  background: #1a1a1a;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.22,.61,.36,1);
}
.hero__link:hover .hero__media img { transform: scale(1.04); }

.hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0 0 48px;
  background: linear-gradient(180deg, transparent 0%, transparent 40%, rgba(0,0,0,0.4) 65%, rgba(0,0,0,0.95) 100%);
}
.hero__overlay .wrap {
  width: 100%;
  max-width: 1280px;
}
.hero__headline {
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(28px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 14px 0 14px;
  color: #fff;
  max-width: 1000px;
  text-wrap: balance;
}
.hero__deck {
  font-family: var(--sans);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.45;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  max-width: 760px;
  margin: 0;
}

@media (max-width: 700px) {
  .hero__media { aspect-ratio: 4 / 3; }
  .hero__overlay { padding: 0 0 24px; background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.95) 100%); }
}

/* ============== TAGS ============== */
.tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 0;
  line-height: 1.2;
}
.tag--watchdog { background: var(--watchdog); color: #fff; }
.tag--review   { background: var(--review); color: #fff; }

/* ============== BANDS ============== */
.band {
  padding: 40px 0 32px;
  border-top: 1px solid var(--rule);
  background: var(--paper);
}
.hero + .band { border-top: 0; padding-top: 32px; }

.band__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  padding-bottom: 0;
}
.band__title {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 14px;
  border-left: 6px solid var(--accent);
  line-height: 1.1;
}
.band--reviews .band__title { border-left-color: var(--review); }
.band--more .band__title { border-left-color: var(--ink); }

.band__sub {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0;
  font-weight: 500;
}

/* ============== GRIDS ============== */
.grid { display: grid; }
.grid--3 {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
}
@media (max-width: 1100px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .grid--3 { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; } }
@media (max-width: 480px)  { .grid--3 { grid-template-columns: 1fr; } }

/* ============== CARDS (CNN-style: image-on-top, tight headline) ============== */
.card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: transparent;
  position: relative;
  min-width: 0;
}
.card__media {
  display: block;
  background: var(--paper-alt);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 12px;
  position: relative;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease, opacity .15s;
}
.card__media:hover img { transform: scale(1.04); opacity: 0.93; }

.card__body { display: flex; flex-direction: column; gap: 6px; }

.card__brand {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--review);
  margin-bottom: 0;
}
.card__brand--watchdog { color: var(--watchdog); }

.card__headline {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}
.card__headline a {
  color: var(--ink);
  text-decoration: none;
  transition: color .12s;
}
.card__headline a:hover { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

.card__deck {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 4px 0 0;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__price {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 800;
  color: var(--review);
  margin: 6px 0 0;
}
.card__price::before {
  content: "From ";
  font-weight: 600;
  color: var(--ink-muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-right: 4px;
}

/* ============== LEDGER ============== */
.ledger {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 32px;
  border-top: 1px solid var(--rule);
}
@media (max-width: 800px) { .ledger { grid-template-columns: 1fr; } }
.ledger__item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.ledger__tag {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 6px;
  border-radius: 0;
  justify-self: start;
  align-self: center;
  white-space: nowrap;
}
.ledger__tag--review { background: var(--review-bg); color: var(--review); }
.ledger__tag--watchdog { background: var(--watchdog-bg); color: var(--watchdog); }
.ledger__link {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink);
  text-decoration: none;
}
.ledger__link:hover { color: var(--accent); text-decoration: underline; }
.ledger__model { display: none; }

/* ============== ARTICLE PAGE ============== */
.article-page { padding: 48px 0 64px; background: var(--paper); }
.article-page .wrap { max-width: 760px; }
.article-page h1 {
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin: 14px 0 16px;
  text-wrap: balance;
}

.article-hero {
  margin: 0 0 28px;
  background: var(--paper-alt);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-hero figcaption {
  padding: 8px 0 0;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.article-meta {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}

.article-body {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.7;
  color: #1a1a1a;
}
.article-body p { margin: 0 0 20px; }
.article-body h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 22px;
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}
.article-body h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  margin: 28px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.article-body a { color: var(--accent); text-underline-offset: 3px; }
.article-body blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--accent);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 20px;
}
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 22px; }
.article-body li { margin: 0 0 8px; }

/* product card on review articles */
.product-card {
  background: var(--paper-alt);
  border-left: 4px solid var(--review);
  padding: 22px 24px;
  margin: 28px 0 32px;
  font-family: var(--sans);
}
.product-card__brand {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--review);
  margin: 0 0 4px;
}
.product-card__model {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 22px;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.product-card__price {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 14px;
}
.product-card__price small {
  font-size: 11px; font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-right: 6px;
}
.product-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff9900;
  color: #111;
  font-weight: 800;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background .15s, transform .12s;
  box-shadow: 0 1px 0 rgba(0,0,0,0.1);
}
.product-card__cta:hover { background: #ffa31a; transform: translateY(-1px); }
.product-card__cta::after { content: "→"; }
.product-card__specs {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.product-card__specs li {
  font-size: 13px;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}
.product-card__specs li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--review);
  font-weight: 800;
}
.product-card__usecases { margin: 14px 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
.product-card__usecase {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--review-bg);
  color: var(--review);
  padding: 4px 9px;
}
.product-card__disclosure {
  font-size: 11px;
  color: var(--ink-muted);
  font-style: italic;
  margin: 14px 0 0;
}

/* videos */
.videos-block {
  margin: 36px 0;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.videos-block h2 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.video-embed { margin: 0 0 20px; }
.video-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  background: #000;
}
.video-embed figcaption {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
}
.video-embed figcaption strong { color: var(--ink); font-weight: 700; }

/* sources */
.sources-block {
  margin-top: 40px;
  padding: 22px 24px;
  background: var(--paper-alt);
  border-left: 4px solid var(--accent);
  font-family: var(--sans);
  font-size: 14px;
}
.sources-block h2 {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.sources-block ol { padding-left: 22px; margin: 0; }
.sources-block li { margin-bottom: 12px; line-height: 1.5; }
.sources-block .publisher { color: var(--ink-muted); font-size: 13px; }
.sources-block a { color: var(--accent); }

.translations-strip {
  margin-top: 32px;
  padding: 14px 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  font-family: var(--sans); font-size: 12px;
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}
.translations-strip .label { color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.translations-strip a {
  color: var(--ink);
  text-decoration: none;
  padding: 5px 10px;
  border: 1px solid var(--rule);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.translations-strip a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* reports list page */
.reports-page { padding: 48px 0 64px; }
.reports-page .wrap { max-width: 1040px; }
.reports-page h1 {
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 12px;
}
.report-list { list-style: none; padding: 0; margin: 0; }
.report-list li { border-bottom: 1px solid var(--rule); padding: 24px 0; }
.report-list li h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}
.report-list li h2 a { color: var(--ink); text-decoration: none; }
.report-list li h2 a:hover { color: var(--accent); }
.report-list li .summary {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 6px;
  line-height: 1.5;
}
.report-list li .meta {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--ink-muted);
  margin: 0;
}

/* footer */
.site-footer {
  background: #0a0a0a;
  color: #aaa;
  padding: 36px 0 28px;
  margin-top: 48px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
}
.site-footer .wrap { max-width: 1280px; }
.site-footer .disclaimer { margin: 0 0 12px; opacity: 0.75; max-width: 880px; }
.site-footer .rights { margin: 0; opacity: 0.5; font-size: 12px; }

/* ============== CONTACT PAGE ============== */
.contact-wrap { max-width: 880px; }
.contact-intro {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 36px;
  max-width: 720px;
}

.contact-reasons {
  margin: 0 0 44px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.contact-reasons h2 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 22px;
  color: var(--ink);
}
.contact-reasons__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
}
.contact-reason {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
}
.contact-reason__num {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.contact-reason__body h3 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.3;
  margin: 4px 0 6px;
  color: var(--ink);
}
.contact-reason__body p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

.contact-form-wrap {
  margin: 36px 0 0;
  padding: 24px;
  background: var(--paper-alt);
  border: 1px solid var(--rule);
}
.contact-form {
  width: 100%;
  min-height: 600px;
  border: 0;
  background: #fff;
}
.contact-form__fallback {
  margin: 14px 0 0;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-form__fallback a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}
.contact-form__fallback a:hover { text-decoration: underline; }
.contact-form__powered {
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
}

/* Footer nav */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 14px 0;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.footer-nav a {
  color: #ccc;
  text-decoration: none;
  transition: color .12s;
}
.footer-nav a:hover { color: var(--accent); }
