/* Content pages: contact (with the form), warranty, shipping and delivery, returns, terms, privacy. PHP in inc/pages.php,
   icons in assets/pages/. Loaded after style.css and home.css, whose --jkd-* sizes it shares (--jkd-fs, --jkd-fs-sm,
   --jkd-pad, --jkd-icon, --jkd-col-gap, --jkd-btn-fs, --jkd-ease). Owner: content pages.

   1. The title band every page shares (Kadence's page title area, black, title on the left, like the shop band).
   2. The document layout for the long pages: "On this page" on the left, the text in the middle, the help card on the right.
   3. The contact page: phone card, the form (Fluent Forms, styled like the homepage finder), what to have ready, links.
   Phones come last (max-width: 781px, the block editor's own breakpoint). */

:root {
	--jkd-doc-fs: clamp(16px, .3vw + 12.7px, 18px);        /* body text of the long pages: 17px at 1440, 18px from 1770px */
	--jkd-doc-h2: clamp(24px, .55vw + 17px, 30px);
	--jkd-doc-nav: 240px;
	--jkd-doc-aside: 300px;
	--jkd-doc-gap: clamp(40px, 4.5vw, 80px);
	--jkd-sticky: 80px;                                    /* the sticky header row (60px) plus room */
}

/* ------------------------------------------------------------------ 1. Title band */
.page-hero-section { overflow: hidden; }
.page-hero-section .entry-hero-container-inner { position: relative; background: var(--jkd-black); }
/* The red slash from the homepage hero, at the shop band's size */
.page-hero-section .entry-hero-container-inner::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: -6%;
	width: 24%;
	background: var(--jkd-red);
	transform: skewX(-16deg);
	transform-origin: bottom;
	pointer-events: none;
}
.page-hero-section .hero-container { position: relative; z-index: 1; }
.page-hero-section .entry-header {
	min-height: 0;
	align-items: flex-start;
	text-align: left;
	padding: clamp(36px, 2.5vw, 52px) 0 clamp(34px, 2.4vw, 50px);
}
.page-hero-section .entry-header .entry-title { margin: 0; color: #fff; }
.page-hero-section .jkd-page-lead {
	max-width: 62ch;
	margin: clamp(12px, .8vw, 18px) 0 0;
	color: var(--jkd-on-dark);
	font-size: clamp(15px, .55vw + 7px, 17px);
	line-height: 1.5;
}
@media (min-width: 782px) {
	.page-hero-section .entry-header .entry-title { font-size: clamp(36px, 1.9vw + 13px, 52px); }
}
/* Space between the band and the text, and before the footer (the cart, checkout and account pages set their own) */
body.page:not(.home):not(.woocommerce-page) #inner-wrap .content-area {
	margin-top: clamp(28px, 2.4vw, 44px);
	margin-bottom: clamp(48px, 4vw, 88px);
}
.jkd-tbc {
	padding: .05em .35em;
	border-radius: 3px;
	background: #ffe9a8;
	color: #5b4300;
	font-weight: 600;
	font-style: normal;
	white-space: nowrap; /* "to confirm" never splits over two lines */
}

/* ------------------------------------------------------------------ 2. Document layout (a Columns block: nav, body, aside) */
.jkd-doc.wp-block-columns {
	display: grid;
	grid-template-columns: var(--jkd-doc-nav) minmax(0, 1fr) var(--jkd-doc-aside);
	column-gap: var(--jkd-doc-gap);
	row-gap: 32px;
	margin: 0;
}
.jkd-doc > .wp-block-column {
	flex: none;
	width: auto;
	min-width: 0;
	margin: 0;
	align-self: start; /* the columns block forces align-items: normal; sticky needs the column shorter than the row */
}
.jkd-doc__nav,
.jkd-doc__aside { position: sticky; top: var(--jkd-sticky); }

