/* JGate SA contact bar 1.0.0: replaces the slogan in #rg-banner with contact details and social icons. */

/* Old slogan and close button are hidden only while this plugin is active and has rendered. */
.jg-cb-on #rg-banner > span,
.jg-cb-on #rg-banner > #rg-banner-close,
#rg-banner.jg-cb-ready > span,
#rg-banner.jg-cb-ready > #rg-banner-close {
  display: none !important;
}

#rg-banner.jg-cb-ready {
  padding: 6px 20px !important;
  text-align: initial !important;
}

.jg-cb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.jg-cb-group {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.jg-cb a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #171717 !important;
  text-decoration: none !important;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: opacity .2s ease, background-color .2s ease, color .2s ease;
}

.jg-cb a:hover { opacity: .75; }

.jg-cb a:focus-visible {
  outline: 2px solid #171717;
  outline-offset: 2px;
  border-radius: 4px;
}

.jg-cb svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.jg-cb-text {
  direction: ltr;
  unicode-bidi: isolate;
  font-family: RGEnglish, Arial, sans-serif;
  letter-spacing: .2px;
}

.jg-cb-sep {
  width: 1px;
  height: 14px;
  background: rgba(23, 23, 23, .35);
}

.jg-cb-social { gap: 8px; }

.jg-cb-social a {
  width: 26px;
  height: 26px;
  justify-content: center;
  gap: 0;
  border: 1px solid rgba(23, 23, 23, .4);
  border-radius: 50%;
}

.jg-cb-social a:hover {
  opacity: 1;
  background: #171717;
  color: #cfab3e !important;
}

.jg-cb-social svg { width: 13px; height: 13px; }

@media (max-width: 600px) {
  #rg-banner.jg-cb-ready { padding: 5px 14px !important; }
  .jg-cb { gap: 10px; }
  .jg-cb-group { gap: 10px; }
  .jg-cb a { font-size: 11.5px; gap: 6px; min-height: 26px; }
  .jg-cb-social { gap: 6px; }
  .jg-cb-social a { width: 26px; height: 26px; }
}

/* Small phones: email collapses to its icon so the bar stays on one line. */
@media (max-width: 480px) {
  .jg-cb-email .jg-cb-text { display: none; }
  .jg-cb-sep { display: none; }
  .jg-cb a.jg-cb-email {
    width: 26px;
    justify-content: center;
    gap: 0;
    border: 1px solid rgba(23, 23, 23, .4);
    border-radius: 50%;
  }
  .jg-cb-email svg { width: 13px; height: 13px; }
}
