/* ==================== استایل‌های بخش سئو ==================== */
.pom-seo-sections-wrapper {
	margin-top: 40px;
}

.pom-seo-card {
	background: #ffffff;
	padding: 24px 15px;
	margin-bottom: 15px;
	transition: all 0.3s ease;
}

.pom-seo-card:hover {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
	border-color: #e0e7ff;
}

.pom-seo-title {
	font-size: 18px;
	font-weight: 700;
	color: #0e187b;
	margin: 0 0 18px 0;
	padding-bottom: 12px;
	border-bottom: 2px solid #e0e7ff;
	display: flex;
	align-items: center;
	gap: 10px;
}

.pom-seo-title i {
	font-size: 20px;
	color: #3a43a1;
}

/* گرید لینک‌ها */
.pom-seo-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* کارت لینک */
.pom-seo-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 40px;
	padding: 8px 20px;
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	color: #1e293b;
	transition: all 0.25s ease;
}

.pom-seo-link i {
	font-size: 13px;
	color: #0e187b;
	transition: transform 0.2s ease;
}

.pom-seo-link:hover {
	background: #0e187b;
	border-color: #0e187b;
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(14, 24, 123, 0.15);
}

.pom-seo-link:hover i {
	color: white;
	transform: translateX(-3px);
}

/* لیست کسب و کارهای برتر */
.pom-seo-top-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pom-seo-top-item {
	background: #f1f5f9;
	border-radius: 30px;
	padding: 6px 16px;
	font-size: 13px;
	color: #334155;
	transition: all 0.2s;
}

.pom-seo-top-item a {
	color: #0e187b;
	text-decoration: none;
	font-weight: 500;
}

.pom-seo-top-item a:hover {
	text-decoration: underline;
}

/* توضیحات دسته */
.pom-seo-description-main {
	margin-bottom: 0;
	border-radius: 20px 20px 0 0;
}
.pom-seo-description {
	padding: 10px;
}

.pom-seo-description-text {
	font-size: 14px;
	line-height: 1.8;
	color: #475569;
	text-align: justify;
}

.pom-desc-readmore {
	background: none;
	border: none;
	color: #0e187b;
	cursor: pointer;
	font-size: 13px;
	font-weight: 500;
	margin-top: 12px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 12px;
	border-radius: 30px;
	transition: all 0.2s;
}

.pom-desc-readmore:hover {
	background: #e0e7ff;
}

/* ریسپانسیو */
@media (max-width: 768px) {
	.pom-seo-card {
		padding: 18px 20px;
	}
	.pom-seo-title {
		font-size: 16px;
	}
	.pom-seo-link {
		padding: 6px 14px;
		font-size: 12px;
	}
	.pom-seo-top-item {
		padding: 4px 12px;
		font-size: 12px;
	}
}

@media (max-width: 480px) {
	.pom-seo-grid {
		gap: 8px;
	}
	.pom-seo-link {
		padding: 5px 12px;
		font-size: 11px;
	}
}


