/* Blog category / tag archives — Elementor archive template (2558) */

.rabor-blog-archive .rabor-main,
.rabor-blog-category-page .rabor-main {
	overflow-x: clip;
}

.rabor-blog-archive .elementor-2558,
.rabor-blog-category-page .elementor-2558 {
	width: 100%;
	max-width: 100%;
}

.rabor-blog-archive .elementor-2558 .e-con.e-flex,
.rabor-blog-category-page .elementor-2558 .e-con.e-flex {
	display: flex;
	flex-direction: var(--flex-direction, row);
	flex-wrap: var(--flex-wrap, nowrap);
	align-items: var(--align-items, stretch);
	justify-content: var(--justify-content, flex-start);
	gap: var(--row-gap, 0) var(--column-gap, 0);
	min-width: 0;
}

.rabor-blog-archive .elementor-2558 .e-con.e-flex > .e-con-inner,
.rabor-blog-category-page .elementor-2558 .e-con.e-flex > .e-con-inner {
	display: flex;
	flex-direction: var(--flex-direction, row);
	flex-wrap: var(--flex-wrap, nowrap);
	align-items: var(--align-items, stretch);
	justify-content: var(--justify-content, flex-start);
	gap: var(--row-gap, 0) var(--column-gap, 0);
	width: 100%;
	min-width: 0;
}

/* ── Page shell ── */
.rabor-blog-archive .elementor-element-9b4a7f3,
.rabor-blog-category-page .elementor-element-9b4a7f3 {
	position: relative;
	isolation: isolate;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--rabor-container, 1310px);
	margin-inline: auto;
	padding-inline: var(--rabor-container-padding, 15px) !important;
	padding-block: clamp(1.25rem, 3vw, 2.25rem) clamp(2rem, 4vw, 3rem) !important;
}

.rabor-blog-archive .elementor-element-9b4a7f3::before,
.rabor-blog-category-page .elementor-element-9b4a7f3::before {
	content: "";
	position: absolute;
	inset: -1.5rem -50vw 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 55% 70% at 12% 18%, rgba(254, 230, 221, 0.95) 0%, transparent 72%),
		radial-gradient(ellipse 45% 55% at 88% 82%, rgba(32, 28, 112, 0.07) 0%, transparent 70%),
		linear-gradient(180deg, #fffdfb 0%, #fff6f1 48%, #fff 100%);
}

.rabor-blog-archive .elementor-element-9b4a7f3 > .e-con-inner,
.rabor-blog-category-page .elementor-element-9b4a7f3 > .e-con-inner {
	position: relative;
	z-index: 1;
	width: 100%;
}

/* ── Fix Elementor row layout (header + grid were side-by-side) ── */
.rabor-blog-archive .rabor-main .elementor-2558 .elementor-element.elementor-element-62eb5d1.e-con.e-flex,
.rabor-blog-category-page .rabor-main .elementor-2558 .elementor-element.elementor-element-62eb5d1.e-con.e-flex {
	--flex-direction: column !important;
	flex-direction: column !important;
	width: 100% !important;
	max-width: 100% !important;
	gap: clamp(1.25rem, 3vw, 2rem) !important;
	--row-gap: clamp(1.25rem, 3vw, 2rem) !important;
	padding-top: 0 !important;
	--padding-top: 0px !important;
}

.rabor-blog-archive .rabor-main .elementor-2558 .elementor-element.elementor-element-ba282e8.e-con.e-flex,
.rabor-blog-category-page .rabor-main .elementor-2558 .elementor-element.elementor-element-ba282e8.e-con.e-flex {
	--flex-direction: column !important;
	flex-direction: column !important;
	width: 100% !important;
	max-width: 100% !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.75rem !important;
	text-align: center;
	padding-block: clamp(0.5rem, 2vw, 1rem);
}

.rabor-blog-archive .rabor-main .elementor-2558 .elementor-element.elementor-element-018d212.e-con.e-flex,
.rabor-blog-category-page .rabor-main .elementor-2558 .elementor-element.elementor-element-018d212.e-con.e-flex {
	--flex-direction: column !important;
	flex-direction: column !important;
	width: 100% !important;
	max-width: 100% !important;
	gap: 1.5rem !important;
}

/* ── Toolbar (PHP-injected) ── */
.rabor-blog-archive__toolbar {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1rem;
	width: 100%;
	margin-bottom: 0.25rem;
}

