/**
 * 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;
}

/* 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);
}

.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-search {
	flex: 1;
	max-width: 400px;
}

.search-form {
	display: flex;
	position: relative;
}

.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;
}

.header-social {
	display: flex;
	align-items: center;
	gap: 15px;
}

.header-social a,
.dark-mode-toggle {
	color: #6b7280;
	font-size: 18px;
	text-decoration: none;
	transition: color 0.3s;
}

.header-social a:hover,
.dark-mode-toggle:hover {
	color: var(--xrep-primary-color);
}

.dark-mode-toggle {
	background: none;
	border: none;
	cursor: pointer;
	padding: 5px;
}

/* Navigation */
.header-menu {
	background: var(--xrep-bg-color);
}

.main-navigation {
	position: relative;
}

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

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	padding: 15px 20px;
	color: var(--xrep-text-color);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s;
}

.main-navigation a:hover {
	color: var(--xrep-primary-color);
}

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

.menu-toggle span {
	width: 25px;
	height: 3px;
	background: var(--xrep-text-color);
	transition: all 0.3s;
}

/* 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 (RUZKA 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-thumbnails {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 20px;
}

.featured-thumb-item {
	position: relative;
	background: #fff;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s;
	border: 2px solid transparent;
	overflow: hidden;
}

.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 (RUZKA Style) */
.latest-news-section {
	margin: 40px 0;
}

.section-header {
	margin-bottom: 20px;
}

.section-title {
	margin: 0;
}

.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;
}

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

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

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

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

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

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

.latest-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: 8px;
}

.latest-post-title {
	font-size: 16px;
	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;
}

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

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

.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: 30px;
	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 (RUZKA 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;
}

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

/* Highlights Widget (RUZKA Style) */
.highlights-widget {
	margin-bottom: 40px;
	background: #fff;
	padding: 20px;
	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 (RUZKA Style) */
.category-carousel-section {
	margin: 40px 0;
}

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

.category-carousel-header {
	margin-bottom: 20px;
}

.category-carousel-title {
	margin: 0;
}

.category-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;
}

.category-carousel-slider {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	position: relative;
}

.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;
}

.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;
}

.carousel-item-title {
	font-size: 16px;
	margin: 0 0 10px;
	line-height: 1.4;
	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;
}

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

.carousel-item-meta {
	font-size: 12px;
	color: #6b7280;
}

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

.carousel-next {
	background: var(--xrep-primary-color);
	color: #fff;
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;
}

.carousel-next:hover {
	background: var(--xrep-secondary-color);
	transform: scale(1.1);
}

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

.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,
body.dark-mode .header-menu {
	background: #111827;
	border-color: #374151;
}

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 (RUZKA 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;
}

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

.entry-title {
	font-size: 32px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 20px;
	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 .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 (RUZKA 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-bg-color);
		flex-direction: column;
		box-shadow: 0 5px 10px rgba(0,0,0,0.1);
		z-index: 999;
	}
	
	.main-navigation.toggled ul {
		display: flex;
	}
	
	.main-navigation li {
		width: 100%;
	}
	
	.main-navigation a {
		padding: 15px 20px;
		border-bottom: 1px solid var(--xrep-border-color);
	}
}

