body {
	/* font-family: "Noto Sans Tamil", sans-serif; */
	color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	color: #000;
}

/* Fix for Photos section where text must be white for visibility */
.photo-news-title,
.photo-count-custom,
.photo-count-custom span,
.photo-count-custom i {
	color: #fff !important;
}

/* Ensure icons maintain their font-family */
i[class*="la-"],
i[class*="fa-"],
span[class*="la-"],
span[class*="fa-"] {
	font-family: "Line Awesome Free", "Line Awesome Brands", "Font Awesome 5 Free", "Font Awesome 5 Brands" !important;
}

/* News Ticker Styles moved to news-ticker.css */

.error {
	color: #dc3545;
}

/* News Banner Slider Customization */
.news-banner-area {
	border: 0px solid #e5e5e5;
	border-radius: 4px;
	overflow: hidden;
	padding: 0px;
}

.news-banner-content .title a {
	display: -webkit-box !important;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.5 !important;
	max-height: calc(1.5em * 3);
	white-space: normal !important;
}

.fs-12 {
	font-size: 12px !important;
	color: #666;
	margin-top: 5px;
	display: block;
}

/* Increase small list image size */
.small-single-news .thumb {
	width: 140px !important;
	height: 90px !important;
}

.small-single-news .content {
	width: calc(100% - 140px) !important;
	padding-left: 20px;
}

.line-clamp-5 {
	display: -webkit-box !important;
	-webkit-line-clamp: 5 !important;
	line-clamp: 5 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: normal !important;
	line-height: 1.4 !important;
	max-height: 7em !important;
	/* 1.4 * 5 */
}

.new-badge {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	top: -2px;
	background-color: #ff0000;
	/* Fallback */
	color: #fff;
	font-size: 9px;
	padding: 1px 5px;
	border-radius: 3px;
	font-weight: 700;
	z-index: 10;
	text-transform: uppercase;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	margin-right: 5px;
	animation: bling 1s infinite alternate;
}

@keyframes bling {
	0% {
		opacity: 1;
		transform: scale(1);
	}

	100% {
		opacity: 0.7;
		transform: scale(0.95);
	}
}

.btn--base {
	background: linear-gradient(135deg, var(--base-color), #ff6b6b);
	color: #fff !important;
	padding: 12px 30px;
	border-radius: 50px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	border: none;
	box-shadow: 0 4px 15px rgba(255, 71, 71, 0.3);
	transition: all 0.3s ease;
}

.btn--base:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(255, 71, 71, 0.4);
	filter: brightness(1.1);
}

