@font-face {
    font-family: my;
    src: url(../../fonts/FiraGO-Regular.ttf);
}

.dashboard-section #dashboard {
	padding-top: 0 !important;
}

/* Flash შეტყობინება (#dashboard-ის პირველი შვილი) — სრული სიგანე ერთ რიგზე, რათა flex-ში არ „ჩაჭეჭოს“ sidebar + კონტენტი სამ სვეტად */
body.dashboard-section #dashboard > .notification {
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Global titles color */
h1, h2, h3, h4, h5, h6 {
	color: #2C3E50 !important;
}

/* პოსტის დასახელება ბარათებზე (ქოვერის/გრადიენტის ზედ) — გლობალური სათაურის წესის გადასაფარებლად */
.listing-item-container .listing-item-content h3,
.listing-item-container .listing-item-content h3 a,
#listings-dynamic-container .listing-item-content h3,
.listing-item-container.list-layout .listing-item-content h3,
.map-box .listing-item-content h3,
.leaflet-listing-item-content h3,
.infoBox .listing-item-content h3 {
	color: #ffffff !important;
	text-shadow: 0 0 15px #000000;
}

.blog-compact-item-container .blog-compact-item-content h3,
.blog-compact-item-container .blog-compact-item-content h3 a {
	color: #ffffff !important;
	text-shadow: 0 0 15px #000000;
}

/* მთავარი – index-posts ბლოკის ბარათებზე „New“ ლეიბლი: მოკლე ლენტი, იგივე სიმაღლე, უფრო დიდი ფონტი */
.home-recent-posts-section .blog-compact-item .listing-badge {
	font-size: 11px;
	line-height: 28px;
	width: 75px;
	right: -1px;
	top: 22px;
	font-weight: 600;
	border-radius: 10px;
}

/* Home banner slider caption title (only on home banner) */
.main-search-container .banner-slide-caption,
.main-search-container .banner-slide-caption a {
	color: #FFFFFF !important;
}

.main-search-container .banner-slide-caption {
	font-size: 24px !important;
	line-height: 1.25 !important;
}

.geofont {
    font-family: my!important; font-weight: normal !important; color: #404040 !important;
}

.lang-link {background-color: #ffe5cf8d;}
.lang-link:hover {background-color: #ba661b8d;}

/* ნავიგაცია – მომხმარებლის ჩამოსაშლელი მენიუ: ფართო (ტექსტების სრული ჩვენება), ფოტოს ზომა შემცირებული */
.user-menu ul {
	width: auto;
	min-width: 220px;
	max-width: 320px;
	white-space: nowrap;
}
.user-menu ul li a {
	white-space: nowrap;
}
.user-name span {
	width: 24px !important;
	height: 24px !important;
}
.user-name span img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* პროფილის ავატარები – ყველგან შემცირებული ზომა */
.message-avatar img {
	width: 38px !important;
	height: 38px !important;
	max-width: 38px;
	max-height: 38px;
	object-fit: cover;
}
.messages-inbox .message-avatar {
	left: 20px;
}
.messages-inbox .message-by {
	margin-left: 62px;
}
#dashboard .messages-container .messages-inbox .message-by {
	margin-left: 62px;
}
.hosted-by-avatar,
.hosted-by-avatar img {
	max-width: 40px !important;
	width: 40px !important;
	height: 40px !important;
	object-fit: cover;
}
.user-profile-avatar {
	max-width: 72px !important;
}
.user-profile-name {
	left: 88px !important;
}
body .user-profile-avatar {
	max-width: 56px !important;
}
body .user-profile-name {
	left: 72px !important;
}
@media (max-width: 992px) {
	.user-profile-avatar {
		max-width: 64px !important;
	}
	.user-profile-name {
		left: 80px !important;
	}
}
.avatar img {
	max-width: 52px !important;
	width: 52px !important;
	height: 52px !important;
	object-fit: cover;
}
.user-profile-avatar img {
	max-width: 100% !important;
	width: 100% !important;
	height: auto !important;
	object-fit: cover;
}
.author-profile-avatar {
	max-width: 120px !important;
	width: 120px !important;
	height: 120px !important;
	object-fit: cover;
}
.edit-profile-photo img {
	max-width: 140px !important;
}
#dashboard .messages-container .messages-inbox .message-avatar {
	left: 20px;
}

/* დეშბორდი – ჩემი პოსტების ქაუნთერები (საერთო ჯამი მშობელ პუნქტზე) */
.dashboard-nav .nav-tag.nav-tag-total { background-color: rgba(255,255,255,0.35); }

