/* Vật liệu hoàn thiện — green brand palette (matched from reference) */

:root {
	--jp-green: #2b9705;
	--jp-green-dark: #1f7a04;
	--jp-green-deep: #176003;
	--jp-yellow: var(--jp-green); /* legacy alias → green */
	--jp-red: #c92127;
	--jp-navy: var(--jp-green); /* legacy alias → green */
	--jp-navy-deep: var(--jp-green-dark);
	--jp-sale: #c92127;
	--jp-dark: #1c1f24;
	--jp-text: #222222;
	--jp-muted: #666666;
	--jp-border: #e5e5e5;
	--jp-bg: #ffffff;
	--jp-bg-soft: #f5f5f5;
	--jp-container: 1150px;
	--jp-vmenu-w: 270px;
	--jp-hero-h: 480px;
	--jp-radius: 4px;
	--jp-font: "Roboto", Arial, Helvetica, sans-serif;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--jp-font) !important;
	color: var(--jp-text);
	background: var(--jp-bg);
}

body.home #primary,
body.home .entry-header,
body.home .ast-breadcrumbs-wrapper,
body.ast-page-builder-template .entry-header {
	display: none !important;
}

body.home #content.site-content,
body.home .site-content {
	padding: 0 !important;
	margin: 0 !important;
}

body.home .site-content > .ast-container {
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	display: block !important;
}

/* Hide leftover Astra header builder if it still renders */
#ast-desktop-header,
#ast-mobile-header,
.main-header-bar,
.ast-mobile-header-wrap {
	display: none !important;
}

.jp-container {
	width: 100%;
	max-width: var(--jp-container);
	margin: 0 auto;
	padding: 0 15px;
	box-sizing: border-box;
}

/* ========== TOP BAR ========== */
.jp-topbar {
	background: var(--jp-green);
	min-height: 30px;
	display: flex;
	align-items: center;
}

.jp-topbar__text {
	margin: 0;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #fff;
	text-transform: none;
	line-height: 30px;
	width: 100%;
}

/* ========== HEADER MAIN ========== */
.jp-header {
	background: #fff;
	border-bottom: 0;
	position: relative;
	z-index: 100;
}

.jp-header__main {
	min-height: 88px;
	height: auto;
	padding: 10px 0;
	background: #fff;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.jp-header__row {
	display: flex;
	align-items: center;
	gap: 24px;
	width: 100%;
}

.jp-logo {
	flex: 0 0 130px;
	width: 130px;
	display: block;
	text-decoration: none;
	line-height: 0;
}

.jp-logo__box {
	display: block;
	background: transparent;
	padding: 0;
	min-height: 0;
	width: 130px;
	overflow: hidden;
}

.jp-logo__box img {
	display: block;
	width: 130px;
	height: auto;
	max-height: 68px;
	object-fit: contain;
	object-position: left center;
}

.jp-search {
	flex: 1 1 auto;
	display: flex;
	align-items: stretch;
	border: 1px solid #ccc;
	border-radius: 3px;
	overflow: hidden;
	background: #fff;
	max-width: 620px;
	height: 40px;
}

.jp-search__cat {
	border: 0;
	border-right: 1px solid #ddd;
	background: #f5f5f5;
	padding: 0 12px;
	font-size: 13px;
	color: #333;
	max-width: 120px;
	outline: none;
	font-family: inherit;
}

.jp-search__input {
	flex: 1;
	border: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	height: 100% !important;
	padding: 0 12px !important;
	font-size: 14px !important;
	border-radius: 0 !important;
	background: #fff !important;
}

.jp-search__submit {
	border: 0;
	background: var(--jp-green);
	color: #fff;
	padding: 0 14px;
	cursor: pointer;
	display: flex;
	align-items: center;
}

.jp-search__submit:hover {
	background: var(--jp-green-dark);
}

.jp-hotline {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--jp-green);
	margin-left: auto;
	flex: 0 0 auto;
}

