/*
Theme Name: Jeremy Gaetan
Theme URI: https://jeremygaetan.com/
Description: Campaign theme for Jeremy Gaetan — Councillor for Ward 2, Burlington, Ontario. Practical Solutions. Stronger Community.
Author: Jeremy Gaetan
Author URI: https://jeremygaetan.com/
Version: 1.6.1
Text Domain: jg
*/

/* --------------------------------------------------------------------------
   Brand tokens (complement Tailwind navy / leaf palette)
   -------------------------------------------------------------------------- */
:root {
	--jg-navy: #02265e;
	--jg-navy-soft: #e8eef6;
	--jg-navy-mid: #0a3a6e;
	--jg-leaf: #036929;
	--jg-leaf-soft: #e6f4ec;
	--jg-leaf-mid: #048a35;
	--jg-white: #ffffff;
	--jg-mist: #f5f8fc;
	--jg-sky: #dce8f4;
	--jg-gold: #c9a227;
	--jg-topbar: #e7ebf0;
	--jg-ink: #02265e;
	--jg-muted: #4a5f78;
	--jg-radius: 0.75rem;
	--jg-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
html {
	scroll-behavior: smooth;
}

body {
	color: var(--jg-ink);
	background: var(--jg-white);
}

::selection {
	background: rgba(3, 105, 41, 0.18);
	color: var(--jg-navy);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.header-inner {
	width: 100%;
	max-width: 100rem;
}

.nav-link {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.5rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--jg-navy);
	border-radius: 0.5rem;
	white-space: nowrap;
	transition: color 0.2s var(--jg-ease), background 0.2s var(--jg-ease);
}

.nav-link:hover,
.nav-link:focus-visible {
	color: var(--jg-leaf);
	background: var(--jg-leaf-soft);
	outline: none;
}

.mobile-link {
	display: block;
	padding: 0.75rem 0.5rem;
	font-weight: 500;
	color: var(--jg-navy);
	border-radius: 0.5rem;
	transition: background 0.2s ease;
}

.mobile-link:hover {
	background: var(--jg-navy-soft);
}

#site-header.is-scrolled {
	box-shadow: 0 8px 28px -16px rgba(2, 38, 94, 0.28);
}

.jg-topbar {
	background: var(--jg-topbar);
	color: var(--jg-navy);
	border-bottom: 1px solid color-mix(in srgb, var(--jg-navy) 8%, transparent);
}

.jg-topbar__nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.15rem 0.15rem;
	min-height: 2.1rem;
}

.jg-topbar__link {
	color: var(--jg-navy);
	font-size: 0.6875rem;
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 1.3;
	text-decoration: none;
	padding: 0.2rem 0.7rem;
	transition: color 0.2s var(--jg-ease);
}

.jg-topbar__link + .jg-topbar__link {
	border-left: 1px solid color-mix(in srgb, var(--jg-navy) 18%, transparent);
}

.jg-topbar__link:hover,
.jg-topbar__link:focus-visible {
	color: var(--jg-leaf);
	outline: none;
}

@media (min-width: 640px) {
	.jg-topbar__nav {
		min-height: 2.2rem;
	}

	.jg-topbar__link {
		font-size: 0.75rem;
	}
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn-primary,
.btn-outline,
.btn-outline-light,
.btn-leaf,
.btn-white {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.7rem 1.25rem;
	font-family: inherit;
	font-weight: 600;
	font-size: 0.9375rem;
	line-height: 1.2;
	border-radius: 9999px;
	cursor: pointer;
	transition: transform 0.2s var(--jg-ease), background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	text-decoration: none;
	white-space: nowrap;
}

.btn-primary {
	background: var(--jg-leaf);
	color: #fff;
	border: 2px solid var(--jg-leaf);
	box-shadow: 0 8px 20px -8px rgba(3, 105, 41, 0.55);
}

.btn-primary:hover {
	background: var(--jg-leaf-mid);
	border-color: var(--jg-leaf-mid);
	transform: translateY(-1px);
	color: #fff;
}

.btn-outline {
	background: transparent;
	color: var(--jg-navy);
	border: 2px solid var(--jg-navy);
}

.btn-outline:hover {
	background: var(--jg-navy);
	color: #fff;
	transform: translateY(-1px);
}

.btn-outline-light {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.55);
}

