

/******************
MMR MERGED: /wp-content/plugins/todo-today-assets/css/front.css
***************/

:root {
    /* Event Card Variables */
	--tt-card-radius: 10px;
    --tt-card-radius-sm: 5px;
	--tt-card-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	--tt-card-text-color: #000000;
	--tt-card-bg: #fff;
	--tt-card-border: #e5e7eb;
    --tt-card-other-text-color: #212121;
    --tt-font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	/* Lovable Design System */
	--tt-background: #ffffff;
	--tt-foreground: #171717;
	--tt-muted: #f5f5f5;
	--tt-muted-foreground: #737373;
	--tt-border: #e5e5e5;
	--tt-primary: #171717;
	--tt-primary-foreground: #ffffff;
}

body {
    font-family: var(--tt-font-family);
}

.absolute-footer, html {
  background-color: #ffffff !important;
}

/* ============================================================
   HIDE FLATSOME THEME HEADER (all screen sizes)
   The "header header-full-width" element is removed entirely.
   Only the custom tt-desktop-header remains.
   ============================================================ */
#header,
.header-wrapper,
.header-main,
#wide-nav,
.header-full-width,
.html_nav_position_text_top,
[class*="html_nav_position_text"],
.header-top .html-element,
.top-bar .html-element,
.header-inner > .html-element {
	display: none !important;
}

/* ============================================================
   DESKTOP HEADER (Lovable Design) — shown above 800px
   Matches: fixed header, h-[60px], bg-background, border-b border-border
   ============================================================ */

/* Hidden by default (mobile-first) */
.tt-desktop-header {
	display: none;
}