.pom-seo-empty-message {
	background: #fef3c7;
	border: 1px solid #fde68a;
	border-radius: 12px;
	padding: 12px 20px;
	color: #92400e;
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.pom-seo-empty-message i { font-size: 16px; }

.pom-seo-subcategories {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.pom-subcat-level {
	min-width: 180px;
}

.pom-subcat-title {
	font-weight: 600;
	color: #0e187b;
	margin-bottom: 8px;
	padding-bottom: 4px;
	border-bottom: 1px solid #e0e7ff;
	display: flex;
}
a.pom-subcat-parent-link {
	text-decoration: none;
}
.pom-subcat-list {
	list-style: none;
	padding: 0;
	margin: 0 0 15px 0;
}

.pom-subcat-list li {
	margin-bottom: 6px;
}

.pom-subcat-list a {
	text-decoration: none;
	color: #475569;
	font-size: 13px;
	transition: all 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.pom-subcat-list a:hover {
	color: #0e187b;
	transform: translateX(-3px);
}

.pom-subcat-list a i {
	font-size: 10px;
	color: #94a3b8;
}

.pom-subcat-list .sub-sub {
	margin-right: 15px;
}

@media (max-width: 768px) {
	.pom-seo-subcategories {
		flex-direction: column;
		gap: 15px;
	}
	.pom-subcat-level {
		min-width: auto;
	}
}


/* ==================== استایل بخش سئوی صفحه تکی ==================== */
.pom-single-seo-sections {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pom-single-seo-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px 0px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.pom-seo-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0px 20px 10px 20px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 15px;
}

.pom-seo-card-header i {
    font-size: 20px;
    color: #0e187b;
}

.pom-seo-card-header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

/* لیست عمودی */
.pom-seo-card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 0px;
}

.pom-seo-list-item {
    padding: 0px 20px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pom-seo-list-item:hover {
    background: #f8fafc;
}

.pom-seo-item-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    text-decoration: none;
}

.pom-seo-item-title {
    font-size: 14px;
    font-weight: 500;
    color: #0e187b;
    flex: 2;
    min-width: 150px;
}

.pom-seo-item-address {
    font-size: 12px;
    color: #64748b;
    flex: 3;
    min-width: 180px;
}

.pom-seo-item-rating {
    font-size: 12px;
    color: #1e293b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
}


/* دسته‌بندی‌های مرتبط */
.pom-seo-category-tree {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pom-seo-cat-level {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pom-seo-cat-title {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.pom-seo-cat-parent {
    padding: 0 15px;
    border-radius: 12px;
    margin-bottom: 5px;
}

.pom-seo-cat-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0e187b;
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 13px;
    width: fit-content;
    transition: all 0.2s;
}

.pom-seo-cat-link:hover {
    background: #3a43a1;
    transform: translateX(-3px);
}

.pom-seo-cat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
	padding: 0 20px;
}

.pom-seo-cat-chip {
    background: #f1f5f9;
    color: #0e187b;
    padding: 6px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
}

.pom-seo-cat-chip:hover {
    background: #0e187b;
    color: #fff;
    border-color: #0e187b;
    transform: translateY(-2px);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .pom-seo-card-list {
        gap: 5px;
    }
    
    .pom-seo-list-item {
        padding: 5px 15px;
    }
    
    .pom-seo-item-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .pom-seo-item-title,
    .pom-seo-item-address {
        width: 100%;
        min-width: auto;
    }
    
    .pom-seo-item-rating {
        align-self: flex-start;
    }
    
    .pom-seo-cat-chips {
        gap: 8px;
    }
    
    .pom-seo-cat-chip {
        padding: 4px 12px;
        font-size: 12px;
    }
}


/* ==================== استایل‌های بخش ۱۰ مکان برتر ==================== */
.pom-seo-top-locations-section {
	direction: rtl;
	background: #fff;
	padding: 15px 10px;
}

.pom-seo-main-title {
	font-size: 24px;
	font-weight: 700;
	color: #0e187b;
	margin: 0 0 20px 0;
	padding-bottom: 15px;
	border-bottom: 3px solid #e0e7ff;
}

.pom-seo-subtitle {
	font-size: 18px;
	font-weight: 600;
	color: #1e293b;
	margin: 30px 0 15px 0;
	padding-right: 12px;
	border-right: 4px solid #0e187b;
}

.pom-seo-category-description {
	background: #f8fafc;
	padding: 20px 25px;
	border-radius: 16px;
	margin-bottom: 30px;
	line-height: 1.8;
	color: #475569;
	text-align: justify;
	border: 1px solid #e2e8f0;
}

/* جدول خلاصه */
.pom-seo-summary-table-wrapper {
	overflow-x: auto;
}

.pom-seo-summary-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.pom-seo-summary-table th {
	background: #f1f5f9;
	padding: 12px 15px;
	text-align: right;
	font-weight: 600;
	color: #0e187b;
	border-bottom: 2px solid #e2e8f0;
}

.pom-seo-summary-table td {
	padding: 10px 15px;
	border-bottom: 1px solid #e2e8f0;
	color: #334155;
	font-size: 13px;
}

.pom-seo-summary-table tr:hover td {
	background: #f8fafc;
}

/* جزئیات هر مکان - لیست عمودی */
.pom-seo-detail-item {
	margin-bottom: 25px;
	transition: all 0.3s ease;
}


.pom-seo-detail-header {
	display: flex;
	align-items: center;
}


.pom-seo-detail-title {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: #1e293b;
}

.pom-seo-detail-description {
	margin-bottom: 20px;
	line-height: 1.7;
	color: #475569;
}
.pom-seo-detail-description p{
	text-align: justify;
	font-size: 14px;
}

.pom-readmore-btn {
	background: none;
	border: none;
	color: #0e187b;
	cursor: pointer;
	font-size: 13px;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 10px;
	border-radius: 20px;
	margin-top: 8px;
}

.pom-readmore-btn:hover {
	background: #e0e7ff;
}

.pom-seo-detail-info-grid {
	display: grid;
	gap: 10px;
}

.pom-seo-detail-info-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
}

.pom-seo-detail-info-item i {
	font-size: 16px;
	color: #0e187b;
	width: 16px;
	flex-shrink: 0;
}

.pom-seo-detail-label {
	font-weight: 600;
	color: #334155;
	flex-shrink: 0;
}

.pom-seo-detail-value {
	color: #475569;
	word-break: break-word;
}

.pom-seo-detail-value a {
	color: #0e187b;
	text-decoration: none;
}

.pom-seo-detail-value a:hover {
	text-decoration: underline;
}
.pom-desc-short,
.pom-desc-full{
	font-size: 13px;
	text-align: justify;
}
.pom-seo-detail-map {
	overflow: hidden;
	padding: 10px 0px;
}

/* ریسپانسیو */
@media (max-width: 768px) {
	.pom-seo-main-title {
		font-size: 20px;
	}
	
	.pom-seo-subtitle {
		font-size: 16px;
	}
	
	.pom-seo-detail-item {
		margin-bottom: 5px;
	}
	
	.pom-seo-detail-header {
		padding: 10px;
	}
	
	.pom-seo-detail-title {
		font-size: 16px;
	}
	
	.pom-seo-detail-info-grid {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 0px;
	}
	
	.pom-seo-summary-table th,
	.pom-seo-summary-table td {
		padding: 7px 5px;
		font-size: 11px;
	}
	.pom-seo-detail-map {
		padding: 10px 0px;
	}
}
/* استایل لینک مشاهده جزئیات در هدر */
.pom-seo-detail-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e2e8f0;
}

.pom-seo-detail-title {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: #1e293b;
	flex: 1;
}

.pom-seo-detail-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #0e187b;
	color: #fff;
	padding: 6px 14px;
	border-radius: 30px;
	text-decoration: none;
	font-size: 12px;
	font-weight: 500;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.pom-seo-detail-link:hover {
	background: #3a43a1;
	transform: translateY(-2px);
	box-shadow: 0 2px 8px rgba(14,24,123,0.2);
}

.pom-seo-detail-link i {
	font-size: 12px;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
	.pom-seo-detail-header {
		align-items: flex-start;
		padding: 10px 0px;
	}
		
	.pom-seo-detail-link {
		align-self: flex-start;
		font-size: 11px;
		padding: 4px 12px;
	}
	
	.pom-seo-detail-title {
		font-size: 16px;
	}
}
@media (max-width: 480px) {
	.pom-seo-main-title {
		font-size: 18px;
	}
	
	.pom-seo-summary-table-wrapper {
		overflow-x: auto;
	}
	
	.pom-seo-summary-table {
		min-width: 360px;
	}
		.pom-seo-detail-map {
		padding: 10px 0px;
	}
}