.load_more_button {
	margin-top: 20px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.last-child-border-0:last-child {
	border-bottom: none !important;
}

.news-date-wrapper {
	display: flex;
	align-items: center;
	background: rgba(var(--base-rgb), 0.05);
	border: 1px solid rgba(var(--base-rgb), 0.1);
	padding: 6px 15px;
	border-radius: 50px;
	margin-top: 10px;
	transition: all 0.3s ease;
}

.news-date-wrapper:hover {
	background: rgba(var(--base-rgb), 0.08);
	transform: translateY(-1px);
}

.news-date-wrapper .date-icon {
	font-size: 22px;
	color: var(--base-color);
	margin-right: 12px;
	line-height: 1;
}

.news-date-wrapper .date-text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.news-date-wrapper .day {
	font-weight: 700;
	font-size: 13px;
	color: var(--base-color);
	text-transform: uppercase;
}

.news-date-wrapper .full-date {
	font-size: 12px;
	color: #666;
	font-weight: 500;
}

.logo-area {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
}

@media only screen and (max-width: 991px) {
	.logo-area {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
}

.header-social-area {
	margin-left: 10px;
}

.header-social {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.header-social li a {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(var(--base-rgb), 0.1);
	color: var(--base-color);
	border-radius: 50%;
	font-size: 14px;
	transition: all 0.3s ease;
}

.header-social li a:hover {
	background: var(--base-color);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(var(--base-rgb), 0.3);
}

.header-middle-area {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	flex-wrap: nowrap !important;
}

.header-promo {
	flex-shrink: 0 !important;
	margin-left: 20px !important;
}

.modern-toolbar {
	display: flex !important;
	align-items: center !important;
	gap: 15px !important;
}

.brand-item {
	display: flex;
	align-items: center;
}

.brand-divider {
	width: 1px;
	height: 35px;
	background: #eee;
	margin: 0 5px;
}

/* Force logo visibility across all screen sizes */
.header-middle-area .logo {
	display: block !important;
}

@media only screen and (max-width: 1199px) {
	.header-middle-area {
		flex-wrap: wrap !important;
	}

	.header-promo {
		width: 100% !important;
		margin-left: 0 !important;
		margin-top: 15px !important;
		text-align: center !important;
	}

	.logo-area {
		width: 100% !important;
		justify-content: center !important;
	}
}

.header-middle-area .logo-area .logo img {
	height: auto !important;
	max-height: 55px;
	width: auto !important;
	max-width: 250px;
}

/* Modern Menu Design */
.menu li a {
	padding: 10px 12px !important;
	position: relative;
	transition: all 0.3s ease !important;
	font-weight: 600 !important;
	border-radius: 0;
	margin: 0;
}

.menu li a:hover,
.menu li a.active {
	background: rgba(var(--base-rgb), 0.1) !important;
	color: var(--base-color) !important;
}

/* Add vertical separator between menu items */
@media (min-width: 1200px) {
	.menu>li:not(:last-child)::after {
		content: '';
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateY(-50%);
		height: 20px;
		width: 1px;
		background: #e5e5e5;
	}

	.menu>li {
		position: relative;
	}
}

.header-bottom {
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
	border-bottom: 2px solid var(--base-color);
}

@media only screen and (max-width: 991px) {
	.header-middle-area {
		flex-direction: column !important;
		padding: 5px 0 !important;
		gap: 10px !important;
		border-bottom: none !important;
	}

	/* Hide empty middle-area logo items on mobile as requested */
	.brand-item.logo,
	.brand-item.socials,
	.brand-item.date,
	.brand-divider {
		display: none !important;
	}

	.header-promo {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		text-align: center !important;
		padding: 0 10px;
	}

	.header-promo img {
		max-width: 100%;
		height: auto;
		border-radius: 4px;
	}

	.header-mobile-branding {
		display: flex !important;
		align-items: center !important;
		gap: 8px !important;
	}



	.logo.d-xl-none {
		padding-right: 0px !important;
		border-right: none !important;
		margin-right: 0px;
		flex-shrink: 0;
	}

	.logo.d-xl-none img {
		max-height: 55px !important;
		width: auto !important;
		min-width: 100px;
	}

	.header-wrapper {
		padding: 10px 0 !important;
		min-height: 75px;
		justify-content: space-between !important;
		flex-wrap: nowrap !important;
		gap: 5px;
	}

	.d-flex.flex-wrap.align-items-center {
		flex-wrap: nowrap !important;
		gap: 0px;
	}
}

@media only screen and (max-width: 575px) {
	.logo.d-xl-none img {
		max-height: 65px !important;
		min-width: 220px;
	}



	.header-mobile-branding {
		gap: 5px !important;
	}

	.edition-btn {
		padding: 5px 8px !important;
		font-size: 0 !important;
		/* Hide text, keep icon */
	}

	.edition-btn i {
		margin-right: 0 !important;
		font-size: 16px !important;
	}

	.search-bar {
		width: 35px !important;
		height: 35px !important;
	}

	.header-bar {
		margin-left: 5px !important;
		margin-right: 5px !important;
	}
}

@media only screen and (max-width: 991px) {
	.header-middle-area {
		gap: 10px !important;
	}

	.modern-toolbar {
		gap: 8px !important;
	}

	/* Hide the top logo on very small screens to avoid double-branding with the menu logo below it */
	.brand-item.logo {
		margin-bottom: 0px;
	}

	.header-social li a {
		width: 28px;
		height: 28px;
		font-size: 12px;
	}
}

/* Edition Switcher */
.edition-btn {
	background: rgba(var(--base-rgb), 0.1) !important;
	color: var(--base-color) !important;
	border: 1px solid rgba(var(--base-rgb), 0.2) !important;
	border-radius: 5px !important;
	padding: 8px 15px !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	transition: all 0.3s ease !important;
	display: flex !important;
	align-items: center;
}

.edition-btn i {
	font-size: 18px;
	margin-right: 5px;
}

.edition-btn:hover,
.edition-btn:focus {
	background: var(--base-color) !important;
	color: #fff !important;
	box-shadow: 0 4px 10px rgba(var(--base-rgb), 0.3) !important;
}

.edition-switcher .dropdown-menu {
	border: none !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
	border-radius: 8px !important;
	padding: 10px 0 !important;
	min-width: 200px !important;
	margin-top: 10px !important;
	animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.edition-switcher .dropdown-item {
	font-weight: 600 !important;
	padding: 10px 20px !important;
	color: #444 !important;
	transition: all 0.2s !important;
}

.edition-switcher .dropdown-item:hover {
	background: rgba(var(--base-rgb), 0.05) !important;
	color: var(--base-color) !important;
	padding-left: 25px !important;
}

@media (max-width: 767px) {
	.edition-btn {
		padding: 5px 10px !important;
		font-size: 12px !important;
	}

	.edition-btn i {
		margin-right: 0;
	}
}

/* Modern Search Icon Style */
.search-bar {
	width: 45px !important;
	height: 45px !important;
	background: rgba(var(--base-rgb), 0.1) !important;
	color: var(--base-color) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 50% !important;
	cursor: pointer !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	border: 1px solid rgba(var(--base-rgb), 0.2) !important;
	position: relative !important;
	z-index: 1 !important;
	margin-left: 10px;
}

.search-bar i {
	font-size: 20px !important;
	font-weight: 700 !important;
}

.search-bar:hover {
	background: var(--base-color) !important;
	color: #fff !important;
	transform: scale(1.1) translateY(-2px) !important;
	box-shadow: 0 5px 15px rgba(var(--base-rgb), 0.4) !important;
}

@media (max-width: 991px) {
	.search-bar {
		width: 38px !important;
		height: 38px !important;
		margin-left: 5px;
	}

	.search-bar i {
		font-size: 16px !important;
	}

	.sidebar,
	.custom-sidebar {
		border-top: none !important;
		padding-top: 0 !important;
		margin-top: 0 !important;
	}
}

/* Remove redundant light border after news sections to keep only the primary black/thick border */
.small-news-area {
	border-bottom: none !important;
	padding-bottom: 0 !important;
}

@media (max-width: 991px) {
	.small-news-area {
		margin-bottom: 0 !important;
	}
}

/* Section Separator - Creates visual space between major sections */
.section-separator {
	width: 100%;
	height: 2px;
	background: linear-gradient(to right, transparent, #e5e5e5 20%, #e5e5e5 80%, transparent);
	margin: 40px 0;
	position: relative;
}

.section-separator::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60px;
	height: 60px;
	background: white;
	border: 2px solid #e5e5e5;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

@media (max-width: 767px) {
	.section-separator {
		margin: 30px 0;
	}

	.section-separator::after {
		width: 40px;
	height: 40px;
	}
}

/* News Post Meta Styling */
.news-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	font-size: 14px;
	color: #777;
	margin-bottom: 20px;
}

.news-post-meta span {
	display: inline-flex;
	align-items: center;
}

/* Modern Post Meta (Author, Date, Count) */
.modern-post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0 0 20px 0;
	gap: 20px;
	font-size: 14px;
	color: #666;
}

.modern-post-meta li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
}

.modern-post-meta li i {
	color: #e31c25;
	font-size: 1.1rem;
}

/* Author Link Styling */
.author-link {
	display: inline-flex;
	align-items: center;
	color: #444 !important;
	font-weight: 600;
	transition: all 0.3s;
}

.author-link:hover {
	color: #e31c25 !important;
}

.author-link img {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
	margin-right: 8px;
	border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* Modern Social Share List (Button Style) */
.modern-social-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	list-style: none;
	padding: 0;
	margin: 25px 0;
	gap: 12px;
}

.modern-social-list li {
	margin: 0;
}

.modern-social-list li a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	border-radius: 6px;
	color: #fff !important;
	text-decoration: none;
	font-size: 15px;
	font-weight: 700;
	transition: transform 0.2s ease, filter 0.2s ease;
	min-width: 140px;
	justify-content: center;
}

.modern-social-list li a:hover {
	transform: translateY(-2px);
	filter: brightness(1.1);
}

.modern-social-list li a i {
	font-size: 18px;
}

/* Brand Colors */
.modern-social-list li a.whatsapp {
	background-color: #25d366;
}

.modern-social-list li a.telegram {
	background-color: #24a1de;
}

.modern-social-list li a.facebook {
	background-color: #3b5998;
}

.modern-social-list li a.twitter {
	background-color: #1da1f2;
}

.modern-social-list li a.linkedin {
	background-color: #0077b5;
}

.modern-social-list li a.pinterest {
	background-color: #bd081c;
}

/* WhatsApp Channel Button */
.whatsapp-channel-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background-color: #008f00;
	color: #fff !important;
	padding: 12px 20px;
	border-radius: 8px;
	font-size: 18px;
	font-weight: 700;
	width: 100%;
	margin-top: 15px;
	margin-bottom: 25px;
	transition: background-color 0.3s ease, transform 0.2s;
	text-decoration: none !important;
}

