/* ========== 📦 Reusable Layout Rules ========== */

.calendar {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

@media (max-width: 768px) {
  .calendar {
    display: block;       /* ✅ allow normal flow */
    height: auto;         /* ✅ let it grow */
  }
}

/* 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;        /* ✅ makes corners always rounded */
}

/* Inner scrollable and padded content */
.content-inner {
  height: 90%;            /* ✅ let it grow like contact */
  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;
  }
}

/* ========== 🎤 Gigs Section (Shared: EPK + Calendar) ========== */

.gig-rows {
  list-style: none;
  padding: 0;
  /* margin: 20px 0; */
}

.gig-rows li {
  margin: 10px 0;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 8px;
}

/* Next Event highlight */
.gig-rows li.featured {
  border: 2px solid #9e42f5;
  border-radius: 8px;
  padding: 12px;
  background: rgba(158, 66, 245, 0.3);
}

/* Month labels (full-width bar like EPK) */
li.gig-month {
  display: inline-block;
  background: #9e42f5;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 4px 12px;
  margin: 1.5em 0 0.8em;
  text-align: left;
  width: 100%;             /* ✅ full width bar */
  box-sizing: border-box;
}

.gig-main {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  flex: 1;
}

.gig-day {
  display: inline-block;
  min-width: 65px;
  text-align: left;
  font-weight: 600;
  color: #fff;
}

.gig-location,
.gig-type {
  color: #aaa;
  font-size: 0.85rem;
}

.gig-title {
  margin-top: 4px;   /* adjust spacing */
  font-size: 0.95rem;
  color: #fff;       /* keep consistent with your style */
  font-weight: 500;
}

.gig-djs {
  margin-top: 5px;
}

.gig-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gig-links a {
  color: #fff;
  font-size: 1rem;
  filter: brightness(0) invert(1);
  transition: filter 0.2s ease;
}

.gig-links a:hover {
  filter: brightness(0) saturate(100%) invert(34%) sepia(82%) saturate(747%) hue-rotate(237deg) brightness(92%) contrast(98%);
}

.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;
  pointer-events: none;
}

.gig-btn:hover {
  /* background-color: rgba(128, 128, 128, 0.3); */
  color: #9e42f5;
}

.links-label {
  font-weight: 600;
  margin-right: 4px;
  color: #aaa;
}

@media (min-width: 768px) {
  .gig-rows li {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .gig-links .links-label {
    display: none;
  }
}

@media (max-width: 768px) {
  .gig-rows li {
    flex-direction: column;
    align-items: flex-start;
  }
  .gig-links {
    justify-content: flex-start;
  }
  .gig-links .links-label {
    display: inline;
    font-weight: 600;
    margin-right: 18px;
    color: #ccc;
  }
}

.icon-ra {
  width: 24px;
  display: inline-block;
}

.gig-links a img.icon-ra {
  filter: brightness(0) invert(1);
  transition: filter 0.2s ease;
}

.gig-links a:hover img.icon-ra {
  filter: brightness(0) saturate(100%) invert(34%) sepia(82%) saturate(747%) hue-rotate(237deg) brightness(92%) contrast(98%);
}
