<!-- NOV 2026 — DRESS-UP FELLOWSHIP NIGHT -->
<?php
$nv_items = array(
 array('p','nov-p01','Two girls in pink bunny costumes smiling in front of the church banner'),
 array('v','nov-v01','Children in costume gathering for fellowship night','0:17'),
 array('p','nov-p02','A girl in a pink princess gown beside a girl dressed as Mary'),
 array('p','nov-p03','A boy in gold armor and angel wings striking a pose in the hallway'),
 array('v','nov-v02','Children in costume enjoying the evening together','0:13'),
 array('p','nov-p04','A girl dressed as Mary in a blue mantle and white veil'),
 array('v','nov-v03','Children in costume moving through the hallway','0:13'),
 array('p','nov-p07','A boy in armor and wings standing on the red carpet'),
 array('p','nov-p08','A girl dressed as Mary twirling her blue mantle'),
 array('v','nov-v04','A princess and friends waving and smiling for the camera','0:09'),
 array('p','nov-p09','Children in costume arriving for fellowship night'),
 array('v','nov-v05','Children and leaders together in the fellowship room','0:07'),
 array('p','nov-p10','Children playing together on the floor'),
 array('v','nov-v06','A girl in a princess gown dancing in the fellowship room','0:06'),
 array('p','nov-p11','Two friends hugging, one wearing gold armor'),
 array('v','nov-v07','Children in costume seated together in the fellowship room','0:06'),
 array('p','nov-p12','Pizza and snacks laid out for the children'),
 array('p','nov-p06','Two girls in pink bunny costumes standing together'),
 array('v','nov-v08','A boy in gold armor cheering with his friends','0:04'),
 array('v','nov-v09','Children gathered around the snack table','0:03'),
 array('v','nov-v10','A boy enjoying pizza during fellowship night','0:02'),
 array('v','nov-v11','Pizza boxes and snacks on the table','0:02'),
 array('v','nov-v12','Pizza being served to the children','0:02'),
 array('v','nov-v13','A boy in gold armor enjoying a slice of pizza','0:01'),
);
$nv_show = 10;
?>
  <article class="km-nv" id="km-nov" aria-labelledby="km-nv-h">
   <div class="km-nv-top">
    <div>
     <p class="km-nv-eye">November 2026 &middot; Children's Church</p>
     <h3 class="km-nv-h" id="km-nv-h">Dress-Up Fellowship Night<span>Bible Characters, Big Smiles</span></h3>
     <p class="km-nv-p">Mary, angels, little soldiers in the armor of God, princesses and pink bunnies filled the hallway. Our children dressed up, shared pizza, laughed together and enjoyed the joy of fellowship in God's house.</p>
     <div class="km-nv-chips"><span>12 photos</span><span>13 videos</span><span>Tap any picture to enlarge</span></div>
    </div>
    <div class="km-nv-wall">
     <button type="button" data-nv="4" aria-label="Enlarge the Wall of Good thanksgiving board"><img src="<?php echo esc_url( $km . 'nov-p05-t.jpg' ); ?>" alt="Wall of Good: A Heart of Thanksgiving bulletin board for the Apostle and Dr. V" loading="lazy"></button>
     <div><b>Wall of Good: A Heart of Thanksgiving</b><p>Thank-you notes and cards for our Apostle and Dr. V, our Co-Apostolic Leader. &ldquo;Give thanks in everything.&rdquo; 1&nbsp;Thessalonians 5:18</p></div>
    </div>
   </div>
   <div class="km-nv-grid" id="km-nv-grid">
