/* NEXT AND PREVIOUS DOCUMENT LINKS */

.content-neighbors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 40px 0;
}

.content-neighbor {
  display: block;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  text-decoration: none;
  color: white;
}

.content-neighbor span {
  display: block;
  font-size: 12px;
  opacity: .65;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.content-neighbor strong {
  font-size: 16px;
  line-height: 1.3;
}

.content-neighbor.next {
  text-align: right;
}

/* FOOTER TABS */

.jb-tab-footer {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 9999;

  width: calc(100% - 28px);
  max-width: 520px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;

  padding: 10px;
  border-radius: 24px;

  background: rgba(5, 5, 5, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 30px rgba(255, 0, 0, 0.18),
    inset 0 0 18px rgba(255, 255, 255, 0.03);

  backdrop-filter: blur(16px);
}

.jb-tab {
  text-decoration: none;
  color: #aaa;

  text-align: center;
  padding: 12px 10px;
  border-radius: 18px;

  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  background: rgba(255, 255, 255, 0.04);
  transition: 0.2s ease;
}

.jb-tab:hover {
  color: #fff;
  background: rgba(255, 0, 0, 0.14);
}

.jb-tab.active {
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(255, 0, 0, 0.28),
    rgba(255, 255, 255, 0.06)
  );
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.22);
}

body {
  padding-bottom: 96px;
}

/* Category ROWS */

.content-index {
  padding: 40px 20px;
}

.content-row-section {
  margin-top: 44px;
}

.content-row-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.content-row-header h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 300;
}

.content-row-header span {
  color: #888;
  font-size: 13px;
}

.content-scroll-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 18px;
  scroll-snap-type: x mandatory;
}

.content-card {
  min-width: 280px;
  max-width: 280px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  color: white;
  text-decoration: none;
  scroll-snap-align: start;
  box-shadow: 0 0 40px rgba(255,0,0,.10);
}

.content-card-image,
.content-card-placeholder {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #111;
}

.content-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff2b2b;
  letter-spacing: .22em;
  font-size: 12px;
}

.content-card-body {
  padding: 18px;
}

.content-card-category {
  color: #ff2b2b;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.content-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 400;
}

.content-card p {
  color: #aaa;
  font-size: 14px;
  line-height: 1.5;
}

.content-card-link {
  display: inline-block;
  margin-top: 12px;
  color: #fff;
  font-size: 13px;
}

/* ORIGINAL */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #050505;
  color: white;
  font-family: Arial, sans-serif;
}

.content-loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: #ccc;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 0, 0, 0.26), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(255, 0, 0, 0.14), transparent 35%),
    #050505;
}

.content-page {
  min-height: 100vh;
  padding: 34px 20px 80px;
  background:
    radial-gradient(circle at 15% 5%, rgba(255, 0, 0, 0.24), transparent 32%),
    radial-gradient(circle at 85% 12%, rgba(255, 0, 0, 0.13), transparent 35%),
    linear-gradient(180deg, #080808, #020202);
}

.back-link {
  display: inline-flex;
  margin: 0 0 54px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
}

.content-hero,
.content-body,
.cover-image {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ff2a2a;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}

.live-dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 999px;
  background: #28ff75;
  box-shadow: 0 0 18px rgba(40, 255, 117, 0.8);
}

.live-dot.red {
  background: #ff1a1a;
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.8);
}

.content-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(40px, 8vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.excerpt {
  max-width: 760px;
  color: #cfcfcf;
  font-size: 20px;
  line-height: 1.65;
  margin: 28px 0 0;
}

.content-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.content-meta span {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: #ddd;
  border-radius: 999px;
  padding: 10px 13px;
  font-size: 13px;
}

.cover-image {
  display: block;
  width: 100%;
  margin-top: 46px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 0 70px rgba(255, 0, 0, 0.18);
}

.content-body {
  margin-top: 48px;
  color: #ededed;
  font-size: 19px;
  line-height: 1.9;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 30px;
  padding: clamp(24px, 5vw, 52px);
}


/* HOME PAGE CSS */

.content-grid {
  max-width: 1100px;
  margin: 54px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.content-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-radius: 28px;
  text-decoration: none;
  color: white;
  background:
    radial-gradient(circle at top left, rgba(255, 0, 0, 0.18), transparent 42%),
    rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.1);
}

.content-card-eyebrow {
  color: #ff2a2a;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
}

.content-card h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.05;
}

.content-card p {
  color: #bbb;
  line-height: 1.5;
}

.empty-message {
  color: #bbb;
}


/* MAIN PAGE LIST */

.meta-link {
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
  padding: 10px 13px;
  font-size: 13px;
}

.category-pill {
  width: fit-content;
  margin-top: 18px;
  color: #fff;
  border: 1px solid rgba(255, 42, 42, 0.35);
  background: rgba(255, 0, 0, 0.12);
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 12px;
}
