.article-actions {
  --actions-gold: var(--gold, #ddb36e);
  --actions-ink: #090d14;
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 6vw, 78px) 0;
  color: #f7edda;
  background:
    radial-gradient(circle at 84% 18%, rgba(221, 179, 110, .13), transparent 26rem),
    linear-gradient(145deg, #111722, var(--actions-ink));
  border-top: 1px solid rgba(221, 179, 110, .14);
}

.article-actions::before {
  content: "";
  position: absolute;
  width: 20rem;
  height: 20rem;
  right: -12rem;
  bottom: -15rem;
  border: 1px solid rgba(221, 179, 110, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 3.5rem rgba(221, 179, 110, .025), 0 0 0 7rem rgba(221, 179, 110, .018);
  pointer-events: none;
}

.article-actions-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(247, 237, 218, .13);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 70px rgba(0, 0, 0, .18);
}

.article-actions-copy {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  max-width: 760px;
}

.article-actions-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(221, 179, 110, .34);
  border-radius: 50%;
  color: var(--actions-gold);
  background: rgba(221, 179, 110, .055);
}

.article-actions-mark svg,
.article-action svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.article-actions-eyebrow {
  display: block;
  margin: 1px 0 13px;
  color: var(--actions-gold);
  font: 500 8px/1.4 "JetBrains Mono", monospace;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.article-actions h2 {
  max-width: 690px;
  margin: 0;
  color: #fff7ea;
  font: 500 clamp(31px, 3.4vw, 48px)/1.02 "Cormorant Garamond", serif;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.article-actions-copy p {
  max-width: 650px;
  margin: 16px 0 0;
  color: #bdb3a3;
  font: 400 14px/1.65 Inter, sans-serif;
}

.article-actions-buttons {
  display: grid;
  gap: 11px;
  min-width: 300px;
}

.article-share-networks {
  display: grid;
  gap: 9px;
}

.article-share-networks-label {
  margin: 0 12px;
  color: #cdb786;
  font: 500 8px/1.4 "JetBrains Mono", monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.article-share-network-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.article-network-share {
  --network-accent: var(--actions-gold);
  min-width: 0;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 14px;
  overflow: hidden;
  border: 1px solid rgba(247, 237, 218, .19);
  border-radius: 16px;
  color: #eee3d1;
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 2px 0 color-mix(in srgb, var(--network-accent) 76%, transparent);
  font: 600 11px/1 Inter, sans-serif;
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
}

.article-network-share svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

.article-network-linkedin {
  --network-accent: #69b5f4;
}

.article-network-facebook {
  --network-accent: #75a7ff;
}

.article-network-share:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--network-accent) 62%, transparent);
  color: #fff7ea;
  background: color-mix(in srgb, var(--network-accent) 13%, transparent);
  box-shadow: inset 0 2px 0 var(--network-accent), 0 12px 28px rgba(0, 0, 0, .17);
}

.article-network-share:focus-visible {
  outline: 2px solid var(--actions-gold);
  outline-offset: 4px;
}

.article-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 14px 20px;
  border-radius: 999px;
  font: 600 12px/1 Inter, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
}

.article-share-button {
  border: 1px solid transparent;
  color: #111722;
  background: linear-gradient(135deg, #f0d49d, #c89749);
  box-shadow: 0 14px 34px rgba(189, 137, 60, .2);
}

.article-library-button {
  border: 1px solid rgba(247, 237, 218, .19);
  color: #eee3d1;
  background: rgba(255, 255, 255, .025);
}

.article-action:hover {
  transform: translateY(-2px);
}

.article-share-button:hover {
  box-shadow: 0 18px 42px rgba(189, 137, 60, .3);
}

.article-library-button:hover {
  border-color: rgba(221, 179, 110, .46);
  color: var(--actions-gold);
  background: rgba(221, 179, 110, .065);
}

.article-action:focus-visible {
  outline: 2px solid var(--actions-gold);
  outline-offset: 4px;
}

.article-share-feedback {
  min-height: 17px;
  margin: 2px 12px 0;
  color: #cdb786;
  font: 500 9px/1.5 "JetBrains Mono", monospace;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .article-actions-shell {
    grid-template-columns: 1fr;
  }

  .article-actions-buttons {
    width: min(100%, 420px);
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .article-actions {
    padding: 42px 0;
  }

  .article-actions-shell {
    gap: 28px;
    padding: 27px 20px 22px;
    border-radius: 22px;
  }

  .article-actions-copy {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .article-actions-mark {
    width: 46px;
    height: 46px;
  }

  .article-actions h2 {
    font-size: 34px;
  }

  .article-actions-copy p {
    font-size: 13px;
  }

  .article-actions-buttons,
  .article-action {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-action,
  .article-network-share {
    transition: none;
  }
}
