/*
 * Wooden Garages page: new layout (Regency Garage Page and SEO Fixes plugin).
 * Everything is scoped to .rgr (written twice, ".rgr.rgr", so these rules win over the old theme's list styles) so no other page or part of the site is affected.
 * Mobile first; wider screens are handled further down.
 */

.rgr.rgr {
	--rgr-blue: #58739f;       /* the header bar blue of the current site (owner, 15 Nov 2026) */
	--rgr-blue-text: #28649b;  /* the current site's heading blue, used for headings and links */
	--rgr-blue-dark: #465d83;
	--rgr-orange: #f9a31a;
	--rgr-ink: #1d2433;
	--rgr-line: #c9d3e6;
	--rgr-tint: #f2f5fb;
	--rgr-green: #2aa63c;
	color: var(--rgr-ink);
	font-size: 16px;
	line-height: 1.45;
	padding-top: 4px;
	padding-bottom: 24px;
}

.rgr.rgr *,
.rgr.rgr *::before,
.rgr.rgr *::after {
	box-sizing: border-box;
}

.rgr.rgr section,
.rgr.rgr nav {
	margin: 0 0 18px;
}

.rgr.rgr p {
	margin: 0 0 10px;
	font-size: 16px;
	line-height: 1.45;
	color: var(--rgr-ink);
}

.rgr.rgr ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rgr.rgr li {
	margin: 0;
	padding: 0;
	font-size: 16px;
	background: none;
}

.rgr.rgr a {
	box-shadow: none;
	text-decoration: none;
}

.rgr.rgr img {
	display: block;
	max-width: 100%;
	height: auto;
	border: 0;
}

.rgr.rgr .rgr-icon {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
}

.rgr.rgr .rgr-h {
	margin: 0 0 12px;
	padding: 0;
	font-family: inherit;
	font-size: 25px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.01em;
	text-transform: none;
	color: var(--rgr-blue-text);
	border: 0;
	text-align: left;
}

.rgr.rgr .rgr-h--sm {
	font-size: 21px;
	margin-bottom: 6px;
}

.rgr.rgr h4 {
	margin: 12px 0 6px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	color: var(--rgr-ink);
}

.rgr.rgr .rgr-link {
	color: var(--rgr-blue-text);
	font-weight: 700;
	text-decoration: underline;
}

.rgr.rgr .rgr-note {
	display: block;
	font-size: 13px;
	font-style: normal;
	color: #8a4b00;
	background: #fff4dc;
	border: 1px dashed #d9a441;
	border-radius: 6px;
	padding: 4px 8px;
	margin-top: 4px;
}

/* ---------- Rating + call / quote buttons ---------- */

.rgr.rgr .rgr-rating {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px 8px;
	margin: 0 0 12px;
	font-weight: 700;
	text-align: center;
}

.rgr.rgr .rgr-stars {
	display: inline-flex;
	color: var(--rgr-orange);
	vertical-align: middle;
}

.rgr.rgr .rgr-stars .rgr-icon {
	width: 20px;
	height: 20px;
	stroke: none;
}


.rgr.rgr .rgr-cta__buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.rgr.rgr .rgr-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
	padding: 10px 12px;
	border: 2px solid transparent;
	border-radius: 10px;
	font-size: 17px;
	line-height: 1.15;
	font-weight: 800;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.rgr.rgr .rgr-btn .rgr-icon {
	width: 28px;
	height: 28px;
}

.rgr.rgr .rgr-btn--call {
	background: var(--rgr-orange);
	color: #14213d;
}

.rgr.rgr .rgr-btn--call:hover,
.rgr.rgr .rgr-btn--call:focus {
	background: #ffb53d;
	color: #14213d;
}

.rgr.rgr .rgr-btn--quote {
	background: var(--rgr-blue);
	color: #fff;
}

.rgr.rgr .rgr-btn--quote:hover,
.rgr.rgr .rgr-btn--quote:focus {
	background: var(--rgr-blue-dark);
	color: #fff;
}

