div.js_sv:before,
div.js_sv:after {
  content: '';
  display: table;
  clear: both;
}

div.js_sv {
    overflow: visible;
}

div.js_sv:after {
    clear: left;
    content: '';
    display: table;
}

div.js_sv_social {
    position: relative;
    min-height: 25px;
    float: left;
    margin-bottom: 5px;
    overflow: visible;
    margin-right: 5px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

div.js_sv_social:first-child {
    padding-left: 0;
}

div.js_sv_social div.fb-like {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

div.item-page {
    overflow: visible;
}

div.clear {
    clear: both;
}



@media (max-width: 767px){
    div.js_sv_social {
        float: none;
    }
}

.fb-comments, .fb-comments span, .fb-comments.fb_iframe_widget span iframe {
    width: 100% !important;
}




/* Layout: align X widget + FB button neatly */
div.js_sv {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

div.js_sv_social {
  float: none;          /* override old float layout */
  margin: 0;
  min-height: 0;
  overflow: visible;
}




/* Facebook button styled to match X widget */

a.js_sv_fb_share_btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  height: 22px;               /* match typical X widget height */
  padding: 0 12px;
  margin-bottom: 8px;

  background-color: #000;
  color: #fff;

  border-radius: 999px;
  border: none;
  text-decoration: none;

  font-size: 13px;
  font-weight: 500;

  transition: background-color 0.15s ease, transform 0.05s ease;
  position: relative;
  top: -1px;                  /* nudges up to match iframe baseline */
}

a.js_sv_fb_share_btn:hover,
a.js_sv_fb_share_btn:focus {
  background-color: #222;
  color: #fff;
  text-decoration: none;
}

a.js_sv_fb_share_btn:active {
  background-color: #111;
  transform: scale(0.98);
}

a.js_sv_fb_share_btn .js_sv_fb_icon {
  font-size: 12px;
  opacity: 0.9;
  display: inline-flex;
  align-items: center;
  margin-top: -1px;
}
