/* badmintonapi.com: the changelog. A timeline of changes by month, with the feed, the promise and links beside it. */
.cl { background: #F4F1E8; }
.cl-in { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.cl a { transition: color .15s ease, border-color .15s ease; }

/* ------------------------------------------------------------------ the top band */
.cl-top { color: #fff; border-bottom: 1px solid var(--gold); background: radial-gradient(50% 90% at 88% 0%, rgba(34,150,112,.42) 0%, rgba(34,150,112,0) 70%), radial-gradient(40% 70% at 0% 100%, rgba(226,199,127,.12) 0%, rgba(226,199,127,0) 70%), linear-gradient(170deg, #0B4A3E 0%, #072E27 100%); }
.cl-top .cl-in { padding-top: 40px; padding-bottom: 44px; }
.cl-over { display: inline-flex; align-items: center; gap: 12px; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-lt); font-weight: 700; }
.cl-over::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.cl-top h1 { margin: 14px 0 0; font: 700 44px/1.1 "Shippori Mincho", serif; letter-spacing: -.01em; }
.cl-top p { margin: 12px 0 0; max-width: 600px; font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,.74); }
.cl-facts { display: flex; margin: 28px 0 0; }
.cl-facts div { padding: 0 24px; border-left: 1px solid rgba(226,199,127,.25); }
.cl-facts div:first-child { padding-left: 0; border-left: 0; }
.cl-facts dt { font: 700 24px/1.1 "Shippori Mincho", serif; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cl-facts dd { margin: 4px 0 0; font-size: 12.5px; color: rgba(255,255,255,.58); }

/* ------------------------------------------------------------------ the timeline */
.cl-body { padding: 44px 0 96px; }
.cl-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.cl-month { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font: 700 24px/1.2 "Shippori Mincho", serif; color: var(--deep); }
.cl-month::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cl-list + .cl-month { margin-top: 40px; }
.cl-list { position: relative; list-style: none; margin: 0; padding: 0; }
.cl-list::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.cl-e { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; scroll-margin-top: 124px; }
.cl-e + .cl-e { margin-top: 14px; }
.cl-e[hidden] { display: none; }
.cl-e time { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.cl-e time b { font: 700 20px/1 "Shippori Mincho", serif; color: var(--deep); }
.cl-e time span { margin-top: 3px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.cl-e:first-child time { background: var(--deep); border-color: var(--deep); }
.cl-e:first-child time b { color: #fff; }
.cl-e:first-child time span { color: var(--gold-lt); }
.cl-e article { padding: 18px 24px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 1px 0 rgba(10,63,53,.04), 0 24px 48px -32px rgba(10,63,53,.25); }
.cl-e h3 { margin: 0 0 8px; font: 700 18px/1.3 "Shippori Mincho", serif; color: var(--deep); }
.cl-e ul { margin: 0; padding: 0 0 0 18px; list-style: disc; }
.cl-e li li { margin: 6px 0 0; font-size: 14.5px; line-height: 1.6; color: #34403A; }
.cl-e li li::marker { color: var(--gold); }
.cl-e code { padding: 1px 6px; border-radius: 4px; background: var(--paper); border: 1px solid var(--hair); font: 500 12.5px "IBM Plex Mono", monospace; color: var(--deep); }
.cl-e a code { border-color: #D8CDA8; }
.cl-e a:hover code { border-color: var(--gold); background: #FBF7EA; }
.cl-all { display: block; width: 100%; margin-top: 18px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--deep); font: 700 14px "Zen Kaku Gothic New", sans-serif; cursor: pointer; }
.cl-all:hover { border-color: var(--gold); }

/* ------------------------------------------------------------------ beside it */
.cl-side { position: sticky; top: 124px; display: flex; flex-direction: column; gap: 12px; }
.cs { padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.cs h2 { margin: 0 0 6px; font: 700 17px/1.3 "Shippori Mincho", serif; color: var(--deep); }
.cs p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.cs-feed { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 0 12px; align-items: center; margin-top: 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.cs-feed:hover { border-color: var(--gold); }
.cs-feed span { grid-row: 1 / span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--deep); }
.cs-feed svg { width: 20px; height: 20px; fill: none; stroke: var(--gold-lt); stroke-width: 1.8; stroke-linecap: round; }
.cs-feed circle { fill: var(--gold-lt); stroke: none; }
.cs-feed b { font: 600 13.5px "IBM Plex Mono", monospace; color: var(--deep); }
.cs-feed em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.cs-links { padding: 6px 22px; }
.cs-links a { display: flex; flex-direction: column; padding: 12px 0; }
.cs-links a + a { border-top: 1px solid var(--hair); }
.cs-links b { font-size: 14px; color: var(--ink); }
.cs-links a:hover b { color: var(--jade); }
.cs-links span { margin-top: 2px; font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------------------ smaller screens */
@media (max-width: 960px) {
.cl-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.cl-side { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cs-links { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
.cl-in { padding: 0 16px; }
.cl-top .cl-in { padding-top: 28px; padding-bottom: 32px; }
.cl-top h1 { font-size: 32px; }
.cl-facts div { padding: 0 14px; }
.cl-facts dt { font-size: 20px; }
.cl-body { padding: 28px 0 72px; }
.cl-list::before { left: 21px; }
.cl-e { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
.cl-e time { width: 44px; height: 48px; }
.cl-e time b { font-size: 17px; }
.cl-e article { padding: 14px 16px 14px; }
.cl-side { grid-template-columns: minmax(0, 1fr); }
}
