@charset "UTF-8";
/* ============================================================
   ALPENGLOW FARMS - NATIVE SHARE BAR
   Loaded on singular news only (af_share_enqueue in functions.php).
   No plugin, no icon font: the icons are inline SVG so this works
   alongside the site's legacy FontAwesome 4 kit, which has no
   fa-x-twitter / fa-linkedin-in.
   Namespace: .af-share*
============================================================ */

/* grid-auto-columns keeps every track at its content width and
   justify-content packs them left, so the bar itself can stay full width and
   carry the rule above it. */
.af-share {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  justify-content: start;
  align-items: center;
  gap: 12px;
  clear: both;
  width: 100%;
  margin: 40px 0 8px;
  padding-top: 28px;
  border-top: 1px solid #e2ded1;
}

.af-share-label {
  font-family: "Lato", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #463f2d;
  margin-right: 4px;
}

.af-share-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #d3cdbb;
  border-radius: 50%;
  background-color: #ffffff;
  color: #000000;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 300ms, border-color 300ms, color 300ms;
}

.af-share-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

/* The Facebook glyph is drawn on a 320-wide viewBox where the others are
   448-640, so at a shared 16px box its stems land thinner and it reads pale
   next to the solid "in" mark. Nudged up to even out the optical weight. */
.af-share-btn[data-share-method="facebook"] svg {
  width: 18px;
  height: 18px;
}

/* Black to match .wh-button-regular:hover elsewhere on the site. */
.af-share-btn:hover,
.af-share-btn:focus-visible {
  background-color: #000000;
  border-color: #000000;
  color: #ffffff;
}

.af-share-btn:focus-visible {
  outline: 2px solid #281d17;
  outline-offset: 2px;
}

/* Copy link ------------------------------------------------- */
.af-share-copy {
  position: relative;
}

.af-share-copied {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background-color: #000000;
  color: #ffffff;
  font-family: "Lato", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms, visibility 200ms;
}

.af-share-copy.is-copied {
  background-color: #000000;
  border-color: #000000;
  color: #ffffff;
}

.af-share-copy.is-copied .af-share-copied {
  opacity: 1;
  visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
  .af-share-btn {
    transition: none;
  }
}

@media screen and (max-width: 420px) {
  .af-share {
    gap: 8px;
  }
  .af-share-btn {
    width: 36px;
    height: 36px;
  }
  .af-share-btn svg {
    width: 15px;
    height: 15px;
  }
  .af-share-btn[data-share-method="facebook"] svg {
    width: 17px;
    height: 17px;
  }
  .af-share-label {
    font-size: 12px;
    letter-spacing: 0.1em;
    margin-right: 0;
  }
}