.btn-outline-light:hover {
	background: #fff;
	color: var(--jg-navy);
	border-color: #fff;
}

.btn-leaf {
	background: var(--jg-navy);
	color: #fff;
	border: 2px solid var(--jg-navy);
}

.btn-leaf:hover {
	background: var(--jg-navy-mid);
	transform: translateY(-1px);
	color: #fff;
}

.btn-white {
	background: #fff;
	color: var(--jg-navy);
	border: 2px solid #fff;
	box-shadow: 0 8px 20px -12px rgba(2, 38, 94, 0.22);
}

.btn-white:hover {
	background: var(--jg-mist);
	border-color: var(--jg-navy);
	color: var(--jg-navy);
	transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Rotating section backgrounds (content sections only)
   Pattern: white → soft navy mist → soft leaf → soft sky → repeat
   -------------------------------------------------------------------------- */
.section-bg-white {
	background: var(--jg-white);
}

.section-bg-mist {
	background:
		radial-gradient(120% 80% at 100% 0%, rgba(2, 38, 94, 0.06), transparent 55%),
		linear-gradient(180deg, var(--jg-mist) 0%, #eef3f9 100%);
}

.section-bg-leaf {
	background:
		radial-gradient(90% 70% at 0% 100%, rgba(3, 105, 41, 0.08), transparent 50%),
		linear-gradient(180deg, var(--jg-leaf-soft) 0%, #f3faf6 100%);
}

.section-bg-sky {
	background:
		radial-gradient(80% 60% at 100% 50%, rgba(2, 38, 94, 0.07), transparent 55%),
		linear-gradient(180deg, var(--jg-sky) 0%, #f0f5fb 100%);
}

/* Single post hero — sky-blue cast with a visible aerial wash behind the type */
.single-hero.section-bg-sky {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--jg-sky);
}

.single-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: var(--single-hero-bg);
	background-size: cover;
	background-position: center 35%;
	opacity: 0.42;
	pointer-events: none;
}

.single-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(65% 50% at 50% 30%, rgba(245, 248, 252, 0.5), transparent 68%),
		linear-gradient(180deg, rgba(220, 232, 244, 0.48) 0%, rgba(240, 245, 251, 0.58) 100%);
	pointer-events: none;
}

.single-hero > * {
	position: relative;
	z-index: 1;
}

.section-bg-navy {
	background:
		linear-gradient(135deg, var(--jg-navy) 0%, #033a7a 55%, #02461b 140%);
	color: #fff;
}

.section-bg-photo {
	position: relative;
	background-color: var(--jg-navy);
	background-size: cover;
	background-position: center;
	color: #fff;
}

.section-bg-photo::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, rgba(2, 38, 94, 0.92) 0%, rgba(2, 38, 94, 0.78) 48%, rgba(3, 105, 41, 0.55) 100%);
	pointer-events: none;
}

.section-bg-photo > * {
	position: relative;
	z-index: 1;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(ellipse 70% 60% at 85% 40%, rgba(3, 105, 41, 0.08), transparent 55%),
		radial-gradient(ellipse 50% 50% at 10% 90%, rgba(2, 38, 94, 0.08), transparent 50%),
		linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
}

.hero::after {
	content: '';
	position: absolute;
	inset: auto 0 0 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(2, 38, 94, 0.12), transparent);
}

