:root {
  --bg: #05070b;
  --bg-2: #080c13;
  --panel: rgba(12, 18, 28, 0.72);
  --panel-solid: #0b111a;
  --line: rgba(126, 164, 204, 0.14);
  --line-strong: rgba(126, 164, 204, 0.28);
  --text: #eaf2ff;
  --muted: #93a6bd;
  --dim: #61748a;
  --accent: #38e1ff;
  --accent-2: #7c5cff;
  --danger: #ff3b5c;
  --warn: #ffb020;
  --ok: #35e08a;
  --font: "Bahnschrift", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Mono", "Consolas", "SFMono-Regular", "Liberation Mono", monospace;
  --radius: 14px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 560px at 12% -8%, rgba(56, 225, 255, 0.11), transparent 62%),
    radial-gradient(900px 520px at 92% 0%, rgba(124, 92, 255, 0.1), transparent 60%),
    linear-gradient(180deg, #05070b 0%, #060a10 55%, #05070b 100%);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(126, 164, 204, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 164, 204, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 20%, black 0%, transparent 78%);
}

::selection {
  background: rgba(56, 225, 255, 0.28);
  color: #fff;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(5, 7, 11, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  filter: drop-shadow(0 0 10px rgba(56, 225, 255, 0.35));
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
}

.brand-text small {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  line-height: 1;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border: 1px solid rgba(53, 224, 138, 0.28);
  border-radius: 999px;
  background: rgba(53, 224, 138, 0.06);
  color: var(--ok);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.live-pill i,
.breaking-tag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: livePulse 2s ease-out infinite;
}

.clock {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.updated {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  white-space: nowrap;
}

.updated.stale {
  color: var(--warn);
}

.search {
  display: flex;
  align-items: center;
  gap: 0;
  width: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 12, 19, 0.8);
  overflow: hidden;
  transition: border-color 0.2s;
}

.search:focus-within {
  border-color: rgba(56, 225, 255, 0.5);
}

.search input {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  line-height: 24px;
}

.search input::placeholder {
  color: var(--dim);
}

.search button {
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  align-self: stretch;
  border: 0;
  background: transparent;
  color: var(--dim);
  cursor: pointer;
  font-size: 16px;
}

.search button:hover {
  color: var(--accent);
}

.cat-nav {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid rgba(126, 164, 204, 0.08);
}

.cat-nav::-webkit-scrollbar {
  display: none;
}

.cat-nav a {
  position: relative;
  flex-shrink: 0;
  padding: 8px 1px 7px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 24px;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

.cat-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.cat-nav a:hover {
  color: var(--muted);
}

.cat-nav a.active {
  color: var(--accent);
}

.cat-nav a.active::after {
  transform: scaleX(1);
}

/* Layout */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  padding-top: 34px;
  padding-bottom: 70px;
}

.main-col {
  min-width: 0;
}

.breaking {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 59, 92, 0.34);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(255, 59, 92, 0.14), rgba(255, 59, 92, 0.02)),
    rgba(12, 18, 28, 0.6);
  text-decoration: none;
  animation: breakGlow 4s ease-in-out infinite;
}

.breaking-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--danger);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.breaking-tag i {
  animation: breakPulse 1.6s ease-out infinite;
}

.breaking-title {
  flex: 1;
  min-width: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breaking-time {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9px;
  white-space: nowrap;
}

.feed-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.feed-head h1,
.feed-head h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feed-head h2 {
  font-size: 21px;
}

.feed-meta {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.feed {
  display: grid;
  gap: 16px;
}

/* Cards */

.card {
  position: relative;
  padding: 21px 24px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(16, 23, 34, 0.82), rgba(8, 12, 19, 0.9)),
    var(--panel);
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--cat);
  opacity: 0.75;
}

.card::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--cat) 12%, transparent), transparent 68%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--cat) 38%, var(--line));
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}

.card:hover::after {
  opacity: 1;
}

.card--new {
  animation: cardIn 0.65s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  border-color: color-mix(in srgb, var(--cat) 42%, var(--line));
}