/* დეშბორდი – titlebar მთლიანად დამალული (breadcrumbs + სათაური) */
#dashboard #titlebar {
	display: none !important;
}

/* titlebar – ვერტიკალური დაშორებების შემცირება ყველგან */
#titlebar {
	padding: 16px 0 !important;
	margin-bottom: 16px !important;
}
#titlebar.gradient {
	padding-bottom: 6px !important;
}
.parallax #titlebar {
	padding: 20px 0 !important;
}
/* პარალაქსის ვიდეო ფონი */
.parallax-video-wrap { position: relative; background: #1a1a1a; }
.parallax-video-wrap .parallax-video-bg {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.parallax-video-wrap .parallax-overlay,
.parallax-video-wrap .text-content { position: relative; z-index: 1; }
#titlebar.listing-titlebar {
	padding-top: 0 !important;
	padding-bottom: 8px !important;
	margin-bottom: 12px !important;
}
@media (max-width: 992px) {
	#titlebar { padding: 14px 0 !important; margin-bottom: 14px !important; }
	#titlebar.listing-titlebar { padding-bottom: 6px !important; margin-bottom: 10px !important; }
}
@media (max-width: 768px) {
	#titlebar { padding: 12px 0 !important; margin-bottom: 12px !important; }
	#titlebar.listing-titlebar { padding-bottom: 6px !important; margin-bottom: 8px !important; }
}

/* დინამიური ფილტრები – ჩატვირთვის მდგომარეობა */
#listings-ajax-row.listings-loading { opacity: 0.6; pointer-events: none; position: relative; min-height: 120px; }
#listings-ajax-row.listings-loading::after { content: ''; position: absolute; left: 50%; top: 40px; width: 32px; height: 32px; margin-left: -16px; border: 3px solid #e0e0e0; border-top-color: #666; border-radius: 50%; animation: listings-spin 0.8s linear infinite; }
@keyframes listings-spin { to { transform: rotate(360deg); } }

.listings-load-more-indicator .listings-spinner { display: inline-block; width: 28px; height: 28px; border: 3px solid #e0e0e0; border-top-color: #666; border-radius: 50%; animation: listings-spin 0.8s linear infinite; }

/* all_posts / კატეგორია – მარჯვენა საიდბარი: ძიება + ფილტრები */
.sidebar-listings-panel .sidebar-listings-panel-head {
	background: #2C3E50;
	color: #fafafa;
	padding: 12px 16px;
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 0 0;
	line-height: 1.3;
	border-radius: 4px 4px 0 0;
}
.sidebar-listings-panel .sidebar-listings-panel-body {
	padding-top: 16px;
}
.sidebar-listings-panel .sidebar-site-search-input {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}
/* კილომეტრების სლაიდერი დამალული (ფუნქციონალი შენახული) */
.sidebar .range-slider-distance.hidden { display: none !important; }

/* Listing cards – author pays / funding (უფრო დიდი ტექსტი) */
.listing-item-content .listing-author-percent,
.blog-compact-item-content .listing-author-percent {
    color: #FFFFFF;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.35;
    margin-top: 0;
    text-shadow: 0 1px 5px #000000;
}

/* სინგლ პოსტის დეტალური გვერდი — სათაური H3 (style.css #titlebar span იძლევა 17px-ს — ვფარავთ) */
#titlebar.listing-titlebar .listing-titlebar-title h3 {
	font-size: 24px;
	line-height: 1.35;
	font-weight: 600;
	margin: 0;
}
#titlebar.listing-titlebar .listing-titlebar-title h3 .single-post-title-text {
	color: #1A252F !important;
	font-size: 24px !important;
	line-height: 1.35 !important;
	font-weight: 600 !important;
}

/* სრული პოსტის overview – დაფინანსების ხაზი */
.single-post-funding-line {
	color: #1A252F !important;
	font-size: 22px !important;
	line-height: 1.45 !important;
	font-weight: 500;
	text-shadow: none;
}
.single-post-funding-line strong {
	color: #1A252F;
}
/* „დამპატიჟე აქ“ იგივე ფერით, ჩრდილის გარეშე (როცა ჩანს) */
.single-post-funding-line .funding-invite-here {
	color: #1A252F !important;
	text-shadow: none !important;
	font-size: inherit !important;
	font-weight: 600 !important;
}

