/* =============================================================================
   Super Rack 2026 - ordinary pages
   Loaded on `is_page()` only. Covers the block treatment applied to editor
   content by `srk_page_blocks()`, plus the three pages that have their own
   template: Client Testimonials, Finance and Contact Us.
   ========================================================================== */

/* ------------------------------------------------------------------ body --- */

.srk-pagebody { padding-block: var(--srk-section); }

/* `.srk-content` carries its own section padding for templates that use it on its
   own. Inside a page body the wrapper already has it, and two would double it. */
.srk-pagebody > .srk-content { padding-block: 0; }

.srk-pagebody--toc {
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr);
	gap: 0 64px;
	align-items: start;
}

/* --------------------------------------------------------- contents rail --- */

.srk-ptoc {
	position: sticky;
	top: 24px;
	border-top: 2px solid var(--srk-ink);
	padding-top: 16px;
}
.srk-ptoc__title { margin: 0 0 12px; color: var(--srk-soft); }
.srk-ptoc__list { list-style: none; margin: 0; padding: 0; }
.srk-ptoc__list li + li { margin-top: 2px; }
.srk-ptoc__list a {
	display: block;
	padding: 6px 0;
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--srk-soft);
	border-bottom: 1px solid var(--srk-line);
}
.srk-ptoc__list a:hover { color: var(--srk-red-text); }

/* -------------------------------------------------------------- sections --- */

/* `.srk-content > *` clamps every child to a reading measure. A section is not a
   paragraph - it is the thing that holds them - so the clamp moves inward, and
   card grids and photo strips opt out of it entirely. */
.srk-content > .srk-psec { max-width: none; }

.srk-psec { padding-block: 40px 44px; border-top: 1px solid var(--srk-line); }
.srk-psec:first-child { padding-top: 0; border-top: 0; }
.srk-psec:last-child { padding-bottom: 0; }
.srk-psec > * { max-width: 760px; }
.srk-psec > .srk-pcards,
.srk-psec > .srk-pgallery,
.srk-psec > .srk-logos,
.srk-psec > .srk-ptable { max-width: none; }

.srk-content.srk-prose .srk-psec > h2 {
	margin: 0 0 22px;
	font-size: 30px;
	line-height: 1.15;
	letter-spacing: -0.02em;
}
.srk-content.srk-prose .srk-psec > h2::before {
	content: "";
	display: block;
	width: 38px;
	height: 3px;
	margin-bottom: 16px;
	background: var(--srk-red);
}

/* ----------------------------------------------------------------- cards --- */

.srk-pcards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 26px;
}
.srk-pcard {
	background: var(--srk-white);
	border: 1px solid var(--srk-line);
	padding: 26px 26px 22px;
}
.srk-content.srk-prose .srk-pcard > h3 {
	margin: 0 0 12px;
	font-size: 18px;
	line-height: 1.3;
}
.srk-content.srk-prose .srk-pcard p { font-size: 14.5px; line-height: 1.7; color: var(--srk-soft); }
.srk-content.srk-prose .srk-pcard > *:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------- pictures --- */

.srk-pgallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 26px 0 0;
}
.srk-pshot { display: block; overflow: hidden; background: var(--srk-line); }
.srk-pshot img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	margin: 0;
	transition: transform 0.3s ease;
}
.srk-pshot:hover img { transform: scale(1.03); }


/* -------------------------------------------------------- quotes, tables --- */

.srk-content.srk-prose .srk-pquote {
	margin: 26px 0;
	padding: 22px 26px;
	background: var(--srk-white);
	border: 0;
	border-left: 3px solid var(--srk-red);
	font-size: 16px;
}
.srk-ptable { overflow-x: auto; margin: 26px 0; }
.srk-ptable table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.srk-ptable th, .srk-ptable td { border: 1px solid var(--srk-line); padding: 10px 14px; text-align: left; }
.srk-ptable th { background: var(--srk-white); font-weight: 700; }

/* ------------------------------------------------------------ hero extra --- */

.srk-pagehero__kicker { color: var(--srk-eyebrow); margin: 0 0 14px; }

