/*
 * TotalDesign article sharing surface.
 * Shared between faithful and editorial modes; never rely on Font Awesome
 * font glyphs for companion channels. Elementor keeps only network behavior.
 */
.td-single-share {
  --td-share-border: #dce5ed;
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid #e0e7ee;
  border-radius: 16px;
  background: linear-gradient(115deg, #f6f9fc 0%, #ffffff 100%);
  box-shadow: 0 6px 24px rgb(27 48 75 / 4%);
}
.td-single-share .td-single-share__heading h2 {
  margin: 0;
  color: #162b43;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.02em;
  text-transform: none;
}
.td-single-share__hint {
  margin: 5px 0 0;
  color: #627286;
  font-size: 12px;
  line-height: 1.45;
}
.td-single-share-widget {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
}
.td-single-share:not(.is-share-ready) .td-single-share-widget > .elementor-widget-share-buttons {
  display: none !important;
}
.td-single-share.is-share-ready .td-single-native-share {
  display: none !important;
}
.td-single-share-widget > .elementor-widget {
  margin: 0 !important;
  padding: 0;
  flex: 0 1 auto;
  width: auto;
  max-width: none;
}
.td-single-share-widget .elementor-widget-container {
  margin: 0;
  padding: 0;
}
.td-single-share-widget .elementor-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.td-single-share-widget .elementor-grid-item {
  display: block;
  flex: 0 0 44px;
  width: 44px;
  max-width: 44px;
  margin: 0 !important;
  padding: 0 !important;
}
.td-single-share-messaging {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
/* Elementor's official brand backgrounds and the theme's global anchor colors
 * must not override the shared neutral surface / network-colored icons. */
.td-single-share .elementor-share-btn,
.td-single-share .td-single-share-messaging__button,
.td-single-share .td-single-native-share a,
.td-single-share .td-single-native-share button {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px !important;
  height: 44px !important;
  min-height: 44px;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--td-share-border) !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: var(--td-share-accent, #354960) !important;
  text-decoration: none !important;
  line-height: 1;
  box-shadow: 0 1px 2px rgb(19 42 67 / 4%);
  cursor: pointer;
  transition: border-color 170ms ease, background-color 170ms ease,
    box-shadow 170ms ease, transform 170ms ease;
}
.td-single-share .elementor-share-btn:hover,
.td-single-share .td-single-share-messaging__button:hover,
.td-single-share .td-single-native-share a:hover,
.td-single-share .td-single-native-share button:hover {
  border-color: var(--td-share-accent, #354960) !important;
  background: #f2f6fa !important;
  box-shadow: 0 4px 12px rgb(25 45 66 / 10%);
  transform: translateY(-2px);
}
.td-single-share .elementor-share-btn:focus-visible,
.td-single-share .td-single-share-messaging__button:focus-visible,
.td-single-share .td-single-native-share a:focus-visible,
.td-single-share .td-single-native-share button:focus-visible {
  outline: 3px solid #3b83cc;
  outline-offset: 3px;
}
.td-single-share .elementor-share-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.td-single-share .elementor-share-btn__icon svg {
  width: 19px !important;
  height: 19px !important;
  fill: var(--td-share-accent, #354960) !important;
}
.td-single-share-messaging__button svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.td-single-share .elementor-share-btn_facebook { --td-share-accent: #2f5597; }
.td-single-share .elementor-share-btn_twitter,
.td-single-share .elementor-share-btn_x,
.td-single-share .elementor-share-btn_x-twitter { --td-share-accent: #1e293b; }
.td-single-share .elementor-share-btn_linkedin { --td-share-accent: #0a78a9; }
.td-single-share .elementor-share-btn_pinterest { --td-share-accent: #bd192c; }
.td-single-share .elementor-share-btn_whatsapp { --td-share-accent: #128c4a; }
.td-single-share .elementor-share-btn_print,
.td-single-share .elementor-share-btn_email { --td-share-accent: #546579; }
.td-single-share .td-single-share-messaging__button--instagram { --td-share-accent: #cb2f76; }
.td-single-share .td-single-share-messaging__button--messenger { --td-share-accent: #0878ed; }
.td-single-share .td-single-share-messaging__button--copy { --td-share-accent: #40536a; }
.td-single-native-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.td-single-native-share a {
  font-size: 12px;
  font-weight: 700;
}
.td-single-share-messaging__hint,
.td-single-share-widget > noscript {
  flex: 0 0 100%;
  grid-column: 1 / -1;
  margin: 0;
  color: #627286;
  font-size: 11px;
  line-height: 1.45;
}
.td-single-share-assist {
  flex: 0 0 100%;
  grid-column: 1 / -1;
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--td-share-border);
  border-radius: 10px;
  background: #ffffff;
}
.td-single-share-assist[hidden] {
  display: none !important;
}
.td-single-share-assist__message,
.td-single-share-nojs {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12px;
  color: #3b536c;
  line-height: 1.5;
}
.td-single-share-assist__link {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #bdcbd9;
  border-radius: 8px;
  color: #354960;
  background: #f6f9fc;
  font-size: 12px;
}
.td-single-share-assist__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.td-single-share-assist__actions a,
.td-single-share-assist__actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #bdcbd9;
  border-radius: 8px;
  background: #f5f8fc;
  color: #233f5e;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.td-single-share-assist__actions a:focus-visible,
.td-single-share-assist__actions button:focus-visible {
  outline: 3px solid #3b83cc;
  outline-offset: 2px;
}
.td-single-share-status {
  flex-basis: 100%;
  grid-column: 1 / -1;
  margin: 0;
  color: #3b536c;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
}
.td-single-share-status:empty {
  display: none;
}
@media (max-width: 1100px) {
  .td-single-share {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .td-single-share {
    padding: 19px 20px;
    border-radius: 14px;
    gap: 16px;
  }
  .td-single-share-widget {
    display: grid;
    grid-template-columns: repeat(5, 44px);
    align-items: start;
    justify-content: space-between;
    row-gap: 10px;
    column-gap: 4px;
  }
  /* Flatten presentational Elementor wrappers so the two companion channels
   * continue in the same 5-column grid, not in a separated second cluster. */
  .td-single-share-widget > .elementor-widget,
  .td-single-share-widget > .td-single-native-share,
  .td-single-share-widget .elementor-widget-container,
  .td-single-share-widget .elementor-grid,
  .td-single-share-widget .elementor-grid-item,
  .td-single-share-messaging {
    display: contents;
  }
  .td-single-share-status {
    margin-top: 2px;
  }
}
@media (max-width: 330px) {
  .td-single-share-widget {
    grid-template-columns: repeat(4, 44px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .td-single-share .elementor-share-btn,
  .td-single-share .td-single-share-messaging__button,
  .td-single-share .td-single-native-share a,
  .td-single-share .td-single-native-share button {
    transition: none;
    transform: none;
  }
}
