/* General container style */
.main-container {
	display: flex;
	min-height: 100vh;
}

.content {
	flex-grow: 1;
	padding: 10px 20px;
	height: 100vh;
	overflow-y: auto; /* Enables scrolling if content overflows */
	scrollbar-width: none; /* For Firefox */
	-ms-overflow-style: none; /* For Internet Explorer 10+ */
}

.content::-webkit-scrollbar {
	display: none; /* For Chrome, Safari, and Opera */
}

/* Sidebar Style */
.sidebar {
	width: 450px;
	background-color: var(--app-surface);
	position: relative;
	top: 0;
	right: 0;
	height: 100vh;
	overflow-y: auto;
	padding: 20px;
	box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
}

.search-bar input {
	width: 100%;
	padding: 8px 10px 8px 40px;
	margin-bottom: 15px;
	border-radius: 15px;
	border: none;
	background: var(--app-bg);
}

.search-bar input::placeholder {
	text-align: left;
	font-size: 15px;
	font-weight: 400;
	color: #aaa;
}

input:focus-visible {
	border: 2px solid #B9A879;
	outline: none;
}

.searchIcon {
	position: absolute;
	width: 20px !important;
	height: 20px !important;
	left: 12px;
	top: 20px;
	padding: 0 !important;
}


.page-item {
	text-align: left;
	color: var(--app-text-muted);
	line-height: 1.9;
}

/* Latest Events */
.latest-events {
	margin-top: 30px;
}

.latest-events p {
	font-size: 18px;
	font-weight: 400;
	color: var(--app-text);
	margin-bottom: 10px;
}

.latest-events .event-item {
	font-size: 12px;
	color: var(--app-text);
	line-height: 1.5;
	border-radius: 15px;
	margin-bottom: 8px;
    background: var(--app-bg);
	padding: 10px 15px;
	font-weight: 400;
}

.view-more {
	background-color: #B9A879;
	color: var(--app-bg);
	padding: 4px 15px;
	border: none;
	border-radius: 15px;
	cursor: pointer;
	margin-top: 15px;
	width: auto;
	text-align: center;
}

.view-more:hover {
	background-color: #6d6d6d;
}

/* Pages List */
.pages {
	margin-top: 40px;
}

.pages p {
	font-size: 18px;
	font-weight: bold;
	color: #333;
}

.pages ul {
	list-style-type: none;
	padding-left: 0;
}

.pages ul li {
	margin-bottom: 10px;
	text-align: left;
}

.pages ul li a {
	font-size: 16px;
	color: #555;
	text-decoration: none;
}

.pages ul li a:hover {
	text-decoration: underline;
}

/* Social Icons */
.social-icons {
	margin-top: 40px;
}

.social-icons ul {
	list-style-type: none;
	padding-left: 0;
	display: flex;
	gap: 25px;
	padding-right: 0;
    justify-content: center;
}

.social-icons ul li a {
	font-size: 24px;
	color: #333;
	transition: color 0.3s ease;
}

.social-icons ul li a:hover {
	color: #007bff;
}

/* Responsive Design */
@media ( max-width : 991px) {
	.sidebar {
		width: 250px;
		display: none !important;
	}
}

@media ( max-width : 767px) {
	.sidebar {
		width: 100%;
		height: auto;
		position: static;
		box-shadow: none;
		display: none !important;
	}
}

.engagement-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
}

.engagement-modal.is-open {
	display: block;
}

.engagement-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .45);
}

.engagement-modal__dialog {
	position: relative;
	width: calc(100% - 24px);
	max-width: 560px;
	margin: 5vh auto;
	z-index: 2;
}

.engagement-modal__close {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 3;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: #f5f5f5;
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
}

.profile-card-widget {
	width: 100%;
	border-radius: 15px;
	overflow: hidden;
	box-sizing: border-box;
	direction: rtl;
}

.profile-card-cover {
	position: relative;
	width: 100%;
	height: 120px;
	overflow: hidden;
}

.profile-card-cover-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.profile-card-body {
	position: relative;
	padding: 28px 50px 8px;
	background: var(--app-surface);
	border-radius: 15px;
}

.profile-card-avatar-wrap {
	position: absolute;
	top: -92px;
	right: 48px;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	border: 6px solid var(--app-bg);
	background: var(--app-bg);
	overflow: hidden;
	box-sizing: border-box;
	z-index: 2;
}

