/*
Theme Name: Chelen
Template: hello-elementor
Version: 1.0
*/

/* =========================
   GLOBAL
========================= */
.tickera-single-event {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* =========================
   EVENT LAYOUT
========================= */
.event-container {
  display: flex;
  gap: 40px;
}

.event-content {
  flex: 1;
}

.event-sidebar {
  width: 400px;
  position: sticky;
  top: 40px;
  align-self: flex-start;
  padding-top: 10px;
}

/* =========================
   COVER (ZOOM + GLASS)
========================= */
.event-cover {
  position: relative;
  text-align: center;
  min-height: 400px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.event-cover::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: inherit;
  transform: scale(1.4);
  filter: blur(40px) brightness(0.6);
}

.event-cover img {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
	.event-cover {
		min-width: unset;
	}
	.event-cover img {
	  width: 100%;
	}
}

/* =========================
   TEXT
========================= */
.event-content h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-description {
  margin-top: 20px;
}

/* =========================
   BUTTON
========================= */
.tc-btn-main {
  width: 100%;
  padding: 16px;
  font-size: 18px;
  font-weight: 700;
  background-color: var(--e-global-color-a24330e) !important;
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
}

.tc-btn-main.is-disabled {
  background: #555;
  color: #aaa;
  cursor: not-allowed;
}

/* =========================
   MODAL
========================= */
.tc-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.tc-modal.active {
  display: block;
}

.tc-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

.tc-modal-content {
  position: relative;
  margin: 5vh auto;
  width: 90%;
  max-width: 1000px;
  height: 80vh;

  display: grid;
  grid-template-columns: 1fr 350px;
  grid-template-rows: auto 1fr auto;

  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.tc-modal-header {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.tc-modal-header h2 {
	color: black !important;
}

.tc-modal-close {
  background-color: unset !important;
  border: none !important;
  font-size: 24px;
  cursor: pointer;
  color: black !important;
}

.tc-ticket-card {
	color: black !important;
	border: 1px solid grey;
}

.tc-modal-body {
  overflow-y: auto;
  padding: 20px;
  background: #fafafa;
}

.tc-modal-summary {
  background: #f5f5f5;
  border-left: 1px solid #eee;
  display: flex;
  flex-direction: column;
  color: black;
}

.tc-modal-summary h3 {
	color: black !important;
}

.tc-summary-image img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.tc-summary-content {
  padding: 20px;
  flex: 1;
}

.tc-summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.tc-summary-total {
  font-weight: bold;
  margin-top: 10px;
}

.tc-modal-footer {
  grid-column: 1 / -1;
  padding: 15px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
}

.tc-checkout-btn {
  background: #d84315;
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 6px;
  cursor: pointer;
}

/* =========================
   CLICKABLE FIX
========================= */
.tickera-card-link {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: block;
}

/* =========================
   EVENT LIST (CARDS)
========================= */
.tickera-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tickera-row-card {
  position: relative;
  display: flex;
  gap: 20px;

  border-radius: 16px;
  border: 1px solid white;
  overflow: hidden;

  transition: 0.2s;
}

.tickera-row-card:hover {
  transform: translateY(-3px);
  border-color: #d4b355;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  cursor: pointer;
}

/* IMAGE */
.tickera-img {
  width: 250px;
  flex-shrink: 0;
}

.tickera-img img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

/* CONTENT */
.tickera-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

/* META */
.tickera-meta {
  display: flex;
  gap: 20px;
}

.tickera-date {
  display: flex;
  flex-direction: column;
  text-align: center;
  min-width: 60px;
}

.tickera-date .month {
  font-size: 14px;
  text-transform: uppercase;
  color: white;
}

.tickera-date .day {
  font-size: 28px;
  font-weight: bold;
  color: white;
}

.tickera-date .time {
  font-size: 12px;
  color: #ccc;
}

.tickera-info {
  flex: 1;
  border-left: 1px solid white;
  padding-left: 20px;
}

/* =========================
   HERO VERTICAL
========================= */
.tickera-hero-vertical {
  display: flex;
  flex-direction: column;

  max-width: 700px;
  margin: 0 auto;

  border-radius: 16px;
  border: 1px solid white;
  overflow: hidden;
  transition: 0.2s;
}

/* FIX FULL WIDTH IMAGE */
.tickera-hero-vertical .tickera-img {
  width: 100%;
}

.tickera-hero-vertical .tickera-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.tickera-hero-vertical .tickera-content {
  padding: 25px;
}

.tickera-hero-vertical:hover {
  transform: translateY(-3px);
  border-color: #d4b355;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  cursor: pointer;
}

/* =========================
   MOBILE (FIXED)
========================= */
@media (max-width: 767px) {

  /* =========================
     STACK CARDS (IMAGE TOP)
  ========================= */
  .tickera-row-card,
  .tickera-hero-vertical {
    flex-direction: column !important;
  }

  /* =========================
     IMAGE FULL WIDTH
  ========================= */
  .tickera-img,
  .tickera-hero-vertical .tickera-img {
    width: 100%;
    min-width: 100%;
  }

  .tickera-img img,
  .tickera-hero-vertical .tickera-img img {
    width: 100%;
    height: auto;
    object-fit: contain; /* prevents cropping */
    display: block;
  }

  /* =========================
     CONTENT
  ========================= */
  .tickera-content,
  .tickera-hero-vertical .tickera-content {
    padding: 15px;
  }

  /* =========================
     META CLEAN
  ========================= */
  .tickera-meta {
    flex-direction: column;
    gap: 10px;
  }

  .tickera-info {
    border-left: none;
    padding-left: 0;
  }

  /* =========================
     DATE
  ========================= */
  .tickera-date {
    flex-direction: row;
    gap: 6px;
    align-items: center;
  }

  .tickera-date .day {
    font-size: 18px;
  }

  .tickera-date .month {
    font-size: 12px;
  }

  .tickera-date .time {
    font-size: 11px;
  }
}

/* =========================
   MOBILE SIDEBAR
========================= */
@media (max-width: 900px) {

  .event-container {
    flex-direction: column;
  }

  .event-sidebar {
    position: fixed;
	top: unset;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #111;
    padding: 10px;
    z-index: 999;
  }
}

/* =========================
   SCROLL LOCK
========================= */
body.no-scroll {
  overflow: hidden;
}