/* ccr-blog-v1 */
body.ccr-blog-body {
  --wide: 1140px;
  --read: 720px;
}

.ccr-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid rgba(255, 46, 200, 0.5);
  background: rgba(255, 46, 200, 0.1);
  color: #ff8fe0;
  font-family: Orbitron, Outfit, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

a.ccr-chip:hover,
a.ccr-chip:focus-visible {
  border-color: var(--magenta);
  color: #fff;
  box-shadow: 0 0 16px rgba(255, 46, 200, 0.35);
}

.ccr-blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--cyan);
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.18), rgba(139, 92, 255, 0.14));
  color: var(--paper);
  font: 600 13px/1 Outfit, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: var(--glow);
}

.ccr-blog-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.3), rgba(255, 46, 200, 0.2));
}

/* Listing */
.ccr-blog-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin: 8px 0 22px;
  padding: 30px 30px 28px;
  border: 1px solid rgba(0, 240, 255, 0.22);
  background:
    radial-gradient(90% 160% at 100% 0%, rgba(255, 46, 200, 0.16), transparent 60%),
    radial-gradient(80% 120% at 0% 100%, rgba(0, 240, 255, 0.1), transparent 60%),
    var(--panel);
  box-shadow: inset 0 0 40px rgba(255, 46, 200, 0.06), 0 0 28px rgba(0, 240, 255, 0.08);
  overflow: hidden;
}

.ccr-blog-hero::before {
  content: "BLOG";
  position: absolute;
  right: -10px;
  top: -34px;
  color: transparent;
  font-family: Orbitron, sans-serif;
  font-size: 150px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(0, 240, 255, 0.12);
  pointer-events: none;
}

.ccr-blog-hero::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan), transparent);
}

.ccr-blog-hero-text {
  position: relative;
  min-width: 0;
}

.ccr-blog-hero .ccr-title {
  margin-bottom: 10px;
}

.ccr-blog-hero .ccr-lede {
  margin: 0;
}

.ccr-blog-page {
  margin-left: 14px;
  color: var(--muted);
  font-size: 0.5em;
  letter-spacing: 0.1em;
  vertical-align: middle;
}

.ccr-blog-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ccr-blog-stats li {
  display: grid;
  gap: 2px;
  min-width: 96px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(5, 1, 12, 0.6);
}

.ccr-blog-stats b {
  font-family: Orbitron, Outfit, sans-serif;
  font-size: 1.25rem;
  line-height: 1.2;
  text-shadow: 0 0 18px rgba(0, 240, 255, 0.35);
}

.ccr-blog-stats span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ccr-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
}

.ccr-topics a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: rgba(10, 4, 22, 0.8);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.ccr-topics a span {
  color: rgba(0, 240, 255, 0.6);
  font-family: Orbitron, sans-serif;
  font-size: 10px;
}

.ccr-topics a:hover,
.ccr-topics a:focus-visible {
  color: var(--paper);
  border-color: rgba(0, 240, 255, 0.5);
}

.ccr-topics a[aria-current="page"] {
  color: #05010c;
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: var(--glow);
}

.ccr-topics a[aria-current="page"] span {
  color: #05010c;
}

.ccr-bcard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(0, 240, 255, 0.16);
  background: var(--panel);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.ccr-bcard:hover,
.ccr-bcard:focus-within {
  border-color: rgba(0, 240, 255, 0.55);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.14);
  transform: translateY(-3px);
}

.ccr-bcard--draft {
  outline: 1px dashed rgba(255, 46, 200, 0.6);
  outline-offset: 3px;
}

.ccr-bcard-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0416;
  line-height: 0;
}

.ccr-bcard-cover img,
.ccr-bcard-cover svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ccr-bcard:hover .ccr-bcard-cover img,
.ccr-bcard:hover .ccr-bcard-cover svg {
  transform: scale(1.04);
}

.ccr-bcard-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 1, 12, 0.7));
}

.ccr-bcard-no {
  position: absolute;
  z-index: 1;
  right: 12px;
  bottom: 12px;
  padding: 3px 8px;
  border: 1px solid rgba(0, 240, 255, 0.4);
  background: rgba(5, 1, 12, 0.75);
  color: var(--cyan);
  font-family: Orbitron, sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  line-height: 1.5;
}

.ccr-bcard-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px 18px;
}

.ccr-bcard-top,
.ccr-bcard-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.ccr-bcard-title {
  margin: 0;
  font-family: Orbitron, Outfit, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  text-wrap: balance;
}