/* სინგლ პოსტის გალერეა: გრიდი (მობილური 2, დეშბოპი 3), სლაიდერის ნაცვლად; ზუმი — Magnific + hover */
#listing-gallery .post-gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 768px) {
	#listing-gallery .post-gallery-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 14px;
	}
}
#listing-gallery .post-gallery-item {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: 6px;
	aspect-ratio: 1;
	background: #eee;
	cursor: zoom-in;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
	-webkit-tap-highlight-color: transparent;
}
#listing-gallery .post-gallery-item:focus-visible {
	outline: 2px solid #2C3E50;
	outline-offset: 2px;
}
#listing-gallery .post-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}
#listing-gallery .post-gallery-item:hover img {
	transform: scale(1.06);
}
/* Lightbox-ში სურათი ეკრანზე მაქსიმალურად (ზუმის განცდა) */
.mfp-post-gallery .mfp-img {
	cursor: zoom-out;
	max-height: 92vh;
}

/* ფავორიტების სია – დაფინანსება (დეშბორდის ღია ფონი) */
.dashboard-fav-meta.post-funding-display {
	color: #2C3E50 !important;
	font-size: 20px !important;
	line-height: 1.4 !important;
	font-weight: 600;
	text-shadow: none;
}
.dashboard-fav-meta.post-funding-display .funding-invite-here {
	color: #2C3E50 !important;
	text-shadow: none;
	font-size: inherit;
}

/*
 * „დამპატიჟე აქ“ (0% owner_percent) – სტილები ქვემოთ რჩება; ტექსტი დროებით დამალულია.
 * გამოსაჩენად მომავალში: წაშალე მხოლოდ `display: none !important;` ხაზი (დარჩება იგივე ფერი/ზომა/ბოლდი).
 */
.funding-invite-here {
	color: #FFFA99 !important;
	font-size: 1.85em;
	font-weight: 700 !important;
	display: none !important;
}

/* Listing cards – favorites disabled for own posts */
.like-icon.like-disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

/* Dashboard – Inbox / Sent blocks: ვერტიკალური padding კიდევ შემცირებული, ფონი #f1f1f1 */
#dashboard .messages-container .messages-headline {
    padding-top: 6px;
    padding-bottom: 6px;
}
#dashboard .messages-container .messages-inbox ul li a {
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 18px;
    padding-right: 18px;
}
/* ავატარი სახელის ხაზთან – ვერტიკალურად გასწორებული, გვერდით */
#dashboard .messages-container .messages-inbox .message-avatar {
    left: 18px;
    top: 4px;
    transform: none;
}
#dashboard .messages-container .messages-inbox .message-by {
    margin-left: 62px;
}
#dashboard .messages-container .messages-inbox .message-by-headline {
    margin-bottom: 0;
    padding: 0;
    line-height: 1.15;
    min-height: auto;
}
#dashboard .messages-container .messages-inbox .message-by-headline h5,
#dashboard .messages-container .messages-inbox .message-by-headline span {
    margin: 0;
    padding: 0;
    line-height: 1.2;
    font-size: 13px;
}
#dashboard .messages-container .messages-inbox .message-by-headline h5 {
    margin-bottom: 0;
}
#dashboard .messages-container .messages-inbox .message-by p {
    margin: 0;
    padding-top: 1px;
    line-height: 1.3;
    font-size: 13px;
}
#dashboard .messages-container .messages-inbox .message-post-link {
    margin: 1px 0 1px 0 !important;
}
#dashboard .messages-container .message-view-post-link {
    margin: 2px 0 0 0 !important;
}

/* Dashboard – ფონი #f1f1f1 მხოლოდ ველზე სადაც წერილის ავტორის სახელია */
#dashboard .messages-container .messages-inbox .message-by-headline {
    background-color: #f1f1f1;
    padding: 2px 4px;
    margin: 0 -4px 0 0;
    border-radius: 2px;
}

/* შეტყობინებები – დეტალური ბლოკი: პოსტის დასახელება და თარიღი ერთმანეთისგან 20px */
#dashboard .message-by-headline .message-headline-post,
.message-by-headline .message-headline-post {
    margin-left: 20px;
}

