
body { 
  font-size: 14px; 
  padding: 0; 
  margin: 0; 
}

@media (max-width: 768px){
  .header-search{ display:none !important; }
}


@media (max-width: 768px) {
  .topbar-container {
    padding: 10px 12px;
    background-color: #111;
  }
  .topbar-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .topbar-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
  }
  .topbar-menu li a {
    display: block;
    background: #1b1b1b;
    padding: 10px;
    border-radius: 10px;
    color: #ffc107;
    text-decoration: none;
    font-size: 15px;
    text-align: center;
  }
  .social-center {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  .social-btn {
    border: 1px solid #ffc107;
    padding: 6px 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #ffc107;
    background: transparent;
    text-decoration: none;
  }
  .social-btn img {
    width: 18px;
    height: 18px;
  }
  .theme-switch {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  body, html {
    padding: 0;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
  }
  header.site-header {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 768px) {
  header.site-header,
  .site-header {
    padding: 0 16px;
    box-sizing: border-box;
  }
}

@media (max-width: 768px){
  body:not(.light-mode) header.site-header,
  body:not(.light-mode) .site-header {
    background-color: transparent;
  }

  body:not(.light-mode) .custom-header-wrapper {
    padding: 10px 16px;
    margin: 0 auto;
    border-radius: 16px;
    border: 2px solid #ffc107;
    background-color: #0b0b14;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
  }

  body.light-mode .custom-header-wrapper {
    background-color: #fff !important;
    width: 100%;
    margin: 0 auto;
    padding: 10px 16px;
    border: 0;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-sizing: border-box;
  }

  body.light-mode .site-header::before,
  body.light-mode .site-header::after,
  body.light-mode .custom-header-wrapper::before,
  body.light-mode .custom-header-wrapper::after {
    content: none !important;
    background: transparent !important;
    opacity: 0 !important;
    box-shadow: none !important;
  }
}

@media (max-width: 768px) {
  header.site-header,
  .site-header {
    margin: 16px 0;
  }
}

@media (max-width: 768px){
  .site-logo img {
    max-width: 150px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .header-search {
    margin-top: 0;
    margin-bottom: 50px;
  }

  .header-search form {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .header-search input[type="text"] {
    width: 90%;
    padding: 10px;
    font-size: 14px;
    border-radius: 12px;
    border: 1px solid #ffc107;
    background-color: #0b0b14;
    color: #fff;
  }

  .searchsubmit {
    display: none;
  }
}

@media (max-width: 768px) {
  .top-liked-month {
    margin-left: 5px !important;
    margin-right: 5px !important;
    padding: 20px 16px !important;
    border-radius: 14px !important;
  }
}

@media (max-width: 768px) {
  .music-archive {
    padding: 0 5px !important;
  }

  .music-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
  }

  .music-grid .music-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 768px) {
  .music-header-section .music-title-box {
    display: none !important;
  }
}

.music-title .artist,
.music-title .song {
  font-family: 'Vazirmatn', IRANSans, Shabnam, sans-serif !important;
  font-weight: 600 !important;
  text-align: center;
  direction: rtl;
}


@media (max-width: 768px) {
  body.light-mode .topbar-menu li a {
    background-color: #f0f0f0;
    color: #111 !important;
    border-radius: 10px;
    padding: 10px;
    margin: 1px 0;
    display: block;
    font-weight: bold;
    text-align: center;
  }
}

body.light-mode .social-btn {
  background-color: white;
  border: 1px solid #ccc;
  color: #222;
}

body.light-mode .theme-switch {
  color: #222;
}

body.light-mode .menu-toggle {
  color: #ff9800;
  font-weight: bold;
}

@media (max-width: 768px) {
  body.light-mode .top-liked-month {
    width: calc(100% - 10px) !important;
    margin: 0 auto 30px auto !important;
    box-sizing: border-box;
  }
}

@media (max-width: 767px){
  .site-header .custom-header-wrapper .site-logo{
    display: none !important;
  }

  .site-header .custom-header-wrapper{
    margin: 0 auto !important;
    padding: 10px 16px !important;
  }

  .topbar .site-logo--mobile{ display:block !important; }
}

/* Hide site header on mobile only */
@media (max-width: 767px){
  header.site-header,
  .site-header{
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .topbar-spacer{ height:56px !important; }
}

@media (max-width: 767px){
  body:not(.light-mode) .top-liked-month,
  body.light-mode .top-liked-month{
    margin-top: 50px !important;
  }
}
@media (max-width: 767px){
  body:not(.light-mode) .single-music-wrapper,
  body.light-mode .single-music-wrapper{
    margin-top: 50px !important;
  }
}

@media (max-width: 767px){
  body:not(.home):not(.front-page):not(.light-mode) .music-archive{
    margin-top: 50px !important;
  }
  body.light-mode:not(.home):not(.front-page) .music-archive{
    margin-top: 50px !important;
  }
}

@media (max-width: 767px){
  body.home .music-archive,
  body.front-page .music-archive,
  body.light-mode.home .music-archive,
  body.light-mode.front-page .music-archive{
    margin-top: -15px !important;
  }
}

@media (max-width: 767px){
  .contact-page,
  .contact-form,
  .contact-page .contact-form{
    border: none !important;
    box-shadow: none !important;
  }
}

@media (max-width: 767px){
  body:not(.light-mode) .music-sort-container{
    margin-top: +15px !important;
  }
  body.light-mode .music-sort-container{
    margin-top: -15px !important;
  }
}

.cover-badge--left-mini.show-tip::after,
.cover-badge--left-mini.show-tip::before {
  opacity: 1;
}
