* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	background-color: #f5f5f5;
	padding-bottom: 60px;
}

/* Header Styles */
.header {
	color: white;
	padding: 2px;
	padding-left:10px;
	padding-right:10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(to right, #8944ff, #fa65c5);
	font-size: 16px;
	height:51px;
}

.header-left {
	display: flex;
	align-items: center;
	gap: 0px;
	font-size: 12px;
	color:#fff;
}

.header-center {
	font-size: 24px;
	font-weight: bold;
	margin-left: -5%;
}

.header-right {
	color: white;
}

.header-icon {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

/* Banner Styles */
.banner-container {
	margin: 10px;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.banner-image {
	width: 100%;
	height: 150px;
	object-fit: cover;
	display: block;
}

/* Search Box */
.search-container {
	background: white;
	margin: 10px;
	padding: 15px;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Added city selector styles */
.city-selector {
	margin-bottom: 15px;
}

.city-toggle {
	display: none;
}

.city-toggle-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 15px;
	background: #f8f9fa;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	cursor: pointer;
	font-size: 14px;
	color: #333;
	transition: all 0.3s ease;
}

.city-toggle-label:hover {
	background: #f0f0f0;
	border-color: #ec4899;
}

.city-item a{
	color:#333;
	text-decoration: none;
}		

.city-item.active a{
	color:#fff;
	text-decoration: none;
}

.content-list a{
	text-decoration: none;
}

.city-arrow {
	width: 16px;
	height: 16px;
	transition: transform 0.3s ease;
}

.city-dropdown {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	background: white;
	border: 1px solid #e0e0e0;
	border-top: none;
	border-radius: 0 0 8px 8px;
	border-bottom: none;
}

.city-toggle:checked + .city-toggle-label {
	border-radius: 8px 8px 0 0;
	background: #f0f0f0;
}

.city-toggle:checked + .city-toggle-label .city-arrow {
	transform: rotate(180deg);
}

.city-toggle:checked ~ .city-dropdown {
	max-height: 300px;
	border-color: #ec4899;
	overflow-y: auto;
}

.city-content {
	padding-top: 20px;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 0px;
	border-bottom: 1px solid #ec4899;
	max-height: 280px;
	overflow-y: auto;
}

.city-label {
	font-size: 14px;
	color: #666;
	margin-bottom: 15px;
	font-weight: 500;
	position: sticky;
	top: 0;
	background: white;
	z-index: 1;
	padding-bottom: 5px;
}

.city-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-bottom: 5px;
}

.city-item {
	padding: 8px 12px;
	text-align: center;
	background: #f8f9fa;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	cursor: pointer;
	font-size: 13px;
	color: #333;
	transition: all 0.3s ease;
}

.city-item:hover {
	background: #db65fa;
	color: white;
	border-color: #fff;
}

.city-item.active {
	background: #db65fa;
	color: white;
	border-color: #fff;
}

.city-collapse {
	text-align: center;
	position: sticky;
	bottom: 0;
	background: white;
	padding-top: 10px;
	z-index: 1;
	padding:15px;
}

.city-collapse-btn {
	padding: 8px 20px;
	background: transparent;
	border: 1px solid #ec4899;
	border-radius: 20px;
	color: #ec4899;
	cursor: pointer;
	font-size: 13px;
	transition: all 0.3s ease;
}

.city-collapse-btn:hover {
	background: #ec4899;
	color: white;
}

@media (max-width: 480px) {
	.city-grid {
		/* Keep 3 columns even on mobile instead of switching to 2 */
		grid-template-columns: repeat(3, 1fr);
		gap: 8px;
	}
	
	.city-item {
		font-size: 12px;
		padding: 6px 8px;
	}
	
	.city-content {
		padding-top: 15px;
		padding-left: 15px;
		padding-right: 15px;
		padding-bottom: 0px;
		max-height: 250px;
	}
	
	.city-toggle:checked ~ .city-dropdown {
		max-height: 270px;
	}
}

.search-wrapper {
	position: relative;
	display: flex;
	align-items: center;
}

.search-box {
	width: 100%;
	padding: 12px 80px 12px 20px;
	border: 1px solid #e0e0e0;
	border-radius: 25px;
	font-size: 16px;
	outline: none;
	transition: border-color 0.3s ease;
}

.search-box:focus {
	border-color: #ec4899;
	box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

.search-btn {
	position: absolute;
	right: 5px;
	top: 50%;
	transform: translateY(-50%);
	padding: 8px 16px;
	background:linear-gradient(135deg, #fa65c5, #9e82f5);
	color: white;
	border: none;
	border-radius: 20px;
	cursor: pointer;
	font-size: 12px;
	font-weight: bold;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(236, 72, 153, 0.3);
}

/* Categories */
.categories {
	background: white;
	margin: 10px;
	padding: 15px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Made category tabs fully responsive to fill 100% width */
.category-tabs {
	display: flex;
	gap: 7px;
	overflow-x: auto;
	width: 100%;
}

/* Added CSS-only tab switching using radio buttons and labels */
.category-tabs input[type="radio"] {
	display: none;
}

/* Made labels flex to fill available width equally */
.category-tabs label {
	flex: 1;
	padding: 10px 14px;
	background: #f0f0f0;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	white-space: nowrap;
	font-size: 12px;
	/* Only transition background and color to prevent labels from disappearing */
	transition: background 0.3s ease, color 0.3s ease;
	display: inline-block;
	text-align: center;
	min-width: 0;
	/* Ensure labels are always visible */
	opacity: 1;
	visibility: visible;
	color: #333;
}

.category-tabs input[type="radio"]:checked + label {
	color: white;
	background: linear-gradient(to right, rgb(248 7 133 / 50%), #b571fd);
	/* Ensure checked label is always visible */
	opacity: 1;
	visibility: visible;
}

/* Added responsive styles for smaller screens */
@media (max-width: 480px) {
	.category-tabs label {
		font-size: 12px;
		padding: 8px 10px;
	}
}

/* Content List */
.content-list {
	margin: 10px;
}

.content-item {
	background: white;
	margin-bottom: 10px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.content-item:hover {
	transform: translateY(-2px);
}

/* Modified item-content to use column layout for bottom positioning */
.item-content {
	display: flex;
	padding: 15px;
}

/* Modified item-main to stretch items to same height */
.item-main {
	display: flex;
	gap: 15px;
	width: 100%;
	align-items: stretch;
}

/* Modified item-text to use column flexbox with space-between */
.item-text {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.item-description {
	color: #666;
	font-size: 14px;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
}

.item-image-container {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.item-image {
	width: 90px;
	height: 100px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
}

/* Added verified overlay styles for images */
.verified-overlay {
	position: absolute;
	left: 0;
	bottom:0;
	background: linear-gradient(to right, rgb(248 164 10 / 50%), #f265fa);
	color: white;
	padding: 4px 8px;
	border-radius: 0 8px 0 8px;
	font-size: 10px;
	font-weight: bold;
	z-index: 2;
}

.verified-overlay2 {
    position: absolute;
    left: 0;
	bottom:0;
    background: linear-gradient(to right, rgb(239 21 175 / 50%), rgb(18 103 228 / 50%));
    color: white;
    padding: 4px 8px;
    border-radius: 0 8px 0 8px;
    font-size: 10px;
    font-weight: bold;
    z-index: 2;
}

/* Pagination */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin: 10px;
	padding: 20px;
	background: white;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pagination a {
	padding: 10px 16px;
	border: 1px solid #e0e0e0;
	background: white;
	border-radius: 8px;
	text-decoration: none;
	color: #333;
	transition: all 0.3s ease;
	font-size: 12px;
	min-height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
}

.pagination a:hover {
	background: #f8f9fa;
	border-color: #ec4899;
	transform: translateY(-1px);
}

.pagination a.active {
	background: #ec4899;
	color: white;
	border-color: #ec4899;
	box-shadow: 0 2px 8px rgba(236, 72, 153, 0.3);
}

/* Added page selector dropdown styles */
.page-selector {
	padding: 10px 35px 10px 16px; /* Added more right padding for custom arrow */
	border: 1px solid #e0e0e0;
	background: white;
	border-radius: 8px;
	color: #333;
	font-size: 12px;
	min-height: 40px;
	cursor: pointer;
	transition: all 0.3s ease;
	outline: none;
	appearance: none; /* Remove default arrow */
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); /* Add custom arrow icon */
	background-repeat: no-repeat;
	background-position: right 10px center; /* Position arrow more centered */
	background-size: 16px;
	min-width: 100px; /* Set minimum width for better appearance */
	text-align: center; /* Center the text */
}

.page-selector:hover {
	background-color: #f8f9fa;
	border-color: #ec4899;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ec4899' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); /* Change arrow color on hover */
}

.page-selector:focus {
	border-color: #ec4899;
	box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ec4899' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); /* Change arrow color on focus */
}

/* Bottom Navigation */
.bottom-nav {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: white;
	border-top: 1px solid #e0e0e0;
	display: flex;
	height: 50px;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
	z-index:10000;
}

.nav-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: #666;
	transition: all 0.3s ease;
	cursor: pointer;
}

.nav-item.active {
	color: #ec4899;
}

.nav-item:hover {
	background: #f8f9fa;
}

.nav-icon {
	width: 20px;
	height: 20px;
	margin-bottom: 2px;
}

.nav-text {
	font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
	.item-content {
		padding: 12px;
	}

	.item-image {
		width: 110px;
		height: 110px;
	}
}

/* Modified bottom meta to align location left and views right */
.item-bottom-meta {
	display: flex;
	align-items: center;
	justify-content: space-between; /* Push location to left and views to right */
	color: #666;
	font-size: 12px;
	padding-top: 8px;
}

.location-icon::before {
	content: '';
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 0px;
	background-image: url("/dw.svg?t=123");
	background-size: contain;
	background-repeat: no-repeat;
	vertical-align: middle;


	flex-shrink: 0;
	margin-bottom: 3px;
}

.view-icon::before {
	content: '';
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-right: 2px;
	background-image: url("/yj.svg");
	background-size: contain;
	background-repeat: no-repeat;
	vertical-align: middle;
	flex-shrink: 0;
}

.notext {
    text-decoration:none;
}