/* =====================================================================
   /why-orthodoxy: builds on cornerstones-hub.css (hero, parts, article
   rows). Adds the chain of transmission (2 Tim 2:2), the three terms,
   the key-passage cards, the reference list and the "more" lists.
   ===================================================================== */
/* chain of transmission */
.wo-chainwrap { position: relative; }
.wo-chain { display: block; width: 100%; height: auto; overflow: visible; }
.wo-line { fill: none; stroke: rgba(226, 196, 126, .55); stroke-width: 2; stroke-dasharray: 4 6; }
.wo-dot { fill: #b08a45; stroke: #1a140c; stroke-width: 2; }
.wo-dot.is-christ { fill: #f0d48c; }
.wo-dot.is-now { fill: #d9bf82; }
.wo-ic { font: 700 22px 'Cinzel', serif; fill: #1a140c; text-anchor: middle; }
.wo-lb { font: 600 15px 'Cinzel', serif; fill: #f1e8d4; text-anchor: middle; }
.wo-chaincap { margin: 4px auto 0; max-width: 30rem; text-align: center; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 17px; line-height: 1.45; color: rgba(241, 232, 212, .82); }
.wo-chaincap span { display: block; margin-top: 4px; font: 600 11px system-ui, sans-serif; font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: #e2c47e; }
@media (prefers-reduced-motion: no-preference) {
  .csx-js .wo-st { animation: csx-rise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 160ms + 200ms); }
  .csx-js .wo-line { animation: wo-draw 2.2s ease both .2s; }
}
@keyframes wo-draw { from { stroke-dashoffset: 400; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }

/* three terms */
.wo-terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 34px 0 0; }
.wo-terms > div { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, #fffdf8, var(--card)); }
.wo-terms > div:nth-child(2) { border-color: #c4a35e; box-shadow: 0 0 0 3px rgba(201, 162, 78, .12); }
.csx .wo-terms h2 { margin: 0 0 6px; font-family: 'Cinzel', serif; font-size: 18px; color: var(--ink); }
.wo-terms p { margin: 0; font-size: 16px; line-height: 1.55; color: #4a4335; }

/* key passages */
.wo-verses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.wo-verse { position: relative; padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, #fffdf8, var(--card)); box-shadow: 0 18px 36px -30px rgba(60, 40, 10, .45); }
.wo-verse:first-child { grid-column: 1 / -1; background: radial-gradient(120% 140% at 0% 0%, rgba(226, 196, 126, .28), transparent 55%), linear-gradient(180deg, #fffdf8, var(--card)); border-color: #c4a35e; }
.wo-vnum { position: absolute; right: 18px; top: 10px; margin: 0; font: 600 44px/1 'Cinzel', serif; color: transparent; -webkit-text-stroke: 1px rgba(184, 145, 75, .55); }
.csx .wo-verse h3 { margin: 0 0 10px; font-family: 'Cinzel', serif; font-size: 19px; }
.wo-verse h3 a { color: var(--gold-d); text-decoration: none; }
.wo-verse h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wo-verse blockquote { margin: 0 0 12px; padding: 0 0 0 14px; border-left: 3px solid var(--gold); font-family: 'Cormorant Garamond', Georgia, serif; font-size: 21px; line-height: 1.42; color: #2f2a24; }
.wo-verse:first-child blockquote { font-size: 25px; }
.wo-point { margin: 0 0 12px; font-size: 16.5px; line-height: 1.55; color: #3b3227; }
.wo-exp { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; font: 13px system-ui, sans-serif; }
.wo-exp span { letter-spacing: .12em; text-transform: uppercase; font-size: 11px; font-weight: 600; color: var(--muted); margin-right: 2px; }
.wo-exp a { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #6b4f1e; text-decoration: none; font-weight: 600; }
.wo-exp a:hover { border-color: var(--gold); background: #fbf3df; }

/* all references */
.wo-allrefs { margin: 34px 0 0; }
.csx .wo-allrefs h3 { margin: 0 0 4px; font-family: 'Cinzel', serif; font-size: 22px; }
.wo-allrefs > p { margin: 0 0 14px; max-width: 44rem; font-size: 16px; line-height: 1.55; color: var(--muted); }
.wo-groups { display: grid; gap: 10px; }
.wo-group { border: 1px solid var(--line); border-radius: 14px; background: #fffdf8; overflow: hidden; }
.wo-group summary { display: flex; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; }
.wo-group summary::-webkit-details-marker { display: none; }
.wo-group summary::after { content: "+"; margin-left: 8px; font: 400 22px/1 system-ui, sans-serif; color: var(--gold-d); transition: transform .2s ease; }
.wo-group[open] summary::after { transform: rotate(45deg); }
.wo-group summary:hover { background: #fbf6ea; }
.wo-gn { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 700 13px 'Cinzel', serif; color: #fbf3df; background: radial-gradient(circle at 35% 30%, #d9b264, #8a6c2b); }
.wo-gt { flex: 1; font: 700 16px 'Cinzel', serif; color: var(--ink); }
.wo-gc { font: 600 12px system-ui, sans-serif; color: var(--muted); }
.wo-gnote { margin: 0; padding: 0 18px 10px 58px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.wo-group ul { list-style: none; margin: 0; padding: 0 18px 14px 58px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 22px; }
.wo-group li { display: grid; grid-template-columns: 11.5rem 1fr; gap: 10px; padding: 6px 0; border-top: 1px dashed rgba(184, 145, 75, .25); font-size: 15px; line-height: 1.4; }
.wo-group li a { font-weight: 700; color: #6b4f1e; text-decoration: none; }
.wo-group li a:hover { text-decoration: underline; }
.wo-group li span { color: #4a4335; }

/* what the passages settle */
.wo-settle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; margin: 30px 0 0; border-radius: 18px; overflow: hidden; border: 1px solid #c4a35e; }
.wo-settle > div { padding: 22px 24px; }
.wo-settle > div:first-child { background: #fbf6ea; }
.wo-settle > div:last-child { background: linear-gradient(160deg, #1d1813, #120f0c); color: rgba(241, 232, 212, .86); --theme-heading: #fbf3df; }
.csx .wo-settle h3 { margin: 0 0 10px; font-family: 'Cinzel', serif; font-size: 18px; }
.wo-settle ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.wo-settle li { position: relative; padding-left: 24px; font-size: 16px; line-height: 1.5; color: #3b3227; }
.wo-settle li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #3f7a4a; font-weight: 700; }
.wo-settle p { margin: 0 0 10px; font-size: 16px; line-height: 1.6; }
.wo-settle a { color: #f0d48c; font-weight: 600; }

/* more lists */
.csx .wo-morehead { margin: 30px 0 10px 64px; font: 600 12px system-ui, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); }
.wo-more { list-style: none; margin: 0 0 0 64px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px 14px; }
.wo-more a { display: block; height: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fffdf8; color: var(--ink); text-decoration: none; font-size: 15.5px; line-height: 1.4; transition: border-color .15s ease, background .15s ease; }
.wo-more a:hover { border-color: var(--gold); background: #fbf6ea; }
.wo-kind { display: block; margin-bottom: 3px; font: 600 10.5px system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); }

@media (max-width: 900px) {
  .wo-terms { grid-template-columns: 1fr; }
  .wo-verses { grid-template-columns: 1fr; }
  .wo-group ul { grid-template-columns: 1fr; }
  .wo-settle { grid-template-columns: 1fr; }
  .wo-chainwrap { max-width: 480px; margin: 6px auto 0; width: 100%; }
}
@media (max-width: 560px) {
  .wo-verse { padding: 18px 16px 14px; }
  .wo-verse blockquote, .wo-verse:first-child blockquote { font-size: 19px; }
  .wo-vnum { font-size: 34px; }
  .wo-gnote, .wo-group ul { padding-left: 18px; }
  .wo-group li { grid-template-columns: 1fr; gap: 2px; }
  .csx .wo-morehead, .wo-more { margin-left: 0; }
  .wo-settle > div { padding: 18px; }
}