<?php
$nv_all = $nv_items; array_splice( $nv_all, 4, 0, array( array('p','nov-p05','Wall of Good: A Heart of Thanksgiving bulletin board for the Apostle and Dr. V') ) );
foreach ( $nv_all as $i => $it ) {
  if ( 4 === $i ) { echo '    <span hidden data-nv-src="' . esc_url( $km . 'nov-p05.jpg' ) . '" data-nv-type="p" data-nv-alt="' . esc_attr( $it[2] ) . '"></span>' . "\n"; continue; }
  $v = ( 'v' === $it[0] );
  $src = $km . $it[1] . ( $v ? '.mp4' : '.jpg' );
  echo '    <button type="button" class="km-nv-t' . ( $v ? ' v' : '' ) . '" data-nv="' . $i . '" data-nv-src="' . esc_url( $src ) . '" data-nv-type="' . $it[0] . '" data-nv-alt="' . esc_attr( $it[2] ) . '" aria-label="' . esc_attr( ( $v ? 'Play video: ' : 'Enlarge photo: ' ) . $it[2] ) . '"' . ( $i > $nv_show ? ' hidden data-nv-more' : '' ) . '><img src="' . esc_url( $km . $it[1] . '-t.jpg' ) . '" alt="" loading="lazy">' . ( $v ? '<span class="km-nv-play" aria-hidden="true"></span><span class="km-nv-dur">' . esc_html( $it[3] ) . '</span>' : '' ) . "</button>\n";
}
?>
   </div>
   <div class="km-nv-foot">
    <button type="button" class="km-btn purple sm" id="km-nv-more" aria-controls="km-nv-grid">See all 25 photos and videos</button>
    <a class="km-btn line sm" href="https://wa.me/?text=<?php echo rawurlencode( "SOHPKM Children's Church: Dress-Up Fellowship Night\nPhotos and videos of our children dressed as Bible characters, plus the Wall of Good thanksgiving board.\n" . home_url( '/childrens-ministry/' ) . '#km-nov' ); ?>" target="_blank" rel="noopener">Share on WhatsApp</a>
   </div>
  </article>
  <div class="km-nv-lb" id="km-nv-lb" role="dialog" aria-modal="true" aria-label="Fellowship Night photos and videos" hidden>
   <button type="button" class="km-nv-x" data-nv-close aria-label="Close">&times;</button>
   <button type="button" class="km-nv-pv" data-nv-step="-1" aria-label="Previous">&#8249;</button>
   <div class="km-nv-stage" id="km-nv-stage"></div>
   <button type="button" class="km-nv-nx" data-nv-step="1" aria-label="Next">&#8250;</button>
  </div>
  <script>
  (function(){
   var g=document.getElementById('km-nv-grid'),lb=document.getElementById('km-nv-lb'),st=document.getElementById('km-nv-stage'),mb=document.getElementById('km-nv-more');
   if(!g||!lb)return;
   var it=[].slice.call(g.querySelectorAll('[data-nv-src]')),cur=0,last=null,sx=null;
   function show(i){cur=(i+it.length)%it.length;var e=it[cur],t=e.getAttribute('data-nv-type'),s=e.getAttribute('data-nv-src'),a=e.getAttribute('data-nv-alt');
    st.innerHTML='';var m;
    if(t==='v'){m=document.createElement('video');m.src=s;m.controls=true;m.autoplay=true;m.playsInline=true;m.setAttribute('playsinline','');m.preload='auto';m.setAttribute('aria-label',a);}
    else{m=document.createElement('img');m.src=s;m.alt=a;}
    st.appendChild(m);var c=document.createElement('p');c.className='km-nv-cap';c.innerHTML='<b>'+(cur+1)+' / '+it.length+'</b>';c.appendChild(document.createTextNode(a));st.appendChild(c);}
   function open(i){last=document.activeElement;lb.hidden=false;lb.classList.add('on');document.documentElement.style.overflow='hidden';show(i);lb.querySelector('.km-nv-x').focus();}
   function close(){lb.classList.remove('on');lb.hidden=true;st.innerHTML='';document.documentElement.style.overflow='';if(last)last.focus();}
   document.getElementById('km-nov').addEventListener('click',function(e){var b=e.target.closest('[data-nv]');if(b){e.preventDefault();open(+b.getAttribute('data-nv'));}});
   lb.addEventListener('click',function(e){if(e.target.closest('[data-nv-close]')||e.target===lb)close();var s=e.target.closest('[data-nv-step]');if(s)show(cur+(+s.getAttribute('data-nv-step')));});
   document.addEventListener('keydown',function(e){if(!lb.classList.contains('on'))return;if(e.key==='Escape')close();if(e.key==='ArrowRight')show(cur+1);if(e.key==='ArrowLeft')show(cur-1);});
   lb.addEventListener('touchstart',function(e){sx=e.touches[0].clientX;},{passive:true});
   lb.addEventListener('touchend',function(e){if(sx===null)return;var d=e.changedTouches[0].clientX-sx;if(Math.abs(d)>60)show(cur+(d<0?1:-1));sx=null;});
   if(mb)mb.addEventListener('click',function(){var h=g.querySelectorAll('[data-nv-more]'),on=mb.getAttribute('data-on')==='1';for(var i=0;i<h.length;i++)h[i].hidden=on;mb.setAttribute('data-on',on?'0':'1');g.classList.toggle('all',!on);mb.textContent=on?'See all 25 photos and videos':'Show fewer';if(on)document.getElementById('km-nov').scrollIntoView({block:'start'});});
  })();
  </script>

  <!-- PINK-O-RAMA SUNDAY — OCTOBER BREAST CANCER AWARENESS -->
  <article class="km-pink" aria-labelledby="km-pink-h">
   <div class="km-pink-photo">
    <button type="button" class="km-pink-zoom" data-pink="pink-group.jpg" aria-label="Enlarge photo of the children on Pink-o-Rama Sunday"><img src="<?php echo esc_url( $km . 'pink-group.jpg' ); ?>" alt="Children's Church kids and leaders dressed in pink, holding Cards of Hope and the pink ribbon they made" loading="lazy"></button>
   </div>
   <div class="km-pink-body">
    <p class="km-pink-eye">October 2026 &middot; Breast Cancer Awareness</p>
    <h3 class="km-pink-h" id="km-pink-h">Pink-o-Rama Sunday<span>Small Hands, Big Hope</span></h3>
    <p class="km-pink-p">Our children came dressed in their favorite pink to honor breast cancer warriors and survivors in our community. Together they built a giant pink ribbon and made Cards of Hope filled with encouraging scriptures.</p>
    <ul class="km-pink-list">
     <li>A giant pink ribbon, decorated by little hands</li>
     <li>Cards of Hope with the living Word attached</li>
     <li>Fighting cancer together with faith</li>
    </ul>
    <div class="km-pink-thumbs">
     <button type="button" class="km-pink-zoom" data-pink="pink-o-rama-flyer.jpg" aria-label="Enlarge the Pink-o-Rama Sunday flyer"><img src="<?php echo esc_url( $km . 'pink-o-rama-flyer.jpg' ); ?>" alt="Pink-o-Rama Sunday flyer: Small Hands, Big Hope" loading="lazy"><span>The Flyer</span></button>
     <button type="button" class="km-pink-zoom" data-pink="pink-ribbon.jpg" aria-label="Enlarge photo of the Pink October ribbon"><img src="<?php echo esc_url( $km . 'pink-ribbon.jpg' ); ?>" alt="The Pink October ribbon the children made, standing in the grass" loading="lazy"><span>The Ribbon</span></button>
    </div>
   </div>
   <figure class="km-pink-quote">
    <svg class="km-pink-ribbon" viewBox="0 0 40 56" aria-hidden="true"><path d="M20 4c-6 0-9 5-9 10 0 6 4 12 9 18 5-6 9-12 9-18 0-5-3-10-9-10zm0 6c2.4 0 3.6 2 3.6 4.2 0 2.6-1.6 5.6-3.6 8.4-2-2.8-3.6-5.8-3.6-8.4C16.4 12 17.6 10 20 10z" fill="#e8559a"/><path d="M14.5 27 5 50l7-2 3 6 9-21m-8.5-6L35 50l-7-2-3 6-9-21" fill="#e8559a"/></svg>
    <blockquote>&ldquo;Just want to share what was given to me from my beloved Sister Shaundell and her babies. So thoughtful with the living word of encouragement. Truly appreciate.&rdquo;</blockquote>
    <figcaption><b>Our Head Usher</b>SOHPKM &middot; on the ribbon the children gave her</figcaption>
   </figure>
  </article>

  