@media only screen and (max-width: 1200px) {
  .lyric-alphabet ul li a {
    font-size: 13px;
    padding: 0px 11px;
    display: inline-block;
  }

  .js .navigate {
    display: none;
  }

  .js .slicknav_menu {
    display: block;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
  .full-screen-list-inside ul li {
    margin-right: 17px !important;
  }

  .full-screen-inside-responsive ul li {
    margin-right: 15px !important;
  }

}

@media only screen and (max-width: 991px) {
  .js .navigate {
    display: none;
  }

  .js .slicknav_menu {
    display: block;
  }

  .social-icons {
    margin-right: 60px;
  }

  .pre-header {
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
  }

  .pre-header::-webkit-scrollbar {
    display: none;
  }


  .owl-next {
    right: 0 !important;
    width: 50px !important;
    height: 60px !important;
  }

  .owl-prev {
    left: 0 !important;
    width: 50px !important;
    height: 60px !important;
  }

  #popular-list .owl-prev:after {
    top: 20px;
    left: 10px;
  }

  #popular-list .owl-next:after {
    top: 20px;
    left: 15px;
  }

  .lyric-search {
    padding: 7% 0 !important;
  }

}

@media only screen and (max-width: 767px) {
  .latest-lyrics ul li {
    width: 50%;
  }

  .logo {
    padding-left: 15px;
  }

  .latest-lyrics ul li:nth-child(2n+1) {
    background: #fff;
  }

  .search-wrapper {
    width: 75%;
  }

  .social-icons {
    margin-right: 65px;
  }

  .full-screen-list-inside ul li {
    width: 96% !important;
    height: 400px;
    background-position: center top !important;
  }

  .item {
    height: 400px;
  }

  .background-single-lyrics,
  .single-lyrics-overlay {
    height: 350px !important;
    padding-bottom: 350px !important;
  }

  .big-letter {
    margin-top: 50px;
  }

  .full-screen-inside-responsive ul li {
    margin-left: 8px !important;
  }

  .lyric-search h1 {
    font-size: 29px;
    line-height: 29px;
  }

  .lyrics-title h1 {
    font-size: 25px;
    line-height: 25px;
  }

  .footer-menu #nav li {
    float: none;
    margin: 0;
    padding: 0;
  }

  .footer-menu {
    text-align: right;
  }

  .header-search,
  .social-icons {
    display: none;
  }

}


/* Tablet Portrait size to Tablet Landscape (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .full-screen-list-inside ul li {
    margin-right: 21px !important;
  }

  .full-screen-inside-responsive ul li {
    margin-right: 18px !important;
  }

}

@media only screen and (max-width: 767px) {

  .latest-lyrics ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .latest-lyrics ul li {
    padding: 16px 24px;
    display: flex;
  }

  .latest-lyrics ul li .lyric-content {
    flex: 1;
  }

  .latest-lyrics ul li:nth-child(2n+2) {
    background: transparent;
  }

  .latest-lyrics ul li:nth-child(4n-1),
  .latest-lyrics ul li:nth-child(4n) {
    background: #f9f9f9;
  }


}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
  .latest-lyrics ul li {
    width: 100%;
  }

  .footer-logo {
    width: 30%;
  }

  .footer-menu {
    width: 70%;
  }

  #mini-search-wrapper {
    left: -160px;
  }

  #mini-search-wrapper:before {
    right: 120px !important;
  }


  .latest-lyrics ul {
    display: grid;
    grid-template-columns: 1fr;
  }


  .latest-lyrics ul li:nth-child(2n+2) {
    background: transparent;
  }

  .latest-lyrics ul li:nth-child(4n-1),
  .latest-lyrics ul li:nth-child(4n) {
    background: transparent;
  }

  .latest-lyrics ul li:nth-child(2n) {
    background: #f9f9f9;
  }

}
/* --------------------------------------------------------------------------
 * v3.0.9 Bootstrap 5 mobile repair layer
 * This file loads last, so these rules intentionally override the original
 * Muusico Bootstrap 3 responsive rules above.
 * -------------------------------------------------------------------------- */

/* Shared safety rules for narrow screens. */
img,
iframe,
video,
embed,
object { max-width: 100%; }
img { height: auto; }

.lyric-text,
.second-container,
.page-container,
.single-widget,
.comment-content { overflow-wrap: anywhere; word-break: normal; }

