/*------------------------------------------------------------
# Modern Design Override — eucargologistic.com
# Накладывается поверх style.css, обновляет визуал
--------------------------------------------------------------*/

/* ===== Font smoothing ===== */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 16px;
	color: #2a2a2a;
	line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: #1a1a2e;
	line-height: 1.25;
}

a {
	color: #42b649;
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: #2d8f33;
}

/* ===== Container ===== */
.inner {
	max-width: 1200px;
	padding: 0 20px;
}

/* ===== Typography ===== */
.entry-content p {
	font-size: 17px;
	line-height: 1.8;
	color: #333;
	margin-bottom: 1.4em;
}

.entry-content h2 {
	font-size: 26px;
	font-weight: 700;
	margin: 1.8em 0 0.8em;
}

.entry-content h3 {
	font-size: 22px;
	font-weight: 700;
	margin: 1.5em 0 0.6em;
}

.entry-content h4 {
	font-size: 19px;
	font-weight: 600;
	margin: 1.3em 0 0.5em;
}

.entry-content blockquote {
	border-left: 4px solid #42b649;
	padding: 12px 24px;
	margin: 1.5em 0;
	background: #f8faf8;
	border-radius: 0 8px 8px 0;
	color: #444;
	font-style: italic;
}

.entry-content a {
	text-decoration: underline;
	text-decoration-color: rgba(66, 182, 73, 0.3);
	text-underline-offset: 3px;
}

.entry-content a:hover {
	text-decoration-color: #42b649;
}

.entry-title, .single .entry-title {
	font-size: 34px;
	font-weight: 800;
	line-height: 1.2;
	color: #1a1a2e;
	margin-bottom: 16px;
}

.entry-meta {
	font-size: 13px;
	color: #888;
}

.entry-meta a {
	color: #555;
}

.entry-meta a:hover {
	color: #42b649;
}

/* ===== Header ===== */
.site-header {
	margin-bottom: 0;
	background: #fff;
	border-bottom: none;
	box-shadow: 0 1px 0 rgba(0,0,0,0.04);
	transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
	box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.top-bar {
	background: #1a1a2e;
	border-bottom: 1px solid rgba(255,255,255,0.05);
}

.primary-navigation ul li a {
	color: #aaa;
	font-size: 13px;
	transition: color 0.2s ease;
	line-height: 34px;
}

.primary-navigation ul li a:hover {
	color: #fff;
}

.site-branding {
	margin: 24px 0;
	padding: 8px 0;
}

.site-title .title-logo {
	font-size: 38px;
	letter-spacing: -1.5px;
	font-weight: 800;
}

.site-title a {
	color: #1a1a2e;
	transition: color 0.2s ease;
}

.site-title a:hover {
	color: #42b649;
}

.title-description {
	font-size: 15px;
	color: #777;
	font-weight: 500;
}

/* ===== Main Navigation ===== */
.menu-container {
	background: #1a1a2e;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#site-navigation {
	background-color: #1a1a2e;
	border-radius: 0;
}

ul.menu li a {
	padding: 16px 20px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	color: rgba(255,255,255,0.85);
	transition: background 0.2s ease, color 0.2s ease;
	position: relative;
}

ul.menu li a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 3px;
	background: #42b649;
	transition: width 0.3s ease, left 0.3s ease;
}

ul.menu li a:hover::after {
	width: 100%;
	left: 0;
}

.secondary-navigation .current_page_item > a,
.secondary-navigation .current-menu-item > a,
.secondary-navigation .current_page_ancestor > a,
.secondary-navigation .current-menu-ancestor > a,
.secondary-navigation li:hover > a {
	background-color: transparent;
	color: #fff;
}

.secondary-navigation .current_page_item > a::after,
.secondary-navigation .current-menu-item > a::after {
	width: 100%;
	left: 0;
}

.secondary-navigation ul ul {
	background: #1a1a2e;
	border-radius: 0 0 8px 8px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.2);
	border: 1px solid rgba(255,255,255,0.06);
}

.secondary-navigation ul ul a {
	padding: 12px 24px;
	border-bottom: 1px solid rgba(255,255,255,0.06);
	font-size: 13px;
	text-transform: none;
	color: rgba(255,255,255,0.8);
}

.secondary-navigation ul ul a::after {
	display: none;
}

.secondary-navigation ul ul li:hover > a {
	background-color: rgba(66, 182, 73, 0.15);
	color: #fff;
}