/* "See more pictures" button: the same orange as the call and quote buttons (owner, 16 Nov 2026). */
.rgr.rgr .rgr-btn--outline {
	background: var(--rgr-orange);
	color: #14213d;
	border-color: transparent;
}

.rgr.rgr .rgr-btn--outline:hover,
.rgr.rgr .rgr-btn--outline:focus {
	background: #ffb53d;
	color: #14213d;
}

.rgr.rgr a:focus-visible,
.rgr.rgr summary:focus-visible {
	outline: 3px solid #ffbf47;
	outline-offset: 2px;
}

.rgr.rgr .rgr-cta__strap {
	margin: 10px 0 0;
	text-align: center;
	font-size: 15px;
}

/* Shed pages: price list buttons under the call and quote buttons (owner, 19 Nov 2026). */
.rgr.rgr .rgr-prices {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 12px;
}

.rgr.rgr .rgr-prices > a:only-child {
	grid-column: 1 / -1;
}

.rgr.rgr .rgr-btn--price {
	min-height: 48px;
	padding: 8px 10px;
	gap: 8px;
	font-size: 15px;
}

.rgr.rgr .rgr-btn--price .rgr-icon {
	width: 22px;
	height: 22px;
}

/* Garden Sheds: "See Prices" under each Apex / Pent card. */
.rgr.rgr .rgr-styles__item--priced {
	display: flex;
	flex-direction: column;
}

.rgr.rgr .rgr-styles__item--priced > .rgr-style {
	flex: 1 1 auto;
	height: auto;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.rgr.rgr .rgr-style__price {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid var(--rgr-line);
	border-top: 0;
	border-radius: 0 0 10px 10px;
	background: #fff;
	color: var(--rgr-blue-text);
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	text-align: center;
}

.rgr.rgr .rgr-style__price:hover,
.rgr.rgr .rgr-style__price:focus {
	background: var(--rgr-tint);
	color: var(--rgr-blue-dark);
}

.rgr.rgr .rgr-style__price .rgr-icon {
	width: 18px;
	height: 18px;
}

/* Shed pages: tap-to-open lists inside a section (owner, 19 Nov 2026). */
.rgr.rgr .rgr-panels--inline {
	margin-top: 12px;
}

.rgr.rgr .rgr-panel__h {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	font-weight: inherit;
	letter-spacing: 0;
	text-transform: none;
	color: inherit;
}

/* ---------- Garage photo tiles ---------- */

.rgr.rgr .rgr-tiles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.rgr.rgr .rgr-tile {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: 8px;
	overflow: hidden;
	background: var(--rgr-blue);
	color: #fff;
}

.rgr.rgr .rgr-tile img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	background: #dfe5f0;
}

.rgr.rgr .rgr-tile__label {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 7px 8px;
	font-size: 14px;
	line-height: 1.15;
	font-weight: 800;
	text-transform: uppercase;
	text-align: center;
	color: #fff;
}

.rgr.rgr .rgr-tile:hover,
.rgr.rgr .rgr-tile:focus {
	background: var(--rgr-blue-dark);
}

.rgr.rgr .rgr-more {
	margin-top: 10px;
}

.rgr.rgr .rgr-more > summary {
	list-style: none;
	min-height: 48px;
}

.rgr.rgr .rgr-more > summary::-webkit-details-marker {
	display: none;
}

.rgr.rgr .rgr-more[open] > summary {
	margin-bottom: 10px;
}

/* ---------- Cards ---------- */

.rgr.rgr .rgr-card {
	border: 1px solid var(--rgr-line);
	border-radius: 10px;
	background: #fff;
	padding: 14px 16px;
}

.rgr.rgr .rgr-card__head {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.rgr.rgr .rgr-card__head > .rgr-icon {
	width: 34px;
	height: 34px;
	margin-top: 2px;
	color: var(--rgr-blue-text);
}

.rgr.rgr .rgr-card__head p:last-child {
	margin-bottom: 0;
}

.rgr.rgr .rgr-testimonial h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 6px;
	font-family: inherit;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	color: var(--rgr-blue-text);
}