/* On this page (inc/pages.php fills the nav) */
.jkd-toc__label,
.jkd-doc-help__label,
.jkd-also__label,
.jkd-short__label {
	margin: 0 0 10px;
	font: 700 12px/1 var(--jkd-display);
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--jkd-red);
}
.jkd-toc__list,
.entry-content ol.jkd-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-left: 1px solid var(--jkd-line);
}
.jkd-toc__list li { margin: 0; padding: 0; }
.jkd-toc__list a {
	display: flex;
	align-items: center;
	min-height: 44px;
	margin-left: -1px;
	padding: 8px 0 8px 16px;
	border-left: 2px solid transparent;
	font-size: 14.5px;
	line-height: 1.3;
	color: var(--jkd-muted);
	text-decoration: none;
	transition: color .15s, border-color .15s;
}
.jkd-toc__list a:hover { color: var(--jkd-text); }
.jkd-toc__list a.is-current { color: var(--jkd-text); font-weight: 600; border-left-color: var(--jkd-red); }
.jkd-toc__updated { margin: 18px 0 0; font-size: 13px; color: var(--jkd-muted); }

/* The text */
.jkd-doc__body { font-size: var(--jkd-doc-fs); }
.jkd-doc__body > :last-child { margin-bottom: 0; }
.jkd-doc__body .jkd-draft-note { margin: 0 0 clamp(20px, 1.6vw, 28px); }
.jkd-doc__body p,
.jkd-doc__body li { font-size: var(--jkd-doc-fs); line-height: 1.6; }
.jkd-doc__body p { margin: 0 0 1.1em; }
.jkd-doc__body h2 {
	margin: clamp(32px, 2.6vw, 48px) 0 clamp(10px, .8vw, 14px);
	padding-top: clamp(22px, 1.8vw, 30px);
	border-top: 1px solid var(--jkd-line);
	font-size: var(--jkd-doc-h2);
	line-height: 1.05;
	text-transform: uppercase;
	scroll-margin-top: calc(var(--jkd-sticky) + 4px);
}
.jkd-doc__body h3 { margin: 1.6em 0 .5em; font-size: clamp(17px, .35vw + 13px, 20px); line-height: 1.2; }
.jkd-doc__body ul,
.jkd-doc__body ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.jkd-doc__body li { margin: 0 0 .45em; }
.jkd-doc__body li::marker { color: var(--jkd-red); font-weight: 700; }
.jkd-doc__body a { color: var(--jkd-red); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.jkd-doc__body a:hover { color: var(--jkd-text); }
.jkd-doc__body a[href^="tel"] { color: var(--jkd-text); font-weight: 700; text-decoration: none; white-space: nowrap; }
.jkd-doc__body a[href^="tel"]:hover { color: var(--jkd-red); }

/* In short: the summary box at the top of the text */
.jkd-doc__body .jkd-short {
	margin: 0 0 clamp(8px, .8vw, 12px);
	padding: clamp(18px, 1.5vw, 26px);
	border-left: 4px solid var(--jkd-red);
	border-radius: var(--jkd-radius);
	background: var(--jkd-grey);
}
.jkd-doc__body .jkd-short ul { margin: 0; padding-left: 1.2em; }
.jkd-doc__body .jkd-short li { margin: 0 0 6px; font-size: calc(var(--jkd-doc-fs) - 1px); line-height: 1.5; }
.jkd-doc__body .jkd-short li:last-child { margin-bottom: 0; }
.jkd-doc__body .jkd-short + p { margin-top: clamp(20px, 1.6vw, 28px); }

/* Delivery options (shipping page): four cards with an icon */
.jkd-doc__body .jkd-options,
.entry-content ul.jkd-options {
	list-style: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--jkd-col-gap);
	margin: 0 0 clamp(16px, 1.3vw, 24px);
	padding: 0;
}
.jkd-doc__body .jkd-options li {
	position: relative;
	margin: 0;
	padding: var(--jkd-pad) var(--jkd-pad) var(--jkd-pad) calc(var(--jkd-pad) + var(--jkd-icon) + 14px);
	border: 1px solid var(--jkd-line);
	border-radius: var(--jkd-radius);
	background: #fff;
	font-size: calc(var(--jkd-doc-fs) - 2px);
	line-height: 1.5;
	color: var(--jkd-muted);
}
.jkd-options li::before {
	content: "";
	position: absolute;
	left: var(--jkd-pad);
	top: calc(var(--jkd-pad) + 1px);
	width: var(--jkd-icon);
	height: var(--jkd-icon);
	background: var(--jkd-red);
	-webkit-mask: url(../pages/pallet.svg) center / contain no-repeat;
	mask: url(../pages/pallet.svg) center / contain no-repeat;
}
.jkd-options .jkd-opt--liftgate::before { -webkit-mask-image: url(../pages/liftgate.svg); mask-image: url(../pages/liftgate.svg); }
.jkd-options .jkd-opt--parcel::before { -webkit-mask-image: url(../pages/parcel.svg); mask-image: url(../pages/parcel.svg); }
.jkd-options .jkd-opt--pin::before { -webkit-mask-image: url(../chrome/pin.svg); mask-image: url(../chrome/pin.svg); }
.jkd-options strong {
	display: block;
	margin-bottom: 4px;
	color: var(--jkd-text);
	font: 800 clamp(17px, .35vw + 12px, 21px)/1.15 var(--jkd-display);
	letter-spacing: .02em;
	text-transform: uppercase;
}
.jkd-options br { display: none; }
/* An odd card out (three options while pickup is off) takes the full row */
.jkd-doc__body .jkd-options li:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* The live price table ([jkd_delivery_rates]) on the Shipping page: a plain tariff in the page's type, on the text's rhythm.
   Replaces the two dead .jkd-rates rules (the table's classes have been .jkd-tariff since round 3). The cells are
   middle-aligned so the bigger digits sit on the name's centre, not its baseline. */
.jkd-doc__body .jkd-tariff { width: 100%; margin: .4em 0 1.2em; border: 0; border-collapse: collapse; font-size: inherit; }
.jkd-doc__body .jkd-tariff th,
.jkd-doc__body .jkd-tariff td { padding: 14px 0; border: 0; border-top: 1px solid var(--jkd-line); background: none; text-align: left; vertical-align: middle; }
.jkd-doc__body .jkd-tariff thead th {
	padding: 0 0 10px;
	border-top: 0;
	border-bottom: 2px solid var(--jkd-black);
	font: 700 13px/1.2 var(--jkd-display);
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--jkd-text);
	vertical-align: bottom;
}
.jkd-doc__body .jkd-tariff tbody tr:last-child > * { border-bottom: 1px solid var(--jkd-line); }
.jkd-doc__body .jkd-tariff .jkd-tariff__name { padding-right: 16px; font-weight: 600; line-height: 1.35; color: var(--jkd-text); }
.jkd-doc__body .jkd-tariff .jkd-tariff__zone,
.jkd-doc__body .jkd-tariff .jkd-tariff__price { padding-left: 24px; text-align: right; white-space: nowrap; }
.jkd-doc__body .jkd-tariff .jkd-tariff__price {
	font: 800 clamp(22px, .5vw + 15px, 26px)/1 var(--jkd-display);
	letter-spacing: .01em;
	font-variant-numeric: tabular-nums;
	color: var(--jkd-black);
}
.jkd-doc__body .jkd-tariff__price .woocommerce-Price-amount { font: inherit; color: inherit; }
.jkd-doc__body .jkd-tariff__price .woocommerce-Price-currencySymbol { position: relative; top: -.71em; margin-right: .04em; font-size: .5em; font-weight: 700; }
.jkd-doc__body .jkd-tariff__sub { display: block; margin-top: 2px; font-size: var(--jkd-fs-sm); font-weight: 400; line-height: 1.45; color: var(--jkd-muted); }
.jkd-doc__body .jkd-tariff .jkd-tariff__price--call { font: 600 1em/1.35 var(--global-body-font-family, Saira, sans-serif); color: var(--jkd-muted); }
@media (max-width: 600px) {
	.jkd-doc__body .jkd-tariff .jkd-tariff__zone { white-space: normal; } /* "Rest of Canada" takes two lines, the names keep their width */
	.jkd-doc__body .jkd-tariff .jkd-tariff__zone,
	.jkd-doc__body .jkd-tariff .jkd-tariff__price { padding-left: 16px; }
}

