/*
 * P25 Pantoufle — MASTER polish — 2026-09-09
 * Loaded last. Final corrections only.
 */

/* Dayparts: kill the historical left rail on adjacent rows at every viewport. */
body.mev-p25-h0.mev-p25-master #post-330 .mev-p25-role-temporal .mev-p25-daypart + .mev-p25-daypart::before,
body.mev-p25-h0.mev-p25-master #post-330 .mev-p25-role-temporal .mev-p25-daypart + .mev-p25-daypart:before{
  content:none!important;
  display:none!important;
  width:0!important;
  height:0!important;
  background:none!important;
  border:0!important;
  box-shadow:none!important;
}

/* Playlist extension: one coherent editorial movement inside Programming. */
body.mev-p25-h0.mev-p25-master #post-330 .mev-p25-role-temporal .mev-p25-takeaway{
  position:relative;
  margin-top:50px!important;
  padding:30px 0 0!important;
  border:0!important;
}
body.mev-p25-h0.mev-p25-master #post-330 .mev-p25-role-temporal .mev-p25-takeaway::before{
  content:'';
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:1px;
  background:var(--p25-final-rule);
}
body.mev-p25-h0.mev-p25-master #post-330 .mev-p25-role-temporal .mev-p25-takeaway p{
  width:100%!important;
  max-width:880px!important;
  padding:0!important;
  border:0!important;
}
body.mev-p25-h0.mev-p25-master #post-330 .mev-p25-role-temporal .mev-p25-takeaway p[data-mev-p="1"]{
  margin:0 0 30px!important;
  font-family:'Karrik',sans-serif!important;
  font-size:1.30rem!important;
  font-weight:400!important;
  line-height:1.2!important;
  letter-spacing:-.012em!important;
  text-align:center!important;
  text-wrap:balance;
}
body.mev-p25-h0.mev-p25-master #post-330 .mev-p25-role-temporal .mev-p25-takeaway p[data-mev-p="2"]{
  display:none!important;
}
body.mev-p25-h0.mev-p25-master #post-330 .mev-p25-role-temporal .mev-p25-takeaway p[data-mev-p="3"]{
  margin:0 0 1.15em!important;
}
body.mev-p25-h0.mev-p25-master #post-330 .mev-p25-role-temporal .mev-p25-takeaway p[data-mev-p="4"]{
  margin:0!important;
}

/* Programming conclusion closes that movement rather than floating after it. */
body.mev-p25-h0.mev-p25-master #post-330 .mev-p25-role-temporal .mev-p25-dayparts-coda{
  margin-top:44px!important;
}

/* Governance: resources are the final conclusion now that the coda is removed. */
body.mev-p25-h0.mev-p25-master #post-330 .mev-p25-role-return .mev-p25-lab-resources-inline{
  margin-top:52px!important;
}

@media(max-width:900px){
  body.mev-p25-h0.mev-p25-master #post-330 .mev-p25-role-temporal .mev-p25-takeaway{
    margin-top:42px!important;
  }
  body.mev-p25-h0.mev-p25-master #post-330 .mev-p25-role-temporal .mev-p25-takeaway p[data-mev-p="1"]{
    max-width:none!important;
    margin-bottom:28px!important;
    font-size:1.16rem!important;
    line-height:1.24!important;
  }
  body.mev-p25-h0.mev-p25-master #post-330 .mev-p25-role-temporal .mev-p25-dayparts-coda{
    margin-top:38px!important;
  }

  /* Shazam mobile — one column in FR and EN_GB. Never force the two beats onto one line. */
  body.mev-p25-h0.mev-p25-master #post-330 .mev-p25-role-music .mev-p25-section-conclusion--shazam{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    justify-content:stretch!important;
    align-items:stretch!important;
    column-gap:0!important;
    row-gap:0!important;
    width:100%!important;
    max-width:880px!important;
    padding:12px 16px!important;
    overflow:visible!important;
  }
  body.mev-p25-h0.mev-p25-master #post-330 .mev-p25-role-music .mev-p25-section-conclusion--shazam p{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    font-family:'General Sans',sans-serif!important;
    font-size:.98rem!important;
    font-weight:400!important;
    line-height:1.45!important;
    text-align:center!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  body.mev-p25-h0.mev-p25-master #post-330 .mev-p25-role-music .mev-p25-section-conclusion--shazam p[data-mev-beat="1"]{
    padding-bottom:12px!important;
  }
  body.mev-p25-h0.mev-p25-master #post-330 .mev-p25-role-music .mev-p25-section-conclusion--shazam p[data-mev-beat="2"]{
    position:relative!important;
    padding:12px 0 0!important;
    font-weight:400!important;
  }
  body.mev-p25-h0.mev-p25-master #post-330 .mev-p25-role-music .mev-p25-section-conclusion--shazam p[data-mev-beat="2"]::before{
    content:''!important;
    display:block!important;
    position:absolute!important;
    left:0!important;
    right:0!important;
    top:0!important;
    bottom:auto!important;
    width:auto!important;
    height:1px!important;
    background:var(--p25-final-soft)!important;
  }
}
