/* TR Events – front end */
.tre-wrap {
	--tre-navy: #1c1559;
	--tre-navy-2: #2a2180;
	--tre-gold: #f2c46d;
	--tre-gold-2: #e0a93f;
	--tre-ink: #1d1b2e;
	--tre-muted: #626078;
	--tre-line: #e8e6f2;
	--tre-bg: #f7f6fc;
	--tre-radius: 18px;
	font-family: "Poppins", "Hind Siliguri", system-ui, sans-serif;
	color: var(--tre-ink);
	line-height: 1.6;
}
.tre-wrap *, .tre-wrap *::before, .tre-wrap *::after { box-sizing: border-box; }
.tre-wrap a { text-decoration: none; }
.tre-ico { width: 1.05em; height: 1.05em; flex: none; vertical-align: -0.15em; }
.tre-archive, .tre-single { background: var(--tre-bg); padding-bottom: 72px; }
.tre-section { max-width: 1180px; margin: 0 auto; padding: 56px 20px 0; }

/* Hero */
.tre-hero {
	background: radial-gradient(1200px 400px at 85% -10%, rgba(242,196,109,.28), transparent 60%),
	            radial-gradient(800px 380px at 0% 110%, rgba(120,100,255,.35), transparent 60%),
	            linear-gradient(135deg, var(--tre-navy), var(--tre-navy-2));
	color: #fff; text-align: center; padding: 88px 20px 72px; position: relative; overflow: hidden;
}
.tre-hero-in { max-width: 760px; margin: 0 auto; position: relative; }
.tre-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
	font-size: 13px; font-weight: 500; letter-spacing: .02em;
	background: rgba(242,196,109,.14); color: var(--tre-gold-2); border: 1px solid rgba(242,196,109,.35);
}
.tre-hero .tre-eyebrow { color: var(--tre-gold); }
.tre-hero-title, .tre-ehero-title, .tre-sec-head h2, .tre-cta h2, .tre-h2 {
	font-family: "Playfair Display", Georgia, serif; font-weight: 700; letter-spacing: -.01em; line-height: 1.15;
}
.tre-hero-title { font-size: clamp(36px, 6vw, 60px); margin: 18px 0 14px; color: #fff; }
.tre-hero-title::after { content: ""; display: block; width: 72px; height: 4px; margin: 18px auto 0; border-radius: 4px; background: var(--tre-gold); }
.tre-hero-sub { font-size: 17px; color: rgba(255,255,255,.82); margin: 0 auto; max-width: 600px; }
.tre-stats { display: inline-flex; gap: 0; margin-top: 34px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; backdrop-filter: blur(6px); }
.tre-stats div { padding: 14px 28px; display: flex; flex-direction: column; align-items: center; }
.tre-stats div + div { border-left: 1px solid rgba(255,255,255,.14); }
.tre-stats b { font-size: 26px; font-weight: 600; color: var(--tre-gold); line-height: 1.2; }
.tre-stats span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.7); }

