/*
 Theme Name:   Rock Star Child
 Description:  Child theme for custom CSS.
 Author:       Syrupan
 Template:     rock-star
 Version:      1.0.0
*/

/* ============================================================
   1. GLOBAL RESETS & HIDDEN ELEMENTS
   ============================================================ */

.entry-header,
.entry-meta,
.nav-links,
.site-info {
  display: none !important;
}


/* ============================================================
   2. SITE HEADER & BRANDING
   ============================================================ */

.header-bg #masthead {
  background-color: #1a1919;
}

.site-title {
  font-family: 'Special Elite', cursive, sans-serif;
  font-size: 45px;
  text-transform: uppercase;
}

.site-title a:hover,
.site-title a:focus {
  color: #D4AF37;
}


/* ============================================================
   3. NAVIGATION
   ============================================================ */

.main-navigation {
  font-family: 'Special Elite', cursive, sans-serif;
  text-transform: uppercase;
}

.main-navigation a {
  color: #D4AF37 !important;
  font-size: 23px !important;
}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
  color: #FFFFFF !important;
}

/* Override mobile menu toggle colors */
.menu-toggle.toggled-on {
    background-color: #000 !important;   /* or whatever color you want */
    border-color: #666 !important;
    color: #D4AF37 !important;
}

/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */

p, h1, h2, h3, h4, h5, h6,
.wp-block-heading,
.content-area .entry-title,
.featured-content-wrap .entry-title,
.page-section .entry-title,
.sidebar-primary .entry-title,
.sidebar-footer .entry-title,
.sidebar-primary .widget-title,
.sidebar-footer .widget-title,
#testimonial-section .entry-title,
body, button, input, select, textarea {
  font-family: 'Special Elite', cursive, sans-serif;
  color: #ffffff;
}

.wp-block-heading {
  text-transform: uppercase;
}

.entry-content {
  font-family: "Special Elite", serif;
  line-height: 1.2;
}

.entry-content a,
.entry-content a:link,
.entry-content a:visited,
.entry-content a:hover,
.entry-content a:active {
  text-decoration: none !important;
  box-shadow: none !important;
}

.entry-content .has-large-font-size,
.entry-content .has-x-large-font-size {
  margin-bottom: 0.1em;
}

.content-area .entry-title {
    color: #D4AF37;
}

a:hover,
.site-content a:hover {
  color: #D4AF37;
  text-decoration: none;
}


/* ============================================================
   5. TABLE STYLING
   ============================================================ */

.wp-block-table table {
  border: none !important;
  font-size: 15px;
}

.wp-block-table thead th {
  background-color: #D4AF37;
  color: #000000;
  font-weight: bold;
  text-align: left;
  padding: 8px 12px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.wp-block-table td {
  padding: 8px 12px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.wp-block-table th:first-child,
.wp-block-table td:first-child {
  border-left: 1px solid #ddd;
}

.wp-block-table th:last-child,
.wp-block-table td:last-child {
  border-right: 1px solid #ddd;
}

.wp-block-table tbody tr:hover {
  background-color: #FFFFFF;
  color: #000000;
}


/* ============================================================
   6. WOO TABS
   ============================================================ */

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: #D4AF37;
  color: #515151;
  border-bottom-color: #D4AF37;
  z-index: 2;
}


/* ============================================================
   7. FOOTER CREDIT
   ============================================================ */

.my-site-credit {
  background-color: #1a1919;
  padding: 20px 0;
  border-top: 1px solid #D4AF37;
  text-align: center;
  font-family: 'Special Elite', cursive;
  font-size: 15px;
  color: #D4AF37;
  margin-top: 20px;
}


/* ============================================================
   8. ALBUM TRACK LIST (DESKTOP)
   ============================================================ */

.album_tracks .single_track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 4px 0;
  background: #222222;
}

.album_tracks .single_track:hover .track_name {
  color: #D4AF37;
}