/* ===== Content area ===== */
.site-content {
	padding: 24px 0 40px;
	background: #f5f6f8;
}

#content .inner {
	background: transparent;
}

/* ===== Homepage: no sidebar, no slider, full width ===== */
.home #secondary {
	display: none;
}

.home .content-area,
.home #primary {
	width: 100%;
	max-width: 100%;
	float: none;
}

.home .mnl-slider,
.home .flexslider,
.home .slideshow {
	display: none;
}

/* ===== Homepage redesign ===== */
.home .site-content {
	padding: 0 0 40px;
	background: #f5f6f8;
}

.home #main {
	padding: 0;
}

.lastest-title {
	display: none;
}

/* Grid: 3 columns */
.post-wrap {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	padding: 20px 0 0;
}

/* === HERO: first post — full width with image overlay === */
.post-wrap .post-grid:first-child {
	grid-column: 1 / -1;
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	min-height: 420px;
	display: block;
	box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.post-wrap .post-grid:first-child .post-thumbnail {
	width: 100%;
	height: 420px;
	margin: 0;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

.post-wrap .post-grid:first-child .post-thumbnail a,
.post-wrap .post-grid:first-child .post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.post-wrap .post-grid:first-child .post-thumbnail a::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
	z-index: 1;
}

.post-wrap .post-grid:first-child .post-thumbnail a {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}

.post-wrap .post-grid:first-child .post-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 4;
	padding: 30px 40px;
	text-align: left;
	pointer-events: none;
}

.post-wrap .post-grid:first-child .post-content a {
	pointer-events: auto;
}

.post-wrap .post-grid:first-child .entry-title a {
	color: #fff;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25;
	text-shadow: 0 2px 8px rgba(0,0,0,0.4);
	max-width: 700px;
	display: block;
}

.post-wrap .post-grid:first-child .entry-title a:hover {
	color: #42b649;
}

.post-wrap .post-grid:first-child .entry-meta {
	color: rgba(255,255,255,0.8);
	margin-top: 10px;
}

.post-wrap .post-grid:first-child .entry-meta a,
.post-wrap .post-grid:first-child .entry-meta .posted-on a {
	color: rgba(255,255,255,0.8);
}

.post-wrap .post-grid:first-child .entry-meta i {
	color: rgba(255,255,255,0.6);
}

.post-wrap .post-grid:first-child .post-card-cat {
	top: 20px;
	left: 20px;
}

/* === Regular cards === */
.post-grid {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	width: auto;
	max-width: none;
	float: none;
	margin: 0;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
	display: flex;
	flex-direction: column;
}

.post-grid:hover {
	box-shadow: 0 6px 20px rgba(0,0,0,0.12);
	transform: translateY(-3px);
}

.post-grid:nth-of-type(even) {
	margin-right: 0;
}

.post-grid:nth-child(2n+1) {
	clear: none;
}

.post-grid .post-thumbnail {
	width: 100%;
	margin: 0;
	overflow: hidden;
	position: relative;
}

.post-grid .post-thumbnail img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.post-grid:hover .post-thumbnail img {
	transform: scale(1.08);
}

.post-grid .post-content {
	padding: 14px 16px 16px;
}

.post-grid .entry-title a {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: #1a1a2e;
	text-transform: none;
	letter-spacing: -0.2px;
	display: block;
}

.post-grid .entry-title a:hover {
	color: #42b649;
}

.post-grid .entry-meta {
	font-size: 12px;
	color: #999;
	margin-top: 6px;
}

.post-grid .entry-meta a {
	color: #999;
}

.post-grid .entry-meta i {
	margin-right: 3px;
}

/* Category badge */
.post-card-cat {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
}

.post-card-cat a {
	display: inline-block;
	background: #42b649;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	padding: 5px 12px;
	border-radius: 4px;
	line-height: 1;
	transition: background 0.2s ease;
}

.post-card-cat a:hover {
	background: #1a1a2e;
	color: #fff;
}

/* Hide excerpt on grid cards */
.post-grid .entry-content {
	display: none;
}

/* ===== Homepage extra sections ===== */
.home-section {
	margin: 36px 0 0;
}

.home-section-title {
	font-size: 20px;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0 0 18px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.home-section-title a {
	color: inherit;
	text-decoration: none;
}

.home-section-title a:hover {
	color: #42b649;
}

.home-section-icon {
	color: #42b649;
	font-size: 18px;
}

.home-section-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 18px;
}