/* The help card on the right */
.jkd-doc__aside .jkd-doc-help {
	margin: 0;
	padding: clamp(20px, 1.6vw, 28px);
	border: 1px solid var(--jkd-line);
	border-radius: var(--jkd-radius);
	background: var(--jkd-grey);
}
.jkd-doc-help > *,
.jkd-doc-help p { margin: 0; }
.jkd-doc-help .jkd-doc-help__phone { margin-top: 2px; font: 800 clamp(26px, 1vw + 14px, 32px)/1 var(--jkd-display); letter-spacing: .02em; }
.jkd-doc-help__phone a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	color: var(--jkd-text);
	text-decoration: none;
	transition: color .15s;
}
.jkd-doc-help__phone a::before {
	content: "";
	flex: none;
	width: 24px;
	height: 24px;
	background: var(--jkd-red);
	-webkit-mask: url(../chrome/phone.svg) center / contain no-repeat;
	mask: url(../chrome/phone.svg) center / contain no-repeat;
}
.jkd-doc-help__phone a:hover { color: var(--jkd-red); }
.jkd-doc-help .jkd-doc-help__text { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--jkd-muted); }
.jkd-doc-help .wp-block-buttons { margin: 16px 0 0; }
.jkd-doc-help .wp-block-button { margin: 0; }
.jkd-doc-help .wp-block-button__link { width: 100%; text-align: center; }