/* OAuth – Google & Facebook ღილაკების დიზაინი (login, register) */
.oauth-buttons-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #e0e0e0;
}
.oauth-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 20px;
	border-radius: 4px;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.oauth-btn-google {
	background: #fff;
	color: #3c4043;
	border: 1px solid #dadce0;
}
.oauth-btn-google:hover {
	background: #f8f9fa;
	box-shadow: 0 1px 2px rgba(60, 64, 67, 0.15);
}
.oauth-btn-facebook {
	background: #1877f2;
	color: #fff;
	border: 1px solid #1877f2;
}
.oauth-btn-facebook:hover {
	background: #166fe5;
	box-shadow: 0 2px 4px rgba(24, 119, 242, 0.3);
}

/* Dashboard – Messages: consistent padding for forms and text blocks */
#dashboard .messages-container .message-by {
    padding: 10px;
}

#dashboard .messages-container form {
    padding: 10px;
}

#dashboard .messages-container input[type="text"],
#dashboard .messages-container textarea {
    padding: 10px;
}

/* მობილური – მთავარი გვერდის ბლოკების თანმიმდევრობა (მხოლოდ არა-დეშბორდზე, რათა დეშბორდზე სქროლი იმუშაოს) */
@media (max-width: 991px) {
	body:not(.dashboard-section) #wrapper {
		display: flex;
		flex-direction: column;
	}
	body:not(.dashboard-section) #wrapper > #header-container { order: 0; }
	body:not(.dashboard-section) #wrapper > .clearfix { order: 1; }
	body:not(.dashboard-section) #wrapper > .main-search-container { order: 2; }
	body:not(.dashboard-section) #wrapper > .home-page-content { order: 3; }
	body:not(.dashboard-section) #wrapper > #footer { order: 4; }
}

/* მობილური – დეშბორდის გვერდებზე სქროლი და სრული კონტენტის ჩვენება */
@media (max-width: 991px) {
	body.dashboard-section,
	body.dashboard-section html {
		overflow-x: hidden;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch;
		height: auto !important;
		min-height: 100%;
	}
	body.dashboard-section #wrapper,
	body.dashboard-section #wrapper.mm-page {
		display: block !important;
		overflow: visible !important;
		min-height: auto !important;
		height: auto !important;
	}
	body.dashboard-section #dashboard {
		display: block !important;
		min-height: auto !important;
		overflow: visible !important;
	}
	body.dashboard-section .dashboard-content {
		flex: none !important;
		height: auto !important;
		min-height: auto !important;
		overflow: visible !important;
		padding-bottom: 40px;
	}
	/* mmenu slideout – დეშბორდზე სქროლი ჩანდეს */
	body.dashboard-section .mm-slideout {
		overflow-y: auto !important;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
		height: auto !important;
		min-height: 100vh;
	}
}

/* პირადი კაბინეტი – ჩემი პოსტებით დაინტერესებულების ბლოკი */
.interested-in-my-posts-block {
	background-color: #C8EFD4 !important;
}
.interested-in-my-posts-block ul {
	background-color: transparent !important;
}
.interested-in-my-posts-block ul li {
	background-color: transparent !important;
}
.interested-in-my-posts-block ul li:hover {
	background-color: rgba(255,255,255,0.6) !important;
}

/* პროფილის გვერდი – შემცირებული ვერტიკალური დაშორებები და padding */
.profile-form-compact .dashboard-list-box {
	margin-top: 6px !important;
}
.profile-form-compact .dashboard-list-box.margin-top-0 {
	margin-top: 0 !important;
}
.profile-form-compact .dashboard-list-box.margin-top-10 {
	margin-top: 10px !important;
}
.profile-form-compact .dashboard-list-box-static {
	padding: 10px 16px;
}
.edit-profile-photo-row {
	margin-bottom: 10px;
}
.edit-profile-photo-row .edit-profile-photo-col {
	padding-right: 12px;
}
.edit-profile-photo-row .profile-photo-hint-col {
	display: flex;
	align-items: center;
}
.edit-profile-photo-row .profile-photo-hint {
	margin: 0;
	line-height: 1.35;
}
@media (max-width: 575px) {
	.edit-profile-photo-row .edit-profile-photo-col {
		padding-right: 0;
		margin-bottom: 8px;
	}
	.edit-profile-photo-row .profile-photo-hint-col {
		align-items: flex-start;
	}
}
.profile-form-compact .edit-profile-photo {
	margin-bottom: 0;
}

/* Edit ღილაკი საიტზე ყველგან – ფერი #E78B43 */
.button-edit,
a.button.button-edit {
	background-color: #E78B43 !important;
	border-color: #E78B43 !important;
	color: #fff !important;
}
.button-edit:hover,
a.button.button-edit:hover {
	background-color: #d97d38 !important;
	border-color: #d97d38 !important;
	color: #fff !important;
}