.rgr.rgr .rgr-testimonial blockquote {
	margin: 0 0 8px;
	padding: 0;
	border: 0;
	font-size: 16px;
	font-style: normal;
	color: var(--rgr-ink);
}

.rgr.rgr .rgr-testimonial blockquote p {
	font-size: 17px;
	font-style: italic;
	margin-bottom: 4px;
}

.rgr.rgr .rgr-testimonial cite {
	display: block;
	font-size: 15px;
	font-style: normal;
	color: var(--rgr-ink);
}

.rgr.rgr .rgr-testimonial cite::before {
	content: none;
}

.rgr.rgr .rgr-testimonial p:last-child {
	margin: 0;
}

/* ---------- Four quick links ---------- */

.rgr.rgr .rgr-quick {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.rgr.rgr .rgr-quick a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 76px;
	padding: 10px 6px;
	border-radius: 8px;
	background: var(--rgr-blue);
	color: #fff;
	font-size: 14px;
	line-height: 1.15;
	font-weight: 800;
	text-transform: uppercase;
	text-align: center;
}

.rgr.rgr .rgr-quick a:hover,
.rgr.rgr .rgr-quick a:focus {
	background: var(--rgr-blue-dark);
	color: #fff;
}

.rgr.rgr .rgr-quick .rgr-icon {
	width: 28px;
	height: 28px;
}

/* ---------- Intro ---------- */

.rgr.rgr .rgr-intro__row {
	display: grid;
	gap: 12px;
	margin-bottom: 14px;
}

.rgr.rgr .rgr-intro__img img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 8px;
}

.rgr.rgr .rgr-measure {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: var(--rgr-tint);
}

.rgr.rgr .rgr-measure__tick {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border-radius: 6px;
	background: var(--rgr-green);
	color: #fff;
}

.rgr.rgr .rgr-measure__tick .rgr-icon {
	width: 20px;
	height: 20px;
	stroke-width: 3;
}

.rgr.rgr .rgr-list {
	list-style: disc;
	margin: 0 0 10px;
	padding-left: 20px;
}

.rgr.rgr .rgr-list li {
	display: list-item;
	margin-bottom: 4px;
	list-style: disc;
}

.rgr.rgr .rgr-measure .rgr-list:last-child {
	margin-bottom: 0;
}

/* ---------- Range ---------- */

.rgr.rgr .rgr-range__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.rgr.rgr .rgr-range__item {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--rgr-line);
	border-radius: 8px;
	overflow: hidden;
	background: var(--rgr-tint);
	color: var(--rgr-blue-text);
	text-align: center;
}

.rgr.rgr .rgr-range__item img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.rgr.rgr .rgr-range__name {
	display: block;
	padding: 7px 4px 2px;
	font-size: 14px;
	line-height: 1.15;
	font-weight: 700;
	color: var(--rgr-blue-text);
}

.rgr.rgr .rgr-range__eg {
	display: block;
	padding: 0 4px 7px;
	font-size: 12px;
	line-height: 1.2;
	color: #47506a;
}

.rgr.rgr .rgr-range__item:hover,
.rgr.rgr .rgr-range__item:focus {
	border-color: var(--rgr-blue);
	background: #e6ecf8;
}

/* ---------- Why choose + feature icons ---------- */

.rgr.rgr .rgr-checks {
	display: grid;
	gap: 8px;
	margin-bottom: 14px;
}

.rgr.rgr .rgr-checks li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 15px;
	line-height: 1.35;
}

.rgr.rgr .rgr-checks .rgr-icon {
	width: 22px;
	height: 22px;
	color: var(--rgr-green);
	stroke-width: 3.2;
}

.rgr.rgr .rgr-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border: 1px solid var(--rgr-line);
	border-radius: 10px;
	background: var(--rgr-tint);
	overflow: hidden;
}

.rgr.rgr .rgr-features li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 10px 4px;
	font-size: 13px;
	line-height: 1.15;
	font-weight: 700;
	text-align: center;
	border-right: 1px solid var(--rgr-line);
	border-bottom: 1px solid var(--rgr-line);
}

