/* ==========================================================================
   Computer Networks Research Group — Design System
   ========================================================================== */

/* ----- CSS Variables ----- */
:root {
  --bg-main: #0D1117;
  --bg-surface: #161B22;
  --bg-surface-hover: #1C232B;
  --brand-green: #38d6bb;
  --brand-blue: #3d72e7;
  --brand-gradient: linear-gradient(to right, var(--brand-green), var(--brand-blue));
  --text-primary: #E6EDF3;
  --text-muted: #8B949E;
  --border-color: rgba(139, 148, 158, 0.2);
  --border-green: rgba(56, 214, 187, 0.4);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono: 'Fira Code', 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
  --nav-height: 64px;
  --container-max: 1200px;
}

/* ----- Reset ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--brand-green);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--brand-blue);
}

img {
  max-width: 100%;
  height: auto;
}

/* ----- Container ----- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ----- Grid ----- */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

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

/* ----- Cards ----- */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.5rem;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.card:hover {
  border-color: var(--border-green);
  background: var(--bg-surface-hover);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----- Gradient Accent Bar ----- */
.gradient-bar {
  height: 3px;
  background: var(--brand-gradient);
  border: none;
}

.gradient-bar-thin {
  height: 1px;
  background: var(--brand-gradient);
  border: none;
}

/* ----- Gradient Text ----- */
.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  height: var(--nav-height);
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-logo-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 2rem 0.85rem 0.8rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
  border-bottom-color: var(--brand-green);
}

.nav-links a.active {
  color: var(--text-primary);
  border-bottom: 2px solid var(--brand-gradient);
  background: linear-gradient(to right, rgba(56, 214, 187, 0.06), rgba(61, 114, 231, 0.06));
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle-icon {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
  transition: background 0.15s ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  position: absolute;
  left: 0;
  transition: transform 0.15s ease;
}

.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Network canvas background */
#network-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-logo {
  width: 160px;
  height: auto;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  text-align: justify;
}

/* ==========================================================================
   Section
   ========================================================================== */
.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
}

/* Explore cards on home page */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.explore-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.explore-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(56, 214, 187, 0.15), rgba(61, 114, 231, 0.15));
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.explore-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.explore-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.explore-card-link {
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--brand-green);
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  margin-top: auto;
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-logo-img {
  max-height: 32px;
  height: auto;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.footer-logo-img:hover {
  opacity: 1;
}

.footer-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

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

/* ==========================================================================
   People Cards
   ========================================================================== */
.people-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
}

.people-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 2px solid var(--border-color);
  transition: border-color 0.15s ease;
  flex-shrink: 0;
}

.people-card:hover .people-photo {
  border-color: var(--brand-green);
}

.people-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.people-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.people-role {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--brand-green);
  margin-bottom: 0.25rem;
}

.people-status {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  padding: 0.15rem 0.6rem;
  background: rgba(139, 148, 158, 0.1);
  border-radius: 3px;
  border: 1px solid var(--border-color);
}

.people-bio {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  max-width: 280px;
}

.people-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  width: 100%;
}

.people-link {
  display: inline-block;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--brand-blue);
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.people-link:hover {
  color: var(--brand-green);
  border-color: var(--border-green);
  background: rgba(56, 214, 187, 0.06);
}

/* ==========================================================================
   Filter Buttons
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  display: inline-block;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--brand-green);
}

.filter-btn.active {
  color: var(--text-primary);
  border-color: var(--brand-green);
  background: var(--brand-gradient);
}

.filter-select {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  padding: 0.35rem 0.85rem;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 3px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238B949E' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 2rem;
}

.filter-select:focus {
  outline: none;
  border-color: var(--brand-green);
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   Highlights Carousel
   ========================================================================== */
.carousel-section {
  margin-bottom: 3rem;
}

.carousel-section:last-of-type {
  margin-bottom: 0;
}

.carousel-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-bottom: 2px solid transparent;
  border-image: var(--brand-gradient) 1;
}

.carousel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 300px;
  min-width: 0;
}

.carousel-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.25rem;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  gap: 0.5rem;
}

.carousel-card:hover {
  border-color: var(--border-green);
  background: var(--bg-surface-hover);
}

.carousel-badge {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-blue);
  padding: 0.15rem 0.5rem;
  background: rgba(61, 114, 231, 0.08);
  border: 1px solid rgba(61, 114, 231, 0.2);
  border-radius: 3px;
  width: fit-content;
}

.carousel-item-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0;
}

.carousel-item-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 0.5rem;
}

.carousel-star {
  font-size: 0.85rem;
  margin-top: auto;
}

.carousel-arrow {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
  line-height: 1;
  z-index: 1;
}