/* ჩემი პოსტები — შეტყობინებები მარჯვენა კოლონის უკიდურეს მარჯვნივ */
.dashboard-my-posts-flash-rail {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	width: 100%;
	max-width: 100%;
	margin-bottom: 16px;
	box-sizing: border-box;
}
.dashboard-content .dashboard-my-posts-flash-rail .dashboard-my-posts-flash-item {
	max-width: min(100%, 400px);
	width: auto;
	margin: 0 !important;
	text-align: left;
	box-sizing: border-box;
}
.dashboard-content .dashboard-my-posts-flash-rail .dashboard-my-posts-flash-item p {
	margin: 0;
}

/* ჩემი პოსტები – სათაურის ხაზი: სათაური მარცხნივ, Add new post მარჯვნივ */
.dashboard-my-posts-title-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 0;
}
.dashboard-my-posts-title-row h4 {
	margin: 0;
}
.dashboard-my-posts-title-left {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
}
.dashboard-visibility-filter {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}
/* ფილტრი: აქტიური (ხილული) — მწვანე, დაბლოკილი — წითელი */
.dashboard-visibility-filter__btn--active-tab.is-active {
	background: #eafaf1 !important;
	border-color: #27ae60 !important;
	color: #1e8449 !important;
	font-weight: 600;
}
.dashboard-visibility-filter__btn--blocked-tab.is-active {
	background: #fadbd8 !important;
	border-color: #c0392b !important;
	color: #922b21 !important;
	font-weight: 600;
}
/* ხაზზე: დამალვა (აქტიური პოსტი) — მწვანე; აღდგენა (დაბლოკილი) — წითელი */
.dashboard-my-posts-buttons .dashboard-post-toggle-btn--deactivate {
	background: #fff !important;
	border-color: #27ae60 !important;
	color: #1e8449 !important;
}
.dashboard-my-posts-buttons .dashboard-post-toggle-btn--deactivate:hover {
	background: #eafaf1 !important;
	border-color: #1e8449 !important;
	color: #145a32 !important;
}
.dashboard-my-posts-buttons .dashboard-post-toggle-btn--activate {
	background: #fff !important;
	border-color: #c0392b !important;
	color: #c0392b !important;
}
.dashboard-my-posts-buttons .dashboard-post-toggle-btn--activate:hover {
	background: #fadbd8 !important;
	border-color: #a93226 !important;
	color: #922b21 !important;
}
.dashboard-post-status-tag {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 4px;
	margin-right: 8px;
	vertical-align: middle;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.dashboard-post-status--active { background: #eafaf1; color: #27ae60; }
.dashboard-post-status--pending { background: #fff9e6; color: #c87f0a; }
.dashboard-post-status--expired { background: #fdecea; color: #c0392b; }
.dashboard-post-status--inactive { background: #ecf0f1; color: #7f8c8d; }
.dashboard-my-posts-buttons .dashboard-post-icon-btn {
	min-width: 36px;
	padding-left: 10px;
	padding-right: 10px;
	text-align: center;
}
/* ჩემი პოსტები — რედაქტირება: მხოლოდ აიქონი, ოქროსფერი ფონი, შავი აიქონი */
.dashboard-my-posts-box .dashboard-my-posts-buttons a.dashboard-my-posts-edit-icon-btn {
	position: relative;
	min-width: 36px;
	padding: 4px 10px;
	text-align: center;
	box-sizing: border-box;
	background: #d4af37 !important;
	background-color: #d4af37 !important;
	border-color: #b8960c !important;
	color: #111 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.dashboard-my-posts-box .dashboard-my-posts-buttons a.dashboard-my-posts-edit-icon-btn i {
	color: #111 !important;
}
.dashboard-my-posts-box .dashboard-my-posts-buttons a.dashboard-my-posts-edit-icon-btn:hover {
	background: #c9a227 !important;
	background-color: #c9a227 !important;
	border-color: #a67c00 !important;
	color: #000 !important;
}
.dashboard-my-posts-box .dashboard-my-posts-buttons a.dashboard-my-posts-edit-icon-btn:hover i {
	color: #000 !important;
}
.dashboard-my-posts-box .dashboard-my-posts-buttons a.dashboard-my-posts-edit-icon-btn .sr-only,
.dashboard-my-posts-box .dashboard-my-posts-buttons button.dashboard-my-posts-delete-icon-btn .sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.dashboard-my-posts-box .dashboard-my-posts-buttons button.dashboard-my-posts-delete-icon-btn {
	position: relative;
}

/* პროფილში – ჩემი პოსტების სია: ვერტიკალური დაშორებების შემცირება + ნომერი */
.dashboard-my-posts-box.dashboard-list-box ul.dashboard-my-posts-list li {
	padding-top: 6px;
	padding-bottom: 6px;
	position: relative;
}
.dashboard-my-posts-box.dashboard-list-box ul.dashboard-my-posts-list li:not(.dashboard-my-posts-empty) {
	padding-left: 32px;
}
.dashboard-my-posts-box ul.dashboard-my-posts-list li .dashboard-my-posts-num {
	position: absolute;
	left: 8px;
	top: 50%;
	transform: translateY(-50%);
	font-weight: 600;
	color: #666;
	font-size: 14px;
}
.dashboard-my-posts-box .list-box-listing {
	padding-top: 0;
	padding-bottom: 0;
}
.dashboard-my-posts-box .list-box-listing-content .inner {
	top: 0;
}
.dashboard-my-posts-box .list-box-listing-content .inner h3 {
	margin-bottom: 2px;
	font-size: 16px;
}
.dashboard-my-posts-box .list-box-listing-content .inner span {
	margin-top: 0;
	font-size: 13px;
}
.dashboard-my-posts-box ul.dashboard-my-posts-list li .list-box-listing {
	margin-left: 0;
}

/* ჩემი პოსტები – ღილაკები მარჯვნივ (პატარა) + რეიტინგი ქვემოთ, ყოველთვის ჩანს */
.dashboard-my-posts-box .buttons-to-right.dashboard-my-posts-actions {
	opacity: 1;
}
.dashboard-my-posts-box .dashboard-my-posts-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
}
.dashboard-my-posts-box .dashboard-my-posts-buttons {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 2px;
}
.dashboard-my-posts-box .dashboard-my-posts-buttons .button,
.dashboard-my-posts-box .dashboard-my-posts-buttons button.button {
	padding: 4px 10px;
	font-size: 12px;
	margin-left: 0;
	white-space: nowrap;
}
.dashboard-my-posts-box .dashboard-my-posts-buttons .inline-form {
	display: inline-flex;
}
.dashboard-my-posts-box .dashboard-my-posts-buttons .button i,
.dashboard-my-posts-box .dashboard-my-posts-buttons button.button i {
	font-size: 12px;
}
.dashboard-my-posts-box .dashboard-my-posts-rating {
	margin-top: 0;
	font-size: 11px;
}
.dashboard-my-posts-box .dashboard-my-posts-rating .rating-counter {
	font-size: 11px;
}
.dashboard-my-posts-box .dashboard-my-posts-rating .stars {
	font-size: 12px;
}

.profile-form-compact label {
	margin-top: 8px;
	margin-bottom: 0;
}
.profile-form-compact label:first-of-type {
	margin-top: 0;
}
.profile-form-compact input[type="text"],
.profile-form-compact input[type="number"],
.profile-form-compact input[type="url"],
.profile-form-compact select,
.profile-form-compact textarea {
	padding: 5px 10px;
	margin-top: 3px;
}
.profile-form-compact textarea {
	min-height: 60px;
}
.profile-form-compact textarea[name="hobbies_interests"] {
	min-height: 100px;
	resize: vertical;
}
/* პროფილი – სათაურების ვერტიკალური დაშორებების შემცირება */
.profile-form-compact .dashboard-list-box h4,
.my-profile .dashboard-list-box h4 {
	padding: 10px 20px;
	margin-bottom: 0;
}
.profile-form-compact .dashboard-list-box-static,
.my-profile .dashboard-list-box-static {
	padding: 16px 20px;
}
.profile-form-compact .checkbox-inline {
	margin-bottom: 4px !important;
}
.profile-form-compact .text-muted.small {
	margin-bottom: 8px !important;
}
/* სოციალური ქსელები – შემცირებული ვერტიკალური დაშორებები */
.profile-social-box .dashboard-list-box-static label {
	margin-top: 4px !important;
}
.profile-social-box .dashboard-list-box-static label:first-of-type {
	margin-top: 0 !important;
}
.profile-social-box .dashboard-list-box-static input[type="text"] {
	margin-top: 2px !important;
}
/* ჩვენება/დამალვა – სათაური მარცხნივ, ჩეკბოქსი მარჯვნივ, შემცირებული დაშორებები */
.profile-visibility-hint {
	margin-bottom: 4px !important;
}
.profile-visibility-rows {
	display: flex;
	flex-direction: column;
	gap: 0;
}
.profile-visibility-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	cursor: pointer;
	padding: 2px 0;
	min-height: 0;
}
.profile-visibility-row:hover .profile-visibility-label {
	opacity: 0.9;
}
.profile-visibility-label {
	flex: 1;
	line-height: 1.2;
}
.profile-visibility-check {
	margin: 0;
	padding: 0;
	flex-shrink: 0;
	line-height: 0;
	display: inline-flex;
	align-items: center;
	box-shadow: none;
}
.profile-visibility-check input[type="hidden"] {
	display: block;
	height: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
.profile-visibility-check input[type="checkbox"] {
	vertical-align: middle;
	margin: 0;
	padding: 0;
	cursor: pointer;
	display: block;
	box-shadow: none;
}

/* ფოტოგალერეა – სათაური + ღილაკი „ჩემი ფოტოგალერეები“ ერთ რიგში, მარჯვნივ */
.dashboard-list-box-gallery .dashboard-list-box-header-gray {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 20px;
	background-color: #fbfbfb;
	border-bottom: 1px solid #eaeaea;
	border-radius: 4px 4px 0 0;
}
.dashboard-list-box-gallery .dashboard-list-box-header-gray h4.gray {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
	flex: 1;
}
.button-sm {
	padding: 5px 12px;
	font-size: 12px;
	line-height: 1.35;
	white-space: nowrap;
}

/* ფოტოგალერეა – ფორმა 2 კოლონაში, პრევიუ */
.gallery-create-form .gallery-form-row {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}
.gallery-create-form .gallery-form-col {
	flex: 1;
	min-width: 200px;
}
.gallery-photos-preview {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: flex-start;
	min-height: 60px;
	padding: 8px;
	background: #f9f9f9;
	border: 1px dashed #ddd;
	border-radius: 6px;
}
.gallery-photos-preview img {
	max-width: 90px;
	max-height: 90px;
	object-fit: cover;
	border-radius: 4px;
	margin: 0;
}
@media (max-width: 576px) {
	.gallery-create-form .gallery-form-col {
		min-width: 100%;
	}
}

/* დეშბორდი – ძიების შედეგების სია */
.dashboard-search-results h5 {
	color: #AC0525;
	font-weight: 700;
}
.dashboard-search-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.dashboard-search-list li {
	padding: 6px 0;
	border-bottom: 1px solid #eee;
}
.dashboard-search-list li:last-child {
	border-bottom: none;
}
.dashboard-search-list a {
	color: #66676b;
}
.dashboard-search-list a:hover {
	color: #333;
}

/* ჩემი ფოტოგალერეები – რედაქტირება, ფოტოს წაშლა */
.dashboard-list-box .d-flex.gap-2 > * + * { margin-left: 8px; }
.gallery-photo-delete .button:hover { background: #a00 !important; color: #fff !important; }

/* მთავარი ბანერი – მარცხენა ბლოკი (სურათი + bannerSlider) არ ჩანს ტაბლეტზე და მობილურზე */
@media (max-width: 991px) {
    #bannerSlider,
    .banner-block,
    .main-search-container .col-md-5.col-sm-12.float-left {
        display: none !important;
    }
}

/* მთავარი ბანერი – ვიდეო/სურათი ავსებს მთელ სლაიდს */
.banner-block .carousel-inner {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 ratio */
    border-radius: 15px;
}
.banner-block .carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}
.banner-block .carousel-item img,
.banner-block .carousel-item video,
.banner-block .carousel-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}
.banner-block .carousel-item.active {
    opacity: 1;
    z-index: 2;
}

/* სლაიდის სათაური – სურათის ქვედა ზონა, ძირიდან 20px */
.banner-block .banner-slide-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 3;
    margin: 0;
    padding: 8px 16px;
    font-size: 1.7rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
    background: transparent;
    border-radius: 0 0 15px 15px;
}

/* Banner slider controls */
.banner-block .banner-slider-control {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 0;
}
.banner-block .banner-slider-control:hover {
    background: rgba(0,0,0,0.6);
}
.banner-block .banner-slider-control-prev {
    left: 8px;
}
.banner-block .banner-slider-control-next {
    right: 8px;
}


/* მობილური – კატეგორია და ყველა პოსტის გვერდებზე პოსტების ბარათების დაშორებების შემცირება */
@media (max-width: 991px) {
	.container.listings-page-container {
		padding-left: 1px;
		padding-right: 1px;
		min-width: 90%;
        max-width: 90%;
	}
	.container.listings-page-container .row > .padding-right-30 {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}



@media (max-width: 991px) {
    #bannerSlider,
    .banner-block,
    .main-search-container .col-md-5.col-sm-12.float-left {
        display: none !important;
    }

    /* banner-contentright – მობილურზე დამატებით ჩამოწეულია 16% */
    #banner-contentright {
        margin-top: 16% !important;
    }

    /* მობილურზე – ბანერის სათაური და typed-words ერთ ხაზზე */
    #banner-contentright h5 {
        white-space: nowrap;
    }
    #banner-contentright h5 .typed-words {
        display: inline;
    }
}