/* -------------------------------------------------------------- page cta --- */

/*
 * Red, not ink.
 *
 * The footer is ink, and this band sits directly on top of it, so an ink band produced 750px
 * of unbroken black at the bottom of every page with no seam between the offer and the site
 * furniture. The home page's closing band has always been red; this is the same band.
 */
.srk-pcta {
	background: var(--srk-red);
	color: #fff;
	--srk-red-text:    var(--srk-red-ink);
	--srk-eyebrow:     var(--srk-red-ink);
	--srk-quiet:       var(--srk-red-ink);
	--srk-soft:        var(--srk-red-ink);
	--srk-text-strong: #fff;
}
.srk-pcta__inner {
	display: flex;
	gap: 56px;
	align-items: center;
	justify-content: space-between;
	padding-block: 52px;
}
.srk-pcta__eyebrow { color: var(--srk-red-ink); margin: 0 0 14px; }
.srk-pcta__title { font-size: 32px; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 12px; max-width: 16ch; }
.srk-pcta__body { color: var(--srk-red-ink); margin: 0; max-width: 46ch; font-size: 14.5px; }
.srk-pcta__actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ---------------------------------------------------------- testimonials --- */

.srk-tscore {
	display: flex;
	align-items: center;
	gap: 28px;
	padding-block: 34px;
	border-bottom: 1px solid var(--srk-line);
}
.srk-tscore__figure { display: flex; align-items: baseline; gap: 6px; }
.srk-tscore__value { font-size: 58px; line-height: 1; letter-spacing: -0.03em; }
.srk-tscore__outof { font-size: 16px; color: var(--srk-quiet); }
.srk-tscore__count { margin: 8px 0 0; font-size: 13px; color: var(--srk-soft); }
.srk-tscore__count strong { color: var(--srk-ink); }
.srk-tscore__cta { margin-left: auto; }

.srk-twall {
	list-style: none;
	margin: 0;
	padding: 0;
	columns: 3;
	column-gap: 20px;
}
.srk-tcard {
	break-inside: avoid;
	margin: 0 0 20px;
	background: var(--srk-white);
	border: 1px solid var(--srk-line);
	padding: 22px 24px;
}
.srk-tcard__body {
	margin: 14px 0 16px;
	padding: 0;
	border: 0;
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--srk-ink);
}
.srk-tcard__by { display: flex; gap: 10px; align-items: baseline; margin: 0; font-size: 12.5px; }
.srk-tcard__name { font-weight: 700; }
.srk-tcard__date { color: var(--srk-quiet); }
.srk-tsource { margin: 10px 0 0; font-size: 12.5px; color: var(--srk-quiet); }
.srk-tsource a { color: var(--srk-red-text); font-weight: 700; margin-left: 6px; }

/* --------------------------------------------------------------- finance --- */

.srk-fin__partner { display: flex; gap: 34px; align-items: center; }
.srk-fin__partner > * { max-width: none; }
.srk-fin__logo { margin: 0; flex-shrink: 0; }
.srk-fin__logo img { width: 210px; height: auto; }
.srk-fin__statement { margin: 0; font-size: 16.5px; line-height: 1.65; max-width: 62ch; }
.srk-finance .srk-psec > h2 {
	margin: 0 0 22px;
	font-size: 30px;
	line-height: 1.15;
	letter-spacing: -0.02em;
	font-weight: 700;
}
.srk-finance .srk-psec > h2::before {
	content: "";
	display: block;
	width: 38px;
	height: 3px;
	margin-bottom: 16px;
	background: var(--srk-red);
}
.srk-finance .srk-pcards { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.srk-finance .srk-pcard h3 { margin: 0 0 10px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.srk-finance .srk-pcard p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--srk-soft); }
.srk-fin__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.srk-fin__phone { font-size: 15.5px; margin: 0 0 8px; }
.srk-fin__phone a { color: var(--srk-red-text); }
.srk-fin__note { font-size: 14.5px; color: var(--srk-soft); margin: 0; }
.srk-fin__note a { color: var(--srk-red-text); font-weight: 700; }
.srk-fin__legal {
	margin: 34px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--srk-line);
	font-size: 12px;
	line-height: 1.7;
	color: var(--srk-quiet);
	max-width: 90ch;
}

