/*
TPG Live CSS3
Copyright 2025 James A 
TPG Live System

LIVE VERSION v3.4

*/

:root {
  --poll-accent-color: #2196f3; /* Default blue */
  --poll-hover-color: #1e88e5; /* Darker blue for hover states */
  --poll-selected-color: #4CAF50; /* Green for selected/voted state */
  --poll-selected-bg: rgba(76, 175, 80, 0.15); /* Semi-transparent green background */
}


/* Animation for updated posts */
@keyframes highlight-update {
    0% { background-color: rgba(255, 255, 0, 0.2); }
    50% { background-color: rgba(255, 255, 0, 0.4); }
    100% { background-color: rgba(255, 255, 0, 0); }
}

.updated-content {
    animation: highlight-update 3s ease;
}

/* Small "updated" indicator */
.update-badge {
    display: inline-block;
    font-size: 0.7em;
    padding: 2px 5px;
    background-color: #ffea8a;
    color: #664d00;
    border-radius: 3px;
    margin-left: 5px;
    animation: fadeOut 5s forwards;
    vertical-align: middle;
}

@keyframes fadeOut {
    0% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

.copyright-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.copyright-images {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.copyright-images .copyrightline {
    margin: 0;
}

copyright-images img {
    max-height: 200px;
    width: auto;
}



/* Enhanced responsive design for mobile */
@media only screen and (max-width: 768px) {
	/* Improved navbar for mobile */
	.navbar {
		height: 75px;
		padding: 8px 12px;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
	}
	
	.navbar .stats {
		flex: none;
		margin-right: 8px;
		min-width: 0;
		height: 45px;
		padding: 6px 8px;
		overflow-x: auto;
		flex-wrap: nowrap;
		gap: 6px;
	}
	
	.navbar .stats .stat {
		font-size: 10px;
		margin: 0;
		padding: 4px 8px;
		height: 30px;
		min-width: 60px;
		flex-shrink: 0;
		white-space: nowrap;
	}
	
	.navbar .sociallinks {
		padding: 6px;
		gap: 4px;
		height: 45px;
		flex-shrink: 0;
	}
	
	.navbar .fab,
	.navbar .fas {
		width: 25px !important;
		height: 25px !important;
	}
	
	/* Improved banner for mobile */
	.banner {
		margin-top: 75px;
	}
	
	.banner img {
		height: 180px;
		max-height: 180px;
	}
	
	.SystemTitle {
		font-size: 18px;
		top: 12px;
	}
	
	.EventTitle {
		font-size: 22px;
		top: 38px;
		left: 15px;
		right: 15px;
	}
	
	.StatusBanner {
		font-size: 13px;
		bottom: 0;
		left: 10px;
		right: 10px;
		padding: 8px 10px;
	}
	
	/* Mobile-optimized content */
	ul {
		width: 98%;
		margin-left: 1%;
		margin-right: 1%;
	}
	
	li {
		padding: 18px;
		margin-bottom: 8px;
	}
	
	/* Better touch targets for mobile */
	.reaction-btn {
		min-width: 44px;
		min-height: 44px;
		padding: 8px 12px;
		font-size: 15px;
	}
	
	/* Better touch targets for mobile social icons in content areas */
	.socialblock .fab, 
	.socialblock .fas,
	.reaction-container .fab,
	.reaction-container .fas {
		min-width: 20px !important;
		min-height: 20px !important;
		width: 20px;
		height: 20px;
	}
	
	/* Make sociallinks icons look like buttons to match emojiblock */
	.socialblock .sociallinks .fab,
	.socialblock .sociallinks .fas {
		background: rgba(255, 255, 255, 0.9) !important;
		border: 1px solid rgba(255, 255, 255, 0.2) !important;
		border-radius: 20px !important;
		padding: 6px 10px !important;
		min-width: 32px !important;
		min-height: 32px !important;
		width: auto !important;
		height: auto !important;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
		transition: all 0.3s ease !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		color: black !important;
		font-size: 20px !important;
	}
	
	.socialblock .sociallinks .fab:hover,
	.socialblock .sociallinks .fas:hover {
		transform: translateY(-2px) scale(1.05) !important;
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
		background: #fff !important;
		color: black !important;
	}
	
	/* Mobile typography improvements */
	p {
		font-size: 16px;
		line-height: 1.5;
	}
	
	h4 {
		font-size: 18px;
		line-height: 1.4;
	}
	
	/* Mobile image and video improvements */
	li video {
		max-width: 100%;
		max-height: 400px;
	}
	
	.lpk-live-photo-player {
		max-width: 100% !important;
		max-height: 400px !important;
	}
	
	li .wrapper {
		width: 100%;
	}
	
	/* Mobile poll improvements */
	.poll-answer-item {
		padding: 16px !important;
		margin-bottom: 10px !important;
		min-height: 44px;
	}
	
	.poll-answer-text {
		font-size: 15px;
	}
	
	.poll-vote-button {
		padding: 14px 24px;
		font-size: 16px;
		min-height: 44px;
	}
	
	/* Mobile social sharing improvements */
	.socialblock {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 12px;
		align-items: center;
		justify-content: center;
	}
	
	.reaction-container {
		width: 100%;
		justify-content: center;
		flex-wrap: wrap;
		gap: 8px;
		padding: 8px 12px;
	}
	
	.reaction-btn.share-btn {
		min-width: 44px;
		min-height: 44px;
		padding: 8px 12px;
	}
	
	.share-dropdown-wrapper {
		position: fixed;
		bottom: auto;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		z-index: 9999999;
	}
	
	.reaction-container .share-dropdown-menu {
		min-width: 200px;
		max-width: 90vw;
	}
	
	/* Legacy mobile sociallinks - hidden in favor of integrated share */
	.socialblock .sociallinks {
		display: none;
	}
	

	
	.reaction-container {
		justify-content: center;
		padding: 8px 12px;
	}
}

/* Additional responsive breakpoints */

/* Large mobile/small tablet adjustments */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
	.navbar {
		height: 65px;
		padding: 10px 15px;
	}
	
	.navbar .stats .stat {
		font-size: 12px;
		padding: 6px 10px;
	}
	
	ul {
		width: 96%;
		margin-left: 2%;
		margin-right: 2%;
	}
	
	li {
		padding: 22px;
	}
}
	
/* Improved responsive grid system */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

@media only screen and (max-width: 768px) {
	.grid-sizer,
	.grid-item {
		width: calc(50% - 3px) !important;
	}
}

@media only screen and (min-width: 769px) and (max-width: 991px) {
	.grid-sizer,
	.grid-item {
		width: calc(33.333% - 5px) !important;
	}
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
	.grid-sizer,
	.grid-item {
		width: calc(25% - 5px) !important;
	}
}

@media only screen and (min-width: 1201px) {
	.grid-sizer,
	.grid-item {
		width: calc(16.666% - 4px) !important; /* 6 per line for large desktops */
	}
}

/* ---- .grid-item ---- */

.grid-sizer,
.grid-item {
  width:calc(50% - 5px);
}

.grid-item {
  float: left;
  margin-bottom: 5px;
}

.grid-item img {
  display: block;
  max-width: 100%;
}

/* Enhanced touch interactions for mobile */
@media (hover: none) and (pointer: coarse) {
	/* Touch device specific styles */
	.reaction-btn {
		padding: 10px 14px;
		min-width: 48px;
		min-height: 48px;
		font-size: 16px;
		border-radius: 24px;
	}
	
	.fab, .fas {
		min-width: 20px !important;
		min-height: 20px !important;
		width: 20px;
		height: 20px;
		padding: 4px !important;
	}
	
	.poll-answer-item {
		padding: 18px !important;
		min-height: 56px;
		margin-bottom: 8px !important;
	}
	
	.poll-vote-button {
		min-height: 48px;
		padding: 14px 28px;
		font-size: 17px;
	}
	
	/* Share button touch optimizations */
	.reaction-btn.share-btn {
		min-height: 48px;
		padding: 10px 16px;
	}
	
	.share-dropdown-item {
		padding: 16px;
		min-height: 56px;
	}
	
	/* Remove hover effects on touch devices */
	.reaction-btn:hover {
		transform: none;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	}
	
	.poll-answer-item:hover {
		transform: none;
		box-shadow: none;
	}
	
	.reaction-btn.share-btn:hover {
		transform: none;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	}
	
	.share-dropdown-item:hover {
		background: none;
	}
	
	/* Add touch feedback instead */
	.reaction-btn:active {
		transform: scale(0.95);
		transition: transform 0.1s ease;
	}
	
	.poll-answer-item:active {
		background: rgba(200, 220, 255, 0.9) !important;
		transition: background 0.1s ease;
	}
	
	.fab:active, .fas:active {
		transform: scale(0.9);
		transition: transform 0.1s ease;
	}
	
	.reaction-btn.share-btn:active {
		transform: scale(0.95);
		transition: transform 0.1s ease;
	}
	
	.share-dropdown-item:active {
		background: rgba(74, 144, 226, 0.2);
		transition: background 0.1s ease;
	}
}

/* Improve spoiler button for mobile */
@media only screen and (max-width: 768px) {
	li .spoilerbtn {
		padding: 16px 24px;
		font-size: 15px;
		border-radius: 8px;
		display: block;
		text-align: center;
		margin: 8px auto;
		max-width: 280px;
	}
	
	.livebutton {
		padding: 16px 24px;
		font-size: 15px;
		min-height: 48px;
		border-radius: 8px;
		display: block;
		text-align: center;
		margin: 8px auto;
		max-width: 280px;
	}
}


/* Old share-btn styling removed - now using sociallinks */

.socialblock {
	margin-top: 16px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	position: relative;
}

/* Share Button Container */
.share-dropdown {
	position: relative;
	display: inline-block;
}

.share-button {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	border-radius: 25px;
	padding: 8px 16px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	transition: all 0.3s ease;
	height: 50px;
	box-sizing: border-box;
	cursor: pointer;
	user-select: none;
}

.share-button:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: translateY(-1px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.share-button .share-icon {
	font-size: 18px !important;
	width: 36px;
	height: 36px;
	text-align: center;
	background: rgba(255, 255, 255, 0.9);
	color: #4a5568 !important;
	border-radius: 50%;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.3s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.share-button .share-text {
	font-size: 14px;
	font-weight: 600;
	color: #4a5568;
	margin-right: 4px;
}

.share-button .dropdown-arrow {
	font-size: 12px !important;
	color: #4a5568;
	transition: transform 0.3s ease;
}

.share-button.active .dropdown-arrow {
	transform: rotate(180deg);
}

/* Share Dropdown Menu */
.share-dropdown-menu {
	position: fixed;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
	z-index: 9999999;
	display: none;
	margin-bottom: 8px;
	min-width: 180px;
}

.share-dropdown-menu.show {
	display: block;
	animation: dropdownSlide 0.3s ease-out;
}

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

.share-dropdown-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
	color: #4a5568;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.share-dropdown-item:last-child {
	border-bottom: none;
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
}

.share-dropdown-item:first-child {
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
}

.share-dropdown-item:hover {
	background: rgba(74, 144, 226, 0.1);
	color: #4a90e2;
}

.share-dropdown-item .fab,
.share-dropdown-item .fas {
	font-size: 16px !important;
	width: 28px !important;
	height: 28px !important;
	background: none !important;
	border: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.share-dropdown-item .share-label {
	font-size: 14px;
	font-weight: 500;
}

/* Platform-specific colors on hover */
.share-dropdown-item[data-platform="facebook"]:hover .fab {
	color: #1877f2 !important;
}

.share-dropdown-item[data-platform="instagram"]:hover .fab {
	color: #E4405F !important;
}

.share-dropdown-item[data-platform="twitter"]:hover .fab {
	color: #000 !important;
}

/* Legacy sociallinks class for backward compatibility */
.socialblock .sociallinks {
	display: none; /* Hide old sociallinks, replaced by share-dropdown */
}

.emojiblock {
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

/* Mobile-specific emojiblock styling */
@media only screen and (max-width: 768px) {
	.emojiblock {
		width: 120%;
		margin-left: -25px;
		margin-right: -25px;
	}
}

.reaction-container {
	display: flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	border-radius: 25px;
	padding: 6px 10px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	transition: all 0.3s ease;
	box-sizing: border-box;
	position: relative; /* Add this for dropdown positioning */
}

.reaction-container:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: translateY(-1px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.reaction-btn {
	background: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 20px;
	padding: 6px 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	color: black;
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.reaction-btn:hover {
	transform: translateY(-2px) scale(1.05);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	background: #fff;
}

.reaction-btn.clicked {
	transform: scale(0.95);
}

.reaction-btn.selected {
	background: #183569;
	color: white;
	border-color: #183569;
}

.reaction-btn i {
	font-size: 16px;
}

.reaction-count {
	font-weight: 600;
	font-size: 12px;
	min-width: 16px;
	text-align: center;
}

.reaction-count:empty {
	display: none;
}

/* Share button integrated into reaction container */
.reaction-btn.share-btn {
	background: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 20px;
	padding: 6px 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	font-size: 14px;
	color: black;
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	position: relative;
	min-width: 36px;
	height: 36px;
	justify-content: center;
	z-index: 999999;
}

.reaction-btn.share-btn:hover {
	transform: translateY(-2px) scale(1.05);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	background: #fff;
}

.reaction-btn.share-btn.active {
	background: #183569;
	color: white;
	border-color: #183569;
}

.reaction-btn.share-btn i {
	font-size: 16px;
}

/* Share button icon color */
.reaction-btn.share-btn .fas.fa-share-alt {
	color: black !important;
	font-size: 16px !important;
	background: none !important;
	border-radius: 0 !important;
	transition: none !important;
	box-shadow: none !important;
	border: none !important;
	width: auto !important;
	height: auto !important;
}

/* Share button icon color when active */
.reaction-btn.share-btn.active .fas.fa-share-alt {
	color: white !important;
}

/* Remove hover movement for share button icon */
.reaction-btn.share-btn .fas.fa-share-alt:hover {
	transform: none !important;
}

/* Share dropdown wrapper positioned relative to reaction container */
.share-dropdown-wrapper {
	position: fixed;
	z-index: 9999999;
	margin-bottom: 8px;
}

/* Adjust share dropdown menu for new positioning */
.reaction-container .share-dropdown-menu {
	position: relative;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
	display: none;
	min-width: 180px;
	right: 0;
	z-index: 9999999;
}

.reaction-container .share-dropdown-menu.show {
	display: block;
	animation: dropdownSlide 0.3s ease-out;
}


li video
{
	border-radius: 8px;
	display: block;
	margin: auto;
	max-width: 75%;
	max-height: 650px !important;
	/* Mobile video optimizations */
	width: 100%;
	height: auto;
}

/* Mobile-specific video improvements */
@media only screen and (max-width: 768px) {
	li video {
		max-width: 100%;
		max-height: 400px !important;
		border-radius: 6px;
	}
	
	/* Improve audio player for mobile */
	.audioplayer audio {
		width: 100% !important;
		min-height: 54px;
		border-radius: 6px;
	}
}

/* Simplified Audio Player Styles */
.audioplayer {
	display: block;
	margin: 8px 0;
	padding: 0;
	border: none;
	background: transparent;
	box-shadow: none;
}

.audioplayer audio {
	width: 100% !important;
	height: 45px;
	border-radius: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	transition: none;
	outline: none;
	margin: 0;
}

.audioplayer audio:hover {
	background: transparent;
	box-shadow: none;
}

.audioplayer audio::-webkit-media-controls-panel {
	background: transparent;
	border-radius: 0;
	padding: 0;
}

.audioplayer audio::-webkit-media-controls-current-time-display,
.audioplayer audio::-webkit-media-controls-time-remaining-display {
	color: #333;
	font-size: 12px;
	font-weight: 500;
}

.audioplayer audio::-webkit-media-controls-timeline {
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.1);
	height: 4px;
}

.audioplayer audio::-webkit-media-controls-volume-slider {
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.1);
	height: 4px;
}

.audioplayer audio::-webkit-media-controls-play-button,
.audioplayer audio::-webkit-media-controls-pause-button {
	border-radius: 50%;
	background: rgba(24, 53, 105, 0.9);
	color: white;
	transition: none;
}

.audioplayer audio::-webkit-media-controls-play-button:hover,
.audioplayer audio::-webkit-media-controls-pause-button:hover {
	background: rgba(24, 53, 105, 0.9);
	transform: none;
}

/* Mobile enhancements for audio player */
@media only screen and (max-width: 768px) {
	.audioplayer audio {
		height: 50px;
		border-radius: 0;
		margin: 8px 0;
	}
	
	.audioplayer audio::-webkit-media-controls-panel {
		background: transparent;
		padding: 0;
	}
	
	.audioplayer audio::-webkit-media-controls-current-time-display,
	.audioplayer audio::-webkit-media-controls-time-remaining-display {
		font-size: 11px;
	}
}

/* Dark mode support for audio player */
@media (prefers-color-scheme: dark) {
	.audioplayer audio {
		background: transparent;
		border: none;
	}
	
	.audioplayer audio:hover {
		background: transparent;
	}
	
	.audioplayer audio::-webkit-media-controls-panel {
		background: transparent;
	}
	
	.audioplayer audio::-webkit-media-controls-current-time-display,
	.audioplayer audio::-webkit-media-controls-time-remaining-display {
		color: #fff;
	}
	
	.audioplayer audio::-webkit-media-controls-timeline,
	.audioplayer audio::-webkit-media-controls-volume-slider {
		background: rgba(255, 255, 255, 0.2);
	}
}

/* Better iframe/YouTube embed sizing */
li .wrapper {
	border-radius: 6px;
	overflow: hidden;
}

/* Improve iframe controls for touch */
li .h_iframe iframe {
	border-radius: 6px;
	min-height: 200px;
}

.lpk-live-photo-player
{
	border-radius: 8px !important;
	display: block !important;
	margin: auto !important;
	max-width: 75% !important;
	max-height: 650px !important;
}

body
{
	margin: 0px;
	/* For browsers that do not support gradients */
	/* For Safari 5.1 to 6.0 */
	/* For Opera 11.1 to 12.0 */
	/* For Firefox 3.6 to 15 */
	background: linear-gradient(#DDDDDD, #124672);
	/* Standard syntax */
	background-repeat: repeat-x;
	font-family: 'Raleway';
	/* Improve mobile scrolling performance */
	-webkit-overflow-scrolling: touch;
	/* Prevent text adjustment on mobile */
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	/* Improve touch scrolling */
	overscroll-behavior: contain;
}

.lpk-live-photo-player { z-index: 2 !important; }

.far
{
	color: black;
	font-size: 20px !important;
}

.copyrightline img { width: 200px !important; }
.copyrightline a { color: white !important; }

.banner
{
	position: relative;
	z-index: 1;
	margin-top: 60px;
	overflow: hidden;
}

.banner img
{
	display: block;
	width: 100%;
	height: 225px;
	max-height: 225px;
	object-fit: cover;
}

.banner::after
{
	content: " ";
	position: absolute;
	height: 100%;
	width: 100%;
	background: rgba(0, 0, 0, 0.4);
	top: 0px;
}

.SystemTitle
{
	font-size: 24px;
	line-height: 1.2;
	color: #fff;
	position: absolute;
	top: 20px;
	text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.8);
	z-index: 2;
	text-align: center;
	width: 100%;
	font-weight: 300;
}

.EventTitle
{
	font-size: 32px;
	line-height: 1.2;
	color: #fff;
	position: absolute;
	top: 60px;
	left: 20px;
	right: 20px;
	text-align: center;
	text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.8);
	z-index: 2;
	font-weight: 600;
}

.StatusBanner
{
	font-size: 16px;
	line-height: 1.3;
	color: #fff;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
	text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.8);
	z-index: 2;
	font-weight: 400;
	padding: 12px 0;
	background: linear-gradient(to right, 
		rgba(0, 0, 0, 0) 0%, 
		rgba(0, 0, 0, 0.6) 15%, 
		rgba(0, 0, 0, 0.6) 85%, 
		rgba(0, 0, 0, 0) 100%);
	backdrop-filter: blur(5px);
}

.copyrightline
{
	padding-bottom: 10px;
	font-size: 17px;
	line-height: 1.42857143;
	color: #fff;
	width: 100%;
	text-align: center;
}

p
{
	font-size: 15px;
	line-height: 1.42857143;
	color: #333;
	text-align: left;
}

h4
{
	font-size: 16px;
	line-height: 1.42857143;
	color: #333;
	font-weight: bold;
	text-transform: capitalize;
}

ul
{
	list-style-type: none;
	width: 90%;
	margin-left: 5%;
	margin-right: 5%;
	padding: 0px;
}

li
{
	padding: 25px;
	background-color: #f7fbff;
	margin-bottom: 6px;
	border-radius: 0px;
}

li:first-child
{
	border-top-right-radius: 8px;
	border-top-left-radius: 8px;
}

li:last-child
{
	border-bottom-right-radius: 8px;
	border-bottom-left-radius: 8px;
}

li .spoilerbtn
{
	background-color: #555555;
	border: none;
	color: white;
	padding: 15px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	margin: 4px 2px;
	cursor: pointer;
	line-height: 1.42857143;
}

.livebutton{
	background-color: #555555;
	border: none;
	color: white;
	padding: 15px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	margin: 4px 2px;
	cursor: pointer;
}

.pollanswerlist li
{
	margin: 0px;
	padding: 5px;
}

.pollanswerlist li label
{
	font-size: 15px;
	line-height: 1.42857143;
	color: #333;
	width: 49%;
	display: inline-block;
}

.pollanswerlist li .votearea
{
	width: 100%;
	display: inline-block;
	height: 1.2em;
	background: #FFF;
	border-radius: 25px;
}

.pollanswerlist li .votearea .perc
{
	background-color: #183569;
	height: 100%;
	/* overflow:hidden; */
	border-radius: 25px;
	text-align: center;
}

.commentsframe
{
	width: 100%;
	border: none;
	height: 250px;
}

li .wrapper
{
	width: 90%;
	height: auto;
	margin: 0 auto;
	background: transparent;
}

li .h_iframe { position: relative; }

li .h_iframe .ratio
{
	display: block;
	width: 100%;
	height: auto;
}

li .h_iframe iframe
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Old emoji styles removed - now using modern reaction buttons */

reactioncount
{
	text-align: center;
	display: block;
	width: 100% !important;
	font-size: 15px;
}

.fb-like
{
	float: right;
	position: relative;
}

.fb-share-button
{
	float: right;
	position: relative;
}

.navbar
{
	background: linear-gradient(135deg, #183569 0%, #2a4f7b 100%);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	backdrop-filter: blur(10px);
	border-bottom: none;
	text-align: center;
	z-index: 3;
	height: 60px;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 0 20px;
	transition: all 0.3s ease;
}

.navbar .stats
{
	flex: 1;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	display: flex;
	flex-direction: row;
	font-size: 14px;
	line-height: 1.42857143;
	color: #333;
	font-weight: 500;
	align-items: center;
	border-radius: 25px;
	padding: 8px 12px;
	margin-right: 15px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	transition: all 0.3s ease;
	height: 50px;
	box-sizing: border-box;
}

.navbar .stats:hover {
	background: rgba(255, 255, 255, 0.25);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

	.navbar .stats .stat
{
	white-space: nowrap;
	flex: 1;
	text-align: center;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 15px;
	font-size: 14px;
	font-weight: 600;
	color: black;
	transition: all 0.2s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	height: 36px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
}.navbar .stats .stat:hover {
	background: #fff;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.navbar .weblink
{
	flex-grow: 1;
	text-align: center;
}

.navbar .weblink a
{
	text-decoration: none;
	cursor: pointer;
	color: #000;
	background-color: #f7fbff;
	font-size: 14px;
	border-radius: 4px;
	margin: 5px;
}

.navbar .sociallinks
{
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	border-radius: 25px;
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	transition: all 0.3s ease;
	height: 50px;
	box-sizing: border-box;
}

.navbar .sociallinks:hover {
	background: rgba(255, 255, 255, 0.25);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.fab
{
	font-size: 18px !important;
	width: 36px;
	height: 36px;
	text-align: center;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.9);
	color: #4a5568 !important;
	border-radius: 50%;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.3s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.fas
{
	font-size: 18px !important;
	width: 36px;
	height: 36px;
	text-align: center;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.9);
	color: #4a5568 !important;
	border-radius: 50%;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.3s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.fab:hover
{
	text-decoration: none !important;
	transform: translateY(-2px) scale(1.1);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	background: #fff;
}

.fas:hover
{
	text-decoration: none !important;
	transform: translateY(-2px) scale(1.1);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	background: #fff;
}

.fa-facebook-f:hover { color: #1877f2 !important; }
.fa-instagram:hover { color: #E4405F !important; }
.fa-x-twitter:hover { color: #000 !important; }
.fa-home:hover { color: #183569 !important; }

/* Social icon colors handled in hover states above */

/* Post category styling */
.post-category {
    background-color: #f0f0f0;
    color: #333;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 3px;
    margin-bottom: 8px;
    font-weight: bold;
    display: inline-block;
}

/* New post header layout with flexbox */
.post-header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 10px;
}

.post-header-left {
    flex: 1;
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.post-header-right {
    background: rgba(255, 255, 255, 0.1);
    color: #333;
    padding: 4px 10px;
    font-size: 16px;
    border-radius: 15px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-header-right i {
    font-size: 14px !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    color: inherit !important;
}

.post-header-right:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile responsive adjustments */
@media only screen and (max-width: 768px) {
    .post-header {
		flex-direction: row;
		align-items: center;
		gap: 5px;
    }
    
    .post-header-right {
        align-self: flex-end;
    }
}

/* Enhanced reaction button styles for optimistic updates */
.reaction-btn {
    transition: all 0.2s ease;
    transform-origin: center;
}

.reaction-btn.clicked {
    transform: scale(1.2);
    background-color: rgba(0, 123, 255, 0.1);
}

.reaction-btn.selected {
    background-color: rgba(0, 123, 255, 0.2);
    color: #007bff;
    border-color: #007bff;
}

.reaction-count {
    transition: all 0.3s ease;
    display: inline-block;
}

/* Animation for count changes */
@keyframes countBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.reaction-count.updated {
    animation: countBounce 0.4s ease;
}

.stat {
    margin-right: 15px;
    white-space: nowrap;
}

/* Add margin to stat value spans for spacing */
.update-count, .totalphotos, .lastloadtime {
    margin-left: 5px;
}

/* Custom Dropdown Styles */
.custom-dropdown {
	position: relative;
	display: inline-block;
	/* Ensure stacking context for dropdown */
	z-index: 1010;
}

.custom-dropdown #dropdownSelected {
    /* Remove background, border, padding since the parent .stat handles it */
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: inherit; /* Inherit from parent .stat */
    transition: all 0.2s ease;
    /* Remove box-shadow, min-width, justify-content */
    width: 100%;
    height: 100%;
    justify-content: center;
}

.custom-dropdown #dropdownSelected.active {
    /* Subtle indication that dropdown is open */
    background: rgba(0, 0, 0, 0.05);
}

.custom-dropdown #dropdownSelected i {
    font-size: 12px !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    transition: transform 0.2s ease;
}

.custom-dropdown #dropdownSelected.active i {
    transform: rotate(180deg);
}

.dropdown-options {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 6px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
	z-index: 9999999;
	display: none;
	max-height: 350px;
	overflow-y: auto;
	margin-top: 3px;
}

.dropdown-option {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    color: black;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-option:last-child {
    border-bottom: none;
}

.dropdown-option:hover {
    background: rgba(24, 53, 105, 0.1);
    color: #183569;
}

.stat {
    margin-right: 15px;
    white-space: nowrap;
}

/* Dark Mode */

@media (prefers-color-scheme: light)
{
	body
	{
		background-color: #FFF;
		color: #000;
	}
}

@media (prefers-color-scheme: dark)
{

	.share-btn .fab {
  		background: none;
  		color: #e2e8f0;
	}
	
	.share-btn .fas {
  		background: none;
  		color: #e2e8f0;
	}
	
	/* Share Button Dark Mode */
	.share-button {
		background: rgba(45, 55, 72, 0.3);
		border: 1px solid rgba(255, 255, 255, 0.1);
	}
	
	.share-button:hover {
		background: rgba(45, 55, 72, 0.5);
	}
	
	.share-button .share-icon {
		background: rgba(45, 55, 72, 0.9);
		color: #e2e8f0 !important;
		border: 1px solid rgba(255, 255, 255, 0.1);
	}
	
	.share-button .share-text {
		color: #e2e8f0;
	}
	
	.share-button .dropdown-arrow {
		color: #e2e8f0;
	}
	
	.share-dropdown-menu {
		background: rgba(45, 55, 72, 0.95);
		border: 1px solid rgba(255, 255, 255, 0.1);
		box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
	}
	
	.share-dropdown-item {
		color: #e2e8f0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	}
	
	.share-dropdown-item:hover {
		background: rgba(74, 144, 226, 0.2);
		color: #4a90e2;
	}
	
	.reaction-container {
		background: rgba(45, 55, 72, 0.3);
		border: 1px solid rgba(255, 255, 255, 0.1);
	}
	
	.reaction-container:hover {
		background: rgba(45, 55, 72, 0.5);
	}
	
	.reaction-btn {
		background: rgba(45, 55, 72, 0.9);
		color: #e2e8f0;
		border: 1px solid rgba(255, 255, 255, 0.1);
	}
	
	.reaction-btn:hover {
		background: rgba(45, 55, 72, 1);
		color: #fff;
	}
	
	/* Make emoji reaction icons white in dark mode */
	.reaction-container .fab,
	.reaction-container .fas {
		color: white !important;
		background: none !important;
	}
	
	.reaction-btn .fab,
	.reaction-btn .fas {
		color: white !important;
		background: none !important;
	}
	
	.reaction-btn:hover .fab,
	.reaction-btn:hover .fas {
		color: white !important;
		background: none !important;
	}
	
	.reaction-btn.selected .fab,
	.reaction-btn.selected .fas {
		color: white !important;
		background: none !important;
	}
	
	/* Override .far color in dark mode for reaction icons */
	.reaction-container .far,
	.reaction-btn .far {
		color: white !important;
	}
	
	.reaction-btn.selected {
		background: #4a90e2;
		color: white;
		border-color: #4a90e2;
	}
	
	/* Integrated share button dark mode */
	.reaction-btn.share-btn {
		background: rgba(45, 55, 72, 0.9);
		color: #e2e8f0;
		border: 1px solid rgba(255, 255, 255, 0.1);
	}
	
	.reaction-btn.share-btn:hover {
		background: rgba(45, 55, 72, 1);
		color: #fff;
	}
	
	.reaction-btn.share-btn.active {
		background: #4a90e2;
		color: white !important;
		border-color: #4a90e2;
	}
	
	.reaction-container .share-dropdown-menu {
		background: rgba(45, 55, 72, 0.95);
		border: 1px solid rgba(255, 255, 255, 0.1);
		box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
	}
	
	/* Share button icon color in dark mode */
	.reaction-btn.share-btn .fas.fa-share-alt {
		color: #e2e8f0 !important;
		font-size: 16px !important;
		background: none !important;
		border-radius: 0 !important;
		transition: none !important;
		box-shadow: none !important;
		border: none !important;
		width: auto !important;
		height: auto !important;
	}
	
	/* Share button icon color when active in dark mode */
	.reaction-btn.share-btn.active .fas.fa-share-alt {
		color: white !important;
	}
	
	/* Remove hover movement for share button icon in dark mode */
	.reaction-btn.share-btn .fas.fa-share-alt:hover {
		transform: none !important;
	}

	body
	{
		background: #222;
		color: #FFF;
	}
	
	li { background-color: #5a5454; }
	p { color: white !important; }
	a { color: white !important; }
	h4 { color: white !important; }
	
	.navbar {
		background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
	}

	.navbar .stats
	{
		background: rgba(45, 55, 72, 0.95);
		color: #e2e8f0;
	}
	
	.navbar .stats .stat {
		background: rgba(102, 126, 234, 0.2);
		color: #cbd5e0;
	}
	
	.navbar .stats .stat:hover {
		background: rgba(102, 126, 234, 0.3);
	}
	
	.navbar .sociallinks {
		background: rgba(45, 55, 72, 0.3);
		border: 1px solid rgba(255, 255, 255, 0.1);
	}
	
	.navbar .sociallinks:hover {
		background: rgba(45, 55, 72, 0.5);
	}
	
	.navbar .fab,
	.navbar .fas {
		background: rgba(45, 55, 72, 0.9);
		color: #e2e8f0 !important;
		border: 1px solid rgba(255, 255, 255, 0.1);
	}
	
	.navbar .fab:hover,
	.navbar .fas:hover {
		background: rgba(45, 55, 72, 1);
		color: #fff !important;
	}
	
	/* Dark mode tag styling */
	.post-header-right {
		background: rgba(0, 0, 0, 0.2);
		color: #e2e8f0;
		border: 1px solid rgba(255, 255, 255, 0.1);
	}
	
	.post-header-right:hover {
		background: rgba(0, 0, 0, 0.3);
	}
	
	.post-header-right i {
		color: #e2e8f0 !important;
	}
	
	li .spoilerbtn { background-color: #a76b6b !important; }
	.pollanswerlist li label { color: white !important; }
	.livebutton { background-color: #a76b6b !important; }
	form { color: white !important; }
	form button { background-color: #a76b6b !important; }
	
	.pollanswerlist li .votearea .perc
	{
		color: black;
		background-color: #93b0cc;
	}
}

/* Remove reaction-container background and border in dark mode for mobile views */
@media (prefers-color-scheme: dark) and (max-width: 768px) {
	.reaction-container {
		background: transparent;
		border: none;
	}
	
	.reaction-container:hover {
		background: transparent;
		box-shadow: none;
	}
}

/* Add these styles to improve poll appearance */

/* Poll container styling */
.poll-container {
    background-color: transparent;
    border-radius: 12px;
    margin: 15px 0;
    border: none;
    box-shadow: none;
}

/* Dark mode support for poll container */
@media (prefers-color-scheme: dark) {
    .poll-container {
        background-color: transparent;
        border: none;
        box-shadow: none;
    }
}

/* Poll question styling */
.pollquestion {
    font-size: 15px !important;
    font-weight: 400 !important; /* Reduced from 600 to 400 */
    margin-bottom: 20px;
    text-align: left;
    padding: 5px 0 15px 0;
    border-bottom: none !important; /* Removed underline */
}

/* Dark mode poll question */
@media (prefers-color-scheme: dark) {
    .pollquestion {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Poll answers list */
.pollanswerlist {
    list-style: none;
    padding: 0;
    width: 100%;
    margin: 0 auto;
}

/* Individual poll answer items */
.poll-answer-item {
    background: rgba(230, 240, 250, 0.8) !important; /* Stronger background */
    padding: 14px !important;
    margin-bottom: 12px !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #c8d8e8 !important;
    position: relative;
}

/* Hover effect for poll answers */
.poll-answer-item:hover {
    background: rgba(210, 230, 255, 0.9) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.poll-answer-item:hover:after {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Selected/voted state */
.poll-answer-item.voted {
    border: 2px solid var(--poll-selected-color) !important;
    background: var(--poll-selected-bg) !important;
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    .poll-answer-item {
        background: rgba(70, 80, 95, 0.5) !important;
        border: 1px solid rgba(100, 120, 150, 0.3) !important;
    }
    
    .poll-answer-item:hover {
        background: rgba(80, 95, 120, 0.7) !important;
    }
    
    .poll-answer-item.voted {
        border: 2px solid #81c784 !important;
        background: rgba(129, 199, 132, 0.25) !important;
    }
}

/* Poll answer text */
.poll-answer-text {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    padding: 5px;
    text-align: left;
}

/* Vote area (progress bar container) */
.votearea {
    height: 26px !important;
    background: rgba(235, 235, 235, 0.8) !important;
    border-radius: 100px !important;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
    position: relative;
    margin-top: 8px;
    width: 100%;
}

/* Percentage bar */
.perc {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10px;
    height: 100% !important;
    font-weight: bold;
    color: #fff !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    border-radius: 100px;
    min-width: 0;
    width: 0; /* Start at 0 width */
    transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Dark mode vote areas */
@media (prefers-color-scheme: dark) {
    .votearea {
        background: rgba(0, 0, 0, 0.3) !important;
    }
    
    .perc {
        background: linear-gradient(90deg, #42a5f5 0%, #1e88e5 100%);
    }
}

/* Vote button styling */
.poll-vote-button {
    background: #3f51b5;
    border: none;
    color: white;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 15px auto 5px;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.poll-vote-button:hover {
    background: #303f9f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.poll-vote-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* For the button when inside a list item */
.pollanswerlist li:has(.poll-vote-button) {
    text-align: center;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

/* Dark mode button adjustment */
@media (prefers-color-scheme: dark) {
    .poll-vote-button {
        background: #5c6bc0;
    }
    
    .poll-vote-button:hover {
        background: #4a5aa9;
    }
}

/* Vote count display */
.poll-total-votes {
font-size: 15px;
text-align: left;
margin-top: 10px;
font-style: italic;
opacity: 0.7;
color: black;
}

/* Poll time remaining display */
.poll-time-remaining {
    font-size: 15px;
    color: #FF5722;
    margin: -15px 0 15px 0;
    text-align: left;
    font-weight: 500;
}

/* Add style for polls where voting has ended */
.voting-ended {
    opacity: 0.7;
    pointer-events: none;
    cursor: default !important;
}

.voting-ended:hover {
    transform: none !important;
    box-shadow: none !important;
    background: rgba(230, 240, 250, 0.8) !important;
}

@media (prefers-color-scheme: dark) {
    .poll-time-remaining {
        color: #FFB74D;
    }
    
    .voting-ended:hover {
        background: rgba(70, 80, 95, 0.5) !important;
    }
}

/* Poll time remaining display */
.poll-time-remaining {
    font-size: 14px;
    color: #FF5722;
    margin: -15px 0 15px 0;
    text-align: left;
    font-weight: 500;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .poll-time-remaining {
        color: #FFB74D;
    }
    
    /* Dark mode styles for custom dropdown */
    .custom-dropdown #dropdownSelected {
        color: inherit; /* Inherit from parent .stat in dark mode */
    }
    
    .custom-dropdown #dropdownSelected.active {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-options {
        background: rgba(45, 55, 72, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
        z-index: 9999999;
    }
    
    .dropdown-option {
        color: #e2e8f0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .dropdown-option:hover {
        background: rgba(74, 144, 226, 0.2);
        color: white;
    }
}

/* Hide all except #categoryDropdown in mobile views */
@media only screen and (max-width: 768px) {
	.navbar {
		overflow: visible !important;
	}
	.navbar .stats {
		overflow: visible !important;
	}
	.navbar .stats > .stat:not(#categoryDropdown) {
		display: none !important;
	}
	#categoryDropdown {
		display: inline-block !important;
	}
}

/* Multi-event page header styles */
.multieventheader {
    color: black;
    height: auto;
    text-align: center;
    padding: 20px 10px;
}

.multieventTitle {
    font-size: 30px;
    line-height: 1.42857143;
    color: #fff;
    top: 125px;
    left: 0px;
    right: 0px;
    text-align: center;
    text-shadow: 0px 0px 10px black;
    font-family: 'Raleway';
}

.multieventTitle3 {
    font-size: 25px;
    line-height: 1.42857143;
    color: #fff;
    top: 125px;
    left: 0px;
    right: 0px;
    text-align: center;
    text-shadow: 0px 0px 10px black;
    font-family: 'Raleway';
}

.multievents {
    display: flex;
    width: 100% !important;
    box-sizing: border-box;
    overflow: hidden;
    margin-top: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 10px;
}

.multibanner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.multibanner:hover {
    transform: translateY(-5px);
}

.multibanner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    height: 300px;
    min-height: 250px;
}

.multibanner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.multibanner .banner-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
}

.date {
    font-size: 18px;
    line-height: 1.42857143;
    color: #fff;
    position: absolute;
    bottom: 20px;
    left: 15px;
    right: 15px;
    text-align: center;
    text-decoration: none !important;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.8);
    font-weight: 500;
    margin: 0;
    z-index: 11;
}

.title {
    font-size: 24px;
    line-height: 1.42857143;
    color: #fff;
    position: absolute;
    bottom: 50px;
    left: 15px;
    right: 15px;
    text-align: center;
    text-decoration: none !important;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.8);
    font-weight: 600;
    margin: 0;
    z-index: 11;
}

.banner-overlay {
width: 100%;
height: 100%;
position: absolute;
top: 25%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
z-index: 10;
}


/* Multi-event layout styles */
.eventitem {
    width: calc(50% - 15px);
    display: inline-block;
    margin: 5px;
    vertical-align: top;
    box-sizing: border-box;
}

.eventitem a {
    text-decoration: none;
}

/* Mobile responsive for multi-events */
@media only screen and (max-width: 768px) {
    .multieventheader {
        padding: 15px 5px;
    }
    
    .multieventTitle {
        font-size: 24px;
    }
    
    .multieventTitle3 {
        font-size: 18px;
    }
    
    .multievents {
        flex-direction: column;
        padding: 0 5px;
    }
    
    .multibanner img {
        height: 200px;
        min-height: 200px;
    }
    
    .date {
        font-size: 16px;
        bottom: 15px;
        left: 10px;
        right: 10px;
        text-align: center;
    }

    .title {
        font-size: 18px;
        bottom: 40px;
        left: 10px;
        right: 10px;
        text-align: center;
    }
    
    .eventitem {
        width: calc(100% - 15px);
        display: block;
        margin: 5px auto;
    }
}

@media only screen and (max-width: 480px) {
    .multieventTitle {
        font-size: 20px;
    }
    
    .multieventTitle3 {
        font-size: 16px;
    }
    
    .multibanner img {
        height: 150px;
        min-height: 150px;
    }
    
    .date {
        font-size: 14px;
        bottom: 10px;
    }

    .title {
        font-size: 16px;
        bottom: 30px;
    }
}