/**
 * npocto Pro - Archive, Category & Search Styles
 * Color Palette:
 * Primary: #F2891A | Secondary: #54595F | Text: #7A7A7A | Accent: #61CE70
 *
 * @package npocto Pro
 * @author npocto (https://npocto.ir)
 */

/* Container & Base */
.npocto-archive-page {
	padding: 2.5rem 0 4rem;
	background-color: #f8fafc;
	min-height: 80vh;
	direction: rtl;
	text-align: right;
}

/* Breadcrumbs */
.npocto-breadcrumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	font-size: 0.88rem;
	color: var(--npocto-text, #7A7A7A);
	margin-bottom: 2rem;
	padding: 0.75rem 1.25rem;
	background: #ffffff;
	border-radius: var(--npocto-radius-md, 14px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
	border: 1px solid #edf2f7;
}

.npocto-breadcrumbs a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--npocto-secondary, #54595F);
	text-decoration: none;
	font-weight: 500;
	transition: var(--npocto-transition, all 0.3s ease);
}

.npocto-breadcrumbs a:hover {
	color: var(--npocto-primary, #F2891A);
}

.npocto-bc-home-icon {
	color: var(--npocto-primary, #F2891A);
}

.npocto-breadcrumb-sep {
	color: #cbd5e1;
	font-size: 0.8rem;
}

.npocto-bc-current {
	color: var(--npocto-primary, #F2891A);
	font-weight: 700;
}

/* Archive Hero Header */
.npocto-archive-hero {
	background: #ffffff;
	border-radius: var(--npocto-radius-lg, 20px);
	padding: 1.6rem 2.25rem;
	margin-bottom: 2rem;
	border: 1px solid #edf2f7;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
	position: relative;
	overflow: hidden;
}

.npocto-archive-hero::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 5px;
	height: 100%;
	background: linear-gradient(to bottom, var(--npocto-primary, #F2891A), #ea580c);
}

.npocto-hero-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.npocto-hero-title-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
	min-width: 250px;
}

.npocto-hero-heading-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.npocto-archive-title {
	font-size: 1.85rem;
	font-weight: 900;
	color: #0f172a;
	margin: 0;
	line-height: 1.35;
	letter-spacing: -0.02em;
}

.npocto-archive-title span {
	color: var(--npocto-primary, #F2891A);
}

.npocto-archive-desc {
	font-size: 0.94rem;
	color: #64748b;
	line-height: 1.75;
	max-width: 750px;
	margin: 4px 0 0 0;
}

.npocto-hero-badge-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 0;
	flex-wrap: wrap;
}

.npocto-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: rgba(242, 137, 26, 0.12);
	color: #c2410c;
	padding: 0.4rem 0.95rem;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 800;
	border: 1px solid rgba(242, 137, 26, 0.25);
}

.npocto-hero-count {
	font-size: 0.85rem;
	color: #475569;
	background: #f1f5f9;
	padding: 0.4rem 0.95rem;
	border-radius: 999px;
	font-weight: 700;
	border: 1px solid #e2e8f0;
}

/* Author Hero Box */
.npocto-author-hero-box {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-top: 0.5rem;
}

.npocto-author-hero-avatar {
	width: 90px;
	height: 90px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--npocto-primary, #F2891A);
	box-shadow: 0 6px 16px rgba(242, 137, 26, 0.2);
}

/* Subcategories Navigation */
.npocto-subcat-nav {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px dashed #e2e8f0;
	flex-wrap: wrap;
}

.npocto-subcat-title {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--npocto-secondary, #54595F);
}

.npocto-subcat-pills {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.npocto-subcat-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	background: #f8fafc;
	color: var(--npocto-secondary, #54595F);
	border: 1px solid #e2e8f0;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
	transition: var(--npocto-transition, all 0.3s ease);
}

.npocto-subcat-pill:hover {
	background: var(--npocto-primary, #F2891A);
	color: #ffffff;
	border-color: var(--npocto-primary, #F2891A);
	transform: translateY(-2px);
}

.npocto-subcat-count {
	opacity: 0.75;
	font-size: 0.78rem;
}

/* Search Hero Bar */
.npocto-search-hero-bar {
	margin-top: 1.5rem;
	max-width: 650px;
}

.npocto-hero-search-wrap {
	display: flex;
	align-items: center;
	background: #f8fafc;
	border: 2px solid #e2e8f0;
	border-radius: 999px;
	padding: 0.35rem 0.5rem 0.35rem 1.25rem;
	transition: var(--npocto-transition, all 0.3s ease);
}

.npocto-hero-search-wrap:focus-within {
	border-color: var(--npocto-primary, #F2891A);
	background: #ffffff;
	box-shadow: 0 0 0 4px rgba(242, 137, 26, 0.15);
}

.npocto-hero-search-input {
	flex: 1;
	border: none;
	background: transparent;
	padding: 0.6rem 0.75rem;
	font-size: 1rem;
	color: #0f172a;
	outline: none;
	font-family: inherit;
}

.npocto-hero-search-submit {
	background: var(--npocto-primary, #F2891A);
	color: #ffffff;
	border: none;
	border-radius: 999px;
	padding: 0.65rem 1.4rem;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	transition: var(--npocto-transition, all 0.3s ease);
	font-family: inherit;
}

.npocto-hero-search-submit:hover {
	background: var(--npocto-primary-hover, #d9740e);
	transform: translateY(-1px);
}

/* Layout: Main + Sidebar */
.npocto-archive-layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 2.5rem;
	align-items: start;
}

/* Toolbar */
.npocto-archive-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #ffffff;
	padding: 1rem 1.5rem;
	border-radius: var(--npocto-radius-md, 14px);
	margin-bottom: 2rem;
	border: 1px solid #edf2f7;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.npocto-toolbar-info {
	font-size: 0.9rem;
	color: var(--npocto-text, #7A7A7A);
}

.npocto-toolbar-info strong {
	color: var(--npocto-primary, #F2891A);
}

.npocto-toolbar-actions {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

/* View Switcher */
.npocto-view-switcher {
	display: flex;
	background: #f1f5f9;
	border-radius: var(--npocto-radius-sm, 8px);
	padding: 3px;
	gap: 2px;
}

.npocto-view-btn {
	background: transparent;
	border: none;
	padding: 6px 10px;
	border-radius: 6px;
	color: var(--npocto-text, #7A7A7A);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: var(--npocto-transition, all 0.3s ease);
}

.npocto-view-btn.active,
.npocto-view-btn:hover {
	background: #ffffff;
	color: var(--npocto-primary, #F2891A);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Sort Select */
.npocto-sort-select {
	padding: 0.45rem 1rem;
	border: 1px solid #e2e8f0;
	border-radius: var(--npocto-radius-sm, 8px);
	font-size: 0.88rem;
	color: var(--npocto-secondary, #54595F);
	background: #ffffff;
	outline: none;
	font-family: inherit;
	cursor: pointer;
	transition: var(--npocto-transition, all 0.3s ease);
}

.npocto-sort-select:focus {
	border-color: var(--npocto-primary, #F2891A);
}

/* Posts Container (Grid Mode) */
.npocto-posts-container.npocto-view-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.75rem;
}

/* Posts Container (List Mode) */
.npocto-posts-container.npocto-view-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

/* Base Card */
.npocto-card {
	background: #ffffff;
	border-radius: var(--npocto-radius-md, 14px);
	border: 1px solid #edf2f7;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
	will-change: transform;
	position: relative;
}

.npocto-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.08);
	border-color: rgba(242, 137, 26, 0.25);
}

/* Card Thumbnail */
.npocto-card-thumb-wrap {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	min-height: 200px;
	background: #e2e8f0;
}

.npocto-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.npocto-card:hover .npocto-card-img {
	transform: scale(1.06);
}

/* Over Badges */
.npocto-card-badges {
	position: absolute;
	bottom: 12px;
	right: 12px;
	display: flex;
	align-items: center;
	gap: 6px;
	z-index: 2;
}

.npocto-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	text-decoration: none;
	backdrop-filter: blur(8px);
}

.npocto-badge-cat,
a.npocto-badge-cat {
	background: #ea580c !important;
	color: #ffffff !important;
	font-weight: 800 !important;
	font-size: 0.78rem !important;
	padding: 5px 12px !important;
	border-radius: 999px !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28) !important;
	text-decoration: none !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px !important;
	transition: all 0.25s ease !important;
}

.npocto-badge-cat:hover,
a.npocto-badge-cat:hover {
	background: #ffffff !important;
	color: #c2410c !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22) !important;
}

.npocto-badge-readtime {
	background: rgba(15, 23, 42, 0.85);
	color: #ffffff;
	font-weight: 700;
	padding: 5px 11px;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Bookmark Button in Card */
.npocto-card .npocto-bookmark-btn {
	position: absolute;
	top: 12px;
	left: 12px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.85);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #334155;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	z-index: 3;
	padding: 0;
	outline: none;
}

.npocto-card .npocto-bookmark-btn svg {
	width: 17px !important;
	height: 17px !important;
	stroke: currentColor !important;
	stroke-width: 2.2px !important;
	fill: none !important;
	display: block !important;
	transition: transform 0.2s ease, fill 0.2s ease;
}

.npocto-card .npocto-bookmark-btn:hover {
	background: #ffffff;
	color: var(--npocto-primary, #F2891A);
	transform: scale(1.12);
	box-shadow: 0 6px 18px rgba(242, 137, 26, 0.35);
	border-color: rgba(242, 137, 26, 0.4);
}

.npocto-card .npocto-bookmark-btn.saved,
.npocto-card .npocto-bookmark-btn.bookmarked,
.npocto-card .npocto-bookmark-btn.is-active {
	background: var(--npocto-primary, #F2891A) !important;
	color: #ffffff !important;
	border-color: var(--npocto-primary, #F2891A) !important;
	box-shadow: 0 4px 15px rgba(242, 137, 26, 0.5) !important;
}

.npocto-card .npocto-bookmark-btn.saved svg,
.npocto-card .npocto-bookmark-btn.bookmarked svg,
.npocto-card .npocto-bookmark-btn.is-active svg {
	fill: #ffffff !important;
	stroke: #ffffff !important;
}

/* Card Body */
.npocto-card-body {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.npocto-card-meta-top {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.82rem;
	color: #475569;
	margin-bottom: 0.75rem;
}

.npocto-card-author {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.npocto-author-avatar {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	object-fit: cover;
}

.npocto-author-name {
	color: #334155;
	text-decoration: none;
	font-weight: 600;
}

.npocto-author-name:hover {
	color: var(--npocto-primary, #F2891A);
}

.npocto-card-meta-sep {
	color: #cbd5e1;
}

.npocto-card-date {
	color: #475569;
}

.npocto-card-title {
	font-size: clamp(1rem, 1.2vw, 1.08rem);
	font-weight: 700;
	line-height: 1.6;
	margin: 0 0 0.65rem;
	min-height: 3.2em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
}

.npocto-card-title a {
	color: #0f172a !important;
	text-decoration: none;
	transition: var(--npocto-transition, all 0.25s ease);
}

.npocto-card-title a:hover {
	color: var(--npocto-primary, #F2891A) !important;
}

.npocto-card-excerpt {
	font-size: 0.9rem;
	color: #475569;
	line-height: 1.7;
	margin: 0 0 1.25rem;
	flex: 1;
}

/* Card Footer */
.npocto-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 1rem;
	border-top: 1px solid #f1f5f9;
}

.npocto-card-stats {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.82rem;
	color: #475569;
}

.npocto-card-stat-item {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

.npocto-card-btn-more {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: #c2410c;
	text-decoration: none;
	font-size: 0.88rem;
	font-weight: 700;
	transition: var(--npocto-transition, all 0.3s ease);
}

.npocto-card-btn-more:hover {
	color: #9a3412;
	transform: translateX(-4px);
}

/* List Mode Transformation */
.npocto-posts-container.npocto-view-list .npocto-card {
	flex-direction: row;
	align-items: stretch;
}

.npocto-posts-container.npocto-view-list .npocto-card-thumb-wrap {
	width: 320px;
	aspect-ratio: 16 / 10;
	min-height: 200px;
	flex-shrink: 0;
}

/* Numbered Pagination */
.npocto-pagination-wrapper {
	margin-top: 3rem;
	display: flex;
	justify-content: center;
}

.npocto-pagination-list {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.npocto-page-item > a,
.npocto-page-item > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-width: 44px;
	height: 44px;
	padding: 0 1rem;
	border-radius: var(--npocto-radius-sm, 8px);
	background: #ffffff;
	border: 1px solid #e2e8f0;
	color: var(--npocto-secondary, #54595F);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 700;
	transition: var(--npocto-transition, all 0.3s ease);
	box-sizing: border-box;
}

.npocto-page-item > a span,
.npocto-page-item > span span {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	box-shadow: none !important;
	color: inherit !important;
	min-width: 0 !important;
	height: auto !important;
	display: inline !important;
}

.npocto-page-item > a svg,
.npocto-page-item > span svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
	display: inline-block;
	flex-shrink: 0;
}

.npocto-page-item > a:hover {
	border-color: var(--npocto-primary, #F2891A);
	color: var(--npocto-primary, #F2891A);
	background: #fff8f1;
}

.npocto-page-item.active > span,
.npocto-page-item > span.current {
	background: var(--npocto-primary, #F2891A);
	color: #ffffff;
	border-color: var(--npocto-primary, #F2891A);
	box-shadow: 0 4px 14px rgba(242, 137, 26, 0.35);
}

/* Sidebar Widgets */
.npocto-archive-sidebar {
	position: sticky;
	top: 2rem;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.npocto-widget {
	background: #ffffff;
	border-radius: var(--npocto-radius-md, 14px);
	padding: 1.75rem;
	border: 1px solid #edf2f7;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.npocto-widget-title {
	font-size: 1.1rem;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 1.25rem;
	position: relative;
	padding-right: 0.75rem;
}

.npocto-widget-title::before {
	content: '';
	position: absolute;
	right: 0;
	top: 4px;
	bottom: 4px;
	width: 4px;
	border-radius: 4px;
	background: var(--npocto-primary, #F2891A);
}

/* Widget Search */
.npocto-search-input-wrap {
	display: flex;
	align-items: center;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: var(--npocto-radius-sm, 8px);
	padding: 0.3rem 0.5rem;
	transition: var(--npocto-transition, all 0.3s ease);
}

.npocto-search-input-wrap:focus-within {
	border-color: var(--npocto-primary, #F2891A);
	background: #ffffff;
}

.npocto-search-input {
	flex: 1;
	border: none;
	background: transparent;
	padding: 0.45rem 0.6rem;
	font-size: 0.9rem;
	color: #0f172a;
	outline: none;
	font-family: inherit;
}

.npocto-search-submit {
	background: linear-gradient(135deg, #F2891A, #ea580c);
	border: none;
	border-radius: 8px;
	color: #ffffff !important;
	width: 42px;
	height: 42px;
	min-width: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	flex-shrink: 0;
	box-shadow: 0 2px 8px rgba(242, 137, 26, 0.3);
	transition: all 0.25s ease;
}

.npocto-search-submit svg {
	width: 20px !important;
	height: 20px !important;
	min-width: 20px !important;
	min-height: 20px !important;
	display: block !important;
	fill: currentColor !important;
	transition: transform 0.2s ease;
}

.npocto-search-submit:hover {
	background: linear-gradient(135deg, #ea580c, #c2410c);
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(242, 137, 26, 0.45);
}

.npocto-search-submit:hover svg {
	transform: scale(1.1);
}

/* Widget Categories */
.npocto-cat-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.npocto-cat-list li a {
	display: flex;
	align-items: center;
	padding: 0.65rem 0.85rem;
	border-radius: var(--npocto-radius-sm, 8px);
	text-decoration: none;
	color: var(--npocto-secondary, #54595F);
	background: #f8fafc;
	transition: var(--npocto-transition, all 0.3s ease);
	font-size: 0.92rem;
	font-weight: 600;
}

.npocto-cat-list li a:hover,
.npocto-cat-list li.active a {
	background: #fff8f1;
	color: var(--npocto-primary, #F2891A);
}

.npocto-cat-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #cbd5e1;
	margin-left: 0.6rem;
	transition: var(--npocto-transition, all 0.3s ease);
}

.npocto-cat-list li a:hover .npocto-cat-dot,
.npocto-cat-list li.active a .npocto-cat-dot {
	background: var(--npocto-primary, #F2891A);
	transform: scale(1.5);
}

.npocto-cat-name {
	flex: 1;
}

.npocto-cat-badge {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	font-size: 0.78rem;
	color: var(--npocto-text, #7A7A7A);
}

/* Mini Trending Posts */
.npocto-mini-posts-list {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.npocto-mini-post {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	background: #ffffff;
	border: 1px solid #f1f5f9;
	border-radius: 14px;
	padding: 0.75rem 0.85rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.025);
	transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	overflow: hidden;
}

.npocto-mini-post:hover {
	transform: translateY(-2px);
	border-color: rgba(242, 137, 26, 0.35);
	box-shadow: 0 8px 20px rgba(242, 137, 26, 0.08);
	background: #ffffff;
}

.npocto-mini-thumb-wrap {
	position: relative;
	flex-shrink: 0;
	width: 72px;
	height: 72px;
}

.npocto-mini-rank {
	position: absolute;
	top: -4px;
	right: -4px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.72rem;
	font-weight: 800;
	color: #ffffff;
	z-index: 2;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	background: #64748b;
}

.npocto-mini-rank.rank-1 {
	background: linear-gradient(135deg, #f59e0b, #d97706);
	box-shadow: 0 2px 8px rgba(245, 158, 11, 0.45);
}

.npocto-mini-rank.rank-2 {
	background: linear-gradient(135deg, #94a3b8, #64748b);
	box-shadow: 0 2px 8px rgba(100, 116, 139, 0.4);
}

.npocto-mini-rank.rank-3 {
	background: linear-gradient(135deg, #d97706, #b45309);
	box-shadow: 0 2px 8px rgba(180, 83, 9, 0.4);
}

.npocto-mini-rank.rank-4 {
	background: #94a3b8;
}

.npocto-mini-thumb {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 10px;
	overflow: hidden;
	background: #f1f5f9;
}

.npocto-mini-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
	display: block;
}

.npocto-mini-thumb-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
	background: #f8fafc;
}

.npocto-mini-post:hover .npocto-mini-thumb img {
	transform: scale(1.1);
}

.npocto-mini-content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.npocto-mini-title {
	font-size: 0.9rem;
	line-height: 1.45;
	margin: 0;
	font-weight: 700;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
}

.npocto-mini-title a {
	color: #0f172a;
	text-decoration: none;
	transition: var(--npocto-transition, all 0.25s ease);
}

.npocto-mini-title a:hover {
	color: var(--npocto-primary, #F2891A);
}

.npocto-mini-meta {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.74rem;
	color: #64748b;
}

.npocto-mini-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

.npocto-mini-meta-item svg {
	color: #94a3b8;
	flex-shrink: 0;
}

.npocto-mini-meta-sep {
	color: #cbd5e1;
}

.npocto-mini-action {
	margin-top: 0.15rem;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.npocto-mini-view-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.76rem;
	font-weight: 700;
	color: var(--npocto-primary, #F2891A);
	background: rgba(242, 137, 26, 0.08);
	border: 1px solid rgba(242, 137, 26, 0.18);
	padding: 0.2rem 0.55rem;
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.25s ease;
}

.npocto-mini-view-btn svg {
	transition: transform 0.25s ease;
}

.npocto-mini-post:hover .npocto-mini-view-btn {
	background: var(--npocto-primary, #F2891A);
	color: #ffffff !important;
	border-color: var(--npocto-primary, #F2891A);
	box-shadow: 0 2px 8px rgba(242, 137, 26, 0.3);
}

.npocto-mini-post:hover .npocto-mini-view-btn svg {
	transform: translateX(-3px);
}

/* Tags Cloud */
.npocto-tags-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.npocto-tag-item {
	display: inline-block;
	background: #f8fafc;
	color: var(--npocto-secondary, #54595F);
	border: 1px solid #e2e8f0;
	padding: 0.3rem 0.75rem;
	border-radius: var(--npocto-radius-sm, 8px);
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
	transition: var(--npocto-transition, all 0.3s ease);
}

.npocto-tag-item:hover {
	background: var(--npocto-primary, #F2891A);
	color: #ffffff;
	border-color: var(--npocto-primary, #F2891A);
	transform: translateY(-2px);
}

/* Empty State */
.npocto-empty-state {
	background: #ffffff;
	border-radius: var(--npocto-radius-md, 14px);
	padding: 3.5rem 2rem;
	text-align: center;
	border: 1px dashed #cbd5e1;
}

.npocto-empty-icon {
	color: var(--npocto-primary, #F2891A);
	margin-bottom: 1.25rem;
}

.npocto-empty-state h2 {
	font-size: 1.4rem;
	color: #0f172a;
	margin: 0 0 0.75rem;
}

.npocto-empty-state p {
	color: var(--npocto-text, #7A7A7A);
	max-width: 500px;
	margin: 0 auto 1.75rem;
	line-height: 1.7;
}

.npocto-btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--npocto-primary, #F2891A);
	color: #ffffff;
	padding: 0.75rem 1.75rem;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(242, 137, 26, 0.35);
	transition: var(--npocto-transition, all 0.3s ease);
}

.npocto-btn-primary:hover {
	background: var(--npocto-primary-hover, #d9740e);
	transform: translateY(-2px);
}

/* Search Empty Tips */
.npocto-search-tips {
	list-style: disc;
	text-align: right;
	max-width: 440px;
	margin: 0 auto 2rem;
	padding-right: 1.5rem;
	color: var(--npocto-secondary, #54595F);
	line-height: 1.9;
}

.npocto-suggested-topics h4 {
	font-size: 1rem;
	margin: 0 0 1rem;
	color: #0f172a;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
	.npocto-archive-layout {
		grid-template-columns: 1fr;
	}
	.npocto-archive-sidebar {
		position: static;
		margin-top: 2rem;
	}
}

@media (max-width: 768px) {
	.npocto-posts-container.npocto-view-grid {
		grid-template-columns: 1fr;
	}
	.npocto-card-thumb-wrap {
		width: 100%;
		aspect-ratio: 16 / 10;
		min-height: 200px;
	}
	.npocto-posts-container.npocto-view-list .npocto-card {
		flex-direction: column;
	}
	.npocto-posts-container.npocto-view-list .npocto-card-thumb-wrap {
		width: 100%;
		aspect-ratio: 16 / 10;
		min-height: 200px;
	}
	.npocto-archive-hero {
		padding: 1.75rem 1.25rem;
	}
	.npocto-archive-title {
		font-size: 1.5rem;
	}
	.npocto-archive-toolbar {
		flex-direction: column;
		gap: 1rem;
		align-items: stretch;
	}
	.npocto-toolbar-actions {
		justify-content: space-between;
	}
}