@media (max-width: 991.98px) {
  /* Bootstrap 5 owns the mobile menu now; never switch back to SlickNav. */
  .js .navigate { display: block; }
  .js .slicknav_menu,
  .slicknav_menu,
  #mobile-header { display: none !important; }

  /* Undo old header offsets/hiding. */
  .muusico-site-header .header-search { display: block; }
  .muusico-site-header .social-icons { display: flex; margin-right: 0; }

  /* Keep page content in normal document flow on tablets/phones. */
  .content-capsule { width: 100%; max-width: 100%; padding-left: 12px; padding-right: 12px; }
  .content-pull { position: relative; top: auto; left: auto; margin-top: -56px; }
  .page-container { width: 100%; }
  .page-container > .container,
  .second-container > .container { width: 100%; max-width: 100%; padding-left: 0; padding-right: 0; }
  .second-container { padding: 20px 16px 12px; }
  .second-padding { padding: 20px 16px !important; }

  /* Sidebars should sit below the main content with comfortable separation. */
  .muusico-single-lyrics,
  .muusico-single-artist,
  .muusico-album,
  .muusico-genre,
  .muusico-tag,
  .muusico-lyrics-list { margin-bottom: 1.5rem; }

  /* Artist cards: original theme uses fixed 205px/400px blocks. */
  .full-screen-list-inside ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  .full-screen-list-inside ul li,
  .full-screen-inside-responsive ul li,
  .full-artist-album-list ul li {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 280px;
    margin: 0 !important;
    background-position: center top !important;
    border-radius: 8px;
    overflow: hidden;
  }
  .full-screen-list-inside .item,
  .full-screen-inside-responsive .item { height: 280px; }

  /* Footer columns become natural Bootstrap blocks. */
  .footer-menu { text-align: left; }
  .footer-menu #nav li { float: none; }
}

@media (max-width: 767.98px) {
  /* Shorter, readable inner-page hero/header. */
  .background-single-lyrics,
  .single-lyrics-overlay {
    height: 280px !important;
    min-height: 280px;
    padding-bottom: 280px !important;
  }
  .lyrics-title {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 72px;
    max-width: none;
  }
  .lyrics-title.album { bottom: 72px !important; }
  .lyrics-title h1 {
    margin: 0;
    padding: 0 0 .35rem;
    font-size: clamp(1.65rem, 8vw, 2.25rem);
    line-height: 1.08;
  }
  .lyrics-title h3 { margin-bottom: .35rem; font-size: 1rem; line-height: 1.35; }
  .lyrics-title h4 { margin: 0; font-size: .9rem; line-height: 1.4; }
  .lyrics-title h4 a { line-height: inherit; }

  .content-pull { margin-top: -38px; }
  .second-container { border-radius: 8px 8px 0 0; }

  /* Single lyric page readability. */
  .lyric-line { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .lyric-line .float-start,
  .lyric-line .float-end { float: none !important; }
  .lyric-text { font-size: 16px; line-height: 1.75; }
  .lyric-text p { margin: 1.15rem 0; }
  .lyric-text table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Search/form controls must stay inside the viewport. */
  input[type="text"],
  input[type="email"],
  input[type="search"],
  input[type="url"],
  input[type="password"],
  select,
  textarea,
  #user-submitted-posts input,
  #user-submitted-posts textarea { width: 100% !important; max-width: 100%; }

  /* Artist grids: one strong card per row on phones. */
  .full-screen-list-inside ul { grid-template-columns: 1fr; gap: 14px; }
  .full-screen-list-inside ul li,
  .full-screen-inside-responsive ul li,
  .full-artist-album-list ul li { min-height: 250px; }
  .full-screen-list-inside .item,
  .full-screen-inside-responsive .item { height: 250px; }

  /* Old table-style album/lyrics/search rows are too narrow on phones.
     Turn them into stacked cards while keeping desktop markup untouched. */
  .album-line { display: none; }
  .list-line {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .75rem;
    margin-top: 0 !important;
    padding: 14px 0;
  }
  .list-line > [class*="col-"] {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0;
    padding-right: 0;
  }
  .list-line > [class*="col-"]:first-child { font-weight: 600; font-size: 1rem; }
  .list-line img { width: 72px; max-width: 72px; border-radius: 6px; margin-bottom: .35rem; }
  .big-font a { font-size: 1.05rem; }

  /* A-Z remains a single Artists row and wraps without overflowing. */
  .muusico-alphabet-row { flex-direction: column; align-items: center; gap: .25rem; }
  .muusico-alphabet-label { padding-top: 0; }
  .muusico-alphabet-row .muusico-alphabet-links { width: 100%; justify-content: center; }

  /* Pagination can wrap instead of running off-screen. */
  .pagination,
  .custom-pagination ul { flex-wrap: wrap; max-width: 100%; }

  /* Footer should not preserve old 30/70 percent widths. */
  .footer-logo,
  .footer-menu { width: 100%; }
}

@media (max-width: 575.98px) {
  .container { --bs-gutter-x: 1.5rem; }
  .content-capsule { padding-left: 8px; padding-right: 8px; }
  .second-container,
  .second-padding { padding: 16px 14px !important; }

  .background-single-lyrics,
  .single-lyrics-overlay {
    height: 245px !important;
    min-height: 245px;
    padding-bottom: 245px !important;
  }
  .lyrics-title { bottom: 58px; }
  .lyrics-title.album { bottom: 58px !important; }

  .single-widget { margin-top: 1rem; }
  .single-widget h4 { padding-bottom: .7rem; margin-bottom: .9rem; }

  .lyric-bottom .float-start,
  .lyric-bottom .float-end,
  .lyric-share,
  .lyric-share ul { float: none !important; }
  .lyric-share ul { display: flex; flex-wrap: wrap; gap: .35rem; margin: .5rem 0 0; padding: 0; }
  .lyric-share ul li { float: none; margin: 0; }

  /* Comments and long metadata stay readable. */
  .comment-content { padding-left: .5rem; }
  .commentlist { padding-left: 0; }
}
