/* Public Things to do discovery list */
.ttd-page {
	padding-top: 8px;
}

.ttd-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	flex-wrap: wrap;
	margin: 8px 0 20px;
}

.ttd-title {
	margin: 0;
	font-size: 25px;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #111827;
	line-height: 1.15;
	min-width: 0;
}

.ttd-tabs-wrap {
	border-bottom: 1px solid #e5e7eb;
	margin-bottom: 28px;
}

.ttd-tabs {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ttd-tabs .nav-item {
	flex: 1 1 0;
	margin: 0 !important;
}

.ttd-page .ttd-tabs .ttd-tab {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 4px 8px 14px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #6b7280;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
}

.ttd-page .ttd-tabs .ttd-tab::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	border-radius: 2px;
	background: transparent;
	transition: background-color 0.15s ease;
}

.ttd-page .ttd-tabs .ttd-tab:hover {
	background: transparent;
	color: #111827;
}

.ttd-page .ttd-tabs .ttd-tab.active,
.ttd-page .ttd-tabs .ttd-tab.active:hover {
	background: transparent;
	color: #1877f2;
	font-weight: 600;
}

.ttd-page .ttd-tabs .ttd-tab.active::after {
	background: #1877f2;
}

.ttd-tab-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	font-size: 24px;
	line-height: 1;
}

.ttd-tab-icon svg {
	display: block;
}

.ttd-tab-icon-all {
	color: #1877f2;
}

.ttd-tab-icon-event,
.ttd-tab-icon-hangout {
	color: #9b5de5;
}

.ttd-tab-icon-class {
	color: #f97316;
}

.ttd-tab-icon-experience {
	color: #22a861;
}

.ttd-tab-icon-offer {
	color: #ef4444;
}

.ttd-create {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #111827;
	border-radius: 999px;
	padding: 8px 14px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.ttd-create:hover {
	background: #f9fafb;
	color: #111827;
}

.ttd-dates {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.ttd-page .filter-bar .nav-pills .nav-link,
.ttd-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 6px 13px;
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #111827;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.ttd-page .filter-bar .nav-pills .nav-link:hover {
	background: #f9fafb;
	color: #111827;
}

.ttd-page .filter-bar .nav-pills .nav-link.active,
.ttd-page .filter-bar .filter-menu-options .active .nav-link,
.ttd-page .filter-bar .nav-pills .nav-link.date-filter.active {
	background: #111827;
	border-color: #111827;
	color: #fff;
}

.ttd-page .filter-bar .nav-pills .nav-link.active:hover,
.ttd-page .filter-bar .filter-menu-options .active .nav-link:hover,
.ttd-page .filter-bar .nav-pills .nav-link.date-filter.active:hover {
	background: #111827;
	border-color: #111827;
	color: #fff;
}

.ttd-page .filter-bar .nav-item {
	margin-right: 0 !important;
}

.ttd-dates {
	margin-left: auto;
	flex-wrap: nowrap;
}

.ttd-filters-wrap {
	position: relative;
}

.ttd-filters-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 6px 18px;
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #111827;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
}

.ttd-filters-btn:hover {
	background: #f9fafb;
}

.ttd-filters-btn.is-active {
	background: #111827;
	border-color: #111827;
	color: #fff;
}

.ttd-filters-count {
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: #fff;
	color: #111827;
	font-size: 11px;
	line-height: 18px;
	text-align: center;
}

.ttd-filters-btn.is-active .ttd-filters-count {
	background: #fff;
	color: #111827;
}

.ttd-filters-menu {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: 30;
	min-width: 168px;
	padding: 10px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(16, 24, 40, 0.12);
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ttd-extra-filter {
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #374151;
	border-radius: 999px;
	padding: 8px 12px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-align: left;
}

.ttd-extra-filter:hover {
	background: #f9fafb;
}

.ttd-extra-filter.is-active {
	background: #111827;
	border-color: #111827;
	color: #fff;
}

.ttd-grid {
	row-gap: 20px;
}

.ttd-col {
	margin-bottom: 0;
}

.ttd-card {
	background: #fff;
	border: 1px solid #eef0f3;
	border-radius: 16px;
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.ttd-card:hover {
	box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}

.ttd-card-media {
	position: relative;
	display: block;
	background: #f3f4f6;
}

.ttd-card-media img {
	width: 100%;
	height: 188px;
	object-fit: cover;
	display: block;
}

.ttd-heart {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.7);
	color: #6b7280;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
	cursor: pointer;
}

.ttd-heart i {
	font-size: 15px;
}

.ttd-heart.is-saved,
.ttd-heart.is-saved i {
	color: #ef4444;
}

span.ttd-heart {
	cursor: default;
	pointer-events: none;
}

.ttd-card-body {
	padding: 12px 14px 14px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.ttd-card-title {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 700;
	color: #111827;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ttd-card-title a,
a.ttd-card-title {
	color: inherit;
	text-decoration: none;
}

.ttd-card-title a:hover {
	color: #111827;
}

.ttd-meta {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 4px;
	color: #6b7280;
	font-size: 13px;
	line-height: 1.35;
}

.ttd-meta i {
	width: 14px;
	margin-top: 2px;
	color: #9ca3af;
	font-size: 12px;
	text-align: center;
	flex: 0 0 14px;
}

.ttd-meta span {
	min-width: 0;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ttd-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 10px;
}

.ttd-badge {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
}

.ttd-badge-hangout {
	background: #e8f1ff;
	color: #2563eb;
}

.ttd-badge-class {
	background: #eee6ff;
	color: #7c3aed;
}

.ttd-badge-event {
	background: #e6f8ee;
	color: #16a34a;
}

.ttd-badge-experience {
	background: #fff1e6;
	color: #ea580c;
}

.ttd-badge-offer {
	background: #fde8ef;
	color: #db2777;
}

.ttd-price {
	font-size: 15px;
	font-weight: 700;
	color: #111827;
	white-space: nowrap;
}

.ttd-price.is-free {
	color: #16a34a;
}

@media (max-width: 991px) {
	.ttd-title {
		font-size: 26px;
	}

	.ttd-card-media img {
		height: 160px;
	}

	.ttd-page .filter-bar .nav-pills .nav-link,
	.ttd-filters-btn {
		padding: 6px 14px;
	}
}

@media (max-width: 767px) {
	.ttd-title {
		font-size: 22px;
	}

	.ttd-dates {
		margin-left: 0;
		flex-wrap: nowrap;
		gap: 6px;
	}

	.ttd-page .filter-bar .nav-pills .nav-link,
	.ttd-filters-btn {
		min-height: 34px;
		padding: 5px 10px;
		font-size: 13px;
		gap: 5px;
	}

	.ttd-tabs-wrap::-webkit-scrollbar {
		display: none;
	}

	.ttd-tabs-wrap {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		margin-bottom: 20px;
	}

	.ttd-tabs .nav-item {
		flex: 0 0 auto;
	}

	.ttd-page .ttd-tabs .ttd-tab {
		padding: 4px 14px 12px;
	}

	.ttd-create-label {
		display: none;
	}

	.ttd-create {
		padding: 8px 10px;
	}
}

@media (max-width: 380px) {
	.ttd-dates {
		gap: 4px;
	}

	.ttd-page .filter-bar .nav-pills .nav-link,
	.ttd-filters-btn {
		padding: 5px 8px;
		font-size: 12px;
	}
}