.home-section-head .home-section-title {
	margin: 0;
}

.home-section-more {
	font-size: 13px;
	color: #999;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s;
}

.home-section-more:hover {
	color: #42b649;
}

/* === Trending strip === */
.trending-strip {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 6px;
}

.trending-item {
	flex: 0 0 220px;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	text-decoration: none;
	scroll-snap-align: start;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
	transition: box-shadow 0.3s, transform 0.3s;
}

.trending-item:hover {
	box-shadow: 0 4px 14px rgba(0,0,0,0.1);
	transform: translateY(-2px);
}

.trending-thumb {
	width: 80px;
	height: 80px;
	flex-shrink: 0;
	overflow: hidden;
}

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

.trending-info {
	padding: 10px 12px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
}

.trending-cat {
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	color: #42b649;
	letter-spacing: 0.3px;
}

.trending-title {
	font-size: 13px;
	font-weight: 600;
	color: #1a1a2e;
	line-height: 1.3;
	display: block;
}

.trending-date {
	font-size: 11px;
	color: #aaa;
}

/* === Category blocks === */
.cat-block-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: auto auto;
	gap: 14px;
}

.cat-block-item {
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
	transition: box-shadow 0.3s, transform 0.3s;
}

.cat-block-item:hover {
	box-shadow: 0 4px 14px rgba(0,0,0,0.1);
	transform: translateY(-2px);
}

.cat-block-link {
	text-decoration: none;
	display: block;
}

.cat-block-item--large {
	grid-row: span 2;
}

.cat-block-thumb {
	position: relative;
	overflow: hidden;
}

.cat-block-item--large .cat-block-thumb img {
	width: 100%;
	height: 300px;
	object-fit: cover;
}

.cat-block-item:not(.cat-block-item--large) .cat-block-thumb img {
	width: 100%;
	height: 140px;
	object-fit: cover;
}

.cat-block-item:hover .cat-block-thumb img {
	transform: scale(1.05);
	transition: transform 0.5s ease;
}

.cat-block-content {
	padding: 12px 14px;
}

.cat-block-item--large .cat-block-content {
	padding: 16px 18px;
}

.cat-block-title {
	font-size: 14px;
	font-weight: 600;
	color: #1a1a2e;
	line-height: 1.35;
	margin: 0;
}

.cat-block-item--large .cat-block-title {
	font-size: 18px;
}

.cat-block-date {
	font-size: 11px;
	color: #aaa;
	margin-top: 5px;
	display: block;
}

/* === More articles grid === */
.more-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.more-item {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
	transition: box-shadow 0.3s, transform 0.3s;
}

.more-item:hover {
	box-shadow: 0 4px 14px rgba(0,0,0,0.1);
	transform: translateY(-2px);
}

.more-link {
	text-decoration: none;
	display: block;
}

.more-thumb {
	position: relative;
	overflow: hidden;
}

.more-thumb img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	transition: transform 0.5s ease;
}

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

.more-content {
	padding: 12px 14px;
}

.more-title {
	font-size: 14px;
	font-weight: 600;
	color: #1a1a2e;
	line-height: 1.35;
	margin: 0;
}

.more-date {
	font-size: 11px;
	color: #aaa;
	margin-top: 5px;
	display: block;
}

/* ===== Ad slots ===== */
.ad-label {
	display: block;
	text-align: center;
	font-size: 10px;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 4px;
}

.ad-slot-inarticle {
	margin: 24px 0;
	text-align: center;
	min-height: 50px;
}

.ad-slot-home {
	margin: 30px 0;
	text-align: center;
	min-height: 50px;
}

.ad-slot-sidebar {
	margin-bottom: 20px;
	text-align: center;
}

.ad-slot-sidebar--sticky {
	position: sticky;
	bottom: 20px;
}

.ad-slot-after-content {
	margin: 30px 0;
	text-align: center;
}

.ad-slot-before-content {
	margin-bottom: 24px;
	text-align: center;
}

/* ===== Single post ===== */
.single .site-content {
	background: #fff;
}

/* Override Customizer CSS that hides thumbnail */
.single article .post-thumbnail,
.single article .entry-thumbnail,
.single article img.wp-post-image,
.single article .featured-image,
.single .entry-content .post-thumbnail,
.single .entry-content img.wp-post-image {
	display: block !important;
}

