/* ===== V27 コラム記事 (Column Article Source.html 踏襲) ===== */
body.cx27-body {
  background:
    radial-gradient(100rem 43.75rem at 85% -8%, rgba(201,168,92,0.08), transparent 65%),
    radial-gradient(81.25rem 37.5rem at 0% 100%, rgba(58,103,166,0.18), transparent 60%),
    #1B2E4B;
}
body.cx27-body .app-scroll-area { padding: 0; }
.cda {
  --surface: rgba(255,255,255,0.05);
  --line: rgba(255,255,255,0.11); --line-strong: rgba(255,255,255,0.2);
  --gold: #C9A85C; --gold-bright: #E8CE8C; --gold-line: rgba(201,168,92,0.45); --gold-dim: rgba(201,168,92,0.14);
  --text: #F2F5F9; --sub: #8FA0B5; --teal: #3BD3A5;
  --g1c: #5B9BFF; --g2c: #FF6B7E; --g3c: #3DC99B;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --num: "Manrope", "Zen Kaku Gothic New", sans-serif;
  font-family: var(--sans); color: var(--text);
  width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  padding-bottom: 5rem;
}
.cda a { color: inherit; text-decoration: none; }
.cda-shell { max-width: 120rem; margin: 0 auto; width: 100%; padding: 0 2rem; box-sizing: border-box; }
@media (max-width: 640px) { .cda-shell { padding: 0 1rem; } }
.cda-bc { display: flex; gap: 0.5rem; align-items: center; padding: 1.375rem 0 0; font-size: 0.74rem; color: var(--sub); flex-wrap: wrap; }
.cda-bc a:hover { color: var(--gold-bright); }
.cda-bc .sep { color: rgba(143,160,181,0.4); }
.cda-bc .cur { color: rgba(242,245,249,0.85); }

/* バッジ / ボタン (他 V27 ページと同一規格) */
.cda-grade { display: inline-flex; align-items: center; justify-content: center; width: 4.6em; padding: 0.1875rem 0; border-radius: 0.375rem;
  font-family: var(--num); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; border: 0.0625rem solid; line-height: 1.3; white-space: nowrap; flex-shrink: 0; }
.cda-grade.g1 { color: var(--g1c); border-color: rgba(91,155,255,0.5); background: rgba(91,155,255,0.18); }
.cda-grade.g2 { color: var(--g2c); border-color: rgba(255,107,126,0.5); background: rgba(255,107,126,0.18); }
.cda-grade.g3 { color: var(--g3c); border-color: rgba(61,201,155,0.5); background: rgba(61,201,155,0.18); }
.cda-hitb { display: inline-flex; align-items: center; justify-content: center; gap: 0.3125rem; width: 5.6em; padding: 0.1875rem 0; border-radius: 62.4375rem;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; background: rgba(59,211,165,0.12); color: var(--teal); border: 0.0625rem solid rgba(59,211,165,0.35); white-space: nowrap; flex-shrink: 0; }
.cda-hitb.double { background: var(--gold-dim); color: var(--gold-bright); border-color: var(--gold-line); }
.cda-card { background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 0.0625rem solid var(--line); border-radius: 1.125rem; overflow: hidden; }
.cda-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.5rem 1.125rem; border-radius: 62.4375rem;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; border: 0.0625rem solid var(--line-strong); color: var(--text); transition: .18s; }
.cda-btn:hover { border-color: var(--gold-line); color: var(--gold-bright); }

/* 記事ヘッド */
/* パンくず→タイトルの間隔はレース情報ページ (1.875rem) に統一 */
.cda-head { padding: 1.875rem 0 1.75rem; }
@media (max-width: 640px) { .cda-head { padding: 1.875rem 0 1.375rem; } }
.cda-head .row { display: flex; align-items: center; gap: 0.625rem; flex-wrap: wrap; }
.cda-head .row .race { font-size: 0.9rem; font-weight: 800; white-space: nowrap; }
.cda-head .row .course { font-size: 0.8rem; color: var(--sub); white-space: nowrap; }
.cda-head h1 { font-family: var(--serif); font-size: 2.1rem; font-weight: 700; line-height: 1.6; letter-spacing: 0.03em; margin: 1rem 0 0; max-width: 68.75rem; color: var(--text); }
@media (max-width: 640px) { .cda-head h1 { font-size: 1.45rem; } }

/* レイアウト: 本文 + 右レール (analysis 等と同じく右側) */
.cda-layout { display: grid; grid-template-columns: 1fr 20.625rem; gap: 2rem; align-items: start; margin-top: 0.5rem; }
@media (max-width: 1100px) { .cda-layout { grid-template-columns: 1fr; } }
.cda-rail { position: sticky; top: 1.5rem; display: flex; flex-direction: column; gap: 1.125rem; grid-column: 2; grid-row: 1; }
.cda-main { min-width: 0; grid-column: 1; grid-row: 1; }
@media (max-width: 1100px) {
  .cda-rail { position: static; grid-column: auto; grid-row: auto; order: 2; }
  .cda-main { grid-column: auto; grid-row: auto; order: 1; }
}