/* --------------------------------------------------------------- contact --- */

.srk-contact__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 44px;
	align-items: start;
}

.srk-cform { background: var(--srk-white); border: 1px solid var(--srk-line); padding: 34px 36px 36px; }
.srk-cform__title { font-size: 26px; font-weight: 700; line-height: 1.2; margin: 0 0 10px; }
.srk-cform__note { font-size: 14px; color: var(--srk-soft); margin: 0 0 26px; max-width: 58ch; }
.srk-cform__missing a { color: var(--srk-red-text); font-weight: 700; }

/* The form markup is the site's original and carries no classes of its own, so it is
   styled by element. `srk_contact_wrap_fields()` adds one wrapper per label+control
   pair - the only change made to it - which is what makes two columns possible. */
.srk-cform form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 20px;
	align-items: start;
}
.srk-field { min-width: 0; margin-bottom: 18px; }
.srk-field--ptype,
.srk-field--message { grid-column: 1 / -1; }
.srk-cform .cf-turnstile,
.srk-cform__status,
.srk-cform > form > input[type="submit"] { grid-column: 1 / -1; }

/* The Turnstile widget is visible now. It is a Managed widget, so Cloudflare can ask the
   visitor to tick a box - hiding it meant that request could never be answered and the
   form simply stopped. `min-height` holds the space so the Submit button does not jump
   down the page when the widget finishes rendering. */
.srk-cform .cf-turnstile { margin: 0 0 18px; min-height: 65px; }
.srk-cform__status {
	margin: -6px 0 16px;
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--srk-soft);
}
.srk-cform input[type="submit"]:disabled { background: var(--srk-soft); cursor: default; }
.srk-cform input[type="submit"]:disabled:hover { background: var(--srk-soft); }

/* The same line, carrying the reason the last attempt failed. It sits where the visitor was
   already looking - directly above Submit - and is scrolled to on arrival, because they get
   here by being sent back to a form that otherwise looks untouched. */
.srk-cform__status--error {
	background: var(--srk-red-ink, #FBE7E5);
	border-left: 3px solid var(--srk-red);
	color: var(--srk-ink);
	padding: 12px 14px;
	margin: 0 0 16px;
	font-size: 14.5px;
}
.srk-cform__status--error a {
	color: var(--srk-red-text, var(--srk-red));
	font-weight: 700;
	white-space: nowrap;
}

.srk-cform label {
	display: block;
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--srk-soft);
	margin-bottom: 7px;
}
.srk-cform input,
.srk-cform select,
.srk-cform textarea {
	display: block;
	width: 100%;
	font: inherit;
	font-size: 15px;
	color: var(--srk-ink);
	background: var(--srk-paper);
	border: 1px solid var(--srk-line);
	border-radius: 0;
	padding: 12px 14px;
	-webkit-appearance: none;
	appearance: none;
}
.srk-cform select {
	background-image: linear-gradient(45deg, transparent 50%, var(--srk-ink) 50%), linear-gradient(135deg, var(--srk-ink) 50%, transparent 50%);
	background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-right: 38px;
}
.srk-cform input:focus,
.srk-cform select:focus,
.srk-cform textarea:focus { border-color: var(--srk-ink); background: var(--srk-white); }
.srk-cform textarea { min-height: 150px; resize: vertical; }

.srk-cform input[type="submit"] {
	justify-self: start;
	width: auto;
	background: var(--srk-red);
	color: #fff;
	border: 0;
	padding: 16px 34px;
	font-size: 11.5px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.15s ease;
}
.srk-cform input[type="submit"]:hover { background: var(--srk-red-dark); }

