/* DhivehiNews Crimson Wireframe */
:root {
  color-scheme: dark;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Source Serif 4", "Merriweather", Georgia, serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  --bg: #0c0c0f;
  --bg-soft: rgba(255, 255, 255, 0.02);
  --surface: rgba(18, 18, 22, 0.9);
  --surface-strong: rgba(18, 18, 22, 0.96);
  --card: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #f8f8fb;
  --muted: rgba(232, 234, 238, 0.72);
  --accent: #ff4d4f;
  --accent-strong: #ff6b6f;
  --accent-soft: rgba(255, 77, 79, 0.2);
  --accent-gradient: linear-gradient(135deg, #ff4d4f 0%, #ff6b6f 50%, #ffffff 100%);
  --danger: #ff4d4f;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-lg: 0 24px 68px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 16px 38px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 10px 26px rgba(0, 0, 0, 0.22);
  --blur: blur(32px);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  background-color: var(--bg);
  color: var(--text);
  position: relative;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.45;
  background: radial-gradient(circle at 12% 18%, rgba(255, 77, 79, 0.22), transparent 40%),
              radial-gradient(circle at 82% 5%, rgba(255, 255, 255, 0.07), transparent 45%),
              radial-gradient(circle at 45% 82%, rgba(255, 77, 79, 0.12), transparent 55%);
  filter: blur(110px);
}

body::after {
  background: radial-gradient(circle at 90% 75%, rgba(255, 255, 255, 0.08), transparent 40%);
  opacity: 0.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  border: none;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(123, 246, 201, 0.16);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.pill-live {
  border-color: rgba(123, 246, 201, 0.3);
  background: var(--accent-soft);
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #0a0c1f;
  box-shadow: 0 16px 34px rgba(123, 246, 201, 0.25);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.btn-small {
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.shell {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2.5rem);
}

.glow-panel {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.glow-panel::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -40%;
  width: 220px;
  height: 220px;
  background: var(--accent-gradient);
  filter: blur(70px);
  opacity: 0.25;
  transform: rotate(20deg);
  pointer-events: none;
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(18px);
  background: rgba(10, 10, 12, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.masthead .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.brand-title {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.brand-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
}

.brand-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.masthead-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex: 1;
  min-width: 260px;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.35rem;
  border-radius: 12px;
}

.nav-link {
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  border-radius: 12px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.hero {
  margin-top: clamp(1rem, 3vw, 2.25rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: start;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.hero-title strong {
  display: block;
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  color: var(--accent);
}

.hero-text {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 55ch;
  margin: 0.15rem 0 0.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.15rem 0 0.35rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.meta-chip {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pulse-card {
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pulse-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 77, 79, 0.18), rgba(255, 77, 79, 0.05));
  z-index: -1;
}

.pulse-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.pulse-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.pulse-meter {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
}

.pulse-meter span {
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.pulse-meter span::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateY(100%);
  background: var(--accent-gradient);
  animation: pulse 4s ease infinite;
}

.pulse-meter span:nth-child(odd)::before {
  animation-delay: 0.6s;
}

@keyframes pulse {
  0% { transform: translateY(120%); opacity: 0; }
  30%, 70% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-120%); opacity: 0; }
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.stat {
  padding: 0.8rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.stat strong {
  display: block;
  font-size: 1.1rem;
}

.stat-label {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.filter-bar {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.filter-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-title {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.85rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.category-chips {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
  overflow-x: auto;
  padding: 0.35rem 0.25rem 0.5rem;
  scrollbar-width: thin;
}

.chip {
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  background: rgba(255, 255, 255, 0.02);
}

.chip.active {
  color: var(--text);
  border-color: transparent;
  background: var(--accent-gradient);
  box-shadow: 0 12px 30px rgba(255, 77, 79, 0.35);
}

.chip:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.feed {
  margin-top: clamp(1.5rem, 4vw, 3rem);
}

.feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.feed-title {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text);
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
  padding: 0.55rem 0.8rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-dot::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}

.story-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  background: var(--card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.35s ease, background 0.35s ease, box-shadow 0.3s ease;
  isolation: isolate;
}

.story-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow-md);
}

.story-card.has-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--card-image, none);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) blur(0.4px);
  opacity: 0.98;
  z-index: 0;
}

.story-card.has-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 4, 6, 0.02) 0%, rgba(4, 4, 6, 0.28) 100%);
  z-index: 0;
}

.story-card.has-media .story-body {
  background: rgba(9, 9, 11, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-md);
}

.story-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  position: relative;
  z-index: 1;
}

