/* ================================================================================ */
/*  Project: WebRH
/*  Author: Digital Experience
/*  Date: Fri Apr 24 2026 17:48:26 GMT+0000 (Coordinated Universal Time)
/*  
/*  Copyright © 2026 Red Hat, Inc.
/*  https://www.redhat.com
/* ================================================================================ */

.rh-social-share--component {
  container-name: rh-social-share--component;
  container-type: inline-size;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  white-space: nowrap;
}
@media print {
  .rh-social-share--component {
    display: none;
  }
}
.rh-social-share--component[data-rh-nobreak] {
  flex-wrap: nowrap;
}
.rh-social-share--component[data-rh-align=left] {
  justify-content: flex-start;
}
.rh-social-share--component[data-rh-align=right] {
  justify-content: flex-end;
}
.rh-social-share--component[data-rh-align=center] {
  justify-content: center;
}
.rh-social-share--component[data-rh-align~=left] {
  text-align: left;
  list-style-position: outside;
}
.rh-social-share--component[data-rh-align~=right] {
  text-align: right;
  list-style-position: inside;
}
.rh-social-share--component[data-rh-align~=center] {
  text-align: center;
  list-style-position: inside;
}
.rh-social-share--component[data-rh-align~=center] > ul {
  padding-left: 0;
}
@media (max-width: 767px) {
  .rh-social-share--component[data-rh-align~=left-mobile] {
    list-style-position: outside;
    text-align: left;
  }
  .rh-social-share--component[data-rh-align~=right-mobile] {
    text-align: right;
    list-style-position: inside;
  }
  .rh-social-share--component[data-rh-align~=center-mobile] {
    text-align: center;
    list-style-position: inside;
  }
  .rh-social-share--component[data-rh-align~=center-mobile] > ul {
    padding-left: 0;
  }
}
@media (min-width: 768px) {
  .rh-social-share--component[data-rh-align=left-desktop] {
    list-style-position: outside;
    text-align: left;
  }
  .rh-social-share--component[data-rh-align=right-desktop] {
    text-align: right;
    list-style-position: inside;
  }
}

.rh-social-share-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
}
[data-rh-align=left] .rh-social-share-wrapper {
  align-items: flex-start;
}
[data-rh-align=right] .rh-social-share-wrapper {
  align-items: flex-end;
}
[data-rh-align=center] .rh-social-share-wrapper {
  align-items: center;
}

.rh-social-share-label {
  margin: 0 8px 0 0;
  font-family: var(--rh-font-family-body-text, RedHatText, "Red Hat Text", Helvetica, Arial, sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  color: light-dark(#151515, #c7c7c7);
}
.rh-social-share-label:last-child {
  margin-right: 0;
}
.rh-social-share-label:focus {
  outline: 1px dotted light-dark(#0066cc, #92c5f9);
  outline-offset: 1px;
  text-decoration: none !important;
}
[data-rh-theme^="dark desaturated"] .rh-social-share-label:focus {
  outline-color: #ffffff;
}

.rh-social-share-link {
  margin: 0 4px 0 0;
  text-decoration: none;
}
.rh-social-share-link:last-child {
  margin-right: 0;
}
.rh-social-share-link:hover {
  cursor: pointer;
  fill: light-dark(#707070, #ffffff);
}
@container rh-social-share--component (min-width: 290px) {
  .rh-social-share-link {
    margin-right: 8px;
  }
}
.rh-social-share-link[href^="mailto:"] .rh-social-share-logo > svg {
  padding: 0;
}
.rh-social-share-link .rh-social-share-logo > svg {
  fill: light-dark(#292929, #a3a3a3);
}
.rh-social-share-link .rh-social-share-logo > svg path,
.rh-social-share-link .rh-social-share-logo > svg polygon,
.rh-social-share-link .rh-social-share-logo > svg rect {
  fill: light-dark(#292929, #a3a3a3);
}

.rh-social-share-logo {
  display: flex;
  width: 32px;
  height: 32px;
  line-height: 1;
  text-align: center;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  fill: light-dark(#292929, #a3a3a3);
}
.rh-social-share-logo path,
.rh-social-share-logo polygon,
.rh-social-share-logo rect {
  fill: #ffffff;
}
.rh-social-share-logo > svg {
  width: 100%;
  height: auto;
  shape-rendering: geometricprecision;
  fill: light-dark(#292929, #a3a3a3);
}
.rh-social-share-logo > svg path,
.rh-social-share-logo > svg polygon {
  fill: light-dark(#292929, #a3a3a3);
}
.rh-social-share-logo:hover > svg {
  fill: light-dark(#707070, #c7c7c7);
}
.rh-social-share-logo:hover > svg path,
.rh-social-share-logo:hover > svg polygon {
  fill: light-dark(#707070, #c7c7c7);
}
[data-rh-icon-size=xsmall] .rh-social-share-logo {
  width: 24px;
  height: 24px;
}
[data-rh-icon-size=small] .rh-social-share-logo {
  width: 40px;
  height: 40px;
}
@container rh-social-share--component (min-width: 400px) {
  [data-rh-icon-size=small] .rh-social-share-logo {
    width: 32px;
    height: 32px;
  }
}
[data-rh-icon-size=medium] .rh-social-share-logo {
  width: 64px;
  height: 64px;
}
[data-rh-icon-size=large] .rh-social-share-logo {
  width: 96px;
  height: 96px;
}
[data-analytics-text=YouTube] .rh-social-share-logo > svg, [data-analytics-text=E-mail] .rh-social-share-logo > svg {
  padding: 2px;
}