/* CoinShopInc Clean — layout + prose (works with Tailwind CDN) */

.csi-body {
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.csi-shot-wrap {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  background: #f8fafc;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.csi-shot-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.csi-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.csi-badge-live {
  background: #dcfce7;
  color: #166534;
}

.csi-badge-new {
  background: #dbeafe;
  color: #1e40af;
}

.csi-hub-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.csi-hub-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.csi-article-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.csi-article-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.csi-article-card img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
  display: block;
}

.csi-article-card .csi-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Readable article / page content from block editor */
.csi-prose {
  color: #334155;
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 100%;
}

.csi-prose > *:first-child {
  margin-top: 0;
}

.csi-prose > *:last-child {
  margin-bottom: 0;
}

.csi-prose h1,
.csi-prose h2,
.csi-prose h3,
.csi-prose h4,
.csi-prose .wp-block-heading {
  color: #0f172a;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.csi-prose h1 { font-size: 2rem; }
.csi-prose h2 { font-size: 1.5rem; }
.csi-prose h3 { font-size: 1.25rem; }
.csi-prose h4 { font-size: 1.125rem; }

.csi-prose p,
.csi-prose .wp-block-paragraph {
  margin: 0 0 1.25rem;
}

.csi-prose a {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.csi-prose a:hover {
  color: #1e3a8a;
}

.csi-prose ul,
.csi-prose ol,
.csi-prose .wp-block-list {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
}

.csi-prose li {
  margin-bottom: 0.4rem;
}

.csi-prose img,
.csi-prose .wp-block-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.csi-prose figure,
.csi-prose .wp-block-image {
  margin: 1.75rem 0;
}

.csi-prose figcaption {
  font-size: 0.875rem;
  color: #64748b;
  text-align: center;
  margin-top: 0.5rem;
}

.csi-prose blockquote {
  border-left: 4px solid #3b82f6;
  margin: 1.5rem 0;
  padding: 0.5rem 0 0.5rem 1.25rem;
  color: #475569;
  font-style: italic;
}

.csi-prose code {
  font-size: 0.9em;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 0.35rem;
  padding: 0.1rem 0.35rem;
}

.csi-prose pre {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  font-size: 0.875rem;
  margin: 1.5rem 0;
}

.csi-prose pre code {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
}

.csi-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.csi-prose th,
.csi-prose td {
  border: 1px solid #e2e8f0;
  padding: 0.6rem 0.75rem;
  text-align: left;
}

.csi-prose th {
  background: #f8fafc;
  font-weight: 600;
}

/* Kill legacy theme cruft if any leaks through */
.csi-body .site-header,
.csi-body .newsmatic,
.csi-body .ticker-news,
.csi-body .news-carousel {
  display: none !important;
}

.csi-skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.csi-skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.csi-search-form {
  width: 100%;
}

.csi-search-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  padding: 0.35rem 0.35rem 0.35rem 0.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.csi-search-field:focus-within {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  background: #fff;
}

.csi-search-icon {
  flex-shrink: 0;
  color: #94a3b8;
}

.csi-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 0.9375rem;
  color: #0f172a;
  outline: none;
  padding: 0.45rem 0;
}

.csi-search-input::placeholder {
  color: #94a3b8;
}

.csi-search-btn {
  flex-shrink: 0;
  border: 0;
  background: #0f172a;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 0.65rem;
  cursor: pointer;
}

.csi-search-btn:hover {
  background: #000;
}

.csi-search-form--compact .csi-search-field {
  padding: 0.2rem 0.2rem 0.2rem 0.6rem;
}

.csi-search-form--compact .csi-search-input {
  font-size: 0.875rem;
  padding: 0.35rem 0;
}

.csi-search-form--compact .csi-search-btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
}

@media (max-width: 1023px) {
  .csi-search-form--compact {
    display: none;
  }
}

.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.page-numbers li a,
.page-numbers li span {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 0.6rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  text-decoration: none;
  font-size: 0.875rem;
}

.page-numbers li a:hover {
  border-color: #93c5fd;
  color: #1d4ed8;
}

.page-numbers li .current {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}