.srk-cside { display: flex; flex-direction: column; gap: 1px; background: var(--srk-line); border: 1px solid var(--srk-line); }
.srk-cside__block { background: var(--srk-white); padding: 22px 24px; }
.srk-cside__block--call { background: var(--srk-ink); color: #fff; }
.srk-cside__label { margin: 0 0 10px; color: var(--srk-soft); }
.srk-cside__block--call .srk-cside__label { color: var(--srk-muted-dark); }
.srk-cside__phone { display: block; font-size: 27px; line-height: 1.1; letter-spacing: -0.01em; color: #fff; }
.srk-cside__phone:hover { color: var(--srk-yellow); }
.srk-cside__hint { margin: 10px 0 0; font-size: 12.5px; color: var(--srk-muted-dark); }
.srk-cside__link { font-size: 15px; color: var(--srk-red-text); word-break: break-word; }
.srk-cside__list, .srk-cside__links { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.srk-cside__list li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.srk-cside__list li + li { border-top: 1px solid var(--srk-line); }
.srk-cside__list span { color: var(--srk-soft); }
.srk-cside__links li { padding: 5px 0; }
.srk-cside__links a { color: var(--srk-red-text); }
.srk-cside__links a:hover { text-decoration: underline; }
.srk-cside__abn { background: var(--srk-white); margin: 0; padding: 16px 24px; font-size: 11.5px; color: var(--srk-quiet); }

.srk-cbranches { padding-bottom: var(--srk-section); }
.srk-cbranches__title { font-size: 30px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 24px; }
.srk-cbranches__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.srk-cbranch { background: var(--srk-white); border: 1px solid var(--srk-line); display: flex; flex-direction: column; }
.srk-cbranch__map { aspect-ratio: 16 / 9; background: var(--srk-line); }
.srk-cbranch__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.srk-cbranch__body { padding: 24px 26px 26px; }
.srk-cbranch__role { color: var(--srk-red-text); margin: 0 0 10px; }
.srk-cbranch__name { font-size: 22px; font-weight: 700; line-height: 1.2; margin: 0 0 6px; }
.srk-cbranch__address { margin: 0 0 16px; font-size: 15px; color: var(--srk-soft); }
.srk-cbranch__meta { list-style: none; margin: 0 0 18px; padding: 0; font-size: 14px; }
.srk-cbranch__meta li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--srk-line); }
.srk-cbranch__meta span { color: var(--srk-soft); }
.srk-cbranch__meta a { color: var(--srk-red-text); }
.srk-cbranch__dir {
	display: inline-block;
	font-size: 11.5px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--srk-ink);
	border-bottom: 2px solid var(--srk-red);
	padding-bottom: 3px;
}
.srk-cbranch__dir:hover { color: var(--srk-red-text); }

.srk-cshots { padding-bottom: var(--srk-section); }
.srk-cshots__title { color: var(--srk-soft); margin: 0 0 18px; }
.srk-cshots__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.srk-cshots__grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ----------------------------------------------------------------- narrow --- */