/* サイドパネル */
.cda-panel { padding: 1.375rem 1.5rem; }
.cda-panel .h { font-family: var(--num); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.26em; color: var(--gold); text-transform: uppercase; margin-bottom: 0.75rem; }
.cda-rel .row { display: flex; align-items: center; gap: 0.5625rem; }
.cda-rel .nm { font-weight: 800; font-size: 0.95rem; }
.cda-rel .course { font-size: 0.76rem; color: var(--sub); margin: 0.375rem 0 0.875rem; }
.cda-relbtn { display: flex; justify-content: center; padding: 0.625rem 0; border-radius: 62.4375rem;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em; transition: .18s; }
.cda-relbtn.analysis { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: #16243B; }
.cda-relbtn.past { background: linear-gradient(135deg, #6FA8FF, #3E7FE0); color: #0E2240; }
.cda-relbtn:hover { filter: brightness(1.08); transform: translateY(-0.0625rem); }
.cda-hitrow { display: block; padding: 0.6875rem 0; border-bottom: 0.0625rem solid var(--line); }
.cda-hitrow:last-child { border-bottom: none; }
.cda-hitrow .top { display: flex; align-items: center; gap: 0.5rem; }
.cda-hitrow .top .nm { font-weight: 800; font-size: 0.88rem; }
.cda-hitrow .top .sp { flex: 1; }
.cda-hitrow .m { font-family: var(--num); font-size: 0.7rem; color: var(--sub); margin-top: 0.25rem; }
.cda-hitrow:hover .nm { color: var(--gold-bright); }

/* 記事本文 */
.cda-article { padding: 2.625rem 2.875rem; font-size: 0.95rem; line-height: 2.05; color: rgba(242,245,249,0.9); }
@media (max-width: 700px) { .cda-article { padding: 1.75rem 1.5rem; } }
.cda-article > p:first-child { font-family: var(--serif); font-size: 1.06rem; line-height: 2.1; color: var(--text);
  border-left: 0.125rem solid var(--gold); padding-left: 1.25rem; margin: 0 0 2rem; }
/* 見出し罫線は L 字型 (左の縦線 + 下線がつながる)。 縦横とも 0.0625rem で統一 */
.cda-article h2 { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--text); margin: 2.4rem 0 1rem; padding: 0.125rem 0 0.75rem 0.875rem;
  border-bottom: 0.0625rem solid var(--gold-line); border-left: 0.0625rem solid var(--gold-line); }
.cda-article h2:first-child { margin-top: 0; }
.cda-article h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; letter-spacing: 0.04em; color: var(--text); margin: 1.8rem 0 0.8rem; }
.cda-article p { margin: 0 0 1.1em; }
.cda-article ul, .cda-article ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.cda-article li { margin-bottom: 0.5em; line-height: 1.95; }
.cda-article li::marker { color: var(--gold); }
.cda-article strong { color: var(--gold-bright); font-weight: 800; }
.cda-article a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 0.1875rem; }
.cda-article a:hover { color: #fff; }
.cda-article blockquote { margin: 1.6em 0; padding: 1.125rem 1.5rem; border-radius: 0.75rem;
  background: var(--gold-dim); border: 0.0625rem solid rgba(201,168,92,0.25);
  font-family: var(--serif); font-weight: 700; font-size: 0.98rem; color: var(--gold-bright); }
.cda-article blockquote p { margin: 0; }
.cda-article table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 0.86rem; }
.cda-article th { font-size: 0.74rem; color: var(--sub); border-bottom: 0.0625rem solid var(--gold-line); padding: 0.5rem 0.625rem; text-align: left; white-space: nowrap; }
.cda-article td { border-bottom: 0.0625rem solid var(--line); padding: 0.5rem 0.625rem; }
.cda-article img { max-width: 100%; border-radius: 0.75rem; }
/* Markdown の --- (hr) は白線になるため非表示 (見出し境界は h2 の金下線で十分) */
.cda-article hr { display: none; }

/* その他のコラム */
.cda-ocrow { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.75rem 0.125rem; border-bottom: 0.0625rem solid var(--line); transition: .14s; }
.cda-ocrow:last-child { border-bottom: none; }
.cda-ocrow .top { display: flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; color: var(--sub); }
.cda-ocrow .t { font-size: 0.84rem; font-weight: 700; line-height: 1.55; transition: color .14s; }
.cda-ocrow:hover .t { color: var(--gold-bright); }

