/* ============================================
   DOMAINBFF ARTICLES STYLES
   ============================================ */

/* --------------------------------------------
   CSS Variables (inherit from main design system)
   -------------------------------------------- */
:root {
  /* Brand Colors */
  --articles-orange: #feac5e;
  --articles-purple: #c779d0;
  --articles-teal: #4bc0c8;
  --articles-gradient: linear-gradient(90deg, #feac5e, #c779d0, #4bc0c8);

  /* Text Colors */
  --articles-text-dark: #1f2937;
  --articles-text-medium: #374151;
  --articles-text-light: #4b5563;
  --articles-text-muted: #6b7280;

  /* Background */
  --articles-bg: #ffffff;
  --articles-bg-gray: #f3f4f6;
  --articles-bg-gray-hover: #e5e7eb;

  /* Spacing */
  --articles-max-width: 1200px;
  --articles-content-max-width: 1280px;
}

/* --------------------------------------------
   ARTICLES SITE HEADER
   -------------------------------------------- */
.articles-site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.articles-site-nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.articles-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.articles-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.articles-logo {
  height: 2rem;
  width: auto;
}

.articles-nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .articles-nav-links {
    display: flex;
  }
  .articles-mobile-menu-btn {
    display: none !important;
  }
}

.articles-nav-dropdown {
  position: relative;
}

.articles-nav-button {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  font-family: 'Circular', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #374151;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: background-color 150ms ease;
}

.articles-nav-button:hover {
  background-color: #f3f4f6;
}

.articles-nav-button svg {
  transition: transform 150ms ease;
}

.articles-nav-dropdown:hover .articles-nav-button svg {
  transform: rotate(180deg);
}

.articles-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 320px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  padding: 0.5rem;
  z-index: 200;
}

.articles-nav-dropdown:hover .articles-dropdown-menu {
  display: block;
}

.articles-dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 150ms ease;
}

.articles-dropdown-item:hover {
  background-color: #f3f4f6;
}

.articles-dropdown-title {
  display: block;
  font-family: 'Circular', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.articles-dropdown-desc {
  display: block;
  font-family: 'Circular', system-ui, sans-serif;
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.4;
}

.articles-dropdown-item.coming-soon {
  opacity: 0.5;
  pointer-events: none;
}

.articles-dropdown-item.coming-soon .articles-dropdown-title::after {
  content: 'Coming Soon';
  margin-left: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: #9ca3af;
  background: #f3f4f6;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
}

.articles-nav-link {
  padding: 0.5rem 0.75rem;
  font-family: 'Circular', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: background-color 150ms ease;
}

.articles-nav-link:hover {
  background-color: #f3f4f6;
}

.articles-nav-cta {
  margin-left: 0.5rem;
  padding: 0.5rem 1.25rem;
  font-family: 'Circular', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: white !important;
  background-color: #1f2937;
  text-decoration: none;
  border-radius: 9999px;
  transition: background-color 150ms ease;
}

.articles-nav-cta:hover {
  background-color: #374151;
}

.articles-mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #374151;
}

.articles-mobile-menu {
  display: none;
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  padding: 1rem;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 99;
  overflow-y: auto;
}

.articles-mobile-menu.open {
  display: flex;
}

.articles-mobile-menu a {
  padding: 0.875rem 1rem;
  font-family: 'Circular', system-ui, sans-serif;
  font-size: 1rem;
  color: #374151;
  text-decoration: none;
  border-radius: 0.5rem;
}

.articles-mobile-menu a:hover {
  background-color: #f3f4f6;
}