.hero-photo-ring {
	position: relative;
	width: min(100%, 30rem);
	aspect-ratio: 1 / 1;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: 50%;
	padding: 0.45rem;
	background: linear-gradient(145deg, var(--jg-navy) 0%, var(--jg-leaf) 100%);
	box-shadow:
		0 24px 48px -16px rgba(2, 38, 94, 0.35),
		0 0 0 10px rgba(3, 105, 41, 0.08);
	animation: hero-float 7s ease-in-out infinite;
}

@media (min-width: 1024px) {
	.hero-photo-ring {
		width: min(100%, 34rem);
	}
}

.hero-photo-ring--sm {
	width: min(100%, 16.5rem);
	box-shadow:
		0 16px 36px -14px rgba(2, 38, 94, 0.3),
		0 0 0 8px rgba(3, 105, 41, 0.08);
	animation: none;
}

.hero-photo-ring--visit {
	width: min(100%, 22.5rem);
	box-shadow:
		0 20px 44px -16px rgba(2, 38, 94, 0.32),
		0 0 0 9px rgba(3, 105, 41, 0.08);
}

@media (min-width: 1024px) {
	.hero-photo-ring--sm {
		width: min(100%, 16.5rem);
	}

	.hero-photo-ring--visit {
		width: min(100%, 26rem);
	}
}

.hero-photo-ring img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	max-width: none;
	object-fit: cover;
	object-position: center;
	border-radius: 50%;
	border: 4px solid #fff;
}

@keyframes hero-float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.35rem 0.85rem;
	border-radius: 9999px;
	background: var(--jg-navy);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hero-badge svg {
	width: 0.9rem;
	height: 0.9rem;
	color: #7dce9a;
}

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.eyebrow {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--jg-leaf);
}

.section-title {
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: var(--jg-navy);
}

.section-lead {
	font-size: 1.125rem;
	line-height: 1.65;
	color: var(--jg-muted);
	max-width: 40rem;
}

.section-bg-navy .section-title,
.section-bg-photo .section-title {
	color: #fff;
}

.section-bg-navy .section-lead,
.section-bg-photo .section-lead {
	color: rgba(255, 255, 255, 0.82);
}

.section-bg-navy .eyebrow,
.section-bg-photo .eyebrow {
	color: #9fe0b5;
}

/* --------------------------------------------------------------------------
   Priority cards — two per row
   -------------------------------------------------------------------------- */
.priority-item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem 1.25rem;
	align-items: start;
	height: 100%;
	padding: 1.5rem 1.35rem;
	border: 1px solid rgba(2, 38, 94, 0.1);
	border-radius: 1rem;
	background: var(--jg-mist);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 640px) {
	.priority-item {
		padding: 1.75rem 1.5rem;
		gap: 1rem 1.5rem;
	}
}

.priority-item:hover {
	border-color: rgba(3, 105, 41, 0.28);
	box-shadow: 0 12px 28px -16px rgba(2, 38, 94, 0.22);
}

.priority-num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 1rem;
	font-weight: 800;
	font-size: 1.25rem;
	color: #fff;
	background: linear-gradient(145deg, var(--jg-navy), var(--jg-leaf));
	flex-shrink: 0;
}

.priority-list {
	margin-top: 0.75rem;
	display: grid;
	gap: 0.4rem;
}

.priority-list li {
	position: relative;
	padding-left: 1.15rem;
	color: var(--jg-muted);
	line-height: 1.5;
}

.priority-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: var(--jg-leaf);
}

/* --------------------------------------------------------------------------
   Bio / meet grid
   -------------------------------------------------------------------------- */
.bio-item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	align-items: start;
}

.bio-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 1rem;
	background: linear-gradient(145deg, var(--jg-navy), var(--jg-leaf));
	color: #fff;
	flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.jg-label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--jg-navy);
	margin-bottom: 0.35rem;
}

