/* ============================================================
   Garahejam — custom facelift tweaks
   Loaded AFTER style.css so these rules win.
   1) Mobile "Discover Playlist": show full titles + tighter spacing
   2) Subtle musical-notes page background
   ============================================================ */

/* ---------- 1) Playlist titles ----------------------------------------
   The theme forces playlist titles to a hard width:85px with
   white-space:nowrap + ellipsis on screens <=1200px, which chops the
   names ("Biyaheng Pr..."). Let them use the full column and wrap. */
@media (max-width: 1200px) {
   .w_top_song .w_tp_song_name h3 {
      width: auto;
      white-space: normal;
      overflow: visible;
      text-overflow: clip;
      line-height: 1.25;
      word-break: break-word;
   }
}

/* ---------- Portrait phones: tighten spacing, give titles room -------- */
@media (max-width: 767px) {
   .ms_weekly_wrapper { padding-top: 28px; }
   .ms_weekly_box { padding: 9px 0; }
   .ms_weekly_wrapper .padding_right40 { padding-right: 15px; }
   .w_top_song { padding-left: 8px; }
   .w_top_song .w_tp_song_name { padding-left: 14px; }
   .w_top_song .w_tp_song_name h3 { font-size: 15px; margin-bottom: 2px; }
   .w_top_song .w_tp_song_name p { font-size: 13px; }
   .ms_weekly_wrapper .ms_divider { margin-top: 3px; }
}

/* ---------- 2) Subtle musical background (HOMEPAGE ONLY) ---------------
   A light, washed-out musical wallpaper behind the home page. Scoped to the
   homepage so inner/detail pages (playlists, tracks) stay clean white and
   their content panels don't look like floating boxes on the wallpaper.
   The white gradient on top keeps it faint so it never competes with text. */
body.page-homepage {
   background-image:
      linear-gradient(rgba(255,255,255,0.90), rgba(255,255,255,0.90)),
      url(../images/footer_bg.jpg);
   background-repeat: no-repeat, no-repeat;
   background-position: center top, center top;
   background-size: cover, cover;
   background-attachment: fixed, fixed;
}
@media (max-width: 767px) {
   /* fixed attachment is unreliable on mobile; let it scroll */
   body.page-homepage {
      background-attachment: scroll, scroll;
      background-size: cover, cover;
   }
}
