/*
 * lnv/editoriale-byline
 * Estetica: editoriale minimalista
 */

.lnv-byline {
  --byline-accent:     #111;
  --byline-muted:      #888;
  --byline-border:     #e0e0e0;
  --byline-hover:      #c8102e;
  --byline-radius:     50%;
  --byline-photo-size: 56px;

  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 1.5rem;
}
.lnv-byline__editorial-wrapper {
	display: grid;
    align-items: center;
    grid-template-columns: 1fr 66px;
    max-width: 400px;
}
/* Riga editoriale */
.lnv-byline__editorial {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.lnv-byline__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--byline-muted);
}
.lnv-byline__author-prefix {
	font-weight: normal;
}
.lnv-byline__editorial-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--byline-accent);
  text-decoration: none;
  line-height: 1.2;
  transition: color 0.18s ease;
  color: #6E0F1A;
}

.lnv-byline__editorial-name:hover {
  color: var(--byline-accent);
}

/* Linea divisoria */
.lnv-byline__divider {
  height: 1px;
  background: #ccc;
  flex-shrink: 0;
}

/* Riga autore */
.lnv-byline__author-photo {
	margin-left: 10px;
}
.lnv-byline__author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

/* Foto */
.lnv-byline__photo {
  flex-shrink: 0;
  display: block;
  width: var(--byline-photo-size);
  height: var(--byline-photo-size);
  border-radius: var(--byline-radius);
  overflow: hidden;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color 0.18s ease;
}

.lnv-byline__photo:hover,
.lnv-byline__photo:focus-visible {
  outline-color: var(--byline-hover);
}

.lnv-byline__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--byline-radius);
  border: none !important;
}

/* Info autore */
.lnv-byline__author-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.lnv-byline__author-name {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #151515;
  text-decoration: none;
  transition: color 0.18s ease;
  
}



.lnv-byline__author-bio {
  font-size: 0.78rem;
  color: var(--byline-muted);
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 400px) {
  .lnv-byline__author {
    flex-direction: column;
    align-items: flex-start;
  }
}