/* ========== 📦 Reusable Layout Rules ========== */

.home {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

@media (max-width: 768px) {
  .home {
    display: block;       /* ✅ allow normal flow */
    height: auto;         /* ✅ let it grow */
  }
}

@media (max-width: 768px) {
  .site-content,
  #main {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Outer box (desktop only) */
.content-wrapper {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  max-width: 800px;
  width: 100%;
  height: 100%;
  display: flex;
  box-sizing: border-box;
  overflow: hidden;
}

/* Inner scrollable and padded content */
.content-inner {
  height: 90%;
  width: 90%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  overflow-y: auto;

  scrollbar-width: none;
  -ms-overflow-style: none;
}
.content-inner::-webkit-scrollbar {
  display: none;
}

/* Typography */
.content-inner h2 {
  font-size: 26px;
  font-weight: 600;
  text-align: center;
  color: white;
}

.content-inner p {
  color: #eaeaea;
  text-align: center;
  margin-bottom: 0;
}

/* 🔽 MOBILE LAYOUT ADJUSTMENTS */
@media (max-width: 768px) {
  .bg-overlay {
    display: block;
  }

  .content-wrapper {
    height: auto !important;
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .content-inner {
    width: 100% !important;
    height: auto !important;
    overflow-y: visible !important;
  }
}

@media (max-width: 480px) {
  .content-inner {
    /* padding: 15px !important; */
  }
}

/* ========== 🎵 Page-Specific: Home Blocks ========== */

.music-block {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 25px;
  text-align: center;
}

.music-block h3 {
  color: #fff;
  margin-bottom: 12px; /* breathing space */
  text-align: center;
}

.music-block p {
  color: #ccc;
  font-size: 0.95rem;
  margin: 6px 0;        /* even vertical rhythm */
  line-height: 1.4;
}

/* ===== Home: Venue pill (same look as EPK) ===== */
.home .music-block a.gig-btn,
.home .music-block .gig-btn {
  /* padding: 2px 12px; */
  font-size: 0.85rem;
  /* background: rgba(128, 128, 128, 0.3); */
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  display: inline-block;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.1;
  margin-right: 6px;
  margin-bottom: 5px;
  pointer-events: none;
}

.home .music-block a.gig-btn:hover,
.home .music-block a.gig-btn:focus-visible {
  color: #9e42f5;
  /* background: rgba(128, 128, 128, 0.3); */
  text-decoration: none;
}

.home .music-block a.gig-btn:active {
  transform: translateY(1px);
}

/* Location next to the pill */
.home .music-block .gig-location {
  display: inline-block;
  margin-top: 2px;
  color: #aaa;
  font-size: 0.9rem;
}

/* Date line always its own row */
.home .music-block strong {
  display: block;
  margin-bottom: 6px;
}

/* ===== Upload & Spotlight consistency ===== */
.home .music-block .upload-title,
.home .music-block .highlight-title {
  margin: 0 0 6px;
}

.home .music-block .upload-date,
.home .music-block .highlight-meta {
  margin: 0 0 6px;
  color: #aaa;
  font-size: 0.9rem;
}

.home .music-block .upload-link,
.home .music-block .highlight-link {
  margin-top: 8px;
}

/* ========== 🌟 Universal Button (for Home + EPK consistency) ========== */
.btn {
  padding: 12px 20px;
  font-size: 1rem;
  background-color: #9e42f5;
  color: white !important;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  display: inline-block;
  text-align: center;
  font-weight: 600;
  text-decoration: none; /* kill underline always */
}

.btn:hover,
.btn:focus-visible {
  background-color: #7d2fd1;
  text-decoration: none;
}

/* ========== 🎟 Linktree-style Gig Card ========== */
.gig-card {
  display: flex;
  flex-direction: column;  /* stack body + footer bar */
  gap: 10px;
  text-align: left;
}

.gig-body {
  display: flex;
  align-items: center;
  gap: 15px;
}

.gig-thumb {
  width: 100px;       /* control container size */
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
}

.gig-thumb img {
  width: 80%;        /* scale inside container */
  height: auto;      /* keep aspect ratio */
  padding: 0;        /* remove forced padding */
  background: none;  /* no background on the SVG itself */
}


.gig-details {
  flex: 1;
  text-align: left;
}
.gig-details p {
  margin: 4px 0;
  font-size: 0.95rem;
  color: #ccc;
  text-align: left;
}

/* ===== Gig Action Bar ===== */
.gig-bar {
  margin-top: 12px;
  width: 100%;
}

.gig-bar a.btn-outline {
  display: block;              /* full width */
  width: 100%;
  padding: 12px;
  text-align: center;
  border: 2px solid #fff;
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;      /* keep padding inside width */
}

.gig-bar a.btn-outline:hover {
  background: #9e42f5;
  border-color: #9e42f5;
}


/* 📱 Mobile adjustments */
@media (max-width: 768px) {
  .gig-thumb {
    flex: 0 0 80px;
    height: 80px;
  }

  .gig-bar {
    display: block;
    width: 100%;                /* ✅ fit the card width */
    margin-top: 5px;           /* spacing from content */
    padding: 0;
    background: rgba(255,255,255,0.06);
    border-top: 1px solid rgba(255,255,255,0.15);
    border-radius: 0 0 10px 10px;
  }

  .gig-bar .btn-outline {
    display: block;
    width: 100%;                /* ✅ full width inside */
    padding: 10px 0;
    margin: 0;                  /* ✅ no extra offset */
    border: 2px solid #fff;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: border-color .2s, color .2s;
  }
  
  .gig-bar .btn-outline:hover {
    border-color: #9e42f5;
  }
}

/* Default: desktop shows, mobile hidden */
.music-block .gig-date-mobile { display: none !important; }
.music-block .gig-date-desktop { display: inline !important; }

/* Mobile override */
@media (max-width: 768px) {
  .music-block .gig-date-mobile { display: inline !important; }
  .music-block .gig-date-desktop { display: none !important; }
}

.music-block .upload-thumb{
  width:60px;height:60px;object-fit:cover;
  border-radius:8px;background:rgba(255,255,255,.05);
  padding:4px;margin-right:10px;margin-bottom:8px;display:inline-block;
}
@media (max-width:768px){ .music-block .upload-thumb{ width:56px;height:56px; } }