.rgr.rgr .rgr-features li:nth-child(3n) {
	border-right: 0;
}

.rgr.rgr .rgr-features li:nth-child(n + 4) {
	border-bottom: 0;
}

.rgr.rgr .rgr-features .rgr-icon {
	width: 30px;
	height: 30px;
	stroke-width: 1.5;
}

/* ---------- Fold-open panels ---------- */

.rgr.rgr .rgr-panels {
	border: 1px solid var(--rgr-line);
	border-radius: 10px;
	overflow: hidden;
	background: var(--rgr-tint);
}

.rgr.rgr .rgr-panel + .rgr-panel,
.rgr.rgr .rgr-faq__item {
	border-top: 1px solid var(--rgr-line);
}

.rgr.rgr details > summary {
	cursor: pointer;
}

.rgr.rgr .rgr-panel > summary,
.rgr.rgr .rgr-faq__item > summary {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	padding: 8px 14px;
	list-style: none;
	font-size: 17px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--rgr-blue-text);
}

.rgr.rgr .rgr-panel > summary::-webkit-details-marker,
.rgr.rgr .rgr-faq__item > summary::-webkit-details-marker {
	display: none;
}

.rgr.rgr .rgr-panel__title,
.rgr.rgr .rgr-faq__item > summary > span:first-child {
	flex: 1 1 auto;
}

.rgr.rgr .rgr-panel__sub {
	font-weight: 400;
	color: var(--rgr-ink);
}

.rgr.rgr .rgr-panel__chev {
	display: inline-flex;
	color: var(--rgr-ink);
	transform: rotate(90deg);
	transition: transform 0.15s ease;
}

.rgr.rgr details[open] > summary .rgr-panel__chev {
	transform: rotate(-90deg);
}

.rgr.rgr .rgr-panel__chev .rgr-icon {
	width: 20px;
	height: 20px;
	stroke-width: 2.4;
}

.rgr.rgr .rgr-panel__body {
	padding: 4px 14px 12px;
	background: #fff;
}

.rgr.rgr .rgr-panel > .rgr-panel__body {
	border-top: 1px solid var(--rgr-line);
	padding-top: 12px;
}

.rgr.rgr .rgr-video {
	position: relative;
	width: 100%;
	max-width: 640px;
	aspect-ratio: 16 / 9;
	margin: 0 0 12px;
	background: #000;
	border-radius: 8px;
	overflow: hidden;
}

.rgr.rgr .rgr-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ---------- FAQ + contact + final button ---------- */

.rgr.rgr .rgr-faq .rgr-card__head {
	margin-bottom: 10px;
}

.rgr.rgr .rgr-faq__item > summary {
	padding-left: 0;
	padding-right: 0;
	font-size: 16px;
}

.rgr.rgr .rgr-faq__item .rgr-panel__body {
	padding-left: 0;
	padding-right: 0;
}

.rgr.rgr .rgr-contact a {
	color: var(--rgr-blue-text);
	font-weight: 700;
	text-decoration: underline;
}

.rgr.rgr .rgr-contact .rgr-tel {
	white-space: nowrap;
}

.rgr.rgr .rgr-btn--final {
	min-height: 60px;
	font-style: italic;
	text-transform: none;
	font-size: 18px;
}

@media (prefers-reduced-motion: reduce) {
	.rgr.rgr * {
		transition: none !important;
	}
}

/* ---------- Small phones ---------- */