.jkd-doc__aside .jkd-also { margin: 22px 0 0; }
.jkd-also .jkd-also__label { margin-bottom: 4px; color: var(--jkd-muted); }
.jkd-also__list,
.entry-content ul.jkd-also__list { list-style: none; margin: 0; padding: 0; }
.jkd-also__list li { margin: 0; border-top: 1px solid var(--jkd-line); }
.jkd-also__list li:last-child { border-bottom: 1px solid var(--jkd-line); }
.jkd-also__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 44px;
	padding: 10px 0;
	color: var(--jkd-text);
	font-size: 14.5px;
	font-weight: 600;
	text-decoration: none;
	transition: color .15s;
}
.jkd-also__list a::after {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background: url(../home/icon-arrow.svg) center / contain no-repeat;
	transition: transform .2s var(--jkd-ease);
}
.jkd-also__list a:hover { color: var(--jkd-red); }
.jkd-also__list a:hover::after { transform: translateX(3px); }

/* ------------------------------------------------------------------ 3. Contact page
   (Kadence is a classic theme, so a Group block wraps its content in .wp-block-group__inner-container: the grid goes on that.) */
.jkd-contact > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	grid-template-rows: auto 1fr auto; /* the form spans two rows: the first is exactly the phone card's height */
	grid-template-areas:
		"call form"
		"ready form"
		"links links";
	gap: clamp(16px, 1.6vw, 28px) clamp(24px, 3vw, 56px);
	align-items: start;
	margin: 0;
}
.jkd-contact > .wp-block-group__inner-container > .wp-block-group { margin: 0; }
.jkd-contact__call { grid-area: call; }
.jkd-contact__form { grid-area: form; }
.jkd-contact__ready { grid-area: ready; align-self: stretch; } /* ends level with the form card */
.jkd-links { grid-area: links; }

