/* ==========================================================================
   JPPradhan Custom Theme — main stylesheet
   Design tokens first; everything derives from them so re-skinning the
   whole site means changing a handful of variables.
   ========================================================================== */

:root {
	--jpp-accent: #d62e2e;
	--jpp-ink: #161616;
	--jpp-ink-soft: #555;
	--jpp-line: #e4e4e4;
	--jpp-bg: #ffffff;
	--jpp-bg-soft: #f5f5f5;
	--jpp-dark: #1b1b1b;
	--jpp-font-body: "Work Sans", system-ui, -apple-system, sans-serif;
	--jpp-font-serif: "Source Serif 4", Georgia, serif;
	--jpp-wrap: 1240px;
	--jpp-radius: 4px;
	--jpp-shadow: 0 2px 10px rgba(0,0,0,.07);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
body {
	margin: 0;
	font-family: var(--jpp-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--jpp-ink);
	background: var(--jpp-bg-soft);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--jpp-accent); }
button { font-family: inherit; cursor: pointer; }
.jpp-wrap { max-width: var(--jpp-wrap); margin: 0 auto; padding: 0 20px; }
.screen-reader-text {
	clip: rect(1px,1px,1px,1px); position: absolute !important;
	height: 1px; width: 1px; overflow: hidden;
}
.skip-link:focus {
	clip: auto; height: auto; width: auto; z-index: 1000;
	left: 8px; top: 8px; background: var(--jpp-accent); color: #fff; padding: 8px 14px;
}
:focus-visible { outline: 2px solid var(--jpp-accent); outline-offset: 2px; }

