/* ═══════════════════════════════════════════════════
   gox-journal.css
   Shared stylesheet for GOX Journal articles.
   Fonts loaded per-page via Google Fonts link tag:
   EB Garamond (headings) + Arsenal (body)
   ═══════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --accent:        #d34a90;
  --accent-dark:   #b03878;
  --accent-soft:   #f7e8f2;
  --ink:           #111010;
  --paper:         #f8f6f3;
  --paper-mid:     #f2efe9;
  --subtle:        #8a8480;
  --rule:          #e4dfd7;
  --warm:          #9a6200;
}


/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }


/* ─── BASE ─── */
body {
  font-family: 'Arsenal', sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.75;
}

a               { color: var(--accent); }
a:hover         { color: var(--accent-dark); }

p               { margin-bottom: 18px; }
p:last-child    { margin-bottom: 0; }


/* ─── HEADER ─── */
.site-header {
  background: var(--ink);
  padding: 0 32px;
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* Creates 3 equal zones */
  align-items: center;

  .header-nav-left {
    display: flex;
    align-items: center;
  }

  .header-nav-forward {
    justify-self: end; /* Pushes shop link strictly to the right edge */
  }

  .header-nav-back,
  .header-nav-forward {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #aaa;
    text-decoration: none;
    transition: color .15s ease;

    &:hover { color: #fff; }
  }

  .header-logo {
    a { display: block; }
    img { height: 32px; width: auto; display: block; }
  }
}

/* ─── ARTICLE WRAPPER ─── */
.article {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 24px 88px;
}


/* ─── HERO ─── */
.article-label {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

h1 {
  font-family: 'EB Garamond', serif;
  font-size: 52px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 20px;
}

.article-intro {
  font-size: 18px;
  color: #4a4644;
  max-width: 660px;
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-image {
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 44px;
  background: #1a1818;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ─── QUICK-PICK BOX ─── */
.quick-pick {
  background: var(--ink);
  border-radius: 14px;
  padding: 26px 30px 28px;
  margin-bottom: 56px;
}

.quick-pick-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.pick-rows { display: flex; flex-direction: column; }

.pick-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  padding: 11px 0;
  border-bottom: 1px solid #222;
  font-size: 16px;
  line-height: 1.5;
}
.pick-row:last-child  { border-bottom: none; padding-bottom: 0; }
.pick-row:first-child { padding-top: 0; }

.pick-role  { font-size: 16px; color: #bbb; flex-shrink: 0; }
.pick-arrow { color: #666; font-size: 15px; }

.pick-row a {
  font-size: 16px;
  color: #f0ece6;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 1px;
  transition: color .15s;
}
.pick-row a:hover { color: var(--accent); }

.quick-pick-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #222;
  font-size: 16px;
  color: #aaa;
}


/* ─── DIVIDER ─── */
hr { border: none; border-top: 1px solid var(--rule); margin: 52px 0; }


/* ─── STATUS BADGE ─── */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.badge-recommend { background: var(--accent-soft); color: var(--accent-dark); }
.badge-top       { background: #111; color: var(--accent); border: 1px solid var(--accent); }
.badge-legacy    { background: #efefef; color: #888; }
.badge-niche     { background: #fdf3e3; color: var(--warm); }


/* ─── SECTION HEADING ─── */
h2 {
  font-family: 'EB Garamond', serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 16px;
}
h2 a        { color: inherit; text-decoration: none; }
h2 a:hover  { color: var(--accent); }


/* ─── PRODUCT IMAGE GRID ─── */
.product-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0 28px;
}

.product-image-tile {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #e8e4de;
}
.product-image-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ─── CALLOUT BOX ─── */
.callout-box {
  background: #fff8fc;
  border: 1.5px solid #e8b8d4;
  border-radius: 10px;
  padding: 18px 22px;
  margin: 28px 0;
  font-size: 18px;
}

.callout-label {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  display: block;
  margin-bottom: 8px;
}


/* ─── VARIANT / SIZE CHIPS ─── */
.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

.chip {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 4px;
  padding: 4px 9px;
  text-decoration: none;
  transition: background .15s;
}
.chip:hover          { background: #eecfe3; color: var(--accent-dark); }
.chip.chip-disabled  { text-decoration: line-through; color: var(--subtle); background: #eee; }


/* ─── VERDICT ─── */
.verdict {
  background: var(--paper-mid);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin-top: 22px;
  font-size: 17px;
}
.verdict p          { margin-bottom: 12px; }
.verdict p:last-child { margin-bottom: 0; }

.verdict-label {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--subtle);
  display: block;
  margin-bottom: 7px;
}


/* ─── CTA BUTTON ─── */
.cta-btn {
  display: inline-block;
  margin-block-start: 18px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 11px 22px;
  border-radius: 7px;
  text-decoration: none;
  transition: background .15s ease;

  &:hover {
    background: var(--accent-dark);
  }
}

/* ─── SUMMARY TABLE ─── */
.summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin-top: 24px;
}

.summary-table th {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--subtle);
  text-align: left;
  padding: 0 14px 10px 0;
  border-bottom: 2px solid var(--rule);
}

.summary-table td {
  padding: 14px 14px 14px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.summary-table tr:last-child td  { border-bottom: none; }
.summary-table td:first-child    { font-weight: 600; }
.summary-table td a              { font-weight: 700; }


/* ─── CLOSING BLOCK ─── */
.closing {
  background: var(--ink);
  color: #f0ece6;
  border-radius: 14px;
  padding: 32px 36px;
  margin-top: 52px;
  font-size: 16px;
  line-height: 1.65;
}
.closing a            { color: var(--accent); font-weight: 700; }
.closing-subtext      { margin-top: 14px; color: #aaa; }


/* ─── FOOTER ─── */
.site-footer {
  background: var(--ink);
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo            { opacity: 0.5; transition: opacity .15s; }
.footer-logo:hover      { opacity: 1; }
.footer-logo img        { height: 26px; filter: grayscale(1); display: block; }
.footer-logo a          { display: block; }

.footer-nav             { display: flex; gap: 24px; }
.footer-nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #aaa;
  text-decoration: none;
  transition: color .15s;
}
.footer-nav a:hover     { color: var(--accent); }


/* ─── RESPONSIVE ─── */
@media (max-width: 580px) {
  .site-header {
    display: flex;
    padding: 12px 16px;
    height: auto;
    flex-direction: column;
    gap: 8px;
  }
  .header-nav-back,
  .header-nav-forward   { font-size: 11px; letter-spacing: .08em; }
  .header-logo img      { height: 26px; }

  .article              { padding: 36px 16px 60px; }

  h1                    { font-size: 36px; }

  .quick-pick           { padding: 20px 18px; }

  .product-images       { gap: 6px; }

  .summary-table,
  .summary-table thead,
  .summary-table tbody,
  .summary-table th,
  .summary-table td,
  .summary-table tr     { display: block; width: 100%; }
  .summary-table thead  { display: none; }
  .summary-table td     { padding: 6px 0; border-bottom: none; }
  .summary-table tr     { border-bottom: 1px solid var(--rule); padding: 12px 0; }
  .summary-table td:first-child { font-weight: 700; color: var(--accent-dark); }

  .closing              { padding: 24px 20px; }

  .site-footer          { flex-direction: column; gap: 16px; text-align: center; }
}
