/**
 * Main stylesheet for XRepNetwork Themes
 *
 * @package XRepNetwork
 */

/* Color Scheme Variables */
:root {
	--xrep-primary-color: #dc2626;
	--xrep-secondary-color: #991b1b;
	--xrep-text-color: #1f2937;
	--xrep-bg-color: #ffffff;
	--xrep-border-color: #e5e7eb;
	--control-size: 45px; /* Width & Height for both arrow and numbers */
    --control-gap: 8px;   /* Space between items */
    --control-bg: #f4f4f4;
    --control-border: #dcdcdc;
}

/* Green Color Scheme */
.color-scheme-green {
	--xrep-primary-color: #16a34a;
	--xrep-secondary-color: #15803d;
}

/* Custom Color Scheme */
.color-scheme-custom {
	--xrep-primary-color: var(--custom-primary-color);
	--xrep-secondary-color: var(--custom-secondary-color);
}

/* Container */
.xrepnetwork-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header Styles */
.site-header {
	background: var(--xrep-bg-color);
	border-bottom: 1px solid var(--xrep-border-color);
	position: relative;
}

/* Mobile Header (SKOR Style) */
.mobile-header {
	display: none;
	background: #000;
	border-top: 1px solid rgba(255,255,255,0.1);
	/* border-bottom: 1px solid rgba(255,255,255,0.1); */
	border-bottom: linear-gradient(to right, var(--xrep-primary-color), var(--xrep-secondary-color));
	padding: 0;
}

.mobile-header-inner {
	border-bottom: linear-gradient(to right, var(--xrep-primary-color), var(--xrep-secondary-color));
background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 15px;
	gap: 15px;
}

.mobile-menu-toggle {
	background: linear-gradient(to right, var(--xrep-primary-color), var(--xrep-secondary-color));

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	/* background: #000; */
	border: 2px solid #fff;
	border-radius: 50%;
	cursor: pointer;
	padding: 0;
	gap: 4px;
	transition: all 0.3s;
	flex-shrink: 0;
}

.mobile-menu-toggle:hover {
	background: rgba(255,255,255,0.1);
}

.mobile-menu-toggle span {
	width: 18px;
	height: 2px;
	background: #fff;
	display: block;
	transition: all 0.3s;
}

.mobile-logo {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
}

.mobile-logo .site-title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.mobile-logo .site-title a {
	color: #fff;
	text-decoration: none;
	border: 2px solid #fff;
	padding: 6px 12px;
	display: inline-block;
	transition: all 0.3s;
	background: transparent;
	font-weight: 700;
	letter-spacing: 1px;
}

.mobile-logo .site-title a:hover {
	background: rgba(255,255,255,0.1);
}

.mobile-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.mobile-search-toggle,
.mobile-dark-mode-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: transparent;
	border: none;
	color: #6b7280;
	font-size: 18px;
	cursor: pointer;
	padding: 0;
	transition: all 0.3s;
	flex-shrink: 0;
}

.mobile-search-toggle:hover,
.mobile-dark-mode-toggle:hover {
	color: var(--xrep-primary-color);
	background: rgba(0,0,0,0.05);
	border-radius: 4px;
}

.mobile-search-form {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #000;
	border-bottom: 1px solid rgba(255,255,255,0.1);
	padding: 15px;
	z-index: 100;
}

.mobile-header.active-search .mobile-search-form {
	display: block;
}

.mobile-search-form .search-field {
	width: 100%;
	padding: 12px 15px;
	border: 2px solid #fff;
	border-radius: 4px;
	background: #000;
	color: #fff;
	font-size: 14px;
}

.mobile-search-form .search-field::placeholder {
	color: rgba(255,255,255,0.6);
}

.mobile-search-form .search-submit {
	display: none;
}


.header-top {
	padding: 20px 0;
	border-bottom: 1px solid var(--xrep-border-color);
}

.header-top-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	flex-wrap: wrap;
}

.site-branding {
	flex: 0 0 auto;
}

.site-title {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
}

.site-title a {
	color: var(--xrep-primary-color);
	text-decoration: none;
}

.site-description {
	margin: 5px 0 0;
	font-size: 14px;
	color: #6b7280;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 15px;
	flex-shrink: 0;
}

.header-search {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.search-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	color: #6b7280;
	font-size: 18px;
	cursor: pointer;
	padding: 8px;
	width: 40px;
	height: 40px;
	transition: color 0.3s;
	z-index: 10;
	border-radius: 4px;
}

.search-toggle:hover {
	color: var(--xrep-primary-color);
	background: rgba(0,0,0,0.05);
}

.search-form {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	width: 300px;
	background: #fff;
	border: 1px solid var(--xrep-border-color);
	border-radius: 4px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	padding: 5px;
	margin-top: 10px;
	z-index: 100;
	flex-direction: row;
}

.header-search.active .search-form {
	display: flex;
}

.search-field {
	width: 100%;
	padding: 10px 40px 10px 15px;
	border: 1px solid var(--xrep-border-color);
	border-radius: 4px;
	font-size: 14px;
}

.search-submit {
	position: absolute;
	right: 5px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: var(--xrep-primary-color);
	cursor: pointer;
	padding: 5px 10px;
}

