:root {
  --kk-accent: #3b82f6;
  --kk-surface: #ffffff;
  --kk-surface-muted: #f6f7fb;
  --kk-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

#about .home-section-bg {
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.12), transparent 60%);
}

#profile {
  background: var(--kk-surface);
  border-radius: 24px;
  box-shadow: var(--kk-shadow);
  padding: 2rem;
}

#profile .avatar {
  border: 6px solid rgba(59, 130, 246, 0.15);
}

.news-list {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.news-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.45rem;
  align-items: start;
  padding: 0.45rem 0.6rem;
  background: transparent;
  border-radius: 10px;
}

.news-item i {
  color: var(--kk-accent);
  font-size: 0.9rem;
  margin-top: 0.15rem;
}

.news-text {
  font-size: 0.88rem;
  line-height: 1.3;
}

.news-item a {
  color: var(--kk-accent);
  font-weight: 600;
}

#highlights .carousel-item {
  background-color: #0f172a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.pub-list-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.pub-figure {
  flex: 0 0 auto;
}

.pub-figure img {
  width: 120px;
  height: 88px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--kk-surface-muted);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.pub-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pub-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pub-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  color: inherit;
  font-size: 0.9rem;
  line-height: 1.45;
}

.pub-meta .pub-icon {
  font-size: 0.95rem;
}

.pub-year {
  opacity: 0.7;
}

.pub-title a {
  font-weight: 600;
  font-size: 1.05rem;
}

.pub-footer {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

body.light {
  background: #f3ede2;
}

body.dark .pub-figure img {
  background: rgba(15, 23, 42, 0.4);
  border-color: rgba(148, 163, 184, 0.18);
}

body.dark .pub-list-item {
  background: rgba(15, 23, 42, 0.35);
  border-color: rgba(148, 163, 184, 0.18);
}

.highlight-overlay {
  backdrop-filter: blur(2px) brightness(0.6);
}

.highlight-hero {
  margin: 0 6rem;
  text-align: center;
}

.highlight-cta {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

body.dark #profile,
body.dark .news-item {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

body.dark #profile {
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.4);
}

@media (max-width: 992px) {
  #profile {
    padding: 1.5rem;
  }

  .highlight-hero {
    margin: 0 2rem;
  }
}