.jp-hotline__icon {
	width: 40px;
	height: 40px;
	object-fit: contain;
	display: block;
	flex-shrink: 0;
}

.jp-hotline__text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.jp-hotline__text strong {
	font-size: 16px;
	font-weight: 700;
	color: var(--jp-red);
	text-decoration: none;
	font-style: normal;
}

.jp-hotline__text small {
	font-size: 12px;
	color: #666;
}

.jp-cart-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	color: var(--jp-green);
	text-decoration: none;
	flex: 0 0 auto;
	border: 1px solid var(--jp-green);
	border-radius: 4px;
}

.jp-cart-link:hover {
	color: var(--jp-red);
	border-color: var(--jp-red);
}

.jp-cart-link__count {
	position: absolute;
	top: -6px;
	right: -6px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--jp-red);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.jp-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 8px;
	margin-left: auto;
}

.jp-burger span {
	display: block;
	height: 2px;
	background: var(--jp-navy);
	border-radius: 1px;
}

/* ========== NAV + CATEGORY ========== */
.jp-header__nav {
	background: var(--jp-green);
	border-top: 0;
	border-bottom: 0;
}

.jp-header__nav-row {
	display: flex;
	align-items: stretch;
	gap: 0;
	position: relative;
}

.jp-vmenu {
	position: relative;
	width: var(--jp-vmenu-w);
	flex: 0 0 var(--jp-vmenu-w);
	z-index: 50;
}

.jp-vmenu__toggle {
	width: 100%;
	height: 44px;
	border: 0;
	background: var(--jp-green-dark);
	color: #fff;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 12px;
	cursor: pointer;
	font-family: inherit;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.jp-vmenu__icon {
	display: flex;
	flex-direction: column;
	gap: 3px;
	width: 16px;
}

.jp-vmenu__icon span {
	display: block;
	height: 2px;
	background: #fff;
}

.jp-vmenu__label {
	flex: 1;
	text-align: left;
}

.jp-vmenu__chev {
	opacity: 0.9;
}

.jp-vmenu__list {
	list-style: none;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid var(--jp-border);
	border-top: 0;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	display: none;
}

body.home .jp-vmenu.is-open .jp-vmenu__list,
.jp-vmenu.is-open .jp-vmenu__list {
	display: block;
}

body.home .jp-vmenu .jp-vmenu__list {
	display: block;
}

.jp-vmenu__list li {
	border-bottom: 1px solid #eee;
	margin: 0;
}

.jp-vmenu__list li:last-child {
	border-bottom: 0;
}

.jp-vmenu__list a {
	display: flex;
	align-items: center;
	height: 48px;
	padding: 0 14px;
	color: #0a0a0a;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.35;
	transition: background 0.15s, color 0.15s;
	box-sizing: border-box;
}

.jp-vmenu__list a:hover {
	background: #f7f7f7;
	color: var(--jp-red);
}

.jp-nav {
	flex: 1;
	display: flex;
	align-items: center;
	padding-left: 8px;
	min-height: 44px;
}

.jp-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.jp-nav__list > li > a {
	display: block;
	padding: 12px 16px;
	color: #fff;
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.jp-nav__list > li > a:hover {
	color: #fff;
	background: rgba(0, 0, 0, 0.12);
}

/* Hide Modern Cart / coupon overlays that obscure the demo */
.modern-cart-drawer,
.mcart-drawer,
.mc-floating,
.power-coupons-drawer,
[class*="coupon-drawer"],
.astra-cart-drawer:not(.active) {
	display: none !important;
}

/* ========== HERO ========== */
.jp-hero {
	padding-top: 0;
	background: #fff;
}

.jp-hero__grid {
	display: grid;
	grid-template-columns: var(--jp-vmenu-w) 1fr;
	gap: 10px;
	align-items: start;
	min-height: var(--jp-hero-h);
}

.jp-hero__spacer {
	/* Reserves space under open category menu on home */
	min-height: var(--jp-hero-h);
}

.jp-hero__slider {
	min-width: 0;
}

.jp-slider {
	position: relative;
	overflow: hidden;
	border-radius: 2px;
	background: #eee;
	height: var(--jp-hero-h);
}

.jp-slider__track {
	position: relative;
	width: 100%;
	height: 100%;
}

.jp-slider__slide {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	transition: opacity 0.45s ease;
}

.jp-slider__slide.is-active {
	opacity: 1;
	z-index: 1;
}

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

.jp-slider__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	color: var(--jp-navy);
	font-size: 22px;
	cursor: pointer;
	line-height: 1;
}

.jp-slider__nav--prev { left: 10px; }
.jp-slider__nav--next { right: 10px; }

.jp-slider__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 12px;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 6px;
}