@media (min-width: 992px) {
    .banner-block {
        margin-top: 12%;
        box-shadow: 0 0 20px #1E1E1E;
        border-radius: 15px;
        overflow: hidden;
    }
}

/* ბანერის ძიების ღილაკი – უფრო პატარა ტექსტი და padding */
#banner-contentright .button {
    font-size: 13px;
    padding: 6px 16px;
}

/* Listings grid (all_posts / category): ქოვერის სურათი სწორად იყოს ფენებში (gradient ::before-ის ქვეშ) */
#listings-dynamic-container .listing-item img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
	border-radius: 4px 4px 0 0;
}

/* ——— ვარსკვლავების რეიტინგი (პოსტის ავტორის შეფასება) ——— */
.star-rating-widget {
	margin-top: 12px;
	margin-bottom: 12px;
}
.star-rating-widget .star-rating-label {
	display: block;
	font-size: 13px;
	color: #666;
	margin-bottom: 6px;
}
.star-rating-stars {
	display: flex;
	align-items: center;
	gap: 2px;
}
.star-rating-star {
	display: inline-block;
	width: 24px;
	height: 24px;
	font-size: 22px;
	line-height: 1;
	color: #ddd;
	cursor: default;
	transition: color 0.15s ease;
}
.star-rating-widget[data-can-rate="1"] .star-rating-star {
	cursor: pointer;
}
.star-rating-widget[data-can-rate="1"] .star-rating-star:hover,
.star-rating-star.filled,
.star-rating-star.active {
	color: #f0b429;
}
.star-rating-avg {
	margin-left: 8px;
	font-size: 13px;
	color: #444;
}
.dashboard-user-title {
	display: none !important; /* desktop/user-dropdown-ში სახელი არ უნდა ჩანდეს */
	color:#B01111 !important; font-weight: bold !important; text-align: center !important; font-size: 18px !important; font-size: 1.3rem !important;
}

