/*
 Theme Name:   Astra Child
 Theme URI:    https://sgija.com/astra-child/
 Description:  Child theme for Your Theme
 Author:       Tshepo
 Author URI:   https://sgija.com
 Template:     astra
 Version:      1.0.0
 Text Domain:  astra-child
*/






h2 {
  text-align: center;
}

h3 {
  text-align: center;
}

.comment-rating {
    color: #ffcc00;
    font-size: 18px;
    margin-bottom: 5px;
}

.comment-form-rating select option[value=""] {
    color: #999;
}

.rmp-results-widget {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-direction: row !important;
  gap: 5px;
  margin: 20px auto !important;
  text-align: center !important;
}

.rmp-results-widget__visual-rating,
.rmp-results-widget__vote-count {
  display: inline-block;
}






/* MOBILE FIRST IMPROVEMENTS */
@media (max-width: 768px) {

  body {
    font-size: 15px;
  }

  h1 {
    font-size: 1.9rem !important;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.5rem !important;
  }

  .sg-pack-header {
    grid-template-columns: 1fr !important;
    gap: 25px;
  }

  .sg-pack-title {
    text-align: center;
  }

  .sg-download-btn {
    width: 100%;
    text-align: center;
  }

  .sg-pack-meta {
    padding: 18px;
  }

  .sg-meta-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sg-related {
    grid-template-columns: 1fr 1fr;
  }

}





/* DOWNLOAD HISTORY – HORIZONTAL CARDS */

.sg-download-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}



.sg-download-card {
  display: flex;
  align-items: center; /* vertical center */
  gap: 16px;
  background: #1e1e1e;
  color: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
	margin-bottom: 20px;
}

.sg-download-card img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

/* TEXT AREA */
.sg-download-info {
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical center */
}

.sg-download-info h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.sg-download-info span {
  font-size: 0.85rem;
  color: #ccc;
  margin-top: 4px;
}

/* HOVER */
.sg-download-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* MOBILE */
@media (max-width: 600px) {
  .sg-download-card {
    flex-direction: row;
  }

  .sg-download-card img {
    width: 70px;
    height: 70px;
  }
}



/* Track Share Page */

.sg-track-share {
    background: #0f0f0f;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: system-ui, sans-serif;
}

.sg-track-wrapper {
    width: 100%;
    padding: 20px;
}

.sg-track-card {
    max-width: 420px;
    margin: auto;
    background: #1a1a1a;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,.5);
    text-align: center;
}

.sg-track-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.sg-track-card audio {
    width: 100%;
    margin: 15px 0;
}

.sg-track-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 15px 0;
}

.sg-btn {
    padding: 10px 14px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.sg-btn.primary {
    background: #00ffa2;
    color: #000;
}

.sg-btn.like {
    background: #2b2b2b;
    color: #fff;
}

.sg-btn.dislike {
    background: #2b2b2b;
    color: #fff;
}

.sg-share-box {
    display: flex;
    margin-top: 15px;
    gap: 8px;
}

.sg-share-box input {
    flex: 1;
    padding: 8px;
    border-radius: 8px;
    border: none;
    background: #111;
    color: #fff;
}

.sg-share-box button {
    padding: 8px 12px;
    border-radius: 8px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}