.dark-mode-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	color: #6b7280;
	font-size: 18px;
	cursor: pointer;
	padding: 8px;
	width: 40px;
	height: 40px;
	transition: color 0.3s;
	border-radius: 4px;
}

.dark-mode-toggle:hover {
	color: var(--xrep-primary-color);
	background: rgba(0,0,0,0.05);
}

/* Navigation */
.header-menu {
	background: linear-gradient(to right, var(--xrep-primary-color), var(--xrep-secondary-color));
	border-top: 1px solid rgba(255,255,255,0.1);
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

.main-navigation {
	position: relative;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	padding: 15px 20px;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 0.5px;
	transition: all 0.3s;
	position: relative;
}

.main-navigation a:hover {
	color: #fff;
	background: rgba(255,255,255,0.1);
}

.main-navigation li.current-menu-item > a,
.main-navigation li.current_page_item > a {
	background: rgba(255,255,255,0.15);
	color: #fff;
}

/* Below Menu Widget Area */
.below-menu-widget-area {
	width: 100%;
	background: var(--xrep-bg-color);
	padding: 20px 0;
	border-bottom: 1px solid var(--xrep-border-color);
}

.below-menu-widget-area .widget {
	margin: 0;
}

.below-menu-widget-area .widget img {
	max-width: 100%;
	height: auto;
	display: block;
}

.below-menu-widget-area .widget-title {
	margin: 0 0 15px;
	font-size: 18px;
	font-weight: 600;
	color: var(--xrep-text-color);
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 10px;
	flex-direction: column;
	gap: 5px;
	color: #fff;
}

.menu-toggle span {
	width: 25px;
	height: 3px;
	background: #fff;
	transition: all 0.3s;
}

.menu-toggle .menu-text {
	color: #fff;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 12px;
	margin-top: 5px;
}

/* Breaking News Ticker */
.breaking-news-ticker {
	background: #000;
	color: #fff;
	padding: 10px 0;
	display: flex;
	align-items: center;
	gap: 20px;
}

.ticker-label {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 20px;
	font-weight: 700;
	color: var(--xrep-primary-color);
	white-space: nowrap;
}

.ticker-content {
	flex: 1;
	overflow: hidden;
}

.ticker-items {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 30px;
}

.ticker-items li {
	white-space: nowrap;
}

.ticker-items a {
	color: #fff;
	text-decoration: none;
}

.ticker-controls {
	padding: 0 20px;
}

.ticker-pause {
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
	padding: 5px;
}

/* Featured Carousel Section - Homepage Hero ( republika network Style) */
.homepage-hero {
	background: #fff;
	/* padding: 30px 0 40px; */
	margin-bottom: 0;
	/* border-bottom: 1px solid var(--xrep-border-color); */
}

.featured-carousel-section {
	margin-bottom: 0;
}

.featured-carousel-wrapper {
	margin-bottom: 0;
}

.featured-main-slide {
	position: relative;
	margin-bottom: 20px;
}

.featured-main-image {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: 8px;
	height: 500px;
	background: #000;
}

.featured-main-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.featured-main-image::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 60%;
	background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
	pointer-events: none;
	z-index: 1;
}

.featured-main-image .category-tag {
	position: absolute;
	top: 20px;
	left: 20px;
	background: var(--xrep-primary-color);
	color: #fff;
	padding: 10px 20px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	z-index: 3;
	letter-spacing: 0.5px;
}

.featured-main-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 40px 30px 30px;
	color: #fff;
	z-index: 2;
}

.featured-main-title {
	font-size: 32px;
	margin: 0 0 15px;
	line-height: 1.4;
	font-weight: 700;
}

.featured-main-title a {
	color: #fff;
	text-decoration: none;
	display: block;
}

.featured-main-title a:hover {
	color: #fff;
	opacity: 0.95;
}

.featured-main-meta {
	font-size: 14px;
	color: rgba(255,255,255,0.95);
	font-weight: 500;
}

.carousel-indicator {
	position: absolute;
	top: 20px;
	right: 20px;
	background: rgba(0,0,0,0.7);
	color: #fff;
	padding: 10px 18px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	z-index: 3;
	backdrop-filter: blur(5px);
}

/* Featured Static Grid Layout ( republika network Style) */
.featured-static-wrapper {
	margin-bottom: 0;
}

.featured-static-grid {
	display: grid;
	grid-template-columns: 1.8fr 1fr;
	gap: 30px;
	align-items: start;
}

.featured-main-static {
	display: flex;
	flex-direction: column;
}

.featured-main-static-image {
	position: relative;
	margin: 0 0 20px;
	overflow: hidden;
	border-radius: 8px;
	height: 480px;
	background: #000;
}

.featured-main-static-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s;
}

.featured-main-static-image:hover img {
	transform: scale(1.05);
}

.featured-main-static-image .category-tag {
	position: absolute;
	top: 20px;
	left: 20px;
	background: var(--xrep-primary-color);
	color: #fff;
	padding: 8px 16px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	z-index: 2;
	letter-spacing: 0.5px;
}

.featured-main-static-content {
	flex: 1;
}

.featured-main-static-title {
	font-size: 30px;
	margin: 0 0 12px;
	line-height: 1.4;
	font-weight: 700;
	color: var(--xrep-text-color);
}