/* The phone card: black, with the small red slash of the homepage's garages card */
.jkd-contact__call {
	position: relative;
	overflow: hidden;
	padding: clamp(24px, 2.2vw, 40px);
	border-radius: var(--jkd-radius);
	background: var(--jkd-black);
	color: #fff;
}
.jkd-contact__call::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: -22%;
	width: 36%;
	background: var(--jkd-red);
	transform: skewX(-16deg);
	transform-origin: bottom;
	opacity: .9;
}
.jkd-contact__call > * { position: relative; z-index: 1; margin: 0; }
.jkd-contact__call p,
.jkd-contact__call ul { margin: 0; }
.jkd-contact__call .jkd-contact__kicker {
	font: 700 clamp(12px, .2vw + 10px, 15px)/1 var(--jkd-display);
	letter-spacing: .32em;
	text-transform: uppercase;
	color: var(--jkd-on-dark);
}
.jkd-contact__call .jkd-contact__phone { margin-top: 10px; font: 800 clamp(34px, 1.8vw + 14px, 56px)/1 var(--jkd-display); letter-spacing: .02em; }
.jkd-contact__phone a {
	display: inline-flex;
	align-items: center;
	gap: .3em;
	min-height: 44px;
	color: #fff;
	text-decoration: none;
	transition: color .15s;
}
.jkd-contact__phone a::before {
	content: "";
	flex: none;
	width: .7em;
	height: .7em;
	background: var(--jkd-red);
	-webkit-mask: url(../chrome/phone.svg) center / contain no-repeat;
	mask: url(../chrome/phone.svg) center / contain no-repeat;
}
.jkd-contact__phone a:hover { color: var(--jkd-on-dark); }
.jkd-contact__call .jkd-contact__lead { margin-top: 12px; max-width: 26em; color: var(--jkd-on-dark); font-size: var(--jkd-fs); line-height: 1.5; }
.jkd-contact__call .jkd-contact__facts,
.entry-content ul.jkd-contact__facts {
	list-style: none;
	display: grid;
	gap: 14px;
	margin: 20px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid rgba(255, 255, 255, .14);
}
/* Keeps the facts clear of the red slash, which takes the card's last 14% at the bottom */
.jkd-contact__call .jkd-contact__facts { max-width: 82%; }
.jkd-contact__call .jkd-contact__fact {
	position: relative;
	margin: 0;
	padding-left: calc(var(--jkd-icon) + 12px);
	font-size: var(--jkd-fs-sm);
	line-height: 1.45;
	color: var(--jkd-on-dark);
}
.jkd-contact__fact::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: var(--jkd-icon);
	height: var(--jkd-icon);
	background: var(--jkd-red);
	-webkit-mask: url(../chrome/pin.svg) center / contain no-repeat;
	mask: url(../chrome/pin.svg) center / contain no-repeat;
}
.jkd-contact__fact--truck::before { -webkit-mask-image: url(../chrome/truck.svg); mask-image: url(../chrome/truck.svg); }
.jkd-contact__fact strong { display: block; margin-bottom: 2px; color: #fff; font-size: clamp(15px, .3vw + 11px, 18px); line-height: 1.25; }
.jkd-contact__fact br { display: none; }

/* The form card */
.jkd-contact__form {
	padding: clamp(20px, 1.8vw, 34px);
	border: 1px solid var(--jkd-line);
	border-radius: var(--jkd-radius);
	background: #fff;
	box-shadow: 0 24px 48px -30px rgba(0, 0, 0, .25);
	scroll-margin-top: var(--jkd-sticky);
}
.jkd-contact__form h2 { margin: 0 0 6px; font-size: clamp(22px, .5vw + 15px, 28px); line-height: 1; text-transform: uppercase; }
.jkd-contact__form > p,
.jkd-contact__form > .wp-block-group__inner-container > p { margin: 0 0 clamp(16px, 1.3vw, 24px); font-size: var(--jkd-fs); line-height: 1.5; color: var(--jkd-muted); }
.jkd-form-missing { margin: 0; font-size: var(--jkd-fs); }

/* Fluent Forms, drawn like the homepage finder: each field is one box, the small label sits inside it over the input */
.jkd-contact__form .fluentform { margin: 0; }
.jkd-contact__form .fluentform form { display: block; margin: 0; }
/* Fluent Forms puts the fields in a fieldset: that's the grid (name and phone side by side, the rest full width) */
.jkd-contact__form .fluentform form > fieldset {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}
.jkd-contact__form .fluentform .ff-el-group { margin: 0; }
.jkd-contact__form .fluentform .ff-el-group.jkd-f {
	--field-h: clamp(58px, 3.4vw, 68px);
	position: relative;
	min-height: var(--field-h);
	border: 1px solid var(--jkd-line);
	border-radius: 6px;
	background: #fff;
	transition: border-color .2s, box-shadow .2s;
}
.jkd-contact__form .fluentform .jkd-f-full,
.jkd-contact__form .fluentform .ff-el-group.jkd-f-note,
.jkd-contact__form .fluentform .ff_submit_btn_wrapper { grid-column: 1 / -1; }
.jkd-contact__form .fluentform .ff-el-group.jkd-f:hover { border-color: var(--jkd-muted); }
.jkd-contact__form .fluentform .ff-el-group.jkd-f:focus-within { border-color: var(--jkd-red); box-shadow: 0 0 0 3px rgba(214, 31, 43, .18); }
.jkd-contact__form .fluentform .jkd-f .ff-el-input--label {
	position: absolute;
	z-index: 1;
	top: clamp(10px, .7vw, 13px);
	left: clamp(14px, 1vw, 18px);
	right: 14px;
	margin: 0;
	padding: 0;
	pointer-events: none;
}
.jkd-contact__form .fluentform .jkd-f .ff-el-input--label label {
	display: block;
	margin: 0;
	overflow: hidden;
	font-size: clamp(11px, .2vw + 8.5px, 12.5px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--jkd-muted);
	white-space: nowrap;
	text-overflow: ellipsis;
}
.jkd-contact__form .fluentform .ff-el-input--label label::before,
.jkd-contact__form .fluentform .ff-el-input--label label::after { content: none !important; }
.jkd-contact__form .fluentform .jkd-f .ff-el-input--content { margin: 0; padding: 0; }
.jkd-contact__form .fluentform .jkd-f .ff-el-form-control {
	display: block;
	width: 100%;
	height: calc(var(--field-h) - 2px);
	margin: 0;
	padding: clamp(22px, 1.4vw, 28px) clamp(14px, 1vw, 18px) 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	box-shadow: none;
	font-family: var(--global-body-font-family, Saira, sans-serif);
	font-size: clamp(16px, .3vw + 12px, 18px);
	font-weight: 600;
	line-height: 1.3;
	color: var(--jkd-text);
}
.jkd-contact__form .fluentform .jkd-f .ff-el-form-control:focus { outline: none; box-shadow: none; border: 0; }
.jkd-contact__form .fluentform .jkd-f .ff-el-form-control::placeholder { color: #8d9096; font-weight: 400; opacity: 1; } /* lighter than typed text, so the example never reads as filled in */
.jkd-contact__form .fluentform .jkd-f-area textarea.ff-el-form-control {
	height: auto;
	min-height: 150px;
	padding-top: clamp(30px, 1.9vw, 36px);
	padding-bottom: 12px;
	font-weight: 500;
	line-height: 1.5;
	resize: vertical;
}
/* Errors: the box turns red and the message sits under the value, inside the box */
.jkd-contact__form .fluentform .ff-el-group.jkd-f.ff-el-is-error { border-color: var(--jkd-red); }
.jkd-contact__form .fluentform .ff-el-group.jkd-f.ff-el-is-error .ff-el-input--label label { color: var(--jkd-red); }
.jkd-contact__form .fluentform .ff-el-group .error.text-danger {
	display: block;
	margin: 0;
	padding: 0 clamp(14px, 1vw, 18px) 10px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--jkd-red);
}
.jkd-contact__form .fluentform .ff-errors-in-stack {
	margin: 8px 0 0;
	padding: 0;
	border: 0;
	background: none;
	font-size: 14px;
	color: var(--jkd-red);
}
.jkd-contact__form .fluentform .ff-errors-in-stack:empty { display: none; }
/* The privacy line and the button */
.jkd-contact__form .fluentform .ff-el-group.jkd-f-note { margin-top: 4px; }
.jkd-contact__form .fluentform .jkd-f-privacy,
.jkd-contact__form .fluentform .jkd-f-note p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--jkd-muted); }
.jkd-contact__form .fluentform .jkd-f-note a { color: var(--jkd-text); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.jkd-contact__form .fluentform .jkd-f-note a:hover { color: var(--jkd-red); }
.jkd-contact__form .fluentform .ff_submit_btn_wrapper { margin: 2px 0 0; }
.jkd-contact__form .fluentform .ff-btn-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 280px;
	min-height: 52px;
	margin: 0;
	padding: 0 28px;
	border: 0;
	border-radius: 4px;
	background: var(--jkd-red);
	color: #fff;
	font-family: var(--global-body-font-family, Saira, sans-serif);
	font-size: var(--jkd-btn-fs);
	font-weight: 700;
	line-height: 1;
	letter-spacing: .06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s;
}
.jkd-contact__form .fluentform .ff-btn-submit:hover { background: var(--global-palette2, #b0141f); color: #fff; }
.jkd-contact__form .fluentform .ff-btn-submit:disabled,
.jkd-contact__form .fluentform .ff_submitting .ff-btn-submit { opacity: .7; cursor: wait; }
/* Sent: a green box in place of the form */
.jkd-contact__form .fluentform .ff-message-success {
	position: relative;
	margin: 0;
	padding: 18px 18px 18px 56px;
	border: 1px solid #bfe3cb;
	border-radius: 6px;
	background: var(--jkd-ok-bg);
	box-shadow: none;
	color: var(--jkd-ok);
	font-size: var(--jkd-fs);
	font-weight: 600;
	line-height: 1.5;
}
.jkd-contact__form .fluentform .ff-message-success::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 17px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--jkd-ok);
	-webkit-mask: url(../pages/check.svg) center / 18px no-repeat;
	mask: url(../pages/check.svg) center / 18px no-repeat;
}
.jkd-contact__form .fluentform .ff-message-success:empty { display: none; }

