:root {
	/* Repainted 6 September 2026 to the copper and brass palette.
	   Token names kept as they were, so --jgd-teal now holds the
	   brand green rather than a teal. */
	--jgd-teal: #24382F;       /* brand green */
	--jgd-teal-dark: #16261E;  /* brand green, hover */
	--jgd-ink: #3F322F;        /* ink */
	--jgd-muted: #6E625E;      /* muted text */
	--jgd-border: #E7DFD6;     /* rule */
	--jgd-bg-soft: #DFE0F0;    /* cool, the quiet panel ground */
}

.jgd-article-main {
	max-width: 1100px;
	margin: 0 auto;
	padding: 48px 24px 96px;
}

/* Everything text-related sits in a comfortable reading column;
   the featured image is allowed to breathe wider. */
.jgd-article__header,
.jgd-article__content {
	max-width: 750px;
	margin-left: auto;
	margin-right: auto;
}

.jgd-article__title {
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.2;
	font-weight: 800;
	color: var(--jgd-ink);
	margin: 0 0 16px;
}

.jgd-article__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--jgd-muted);
	font-size: 14px;
	margin-bottom: 8px;
}

.jgd-article__meta-dot {
	color: #CFC4B8;
}

.jgd-article__featured-image {
	max-width: 950px;
	margin: 32px auto;
	border-radius: 16px;
	overflow: hidden;
}

.jgd-article__featured-image img {
	width: 100%;
	height: auto;
	display: block;
}

.jgd-article__content {
	font-size: 18px;
	line-height: 1.75;
	color: #26282D;
}

.jgd-article__content p {
	margin: 0 0 24px;
}

.jgd-article__content h2 {
	font-size: 26px;
	font-weight: 800;
	color: var(--jgd-ink);
	margin: 44px 0 16px;
}

.jgd-article__content h3 {
	font-size: 21px;
	font-weight: 700;
	color: var(--jgd-ink);
	margin: 36px 0 14px;
}

.jgd-article__content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 8px 0 24px;
}

.jgd-article__content a {
	color: var(--jgd-teal-dark);
	text-decoration: underline;
}

.jgd-article__content ul,
.jgd-article__content ol {
	margin: 0 0 24px;
	padding-left: 22px;
}

.jgd-article__content li {
	margin-bottom: 8px;
}

.jgd-article__content blockquote {
	margin: 28px 0;
	padding: 16px 24px;
	border-left: 4px solid var(--jgd-teal);
	background: var(--jgd-bg-soft);
	font-style: italic;
	color: var(--jgd-ink);
}

/* ------------------------------------------------------------------
   1.2.0, 14 September 2026. Category label on the featured image, More
   guides cards drawn like the guides page, tables that fit a phone.
   The cards use their own class names: the guides page wrapper class would
   bring its page level rules and push the article to the left.
   ------------------------------------------------------------------ */

.jgd-article__featured-image {
	position: relative;
}

body .jgd-article__cat,
body .jgd-more-guides .jgd-more-guides__cat {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 2;
	font-family: "Satoshi", "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
	font-weight: 500;
	font-size: .875rem;
	line-height: 1.2;
	padding: 7px 13px;
	border-radius: 999px;
	background: #FFFBF6;
	color: #24382F;
	text-decoration: none;
	box-shadow: 0 1px 3px rgba(22, 36, 29, .18);
	transition: background-color .15s ease, color .15s ease;
}

body .jgd-more-guides .jgd-more-guides__cat {
	top: 14px;
	left: 14px;
}

body .jgd-article__cat:hover,
body .jgd-article__cat:focus-visible,
body .jgd-more-guides .jgd-more-guides__cat:hover,
body .jgd-more-guides .jgd-more-guides__cat:focus-visible {
	background: #24382F;
	color: #FFFBF6;
}

/* More guides */
.jgd-more-guides {
	margin-top: clamp(64px, 8vw, 104px);
}

.jgd-more-guides__title {
	font-family: "Satoshi", "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
	font-weight: 700;
	font-size: clamp(1.6rem, 2.7vw, 2.15rem);
	line-height: 1.15;
	letter-spacing: -.02em;
	color: #24382F;
	margin: 0 0 clamp(20px, 2.4vw, 28px);
}

.jgd-more-guides__grid {
	display: grid;
	gap: clamp(14px, 1.8vw, 22px);
	grid-template-columns: 1fr;
}