.featured-main-static-title a {
	color: var(--xrep-text-color);
	text-decoration: none;
	transition: color 0.3s;
	display: block;
}

.featured-main-static-title a:hover {
	color: var(--xrep-primary-color);
}

.featured-main-static-meta {
	font-size: 14px;
	color: #6b7280;
	display: flex;
	align-items: center;
	gap: 6px;
}

.meta-separator {
	color: #9ca3af;
	margin: 0 6px;
	font-size: 12px;
}

.featured-side-posts {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.featured-side-item {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s, box-shadow 0.3s;
	border: 1px solid var(--xrep-border-color);
}

.featured-side-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.side-item-thumb {
	position: relative;
	margin: 0;
	height: 200px;
	overflow: hidden;
	border-radius: 8px 8px 0 0;
}

.side-item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s;
}

.featured-side-item:hover .side-item-thumb img {
	transform: scale(1.05);
}

.side-item-thumb .category-tag {
	position: absolute;
	top: 15px;
	left: 15px;
	background: var(--xrep-primary-color);
	color: #fff;
	padding: 6px 14px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	z-index: 2;
	letter-spacing: 0.5px;
}

.side-item-content {
	padding: 16px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.side-item-title {
	font-size: 16px;
	margin: 0 0 10px;
	line-height: 1.5;
	font-weight: 600;
	flex: 1;
}

.side-item-title a {
	color: var(--xrep-text-color);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.3s;
}

.side-item-title a:hover {
	color: var(--xrep-primary-color);
}

.side-item-meta {
	font-size: 13px;
	color: #6b7280;
	display: flex;
	align-items: center;
	gap: 6px;
}

.featured-thumbnails-wrapper {
	position: relative;
	margin-top: 20px;
}

.featured-thumbnails-slider {
	display: flex;
	gap: 15px;
	overflow: hidden;
}

.featured-thumb-item {
	position: relative;
	background: #fff;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s;
	border: 2px solid transparent;
	overflow: hidden;
	flex: 0 0 calc(25% - 12px);
	min-width: 0;
}

.featured-thumb-item.active {
	border-color: var(--xrep-primary-color);
	box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.featured-thumb-item:hover {
	border-color: var(--xrep-primary-color);
	transform: translateY(-3px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.thumb-image {
	margin: 0;
	width: 100%;
	height: 140px;
	overflow: hidden;
	border-radius: 8px 8px 0 0;
}

.thumb-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s;
}

.featured-thumb-item:hover .thumb-image img {
	transform: scale(1.05);
}

.thumb-content {
	padding: 12px 15px;
}

.thumb-category {
	display: block;
	font-size: 11px;
	color: var(--xrep-primary-color);
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 8px;
	letter-spacing: 0.5px;
}

.thumb-title {
	font-size: 14px;
	margin: 0;
	line-height: 1.5;
	font-weight: 600;
}

.thumb-title a {
	color: var(--xrep-text-color);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.3s;
}

.thumb-title a:hover {
	color: var(--xrep-primary-color);
}

.category-tag {
	background: var(--xrep-primary-color);
	color: #fff;
	padding: 5px 15px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	display: inline-block;
}

/* Content Layout */
.content-wrapper {
	display: grid;
	grid-template-columns: 1fr 350px;
	gap: 40px;
	margin: 40px 0 0;
}

/* Latest News Section ( republika network Style) */
.latest-news-section {
	margin: 50px 0;
}

.section-header {
	margin-bottom: 25px;
	position: relative;
	padding-bottom: 12px;
}

.section-title {
	margin: 0 0 12px;
	font-size: 0;
	line-height: 0;
}

.section-tag {
	display: inline-block;
	background: var(--xrep-primary-color);
	color: #fff;
	padding: 10px 24px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	position: relative;
	margin-bottom: 0;
	font-family: "Roboto", sans-serif;
}

.section-header::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(to right, var(--xrep-primary-color) 0%, var(--xrep-primary-color) 100px, #e5e7eb 100px, #e5e7eb 100%);
}

.section-title {
	display: inline-block;
}

.section-tag {
	display: inline-block;
}

.latest-news-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.latest-post-item {
	display: flex;
	gap: 15px;
	padding: 0;
	margin-bottom: 20px;
	border-bottom: none;
	transition: none;
}

.latest-post-item:last-child {
	margin-bottom: 0;
}

.latest-post-thumb {
	margin: 0;
	flex-shrink: 0;
	width: 250px;
	height: auto;
	overflow: hidden;
	border-radius: 4px;
}

.latest-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s;
}

.latest-post-item:hover .latest-post-thumb img {
	transform: scale(1.03);
}

.latest-post-content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.latest-category-tag {
	display: inline-block;
	color: var(--xrep-primary-color);
	color: #fff;
	padding: 4px 10px;
	border-radius: 3px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 8px;
	width: fit-content;
}

.latest-post-title {
	font-size: 1.3rem;
	margin: 0 0 8px;
	line-height: 1.4;
	font-weight: 600;
}

.latest-post-title a {
	color: var(--xrep-text-color);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.3s;
}

.latest-post-title a:hover {
	color: var(--xrep-primary-color);
}

.latest-post-meta {
	font-size: 12px;
	color: #6b7280;
	display: flex;
	align-items: center;
	gap: 6px;
}

.load-more-wrapper {
	text-align: center;
	margin-top: 30px;
}

.load-more-btn {
	background: var(--xrep-primary-color);
	color: #fff;
	border: none;
	padding: 12px 30px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
}

.load-more-btn:hover {
	background: var(--xrep-secondary-color);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.primary-content {
	min-width: 0;
}

.secondary-sidebar {
	min-width: 0;
}

/* Post Styles */
.post {
	margin-bottom: 30px;
	padding-bottom: 20px;
	/* border-bottom: 1px solid var(--xrep-border-color); */
}

.post:last-child {
	border-bottom: none;
}

.post-thumb-wrap {
	position: relative;
	margin: 0 0 20px;
	overflow: hidden;
	border-radius: 8px;
}

.post-thumb-wrap img {
	width: 100%;
	height: auto;
	display: block;
}

.post-categories {
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 15px;
	left: 15px;
}

.post-categories li {
	display: inline-block;
	margin-right: 5px;
}

.post-categories a {
	background: var(--xrep-primary-color);
	color: #fff;
	padding: 5px 15px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
}

.post-title {
	font-size: 24px;
	margin: 0 0 15px;
	line-height: 1.3;
}

.post-title a {
	color: var(--xrep-text-color);
	text-decoration: none;
}

.post-title a:hover {
	color: var(--xrep-primary-color);
}

.post-meta {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 15px;
	font-size: 14px;
	color: #6b7280;
}

.post-excerpt {
	color: #6b7280;
	line-height: 1.6;
}

/* Popular Posts Widget ( republika network Style) */
.popular-posts-widget {
	margin-bottom: 40px;
	background: #fff;
	padding: 20px;
	border-radius: 8px;
	/* border: 1px solid var(--xrep-border-color); */
}

.popular-posts-widget .widget-title {
	background: var(--xrep-primary-color);
	color: #fff;
	padding: 10px 20px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	margin: -20px -20px 20px -20px;
}

.popular-posts-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.popular-post-item {
	display: flex;
	gap: 15px;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--xrep-border-color);
}

.popular-post-item:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.post-number {
	font-size: 18px;
	font-weight: 700;
	color: var(--xrep-primary-color);
	flex-shrink: 0;
}

.post-content {
	flex: 1;
}

.post-content .post-title {
	font-size: 16px;
	margin: 0 0 8px;
	font-weight: 500;
}

.post-content .post-meta {
	font-size: 12px;
	margin: 0;
}

/* Highlights Widget ( republika network Style) */
.highlights-widget {
	margin-bottom: 40px;
	/* background: #fff; */
	padding: 20px 0 ;
	border-radius: 8px;
	/* border: 1px solid var(--xrep-border-color); */
}

.highlights-widget .widget-title {
	background: var(--xrep-primary-color);
	color: #fff;
	padding: 10px 20px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	margin: -20px -20px 20px -20px;
}

.highlights-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.highlight-item {
	display: flex;
	gap: 15px;
	margin-bottom: 20px;
}

.highlight-item:last-child {
	margin-bottom: 0;
}

.highlight-thumb {
	margin: 0;
	flex-shrink: 0;
	width: 100px;
	height: 75px;
	overflow: hidden;
	border-radius: 4px;
}

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

.highlight-content {
	flex: 1;
	min-width: 0;
}

.highlight-title {
	font-size: 14px;
	margin: 0 0 8px;
	line-height: 1.4;
	font-weight: 600;
}

.highlight-title a {
	color: var(--xrep-text-color);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.highlight-title a:hover {
	color: var(--xrep-primary-color);
}

.highlight-date {
	font-size: 12px;
	color: #6b7280;
}

/* Category Carousel ( republika network Style) */
.category-carousel-section {
	margin: 50px 0;
}

.category-carousel-wrapper {
	margin-bottom: 0;
	position: relative;
}

.category-carousel-header {
	margin-bottom: 25px;
	position: relative;
	padding-bottom: 12px;
}

.category-carousel-title {
	margin: 0 0 12px;
	font-size: 0;
	line-height: 0;
}

.category-section-tag {
	display: inline-block;
	color: var(--xrep-primary-color);
	/* color: #fff; */
	/* padding: 10px 24px; */
	border-radius: 6px;
	font-size: 22px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	position: relative;
	margin-bottom: 0;
	font-family: "Roboto", sans-serif;
}

.category-carousel-header::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(to right, var(--xrep-primary-color) 0%, var(--xrep-primary-color) 100px, #e5e7eb 100px, #e5e7eb 100%);
}

.category-carousel-title {
	display: inline-block;
}

.category-section-tag {
	display: inline-block;
}

.category-carousel-slider {
	position: relative;
	margin: 0;
	padding: 0;
}

.category-carousel-slider .slick-list {
	margin: 0 -10px;
}

.category-carousel-slider .slick-slide {
	padding: 0 10px;
}

.category-carousel-item {
	background: var(--xrep-bg-color);
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s;
}

.category-carousel-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.carousel-item-thumb {
	margin: 0;
	position: relative;
	height: 200px;
	overflow: hidden;
	border-radius: 8px;
}

.carousel-item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s;
}

.category-carousel-item:hover .carousel-item-thumb img {
	transform: scale(1.05);
}

.carousel-item-content {
	padding: 15px 0;
}

.carousel-item-title {
	font-size: 16px;
	margin: 0 0 10px;
	line-height: 1.5;
	font-weight: 600;
}

.carousel-item-title a {
	color: var(--xrep-text-color);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.3s;
}

.carousel-item-title a:hover {
	color: var(--xrep-primary-color);
}

.carousel-item-meta {
	font-size: 12px;
	color: #6b7280;
	display: flex;
	align-items: center;
	gap: 6px;
}

.carousel-item-meta::before {
	content: '\f017';
	font-family: 'Font Awesome 6 Free';
	font-weight: 400;
	font-size: 11px;
}

.carousel-nav-arrow {
	position: absolute;
	right: -60px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
}

.carousel-next {
	background: #f3f4f6;
	color: var(--xrep-text-color);
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;
	font-size: 18px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.carousel-next:hover {
	background: var(--xrep-primary-color);
	color: #fff;
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Slick Carousel Customization */
.category-carousel-slider .slick-prev,
.category-carousel-slider .slick-next {
	width: 50px;
	height: 50px;
	z-index: 10;
}

.category-carousel-slider .slick-prev {
	left: -60px;
}

.category-carousel-slider .slick-next {
	right: -60px;
}

.category-carousel-slider .slick-prev:before,
.category-carousel-slider .slick-next:before {
	font-size: 20px;
	color: var(--xrep-text-color);
	opacity: 1;
}

.category-carousel-slider .slick-prev:hover:before,
.category-carousel-slider .slick-next:hover:before {
	color: var(--xrep-primary-color);
}

.category-carousel-slider .slick-dots {
	bottom: -40px;
	text-align: center;
}

.category-carousel-slider .slick-dots li button:before {
	font-size: 10px;
	color: #d1d5db;
	opacity: 1;
}

.category-carousel-slider .slick-dots li.slick-active button:before {
	color: var(--xrep-primary-color);
	opacity: 1;
}

/* Category Static Grid Layout */
.category-layout-static .category-carousel-slider {
	display: none;
}

.category-static-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
	margin-top: 0;
}

.category-static-item {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s, box-shadow 0.3s;
	/* border: 1px solid var(--xrep-border-color); */
}

.category-static-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.static-item-thumb {
	position: relative;
	margin: 0;
	height: 200px;
	overflow: hidden;
}

.static-item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s;
}

.category-static-item:hover .static-item-thumb img {
	transform: scale(1.05);
}

.static-item-thumb .category-tag {
	position: absolute;
	top: 15px;
	left: 15px;
	background: var(--xrep-primary-color);
	color: #fff;
	padding: 6px 14px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	z-index: 2;
}

.static-item-content {
	padding: 18px 0 ;
}

.static-item-title {
	font-size: 16px;
	margin: 0 0 12px;
	line-height: 1.5;
	font-weight: 500;
}

.static-item-title a {
	color: var(--xrep-text-color);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.3s;
}

.static-item-title a:hover {
	color: var(--xrep-primary-color);
}

.static-item-meta {
	font-size: 13px;
	color: #6b7280;
	display: flex;
	align-items: center;
	gap: 6px;
}

/* Above Footer Widget Area */
.above-footer-widget-area {
	width: 100%;
	background: var(--xrep-bg-color);
	padding: 30px 0;
	margin-top: 60px;
	border-top: 1px solid var(--xrep-border-color);
	border-bottom: 1px solid var(--xrep-border-color);
}

.above-footer-widget-area .xrepnetwork-container {
	padding: 0 20px;
}

.above-footer-widget-area .widget {
	margin: 0;
	text-align: center;
}

.above-footer-widget-area .widget img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.above-footer-widget-area .widget-title {
	margin: 0 0 15px;
	font-size: 18px;
	font-weight: 600;
	color: var(--xrep-text-color);
}

/* Full width image support for above footer */
.above-footer-widget-area .widget_media_image img,
.above-footer-widget-area .widget_custom_html img {
	width: 100%;
	height: auto;
}

/* Footer */
.site-footer {
	background: #1f2937;
	color: #fff;
	margin-top: 0;
}

.footer-widgets {
	padding: 60px 0 40px;
}

.footer-widgets-inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
}

.footer-column .widget-title {
	color: #fff;
	font-size: 18px;
	margin: 0 0 20px;
}

.footer-column ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-column ul li {
	margin-bottom: 10px;
}

.footer-column a {
	color: #d1d5db;
	text-decoration: none;
}

.footer-column a:hover {
	color: var(--xrep-primary-color);
}

.footer-social {
	display: flex;
	gap: 15px;
	margin-top: 20px;
}

.footer-social a {
	color: #fff;
	font-size: 20px;
}

.footer-bottom {
	border-top: 1px solid #374151;
	padding: 20px 0;
}

.footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
}