.articles-mobile-menu-section {
  padding: 0.5rem 1rem;
  font-family: 'Circular', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* --------------------------------------------
   BASE LAYOUT
   -------------------------------------------- */
.articles-page {
  background-color: var(--articles-bg);
  min-height: 100vh;
}

.articles-container {
  max-width: var(--articles-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --------------------------------------------
   ARTICLES INDEX - HEADER
   -------------------------------------------- */
.articles-header {
  text-align: center;
  padding: 3rem 1.5rem 2rem;
}

@media (min-width: 768px) {
  .articles-header {
    padding: 6rem 1.5rem 5rem;
  }
}

.articles-title {
  font-family: 'Circular', system-ui, -apple-system, sans-serif;
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--articles-text-dark);
  letter-spacing: -0.0125em;
  line-height: 1.1;
  margin: 0 0 0.75rem 0;
}

@media (min-width: 640px) {
  .articles-title {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .articles-title {
    font-size: 3.75rem;
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .articles-title {
    font-size: 5.333rem;
  }
}

.articles-subtitle {
  font-family: 'Circular', system-ui, -apple-system, sans-serif;
  font-size: 1.125rem;
  color: var(--articles-text-light);
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 768px) {
  .articles-subtitle {
    font-size: 1.5rem;
    line-height: 2.25rem;
  }
}

/* --------------------------------------------
   ORANGE SQUIGGLE DECORATION
   -------------------------------------------- */
.articles-squiggles {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding-top: 2.5rem;
}

.articles-squiggle {
  color: var(--articles-orange);
}

.articles-squiggle svg {
  width: 52px;
  height: 14px;
}

/* --------------------------------------------
   ARTICLES GRID
   -------------------------------------------- */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3rem 0 5rem;
  list-style: none;
  margin: 0;
}

@media (min-width: 768px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 6rem 0 8rem;
  }
}

/* --------------------------------------------
   ARTICLE CARD (on index)
   -------------------------------------------- */
.article-card {
  padding: 1.5rem 0;
}

@media (min-width: 768px) {
  .article-card {
    padding: 2.5rem 0;
  }
}

.article-card-title {
  padding-bottom: 1rem;
  text-align: center;
  margin: 0;
}

@media (min-width: 768px) {
  .article-card-title {
    text-align: left;
  }
}

.article-card-link {
  font-family: 'Circular', system-ui, -apple-system, sans-serif;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: var(--articles-text-dark);
  text-decoration: none;
  transition: color 150ms ease-in-out;
}

@media (min-width: 768px) {
  .article-card-link {
    font-size: 1.875rem;
    line-height: 2.5rem;
  }
}

.article-card-link:hover {
  color: var(--articles-teal);
}

.article-card-excerpt {
  font-family: 'Circular', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--articles-text-light);
  text-align: center;
  margin: 0;
}

@media (min-width: 768px) {
  .article-card-excerpt {
    font-size: 1.125rem;
    text-align: left;
  }
}

/* --------------------------------------------
   AUTHOR CHIP
   -------------------------------------------- */
.author-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1.5rem;
}

@media (min-width: 768px) {
  .author-chip {
    justify-content: flex-start;
  }
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
  margin-left: 0.75rem;
}

.author-name {
  font-family: 'Circular', system-ui, -apple-system, sans-serif;
  font-weight: 600;
  color: var(--articles-text-medium);
  font-size: 0.9375rem;
  line-height: 1.2;
}

.author-meta {
  font-family: 'Circular', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  color: var(--articles-text-muted);
  font-size: 0.875rem;
}

/* --------------------------------------------
   INDIVIDUAL ARTICLE PAGE - LAYOUT
   -------------------------------------------- */
.article-page-container {
  position: relative;
  max-width: var(--articles-content-max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

@media (min-width: 768px) {
  .article-page-container {
    padding: 6rem 1.5rem 8rem;
  }
}

@media (min-width: 1024px) {
  .article-page-container {
    display: flex;
    gap: 4rem;
  }
}

.article-content-wrapper {
  flex-grow: 1;
  min-width: 0;
}

.article-sidebar {
  margin-top: 4rem;
  width: 100%;
}

@media (min-width: 1024px) {
  .article-sidebar {
    margin-top: 0;
    width: 20rem;
    flex-shrink: 0;
    position: relative;
  }
}

/* --------------------------------------------
   ARTICLE HEADER
   -------------------------------------------- */
.article-page-title {
  font-family: 'Circular', system-ui, -apple-system, sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--articles-text-dark);
  letter-spacing: -0.0125em;
  line-height: 1.2;
  margin: 0 0 1.5rem 0;
}

@media (min-width: 768px) {
  .article-page-title {
    font-size: 3rem;
  }
}

.article-header-author {
  padding-top: 1.5rem;
}

/* --------------------------------------------
   ARTICLE BODY CONTENT
   -------------------------------------------- */
.article-body {
  padding-top: 2.5rem;
}

.article-body h2 {
  font-family: 'Circular', system-ui, -apple-system, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--articles-text-dark);
  margin: 2.5rem 0 1rem 0;
  line-height: 1.3;
}

.article-body h3 {
  font-family: 'Circular', system-ui, -apple-system, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--articles-text-dark);
  margin: 2rem 0 0.75rem 0;
  line-height: 1.4;
}

.article-body p {
  font-family: 'Circular', system-ui, -apple-system, sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--articles-text-medium);
  margin: 0 0 1.5rem 0;
}

.article-body a {
  color: var(--articles-teal);
  text-decoration: none;
  transition: text-decoration 150ms ease;
}

.article-body a:hover {
  text-decoration: underline;
}

.article-body ul,
.article-body ol {
  font-family: 'Circular', system-ui, -apple-system, sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--articles-text-medium);
  margin: 0 0 1.5rem 0;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body blockquote {
  border-left: 4px solid var(--articles-teal);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--articles-text-light);
}

/* Inline code */
.article-body code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.875em;
  background-color: #f3f4f6;
  color: #1f2937;
  padding: 0.15em 0.4em;
  border-radius: 0.25rem;
  border: 1px solid #e5e7eb;
  word-break: break-word;
}

