/* ============================================================
   GT — General Tech Blog Archive
   (based on firmwarefile design – same accent, fonts, speed)
   ============================================================ */

/* ── Page background ────────────────────────────────────────── */
.gt-archive { background: #f8f9fb; min-height: 80vh; }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.gt-breadcrumb { background: #0f172a; padding: 10px 24px; }
.gt-breadcrumb__list {
  max-width: 1200px; margin: 0 auto; list-style: none; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px;
}
.gt-breadcrumb__list li              { color: rgba(255,255,255,.3); }
.gt-breadcrumb__list li + li::before { content: '›'; margin-right: 6px; }
.gt-breadcrumb__list a               { color: rgba(255,255,255,.45); text-decoration: none; transition: color .2s; }
.gt-breadcrumb__list a:hover         { color: #fff; }
.gt-breadcrumb__list [aria-current]  { color: rgba(255,255,255,.75); }

/* ── Hero (same visual, no firmware wording) ─────────────────── */
.gt-arc-hero {
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
  padding: 32px 24px 28px;
}
.gt-arc-hero__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 220px;
  column-gap: 40px; row-gap: 12px; align-items: start;
}
.gt-arc-hero__meta  { grid-column: 1; grid-row: 1; }
.gt-arc-hero__stats { grid-column: 2; grid-row: 1; }
.gt-arc-hero__tip   { grid-column: 1 / -1; grid-row: 2; }

.gt-arc-hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.1px; color: #60a5fa;
}
.gt-arc-hero__badge::before {
  content: ''; width: 18px; height: 2px;
  background: #60a5fa; border-radius: 2px; display: block;
}