.whatsapp-channel-btn:hover {
	background-color: #007a00;
	transform: scale(1.01);
}

.whatsapp-channel-btn i {
	font-size: 24px;
}

@media (max-width: 575px) {
	.whatsapp-channel-btn {
		font-size: 16px;
		padding: 10px 15px;
	}
}

@media (max-width: 575px) {
	.modern-social-list {
		gap: 8px;
	}

	.modern-social-list li a {
		min-width: calc(50% - 8px);
		padding: 8px 12px;
		font-size: 13px;
	}
}

/* Modern Side List (Top News, etc) */
.small-news-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.small-news-list li {
	padding: 12px 0;
	border-bottom: 1px dashed #eee;
}

.small-news-list li:last-child {
	border-bottom: none;
}

.small-news-list li a {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: #000;
	transition: color 0.3s;
}

.small-news-list li a:hover {
	color: #e31c25;
}

/* Remove top separator line ONLY on photos page */
.all-sections .news-blog-area:first-child {
	border-top: none !important;
	padding-top: 0 !important;
	margin-top: 0 !important;
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS FOR GOOGLE PAGESPEED
   ============================================ */

/* Lazy loading image placeholder */
img[loading="lazy"] {
	background: #f0f0f0;
	min-height: 100px;
}

/* Optimize rendering performance */
.news-blog-thumb,
.photo-news-blog,
.news-banner-thumb,
.small-single-news .thumb {
	contain: layout style paint;
	content-visibility: auto;
}

/* Reduce repaints on hover */
.menu li a,
.news-blog-item,
.small-single-news,
.photo-news-blog {
	will-change: transform;
}

.menu li a:hover,
.news-blog-item:hover,
.small-single-news:hover,
.photo-news-blog:hover {
	will-change: auto;
}

/* Optimize images for better LCP */
img {
	image-rendering: -webkit-optimize-contrast;
	image-rendering: crisp-edges;
}

/* Prevent layout shift */
.news-blog-thumb img,
.photo-news-blog img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Fix Feature Photo Height on Desktop */
.news-details-content .news-banner-thumb {
	height: 550px !important;
	/* Increased for desktop */
}

.news-details-content .news-banner-thumb img {
	height: 100% !important;
	width: 100% !important;
	object-fit: contain !important;
	/* Prevents stretching */
	background-color: #f8f9fa;
	/* Light background for narrow images */
}

@media only screen and (max-width: 991px) {
	.news-details-content .news-banner-thumb {
		height: auto !important;
		/* Let it be natural on mobile */
		max-height: 400px;
	}

	.news-details-content .news-banner-thumb img {
		height: auto !important;
		object-fit: cover !important;
	}
}

/* Mobile-specific optimizations */
@media (max-width: 767px) {

	/* Reduce animations on mobile for better performance */
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	/* Optimize touch targets */
	.menu li a,
	.btn,
	button,
	a {
		min-height: 44px;
		min-width: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	/* Improve mobile font rendering */
	body {
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		text-rendering: optimizeLegibility;
	}

	/* Reduce mobile header complexity */
	.header-middle-area {
		will-change: auto;
	}

	/* Optimize mobile images */
	img {
		max-width: 100%;
		height: auto;
	}
}

/* Optimize for tablets */
@media (min-width: 768px) and (max-width: 1199px) {

	.news-blog-item,
	.photo-news-blog {
		contain: layout style;
	}
}

/* Prevent CLS (Cumulative Layout Shift) */
.news-banner-slider,
.photo-news-blog-area,
.live-news-blog-area {
	min-height: 200px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Optimize scrolling performance */
.menu-area,
.sidebar,
.custom-sidebar {
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

/* GPU acceleration for smooth animations */
.swiper-wrapper,
.news-banner-slider,
.top-news-ticker-runner {
	transform: translateZ(0);
	backface-visibility: hidden;
	perspective: 1000px;
}

/* Optimize critical rendering path */
.header-middle,
.header-bottom,
.breaking-news-area {
	contain: layout;
}

/* Improve paint performance */
.news-blog-content,
.photo-news-title,
.small-single-news .content {
	contain: layout style;
}

/* Optimize for print */
@media print {

	.header-bar,
	.search-bar,
	.edition-switcher,
	.footer-section,
	.add-item,
	.sidebar {
		display: none !important;
	}

	body {
		background: white;
		color: black;
	}
}

/* Trending Weekly Section Styles */
.trending-weekly-section {
	background-color: #f8f9fa;
	padding: 0px 0px;
	border-radius: 8px;
	margin-bottom: 30px;
}

.trending-weekly-title {
	font-size: 22px;
	font-weight: bold;
	margin-bottom: 30px;
	color: #000;
}

.weekly-trending-item {
	display: flex;
	align-items: center;
	padding: 15px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	height: 100%;
	border: 1px solid #eee;
}

.weekly-trending-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	border-color: #e31c25;
}

.weekly-trending-number {
	font-size: 32px;
	font-weight: 800;
	color: #e31c25;
	margin-right: 15px;
	min-width: 40px;
	text-align: center;
	line-height: 1;
}

.weekly-trending-content {
	flex: 1;
}

.weekly-trending-content .title {
	font-size: 18px;
	line-height: 1.4;
	margin-bottom: 0;
	font-weight: 600;
	transition: color 0.3s;
	color: #000;
	font-family: "Noto Sans Tamil", sans-serif;
}

.weekly-trending-item:hover .title {
	color: #e31c25;
}

.weekly-trending-item a {
	text-decoration: none;
	color: inherit;
	display: flex;
	align-items: center;
	width: 100%;
}

@media (max-width: 767px) {
	.weekly-trending-number {
		font-size: 28px;
		min-width: 35px;
	}

	.weekly-trending-content .title {
		font-size: 14px;
	}

	.trending-weekly-section {
		padding: 20px 15px;
	}
}

/* News Category Card Style */
.news-blog-item {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	height: 100%;
}

.news-blog-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	border-color: var(--base-color);
}

.news-blog-header {
	background-color: #f8f9fa;
	padding: 12px 15px;
	border-bottom: 2px solid var(--base-color);
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.news-blog-header .sub-title a {
	font-weight: 800;
	color: #111 !important;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 0.5px;
	font-family: "Noto Sans Tamil", sans-serif;
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none !important;
}

.news-blog-header .sub-title a:hover {
	color: var(--base-color) !important;
}

.category-icon {
	width: 24px !important;
	height: 24px !important;
	object-fit: contain;
	border-radius: 4px;
	background: #fff;
	padding: 2px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-blog-header .sub-title a i {
	font-size: 18px;
	color: var(--base-color);
}

.news-blog-header .las.la-angle-double-right {
	font-size: 12px !important;
	margin-left: auto;
	opacity: 0.5;
	transition: all 0.3s ease;
}

.news-blog-item:hover .news-blog-header .las.la-angle-double-right {
	opacity: 1;
	transform: translateX(3px);
	color: var(--base-color);
}

.news-blog-item {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	border: 1px solid #f0f0f0;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.news-blog-item:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
	border-color: var(--base-color);
}

.news-blog-thumb {
	position: relative;
	overflow: hidden;
	padding-top: 60%;
	/* Aspect Ratio 16:9 approx */
}

.news-blog-thumb img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.news-blog-item:hover .news-blog-thumb img {
	transform: scale(1.1);
}

.news-blog-content {
	padding: 20px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.news-blog-item .title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	line-clamp: 3;
	overflow: hidden;
}

.news-blog-item .title a {
	color: #111;
	text-decoration: none;
	transition: color 0.3s ease;
}

.news-blog-item:hover .title a {
	color: var(--base-color);
}

.news-blog-item .text--danger {
	color: var(--base-color) !important;
	font-weight: 800;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 0.5px;
	margin-bottom: 5px;
	display: inline-block;
}

/* 5 Columns Helper for Desktop */
@media (min-width: 1200px) {
	.col-xl-2-4 {
		flex: 0 0 20%;
		max-width: 20%;
		padding-right: 15px;
		padding-left: 15px;
	}
}

/* Modern Video Section Styles */
.video-section-modern {
	margin-top: 40px;
	padding-top: 10px;
}

.video-wrapper-modern {
	background-color: #0f0f0f;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-header-modern .title {
	color: #fff !important;
	font-size: 24px;
	font-weight: 700;
}

.video-header-modern .title a {
	color: #fff !important;
	text-decoration: none;
}

.video-container {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	background: #000;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
	transition: all 0.3s ease;
}

.main-video-card .video-container {
	border: 1px solid #333;
}

.small-video-card .video-container {
	border: 1px solid #222;
}

.small-video-card:hover .video-container {
	transform: scale(1.02);
	border-color: var(--base-color);
}

.live-badge {
	position: absolute;
	top: 15px;
	left: 15px;
	background: var(--base-color);
	color: #fff;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 800;
	z-index: 10;
	box-shadow: 0 0 15px rgba(var(--base-rgb), 0.6);
	display: flex;
	align-items: center;
	animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
	0% {
		transform: scale(1);
		opacity: 1;
	}

	50% {
		transform: scale(1.05);
		opacity: 0.8;
	}

	100% {
		transform: scale(1);
		opacity: 1;
	}
}

.video-container iframe {
	display: block;
}

@media (max-width: 991px) {
	.video-wrapper-modern {
		padding: 15px;
	}

	.video-header-modern .title {
		font-size: 20px;
	}
}

/* Modern Photos Section Styles */
.photo-section-modern {
	margin-top: 40px;
}

.photo-card-modern {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	background: #000;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	height: 100%;
}

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

.photo-card-modern:hover img {
	transform: scale(1.1);
}

.photo-card-modern .photo-content {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 20px;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
	z-index: 2;
}

.photo-card-modern .photo-title {
	color: #fff !important;
	font-size: 18px;
	font-weight: 600;
	margin: 0;
	line-height: 1.3;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
	font-family: "Noto Sans Tamil", sans-serif;
}

.main-photo-card .photo-title {
	font-size: 24px;
}

.photo-card-modern .photo-count-badge {
	position: absolute;
	top: 15px;
	right: 15px;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
	color: #fff;
	padding: 5px 12px;
	border-radius: 50px;
	font-size: 13px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 6px;
	z-index: 3;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.photo-card-modern:hover .photo-count-badge {
	background: var(--base-color);
	border-color: var(--base-color);
}

/* Horizontal Card Support */
.news-blog-item[style*="flex-direction: row"] {
	border: 1px solid #f3f3f3;
}

.news-blog-item[style*="flex-direction: row"] .news-blog-thumb {
	border-radius: 8px 0 0 8px;
}

/* Category Page Header Styles */
.category-page-header {
	border-left-color: var(--base-color) !important;
	background: #fff;
}

.breadcrumb-item+.breadcrumb-item::before {
	content: "\f105";
	font-family: "Line Awesome Free";
	font-weight: 900;
	font-size: 10px;
	color: #ccc;
}

.breadcrumb-item a {
	font-size: 13px;
	text-decoration: none;
	transition: color 0.3s;
}

.breadcrumb-item a:hover {
	color: var(--base-color) !important;
}

.breadcrumb-item.active {
	font-size: 13px;
	font-weight: 600;
	color: var(--base-color) !important;
}

/* Modern List Style for Main Content */
.news-list-item-modern {
	display: flex;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 30px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	border: 1px solid #f0f0f0;
	width: 100%;
}

.news-list-item-modern:hover {
	transform: translateX(8px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	border-color: var(--base-color);
}

.news-list-item-modern .thumb {
	width: 300px;
	flex-shrink: 0;
	position: relative;
	overflow: hidden;
}

.news-list-item-modern .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.news-list-item-modern:hover .thumb img {
	transform: scale(1.1);
}

.news-list-item-modern .content {
	padding: 25px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.news-list-item-modern .content .title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 12px;
}

.news-list-item-modern .content .title a {
	color: #111;
	text-decoration: none;
}

.news-list-item-modern .content .title a:hover {
	color: var(--base-color);
}

.news-list-item-modern .category-label {
	color: var(--base-color);
	font-weight: 800;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
	display: block;
}

@media (max-width: 767px) {
	.news-list-item-modern {
		flex-direction: column;
	}

	.news-list-item-modern .thumb {
		width: 100%;
		height: 200px;
	}

	.news-list-item-modern .content .title {
		font-size: 18px;
	}
}

@media (max-width: 991px) {
	.main-photo-card .photo-title {
		font-size: 20px;
	}

	.photo-card-modern .photo-title {
		font-size: 16px;
	}
}

/* Photo Card Height Alignment */
@media (min-width: 1200px) {
	.photo-section-modern .photo-card-modern {
		height: 250px;
		/* Precise height for small cards */
	}

	.photo-section-modern .main-photo-card {
		height: 525px !important;
		/* Matches (250 * 2) + gap */
	}
}

@media (max-width: 1199px) and (min-width: 992px) {
	.photo-section-modern .photo-card-modern {
		height: 200px;
	}

	.photo-section-modern .main-photo-card {
		height: 425px !important;
	}
}

@media (max-width: 991px) {
	.photo-card-modern {
		height: 300px;
		margin-bottom: 20px;
	}

	.main-photo-card {
		height: 350px !important;
	}
}

/* Sidebar News Cards */
.top-news-list-modern {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sidebar-news-card {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #f0f0f0;
	transition: all 0.3s ease;
}

.sidebar-news-card:last-child {
	border-bottom: none;
}

.sidebar-news-card:hover {
	background: #fafafa;
}

.sidebar-news-thumb {
	flex: 0 0 150px;
	width: 150px;
	height: 100px;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sidebar-news-thumb a {
	display: block;
	width: 100%;
	height: 100%;
}

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

.sidebar-news-card:hover .sidebar-news-thumb img {
	transform: scale(1.1);
}

.sidebar-news-content {
	flex: 1;
}

.sidebar-news-content .cat-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	color: var(--base-color);
	text-transform: uppercase;
	margin-bottom: 4px;
	font-family: "Noto Sans Tamil", sans-serif;
}

.sidebar-news-content .title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0;
	font-family: "Noto Sans Tamil", sans-serif;
}

/* Fix for Tamil text overlapping borders in widgets and tabs */
.widget-title {
	padding-bottom: 10px;
	line-height: 1.6;
	display: flex;
	align-items: center;
}

.widget-title::after {
	position: static !important;
	flex-grow: 1;
	transform: none !important;
	margin-left: 15px;
	height: 2px;
	content: '';
	background-color: var(--base-color);
}

.nav-tabs {
	margin-bottom: 0px !important;
}

.nav-tabs .nav-link {
	padding: 10px 20px !important;
	line-height: 1.6 !important;
}

.widget {
	padding-bottom: 20px !important;
	border-bottom: 1px solid #f0f0f0 !important;
}

.small-news-list-text .sidebar-news-content .title {
	font-size: 14px !important;
}

.sidebar-news-content .title .text--danger {
	color: var(--base-color) !important;
}

.sidebar-news-content .title a {
	color: #000;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	line-clamp: 3;
	overflow: hidden;
}

.sidebar-news-content .title a:hover {
	color: var(--base-color);
}

/* Sidebar Overlay News Cards (Reference Match) */
.sidebar-overlay-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.overlay-news-item {
	position: relative;
	margin-bottom: 20px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	height: 300px;
	background: #000;
}

.overlay-news-item .thumb-link {
	display: block;
	width: 100%;
	height: 100%;
}

.overlay-news-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}

.overlay-news-item:hover img {
	transform: scale(1.1);
}

.overlay-news-content {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 15px;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.85) 40%, rgba(0, 0, 0, 0.95));
	z-index: 2;
}

.overlay-news-content .title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 8px;
	font-family: "Noto Sans Tamil", sans-serif;
}

.overlay-news-content .title a {
	color: #fff !important;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	line-clamp: 4;
	overflow: hidden;
}

.overlay-news-content .date {
	display: block;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.8);
	font-weight: 500;
}

/* Red variation from image */
.overlay-news-item.variant-red .overlay-news-content {
	background: linear-gradient(transparent, rgba(160, 40, 40, 0.85) 40%, rgba(160, 40, 40, 0.95));
}

/* User Friendly Post Content Style */
.news-article-content {
	font-size: 18px !important;
	line-height: 1.8 !important;
	color: #222 !important;
	font-family: "Noto Sans Tamil", sans-serif !important;
}

.news-article-content p {
	font-size: 18px !important;
	line-height: 1.8 !important;
	color: #222 !important;
	margin-bottom: 20px !important;
	font-family: "Noto Sans Tamil", sans-serif !important;
}

.news-article-content h1,
.news-article-content h2,
.news-article-content h3,
.news-article-content h4,
.news-article-content h5,
.news-article-content h6 {
	margin-top: 30px;
	margin-bottom: 15px;
	font-weight: 700;
	line-height: 1.4;
	color: #111;
	font-family: "Noto Sans Tamil", sans-serif !important;
}

.news-article-content a {
	color: var(--base-color);
	text-decoration: underline;
}

.news-article-content a:hover {
	text-decoration: none;
}

.news-article-content img {
	max-width: 100%;
	height: auto;
	margin: 20px 0;
	border-radius: 4px;
}

/* Modern Category Feature News Card */
.news-banner-item-modern {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	height: 450px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.news-banner-item-modern .news-banner-thumb {
	height: 100% !important;
	width: 100%;
}

.news-banner-item-modern .news-banner-thumb img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.news-banner-content-modern {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 30px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.7) 40%, transparent);
	z-index: 2;
}