/* Code blocks */
.article-body pre {
  background-color: #1f2937;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 1.5rem 0 2rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #374151;
}

.article-body pre code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #e5e7eb;
  background: none;
  padding: 0;
  border: none;
  border-radius: 0;
  white-space: pre;
  word-break: normal;
}

@media (max-width: 640px) {
  .article-body pre {
    margin-left: -1rem;
    margin-right: -1rem;
    border-radius: 0;
    padding: 1.25rem 1rem;
  }

  .article-body pre code {
    font-size: 0.8125rem;
  }
}

/* --------------------------------------------
   COMPARISON TABLES - Modern SaaS Style
   -------------------------------------------- */
.article-body table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0 2.5rem 0;
  font-family: 'Circular', system-ui, -apple-system, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

/* Table header */
.article-body thead {
  background: linear-gradient(to bottom, #f9fafb, #f3f4f6);
}

.article-body thead tr {
  border-bottom: 2px solid #e5e7eb;
}

.article-body th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--articles-text-dark);
  text-transform: uppercase;
  letter-spacing: 0.025em;
  white-space: nowrap;
  border-bottom: 2px solid #e5e7eb;
}

/* First column header (Feature name) */
.article-body th:first-child {
  min-width: 180px;
}

/* DomainBFF column highlight - last column */
.article-body th:last-child {
  background: linear-gradient(to bottom, rgba(75, 192, 200, 0.08), rgba(75, 192, 200, 0.12));
  color: #0d7377;
}

.article-body td:last-child {
  background-color: rgba(75, 192, 200, 0.04);
}

/* Table body */
.article-body tbody tr {
  transition: background-color 150ms ease;
}

/* Alternating row colors */
.article-body tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

.article-body tbody tr:nth-child(even) {
  background-color: #f9fafb;
}

.article-body tbody tr:hover {
  background-color: #f3f4f6;
}

/* Last row rounded corners */
.article-body tbody tr:last-child td:first-child {
  border-bottom-left-radius: 0.75rem;
}

.article-body tbody tr:last-child td:last-child {
  border-bottom-right-radius: 0.75rem;
}

/* Table cells */
.article-body td {
  padding: 0.875rem 1.25rem;
  color: var(--articles-text-medium);
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}

/* First column - feature names */
.article-body td:first-child {
  font-weight: 500;
  color: var(--articles-text-dark);
}

/* Bold text within cells */
.article-body td strong {
  font-weight: 600;
  color: var(--articles-text-dark);
}

/* Yes/Positive values - green styling */
.article-body td:contains("Yes"),
.article-body td[data-value="yes"] {
  color: #059669;
}

/* Style cells containing "Yes" text */
.article-body tbody td {
  position: relative;
}

/* Price/number cells - right align and bold */
.article-body td:nth-child(2),
.article-body td:nth-child(3) {
  text-align: left;
}

/* Savings row highlight */
.article-body tr:last-child td {
  font-weight: 500;
}

/* Mobile responsive tables */
@media (max-width: 640px) {
  .article-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem -1rem;
    width: calc(100% + 2rem);
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .article-body th,
  .article-body td {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    min-width: 120px;
  }

  .article-body th:first-child,
  .article-body td:first-child {
    position: sticky;
    left: 0;
    background-color: #f9fafb;
    z-index: 1;
    border-right: 1px solid #e5e7eb;
  }

  .article-body tbody tr:nth-child(odd) td:first-child {
    background-color: #ffffff;
  }

  .article-body tbody tr:nth-child(even) td:first-child {
    background-color: #f9fafb;
  }

  .article-body tbody tr:last-child td:first-child,
  .article-body tbody tr:last-child td:last-child {
    border-radius: 0;
  }
}

/* Enhanced styling for comparison indicators */
.article-body td:empty::after {
  content: "—";
  color: #9ca3af;
}

/* Links in tables */
.article-body table a {
  color: var(--articles-teal);
  text-decoration: none;
  font-weight: 500;
}

.article-body table a:hover {
  text-decoration: underline;
}

/* --------------------------------------------
   STICKY SIDEBAR
   -------------------------------------------- */
.sidebar-sticky {
  position: sticky;
  top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-height: calc(100vh - 6rem);
  padding-bottom: 5rem;
}

/* --------------------------------------------
   TABLE OF CONTENTS
   -------------------------------------------- */
.toc-container {
  flex-shrink: 1;
  overflow-y: auto;
}

.toc-title {
  font-family: 'Circular', system-ui, -apple-system, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--articles-text-medium);
  margin: 0 0 1rem 0;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc-item {
  margin-bottom: 0.5rem;
}