@media (max-width: 1100px) {
	.srk-pagebody--toc { grid-template-columns: 1fr; gap: 0; }
	.srk-ptoc { position: static; margin-bottom: 34px; }
	.srk-ptoc__list { display: flex; flex-wrap: wrap; gap: 0 20px; }
	.srk-ptoc__list a { border-bottom: 0; }
	.srk-contact__top { grid-template-columns: 1fr; gap: 28px; }
	.srk-twall { columns: 2; }
	.srk-cshots__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.srk-pcards { grid-template-columns: 1fr; }
	.srk-finance .srk-pcards { grid-template-columns: 1fr; }
	.srk-pgallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.srk-cbranches__grid { grid-template-columns: 1fr; }
	.srk-pcta__inner { flex-direction: column; align-items: flex-start; gap: 26px; }
	.srk-pcta__actions { width: 100%; }
	.srk-pcta__actions .srk-btn { flex: 1; }
	.srk-fin__partner { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 700px) {
	.srk-twall { columns: 1; }
	.srk-tscore { flex-wrap: wrap; gap: 18px; }
	.srk-tscore__cta { margin-left: 0; width: 100%; }
	.srk-cform { padding: 24px 20px 26px; }
	.srk-cform form { grid-template-columns: 1fr; }
	.srk-cform input[type="submit"] { width: 100%; justify-self: stretch; }
	.srk-cshots__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.srk-content.srk-prose .srk-psec > h2,
	.srk-finance .srk-psec > h2,
	.srk-cbranches__title { font-size: 24px; }
	.srk-pcta__title { font-size: 26px; }
	.srk-tscore__value { font-size: 44px; }
}

/* ------------------------------------------------------------- super deal --- */

.srk-deals__layout {
	display: grid;
	grid-template-columns: 248px minmax(0, 1fr);
	gap: 0 44px;
	align-items: start;
	padding-block: var(--srk-section);
}
.srk-deals__layout--empty { grid-template-columns: 1fr; }

/* The rail follows the page down, so switching category never means scrolling back up. */
.srk-dealrail__inner { position: sticky; top: 22px; }
.srk-dealrail__label {
	margin: 0 0 12px;
	color: var(--srk-soft);
	padding-bottom: 12px;
	border-bottom: 2px solid var(--srk-ink);
}
.srk-dealrail__list { list-style: none; margin: 0; padding: 0; }
.srk-dealrail__link {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 10px 12px;
	border-bottom: 1px solid var(--srk-line);
	font-size: 14px;
	line-height: 1.3;
	color: var(--srk-ink);
}
.srk-dealrail__link:hover { background: var(--srk-white); color: var(--srk-red-text); }
.srk-dealrail__link.is-current {
	background: var(--srk-ink);
	color: #fff;
	font-weight: 700;
	border-bottom-color: var(--srk-ink);
}
.srk-dealrail__name { flex: 1; min-width: 0; }
.srk-dealrail__count {
	font-family: var(--srk-mono);
	font-size: 11px;
	color: var(--srk-quiet);
	flex-shrink: 0;
}
.srk-dealrail__link.is-current .srk-dealrail__count { color: var(--srk-yellow); }
.srk-dealrail__total { margin: 14px 0 0; font-size: 12px; color: var(--srk-quiet); }

.srk-deals__empty { font-size: 16px; }
.srk-deals__empty a { color: var(--srk-red-text); font-weight: 700; }

.srk-dealsec__head {
	display: flex;
	align-items: baseline;
	gap: 16px;
	margin-bottom: 20px;
	padding-bottom: 14px;
	border-bottom: 2px solid var(--srk-ink);
}
.srk-dealsec__title { font-size: 26px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
.srk-dealsec__count { margin: 0; font-size: 11px; color: var(--srk-quiet); letter-spacing: 0.04em; }
.srk-dealsec__all {
	margin-left: auto;
	font-size: 11.5px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--srk-red-text);
	white-space: nowrap;
}
.srk-dealsec__all:hover { text-decoration: underline; text-underline-offset: 3px; }

/* `auto-fill` rather than a column count: the grid sits in whatever the rail leaves, and
   that is a different width on every breakpoint. */
.srk-dealgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
	gap: 18px;
}