.single .post-thumbnail {
	margin-bottom: 24px;
	border-radius: 10px;
	overflow: hidden;
}

.single .post-thumbnail img {
	width: 100%;
	height: auto;
	display: block !important;
}

/* === Related posts === */
.related-section {
	margin: 36px 0 20px;
}

.related-section-title {
	font-size: 20px;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0 0 18px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.related-icon {
	color: #42b649;
	font-size: 18px;
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.related-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
	transition: box-shadow 0.3s, transform 0.3s;
}

.related-card:hover {
	box-shadow: 0 4px 14px rgba(0,0,0,0.1);
	transform: translateY(-2px);
}

.related-card__link {
	text-decoration: none;
	display: block;
}

.related-card__thumb {
	position: relative;
	overflow: hidden;
}

.related-card__thumb img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.related-card:hover .related-card__thumb img {
	transform: scale(1.05);
}

.related-card__content {
	padding: 12px 14px;
}

.related-card__title {
	font-size: 14px;
	font-weight: 600;
	color: #1a1a2e;
	line-height: 1.35;
	margin: 0;
}

.related-card__date {
	font-size: 11px;
	color: #aaa;
	margin-top: 5px;
	display: block;
}

/* Hide old related posts styles */
.title-related-posts,
ul.related,
.related-entry {
	display: none !important;
}

/* === Post navigation === */
.mnl-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 30px 0;
}

.mnl-post-nav__item {
	background: #fff;
	border-radius: 8px;
	padding: 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
	transition: box-shadow 0.3s, transform 0.3s;
	position: relative;
	overflow: hidden;
}

.mnl-post-nav__item:hover {
	box-shadow: 0 4px 14px rgba(0,0,0,0.1);
	transform: translateY(-2px);
}

.mnl-post-nav__prev {
	flex-direction: row;
}

.mnl-post-nav__next {
	flex-direction: row-reverse;
	text-align: right;
}

.mnl-post-nav__label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	color: #42b649;
	letter-spacing: 0.3px;
	white-space: nowrap;
}

.mnl-post-nav__thumb {
	width: 60px;
	height: 60px;
	border-radius: 6px;
	overflow: hidden;
	flex-shrink: 0;
}

.mnl-post-nav__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mnl-post-nav__title {
	font-size: 14px;
	font-weight: 600;
	color: #1a1a2e;
	line-height: 1.3;
	display: block;
}

.mnl-post-nav__item:hover .mnl-post-nav__title {
	color: #42b649;
}

/* === Sticky share buttons on article === */
.mnl-share {
	position: sticky;
	bottom: 20px;
	display: flex;
	justify-content: center;
	gap: 8px;
	padding: 12px;
	background: rgba(255,255,255,0.95);
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.08);
	margin: 20px 0;
}

.mnl-share__label {
	font-size: 13px;
	color: #999;
	font-weight: 500;
	align-self: center;
	margin-right: 4px;
}

.mnl-share__btn {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	color: #fff;
	transition: transform 0.2s, opacity 0.2s;
}

.mnl-share__btn:hover {
	transform: scale(1.1);
	opacity: 0.9;
}

