/* 

Add here your custom css styles Example: p { text-align: center; color: red; } 

*/

/* Profile timeline fixes */
.wo_user_profile .posts_load,
.wo_user_profile .posts_load > #posts,
.wo_user_profile .posts_load .pinned-post-container {
	width: 100%;
}

.wo_user_profile .posts_load > #posts {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.wo_user_profile .posts_load > #posts > .post-container,
.wo_user_profile .posts_load > #posts > .user-ad-container,
.wo_user_profile .posts_load .pinned-post-container > .post-container,
.wo_user_profile .posts_load .pinned-post-container > .user-ad-container {
	display: block;
	width: 100%;
	max-width: 100%;
	clear: both;
	float: none;
	margin-bottom: 10px;
}

.wo_user_profile .posts_load > #posts > .post-container > .post > .panel,
.wo_user_profile .posts_load .pinned-post-container > .post-container > .post > .panel {
	margin-bottom: 0;
}

.wo_user_profile .posts_load .loading-status {
	clear: both;
	width: 100%;
}

.wo_user_profile .tag_profile_auto_load {
	display: none !important;
}

.wo_user_profile .wow_sett_content > .user_media_list_section:not(.user_media_list_section_side) {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 10px !important;
	clear: both;
	margin: 0 !important;
	overflow: visible !important;
}

.wo_user_profile .wow_sett_content > .user_media_list_section.insta .photo-data:nth-child(2),
.wo_user_profile .wow_sett_content > .user_media_list_section.insta .photo-data:nth-child(10) {
	float: none !important;
	width: auto !important;
}

.wo_user_profile .wow_sett_content > .user_media_list_section:not(.user_media_list_section_side) .photo-data,
.wo_user_profile .wow_sett_content > .user_media_list_section:not(.user_media_list_section_side) .video-data {
	float: none !important;
	width: auto !important;
	padding: 0 !important;
	overflow: visible !important;
}

.wo_user_profile .wow_sett_content > .user_media_list_section:not(.user_media_list_section_side) .photo-data > a,
.wo_user_profile .wow_sett_content > .user_media_list_section:not(.user_media_list_section_side) .video-data > a {
	aspect-ratio: 1 / 1;
	display: block;
	padding-bottom: 0;
	border-radius: 12px;
	background: linear-gradient(135deg, #24242a, #111116);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
	overflow: hidden;
}

.wo_user_profile .wow_sett_content > .user_media_list_section:not(.user_media_list_section_side) img,
.wo_user_profile .wow_sett_content > .user_media_list_section:not(.user_media_list_section_side) video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px;
	background: #000;
}

.wo_user_profile .tag_profile_video_tile > a:after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 45%;
	background: linear-gradient(transparent, rgba(0,0,0,0.46));
	pointer-events: none;
}

.wo_user_profile .tag_profile_video_play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: rgba(0,0,0,0.48);
	box-shadow: 0 4px 18px rgba(0,0,0,0.35);
	z-index: 2;
}

.wo_user_profile .tag_profile_video_play svg {
	width: 24px;
	height: 24px;
	margin-left: 2px;
}

.messages-container .message-media video.tag_chat_video_preview,
.chat-messages-wrapper .message-media video.tag_chat_video_preview,
.tag_msg_wrapper .message-media video.tag_chat_video_preview {
	width: min(100%, 360px);
	max-height: 420px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 16px;
	background: #000;
	display: block;
}

.tag_pub_upload_toast {
	position: fixed;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	z-index: 1065;
	width: min(92vw, 360px);
	padding: 12px 14px;
	border-radius: 14px;
	color: #fff;
	background: rgba(20,20,24,0.94);
	box-shadow: 0 14px 35px rgba(0,0,0,0.28);
	backdrop-filter: blur(14px);
}

.tag_pub_upload_toast strong {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 600;
}

.tag_pub_upload_toast .tag_pub_upload_track {
	height: 5px;
	border-radius: 999px;
	overflow: hidden;
	background: rgba(255,255,255,0.18);
}

.tag_pub_upload_toast .tag_pub_upload_bar {
	width: 0%;
	height: 100%;
	border-radius: inherit;
	background: var(--main);
	transition: width 160ms ease;
}

@media (max-width: 600px) {
	.tag_messages input,
	.tag_messages textarea,
	.tag_messages select,
	.chat-textarea textarea,
	.tag_write_msg > textarea {
		font-size: 16px !important;
	}

	.tag_header > .search-container.show .search-input,
	.tag_header .search-input:focus,
	.tag_expand_search.tag_header > .search-container.show .search-input,
	.search-dropdown-container input,
	.search-for-posts,
	#search_for_text,
	#search_for_certifications,
	#search-movies,
	#product-text,
	#nearby-username {
		font-size: 16px !important;
	}

	.wo_user_profile .wow_sett_content > .user_media_list_section:not(.user_media_list_section_side) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 7px;
	}

	.wo_user_profile .wow_sett_content > .user_media_list_section:not(.user_media_list_section_side) .photo-data > a,
	.wo_user_profile .wow_sett_content > .user_media_list_section:not(.user_media_list_section_side) .video-data > a,
	.wo_user_profile .wow_sett_content > .user_media_list_section:not(.user_media_list_section_side) img,
	.wo_user_profile .wow_sett_content > .user_media_list_section:not(.user_media_list_section_side) video {
		border-radius: 8px;
	}

	.wo_user_profile .tag_profile_video_play {
		width: 34px;
		height: 34px;
	}
}