/* ---------- Top social bar ---------- */
.jpp-top-bar { background: var(--jpp-dark); }
.jpp-top-bar-in { display: flex; justify-content: flex-end; padding-top: 6px; padding-bottom: 6px; }
.jpp-social { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.jpp-social a { color: #fff; font-size: 19px; padding: 4px 6px; display: inline-block; }
.jpp-social a:hover { color: var(--jpp-accent); }

/* ---------- Masthead (logo above nav) ---------- */
.jpp-masthead { background: var(--jpp-bg); border-bottom: 1px solid var(--jpp-line); }
.jpp-masthead .jpp-wrap { text-align: center; padding-top: 22px; padding-bottom: 18px; }
.jpp-masthead-logo img { max-height: 110px; margin: 0 auto; }
.jpp-site-title {
	margin: 10px 0 0;
	font-size: 26px; font-weight: 800; letter-spacing: .04em;
	text-transform: uppercase;
}

/* ---------- Navigation ---------- */
.jpp-nav {
	background: var(--jpp-bg);
	border-bottom: 1px solid var(--jpp-line);
	position: sticky; top: 0; z-index: 600;
	box-shadow: 0 1px 0 var(--jpp-line);
}
.jpp-nav-in { display: flex; align-items: center; gap: 14px; min-height: 56px; }
.jpp-nav.is-stuck { box-shadow: var(--jpp-shadow); }

.jpp-fly-but {
	display: inline-flex; flex-direction: column; gap: 5px;
	background: none; border: 0; padding: 8px 4px;
}
.jpp-fly-but span { width: 24px; height: 3px; background: var(--jpp-ink); transition: transform .2s; }

.jpp-nav-logo { display: none; align-items: center; font-weight: 800; }
.jpp-nav-logo img { max-height: 40px; }
.jpp-nav.is-stuck .jpp-nav-logo,
.jpp-nav-logo.always { display: inline-flex; }

.jpp-main-menu { flex: 1; }
.jpp-menu { display: flex; list-style: none; margin: 0; padding: 0; }
.jpp-menu > li > a {
	display: block; padding: 17px 13px;
	font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
}
.jpp-menu li { position: relative; }
.jpp-menu li.current-menu-item > a,
.jpp-menu li:hover > a { color: var(--jpp-accent); }

/* Dropdowns — two levels, like the live site */
.jpp-menu ul {
	position: absolute; top: 100%; left: 0; min-width: 240px;
	background: var(--jpp-bg); border: 1px solid var(--jpp-line);
	box-shadow: var(--jpp-shadow); list-style: none; margin: 0; padding: 6px 0;
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .15s, transform .15s; z-index: 700;
}
.jpp-menu ul ul { top: -7px; left: 100%; }
.jpp-menu li:hover > ul,
.jpp-menu li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.jpp-menu ul a { display: block; padding: 9px 16px; font-size: 14px; font-weight: 500; }
.jpp-menu ul li:hover > a { background: var(--jpp-bg-soft); color: var(--jpp-accent); }
.jpp-menu .menu-item-has-children > a::after { content: " ▾"; font-size: 10px; }
.jpp-menu ul .menu-item-has-children > a::after { content: " ▸"; }

/* Nav search */
.jpp-nav-right { position: relative; margin-left: auto; }
.jpp-search-but { background: none; border: 0; font-size: 17px; padding: 8px; }
.jpp-search-fly {
	position: absolute; right: 0; top: calc(100% + 10px); width: 280px;
	background: var(--jpp-bg); border: 1px solid var(--jpp-line); box-shadow: var(--jpp-shadow);
	padding: 10px; display: none; z-index: 700;
}
.jpp-search-fly.is-open { display: block; }
.jpp-searchform { display: flex; }
.jpp-searchform input { flex: 1; border: 1px solid var(--jpp-line); padding: 9px 12px; font-size: 14px; }
.jpp-searchform button { border: 0; background: var(--jpp-accent); color: #fff; padding: 0 14px; }

/* ---------- Fly-out panel ---------- */
.jpp-fly { position: fixed; inset: 0; z-index: 900; visibility: hidden; }
.jpp-fly.is-open { visibility: visible; }
.jpp-fly-overlay {
	position: absolute; inset: 0; background: rgba(0,0,0,.55);
	opacity: 0; transition: opacity .25s; z-index: 1;
}
.jpp-fly.is-open .jpp-fly-overlay { opacity: 1; }
.jpp-fly-panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: 300px; max-width: 86vw;
	background: var(--jpp-dark); color: #fff; padding: 56px 24px 24px;
	transform: translateX(-100%); transition: transform .25s; overflow-y: auto;
	z-index: 2;
}
.jpp-fly.is-open .jpp-fly-panel { transform: translateX(0); }
.jpp-fly-close {
	position: absolute; top: 10px; right: 12px; background: none; border: 0;
	color: #fff; font-size: 30px; line-height: 1;
}
.jpp-fly-search { margin-bottom: 18px; }
.jpp-fly-list { list-style: none; margin: 0; padding: 0; }
.jpp-fly-list a { display: block; padding: 10px 0; font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); }
.jpp-fly-list a:hover { color: var(--jpp-accent); }
.jpp-fly-list ul { list-style: none; padding-left: 16px; }
.jpp-fly-list ul a { font-weight: 400; font-size: 14px; color: #ccc; }
.jpp-fly .jpp-social { margin-top: 20px; }

/* ---------- Homepage layout: three columns ---------- */
.jpp-home {
	display: grid; gap: 26px;
	grid-template-columns: 280px minmax(0, 1fr) 300px;
	padding: 28px 0 40px;
}
.jpp-sticky { position: sticky; top: 72px; }

/* Tabs */
.jpp-tabs { background: var(--jpp-bg); border: 1px solid var(--jpp-line); }
.jpp-tabs-nav { display: flex; }
.jpp-tabs-nav button {
	flex: 1; border: 0; background: var(--jpp-bg-soft);
	padding: 11px 4px; font-size: 12px; font-weight: 700; text-transform: uppercase;
	border-bottom: 2px solid transparent; letter-spacing: .03em;
}
.jpp-tabs-nav button[aria-selected="true"] {
	background: var(--jpp-bg); border-bottom-color: var(--jpp-accent); color: var(--jpp-accent);
}
.jpp-tab-panel { padding: 14px; }

.jpp-feat-list { list-style: none; margin: 0; padding: 0; }
.jpp-feat-item { margin-bottom: 18px; }
.jpp-feat-item:last-child { margin-bottom: 0; }
.jpp-feat-img { position: relative; margin-bottom: 8px; }
.jpp-feat-item h4 { margin: 3px 0 0; font-size: 15px; line-height: 1.35; }

/* Generic small post list */
.jpp-post-list { list-style: none; margin: 0; padding: 0; }
.jpp-list-item { border-bottom: 1px solid var(--jpp-line); padding: 10px 0; }
.jpp-list-item:last-child { border-bottom: 0; }
.jpp-list-item a { display: flex; gap: 11px; align-items: flex-start; }
.jpp-list-thumb img { width: 64px; height: 64px; object-fit: cover; }
.jpp-list-cat {
	display: block; font-size: 11px; font-weight: 700; text-transform: uppercase;
	color: var(--jpp-accent); letter-spacing: .04em;
}
.jpp-list-title { font-size: 14px; font-weight: 600; line-height: 1.35; }

/* Views badge */
.jpp-views {
	position: absolute; right: 6px; bottom: 6px;
	background: rgba(0,0,0,.7); color: #fff;
	font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: var(--jpp-radius);
	display: inline-flex; align-items: center; gap: 4px;
}
.jpp-byline .jpp-views, .jpp-card-text .jpp-views { position: static; background: none; color: var(--jpp-ink-soft); }

/* Widgets */
.jpp-widget { background: var(--jpp-bg); border: 1px solid var(--jpp-line); padding: 16px; margin-bottom: 24px; }
.jpp-widget-title {
	margin: 0 0 14px; font-size: 16px; font-weight: 800; text-transform: uppercase;
	letter-spacing: .03em; border-bottom: 2px solid var(--jpp-line); padding-bottom: 8px;
}
.jpp-widget-title span { border-bottom: 2px solid var(--jpp-accent); padding-bottom: 8px; }

/* Post rows (homepage middle sections) */
.jpp-row-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.jpp-row-grid.jpp-row-1 { grid-template-columns: 1fr; }
.jpp-row-grid.jpp-row-2 { grid-template-columns: repeat(2, 1fr); }
.jpp-row-card .jpp-row-img { position: relative; margin-bottom: 8px; }
.jpp-row-card h4 { margin: 3px 0 0; font-size: 15px; line-height: 1.35; }

/* Photo gallery scroller */
.jpp-gallery { position: relative; }
.jpp-gallery-track {
	display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
	scrollbar-width: thin; padding-bottom: 6px;
}
.jpp-gallery-slide { flex: 0 0 86%; margin: 0; scroll-snap-align: start; }
.jpp-gallery-slide img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.jpp-gallery-slide figcaption { font-size: 13px; color: var(--jpp-ink-soft); padding-top: 6px; }
.jpp-gallery-prev, .jpp-gallery-next {
	position: absolute; top: 42%; transform: translateY(-50%);
	background: rgba(0,0,0,.55); color: #fff; border: 0;
	width: 36px; height: 36px; border-radius: 50%; font-size: 15px;
}
.jpp-gallery-prev { left: 8px; }
.jpp-gallery-next { right: 8px; }

/* Tag cloud */
.jpp-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.jpp-tag-cloud a {
	background: var(--jpp-bg-soft); border: 1px solid var(--jpp-line);
	padding: 5px 12px; font-size: 13px; font-weight: 600; border-radius: 999px;
}
.jpp-tag-cloud a:hover { background: var(--jpp-accent); border-color: var(--jpp-accent); color: #fff; }

/* Ad widget */
.jpp_widget_ad { padding: 0; border: 0; background: none; }
.jpp-ad img { margin: 0 auto; }

/* Reviews */
.jpp-review-form { display: grid; gap: 9px; margin-bottom: 16px; }
.jpp-review-form input, .jpp-review-form select, .jpp-review-form textarea {
	border: 1px solid var(--jpp-line); padding: 9px 11px; font-family: inherit; font-size: 14px; width: 100%;
}
.jpp-review-form button {
	background: var(--jpp-accent); color: #fff; border: 0; padding: 10px; font-weight: 700;
}
.jpp-review-msg { margin: 0; font-size: 13px; }
.jpp-review-list { list-style: none; margin: 0; padding: 0; }
.jpp-review-list li { border-top: 1px solid var(--jpp-line); padding: 12px 0; }
.jpp-review-meta { display: flex; justify-content: space-between; font-size: 13px; }
.jpp-review-stars { color: #e8a015; }
.jpp-review-list p { margin: 6px 0 0; font-size: 14px; }
.jpp-review-count { font-weight: 700; }

/* Blog feed cards */
.jpp-card { background: var(--jpp-bg); border: 1px solid var(--jpp-line); margin-bottom: 18px; }
.jpp-card-link { display: grid; grid-template-columns: 270px 1fr; }
.jpp-card-img { position: relative; }
.jpp-card-img img { width: 100%; height: 100%; object-fit: cover; }
.jpp-card-text { padding: 16px 18px; }
.jpp-card-text h3 { margin: 4px 0 8px; font-size: 19px; line-height: 1.3; }
.jpp-card-excerpt { margin: 0; font-size: 14px; color: var(--jpp-ink-soft); }

#jpp-load-more {
	display: block; width: 100%; padding: 13px;
	background: var(--jpp-dark); color: #fff; border: 0;
	font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
#jpp-load-more:hover { background: var(--jpp-accent); }
#jpp-load-more[disabled] { opacity: .6; cursor: wait; }

/* ---------- Archive / single layout ---------- */
.jpp-archive-layout {
	display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr) 300px;
	padding: 28px 0 40px;
}
.jpp-archive-header { padding: 26px 0 0; }
.jpp-archive-title { margin: 0 0 6px; font-size: 30px; }
.jpp-archive-desc { color: var(--jpp-ink-soft); }
.jpp-pagination { margin-top: 10px; }
.jpp-pagination .page-numbers {
	display: inline-block; padding: 8px 13px; background: var(--jpp-bg);
	border: 1px solid var(--jpp-line); font-weight: 600; margin-right: 4px;
}
.jpp-pagination .current { background: var(--jpp-accent); color: #fff; border-color: var(--jpp-accent); }

/* ---------- Single posts ---------- */
.jpp-single { background: var(--jpp-bg); border: 1px solid var(--jpp-line); padding: 28px 32px; }
.jpp-cat-label {
	display: inline-block; background: var(--jpp-accent); color: #fff;
	font-size: 12px; font-weight: 700; text-transform: uppercase;
	padding: 4px 11px; letter-spacing: .04em;
}
.jpp-cat-label:hover { color: #fff; opacity: .9; }
.jpp-single-title { margin: 12px 0 14px; font-size: 34px; line-height: 1.2; }
.jpp-byline { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.jpp-byline img { border-radius: 50%; }
.jpp-byline-text { font-size: 14px; color: var(--jpp-ink-soft); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.jpp-byline-author a { font-weight: 700; color: var(--jpp-ink); }

.jpp-share { display: flex; gap: 7px; margin-bottom: 18px; flex-wrap: wrap; }
.jpp-share a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; color: #fff; font-size: 15px; border-radius: var(--jpp-radius);
}
.jpp-share a:hover { color: #fff; opacity: .85; }
.jpp-share-fb { background: #3b5998; }
.jpp-share-x { background: #111; }
.jpp-share-wa { background: #25d366; }
.jpp-share-pin { background: #bd081c; }
.jpp-share-mail { background: #777; }

.jpp-single-img { margin-bottom: 18px; }
.jpp-img-caption { font-size: 13px; color: var(--jpp-ink-soft); margin: 6px 0 0; }
.jpp-single-content {
	font-family: var(--jpp-font-serif);
	font-size: 18px; line-height: 1.75;
}
.jpp-single-content h2, .jpp-single-content h3, .jpp-single-content h4 { font-family: var(--jpp-font-body); }
.jpp-single-content a { color: var(--jpp-accent); text-decoration: underline; }
.jpp-single-content blockquote {
	border-left: 4px solid var(--jpp-accent); margin: 1.4em 0; padding: .3em 0 .3em 1.2em;
	color: var(--jpp-ink-soft); font-style: italic;
}
.jpp-single-tags { margin-top: 22px; }
.jpp-post-nav { display: flex; justify-content: space-between; gap: 18px; margin-top: 24px; font-weight: 600; }

/* Comments */
.jpp-comments { background: var(--jpp-bg); border: 1px solid var(--jpp-line); padding: 24px 32px; margin-top: 22px; }
.jpp-comment-list { list-style: none; padding: 0; }
.jpp-comment-list .comment { border-top: 1px solid var(--jpp-line); padding: 14px 0; }
.jpp-comment-list .children { list-style: none; padding-left: 28px; }
.comment-form input, .comment-form textarea { border: 1px solid var(--jpp-line); padding: 9px 11px; width: 100%; font-family: inherit; }
.comment-form .submit { background: var(--jpp-accent); color: #fff; border: 0; padding: 11px 22px; font-weight: 700; width: auto; }

/* 404 */
.jpp-404 { text-align: center; padding: 70px 0 90px; }
.jpp-404 h1 { font-size: 90px; margin: 0; color: var(--jpp-accent); }
.jpp-404 .jpp-searchform { max-width: 420px; margin: 22px auto 0; }

/* ---------- Footer ---------- */
.jpp-footer { background: var(--jpp-dark); color: #ccc; margin-top: 20px; }
.jpp-footer .jpp-wrap { padding-top: 40px; padding-bottom: 24px; }
.jpp-footer-info { text-align: center; max-width: 560px; margin: 0 auto 30px; }
.jpp-footer-logo { margin: 0 auto 14px; max-height: 90px; }
.jpp-footer-text { font-size: 15px; }
.jpp-footer-info .jpp-social { justify-content: center; margin-top: 12px; }
.jpp-footer-widgets { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 24px; }
.jpp-footer .jpp-widget { background: transparent; border-color: rgba(255,255,255,.14); }
.jpp-footer .jpp-widget-title { color: #fff; border-color: rgba(255,255,255,.14); }
.jpp-footer .jpp-tag-cloud a { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #ddd; }
.jpp-footer .jpp-list-title, .jpp-footer a { color: #ddd; }
.jpp-footer a:hover { color: var(--jpp-accent); }
.jpp-footer-bottom {
	border-top: 1px solid rgba(255,255,255,.14);
	padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	font-size: 13px;
}
.jpp-footer-menu { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; font-weight: 600; }
.jpp-copyright { margin: 0; text-transform: uppercase; letter-spacing: .03em; }

.jpp-to-top {
	position: fixed; right: 18px; bottom: 18px; z-index: 500;
	background: var(--jpp-accent); color: #fff; border: 0;
	padding: 10px 15px; font-weight: 700; border-radius: var(--jpp-radius);
	opacity: 0; visibility: hidden; transition: opacity .2s;
}
.jpp-to-top.is-visible { opacity: 1; visibility: visible; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.jpp-home { grid-template-columns: minmax(0, 1fr) 300px; }
	.jpp-home-left { order: 3; grid-column: 1 / -1; }
	.jpp-home-left .jpp-sticky { position: static; }
}
@media (max-width: 860px) {
	.jpp-main-menu { display: none; } /* fly-out menu takes over */
	.jpp-nav-logo { display: inline-flex; }
	.jpp-masthead-logo img { max-height: 80px; }
	.jpp-home, .jpp-archive-layout { grid-template-columns: 1fr; }
	.jpp-sticky { position: static; }
	.jpp-card-link { grid-template-columns: 1fr; }
	.jpp-card-img img { aspect-ratio: 5 / 3; }
	.jpp-single { padding: 20px 16px; }
	.jpp-single-title { font-size: 26px; }
	.jpp-row-grid, .jpp-row-grid.jpp-row-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.jpp-row-grid, .jpp-row-grid.jpp-row-2 { grid-template-columns: 1fr; }
	.jpp-footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Print: hide chrome (works with the article printer plugin) ---------- */
@media print {
	.jpp-top-bar, .jpp-nav, .jpp-fly, .jpp-share, .jpp-sidebar,
	.jpp-footer, .jpp-to-top, .jpp-comments, .jpp-post-nav { display: none !important; }
}

/* ==========================================================================
   v1.1.0 — visual parity with the old Flex Mag configuration
   ========================================================================== */

/* Teal post-title links (var set from Customizer) */
:root { --jpp-link: #3d8b8b; --jpp-nav-bg: #1B263B; }
.jpp-list-title, .jpp-card-text h3, .jpp-row-card h4, .jpp-feat-item h4,
.jpp-archive-main h3 a, .jpp-post-list a { color: var(--jpp-link); }
.jpp-list-title:hover, .jpp-card-link:hover h3, .jpp-row-card a:hover h4,
.jpp-feat-item a:hover h4 { color: var(--jpp-accent); }
.jpp-list-cat { color: #8a8a8a; }

/* Dark navigation scheme (logo inside the bar, white text) */
.jpp-nav-dark .jpp-nav { background: var(--jpp-nav-bg); border-bottom: 0; }
.jpp-nav-dark .jpp-menu > li > a,
.jpp-nav-dark .jpp-search-but,
.jpp-nav-dark .jpp-nav-logo { color: #fff; }
.jpp-nav-dark .jpp-fly-but span { background: #fff; }
.jpp-nav-dark .jpp-menu > li:hover > a,
.jpp-nav-dark .jpp-menu > li.current-menu-item > a { color: #ffd76d; }
.jpp-nav-dark .jpp-nav-in { min-height: 62px; }
.jpp-nav-logo.always { display: inline-flex; }
.jpp-nav-logo img { max-height: 48px; }

/* Featured tiles strip (full-width row, image with overlay text) */
.jpp-feat-strip {
	display: grid; gap: 2px;
	grid-template-columns: repeat(4, 1fr);
	margin: 0 calc(50% - 50vw); /* full-bleed */
}
.jpp-feat-strip-2 { grid-template-columns: repeat(2, 1fr); }
.jpp-feat-strip-3 { grid-template-columns: repeat(3, 1fr); }
.jpp-feat-strip-5 { grid-template-columns: repeat(5, 1fr); }
.jpp-feat-strip-6 { grid-template-columns: repeat(6, 1fr); }
.jpp-feat-tile { position: relative; overflow: hidden; }
.jpp-feat-tile a { display: block; height: 100%; }
.jpp-feat-tile img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; transition: transform .35s; }
.jpp-feat-tile:hover img { transform: scale(1.04); }
.jpp-feat-tile::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,0) 70%);
}
.jpp-feat-tile-text { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; }
.jpp-feat-tile-cat {
	display: inline-block; background: var(--jpp-nav-bg); color: #fff;
	font-size: 11px; font-weight: 700; text-transform: uppercase;
	letter-spacing: .05em; padding: 4px 10px; margin-bottom: 8px;
}
.jpp-feat-tile h2 {
	margin: 0; color: #fff; font-size: 24px; line-height: 1.25; font-weight: 800;
	text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
.jpp-feat-tile .jpp-views { top: 10px; right: 10px; bottom: auto; z-index: 2; }

/* Column headings (THE LATEST / FEATURED / MOST POPULAR) */
.jpp-col-heading, .jpp-home .jpp-widget-title {
	font-size: 17px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
}
.jpp-col-heading { margin: 0 0 16px; border-bottom: 2px solid var(--jpp-line); padding-bottom: 9px; }
/* Middle "FEATURED" heading: accent underbar under the text, like side columns */
.jpp-col-heading.jpp-widget-title span { border-bottom: 2px solid var(--jpp-accent); padding-bottom: 9px; }

/* Light footer scheme (like the old theme) */
.jpp-footer-light .jpp-footer { background: var(--jpp-bg); color: var(--jpp-ink); border-top: 1px solid var(--jpp-line); }
.jpp-footer-light .jpp-footer .jpp-widget { border: 0; padding: 0; background: none; }
.jpp-footer-light .jpp-footer .jpp-widget-title { color: var(--jpp-ink); border-color: var(--jpp-line); }
.jpp-footer-light .jpp-footer a, .jpp-footer-light .jpp-footer .jpp-list-title { color: var(--jpp-ink); }
.jpp-footer-light .jpp-footer a:hover { color: var(--jpp-accent); }
.jpp-footer-light .jpp-footer .jpp-social a { color: var(--jpp-ink); }
.jpp-footer-light .jpp-footer .jpp-social a:hover { color: var(--jpp-accent); }
.jpp-footer-light .jpp-footer .jpp-tag-cloud a { background: var(--jpp-bg-soft); border-color: var(--jpp-line); color: var(--jpp-ink-soft); }
.jpp-footer-light .jpp-footer .jpp-tag-cloud a:hover { background: var(--jpp-accent); color: #fff; }
.jpp-footer-light .jpp-footer-bottom { border-top-color: var(--jpp-line); }
.jpp-footer-light .jpp-review-form { background: var(--jpp-dark); padding: 16px; }
.jpp-footer-light .jpp-review-form input,
.jpp-footer-light .jpp-review-form select,
.jpp-footer-light .jpp-review-form textarea { background: #2a2a2a; border-color: #444; color: #eee; }

/* Footer widgets side by side like the old layout */
.jpp-footer-widgets { align-items: start; }

/* Featured strip responsive */
@media (max-width: 1080px) {
	.jpp-feat-strip, .jpp-feat-strip-5, .jpp-feat-strip-6 { grid-template-columns: repeat(2, 1fr); }
	.jpp-feat-tile img { min-height: 260px; }
	.jpp-feat-tile h2 { font-size: 19px; }
}
@media (max-width: 560px) {
	.jpp-feat-strip, .jpp-feat-strip-2, .jpp-feat-strip-3 { grid-template-columns: 1fr; }
	.jpp-feat-tile img { min-height: 230px; }
}

/* v1.2.0 — font variables applied (set from Customizer → Fonts) */
:root { --jpp-font-head: "Montserrat", sans-serif; --jpp-font-nav: "Montserrat", sans-serif; --jpp-font-feat: "Work Sans", sans-serif; }
h1, h2, h3, h4, h5, h6, .jpp-widget-title, .jpp-col-heading, .jpp-archive-title { font-family: var(--jpp-font-head); }
.jpp-menu > li > a, .jpp-menu ul a, .jpp-fly-list a, .jpp-site-title { font-family: var(--jpp-font-nav); }
.jpp-feat-tile h2, .jpp-single-title, .jpp-card-text h3, .jpp-row-card h4, .jpp-feat-item h4 { font-family: var(--jpp-font-feat); }
.jpp-single-content { font-family: var(--jpp-font-body); font-size: 17px; }

/* ==========================================================================
   v1.2.1 — three-column footer like the old theme:
   [ logo + tagline + social ] [ widget 1 (Popular Tags) ] [ widget 2 (Reviews) ]
   ========================================================================== */
.jpp-footer-grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr 1.1fr;
	gap: 40px;
	align-items: start;
	margin-bottom: 26px;
}
/* footer widgets become direct grid columns */
.jpp-footer-widgets { display: contents; }
.jpp-footer-grid .jpp-footer-info {
	text-align: center;
	max-width: none;
	margin: 0;
	padding-top: 6px;
}
.jpp-footer-grid .jpp-footer-info .jpp-footer-text { font-size: 15px; line-height: 1.6; }
.jpp-footer .jpp-widget { margin-bottom: 0; }

/* Compact, scrollable reviews column (like the old footer) */
.jpp-footer .jpp-review-form { gap: 7px; }
.jpp-footer .jpp-review-form textarea { rows: 2; min-height: 64px; }
.jpp-footer .jpp-review-list {
	max-height: 360px;
	overflow-y: auto;
	scrollbar-width: thin;
	padding-right: 8px;
}
.jpp-footer .jpp-review-list p { font-size: 13px; line-height: 1.55; }
.jpp-footer .jpp-review-count { margin: 14px 0 4px; }

/* Tag pills shouldn't stretch the column */
.jpp-footer .jpp-tag-cloud { align-content: flex-start; }

@media (max-width: 980px) {
	.jpp-footer-grid { grid-template-columns: 1fr 1fr; }
	.jpp-footer-grid .jpp-footer-info { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.jpp-footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   v1.2.2 — footer grid robustness + desktop left column matches original
   ========================================================================== */

/* Make the footer grid place the info block first, then widgets, and never
   let a long reviews list blow out the column height. Works regardless of
   which footer widget comes first. */
.jpp-footer-grid {
	display: grid !important;
	grid-template-columns: 0.9fr 1fr 1fr !important;
	gap: 36px !important;
	align-items: start !important;
}
.jpp-footer-grid .jpp-footer-info { order: 0; }
.jpp-footer-grid .jpp-footer-widgets { display: contents !important; }
.jpp-footer-grid .jpp-footer-widgets > .jpp-widget { order: 1; align-self: start; }

/* Hard cap on the reviews list so it can't run down the page */
.jpp-footer .jpp-review-list {
	max-height: 320px !important;
	overflow-y: auto !important;
}
.jpp-footer .jpp_widget_reviews { max-height: 540px; overflow: hidden; }

@media (max-width: 980px) {
	.jpp-footer-grid { grid-template-columns: 1fr 1fr !important; }
	.jpp-footer-grid .jpp-footer-info { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.jpp-footer-grid { grid-template-columns: 1fr !important; }
}



/* ==========================================================================
   v1.3.3 — navy footer BOTTOM strip only + properly scrollable reviews box
   ========================================================================== */

/* ONLY the bottom strip (menu + copyright) becomes navy — full-bleed width.
   The upper footer (logo, reviews, tags) keeps the light background. */
.jpp-footer .jpp-footer-bottom,
.jpp-footer-light .jpp-footer .jpp-footer-bottom {
	background: var(--jpp-nav-bg) !important;
	color: #cfd6e4 !important;
	margin-top: 30px !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	padding: 18px calc(50vw - 50% + 20px) !important;
	border-top: 0 !important;
}
.jpp-footer .jpp-footer-bottom a,
.jpp-footer .jpp-footer-bottom .jpp-footer-menu a,
.jpp-footer .jpp-footer-bottom .jpp-copyright,
.jpp-footer-light .jpp-footer .jpp-footer-bottom a,
.jpp-footer-light .jpp-footer .jpp-footer-bottom .jpp-copyright { color: #cfd6e4 !important; }
.jpp-footer .jpp-footer-bottom a:hover { color: #ffd76d !important; }

/* Reviews: keep the compact scrollbox, but make it genuinely scrollable so
   readers can scroll inside to reach every review in full. */
.jpp-footer .jpp_widget_reviews { max-height: none !important; overflow: visible !important; }
.jpp-footer .jpp-review-list {
	max-height: 340px !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	padding-right: 10px;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}
.jpp-footer .jpp-review-list::-webkit-scrollbar { width: 8px; }
.jpp-footer .jpp-review-list::-webkit-scrollbar-thumb { background: rgba(0,0,0,.25); border-radius: 4px; }
.jpp-footer .jpp-review-list p { font-size: 13.5px; line-height: 1.6; }

/* ==========================================================================
   v1.3.4 — fly-out menu links clickable + clear hover state
   ========================================================================== */
.jpp-fly-panel { z-index: 2 !important; }
.jpp-fly-overlay { z-index: 1 !important; }
.jpp-fly-nav, .jpp-fly-list, .jpp-fly-list li, .jpp-fly-list a { position: relative; z-index: 3; }
.jpp-fly-list a {
	display: block;
	pointer-events: auto;
	cursor: pointer;
	transition: color .15s;
}
.jpp-fly-list a:hover,
.jpp-fly-list a:focus { color: #ffd76d !important; }
.jpp-fly-search, .jpp-fly .jpp-social { position: relative; z-index: 3; }
