/* ============================================
   MOTUBA97 — Blog Review Mobil Jadul
   ============================================ */
:root {
  --bg: #f6f3ee;
  --paper: #ffffff;
  --ink: #1c1a17;
  --muted: #6f6a62;
  --line: #e2ddd4;
  --red: #c8102e;
  --red-dark: #9c0c24;
  --yellow: #f2b705;
  --radius: 10px;
  --maxw: 1080px;
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Top bar & nav ---------- */
.topbar {
  background: var(--ink);
  color: #cfc9bf;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  padding-top: 7px;
  padding-bottom: 7px;
}

header.site {
  background: var(--paper);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 50;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: .04em;
  color: var(--ink);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.logo:hover { text-decoration: none; }
.logo .n97 {
  background: var(--red);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
}
.logo .tld { font-size: 15px; color: var(--muted); letter-spacing: .1em; }
nav.main { display: flex; gap: 26px; }
nav.main a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
nav.main a:hover, nav.main a.active {
  color: var(--red);
  border-bottom-color: var(--red);
  text-decoration: none;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .45;
}
.hero .inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 90px 20px 100px;
}
.badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 18px;
}
.badge.yellow { background: var(--yellow); color: var(--ink); }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: .02em;
  max-width: 700px;
  text-shadow: 0 2px 18px rgba(0,0,0,.5);
}
.hero p.lead {
  margin-top: 16px;
  max-width: 560px;
  font-size: 18px;
  color: #e8e3da;
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.btn {
  display: inline-block;
  margin-top: 28px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 5px;
  transition: background .15s;
}
.btn:hover { background: var(--red-dark); text-decoration: none; }

/* racing stripe */
.stripe {
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--red) 0 24px,
    var(--ink) 24px 48px,
    var(--yellow) 48px 72px,
    var(--ink) 72px 96px
  );
}

/* ---------- Section headings ---------- */
section.block { padding: 56px 0 24px; }
.section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: .04em;
}
.section-head .rule { flex: 1; height: 3px; background: var(--ink); opacity: .12; }
.section-head .tag {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Article cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(28,26,23,.12);
}
.card .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .thumb .cat {
  position: absolute;
  left: 12px;
  top: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}
.card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 19px; line-height: 1.35; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--red); text-decoration: none; }
.card p { font-size: 14px; color: var(--muted); flex: 1; }
.card .meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}
.card .meta b { color: var(--red); }

/* featured card spans */
.card.featured { grid-column: span 3; flex-direction: row; }
.card.featured .thumb { flex: 1.3; aspect-ratio: auto; min-height: 320px; }
.card.featured .body { flex: 1; justify-content: center; padding: 36px; }
.card.featured h3 { font-size: 30px; }
.card.featured p { flex: 0 1 auto; font-size: 15px; }

/* ---------- About strip ---------- */
.about-strip {
  background: var(--ink);
  color: #d9d3c9;
  margin-top: 56px;
}
.about-strip .wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.about-strip h2 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 32px;
  letter-spacing: .04em;
  margin-bottom: 14px;
}
.about-strip p { font-size: 15px; }
.about-strip ul { list-style: none; display: grid; gap: 12px; align-content: center; }
.about-strip li {
  background: rgba(255,255,255,.05);
  border-left: 3px solid var(--red);
  padding: 12px 16px;
  font-size: 14px;
  border-radius: 0 6px 6px 0;
}

/* ---------- Footer ---------- */
footer.site {
  background: #14120f;
  color: #8d867b;
  font-size: 13px;
}
footer.site .wrap {
  padding-top: 34px;
  padding-bottom: 34px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
footer.site a { color: #c5beb2; }

/* ============================================
   ARTICLE PAGE
   ============================================ */
.post-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.post-hero img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .4;
}
.post-hero .inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 20px 70px;
  text-align: center;
}
.post-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: .02em;
  text-shadow: 0 2px 16px rgba(0,0,0,.55);
}
.post-hero .meta {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ded8cd;
}
.post-hero .meta span { margin: 0 10px; }

article.post {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}
article.post > p { margin-bottom: 22px; font-size: 17px; }
article.post p.opening::first-letter {
  font-family: var(--font-display);
  font-size: 64px;
  float: left;
  line-height: .85;
  padding: 6px 12px 0 0;
  color: var(--red);
}
article.post h2 {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: .04em;
  margin: 40px 0 14px;
  padding-left: 14px;
  border-left: 5px solid var(--red);
}
article.post figure { margin: 30px 0; }
article.post figure img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
article.post figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
}
article.post ul.checks { margin: 0 0 22px 4px; list-style: none; }
article.post ul.checks li { padding-left: 26px; position: relative; margin-bottom: 8px; }
article.post ul.checks li::before {
  content: "▸";
  position: absolute; left: 4px;
  color: var(--red);
  font-weight: 700;
}

/* spec table */
.spec {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 26px;
  font-size: 15px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec th, .spec td { padding: 11px 16px; text-align: left; }
.spec tr:nth-child(even) { background: #faf8f4; }
.spec th {
  width: 40%;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-right: 1px solid var(--line);
}
.spec tr + tr { border-top: 1px solid var(--line); }

/* plus / minus */
.pm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 10px 0 26px;
}
.pm .col {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.pm h3 {
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pm .plus h3 { color: #1e7a3c; }
.pm .minus h3 { color: var(--red); }
.pm ul { list-style: none; }
.pm li { padding-left: 22px; position: relative; margin-bottom: 8px; font-size: 14.5px; }
.pm .plus li::before { content: "+"; position: absolute; left: 2px; color: #1e7a3c; font-weight: 800; }
.pm .minus li::before { content: "–"; position: absolute; left: 2px; color: var(--red); font-weight: 800; }

/* verdict box */
.verdict {
  background: var(--ink);
  color: #ece7de;
  border-radius: var(--radius);
  padding: 30px 32px;
  margin: 36px 0 10px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}
.verdict .score {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--yellow);
  text-align: center;
}
.verdict .score small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #a8a196;
  margin-top: 6px;
}
.verdict h3 {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: .04em;
  color: #fff;
  margin-bottom: 6px;
}
.verdict p { font-size: 14.5px; }

/* gallery */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 10px 0 26px;
}
.gallery img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* back link */
.backlink {
  display: inline-block;
  margin-bottom: 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .card.featured { grid-column: span 2; flex-direction: column; }
  .card.featured .thumb { min-height: 220px; }
  .about-strip .wrap { grid-template-columns: 1fr; }
  nav.main { gap: 16px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .card.featured { grid-column: span 1; }
  .pm { grid-template-columns: 1fr; }
  .verdict { grid-template-columns: 1fr; text-align: center; }
  .topbar .wrap { justify-content: center; }
  .topbar .right { display: none; }
  header.site .wrap { flex-direction: column; gap: 10px; }
}