.footer-copyright {
	color: #9ca3af;
	font-size: 14px;
}

.footer-links {
	display: flex;
	gap: 20px;
}

.footer-links a {
	color: #9ca3af;
	text-decoration: none;
	font-size: 14px;
}

.footer-links a:hover {
	color: #fff;
}

/* Scroll to Top */
.scroll-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background: var(--xrep-primary-color);
	color: #fff;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 999;
	transition: all 0.3s;
}

.scroll-to-top.show {
	display: flex;
}

.scroll-to-top:hover {
	background: var(--xrep-secondary-color);
	transform: translateY(-5px);
}

/* Dark Mode */
body.dark-mode {
	--xrep-bg-color: #1f2937;
	--xrep-text-color: #f3f4f6;
	--xrep-border-color: #374151;
}

body.dark-mode .site-header {
	background: #111827;
	border-color: #374151;
}

body.dark-mode .header-menu {
	background: linear-gradient(to right, var(--xrep-primary-color), var(--xrep-secondary-color));
	border-top: 1px solid rgba(255,255,255,0.1);
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

body.dark-mode .post {
	border-color: #374151;
}

body.dark-mode .post-title a,
body.dark-mode .featured-title a {
	color: #f3f4f6;
}

body.dark-mode .post-meta,
body.dark-mode .post-excerpt {
	color: #d1d5db;
}

/* Widgets */
.widget {
	margin-bottom: 40px;
}

.widget-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 20px;
	color: var(--xrep-text-color);
}

