.section-divider{
  width:100%;
  height:1px;
  background: var(--accent);
  opacity:.7;
}

.pidi-home{
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px var(--edge) 32px;
  box-sizing: border-box;
}

.video-frame{
  position: relative;
  width: 100%;
  background: var(--bg);            
  border-radius: 12px;
  overflow: hidden;                  
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  padding: 0;
}

.video-frame video{
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;              
  background: var(--bg);           
}

.sound-toggle{
  position: absolute;
  left: 14px;
  top: 14px;
  border: 1px solid var(--accent);
  background: rgba(248,247,242,.92);
  backdrop-filter: blur(2px);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--accent);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}
.sound-toggle:focus-visible{
  outline: 2px dashed var(--accent);
  outline-offset: 3px;
}

@media (min-width: 1025px){
  .video-frame video{
    width: 100%;
    height: auto;
    max-height: 75vh;              
    object-fit: contain;          
    background: var(--bg);
  }
}

@media (max-width: 1024px){
  .pidi-home{ padding: 20px var(--edge) 28px; }
  .video-frame video{ max-height: 64vh; }
  .sound-toggle{ left: 12px; top: 12px; font-size: 17px; padding: 7px 11px; }
}

@media (max-width: 480px){
  .pidi-home{ padding: 16px var(--edge) 24px; }
  .video-frame video{ max-height: 56vh; }
  .sound-toggle{ left: 10px; top: 10px; font-size: 16px; padding: 6px 10px; }
}
@media (min-width: 1025px){
  .video-frame .sound-toggle{ z-index: 2; }
  .video-frame::before,
  .video-frame::after{
    content:"";
    position:absolute;
    top:0; bottom:0;
    width: clamp(18px, 4vw, 56px);   
    pointer-events: none;            
    z-index: 1;                      

    background:
      repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,.65) 0 10px,
        rgba(255,255,255,0)   10px 28px
      ),
      linear-gradient(to bottom,
        rgba(140,110,68,.14),
        rgba(140,110,68,.10)
      );
    box-shadow:
      inset 0 0 0 1px rgba(140,110,68,.25),    
      inset 8px 0 14px rgba(255,255,255,.35),  
      inset -8px 0 14px rgba(0,0,0,.06);       
  }
  .video-frame::before{ left:0;  border-radius: 12px 0 0 12px; }
  .video-frame::after { right:0; border-radius: 0 12px 12px 0; }
}
@media (max-width: 768px){
  main > .section-divider:first-child{
    margin-bottom: 30px;
  }
}
.pidi-home + .section-divider { margin-top: 30px; }


@media (max-width: 768px){
  .section-divider + .pidi-home { margin-top: 12px; }
  .pidi-home + .section-divider { margin-top: 20px; }
}
.section-divider{
  height: 1px;
  background: var(--accent);
  opacity: .7;
}

#sections-root > .section-divider:first-child{
  display: none;
}

.pidi-header + main > .section-divider:first-child{
  display: none;
}