.cda-back-wrap { text-align: center; margin-top: 2.75rem; }

/* ===== サイド: レース情報カード (races.html の rw-card と同一仕様・.cda スコープ) ===== */
.cda .rw-grade { display: inline-flex; align-items: center; justify-content: center; width: 4.6em; padding: 0.1875rem 0; border-radius: 0.375rem;
  font-family: var(--num); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; border: 0.0625rem solid; line-height: 1.3; white-space: nowrap; flex-shrink: 0; }
.cda .rw-grade.g1 { color: var(--g1c); border-color: rgba(91,155,255,0.5); background: rgba(91,155,255,0.18); }
.cda .rw-grade.g2 { color: var(--g2c); border-color: rgba(255,107,126,0.5); background: rgba(255,107,126,0.18); }
.cda .rw-grade.g3 { color: var(--g3c); border-color: rgba(61,201,155,0.5); background: rgba(61,201,155,0.18); }
.cda .rw-hit { display: inline-flex; align-items: center; justify-content: center; gap: 0.3125rem; width: 5.6em; padding: 0.1875rem 0; border-radius: 62.4375rem;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; background: rgba(59,211,165,0.12); color: var(--teal); border: 0.0625rem solid rgba(59,211,165,0.35); white-space: nowrap; flex-shrink: 0; }
.cda .rw-hit.double { background: var(--gold-dim); color: var(--gold-bright); border-color: var(--gold-line); }
.cda .rw-status { display: inline-flex; align-items: center; justify-content: center; width: 7.6em; padding: 0.25rem 0; border-radius: 62.4375rem;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; border: 0.0625rem solid; white-space: nowrap; flex-shrink: 0; }
.cda .rw-status.final { background: rgba(20,32,55,0.55); color: var(--gold-bright); border-color: var(--gold-line); }
.cda .rw-status.prov { background: rgba(20,32,55,0.55); color: rgba(59,211,165,0.95); border-color: rgba(59,211,165,0.4); }
.cda .rw-status.pre { background: rgba(20,32,55,0.55); color: rgba(242,245,249,0.75); border-color: var(--line-strong); }
.cda .rw-chipm { display: inline-flex; align-items: center; padding: 0.1875rem 0.6875rem; border-radius: 0.375rem;
  font-size: 0.74rem; font-weight: 700; color: rgba(242,245,249,0.8); background: rgba(255,255,255,0.06); border: 0.0625rem solid var(--line); white-space: nowrap; flex-shrink: 0; }
.cda .rw-count { display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--num); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em;
  width: 5.6em; padding: 0.1875rem 0; border-radius: 62.4375rem;
  background: rgba(27,46,75,0.75); color: rgba(255,255,255,0.85); border: 0.0625rem solid var(--line-strong); white-space: nowrap; flex-shrink: 0; }
.cda .rw-count.soon { background: var(--gold-dim); color: var(--gold-bright); border-color: var(--gold-line); }
.cda .rw-card { display: flex; flex-direction: column; transition: .16s; cursor: pointer; }
.cda .rw-card:hover { border-color: var(--gold-line); transform: translateY(-0.1875rem); }
.cda .rw-card:hover .rw-foot .lnk { color: #fff; }
.cda .rw-photo { position: relative; height: 9.375rem; display: flex; flex-direction: column; padding: 0.875rem 1rem; box-sizing: border-box;
  background: linear-gradient(150deg, #2D4B7C 0%, #22395C 55%, #1B2E4B 100%); overflow: hidden; }
.cda .rw-photo .bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scale(1.07); }
.cda .rw-photo .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,46,75,.25), rgba(16,34,64,.78)); }
.cda .rw-photo .tags { display: flex; gap: 0.4375rem; align-items: center; position: relative; z-index: 1; }
.cda .rw-photo .stat { position: absolute; top: 0.875rem; right: 1rem; z-index: 1; }
.cda .rw-pname { margin-top: auto; position: relative; z-index: 1; }
.cda .rw-pname .nm { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: #fff;
  letter-spacing: 0.04em; line-height: 1.25; text-shadow: 0 0.125rem 0.75rem rgba(0,0,0,0.45); transition: color .15s; }
.cda .rw-photo:hover .nm { color: var(--gold-bright); }
.cda .rw-body { padding: 1rem 1.125rem 1.125rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.cda .rw-chips-row { display: flex; gap: 0.4375rem; flex-wrap: wrap; }
.cda .rw-foot { margin-top: auto; padding-top: 0.75rem; border-top: 0.0625rem solid var(--line);
  display: flex; align-items: center; justify-content: flex-end; gap: 0.625rem; }
.cda .rw-foot .lnk { font-size: 0.8rem; font-weight: 800; color: var(--gold-bright); transition: .15s; white-space: nowrap; }