/* What to have ready */
.jkd-contact__ready {
	padding: clamp(20px, 1.8vw, 30px);
	border: 1px solid var(--jkd-line);
	border-radius: var(--jkd-radius);
	background: var(--jkd-grey);
}
.jkd-contact__ready h2 { margin: 0 0 14px; font-size: clamp(20px, .4vw + 14px, 24px); line-height: 1; text-transform: uppercase; }
.jkd-contact__ready .jkd-ready,
.entry-content ol.jkd-ready {
	list-style: none;
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	counter-reset: ready;
}
.jkd-contact__ready .jkd-ready li {
	counter-increment: ready;
	position: relative;
	margin: 0;
	padding-left: 44px;
	font-size: var(--jkd-fs-sm);
	line-height: 1.45;
	color: var(--jkd-muted);
}
.jkd-ready li::before {
	content: counter(ready);
	position: absolute;
	left: 0;
	top: 0;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--jkd-black);
	color: #fff;
	font: 800 15px/1 var(--jkd-display);
}
.jkd-ready strong { display: block; margin-bottom: 2px; color: var(--jkd-text); font-size: clamp(15px, .3vw + 11px, 17px); line-height: 1.25; }
.jkd-ready br { display: none; }

/* Good to know: three link cards */
.jkd-links { margin-top: clamp(8px, 1vw, 16px); }
.jkd-links .jkd-links__title { margin: 0 0 clamp(14px, 1.2vw, 20px); font-size: clamp(22px, .5vw + 15px, 28px); line-height: 1; text-transform: uppercase; }
.jkd-links .jkd-cards,
.entry-content ul.jkd-cards {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--jkd-col-gap);
	margin: 0;
	padding: 0;
}
.jkd-links .jkd-cards li { margin: 0; }
.jkd-cards a {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	padding: var(--jkd-pad);
	border: 1px solid var(--jkd-line);
	border-radius: var(--jkd-radius);
	background: #fff;
	color: var(--jkd-muted);
	font-size: var(--jkd-fs-sm);
	line-height: 1.45;
	text-decoration: none;
	transition: border-color .2s, box-shadow .25s var(--jkd-ease), transform .25s var(--jkd-ease);
}
.jkd-cards a:hover {
	border-color: var(--jkd-text);
	box-shadow: 0 14px 28px -18px rgba(0, 0, 0, .35);
	transform: translateY(-2px);
}
.jkd-cards strong {
	color: var(--jkd-text);
	font: 800 clamp(18px, .4vw + 13px, 22px)/1.1 var(--jkd-display);
	letter-spacing: .02em;
	text-transform: uppercase;
}
.jkd-cards br { display: none; }
.jkd-cards a::after {
	content: "";
	width: 20px;
	height: 20px;
	margin-top: auto;
	padding-top: 6px;
	background: url(../home/icon-arrow.svg) center bottom / 20px no-repeat;
	transition: transform .25s var(--jkd-ease);
}
.jkd-cards a:hover::after { transform: translateX(4px); }

