/* =========================================================
   CEDILLA STUDIO — AUTHOR PAGE
   Linked from: /author/ash-lane

   Dark theme to match the rest of the site (not the blog
   editorial template). This page is more "About" than
   "Article" — belongs visually with the main site.
   ========================================================= */


.author-page {
  max-width: 44em;
  margin: 0 auto;
  padding: 6em 2em 4em;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
}


/* BREADCRUMB */

.breadcrumb {
  margin-bottom: 3em;
  font-size: 0.85em;
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
}

.breadcrumb li {
  color: #888;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4em;
  color: #555;
}

.breadcrumb a {
  color: #888;
  text-decoration: none;
  border-bottom: 1px dotted transparent;
  transition: all 0.15s ease;
}

.breadcrumb a:hover {
  color: #5164F6;
  border-bottom-color: #5164F6;
}

.breadcrumb [aria-current="page"] {
  color: #fff;
}


/* HEADER — photo + identity */

.author-header {
  display: flex;
  gap: 2em;
  align-items: flex-start;
  margin-bottom: 3em;
  padding-bottom: 3em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.author-photo {
  width: 120px;
  height: 120px;
  min-width: 120px;
  border-radius: 50%;
  background-image: url('assets/author/ash-lane.webp');
  background-size: cover;
  background-position: center;
  background-color: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.author-identity {
  flex: 1;
  padding-top: 0.4em;
}

.author-role {
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5164F6;
  margin: 0 0 0.6em;
}

.author-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2em, 4vw, 2.6em);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.6em;
  color: #fff;
}

.author-tagline {
  font-size: 1.05em;
  color: #ccc;
  margin: 0;
  font-style: italic;
  line-height: 1.45;
}


/* BIO */

.author-body {
  font-size: 1em;
}

.author-bio {
  font-size: 1.05em;
  line-height: 1.7;
  color: #ddd;
  margin-bottom: 3em;
}

.author-bio p {
  margin: 0 0 1.2em;
}

.author-bio strong {
  color: #fff;
  font-weight: 600;
}

.author-bio a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #5164F6;
  transition: all 0.15s ease;
}

.author-bio a:hover {
  color: #5164F6;
}


/* SECTIONS */

.author-section {
  margin-bottom: 2.5em;
}

.section-heading {
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 1em;
  padding-bottom: 0.8em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


/* LISTS */

.expertise-list,
.link-list,
.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.expertise-list li {
  color: #ccc;
  font-size: 0.98em;
  padding: 0.5em 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.expertise-list li:last-child {
  border-bottom: none;
}

.link-list li,
.post-list li {
  padding: 0.6em 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.link-list li:last-child,
.post-list li:last-child {
  border-bottom: none;
  padding-top: 0.9em;
}

.link-list a,
.post-list a {
  color: #fff;
  text-decoration: none;
  font-size: 0.98em;
  transition: color 0.15s ease;
  display: inline-block;
}

.link-list a:hover,
.post-list a:hover {
  color: #5164F6;
}

.post-list li:last-child a {
  color: #888;
  font-size: 0.9em;
  font-weight: 500;
}

.post-list li:last-child a:hover {
  color: #5164F6;
}


/* MOBILE */

@media (max-width: 600px) {
  .author-page {
    padding: 4em 1.2em 3em;
  }

  .author-header {
    flex-direction: column;
    gap: 1.5em;
    align-items: flex-start;
  }

  .author-photo {
    width: 96px;
    height: 96px;
    min-width: 96px;
  }
}
