/* ================================
   Dragon’s Gate Gaming
   Events Calendar – Global Glass System
   Month view + Single event + Series
================================ */

/* ----------------
   Month View: Rounded Frosted Calendar
------------------ */

/* Whole month calendar grid */
.tribe-events-calendar-month {
  background: rgba(12, 10, 16, 0.26) !important;
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* Weekday header row */
.tribe-events-calendar-month__header,
.tribe-events-calendar-month__header-row,
.tribe-events-calendar-month__header-column {
  background: rgba(255, 255, 255, 0.07) !important;
}

/* Centre and enlarge weekday header text */
.tribe-events-calendar-month__header-column {
  text-align: center !important;
  padding: 14px 6px !important;
}

.tribe-events-calendar-month__header-column-title {
  display: block !important;
  width: 100% !important;
  color: rgba(255, 255, 255, 0.96) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em;
  text-align: center !important;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

/* Day cells: more transparent so the glass effect shows */
.tribe-events-calendar-month__body,
.tribe-events-calendar-month__week,
.tribe-events-calendar-month__day,
.tribe-events-calendar-month__day-cell {
  background: rgba(255, 255, 255, 0.035) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

/* Soft inner glow per cell */
.tribe-events-calendar-month__day-cell {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

/* Slight hover glow */
.tribe-events-calendar-month__day:hover,
.tribe-events-calendar-month__day-cell:hover {
  background: rgba(255, 255, 255, 0.10) !important;
}

/* Day numbers */
.tribe-events-calendar-month__day-date,
.tribe-events-calendar-month__day-date-link {
  color: #f7f0ff !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

/* Event time inside month cells */
.tribe-events-calendar-month__calendar-event-datetime {
  color: rgba(255, 255, 255, 0.86) !important;
  font-weight: 600 !important;
}

/* Event titles */
.tribe-events-calendar-month__calendar-event-title-link {
  color: #d66cff !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
}

.tribe-events-calendar-month__calendar-event-title-link:hover {
  color: #f0c8ff !important;
}

/* Month view series icons */
.tribe-events-calendar-month svg,
.tribe-events-calendar-month svg * {
  color: #d8c6ff !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}


/* Keep the little series icon visible */
.tribe-events-calendar-month svg,
.tribe-events-calendar-month svg * {
  color: #d8c6ff !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}
/* ================================
   Events Calendar - Top Bar Fix
   Arrows, Today button, Date Heading
================================ */

/* Date heading: Now - May 23 / May 2026 */
.tribe-events-c-top-bar__datepicker,
.tribe-events-c-top-bar__datepicker *,
.tribe-events-c-top-bar__datepicker-button,
.tribe-events-c-top-bar__datepicker-button *,
.tribe-events-c-top-bar__datepicker-time,
.tribe-events-c-top-bar__datepicker-time *,
.tribe-events-c-top-bar__datepicker-desktop {
  color: #f7f0ff !important;
}

/* Previous / next arrow buttons */
.tribe-events-c-top-bar__nav,
.tribe-events-c-top-bar__nav *,
.tribe-events-c-top-bar__nav-list,
.tribe-events-c-top-bar__nav-list *,
.tribe-events-c-top-bar__nav-link,
.tribe-events-c-top-bar__nav-link *,
.tribe-events-c-top-bar__nav-link-icon-svg,
.tribe-events-c-top-bar__nav-link-icon-svg * {
  color: #d8c6ff !important;
  fill: #d8c6ff !important;
  stroke: #d8c6ff !important;
}

/* Make arrows brighter on hover */
.tribe-events-c-top-bar__nav-link:hover,
.tribe-events-c-top-bar__nav-link:hover *,
.tribe-events-c-top-bar__nav-link:hover svg,
.tribe-events-c-top-bar__nav-link:hover svg * {
  color: #efc4ff !important;
  fill: #efc4ff !important;
  stroke: #efc4ff !important;
}

/* Today / This Month button */
.tribe-events-c-top-bar__today-button {
  color: #ffffff !important;
  background-color: #8d3fb3 !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

.tribe-events-c-top-bar__today-button:hover {
  color: #ffffff !important;
  background-color: #a653d1 !important;
}
/* ================================
   Events Calendar - List View Text Fix
   Fixes date tags, event titles, series, venue, category
================================ */

/* Left date block in list view */
.tribe-events-calendar-list__event-date-tag,
.tribe-events-calendar-list__event-date-tag *,
.tribe-events-calendar-list__event-date-tag-weekday,
.tribe-events-calendar-list__event-date-tag-daynum {
  color: #f7f0ff !important;
}

/* Month separator */
.tribe-events-calendar-list__month-separator,
.tribe-events-calendar-list__month-separator *,
.tribe-events-calendar-list__month-separator-text {
  color: #ffffff !important;
}

/* List view event title */
.tribe-events-calendar-list__event-title,
.tribe-events-calendar-list__event-title *,
.tribe-events-calendar-list__event-title-link {
  color: #c85cff !important;
}

/* List view date/time */
.tribe-events-calendar-list__event-datetime-wrapper,
.tribe-events-calendar-list__event-datetime,
.tribe-events-calendar-list__event-datetime * {
  color: #f7f0ff !important;
}

/* List view venue/address */
.tribe-events-calendar-list__event-venue,
.tribe-events-calendar-list__event-venue *,
.tribe-events-calendar-list__event-venue-title,
.tribe-events-calendar-list__event-venue-address {
  color: #f7f0ff !important;
}

/* List view description */
.tribe-events-calendar-list__event-description,
.tribe-events-calendar-list__event-description *,
.tribe-events-calendar-list__event-description p {
  color: #f7f0ff !important;
}

/* List view series marker */
.tribe-events-calendar-list__event-header 
.tribe-events-calendar-series-archive__container,
.tribe-events-calendar-list__event-header 
.tribe-events-calendar-series-archive__container *,
.tribe-events-calendar-list__event-header 
.tec_series_marker__title {
  color: #d8c6ff !important;
}

/* List view category pill/text */
.tribe-events-calendar-list__event-categories,
.tribe-events-calendar-list__event-categories *,
.tribe-events-calendar-list__event-category,
.tribe-events-calendar-list__event-category *,
.tec-events-calendar-list__event-categories,
.tec-events-calendar-list__event-categories *,
.tec-events-calendar-list__category,
.tec-events-calendar-list__category * {
  color: #f7f0ff !important;
  border-color: #f7f0ff !important;
}

/* Icons in list view */
.tribe-events-calendar-list svg,
.tribe-events-calendar-list svg * {
  color: #d8c6ff !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}
/* ----------------
   Global Glass Panel
   Applied to all TEC views that use .tribe-events-view
------------------ */

.tribe-events-view {
  position: relative !important;
  z-index: 0;
  padding: 2px !important;
}

.tribe-events-view::before {
  content: "";
  position: absolute;
  inset: 0;

  /* This is the single-event glass recipe */
  background: rgba(10, 10, 14, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);

  z-index: -1;
}

.tribe-events-view > * {
  position: relative;
  z-index: 1;
}

/* ----------------
   Mobile Month Tap Panel
------------------ */

@media (max-width: 767px) {
  .tribe-events-calendar-month-mobile-events {
    background: rgba(10, 10, 14, 0.88) !important;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    padding: 14px;
    margin-top: 12px;
  }

  .tribe-events-calendar-month-mobile-events,
  .tribe-events-calendar-month-mobile-events * {
    color: rgba(255, 255, 255, 0.92) !important;
  }

  .tribe-events-calendar-month-mobile-events__event-title-link {
    color: rgba(210, 160, 255, 0.98) !important;
    font-weight: 700;
    line-height: 1.25;
  }
}

/* ----------------
   Remove Theme White Panel
   Single events and Series pages
------------------ */

.single-tribe_events .content_wrap,
.single-tribe_events .content_wrap .content,
.single-tribe_events .content_wrap .content > *,

body.single-tribe_event_series .content_wrap,
body.single-tribe_event_series .content_wrap .content,
body.single-tribe_event_series .content_wrap .content > *,

/* ThemeRex wrapper sometimes holds the white slab */
body.single-tribe_event_series .page_content_wrap,
.single-tribe_events .page_content_wrap {
  background: transparent !important;
  box-shadow: none !important;
}

/* ----------------
   Series pages: force EXACT same glass as single event
   (no lighter override)
------------------ */

body.single-tribe_event_series .tribe-events-view::before {
  /* Force the same values as the base glass */
  background: rgba(10, 10, 14, 0.45) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;

  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45) !important;
}

/* ================================
   FORCE MATCH: Series and Single Event Glass
   (works even if wrapper differs)
================================ */

/* 1) Kill ThemeRex background/overlay that changes how glass looks on series pages */
body.single-tribe_event_series.custom-background .page_content_wrap,
body.single-tribe_event_series.custom-background .page_content_wrap::before,
body.single-tribe_event_series.custom-background .page_wrap::before,
body.single-tribe_event_series.custom-background .content_wrap::before {
  background: transparent !important;
  box-shadow: none !important;
  content: none !important;
}

/* 2) Apply the SAME glass recipe to BOTH wrappers TEC might use */
body.single-tribe_event_series .tribe-events-view::before,
body.single-tribe_event_series #tribe-events-content::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;

  background: rgba(10, 10, 14, 0.45) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;

  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 18px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45) !important;

  z-index: -1 !important;
}

/* 3) Ensure the wrapper is positioned so ::before can actually show */
body.single-tribe_event_series .tribe-events-view,
body.single-tribe_event_series #tribe-events-content {
  position: relative !important;
  z-index: 0 !important;
}

/* 4) Keep content above the glass */
body.single-tribe_event_series .tribe-events-view > *,
body.single-tribe_event_series #tribe-events-content > * {
  position: relative !important;
  z-index: 1 !important;
}

/* ================================
   Dragon's Gate Gaming
   Event Width Fix
   Single Event + Series
================================ */

/* Widen the main theme wrappers */
.single-tribe_events .page_content_wrap,
.single-tribe_events .content_wrap,
.single-tribe_events .content,
.single-tribe_events .site_content,
.single-tribe_events .sc_layouts_content,
.single-tribe_events #primary,

body.single-tribe_event_series .page_content_wrap,
body.single-tribe_event_series .content_wrap,
body.single-tribe_event_series .content,
body.single-tribe_event_series .site_content,
body.single-tribe_event_series .sc_layouts_content,
body.single-tribe_event_series #primary {
  width: 100% !important;
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}

/* Widen The Events Calendar containers */
.single-tribe_events #tribe-events-pg-template,
.single-tribe_events #tribe-events-content,
.single-tribe_events .tribe-common-l-container,
.single-tribe_events .tribe-events-view,

body.single-tribe_event_series #tribe-events-pg-template,
body.single-tribe_event_series #tribe-events-content,
body.single-tribe_event_series .tribe-common-l-container,
body.single-tribe_event_series .tribe-events-view {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
  box-sizing: border-box !important;
}



/* ================================
   Dragon's Gate Gaming
   Remove top gap above single event / series
================================ */

.single-tribe_events .page_content_wrap,
.single-tribe_events .content_wrap,
.single-tribe_events .content,
.single-tribe_events #tribe-events-pg-template,
.single-tribe_events #tribe-events-content,
.single-tribe_events .tribe-events-view,

body.single-tribe_event_series .page_content_wrap,
body.single-tribe_event_series .content_wrap,
body.single-tribe_event_series .content,
body.single-tribe_event_series #tribe-events-pg-template,
body.single-tribe_event_series #tribe-events-content,
body.single-tribe_event_series .tribe-events-view {
  margin-top: 0 !important;
  padding-top: 15px !important;
}

/* Elementor event image widescreen fix */
.single-tribe_events img.elementor-image {
  display: block !important;
  width: 100% !important;
  max-width: 1280px !important;
  height: auto !important;
  margin: 24px auto 32px auto !important;
  position: static !important;
  clear: both !important;
  float: none !important;
}

.single-tribe_events .elementor-widget-image,
.single-tribe_events .elementor-widget-container {
  overflow: visible !important;
  position: relative !important;
}

.single-tribe_events .elementor-widget-theme-post-content,
.single-tribe_events .tribe-events-single-event-description {
  clear: both !important;
  position: relative !important;
  display: block !important;
}

/* =========================================
   Dragon's Gate Reusable Glass Panel
========================================= */

.glass-panel{
    background: rgba(10,10,14,.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;

    box-shadow: 0 16px 40px rgba(0,0,0,.45);

    padding:40px;
    overflow:hidden;
}

/* =========================================
   Room Booking Page
   Remove Flexify / ThemeREX white wrapper
   Page ID: 1063
========================================= */

body.page-id-1063 .page_content_wrap,
body.page-id-1063 .content_wrap,
body.page-id-1063 .content,
body.page-id-1063 article.post_item_single,
body.page-id-1063 .post_content,
body.page-id-1063 .entry-content,
body.page-id-1063 .elementor {
    background: transparent !important;
    box-shadow: none !important;
}

/* Remove extra theme spacing around the Elementor page */
body.page-id-1063 .page_content_wrap {
    padding-top: 30px !important;
    padding-bottom: 50px !important;
}

body.page-id-1063 .content_wrap,
body.page-id-1063 .content {
    width: 100% !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}