:root {
  --ilb-ink: #0b0b0b;
  --ilb-bg: #f2efe6;
  --ilb-surface: #fffdf8;
  --ilb-line: #d8d1c4;
  --ilb-muted: #66625b;
  --ilb-red: #e9322d;
  --ilb-blue: #163b57;
  --ilb-radius: 8px;
}

.ilb-breaking {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: var(--ilb-red);
  color: #fff;
  box-shadow: 0 12px 34px rgba(11, 11, 11, .18);
}

.admin-bar .ilb-breaking {
  top: 32px;
}

.ilb-breaking a {
  min-height: 48px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  max-width: var(--max, 1240px);
  margin: 0 auto;
  padding: 8px 20px;
  color: #fff;
  text-decoration: none;
}

.ilb-breaking strong {
  padding: 5px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, .22);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ilb-breaking span {
  min-width: 0;
  overflow: hidden;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ilb-breaking em {
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.ilb-live-page,
.ilb-live-archive,
.ilb-feed {
  max-width: var(--max, 1240px);
  margin: 0 auto;
  padding: 0 20px;
}

.ilb-live-head,
.ilb-archive-head {
  padding: 10px 0 24px;
  border-bottom: 1px solid var(--ilb-line);
}

.ilb-kicker,
.ilb-section-head p,
.ilb-feed-card span {
  margin: 0 0 8px;
  color: var(--ilb-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.ilb-live-head h1,
.ilb-archive-head h1,
.ilb-section-head h2 {
  margin: 0;
  color: var(--ilb-ink);
  font-family: Futura, "Futura PT", "Avenir Next", Avenir, "Century Gothic", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
}

.ilb-live-head h1,
.ilb-archive-head h1 {
  max-width: 980px;
  font-size: clamp(44px, 7vw, 96px);
  line-height: .92;
}

.ilb-live-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.ilb-live-meta span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--ilb-line);
  border-radius: 8px;
  background: rgba(255, 253, 248, .78);
  color: var(--ilb-muted);
  font-size: 13px;
  font-weight: 800;
}

.ilb-live-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
  margin-top: 28px;
}

.ilb-live-content {
  min-width: 0;
}

.ilb-live-content > * {
  max-width: 760px;
}

.ilb-live-side {
  position: sticky;
  top: 24px;
  padding: 18px;
  border: 1px solid var(--ilb-line);
  border-radius: var(--ilb-radius);
  background: var(--ilb-surface);
}

.admin-bar .ilb-live-side {
  top: 56px;
}

.ilb-live-side h2 {
  margin: 0 0 12px;
  font-family: Futura, "Futura PT", "Avenir Next", Avenir, "Century Gothic", ui-sans-serif, system-ui, sans-serif;
  font-size: 24px;
}

.ilb-side-list {
  display: grid;
  gap: 12px;
}

.ilb-side-list a {
  display: block;
  padding-top: 12px;
  border-top: 1px solid var(--ilb-line);
  color: var(--ilb-ink);
  font-weight: 900;
  text-decoration: none;
}

.ilb-side-list time {
  display: block;
  margin-bottom: 4px;
  color: var(--ilb-red);
  font-size: 12px;
  font-weight: 900;
}

.ilb-timeline {
  max-width: 880px;
  margin: 42px auto 0;
  padding: 24px;
  border: 1px solid var(--ilb-line);
  border-radius: var(--ilb-radius);
  background: var(--ilb-surface);
}

.ilb-section-head {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ilb-line);
}

.ilb-section-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.ilb-summary {
  margin-bottom: 18px;
  color: var(--ilb-muted);
  font-size: 17px;
}

.ilb-update-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ilb-update-list li {
  position: relative;
  padding: 16px 16px 16px 22px;
  border: 1px solid var(--ilb-line);
  border-radius: var(--ilb-radius);
  background: #fff;
}

.ilb-update-list li.is-important {
  border-color: var(--ilb-red);
  box-shadow: inset 4px 0 0 var(--ilb-red);
}

.ilb-update-source,
.ilb-share,
.ilb-source-note {
  display: block;
  margin-top: 12px;
  color: var(--ilb-muted);
  font-size: 13px;
  font-weight: 700;
}

.ilb-share a {
  color: var(--ilb-red);
  font-weight: 900;
  text-decoration: none;
}

.ilb-update-list li::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 4px;
  background: var(--ilb-blue);
}

.ilb-update-list li.is-pinned::before {
  background: var(--ilb-red);
}

.ilb-update-list time {
  display: block;
  margin-bottom: 8px;
  color: var(--ilb-red);
  font-size: 12px;
  font-weight: 900;
}

.ilb-update-list h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.15;
}

.ilb-update-list p {
  margin: 0;
  color: var(--ilb-ink);
}

.ilb-source-note,
.ilb-empty {
  color: var(--ilb-muted);
}

.ilb-feed {
  margin-top: 42px;
}

.ilb-feed-grid,
.ilb-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ilb-feed-card {
  border: 1px solid var(--ilb-line);
  border-radius: 8px;
  background: var(--ilb-surface);
  overflow: hidden;
}

.ilb-feed-card a {
  display: grid;
  gap: 10px;
  min-height: 220px;
  padding: 18px;
  color: inherit;
  text-decoration: none;
}

.ilb-feed-card h3 {
  margin: 0;
  font-family: Futura, "Futura PT", "Avenir Next", Avenir, "Century Gothic", ui-sans-serif, system-ui, sans-serif;
  font-size: 28px;
  line-height: 1;
}

.ilb-feed-card p {
  margin: 0;
  color: var(--ilb-muted);
}

.ilb-feed-card em {
  align-self: end;
  color: var(--ilb-red);
  font-style: normal;
  font-weight: 900;
}

@media (max-width: 1023px) {
  .ilb-live-layout {
    grid-template-columns: 1fr;
  }

  .ilb-live-side {
    position: static;
  }

  .ilb-feed-grid,
  .ilb-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .admin-bar .ilb-breaking {
    top: 46px;
  }

  .ilb-breaking a {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .ilb-breaking strong {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .ilb-feed-grid,
  .ilb-archive-grid {
    grid-template-columns: 1fr;
  }

  .ilb-timeline {
    padding: 16px;
  }
}

.ilb-live-head h1,
.ilb-archive-head h1,
.ilb-section-head h2,
.ilb-live-side h2,
.ilb-update-list h3,
.ilb-feed-card h3 {
  font-size: 2rem;
  line-height: 1.39;
}