.toc-link {
  font-family: 'Circular', system-ui, -apple-system, sans-serif;
  font-size: 0.9375rem;
  color: var(--articles-text-light);
  text-decoration: none;
  transition: color 150ms ease;
  display: block;
  padding: 0.25rem 0;
}

.toc-link:hover {
  color: var(--articles-text-dark);
}

.toc-link.active {
  font-weight: 600;
  color: var(--articles-teal);
}

/* Indented H3 items */
.toc-item--h3 {
  padding-left: 1rem;
}

.toc-item--h3 .toc-link {
  font-size: 0.875rem;
}

/* --------------------------------------------
   CTA CARD
   -------------------------------------------- */
.cta-card {
  flex-shrink: 0;
  border-radius: 1rem;
  padding: 2rem;
  background-color: var(--articles-bg-gray);
  transform-origin: center;
  transition: transform 150ms ease-in-out, background-color 150ms ease-in-out;
}

.cta-card:hover {
  transform: scale(1.02);
  background-color: var(--articles-bg-gray-hover);
}

.cta-icon {
  display: flex;
  justify-content: center;
  padding-bottom: 1.25rem;
  color: var(--articles-text-muted);
}

.cta-icon svg {
  width: 42px;
  height: 42px;
}

.cta-headline {
  font-family: 'Circular', system-ui, -apple-system, sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.0125em;
  text-align: center;
  line-height: 1.2;
  color: var(--articles-text-dark);
  margin: 0 0 0.75rem 0;
}

.cta-headline-gradient {
  background: linear-gradient(to bottom right, #feac5e, #c779d0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-body {
  font-family: 'Circular', system-ui, -apple-system, sans-serif;
  font-size: 0.9375rem;
  color: var(--articles-text-medium);
  text-align: center;
  line-height: 1.5;
  margin: 0 0 1.5rem 0;
}

.cta-button {
  display: block;
  width: 100%;
  padding: 0.875rem 1.5rem;
  background-color: var(--articles-teal);
  color: white;
  font-family: 'Circular', system-ui, -apple-system, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 150ms ease-in-out;
}

.cta-button:hover {
  background-color: #3aa8b0;
}

/* --------------------------------------------
   MOBILE RESPONSIVE - SIDEBAR BELOW CONTENT
   -------------------------------------------- */
@media (max-width: 1023px) {
  .sidebar-sticky {
    position: static;
    max-height: none;
  }

  .article-sidebar {
    border-top: 1px solid var(--articles-bg-gray-hover);
    padding-top: 2rem;
  }
}

/* --------------------------------------------
   ARTICLE INLINE CTA
   -------------------------------------------- */
.article-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(254, 172, 94, 0.1) 0%, rgba(199, 121, 208, 0.1) 50%, rgba(75, 192, 200, 0.1) 100%);
  border-radius: 1rem;
  text-align: center;
  border: 1px solid rgba(75, 192, 200, 0.2);
}

.article-cta p {
  margin: 0 0 1rem 0;
  font-family: 'Circular', system-ui, -apple-system, sans-serif;
}

.article-cta p:first-child {
  font-size: 1.25rem;
  color: #1f2937;
}

.article-cta p:last-of-type {
  color: #4b5563;
  margin-bottom: 1.5rem;
}

.article-cta-button {
  display: inline-block;
  padding: 0.875rem 2rem;
  background-color: #4bc0c8;
  color: white;
  font-family: 'Circular', system-ui, -apple-system, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  border-radius: 9999px;
  transition: background-color 150ms ease-in-out, transform 150ms ease;
}

.article-cta-button:hover {
  background-color: #3aa8b0;
  transform: translateY(-1px);
}

/* Override article-body link styles for CTA button */
.article-body .article-cta a.article-cta-button,
.article-cta a.article-cta-button,
a.article-cta-button {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Keyword table - scrollable container with sticky header */
.kw-table-wrap {
  max-height: 600px;
  overflow-y: auto;
  overflow-x: auto;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  margin: 1.5rem 0;
}
.kw-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.kw-table-wrap thead {
  position: sticky;
  top: 0;
  z-index: 1;
}
.kw-table-wrap thead th {
  background: #f5f5f5;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid #ddd;
  text-align: left;
  font-weight: 600;
}
.kw-table-wrap thead th:last-child {
  text-align: right;
}
.kw-table-wrap tbody td {
  padding: 0.5rem 1rem;
}
.kw-table-wrap tbody tr:nth-child(even) {
  background: #fafafa;
}
.kw-table-wrap tbody tr:hover {
  background: #f0f0f0;
}
.kw-table-wrap .kw-rank {
  color: #999;
  width: 60px;
}
.kw-table-wrap .kw-name {
  font-weight: 500;
}
.kw-table-wrap .kw-count {
  text-align: right;
  color: #7c3aed;
  width: 80px;
}