/* ------------------------------------------------------------------ Keyboard focus */
.jkd-toc a:focus-visible,
.jkd-doc-help a:focus-visible,
.jkd-also__list a:focus-visible,
.jkd-doc__body a:focus-visible,
.jkd-contact a:focus-visible,
.jkd-cards a:focus-visible,
.jkd-contact__form .fluentform .ff-btn-submit:focus-visible {
	outline: 2px solid var(--jkd-red);
	outline-offset: 3px;
	box-shadow: none;
}

/* ------------------------------------------------------------------ Wide screens: the page is 1600px from 1800px */
@media (min-width: 1800px) {
	:root {
		--jkd-doc-nav: 260px;
		--jkd-doc-aside: 340px;
	}
	.jkd-toc__list a { font-size: 15px; }
	.jkd-also__list a { font-size: 15px; }
}

/* ------------------------------------------------------------------ Laptops and tablets (782 to 1199): two columns, the help card under the text */
@media (max-width: 1199px) {
	:root { --jkd-doc-nav: 200px; }
	.jkd-doc.wp-block-columns { grid-template-columns: var(--jkd-doc-nav) minmax(0, 1fr); column-gap: clamp(32px, 4vw, 56px); }
	.jkd-doc__aside {
		grid-column: 2;
		position: static;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 24px;
		align-items: start;
		padding-top: 28px;
		border-top: 1px solid var(--jkd-line);
	}
	.jkd-doc__aside .jkd-also { margin: 0; }
}