.carousel-arrow:hover {
  color: var(--text-primary);
  border-color: var(--border-green);
  background: var(--bg-surface-hover);
}

/* ==========================================================================
   Single Page Detail Styles
   ========================================================================== */

.detail-badge {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  display: inline-block;
}

.detail-badge-blue {
  color: var(--brand-blue);
  background: rgba(61,114,231,0.08);
  border: 1px solid rgba(61,114,231,0.2);
}

.detail-badge-green {
  color: var(--brand-green);
  background: rgba(56,214,187,0.08);
  border: 1px solid var(--border-green);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: 0.825rem;
  font-family: var(--font-mono);
  margin-bottom: 2rem;
}

.detail-meta-label {
  color: var(--text-muted);
}

.detail-status {
  padding: 0.2rem 0.65rem;
  background: rgba(139,148,158,0.1);
  border: 1px solid var(--border-color);
  border-radius: 3px;
  color: var(--text-muted);
}

.detail-action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.detail-action-btn {
  font-size: 0.825rem;
  font-family: var(--font-mono);
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  display: inline-block;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.detail-action-btn:hover {
  background: rgba(56,214,187,0.12) !important;
  color: var(--brand-green) !important;
}

.detail-action-pdf {
  color: var(--brand-green);
  background: rgba(56,214,187,0.08);
  border: 1px solid var(--border-green);
}

.detail-action-doi {
  color: var(--brand-blue);
  background: rgba(61,114,231,0.08);
  border: 1px solid rgba(61,114,231,0.2);
}

.detail-action-github {
  color: var(--brand-green);
  background: rgba(56,214,187,0.08);
  border: 1px solid var(--border-green);
}

.detail-stat {
  font-size: 0.825rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  background: rgba(139,148,158,0.05);
  border-radius: 4px;
  width: fit-content;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.detail-tag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(139,148,158,0.08);
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  border: 1px solid var(--border-color);
}

.detail-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.detail-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
  color: var(--text-primary);
}

.detail-content p {
  margin-bottom: 1rem;
}

.detail-content a {
  color: var(--brand-green);
  text-decoration: underline;
  text-decoration-color: rgba(56,214,187,0.3);
  text-underline-offset: 2px;
}

.detail-content a:hover {
  color: var(--brand-blue);
  text-decoration-color: var(--brand-blue);
}

.detail-content strong,
.detail-content b {
  color: var(--text-primary);
  font-weight: 600;
}

.detail-content ul,
.detail-content ol,
ul,
ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.detail-content li {
  margin-bottom: 0.5rem;
}

li {
  margin-bottom: 0.5rem;
}

.detail-content blockquote {
  border-left: 3px solid var(--brand-green);
  padding-left: 1rem;
  margin-left: 0;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-style: italic;
}

.detail-content code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: rgba(139,148,158,0.1);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
}

.detail-content pre {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.detail-content pre code {
  background: none;
  padding: 0;
  border-radius: 0;
}

.detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.detail-content th,
.detail-content td {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-color);
  text-align: left;
}

.detail-content th {
  background: var(--bg-surface);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ----- Clickable card styles for list pages ----- */
.card-clickable {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-clickable:hover {
  text-decoration: none;
}

.card-clickable-person {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.card-clickable-person:hover {
  text-decoration: none;
  cursor: pointer;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.section-head {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-head:first-of-type {
  margin-top: 0;
}

.body-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.body-list {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.25rem;
}

.contact-info-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.map-wrapper {
  width: 100%;
  margin-bottom: 3rem;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.transport-card {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.25rem;
}

.transport-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.transport-card ul {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-left: 1.5rem;
  margin-bottom: 0;
}

.transport-card ul li {
  margin-bottom: 0.35rem;
}

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

.link-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.25rem;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.link-card:hover {
  border-color: var(--border-green);
  background: var(--bg-surface-hover);
}

.link-card-icon {
  font-size: 1.5rem;
}

.link-card-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.link-card-url {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 2rem;
    border-bottom: none;
    border-left: 3px solid transparent;
  }

  .nav-links a:hover,
  .nav-links a.active {
    border-bottom: none;
    border-left-color: var(--brand-green);
    background: linear-gradient(to right, rgba(56, 214, 187, 0.08), transparent);
  }

  .hero {
    padding: 3rem 1.5rem;
  }

  .hero-logo {
    width: 120px;
  }

  .section {
    padding: 3rem 0;
  }

  .footer-inner {
    justify-content: center;
  }

  .footer-logos {
    justify-content: center;
  }

  /* Make detail action links stack on mobile */
  .detail-action-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .detail-hero img {
    max-height: 140px;
  }
}