.ccr-bcard-title a {
  color: var(--paper);
  text-decoration: none;
}

.ccr-bcard-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ccr-bcard-top .ccr-chip {
  position: relative;
  z-index: 2;
}

.ccr-bcard-title a:hover {
  color: var(--cyan);
}

.ccr-bcard-text {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.ccr-bcard-foot {
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 240, 255, 0.1);
}

.ccr-bcard-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ccr-bcard-go::after {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  transition: width 0.25s;
}

.ccr-bcard:hover .ccr-bcard-go::after {
  width: 30px;
}

.ccr-bcard--lead {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  margin: 0 0 22px;
  border-color: rgba(255, 46, 200, 0.35);
  background:
    radial-gradient(120% 100% at 100% 100%, rgba(255, 46, 200, 0.1), transparent 60%),
    var(--panel);
}

.ccr-bcard--lead .ccr-bcard-cover {
  aspect-ratio: auto;
  min-height: 320px;
}

.ccr-bcard--lead .ccr-bcard-cover::after {
  background: linear-gradient(90deg, transparent 60%, rgba(18, 8, 32, 0.9));
}

.ccr-bcard--lead .ccr-bcard-body {
  justify-content: center;
  gap: 14px;
  padding: 30px 30px 26px;
}

.ccr-bcard--lead .ccr-bcard-title {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 1.25;
}

.ccr-bcard--lead .ccr-bcard-text {
  font-size: 16px;
}

.ccr-bcard--lead .ccr-bcard-top::before {
  content: "Latest";
  color: var(--cyan);
  font-family: Orbitron, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ccr-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ccr-blog-empty {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 40px 32px;
  border: 1px dashed rgba(0, 240, 255, 0.35);
  background: rgba(10, 4, 22, 0.7);
}

.ccr-blog-empty h2 {
  margin: 0;
  font-family: Orbitron, Outfit, sans-serif;
  font-size: 1.35rem;
}

.ccr-blog-empty p:not(.ccr-kicker) {
  margin: 0 0 8px;
  max-width: 60ch;
  color: var(--muted);
}

.ccr-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 34px 0 8px;
}

.ccr-pager .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(10, 4, 22, 0.8);
  color: var(--paper);
  font-family: Orbitron, Outfit, sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.ccr-pager a.page-numbers:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.ccr-pager .page-numbers.current {
  border-color: var(--magenta);
  background: rgba(255, 46, 200, 0.16);
  box-shadow: 0 0 16px rgba(255, 46, 200, 0.3);
}

.ccr-pager .page-numbers.dots {
  border-color: transparent;
  background: none;
}

/* Single post */
.ccr-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 3px;
  pointer-events: none;
}

.ccr-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--magenta), var(--violet), var(--cyan));
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.ccr-post-hero {
  max-width: 900px;
  margin: 18px auto 26px;
  text-align: center;
}

.ccr-post-hero .ccr-crumbs {
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
}

.ccr-post-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 14px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ccr-post-no {
  color: var(--cyan);
  font-family: Orbitron, sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
}

.ccr-post-title {
  margin: 0 0 16px;
  font-family: Orbitron, Outfit, sans-serif;
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  text-wrap: balance;
  background: linear-gradient(100deg, #fff 30%, var(--cyan-dim) 70%, #ff8fe0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ccr-post-lede {
  max-width: 64ch;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.6;
}

.ccr-post-by {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  padding: 10px 18px 10px 10px;
  border: 1px solid var(--line);
  background: rgba(10, 4, 22, 0.75);
  text-align: left;
}

.ccr-post-by img {
  width: 48px;
  height: 48px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.35);
  object-fit: cover;
}

.ccr-post-by p {
  display: grid;
  margin: 0;
  line-height: 1.3;
}

.ccr-post-by p a {
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
}

.ccr-post-by p a:hover {
  color: var(--cyan);
}

.ccr-post-by p span {
  color: var(--muted);
  font-size: 13px;
}

.ccr-post-by dl {
  display: flex;
  gap: 18px;
  margin: 0;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.ccr-post-by dl div {
  display: grid;
  line-height: 1.3;
}

.ccr-post-by dt {
  color: var(--magenta);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ccr-post-by dd {
  margin: 0;
  font-size: 14px;
}

.ccr-post-cover {
  position: relative;
  margin: 0 0 40px;
  line-height: 0;
}

.ccr-post-cover img,
.ccr-post-cover svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border: 1px solid rgba(0, 240, 255, 0.28);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.12), 0 30px 60px rgba(0, 0, 0, 0.45);
}