@media (max-width: 359px) {
	.rgr.rgr .rgr-btn {
		font-size: 15px;
		gap: 6px;
	}

	.rgr.rgr .rgr-range__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ---------- Tablets and up ---------- */

@media (min-width: 768px) {
	.rgr.rgr section,
	.rgr.rgr nav {
		margin-bottom: 26px;
	}

	.rgr.rgr .rgr-h {
		font-size: 30px;
	}

	.rgr.rgr .rgr-h--sm {
		font-size: 23px;
	}

	.rgr.rgr .rgr-cta__buttons {
		max-width: 720px;
		margin: 0 auto;
		gap: 16px;
	}

	.rgr.rgr .rgr-btn {
		font-size: 20px;
		min-height: 64px;
	}

	.rgr.rgr .rgr-tiles {
		grid-template-columns: repeat(4, 1fr);
		gap: 14px;
	}

	.rgr.rgr .rgr-more > summary {
		max-width: 420px;
		margin-left: auto;
		margin-right: auto;
	}

	.rgr.rgr .rgr-quick {
		grid-template-columns: repeat(4, 1fr);
		gap: 14px;
	}

	.rgr.rgr .rgr-quick a {
		font-size: 16px;
		min-height: 88px;
	}

	.rgr.rgr .rgr-intro__row {
		grid-template-columns: 360px 1fr;
		gap: 22px;
		align-items: start;
	}

	.rgr.rgr .rgr-range__list {
		grid-template-columns: repeat(6, 1fr);
		gap: 12px;
	}

	.rgr.rgr .rgr-checks {
		grid-template-columns: 1fr 1fr;
		gap: 10px 26px;
	}

	.rgr.rgr .rgr-checks li {
		font-size: 16px;
	}

	.rgr.rgr .rgr-features {
		grid-template-columns: repeat(6, 1fr);
	}

	.rgr.rgr .rgr-features li,
	.rgr.rgr .rgr-features li:nth-child(3n) {
		border-bottom: 0;
		border-right: 1px solid var(--rgr-line);
		font-size: 14px;
		padding: 14px 6px;
	}

	.rgr.rgr .rgr-features li:last-child {
		border-right: 0;
	}

	.rgr.rgr .rgr-btn--final {
		max-width: 720px;
		margin: 0 auto;
		font-size: 22px;
	}
}

/* ---------- Header search box ---------- */
/* Owner request (15 Nov 2026): no search box at the top of the garage page.
   The plugin removes it from the page; this line is a safety net. This stylesheet
   only loads on the garage page, so no other page is affected. */

.main-nav .search-box {
	display: none;
}

/* ==========================================================================
   First-screen refinements (owner, 15 Nov 2026) - garage page only.
   The rules below reach outside .rgr on purpose: they tidy the theme's own
   header and banner. This stylesheet is only loaded on the garage page, so
   every other page keeps its normal header.
   ========================================================================== */

/* ---------- Google rating directly beneath the main heading ---------- */

.regency-promo-heading .rgr-banner-rating {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px 8px;
	margin: 10px 0 4px;
	font-size: 17px;
	line-height: 1.3;
	font-weight: 700;
	color: #1d2433;
}

.regency-promo-heading .rgr-banner-rating .rgr-stars {
	display: inline-flex;
	color: #f9a31a;
}

.regency-promo-heading .rgr-banner-rating .rgr-icon {
	width: 22px;
	height: 22px;
	stroke: none;
}

.regency-promo-heading .rgr-banner-rating .rgr-note {
	display: block;
	width: 100%;
	font-size: 13px;
	font-style: normal;
	font-weight: 400;
	color: #8a4b00;
}

/* Less empty space between the banner and the buttons. */

main.inner-content-div {
	padding-top: 14px;
}

.rgr.rgr .rgr-quality {
	margin-bottom: 18px;
}

/* ---------- Phones: shorter header, heading and buttons higher up ---------- */

@media (max-width: 767px) {
	header {
		padding-top: 10px;
		padding-bottom: 8px;
	}

	header .logo {
		margin-bottom: 6px;
	}

	/* Logo: 236 x 74 becomes 204 x 64 - still clear, saves a little height. */
	header .logo img {
		width: auto;
		height: 64px;
	}

	/* Social icons and the telephone number share one row instead of two. */
	header .col-md-8 {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		gap: 4px 18px;
		min-height: 0;
	}

	header .col-md-8 .top-social,
	header .col-md-8 .call-us {
		float: none;
		width: auto;
		margin: 0;
		padding: 0;
	}

	header .col-md-8 .call-us {
		height: auto;
		order: -1;
	}

	header .col-md-8 .call-us p {
		margin: 0;
	}

	header .col-md-8 .socialmedia-buttons img {
		width: 28px;
		height: 28px;
	}

	/* The theme writes these sizes into the page itself, so !important is needed to adjust them. */
	.regency-promo-heading {
		margin: 10px auto 8px !important;
		padding: 4px 14px !important;
	}

	.regency-promo-heading h1 {
		font-size: 26px !important;
		margin-bottom: 6px !important;
	}

	.regency-promo-heading p {
		font-size: 19px !important;
		line-height: 1.25 !important;
		margin: 4px 0 !important;
	}

	.regency-promo-heading p.rgr-banner-rating {
		font-size: 16px !important;
		margin: 8px 0 2px !important;
	}

	/* "Contact us today for a free quotation." repeats the buttons just below it; hidden on phones only. */
	.regency-promo-heading p.rgr-banner-rating + p {
		display: none;
	}

	main.inner-content-div {
		padding-top: 10px;
	}

	.rgr.rgr {
		padding-top: 0;
	}

	.rgr.rgr .rgr-features li {
		font-size: 12.5px;
		padding: 9px 4px;
	}
}

/* ==========================================================================
   Timber Workshops page (same design language as the garage page).
   ========================================================================== */

/* Tick lists taken from the existing page text ("✓ ..." lines). */

.rgr.rgr .rgr-ticks {
	display: grid;
	gap: 6px;
	margin: 0 0 12px;
}

.rgr.rgr .rgr-ticks li {
	position: relative;
	padding-left: 26px;
	font-size: 15px;
	line-height: 1.35;
}

.rgr.rgr .rgr-ticks li::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 3px;
	width: 7px;
	height: 12px;
	border: solid var(--rgr-green);
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
}