.jg-input,
.jg-textarea,
.jg-select {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1.5px solid rgba(2, 38, 94, 0.18);
	border-radius: 0.75rem;
	background: #fff;
	color: var(--jg-navy);
	font: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jg-input:focus,
.jg-textarea:focus,
.jg-select:focus {
	outline: none;
	border-color: var(--jg-leaf);
	box-shadow: 0 0 0 3px rgba(3, 105, 41, 0.15);
}

.jg-textarea {
	min-height: 7rem;
	resize: vertical;
}

/* --------------------------------------------------------------------------
   Contact Form 7 — match theme form controls
   -------------------------------------------------------------------------- */
.jg-contact-form .wpcf7-form-control-wrap {
	display: block;
}

.jg-contact-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #b42318;
}

.jg-contact-form .wpcf7-response-output {
	display: none;
	margin: 1rem 0 0;
	padding: 0.85rem 1rem;
	border-radius: 0.75rem;
	border: 1.5px solid rgba(2, 38, 94, 0.15);
	background: #fff;
	font-size: 0.9375rem;
	line-height: 1.45;
}

.jg-contact-form form.sent .wpcf7-response-output,
.jg-contact-form form.invalid .wpcf7-response-output,
.jg-contact-form form.failed .wpcf7-response-output,
.jg-contact-form form.aborted .wpcf7-response-output,
.jg-contact-form form.spam .wpcf7-response-output,
.jg-contact-form form.unaccepted .wpcf7-response-output {
	display: block;
}

.jg-contact-form .wpcf7-mail-sent-ok,
.jg-contact-form form.sent .wpcf7-response-output {
	border-color: rgba(3, 105, 41, 0.35);
	background: var(--jg-leaf-soft);
	color: var(--jg-leaf);
}

.jg-contact-form .wpcf7-validation-errors,
.jg-contact-form .wpcf7-spam-blocked,
.jg-contact-form form.invalid .wpcf7-response-output,
.jg-contact-form form.failed .wpcf7-response-output,
.jg-contact-form form.aborted .wpcf7-response-output {
	border-color: rgba(180, 35, 24, 0.35);
	background: #fef3f2;
	color: #b42318;
}

.jg-contact-form .wpcf7-spinner {
	margin-left: 0.75rem;
}

/* --------------------------------------------------------------------------
   Affordability Pledge form + public list
   -------------------------------------------------------------------------- */
.jg-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.jg-pledge-notice {
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
	border-radius: 0.75rem;
	border: 1.5px solid rgba(2, 38, 94, 0.15);
	font-size: 0.9375rem;
	line-height: 1.45;
}

.jg-pledge-notice--ok {
	border-color: rgba(3, 105, 41, 0.35);
	background: var(--jg-leaf-soft);
	color: var(--jg-leaf);
}

.jg-pledge-notice--error {
	border-color: rgba(180, 35, 24, 0.35);
	background: #fef3f2;
	color: #b42318;
}

.jg-pledge-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.jg-pledge-table th,
.jg-pledge-table td {
	padding: 0.9rem 1.15rem;
	text-align: left;
	vertical-align: top;
}

.jg-pledge-table thead th {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--jg-navy);
	background: var(--jg-mist);
	border-bottom: 1px solid rgba(2, 38, 94, 0.1);
}

.jg-pledge-table tbody td {
	color: var(--jg-muted);
	border-bottom: 1px solid rgba(2, 38, 94, 0.08);
}

.jg-pledge-table tbody tr:last-child td {
	border-bottom: 0;
}

.jg-pledge-table tbody td:first-child {
	font-weight: 600;
	color: var(--jg-navy);
}

@media (max-width: 639px) {
	.jg-pledge-table thead {
		display: none;
	}

	.jg-pledge-table tr {
		display: block;
		padding: 0.85rem 0;
		border-bottom: 1px solid rgba(2, 38, 94, 0.08);
	}

	.jg-pledge-table tbody tr:last-child {
		border-bottom: 0;
	}

	.jg-pledge-table td {
		display: flex;
		justify-content: space-between;
		gap: 1rem;
		padding: 0.35rem 1.15rem;
		border-bottom: 0;
	}

	.jg-pledge-table td::before {
		content: attr(data-label);
		font-size: 0.75rem;
		font-weight: 700;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		color: var(--jg-navy);
	}
}