/* ------------------------------------------------------------------ Phones and small tablets */
@media (max-width: 781px) {
	.page-hero-section .entry-hero-container-inner::after { right: -12%; width: 20%; }
	.page-hero-section .entry-header { padding: 26px 0 28px; }
	.page-hero-section .jkd-page-lead { margin-top: 10px; font-size: 14px; }
	:root { --jkd-sticky: 72px; }

	/* The document: one column; "On this page" becomes a row of chips, the help card closes the page */
	.jkd-doc.wp-block-columns { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
	.jkd-doc__nav { position: static; }
	.jkd-toc {
		padding: 14px 16px 16px;
		border: 1px solid var(--jkd-line);
		border-radius: var(--jkd-radius);
		background: var(--jkd-grey);
	}
	.jkd-toc__list,
	.entry-content ol.jkd-toc__list { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
	.jkd-toc__list a {
		min-height: 40px;
		margin: 0;
		padding: 0 14px;
		border: 1px solid var(--jkd-line);
		border-radius: 999px;
		background: #fff;
		font-size: 13.5px;
		font-weight: 600;
		color: var(--jkd-text);
	}
	.jkd-toc__list a.is-current { border-color: var(--jkd-black); background: var(--jkd-black); color: #fff; }
	.jkd-toc__updated { margin-top: 12px; }
	.jkd-doc__aside { grid-column: 1; display: block; padding-top: 0; border-top: 0; }
	.jkd-doc__aside .jkd-also { margin-top: 20px; }
	.jkd-doc__body h2 { margin-top: 30px; padding-top: 20px; }
	.jkd-doc__body .jkd-options,
	.entry-content ul.jkd-options { grid-template-columns: 1fr; gap: 10px; }
	.jkd-doc__body .jkd-options li { padding: 16px 16px 16px calc(16px + 24px + 12px); }
	.jkd-options li::before { left: 16px; top: 17px; width: 24px; height: 24px; }

	/* Contact: the phone card, the form, then what to have ready */
	.jkd-contact > .wp-block-group__inner-container {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
		grid-template-areas: "call" "form" "ready" "links";
		gap: 14px;
	}
	.jkd-contact__call { padding: 22px 20px; }
	.jkd-contact__call::after { right: -34%; width: 50%; opacity: .5; }
	.jkd-contact__form { padding: 20px 16px; }
	.jkd-contact__form .fluentform form > fieldset { grid-template-columns: 1fr; gap: 8px; }
	.jkd-contact__form .fluentform .ff-btn-submit { max-width: none; }
	.jkd-contact__ready { padding: 20px 16px; }
	.jkd-links .jkd-cards,
	.entry-content ul.jkd-cards { grid-template-columns: 1fr; gap: 10px; }
	.jkd-cards a { padding: 16px; }
	.jkd-cards a::after { display: none; }
}

/* Larger phones and small tablets (600 to 781): the shipping options and the link cards go across */
@media (max-width: 781px) and (min-width: 600px) {
	.jkd-doc__body .jkd-options,
	.entry-content ul.jkd-options { grid-template-columns: 1fr 1fr; }
	.jkd-links .jkd-cards,
	.entry-content ul.jkd-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.jkd-cards a::after { display: block; }
}
