/* NUNO Library — Article sharing */
.article-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 30px auto;
  color: var(--tobacco, #855E36);
}

.article-share a,
.article-share button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.article-share svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.article-share a:hover,
.article-share button:hover {
  opacity: 0.6;
}

.article-share a:focus-visible,
.article-share button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.article-share-count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-left: 15px;
  border-left: 1px solid rgba(133, 94, 54, 0.35);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.article-share-count svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 480px) {
  .article-share {
    gap: 11px;
  }

  .article-share-count {
    padding-left: 11px;
    font-size: 9px;
  }
}

/* Balanced vertical spacing between metadata and introduction */
.amast:has(.article-share) .ameta {
  margin-bottom: 0;
}
.amast:has(.article-share) .article-share {
  margin-top: 30px;
  margin-bottom: 30px;
}
.amast:has(.article-share) .adek {
  margin-top: 0;
}


/* NUNO APPROVED ARTICLE SHARE LAYOUT */

/* Seven days inmediatamente debajo de la metadata */
.amast:has(.article-share) .adek {
  margin-top: 0;
}

/* Barra pequeña, alineada a la derecha y fuera de la foto */
.layout article > .article-share {
  justify-content: flex-end;
  gap: 12px;
  margin: 30px 0 24px;
  width: 100%;
  color: var(--tobacco, #855E36);
}

.layout article > .article-share a,
.layout article > .article-share button {
  width: 16px;
  height: 20px;
}

.layout article > .article-share svg {
  width: 14px;
  height: 14px;
}

.layout article > .article-share .article-share-count {
  gap: 6px;
  padding-left: 12px;
  font-size: 9px;
}

@media (max-width: 480px) {
  .layout article > .article-share {
    gap: 9px;
    margin: 24px 0 20px;
  }

  .layout article > .article-share .article-share-count {
    padding-left: 9px;
    font-size: 8px;
  }
}

/* Ajuste final: subir los botones sin mover la foto */
.layout article > .article-share {
  transform: translateY(-20px);
}

/* Ajuste definitivo de posición */
.layout article > .article-share {
  transform: translateY(-30px);
}

/* Igualar tamaño de los iconos a RECENT POSTS */
.layout article > .article-share svg {
  width: 11px;
  height: 11px;
}

/* Tamaño visual igual a la metadata */
.layout article > .article-share svg {
  width: 15px;
  height: 15px;
}

.layout article > .article-share .article-share-count {
  font-size: 11px;
}

/* Ajuste de tamaño y tipografía NUNO */
.layout article > .article-share svg {
  width: 17px;
  height: 17px;
}

.layout article > .article-share .article-share-count {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Iconos más definidos, estilo referencia */
.layout article > .article-share svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.layout article > .article-share a,
.layout article > .article-share button {
  width: 22px;
  height: 24px;
}

.layout article > .article-share .article-share-count {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
}

.layout article > .article-share .article-share-count svg {
  width: 20px;
  height: 20px;
}
