.trip-share {
  clear: both;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #d9e1dd;
}

.trip-share h2 {
  margin: 0 0 .65rem;
  font: 700 .85rem/1.3 system-ui, sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.trip-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.trip-share-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #edf2f0;
  color: #36554a;
  cursor: pointer;
  text-decoration: none;
}

.trip-share-button[hidden] { display: none; }
.trip-share-button:hover, .trip-share-button:focus-visible { background: #dce8e2; }

.trip-share-facebook {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: currentColor;
  font: 700 0/1 Arial, sans-serif;
  text-align: center;
}

.trip-share-facebook::after {
  content: 'f';
  color: #fff;
  font-size: 19px;
  line-height: 24px;
}

.trip-share-x { font-size: 21px; line-height: 1; }

.trip-share-link {
  position: relative;
  width: 22px;
  height: 16px;
  background: linear-gradient(currentColor, currentColor) center / 8px 2px no-repeat;
}

.trip-share-link::before, .trip-share-link::after {
  content: '';
  position: absolute;
  top: 4px;
  width: 9px;
  height: 8px;
  box-sizing: border-box;
  border: 2px solid currentColor;
}

.trip-share-link::before { left: 1px; border-right: 0; border-radius: 5px 0 0 5px; }
.trip-share-link::after { right: 1px; border-left: 0; border-radius: 0 5px 5px 0; }
.trip-share-status { margin: .5rem 0 0; }
.trip-share-status:empty { margin: 0; }
#trip-share-manual { margin-top: .65rem; }
#trip-share-manual label { display: block; }
#trip-share-url { box-sizing: border-box; width: 100%; max-width: 35rem; padding: .4rem; }