.jp-slider__dots button {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, 0.55);
	cursor: pointer;
	padding: 0;
}

.jp-slider__dots button.is-active {
	background: var(--jp-green);
}

/* ========== FEATURES ========== */
.jp-features {
	padding: 28px 0 8px;
}

.jp-features__row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.jp-feature {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 16px 8px;
	border: 1px solid #eee;
	background: #fff;
}

.jp-feature img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.jp-feature strong {
	display: block;
	font-size: 15px;
	color: #111;
	font-weight: 700;
}

.jp-feature span {
	display: none;
}

/* ========== PRODUCTS ========== */
.jp-products {
	padding: 24px 0 8px;
}

.jp-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 2px solid var(--jp-navy-deep);
	margin-bottom: 18px;
	padding-bottom: 8px;
}

.jp-section-title {
	margin: 0 !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	color: var(--jp-navy-deep) !important;
	text-transform: uppercase;
	font-family: var(--jp-font) !important;
	line-height: 1.3 !important;
}

.jp-section-more {
	color: var(--jp-red);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
}

.jp-products__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.jp-card {
	background: #fff;
	border: 1px solid #eee;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s;
}

.jp-card:hover {
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.jp-card__media {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #fafafa;
}

.jp-card__media img,
.jp-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.jp-card__body {
	padding: 12px 12px 16px;
	display: flex;
	flex-direction: column;
	flex: 1;
	text-align: center;
}

.jp-card__cat {
	font-size: 11px;
	text-transform: uppercase;
	color: #999;
	letter-spacing: 0.04em;
	margin-bottom: 6px;
}

.jp-card__title {
	margin: 0 0 8px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
	font-family: var(--jp-font) !important;
	text-transform: none !important;
}

.jp-card__title a {
	color: var(--jp-navy-deep);
	text-decoration: none;
}

.jp-card__title a:hover {
	color: var(--jp-red);
}

.jp-card__price {
	margin-bottom: 12px;
	font-size: 14px;
}

.jp-card__price del {
	color: #888;
	font-size: 13px;
	margin-right: 6px;
}

.jp-card__price ins {
	text-decoration: none;
	color: var(--jp-sale);
	font-weight: 700;
}

.jp-card__price .amount {
	font-weight: 700;
}

.jp-card__btn {
	display: inline-block;
	margin-top: auto;
	align-self: center;
	background: var(--jp-green);
	color: #fff !important;
	text-decoration: none;
	padding: 9px 18px;
	font-size: 13px;
	font-weight: 500;
	border-radius: 3px;
	border: 0;
	letter-spacing: 0;
	text-transform: none;
}

.jp-card__btn:hover {
	background: var(--jp-green-dark);
	color: #fff !important;
}

/* ========== CTA ========== */
.jp-cta {
	padding: 40px 0 60px;
}

.jp-cta__box {
	background: linear-gradient(135deg, var(--jp-green-deep) 0%, var(--jp-green) 55%, #3cb00a 100%);
	color: #fff;
	padding: 36px 28px;
	text-align: center;
	border-radius: 4px;
}

.jp-cta__box h2 {
	margin: 0 0 10px !important;
	color: #fff !important;
	font-size: 24px !important;
	font-weight: 700 !important;
	text-transform: none !important;
	font-family: var(--jp-font) !important;
}

.jp-cta__box p {
	margin: 0 0 6px;
	color: rgba(255, 255, 255, 0.9);
}

.jp-cta__phone a {
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	font-size: 18px;
}

/* ========== FOOTER TWEAKS ========== */
.site-footer,
.site-primary-footer-wrap,
.site-below-footer-wrap {
	background: #f3f3f3 !important;
}

.site-footer .widget-title {
	color: var(--jp-navy-deep) !important;
	font-size: 15px !important;
	text-transform: uppercase;
}

/* ========== MOBILE BAR ========== */
.jp-mobile-bar {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	background: var(--jp-navy);
	grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.jp-mobile-bar a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 8px 4px;
	color: #fff;
	text-decoration: none;
	font-size: 11px;
	border-right: 1px solid rgba(255, 255, 255, 0.15);
	min-height: 56px;
}

.jp-mobile-bar a:last-child {
	border-right: 0;
}

/* ========== MOBILE DRAWER ========== */
.jp-mobile-drawer {
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: rgba(0, 0, 0, 0.45);
}

.jp-mobile-drawer[hidden] {
	display: none !important;
}

.jp-mobile-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(320px, 88vw);
	height: 100%;
	background: #fff;
	padding: 48px 0 24px;
	overflow: auto;
}

.jp-mobile-drawer__close {
	position: absolute;
	top: 8px;
	right: 12px;
	border: 0;
	background: transparent;
	font-size: 28px;
	cursor: pointer;
	line-height: 1;
	color: #333;
}

.jp-mobile-drawer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.jp-mobile-drawer li a {
	display: block;
	padding: 12px 20px;
	border-bottom: 1px solid #eee;
	color: #222;
	text-decoration: none;
	font-size: 14px;
}

.jp-mobile-drawer__sep {
	padding: 14px 20px 8px;
	font-weight: 700;
	color: var(--jp-red);
	text-transform: uppercase;
	font-size: 12px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
	.jp-products__grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.jp-hotline__text small {
		display: none;
	}
}

@media (max-width: 921px) {
	.jp-burger {
		display: flex;
	}

	.jp-search,
	.jp-hotline,
	.jp-header__nav,
	.jp-hero__spacer {
		display: none;
	}

	.jp-hero__grid {
		grid-template-columns: 1fr;
	}

	.jp-slider {
		height: auto;
		aspect-ratio: 16 / 9;
	}

	.jp-features__row {
		grid-template-columns: 1fr;
	}

	.jp-products__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.jp-mobile-bar {
		display: grid;
	}

	body {
		padding-bottom: 60px;
	}

	.jp-logo {
		flex: 0 0 96px;
		width: 96px;
	}

	.jp-logo__box {
		min-height: 0;
		padding: 0;
		width: 96px;
	}

	.jp-logo__box img {
		width: 96px;
		height: auto;
		max-height: 52px;
	}

	.jp-header__main {
		min-height: 64px;
		padding: 8px 0;
	}

	.jp-section-title {
		font-size: 16px !important;
	}
}

@media (max-width: 544px) {
	.jp-products__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.jp-card__btn {
		padding: 8px 12px;
		font-size: 12px;
	}
}

/* Coupon floating widget */
.mc-store-notice,
.modern-cart-floating-button,
.power-coupons-floating,
.wp-block-woocommerce-empty-cart-block { }

/* Features spacing under overlapping category menu */
body.home .jp-features {
	margin-top: 24px;
}

/* Ensure sale/red price when present */
.jp-card__price .woocommerce-Price-amount {
	font-weight: 700;
}
.jp-card__price ins .woocommerce-Price-amount {
	color: var(--jp-sale);
}

/* ========== BLOG / TIN TỨC (jotunpaint.vn) ========== */
body.blog .entry-header,
body.single-post .entry-header,
body.archive .entry-header,
body.blog .ast-breadcrumbs-wrapper,
body.single-post .ast-breadcrumbs-wrapper,
body.jp-blog-page #secondary,
body.jp-blog-page .widget-area {
	display: none !important;
}

body.jp-blog-page #primary,
body.jp-blog-page .content-area {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.jp-blog-page .site-content,
body.jp-blog-page #content,
body.jp-blog-page .ast-container,
body.jp-blog-page .entry-content,
body.jp-blog-page article.post {
	background: #fff !important;
	box-shadow: none !important;
	border: 0 !important;
}

body.jp-blog-page .site-content {
	padding: 0 !important;
	margin: 0 !important;
}

/* Astra uses flex on .ast-container — without display:block the blog
   main sits at flex-start (flush left) instead of centering like the header. */
body.jp-blog-page .site-content > .ast-container {
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	display: block !important;
	float: none !important;
}

body.jp-blog-page .jp-blog,
body.jp-blog-page #primary .jp-blog {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	float: none !important;
}

body.jp-blog-page .jp-blog > .jp-container {
	margin-left: auto !important;
	margin-right: auto !important;
}

.jp-blog {
	padding: 18px 0 48px;
}

.jp-blog__header {
	margin: 0 0 18px;
}

.jp-blog__title {
	margin: 0;
	color: var(--jp-navy-deep) !important;
	font-size: 18.4px !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.3;
}

.jp-blog__layout {
	display: grid;
	/* Flatsome large-9 + large-3 (~75% / 25%) */
	grid-template-columns: minmax(0, 1fr) minmax(220px, 25%);
	gap: 30px;
	align-items: start;
}

.jp-blog-grid {
	display: grid;
	/* Reference: large-columns-3 — ~255px image width */
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px 20px;
}

.jp-blog-grid--related {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 12px;
}

.jp-post-card {
	margin: 0 !important;
	padding: 0 !important;
	background: #fff !important;
	border: 0 !important;
	box-shadow: none !important;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 100%;
	float: none !important;
}

.jp-post-card__media {
	display: block;
	text-decoration: none;
	overflow: hidden;
}

.jp-post-card__ratio {
	display: block;
	position: relative;
	/* Match jotunpaint.vn rendered thumb (~4:3 / 75%) */
	padding-top: 75%;
	overflow: hidden;
	background: #f3f3f3;
}

.jp-post-card__img,
.jp-post-card__placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.jp-post-card__media:hover .jp-post-card__img {
	transform: scale(1.06);
}

.jp-post-card__body {
	padding: 12px 10px 18px;
	text-align: left;
	flex: 1;
}

.jp-post-card__title {
	margin: 0 0 6px;
	font-size: 16.5px !important;
	font-weight: 400 !important;
	line-height: 1.45;
	min-height: calc(1.45em * 2);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.jp-post-card__title a {
	color: var(--jp-navy-deep) !important;
	text-decoration: none !important;
}

.jp-post-card__title a:hover {
	color: var(--jp-red) !important;
}

.jp-post-card__divider {
	width: 30px;
	height: 2px;
	background: rgba(0, 0, 0, 0.1);
	margin: 8px 0;
}

.jp-post-card__excerpt {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.5;
	color: #333;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.jp-blog-pagination {
	margin: 28px 0 8px;
	text-align: center;
}

.jp-blog-pagination .page-numbers {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.jp-blog-pagination .page-numbers li {
	margin: 0;
}

.jp-blog-pagination .page-numbers a,
.jp-blog-pagination .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 10px;
	border: 1px solid #ddd;
	color: var(--jp-navy-deep);
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	background: #fff;
}

.jp-blog-pagination .page-numbers .current {
	background: var(--jp-navy-deep);
	border-color: var(--jp-navy-deep);
	color: #fff;
}

.jp-blog-widget {
	background: #fff;
}

.jp-blog-widget__title {
	margin: 0 0 14px;
	font-size: 16px !important;
	font-weight: 700 !important;
	color: var(--jp-navy-deep) !important;
	text-transform: none;
}

.jp-blog-widget__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.jp-blog-widget__list li {
	padding: 10px 0;
	border-bottom: 1px solid #eee;
}

.jp-blog-widget__list a {
	display: block;
	color: var(--jp-navy-deep) !important;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none !important;
}

.jp-blog-widget__list a:hover {
	color: var(--jp-red) !important;
}

.jp-blog-widget__meta {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: #888;
	line-height: 1.35;
}

/* Single article */
.jp-article__thumb {
	margin: 0 0 16px;
}

.jp-article__img {
	display: block;
	width: 100%;
	height: auto;
}

.jp-article__cats {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 600;
	text-transform: none;
}

.jp-article__cats a {
	color: #2e7d32 !important;
	text-decoration: none !important;
}

.jp-article__title {
	margin: 0 0 10px;
	color: var(--jp-navy-deep) !important;
	font-size: 27px !important;
	font-weight: 700 !important;
	line-height: 1.3;
}

.jp-article__meta {
	margin: 0 0 18px;
	font-size: 13px;
	color: #666;
}

.jp-article__author {
	font-weight: 700;
	color: var(--jp-navy-deep);
}

.jp-article__content {
	font-size: 16px;
	line-height: 1.6;
	color: var(--jp-text);
}

.jp-article__content h2,
.jp-article__content h3 {
	color: var(--jp-navy-deep) !important;
	font-weight: 700 !important;
	margin: 1.4em 0 0.6em;
	line-height: 1.35;
}

.jp-article__content h2 {
	font-size: 25px !important;
}

.jp-article__content h3 {
	font-size: 18px !important;
}

.jp-article__content p {
	margin: 0 0 1em;
	text-align: justify;
}

.jp-article__content ul,
.jp-article__content ol {
	margin: 0 0 1em 1.2em;
	padding: 0;
}

.jp-article__content li {
	margin: 0 0 0.35em;
}

.jp-article__content a {
	color: var(--jp-navy) !important;
}

.jp-article__content img {
	max-width: 100%;
	height: auto;
}

.jp-related {
	margin: 36px 0 20px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

.jp-related__title {
	margin: 0 0 14px;
	font-size: 18px !important;
	font-weight: 700 !important;
	color: var(--jp-navy-deep) !important;
}

.jp-blog--single .comments-area {
	margin-top: 28px;
	padding-top: 18px;
	border-top: 1px solid #eee;
}

.jp-blog--single .comments-area h3,
.jp-blog--single .comment-reply-title {
	color: var(--jp-navy-deep) !important;
	font-size: 18px !important;
}

.jp-blog--single .comment-form input[type="text"],
.jp-blog--single .comment-form input[type="email"],
.jp-blog--single .comment-form textarea {
	width: 100%;
	border: 1px solid #ddd;
	padding: 10px 12px;
	font-family: inherit;
}

.jp-blog--single .comment-form .submit {
	background: var(--jp-red) !important;
	border: 0 !important;
	color: #fff !important;
	padding: 10px 18px !important;
	font-weight: 700 !important;
	cursor: pointer;
}

@media (max-width: 1024px) {
	.jp-blog__layout {
		grid-template-columns: 1fr;
	}

	.jp-blog-grid,
	.jp-blog-grid--related {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 18px;
	}
}

@media (max-width: 767px) {
	.jp-blog-grid,
	.jp-blog-grid--related {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.jp-post-card__title {
		font-size: 17px !important;
	}

	.jp-article__title {
		font-size: 22px !important;
	}
}