.ccr-post-cover::before,
.ccr-post-cover::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  pointer-events: none;
}

.ccr-post-cover::before {
  top: -8px;
  left: -8px;
  border-top: 2px solid var(--cyan);
  border-left: 2px solid var(--cyan);
}

.ccr-post-cover::after {
  right: -8px;
  bottom: -8px;
  border-right: 2px solid var(--magenta);
  border-bottom: 2px solid var(--magenta);
}

.ccr-post-cover figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.ccr-post-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, var(--read));
  justify-content: center;
  gap: 48px;
  align-items: start;
}

.ccr-post-grid--solo {
  grid-template-columns: 250px minmax(0, var(--read));
}

.ccr-post-aside {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 16px;
}

.ccr-post-toc {
  border: 1px solid var(--line);
  background: rgba(10, 4, 22, 0.88);
}

.ccr-post-toc summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  color: var(--magenta);
  font-family: Orbitron, Outfit, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.ccr-post-toc summary::-webkit-details-marker {
  display: none;
}

.ccr-post-toc summary span {
  color: var(--muted);
  font-family: Outfit, sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.ccr-post-toc ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0 8px 12px;
  list-style: none;
}

.ccr-post-toc a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 7px 10px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.ccr-post-toc a span {
  flex: 0 0 auto;
  color: rgba(0, 240, 255, 0.55);
  font-family: Orbitron, sans-serif;
  font-size: 10px;
}

.ccr-post-toc a:hover {
  color: var(--paper);
  background: rgba(0, 240, 255, 0.06);
}

.ccr-post-toc a[aria-current="true"] {
  border-left-color: var(--cyan);
  color: var(--paper);
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.12), transparent);
}

.ccr-post-toc a[aria-current="true"] span {
  color: var(--cyan);
}

.ccr-share {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(10, 4, 22, 0.88);
}

.ccr-share p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ccr-share ul {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ccr-share-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(0, 240, 255, 0.05);
  color: var(--paper);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.ccr-share-btn:hover,
.ccr-share-btn:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: var(--glow);
}

.ccr-share-copy.is-done::after {
  content: "Copied";
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 8px;
  background: var(--cyan);
  color: #05010c;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

/* Article prose */
.ccr-post-body {
  min-width: 0;
}

.ccr-prose {
  color: #d7e3f2;
  font-size: 18px;
  line-height: 1.8;
  counter-reset: ccr-h2;
}

.ccr-prose > * {
  margin-top: 0;
  margin-bottom: 1.25em;
}

.ccr-prose > p:first-child::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  color: var(--cyan);
  font-family: Orbitron, sans-serif;
  font-size: 3.3em;
  font-weight: 800;
  line-height: 0.9;
  text-shadow: 0 0 22px rgba(0, 240, 255, 0.5);
}

.ccr-prose h2 {
  position: relative;
  scroll-margin-top: 24px;
  margin: 2.2em 0 0.8em;
  padding-top: 18px;
  color: var(--paper);
  font-family: Orbitron, Outfit, sans-serif;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  counter-increment: ccr-h2;
}

.ccr-prose h2::before {
  content: counter(ccr-h2, decimal-leading-zero);
  position: absolute;
  top: -8px;
  left: 0;
  color: var(--magenta);
  font-size: 11px;
  letter-spacing: 0.24em;
}

.ccr-prose h2::after {
  content: "";
  position: absolute;
  top: 0;
  left: 34px;
  right: 0;
  height: 1px;
  margin-top: -2px;
  background: linear-gradient(90deg, rgba(255, 46, 200, 0.6), rgba(0, 240, 255, 0.3), transparent);
}

.ccr-prose h3 {
  margin: 1.8em 0 0.6em;
  color: var(--cyan-dim);
  font-family: Outfit, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
}