/* Single Post Page ( republika network Style) */
.single-post-article {
	margin-bottom: 40px;																																																																																																																																																																																																																																																																																																																																																																																																																																	
}

.single-post-featured-image {
	position: relative;
	margin: 0 0 30px;
	overflow: hidden;
	border-radius: 8px;
	/* height: 450px; */
}

.single-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.single-post-featured-image .category-tag {
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 2;
}

.single-post-featured-image .featured-image-caption {
	position: relative;
	
	/* background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%); */
	color: #000;
	padding: 12px 0 ;
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
	z-index: 1;
}

.single-post-featured-image .featured-image-caption p {
	margin: 0 0 8px 0;
}

.single-post-featured-image .featured-image-caption p:last-child {
	margin-bottom: 0;
}

.entry-header {
	/* margin-bottom: 30px; */
}

.entry-title {
	font-size: 32px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 5px;
	color: var(--xrep-text-color);
}

.entry-meta {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--xrep-border-color);
	font-size: 14px;
	color: #6b7280;
}

.entry-meta-info {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.entry-meta-info .meta-separator {
	color: #9ca3af;
	margin: 0 5px;
	font-weight: 300;
}

.entry-meta .byline,
.entry-meta .post-date,
.entry-meta .post-comment {
	color: #6b7280;
}

.entry-meta .byline a,
.entry-meta .post-date a {
	color: #6b7280;
	text-decoration: none;
}

.entry-meta .byline a:hover,
.entry-meta .post-date a:hover {
	color: var(--xrep-primary-color);
}

.entry-share {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}

.share-label {
	font-weight: 600;
	color: var(--xrep-text-color);
}

.share-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-decoration: none;
	transition: all 0.3s;
	font-size: 14px;
}