.rabor-blog-archive__back {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	align-self: flex-start;
	padding: 0.35rem 0.85rem 0.35rem 0.65rem;
	font-family: "Yekan Bakh FaNum", sans-serif;
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.4;
	color: #434089;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(67, 64, 137, 0.1);
	border-radius: 999px;
	box-shadow: 0 4px 14px rgba(32, 28, 112, 0.06);
	transition:
		color 0.2s ease,
		background-color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

[dir="rtl"] .rabor-blog-archive__back svg {
	transform: scaleX(-1);
}

.rabor-blog-archive__back:hover,
.rabor-blog-archive__back:focus-visible {
	color: #201c70;
	background: #fff;
	border-color: rgba(241, 89, 33, 0.2);
	box-shadow: 0 8px 20px rgba(241, 89, 33, 0.12);
	outline: none;
}

.rabor-blog-archive__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.55rem 0.75rem;
	width: 100%;
	margin: 0;
	padding: 0;
}

.rabor-blog-archive__filters .rabor-blog-filter__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0.42rem 1.05rem;
	font-family: "Yekan Bakh FaNum", sans-serif;
	font-size: clamp(0.82rem, 1.4vw, 0.95rem);
	font-weight: 600;
	line-height: 1.45;
	color: #434089;
	text-decoration: none;
	background: #fbc9b7;
	border: 1px solid rgba(67, 64, 137, 0.08);
	border-radius: 999px;
	box-shadow: 0 4px 14px rgba(32, 28, 112, 0.06);
	white-space: nowrap;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.rabor-blog-archive__filters .rabor-blog-filter__link:hover,
.rabor-blog-archive__filters .rabor-blog-filter__link:focus-visible {
	color: #201c70;
	background: #f9b5a0;
	border-color: rgba(241, 89, 33, 0.22);
	box-shadow: 0 8px 20px rgba(241, 89, 33, 0.16);
	transform: translateY(-1px);
	outline: none;
}

.rabor-blog-archive__filters .rabor-blog-filter__link.is-active {
	color: #fff;
	background: linear-gradient(135deg, #f15921 0%, #e84a12 100%);
	border-color: transparent;
	box-shadow: 0 10px 22px rgba(241, 89, 33, 0.28);
}

/* ── Archive header ── */
.rabor-blog-archive .elementor-element-0dffffa,
.rabor-blog-archive .elementor-element-96c6422,
.rabor-blog-category-page .elementor-element-0dffffa,
.rabor-blog-category-page .elementor-element-96c6422 {
	display: none !important;
}

.rabor-blog-archive .elementor-element-abdaa7f,
.rabor-blog-category-page .elementor-element-abdaa7f {
	width: 100%;
	text-align: center;
}

.rabor-blog-archive .elementor-element-abdaa7f .elementor-heading-title,
.rabor-blog-category-page .elementor-element-abdaa7f .elementor-heading-title {
	position: relative;
	display: inline-block;
	margin: 0;
	padding-bottom: 0.85rem;
	font-family: "Yekan Bakh FaNum", sans-serif;
	font-size: clamp(1.35rem, 2.8vw, 2rem);
	font-weight: 800;
	line-height: 1.45;
	color: #201c70;
	letter-spacing: -0.01em;
}

.rabor-blog-archive .elementor-element-abdaa7f .elementor-heading-title::after,
.rabor-blog-category-page .elementor-element-abdaa7f .elementor-heading-title::after {
	content: "";
	position: absolute;
	inset-inline: 50% auto auto;
	bottom: 0;
	width: 3.25rem;
	height: 4px;
	border-radius: 999px;
	background: linear-gradient(90deg, #f15921 0%, #ffb38f 100%);
	transform: translateX(50%);
}

[dir="rtl"] .rabor-blog-archive .elementor-element-abdaa7f .elementor-heading-title::after,
[dir="rtl"] .rabor-blog-category-page .elementor-element-abdaa7f .elementor-heading-title::after {
	inset-inline: auto 50%;
	transform: translateX(50%);
}

.rabor-blog-archive__subtitle {
	margin: 0.35rem 0 0;
	font-family: "Yekan Bakh FaNum", sans-serif;
	font-size: clamp(0.88rem, 1.6vw, 1rem);
	font-weight: 500;
	line-height: 1.85;
	color: #646464;
	text-align: center;
}

/* ── Article grid ── */
.rabor-blog-archive .elementor-element-8229003 .elementor-loop-container > .e-loop-item,
.rabor-blog-category-page .elementor-element-8229003 .elementor-loop-container > .e-loop-item {
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
	align-self: stretch !important;
}

.rabor-blog-archive .elementor-element-8229003,
.rabor-blog-category-page .elementor-element-8229003 {
	width: 100% !important;
	max-width: 100% !important;
}

.rabor-blog-archive .elementor-element-8229003 .elementor-loop-container.elementor-grid,
.rabor-blog-category-page .elementor-element-8229003 .elementor-loop-container.elementor-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: clamp(1rem, 2.5vw, 1.5rem) !important;
	align-items: stretch !important;
	width: 100%;
}

.rabor-blog-archive .elementor-element-8229003 .elementor-loop-container > .e-loop-item,
.rabor-blog-category-page .elementor-element-8229003 .elementor-loop-container > .e-loop-item {
	width: 100% !important;
	min-width: 0;
}

/* Card polish — softer shadow than Elementor default */
.rabor-blog-archive .elementor-2380 .elementor-element-f5ad91a,
.rabor-blog-category-page .elementor-2380 .elementor-element-f5ad91a {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
	border: 1px solid rgba(32, 28, 112, 0.06);
	transition:
		box-shadow 0.25s ease,
		transform 0.25s ease;
}

.rabor-blog-archive .elementor-2380 .elementor-element-f5ad91a:hover,
.rabor-blog-category-page .elementor-2380 .elementor-element-f5ad91a:hover {
	box-shadow: 0 12px 28px rgba(32, 28, 112, 0.1) !important;
	transform: translateY(-2px);
}

.rabor-blog-archive .elementor-2380 .elementor-element-2a66fff5 .elementor-heading-title,
.rabor-blog-category-page .elementor-2380 .elementor-element-2a66fff5 .elementor-heading-title {
	font-size: clamp(1rem, 1.8vw, 1.2rem) !important;
}

.rabor-blog-archive .elementor-2380 .elementor-element-2a66fff5 .elementor-heading-title a,
.rabor-blog-category-page .elementor-2380 .elementor-element-2a66fff5 .elementor-heading-title a {
	color: #201c70;
	text-decoration: none;
	transition: color 0.2s ease;
}

.rabor-blog-archive .elementor-2380 .elementor-element-2a66fff5 .elementor-heading-title a:hover,
.rabor-blog-category-page .elementor-2380 .elementor-element-2a66fff5 .elementor-heading-title a:hover {
	color: #f15921;
}

/* ── Pagination ── */
.rabor-blog-archive .elementor-pagination,
.rabor-blog-category-page .elementor-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1.5rem;
}

