/* Chainoptic news article column.
   The dump's /_astro/_id_.CtfZOY0s.css is missing (404 on every /news/*).
   This restores a readable column and beats skin-v5 h1 { line-height: 0.95 }. */

html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

main {
  box-sizing: border-box;
  width: min(800px, calc(100% - 40px));
  max-width: 100%;
  margin: 0 auto;
  padding: 48px 0 88px;
  min-width: 0;
}

.news-head,
.news-sec,
.news-body,
.news-hero,
.news-body figure,
.news-body p {
  min-width: 0;
  max-width: 100%;
}

.news-head {
  margin: 0 0 28px;
}

.news-head time {
  display: block;
  margin: 0 0 12px !important;
  color: #e23a28 !important;
  font-family: "IBM Plex Mono", ui-monospace, monospace !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.4 !important;
  text-transform: uppercase;
}

.news-head h1,
.news-head h1[data-astro-cid-eefyg22u] {
  margin: 0 !important;
  color: #efe6df !important;
  font-family: Syne, "IBM Plex Sans JP", sans-serif !important;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem) !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  letter-spacing: -0.02em !important;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.news-hero {
  margin: 0 0 28px;
  border-radius: 12px;
  overflow: hidden;
  background: #141210;
  border: 1px solid color-mix(in srgb, #efe6df 10%, transparent);
}

.news-hero picture,
.news-hero img,
.news-body figure,
.news-body figure img,
.news-body img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.news-hero img,
.news-body figure img {
  max-height: 380px;
  object-fit: cover;
  object-position: center;
}

.news-body {
  color: #c9b8ae;
  font-size: 16.5px;
  line-height: 1.85 !important;
}

.news-body h2 {
  margin: 1.7em 0 0.55em;
  color: #efe6df !important;
  font-family: Syne, "IBM Plex Sans JP", sans-serif !important;
  font-size: 1.12rem !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  letter-spacing: -0.02em !important;
}

.news-body h2:first-child {
  margin-top: 0;
}

.news-body p {
  margin: 0 0 1em;
  overflow-wrap: anywhere;
  line-height: 1.85 !important;
}

.news-body a {
  color: #f06a52;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-body a:hover {
  color: #fff7f4;
}

.news-facts {
  margin: 0 0 1.4em;
  padding: 4px 0;
  border-top: 1px solid color-mix(in srgb, #efe6df 12%, transparent);
  border-bottom: 1px solid color-mix(in srgb, #efe6df 12%, transparent);
}

.news-facts div {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 12px 18px;
  padding: 10px 0;
  border-top: 1px solid color-mix(in srgb, #efe6df 8%, transparent);
}

.news-facts div:first-child {
  border-top: 0;
}

.news-facts dt {
  margin: 0;
  color: #e23a28;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.5 !important;
  text-transform: uppercase;
}

.news-facts dd {
  margin: 0;
  color: #efe6df;
  font-size: 15px;
  line-height: 1.65 !important;
}

.news-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 8px;
}

.news-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid color-mix(in srgb, #e23a28 70%, #efe6df);
  border-radius: 2px;
  color: #efe6df !important;
  font-family: "IBM Plex Mono", "IBM Plex Sans JP", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.news-cta a:hover {
  background: #e23a28;
  color: #fff7f4 !important;
}

.news-cta a.news-cta-ghost {
  border-color: color-mix(in srgb, #efe6df 22%, transparent);
}

.news-back {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 36px 0 0;
  color: #c9b8ae;
}

.news-back a {
  color: #efe6df;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-back-icon {
  display: none !important;
}

@media (max-width: 640px) {
  main {
    width: calc(100% - 28px);
    padding-top: 32px;
  }

  .news-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .news-hero img,
  .news-body figure img {
    max-height: 220px;
  }
}