/* --------------------------------------------------------------------------
   Updates
   -------------------------------------------------------------------------- */
.update-row {
	display: grid;
	gap: 0.35rem 1.5rem;
	padding: 1.25rem 0;
	border-bottom: 1px solid rgba(2, 38, 94, 0.1);
}

@media (min-width: 640px) {
	.update-row {
		grid-template-columns: 7rem 1fr;
		align-items: baseline;
	}
}

.update-date {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--jg-leaf);
}

/* --------------------------------------------------------------------------
   Donate card — soft community photo background
   -------------------------------------------------------------------------- */
.donate-card {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background-color: var(--jg-navy);
	background-image: var(--donate-bg);
	background-size: cover;
	background-position: center;
}

.donate-card::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(
		160deg,
		rgba(2, 38, 94, 0.88) 0%,
		rgba(2, 38, 94, 0.82) 45%,
		rgba(3, 105, 41, 0.72) 100%
	);
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   Footer — grey-black main, black bottom bar
   -------------------------------------------------------------------------- */
.site-footer {
	color: #f0f0f0;
}

.footer-main {
	background: #2c2c2c;
}

.footer-bottom {
	background: #0a0a0a;
}

.footer-link {
	color: rgba(255, 255, 255, 0.72);
	transition: color 0.2s ease;
}

.footer-link:hover {
	color: #ffffff;
}

.footer-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.15rem;
	height: 3.15rem;
	border-radius: 8px;
	border: none;
	background: color-mix(in srgb, var(--jg-leaf) 78%, transparent);
	color: #fff;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social:hover {
	background: var(--jg-leaf);
	color: #fff;
	transform: translateY(-1px);
}

.footer-social svg {
	display: block;
	width: 2rem;
	height: 2rem;
	overflow: visible;
}

.footer-social--facebook svg {
	width: 2.2rem;
	height: 2.2rem;
}

.footer-social--instagram svg {
	width: 2.25rem;
	height: 2.25rem;
}

.footer-social--x svg {
	width: 1.55rem;
	height: 1.55rem;
}

/* --------------------------------------------------------------------------
   Motion: reveal on scroll
   -------------------------------------------------------------------------- */
.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.7s var(--jg-ease), transform 0.7s var(--jg-ease);
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.reveal-delay-1 {
	transition-delay: 0.1s;
}

.reveal-delay-2 {
	transition-delay: 0.2s;
}

.reveal-delay-3 {
	transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.hero-photo-ring {
		animation: none;
	}

	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.btn-primary:hover,
	.btn-outline:hover,
	.btn-leaf:hover,
	.btn-white:hover {
		transform: none;
	}

	.jg-share-btn.is-copied {
		animation: none;
		box-shadow: none;
	}

	.jg-share-btn.is-copied::after {
		content: none;
	}
}

/* --------------------------------------------------------------------------
   Image alignment (classic editor / content images)
   -------------------------------------------------------------------------- */
.alignleft {
	float: left;
	margin: 12px 12px 12px 0;
}

.alignright {
	float: right;
	margin: 12px 0 12px 12px;
}

.alignnone {
	display: inline-block;
	margin: 12px;
}

.aligncenter {
	display: block;
	margin: 12px auto;
	clear: both;
}

/* --------------------------------------------------------------------------
   Entry / post content
   -------------------------------------------------------------------------- */
.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
	margin-bottom: 1.25em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	color: var(--jg-navy);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
	margin: 1.75em 0 0.6em;
}

.entry-content h2 {
	font-size: 1.5rem;
}

.entry-content h3 {
	font-size: 1.25rem;
}