/* Filters (mobile): push sidebar down so it won't overlap header/content */
@media (max-width: 767px) {
	#banner-contentright {
		position: relative !important;
		top: 3vh !important;
	}
}

/* Mobile header: show user name next to avatar */
.mobile-user-name { display: none !important; }
@media (max-width: 767px) {
	.mobile-user-name {
		display: inline-block !important;
		vertical-align: middle;
		margin-left: 20%;
		color: #333;
		font-weight: 600;
		white-space: nowrap;
		font-size: 14px;
	}
}

/* Dashboard on mobile: prevent sidebar overlay blocking header/nav clicks */
@media (max-width: 991px) {
	body.dashboard-section #header-container,
	body.dashboard-section #header {
		position: relative !important;
		z-index: 99999 !important;
		pointer-events: auto !important;
	}

	body.dashboard-section #navigation,
	body.dashboard-section #navigation * {
		pointer-events: auto !important;
	}

	/* Sticky header clone should also be above all dashboard layers */
	body.dashboard-section #header.cloned {
		z-index: 99999 !important;
	}

	body.dashboard-section .dashboard-nav {
		position: relative !important; /* override fixed */
		min-height: auto !important;
		height: auto !important;
		overflow: visible !important;
		z-index: 1 !important;
	}

	/* Mobile hamburger (mmenu trigger) must stay clickable above overlays */
	body.dashboard-section .mmenu-trigger,
	body.dashboard-section .mmenu-trigger *,
	body.dashboard-section .hamburger {
		pointer-events: auto !important;
		position: relative !important;
		z-index: 100000 !important;
	}
}