.share-btn.facebook {
	background: #1877f2;
}

.share-btn.twitter {
	background: #1da1f2;
}

.share-btn.whatsapp {
	background: #25d366;
}

.share-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.entry-content {
	font-size: 16px;
	line-height: 1.8;
	color: var(--xrep-text-color);
	margin-bottom: 40px;
}

.entry-content p {
	margin-bottom: 20px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin: 30px 0 20px;
	color: var(--xrep-text-color);
	font-weight: 700;
}

.entry-content h2 {
	font-size: 28px;
}

.entry-content h3 {
	font-size: 24px;
}

.entry-content h4 {
	font-size: 20px;
}

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

.entry-content a {
	color: var(--xrep-primary-color);
	text-decoration: underline;
}

.entry-content a:hover {
	color: var(--xrep-secondary-color);
}

.entry-footer {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid var(--xrep-border-color);
}

.post-tags {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.tags-label {
	font-weight: 600;
	color: var(--xrep-text-color);
}

.post-tags .post-categories {
	position: static;
}

.post-tags .tag-link {
	background: #f3f4f6;
	color: var(--xrep-text-color);
	padding: 5px 12px;
	border-radius: 4px;
	font-size: 12px;
	text-decoration: none;
	margin-right: 8px;
	display: inline-block;
}

.post-tags .tag-link:hover {
	background: var(--xrep-primary-color);
	color: #fff;
}

/* Related Posts Section */
.related-posts-section {
	margin: 60px 0;
	padding-top: 40px;
	border-top: 2px solid var(--xrep-border-color);
}

.related-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
	margin-top: 30px;
}

.related-post-item {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s;
}

.related-post-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.related-post-thumb {
	margin: 0;
	height: 200px;
	overflow: hidden;
}

.related-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s;
}

.related-post-item:hover .related-post-thumb img {
	transform: scale(1.05);
}

.related-post-content {
	padding: 15px;
}