.gt-arc-hero__title {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(28px, 3.5vw, 46px); font-weight: 900;
  color: #f8fafc; line-height: 1.1; margin: 0; letter-spacing: -.7px;
}
.gt-arc-hero__title span { color: #60a5fa; }

.gt-arc-hero__desc {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 14.5px; line-height: 1.7; color: rgba(255,255,255,.5);
  max-width: 520px; margin: 0;
}

/* Stats – same card style but different labels */
.gt-arc-hero__stats {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  overflow: hidden;
}
.gt-arc-hero__stat {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.gt-arc-hero__stat:last-child { border-bottom: none; }
.gt-arc-hero__stat-n {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 22px; font-weight: 900; color: #f8fafc; line-height: 1;
}
.gt-arc-hero__stat-l {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; color: rgba(255,255,255,.35);
}

/* Tip (replaces warning) */
.gt-arc-hero__tip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12.5px; background: rgba(96,165,250,.08);
  border: 1px solid rgba(96,165,250,.20);
  border-radius: 9px; padding: 8px 14px; width: fit-content;
  color: rgba(255,255,255,.7);
}
.gt-arc-hero__tip-icon { color: #60a5fa; font-size: 14px; }
.gt-arc-hero__tip strong { color: #bfdbfe; }

/* ── Body layout (identical grid) ───────────────────────────── */
.gt-arc-body {
  max-width: 1200px; margin: 0 auto;
  padding: 28px 24px 72px;
  display: grid; grid-template-columns: 1fr 268px;
  gap: 28px; align-items: start;
}

/* ── Toolbar ────────────────────────────────────────────────── */
.gt-arc-toolbar {
  display: flex; align-items: center;
  justify-content: space-between; gap: 14px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.gt-arc-toolbar__count {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 13px; color: #94a3b8; margin: 0;
}
.gt-arc-toolbar__count strong { color: #0f172a; font-weight: 700; }
.gt-arc-toolbar__sort { display: flex; align-items: center; gap: 8px; }
.gt-arc-toolbar__sort-label {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12px; font-weight: 600; color: #94a3b8;
}
.gt-arc-toolbar__sort-wrap { position: relative; }
.gt-arc-toolbar__select {
  appearance: none;
  background: #fff; border: 1px solid #e2e8f0;
  border-radius: 8px; padding: 7px 28px 7px 12px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12.5px; font-weight: 600; color: #0f172a;
  cursor: pointer;
}
.gt-arc-toolbar__select:focus { border-color: #2563eb; }
.gt-arc-toolbar__select-arrow {
  position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: #cbd5e1; font-size: 11px;
}

/* ── Cards (left accent bar preserved) ───────────────────────── */
.gt-arc-grid { display: flex; flex-direction: column; gap: 6px; }

.gt-arc-card {
  background: #fff;
  border: 1px solid #e9edf2;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: center;
  overflow: hidden;
  position: relative;
  transition: box-shadow .2s, transform .18s;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.gt-arc-card::before {
  content: ''; position: absolute;
  left: 0; top: 14px; bottom: 14px; width: 3px;
  border-radius: 0 3px 3px 0;
  background: transparent; transition: background .2s;
}
.gt-arc-card:hover::before { background: #2563eb; }
.gt-arc-card:hover {
  box-shadow: 0 6px 20px rgba(15,23,42,.08);
  transform: translateY(-1px);
  border-color: #bfdbfe;
}

.gt-arc-card__thumb {
  width: 84px; height: 84px;
  background: #f1f5f9;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 8px;
  border-right: 1px solid #f1f5f9;
}
.gt-arc-card__placeholder { font-size: 26px; }
.gt-arc-card__img {
  width: 100%; height: 100%;
  object-fit: contain; transition: transform .28s;
}
.gt-arc-card:hover .gt-arc-card__img { transform: scale(1.07); }

.gt-arc-card__body {
  padding: 14px 16px; display: flex; flex-direction: column; gap: 5px;
}
.gt-arc-card__title {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 14px; font-weight: 700; line-height: 1.35; color: #0f172a; margin: 0;
}
.gt-arc-card__title a {
  text-decoration: none; color: inherit;
  display: -webkit-box; -webkit-line-clamp: 1;
  -webkit-box-orient: vertical; overflow: hidden;
}
.gt-arc-card:hover .gt-arc-card__title a { color: #2563eb; }

.gt-arc-card__meta {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.gt-arc-card__category {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 10.5px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .5px; color: #2563eb; text-decoration: none;
}
.gt-arc-card__dot  { color: #e2e8f0; font-size: 12px; }
.gt-arc-card__date,
.gt-arc-card__read {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 11.5px; color: #94a3b8; font-weight: 500;
}

.gt-arc-card__cta {
  flex-shrink: 0; margin-right: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 99px;
  border: 1.5px solid #e2e8f0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12.5px; font-weight: 700;
  color: #475569; text-decoration: none; background: #fff;
  white-space: nowrap;
}
.gt-arc-card:hover .gt-arc-card__cta {
  background: #2563eb; border-color: #2563eb; color: #fff;
}
.gt-arc-card:hover .gt-arc-card__cta svg { stroke: #fff; }

/* ── Empty state ────────────────────────────────────────────── */
.gt-arc-empty { text-align: center; padding: 56px 24px; }
/* ... same as original but with .gt-... */

/* ── Pagination (identical) ─────────────────────────────────── */
.gt-pagination { margin-top: 24px; }
/* ... same styling but class renamed */

/* ── Sidebar (topics instead of brands) ─────────────────────── */
.gt-arc-sidebar { position: sticky; top: calc(var(--btt-header-h,62px) + 16px); }
.gt-arc-sidebar__box {
  background: #fff; border: 1px solid #e9edf2;
  border-radius: 16px; overflow: hidden;
}
.gt-arc-sidebar__title {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 10.5px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; color: #94a3b8;
  padding: 15px 18px 11px; border-bottom: 1px solid #f1f5f9;
}
.gt-arc-topic-list { list-style: none; margin: 0; padding: 6px 0; }
.gt-arc-topic-item { margin: 0; }
.gt-arc-topic-link {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px; text-decoration: none;
}
.gt-arc-topic-link:hover,
.gt-arc-topic-item.is-active .gt-arc-topic-link { background: #f8faff; }
.gt-arc-topic-icon {
  width: 30px; height: 30px; border-radius: 8px;
  background: #eff6ff; border: 1px solid #dbeafe;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12px; font-weight: 900; color: #2563eb;
}
.gt-arc-topic-name {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 13px; font-weight: 600; color: #0f172a; flex: 1;
}
.gt-arc-topic-count {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 11px; font-weight: 700; color: #2563eb;
  background: #eff6ff; border: 1px solid #dbeafe;
  padding: 2px 8px; border-radius: 99px;
}

/* ── Responsive (same breakpoints) ──────────────────────────── */
@media (max-width: 960px) {
  .gt-arc-body { grid-template-columns: 1fr; }
  .gt-arc-sidebar { display: none; }
}
@media (max-width: 640px) {
  .gt-arc-hero__inner { grid-template-columns: 1fr; row-gap: 16px; }
  .gt-arc-hero__stats {
    grid-column: 1; grid-row: 2;
    flex-direction: row; background: #f8f9fb;
    border-radius: 12px; border: none; gap: 20px;
  }
  .gt-arc-hero__stat { padding: 0; border-bottom: none; flex-direction: column; }
  .gt-arc-hero__tip { grid-row: 3; }
  .gt-arc-card { grid-template-columns: 68px 1fr; }
  .gt-arc-card__cta { display: none; }
}