@media (min-width: 680px) {
	.jgd-more-guides__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1020px) {
	.jgd-more-guides__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.jgd-more-guides__card {
	position: relative;
	background: #FFFDFA;
	border: 1px solid #E7DFD6;
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: border-color .17s ease, transform .17s ease;
}

.jgd-more-guides__card:hover {
	border-color: #CFC4B8;
	transform: translateY(-3px);
}

.jgd-more-guides__image {
	display: block;
}

.jgd-more-guides__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 0;
	margin: 0;
}

.jgd-more-guides__body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.jgd-more-guides__card-title {
	font-family: "Satoshi", "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
	font-weight: 700;
	font-size: 1.1875rem;
	line-height: 1.3;
	letter-spacing: -.01em;
	color: #24382F;
	margin: 0;
}

body .jgd-more-guides__card-title a {
	color: inherit;
	text-decoration: none;
}

body .jgd-more-guides__card-title a:hover {
	color: #3F322F;
}

.jgd-more-guides__stand {
	margin: 0;
	color: #6E625E;
	font-size: .9375rem;
	line-height: 1.6;
}

.jgd-more-guides__meta {
	margin: auto 0 0;
	padding-top: 12px;
	font-family: "Satoshi", "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
	font-weight: 500;
	font-size: .875rem;
	color: #918682;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	align-items: center;
}

.jgd-more-guides__meta .sep {
	opacity: .55;
}

body .jgd-more-guides__card--no-image .jgd-more-guides__cat {
	position: static;
	align-self: flex-start;
	margin: 20px 20px 0;
}

.jgd-more-guides__all {
	margin: 28px 0 0;
}

body .jgd-more-guides__all a {
	font-family: "Satoshi", "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
	font-weight: 500;
	font-size: .9375rem;
	color: #24382F;
	text-decoration: none;
	border-bottom: 1px solid #CFC4B8;
	padding-bottom: 3px;
	transition: border-color .16s ease;
}

body .jgd-more-guides__all a:hover {
	border-bottom-color: #24382F;
}

/* Tables: styled on a computer, one card per row on a phone so nothing is
   cut. Each cell carries its column name as data-label, added in PHP. */
.jgd-article__content figure.wp-block-table {
	margin: 8px 0 32px;
	overflow: visible;
}

.jgd-article__content table {
	width: 100%;
	border-collapse: collapse;
	border: 0;
	margin: 8px 0 32px;
	font-size: 16px;
	line-height: 1.55;
}

.jgd-article__content figure.wp-block-table table {
	margin: 0;
}

.jgd-article__content thead {
	border: 0;
}

.jgd-article__content th,
.jgd-article__content td {
	text-align: left;
	vertical-align: top;
	padding: 12px 14px;
	border: 0;
	border-bottom: 1px solid #E7DFD6;
	background: transparent;
}

.jgd-article__content thead th {
	font-family: "Satoshi", "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
	font-weight: 700;
	font-size: 15px;
	color: #24382F;
	border-bottom: 1px solid #CFC4B8;
}

.jgd-article__content tbody td:first-child {
	font-weight: 500;
	color: #3F322F;
}

@media (max-width: 640px) {
	.jgd-article__content table,
	.jgd-article__content tbody,
	.jgd-article__content tr,
	.jgd-article__content td {
		display: block;
		width: 100%;
	}
	.jgd-article__content thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
	.jgd-article__content tr {
		background: #FFFDFA;
		border: 1px solid #E7DFD6;
		border-radius: 14px;
		padding: 4px 16px;
		margin-bottom: 12px;
	}
	.jgd-article__content td {
		padding: 10px 0;
	}
	.jgd-article__content td:last-child {
		border-bottom: 0;
	}
	.jgd-article__content td::before {
		content: attr(data-label);
		display: block;
		font-family: "Satoshi", "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
		font-weight: 500;
		font-size: 14px;
		color: #6E625E;
		margin-bottom: 2px;
	}
	.jgd-article__content tbody td:first-child {
		font-family: "Satoshi", "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
		font-weight: 700;
		font-size: 18px;
		color: #24382F;
	}
	.jgd-article__content tbody td:first-child::before {
		content: none;
	}
}

@media (max-width: 600px) {
	.jgd-article-main {
		padding: 32px 16px 64px;
	}
	body .jgd-article__cat {
		top: 12px;
		left: 12px;
	}
}
