/* Breaking News Horizontal RTL Slider */
.unds-breaking-news {
	padding: 12px 20px;
	display: flex;
	align-items: center;
	gap: 15px;
	color: white;
	position: relative;
	overflow: hidden;
}
.unds-breaking-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 14px;
	white-space: nowrap;
	z-index: 2;
	flex-shrink: 0;
}
.unds-breaking-icon {
	animation: blink 2s infinite;
	font-size: 18px;
}
@keyframes blink {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
}
.unds-breaking-slider {
	flex: 1;
	display: flex;
	overflow: hidden;
	position: relative;
	z-index: 2;
	height: 30px;
}
.unds-breaking-slider.slick-initialized {
	display: block;
}
.unds-breaking-slide {
	height: 30px;
	display: flex !important;
	align-items: center;
	justify-content: flex-start;
	/* RTL alignment */
}
.unds-breaking-link {
	gap: 10px;
	display: flex;
	align-items: center;
	width: 100%;
	color: white;
	text-decoration: none;
	padding: 0 10px;
	transition: all 0.3s;
}
.unds-breaking-link:hover {
	color: #ffd700;
}
.unds-breaking-title {
	font-weight: 400;
	font-size: 14px;
	line-height: normal;
	white-space: nowrap;
	padding: 0 10px;
}
.unds-breaking-time i {
	margin: 0 0 0 5px;
}
/* Slick slider RTL fixes */
.unds-breaking-slider.slick-slider {
	direction: rtl !important;
}
.unds-breaking-slider .slick-list {
	direction: rtl !important;
	overflow: hidden;
}
.unds-breaking-slider .slick-track {
	display: flex !important;
	direction: rtl !important;
}
.unds-breaking-slider .slick-slide {
	float: right !important;
	/* RTL float */
	padding: 0 20px;
	height: 30px !important;
}
/* Remove all controls */
.unds-breaking-controls {
	display: none !important;
}
/* Responsive */
@media (max-width: 768px) {
	.unds-breaking-news {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 15px;
	}
	.unds-breaking-slider {
		width: 100%;
	}
	.unds-breaking-title {
		font-size: 14px;
	}
}
/* ====================================
	HERO SLIDER WITH SLICK (URDU RTL)
==================================== */
.unds-hero-slider {
	width: 100%;
	height: 447px;
	overflow: hidden;
	position: relative;
}
/* Slick Height Fix */
.unds-hero-slider-main,
.unds-hero-slider .slick-track,
.unds-hero-slider .slick-list,
.unds-hero-slider .slick-slide,
.unds-hero-slider .slick-slide>div {
	height: 100% !important;
}
/* HERO SLIDE */
.unds-hero-slide {
	height: 100%;
	position: relative;
	overflow: hidden;
}
/* Image */
.unds-hero-slide img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
}
/* CONTENT CONTAINER */
.hero-content-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 50px;
	display: flex;
	align-items: center;
	z-index: 2;
}
@media (max-width: 575.98px) {
	.hero-content-container {
		padding: 20px;
	}
}
/* CONTENT BOX */
.hero-content {
	color: #fff;
	padding: 25px;
	max-width: 720px;
	border-radius: 10px;
	background: linear-gradient(135deg,
		rgba(2, 20, 55, 0.3),
		rgba(10, 36, 99, 0.9));
}
/* CATEGORY */
.hero-category {
	display: inline-block;
	background: #60a5fa;
	color: #fff;
	padding: 6px 16px;
	font-size: 14px;
	font-weight: bold;
	border-radius: 6px;
	text-decoration: none;
	margin-bottom: 20px;
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
}
.hero-category:hover {
	background: #2563eb;
	transform: translateY(-2px);
}
/* TITLE */
.hero-title {
	margin: 0 0 15px;
	font-size: 22px;
	font-weight: 700;
	line-height: normal;
	font-family: 'Noto Nastaliq Urdu', serif;
}
.hero-title a {
	color: #fff;
	text-decoration: none !important;
}
.hero-title a:hover {
	color: #fde68a;
}
.news-footer {
	gap: 10px;
	display: flex;
	align-items: center;
}
.news-readmore {
	position: relative;
	padding-right: 12px;
}
.news-readmore:before {
	top: 18px;
	right: 0;
	width: 2px;
	height: 15px;
	content: "";
	position: absolute;
	background: #0A2463;
}
.news-readmore .read-more-btn {
	font-size: 14px !important;
	text-decoration: none !important;
}
.news-date i {
	margin-left: 5px;
}
/* EXCERPT */
.hero-excerpt {
	font-size: 18px;
	line-height: 1.9;
	color: #f1f5f9;
	margin-bottom: 25px;
	max-width: 95%;
}
/* META */
.hero-meta {
	gap: 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.hero-date {
	gap: 8px;
	color: #fff;
	display: flex;
	font-size: 15px;
	align-items: center;
}
.hero-date i {
	top: 5px;
	position: relative;
}
/* READ MORE */
.hero-read-more {
	gap: 8px;
	color: #fff;
	padding-right: 18px;
	position: relative;
	align-items: center;
	display: inline-flex;
	text-decoration: none !important;
	transition: all 0.3s ease;
}
.hero-read-more:hover {
	transform: translateX(-6px);
}
.hero-read-more:before {
	right: 0;
	top: 18px;
	width: 2px;
	height: 15px;
	content: "";
	background: #fff;
	position: absolute;
}
.hero-read-more i {
	top: 7px;
	position: relative;
}
/* ====================================
	SLICK ARROWS (RTL)
==================================== */
.slick-prev,
.slick-next {
	position: absolute;
	top: 50%;
	padding: 0;
	width: 50px !important;
	height: 50px !important;
	transform: translateY(-50%);
	border-radius: 50%;
	cursor: pointer;
	background: #fff;
	color: #0a2463;
	z-index: 10;
	display: flex !important;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	border: 2px solid #0a2463;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}
.slick-prev:hover,
.slick-next:hover {
	color: #fff;
	background: #0a2463;
	border-color: #fff;
	transform: translateY(-50%) scale(1.1);
}
.unds-hero-slider .slick-prev {
	right: -25px;
	left: auto;
}
.unds-hero-slider .slick-next {
	left: -25px;
	right: auto;
}
.unds-hero-slider .slick-prev i {
	margin-right: 18px;
}
.unds-hero-slider .slick-next i {
	margin-left: 18px;
}
/* ====================================
	SLICK DOTS
==================================== */
.slick-dots {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	display: flex !important;
	gap: 15px;
	list-style: none;
	padding: 0;
	margin: 0;
	z-index: 10;
	justify-content: center;
	background: #fff;
	width: 100%;
	padding: 5px 20px 0;
	border-radius: 0 0 10px 10px;
}
.slick-dots li button {
	padding: 0;
	width: 10px;
	height: 10px;
	border: none;
	opacity: 0.8;
	cursor: pointer;
	border-radius: 50%;
	background: #0a2463;
	text-indent: -9999px;
	transition: all 0.3s ease;
}
.slick-dots li.slick-active button {
	opacity: 1;
	background: #0a2463;
	transform: scale(1.4);
	box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.35);
}
/* ====================================
	NEWS BASE (RTL)
==================================== */
.news-display-wrapper {
	direction: rtl;
	text-align: right;
	font-family: 'Noto Nastaliq Urdu', 'Noto Naskh Arabic', serif;
}
/* GRID LAYOUT */
.news-layout-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}
.news-layout-grid .news-item {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
	transition: all 0.35s ease;
}
.news-layout-grid .news-item:hover {
	transform: translateY(-6px);
}
.news-layout-grid .news-image {
	position: relative;
	padding-bottom: 56.25%;
}
.news-layout-grid .news-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
}
.news-layout-grid .category-badge {
	top: 0;
	right: 0;
	color: #fff;
	font-size: 12px;
	position: absolute;
	padding: 0 10px 5px;
	background: #0a2463;
}
.news-layout-grid .news-content {
	padding: 5px 15px 10px;
}
.news-layout-grid .news-title {
	font-size: 16px;
	line-height: normal;
}
.news-layout-grid .news-title a {
	text-decoration: none !important;
}
/* LIST LAYOUT */
.news-layout-list .news-item {
	display: flex;
	padding: 13px 10px;
	border-radius: 10px;
	border-bottom: 1px solid #e5e7eb;
	transition: background 0.3s ease;
}
.news-layout-list .news-item:hover {
	background: #f8fafc;
}
.news-layout-list .news-image {
	width: 90px;
	height: 90px;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: 5px;
}
.news-layout-list .news-image a {
	width: 100%;
	height: 100%;
	display: block;
}
.news-layout-list .news-image img {
	width: 100%;
	height: 100%;
	object-fit: cover	;
}
.news-layout-list .news-content {
	flex: 1;
}
/* TITLES */
.news-layout-list .news-title,
.news-layout-grid .news-title {
	font-family: 'Noto Nastaliq Urdu', serif;
	line-height: normal;
	color: #0f172a;
}
.news-layout-list .news-title a:hover {
	color: #2563eb;
}
.news-layout-grid .news-title {
	margin: 0 0 10px;
}
/* ====================================
	RESPONSIVE
==================================== */
@media (max-width: 768px) {
	.unds-hero-slider {
		height: 400px;
	}
	.hero-title {
		font-size: 20px;
	}
	.hero-excerpt {
		font-size: 15px;
	}
}
@media (max-width: 480px) {
	.unds-hero-slider {
		height: 350px;
	}
	.hero-excerpt {
		display: none;
	}
	.hero-title {
		font-size: 18px;
	}
	.unds-hero-slider .slick-prev,
	.unds-hero-slider .slick-next {
		display: none !important;
	}
}
/* ===== FIXED: Category Grid Layout ===== */
.urdu-category-grid-layout {
	display: block;
	width: 100%;
}
.featured-post-card {
	width: 100%;
	display: block;
	overflow: hidden;
	border-radius: 10px;
	margin-bottom: 30px;
	box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
.featured-content-wrapper {
	overflow: hidden;
	padding: 10px 15px 15px;
}
.featured-post-inner {
	display: flex;
	gap: 25px;
	width: 100%;
}
.featured-image-wrapper {
	height: 100%;
	flex: 0 0 45%;
	position: relative;
	padding-bottom: 220px;
}
.featured-image-wrapper a {
	width: 100%;
	height: 100%;
	display: block;
}
.featured-image-wrapper img {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%!important;
	object-fit: cover;
	position: absolute;
}
.featured-image-wrapper a.featured-category-badge {
	top: 0;
	right: 0;
	width: auto;
	height: auto;
	color: #fff;
	font-size: 12px;
	position: absolute;
	padding: 0 10px 5px;
	background: #0a2463;
	display: inline-flex;
	text-decoration: none!important;
}
.grid-posts-container {
	width: 100%;
}
.grid-posts-row {
	gap: 20px;
	width: 100%;
	display: grid;
	margin-bottom: 25px;
	grid-template-columns: repeat(2, 1fr);
}
.grid-posts-row:last-child {
	margin-bottom: 0;
}
.grid-post-column {
	width: 100%;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
.grid-post-column .grid-image-wrapper {
	position: relative;
	padding-bottom: 56.25%;
}
.grid-post-column .grid-image-wrapper a {
	width: 100%;
	height: 100%;
	display: block;
}
.grid-post-column .grid-image-wrapper img {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	position: absolute;
	object-fit: cover;
}
.grid-category-badge {
	top: 0;
	right: 0;
	width: auto;
	height: auto;
	color: #fff;
	font-size: 12px;
	position: absolute;
	padding: 0 10px 5px;
	background: #0a2463;
	display: inline-flex;
	text-decoration: none!important;
}
.grid-content-wrapper {
	padding: 10px 15px 15px;
}
.grid-read-more,
.featured-read-more {
	text-decoration: none!important;
}
.grid-read-more i,
.featured-read-more i {
	top: 5px;
	position: relative;
}
@media (max-width: 768px) {
	.featured-post-inner {
		flex-direction: column;
	}
	.featured-image-wrapper {
		flex: 0 0 100%;
	}
	.grid-posts-row {
		grid-template-columns: 1fr;
	}
}
/* ====================================
	CATEGORIES LIST STYLING - URDU NEWS
	==================================== */
.urdu-categories-list {
	direction: rtl;
	background: white;
	overflow: hidden;
	transition: all 0.3s;
	font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', Tahoma, sans-serif;
}
/* Categories List */
.categories-list {
	list-style: none;
}
/* Category Item */
.category-item {
	margin: 0;
	padding: 0;
	position: relative;
	transition: all 0.3s;
	border-bottom: 1px solid #e5e7eb;
}
.category-item:last-child {
	border-bottom: none;
}
/* Category Link */
.category-link {
	display: flex;
	color: #0A2463;
	font-size: 16px;
	overflow: hidden;
	font-weight: 500;
	padding: 11px 20px;
	position: relative;
	align-items: center;
	transition: all 0.3s;
	text-decoration: none!important;
	justify-content: space-between;
}
.category-link:hover {
	color: #0A2463;
	background: #f8fafc;
	padding-right: 25px;
}
.category-link:hover::before {
	top: 0;
	right: 0;
	width: 4px;
	content: '';
	height: 100%;
	position: absolute;
	background: #0a2463;
}
/* Category Name with Icon */
.category-name {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	font-weight: 500;
}
.category-name i {
	color: #0a2463;
	font-size: 16px;
	transition: transform 0.3s, color 0.3s;
	width: 20px;
	text-align: center;
}
.category-link:hover .category-name i {
	color: #1e3a8a;
	transform: scale(1.1);
}
/* Category Indent for Sub-categories */
.category-indent {
	color: #9ca3af;
	font-size: 14px;
	margin-left: 5px;
}
/* Category Count Badge */
.category-count {
	padding: 0;
	height: 35px;
	display: flex;
	color: #0A2463;
	min-width: 35px;
	text-align: center;
	border-radius: 10px;
	background: #e5e7eb;
	align-items: center;
	transition: all 0.3s;
	justify-content: center;
	font: 500 12px/1 'Roboto', sans-serif;
}
.category-link:hover .category-count {
	color: #fff;
	background: #0A2463;
}
/* Sub Categories */
.sub-categories {
	margin: 0;
	padding: 0;
	list-style: none;
	padding-right: 20px;
	background: #f9fafb;
	border-top: 1px solid #e5e7eb;
}
.sub-categories .category-link {
	font-size: 15px;
	padding-right: 30px;
	background: rgba(249, 250, 251, 0.5);
}
.sub-categories .category-link:hover {
	background: #f1f5f9;
}
.sub-categories .category-name i {
	font-size: 14px;
	color: #0A2463;
}
/* Depth Styles */
.category-depth-1 .category-link {
	padding-right: 35px;
}
.category-depth-2 .category-link {
	padding-right: 50px;
}
.category-depth-3 .category-link {
	padding-right: 65px;
}
/* Has Children Indicator */
.category-item.has-children>.category-link .category-name {
	position: relative;
}
.category-item.has-children>.category-link .category-name::after {
	content: '\f107';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	margin-right: 8px;
	color: #9ca3af;
	font-size: 14px;
	transition: transform 0.3s;
}
.category-item.has-children:hover>.category-link .category-name::after {
	transform: rotate(-180deg);
	color: #60a5fa;
}
/* No Categories */
.no-categories {
	padding: 30px 20px;
	text-align: center;
	color: #9ca3af;
	font-size: 15px;
	background: #f9fafb;
	list-style: none;
}
/* ===== VARIATIONS ===== */
/* Compact Version */
.urdu-categories-list.compact .category-link {
	padding: 10px 15px;
	font-size: 14px;
}
.urdu-categories-list.compact .category-name {
	font-size: 14px;
	gap: 8px;
}
.urdu-categories-list.compact .category-count {
	padding: 2px 8px;
	font-size: 11px;
	min-width: 30px;
}
/* Minimal Version - No Border */
.urdu-categories-list.minimal {
	border: none;
	background: transparent;
	box-shadow: none;
}
.urdu-categories-list.minimal .category-item {
	border-bottom: none;
}
.urdu-categories-list.minimal .category-link {
	padding: 12px 0;
}
.urdu-categories-list.minimal .category-link:hover {
	background: transparent;
	padding-right: 5px;
}
/* Without Icons */
.urdu-categories-list.no-icons .category-name i {
	display: none;
}
/* Without Counts */
.urdu-categories-list.no-count .category-count {
	display: none;
}
/* Colorful Numbers Variation */
.urdu-categories-list.colorful .category-item:nth-child(1) .category-count {
	background: #1e3a8a;
	color: white;
}
.urdu-categories-list.colorful .category-item:nth-child(2) .category-count {
	background: #3b82f6;
	color: white;
}
.urdu-categories-list.colorful .category-item:nth-child(3) .category-count {
	background: #60a5fa;
	color: white;
}
.urdu-categories-list.colorful .category-item:nth-child(4) .category-count {
	background: #10b981;
	color: white;
}
.urdu-categories-list.colorful .category-item:nth-child(5) .category-count {
	background: #f59e0b;
	color: white;
}
/* Card Style */
.urdu-categories-list.card-style {
	border-radius: 16px;
}
.urdu-categories-list.card-style .category-link {
	padding: 16px 20px;
}
.urdu-categories-list.card-style .category-count {
	background: #1e3a8a;
	color: white;
}
.urdu-categories-list.card-style .category-link:hover .category-count {
	background: #60a5fa;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
	.category-link {
		padding: 12px 15px;
		font-size: 15px;
	}
	.category-name {
		font-size: 15px;
		gap: 8px;
	}
	.category-name i {
		font-size: 15px;
	}
	.category-count {
		font-size: 11px;
		padding: 2px 8px;
		min-width: 32px;
	}
	.sub-categories {
		padding-right: 15px;
	}
	.category-depth-1 .category-link {
		padding-right: 25px;
	}
	.category-depth-2 .category-link {
		padding-right: 40px;
	}
	.category-depth-3 .category-link {
		padding-right: 55px;
	}
}
@media (max-width: 480px) {
	.category-link {
		padding: 10px 12px;
		font-size: 14px;
	}
	.category-name {
		font-size: 14px;
		gap: 6px;
	}
	.category-name i {
		font-size: 14px;
	}
	.category-count {
		font-size: 10px;
		padding: 2px 6px;
		min-width: 28px;
	}
	.sub-categories {
		padding-right: 10px;
	}
	.category-depth-1 .category-link {
		padding-right: 20px;
	}
	.category-depth-2 .category-link {
		padding-right: 35px;
	}
	.category-depth-3 .category-link {
		padding-right: 50px;
	}
}
/* ===== RTL SPECIFIC FIXES ===== */
[dir="rtl"] .category-name {
	text-align: right;
}
[dir="rtl"] .category-indent {
	margin-left: 0;
	margin-right: 5px;
}
[dir="rtl"] .category-item.has-children>.category-link .category-name::after {
	margin-right: 8px;
	margin-left: 0;
}