.ccr-prose h4 {
  margin: 1.6em 0 0.5em;
  color: var(--paper);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ccr-prose a {
  color: var(--cyan-dim);
  text-decoration: underline;
  text-decoration-color: rgba(0, 240, 255, 0.4);
  text-underline-offset: 0.2em;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.ccr-prose a:hover {
  color: #fff;
  text-decoration-color: var(--magenta);
}

.ccr-prose strong {
  color: var(--paper);
}

.ccr-prose mark {
  padding: 0 4px;
  background: rgba(255, 46, 200, 0.22);
  color: #fff;
}

.ccr-prose ul,
.ccr-prose ol {
  padding-left: 1.3em;
}

.ccr-prose li + li {
  margin-top: 0.4em;
}

.ccr-prose ul li::marker {
  color: var(--cyan);
}

.ccr-prose ol li::marker {
  color: var(--magenta);
  font-family: Orbitron, sans-serif;
  font-size: 0.8em;
}

.ccr-prose blockquote,
.ccr-prose .wp-block-quote {
  position: relative;
  margin: 2em 0;
  padding: 18px 24px 18px 28px;
  border-left: 3px solid var(--magenta);
  background: linear-gradient(90deg, rgba(255, 46, 200, 0.1), transparent);
  color: var(--paper);
  font-size: 1.12em;
  font-style: italic;
  line-height: 1.6;
}

.ccr-prose blockquote p:last-of-type {
  margin-bottom: 0;
}

.ccr-prose blockquote cite {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ccr-prose .wp-block-pullquote {
  margin: 2.4em 0;
  padding: 26px 20px;
  border-top: 1px solid var(--cyan);
  border-bottom: 1px solid var(--cyan);
  text-align: center;
}

.ccr-prose .wp-block-pullquote blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: Orbitron, Outfit, sans-serif;
  font-size: 1.3rem;
  font-style: normal;
}

.ccr-prose figure {
  margin: 2em 0;
}

.ccr-prose img {
  display: block;
  border: 1px solid var(--line);
}

.ccr-prose figcaption,
.ccr-prose .wp-element-caption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.ccr-prose hr,
.ccr-prose .wp-block-separator {
  height: 1px;
  margin: 2.5em 0;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--magenta), var(--cyan), transparent);
  opacity: 1;
}

.ccr-prose code {
  padding: 2px 6px;
  border: 1px solid rgba(0, 240, 255, 0.2);
  background: rgba(0, 240, 255, 0.08);
  color: var(--cyan-dim);
  font-size: 0.86em;
}

.ccr-prose pre {
  overflow-x: auto;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: #07020f;
  font-size: 14px;
  line-height: 1.6;
}

.ccr-prose pre code {
  padding: 0;
  border: 0;
  background: none;
}

.ccr-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

.ccr-prose .wp-block-table {
  overflow-x: auto;
  margin: 2em 0;
  border: 1px solid var(--line);
  background: var(--panel);
}

.ccr-prose .wp-block-table table {
  margin: 0;
}

.ccr-prose .wp-block-table thead,
.ccr-prose .wp-block-table tfoot {
  border: 0;
}

.ccr-prose th,
.ccr-prose td {
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  text-align: left;
  vertical-align: top;
}

.ccr-prose thead th {
  border-bottom: 1px solid rgba(255, 46, 200, 0.5);
  background: rgba(255, 46, 200, 0.08);
  color: var(--paper);
  font-family: Orbitron, Outfit, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ccr-prose tbody tr:hover td {
  background: rgba(0, 240, 255, 0.04);
}

.ccr-prose tbody td:first-child {
  color: var(--paper);
  font-weight: 600;
}

.ccr-prose .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ccr-prose .wp-block-button__link {
  display: inline-flex;
  padding: 13px 22px;
  border: 1px solid var(--cyan);
  border-radius: 0;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(139, 92, 255, 0.16));
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: var(--glow);
}

.ccr-prose .wp-block-button__link:hover {
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.32), rgba(255, 46, 200, 0.22));
}

.ccr-prose .is-style-outline .wp-block-button__link {
  background: none;
  box-shadow: none;
}

.ccr-prose details,
.ccr-prose .wp-block-details {
  margin: 0 0 10px;
  border: 1px solid var(--line);
  background: rgba(10, 4, 22, 0.8);
}

.ccr-prose details summary {
  position: relative;
  padding: 14px 44px 14px 18px;
  color: var(--paper);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.ccr-prose details summary::-webkit-details-marker {
  display: none;
}

.ccr-prose details summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--cyan);
  font-family: Orbitron, sans-serif;
  font-size: 18px;
  transform: translateY(-50%);
}

.ccr-prose details[open] summary {
  border-bottom: 1px solid rgba(0, 240, 255, 0.12);
}

.ccr-prose details[open] summary::after {
  content: "-";
}

.ccr-prose details > :not(summary) {
  margin: 12px 18px;
  color: var(--muted);
  font-size: 16px;
}

/* Block styles picked in the editor */
.ccr-prose .is-style-ccr-lead {
  color: var(--paper);
  font-size: 1.2em;
  line-height: 1.65;
}