/* Tabs */
.tre-tabs { display: flex; gap: 6px; justify-content: center; margin: 0 auto 36px; padding: 6px; width: max-content; max-width: 100%; background: #fff; border: 1px solid var(--tre-line); border-radius: 999px; box-shadow: 0 6px 20px rgba(28,21,89,.06); }
.tre-tab { appearance: none; border: 0; background: transparent; cursor: pointer; padding: 10px 22px; border-radius: 999px; font: 500 15px/1 "Poppins", sans-serif; color: var(--tre-muted); display: inline-flex; gap: 8px; align-items: center; transition: background .2s, color .2s; }
.tre-tab span { font-size: 12px; background: var(--tre-bg); color: var(--tre-muted); padding: 3px 8px; border-radius: 999px; }
.tre-tab:hover { color: var(--tre-navy); }
.tre-tab.is-active { background: var(--tre-navy); color: #fff; }
.tre-tab.is-active span { background: var(--tre-gold); color: var(--tre-navy); }

/* Grid + cards */
.tre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.tre-card { background: #fff; border-radius: var(--tre-radius); overflow: hidden; border: 1px solid var(--tre-line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.tre-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(28,21,89,.12); }
.tre-card-media { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--tre-navy), var(--tre-navy-2)); overflow: hidden; }
.tre-card-media img, .tre-card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.tre-card:hover .tre-card-media img { transform: scale(1.05); }
.tre-is-past .tre-card-media img { filter: saturate(.9); }
.tre-card-ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(242,196,109,.6); font-size: 46px; }
.tre-datebadge { position: absolute; left: 14px; top: 14px; background: #fff; color: var(--tre-navy); border-radius: 12px; padding: 6px 10px 5px; text-align: center; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; line-height: 1.1; box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.tre-datebadge b { display: block; font-size: 22px; letter-spacing: 0; font-family: "Playfair Display", serif; }
.tre-card-media .tre-chip { position: absolute; right: 14px; top: 14px; }
.tre-photocount { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; font-weight: 500; }

.tre-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.tre-chip-upcoming { background: var(--tre-gold); color: var(--tre-navy); }
.tre-chip-live { background: #e5383b; color: #fff; }
.tre-chip-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: tre-pulse 1.4s infinite; }
.tre-chip-past { background: rgba(255,255,255,.92); color: var(--tre-navy); }
.tre-chip-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); }
@keyframes tre-pulse { 50% { opacity: .3; } }

.tre-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.tre-mode { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--tre-gold-2); }
.tre-card-title { font-family: "Playfair Display", Georgia, serif; font-size: 22px; line-height: 1.25; margin: 6px 0 8px; font-weight: 700; }
.tre-card-title a { color: var(--tre-ink); }
.tre-card-title a:hover { color: var(--tre-navy-2); }
.tre-card-tag { color: var(--tre-muted); font-size: 14.5px; margin: 0 0 14px; }
.tre-meta { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--tre-muted); }
.tre-meta li { display: flex; align-items: center; gap: 8px; }
.tre-meta .tre-ico { color: var(--tre-navy-2); }
.tre-card-foot { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--tre-line); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tre-price { font-weight: 600; color: var(--tre-navy); }
.tre-foot-note { font-size: 13.5px; color: var(--tre-muted); }
.tre-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--tre-navy-2); }
.tre-link .tre-ico { transition: transform .2s; }
.tre-link:hover .tre-ico { transform: translateX(3px); }

/* Empty */
.tre-empty { text-align: center; padding: 56px 20px; background: #fff; border: 1px dashed #d6d3e8; border-radius: var(--tre-radius); color: var(--tre-muted); }
.tre-empty > .tre-ico { width: 44px; height: 44px; color: var(--tre-gold-2); }
.tre-empty h3 { margin: 12px 0 6px; color: var(--tre-ink); font-size: 20px; }
.tre-empty p { margin: 0; }
.tre-empty-sm { padding: 36px 20px; }
.tre-empty-sm p { margin-top: 10px; }

/* Section heads */
.tre-sec-head { text-align: center; margin-bottom: 30px; }
.tre-sec-head h2 { font-size: clamp(28px, 4vw, 38px); margin: 12px 0 0; color: var(--tre-ink); }
.tre-sec-head h2 small { font-family: "Poppins", sans-serif; font-size: .5em; color: var(--tre-muted); font-weight: 500; }

/* Gallery */
.tre-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 12px; }
.tre-gitem { position: relative; display: block; border-radius: 14px; overflow: hidden; background: #e9e7f3; cursor: zoom-in; }
.tre-gitem img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s; }
.tre-gitem::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,21,89,.35), transparent 50%); opacity: 0; transition: opacity .3s; }
.tre-gitem:hover img { transform: scale(1.06); }
.tre-gitem:hover::after { opacity: 1; }
.tre-gwide { grid-column: span 2; grid-row: span 2; }

