/* Mobile-only responsiveness patch (does not change desktop UI) */
@media (max-width: 768px){
  html, body{overflow-x:hidden;}
  .wrap{padding-left:16px !important; padding-right:16px !important;}

  /* Header / nav */
  header .nav{flex-direction:column; align-items:flex-start; gap:12px;}
  header nav{width:100%; display:flex; flex-wrap:wrap; gap:10px; line-height:1.2;}
  header nav a{display:inline-block; padding:2px 0;}
  header .brand{gap:10px;}
  header .brand img{width:40px; height:40px;}
  header .brand .title{font-size:16px;}
  header .brand .tagline{font-size:12px;}

  /* Hero */
  .hero{padding:34px 0 !important;}
  .hero h2{font-size:34px !important; line-height:1.1 !important;}
  .hero p{font-size:15px !important;}
  .hero-card{padding:18px !important;}

  /* Make grid sections stack */
  [style*="grid-template-columns"]{grid-template-columns:1fr !important;}
  [style*="display: grid"], [style*="display:grid"]{gap:16px !important;}

  /* Media */
  img, video{max-width:100% !important; height:auto !important;}
}

/* Walk For Peace bubble button (overlay) */
.peace-bubble{
  position: fixed;
  left: 18px;
  top: 124px; /* sits below the header */
  width: 56px;
  height: 56px;
  border-radius: 999px;
  z-index: 9999;
  display: grid;
  place-items: center;
  text-decoration: none;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,0,0,0.65);
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateZ(0);
}

.peace-bubble img{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: block;
}

/* subtle "bubble" float + pulse */
.peace-bubble{
  animation: peaceFloat 5s ease-in-out infinite;
}
.peace-bubble::before{
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  border: 2px solid rgba(255,0,0,0.35);
  animation: peacePulse 2.4s ease-out infinite;
}

@keyframes peaceFloat{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-6px); }
}
@keyframes peacePulse{
  0%{ opacity: 0.7; transform: scale(0.92); }
  70%{ opacity: 0; transform: scale(1.08); }
  100%{ opacity: 0; }
}

/* tooltip */
.peace-bubble::after{
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 12px;
  line-height: 1;
  padding: 9px 10px;
  border-radius: 999px;
  background: rgba(10,10,10,0.82);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.peace-bubble:hover::after,
.peace-bubble:focus-visible::after{
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px){
  .peace-bubble{ top: 96px; left: 14px; width: 52px; height: 52px; }
  .peace-bubble img{ width: 40px; height: 40px; }
}


/* PeaceBubble Drag Styles */
.peace-bubble{
  touch-action: none;
  cursor: grab;
}
.peace-bubble.dragging{
  cursor: grabbing;
}
