/*** TAPSIGNER articles: editorial, direct, and product-led. ***/

:root {
  --ts-black: #071116;
  --ts-navy: #00283b;
  --ts-navy-soft: #0d3443;
  --ts-orange: #f89521;
  --ts-orange-pale: #ffd39d;
  --ts-cream: #f4f1ea;
  --ts-paper: #fffefa;
  --ts-ink: #102129;
  --ts-muted: #60717a;
  --ts-line: #cdd4d5;
}

body {
  background: var(--ts-cream);
  color: var(--ts-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#top-navbar,
#top-navbar .menu-items,
.menu-items .header.item {
  background: var(--ts-black) !important;
  color: #ffffff !important;
}

#top-navbar {
  border-bottom: 1px solid rgba(248, 149, 33, 0.42) !important;
  box-shadow: none !important;
}

#top-navbar .twitter.icon,
#top-navbar-dropdown-button,
#top-navbar-dropdown-menu > * {
  color: #ffffff !important;
}

#top-navbar .menu-items > .header.item:hover,
#top-navbar .menu-items > .header.item.active,
.ui.container > .header.item:hover,
.right.menu > .header.item:hover,
#top-navbar-dropdown-button.active,
#top-navbar-dropdown-button:hover {
  background: var(--ts-orange) !important;
  color: var(--ts-black) !important;
}

#top-navbar-dropdown-menu {
  background: var(--ts-navy-soft);
}

#top-navbar-dropdown-menu > .header.item:hover {
  background: var(--ts-orange) !important;
  color: var(--ts-black) !important;
}

.content-page {
  margin: 0 auto clamp(5rem, 9vw, 8rem);
  max-width: 920px;
  padding-top: clamp(2rem, 5vw, 4rem);
}

.content-breadcrumbs {
  align-items: center;
  color: var(--ts-muted);
  font-size: 0.72rem;
  font-weight: 800;
  gap: 0.7rem;
  letter-spacing: 0.12em;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  text-transform: uppercase;
}

.content-breadcrumbs a {
  color: var(--ts-navy);
  text-decoration: none;
}

.content-breadcrumbs a:hover {
  color: #ad5a00;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.content-header {
  border-bottom: 1px solid var(--ts-line);
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
  padding: 0 0 clamp(3rem, 6vw, 5rem);
}

.content-eyebrow {
  color: #ad5a00;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  margin-bottom: 1.4rem;
  text-transform: uppercase;
}

.content-header h1 {
  color: var(--ts-navy);
  font-size: clamp(3rem, 8vw, 5.8rem);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.96;
  margin: 0 0 2rem;
  max-width: 900px;
}

.content-deck {
  color: #344b56;
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  line-height: 1.55;
  margin: 0;
  max-width: 760px;
}

.content-byline {
  color: var(--ts-muted);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.035em;
  margin: 2rem 0 0;
}

.content-body {
  font-size: clamp(1.05rem, 1.4vw, 1.16rem);
  line-height: 1.78;
}

.content-body > p:first-child {
  background: var(--ts-black);
  border-left: 7px solid var(--ts-orange);
  color: #ecf1f2;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.65;
  margin: 0 0 clamp(3.5rem, 7vw, 6rem);
  padding: clamp(1.6rem, 4vw, 2.6rem);
}

.content-body > p:first-child strong {
  color: var(--ts-orange-pale);
}

.content-body h2,
.content-sources h2 {
  color: var(--ts-navy);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: clamp(4.5rem, 8vw, 7rem) 0 1.4rem;
  padding-top: 1.25rem;
  position: relative;
}

.content-body h2::before,
.content-sources h2::before {
  background: var(--ts-orange);
  content: '';
  height: 4px;
  left: 0;
  position: absolute;
  top: 0;
  width: 3.25rem;
}

.content-body h3 {
  color: var(--ts-navy);
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-weight: 780;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 3rem 0 0.8rem;
}

.content-body p,
.content-body ul,
.content-body ol {
  max-width: 800px;
}

.content-body li {
  margin-bottom: 0.55rem;
  padding-left: 0.3rem;
}

.content-body li::marker {
  color: #ad5a00;
  font-weight: 900;
}

.content-body a,
.content-sources a,
.content-correction a {
  color: #005d82;
  font-weight: 750;
  text-decoration-color: var(--ts-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22rem;
}

.content-body blockquote {
  background: transparent;
  border: 0;
  border-left: 7px solid var(--ts-orange);
  color: var(--ts-navy);
  font-size: 1.12em;
  font-weight: 680;
  margin: 3rem 0;
  padding: 0.5rem 0 0.5rem clamp(1.25rem, 3vw, 2rem);
}

.content-body table {
  border: 0;
  border-bottom: 1px solid var(--ts-line);
  border-radius: 0;
  margin: 2.5rem 0;
}

.content-body th,
.content-body td {
  border: 0;
  border-top: 1px solid var(--ts-line);
  min-width: 9rem;
  padding: 1.05rem 0.9rem;
}

.content-body th {
  background: var(--ts-navy);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.content-body tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.45);
}

.content-sources {
  background: var(--ts-black);
  border: 0;
  color: #c7d2d6;
  margin: clamp(4rem, 8vw, 7rem) 0 0;
  padding: clamp(1.75rem, 5vw, 3.5rem);
}

.content-sources h2 {
  color: #ffffff;
  margin-top: 0;
}

.content-sources a {
  color: var(--ts-orange-pale);
}

.content-sources li {
  margin-bottom: 0.7rem;
}

.content-correction {
  background: transparent;
  border: 0;
  border-left: 4px solid var(--ts-orange);
  border-radius: 0;
  color: var(--ts-ink);
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 2.5rem;
  padding: 0.45rem 0 0.45rem 1rem;
}

#footer {
  background: var(--ts-black) !important;
  border-top: 1px solid rgba(248, 149, 33, 0.65) !important;
}

@media (max-width: 767px) {
  #top-navbar .menu-items {
    background: var(--ts-black) !important;
    border-bottom: 2px solid var(--ts-orange);
  }

  .content-page {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 1.5rem;
  }

  .content-header h1 {
    font-size: clamp(2.75rem, 14vw, 4.25rem);
  }

  .content-body > p:first-child,
  .content-sources {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
  }

  .content-body table {
    font-size: 0.95rem;
  }
}