.related-category-tag {
	display: inline-block;
	background: var(--xrep-primary-color);
	color: #fff;
	padding: 4px 12px;
	border-radius: 3px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.related-post-title {
	font-size: 16px;
	margin: 0 0 10px;
	line-height: 1.4;
	font-weight: 600;
}

.related-post-title a {
	color: var(--xrep-text-color);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.related-post-title a:hover {
	color: var(--xrep-primary-color);
}

.related-post-meta {
	font-size: 12px;
	color: #6b7280;
}

/* Latest Posts Single Section */
.latest-posts-single-section {
	margin: 60px 0;
	padding-top: 40px;
	border-top: 2px solid var(--xrep-border-color);
}

.latest-posts-single-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
	margin-top: 30px;
}

.latest-post-single-item {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s;
}

.latest-post-single-item.current-post {
	border: 2px solid var(--xrep-primary-color);
}

.latest-post-single-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.latest-post-single-thumb {
	margin: 0;
	height: 200px;
	overflow: hidden;
}

.latest-post-single-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s;
}

.latest-post-single-item:hover .latest-post-single-thumb img {
	transform: scale(1.05);
}

.latest-post-single-content {
	padding: 15px;
}

.latest-single-category-tag {
	display: inline-block;
	background: var(--xrep-primary-color);
	color: #fff;
	padding: 4px 12px;
	border-radius: 3px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.latest-post-single-title {
	font-size: 16px;
	margin: 0 0 10px;
	line-height: 1.4;
	font-weight: 600;
}

.latest-post-single-title a {
	color: var(--xrep-text-color);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.latest-post-single-title a:hover {
	color: var(--xrep-primary-color);
}

.latest-post-single-meta {
	font-size: 12px;
	color: #6b7280;
}

/* Comments Section ( republika network Style) */
.comments-area {
	margin-top: 60px;
	padding-top: 40px;
	border-top: 2px solid var(--xrep-border-color);
}

.comments-title {
	margin: 0 0 30px;
	display: flex;
	align-items: center;
	gap: 15px;
}

.comments-title .section-tag {
	display: inline-block;
	background: var(--xrep-primary-color);
	color: #fff;
	padding: 10px 20px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
}

.comment-count {
	font-size: 18px;
	color: var(--xrep-text-color);
	font-weight: 600;
}

.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-body {
	display: flex;
	gap: 20px;
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 1px solid var(--xrep-border-color);
}

.comment-body:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.comment-author-avatar {
	flex-shrink: 0;
}

.comment-author-avatar img {
	border-radius: 50%;
	width: 60px;
	height: 60px;
}

.comment-content {
	flex: 1;
}

.comment-meta {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 10px;
	font-size: 14px;
}

.comment-author {
	font-weight: 600;
	color: var(--xrep-text-color);
}

.comment-author a {
	color: var(--xrep-primary-color);
	text-decoration: none;
}

.comment-date {
	color: #6b7280;
}

.comment-text {
	color: var(--xrep-text-color);
	line-height: 1.6;
	margin-bottom: 15px;
}

.comment-reply a {
	color: var(--xrep-primary-color);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
}

.comment-reply a:hover {
	text-decoration: underline;
}

.comment-reply-title {
	margin: 0 0 20px;
}

.comment-reply-title .section-tag {
	display: inline-block;
	background: var(--xrep-primary-color);
	color: #fff;
	padding: 10px 20px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
}

.comment-form {
	margin-top: 40px;
}

.comment-form p {
	margin-bottom: 20px;
}

.comment-form label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: var(--xrep-text-color);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid var(--xrep-border-color);
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
}

.comment-form textarea {
	resize: vertical;
	min-height: 120px;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--xrep-primary-color);
}

.submit-btn {
	background: var(--xrep-primary-color);
	color: #fff;
	border: none;
	padding: 12px 30px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
}

.submit-btn:hover {
	background: var(--xrep-secondary-color);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.no-comments {
	padding: 20px;
	background: #f9fafb;
	border-radius: 4px;
	color: #6b7280;
	text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
	.header-top-inner {
		flex-direction: column;
		align-items: stretch;
	}
	
	.header-search {
		max-width: 100%;
	}
	
	.content-wrapper {
		grid-template-columns: 1fr;
	}
	
	.footer-widgets-inner {
		grid-template-columns: 1fr;
	}
	
	.carousel-slider {
		grid-template-columns: 1fr;
	}
	
	.menu-toggle {
		display: flex;
	}
	
	.main-navigation ul {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--xrep-primary-color);
		flex-direction: column;
		box-shadow: 0 5px 10px rgba(0,0,0,0.2);
		z-index: 999;
	}
	
	.main-navigation.toggled ul {
		display: flex;
	}
	
	.main-navigation li {
		width: 100%;
	}
	
	.main-navigation a {
		padding: 15px 20px;
		border-bottom: 1px solid rgba(255,255,255,0.1);
		color: #fff;
	}
	
	.main-navigation a:hover {
		background: rgba(255,255,255,0.1);
		color: #fff;
	}
}

/* Magazine Style Post Grid Widget */
.magazine-grid-widget {
	margin: 20px 0;
	width: 100%;
	font-family: "Roboto", sans-serif;
}

.magazine-grid-container {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	grid-template-rows: repeat(2, 1fr);
	gap: 20px;
	height: 450px;
}

.magazine-featured-card {
	grid-column: 1;
	grid-row: 1 / 3;
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	height: 100%;
}

.magazine-sub-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: 20px;
	grid-column: 2;
	grid-row: 1 / 3;
	height: 100%;
}

.magazine-sub-card {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	height: 100%;
}


