.article-share {
  display: flex;
  position: relative;
  margin: 54px 0 42px;
  padding: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #f8fbf9;
}

.article-share-heading .eyebrow {
  margin-bottom: 8px;
}

.article-share-heading h2 {
  margin: 0;
  font-size: 20px;
}

.article-share-menu-wrapper {
  position: relative;
}

.article-share-toggle {
  min-width: 180px;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(66, 110, 92, 0.12);
}

.article-share-toggle:hover,
.article-share-toggle:focus-visible {
  background: #365d4d;
  transform: translateY(-1px);
}

.article-share-menu {
  position: absolute;
  z-index: 20;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(310px, calc(100vw - 44px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(51, 70, 63, 0.17);
}

.article-share-menu[hidden] {
  display: none;
}

.article-share-menu-item {
  display: flex;
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  align-items: center;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid #edf1ee;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.article-share-menu-item:last-child {
  border-bottom: 0;
}

.article-share-menu-item:hover,
.article-share-menu-item:focus-visible {
  background: var(--pale);
}

.article-share-menu-item > span:first-child {
  display: inline-flex;
  width: 26px;
  min-width: 26px;
  justify-content: center;
  font-weight: 700;
}

.article-share-menu-item .article-share-line-icon {
  color: #06c755;
  font-size: 9px;
  letter-spacing: -0.04em;
}

.article-share-note {
  flex-basis: 100%;
  margin: 0;
  color: #718078;
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .article-share {
    align-items: stretch;
    flex-direction: column;
    padding: 24px;
  }

  .article-share-menu-wrapper,
  .article-share-toggle {
    width: 100%;
  }

  .article-share-menu {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media print {
  .article-share {
    display: none !important;
  }
}