.news-banner-content-modern .title {
	margin-bottom: 12px;
}

.news-banner-content-modern .title a {
	color: #fff !important;
	font-size: 28px !important;
	font-weight: 800;
	line-height: 1.2;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.news-banner-content-modern .text-white-50 {
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 15px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-clamp: 2;
	overflow: hidden;
}

@media (max-width: 991px) {
	.news-banner-item-modern {
		height: 350px;
	}

	.news-banner-content-modern .title a {
		font-size: 20px !important;
	}
}

@media (max-width: 575px) {
	.news-banner-item-modern {
		height: 300px;
	}

	.news-banner-content-modern {
		padding: 20px;
	}
}

/* Modern Slider Style (Overlay) */
.news-banner-slider .swiper-slide {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
}

.news-banner-thumb {
	height: 400px !important;
	position: relative;
}

.news-banner-thumb img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	display: block;
}

.news-banner-content {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 20px 20px 15px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
	z-index: 2;
	margin: 0 !important;
}

.news-banner-content .title {
	margin: 0;
	line-height: 1.3;
}

.news-banner-content .title a {
	color: #fff !important;
	font-size: 20px !important;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
	display: block;
	text-decoration: none;
	font-weight: 700;
	display: -webkit-box !important;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-clamp: 2;
	overflow: hidden;
}

.news-banner-content .text--danger {
	color: #ff5555 !important;
	margin-right: 5px;
	display: inline-block;
}

/* Modern Widget Styles (Live & Trending) */
.live-thumb {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	border: 1px solid #eee;
	transition: transform 0.3s ease;
}

.live-thumb:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.trending-item {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	height: 250px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.trending-thumb {
	height: 100%;
}

.trending-thumb img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	display: block;
}

.trending-content {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 20px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
	z-index: 2;
	padding-top: 40px;
}

.trending-content .title a {
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 700;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	line-clamp: 3;
	overflow: hidden;
}

.trending-content .text--danger {
	color: #ff5555 !important;
	margin-right: 5px;
}