/* Site-specific additions on top of the exported theme styles. */

/* WhatsApp button (replaces the Chaty plugin; same size, colour and place) */
.suufle-whatsapp {
  position: fixed;
  left: 25px;
  bottom: 25px;
  z-index: 9999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(16, 42, 67, 0.2);
  transition: transform 0.2s ease;
}
.suufle-whatsapp:hover,
.suufle-whatsapp:focus-visible {
  transform: scale(1.08);
}
.suufle-whatsapp svg {
  display: block;
  width: 100%;
  height: 100%;
}
.uicore-mobile-nav-show .suufle-whatsapp {
  display: none;
}

/* Keep the WhatsApp button from covering the last footer line on phones */
@media (max-width: 767px) {
  #uicore-tb-footer {
    padding-bottom: 80px;
    background-color: #020f33; /* same as the footer sections */
  }
}

/* Text for screen readers only */
.suufle-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Space between a post card's reading time and its unit ("3 min"). The theme's
   own rule targets .ui-e-meta-item-after, but the markup uses .ui-e-meta-after. */
.ui-e-meta-after {
  margin-left: 0.3em;
}

/* "Practitioners" globe on the home page: dot globe drawn by
   assets/js/suufle-map.js beside the list of countries. */
.suufle-map {
  --map-sea-dot: #e6d8ef;
  --map-lit-dot: #380d50; /* theme primary */
  --map-lit-dot-2: #7b3fa0; /* lighter tones keep touching countries apart */
  --map-lit-dot-3: #a86bd0;
  --map-active-dot: #ffc700; /* theme accent */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 48px;
  max-width: 900px;
  margin: 0 auto;
}
.suufle-map__globe {
  display: block;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1;
}
.suufle-map__countries {
  display: flex;
  flex: 1 1 320px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 440px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.suufle-map__countries li {
  margin: 0;
  padding: 6px 16px;
  border: 1px solid var(--map-sea-dot);
  border-radius: 999px;
  color: var(--uicore-headline-color, #102a43);
  font-size: 0.95rem;
  line-height: 1.4;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.suufle-map__countries li.is-active {
  background-color: var(--map-active-dot);
  border-color: var(--map-active-dot);
}
