/*!
 * VILLAGE v0.0.3 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
 */
@charset "UTF-8";

/* ¯¯¯¯¯¯¯¯¯ *\
  SHARE
\* ˍˍˍˍˍˍˍˍˍ */
.village-share {
  display: flex;
  flex-direction: column;

  --text-spacing: 0 0 1rem;
  --title-spacing: 0 0 1rem;
}

.village-share__title {
  font-size: 1rem;
  line-height: 1.5rem;
  order: 1;
}

.village-share__text {
  font-size: 0.75rem;
  line-height: 1.25rem;
  order: 3;
  color: var(--text-mention-grey);
}

.village-share .village-btns-group {
  width: auto;
  order: 2;
}

.village-share .village-btns-group .village-btn {
  width: auto;
  max-width: 100%;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  justify-content: flex-start;
}

.village-share .village-btns-group > li {
  display: inline-flex;
  max-width: 100%;
  width: auto;
}

.village-share .village-btns-group:not(.village-btns-group--sm):not(.village-btns-group--lg) .village-btn:not([class^=village-icon-]):not([class*=" village-icon-"]):not([class^=village-fi-]):not([class*=" village-fi-"]) {
  font-size: 1rem;
  line-height: 1.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  overflow: hidden;
  white-space: nowrap;
  max-width: 2.5rem;
  max-height: 2.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.village-share .village-btns-group:not(.village-btns-group--sm):not(.village-btns-group--lg) .village-btn:not([class^=village-icon-]):not([class*=" village-icon-"]):not([class^=village-fi-]):not([class*=" village-fi-"])::before {
  margin-left: 0;
  margin-right: 0.5rem;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: calc((0.75em - var(--icon-size)) * 0.5);
  background-color: currentColor;
  width: var(--icon-size);
  height: var(--icon-size);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  --icon-size: 1.5rem;
  content: "";
}

.village-btn--facebook::before {
  -webkit-mask-image: url("../../icons/logo/facebook-circle-line.svg");
  mask-image: url("../../icons/logo/facebook-circle-line.svg");
}

.village-btn--linkedin::before {
  -webkit-mask-image: url("../../icons/logo/linkedin-box-line.svg");
  mask-image: url("../../icons/logo/linkedin-box-line.svg");
}

.village-btn--mastodon::before {
  -webkit-mask-image: url("../../icons/logo/mastodon-line.svg");
  mask-image: url("../../icons/logo/mastodon-line.svg");
}

.village-btn--threads::before {
  -webkit-mask-image: url("../../icons/logo/threads-line.svg");
  mask-image: url("../../icons/logo/threads-line.svg");
}

.village-btn--twitter::before {
  -webkit-mask-image: url("../../icons/logo/twitter-line.svg");
  mask-image: url("../../icons/logo/twitter-line.svg");
}

.village-btn--twitter-x::before {
  -webkit-mask-image: url("../../icons/logo/twitter-x-line.svg");
  mask-image: url("../../icons/logo/twitter-x-line.svg");
}

.village-btn--mail::before {
  -webkit-mask-image: url("../../icons/business/mail-line.svg");
  mask-image: url("../../icons/business/mail-line.svg");
}

.village-btn--copy::before {
  -webkit-mask-image: url("../../icons/business/links-fill.svg");
  mask-image: url("../../icons/business/links-fill.svg");
}

.village-share__group {
  --ul-type: none;
  --ol-type: none;
  --ul-start: 0;
  --ol-start: 0;
  --xl-block: 0;
  --li-bottom: 0;
  --ol-content: none;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  width: auto;
  order: 2;
  display: flex;
}

.village-share__group .village-btn {
  width: auto;
  max-width: 100%;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.village-share__group > li {
  display: inline-flex;
  max-width: 100%;
  width: auto;
}

.village-share__link {
  --underline-img: none;
  --hover-tint: var(--hover);
  display: inline-flex;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  margin-bottom: 1rem;
  background-color: transparent;

  --hover: inherit;
  --active: inherit;
  color: var(--text-action-high-village-primary);
  box-shadow: inset 0 0 0 1px var(--border-default-grey);
}

.village-share__link--facebook {
  font-size: 1rem;
  line-height: 1.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  overflow: hidden;
  white-space: nowrap;
  max-width: 2.5rem;
  max-height: 2.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.village-share__link--facebook::before {
  --icon-size: 1.5rem;
  margin-left: 0;
  margin-right: 0.5rem;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: calc((0.75em - var(--icon-size)) * 0.5);
  background-color: currentColor;
  width: var(--icon-size);
  height: var(--icon-size);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-image: url("../../icons/logo/facebook-circle-line.svg");
  mask-image: url("../../icons/logo/facebook-circle-line.svg");
  content: "";
}

.village-share__link--twitter {
  font-size: 1rem;
  line-height: 1.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  overflow: hidden;
  white-space: nowrap;
  max-width: 2.5rem;
  max-height: 2.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.village-share__link--twitter::before {
  --icon-size: 1.5rem;
  margin-left: 0;
  margin-right: 0.5rem;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: calc((0.75em - var(--icon-size)) * 0.5);
  background-color: currentColor;
  width: var(--icon-size);
  height: var(--icon-size);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-image: url("../../icons/logo/twitter-line.svg");
  mask-image: url("../../icons/logo/twitter-line.svg");
  content: "";
}

.village-share__link--linkedin {
  font-size: 1rem;
  line-height: 1.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  overflow: hidden;
  white-space: nowrap;
  max-width: 2.5rem;
  max-height: 2.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.village-share__link--linkedin::before {
  --icon-size: 1.5rem;
  margin-left: 0;
  margin-right: 0.5rem;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: calc((0.75em - var(--icon-size)) * 0.5);
  background-color: currentColor;
  width: var(--icon-size);
  height: var(--icon-size);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-image: url("../../icons/logo/linkedin-box-line.svg");
  mask-image: url("../../icons/logo/linkedin-box-line.svg");
  content: "";
}

.village-share__link--mail {
  font-size: 1rem;
  line-height: 1.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  overflow: hidden;
  white-space: nowrap;
  max-width: 2.5rem;
  max-height: 2.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.village-share__link--mail::before {
  --icon-size: 1.5rem;
  margin-left: 0;
  margin-right: 0.5rem;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: calc((0.75em - var(--icon-size)) * 0.5);
  background-color: currentColor;
  width: var(--icon-size);
  height: var(--icon-size);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-image: url("../../icons/business/mail-line.svg");
  mask-image: url("../../icons/business/mail-line.svg");
  content: "";
}

.village-share__link--copy {
  font-size: 1rem;
  line-height: 1.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  overflow: hidden;
  white-space: nowrap;
  max-width: 2.5rem;
  max-height: 2.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.village-share__link--copy::before {
  --icon-size: 1.5rem;
  margin-left: 0;
  margin-right: 0.5rem;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: calc((0.75em - var(--icon-size)) * 0.5);
  background-color: currentColor;
  width: var(--icon-size);
  height: var(--icon-size);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-image: url("../../icons/business/links-fill.svg");
  mask-image: url("../../icons/business/links-fill.svg");
  content: "";
}

.village-share .village-btn {
  background-color: transparent;

  --hover: inherit;
  --active: inherit;
  color: var(--text-action-high-village-primary);
  box-shadow: inset 0 0 0 1px var(--border-default-grey);
}

.village-share .village-btn:disabled,
.village-share a.village-btn:not([href]) {
  color: var(--text-disabled-grey);
  box-shadow: inset 0 0 0 1px var(--border-disabled-grey);
  background-color: transparent;

  --hover: inherit;
  --active: inherit;
}

.village-share__link:disabled,
a.village-share__link:not([href]) {
  color: var(--text-disabled-grey);
  box-shadow: inset 0 0 0 1px var(--border-disabled-grey);
  background-color: transparent;

  --hover: inherit;
  --active: inherit;
}
@media (min-width: 36em) {
  /*! media sm */
}
@media (min-width: 48em) {
  /*! media md */
  .village-share__text {
    max-width: 18rem;
  }
}
@media (min-width: 62em) {
  /*! media lg */
}
@media (min-width: 78em) {
  /*! media xl */
}
