/*
Theme Name: The Joint Blog Orbit Flow
Theme URI: https://thejointblog.com/
Author: Tier1 Theme System
Description: Bright orbit-and-flow WordPress theme for broad useful information, link resources, updated addresses, access guidance, replay references, and trust-focused web reading.
Version: 1.1.0
Text Domain: thejointblog-com
*/

* {
  box-sizing: border-box;
}

:root {
  --tj-white: #ffffff;
  --tj-ice: #f7fcff;
  --tj-blue-ice: #eef8ff;
  --tj-ink: #11181d;
  --tj-text: #23323a;
  --tj-muted: #60717a;
  --tj-line: rgba(17, 24, 29, .82);
  --tj-cyan: #00b8d4;
  --tj-deep: #00758d;
  --tj-lime: #b8ff42;
}

html {
  scroll-behavior: smooth;
}

body.tj-theme-body {
  margin: 0;
  min-height: 100vh;
  background: var(--tj-ice);
  color: var(--tj-ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

.tj-theme-body a {
  color: inherit;
  text-decoration: none;
}

.tj-page {
  min-height: 100vh;
  background:
    linear-gradient(145deg, rgba(0, 184, 212, .1) 0 18%, transparent 18% 100%),
    linear-gradient(26deg, transparent 0 68%, rgba(184, 255, 66, .16) 68% 74%, transparent 74%),
    linear-gradient(180deg, var(--tj-white) 0, var(--tj-ice) 48%, var(--tj-blue-ice) 100%);
  overflow-x: hidden;
}

.tj-topbar {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 140px;
  min-height: 74px;
  border-bottom: 2px solid var(--tj-ink);
  background: rgba(255, 255, 255, .94);
}

.tj-topbar a,
.tj-topbar span,
.tj-topbar b {
  display: flex;
  align-items: center;
  padding: 0 22px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tj-topbar a {
  color: var(--tj-deep);
}

.tj-topbar span {
  min-width: 0;
  border-left: 2px solid var(--tj-ink);
  border-right: 2px solid var(--tj-ink);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tj-topbar b {
  justify-content: center;
  background: var(--tj-lime);
}

.tj-wrap {
  width: min(1260px, calc(100% - 36px));
  margin: 0 auto;
}

.tj-orbit-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(430px, .75fr);
  gap: 68px;
  align-items: center;
  min-height: 720px;
  padding: 56px 0 72px;
  border-bottom: 2px solid var(--tj-line);
}

.tj-brandline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.tj-brandline img {
  display: block;
  width: 58px;
  height: 58px;
}

.tj-brandline strong {
  display: block;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tj-brandline span span {
  display: block;
  margin-top: 5px;
  color: var(--tj-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tj-eyebrow {
  margin: 0 0 14px;
  color: var(--tj-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tj-hero-copy h1,
.tj-category-head h1,
.tj-article-copy h1,
.tj-flow-copy h2,
.tj-article-copy h2 {
  margin: 0;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tj-hero-copy h1 {
  max-width: 780px;
  font-size: 92px;
  line-height: .86;
}

.tj-hero-copy p:not(.tj-eyebrow),
.tj-category-head p:not(.tj-eyebrow) {
  max-width: 700px;
  margin: 24px 0 0;
  color: #33424b;
  font-size: 19px;
  line-height: 1.72;
}

.tj-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 32px;
  border-top: 2px solid var(--tj-ink);
  border-bottom: 2px solid var(--tj-ink);
}

.tj-hero-actions a {
  padding: 14px 18px;
  border-right: 2px solid var(--tj-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tj-hero-actions a:first-child {
  background: var(--tj-ink);
  color: var(--tj-white);
}

.tj-orbit {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  margin-left: auto;
  border: 3px solid var(--tj-ink);
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--tj-white) 0 25%, transparent 26%),
    conic-gradient(from 12deg, rgba(0, 184, 212, .22), rgba(184, 255, 66, .35), rgba(255, 255, 255, .24), rgba(0, 184, 212, .22));
}

.tj-orbit::before,
.tj-orbit::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 2px solid rgba(17, 24, 29, .45);
  border-radius: 50%;
}

.tj-orbit::after {
  inset: 34%;
  background: var(--tj-ink);
  box-shadow: inset 0 0 0 16px var(--tj-white);
}

.tj-orbit-title {
  position: absolute;
  z-index: 3;
  inset: 38%;
  display: grid;
  place-items: center;
  color: var(--tj-white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.tj-orbit a {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 2px solid var(--tj-ink);
  border-radius: 50%;
  background: var(--tj-white);
  color: var(--tj-ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.18;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 14px 0 rgba(17, 24, 29, .12);
}

.tj-orbit a span {
  display: block;
  margin-bottom: 5px;
  color: var(--tj-deep);
}

.tj-orbit a:nth-of-type(1) {
  top: -16px;
  left: calc(50% - 56px);
}

.tj-orbit a:nth-of-type(2) {
  top: 22%;
  right: -18px;
}

.tj-orbit a:nth-of-type(3) {
  bottom: 16%;
  right: 18px;
}

.tj-orbit a:nth-of-type(4) {
  bottom: -18px;
  left: calc(50% - 56px);
}

.tj-orbit a:nth-of-type(5) {
  bottom: 16%;
  left: 18px;
}

.tj-orbit a:nth-of-type(6) {
  top: 22%;
  left: -18px;
}

.tj-orbit a:hover {
  background: var(--tj-lime);
}

.tj-flow {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 70px;
  padding: 70px 0;
  border-bottom: 2px solid var(--tj-line);
}

.tj-flow-copy {
  position: sticky;
  top: 26px;
  align-self: start;
}

.tj-flow-copy h2,
.tj-article-copy h1,
.tj-article-copy h2 {
  font-size: 46px;
  line-height: .9;
}

.tj-flow-copy p:not(.tj-eyebrow),
.tj-article-copy p:not(.tj-eyebrow) {
  margin: 16px 0 0;
  color: #45545c;
}

.tj-river {
  position: relative;
  display: grid;
  gap: 42px;
  padding: 26px 0;
}

.tj-river::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(var(--tj-cyan), var(--tj-lime), var(--tj-ink));
  border-radius: 999px;
  transform: translateX(-50%);
}

.tj-flow-item {
  position: relative;
  width: min(48%, 560px);
  padding: 0 0 24px;
  border-bottom: 2px solid var(--tj-ink);
}

.tj-flow-item:nth-child(odd) {
  justify-self: start;
  text-align: right;
  padding-right: 48px;
}

.tj-flow-item:nth-child(even) {
  justify-self: end;
  padding-left: 48px;
}

.tj-flow-item::before {
  content: "";
  position: absolute;
  top: 8px;
  width: 22px;
  height: 22px;
  border: 3px solid var(--tj-ink);
  border-radius: 50%;
  background: var(--tj-lime);
}

.tj-flow-item:nth-child(odd)::before {
  right: -13px;
}

.tj-flow-item:nth-child(even)::before {
  left: -13px;
}

.tj-flow-item time {
  color: var(--tj-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tj-flow-item h3 {
  margin: 8px 0 0;
  font-size: 36px;
  line-height: .96;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tj-flow-item h3 a:hover {
  color: var(--tj-deep);
}

.tj-flow-item p {
  margin: 12px 0 0;
  color: #44535b;
  font-size: 16px;
}

.tj-article-mode {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 70px;
  padding: 70px 0 48px;
}

.tj-source-sheet {
  min-width: 0;
  border-top: 3px solid var(--tj-ink);
}

.tj-meta-line {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  border-bottom: 2px solid var(--tj-ink);
}

.tj-meta-line b,
.tj-meta-line span,
.tj-meta-line a {
  padding: 14px 0;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tj-meta-line b {
  color: var(--tj-deep);
}

.tj-meta-line a:hover {
  color: var(--tj-deep);
}

.tj-source-text {
  margin-top: 28px;
  columns: 2 280px;
  column-gap: 44px;
  color: var(--tj-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.82;
}

.tj-source-text p,
.tj-source-text li {
  margin: 0 0 16px;
}

.tj-source-text h2,
.tj-source-text h3,
.tj-source-text h4 {
  color: var(--tj-ink);
  break-after: avoid;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tj-source-text a {
  color: var(--tj-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tj-category-head {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 54px;
  align-items: end;
  min-height: 430px;
  padding: 54px 0;
  border-bottom: 2px solid var(--tj-line);
}

.tj-category-head .tj-brandline {
  margin-bottom: 0;
}

.tj-category-head h1 {
  max-width: 840px;
  font-size: 78px;
  line-height: .86;
}

.tj-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0;
  border-bottom: 2px solid var(--tj-line);
}

.tj-category-pills-compact {
  border-top: 2px solid var(--tj-line);
}

.tj-category-pills a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  border: 2px solid var(--tj-ink);
  border-radius: 999px;
  background: var(--tj-white);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tj-category-pills span {
  color: var(--tj-deep);
}

.tj-category-pills a:hover,
.tj-category-pills .is-active {
  background: var(--tj-lime);
}

.tj-category-flow {
  padding-top: 54px;
}

.tj-single-mode {
  min-height: 620px;
}

.tj-related {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 2px solid var(--tj-line);
}

.tj-related-line {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(17, 24, 29, .28);
}

.tj-related-line time {
  color: var(--tj-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tj-empty {
  margin: 0;
  max-width: 650px;
  color: var(--tj-text);
  font-size: 18px;
}

.tj-navigation {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  color: var(--tj-deep);
  font-weight: 900;
}

.tj-navigation .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  border-top: 2px solid var(--tj-line);
  padding-top: 16px;
}

.tj-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 34px;
  color: var(--tj-muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1040px) {
  .tj-topbar,
  .tj-orbit-hero,
  .tj-flow,
  .tj-article-mode,
  .tj-category-head {
    grid-template-columns: 1fr;
  }

  .tj-topbar span,
  .tj-topbar b {
    border-left: 0;
    border-right: 0;
    border-top: 2px solid var(--tj-ink);
  }

  .tj-orbit {
    margin: 30px auto 0;
  }

  .tj-flow-copy {
    position: static;
  }

  .tj-flow-item,
  .tj-flow-item:nth-child(odd),
  .tj-flow-item:nth-child(even) {
    width: min(100% - 54px, 680px);
    justify-self: end;
    text-align: left;
    padding-left: 44px;
    padding-right: 0;
  }

  .tj-river::before {
    left: 18px;
  }

  .tj-flow-item:nth-child(odd)::before,
  .tj-flow-item:nth-child(even)::before {
    left: -10px;
    right: auto;
  }
}

@media (max-width: 700px) {
  .tj-wrap {
    width: min(100% - 24px, 1260px);
  }

  .tj-hero-copy h1,
  .tj-category-head h1 {
    font-size: 46px;
  }

  .tj-flow-copy h2,
  .tj-article-copy h1,
  .tj-article-copy h2,
  .tj-flow-item h3 {
    font-size: 32px;
  }

  .tj-orbit {
    width: 100%;
    border-radius: 24px;
    aspect-ratio: auto;
    padding: 18px;
  }

  .tj-orbit::before,
  .tj-orbit::after,
  .tj-orbit-title {
    display: none;
  }

  .tj-orbit a {
    position: static;
    width: 100%;
    height: auto;
    min-height: 62px;
    margin-bottom: 10px;
    border-radius: 999px;
  }

  .tj-hero-actions a {
    width: 100%;
    border-right: 0;
    border-bottom: 2px solid var(--tj-ink);
  }

  .tj-meta-line,
  .tj-related-line {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .tj-foot {
    display: grid;
  }
}