.profile-card-avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.profile-card-content {
	display: flex;
	justify-content: space-between;
	gap: 15px;
	padding-top: 40px;
}

.profile-card-main {
	display: flex;
	gap: 0px;
	min-width: 0;
}

.profile-card-name {
	font-size: 22px;
	font-weight: 800;
	line-height: 1.8;
	color: var(--app-text);
}

.profile-card-location {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--app-text);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.8;
	flex-wrap: wrap;
	justify-content: end;
}

.profile-card-location-text {
	display: inline-block;
	font-size: 24px;
}

.profile-card-title {
	align-items: flex-start;
	color: var(--app-text);
	flex: 0 0 auto;
	position: relative;
	top: -18px;
	font-weight: 300;
	text-align: justify;
	font-size: 18px;
	line-height: 1.9;
}

.profile-card-location-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.profile-card-action {
	flex: 0 0 auto;
}

.profile-card-btn {
	border: none;
	outline: none;
	background: var(--app-primary);
	color: var(--app-bg);
	font-size: 18px;
	font-weight: 500;
	padding: 10px 24px;
	border-radius: 15px;
	cursor: pointer;
	min-width: 160px;
	transition: opacity 0.2s ease;
}

.profile-card-notif {
	border: 1px solid var(--app-text);
	border-radius: 15px;
	background: var(--app-bg);
}

.fill-primary {
	fill: var(--app-primary);
}
.fill-text {
	fill: var(--app-text);
}
.fill-surface {
	fill: var(--app-surface);
}
.fill-muted {
	fill: var(--app-text-muted);
}
.stroke-muted {
	stroke: var(--app-text-muted);
}

.profile-card-btn:hover {
	opacity: 0.9;
}

.cover-logo {
	text-align: left;
}

.posts-card-widget {
	width: 100%;
	background: var(--app-surface);
	border-radius: 15px;
	overflow: hidden;
	box-sizing: border-box;
	direction: rtl;
}

.post-divider {
	border-bottom: 1px solid var(--app-text-muted)
}

.last-posts-title {
	font-size: 20px;
	border-bottom: 3px solid var(--app-primary);
	display: inline-block;
}

.post-card-header {
	padding-right: 100px;
}

.autofit-float.portlet-header {
	display: none;
}

.post-card {
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	padding: 28px 42px 26px;
	background: var(--app-surface);
	box-sizing: border-box;
	direction: rtl;
}

.post-card:hover {
	background: var(--app-bg);
}

.portlet {
	margin-bottom: 0px !important;
}

.post-card__header {
	margin-bottom: 24px;
}

.post-card__author {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
}

.post-card__author-meta {
	flex: 1 1 auto;
	min-width: 0;
}

.post-card__pinned {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	margin-bottom: 8px;
	font-size: 18px;
	color: var(--app-text);
}

.post-card__author-row {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 2px;
	flex-wrap: wrap;
}

.post-card__author-name-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
}

.post-card__author-name {
	font-size: 16px;
	font-weight: 600;
	color: var(--app-text);
	line-height: 1.6;
}

.post-card__flag {
	width: 30px;
	height: 20px;
	object-fit: cover;
	border-radius: 3px;
	display: block;
}

.post-card__date {
	font-size: 16px;
	color: var(--app-text-muted);
	line-height: 1.8;
}

.post-card__author-title {
	margin-top: 4px;
	font-size: 15px;
	color: var(--app-text);
	line-height: 1.0;
	font-weight: 500;
}

.post-card__avatar-wrap {
	flex: 0 0 auto;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	overflow: hidden;
}

.post-card__avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.post-card__text {
	font-size: 18px;
	line-height: 1.8;
	color: var(--app-text);
	font-weight: 500;
	max-width: 1120px;
	margin: 0 auto;
	white-space: normal;
	word-break: break-word;
	padding-right: 70px;
}

.post-card__media {
	margin: 30px auto 0;
	max-width: 900px;
}

.post-card__image, .post-card__video {
	width: 100%;
	display: block;
	border-radius: 16px;
	background: var(--app-text);;
}

.post-card__audio-box {
	max-width: 720px;
	margin: 0 auto;
	background: var(--app-bg);
	border-radius: 16px;
	padding: 18px;
	box-sizing: border-box;
}