.srk-dealpager {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 30px;
	padding-top: 22px;
	border-top: 1px solid var(--srk-line);
	flex-wrap: wrap;
}
.srk-dealpager__list { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.srk-dealpager__n,
.srk-dealpager__step {
	display: grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	background: var(--srk-white);
	border: 1px solid var(--srk-line);
	font-family: var(--srk-mono);
	font-size: 12.5px;
	color: var(--srk-ink);
}
.srk-dealpager__step {
	font-family: var(--srk-font);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 700;
}
.srk-dealpager__n:hover,
.srk-dealpager__step:hover { border-color: var(--srk-ink); }
.srk-dealpager__n.is-current {
	background: var(--srk-ink);
	border-color: var(--srk-ink);
	color: #fff;
}

.srk-dealnav {
	display: flex;
	gap: 14px;
	margin-top: 34px;
	padding-top: 22px;
	border-top: 1px solid var(--srk-line);
}
.srk-dealnav__link {
	flex: 1;
	background: var(--srk-white);
	border: 1px solid var(--srk-line);
	padding: 16px 18px;
	min-width: 0;
}
.srk-dealnav__link:hover { border-color: var(--srk-ink); }
.srk-dealnav__link--next { text-align: right; }
.srk-dealnav__link .lbl { display: block; color: var(--srk-soft); margin-bottom: 6px; }
.srk-dealnav__link strong { display: block; font-size: 15px; line-height: 1.3; }

@media (max-width: 1100px) {
	.srk-deals__layout { grid-template-columns: 1fr; gap: 0; }
	.srk-dealrail__inner { position: static; margin-bottom: 30px; }
	.srk-dealrail__list { display: flex; flex-wrap: wrap; gap: 8px; }
	.srk-dealrail__link {
		border: 1px solid var(--srk-line);
		background: var(--srk-white);
		padding: 8px 13px;
		font-size: 13px;
	}
	.srk-dealrail__total { display: none; }
}

@media (max-width: 900px) {
	.srk-dealsec__head { flex-wrap: wrap; }
	.srk-dealsec__all { margin-left: 0; width: 100%; }
}

@media (max-width: 620px) {
	.srk-dealgrid { grid-template-columns: 1fr; }
	.srk-dealsec__title { font-size: 22px; }
	.srk-dealnav { flex-direction: column; }
	.srk-dealpager { justify-content: center; }
	.srk-dealpager__list { flex-wrap: wrap; justify-content: center; }
	.srk-dealnav__link--next { text-align: left; }
}

/* ------------------------------------------------------- builder icon boxes --- */

/* `srk_page_blocks()` pairs a loose `<svg>` with the text that follows it. The icons come
   out of the content with no width, height or fill of their own - a page builder sized them
   from its own stylesheet - so they are sized here. */
.srk-picons {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
	gap: 18px;
	margin: 26px 0 0;
}
.srk-content > .srk-picons,
.srk-psec > .srk-picons { max-width: none; }

.srk-picon {
	background: var(--srk-white);
	border: 1px solid var(--srk-line);
	padding: 24px 24px 22px;
	display: flex;
	flex-direction: column;
}
.srk-picon__mark {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 16px;
	background: var(--srk-paper);
	border: 1px solid var(--srk-line);
	flex-shrink: 0;
}
.srk-picon__mark svg {
	width: 22px;
	height: 22px;
	display: block;
	fill: var(--srk-red);
}
.srk-content.srk-prose .srk-picon__title {
	margin: 0 0 9px;
	font-size: 16px;
	line-height: 1.3;
	font-weight: 700;
}
.srk-content.srk-prose .srk-picon__title a { color: inherit; text-decoration: none; }
.srk-content.srk-prose .srk-picon p {
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
	color: var(--srk-soft);
}

/* Counted, when the boxes are steps rather than claims. */
.srk-picons:has(.srk-picon__title) { counter-reset: srk-step; }
.srk-picons:has(.srk-picon__title) .srk-picon { counter-increment: srk-step; }
.srk-picons:has(.srk-picon__title) .srk-picon__mark::after {
	content: counter(srk-step);
	position: absolute;
	transform: translate(20px, -20px);
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	background: var(--srk-ink);
	color: #fff;
	font-family: var(--srk-mono);
	font-size: 11px;
	line-height: 1;
}
.srk-picons:has(.srk-picon__title) .srk-picon__mark { position: relative; }

.srk-psec__eyebrow { margin: 0 0 12px; color: var(--srk-red-text); }
.srk-content.srk-prose .srk-psec > .srk-psec__eyebrow + h2 { margin-top: 0; }
.srk-content.srk-prose .srk-psec > .srk-psec__eyebrow + h2::before { display: none; }

.srk-pbtnrow { margin: 22px 0 0; }
.srk-content.srk-prose .srk-pbtnrow a.srk-btn { color: #fff; text-decoration: none; }
.srk-content.srk-prose .srk-pbtnrow a.srk-btn:hover { color: #fff; }

@media (max-width: 620px) {
	.srk-picons { grid-template-columns: 1fr; }
}

/* A photograph left standing on its own by the block pass. */
.srk-content.srk-prose .srk-psec > img {
	display: block;
	width: 100%;
	max-width: none;
	margin: 26px 0 0;
	border: 1px solid var(--srk-line);
}

/* ---------------------------------------------------- pallet racking audit --- */

/*
 * One hero instead of a hero and an offer band.
 *
 * The page title sat alone in a 390px ink band with no lead under it, and the offer - pitch,
 * buttons, photograph - sat in a 456px band below it whose copy column was 215px tall inside
 * 360px of photograph. Two bands, both mostly empty. They are one band now: copy on the left,
 * the warehouse photograph on the right, the whole thing as tall as the picture.
 */
.srk-audithero { background: var(--srk-ink); color: #fff; }
.srk-audithero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 56px;
	align-items: center;
	padding-block: 44px 48px;
}
.srk-audithero__copy { min-width: 0; }
.srk-audithero__title {
	font-size: clamp(30px, 3.6vw, 50px);
	line-height: 1.04;
	letter-spacing: -0.03em;
	margin: 0 0 18px;
}
.srk-audithero__photo img {
	display: block;
	width: 100%;
	height: 400px;
	object-fit: cover;
}

.srk-audit__offer {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 44px;
	align-items: center;
	padding-block: 48px;
}
.srk-audit__standard { margin: 0 0 14px; color: var(--srk-red-text); }
.srk-audit__pitch {
	font-size: 19px;
	line-height: 1.55;
	margin: 0 0 26px;
	max-width: 46ch;
}
.srk-audit__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.srk-audit__actions .srk-btn { text-decoration: none; }
.srk-audit__photo img {
	display: block;
	width: 100%;
	height: 360px;
	object-fit: cover;
	border: 1px solid var(--srk-line);
}

.srk-audit__head { margin-bottom: 26px; }
.srk-audit__eyebrow { margin: 0 0 12px; color: var(--srk-eyebrow); }
.srk-audit__h2 {
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 0;
}
.srk-audit__h2::before {
	content: "";
	display: block;
	width: 38px;
	height: 3px;
	margin-bottom: 16px;
	background: var(--srk-red);
}

.srk-audit__why { background: var(--srk-paper); padding-block: var(--srk-section); border-top: 1px solid var(--srk-line); }
.srk-audit__why .srk-picons { margin-top: 0; }

.srk-audit__note {
	margin-top: 26px;
	background: var(--srk-white);
	border: 1px solid var(--srk-line);
	border-left: 3px solid var(--srk-yellow);
	padding: 22px 26px;
	font-size: 15px;
	line-height: 1.7;
	max-width: 88ch;
}
.srk-audit__note p:last-child { margin-bottom: 0; }
.srk-audit__note a { color: var(--srk-red-text); font-weight: 700; }

/* The process reads as a sequence, so it gets a band of its own. */
.srk-audit__process {
	background: var(--srk-ink);
	color: #fff;
	padding-block: var(--srk-section);
	--srk-red-text:    var(--srk-red-light);
	--srk-eyebrow:     var(--srk-yellow);
	--srk-quiet:       var(--srk-dim-dark);
	--srk-soft:        var(--srk-muted-dark);
	--srk-text-strong: #fff;
}
.srk-audit__process .srk-audit__h2::before { background: var(--srk-yellow); }
.srk-audit__process .srk-picons { margin-top: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.srk-audit__process .srk-picon {
	background: var(--srk-ink-soft);
	border-color: var(--srk-ink-line);
}
.srk-audit__process .srk-picon__mark { background: var(--srk-ink); border-color: var(--srk-ink-line); }
.srk-audit__process .srk-picon__mark svg { fill: var(--srk-yellow); }
.srk-audit__process .srk-picon__title { color: #fff; font-size: 16px; font-weight: 700; margin: 0 0 9px; line-height: 1.3; }
.srk-audit__process .srk-picon p { color: var(--srk-dark-body); font-size: 14px; line-height: 1.65; margin: 0; }
.srk-audit__process .srk-picons:has(.srk-picon__title) .srk-picon__mark::after {
	background: var(--srk-yellow);
	color: var(--srk-ink);
}

.srk-audit__copy { padding-block: var(--srk-section); }
.srk-audit__h2--copy { margin-bottom: 22px; max-width: 24ch; }
.srk-audit__prose { padding-block: 0; }
.srk-audit__prose > * { max-width: 760px; }
.srk-audit__prose h3 { font-size: 20px; font-weight: 700; margin: 1.6em 0 0.5em; }

@media (max-width: 1100px) {
	.srk-audit__process .srk-picons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.srk-audit__offer { grid-template-columns: 1fr; gap: 28px; padding-block: 34px; }
	.srk-audit__photo img { height: 260px; }
	.srk-audit__pitch { font-size: 17px; }
	.srk-audithero__inner { grid-template-columns: 1fr; gap: 26px; padding-block: 34px; }
	.srk-audithero__photo img { height: 240px; }
}

@media (max-width: 620px) {
	.srk-audit__process .srk-picons { grid-template-columns: 1fr; }
	.srk-audit__actions .srk-btn { width: 100%; text-align: center; }
}

/* The hero's two buttons are a pair, so they are the same height whatever is in them. */
.srk-audit__actions .srk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	line-height: 1.1;
}

/* ------------------------------------------------------- notes and refs --- */

/*
 * The only two classes this stylesheet expects to find written into a page's own content.
 *
 * The AS 4084 guide is the first page here that has to say where a number came from. A
 * compliance page that prints "400 mm" without naming the edition it read that in is worse
 * than one that prints no number at all, so every borrowed figure carries a reference line -
 * and the page opens and closes with a note saying what this is and what it is not.
 *
 * Both are given a `.srk-psec`-scoped twin. `.srk-content.srk-prose .srk-pcard p` is (0,3,1)
 * and would otherwise beat a (0,3,0) rule on font size inside a card, which is where most of
 * the reference lines live.
 */

.srk-content.srk-prose .srk-pnote,
.srk-content.srk-prose .srk-psec .srk-pnote {
	background: var(--srk-white);
	border: 1px solid var(--srk-line);
	border-left: 3px solid var(--srk-red);
	padding: 16px 20px;
	margin: 26px 0;
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--srk-soft);
}
.srk-psec--intro > .srk-pnote:first-child { margin-top: 0; }

.srk-content.srk-prose .srk-pref,
.srk-content.srk-prose .srk-psec .srk-pref {
	margin: 14px 0 0;
	padding-top: 12px;
	border-top: 1px solid var(--srk-line);
	font-size: 13px;
	line-height: 1.55;
	color: var(--srk-soft);
}

/*
 * A lone card at the end of an odd run.
 *
 * Two columns and five cards leaves the fifth beside an empty cell. On the product specs
 * table the same gap read as a fault - "it looks awkward" - and the answer there was to let
 * the odd last row span. Same answer here, and it fixes the Returns page (five cards) as
 * well as the AS 4084 guide, which has three sections with an odd number of checks in them.
 *
 * Finance sets its own three-column grid, where a third card is a complete row already.
 */
.srk-pcards > .srk-pcard:nth-child(odd):last-child { grid-column: 1 / -1; }
.srk-finance .srk-pcards > .srk-pcard:nth-child(odd):last-child { grid-column: auto; }

/*
 * A wide table on a phone.
 *
 * `.srk-ptable` has always had `overflow-x: auto`, and it has never once been able to use it:
 * below 940px the page body is a single-column grid and `.srk-pagemain` is a grid item, whose
 * default `min-width: auto` means it cannot be narrower than its widest content. So the five
 * column beam chart pushed the column to 389px inside a 335px wrap and the whole document
 * scrolled sideways instead of the table.
 *
 * `min-width: 0` hands that job back to the scroll container. The type comes down a little at
 * the same time, because a five column table that fits is better than one that scrolls.
 */
.srk-pagemain { min-width: 0; }

@media (max-width: 700px) {
	.srk-ptable table { font-size: 13px; }
	.srk-ptable th,
	.srk-ptable td { padding: 8px 10px; }
}
