/* =========================================================
   MATX Events Skin (TEC Views v2) – /events
========================================================= */

:root{
  --matx-brown:#5b3a1d;
  --matx-dark:#0e141b;
  --matx-line: rgba(255,255,255,.12);
}

/* Outer shell spacing */
#matx-events-archive{
  padding: 28px 12px;
}

/* Keep it centered like the dashboard */
#matx-events-archive .matx-wrap{
  max-width: 1100px;
  margin: 0 auto;
}

/* Scope to events archive */
body.post-type-archive-tribe_events .tribe-common,
body.post-type-archive-tribe_events .tribe-events{
  color: rgba(255,255,255,.88);
}

/* Container background stays dark/transparent */
body.post-type-archive-tribe_events .tribe-events .tribe-events-l-container{
  background: transparent !important;
}

/* Header/search bar */
body.post-type-archive-tribe_events .tribe-events .tribe-events-header{
  background: rgba(255,255,255,.06) !important;
  border: 1px solid var(--matx-line) !important;
  border-radius: 16px !important;
  padding: 14px !important;
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
  margin-bottom: 16px !important;
}

/* Inputs */
body.post-type-archive-tribe_events .tribe-events input[type="text"],
body.post-type-archive-tribe_events .tribe-events input[type="search"],
body.post-type-archive-tribe_events .tribe-events select{
  background: rgba(0,0,0,.22) !important;
  color: rgba(255,255,255,.92) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 12px !important;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.25);
}

body.post-type-archive-tribe_events .tribe-events input::placeholder{
  color: rgba(255,255,255,.55) !important;
}

/* Buttons */
body.post-type-archive-tribe_events .tribe-events button,
body.post-type-archive-tribe_events .tribe-events .tribe-common-c-btn,
body.post-type-archive-tribe_events .tribe-events .tribe-events-c-search__button{
  background: linear-gradient(145deg, rgba(91,58,29,.95), rgba(91,58,29,.55)) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  color: rgba(255,255,255,.95) !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .02em;
}

/* View tabs (List / Month / Day) */
body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item-link{
  background: rgba(255,255,255,.06) !important;
  border: 1px solid var(--matx-line) !important;
  border-radius: 12px !important;
  color: rgba(255,255,255,.88) !important;
}

body.post-type-archive-tribe_events
.tribe-events-c-view-selector__list-item--active
.tribe-events-c-view-selector__list-item-link{
  background: rgba(91,58,29,.32) !important;
  border-color: rgba(255,255,255,.18) !important;
}

/* Event cards/list rows */
body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event-row,
body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-day__event,
body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-month__calendar-event{
  background: rgba(255,255,255,.06) !important;
  border: 1px solid var(--matx-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 40px rgba(0,0,0,.30);
}

/* Message boxes like "no upcoming events" */
body.post-type-archive-tribe_events .tribe-events .tribe-events-c-messages__message{
  background: rgba(255,255,255,.06) !important;
  border: 1px solid var(--matx-line) !important;
  border-radius: 14px !important;
  color: rgba(255,255,255,.88) !important;
}

/* Mobile polish */
@media (max-width: 520px){
  body.post-type-archive-tribe_events .tribe-events .tribe-events-header{
    padding: 12px !important;
    border-radius: 18px !important;
  }
}
/* Kill default white backgrounds completely */
body.post-type-archive-tribe_events 
.tribe-events-header,
body.post-type-archive-tribe_events 
.tribe-events .tribe-events-view,
body.post-type-archive-tribe_events 
.tribe-common{
  background: transparent !important;
}

/* Wrap header in your glass card look */
body.post-type-archive-tribe_events 
.tribe-events .tribe-events-header{
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 18px !important;
  padding: 18px !important;
}
/* Event title */
body.post-type-archive-tribe_events 
.tribe-events-calendar-list__event-title a{
  color: rgba(255,255,255,.92) !important;
  font-weight: 800 !important;
  letter-spacing: .02em;
}

/* Meta / venue text */
body.post-type-archive-tribe_events 
.tribe-events-calendar-list__event-details,
body.post-type-archive-tribe_events 
.tribe-events-calendar-list__event-venue{
  color: rgba(255,255,255,.70) !important;
}

/* Remove Divi blue links */
body.post-type-archive-tribe_events a{
  color: rgba(255,255,255,.85) !important;
}
body.post-type-archive-tribe_events 
.tribe-events-c-subscribe-dropdown__button{
  background: linear-gradient(145deg, rgba(91,58,29,.95), rgba(91,58,29,.55)) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 12px !important;
  color: #fff !important;
  font-weight: 800 !important;
}
body.post-type-archive-tribe_events 
.tribe-events-calendar-list__event-row{
  padding: 18px !important;
  margin-bottom: 20px !important;
}