.ccr-prose .is-style-ccr-note,
.ccr-prose .is-style-ccr-warn {
  position: relative;
  padding: 16px 20px 16px 58px;
  border: 1px solid rgba(0, 240, 255, 0.3);
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(139, 92, 255, 0.06));
  color: var(--paper);
  font-size: 16px;
  line-height: 1.65;
}

.ccr-prose .is-style-ccr-note::before,
.ccr-prose .is-style-ccr-warn::before {
  content: "i";
  position: absolute;
  top: 16px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: Orbitron, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
}

.ccr-prose .is-style-ccr-warn {
  border-color: rgba(255, 46, 200, 0.45);
  background: linear-gradient(135deg, rgba(255, 46, 200, 0.14), rgba(139, 92, 255, 0.06));
}

.ccr-prose .is-style-ccr-warn::before {
  content: "!";
  border-color: var(--magenta);
  color: var(--magenta);
  box-shadow: 0 0 12px rgba(255, 46, 200, 0.4);
}

.ccr-prose ul.is-style-ccr-check {
  padding: 0;
  list-style: none;
}

.ccr-prose ul.is-style-ccr-check li {
  position: relative;
  padding-left: 34px;
}

.ccr-prose ul.is-style-ccr-check li::before {
  content: "";
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 18px;
  height: 18px;
  border: 1px solid var(--cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.ccr-prose ul.is-style-ccr-check li::after {
  content: "";
  position: absolute;
  top: calc(0.42em + 5px);
  left: 4px;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(40deg) translate(1px, -2px);
}

.ccr-prose ol.is-style-ccr-steps {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
  counter-reset: ccr-step;
}

.ccr-prose ol.is-style-ccr-steps li {
  position: relative;
  margin: 0;
  padding: 14px 18px 14px 64px;
  border: 1px solid var(--line);
  background: var(--panel);
  counter-increment: ccr-step;
}

.ccr-prose ol.is-style-ccr-steps li::before {
  content: counter(ccr-step, decimal-leading-zero);
  position: absolute;
  top: 14px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 46, 200, 0.55);
  color: var(--magenta);
  font-family: Orbitron, sans-serif;
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 0 12px rgba(255, 46, 200, 0.2);
}

.ccr-prose .is-style-ccr-facts {
  position: relative;
  margin: 2em 0;
  padding: 24px 24px 12px;
  border: 1px solid rgba(0, 240, 255, 0.3);
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(255, 46, 200, 0.12), transparent 60%),
    var(--panel);
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.08);
  font-size: 16px;
}

.ccr-prose .is-style-ccr-facts::before {
  content: "Key facts";
  position: absolute;
  top: -10px;
  left: 18px;
  padding: 0 10px;
  background: #0c0618;
  color: var(--cyan);
  font-family: Orbitron, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 20px;
  text-transform: uppercase;
}

.ccr-prose .is-style-ccr-facts > * {
  margin-top: 0;
  margin-bottom: 12px;
}

.ccr-prose .is-style-ccr-facts h3,
.ccr-prose .is-style-ccr-facts h4 {
  margin-top: 0;
}

.ccr-prose .wp-block-quote.is-style-ccr-desk {
  margin: 2.4em 0;
  padding: 30px 28px 24px;
  border: 1px solid rgba(255, 46, 200, 0.4);
  background:
    radial-gradient(100% 140% at 0% 0%, rgba(255, 46, 200, 0.16), transparent 60%),
    var(--panel);
  font-family: Orbitron, Outfit, sans-serif;
  font-size: 1.12rem;
  font-style: normal;
  line-height: 1.55;
}

.ccr-prose .wp-block-quote.is-style-ccr-desk::before {
  content: "\201C";
  position: absolute;
  top: -22px;
  left: 20px;
  color: var(--magenta);
  font-family: Georgia, serif;
  font-size: 80px;
  line-height: 1;
  text-shadow: 0 0 20px rgba(255, 46, 200, 0.5);
}

.ccr-prose .wp-block-quote.is-style-ccr-desk cite {
  font-family: Outfit, sans-serif;
}

.ccr-prose .wp-block-table.is-style-ccr-grid tbody tr:nth-child(odd) td {
  background: rgba(0, 240, 255, 0.03);
}

.ccr-prose .wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.ccr-prose .wp-block-column {
  flex: 1 1 240px;
  min-width: 0;
}

.ccr-prose .wp-block-embed iframe,
.ccr-prose iframe {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
}