.album_tracks .track_name {
  width: 200px;
  flex-shrink: 0;
  margin-right: 20px;
  color: #ffffff;
  transition: color 0.2s ease;
  white-space: normal;
  word-break: break-word;
  line-height: 1.2;
}

.album_tracks .mejs-container {
  display: flex;
  align-items: center;
  height: 40px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* ============================================================
   9. MOBILE LAYOUT (≤ 768px)
   ============================================================ */

@media (max-width: 768px) {

  .site-title {
    font-size: 21px;
    line-height: 2.5;
  }

  .album_tracks .single_track {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #333;
  }

  .album_tracks .track_name {
    width: 100%;
    margin-bottom: 8px;
    font-size: 15px;
    letter-spacing: 0.5px;
  }

  .album_tracks .mejs-container {
    width: 100% !important;
    max-width: 100%;
  }

  .album_tracks .mejs-container .mejs-controls {
    height: 36px;
  }

  .album_tracks .mejs-controls .mejs-time,
  .album_tracks .mejs-controls .mejs-button {
    padding: 0 4px;
  }
}


/* ============================================================
   10. TABLET FIX (≤ 1024px)
   ============================================================ */

@media (max-width: 1024px) {

  /* Fix Music Pack album collapse */
  .slide-music-albums-container {
    display: block !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
  }

  .latest_albums_single {
    float: none !important;
    display: block !important;
    width: 100% !important;
  }
}

/* ============================================================
   11. Lyrics Page
   ============================================================ */
.entry-content .lyrics-list {
    list-style-type: none !important;
    margin: 0;
    padding: 0;
    font-family: 'Special Elite', cursive, sans-serif;
    font-size: 1rem;
    line-height: 1.2;
	color: #ffffff;
}

.entry-content ul.lyrics-list > li {
    list-style: none !important;
}

.entry-content .lyrics-list li {
    margin: 2px 0;
    padding-left: 0;
}

.entry-content .lyrics-list li::marker {
    content: none;
}

/* Letter headings */
.entry-content h2 {
    font-size: 42px;
    color: #D4AF37;
    margin-top: 35px;
    margin-bottom: 0px;
    font-family: 'Special Elite', cursive;
}

/* ============================================================
   12. Shop Pages
  ============================================================ */

.woocommerce-loop-category__title {
  text-align: center;
}

/* Hide categories */
.product_meta .posted_in {
  display: none;
}

/* Attribute names*/
.woocommerce-product-attributes-item__label {
  color: #D4AF37;
  font-weight: 600;
}

/* Hide Attribute Lines */
.woocommerce-product-attributes {
  border: none;
}

.woocommerce-product-attributes tr,
.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
  border: none !important;
}

/* Features */
.lc_event_entry .label {
  color: #D4AF37;
  font-weight: 600;
}
.woocommerce-loop-category__title mark.count {
  display: none;
}