.mnl-share__btn--tg { background: #0088cc; }
.mnl-share__btn--vk { background: #4a76a8; }
.mnl-share__btn--wa { background: #25d366; }
.mnl-share__btn--copy { background: #666; }

/* === Floating "read next" bar === */
.mnl-floating-next {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	transform: translateY(120%);
	z-index: 999;
	background: #fff;
	border-radius: 14px 14px 0 0;
	box-shadow: 0 -8px 40px rgba(0,0,0,0.2);
	width: 100%;
	max-width: 100%;
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
	overflow: hidden;
	border-top: 1px solid rgba(0,0,0,0.06);
}

.mnl-floating-next::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #42b649, #2d8f33);
	z-index: 3;
}

.mnl-floating-next.is-visible {
	transform: translateY(0);
}

.mnl-floating-next__link {
	display: flex;
	align-items: stretch;
	gap: 0;
	text-decoration: none;
	position: relative;
	max-width: 900px;
	margin: 0 auto;
}

.mnl-floating-next__thumb {
	width: 140px;
	height: 100px;
	flex-shrink: 0;
	overflow: hidden;
}

.mnl-floating-next__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.mnl-floating-next__link:hover .mnl-floating-next__thumb img {
	transform: scale(1.1);
}

.mnl-floating-next__body {
	padding: 16px 60px 16px 18px;
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
}

.mnl-floating-next__label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: #42b649;
	letter-spacing: 0.5px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.mnl-floating-next__title {
	font-size: 17px;
	font-weight: 700;
	color: #1a1a2e;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mnl-floating-next__link:hover .mnl-floating-next__title {
	color: #42b649;
}

.mnl-floating-next__arrow {
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #42b649;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
	transition: transform 0.3s, background 0.3s;
}

.mnl-floating-next__link:hover .mnl-floating-next__arrow {
	transform: translateY(-50%) scale(1.15);
	background: #1a1a2e;
}

.mnl-floating-next__close {
	position: absolute;
	top: 10px;
	right: 10px;
	background: rgba(0,0,0,0.35);
	border: none;
	color: #fff;
	font-size: 14px;
	cursor: pointer;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
	z-index: 4;
}

.mnl-floating-next__close:hover {
	background: rgba(0,0,0,0.65);
}

@media (max-width: 768px) {
	.mnl-floating-next {
		bottom: 0;
		border-radius: 12px 12px 0 0;
	}
	.mnl-floating-next__thumb {
		width: 110px;
		height: 80px;
	}
	.mnl-floating-next__title {
		font-size: 14px;
	}
	.mnl-floating-next__body {
		padding: 12px 50px 12px 14px;
	}
	.mnl-floating-next__arrow {
		width: 34px;
		height: 34px;
		font-size: 15px;
		right: 12px;
	}
}

.single .content-area {
	width: 68%;
	max-width: 100%;
	float: left;
}

.single #primary {
	width: 68%;
	float: left;
}
.single #main {
	padding: 20px 0;
}

.single #secondary {
	width: 30%;
	float: right;
}

/* Sticky sidebar */
.single #secondary {
	position: sticky;
	top: 70px;
	align-self: flex-start;
	max-height: calc(100vh - 80px);
	overflow-y: auto;
	padding-left: 10px;
}

/* Scrollbar styling for sidebar */
.single #secondary::-webkit-scrollbar {
	width: 4px;
}
.single #secondary::-webkit-scrollbar-track {
	background: transparent;
}
.single #secondary::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 2px;
}

.single article {
	background: #fff;
}

.single .post-thumbnail {
	margin-bottom: 20px;
	overflow: hidden;
	border-radius: 10px;
}

.single .post-thumbnail img {
	border-radius: 10px;
	width: 100%;
	height: auto;
}

.single .entry-header {
	margin-bottom: 20px;
}

.single .single-title {
	font-size: 30px;
	line-height: 1.2;
	letter-spacing: -0.5px;
	color: #1a1a2e;
}

.single .entry-meta {
	border-top: none;
	border-bottom: 1px solid #f0f0f0;
	padding: 8px 0;
	margin-bottom: 20px;
	font-size: 13px;
	background: transparent;
}

/* ===== Sidebar ===== */
#secondary .widget {
	background: #fff;
	border-radius: 10px;
	padding: 18px 20px;
	margin-bottom: 20px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

#secondary .widget-title,
#secondary .widget h2 {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #1a1a2e;
	border-bottom: 2px solid #42b649;
	padding-bottom: 8px;
	margin-bottom: 14px;
}

#secondary ul li {
	border-bottom: 1px solid #f5f5f5;
	padding: 8px 0;
	font-size: 14px;
}

#secondary ul li a {
	color: #444;
}

#secondary ul li a:hover {
	color: #42b649;
}

/* ===== Footer ===== */
.site-footer {
	background: #1a1a2e;
	color: #aaa;
	font-size: 13px;
}

.site-info {
	padding: 24px 0;
}

.copyright,
.copyright a {
	color: #777;
	font-size: 13px;
}

.copyright a:hover,
ul#menu-footer li a:hover {
	color: #42b649;
	text-decoration: none;
}

ul#menu-footer li a {
	font-size: 13px;
	color: #aaa;
	transition: color 0.2s ease;
}

/* ===== Search overlay ===== */
.search-row {
	background: #1a1a2e;
	border-radius: 6px;
}