.ccr-post-taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 0;
}

.ccr-post-taglist span {
  padding: 4px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.ccr-post-author {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
  margin: 40px 0 0;
  padding: 24px;
  border: 1px solid rgba(0, 240, 255, 0.24);
  background:
    radial-gradient(120% 140% at 100% 100%, rgba(255, 46, 200, 0.1), transparent 60%),
    var(--panel);
}

.ccr-post-author img {
  width: 96px;
  height: 96px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.3);
  object-fit: cover;
}

.ccr-post-author p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.ccr-post-author p.ccr-kicker {
  margin-bottom: 4px;
  color: var(--magenta);
  font-size: 11px;
  line-height: 1.4;
}

.ccr-post-author-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.ccr-post-author-name a {
  color: var(--paper);
  font-family: Orbitron, Outfit, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

.ccr-post-author-name a:hover {
  color: var(--cyan);
}

.ccr-post-author-name span {
  font-size: 13px;
}

.ccr-post-author-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 0 !important;
}

.ccr-post-author-links a {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.ccr-post-author-links a:hover {
  color: #fff;
}

.ccr-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0 0;
}

.ccr-post-nav a {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(10, 4, 22, 0.8);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ccr-post-nav a:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow);
}

.ccr-post-nav span {
  color: var(--magenta);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ccr-post-nav b {
  color: var(--paper);
  font-size: 15px;
  line-height: 1.4;
}

.ccr-post-nav-next {
  grid-column: 2;
  text-align: right;
}

.ccr-post-related {
  margin: 56px 0 0;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.ccr-post-related-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 18px;
}

.ccr-post-related-head h2 {
  margin: 0;
  font-family: Orbitron, Outfit, sans-serif;
  font-size: 1.35rem;
}

.ccr-post-related-head a {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 1060px) {
  .ccr-post-grid,
  .ccr-post-grid--solo {
    grid-template-columns: minmax(0, var(--read));
    gap: 20px;
  }

  .ccr-post-aside {
    position: static;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .ccr-share {
    padding: 10px 12px;
  }

  .ccr-share p {
    display: none;
  }

  .ccr-bcard--lead {
    grid-template-columns: 1fr;
  }

  .ccr-bcard--lead .ccr-bcard-cover {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .ccr-bcard--lead .ccr-bcard-cover::after {
    background: linear-gradient(180deg, transparent 55%, rgba(5, 1, 12, 0.7));
  }
}

@media (max-width: 900px) {
  .ccr-blog-hero {
    grid-template-columns: 1fr;
  }

  .ccr-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ccr-blog-hero {
    padding: 22px 18px 20px;
  }

  .ccr-blog-hero::before {
    font-size: 96px;
    top: -18px;
  }

  .ccr-blog-hero::after {
    left: 18px;
    right: 18px;
  }

  .ccr-blog-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ccr-blog-stats li {
    min-width: 0;
  }

  .ccr-topics {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: -16px;
    padding-right: 16px;
    scrollbar-width: none;
  }

  .ccr-topics a {
    flex: 0 0 auto;
  }

  .ccr-blog-grid {
    grid-template-columns: 1fr;
  }

  .ccr-bcard--lead .ccr-bcard-body {
    padding: 20px 18px;
  }

  .ccr-post-hero {
    margin-top: 10px;
  }

  .ccr-post-by {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    width: 100%;
  }

  .ccr-post-by dl {
    grid-column: 1 / -1;
    padding: 10px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .ccr-post-cover {
    margin: 0 -16px 28px;
  }

  .ccr-post-cover::before,
  .ccr-post-cover::after {
    display: none;
  }

  .ccr-post-cover img,
  .ccr-post-cover svg {
    aspect-ratio: 16 / 9;
    border-left: 0;
    border-right: 0;
  }

  .ccr-post-aside {
    grid-template-columns: 1fr;
  }

  .ccr-share ul {
    justify-content: space-between;
  }

  .ccr-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .ccr-share p {
    display: block;
    margin: 0;
  }

  .ccr-prose {
    font-size: 17px;
    line-height: 1.75;
  }

  .ccr-post-author {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
  }

  .ccr-post-author img {
    width: 64px;
    height: 64px;
  }

  .ccr-post-nav {
    grid-template-columns: 1fr;
  }

  .ccr-post-nav-next {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ccr-bcard,
  .ccr-bcard-cover img,
  .ccr-bcard-cover svg {
    transition: none;
  }
}
