/* style */
/* Disclaimer: quiet footnote instead of a beige box */
html body :is(div, p, section):has(> strong[style*="8a4b0a"]) {
  max-width: 820px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 20px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(20,20,24,.08) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #6b6875 !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
  text-align: center;
}
html body :is(div, p, section):has(> strong[style*="8a4b0a"]) > strong {
  color: #4a4744 !important;
  font-weight: 600 !important;
}
/* style */
/* ============ Pagination (homepage and everywhere) ============ */
html body .page-numbers {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  margin: 0 3px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(20,20,24,.08) !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: #141418 !important;
  font: 600 14px/1 'Plus Jakarta Sans', system-ui, sans-serif !important;
  text-decoration: none !important;
}
html body .page-numbers.current {
  background: var(--thisai-accent, #FF6B3D) !important;
  border-color: var(--thisai-accent, #FF6B3D) !important;
  color: #0B0B0E !important;
}
html body .page-numbers.dots {
  min-width: 24px;
  border-color: transparent !important;
  background: transparent !important;
}
html body :is(.page-numbers.next, .page-numbers.prev) {
  gap: 6px;
  padding: 0 18px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
html body .page-numbers svg { fill: currentColor !important; }
@media (hover: hover) {
  html body a.page-numbers:hover {
    border-color: var(--thisai-accent, #FF6B3D) !important;
    color: #B8431C !important;
  }
}

/* ============ Share box: round icon buttons (posts, if enabled) ============ */
html body .ct-share-box > div {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px !important;
  border: 0 !important;
}
html body .ct-share-box a[data-network] {
  flex: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 48px !important;
  height: 48px !important;
  min-height: 0 !important;
  border: 1px solid rgba(20,20,24,.1) !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: none !important;
  --theme-icon-color: #141418;
  transition: background .15s ease, border-color .15s ease;
}
html body .ct-share-box a[data-network]::before,
html body .ct-share-box a[data-network]::after {
  display: none !important;
}
html body .ct-share-box a[data-network] svg {
  width: 18px;
  height: 18px;
  fill: #141418 !important;
}
@media (hover: hover) {
  html body .ct-share-box a[data-network]:hover {
    background: var(--thisai-accent, #FF6B3D) !important;
    border-color: var(--thisai-accent, #FF6B3D) !important;
  }
  html body .ct-share-box a[data-network]:hover svg { fill: #0B0B0E !important; }
}

/* ============ Trending now ============ */
html body .ct-trending-block {
  background-color: #F4F3F0 !important;
  background-image: none !important;
}
html body .ct-trending-block :is(.ct-module-title, h3, h2) {
  font-family: 'Space Grotesk', system-ui, sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: -.01em !important;
  color: #141418 !important;
}
html body .ct-trending-block-item .ct-media-container {
  flex: none;
  width: 104px !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px !important;
}
html body .ct-trending-block-item .ct-media-container img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 0 !important;
}
html body .ct-trending-block-item .ct-post-title,
html body .ct-trending-block-item .ct-post-title a {
  font: 600 14px/1.35 'Plus Jakarta Sans', system-ui, sans-serif !important;
  color: #141418 !important;
  text-decoration: none !important;
}

/* ============ Footer: dark, so the page ends properly ============ */
html body #footer,
html body #footer [data-row] {
  background-color: #0B0B0E !important;
  background-image: none !important;
  border-color: rgba(255,255,255,.08) !important;
}
html body #footer,
html body #footer :is(p, span, div, .ct-footer-copyright) {
  color: #B5B1AA !important;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
html body #footer a {
  color: #F5F3EF !important;
  text-decoration: none !important;
  transition: color .15s ease;
}
html body #footer svg {
  fill: #F5F3EF !important;
}
@media (hover: hover) {
  html body #footer a:hover { color: var(--thisai-accent, #FF6B3D) !important; }
  html body #footer a:hover svg { fill: var(--thisai-accent, #FF6B3D) !important; }
}
/* style */
/* Back-to-top button */
html body .ct-back-to-top {
  width: 48px !important;
  height: 48px !important;
  border-radius: 999px !important;
  background: #0B0B0E !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.25) !important;
  --theme-icon-color: #FFFFFF;
  transition: background .15s ease;
}
html body .ct-back-to-top svg {
  fill: #FFFFFF !important;
}
@media (hover: hover) {
  html body .ct-back-to-top:hover {
    background: var(--thisai-accent, #FF6B3D) !important;
    --theme-icon-color: #0B0B0E;
  }
  html body .ct-back-to-top:hover svg {
    fill: #0B0B0E !important;
  }
}
/* style */
/* Header menu: one consistent style */
html body #header .ct-menu-link {
  padding: 12px 16px !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #141418 !important;
  font: 600 14px/1 'Plus Jakarta Sans', system-ui, sans-serif !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
  transition: background .15s ease, color .15s ease;
}
@media (hover: hover) {
  html body #header .menu-item:not(.current-menu-item) > .ct-menu-link:hover {
    background: rgba(20,20,24,.05) !important;
  }
}
html body #header .current-menu-item > .ct-menu-link {
  background: rgba(255,107,61,.12) !important;
  color: #B8431C !important;
}

/* ThisaiPlay button: dark instead of blue */
html body #header .ct-header-cta .ct-button {
  min-height: 44px;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #0B0B0E !important;
  color: #fff !important;
  font: 700 14px/1 'Plus Jakarta Sans', system-ui, sans-serif !important;
}
@media (hover: hover) {
  html body #header .ct-header-cta .ct-button:hover {
    background: var(--thisai-accent, #FF6B3D) !important;
    color: #0B0B0E !important;
  }
}
/* style */
.thisai-recent { margin-top: 8px !important; margin-bottom: 28px !important; }
  .thisai-recent-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
  }
  .thisai-recent-heading {
    margin: 0 !important;
    font: 700 22px/1.2 'Space Grotesk', system-ui, sans-serif !important;
    letter-spacing: -.01em;
    color: #141418 !important;
  }
  .thisai-recent-clear {
    min-height: 44px;
    padding: 0 6px;
    border: 0;
    background: none;
    font: 600 14px/1 'Plus Jakarta Sans', system-ui, sans-serif;
    color: #6b6875;
    cursor: pointer;
  }
  .thisai-recent-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 220px;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .thisai-recent-row::-webkit-scrollbar { display: none; }
  a.thisai-recent-card {
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    color: inherit;
    text-decoration: none !important;
  }
  .thisai-recent-thumb {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: #e7e5e0;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
  }
  .thisai-recent-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .thisai-recent-title {
    margin-top: 8px;
    font: 600 13px/1.35 'Plus Jakarta Sans', system-ui, sans-serif;
    color: #141418;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  @media (max-width: 689.98px) {
    .thisai-recent-row { grid-auto-columns: 160px; gap: 12px; }
    .thisai-recent-heading { font-size: 19px !important; }
  }