/* ===== Back to top ===== */
.back-to-top {
	background: #42b649;
	border-radius: 50%;
	width: 44px;
	height: 44px;
	bottom: 24px;
	right: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 12px rgba(66,182,73,0.4);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.back-to-top:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 16px rgba(66,182,73,0.5);
}

/* ===== Sticky header modern ===== */
.site-header.mnl-sticky {
	box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

/* ===== AdSense ad containers ===== */
.ad-label {
	display: block;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #999;
	text-align: center;
	margin-bottom: 6px;
	font-weight: 500;
}

/* In-article ad slots */
.ad-slot-inarticle {
	margin: 24px 0;
	text-align: center;
	min-height: 100px;
	width: 100%;
	clear: both;
}

.ad-slot-inarticle:empty {
	display: none;
}

.ad-slot-inarticle ins.adsbygoogle {
	max-width: 100%;
}

/* Homepage ad slot — spans full grid width */
.ad-slot-home {
	grid-column: 1 / -1;
	background: #fff;
	border-radius: 8px;
	padding: 16px;
	margin: 8px 0;
	text-align: center;
	min-height: 120px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.ad-slot-home:empty {
	display: none;
}

/* Sidebar ad container */
.ad-slot-sidebar {
	background: #fff;
	border-radius: 10px;
	padding: 16px;
	margin-bottom: 20px;
	text-align: center;
	box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.ad-slot-sidebar:empty {
	display: none;
}

.ad-slot-sidebar .ad-label {
	margin-bottom: 10px;
}

.ad-slot-sidebar--sticky {
	position: sticky;
	top: 80px;
}

/* After-content ad */
.ad-slot-after-content {
	margin: 30px 0 10px;
	text-align: center;
	min-height: 100px;
}

.ad-slot-after-content:empty {
	display: none;
}

/* Before-content ad */
.ad-slot-before-content {
	margin: 0 0 24px;
	text-align: center;
	min-height: 100px;
}

.ad-slot-before-content:empty {
	display: none;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
	.inner {
		padding: 0 16px;
	}
	.post-wrap {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.post-wrap .post-grid:first-child {
		min-height: 300px;
	}
	.post-wrap .post-grid:first-child .post-thumbnail {
		height: 300px;
	}
	.post-wrap .post-grid:first-child .post-content {
		padding: 20px 20px;
	}
	.post-wrap .post-grid:first-child .entry-title a {
		font-size: 20px;
	}
	.post-grid .post-thumbnail img {
		height: 180px;
	}
	/* Trending: horizontal scroll on mobile */
	.trending-item {
		flex: 0 0 200px;
	}
	/* Category blocks: stack vertically */
	.cat-block-grid {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}
	.cat-block-item--large {
		grid-row: span 1;
	}
	.cat-block-item--large .cat-block-thumb img {
		height: 200px;
	}
	/* More grid: single column */
	.more-grid {
		grid-template-columns: 1fr;
	}
	/* Related: 2 columns on mobile */
	.related-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	/* Post nav: stack */
	.mnl-post-nav {
		grid-template-columns: 1fr;
	}
	.mnl-post-nav__next {
		flex-direction: row;
		text-align: left;
	}
	.single .single-title {
		font-size: 22px;
	}
	.content-area,
	.single .content-area,
	.single #primary {
		width: 100%;
		float: none;
	}
	.single #secondary,
	#secondary,
	.widget-area {
		display: none !important;
	}
	.single #primary,
	.content-area {
		width: 100% !important;
		float: none !important;
		max-width: 100% !important;
	}
}

@media (max-width: 1024px) and (min-width: 769px) {
	.post-wrap {
		grid-template-columns: repeat(2, 1fr);
	}
	.post-wrap .post-grid:first-child {
		grid-column: 1 / -1;
	}
	.more-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.cat-block-grid {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto auto;
	}
	.cat-block-item--large {
		grid-column: 1 / -1;
		grid-row: span 1;
	}
	.cat-block-item--large .cat-block-thumb img {
		height: 220px;
	}
	.related-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ===== Footer redesign ===== */
.site-footer {
	background: #1a1a2e;
	color: #999;
	padding: 40px 0 0;
	margin-top: 0;
}

.site-footer .site-info {
	background: transparent;
	padding: 0;
	border-top: none;
}

.site-footer .inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	padding-bottom: 30px;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}

.site-footer .copyright {
	font-size: 14px;
	color: #888;
}

.site-footer .copyright a {
	color: #ccc;
	transition: color 0.2s;
}

.site-footer .copyright a:hover {
	color: #42b649;
}

.site-footer .footer-menu-wrapper ul {
	display: flex;
	gap: 24px;
	list-style: none;
	flex-wrap: wrap;
}

.site-footer .footer-menu-wrapper ul li a {
	color: #888;
	font-size: 14px;
	text-transform: none;
	letter-spacing: 0;
	padding: 0;
	transition: color 0.2s;
}

.site-footer .footer-menu-wrapper ul li a:hover {
	color: #42b649;
}

.site-footer .site-info > .inner {
	border-bottom: none;
}

/* Footer bottom bar */
.site-footer::after {
	content: '';
	display: block;
	padding: 20px 0;
	text-align: center;
	font-size: 12px;
	color: #666;
}

/* ===== Post card improvements ===== */
.post-grid,
.cat-block-item,
.more-item,
.related-item {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.post-grid:hover,
.cat-block-item:hover,
.more-item:hover,
.related-item:hover {
	box-shadow: 0 8px 30px rgba(0,0,0,0.12);
	transform: translateY(-3px);
}

.post-grid .post-thumbnail,
.cat-block-thumb,
.more-item .post-thumbnail {
	overflow: hidden;
}

.post-grid .post-thumbnail img,
.cat-block-thumb img,
.more-item .post-thumbnail img {
	transition: transform 0.5s ease;
}

.post-grid:hover .post-thumbnail img,
.cat-block-item:hover .cat-block-thumb img,
.more-item:hover .post-thumbnail img {
	transform: scale(1.08);
}

/* Category badges */
.post-card-cat {
	background: #42b649;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 4px 10px;
	border-radius: 4px;
	display: inline-block;
}

/* Post titles in cards */
.post-grid h2 a,
.post-grid .entry-title a,
.cat-block-title a,
.more-item h3 a,
.related-item .related-title a {
	color: #1a1a2e;
	font-weight: 700;
	transition: color 0.2s ease;
}

.post-grid h2 a:hover,
.post-grid .entry-title a:hover,
.cat-block-title a:hover,
.more-item h3 a:hover,
.related-item .related-title a:hover {
	color: #42b649;
}

/* ===== Section headings ===== */
.section-title,
.home-section-title,
.related-section-title {
	font-size: 22px;
	font-weight: 800;
	color: #1a1a2e;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 3px solid #42b649;
	display: inline-block;
}

/* ===== Back to top ===== */
.back-to-top {
	background: #1a1a2e;
	color: #fff;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.2);
	transition: background 0.3s, transform 0.3s;
}

.back-to-top:hover {
	background: #42b649;
	transform: translateY(-4px);
}

/* ===== Search overlay ===== */
.overlay-slideleft {
	background: rgba(26, 26, 46, 0.97);
}

.search-row {
	background: #42b649;
	height: 56px;
}

.search-row .search-form #s {
	height: 56px;
	font-size: 18px;
	font-weight: 500;
}

/* ===== Responsive typography ===== */
@media (max-width: 768px) {
	body {
		font-size: 15px;
	}
	.entry-title, .single .entry-title {
		font-size: 26px;
	}
	.entry-content p {
		font-size: 16px;
		line-height: 1.7;
	}
	.entry-content h2 {
		font-size: 22px;
	}
	.entry-content h3 {
		font-size: 19px;
	}
	.site-title .title-logo {
		font-size: 28px;
	}
	.site-branding {
		margin: 16px 0;
	}
	.site-footer .inner {
		flex-direction: column;
		text-align: center;
	}
	.site-footer .footer-menu-wrapper ul {
		justify-content: center;
	}
}

/* ===== Mobile menu fix ===== */
@media (max-width: 970px) {
	.menu-toggle {
		display: block !important;
		cursor: pointer;
	}
	#mobile-menu-wrapper {
		background: #1a1a2e !important;
	}
	#mobile-menu-wrapper ul li a {
		color: #fff !important;
		padding: 14px 20px !important;
		font-size: 15px !important;
		text-transform: none !important;
		border-bottom: 1px solid rgba(255,255,255,0.08) !important;
	}
	#mobile-menu-wrapper ul li a:hover {
		color: #42b649 !important;
	}
	#mobile-menu-wrapper .arrow-menu {
		color: #fff !important;
		border-left: 1px solid rgba(255,255,255,0.1) !important;
	}
}
