/* Naujienos – pakeitimų žurnalas (/naujienos/) and the "Naujausi pakeitimai" card on the main page. Builds on site.css. */

/* tag chips */
.cl-tag { display: inline-block; flex: none; min-width: 84px; text-align: center; padding: 2px 8px; margin-top: 1px;
  font: 600 14px/1.35 var(--font-head); color: #10101a; text-shadow: none; border: 2px solid #000;
  box-shadow: inset 2px 2px 0 rgba(255,255,255,.45), inset -2px -2px 0 rgba(0,0,0,.25); }
.cl-new { background: #55ff55; }
.cl-changed { background: #ffc83d; }
.cl-fixed { background: #8fa6ff; }
.cl-server { background: #d29bff; }
.cl-site { background: #55ffff; }
.cl-other { background: #c9d1d9; }

.cl-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cl-items li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 10px; background: rgba(0,0,0,.28);
  border-left: 3px solid rgba(255,255,255,.12); }
.cl-text { line-height: 1.35; overflow-wrap: anywhere; }
.cl-text code { white-space: normal; }

/* /naujienos/ page */
.cl-main { width: min(920px, 100%); }
.cl-head { margin-top: 32px; }
.cl-title { margin: 0 0 8px; font: 600 clamp(30px, 5vw, 44px)/1.1 var(--font-head); color: #fff; text-shadow: 3px 3px 0 var(--mc-shadow); }
.cl-head .lead { margin-bottom: 0; }
.cl-soon h2 { margin-bottom: 12px; }
.cl-upcoming { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.cl-upcoming li { position: relative; padding: 8px 10px 8px 34px; background: rgba(255,255,85,.07); border: 2px dashed rgba(255,255,85,.35); }
.cl-upcoming li::before { content: "⌛"; position: absolute; left: 10px; top: 7px; color: #ffff55; }
.cl-date-h { font: 600 clamp(22px, 3vw, 28px)/1.15 var(--font-head); color: #ffff55; text-shadow: 2px 2px 0 #3f3f15; margin: 0 0 4px; }
.cl-entry + .cl-entry { margin-top: 18px; }
.cl-entry .sub { margin: 10px 0 12px; color: #fff; text-shadow: 2px 2px 0 var(--mc-shadow); font-size: 21px; }
.cl-list .muted { margin-top: 26px; }

/* Archyvas: collapsed development-day entries */
.cl-archive > summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px;
  -webkit-user-select: none; user-select: none; }
.cl-archive > summary::-webkit-details-marker { display: none; }
.cl-archive-h { font: 600 clamp(22px, 3vw, 28px)/1.15 var(--font-head); color: #ffff55; text-shadow: 2px 2px 0 #3f3f15; }
.cl-archive-h::before { content: "▶ "; font-size: .7em; vertical-align: middle; }
.cl-archive[open] .cl-archive-h::before { content: "▼ "; }
.cl-archive-day { margin-top: 22px; padding-top: 14px; border-top: 2px solid rgba(255,255,255,.1); }

/* main page card */
.cl-card .section-head { margin-bottom: 6px; }
.cl-card-date { font: 600 15px var(--font-head); color: var(--muted); }
.cl-card .cl-card-title { margin: 6px 0 12px; }
.cl-card .cl-more { display: inline-block; margin: 14px 0 0; }

@media (max-width: 520px) {
  .cl-items li { flex-direction: column; gap: 6px; }
  .cl-tag { min-width: 0; }
}