.woocommerce-ordering select {
    color: #D4AF37;
    background-color: #000;
    border: 1px solid #D4AF37;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, #D4AF37 50%, transparent 50%),
                      linear-gradient(135deg, transparent 50%, #D4AF37 50%);
    background-position: calc(100% - 15px) calc(50% - 5px),
                         calc(100% - 10px) calc(50% + 5px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 30px;
}

/* Variation dropdown text color */
.woocommerce div.product form.cart .variations select {
    color: #D4AF37 !important;
    background-color: #000000 !important; 
}

/* Selected option text color */
.woocommerce div.product form.cart .variations select option {
    color: #D4AF37 !important;
}

/* Placeholder text */
.woocommerce div.product form.cart .variations select option[disabled] {
    color: #777777 !important; 
}

/* Uniform product image box WITHOUT touching the text */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link img {
    height: 300px; /* adjust as needed */
    width: auto !important;
    object-fit: contain !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/* Prevent product titles from wrapping */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================================
   13. Events
  ============================================================ */

@media (max-width: 768px) {
  /* Adjust spacing between events */
  .event_list_entry {
    margin-bottom: 8px !important;
    padding-bottom: 8px !important;
  }

  /* Prevent crowding near the top */
  .event_list_entry:first-child {
    margin-top: 30px !important;
  }
}

@media (max-width: 768px) {
  .event_list_entry.event_buy {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    display: none !important; /* Optional: hides it entirely if unused */
  }
}

/* Cover ALL tablet/mobile breakpoints */
@media (max-width: 1100px) {

  /* Core event spacing */
  .event_list_entry {
    margin-bottom: 8px !important;
    padding-bottom: 8px !important;
  }

  .event_list_entry:first-child {
    margin-top: 30px !important;
  }

  /* Kill the buy block completely */
  .event_list_entry.event_buy,
  .event_list_entry.event_buy[style] {
    margin: 0 !important;
    padding: 0 !important;
    display: none !important;
  }

  /* Remove spacing from ANY child that might be adding it */
  .event_list_entry > div,
  .event_list_entry > ul,
  .event_list_entry > li {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Remove spacing from clearfix or transition wrappers */
  .event_list_entry .clearfix,
  .event_list_entry .transition3_color {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Remove spacing from empty elements */
  .event_list_entry *:empty {
    display: none !important;
  }
}

  /* Remove spacing below venue name */
@media screen and (max-width: 979px) {
  .event_list_entry {
    min-height: 0 !important;
  }
}

/* ============================================================
   14. Tour Page
   ============================================================ */
.entry-content .tour-list {
    list-style-type: none !important;
    margin: 0;
    padding: 0;
    font-family: 'Special Elite', cursive, sans-serif;
    font-size: 1rem;
    line-height: 1.2;
	color: #ffffff;
}

.entry-content ul.tour-list > li {
    list-style: none !important;
}

.entry-content .tour-list li {
    margin: 2px 0;
    padding-left: 0;
}

.entry-content .tour-list li::marker {
    content: none;
}

/* ============================================================
   15. Home Page
   ============================================================ */
/* Vertical separators between columns */
.firestein-columns {
  display: flex;
  gap: 40px;
}

.firestein-columns > .wp-block-column {
  padding-right: 40px;
  border-right: 1px solid rgba(212, 175, 55, 0.35); /* Firestein gold */
}

.firestein-columns > .wp-block-column:last-child {
  border-right: none;
  padding-right: 0;
}

/* Hide separator on mobile */
@media (max-width: 768px) {
  .firestein-columns {
    gap: 0;
    flex-direction: column;
  }

  .firestein-columns > .wp-block-column {
    padding-right: 0;
    border-right: none;
  }
}

/* Default: hide this specific separator */
.mobile-only-separator {
  display: none;
}

/* Mobile-only: show it */
@media (max-width: 768px) {
  .mobile-only-separator {
    display: block;
    margin: 20px 0;
    border-color: rgba(212, 175, 55, 0.35); /* Firestein gold */
  }
}

/* Mobile Header fix */
@media (max-width: 700px) {
    .wp-block-image.alignfull img.wp-image-2662 {
        height: 30vh !important;   /* or 70vh if you want it taller */
        object-fit: cover !important;
        object-position: center !important;
    }
}

/* bullshit theme fix */
/* Fix white text in WordPress editor */
.editor-styles-wrapper {
    color: #000 !important;
    background: #fff !important;
    font-family: inherit !important;
}


/* ============================================================
   16. Editor
   ============================================================ */

/* Fix white text + weird font in the WordPress editor */
.editor-styles-wrapper {
    color: #000 !important;              /* normal black text */
    background-color: #fff !important;   /* white editor background */
    font-family: inherit !important;     /* use your theme's real font */
}

/* Fix paragraph blocks */
.editor-styles-wrapper p {
    color: #000 !important;
}

/* Fix headings */
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6 {
    color: #000 !important;
    font-family: inherit !important;
}

/* Fix list items */
.editor-styles-wrapper li {
    color: #000 !important;
}

/* Fix link color in editor */
.editor-styles-wrapper a {
    color: #0066cc !important; /* or whatever you prefer */
}