.entry-content a {
	color: var(--jg-leaf);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.entry-content a:hover {
	color: var(--jg-leaf-mid);
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.5rem;
	margin-left: 0.25rem;
}

.entry-content ul {
	list-style-type: disc;
	list-style-position: outside;
}

.entry-content ol {
	list-style-type: decimal;
	list-style-position: outside;
}

.entry-content ul ul {
	list-style-type: circle;
	margin-top: 0.35em;
	margin-bottom: 0.35em;
}

.entry-content ul ul ul {
	list-style-type: square;
}

.entry-content ol ol {
	list-style-type: lower-alpha;
	margin-top: 0.35em;
	margin-bottom: 0.35em;
}

.entry-content li {
	margin-bottom: 0.4em;
	padding-left: 0.2em;
}

.entry-content img {
	max-width: 100%;
	height: auto;
}

.entry-content::after {
	content: '';
	display: table;
	clear: both;
}

/* --------------------------------------------------------------------------
   Single post share + byline
   -------------------------------------------------------------------------- */
.jg-post-share {
	margin: 0 0 2rem;
}

.jg-post-share .sharethis-inline-share-buttons {
	margin: 0 0 0.75rem;
}

.jg-post-share__rule {
	border: 0;
	height: 1px;
	margin: 0.85rem 0 0;
	background: rgba(2, 38, 94, 0.12);
}

.jg-post-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--jg-leaf);
	line-height: 1.45;
}

.jg-post-byline__sep {
	color: rgba(2, 38, 94, 0.28);
	font-weight: 600;
}

.jg-post-byline__views {
	display: inline;
}

/* --------------------------------------------------------------------------
   Utilities used alongside Tailwind
   -------------------------------------------------------------------------- */
.divider-leaf {
	width: 3rem;
	height: 3px;
	border-radius: 9999px;
	background: linear-gradient(90deg, var(--jg-leaf), var(--jg-navy));
}

.text-balance {
	text-wrap: balance;
}

.script-thanks {
	font-family: 'Source Serif 4', Georgia, serif;
	font-style: italic;
	font-weight: 500;
	color: var(--jg-gold);
}

/* --------------------------------------------------------------------------
   Homepage Instagram embed section
   -------------------------------------------------------------------------- */
.jg-ig-embed {
	position: relative;
	width: min(24.5rem, 100%);
	margin-inline: auto;
	aspect-ratio: 9 / 16;
	max-height: min(42rem, 78vh);
	overflow: hidden;
	border-radius: 1.15rem;
	background: #111;
	box-shadow: 0 18px 48px -18px rgba(2, 38, 94, 0.35);
}

.jg-ig-embed__frame,
.jg-ig-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.jg-ig-embed:not(.is-loaded)::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(60% 50% at 50% 40%, rgba(3, 105, 41, 0.18), transparent 70%),
		linear-gradient(180deg, #1a2433 0%, #0b1220 100%);
}

.jg-follow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
	margin-top: 1.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid color-mix(in srgb, var(--jg-navy) 12%, transparent);
}

.jg-follow__label {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--jg-navy);
}

.jg-follow .footer-social {
	width: 2.6rem;
	height: 2.6rem;
}

.jg-follow .footer-social svg {
	width: 1.6rem;
	height: 1.6rem;
}

.jg-follow .footer-social--facebook svg {
	width: 1.75rem;
	height: 1.75rem;
}

.jg-follow .footer-social--instagram svg {
	width: 1.8rem;
	height: 1.8rem;
}

.jg-follow .footer-social--x svg {
	width: 1.25rem;
	height: 1.25rem;
}

@media (min-width: 1024px) {
	.jg-ig-embed {
		margin-inline: 0 0 auto;
	}
}

/* --------------------------------------------------------------------------
   Pledge share button
   -------------------------------------------------------------------------- */
.jg-share-btn {
	position: relative;
	overflow: hidden;
}

.jg-share-btn__icon {
	display: inline-flex;
}

.jg-share-btn__icon--done {
	display: none;
}