.story-category {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #fff;
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.35rem 0.6rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.story-title {
  font-size: 2.4rem;
  line-height: 1.28;
  margin: 0;
}

.story-excerpt {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}

.story-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin-top: auto;
}

.story-meta time {
  color: var(--text);
  font-weight: 600;
}

.story-meta .meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.feed-loader {
  margin: 2.5rem auto 1rem;
  text-align: center;
  color: var(--muted);
  display: none;
}

.feed-loader.active {
  display: block;
}

.loader-ring {
  width: 42px;
  height: 42px;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.sentinel {
  width: 100%;
  height: 1px;
}

.site-footer {
  margin-top: 4rem;
  padding: 3rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at 10% 10%, rgba(123, 246, 201, 0.08), transparent 30%),
              radial-gradient(circle at 80% 0%, rgba(255, 77, 79, 0.1), transparent 35%),
              rgba(8, 8, 10, 0.9);
}

/* Article page */
main.article-stage {
  margin-top: clamp(1.5rem, 5vw, 3.5rem);
  display: grid;
  gap: 1.5rem;
}

main.article-stage > article {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

.article-stage header {
  text-align: center;
}

.article-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.article-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.article-title {
  font-size: clamp(2.3rem, 4.8vw, 3.4rem);
  margin: 0.8rem 0 0.6rem;
  font-weight: 700;
  line-height: 1.12;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
}

.article-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-lg);
}

.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 19, 0.1) 0%, rgba(5, 8, 19, 0.75) 100%);
}

.article-hero img {
  width: 100%;
  height: min(62vh, 540px);
  object-fit: cover;
  display: block;
}

.article-hero-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
}

.article-body {
  background: var(--surface-strong);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-lg);
  line-height: 1.8;
}

.article-body p,
.article-body li {
  font-size: 1.28rem;
  color: rgba(255, 255, 255, 0.9);
}

.article-body p {
  margin-bottom: 1.4rem;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  margin-top: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-md);
  background: rgba(123, 246, 201, 0.12);
  border-left: 4px solid var(--accent);
  color: var(--text);
}

.article-gallery {
  margin-top: 2.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.gallery-item figure {
  margin: 0;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.article-inline-image {
  margin: 2.2rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-md);
  cursor: zoom-in;
}

.article-inline-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-inline-image figcaption {
  padding: 0.75rem 1rem 1.1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  z-index: 999;
  background: var(--accent-gradient);
  box-shadow: 0 0 20px rgba(123, 246, 201, 0.9);
}

.callout {
  margin-top: 2rem;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(123, 246, 201, 0.06));
}

.callout strong {
  display: block;
  margin-bottom: 0.45rem;
  letter-spacing: 0.3em;
  font-size: 0.82rem;
  color: var(--muted);
}

.return-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.82rem;
  color: var(--text);
  margin-top: 1.1rem;
}

.return-link svg {
  width: 18px;
  height: 18px;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-frame {
  position: relative;
  max-width: min(90vw, 1100px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: #fff;
}

.lightbox-frame img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox-caption {
  font-size: 0.95rem;
  color: #f5f5f5;
  letter-spacing: 0.08em;
  text-align: center;
}

.lightbox-close,
.lightbox-control {
  position: absolute;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover,
.lightbox-control:hover {
  background: rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  top: -1.5rem;
  right: -1.5rem;
}

.lightbox-control.prev {
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-control.next {
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* Dhivehi scripts */
.dhivehi-text,
.story-title.dhivehi,
.dhivehi-paragraph {
  font-family: "mv-faseyha", "MV Faseyha", "Faruma", var(--sans);
  direction: rtl;
  text-align: right;
}

.dhivehi-heading {
  font-family: "MV Eamaan XP","mv-waheed", "MV Waheed",  var(--sans);
  direction: rtl;
  text-align: right;
}

/* Responsive */
@media (max-width: 900px) {
  .masthead .shell {
    flex-direction: column;
    align-items: flex-start;
  }
  .masthead-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .nav-links {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    width: 100%;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .story-title {
    font-size: 1.8rem;
  }
  .story-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  .article-body {
    padding: 1.4rem;
  }
  .article-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .category-chips {
    padding-bottom: 0.5rem;
  }
  .article-meta {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-title {
    font-size: 2rem;
  }
}