.rgr.rgr .rgr-measure .rgr-ticks:last-child,
.rgr.rgr .rgr-panel__body > :last-child {
	margin-bottom: 0;
}

/* How our workshops are built. */

.rgr.rgr .rgr-built__list {
	display: grid;
	gap: 10px;
}

.rgr.rgr .rgr-built__list li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 12px 14px;
	border: 1px solid var(--rgr-line);
	border-radius: 10px;
	background: var(--rgr-tint);
}

.rgr.rgr .rgr-built__list .rgr-icon {
	width: 30px;
	height: 30px;
	margin-top: 2px;
	color: var(--rgr-blue-text);
	stroke-width: 1.6;
}

.rgr.rgr .rgr-built__list strong {
	display: block;
	font-size: 16px;
	line-height: 1.25;
	margin-bottom: 2px;
}

.rgr.rgr .rgr-built__list span {
	display: block;
	font-size: 15px;
	line-height: 1.4;
}

/* What a workshop can be used for. */

.rgr.rgr .rgr-uses__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.rgr.rgr .rgr-uses__list li {
	display: flex;
	gap: 8px;
	align-items: center;
	min-height: 44px;
	padding: 8px 10px;
	border: 1px solid var(--rgr-line);
	border-radius: 8px;
	background: var(--rgr-tint);
	font-size: 14px;
	line-height: 1.2;
	font-weight: 700;
}

.rgr.rgr .rgr-uses__list .rgr-icon {
	width: 18px;
	height: 18px;
	color: var(--rgr-green);
	stroke-width: 3.2;
}

.rgr.rgr .rgr-faq__item .rgr-panel__body p:last-child {
	margin-bottom: 0;
}