.jg-share-btn.is-copied {
	background: var(--jg-leaf);
	border-color: var(--jg-leaf);
	color: #fff;
	box-shadow:
		0 0 0 5px var(--jg-leaf-soft),
		0 10px 26px -12px rgba(3, 105, 41, 0.55);
	animation: jg-share-pop 0.55s var(--jg-ease);
}

.jg-share-btn.is-copied:hover {
	background: var(--jg-leaf);
	border-color: var(--jg-leaf);
	color: #fff;
	transform: none;
}

.jg-share-btn.is-copied .jg-share-btn__icon--share {
	display: none;
}

.jg-share-btn.is-copied .jg-share-btn__icon--done {
	display: inline-flex;
}

.jg-share-btn.is-copied::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		110deg,
		transparent 28%,
		rgba(255, 255, 255, 0.18) 42%,
		rgba(201, 162, 39, 0.38) 50%,
		rgba(255, 255, 255, 0.18) 58%,
		transparent 72%
	);
	transform: translateX(-130%);
	animation: jg-share-sheen 0.85s var(--jg-ease) 0.05s both;
	pointer-events: none;
}

@keyframes jg-share-pop {
	0% {
		transform: scale(1);
	}
	40% {
		transform: scale(1.035);
	}
	100% {
		transform: scale(1);
	}
}

@keyframes jg-share-sheen {
	to {
		transform: translateX(130%);
	}
}

/* --------------------------------------------------------------------------
   Schedule a visit page
   -------------------------------------------------------------------------- */
.jg-visit__portrait {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom: 2.25rem;
}

.jg-visit__copy {
	margin: 0;
	color: var(--jg-muted);
	line-height: 1.7;
	font-size: 1.05rem;
}

.jg-visit-points {
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
}

.jg-visit-points li {
	display: flex;
	gap: 1rem;
	padding: 1.15rem 0;
	border-top: 1px solid color-mix(in srgb, var(--jg-navy) 10%, transparent);
}

.jg-visit-points h2 {
	margin: 0 0 0.3rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--jg-navy);
}

.jg-visit-points p {
	margin: 0;
	color: var(--jg-muted);
	line-height: 1.6;
	font-size: 0.95rem;
}

.jg-visit-points__icon {
	display: flex;
	width: 2.5rem;
	height: 2.5rem;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background: var(--jg-leaf-soft);
	color: var(--jg-leaf);
}

.jg-visit-points__icon svg {
	width: 1.2rem;
	height: 1.2rem;
}

.jg-visit-card {
	background: #fff;
	border: 1px solid color-mix(in srgb, var(--jg-navy) 10%, transparent);
	border-radius: 1.15rem;
	padding: 1.75rem 1.75rem 1.85rem;
	box-shadow: 0 12px 40px -12px rgba(2, 38, 94, 0.18);
}

.jg-visit-card__title {
	margin: 0 0 0.4rem;
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--jg-navy);
}

.jg-visit-card__intro {
	margin: 0 0 1.35rem;
	color: var(--jg-muted);
	line-height: 1.55;
}

.jg-visit-next {
	margin-top: 1.5rem;
	padding: 1.35rem 1.5rem 1.2rem;
	border-radius: 1.15rem;
	background: color-mix(in srgb, var(--jg-navy) 4%, #fff);
	border: 1px solid color-mix(in srgb, var(--jg-navy) 8%, transparent);
}

.jg-visit-next h2 {
	margin: 0 0 0.85rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--jg-leaf);
}

.jg-visit-next ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.jg-visit-next li {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	color: var(--jg-navy);
	font-size: 0.95rem;
	line-height: 1.45;
}

.jg-visit-next span {
	display: inline-flex;
	width: 1.55rem;
	height: 1.55rem;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background: var(--jg-navy);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
}

@media (min-width: 1024px) {
	.jg-visit__portrait {
		align-items: flex-start;
		text-align: left;
	}
}