.card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid color-mix(in srgb, var(--cat) 30%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--cat) 7%, transparent);
  color: var(--cat);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.sev {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--muted);
}

.sev i {
  display: block;
  width: 9px;
  height: 3px;
  border-radius: 1px;
  background: rgba(126, 164, 204, 0.2);
}

.sev i.on {
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}

.sev-1 { color: #8ea1b8; }
.sev-2 { color: var(--accent); }
.sev-3 { color: var(--warn); }
.sev-4 { color: #ff7a3d; }
.sev-5 { color: var(--danger); }

.new-badge {
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--accent);
  color: #041016;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.card-top time {
  margin-left: auto;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.card h2 {
  margin: 12px 0 9px;
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.015em;
}

.card h2 a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.18s;
}

.card h2 a:hover {
  color: var(--cat);
}

.summary {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #b6c4d6;
  font-size: 15px;
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.why {
  margin-top: 13px;
  padding: 10px 13px;
  border-left: 2px solid var(--cat);
  border-radius: 0 8px 8px 0;
  background: color-mix(in srgb, var(--cat) 6%, transparent);
}

.why span {
  color: var(--cat);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
}

.why p {
  display: -webkit-box;
  margin: 4px 0 0;
  overflow: hidden;
  color: #d3deeb;
  font-size: 13.5px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cves {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.cves span {
  padding: 3px 7px;
  border: 1px solid rgba(255, 176, 32, 0.25);
  border-radius: 4px;
  background: rgba(255, 176, 32, 0.06);
  color: #ffcf8a;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.card-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.card-foot .source {
  color: var(--muted);
  text-transform: uppercase;
}

.card-foot .cluster {
  color: var(--accent);
}

.card-foot .ext {
  margin-left: auto;
  color: var(--dim);
  text-decoration: none;
  transition: color 0.18s;
}

.card-foot .ext:hover {
  color: var(--accent);
}

/* Search heading */

.search-head {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.search-head span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.search-head h1 {
  margin: 6px 0 4px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.search-head p {
  margin: 0;
  color: var(--dim);
  font-size: 13px;
}

/* Pagination */

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
}

.page-num {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

/* Sidebar */

.sidebar {
  min-width: 0;
}

.panel {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 15, 23, 0.66);
}

.panel h3 {
  margin: 0 0 12px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.critical-list {
  display: grid;
  gap: 0;
}

.critical-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  text-decoration: none;
}

.critical-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.critical-item .sev {
  margin-top: 5px;
}

.critical-item strong {
  display: block;
  color: #dbe5f2;
  font-size: 13px;
  font-weight: 500;
  line-height: 24px;
  transition: color 0.18s;
}

.critical-item:hover strong {
  color: var(--accent);
}

.critical-item small {
  display: block;
  margin-top: 4px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.03em;
}

.source-list {
  display: grid;
}

.source-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 24px;
  text-decoration: none;
  transition: color 0.18s;
}

.source-list a:last-child {
  border-bottom: 0;
}

.source-list a span {
  color: var(--dim);
  font-size: 10px;
}

.source-list a:hover {
  color: var(--accent);
}

.about p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.about p.muted {
  color: var(--dim);
  font-size: 11px;
}

.text-link {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link:hover {
  text-decoration: underline;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--accent);
  color: #041016;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.18s, border-color 0.18s, color 0.18s, background 0.18s;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn.ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

.btn.ghost:hover {
  border-color: rgba(56, 225, 255, 0.4);
  color: var(--text);
}

/* Story page */

.story-wrap {
  max-width: 920px;
  padding-top: 38px;
  padding-bottom: 80px;
}

.back-link {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.back-link:hover {
  color: var(--accent);
}

.story {
  position: relative;
  padding: 34px 38px 30px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cat);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 23, 34, 0.84), rgba(8, 12, 19, 0.92));
}

.story-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.story-meta time {
  margin-left: auto;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9px;
}

.story h1 {
  margin: 16px 0 18px;
  font-size: clamp(30px, 4.6vw, 50px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.story-summary {
  margin: 0;
  color: #c8d5e4;
  font-size: 18px;
  line-height: 1.6;
}

.story-why {
  margin-top: 22px;
  padding: 15px 17px;
}

.story-why p {
  font-size: 15.5px;
  -webkit-line-clamp: unset;
}

.story-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.tag-label {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
}

.story-tags .cve {
  padding: 4px 8px;
  border: 1px solid rgba(255, 176, 32, 0.25);
  border-radius: 4px;
  background: rgba(255, 176, 32, 0.06);
  color: #ffcf8a;
  font-family: var(--mono);
  font-size: 10px;
}

.story-tags .product {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 11px;
}

.story-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.story-source strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
}

.ai-note {
  margin: 18px 0 0;
  color: var(--dim);
  font-size: 10.5px;
}

.related {
  margin-top: 36px;
}

.related-list {
  display: grid;
  gap: 10px;
}

.related-item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(10, 15, 23, 0.55);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.related-item:hover {
  transform: translateX(2px);
  border-color: var(--line-strong);
}

.related-cat {
  color: var(--cat);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.related-item strong {
  color: #dbe5f2;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.35;
}

.related-meta {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8.5px;
}

/* Empty / 404 */

.empty-state,
.empty-page {
  padding: 54px 30px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(10, 15, 23, 0.4);
  text-align: center;
}

.empty-state h2 {
  margin: 8px 0;
  font-size: 22px;
}

.empty-state p,
.empty-page p {
  max-width: 520px;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.eyebrow {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.empty-page {
  margin-top: 40px;
  padding: 90px 30px;
}

.empty-page h1 {
  margin: 10px 0;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.02em;
}

/* Footer */

.site-footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  background: rgba(5, 7, 11, 0.6);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  padding-top: 28px;
  padding-bottom: 30px;
}

.footer-inner strong {
  font-size: 13px;
  letter-spacing: 0.14em;
}

.footer-inner p {
  margin: 5px 0 0;
  color: var(--dim);
  font-size: 11.5px;
}

.footer-links {
  display: flex;
  gap: 18px;
  margin-left: auto;
  padding-top: 3px;
}

.footer-links a {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-note {
  width: 100%;
  margin-top: 8px !important;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  color: var(--dim);
  font-size: 10.5px !important;
  line-height: 1.6;
}

.footer-domain {
  color: var(--muted);
  font-family: var(--mono);
}

/* Motion */

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(53, 224, 138, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(53, 224, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 224, 138, 0); }
}

@keyframes breakPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 59, 92, 0.6); }
  70% { box-shadow: 0 0 0 7px rgba(255, 59, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 92, 0); }
}

@keyframes breakGlow {
  0%, 100% { border-color: rgba(255, 59, 92, 0.3); }
  50% { border-color: rgba(255, 59, 92, 0.6); }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive */

@media (max-width: 1080px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 26px;
  }
}

@media (max-width: 940px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px 18px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .header-status {
    margin-left: auto;
  }

  .search {
    order: 3;
    width: 100%;
  }

  .cat-nav {
    gap: 20px;
  }

  .layout {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }

  .sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
  }

  .panel {
    margin-bottom: 0;
  }

  .about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .brand-text small {
    font-size: 7.5px;
  }

  .header-status .clock,
  .header-status .updated {
    display: none;
  }

  .card {
    padding: 17px 18px 15px;
  }

  .card h2 {
    font-size: 21px;
  }

  .summary {
    font-size: 14px;
  }

  .card-top time {
    width: 100%;
    margin-left: 0;
    order: 4;
  }

  .sidebar {
    grid-template-columns: 1fr;
  }

  .story {
    padding: 24px 20px;
  }

  .story-summary {
    font-size: 16px;
  }

  .story-source {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
  }

  .footer-links {
    margin-left: 0;
  }

  .breaking {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .breaking-title {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