/* Show on desktop (> 800px) */
@media (min-width: 801px) {
	.tt-desktop-header {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		height: 60px;
		background: var(--tt-background, #ffffff);
		border-bottom: 1px solid var(--tt-border, #e5e5e5);
		z-index: 9999;
	}

	.tt-desktop-header__inner {
		height: 100%;
		max-width: 1050px;
		margin: 0 auto;
		padding: 0 24px;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.tt-desktop-header__logo {
		display: flex;
		align-items: center;
		gap: 8px;
		text-decoration: none !important;
	}

	.tt-desktop-header__logo img {
		height: 32px;
		width: auto;
	}

	.tt-desktop-header__nav {
		display: flex;
		align-items: center;
		gap: 4px;
	}

	.tt-desktop-header__nav-item {
		display: flex;
		align-items: center;
		gap: 8px;
		padding: 8px 16px;
		border-radius: .75rem;
		font-size: 14px;
		font-weight: 500;
		color: var(--tt-muted-foreground, #737373);
		text-decoration: none !important;
		transition: all 0.15s ease;
	}

	.tt-desktop-header__nav-item:hover {
		background: var(--tt-muted, #f5f5f5);
		color: var(--tt-foreground, #171717);
	}

	.tt-desktop-header__nav-item--active {
		background: rgba(23, 23, 23, 0.1);
		color: var(--tt-primary, #171717);
	}

	.tt-desktop-header__nav-item--active:hover {
		background: rgba(23, 23, 23, 0.15);
	}

	.tt-desktop-header__nav-item i {
		font-size: 16px;
		width: 16px;
		height: 16px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.tt-desktop-header__nav-icon {
		width: 16px;
		height: 16px;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
	}

	.tt-desktop-header__nav-icon svg {
		width: 16px;
		height: 16px;
		display: block;
	}

	.tt-desktop-header__nav-item--active i {
		font-weight: 900;
	}

	.tt-desktop-header__nav-item--logout {
		color: #dc2626 !important;
	}

	.tt-desktop-header__nav-item--logout:hover {
		background: rgba(220, 38, 38, 0.1);
		color: #b91c1c !important;
	}

	.tt-desktop-header__nav-item--logout i {
		color: inherit;
	}

	/* ── Profile dropdown animations (Lovable: fade + zoom-in-95 + slide-from-top) ── */
	@keyframes tt-dropdown-in {
		from {
			opacity: 0;
			transform: scale(0.95) translateY(-8px);
		}
		to {
			opacity: 1;
			transform: scale(1) translateY(0);
		}
	}

	@keyframes tt-dropdown-out {
		from {
			opacity: 1;
			transform: scale(1) translateY(0);
		}
		to {
			opacity: 0;
			transform: scale(0.95) translateY(-8px);
		}
	}

	/* ── Profile dropdown menu ─────────────────────────────────── */
	.tt-profile-menu {
		position: relative;
		margin-left: 4px;
	}

	.tt-profile-menu__btn {
		width: 36px !important;
		height: 36px !important;
		min-width: 0 !important;
		min-height: unset !important;
		border-radius: 50% !important;
		background: var(--tt-muted, #f5f5f5) !important;
		background-color: var(--tt-muted, #f5f5f5) !important;
		border: none !important;
		outline: none !important;
		box-shadow: none !important;
		cursor: pointer !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		overflow: hidden !important;
		transition: box-shadow 0.15s ease !important;
		padding: 0 !important;
		margin: 0 !important;
		line-height: 1 !important;
		font-size: inherit !important;
		text-transform: none !important;
		letter-spacing: normal !important;
		color: var(--tt-foreground, #171717) !important;
		vertical-align: middle !important;
	}

	.tt-profile-menu__btn:hover {
		background: var(--tt-muted, #f5f5f5) !important;
		background-color: var(--tt-muted, #f5f5f5) !important;
		box-shadow: 0 0 0 2px rgba(23, 23, 23, 0.3) !important;
	}

	.tt-profile-menu__btn:focus {
		outline: none !important;
		box-shadow: 0 0 0 2px rgba(23, 23, 23, 0.3) !important;
	}

	.tt-profile-menu__avatar {
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
	}

	.tt-profile-menu__icon {
		display: flex;
		align-items: center;
		justify-content: center;
		color: var(--tt-foreground, #171717);
		font-size: 16px;
	}

	.tt-profile-menu__icon svg {
		width: 16px;
		height: 16px;
		display: block;
	}

	.tt-profile-menu__dropdown {
		display: none;
		position: absolute !important;
		top: calc(100% + 8px) !important;
		right: 0 !important;
		width: 200px !important;
		background: var(--tt-background, #ffffff) !important;
		border: 1px solid var(--tt-border, #e5e5e5) !important;
		border-radius: 8px !important;
		padding: 4px !important;
		box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
		z-index: 10000 !important;
		list-style: none !important;
		margin: 0 !important;
	}

	.tt-profile-menu__dropdown--open {
		display: block !important;
		animation: tt-dropdown-in 0.15s ease forwards;
		transform-origin: top right;
	}

	.tt-profile-menu__dropdown--closing {
		display: block !important;
		animation: tt-dropdown-out 0.15s ease forwards;
		transform-origin: top right;
	}

	.tt-profile-menu__item {
		display: flex !important;
		align-items: center !important;
		gap: 12px !important;
		width: 100% !important;
		padding: 8px 12px !important;
		border-radius: 6px !important;
		font-size: 14px !important;
		font-weight: 400 !important;
		line-height: 1.4 !important;
		color: var(--tt-foreground, #171717) !important;
		text-decoration: none !important;
		background: transparent !important;
		border: none !important;
		transition: background 0.12s ease !important;
		cursor: pointer !important;
		box-shadow: none !important;
		letter-spacing: normal !important;
		text-transform: none !important;
	}

	.tt-profile-menu__item:hover {
		background: var(--tt-muted, #f5f5f5) !important;
		color: var(--tt-foreground, #171717) !important;
		text-decoration: none !important;
		box-shadow: none !important;
	}

	.tt-profile-menu__item--destructive,
	.tt-profile-menu__item--destructive:visited {
		color: #dc2626 !important;
	}

	.tt-profile-menu__item--destructive:hover {
		background: rgba(220, 38, 38, 0.08) !important;
		color: #b91c1c !important;
	}

	.tt-profile-menu__item-icon {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 16px;
		height: 16px;
		flex-shrink: 0;
		font-size: 16px;
	}

	.tt-profile-menu__item-icon svg {
		width: 16px;
		height: 16px;
		display: block;
	}

	.tt-profile-menu__divider {
		height: 1px;
		background: var(--tt-border, #e5e5e5);
		margin: 4px 0;
	}

	/* Add padding to main content for fixed header */
	#main {
		padding-top: 60px;
	}

	/* WordPress Admin Bar offset */
	body.admin-bar .tt-desktop-header {
		top: 32px;
	}

	/* Normalize first content block spacing */
	#main > .row.row-main.event-listing-row {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}

	#main > .row.row-main.event-listing-row .event_listing_main,
	#main > .row.row-main.event-listing-row .event_sidebar,
	#main > .row.row-main.event-listing-row .event_listing_data {
		margin-top: 0 !important;
	}

  #main > .row.row-main.event-listing-row .event_listing_main,
  .tt-single-event-row .event_listing_main {
    padding-bottom: 0px !important;
  }

  #main > .row.row-main.event-listing-row .event_listing_data,
  .tt-single-event-row .event_listing_data {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
  }
}

/* Ensure no unwanted top margins from theme wrappers */
#main > .row:first-child,
.event_sidebar,
.event_listing_data {
	margin-top: 0;
}

/* ============================================================
   MOBILE (≤ 800px): Hide header, show bottom nav
   ============================================================ */
@media (max-width: 800px) {
  .tt-single-event-row .event_listing_main {
    padding: 0 !important;
    gap: 0 !important;
  }

	/* Hide custom desktop header on mobile */
	.tt-desktop-header {
		display: none !important;
	}

	/* Remove any top spacing from header */
	body,
	body.admin-bar {
		padding-top: 0 !important;
		margin-top: 0 !important;
	}

	#main,
	#content,
	.page-wrapper {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}
}

/* ============================================================
   FOOTER (Lovable Design - Site-wide)
   Matches: bg-muted border-t border-border py-8 px-[15px]
   ============================================================ */

/* Hide existing Flatsome footer CONTENT but keep wrapper visible for our footer */
.footer-wrapper > .footer,
.footer-wrapper > .absolute-footer,
.footer-wrapper .footer-widgets,
.footer-wrapper .absolute-footer-wrap,
#footer > .footer,
#footer > .absolute-footer {
	display: none !important;
}

/* Reset the footer wrapper to be visible and full-width */
.footer-wrapper,
#footer.footer-wrapper {
	display: block !important;
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* Lovable Footer */
.tt-footer {
	background: var(--tt-muted, #f5f5f5);
	border-top: 1px solid var(--tt-border, #e5e5e5);
	padding: 32px 15px;
	width: 100%;
}

.tt-footer-inner {
	max-width: 896px; /* max-w-4xl */
	margin: 0 auto;
}

.tt-footer-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

/* Logo: h-6 (24px) */
.tt-footer-logo {
	display: flex;
	align-items: center;
	gap: 8px;
}

.tt-footer-logo img {
	height: 24px;
	width: auto;
}

/* Links: flex flex-wrap items-center justify-center gap-4 text-sm text-muted-foreground */
.tt-footer-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

.tt-footer-link {
	font-size: 14px;
	color: var(--tt-muted-foreground, #737373);
	text-decoration: none !important;
	transition: color 0.15s ease;
}

.tt-footer-link:hover {
	color: var(--tt-foreground, #171717);
}

/* Copyright: text-xs text-muted-foreground */
.tt-footer-copyright {
	font-size: 12px;
	color: var(--tt-muted-foreground, #737373);
	margin: 0;
}

/* Mobile footer: extra bottom padding for bottom nav clearance */
@media (max-width: 800px) {
	.tt-footer {
		padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px) + 70px);
	}
}

/* ============================================================
   MOBILE BOTTOM NAVIGATION BAR (Lovable Design)
   Shown at ≤ 800px. Matches: fixed bottom-0, h-[50px],
   bg-background/80, backdrop-blur-xl, border-t, z-50
   ============================================================ */

/* Hidden by default (desktop) */
.tt-bottom-nav {
	display: none;
}

/* Show at ≤ 850px */
@media (max-width: 800px) {
	.tt-bottom-nav {
		display: flex;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		width: 100%;
		max-width: none;
		transform: none;
		height: 70px;
		padding-left: max(16px, calc((100vw - 28rem) / 2));
		padding-right: max(16px, calc((100vw - 28rem) / 2));
		padding-bottom: env(safe-area-inset-bottom, 0px);
		background: rgba(255, 255, 255, 0.80);
		backdrop-filter: blur(24px);
		-webkit-backdrop-filter: blur(24px);
		border-top: 1px solid rgba(229, 229, 229, 0.5);
		z-index: 9999;
		justify-content: space-around;
		align-items: center;
		box-sizing: border-box;
		animation: tt-bottom-nav-slide-up 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
	}

	@keyframes tt-bottom-nav-slide-up {
		from {
			transform: translateY(100%);
			opacity: 0;
		}
		to {
			transform: translateY(0);
			opacity: 1;
		}
	}

	/* Nav item */
	.tt-bottom-nav__item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2px;
		flex: 1;
		padding: 4px 0;
		text-decoration: none !important;
		-webkit-tap-highlight-color: transparent;
		transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	}

	.tt-bottom-nav__item:active {
		transform: scale(0.82);
		opacity: 0.6;
	}

	/* Icon */
	.tt-bottom-nav__icon {
		display: flex;
		align-items: center;
		justify-content: center;
		transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	}

	.tt-bottom-nav__icon svg {
		width: 22px;
		height: 22px;
		stroke-width: var(--tt-nav-stroke, 1.8);
		transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	}

	/* Label */
	.tt-bottom-nav__label {
		font-size: 10px;
		letter-spacing: 0.02em;
		font-weight: 500;
		line-height: 1;
		transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	}

	/* Default state (inactive) */
	.tt-bottom-nav__item {
		color: var(--tt-muted-foreground, #737373);
	}

	/* Active state */
	.tt-bottom-nav__item--active {
		color: var(--tt-primary, #171717);
	}

	.tt-bottom-nav__item--active .tt-bottom-nav__icon {
		transform: scale(1.15) translateY(-1px);
	}

	.tt-bottom-nav__item--active .tt-bottom-nav__label {
		font-weight: 600;
	}

	/* Push Intercom launcher above the bottom nav bar */
	.intercom-lightweight-app-launcher {
		bottom: 80px !important;
	}
}

.tt-single-page-tags-container {
	margin: 15px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tt-hidden {
	display: none;
}

.tt-tag-box {
    border-radius: 10px;
    white-space: nowrap;
    background: #f9f9f9;
    padding: 2px 15px;
    margin-right: 5px;
    /* color: #000000; */
    border: 1px solid #eeeeee;
}

.venue_google_map_link {
    cursor: pointer;
}

/* Wrapper */
.tt-card-header-tags-wrapper {
	display: flex;
	align-items: center;
    justify-content: space-between;
    width: 90%;
}

.tt-card-header-tags {
    display: flex;
    flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.tt-card-header-tags-wrapper .todo-actions {
    position: absolute;
}

.tt-recurring-row .todo-actions {
    position: static;
}

/* Base tag */
.tt-card-header-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: normal;
	line-height: 1;
	border-radius: 10px;
	white-space: nowrap;
    height: 24px;
    padding: 0 10px;
    align-items: center;
    justify-content: center;
}

/* Icon */
.tt-card-header-tag i {
	font-size: 12px;
}

/* Primary (Red filled) */
.tt-card-header-tag-primary {
	background-color: #ff4d3f;
	color: #ffffff;
}

/* Outline tags */
.tt-card-header-tag-outline {
	background-color: #f5f5f5;
	color: #000000;
	border: 1px solid #e0e0e0;
}

.tt-card-header-tag-text {
    line-height: 24px;
}

.tt-highlights-card-header-tags-wrapper {
    /* position: absolute;
    top: 190px; */
}

/* Recurring Event Popup - Overlay Style (matches td-popup-overlay) */
#my-recurring-event-popup.td-popup-overlay {
    z-index: 9999;
}

#my-recurring-event-popup .td-popup-card--recurring {
    background: #f9f9f9;
    width: min(720px, 94vw);
    max-height: 85vh;
}

@media (max-width: 768px) {
    #my-recurring-event-popup .td-popup-card {
        width: 100% !important;
        max-width: 100% !important;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }
}

/* Sidebar overlay backdrop */
.append_slideout {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10000;
    top: 0;
    left: 0;
    background: #00000080;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.tt-popup-panel {
    padding: 0 10px 10px 10px;
    flex: 1;
    overflow: auto;
    min-height: 0;
}

.tt-popup-loading {
    padding: 100px 0;
    text-align: center;
}

.tt-recurring-event-tag {
    color: #1c7ce2;
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	/* Hide first tag on mobile */
    .tt-highlighted-tag {
        display: none !important;
    }

    .new_home_featured_tag {
        display: block !important;
    }

	/* Slightly smaller tags on mobile */
	.tt-card-header-tag {
		font-size: 11px;
		padding: 5px 9px;
	}
}


.todo-actions__menu .events_actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.todo-actions__menu .events_actions i {
  width: 14px;
  min-width: 14px;
  text-align: center;
  font-size: 12px;
}

.todo-actions__menu li {
  border-radius: 8px;
}



/* Vertical Event Card Styles */
.tt-v-card {
	color: var(--tt-card-text-color);
	width: 100%;
	max-width: 100%;
	background: var(--tt-card-bg);
	border: 1px solid var(--tt-card-border);
	border-radius: var(--tt-card-radius);
	/* box-shadow: var(--tt-card-shadow); */
}
.tt-v-card-media {
	position: relative;
	background: #fff;
}
.tt-v-card-media .tt-v-card-media-image {
	width: 100%;
	height: 170px;
	object-fit: cover;
	display: block;
    border-radius: var(--tt-card-radius);
}
.tt-v-card-media-topbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}
.tt-v-card-topbar-status {
    padding: 4px 10px;
    /* background: #03a9f4; */
    /* color: #fff; */
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: var(--tt-card-radius-sm);
    /* border: 1px solid #fff; */
}
.tt-v-card-topbar-more-menu {
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 1px solid #bdbdbd;
    font-size: 10px;
}
.tt-more-popup {
    position: absolute;
    top: 50px;
    right: 5px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    min-width: 130px;
    display: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    z-index: 1000;
}

.tt-more-popup ul {
    margin: 0;
    padding: 5px 0;
    list-style: none;
}

.tt-more-popup ul li {
    padding: 5px 14px;
    cursor: pointer;
    margin-bottom: 0;
    transition: background 0.2s ease;
    font-size: 12px;
}

.tt-more-popup ul li:hover {
    background: #f7f7f7;
}
.tt-more-popup-arrow {
    position: absolute;
    top: -6px;
    right: 12px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
    transform: rotate(45deg);
}

.tt-v-card-media-bottombar {
    padding: 15px;
}

.tt-event-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
}

.tt-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.4;
}

.tt-badge-walkin {
  background: #c6f0bb;
  color: #424242;
  border: 1px solid #c9e5c3;
}

.tt-badge-online-tickets {
    background: #000000;
    color: #ffffff;
    border: 1px solid #000000;
}

.tt-badge-booking-recommended {
    background: #3f51b5;
    color: #ffffff;
    border: 1px solid #3f51b5;
}

.tt-badge-booking-required {
    background: #3f51b5;
    color: #ffffff;
    border: 1px solid #3f51b5;
}

.tt-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid #d6d6d6;
  font-size: 12px;
  color: #4a4a4a;
  background: #ffffff;
}

.tt-v-card-reccurring-icon {
    width: 10px;
    height: 10px;
}

.tt-v-card-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #212121;
    display: -webkit-box;
    -webkit-line-clamp: 2;     /* limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tt-v-card-small-icon {
    width: 14px;
    height: 14px;
}

.tt-v-card-icon-text-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tt-v-card-icon-text {
    font-size: 14px;
    color: var(--tt-card-other-text-color);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tt-tag-item {
    background: #fff;
    border: 1px solid #212121;
    border-radius: 5px;
    padding: 2px 10px;
    font-weight: 600;
    font-size: 12px;
    color: #212121;
    white-space: nowrap;
    flex-shrink: 0;
    opacity: 0.8;
}

.tt-tag-container {
    position: absolute;
    left: 0;
    top: 130px;
    margin: 8px;

    display: flex;
    flex-wrap: nowrap;          /* keep in a single row */
    gap: 8px;

    max-width: 100%;            /* avoid overflowing page */
    padding-right: 8px;         /* so last tag isn't cut off */

    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;      /* Firefox: hide scrollbar */
    -ms-overflow-style: none;   /* IE/Edge legacy: hide scrollbar */

    cursor: grab;
}

/* Chrome / Safari: hide scrollbar */
.tt-tag-container::-webkit-scrollbar {
    display: none;
}

.tt-tag-item {
    flex: 0 0 auto;             /* make each tag stay its size */
    white-space: nowrap;        /* keep text on one line */
}

/* Optional: nicer feedback while dragging */
.tt-tag-container:active {
    cursor: grabbing;
}

.tt-recurring-span {
    background: #ffffff;
    color: #000000;
    border: 1px solid #bdbdbd;
    cursor: pointer;
    display: inline-block;
    position: relative;      /* ✅ Important for the tooltip */
}

.tooltip-text {
    visibility: hidden;
    width: max-content;
    max-width: 250px;
    background-color: #000;
    color: #fff;
    text-align: left;
    padding: 10px;
    border-radius: 6px;
    position: fixed;
    z-index: 9999;           /* bump it just in case */
    top: 140%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    white-space: normal;
    font-size: 13px;
    line-height: 19px;
    pointer-events: none;    /* optional: avoid hover flicker */
}

.tt-recurring-span:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.event-reaction_sp {
    position: absolute;
    right: 15px;
    left: auto;
    top: 15px;
    width: 28px;
    height: 28px;
    background: #ffffff;
    border-radius: 50%;
    border: #212121 2px solid;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 4px;
    display: none !important;
}

.event-reaction_sp_featured {
    bottom: 15px;
    top: auto;
}

/* my-events-page */
.tt-my-event-header-container {
    background-color: #ffffff;
    padding: 15px 0px;
    border-bottom: 1px solid #e0e0e0;
}

.tt-my-event-header {
    max-width: 1050px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 20px;
}

.tt-add-event-btn {
	text-transform: capitalize;
    border-radius: 5px;
    background: #000000;
    margin: 0;
    line-height: 1.5;
    font-size: 12px;
    font-weight: 400;
    padding: 5px 8px;
}
.tt-add-event-btn {
	box-shadow: none;
    color: #ffffff;
}

.tt-header-title {
    margin: 0;
	color: #212121;
	font-weight: normal;
	font-size: 20px;
}

.tt-header-subtitle {
    font-size: 14px;
    color: #6b6f76;
    margin: auto;
    max-width: 1050px;
}

/* Header container - NEW */
.tt-tabs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 0 0 20px 0;
}

/* Your original tabs wrap CSS - UNCHANGED */
.tt-tabs-wrap {
    width: 55%;
    margin: 0; /* Remove bottom margin since header has it */
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 6px;
    border-radius: 15px;
    display: flex;
    gap: 6px;
    box-sizing: border-box;
    position: relative;
}

/* Sliding background indicator - NEW */
.tt-tabs-wrap::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    width: calc(50% - 9px);
    height: calc(100% - 12px);
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Move background when second tab is active - NEW */
.tt-tabs-wrap:has(.tt-tab-btn:nth-child(2).active)::before {
    transform: translateX(calc(100% + 6px));
}

/* Your original tab button CSS - UNCHANGED */
.tt-tab-btn {
    width: 50%;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #212121;
    transition: all 0.2s ease;
    white-space: nowrap;
    margin: 0;
    position: relative; /* Added for z-index */
    z-index: 1; /* Added for slide animation */
}

/* Hover effect - NEW */
.tt-tab-btn:hover:not(.active) {
    background: rgba(245, 245, 245, 0.5);
}

/* Your original active state - UNCHANGED */
.tt-tab-btn.active {
    background: transparent; /* Changed to transparent for slide animation */
    border: 1px solid transparent; /* Changed to transparent for slide animation */
    font-weight: 600; /* Added bold */
}

/* Add Event Button - NEW */
.tt-add-event-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tt-add-event-btn:hover {
    background: #000000;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0);
}

.tt-add-event-btn:active {
    transform: translateY(0);
}

@media (max-width: 400px) {
    .tt-add-event-btn {
        padding: 5px 5px !important;
        gap: 0px !important;
    }
    .tt-header-subtitle {
        font-size: 12px !important;
    }
    .tt-header-title {
        font-size: 18px !important;
    }
}

.tt-plus-icon {
    font-size: 20px;
    line-height: 1;
    font-weight: 600;
}

.tt-btn-text {
    line-height: 1;
}

.todo-font-italic {
    font-style: italic;
}

.tt-show-recurring-icon {
    display: none !important;
    margin-left: 2px;
}

/* ============================================================
   AREA NAME VISIBILITY
   - Desktop: show area name in all sections
   - Mobile: hide area name in all sections
   - Today's Top Picks / Tomorrow's Top Picks: hide on both devices
   ============================================================ */

/* Show area name on desktop only (default for all sections) */
.tt-desktop-only {
    display: inline;
}

/* Hide area name on mobile for all sections */
@media (max-width: 1024px) {
    .tt-desktop-only {
        display: none;
    }
}

/* Hide area name in Today's Top Picks / Tomorrow's Top Picks sections on ALL devices */
.event_data_higlight .tt-desktop-only {
    display: none !important;
}

.event_data_higlight .tt-home-star-icon {
    margin-right: 5px;
}

/* Base title style */
.event-card__header {
    width: 100%;
}

.event-card__title {
    padding: 0;
    margin: 10px 0;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

/* Desktop: show desktop title, hide mobile */
.event-card__title--desktop {
    display: -webkit-box;
    width: 85%;
    font-size: 16px;
}

.event_data_higlight_box .event-card__title--desktop {
    width: 100%;
}

.event-card__title--mobile {
    display: none;
}

/* Mobile: hide desktop title, show mobile */
@media (max-width: 768px) {
    .event-card__title--desktop {
        display: none;
    }

    .event-card__title--mobile {
        display: -webkit-box;
        width: 95%;
        font-size: 14px;
    }

    .event_data_higlight_box .event-card__title--mobile {
        width: 100%;
    }
}

/* Your original mobile CSS - UPDATED for new layout */
@media (max-width: 775px) {
    .tt-tabs-header {
        flex-direction: row;
        gap: 10px;
    }
    
    .tt-tabs-wrap {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .tt-tab-btn {
        font-size: 13px;
    }
    .tt-show-recurring-icon {
        display: inline-block !important;
    }
    .tt-home-card-header-recurring-tag {
        display: none !important;
    }
}
/* Mobile styles for recurring popup handled in main #my-recurring-event-popup block */
@media (max-width: 400px) {
    .tt-tab-btn {
        font-size: 12px;
    }
}

/**
 * Sidebar Styles — TODO.TODAY
 * FILE: assets/css/sidebar-today.css
 */

.td-sidebar {
    position: sticky;
    top: 0;
    overflow-y: auto;
    padding: 15px 15px 15px 0px;
    border-right: 1px solid #f0eeea;
    background: #ffffff;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}
/* Admin bar: adjust sticky sidebar top position */
body.admin-bar .td-sidebar {
    top: 32px;
}
@media (max-width: 782px) {
    body.admin-bar .td-sidebar {
        top: 46px;
    }
}
.td-sidebar::-webkit-scrollbar { width: 4px; }
.td-sidebar::-webkit-scrollbar-track { background: transparent; }
.td-sidebar::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

/* HERO */
.td-sidebar-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    animation: tdFadeUp 0.5s ease both;
}
.td-sidebar-hero__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: 180px;
    object-fit: cover;
    display: block;
}
.td-sidebar-hero__img--fallback {
    height: 180px;
    background:
        radial-gradient(circle at 65% 55%, rgba(255,200,60,0.8) 0%, transparent 35%),
        radial-gradient(circle at 60% 60%, rgba(255,140,20,0.6) 0%, transparent 40%),
        linear-gradient(180deg, #1a0a2e 0%, #5c2d6e 22%, #c0504d 42%, #f4a134 60%, #2a1a0a 92%, #1a0f05 100%);
}
.td-sidebar-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}
.td-sidebar-hero__top {
    position: absolute;
    top: 18px;
    left: 20px;
    right: 54px;
    z-index: 2;
}
.td-sidebar-hero__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin: 0;
    padding: 0;
}
.td-sidebar-hero__date {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin-top: 4px;
    font-weight: 600;
    text-shadow: 0 1px 6px rgba(0,0,0,0.25);
}
/* Hero filter button - matches Lovable: w-10 h-10 rounded-full bg-white/20 backdrop-blur-sm */
.td-sidebar-hero__filter {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #fff;
    z-index: 2;
}
/* SVG icon for hero filter (Settings2 style from Lovable) */
.td-sidebar-hero__filter-icon {
    width: 15px;
    height: 15px;
    stroke: #fff;
    stroke-width: 2;
    fill: none;
}
.td-sidebar-hero__filter:hover {
    background: rgba(255,255,255,0.3);
}
.td-sidebar-hero__bottom {
    position: absolute;
    bottom: 16px;
    left: 20px;
    z-index: 2;
}
.td-sidebar-hero__location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    text-shadow: 0 1px 6px rgba(0,0,0,0.25);
}
.td-sidebar-hero__location i { font-size: 12px; opacity: 0.85; }

@media (max-width: 800px) {
    .td-sidebar-hero__img,
    .td-sidebar-hero__img--fallback {
        height: 220px;
    }
    /* On mobile the site header is hidden — replace "Today" text with the brand name */
    .td-sidebar-hero__title {
        font-size: 0;
    }
    .td-sidebar-hero__title::before {
        content: 'ToDo.Today';
        font-size: 1.5rem;
        font-weight: 700;
        color: #fff;
        text-shadow: 0 2px 10px rgba(0,0,0,0.3);
        line-height: 1.1;
    }
}

/* DIGEST (Lovable Design - pixel-perfect) */
.td-sidebar-digest {
    background: var(--tt-muted, #f5f5f5);
    border: 1px solid var(--tt-border, #e5e5e5);
    border-radius: 16px;
    padding: 20px;
    animation: tdFadeUp 0.5s ease both;
    animation-delay: 0.1s;
}
.td-sidebar-digest__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.td-sidebar-digest__header svg {
  font-size: 20px;
}
.td-sidebar-digest__buttons svg{
  font-size: 16px;
}
.td-sidebar-digest__title {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.3px;
    color: var(--tt-foreground, #171717);
}
.td-sidebar-digest__desc {
    font-size: 14px;
    color: var(--tt-muted-foreground, #737373);
    line-height: 1.625;
    margin-bottom: 16px;
}
.td-sidebar-digest__buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
	align-items: stretch;
}

.td-sidebar-digest__buttons .td-btn {
	display: grid !important;
	grid-template-columns: 16px 1fr;
	column-gap: 12px !important;
	align-items: center !important;
	justify-content: start !important;
	text-align: left !important;
}

.td-sidebar-digest__buttons .td-btn i,
.td-sidebar-digest__buttons .td-btn .fa,
.td-sidebar-digest__buttons .td-btn .fas,
.td-sidebar-digest__buttons .td-btn .fab,
.td-sidebar-digest__buttons .td-btn [class*="fa-"] {
	justify-self: center;
}

/* BUTTONS (Lovable Design - pixel-perfect) */
.td-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border: 1px solid transparent !important;
    cursor: pointer !important;
    transition: all 150ms ease-in-out !important;
    text-decoration: none !important;
    letter-spacing: -0.1px;
    text-align: left !important;
    width: 100% !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
}

/* Icon styling - fixed width for alignment */
.td-btn i,
.td-btn .fa,
.td-btn .fas,
.td-btn .fab,
.td-btn [class*="fa-"] {
    font-size: 16px !important;
    width: 16px !important;
    min-width: 16px !important;
    height: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
}

/* WhatsApp Group - Light green (matches Lovable exactly) */
.td-btn--whatsapp-group {
    background: #E8FAF0 !important;
    color: #1a9e4a !important;
    border: 1px solid #c8f0d8 !important;
}
.td-btn--whatsapp-group i,
.td-btn--whatsapp-group [class*="fa-"] {
    color: #1a9e4a !important;
}
.td-btn--whatsapp-group:hover,
.td-btn--whatsapp-group:active {
    background: #25D366 !important;
    color: #ffffff !important;
    border-color: #25D366 !important;
    transform: none !important;
    box-shadow: none !important;
}
.td-btn--whatsapp-group:hover i,
.td-btn--whatsapp-group:hover [class*="fa-"],
.td-btn--whatsapp-group:active i,
.td-btn--whatsapp-group:active [class*="fa-"] {
    color: #ffffff !important;
}

/* WhatsApp Channel - Light green (same as Group) */
.td-btn--whatsapp-channel {
    background: #E8FAF0 !important;
    color: #1a9e4a !important;
    border: 1px solid #c8f0d8 !important;
}
.td-btn--whatsapp-channel i,
.td-btn--whatsapp-channel [class*="fa-"] {
    color: #1a9e4a !important;
}
.td-btn--whatsapp-channel:hover,
.td-btn--whatsapp-channel:active {
    background: #25D366 !important;
    color: #ffffff !important;
    border-color: #25D366 !important;
    transform: none !important;
}
.td-btn--whatsapp-channel:hover i,
.td-btn--whatsapp-channel:hover [class*="fa-"],
.td-btn--whatsapp-channel:active i,
.td-btn--whatsapp-channel:active [class*="fa-"] {
    color: #ffffff !important;
}

/* Telegram Channel - Light blue */
.td-btn--telegram {
    background: #E6F4FA !important;
    color: #0088cc !important;
    border: 1px solid #c4e4f0 !important;
}
.td-btn--telegram i,
.td-btn--telegram [class*="fa-"] {
    color: #0088cc !important;
}
.td-btn--telegram:hover,
.td-btn--telegram:active {
    background: #0088cc !important;
    color: #ffffff !important;
    border-color: #0088cc !important;
    transform: none !important;
}
.td-btn--telegram:hover i,
.td-btn--telegram:hover [class*="fa-"],
.td-btn--telegram:active i,
.td-btn--telegram:active [class*="fa-"] {
    color: #ffffff !important;
}

/* POPUP */
.td-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000; /* Above bottom nav (z-index: 9999) */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.td-popup-overlay--active { opacity: 1; pointer-events: auto; }
.td-popup-overlay--active .td-popup-card { transform: translateY(0) scale(1); opacity: 1; }

.td-popup-card {
    background: #fff;
    border-radius: 24px;
    width: 500px;
    max-width: 92vw;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
    transform: translateY(16px) scale(0.97);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
    display: flex;
    flex-direction: column;
}
.td-popup__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px 10px;
    border-bottom: 1px solid #f0eeea;
}
.td-popup__close {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: none; background: transparent;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
    color: #1a1a1a; font-size: 16px;
    margin: 0;
    padding: 0;
}
.td-popup__close:hover { background: #f0f0f0; }
.td-popup__close .td-popup__icon--back { display: none !important; }
.td-popup__close .td-popup__icon--close { display: inline-block !important; }
.td-popup__title { font-size: 19px; font-weight: 700; letter-spacing: -0.3px; }

@media (max-width: 800px) {
    /* On mobile: slide up from bottom */
    .td-popup-overlay {
        align-items: flex-end;
        justify-content: center;
    }
    .td-popup-card {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        transform: translateY(100%);
        opacity: 1;
    }
    .td-popup-overlay--active .td-popup-card {
        transform: translateY(0);
    }
    .td-popup__close .td-popup__icon--back { display: inline-block !important; }
    .td-popup__close .td-popup__icon--close { display: none !important; }
    /* Safe area padding for footer save button */
    .td-popup__footer {
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

.td-popup__tabs { display: flex; gap: 8px; padding: 16px 24px; border-bottom: 1px solid #f0eeea; }
.td-popup__tab {
    display: flex; align-items: center; gap: 7px;
    padding: 0px 20px; border-radius: 50px;
    font-size: 14px; font-weight: 600;
    cursor: pointer;
    border: 1.5px solid #f0eeea;
    background: #fff; color: #6b6b6b;
    transition: all 0.25s ease;
    margin: 0;
}
.td-popup__tab:hover { border-color: #e0ddd6; }
.td-popup__tab i { font-size: 13px; }
.td-popup__tab--active { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }

.td-popup__body {
    flex: 1; overflow-y: auto;
    padding: 4px 14px 16px;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}
.td-popup__tab-content { display: none; }
.td-popup__tab-content--active { display: block; }

.td-popup__country {
    display: flex; align-items: center;
    padding: 14px 10px;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: background 0.15s, border-color 0.15s;
}
.td-popup__country:hover { background: #fafaf8; border-color: #1a1a1a; }
.td-popup__country:has(+ .td-popup__cities .td-popup__radio--selected) { background: #fafaf8; }
.td-popup__country-flag {
    width: 28px;
    height: 20px;
    margin-right: 14px;
    border-radius: 3px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.td-popup__country-info { flex: 1; }
.td-popup__country-name { font-size: 15px; font-weight: 600; }
.td-popup__country-meta { font-size: 13px; color: #666666; margin-top: 2px; }
.td-popup__country-chevron { font-size: 18px; color: #666666; transition: transform 0.3s ease; }
.td-popup__country--expanded .td-popup__country-chevron { transform: rotate(180deg); }

.td-popup__cities { overflow: hidden; max-height: 0; transition: max-height 0.35s ease; }
.td-popup__cities--open { max-height: 500px; }

.td-popup__city {
    display: flex; align-items: center;
    padding: 12px 10px 12px 28px;
    cursor: pointer; border-radius: 8px;
    border: 1px solid transparent;
    transition: background 0.15s, border-color 0.15s;
}
.td-popup__city:hover { background: #fafaf8; border-color: #1a1a1a; }
.td-popup__city:has(.td-popup__radio--selected) { background: #fafaf8; }
.td-popup__city-icon { font-size: 20px; margin-right: 12px; }
.td-popup__city-name { font-size: 14.5px; font-weight: 500; flex: 1; }
.td-popup__city-count { font-size: 13px; color: #9a9a9a; margin-right: 12px; }

.td-popup__radio {
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 2px solid #d0d0d0;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: all 0.2s ease;
}
.td-popup__radio--selected { border-color: #1a1a1a; }
.td-popup__radio-inner {
    width: 12px; height: 12px;
    border-radius: 50%; background: #1a1a1a;
    transform: scale(0);
    transition: transform 0.2s cubic-bezier(0.16,1,0.3,1);
}
.td-popup__radio--selected .td-popup__radio-inner { transform: scale(1); }

.td-popup__vibes-placeholder { text-align: center; padding: 40px 20px; color: #9a9a9a; font-size: 14px; }

.td-popup__footer { padding: 16px 24px 22px; border-top: 1px solid #f0eeea; }
.td-popup__save {
    width: 100%; padding: 14px;
    border-radius: 14px;
    background: #1a1a1a; color: #fff;
    font-size: 15px; font-weight: 600;
    border: none; cursor: pointer;
    transition: all 0.25s ease;
    margin: 0;
    line-height: 1.4em;
}
.td-popup__save:hover { background: #333; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,0.15); }

@keyframes tdFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .td-sidebar {
        position: relative; height: auto;
        border-right: none;
        border-bottom: 1px solid #f0eeea;
    }
}

/* ═══════════════════════════════════════════════════════════
   TODO.TODAY — Welcome Page Styles
   ═══════════════════════════════════════════════════════════ */

/* Hide default header on welcome page */
.home header#header {
    display: none;
}

.home footer#footer {
    display: none;
}

/* Hide mobile bottom nav on welcome page */
.home .tt-bottom-nav {
    display: none;
}

/* ─── Reset (scoped) ─── */
.tdtd-welcome,
.tdtd-welcome *,
.tdtd-welcome *::before,
.tdtd-welcome *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ─── Variables ─── */
.tdtd-welcome {
  --bg: #fafafa;
  --bg-hero-mobile: #000000;
  --text: #212121;
  --text-light: #6b6b6b;
  --text-white: #ffffff;
  --accent: #000000;
  --card-radius: 16px;
  --section-gap: 36px;
  --ring-color: #000000;
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  line-height: 1.5;
}

.home header.tt-desktop-header {
  display: none;
}

.home #main {
  padding-top: 0 !important;
}

/* ═══════════════════════════════════════
   LAYOUT — Desktop side-by-side
   ═══════════════════════════════════════ */
.tdtd-wrap {
  display: flex;
  min-height: 100vh;
  max-width: 1050px;
  margin: 0 auto;
  padding: 48px 16px;
  gap: 64px;
}

/* ═══════════════════════════════════════
   HERO PANEL (left sticky)
   ═══════════════════════════════════════ */
.tdtd-hero {
  flex: 0 0 340px;
  position: sticky;
  top: 48px;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Logo */
.tdtd-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: inherit;
  margin-bottom: 10px;
}

.tdtd-logo-image {
    height: 40px;
}

.tdtd-logo:hover {
  color: inherit;
  text-decoration: none;
}

.tdtd-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  font-family: var(--font-body);
}

/* Headline */
.tdtd-headline {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* Subtitle */
.tdtd-sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 300px;
}

/* Stats row */
.tdtd-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.tdtd-stat-num {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: block;
  line-height: 1.2;
}

.tdtd-stat-label {
  font-size: 13px;
  color: var(--text-light);
  display: block;
  margin-top: 2px;
}

.tdtd-stats-divider {
  width: 1px;
  height: 40px;
  background: #ddd;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   CTA BUTTON
   ═══════════════════════════════════════ */
.tdtd-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 24px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.01em;
  text-decoration: none;
  line-height: 1.4;
}

.tdtd-cta:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  color: #fff;
  text-decoration: none;
}

.tdtd-cta:disabled,
.tdtd-cta[disabled] {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  color: #fff;
}

.tdtd-cta-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.tdtd-cta:not(:disabled):hover .tdtd-cta-icon {
  transform: translateX(3px);
}

/* ═══════════════════════════════════════
   CHANNELS PANEL (right scrollable)
   ═══════════════════════════════════════ */
.tdtd-channels {
  flex: 1;
  min-width: 0;
}

.tdtd-channels-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.tdtd-channels-subtitle {
  display: none;
}

/* ═══════════════════════════════════════
   COUNTRY SECTION
   ═══════════════════════════════════════ */
.tdtd-country {
  margin-bottom: var(--section-gap);
  animation: tdtdFadeUp 0.5s ease both;
}

.tdtd-country:nth-child(2) { animation-delay: 0.07s; }
.tdtd-country:nth-child(3) { animation-delay: 0.14s; }
.tdtd-country:nth-child(4) { animation-delay: 0.21s; }
.tdtd-country:nth-child(5) { animation-delay: 0.28s; }
.tdtd-country:nth-child(6) { animation-delay: 0.35s; }

@keyframes tdtdFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tdtd-country-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.tdtd-country-flag {
  width: 24px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.tdtd-country-name {
  font-weight: 700;
  font-size: 17px;
}

.tdtd-country-count {
  font-size: 14px;
  color: var(--text-light);
}

/* ═══════════════════════════════════════
   CHANNEL GRID
   ═══════════════════════════════════════ */
.tdtd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}

/* ═══════════════════════════════════════
   CHANNEL CARD
   ═══════════════════════════════════════ */
.tdtd-card {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: 3px solid transparent;
  outline-offset: 3px;
  background: #2a1a0e;
}

.tdtd-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.tdtd-card.selected {
  outline-color: var(--ring-color);
}

.tdtd-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tdtd-card:hover img {
  transform: scale(1.06);
}

/* Gradient overlay */
.tdtd-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.18) 50%,
    rgba(0, 0, 0, 0.04) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Card info */
.tdtd-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tdtd-card-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.tdtd-card-name .tdtd-emoji {
  font-size: 16px;
  line-height: 1;
}

.tdtd-card-events {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
}

/* ═══════════════════════════════════════
   CHECKMARK BADGE
   ═══════════════════════════════════════ */
.tdtd-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tdtd-card.selected .tdtd-check {
  opacity: 1;
  transform: scale(1);
}

.tdtd-check svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

/* ═══════════════════════════════════════
   MOBILE LAYOUT (≤ 768px)
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
  .tdtd-wrap {
    flex-direction: column;
    padding: 0;
    gap: 0;
  }

  /* Hero becomes full-width dark header */
  .tdtd-hero {
    position: relative;
    top: 0;
    flex: none;
    width: 100%;
    background: var(--bg-hero-mobile);
    color: var(--text-white);
    padding: 44px 24px 36px;
    text-align: center;
    align-items: center;
    gap: 18px;
    border-radius: 0;
  }

  .tdtd-headline {
    color: var(--text-white);
    font-size: 28px;
    line-height: 1.2;
  }

  .tdtd-sub {
    color: rgba(255, 255, 255, 0.7);
    max-width: 320px;
  }

  .tdtd-stat-label {
    color: rgba(255, 255, 255, 0.6);
  }

  .tdtd-stats-divider {
    background: rgba(255, 255, 255, 0.2);
  }

  /* Hide desktop CTA on mobile */
  .tdtd-hero .tdtd-cta {
    display: none;
  }

  /* Channels section */
  .tdtd-channels {
    padding: 28px 20px 80px;
  }

  .tdtd-channels-title {
    font-size: 22px;
    text-align: center;
    margin-bottom: 15px;
  }

  .tdtd-channels-subtitle {
    display: block;
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
  }

  .tdtd-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .tdtd-card {
    aspect-ratio: 1 / 1;
  }

  .tdtd-card-events {
    font-size: 12px;
  }
}

/* ═══════════════════════════════════════
   MOBILE STICKY CTA
   ═══════════════════════════════════════ */
.tdtd-mobile-cta {
  display: none;
}

@media (max-width: 768px) {
  .tdtd-mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 20px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 100;
  }

  .tdtd-mobile-cta .tdtd-cta {
    border-radius: 60px;
    width: 100%;
  }
}

/* ═══════════════════════════════════════
   SCROLLBAR (webkit)
   ═══════════════════════════════════════ */
.tdtd-welcome ::-webkit-scrollbar {
  width: 6px;
}

.tdtd-welcome ::-webkit-scrollbar-track {
  background: transparent;
}

.tdtd-welcome ::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

/* ═══════════════════════════════════════
   LOADING SKELETON (optional)
   ═══════════════════════════════════════ */
.tdtd-card-skeleton {
  background: linear-gradient(
    110deg,
    #e8e8e8 8%,
    #f5f5f5 18%,
    #e8e8e8 33%
  );
  background-size: 200% 100%;
  animation: tdtdShimmer 1.5s linear infinite;
  border-radius: var(--card-radius);
  aspect-ratio: 4 / 3;
}

@keyframes tdtdShimmer {
  to {
    background-position-x: -200%;
  }
}

@media (max-width: 768px) {
  .tdtd-card-skeleton {
    aspect-ratio: 1 / 1;
  }
}

p.tt-field-error:empty {
  display: none !important;
}

/* ═══════════════════════════════════════
   RECURRING INSTANCES MODAL (single event page)
   ═══════════════════════════════════════ */

.tt-single-recurring-count--clickable {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tt-single-recurring-count--clickable:hover {
  opacity: 0.75;
}
.tt-single-recurring-count--clickable:focus-visible {
  outline: 2px solid var(--tt-primary, #171717);
  outline-offset: 2px;
  border-radius: 3px;
}

.tt-recurring-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

@media (min-width: 640px) {
  .tt-recurring-modal {
    align-items: center;
    padding: 24px;
  }
}

.tt-recurring-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.tt-recurring-modal__panel {
  position: relative;
  background: #fff;
  border-radius: 20px 20px 0 0;
  width: 100%;
  height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: clip;
  z-index: 1;
}

@media (min-width: 640px) {
  .tt-recurring-modal__panel {
    border-radius: 15px;
    max-width: 480px;
    height: auto;
    max-height: 72vh;
  }
}

.tt-recurring-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  flex-shrink: 0;
  border-bottom: 1px solid #f0f0f0;
  gap: 8px;
}

@media (min-width: 640px) {
  .tt-recurring-modal__head {
    padding: 16px 20px 12px;
  }
}

.tt-recurring-modal__title {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #171717 !important;
  margin: 0 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-family: inherit !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

@media (min-width: 640px) {
  .tt-recurring-modal__title {
    font-size: 16px !important;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
}

.tt-recurring-modal__close {
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  color: #737373;
  font-size: 22px !important;
  line-height: 1 !important;
  padding: 4px 6px !important;
  border-radius: 6px !important;
  margin: 0 !important;
  transition: color 0.15s;
}
.tt-recurring-modal__close:hover {
  color: #171717;
}

.tt-recurring-modal__body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px;
  flex: 1;
  min-height: 0;
}
.tt-recurring-modal__body::-webkit-scrollbar {
  width: 5px;
}
.tt-recurring-modal__body::-webkit-scrollbar-track {
  background: transparent;
  margin: 12px 0;
}
.tt-recurring-modal__body::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}
.tt-recurring-modal__body::-webkit-scrollbar-button {
  display: none;
}

.tt-recurring-modal__loading,
.tt-recurring-modal__empty,
.tt-recurring-modal__error {
  text-align: center;
  padding: 32px 0;
  font-size: 14px;
  text-transform: none !important;
  margin: 0;
}
.tt-recurring-modal__loading { color: #737373; }
.tt-recurring-modal__empty   { color: #737373; }
.tt-recurring-modal__error   { color: #dc2626; }

/* Parent event card */
.tt-recurring-parent {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #f9f9f9;
  border: 1px solid #e5e5e5;
  margin-bottom: 16px;
}

.tt-recurring-parent__thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tt-recurring-parent__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tt-recurring-parent__thumb-placeholder {
  color: #a3a3a3;
}
.tt-recurring-parent__thumb-placeholder .tt-icon {
  width: 28px;
  height: 28px;
}

.tt-recurring-parent__content {
  flex: 1;
  min-width: 0;
  padding: 2px 0;
}

.tt-recurring-parent__title {
  font-size: 14px !important;
  font-weight: 600 !important;
  margin: 0 0 3px !important;
  color: #171717 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-family: inherit !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tt-recurring-parent__meta {
  font-size: 12px;
  color: #737373;
  margin: 0 0 2px;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.tt-recurring-parent__heart {
  flex-shrink: 0;
  align-self: center;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 6px !important;
  color: #d1d5db;
  border-radius: 6px !important;
  display: flex;
  align-items: center;
  transition: color 0.15s;
  margin: 0 0 0 8px !important;
}
.tt-recurring-parent__heart .tt-icon {
  width: 20px;
  height: 20px;
}
.tt-recurring-parent__heart:hover {
  color: #ef4444;
}
.tt-recurring-parent__heart.tt-recurring-inst__heart--liked {
  color: #ef4444 !important;
}

.tt-recurring-modal__section-label {
  font-size: 12px;
  color: #737373;
  font-weight: 500;
  margin: 0 0 8px;
  padding: 0 4px;
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* Instance row */
.tt-recurring-inst {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #fbfbfb;
  margin-bottom: 6px;
  border: 2px solid transparent;
}

.tt-recurring-inst__icon {
  color: #737373;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.tt-recurring-inst__icon .tt-icon {
  width: 16px;
  height: 16px;
}

.tt-recurring-inst__content {
  flex: 1;
  min-width: 0;
}

.tt-recurring-inst__date {
  font-size: 14px;
  font-weight: 500;
  color: #171717;
  margin: 0 0 2px;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.tt-recurring-inst__meta {
  font-size: 12px;
  color: #737373;
  margin: 0;
  text-transform: none !important;
  letter-spacing: normal !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Heart button */
.tt-recurring-inst__heart {
  flex-shrink: 0;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 6px !important;
  color: #d1d5db;
  border-radius: 6px !important;
  display: flex;
  align-items: center;
  transition: color 0.15s;
  margin: 0 !important;
}
.tt-recurring-inst__heart .tt-icon {
  width: 18px;
  height: 18px;
}
.tt-recurring-inst__heart:hover {
  color: #ef4444;
}
.tt-recurring-inst__heart--liked {
  color: #ef4444 !important;
}

body.tt-modal-open {
  overflow: hidden;
}

/* Shared Todo.Today footer */

.tt-locations-footer {
	background: #f4f4f5;
	border-top: 1px solid #e4e4e7;
	color: #71717a;
}

.tt-locations-footer a {
	color: #71717a;
	text-decoration: none;
	transition: color 0.2s ease;
}

.tt-locations-footer a:hover,
.tt-locations-footer a:focus {
	color: #0a0a0a;
	text-decoration: none;
}

.tt-locations-footer-desktop {
	display: none;
}

.tt-locations-footer-inner {
	max-width: 1050px;
	margin: 0 auto;
	padding: 40px 24px;
}

.tt-locations-footer-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	margin-bottom: 32px;
}

.tt-locations-footer-heading {
	margin: 0 0 16px;
	color: #0a0a0a;
	font-size: 14px;
	font-weight: 600;
}

.tt-locations-footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tt-locations-footer-list li + li {
	margin-top: 12px;
}

.tt-locations-footer-list a {
	font-size: 14px;
}

.tt-locations-footer-bar {
	border-top: 1px solid #e4e4e7;
	padding-top: 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.tt-locations-footer-copy {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}

.tt-locations-footer-sep {
	color: #a1a1aa;
}

.tt-locations-footer-social {
	display: flex;
	align-items: center;
	gap: 16px;
}

.tt-locations-social-icon {
	width: 20px;
	height: 20px;
	display: block;
}

.tt-locations-footer-mobile {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	padding: 15px;
	max-width: 100%;
	box-sizing: border-box;
}

@media (max-width: 800px) {
	.tt-locations-footer-mobile {
		padding-bottom: 85px;
	}
}

.tt-locations-footer-mobile-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 15px;
	font-size: 14px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.tt-locations-footer-mobile-nav a {
	white-space: nowrap;
	color: #71717a;
	text-overflow: clip;
}

.tt-locations-footer-mobile-nav a:hover,
.tt-locations-footer-mobile-nav a:focus {
	color: #0a0a0a;
}

.tt-locations-footer-mobile .tt-locations-footer-social {
	gap: 20px;
}

.tt-locations-footer-mobile .tt-locations-footer-social a {
	color: #71717a;
}

.tt-locations-footer-mobile .tt-locations-footer-social a:hover,
.tt-locations-footer-mobile .tt-locations-footer-social a:focus {
	color: #0a0a0a;
}

.tt-locations-footer-copy-mobile {
	margin: 0;
	font-size: 12px;
	color: #71717a;
	text-align: center;
}

@media (min-width: 1024px) {
	.tt-locations-footer-desktop {
		display: block;
	}

	.tt-locations-footer-mobile {
		display: none;
	}
}



/******************
MMR MERGED: /wp-content/plugins/todo-today-assets/css/tt-cards.css
***************/

/* ============================================================
   TODO.TODAY – Card Components + Home Page Styles
   Includes: Skeleton loaders, Highlight cards, Horizontal cards,
   Vertical cards, Happening Now, Tabs, Filter popup
   ============================================================ */

/* ──────── CSS VARIABLES (Lovable-matched) ──────── */
:root {
	/* Font family - exact Lovable match */
	--tt-font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;

	/* Colors - Lovable design system */
	--tt-background: #fff;
	--tt-foreground: #171717; /* hsl(0 0% 9%) */
	--tt-muted: #f5f5f5; /* hsl(0 0% 96%) */
	--tt-muted-foreground: #737373; /* hsl(0 0% 45%) */
	--tt-border: #e5e5e5; /* hsl(0 0% 90%) */
	--tt-primary: #171717;
	--tt-primary-foreground: #fff;
	--tt-secondary: #f5f5f5;
	--tt-destructive: #ef4444; /* hsl(0 84% 60%) - for live indicators */

	/* Legacy aliases */
	--tt-text-primary: #171717;
	--tt-text-secondary: #737373;
	--tt-text-muted: #737373;
	--tt-border-color: #e5e5e5;
	--tt-bg-white: #fff;
	--tt-bg-light: #f5f5f5;
}

/* ──────── WORDPRESS ADMIN BAR HANDLING ──────── */
/* Adjust sticky section view header when admin bar is present */
body.admin-bar .tt-section-view-header {
	top: 32px;
}
@media (max-width: 782px) {
	body.admin-bar .tt-section-view-header {
		top: 46px;
	}
}

/* ──────── FLATSOME BUTTON RESET ──────── */
/* Neutralize Flatsome theme's default button styles for Home Page components */
.event_listing_data button,
.event_listing_data button[type="button"],
#tt-app button,
#tt-app button[type="button"],
.tt-filter-popup button,
.tt-filter-popup button[type="button"],
.tt-tabs-filter-bar button,
.tt-filter-icon-btn,
.tt-filter-popup-close,
.tt-filter-apply-btn,
.tt-filter-clear-all,
.tt-clear-all-filters,
.tt-load-more-btn,
.tt-see-all,
.tt-heart-btn {
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
	font-family: var(--tt-font-family);
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

/* Font Awesome icon styles for filter components */
.tt-filter-popup-close i {
	font-size: 14px !important;
	line-height: 1 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}
.tt-filter-group-icon i {
	font-size: 14px !important;
	color: #71717a;
	line-height: 1 !important;
}

/* ──────── SKELETON LOADERS ──────── */
.tt-skel {
	background: #f0f0f0;
	border-radius: 6px;
	position: relative;
	overflow: hidden;
}
.tt-skel::after {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
	animation: tt-shimmer 1.5s infinite;
}
@keyframes tt-shimmer {
	0%   { left: -100%; }
	100% { left: 100%; }
}

.tt-skel-tab {
	flex: 1;
	height: 40px;
	border-radius: 12px;
	margin: 0;
}
.tt-skel-filter-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	flex-shrink: 0;
}
.tt-skel-img {
	width: 100%;
	border-radius: 10px;
}
.tt-skel-img-sq {
	width: 64px;
	height: 64px;
	border-radius: 10px;
	flex-shrink: 0;
	background: #f0f0f0;
	position: relative;
	overflow: hidden;
}
.tt-skel-img-sq::after {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
	animation: tt-shimmer 1.5s infinite;
}
.tt-skel-line {
	height: 12px;
	border-radius: 4px;
}
.tt-skel-chevron {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	flex-shrink: 0;
	background: #f0f0f0;
}
.tt-skel-card {
	pointer-events: none;
}
.tt-skeleton-bar {
	pointer-events: none;
}

/* ──────── TABS + FILTER BAR ──────── */
.tt-tabs-filter-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 24px;
	overflow: visible;
}
.tt-tabs-row {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1;
	overflow: visible;
}
.tt-date-tabs {
	display: flex;
	flex: 1;
	background: #f5f5f5;
	border-radius: 16px;
	padding: 6px;
	gap: 0;
	position: relative;
}
.tt-tab-slider {
	position: absolute;
	top: 4px;
	bottom: 4px;
	left: 4px;
	width: calc(50% - 4px);
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
	z-index: 0;
}
.tt-date-tab {
	flex: 1;
	text-align: center;
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 500;
	color: #71717a;
	text-decoration: none !important;
	border-radius: 16px;
	transition: color 0.2s ease;
	cursor: pointer;
	line-height: 1.2;
	position: relative;
	z-index: 1;
}

@media (max-width: 480px) {
	.tt-date-tab {
		padding: 10px 5px;
		font-size: 13px;
	}
}

.tt-date-tab:hover { color: #52525b; }
.tt-date-tab--active {
	color: #09090b;
	font-weight: 500;
}
.tt-date-tab--active:hover { color: #09090b; }

/* Filter button - matches Lovable exactly */
.tt-filter-icon-btn {
	position: relative;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px;
	min-height: 40px;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	border-radius: 12px !important;
	background: #f5f5f5 !important;
	cursor: pointer;
	color: #09090b;
	transition: all 0.2s ease;
	line-height: 1 !important;
	flex-shrink: 0;
	box-sizing: border-box !important;
}
/* SVG Filter icon (Lovable style - outline funnel) */
.tt-filter-icon-svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	stroke-width: 2;
	fill: none;
}
.tt-filter-icon-btn i {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 16px !important;
	line-height: 1 !important;
	width: 16px;
	height: 16px;
	margin: 0 !important;
	padding: 0 !important;
}
.tt-filter-icon-btn:hover { background: #e5e5e5 !important; }
.tt-filter-icon-btn--active { background: var(--tt-primary, #171717) !important; color: var(--tt-primary-foreground, #fff) !important; }
.tt-filter-icon-btn--active:hover { background: #27272a !important; }

/* Filter badge - matches Lovable exactly */
/* Lovable: absolute -top-1 -right-1, w-5 h-5, bg-destructive, white border */
.tt-filter-badge {
	position: absolute;
	top: -6px;
	right: -6px;
	width: 20px;
	height: 20px;
	min-width: 20px;
	font-size: 10px;
	font-weight: 600;
	text-align: center;
	border-radius: 50%;
	background: #ef4444;
	color: #fff;
	padding: 0;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	z-index: 1;
}

/* ──────── ACTIVE FILTER CHIPS (HIDDEN - only show count badge) ──────── */
#tt-active-chips,
.tt-active-filters,
.tt-active-filters-inner,
.tt-active-chip,
.tt-chip-remove,
.tt-clear-all-filters {
	display: none !important;
}

/* ──────── FILTER POPUP ──────── */
.tt-filter-overlay {
	position: fixed; top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.5); z-index: 99998;
	opacity: 0; transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	backdrop-filter: blur(4px);
}
.tt-filter-overlay.tt-visible { opacity: 1; }
.tt-filter-popup {
	position: fixed; z-index: 99999;
	background: #fff; border-radius: 16px;
	border: 1px solid #e5e5e5;
	box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
	display: flex; flex-direction: column; overflow: hidden;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	top: 100px; left: 50%; transform: translateX(-50%) scale(0.95);
	width: calc(100% - 30px); max-width: 448px; max-height: calc(100vh - 150px);
	opacity: 0;
}
.tt-filter-popup.tt-popup-entering { transform: translateX(-50%) scale(0.95); opacity: 0; }
.tt-filter-popup.tt-popup-visible { transform: translateX(-50%) scale(1); opacity: 1; }
@media (max-width: 1024px) {
	.tt-filter-popup {
		top: auto; left: 0; right: 0; bottom: 0;
		width: 100%; max-width: 100%; border-radius: 16px 16px 0 0; max-height: 90vh;
		transform: translateY(100%);
	}
	.tt-filter-popup.tt-popup-entering { transform: translateY(100%); opacity: 1; }
	.tt-filter-popup.tt-popup-visible { transform: translateY(0); opacity: 1; }
}
.tt-filter-popup-header {
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px; border-bottom: 1px solid #e5e5e5; flex-shrink: 0;
}
.tt-filter-popup-header-left {
	display: flex; align-items: center; gap: 12px;
}
.tt-filter-popup-close {
	display: flex !important; align-items: center !important; justify-content: center !important;
	width: 32px !important; height: 32px !important; min-width: 32px !important; min-height: 32px !important;
	border: none !important; background: transparent !important;
	cursor: pointer; color: #09090b; border-radius: 50% !important;
	transition: all 0.15s ease;
	padding: 0 !important; margin: 0 !important; line-height: 1;
}
.tt-filter-popup-close:hover { background: #f5f5f5 !important; }
.tt-filter-popup-title { font-size: 18px; font-weight: 700; color: #09090b; margin: 0; }
.tt-filter-clear-all {
	display: inline-block !important;
	font-size: 14px; font-weight: 500; color: #09090b; background: none !important; border: none !important;
	cursor: pointer; padding: 0 !important; margin: 0 !important;
}
.tt-filter-clear-all:hover { opacity: 0.7; }
.tt-filter-popup-body { padding: 16px; overflow-y: auto; flex: 1; -webkit-overflow-scrolling: touch; }
.tt-filter-group { margin-bottom: 24px; }
.tt-filter-group:last-child { margin-bottom: 0; }
.tt-filter-group-title {
	display: flex; align-items: center; gap: 8px;
	font-size: 14px; font-weight: 600; color: #09090b; margin: 0 0 12px;
}
.tt-filter-group-icon { font-size: 16px; color: #71717a; display: flex; align-items: center; }
.tt-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tt-filter-chip { display: inline-flex; cursor: pointer; margin: 0; }
.tt-filter-chip input[type="checkbox"] { display: none; }
.tt-filter-chip-label {
	display: inline-block; padding: 6px 12px; font-size: 14px; font-weight: 500;
	color: #09090b; background: #f5f5f5; border: none;
	border-radius: 9999px; transition: all 0.15s ease; user-select: none; white-space: nowrap;
}
.tt-filter-chip:hover .tt-filter-chip-label { background: #e5e5e5; }
.tt-filter-chip input:checked + .tt-filter-chip-label { background: #09090b; color: #fff; }
.tt-filter-popup-footer {
	padding: 16px; border-top: 1px solid #e5e5e5; background: #fff; flex-shrink: 0;
}
@media (max-width: 1024px) {
	.tt-filter-popup-footer {
		padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	}
}
.tt-filter-apply-btn {
	display: flex !important; align-items: center !important; justify-content: center !important;
	width: 100% !important; padding: 12px 24px !important; font-size: 16px !important; font-weight: 600;
	color: #fff !important; background: #09090b !important; border: none !important; border-radius: 12px !important; cursor: pointer;
	transition: background 0.15s ease;
	height: 48px !important; min-height: 48px;
	margin: 0 !important; line-height: 1.2 !important;
	text-transform: none !important; letter-spacing: normal !important;
}
.tt-filter-apply-btn:hover { background: #27272a !important; }
body.tt-filter-open { overflow: hidden; }

/* ──────── SECTIONS ──────── */
.tt-section { margin-bottom: 32px; }
.tt-section:last-child { margin-bottom: 0; }
.tt-section-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 12px;
	padding: 0;
}
.tt-section-header-left {
	display: flex;
	flex-direction: column;
	gap: 0;
}
/* iOS section title - matches Lovable: text-[22px] font-bold tracking-tight */
.tt-section-title {
	font-size: 24px;
	font-weight: 600;
	color: var(--tt-foreground, #171717);
	margin: 0;
	line-height: 1.2;
	letter-spacing: -0.025em; /* tracking-tight */
	display: flex;
	align-items: center;
}
.tt-section-emoji { margin-right: 8px; font-size: inherit; }

/* Gold star for Today's Top Picks / Tomorrow's Highlights — Lovable style */
.tt-section-star {
	display: inline-flex;
	align-items: center;
	margin-right: 6px;
	font-size: 20px;
	line-height: 1;
	filter: drop-shadow(0 1px 2px rgba(251, 191, 36, 0.5));
}
.tt-section-time-range {
	font-size: 14px;
	color: var(--tt-muted-foreground, #737373);
	font-weight: 400;
	margin-top: 2px;
}
/* Section subtitle - matches Lovable: text-sm text-muted-foreground */
.tt-section-subtitle {
	font-size: 14px;
	color: var(--tt-muted-foreground, #737373);
	font-weight: 400;
	margin-top: 2px;
	line-height: 1.4;
}

/* ──────── UTILITY CLASSES ──────── */
.tt-hidden { display: none !important; }

/* ──────── HAPPENING NOW - Pulsing indicator ──────── */
/* Lovable: w-2 h-2 rounded-full bg-destructive animate-pulse + gap-2 */
.tt-live-indicator {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--tt-destructive, #ef4444);
	animation: tt-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
	flex-shrink: 0;
	margin-right: 8px; /* gap-2 in Lovable */
}
@keyframes tt-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.5; }
}

/* ──────── UP NEXT - Zap icon ──────── */
/* Lovable: Zap className="w-4 h-4 text-muted-foreground" + gap-2 */
.tt-section-icon {
	width: 16px;
	height: 16px;
	color: var(--tt-muted-foreground, #737373);
	flex-shrink: 0;
	margin-right: 8px; /* gap-2 in Lovable */
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.tt-section-icon i {
	font-size: 14px;
	line-height: 1;
}
/* Subtitle inline with title - matches Lovable: text-xs text-muted-foreground */
.tt-section-title-suffix {
	font-size: 12px;
	font-weight: 400;
	color: var(--tt-muted-foreground, #737373);
	margin-left: 8px;
}

/* "See all" button in section header - matches Lovable exactly */
/* Lovable: flex items-center gap-1 text-primary text-sm font-medium transition-transform active:scale-95 */
.tt-see-all-btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #171717 !important;
	cursor: pointer;
	background: none !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	white-space: nowrap;
	transition: transform 0.15s ease;
}
.tt-see-all-btn:active {
	transform: scale(0.95);
}
.tt-see-all-btn i {
	font-size: 10px !important;
	width: 16px;
	height: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.tt-see-all {
	font-size: 14px !important;
	font-weight: 500;
	color: #09090b !important;
	cursor: pointer;
	white-space: nowrap;
	display: flex !important;
	align-items: center;
	gap: 4px;
	margin-top: 4px;
	transition: transform 0.15s ease;
	background: none !important;
	border: none !important;
	padding: 0 !important;
	text-decoration: none !important;
}
.tt-see-all:hover { opacity: 0.8; }
.tt-see-all:active { transform: scale(0.95); }

/* ──────── HIGHLIGHT CARDS (Top Picks / Tomorrow's Highlights) ──────── */
.tt-h-slider { position: relative; }
.tt-h-viewport {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	cursor: grab;
	padding: 0;
}
.tt-h-viewport::-webkit-scrollbar { display: none; }
.tt-h-track {
	display: flex;
	gap: 12px;
	padding: 4px 0 8px;
}

/* Horizontal scrolling list cards (Happening Now - Lovable style) */
.tt-h-track--list {
	gap: 12px;
}
.tt-h-track--list .tt-v-card {
	flex: 0 0 auto;
	width: 280px;
	scroll-snap-align: start;
}
@media (min-width: 640px) {
	.tt-h-track--list .tt-v-card {
		width: 320px;
	}
}

/* ──────── HORIZONTAL GRID (today page, 10+ events, vertical scroll) ──────── */
.tt-h-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	padding: 0 15px;
}
.tt-h-grid .tt-h-card {
	width: 100%;
	scroll-snap-align: unset;
}

/* ──────── UP NEXT CARD (Lovable exact match) ──────── */
/* Vertical stacked list container */
.tt-upnext-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Card: flex gap-3 p-3 rounded-2xl bg-muted border border-border */
.tt-upnext-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	background: var(--tt-muted, #f5f5f5);
	border: 1px solid var(--tt-border, #e5e5e5);
	border-radius: 16px;
	text-decoration: none !important;
	color: inherit;
	transition: transform 0.2s ease;
	cursor: pointer;
}
.tt-upnext-card:hover {
	transform: scale(1.01);
}
.tt-upnext-card:active {
	transform: scale(0.98);
}

/* Image: w-[72px] h-[72px] rounded-xl */
.tt-upnext-card-img {
	position: relative;
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	border-radius: 12px;
	overflow: hidden;
	background: #e5e5e5;
}
/* Overlay for Up Next card images (like Hero card) */
.tt-upnext-card-img::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.1);
	pointer-events: none;
}
.tt-upnext-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Content area */
.tt-upnext-card-content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

/* Time row: clock icon + time + optional label badge */
.tt-upnext-card-time {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: var(--tt-muted-foreground, #737373);
	line-height: 1;
	flex-wrap: wrap;
}
.tt-upnext-card-time i {
	font-size: 12px;
	width: 12px;
	text-align: center;
}

/* Label badge in time row */
.tt-upnext-card-label {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 500;
	border-radius: 9999px;
	border: none;
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: 0.2px;
	margin-left: 4px;
}

/* Title: font-semibold, single line truncate */
.tt-upnext-card-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--tt-foreground, #171717);
	margin: 0;
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Venue: text-muted-foreground */
.tt-upnext-card-venue {
	font-size: 12px;
	color: var(--tt-muted-foreground, #737373);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Chevron: vertically centered */
.tt-upnext-card-chevron {
	flex-shrink: 0;
	color: var(--tt-muted-foreground, #a1a1aa);
	display: flex;
	align-items: center;
	justify-content: center;
}
.tt-upnext-card-chevron svg {
	width: 20px;
	height: 20px;
}

.tt-h-card {
	flex: 0 0 auto;
	width: 180px;
	border-radius: 16px;
	background: #f5f5f5;
	border: none;
	overflow: hidden;
	scroll-snap-align: start;
	transition: transform 0.2s ease;
	position: relative;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	border: 1px solid #e6e6e6;
}
@media (min-width: 640px) {
	.tt-h-card {
		width: 220px;
	}
}
.tt-h-card:hover {
	transform: scale(1.01);
}
.tt-h-card:active {
	transform: scale(0.98);
}

.tt-h-card--highlight {
	width: 240px;
	border: none;
	border-radius: 16px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
@media (min-width: 640px) {
	.tt-h-card--highlight {
		width: 300px;
	}
}

.tt-h-card-link,
.tt-highlight-link {
	display: block;
	text-decoration: none !important;
	color: inherit;
}

/* --- Highlight image + gradient overlay (Apple Podcasts style for readability) --- */
.tt-highlight-img-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 16px;
	overflow: hidden;
	background: #18181b;
}
.tt-highlight-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}
.tt-h-card--highlight:hover .tt-highlight-img { transform: scale(1.02); }
/* Gradient overlay — strong bottom dark for text readability */
.tt-highlight-gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.70) 20%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.15) 100%);
	pointer-events: none;
	z-index: 1;
}
.tt-highlight-overlay-text {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 12px;
	color: #fff;
	z-index: 2;
}
@media (min-width: 640px) {
	.tt-highlight-overlay-text {
		padding: 16px;
	}
}
.tt-highlight-title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 6px;
}
@media (min-width: 640px) {
	.tt-highlight-title {
		font-size: 18px;
	}
}
.tt-highlight-meta {
	font-size: 13px;
	line-height: 1.4;
	display: flex;
	align-items: center;
	gap: 4px;
	color: rgba(255, 255, 255, 0.8);
}
@media (min-width: 640px) {
	.tt-highlight-meta {
		font-size: 14px;
	}
}
.tt-highlight-meta + .tt-highlight-meta {
	margin-top: 4px;
}
.tt-meta-icon-light { font-size: 12px; }

/* Heart button on cards — matches Lovable: w-8 h-8, top-2/right-2 sm:top-3/right-3 */
.tt-heart-btn {
	position: absolute !important;
	top: 8px;
	right: 8px;
	width: 32px !important;
	height: 32px !important;
	border-radius: 50% !important;
	background: rgba(0, 0, 0, 0.45) !important;
	border: none !important;
	cursor: pointer;
	display: flex !important;
	align-items: center;
	justify-content: center;
	color: #fff !important;
	z-index: 12 !important;
	transition: all 0.2s ease;
	backdrop-filter: blur(8px);
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
	border: none !important;
}
@media (min-width: 640px) {
	.tt-heart-btn {
		top: 12px;
		right: 12px;
	}
}
.tt-heart-btn:hover {
	background: rgba(0, 0, 0, 0.58);
	transform: scale(1.05);
}
.tt-heart-btn--active {
	color: #ffffff !important;
	background: rgba(0, 0, 0, 0.58);
}
.tt-heart-btn.tt-heart-btn--active svg {
	fill: #ffffff !important;
	stroke: #ffffff !important;
}
.tt-heart-btn svg {
	display: block !important;
	width: 16px !important;
	height: 16px !important;
	opacity: 1 !important;
	visibility: visible !important;
	flex-shrink: 0;
	fill: none !important;
	stroke: #ffffff !important;
}
.tt-heart-btn--card {
	top: 8px;
	right: 8px;
	width: 32px;
	height: 32px;
}

/* --- Standard horizontal card (dayparts) --- */
.tt-h-card-img-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #e5e5e5;
	border-radius: 16px 16px 0 0;
}
/* Overlay for horizontal card images (like Hero card) */
.tt-h-card-img-wrap::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.1);
	pointer-events: none;
	z-index: 1;
}
/* Darker overlay for Top Picks highlight cards */
.tt-h-card--highlight .tt-h-card-img-wrap::after {
	background: rgba(0, 0, 0, 0.28);
}
.tt-h-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.2s ease;
}
.tt-h-card:hover .tt-h-card-img { transform: scale(1.02); }

/* Label badge (top-left) */
.tt-label-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	padding: 3px 8px;
	font-size: 11px;
	font-weight: 500;
	border-radius: 9999px;
	border: none;
	z-index: 2;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	text-transform: uppercase;
	letter-spacing: 0.2px;
}
@media (min-width: 640px) {
	.tt-label-badge {
		top: 10px;
		left: 10px;
	}
}

/* Ticket badge (top-left, below label) */
.tt-ticket-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	padding: 3px 6px;
	font-size: 9px;
	font-weight: 600;
	background: rgba(255,255,255,0.95);
	color: #212121;
	border-radius: 4px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	backdrop-filter: blur(4px);
}
.tt-ticket-badge--with-label {
	top: 30px;
}

/* Price overlay (bottom-left on image) — Lovable pill style */
.tt-price-overlay {
	position: absolute;
	bottom: 8px;
	left: 8px;
	padding: 3px 12px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.01em;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	border-radius: 20px;
	backdrop-filter: blur(16px) saturate(160%);
	-webkit-backdrop-filter: blur(16px) saturate(160%);
	border: 1px solid rgba(255, 255, 255, 0.12);
	z-index: 2;
	white-space: nowrap;
	transition: background 0.2s ease, backdrop-filter 0.2s ease, border-color 0.2s ease;
}
.tt-h-card:hover .tt-price-overlay {
	background: rgba(0, 0, 0, 0.78);
	backdrop-filter: blur(20px) saturate(180%);
	-webkit-backdrop-filter: blur(20px) saturate(180%);
	border-color: rgba(255, 255, 255, 0.22);
}

/* Card info section */
.tt-h-card-info {
	padding: 12px;
}
.tt-h-card-title {
	font-size: 15px;
	font-weight: 600;
	color: #09090b;
	margin: 0 0 6px;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	/* Force 2-line height even for short titles */
	min-height: calc(14px * 1.35 * 2);
	height: calc(14px * 1.35 * 2);
}
.tt-h-card-meta {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	color: #71717a;
	margin-top: 4px;
	line-height: 1.3;
}

@media (min-width: 640px) {
	.tt-h-card-meta {
		font-size: 14px;
	}
}

.tt-h-card-meta:first-of-type {
	margin-top: 0;
}
.tt-meta-icon {
	font-size: 12px;
	flex-shrink: 0;
}
.tt-meta-svg {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
	vertical-align: middle;
}
.tt-venue-text {
	font-style: normal;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ──────── SEE ALL CARD ──────── */
.tt-see-all-card {
	flex: 0 0 auto;
	width: 180px;
	height: 100%;
	min-height: 200px;
	border-radius: 16px;
	background: #f5f5f5;
	border: 2px dashed #d4d4d8;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none !important;
	color: inherit;
	scroll-snap-align: start;
}
@media (min-width: 640px) {
	.tt-see-all-card {
		width: 220px;
	}
}
.tt-see-all-card:hover {
	background: #e5e5e5;
	border-color: #a1a1aa;
}
.tt-see-all-card:active {
	transform: scale(0.98);
}
.tt-see-all-card-icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #09090b;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	font-size: 20px;
}
.tt-see-all-card-text {
	font-size: 14px;
	font-weight: 600;
	color: #09090b;
	margin-bottom: 4px;
}
.tt-see-all-card-count {
	font-size: 12px;
	color: #71717a;
}

/* ──────── SECTION VIEW (In-place content replacement) ──────── */
/* Replaces #tt-event-sections content, NOT an overlay */
.tt-section-view {
	opacity: 1;
	transform: translateX(0);
	transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.tt-section-view--entering {
	opacity: 0;
	transform: translateX(20px);
}

/* Section view header - matches Lovable's SectionEvents exactly */
/* Lovable: sticky top-0 z-10 bg-background/95 backdrop-blur-sm border-b border-border */
.tt-section-view-header {
	position: sticky;
	top: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 15px;
	margin: 0;
	border-bottom: 1px solid var(--tt-border, #e5e5e5);
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
/* Back button — Lovable: w-10 h-10 rounded-full flex items-center justify-center hover:bg-muted */
.tt-section-view-back {
	all: unset;
	box-sizing: border-box;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px;
	min-height: 40px;
	border: none !important;
	background: transparent !important;
	cursor: pointer;
	color: var(--tt-foreground, #171717);
	border-radius: 50% !important;
	padding: 0 !important;
	margin: 0 !important;
	flex-shrink: 0;
	transition: background 0.15s ease;
}
.tt-section-view-back:hover { background: var(--tt-muted, #f5f5f5) !important; }
/* Back icon SVG — Lovable ChevronLeft w-6 h-6 = 24×24px */
.tt-section-view-back svg {
	width: 24px !important;
	height: 24px !important;
	display: block;
	flex-shrink: 0;
}
.tt-section-view-header-info {
	flex: 1;
	min-width: 0;
}
/* Title: text-lg font-semibold (Lovable) */
.tt-section-view-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--tt-foreground, #171717);
	margin: 0;
	line-height: 1.3;
}
/* Subtitle: text-xs text-muted-foreground (Lovable) */
.tt-section-view-subtitle {
	font-size: 12px;
	color: var(--tt-muted-foreground, #737373);
	margin: 2px 0 0;
}

/* Section view event list - matches Lovable: p-[15px] space-y-3 */
.tt-section-view-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 15px;
	padding-bottom: 24px; /* Standard bottom padding - footer handles safe-area */
}

.tt-daypart-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* ──────── LIST CARD (Lovable EventListCard style) ──────── */
/* Matches: flex gap-2 sm:gap-3 p-2 sm:p-3 rounded-2xl bg-muted border border-border */
.tt-list-card {
	display: flex;
	gap: 8px;
	padding: 8px;
	border-radius: 16px;
	background: var(--tt-muted, #f5f5f5);
	border: 1px solid var(--tt-border, #e5e5e5);
	text-decoration: none !important;
	color: inherit;
	cursor: pointer;
	transition: transform 0.2s ease-out;
}
@media (min-width: 640px) {
	.tt-list-card {
		gap: 12px;
		padding: 12px;
	}
}
.tt-list-card:hover {
	transform: scale(1.01);
}
.tt-list-card:active {
	transform: scale(0.97);
}

/* Image: w-[100px] h-[100px] sm:w-[130px] sm:h-[130px] rounded-t-xl (Lovable) */
.tt-list-card-img-wrap {
	position: relative;
	flex-shrink: 0;
	width: 100px !important;
	height: 100px !important;
	border-radius: 12px;
	overflow: hidden;
	background: #e5e5e5;
}
@media (min-width: 640px) {
	.tt-list-card-img-wrap {
		width: 130px !important;
		height: 130px !important;
	}
}
.tt-list-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* Heart button on image: absolute top-1.5 right-1.5 w-6 h-6 (mobile) */
.tt-list-card-heart {
	all: unset;
	box-sizing: border-box;
	position: absolute !important;
	top: 6px;
	right: 6px;
	width: 30px !important;
	height: 30px !important;
	min-width: 30px;
	min-height: 30px;
	border-radius: 50% !important;
	background: rgba(0, 0, 0, 0.45) !important;
	border: none !important;
	cursor: pointer;
	display: flex !important;
	align-items: center;
	justify-content: center;
	color: #fff !important;
	z-index: 12 !important;
	transition: transform 0.15s ease;
	backdrop-filter: blur(4px);
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
	border: none !important;
}
@media (min-width: 640px) {
	.tt-list-card-heart {
		top: 8px;
		right: 8px;
		width: 32px !important;
		height: 32px !important;
		min-width: 32px;
		min-height: 32px;
	}
}
.tt-list-card-heart:active {
	transform: scale(0.9);
}
.tt-list-card-heart svg {
	display: block !important;
	width: 16px !important;
	height: 16px !important;
	opacity: 1 !important;
	visibility: visible !important;
	flex-shrink: 0;
	fill: none !important;
	stroke: #ffffff !important;
}
@media (min-width: 640px) {
	.tt-list-card-heart svg {
		width: 16px !important;
		height: 16px !important;
	}
}
.tt-list-card-heart--active {
	color: #ffffff !important;
}
.tt-list-card-heart.tt-list-card-heart--active svg {
	fill: #ffffff !important;
	stroke: #ffffff !important;
}

/* Content section */
.tt-list-card-content {
	flex: 1;
	min-width: 0;
	padding: 2px 0;
}
@media (min-width: 640px) {
	.tt-list-card-content {
		padding: 4px 0;
	}
}

/* Badges row */
.tt-list-card-badges {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-wrap: wrap;
	margin-bottom: 2px;
}
@media (min-width: 640px) {
	.tt-list-card-badges {
		gap: 6px;
		margin-bottom: 4px;
	}
}
.tt-list-badge {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 2px 8px;
	height: 22px;
	font-size: 12px;
	font-weight: 500;
	border-radius: 9999px;
	border: none;
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: 0.2px;
}
.tt-list-badge--price {
	background: #fff;
	color: #09090b;
	border: 1px solid #e5e5e5;
	text-transform: none;
	letter-spacing: 0;
}

/* Title: font-semibold text-xs sm:text-sm line-clamp-2 */
.tt-list-card-title {
	font-size: 14px;
	font-weight: 600;
	color: #09090b;
	margin: 0 0 4px;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
@media (min-width: 640px) {
	.tt-list-card-title {
		margin-bottom: 6px;
		font-size: 15px;
	}
}

/* Creator row — Lovable: User icon + channel name, hidden on mobile, visible sm+ */
.tt-list-card-creator {
	font-size: 12px;
	display: none;
}
@media (min-width: 640px) {
	.tt-list-card-creator {
		display: flex;
		align-items: center;
		gap: 4px;
		font-size: 13px;
		color: #737373;
		margin-bottom: 4px;
	}
}
.tt-creator-icon {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
	color: #737373;
}
.tt-creator-name {
	font-weight: 500;
	color: #09090b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Meta rows with icons */
.tt-list-card-meta {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: #71717a;
	margin-bottom: 2px;
	line-height: 1.3;
}
@media (min-width: 640px) {
	.tt-list-card-meta {
		gap: 6px;
		margin-bottom: 4px;
		font-size: 13px;
	}
}
.tt-list-card-meta i {
	font-size: 10px;
	flex-shrink: 0;
	width: 10px;
	text-align: center;
}
@media (min-width: 640px) {
	.tt-list-card-meta i {
		font-size: 12px;
		width: 12px;
	}
}
.tt-list-card-meta span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Chevron arrow — Lovable: ChevronRight w-5 h-5 text-muted-foreground self-center flex-shrink-0 */
.tt-list-card-arrow {
	flex-shrink: 0;
	align-self: center;
	color: #a1a1aa;
	display: flex;
	align-items: center;
}
.tt-list-card-arrow svg {
	width: 20px;
	height: 20px;
	display: block;
	flex-shrink: 0;
}

/* Fade-in animation for cards (Lovable staggered) */
@keyframes tt-fade-in {
	0% { opacity: 0; transform: translateY(8px); }
	100% { opacity: 1; transform: translateY(0); }
}
.tt-section-view-list .tt-list-card {
	animation: tt-fade-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	opacity: 0;
}

/* Legacy overlay styles (hidden - no longer used) */
.tt-seeall-overlay,
.tt-seeall-page { display: none !important; }

/* Hide old See All card (no longer used) */
.tt-see-all-card {
	display: none !important;
}

/* Legacy sidebar classes (keep for backwards compat) */
.tt-sidebar-overlay { display: none !important; }
.tt-sidebar { display: none !important; }

/* ──────── VERTICAL LIST CARDS (JSON-driven homepage) ──────── */
.tt-v-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: transparent;
	border-radius: 0;
	border: none;
	overflow: visible;
}
/* Use more specific selector to avoid conflicts with old PHP template styles */
.tt-v-list > .tt-v-card,
.tt-v-list > a.tt-v-card {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px;
	border: 1px solid #e5e5e5;
	border-radius: 16px;
	text-decoration: none !important;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	background: #f5f5f5;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05);
	width: auto;
	max-width: none;
}
@media (min-width: 640px) {
	.tt-v-list > .tt-v-card,
	.tt-v-list > a.tt-v-card {
		gap: 12px;
		padding: 12px;
	}
}
.tt-v-list > .tt-v-card:last-child,
.tt-v-list > a.tt-v-card:last-child { border-bottom: 1px solid #e5e5e5; }
.tt-v-list > .tt-v-card:hover,
.tt-v-list > a.tt-v-card:hover {
	transform: scale(1.01);
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.tt-v-list > .tt-v-card:active,
.tt-v-list > a.tt-v-card:active {
	transform: scale(0.98);
}

.tt-v-list .tt-v-card-img-wrap {
	position: relative;
	flex-shrink: 0;
	width: 74px;
	height: 74px;
	border-radius: 12px;
	overflow: hidden;
	background: #e5e5e5;
}
/* Overlay for vertical card images (like Hero card) */
.tt-v-list .tt-v-card-img-wrap::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.1);
	pointer-events: none;
}
@media (min-width: 640px) {
	.tt-v-list .tt-v-card-img-wrap {
		width: 74px;
		height: 74px;
	}
}
.tt-v-list .tt-v-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tt-v-list .tt-v-card-info {
	flex: 1;
	min-width: 0;
}

/* Time row: emoji + time + label badge */
.tt-v-list .tt-v-card-time-row {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}
.tt-v-list .tt-v-card-emoji { font-size: 14px; line-height: 1; }
.tt-v-list .tt-v-card-time {
	font-size: 12px;
	color: #71717a;
	font-weight: 400;
}

@media (min-width: 640px) {
	.tt-v-list .tt-v-card-time {
		font-size: 13px;
	}
}

/* Inline label badge (in time row) */
.tt-label-inline {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 500;
	border-radius: 9999px;
	border: none;
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: 0.2px;
}

.tt-v-list .tt-v-card-title {
	font-size: 14px;
	font-weight: 600;
	color: #09090b;
	margin: 0 0 2px;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (min-width: 640px) {
	.tt-v-list .tt-v-card-title {
		font-size: 15px;
	}
}

.tt-v-list .tt-v-card-venue {
	font-size: 12px;
	color: #71717a;
	font-style: normal;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (min-width: 640px) {
	.tt-v-list .tt-v-card-venue {
		font-size: 13px;
	}
}

.tt-v-list .tt-v-card-chevron {
	flex-shrink: 0;
	color: #a1a1aa;
	margin-left: auto;
	align-self: center;
}

/* --- LIVE badge (no border on image per Lovable design) --- */
.tt-live-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 10px;
	font-size: 11px;
	font-weight: 700;
	color: #fff;
	background: #f44336;
	border-radius: 50px;
	letter-spacing: 0.5px;
}

/* --- Status badge (my-events) --- */
.tt-status-badge {
	display: inline-block;
	padding: 2px 8px;
	font-size: 10px;
	font-weight: 600;
	color: #fff;
	border-radius: 4px;
	white-space: nowrap;
}

.tt-v-hidden { display: none !important; }

/* ──────── AREA NAME (Desktop only) ──────── */
/* Area name: shows location area on desktop, hidden on mobile */
.tt-card-area {
	font-size: 10px;
	color: var(--tt-muted-foreground, #737373);
	font-style: normal;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	margin-top: 2px;
}
@media (min-width: 640px) {
	.tt-card-area {
		font-size: 11px;
	}
}
/* Hide area name on mobile (< 640px) */
@media (max-width: 639px) {
	.tt-card-area {
		display: none !important;
	}
}
/* Never show area name in Top Picks / Highlight cards */
.tt-h-card--highlight .tt-card-area {
	display: none !important;
}
/* Up Next section: show area name on desktop, hide on mobile (follows default .tt-card-area rules) */

/* ──────── LOAD MORE BUTTON ──────── */
.tt-load-more-wrap {
	display: none !important;
}
.tt-load-more-btn {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	width: 100% !important;
	padding: 12px 16px !important;
	margin-top: 10px !important;
	background: #171717 !important;
	border: 0 !important;
	border-radius: 10px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #fff !important;
	line-height: 1.2 !important;
	cursor: pointer !important;
	transition: background 0.15s ease, color 0.15s ease !important;
}
.tt-load-more-btn:hover {
	background: #2d2d2d !important;
	color: #fff !important;
}
.tt-load-more-btn:active {
	transform: translateY(1px);
}
.tt-load-more-btn i {
	font-size: 12px !important;
	line-height: 1 !important;
}

/* Hidden cards (revealed by Load More) */
.tt-card-hidden {
	display: none !important;
}

/* ──────── LOADING STATES ──────── */
.tt-loading-fade {
	opacity: 0.5;
	transition: opacity 0.2s ease;
	pointer-events: none;
}
.tt-no-events {
	text-align: center;
	padding: 60px 20px;
	font-size: 15px;
	color: #71717a;
	background: #f5f5f5;
	border-radius: 16px;
	margin: 0 15px;
}

/* ──────── RESPONSIVE ──────── */

@media (max-width: 1024px) {
	.tt-section-title {
		font-size: 22px;
	}
}

/* Mobile: < 640px */
@media (max-width: 639px) {
	.tt-h-card { width: 180px; }
	.tt-h-card--highlight { width: 240px; }
	.tt-h-card-info { padding: 10px; }
	.tt-h-card-title { font-size: 14px; }
	.tt-v-list .tt-v-card-img-wrap { width: 74px; height: 74px; }
	.tt-highlight-title { font-size: 16px; }
	.tt-highlight-overlay-text { padding: 12px; }
	.tt-section { margin-bottom: 24px; }
	.tt-section-header { margin-bottom: 12px; }
	.tt-section-emoji { font-size: 18px; }
	.tt-section-star { font-size: 18px; }
	.tt-section-time-range { font-size: 13px; }
}

/* Small mobile: < 400px */
@media (max-width: 399px) {
	.tt-h-card { width: 160px; }
	.tt-h-card--highlight { width: 220px; }
}

/* Hide old filter bar */
.tt-tabs-filter-bar ~ .events_bottom_header { display: none; }

/* ──────── FOOTER (matches Lovable exactly) ──────── */
/* Lovable: bg-muted border-t border-border py-8 px-[15px] */
.tt-footer {
	background: var(--tt-muted, #f5f5f5);
	border-top: 1px solid var(--tt-border, #e5e5e5);
	padding: 32px 15px;
	width: 100%;
}
.tt-footer-inner {
	max-width: 896px; /* max-w-4xl */
	margin: 0 auto;
}
.tt-footer-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}
/* Logo: h-6 (24px) */
.tt-footer-logo {
	display: flex;
	align-items: center;
	gap: 8px;
}
.tt-footer-logo img {
	height: 24px;
	width: auto;
}
/* Links: flex flex-wrap items-center justify-center gap-4 text-sm text-muted-foreground */
.tt-footer-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px;
}
.tt-footer-link {
	font-size: 14px;
	color: var(--tt-muted-foreground, #737373);
	text-decoration: none !important;
	transition: color 0.15s ease;
}
.tt-footer-link:hover {
	color: var(--tt-foreground, #171717);
}
/* Copyright: text-xs text-muted-foreground */
.tt-footer-copyright {
	font-size: 12px;
	color: var(--tt-muted-foreground, #737373);
	margin: 0;
}

/* ──────── TWO-COLUMN DIVIDER (matches Lovable) ──────── */
/* Lovable: border-r border-border on aside (left sidebar) */
.event_sidebar {
	border-right: 1px solid var(--tt-border, #e5e5e5);
	padding-right: 15px;
	padding-top: 15px;
	padding-bottom: 15px;
}

/* ──────── FOOTER RESPONSIVE ──────── */
@media (max-width: 800px) {
	.tt-footer {
		padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px) + 80px); /* Account for mobile nav */
	}
}

/* ============================================================
   SINGLE EVENT PAGE — LOVABLE DESIGN
   ============================================================ */

/* Shared icon sizing for inline SVGs */
.tt-icon {
	width: 18px;
	height: 18px;
	display: block;
}

.tt-icon--xs {
	width: 14px;
	height: 14px;
}

.tt-single-hero__icon .tt-icon {
	width: 20px;
	height: 20px;
}

.tt-single-meta-icon .tt-icon {
	width: 20px;
	height: 20px;
}

.tt-single-badge .tt-icon {
	width: 12px;
	height: 12px;
}

/* ──────── SINGLE EVENT CONTENT CONTAINER ──────── */
.tt-single-event-container {
	margin: 0 auto;
	padding: 0 0 40px 0;
	box-sizing: border-box;
}

.tt-single-page {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.tt-single-content {
	padding: 0;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.tt-single-content--visible {
	opacity: 1;
	transform: translateY(0);
}

.tt-single-digest-mobile {
	margin-top: 20px;
}

@media (min-width: 1025px) {
	.tt-single-digest-mobile {
		display: none;
	}
}

/* ──────── SKELETON LOADER (Lovable Design) ──────── */
.tt-single-skeleton {
	position: relative;
	padding: 0;
	margin: 0 auto;
	transition: opacity 0.2s ease;
}

.tt-single-skeleton--hidden {
	opacity: 0;
	pointer-events: none;
}

.tt-single-skeleton__carousel {
	position: relative;
	margin-bottom: 20px;
	border-radius: 20px;
	overflow: hidden;
}

.tt-single-skeleton__carousel .tt-skeleton-box--image {
	border-radius: 20px;
}

/* Skeleton overlay buttons (back, share, like) */
.tt-single-skeleton__hero-buttons {
	position: absolute;
	top: 16px;
	left: 16px;
	right: 16px;
	display: flex;
	justify-content: space-between;
	z-index: 2;
}

.tt-single-skeleton__hero-buttons-right {
	display: flex;
	gap: 10px;
}

.tt-skeleton-box {
	background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
	background-size: 200% 100%;
	animation: tt-skeleton-shimmer 1.5s infinite ease-in-out;
	border-radius: 8px;
}

.tt-skeleton-box--circle {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	flex-shrink: 0;
}

.tt-skeleton-box--image {
	width: 100%;
	aspect-ratio: 16 / 10;
	border-radius: 20px;
}

.tt-skeleton-box--badge {
	width: 100px;
	height: 26px;
	border-radius: 999px;
}

.tt-skeleton-box--title {
	height: 32px;
	border-radius: 8px;
}

.tt-skeleton-box--text {
	height: 16px;
	border-radius: 6px;
}

.tt-skeleton-box--card {
	width: 100%;
	height: 88px;
	border-radius: 16px;
	aspect-ratio: auto;
}

@keyframes tt-skeleton-shimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

.tt-single-skeleton__content {
	padding: 0;
}

/* Badge skeleton */
.tt-single-skeleton__badge {
	margin-bottom: 12px;
}

/* Title skeleton */
.tt-single-skeleton__title {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 8px;
}

/* Byline skeleton */
.tt-single-skeleton__byline {
	margin-bottom: 24px;
}

/* Meta card skeleton */
.tt-single-skeleton__meta {
	margin: 0 0 20px;
	border: 1px solid var(--tt-border, #e5e5e5);
	border-radius: 16px;
	background: #fff;
	overflow: hidden;
}

.tt-single-skeleton__meta-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
}

.tt-single-skeleton__meta-row + .tt-single-skeleton__meta-row {
	border-top: 1px solid var(--tt-border, #e5e5e5);
}

.tt-single-skeleton__meta-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	flex-shrink: 0;
}

.tt-single-skeleton__meta-text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/* Book button skeleton */
.tt-single-skeleton__book {
	margin: 8px 0 24px;
}

.tt-skeleton-box--button {
	width: 100%;
	height: 52px;
	border-radius: 14px;
}

/* Description skeleton */
.tt-single-skeleton__desc {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 20px;
}

/* Tags skeleton */
.tt-single-skeleton__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.tt-skeleton-box--tag {
	height: 36px;
	border-radius: 999px;
}

/* Related events skeleton */
.tt-single-skeleton__related {
	margin-top: 32px;
}

.tt-single-skeleton__related-title {
	margin-bottom: 16px;
}

.tt-single-skeleton__related-grid {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Hero icons skeleton (over carousel) */
.tt-single-skeleton__hero-icons {
	position: absolute;
	top: 16px;
	left: 16px;
	right: 16px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	z-index: 2;
	pointer-events: none;
}

.tt-single-skeleton__hero-icon--back {
	display: flex;
}

.tt-single-skeleton__hero-icon--actions {
	display: flex;
	gap: 10px;
}

/* Carousel dots skeleton */
.tt-single-skeleton__dots {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 6px;
	z-index: 2;
}

/* Meta card skeleton (with icon rows) */
.tt-single-skeleton__meta-card {
	margin: 0 0 20px;
	border: 1px solid var(--tt-border, #e5e5e5);
	border-radius: 16px;
	background: #fff;
	overflow: hidden;
}

.tt-single-skeleton__meta-card .tt-single-skeleton__meta-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
}

.tt-single-skeleton__meta-card .tt-single-skeleton__meta-row + .tt-single-skeleton__meta-row {
	border-top: 1px solid var(--tt-border, #e5e5e5);
}

/* Related card skeleton with image */
.tt-single-skeleton__related-card {
	display: flex;
	gap: 12px;
	padding: 12px;
	background: #fff;
	border: 1px solid var(--tt-border, #e5e5e5);
	border-radius: 16px;
}

.tt-skeleton-box--card-image {
	width: 72px;
	height: 72px;
	border-radius: 12px;
	flex-shrink: 0;
}

.tt-single-skeleton__related-card-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 4px 0;
}

/* ──────── IMAGE CAROUSEL + HERO ACTIONS (Lovable Design) ──────── */
.tt-single-carousel {
	position: relative !important;
	width: 100%;
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 20px;
	background: linear-gradient(135deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
	background-size: 200% 100%;
}

/* Loading state with shimmer animation */
.tt-single-carousel--loading {
	animation: tt-skeleton-shimmer 1.5s infinite ease-in-out;
}

.tt-single-carousel__track {
	display: flex;
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	min-height: 100%;
	border-radius: 20px;
}

.tt-single-carousel__slide {
	flex: 0 0 100%;
	width: 100%;
	aspect-ratio: 16 / 10;
	min-height: 280px;
	position: relative;
	background: #e5e5e5;
}

.tt-single-carousel__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Video slide — fills the same space as an image slide */
.tt-single-carousel__slide--video {
	background: #000;
}
.tt-single-carousel__video {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
}

/* Video play overlay */
.tt-video-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.25);
	cursor: pointer;
	z-index: 5;
	transition: opacity 0.2s ease;
}
.tt-video-overlay--hidden {
	opacity: 0;
	pointer-events: none;
}
.tt-video-play-btn {
	width: 64px !important;
	height: 64px !important;
	min-width: 64px !important;
	min-height: 64px !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.92) !important;
	border: none !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #171717 !important;
	cursor: pointer !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease !important;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5) !important;
	backdrop-filter: blur(10px) !important;
	-webkit-backdrop-filter: blur(10px) !important;
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1 !important;
}
.tt-video-play-btn svg {
	margin-left: 3px; /* optical center for triangle */
	flex-shrink: 0;
}
.tt-video-overlay:hover .tt-video-play-btn {
	transform: scale(1.08) !important;
	box-shadow: 0 6px 28px rgba(0, 0, 0, 0.6) !important;
}

/* Video dot — pill shape to distinguish from image dots */
.tt-single-carousel__dot--video {
	border-radius: 4px !important;
	width: 12px !important;
}

/* Hero icon buttons (back, share, like) - Lovable exact style */
/* Override event-reaction_sp and Flatsome button resets with !important */
.tt-single-hero__icon,
.tt-single-hero__icon.event-reaction_sp {
	position: absolute !important;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	min-height: 40px !important;
	border-radius: 50% !important;
	border: none !important;
	background: rgba(255, 255, 255, 0.9) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #171717 !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	z-index: 10 !important;
	backdrop-filter: blur(10px) !important;
	-webkit-backdrop-filter: blur(10px) !important;
	padding: 0 !important;
	margin: 0 !important;
	overflow: hidden !important;
}

.tt-single-hero__icon .tt-icon {
	width: 20px;
	height: 20px;
}

.tt-single-hero__icon:hover,
.tt-single-hero__icon.event-reaction_sp:hover {
	transform: scale(1.05) !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.tt-single-hero__icon:active {
	transform: scale(0.95);
}

/* Back button - Lovable exact match: white circle, top-left inside image */
.tt-single-hero__icon--back {
	position: absolute !important;
	top: 16px !important;
	left: 16px !important;
	background: rgba(255, 255, 255, 0.9) !important;
	color: #171717 !important;
	z-index: 10 !important;
}

.tt-single-hero__icon--back:hover {
	background: rgba(255, 255, 255, 1) !important;
}

/* Share/Like buttons - Lovable exact match: semi-transparent dark circles */
.tt-single-hero__icon--dark {
	background: rgba(0, 0, 0, 0.35) !important;
	color: #ffffff !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.tt-single-hero__icon--dark:hover {
	background: rgba(0, 0, 0, 0.5) !important;
	transform: scale(1.05);
}

.tt-single-reaction-btn .tt-icon {
	stroke: #ffffff !important;
}

/* Liked state - keep white filled heart without red accent */
.tt-single-hero__icon--liked {
	background: rgba(0, 0, 0, 0.35) !important;
	color: #ffffff !important;
}

.tt-single-hero__icon--liked .tt-icon {
	fill: #ffffff;
}

/* Actions group (share + like) - positioned top-right inside image */
.tt-single-hero__actions {
	position: absolute !important;
	top: 16px !important;
	right: 16px !important;
	display: inline-flex;
	gap: 10px;
	z-index: 10;
}

.tt-single-hero__actions .tt-single-hero__icon {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
}

/* Carousel navigation arrows */
.tt-single-carousel__nav {
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
	min-height: 36px !important;
	background: rgba(0, 0, 0, 0.4) !important;
	border: none !important;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	z-index: 5 !important;
	color: #ffffff !important;
	backdrop-filter: blur(4px) !important;
	-webkit-backdrop-filter: blur(4px) !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.tt-single-carousel__nav:hover {
	background: rgba(0, 0, 0, 0.6) !important;
	box-shadow: none !important;
}

.tt-single-carousel__nav--prev {
	left: 16px !important;
	right: auto !important;
}

.tt-single-carousel__nav--next {
	right: 16px !important;
	left: auto !important;
}

.tt-single-carousel__nav .tt-icon {
	width: 18px !important;
	height: 18px !important;
	flex-shrink: 0;
}

/* Carousel dots — hidden, counter is used instead */
.tt-single-carousel__dots {
	display: none;
}

.tt-single-carousel__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
	padding: 0;
}

.tt-single-carousel__dot--active {
	background: #fff;
	width: 20px;
	border-radius: 999px;
}

/* Carousel count badge */
.tt-single-carousel__count {
	position: absolute;
	bottom: 16px;
	right: 16px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.03em;
	z-index: 2;
	display: flex;
	justify-content: flex-end;
	width: 40px;
}

/* Hide nav/dots/count when only 1 image */
.tt-single-carousel--single .tt-single-carousel__nav,
.tt-single-carousel--single .tt-single-carousel__dots,
.tt-single-carousel--single .tt-single-carousel__count {
	display: none;
}

/* ──────── FEATURED BADGE (Lovable Design) ──────── */
.tt-single-badge {
	position: absolute;
	bottom: 16px;
	left: 16px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 25px;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	width: fit-content;
	z-index: 3;
}

.tt-single-badge .tt-icon {
	width: 12px;
	height: 12px;
}


/* ──────── EVENT HEADER (Title + Byline) - Lovable Design ──────── */
.tt-single-title {
	font-size: 26px;
	font-weight: 700;
	color: var(--tt-foreground, #171717);
	line-height: 1.25;
	margin: 0 0 6px;
	letter-spacing: -0.02em;
}

.tt-single-byline {
	margin: 0 0 20px;
	font-size: 15px;
	color: var(--tt-muted-foreground, #737373);
}

.tt-single-byline__link {
	color: var(--tt-foreground, #171717);
	font-weight: 600;
	text-decoration: none;
	transition: color 0.15s ease;
}

.tt-single-byline__link:hover {
	text-decoration: underline;
}

.tt-single-byline__link--channel {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tt-single-byline__link--channel:hover {
	text-decoration: underline;
	opacity: 0.8;
}

@media (min-width: 768px) {
	.tt-single-title {
		font-size: 30px;
	}
	.tt-single-byline {
		font-size: 16px;
	}
}

/* ──────── DESKTOP TYPOGRAPHY SYSTEM (≥ 1025px, Single Event Page) ──────── */
/* Shared tokens — reuse these classes across the app on desktop */
@media (min-width: 1025px) {
	:root {
		--tt-se-title-size: 26px;  /* 1. Main event title */
		--tt-se-body-size: 14px;   /* 2. Standard body text */
		--tt-se-small-size: 13px;  /* 3. Small supporting text */
	}

	/* 1. Main event title */
	.tt-single-title {
		font-size: var(--tt-se-title-size);
	}

	/* 2. Standard body text — byline, meta rows, description, view more */
	.tt-single-byline {
		font-size: var(--tt-se-body-size);
		margin-bottom: 10px;
	}

	.tt-single-meta-row,
	.tt-single-meta-title {
		font-size: var(--tt-se-body-size);
	}

	/* 4. Description paragraphs */
	.tt-single-desc {
		font-size: var(--tt-se-body-size);
		line-height: 1.4;
	}

	.tt-single-desc p {
		margin-bottom: 0.8em;
	}

	/* 3. Small supporting text */
	.tt-single-meta-sub {
		font-size: var(--tt-se-small-size);
	}

	/* 6. Tags / chips */
	.tt-single-tag {
		background: #F9F9F9;
	}
}

/* ──────── META CARD (Lovable Design) ──────── */
.tt-single-meta-card {
	background: #fff;
	border: none;
	border-radius: 16px;
	overflow: visible;
	margin: 0 0 10px;
}

.tt-single-meta-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 0;
	font-size: 14px;
	color: var(--tt-muted-foreground, #737373);
	transition: background 0.15s ease;
}


.tt-single-meta-row + .tt-single-meta-row {
	border-top: 1px solid var(--tt-border, #e5e5e5);
}

/* ──────── ADD TO CALENDAR ──────── */
.tt-atc-wrap {
	position: relative;
	flex-shrink: 0;
	margin-left: auto;
}
.tt-atc-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	border: 1px solid var(--tt-border, #e5e5e5);
	background: transparent;
	color: var(--tt-foreground, #171717);
	cursor: pointer;
	transition: background 0.15s;
}
.tt-atc-btn:hover {
	background: var(--tt-muted, #f5f5f5);
}
.tt-atc-dropdown {
	display: none;
	position: absolute;
	right: 0;
	top: calc(100% + 6px);
	min-width: 196px;
	background: #ffffff;
	border: 1px solid var(--tt-border, #e5e5e5);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
	z-index: 200;
	overflow: hidden;
}
.tt-atc-dropdown--open {
	display: block;
}
.tt-atc-option {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 10px !important;
	padding: 12px 14px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: var(--tt-foreground, #171717) !important;
	text-decoration: none !important;
	cursor: pointer !important;
	width: 100% !important;
	border: none !important;
	background: none !important;
	text-align: left !important;
	transition: background 0.12s !important;
	line-height: 1 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	margin: 0 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
}
.tt-atc-option:hover {
	background: var(--tt-muted, #f5f5f5);
}
.tt-atc-option + .tt-atc-option {
	border-top: 1px solid var(--tt-border, #e5e5e5) !important;
}
.tt-atc-option .tt-icon {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	display: block;
}
.tt-atc-option__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: var(--tt-muted, #f5f5f5);
	flex-shrink: 0;
}
.tt-atc-option__icon .tt-icon {
	width: 16px;
	height: 16px;
}

.tt-single-meta-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: none;
	background: var(--tt-muted, #f5f5f5);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--tt-muted-foreground, #737373);
	flex-shrink: 0;
}

.tt-single-meta-icon .tt-icon {
	width: 20px;
	height: 20px;
}

.tt-single-meta-main {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
	min-width: 0;
}

.tt-single-meta-title {
	color: var(--tt-foreground, #171717);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.35;
}

.tt-single-meta-sub {
	font-size: 13px;
	color: var(--tt-muted-foreground, #737373);
}

/* Recurring text row — italic muted, primary count */
.tt-single-meta-recurring {
	font-style: italic;
}

.tt-single-recurring-count {
	color: var(--tt-primary, #171717);
	font-weight: 600;
	font-style: normal;
}

/* Map link styling */
.tt-single-meta-sub a,
.tt-single-meta-sub .tt-meta-map-link {
	color: #000 !important;
	font-weight: 600 !important;
	text-decoration: underline !important;
	cursor: pointer !important;
}

/* Reset button defaults for map button */
button.tt-meta-map-link {
	background: none;
	border: none;
	padding: 0;
	font-size: inherit;
	font-family: inherit;
}


/* ──────── BOOK NOW BUTTON (Lovable Design) ──────── */
.tt-single-book {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 16px 24px;
	background: var(--tt-foreground, #171717);
	color: #fff;
	border: none;
	border-radius: 14px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s ease;
	margin: 0 0 20px 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tt-single-book:hover {
	background: #2d2d2d;
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tt-single-book:active {
	transform: scale(0.98);
}

.tt-single-book .tt-icon {
	width: 18px;
	height: 18px;
}

/* Disabled state */
.tt-single-book--disabled {
	background: #d1d5db;
	cursor: not-allowed;
	box-shadow: none;
}

.tt-single-book--disabled:hover {
	background: #d1d5db;
	transform: none;
	box-shadow: none;
}

/* ──────── DESCRIPTION (Lovable Design) ──────── */
.tt-single-desc-section {
	margin-top: 0px;
}

.tt-single-desc {
	font-size: 15px;
	line-height: 1.7;
	color: var(--tt-muted-foreground, #737373);
	max-width: 100%;
	overflow: hidden;
	position: relative;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.tt-single-desc__content {
	display: block;
	color: #666666;
}

.tt-single-desc p {
	margin: 0 0 16px 0;
	line-height: 1.4;
	margin-bottom: 0.8em;
}

.tt-single-desc p:last-child {
	margin-bottom: 0;
}

.tt-single-desc a {
	color: var(--tt-foreground, #171717);
	text-decoration: underline;
	font-weight: 500;
}

.tt-single-desc a:hover {
	text-decoration: none;
}

.tt-single-desc ul,
.tt-single-desc ol {
	padding-left: 20px;
	margin: 0 0 16px 0;
}

.tt-single-desc li {
	margin-bottom: 8px;
}

/* ──────── CATEGORY TAGS (Lovable Design) ──────── */
.tt-single-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.tt-single-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	background: #f9f9f9;
	border: 1px solid var(--tt-border, #e5e5e5);
	color: var(--tt-foreground, #171717);
	transition: all 0.15s ease;
}

.tt-single-tag:hover {
	background: var(--tt-muted, #f5f5f5);
}

/* ──────── CANCELLED / PAST EVENT NOTICE ──────── */
.tt-single-notice {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 14px;
	color: #991b1b;
	font-size: 14px;
	font-weight: 500;
	margin: 16px 0;
}

.tt-single-notice--past {
	background: var(--tt-muted, #f5f5f5);
	border-color: var(--tt-border, #e5e5e5);
	color: var(--tt-muted-foreground, #737373);
}

.tt-single-meta-card--past .tt-single-meta-row--datetime .tt-single-meta-title,
.tt-single-meta-card--cancelled .tt-single-meta-row--datetime .tt-single-meta-title {
	color: var(--tt-muted-foreground, #737373);
	text-decoration: line-through;
}

.tt-single-notice .tt-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* ──────── RELATED EVENTS (You May Also Like) - Lovable Design ──────── */
.tt-single-related {
	margin-top: 32px;
}

.tt-single-related__title {
	font-size: 24px;
	font-weight: 700;
	color: var(--tt-foreground, #171717);
	margin: 0 0 16px 0;
	letter-spacing: -0.02em;
}

@media (max-width: 768px) {
	.tt-single-related__title {
		font-size: 20px;
	}
}

.tt-single-related__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tt-single-related__item {
	display: grid;
	grid-template-columns: 72px 1fr auto;
	gap: 14px;
	align-items: center;
	padding: 14px;
	border-radius: 16px;
	border: 1px solid var(--tt-border, #e5e5e5);
	background: var(--tt-muted, #f5f5f5);
	text-decoration: none;
	transition: all 0.2s ease;
}

.tt-single-related__item:hover {
	background: #ebebeb;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	text-decoration: none;
}

.tt-single-related__thumb {
	width: 72px;
	height: 72px;
	border-radius: 14px;
	object-fit: cover;
	background: #e5e5e5;
	flex-shrink: 0;
}

/* Fix for broken/missing images - guaranteed dimensions */
.tt-single-related__thumb-wrapper {
	width: 72px;
	height: 72px;
	min-width: 72px;
	min-height: 72px;
	border-radius: 14px;
	overflow: hidden;
	background: linear-gradient(135deg, #e8e8e8 25%, #f0f0f0 50%, #e8e8e8 75%);
	background-size: 200% 100%;
	flex-shrink: 0;
	position: relative;
}

/* Shimmer animation for loading state */
.tt-single-related__thumb-wrapper:not(:has(img[src])) {
	animation: tt-skeleton-shimmer 1.5s infinite ease-in-out;
}

.tt-single-related__thumb-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}

/* Fallback icon for broken images */
.tt-single-related__thumb-wrapper img[src=""],
.tt-single-related__thumb-wrapper img:not([src]) {
	opacity: 0;
}

.tt-single-related__info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.tt-single-related__time {
	font-size: 13px;
	color: var(--tt-muted-foreground, #737373);
	font-weight: 500;
}

.tt-single-related__name {
	font-size: 15px;
	font-weight: 600;
	color: var(--tt-foreground, #171717);
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tt-single-related__venue {
	font-size: 13px;
	color: var(--tt-muted-foreground, #737373);
	display: flex;
	align-items: center;
	gap: 5px;
}

.tt-single-related__venue .tt-icon {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
}

.tt-single-related__chevron {
	color: #c0c0c0;
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.tt-single-related__chevron .tt-icon {
	width: 18px;
	height: 18px;
}


/* ──────── SHARE MODAL (overlay + open state) ──────── */
.tt-share-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
}

.tt-share-modal--open {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ──────── SHARE CLASSIC ──────── */
.tt-share-classic {
	position: relative;
	background: #fff;
	border-radius: 16px;
	border: 1px solid #e5e5e5;
	width: calc(100% - 30px);
	max-width: 448px;
	max-height: calc(100vh - 80px);
	overflow-y: auto;
	box-shadow: 0 8px 32px rgba(0,0,0,0.15);
	z-index: 1;
}
/* Header row */
.tt-share-classic__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 16px 0;
}
.tt-share-classic__header h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #09090b;
}
.tt-share-classic__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	min-width: 32px;
	min-height: 32px;
	border: none;
	background: transparent;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	color: #71717a;
	cursor: pointer;
	transition: background 0.15s;
	margin: 0 !important;
	padding: 0 !important;
}
.tt-share-classic__close:hover { background: #f5f5f5; color: #09090b; }
/* Preview block */
.tt-share-classic__preview {
	margin: 12px 16px;
	background: #fafafa;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 13px;
	color: #3f3f46;
	line-height: 1.8;
	word-break: break-word;
}
/* Divider */
.tt-share-classic__divider {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 16px 12px;
	color: #a1a1aa;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.tt-share-classic__divider::before,
.tt-share-classic__divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #e5e5e5;
}
/* Button grid */
.tt-share-classic__options {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 16px 16px;
}
.tt-share-classic__row {
	display: flex;
	gap: 8px;
}
.tt-share-classic__btn {
	flex: 1;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px;
	height: 46px;
	min-height: 46px;
	white-space: nowrap;
	overflow: hidden;
	border: 1px solid #e5e5e5 !important;
	border-radius: 10px !important;
	background: #fff !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: inherit;
	cursor: pointer;
	text-decoration: none !important;
	line-height: 1 !important;
	padding: 0 12px !important;
	box-shadow: none !important;
	transition: background 0.15s, border-color 0.15s;
	margin: 0 !important;
}
.tt-share-classic__btn:hover {
	background: #f5f5f5 !important;
	border-color: #d4d4d8 !important;
	text-decoration: none !important;
}
.tt-share-classic__btn .dashicons {
	font-size: 18px !important;
	width: 18px !important;
	height: 18px !important;
	line-height: 1 !important;
}
.tt-share-classic__btn i { font-size: 16px !important; }

.tt-share-modal__overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.tt-share-modal__dialog {
	position: relative;
	width: min(480px, 92vw);
	background: #fff;
	border-radius: 20px;
	padding: 24px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	z-index: 1;
}

.tt-share-modal__header {
	text-align: center;
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 20px;
	color: var(--tt-foreground, #171717);
}

.tt-share-modal__close {
	all: unset;
	position: absolute;
	top: 16px;
	right: 16px;
	width: 36px !important;
	height: 36px !important;
	min-width: 36px;
	min-height: 36px;
	border-radius: 50% !important;
	border: none !important;
	background: var(--tt-muted, #f5f5f5) !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.15s ease;
	color: var(--tt-foreground, #171717) !important;
	padding: 0 !important;
	box-sizing: border-box;
	line-height: 1;
}

.tt-share-modal__close:hover {
	background: #e5e5e5 !important;
}

.tt-share-modal__close .tt-icon {
	width: 18px !important;
	height: 18px !important;
	display: block;
}

.tt-share-modal__content {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Social sharing buttons row */
.tt-share-social {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	padding: 0 8px;
}

.tt-share-social__item {
	all: unset;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-family: var(--tt-font-family);
	transition: transform 0.15s ease;
}

.tt-share-social__item:hover {
	transform: translateY(-2px);
}

.tt-share-social__icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--tt-muted, #f5f5f5);
	color: var(--tt-foreground, #171717);
	transition: all 0.15s ease;
	border: none;
	padding: 0;
}

.tt-share-social__icon .tt-icon {
	width: 22px !important;
	height: 22px !important;
	display: block;
}

.tt-share-social__label {
	font-size: 11px;
	color: var(--tt-muted-foreground, #737373);
	font-weight: 500;
}

/* Platform-specific colors */
.tt-share-social__icon--secondary {
	background: var(--tt-muted, #f5f5f5);
	color: var(--tt-foreground, #171717);
}

.tt-share-social__icon--secondary:hover {
	background: #e5e5e5;
}

.tt-share-social__icon--facebook {
	background: #1877F2;
	color: #fff;
}

.tt-share-social__icon--facebook:hover {
	background: #1565d8;
}

.tt-share-social__icon--twitter {
	background: #000;
	color: #fff;
}

.tt-share-social__icon--twitter:hover {
	background: #333;
}

.tt-share-social__icon--whatsapp {
	background: #25D366;
	color: #fff;
}

.tt-share-social__icon--whatsapp:hover {
	background: #1fb855;
}

.tt-share-social__icon--instagram {
	background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	color: #fff;
}

.tt-share-social__icon--tiktok {
	background: #000;
	color: #fff;
}

.tt-share-social__icon--tiktok:hover {
	background: #333;
}

/* Copied state */
.tt-share-social__item.is-copied .tt-share-social__icon {
	background: #22c55e;
	color: #fff;
}

.tt-share-social__item.is-copied .tt-share-social__label {
	color: #22c55e;
}

/* Flyer preview carousel */
.tt-share-flyer {
	position: relative;
	margin: 0 -8px;
	padding: 0 8px;
}

.tt-share-flyer__viewport {
	overflow: hidden;
	border-radius: 16px;
}

.tt-share-flyer__track {
	display: flex;
	gap: 16px;
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tt-share-flyer__slide {
	flex: 0 0 62%;
}

.tt-share-flyer-card {
	width: 100%;
	aspect-ratio: 4 / 5;
	border-radius: 20px;
	padding: 0;
	display: flex;
	flex-direction: column;
	position: relative;
	background: #fff;
	border: 1px solid #d1d5db;
	color: #171717;
	overflow: hidden;
	box-sizing: border-box;
	box-shadow: 0 14px 34px rgba(17, 24, 39, 0.14);
	clip-path: none !important;
	-webkit-clip-path: none !important;
	mask: none !important;
	isolation: isolate;
}

.tt-share-flyer-card--dark {
	background: #111827;
	border: 1px solid rgba(148, 163, 184, 0.3);
	color: #f9fafb;
}

.tt-share-flyer-card--colorful {
	background: linear-gradient(165deg, #fff1df 0%, #ffe8f5 100%);
	border: 1px solid rgba(255, 255, 255, 0.8);
	color: #1f2937;
}

.tt-share-flyer-card__image {
	position: relative;
	flex: 0 0 58%;
	margin: 0;
	border-radius: 0;
	overflow: hidden;
	clip-path: none !important;
	-webkit-clip-path: none !important;
}

.tt-share-flyer-card__img {
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	object-fit: cover;
	display: block;
}

.tt-share-flyer-card__image-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(17, 24, 39, 0.08) 38%, rgba(17, 24, 39, 0.78) 100%);
}

.tt-share-flyer-card--dark .tt-share-flyer-card__image-overlay {
	background: linear-gradient(180deg, rgba(2, 6, 23, 0.12) 32%, rgba(2, 6, 23, 0.9) 100%);
}

.tt-share-flyer-card--colorful .tt-share-flyer-card__image-overlay {
	background: linear-gradient(180deg, rgba(17, 24, 39, 0.08) 34%, rgba(17, 24, 39, 0.72) 100%);
}

.tt-share-flyer-card__title {
	position: absolute;
	left: 14px;
	right: 88px;
	bottom: 12px;
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.28;
	color: #ffffff;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.tt-share-flyer-card__date {
	position: absolute;
	top: 12px;
	right: 12px;
	text-align: center;
	padding: 8px 9px;
	border-radius: 14px;
	background: #ffffff;
	color: #111827;
	min-width: 54px;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
	z-index: 1;
}

.tt-share-flyer-card--dark .tt-share-flyer-card__date {
	background: rgba(15, 23, 42, 0.9);
	color: #f8fafc;
}

.tt-share-flyer-card--colorful .tt-share-flyer-card__date {
	background: rgba(255, 255, 255, 0.94);
}

.tt-share-flyer-card__month {
	font-size: 9px;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.05em;
	display: block;
}

.tt-share-flyer-card__day {
	font-size: 26px;
	font-weight: 800;
	line-height: 1.1;
	display: block;
}

.tt-share-flyer-card__time {
	font-size: 9px;
	margin-top: 2px;
	font-weight: 600;
	display: block;
}

.tt-share-flyer-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 12px 12px;
	flex: 1;
	min-height: 0;
	justify-content: flex-start;
}

.tt-share-flyer-card__byline {
	font-size: 11px;
	font-weight: 600;
	color: #4b5563;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tt-share-flyer-card--dark .tt-share-flyer-card__byline {
	color: rgba(226, 232, 240, 0.86);
}

.tt-share-flyer-card--colorful .tt-share-flyer-card__byline {
	color: #4b5563;
}

.tt-share-flyer-card__venue {
	display: flex;
	align-items: flex-start;
	gap: 4px;
	font-size: 11px;
	line-height: 1.3;
	color: #4b5563;
	overflow: hidden;
}

.tt-share-flyer-card__venue span {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.tt-share-flyer-card__venue .tt-icon {
	width: 11px;
	height: 11px;
	flex-shrink: 0;
	margin-top: 1px;
}

.tt-share-flyer-card--dark .tt-share-flyer-card__venue {
	color: rgba(226, 232, 240, 0.86);
}

.tt-share-flyer-card--colorful .tt-share-flyer-card__venue {
	color: #4b5563;
}

.tt-share-flyer-card__cta {
	padding: 8px 10px;
	border-radius: 999px;
	text-align: center;
	margin: 6px 0 0;
	background: #111827;
	border: none;
	font-size: 11px;
	font-weight: 600;
	color: #fff;
	letter-spacing: 0.01em;
}

.tt-share-flyer-card__cta strong {
	font-weight: 800;
}

.tt-share-flyer-card--dark .tt-share-flyer-card__cta {
	background: #f9fafb;
	border: none;
	color: #0f172a;
}

.tt-share-flyer-card--colorful .tt-share-flyer-card__cta {
	background: #1f2937;
	border: none;
	color: #ffffff;
}

.tt-share-flyer-card__footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	margin-top: 6px;
}

.tt-share-flyer-card__logo {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}

.tt-share-flyer-card__brand {
	font-size: 11px;
	font-weight: 600;
	opacity: 0.75;
}

/* Flyer navigation arrows (hidden on mobile) */
.tt-share-flyer__nav {
	all: unset;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 32px !important;
	height: 32px !important;
	min-width: 32px;
	min-height: 32px;
	border-radius: 50% !important;
	border: 1px solid var(--tt-border, #e5e5e5) !important;
	background: #fff !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	display: flex !important;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 2;
	transition: all 0.15s ease;
	padding: 0 !important;
	box-sizing: border-box;
	color: var(--tt-foreground, #171717) !important;
	line-height: 1;
}

.tt-share-flyer__nav:hover {
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.tt-share-flyer__nav .tt-icon {
	width: 16px !important;
	height: 16px !important;
	display: block;
}

.tt-share-flyer__nav--prev {
	left: -4px;
}

.tt-share-flyer__nav--next {
	right: -4px;
}

.tt-share-flyer__nav:disabled {
	opacity: 0.3;
	cursor: default;
}

/* Flyer dots */
.tt-share-flyer__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 4px;
	padding: 0;
}

.tt-share-flyer__dot {
	all: unset;
	width: 8px !important;
	height: 8px !important;
	min-width: 8px;
	min-height: 8px;
	border-radius: 50% !important;
	background: rgba(115, 115, 115, 0.3) !important;
	border: none !important;
	cursor: pointer;
	padding: 0 !important;
	transition: all 0.15s ease;
	box-sizing: border-box;
	display: block;
	flex-shrink: 0;
}

.tt-share-flyer__dot--active {
	background: var(--tt-foreground, #171717) !important;
}

/* Download flyer button */
.tt-share-download {
	all: unset;
	width: 100%;
	padding: 14px 20px;
	border-radius: 14px;
	background: var(--tt-foreground, #171717);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	cursor: pointer;
	box-sizing: border-box;
	transition: all 0.2s ease;
}

.tt-share-download:hover {
	background: #2d2d2d;
}

.tt-share-download .tt-icon {
	width: 18px !important;
	height: 18px !important;
	display: block;
}

.tt-share-download.is-loading {
	opacity: 0.7;
	cursor: progress;
}

body.tt-share-modal-open {
	overflow: hidden;
}

/* ──────── SHARE OVERLAY — base styles (ported from channel share) ──────── */

@keyframes ttShareFadeIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}
@keyframes ttShareSlideIn {
	from { opacity: 0; transform: translateY(28px) scale(0.97); }
	to   { opacity: 1; transform: translateY(0)     scale(1); }
}

.tt-share-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(0, 0, 0, 0.45);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}
.tt-share-overlay.tt-share-open {
	display: flex;
	animation: ttShareFadeIn 0.22s ease both;
}
body.tt-share-active { overflow: hidden; }

.tt-share-wrap {
	background: #fff;
	border-radius: 20px;
	width: 100%;
	max-width: 500px;
	max-height: 90vh;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	animation: ttShareSlideIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tt-share-header {
	display: flex;
	align-items: center;
	padding: 20px 52px 16px 20px;
	border-bottom: 1px solid #f0f0f0;
	flex-shrink: 0;
}
.tt-share-title {
	font-size: 17px !important;
	font-weight: 700 !important;
	color: #212121 !important;
	margin: 0 !important;
	line-height: 1.2 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
}

.tt-share-close {
	position: absolute !important;
	top: 14px !important;
	right: 14px !important;
	width: 30px !important;
	height: 30px !important;
	min-height: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 50% !important;
	background: #f0f0f0 !important;
	border: none !important;
	cursor: pointer !important;
	padding: 0 !important;
	color: #616161 !important;
	transition: background 0.15s !important;
	line-height: 1 !important;
	margin: 0 !important;
}
.tt-share-close:hover { background: #e0e0e0 !important; }
.tt-share-close svg {
	stroke: #616161 !important;
	display: block !important;
	width: 18px !important;
	height: 18px !important;
	flex-shrink: 0;
}

.tt-share-body {
	padding: 20px 20px 24px;
	overflow-y: auto;
	overflow-x: hidden;
	flex: 1;
	scrollbar-width: none;
}
.tt-share-body::-webkit-scrollbar { display: none; }

.tt-share-icons-row {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: nowrap;
	margin-bottom: 20px;
}
.tt-share-btn {
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	-webkit-tap-highlight-color: transparent;
}
.tt-share-icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition: opacity 0.15s;
	flex-shrink: 0;
}
.tt-share-btn:hover .tt-share-icon { opacity: 0.85; }
.tt-share-icon svg {
	width: 20px !important;
	height: 20px !important;
	flex-shrink: 0;
}
.tt-share-icon--copy      { background: #e8e8e8; color: #333; }
.tt-share-icon--facebook  { background: #1877F2; }
.tt-share-icon--x         { background: #000; }
.tt-share-icon--whatsapp  { background: #25D366; }
.tt-share-icon--instagram { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.tt-share-icon--tiktok    { background: #010101; }
.tt-share-label {
	font-size: 10px;
	color: #666;
	white-space: nowrap;
	text-transform: none !important;
	letter-spacing: normal !important;
}

.tt-share-flyer-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
}

.tt-flyer-download-btn {
	display: flex;
	align-items: center;
	line-height: inherit;
	margin: 0;
	justify-content: center;
	gap: 8px;
	width: 100%;
	background: #111;
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 14px 20px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s;
	box-sizing: border-box;
	text-transform: none !important;
	letter-spacing: normal !important;
}
.tt-flyer-download-btn svg {
	width: 16px !important;
	height: 16px !important;
	flex-shrink: 0;
}
.tt-flyer-download-btn:hover:not(:disabled) { background: #2a2a2a; }
.tt-flyer-download-btn:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

/* Copy-link icon copied state */
.tt-share-icon--copy.tt-share-icon--copied {
	background: #22c55e !important;
	color: #fff !important;
}

/* ──────── EVENT SHARE MODAL — Flyer/Text tabs (Lovable Design) ──────── */

/* Tab toggle bar */
.tt-share-tabs {
	display: flex;
	background: #f5f5f5;
	border-radius: 12px;
	padding: 4px;
	gap: 4px;
	margin-bottom: 16px;
}
.tt-share-tab {
	all: unset;
	flex: 1;
	text-align: center;
	padding: 8px 0;
	font-size: 14px;
	font-weight: 500;
	border-radius: 9px;
	cursor: pointer;
	color: #737373;
	transition: all 0.15s ease;
	box-sizing: border-box;
	line-height: 1.4;
}
.tt-share-tab--active {
	background: #fff;
	color: #171717;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Tab panels */
.tt-share-tab-panel {
	display: none;
	flex-direction: column;
	gap: 16px;
}
.tt-share-tab-panel--active {
	display: flex;
}

/* Event flyer card — full-bleed 4:5 */
.tt-event-flyer {
	position: relative;
	width: 100%;
	max-width: 300px;
	margin: 0 auto;
	aspect-ratio: 4 / 5;
	border-radius: 16px;
	overflow: hidden;
	background: transparent;
}
@supports not (aspect-ratio: 4 / 5) {
	.tt-event-flyer::before {
		content: '';
		display: block;
		padding-top: 125%;
	}
	.tt-event-flyer > * { position: absolute; }
}
.tt-event-flyer__img {
	position: absolute;
	inset: -2px;
	width: calc(100% + 4px);
	height: calc(100% + 4px);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.tt-event-flyer__gradient {
	position: absolute;
	inset: -2px;
	width: calc(100% + 4px);
	height: calc(100% + 4px);
	background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.52) 38%, transparent 62%);
	pointer-events: none;
}

/* Branding badge — top right */
/* Branding badge — matches channel share .tt-flyer-brand exactly */
.tt-event-flyer .tt-flyer-brand {
	position: absolute;
	top: 16px;
	right: 16px;
	display: flex;
	align-items: center;
	background: rgba(0, 0, 0, 0.45);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-radius: 999px;
	padding: 6px 12px 6px 6px;
}
.tt-event-flyer .tt-flyer-brand img {
	height: 22px;
	width: auto;
	object-fit: contain;
	display: block;
}

/* Date badge — top left */
.tt-event-flyer__date {
	position: absolute;
	top: 16px;
	left: 16px;
	text-align: center;
	padding: 8px 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.95);
	color: #171717;
}
.tt-event-flyer__month {
	display: block;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin-bottom: 3px;
}
.tt-event-flyer__day {
	display: block;
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
}

/* Bottom content */
.tt-event-flyer__bottom {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 20px;
	color: #fff !important;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.tt-event-flyer__title {
	font-size: 22px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	margin: 0 !important;
	color: #fff !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	letter-spacing: -0.01em !important;
	text-transform: none !important;
}
.tt-event-flyer__time,
.tt-event-flyer__venue {
	font-size: 14px !important;
	font-weight: 500 !important;
	color: rgba(255, 255, 255, 0.85) !important;
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tt-event-flyer__by {
	font-size: 13px !important;
	font-weight: 500 !important;
	color: rgba(255, 255, 255, 0.6) !important;
	margin: 0 !important;
}

/* Text preview box */
.tt-share-text-preview {
	background: rgba(0, 0, 0, 0.04);
	border: 1px solid #e5e5e5;
	border-radius: 16px;
	padding: 16px;
	white-space: pre-wrap;
	font-size: 14px;
	line-height: 1.65;
	font-family: inherit;
	color: #171717;
	margin: 0;
	word-break: break-word;
}

/* ──────── MOBILE ADJUSTMENTS (Lovable Design) ──────── */
@media (max-width: 480px) {
	.tt-share-icons-row { gap: 8px; }
	.tt-share-icon { width: 40px; height: 40px; }
}

@media (max-width: 800px) {
	/* On mobile, single event takes full width (no sidebar) */
	.tt-single-event-row .event_sidebar {
		display: none;
	}

	.tt-single-event-container {
		max-width: 100%;
		padding: 15px 15px 15px;
	}

	.tt-single-skeleton {
		max-width: 100%;
	}

	.tt-single-carousel {
		border-radius: 16px;
	}

	.tt-single-carousel__slide {
		min-height: 220px;
	}
}

@media (max-width: 768px) {
	/* Share modal - bottom sheet style on mobile */
	.tt-share-modal--open {
		padding-top: 0;
		align-items: center;
	}

	.tt-share-modal__dialog {
		width: 100%;
		max-width: 100%;
		border-radius: 20px 20px 0 0;
		max-height: 85vh;
		padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px));
	}

	.tt-share-flyer__slide {
		flex: 0 0 78%;
	}

	.tt-share-flyer__nav {
		display: none;
	}

	/* Related events - smaller thumbnail on mobile */
	.tt-single-related__item {
		grid-template-columns: 64px 1fr auto;
		gap: 12px;
		padding: 12px;
	}

	.tt-single-related__thumb,
	.tt-single-related__thumb-wrapper {
		width: 64px;
		height: 64px;
		border-radius: 12px;
	}

	.tt-single-related__name {
		font-size: 14px;
	}

	.tt-single-related__time,
	.tt-single-related__venue {
		font-size: 12px;
	}

	/* Title adjustments */
	.tt-single-title {
		font-size: 24px;
	}

	/* Meta card adjustments */
	.tt-single-meta-row {
		padding: 12px 0;
		gap: 12px;
	}

	.tt-single-meta-icon {
		width: 40px;
		height: 40px;
	}

	.tt-single-meta-title {
		font-size: 14px;
	}

	/* Book button */
	.tt-single-book {
		padding: 14px 20px;
		font-size: 15px;
	}
}

/* Section view open — collapse sidebar gap so content is full-width */
.event_listing_main:has(.tt-section-view) {
	gap: 0 !important;
}

/* Section view open — remove top padding from listing data */
#main > .row.row-main.event-listing-row .event_listing_main:has(.tt-section-view) .event_listing_data,
.tt-single-event-row .event_listing_main:has(.tt-section-view) .event_listing_data {
	padding-top: 0 !important;
}

@media (max-width: 480px) {
	/* Max-width 448px centered — mobile app feel */
	.tt-single-event-container {
		max-width: 448px;
		margin-left: auto;
		margin-right: auto;
		padding: 15px 15px 15px;
	}

	/* Square image ratio on small screens (Lovable: aspect-square) */
	.tt-single-carousel__slide {
		aspect-ratio: 1 / 1;
		min-height: unset;
	}

	.tt-single-hero__icon {
		width: 36px;
		height: 36px;
	}

	.tt-single-hero__icon .tt-icon {
		width: 18px;
		height: 18px;
	}

	.tt-single-hero__icon--back {
		top: 12px !important;
		left: 12px !important;
	}

	.tt-single-hero__actions {
		top: 12px !important;
		right: 12px !important;
	}

	.tt-single-carousel__nav {
		width: 32px;
		height: 32px;
	}

	.tt-share-flyer__slide {
		flex: 0 0 88%;
	}
}

/* ──────── Venue row — place name link ──────── */
.tt-venue-name-link {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	text-decoration: none;
	color: inherit;
	font-weight: 600;
}

.tt-venue-name-link:hover {
	text-decoration: underline;
}

.tt-venue-name-link .tt-icon {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

/* External map link icon */
.tt-single-meta-ext-link {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--tt-muted-foreground, #737373);
	flex-shrink: 0;
	margin-left: auto;
	text-decoration: none;
}

.tt-single-meta-ext-link:hover {
	color: var(--tt-foreground, #171717);
}

.tt-single-meta-ext-link .tt-icon {
	width: 18px;
	height: 18px;
}

/* ──────── About Your Host section ──────── */
.tt-single-host-section {
	padding: 20px 0 4px;
}

.tt-single-host-section__title {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: var(--tt-foreground, #171717) !important;
	margin: 0 0 12px !important;
}

.tt-single-host-card {
	background: var(--tt-muted, #f5f5f5);
	border-radius: 16px;
	overflow: hidden;
}

.tt-host-card-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px;
	text-decoration: none;
	color: inherit;
	transition: background 0.15s;
}

.tt-host-card-header:hover {
	background: transparent;
}

.tt-host-card-header .tt-icon {
	width: 16px;
	height: 16px;
	color: var(--tt-muted-foreground, #737373);
	margin-left: auto;
	flex-shrink: 0;
}

.tt-host-avatar-wrap {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	position: relative;
}

.tt-host-avatar-wrap .tt-host-avatar,
.tt-host-avatar-wrap .tt-initial-avatar {
	width: 44px !important;
	height: 44px !important;
	min-width: 44px !important;
	min-height: 44px !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	border-radius: 50% !important;
	object-fit: cover;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #fff !important;
	line-height: 1 !important;
	flex-shrink: 0 !important;
}

.tt-host-avatar--initials {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--tt-foreground, #171717);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 700;
}

.tt-host-card-info {
	flex: 1;
	min-width: 0;
}

.tt-host-card-name {
	font-size: 14px;
	font-weight: 600;
	color: var(--tt-foreground, #171717);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tt-host-card-followers {
	font-size: 13px;
	color: var(--tt-muted-foreground, #737373);
	margin-top: 1px;
}

.tt-host-card-bio {
	font-size: 13px;
	color: var(--tt-muted-foreground, #737373);
	padding: 0 16px 14px;
	line-height: 1.5;
}

.tt-host-card-actions {
	display: flex;
	gap: 10px;
	padding: 0 16px 16px;
}

.tt-host-btn,
a.tt-host-btn,
button.tt-host-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 4px !important;
	height: 40px !important;
	border-radius: 12px !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	cursor: pointer !important;
	text-decoration: none !important;
	border: 1px solid #e5e5e5 !important;
	background: #fff !important;
	color: #171717 !important;
	transition: background 0.15s, border-color 0.15s !important;
	box-shadow: none !important;
	padding: 0 12px !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.tt-host-btn:hover,
a.tt-host-btn:hover,
button.tt-host-btn:hover {
	background: #f5f5f5 !important;
	color: #171717 !important;
	text-decoration: none !important;
}

button.tt-host-btn--follow,
a.tt-host-btn--edit {
	flex: 1 !important;
}

a.tt-host-btn--events {
	flex: 1 !important;
}

.tt-host-btn .tt-icon {
	width: 16px !important;
	height: 16px !important;
	flex-shrink: 0 !important;
}

button.tt-host-btn--following,
button.tt-host-btn--following:hover {
	background: #171717 !important;
	color: #fff !important;
	border-color: #171717 !important;
}

/* Booking Advised — show full text on desktop, short on mobile */
.tt-ba-short { display: none; }
@media (max-width: 639px) {
	.tt-ba-full { display: none; }
	.tt-ba-short { display: inline; }
}

@media (max-width: 639px) { .tt-list-badge { font-size: 11px; } }


/* Recurring badge — price-style colors, shown inline in date/time row */
.tt-list-badge--recurring {
	background: #fff;
	color: #09090b;
	border: 1px solid #e5e5e5;
	text-transform: none;
	letter-spacing: 0;
	position: relative;
	cursor: default;
	gap: 4px;
	vertical-align: middle;
	overflow: visible !important;
}
.tt-list-badge--recurring .tt-recur-icon {
	flex-shrink: 0;
}
/* Tooltip arrow (points up toward badge) */
.tt-list-badge--recurring::before {
	content: '';
	position: absolute;
	top: calc(100% + 3px);
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid #171717;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s;
	z-index: 11;
}
/* Tooltip box (below badge) */
.tt-list-badge--recurring::after {
	content: attr(data-tooltip);
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	background: #171717;
	color: #fff;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 400;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s;
	z-index: 10;
	text-transform: none;
	letter-spacing: 0;
}
.tt-list-badge--recurring:hover::before,
.tt-list-badge--recurring:hover::after {
	opacity: 1;
}
/* Recurring badge: desktop = badges row, mobile = date row icon-only */
.tt-recurring--lg { display: none; }
.tt-recurring--sm { background: none; border: none; padding: 0; }
.tt-recurring--sm .tt-recur-label { display: none; }
@media (min-width: 640px) {
	.tt-recurring--lg { display: inline-flex; }
	.tt-recurring--sm { display: none; }
}



/******************
MMR MERGED: /wp-content/plugins/todo-today-assets/css/tt-search.css
***************/

/* ==========================================================================
   tt-search.css — Search overlay for Life Stream + Today pages
   All rules scoped to .tt-search-* to prevent Flatsome theme conflicts.
   Flatsome resets inputs, buttons, h1-h6 globally — we override explicitly.
   ========================================================================== */

/* ── Trigger button (single toggle — shows search or close icon) ────────── */

.tt-search-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 50%;
	background: #f5f5f5;
	color: #1a1a1a;
	cursor: pointer;
	flex-shrink: 0;
	line-height: 1;
	box-shadow: none;  /* override Flatsome button shadow */
	text-decoration: none;
	transition: background 0.15s;
}

.tt-search-btn:hover {
	background: #ebebeb;
	color: #1a1a1a;
	text-decoration: none;
}

.tt-search-btn svg {
	display: block;
	pointer-events: none;
}

.tt-search-icon-search,
.tt-search-icon-close {
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

/* Life Stream header — position search/close on the right */
.ls-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.ls-header .me-header-text {
	flex: 1;
}

/* Home page tabs row — squircle shape matching filter button */
.tt-tabs-filter-bar .tt-search-btn,
.tt-tabs-filter-bar .tt-search-close {
	background: #f5f5f5 !important;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	min-height: 40px !important;
	border-radius: 12px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 !important;
}

.tt-tabs-filter-bar .tt-search-btn:hover,
.tt-tabs-filter-bar .tt-search-close:hover {
	background: #e5e5e5 !important;
}

/* ── Overlay container ─────────────────────────────────────────────────── */

.tt-search-overlay {
	display: none;
	width: 100%;
	background: #fff;
	padding: 0 0 24px;
	animation: tt-search-fade-in 0.18s ease;
}

@keyframes tt-search-fade-in {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ── Search input bar ──────────────────────────────────────────────────── */

.tt-search-input-wrap {
	display: flex;
	align-items: center;
	background: #f4f4f4;
	border: 1.5px solid #f4f4f4;
	border-radius: 1rem;
	height: 3rem;
	padding: 0 18px;
	margin: 16px 0 8px;
	transition: border-color 0.2s, background 0.2s;
}

.tt-search-input-wrap:focus-within {
	background: #fff;
	border: 2px solid #171717;
}

.tt-search-input-icon {
	display: flex;
	align-items: center;
	color: #999;
	flex-shrink: 0;
	margin-right: 10px;
}

/* Override Flatsome global input styles */
.tt-search-input {
	flex: 1;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
	padding: 14px 0 !important;
	margin: 0 !important;
	font-size: 1rem !important;
	line-height: 1.4 !important;
	color: #1a1a1a !important;
	font-family: inherit !important;
	width: 100%;
	-webkit-appearance: none;
	appearance: none;
	text-transform: none !important;
}

.tt-search-input::placeholder {
	color: #aaa !important;
	text-transform: none !important;
}

/* ── Results container ─────────────────────────────────────────────────── */

.tt-search-results {
	margin-top: 4px;
	min-height: 200px;
}

@media (max-width: 800px) {
	.tt-search-results {
		min-height: 600px;
	}
}

/* ── Skeleton loader ───────────────────────────────────────────────────── */

@keyframes tt-sk-shimmer {
	0%   { background-position: -400px 0; }
	100% { background-position:  400px 0; }
}

.tt-sk-base {
	background: linear-gradient(90deg, #ececec 25%, #f5f5f5 50%, #ececec 75%);
	background-size: 800px 100%;
	animation: tt-sk-shimmer 1.4s ease-in-out infinite;
	border-radius: 8px;
}

.tt-sk-section {
	margin-top: 20px;
}

.tt-sk-title {
	width: 72px;
	height: 13px;
	margin-bottom: 10px;
	background: linear-gradient(90deg, #ececec 25%, #f5f5f5 50%, #ececec 75%);
	background-size: 800px 100%;
	animation: tt-sk-shimmer 1.4s ease-in-out infinite;
	border-radius: 6px;
}

/* Event card skeletons — horizontal scroll row */
.tt-sk-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.tt-sk-event-row {
	display: flex;
	gap: 10px;
	overflow: hidden;
}

.tt-sk-event-card {
	flex-shrink: 0;
	width: 220px;
	border-radius: 14px;
	overflow: hidden;
	background: #f7f7f7;
	border: 1px solid #ebebeb;
}

@media (max-width: 800px) {
	.tt-sk-event-card {
		width: 180px;
	}
}

.tt-sk-event-img {
	width: 100%;
	aspect-ratio: 4 / 3;
	background: linear-gradient(90deg, #ececec 25%, #f5f5f5 50%, #ececec 75%);
	background-size: 800px 100%;
	animation: tt-sk-shimmer 1.4s ease-in-out infinite;
}

.tt-sk-event-info {
	padding: 9px 10px 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.tt-sk-event-title {
	height: 14px;
	width: 90%;
	border-radius: 6px;
	background: linear-gradient(90deg, #ececec 25%, #f5f5f5 50%, #ececec 75%);
	background-size: 800px 100%;
	animation: tt-sk-shimmer 1.4s ease-in-out infinite;
}

.tt-sk-event-title--short {
	width: 65%;
}

.tt-sk-event-meta {
	height: 11px;
	width: 80%;
	border-radius: 4px;
	background: linear-gradient(90deg, #ececec 25%, #f5f5f5 50%, #ececec 75%);
	background-size: 800px 100%;
	animation: tt-sk-shimmer 1.4s ease-in-out infinite;
}

.tt-sk-event-meta--short {
	width: 55%;
}

/* Category cards */
.tt-sk-card {
	height: 60px;
	margin-bottom: 10px;
	background: linear-gradient(90deg, #ececec 25%, #f5f5f5 50%, #ececec 75%);
	background-size: 800px 100%;
	animation: tt-sk-shimmer 1.4s ease-in-out infinite;
	border-radius: 1rem;
}

/* Creators row */
.tt-sk-creators-row {
	display: flex;
	gap: 16px;
}

.tt-sk-creator {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: linear-gradient(90deg, #ececec 25%, #f5f5f5 50%, #ececec 75%);
	background-size: 800px 100%;
	animation: tt-sk-shimmer 1.4s ease-in-out infinite;
}

/* Tag pills */
.tt-sk-tags-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tt-sk-tag {
	height: 34px;
	width: 72px;
	border-radius: 999px;
	background: linear-gradient(90deg, #ececec 25%, #f5f5f5 50%, #ececec 75%);
	background-size: 800px 100%;
	animation: tt-sk-shimmer 1.4s ease-in-out infinite;
}

.tt-sk-tag--wide {
	width: 100px;
}

/* ── Section wrapper ───────────────────────────────────────────────────── */

.tt-search-section {
	margin-top: 20px;
}

/* Override Flatsome h1-h6 / p global resets */
.tt-search-section-title {
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #666666 !important;
	text-transform: capitalize !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
}

/* ── Category cards ────────────────────────────────────────────────────── */

/* Prevent Flatsome link color leaking at any state */
.tt-search-category-card,
.tt-search-category-card:hover,
.tt-search-category-card:visited,
.tt-search-category-card:focus {
	text-decoration: none !important;
	color: inherit !important;
}

.tt-search-category-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border-radius: 1rem;
	background: hsl(0, 0%, 96%);
	border: 1px solid hsl(0, 0%, 90%);
	margin-bottom: 12px;
	cursor: pointer;
	transform: scale(1);
	line-height: 1rem !important;
	transition: transform 0.2s ease-out;
}

@media (hover: hover) {
	.tt-search-category-card:hover {
		transform: scale(1.01) !important;
	}
	.tt-search-category-card:active {
		transform: scale(0.98) !important;
	}
}

.tt-search-category-card:active {
	transform: scale(0.97);
}

.tt-search-category-card:hover .tt-search-cat-name,
.tt-search-category-card:hover .tt-search-cat-desc {
	color: inherit !important;
	text-decoration: none !important;
}

.tt-search-cat-icon {
	font-size: 28px;
	line-height: 1;
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tt-search-cat-emoji {
	font-size: 28px;
	line-height: 1;
}

.tt-search-cat-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.tt-search-cat-name {
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	color: hsl(0, 0%, 9%) !important;
	line-height: 1.3 !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
}

.tt-search-cat-desc {
	font-size: 13px !important;
	color: hsl(0, 0%, 40%) !important;
	text-decoration: none !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
	line-height: 1.3rem !important;
}

.tt-search-arrow {
	flex-shrink: 0;
	color: #ccc;
}

/* ── Creators row (horizontal scroll) ─────────────────────────────────── */

.tt-search-creators-row {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	padding-bottom: 4px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.tt-search-creators-row::-webkit-scrollbar {
	display: none;
}

.tt-search-creator-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-decoration: none !important;
	color: inherit;
	flex-shrink: 0;
	width: 72px;
	cursor: pointer;
	transform: scale(1);
	transition: transform 0.2s ease-out;
}

.tt-search-creator-item:hover,
.tt-search-creator-item:visited,
.tt-search-creator-item:focus {
	text-decoration: none !important;
	color: inherit !important;
}

@media (hover: hover) {
	.tt-search-creator-item:hover {
		transform: scale(1.01) !important;
	}
	.tt-search-creator-item:active {
		transform: scale(0.98) !important;
	}
}

.tt-search-creator-item:active {
	transform: scale(0.97);
}

.tt-search-creator-avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
	background: #f0f0f0;
	flex-shrink: 0;
}

/* img from get_avatar_html */
.tt-search-creator-avatar img.tt-search-creator-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 50%;
}

/* initial avatar div from get_avatar_html */
.tt-search-creator-avatar .tt-initial-avatar {
	width: 100% !important;
	height: 100% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	color: #fff !important;
	border-radius: 50% !important;
}

.tt-search-creator-initials {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 700;
	color: #555;
	background: #e0e0e0;
}

.tt-search-creator-name {
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #171717 !important;
	text-align: center;
	line-height: 1.3;
	max-width: 72px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* ── Tag pills ─────────────────────────────────────────────────────────── */

.tt-search-tags-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tt-search-tag-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border-radius: 999px;
	border: 1.5px solid #e8e8e8;
	background: #f3f3f3;
	cursor: pointer;
	line-height: 1.3;
	text-decoration: none !important;
	transition: border-color 0.15s, background 0.15s;
	user-select: none;
}

.tt-search-tag-pill:hover {
	border-color: #bbb;
	background: #fafafa;
}

.tt-search-tag-emoji {
	font-size: 15px;
	line-height: 1;
	flex-shrink: 0;
}

/* Override Flatsome — tag name text must not be uppercase */
.tt-search-tag-name {
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #171717 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	line-height: 1.3 !important;
	font-family: inherit !important;
}

/* ── Place rows ────────────────────────────────────────────────────────── */

/* ── Place cards (horizontal scroll) ──────────────────────────────────── */

.tt-search-places-row {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	padding-bottom: 4px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.tt-search-places-row::-webkit-scrollbar {
	display: none;
}

.tt-search-place-card {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	width: 144px;
	text-decoration: none !important;
	color: inherit;
	cursor: pointer;
	transform: scale(1);
	transition: transform 0.2s ease-out;
}

.tt-search-place-card:hover,
.tt-search-place-card:visited,
.tt-search-place-card:focus {
	text-decoration: none !important;
	color: inherit !important;
}

@media (hover: hover) {
	.tt-search-place-card:hover {
		transform: scale(1.01) !important;
	}
	.tt-search-place-card:active {
		transform: scale(0.98) !important;
	}
}

.tt-search-place-card:active {
	transform: scale(0.97);
}

.tt-search-place-img {
	width: 144px;
	height: 80px;
	object-fit: cover;
	border-radius: 10px;
	display: block;
	margin-bottom: 8px;
}

.tt-search-place-img--placeholder {
	background: #f0f0f0;
	display: flex !important;
	align-items: center;
	justify-content: center;
	color: #737373;
}

.tt-search-place-img--placeholder svg {
	width: 32px;
	height: 32px;
}

.tt-search-place-name {
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #171717 !important;
	line-height: 1.3 !important;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tt-search-place-area {
	font-size: 12px !important;
	color: #737373 !important;
	display: block;
	margin-top: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ── Event cards (horizontal scroll row) ──────────────────────────────── */

.tt-search-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.tt-search-section-header .tt-search-section-title {
	margin-bottom: 0 !important;
}

.tt-search-section-count {
	font-size: 13px !important;
	font-weight: 500 !important;
	color: #aaa !important;
	line-height: 1;
}

.tt-search-view-all {
	font-size: 12px !important;
	font-weight: 500 !important;
	color: #171717 !important;
	text-decoration: none !important;
	line-height: 1;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 2px;
}

.tt-search-view-all:hover {
	text-decoration: underline !important;
}

.tt-search-event-grid {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding-bottom: 6px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.tt-search-event-grid::-webkit-scrollbar {
	display: none;
}

.tt-search-event-card,
.tt-search-event-card:hover,
.tt-search-event-card:visited,
.tt-search-event-card:focus {
	text-decoration: none !important;
	color: inherit !important;
}

.tt-search-event-card {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	width: 220px;
	height: 265px;
	border-radius: 14px;
	overflow: hidden;
	background: #f7f7f7;
	border: 1px solid #ebebeb;
	cursor: pointer;
	transform: scale(1);
	transition: transform 0.2s ease-out;
}

@media (max-width: 800px) {
	.tt-search-event-card {
		width: 180px;
		height: 235px;
	}

	.tt-search-event-title {
		font-size: 13px !important;
	}

	.tt-search-event-meta {
		font-size: 12px !important;
	}
}

@media (hover: hover) {
	.tt-search-event-card:hover {
		transform: scale(1.01) !important;
	}
	.tt-search-event-card:active {
		transform: scale(0.97) !important;
	}
}

.tt-search-event-card:active {
	transform: scale(0.97);
}

/* Image wrap — relative for overlay badges */
.tt-search-event-img-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	flex-shrink: 0;
}

.tt-search-event-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tt-search-event-img.tt-search-event-img--placeholder {
	display: flex !important;
	align-items: center;
	justify-content: center;
	background: #e8e8e8;
	color: #bbb;
}

.tt-search-event-img--placeholder svg {
	width: 32px;
	height: 32px;
}

/* Label badge — top-left */
.tt-search-event-label {
	position: absolute;
	top: 8px;
	left: 8px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 11px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	white-space: nowrap;
	pointer-events: none;
}

.tt-search-event-label svg {
	flex-shrink: 0;
}

/* Heart button — top-right */
.tt-search-event-heart {
	position: absolute;
	top: 8px;
	right: 8px;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 30px !important;
	height: 30px !important;
	border-radius: 50% !important;
	background: rgba(0, 0, 0, 0.3) !important;
	color: #fff;
	cursor: pointer !important;
	border: none !important;
	padding: 0 !important;
	transition: background 0.15s, transform 0.15s;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.tt-search-event-heart:hover {
	background: rgba(0, 0, 0, 0.5) !important;
}

.tt-search-event-heart:active {
	transform: scale(0.9);
}

.tt-search-event-heart svg {
	display: block;
	pointer-events: none;
	transition: fill 0.15s, stroke 0.15s;
}


.tt-search-event-heart--active svg {
	fill: #fff;
	stroke: #fff;
}

/* Info area */
.tt-search-event-info {
	padding: 9px 10px 10px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.tt-search-event-info .tt-search-event-meta:first-of-type {
	margin-top: auto !important;
}

.tt-search-event-title {
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #171717 !important;
	line-height: 1.3 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	background: none !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-family: inherit !important;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.tt-search-event-meta {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 13px !important;
	color: #737373 !important;
	line-height: 1.3 !important;
	margin: 0 !important;
	padding: 0 !important;
	min-width: 0;
	overflow: hidden;
}

.tt-search-event-meta-text {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}

.tt-search-event-meta svg {
	flex-shrink: 0;
	color: #aaa;
}

/* ── Empty / error states ──────────────────────────────────────────────── */

.tt-search-no-results {
	padding: 32px 0;
	text-align: center;
	color: #888;
}

.tt-search-no-results p {
	font-size: 14px !important;
	color: #888 !important;
	margin: 0 !important;
}

.tt-search-no-results strong {
	color: #333 !important;
}

.tt-search-error {
	padding: 20px 0;
	text-align: center;
	font-size: 13px;
	color: #888;
}

/* ── Tag events header (active tag pill with × inside) ──────────────────── */

.tt-search-tag-header {
	padding: 14px 0 12px;
	border-bottom: 1px solid #f0f0f0;
	margin-bottom: 4px;
}

.tt-search-active-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 8px 7px 12px;
	border-radius: 999px;
	background: #1a1a1a;
	cursor: default;
	line-height: 1 !important;
}

.tt-search-active-tag .tt-search-tag-emoji {
	font-size: 14px;
	line-height: 1;
	flex-shrink: 0;
}

.tt-search-active-tag .tt-search-tag-name {
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	line-height: 1 !important;
	font-family: inherit !important;
}

/* × close inside the pill */
.tt-search-active-tag-close {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 20px !important;
	height: 20px !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.2) !important;
	cursor: pointer !important;
	flex-shrink: 0 !important;
	transition: background 0.15s !important;
	border: none !important;
	padding: 0 !important;
	line-height: 1 !important;
}

.tt-search-active-tag-close:hover {
	background: rgba(255, 255, 255, 0.35) !important;
}

.tt-search-active-tag-close svg {
	display: block;
	pointer-events: none;
	stroke: #fff;
}

/* ── Tag events list ─────────────────────────────────────────────────────── */

#tt-search-tag-events {
	padding-bottom: 8px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 12px;
}

/* List card skeleton */
.tt-sk-card--list {
	height: 88px !important;
	border-radius: 12px !important;
}

/* ── Flatsome z-index defence ──────────────────────────────────────────── */
/* Flatsome sticky nav is typically z-index ~100-200; lightbox 9999.
   We want search above nav but below lightbox. */

/* No z-index needed — overlay is inline in the content flow */





/******************
MMR MERGED: /wp-content/plugins/todo-today-assets/css/tt-srp.css
***************/

/* ==========================================================================
   tt-srp.css — Search Results Page (/search/?q=...)
   ========================================================================== */

/* ── Page layout (mirrors life-stream.css) ──────────────────────────────── */

.ls-page-wrap {
	display: flex;
	max-width: 1050px;
	margin: 0 auto;
	padding: 0 15px;
	align-items: flex-start;
	box-sizing: border-box;
}

.ls-sidebar {
	display: block !important; /* override event_sidebar { display: contents } */
	width: 285px;
	flex-shrink: 0;
	position: sticky;
}

.ls-mobile-digest {
	display: none;
}

/* ── Main content area ──────────────────────────────────────────────────── */

.me-main {
	flex: 1;
	min-width: 0;
}

/* ── Sticky header (Lovable SearchResults style) ────────────────────────── */

.me-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
	margin: 15px;
    gap: 12px;
}

.me-header-text {
	flex: 1;
	min-width: 0;
}

.me-title {
	font-size: 32px !important;
	font-weight: 800 !important;
	color: #171717 !important;
	margin: 0 0 4px 0 !important;
	line-height: 1.2 !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.me-subtitle {
	font-size: 14px !important;
	color: #666666 !important;
	margin: 0 !important;
	text-transform: none !important;
}

/* ── SPA state: landing vs results ─────────────────────────────────────── */

/* Landing: hide the full results panel */
.me-main.tt-srp--landing #tt-srp-results-panel {
	display: none !important;
}

/* Results: hide landing-only elements */
.me-main.tt-srp--results #tt-srp-input-wrap,
.me-main.tt-srp--results #tt-search-results,
.me-main.tt-srp--results #tt-srp-browse {
	display: none !important;
}

/* Back button: only visible in results state */
.me-main.tt-srp--landing .tt-srp-back {
	display: none !important;
}
.me-main.tt-srp--results .tt-srp-back {
	display: inline-flex !important;
}

/* Results heading — smaller than landing "Search" title */
.me-main.tt-srp--results .me-title {
	font-size: 20px !important;
	font-weight: 600 !important;
}

/* ── Back button — transparent like Lovable ─────────────────────────────── */

.tt-srp-back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none !important;
	border-radius: 50%;
	background: transparent !important;
	color: #1a1a1a !important;
	cursor: pointer;
	flex-shrink: 0;
	margin-bottom: 0 !important;
	margin-right: 0 !important;
	box-shadow: none !important;
	transition: background 0.15s;
	background: rgba(0,0,0,0.06) !important;
}

.tt-srp-back:hover {
	background: rgba(0,0,0,0.09) !important;
}

/* ── Card list wrapper ──────────────────────────────────────────────────── */

#tt-srp-list {
	padding: 15px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tt-srp-card-wrap {
	position: relative;
}

/* ── Load More ──────────────────────────────────────────────────────────── */

#tt-srp-load-more-wrap {
	padding: 0 16px 16px;
}

#tt-srp-load-more:disabled {
	opacity: 0.5;
	cursor: default;
}

/* ── Empty / Error ──────────────────────────────────────────────────────── */

.tt-srp-empty,
.tt-srp-error {
	text-align: center;
	padding: 40px 16px;
	font-size: 15px !important;
	color: #888 !important;
	margin: 0 !important;
}

/* ── Search input (embedded on search page) ─────────────────────────────── */

.tt-srp-input-wrap {
	display: flex !important;
	align-items: center !important;
	gap: 10px;
	margin: 14px 16px 0;
	padding: 10px 14px !important;
	background: #f4f4f5 !important;
	border-radius: 1rem !important;
	border: 2px solid transparent !important;
	box-shadow: none !important;
	transition: border-color 0.15s, background 0.15s;
	height: 3rem;
}

.tt-srp-input-wrap:focus-within {
	background: #fff !important;
	border-color: #171717 !important;
}

.tt-srp-input-icon {
	display: flex;
	align-items: center;
	color: #9ca3af;
	flex-shrink: 0;
}

/* Override both Flatsome inputs AND .tt-search-input (padding: 14px 0 !important from tt-search.css)
   Use higher specificity selector to win over the single-class rule */
.tt-srp-input-wrap .tt-search-input {
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1.4 !important;
	font-size: 16px !important;
	color: #171717 !important;
	font-family: inherit !important;
	text-transform: none !important;
	-webkit-appearance: none;
	appearance: none;
}

.tt-srp-input-wrap .tt-search-input::placeholder {
	color: #9ca3af !important;
	text-transform: none !important;
}

/* ── Inline results (populated by tt-search.js on landing state) ─────────── */

/* Remove the 200px min-height from .tt-search-results (tt-search.css) when used embedded */
.tt-srp-inline-results.tt-search-results {
	min-height: 0 !important;
	margin: 0 16px !important;
}

/* ── Browse categories ───────────────────────────────────────────────────── */

.tt-srp-browse--hidden {
	display: none !important;
}

.tt-srp-browse {
	padding: 20px 16px 24px;
}

.tt-srp-browse-title {
	font-size: 16px !important;
	font-weight: 600 !important;
	color: #171717 !important;
	margin: 0 0 12px !important;
	padding: 0 !important;
	line-height: 1.3 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	font-family: inherit !important;
}

.tt-srp-category-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

/* <a> tag — fight Flatsome link colour + underline */
.tt-srp-category-card {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 6px;
	padding: 16px !important;
	background: #f9f9f9 !important;
	border-radius: 14px !important;
	border: 1px solid #f0f0f0 !important;
	text-decoration: none !important;
	color: #171717 !important;
	box-shadow: none !important;
	transition: transform 0.2s;
	min-height: 90px;
	min-width: 0;
	overflow: hidden;
}

.tt-srp-category-card:hover {
	transform: scale(1.01);
	text-decoration: none !important;
	color: #171717 !important;
}

.tt-srp-category-card:focus,
.tt-srp-category-card:visited {
	text-decoration: none !important;
	color: #171717 !important;
}

.tt-srp-cat-emoji {
	font-size: 28px !important;
	line-height: 1 !important;
	flex-shrink: 0;
}

.tt-srp-cat-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	width: 100%;
	overflow: hidden;
}

/* <strong> — fight Flatsome bold overrides */
.tt-srp-cat-name {
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #171717 !important;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.3 !important;
	text-transform: none !important;
	font-family: inherit !important;
}

/* <span> — fight Flatsome span/p overrides */
.tt-srp-cat-desc {
	font-size: 12px !important;
	color: #71717a !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.4 !important;
	word-break: break-word;
}


/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
	.ls-sidebar {
		width: 260px;
	}
}

@media (max-width: 800px) {
	.ls-page-wrap {
		flex-direction: column;
		gap: 0;
		padding: 0;
	}

	.ls-sidebar {
		display: none !important;
	}

	.ls-mobile-digest {
		display: block;
		width: 100%;
		margin-top: 24px;
		padding: 15px;
	}

	.me-main {
		width: 100%;
		max-width: 720px;
		margin-left: auto;
		margin-right: auto;
	}

	.me-main.tt-srp--landing .me-title {
		font-size: 26px !important;
	}

	.me-main.tt-srp--results .me-title {
		font-size: 18px !important;
	}

}