.post-card__audio-title {
	margin-bottom: 12px;
	font-size: 18px;
	color: var(--app-text);;
	text-align: right;
}

.post-card__audio {
	width: 100%;
}

.post-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-top: 34px;
	flex-wrap: wrap;
}

.post-card__action, .post-card__stat {
	display: inline-flex;
	align-items: center;
	gap: 1px;
	background: transparent;
	border: none;
	padding: 0;
	margin: 0;
	font-size: 18px;
	color: var(--app-text-muted);
	line-height: 1.4;
}

.post-card__action {
	cursor: pointer;
}

.post-card__stat--like.is-active {
	color: #e10600;
}

.post-card__action-icon, .post-card__stat-icon {
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

@media ( max-width : 1600px) {
	.page-item {
	  line-height: 1.6;
	  font-size: 14px;
	}
	
}

@media ( max-width : 991px) {
	.post-card {
		padding: 22px 20px;
	}
	.post-card__author-name {
		font-size: 15px;
	}
	.post-card__date {
		font-size: 14px;
	}
	.post-card__author-title {
		font-size: 16px;
	}
	.post-card__text {
		font-size: 17px;
		line-height: 1.9;
	}
	.post-card__action, .post-card__stat {
		font-size: 22px;
	}
	.post-card__action-icon, .post-card__stat-icon {
		width: 30px;
		height: 30px;
	}
}

@media ( max-width : 767px) {
	.post-card__author {
		align-items: center;
	}
	.post-card__author-row {
		gap: 8px;
	}
	.post-card__author-name {
		font-size: 15px;
	}
	.post-card__date {
		font-size: 13px;
	}
	.post-card__author-title {
		font-size: 14px;
	}
	.post-card__avatar-wrap {
		width: 48px;
		height: 48px;
	}
	.post-card__text {
		font-size: 16px;
		line-height: 1.9;
	}
	.post-card__footer {
		justify-content: center;
		column-gap: 24px;
		row-gap: 14px;
	}
	.post-card__action, .post-card__stat {
		font-size: 18px;
	}
	.post-card__action-icon, .post-card__stat-icon {
		width: 24px;
		height: 24px;
	}
}

@media ( max-width : 991px) {
	.profile-card-cover {
		height: 110px;
	}
	.profile-card-avatar-wrap {
		width: 130px;
		height: 130px;
		top: -72px;
		right: 28px;
	}
	.profile-card-content {
		padding-top: 58px;
	}
	.profile-card-name {
		font-size: 21px;
	}
	.profile-card-location {
		font-size: 16px;
	}
}

@media ( max-width : 767px) {
	.profile-card-body {
		padding: 20px 20px 8px;
	}
	.profile-card-avatar-wrap {
		right: 20px;
		width: 110px;
		height: 110px;
		top: -80px;
		border-width: 4px;
	}
	.profile-card-content {
		flex-direction: column-reverse;
		align-items: flex-start;
		padding-top: 52px;
		gap: 20px;
	}
	.profile-card-action {
		width: 100%;
	}
	.profile-card-btn {
		width: 100%;
		min-width: 0;
	}
	.profile-card-name {
		font-size: 15px;
	}
	.profile-card-location {
		font-size: 15px;
	}

.profile-card-location-text {
  font-size: 16px;
}

.profile-card-title {
  font-size: 14px;
}

	.main-container {
  padding-right: 0;
  padding-left: 0;
}

.besm-logo {
	margin-right: 0;
	padding-right: 35px;
}

.cover-logo .logo-svg {
  left: 25px;
  position: absolute;
  top: 60px;
}

.cover-logo .menu-button {
  left: 10px;
  position: absolute;
  top: 62px;
}

	.content {
	padding: 10px 0px;
	}
	
	
	.submit-btn {
		width: 100% !important;
	}
	.title-box {
		text-align: center;
	}
	.row-2 {
		flex-direction: column;
	}
	.captcha-wrap>.captcha {
		width: 100%;
		text-align: center;
	}
	.taglib-captcha {
		flex-direction: column !important;
		width: 100%;
	}
	img.captcha {
		position: relative !important;
		right: auto;
	}
	html, body {
		overflow-x: hidden;
	}
}