.magazine-card-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	object-fit: cover;
}

.magazine-card-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 70%;
	background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
	pointer-events: none;
	z-index: 1;
}

.magazine-card-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 30px 25px 25px;
	color: #fff;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.magazine-sub-card .magazine-card-content {
	padding: 20px 18px 18px;
	gap: 12px;
}

.magazine-category-tag {
	display: inline-block;
	background: #D32F2F;
	color: #fff;
	padding: 6px 14px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	width: fit-content;
	font-family: "Roboto", sans-serif;
}

.magazine-card-title {
	margin: 0;
	font-family: "Roboto", sans-serif;
	font-weight: 700;
	line-height: 1.3;
}

.magazine-featured-card .magazine-card-title {
	font-size: 1.8rem;
}

.magazine-sub-card .magazine-card-title {
	font-size: 18px;
	font-size: 15px;
    font-weight: 500;
    line-height: 23px;
}

.magazine-card-title a {
	color: #fff;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: opacity 0.3s;
}

.magazine-sub-card .magazine-card-title a {
	-webkit-line-clamp: 2;
}

.magazine-card-title a:hover {
	opacity: 0.9;
}

.magazine-card-meta {
	font-family: "Roboto", sans-serif;
	font-size: 14px;
	color: rgba(255,255,255,0.95);
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.magazine-sub-card .magazine-card-meta {
	font-size: 12px;
	gap: 6px;
}

.magazine-author,
.magazine-date {
	color: rgba(255,255,255,0.95);
}

.magazine-separator {
	color: rgba(255,255,255,0.6);
	margin: 0 4px;
}


/* General Arrow Style */
.slick-arrow {
    width: 40px;
    height: 40px;
    background-color: #eeeeee; /* Light gray background */
    border: 1px solid #dcdcdc; /* Subtle border */
    border-radius: 4px;        /* Slight rounding */
    color: #333333;            /* Dark icon color */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    z-index: 10;               /* Ensure it sits on top */
}

/* Hover Effect */
.slick-arrow:hover {
    background-color: #e0e0e0;
    border-color: #bbbbbb;
}

/* Specific positioning (Optional - standard Slick overrides) */
.slick-prev, .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.slick-prev {
    left: -50px; /* Adjust based on your layout needs */
}

.slick-next {
    right: -50px;
}

/* Remove default button styling if necessary */
.slick-arrow:before {
    content: '' !important; /* Removes default slick font icons */
    display: none;
}
/* Container for the dots */
ul.slick-dots {
    display: flex;
    flex-direction: column; /* Stacks the numbers vertically */
    gap: 8px;               /* Space between the boxes */
    padding: 0;
    margin: 0;
    list-style: none;
    width: fit-content;
}

/* The List Item */
ul.slick-dots li {
    width: 35px;
    height: 35px;
    margin: 0; /* Override default slick margins */
}

/* The Button inside the List Item */
ul.slick-dots li button {
    width: 100%;
    height: 100%;
    background-color: #eeeeee; /* Light gray background */
    border: 1px solid #dcdcdc; /* Border matching the arrows */
    border-radius: 4px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    
    /* Centering the number */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Remove default Slick font-size trick */
ul.slick-dots li button:before {
    content: none; /* Removes the default bullet dot character */
}

/* Hover State */
ul.slick-dots li button:hover {
    background-color: #e0e0e0;
    border-color: #bbb;
}

/* Active State (Current Slide) */
ul.slick-dots li.slick-active button {
    background-color: #d6d6d6; /* Slightly darker active state */
    font-weight: bold;
    border-color: #999;
}

/* 2. Container Adjustment */
/* Ensure the slider has padding on the left to accommodate the absolute controls */
.category-carousel-slider {
    position: relative;
    padding-left: calc(var(--control-size) + 15px); /* Space for controls */
}

/* 3. Left Arrow Styling (The Top Box) */
.slick-prev.slick-arrow {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--control-size);
    height: var(--control-size);
    background-color: var(--control-bg);
    border: 1px solid var(--control-border);
    border-radius: 4px;
    z-index: 20;
    
    /* Centering the icon */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

/* 4. Bullets Container (The Number Stack) */
ul.slick-dots {
    position: absolute;
    left: 0;
    /* Position it directly below the arrow + gap */
    top: calc(var(--control-size) + var(--control-gap)); 
    width: var(--control-size);
    padding: 0;
    margin: 0;
    list-style: none;
    
    /* Stack items vertically */
    display: flex;
    flex-direction: column;
    gap: var(--control-gap);
}

/* 5. Bullet List Items */
ul.slick-dots li {
    width: var(--control-size);
    height: var(--control-size);
    margin: 0; /* Override default slick margins */
}

/* 6. The Actual Number Buttons */
ul.slick-dots li button {
    width: 100%;
    height: 100%;
    background-color: var(--control-bg);
    border: 1px solid var(--control-border);
    border-radius: 4px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    padding: 0;
    
    /* Centering the number */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

/* Active/Hover States */
ul.slick-dots li.slick-active button,
ul.slick-dots li button:hover,
.slick-prev.slick-arrow:hover {
    background-color: #e0e0e0; /* Slightly darker on interaction */
    border-color: #bbb;
}