/* σημαντικό για fixed navbar */

.about-layout {
  background: var(--bg);
  color: var(--text);
}

.about-grid {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
}

.about-toc .toc-box {
  position: sticky;
  top: 90px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 18px;
}

.toc-title {
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: .02em;
}

.toc-nav {
  display: grid;
  gap: 6px;
}

.toc-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  font-size: 20px;
  font-weight: 100;
}

@media (min-width: 992px) {
  .toc-nav a {
    font-size: 32px;
    font-weight: 100;
  }
}

.toc-nav a:hover {
  background: none;
  font-weight: 500;
}

/* active anchor (θα το βάλουμε με JS) */

.toc-nav a.is-active {
  font-weight: 500;
}

.about-header {
  padding: 26px 26px 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  margin-bottom: 18px;
}

.kicker {
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.about-header h1 {
  margin: 0 0 10px;
}

.about-section {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 26px;
  margin-bottom: 16px;
}

article.about-section:target {
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
}

article.about-section:target {
  scroll-margin-top: 55vh;
}

@media (min-width: 992px) {
  article.about-section:target {
    scroll-margin-top: 15vh;
  }
}

.about-section h2 {
  margin: 0 0 12px;
}

@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .about-toc .toc-box {
    position: relative;
    top: 0;
  }
}

.about-img {
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  width: 100%;
}