/* CTA */
.tre-cta { max-width: 1140px; margin: 64px auto 0; padding: 48px 24px; text-align: center; border-radius: 24px; color: #fff; background: linear-gradient(135deg, var(--tre-navy), var(--tre-navy-2)); }
.tre-cta h2 { color: #fff; font-size: clamp(26px, 4vw, 36px); margin: 0 0 8px; }
.tre-cta p { color: rgba(255,255,255,.8); margin: 0 0 24px; }
@media (max-width: 1180px) { .tre-cta { margin-left: 20px; margin-right: 20px; } }

/* Buttons */
.tre-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15.5px; background: var(--tre-gold); color: var(--tre-navy) !important; border: 2px solid var(--tre-gold); transition: transform .2s, box-shadow .2s, background .2s; }
.tre-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(242,196,109,.4); background: #f6d088; }
.tre-btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.45); }
.tre-btn-ghost:hover { background: rgba(255,255,255,.1); box-shadow: none; }
.tre-btn-block { width: 100%; margin-top: 18px; }

/* Single – hero */
.tre-ehero { position: relative; color: #fff; padding: 40px 20px 64px; background: linear-gradient(135deg, var(--tre-navy), var(--tre-navy-2)); overflow: hidden; }
.tre-ehero::before { content: ""; position: absolute; inset: 0; background-image: var(--tre-cover, none); background-size: cover; background-position: center; opacity: .35; }
.tre-ehero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,21,89,.55), rgba(28,21,89,.92)); }
.tre-ehero-in { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; }
.tre-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.8) !important; margin-bottom: 40px; }
.tre-back:hover { color: var(--tre-gold) !important; }
.tre-ehero-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.tre-ehero-title { font-size: clamp(34px, 5.5vw, 58px); margin: 16px 0 10px; color: #fff; max-width: 880px; }
.tre-ehero-sub { font-size: 18px; color: rgba(255,255,255,.82); margin: 0 0 22px; max-width: 720px; }
.tre-ehero-meta { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; color: rgba(255,255,255,.9); }
.tre-ehero-meta li { display: flex; align-items: center; gap: 8px; }
.tre-ehero-meta .tre-ico { color: var(--tre-gold); }
.tre-countdown { display: flex; gap: 12px; margin-bottom: 30px; flex-wrap: wrap; }
.tre-countdown div { min-width: 84px; padding: 12px 10px; text-align: center; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.tre-countdown b { display: block; font-size: 30px; font-weight: 600; color: var(--tre-gold); line-height: 1.15; font-variant-numeric: tabular-nums; }
.tre-countdown span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.7); }
.tre-livenow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #ffb4b5; margin: 0 0 26px; }
.tre-ehero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Single – body */
.tre-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.tre-body-solo { grid-template-columns: minmax(0, 560px); justify-content: center; }
.tre-body-solo .tre-side { position: static; }
.tre-h2 { font-size: 28px; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; color: var(--tre-ink); }
.tre-content > .tre-h2:not(:first-child) { margin-top: 40px; }
.tre-prose { font-size: 16.5px; color: #3c3a52; }
.tre-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.tre-prose h2, .tre-prose h3 { color: var(--tre-ink); }
.tre-video { position: relative; aspect-ratio: 16/9; border-radius: var(--tre-radius); overflow: hidden; background: #000; }
.tre-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tre-side { position: sticky; top: 100px; }
.tre-infocard { background: #fff; border: 1px solid var(--tre-line); border-radius: var(--tre-radius); padding: 24px; box-shadow: 0 10px 30px rgba(28,21,89,.07); }
.tre-infocard h3 { margin: 0 0 14px; font-size: 18px; color: var(--tre-ink); }
.tre-infocard dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; font-size: 14.5px; }
.tre-infocard dt { display: flex; align-items: center; gap: 8px; color: var(--tre-muted); white-space: nowrap; }
.tre-infocard dt .tre-ico { color: var(--tre-navy-2); }
.tre-infocard dd { margin: 0; font-weight: 500; color: var(--tre-ink); }
.tre-infocard dd a { color: var(--tre-navy-2); font-weight: 500; font-size: 13.5px; }
.tre-ended { margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--tre-bg); font-size: 14px; color: var(--tre-muted); }
.tre-ended a { color: var(--tre-navy-2); font-weight: 600; }

/* Shortcode headings */
.tre-sc-h { font-family: "Playfair Display", serif; font-size: 26px; margin: 0 0 20px; }
.tre-sc .tre-grid + .tre-sc-h { margin-top: 44px; }

/* Lightbox */
.tre-lb { position: fixed; inset: 0; z-index: 99999; background: rgba(10,8,30,.94); display: flex; align-items: center; justify-content: center; }
.tre-lb[hidden] { display: none; }
.tre-lb-fig { margin: 0; max-width: 92vw; max-height: 86vh; text-align: center; }
.tre-lb-fig img { max-width: 92vw; max-height: 80vh; object-fit: contain; border-radius: 8px; display: block; margin: 0 auto; }
.tre-lb-fig figcaption { color: rgba(255,255,255,.8); font-size: 14px; margin-top: 12px; font-family: "Poppins", sans-serif; }
.tre-lb button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; display: grid; place-items: center; padding: 0; transition: background .2s; }
.tre-lb button:hover { background: rgba(242,196,109,.9); color: #1c1559; }
.tre-lb-close { top: 18px; right: 18px; }
.tre-lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.tre-lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.tre-lb-count { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font: 500 14px "Poppins", sans-serif; }
html.tre-noscroll { overflow: hidden; }

/* Override theme (Hello Elementor) default button styles */
.tre-wrap .tre-tabs .tre-tab,
.tre-wrap .tre-tabs .tre-tab:hover,
.tre-wrap .tre-tabs .tre-tab:focus { border: 0; background: transparent; color: var(--tre-muted); box-shadow: none; outline: none; text-transform: none; letter-spacing: 0; }
.tre-wrap .tre-tabs .tre-tab:hover { color: #1c1559; }
.tre-wrap .tre-tabs .tre-tab.is-active,
.tre-wrap .tre-tabs .tre-tab.is-active:hover,
.tre-wrap .tre-tabs .tre-tab.is-active:focus { background: #1c1559; color: #fff; }
.tre-wrap .tre-tabs .tre-tab:focus-visible { outline: 2px solid #f2c46d; outline-offset: 2px; }
.tre-lb .tre-lb-close, .tre-lb .tre-lb-prev, .tre-lb .tre-lb-next { border: 0; background: rgba(255,255,255,.1); color: #fff; }
.tre-lb .tre-lb-close:hover, .tre-lb .tre-lb-prev:hover, .tre-lb .tre-lb-next:hover,
.tre-lb .tre-lb-close:focus, .tre-lb .tre-lb-prev:focus, .tre-lb .tre-lb-next:focus { background: rgba(242,196,109,.9); color: #1c1559; }

/* Responsive */
@media (max-width: 900px) {
	.tre-body { grid-template-columns: 1fr; }
	.tre-side { position: static; }
}
@media (max-width: 640px) {
	.tre-section { padding-top: 40px; }
	.tre-hero { padding: 64px 18px 52px; }
	.tre-stats div { padding: 12px 18px; }
	.tre-grid { grid-template-columns: 1fr; gap: 20px; }
	.tre-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
	.tre-countdown div { min-width: 0; flex: 1; }
	.tre-countdown b { font-size: 24px; }
	.tre-lb-prev, .tre-lb-next { display: none !important; }
	.tre-tab { padding: 10px 16px; font-size: 14px; }
}