@media (min-width: 768px) {
	.rgr.rgr .rgr-built__list {
		grid-template-columns: 1fr 1fr;
		gap: 14px;
	}

	.rgr.rgr .rgr-uses__list {
		grid-template-columns: repeat(5, 1fr);
		gap: 10px;
	}

	.rgr.rgr .rgr-ticks {
		grid-template-columns: 1fr 1fr;
		gap: 6px 24px;
	}

	.rgr.rgr .rgr-measure .rgr-ticks,
	.rgr.rgr .rgr-faq .rgr-ticks {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Garden Sheds, Apex Sheds and Pent Sheds pages.
   ========================================================================== */

.rgr.rgr .rgr-pagehead {
	margin: 0 0 10px;
}

.rgr.rgr .rgr-h--page {
	font-size: 26px;
	text-align: center;
	margin: 6px 0 4px;
}

.rgr.rgr .rgr-gallery .rgr-tiles + .rgr-gallery__more {
	margin: 8px 0 16px;
	text-align: right;
}

.rgr.rgr .rgr-gallery > .rgr-h {
	margin-bottom: 10px;
}

/* "Why choose" cards: a heading and a tick list in each. */

.rgr.rgr .rgr-built__title {
	margin: 0 0 6px;
	padding: 0;
	font-family: inherit;
	font-size: 17px;
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	color: var(--rgr-ink);
}

.rgr.rgr .rgr-built__list--cards .rgr-ticks {
	grid-template-columns: 1fr;
	margin-bottom: 0;
}

.rgr.rgr .rgr-built__list--cards p {
	font-size: 15px;
}

.rgr.rgr .rgr-built__list--cards > li > div {
	flex: 1 1 auto;
	min-width: 0;
}

/* Roof-style cards (Apex / Pent). */

.rgr.rgr .rgr-styles__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 10px;
}

.rgr.rgr .rgr-style {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--rgr-line);
	border-radius: 10px;
	overflow: hidden;
	background: var(--rgr-tint);
	color: var(--rgr-ink);
}

.rgr.rgr .rgr-style img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.rgr.rgr .rgr-style__name {
	display: block;
	padding: 10px 12px 2px;
	font-size: 18px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--rgr-blue-text);
}

.rgr.rgr .rgr-style__text {
	display: block;
	flex: 1 1 auto;
	padding: 2px 12px 8px;
	font-size: 14px;
	line-height: 1.35;
}

.rgr.rgr .rgr-style__go {
	display: block;
	padding: 9px 12px;
	background: var(--rgr-blue);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	text-align: center;
}

.rgr.rgr a.rgr-style:hover .rgr-style__go,
.rgr.rgr a.rgr-style:focus .rgr-style__go {
	background: var(--rgr-blue-dark);
}

.rgr.rgr .rgr-style--current {
	border-style: dashed;
}

.rgr.rgr .rgr-style--current .rgr-style__go {
	background: #dfe5f0;
	color: var(--rgr-ink);
}

.rgr.rgr .rgr-styles__cols {
	display: grid;
	gap: 12px;
}

.rgr.rgr .rgr-styles__cols .rgr-ticks {
	grid-template-columns: 1fr;
}

.rgr.rgr .rgr-intro__row--text {
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.rgr.rgr .rgr-h--page {
		font-size: 34px;
		margin-top: 10px;
	}

	.rgr.rgr .rgr-styles__list {
		gap: 18px;
		max-width: 900px;
	}

	.rgr.rgr .rgr-styles__cols {
		grid-template-columns: 1fr 1fr;
		gap: 18px;
	}

	.rgr.rgr .rgr-intro__row--text {
		grid-template-columns: 1fr;
	}
}

/* Slider captions: no longer headings (see garage-page.php). These rules copy the theme's own
   ".nivo-caption h1" rules exactly (theme css/bootstrap.min.css), so the captions look as they did. */

.nivo-caption .rgr-slide-caption {
	margin: 0;
	font-family: Lato-HeavyItalic, sans-serif;
	font-size: 43px;
	font-weight: 400;
	line-height: 48px;
	color: #fff;
	text-shadow: #333 0 2px 0;
}

@media only screen and (max-width: 768px) {
	.nivo-caption .rgr-slide-caption {
		font-size: 35px;
		line-height: 40px;
	}
}

@media (max-width: 767px) {
	.nivo-caption .rgr-slide-caption {
		font-size: 32px;
		line-height: normal;
	}
}

@media (max-width: 480px) {
	.nivo-caption .rgr-slide-caption {
		font-size: 26px;
	}
}

@media (max-width: 320px) {
	.nivo-caption .rgr-slide-caption {
		font-size: 20px;
	}
}
