@charset "UTF-8";

/* Page "Aktuelles": timeline, search, single view, keyword field. Buttons, filter, management boxes and forms come from
   fleet-2.css (the page content is wrapped in .fleet). Colors and buttons: CLAUDE.md section 11. */
.news-search { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 0 0 16px; }
.news-search .fleet-field { flex: 1 1 240px; margin: 0; }
.news-search .fleet-button { flex: none; }
.news-result { margin: 0 0 16px; }
.news-filter-label-count { margin-top: 12px; }
.fleet-filter-link.news-filter-plain { padding-right: 16px; }
.news-empty { padding: 16px; border: 2px solid #039; background: #fff; }
.news-more { margin: 20px 0 0; text-align: center; }
.news-more .fleet-button.is-loading { opacity: 0.6; cursor: progress; }

/* Timeline */
.news-month { margin: 24px 0 0; }
.news-month-title { margin: 0 0 12px; padding: 0 0 0 12px; border-left: 8px solid #ffe600; font-size: 24px; line-height: 1.3; font-weight: bold; color: #202020; }
.news-list { margin: 0; padding: 0; list-style: none; }
.news-item { position: relative; margin: 0 0 16px; padding: 0 0 0 28px; }
.news-item::before { content: ""; position: absolute; left: 7px; top: 0; bottom: -16px; width: 3px; background: #c5ccd6; }
.news-item::after { content: ""; position: absolute; left: 0; top: 18px; width: 17px; height: 17px; box-sizing: border-box; border: 3px solid #039; border-radius: 50%; background: #fff; }
.news-list > .news-item:last-child::before { bottom: 0; }
.news-date { display: none; }
.news-item:focus { outline: 3px solid #ffe600; outline-offset: 2px; }

.news-card { box-sizing: border-box; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "body" "more" "bar";
  background: #fff; border: 2px solid #039; }
.news-card.is-draft { border: 2px dashed #8a4b00; }
.news-photo { grid-area: photo; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 14px 0; }
.news-photo img { order: 1; display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.news-count { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 12px; background: #039; color: #fff; font-size: 14px; font-weight: bold; }
.news-body { grid-area: body; min-width: 0; padding: 12px 14px; overflow-wrap: break-word; }
.news-card .fleet-bar { grid-area: bar; }
.news-card .fleet-bar a { flex: 1 1 0; justify-content: flex-start; padding: 0 14px; }
.news-card .fleet-bar a span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
.news-card .fleet-bar a + a { border-left: 2px solid #8a4b00; }
.news-card .fleet-bar a.fleet-bar-delete { justify-content: flex-end; }
.news-card .news-bar-note { flex: 1 1 0; min-width: 0; align-self: center; padding: 0 0 0 14px; }
.news-card .news-bar-note + a.fleet-bar-delete { flex: none; }
.news-card .fleet-more { grid-area: more; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 6px; font-size: 14px; color: #53616b; }
.news-badge { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 2px 8px; background: #039; color: #fff; font-weight: bold; }
.news-draft { display: inline-block; margin-left: auto; padding: 2px 8px; border: 2px solid #8a4b00; background: #fff6e0; color: #8a4b00; font-weight: bold; }
.news-draft + .news-badge { margin-left: 0; }
.news-title { margin: 0 0 6px; font-size: 22px; line-height: 1.25; font-weight: bold; }
.news-title a { color: #039; text-decoration: none; }
.news-title a:hover, .news-title a:focus { text-decoration: underline; }
.news-title a:focus-visible { outline: 3px solid #ffe600; }
.news-excerpt { margin: 0 0 8px; }
.news-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.news-tags a { box-sizing: border-box; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid #039; border-radius: 999px; background: #eaf0fa; color: #039; font-weight: bold; text-decoration: none; }
.news-tags a:hover { background: #d4e0f5; }
.news-tags a:focus-visible { outline: 3px solid #ffe600; outline-offset: 1px; }
.news-bar-note { flex: 1 1 100%; box-sizing: border-box; padding: 8px 14px 0; font-size: 14px; color: #8a4b00; }

/* Single view */
.news-detail { margin: 0 0 8px; }
.news-detail.is-draft { padding: 12px; border: 2px dashed #8a4b00; }
.news-detail-head { margin: 0 0 16px; }
.news-detail-titlerow { display: flex; flex-direction: column; gap: 12px; }
.news-detail-title { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 24px; line-height: 1.25; font-weight: bold; color: #202020; }
.news-external { gap: 8px; }
.news-gallery { margin: 0 0 16px; }
.news-large { display: block; width: 100%; height: auto; max-height: 640px; object-fit: contain; background: #f2f3f4; }
.news-gallery-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; font-weight: bold; color: #53616b; }
.news-gallery-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.news-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.news-thumbs a { display: block; border: 2px solid #c5ccd6; }
.news-thumbs a.is-active { border-color: #039; }
.news-thumbs a:focus-visible { outline: 3px solid #ffe600; outline-offset: 1px; }
.news-thumbs img { display: block; width: 96px; height: 72px; object-fit: cover; }
.news-text { margin: 0 0 8px; }
.news-related { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 16px 0; padding: 0; list-style: none; }
.news-related a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px; border: 2px solid #039; background: #fff; color: #039; font-weight: bold; text-decoration: none; }
.news-related a:hover, .news-related a:focus { background: #eaf0fa; }
.news-related img { flex: none; width: 90px; height: 68px; object-fit: cover; }
.news-related small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #53616b; }
.fleet-manage .news-manage-note { flex: 1 1 200px; align-self: center; margin: 0; font-size: 14px; color: #8a4b00; }
.news-unavailable { padding: 16px; border: 2px solid #039; background: #fff; }

/* Keyword field of the form */
.news-tagfield { position: relative; }
.news-tagfield.is-enhanced > .fleet-field { display: none; }
.news-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.news-chips:empty { display: none; }
.news-chips li { display: inline-flex; align-items: center; border: 2px solid #039; border-radius: 999px; background: #eaf0fa; color: #039; font-weight: bold; }
.news-chips li span { padding: 4px 4px 4px 10px; }
.news-chips button { box-sizing: border-box; min-width: 32px; min-height: 32px; border: 0; border-radius: 999px; background: transparent; color: #039; font-size: 20px; line-height: 1; font-weight: bold; cursor: pointer; }
.news-chips button:hover { background: #d4e0f5; }
.news-chips button:focus-visible, .news-tag-input:focus-visible { outline: 3px solid #ffe600; outline-offset: 1px; }
.news-tag-controls { position: relative; display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.news-tag-input { box-sizing: border-box; flex: 1 1 220px; min-height: 44px; padding: 6px 10px; border: 2px solid #53616b; font: inherit; }
.news-tag-list { position: absolute; z-index: 5; top: 100%; left: 0; right: 0; max-width: 420px; margin: 0; padding: 0; list-style: none; border: 2px solid #039; background: #fff; }
.news-tag-list[hidden] { display: none; }
.news-tag-list li { padding: 10px 12px; min-height: 24px; cursor: pointer; }
.news-tag-list li.is-active, .news-tag-list li:hover { background: #039; color: #fff; }

@container (min-width: 560px) {
  .news-item { padding-left: 96px; }
  .news-item::before { left: 71px; }
  .news-item::after { left: 64px; top: 20px; }
  .news-date { position: absolute; left: 0; top: 4px; width: 56px; display: block; text-align: center; color: #039; }
  .news-date strong { display: block; font-size: 32px; line-height: 1; }
  .news-date span { display: block; margin-top: 2px; font-size: 14px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; }
  .news-card { grid-template-columns: 220px minmax(0, 1fr); grid-template-areas: "photo body" "more more" "bar bar"; grid-template-rows: 1fr auto auto; }
  .news-card:not(:has(.news-photo)) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "body" "more" "bar"; grid-template-rows: auto; }
  .news-photo { box-sizing: border-box; min-height: 165px; padding: 12px 14px; }
  .news-photo img { flex: 1 1 0; min-height: 0; aspect-ratio: auto; }
  .news-detail-titlerow { flex-direction: row; align-items: center; justify-content: space-between; }
  .news-external { flex: none; }
  .news-related { grid-template-columns: 1fr 1fr; }
}