.rabor-blog-archive .elementor-pagination .page-numbers,
.rabor-blog-category-page .elementor-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.35rem;
	min-height: 2.35rem;
	padding: 0 0.65rem;
	font-family: "Yekan Bakh FaNum", sans-serif;
	font-size: 0.9rem;
	font-weight: 600;
	color: #434089;
	text-decoration: none;
	background: #fff;
	border: 1px solid rgba(67, 64, 137, 0.12);
	border-radius: 10px;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease;
}

.rabor-blog-archive .elementor-pagination .page-numbers.current,
.rabor-blog-category-page .elementor-pagination .page-numbers.current {
	color: #fff;
	background: linear-gradient(135deg, #f15921 0%, #e84a12 100%);
	border-color: transparent;
}

.rabor-blog-archive .elementor-pagination .page-numbers:hover,
.rabor-blog-category-page .elementor-pagination .page-numbers:hover {
	color: #201c70;
	border-color: rgba(241, 89, 33, 0.25);
}

@media (max-width: 1024px) {
	.rabor-blog-archive .elementor-element-8229003 .elementor-loop-container.elementor-grid,
	.rabor-blog-category-page .elementor-element-8229003 .elementor-loop-container.elementor-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 767px) {
	.rabor-blog-archive .elementor-element-9b4a7f3,
	.rabor-blog-category-page .elementor-element-9b4a7f3 {
		padding-block: 1rem 1.75rem !important;
	}

	.rabor-blog-archive__toolbar {
		gap: 0.85rem;
	}

	.rabor-blog-archive__filters {
		justify-content: center;
		gap: 0.45rem;
	}

	.rabor-blog-archive__filters .rabor-blog-filter__link {
		padding: 0.38rem 0.8rem;
		font-size: 0.8rem;
	}

	.rabor-blog-archive .elementor-element-8229003 .elementor-loop-container.elementor-grid,
	.rabor-blog-category-page .elementor-element-8229003 .elementor-loop-container.elementor-grid {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}
