/**
 * HomeReadyGuide design layer.
 *
 * Scoped to .hrg-* classes so it never fights Astra's own styles.
 */

:root {
	--hrg-green: #2f5d50;
	--hrg-green-dark: #1f3d2f;
	--hrg-green-deep: #24483f;
	--hrg-ink: #1f2b26;
	--hrg-body: #4a534f;
	--hrg-cream: #f5f0e7;
	--hrg-sand: #e4ded3;
	--hrg-terracotta: #c85f26;
	--hrg-terracotta-dark: #ad4f1d;
	--hrg-card: #ffffff;
	--hrg-line: #e7e2d8;
	--hrg-radius: 12px;
	--hrg-shadow: 0 1px 2px rgba(31, 43, 38, .04), 0 6px 18px rgba(31, 43, 38, .05);
}

/* ------------------------------------------------------------------ *
 * Header brand
 * ------------------------------------------------------------------ */

.site-header .hrg-brand {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	width: auto;
	color: var(--hrg-green-deep);
	text-decoration: none;
}

.site-header .hrg-brand__mark {
	display: block;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
}

.hrg-brand__house {
	fill: var(--hrg-green-deep);
}

.hrg-brand__door {
	fill: var(--hrg-cream);
}

.hrg-brand__check {
	fill: none;
	stroke: var(--hrg-terracotta);
	stroke-width: 4.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.site-header .hrg-brand__name {
	display: inline-flex;
	align-items: baseline;
	color: var(--hrg-green-deep);
	font-family: 'Bitter', Georgia, serif;
	font-size: 1.42rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	white-space: nowrap;
}

.site-header .hrg-brand__accent {
	color: var(--hrg-terracotta-dark);
}

.site-header .hrg-brand:hover .hrg-brand__name,
.site-header .hrg-brand:focus-visible .hrg-brand__name {
	color: var(--hrg-green);
}

.site-header .hrg-brand:hover .hrg-brand__accent,
.site-header .hrg-brand:focus-visible .hrg-brand__accent {
	color: var(--hrg-terracotta);
}

@media (max-width: 544px) {
	.site-header .hrg-brand {
		gap: .5rem;
	}

	.site-header .hrg-brand__mark {
		flex-basis: 34px;
		width: 34px;
		height: 34px;
	}

	.site-header .hrg-brand__name {
		font-size: 1.12rem;
	}
}

/* ------------------------------------------------------------------ *
 * Hero
 * ------------------------------------------------------------------ */

.hrg-hero {
	background: var(--hrg-cream);
	position: relative;
	overflow: hidden;
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

.hrg-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	align-items: center;
	gap: clamp(2rem, 4vw, 4rem);
	max-width: 1140px;
	margin-inline: auto;
	padding: 2.4rem 2rem;
}

.hrg-hero__title {
	font-size: 3rem;
	line-height: 1.08;
	letter-spacing: 0;
	color: var(--hrg-green-dark);
	margin: 0 0 .9rem;
}

.hrg-hero__sub {
	font-size: 1.05rem;
	line-height: 1.6;
	color: var(--hrg-body);
	margin: 0 0 1.4rem;
	max-width: 34rem;
}

/* Until a hero image exists, run the text across the full width instead of leaving a gap. */
.hrg-hero--solo .hrg-hero__inner {
	grid-template-columns: 1fr;
	text-align: center;
	max-width: 60rem;
}

.hrg-hero--solo .hrg-hero__sub {
	margin-inline: auto;
}

.hrg-hero--solo .hrg-btns {
	justify-content: center;
}

.hrg-hero__media {
	position: relative;
}

.hrg-hero__media img {
	display: block;
	width: 100%;
	height: min(340px, 30vw);
	object-fit: cover;
	object-position: center;
	border-radius: var(--hrg-radius);
}

/* Buttons -------------------------------------------------------- */

.hrg-btns {
	display: flex;
	flex-wrap: wrap;
	gap: .9rem;
}

.hrg-btn {
	display: inline-block;
	padding: .95rem 1.8rem;
	border-radius: 6px;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.2;
	transition: background-color .18s ease, transform .18s ease;
}

/*
 * Astra underlines links inside the content area. These components are buttons, tiles and cards,
 * so the underline is overridden here rather than turning the site-wide setting off — body copy
 * still needs underlined links.
 */
.entry-content a.hrg-btn,
.entry-content a.hrg-topic,
.entry-content a.hrg-start__card,
.entry-content .hrg-card__title a,
.entry-content .hrg-card__media,
a.hrg-btn,
a.hrg-topic,
a.hrg-start__card,
.hrg-card__title a,
.hrg-social {
	text-decoration: none;
}

.hrg-btn--primary {
	background: var(--hrg-green-dark);
	color: #fff;
}

.hrg-btn--primary:hover,
.hrg-btn--primary:focus {
	background: #16301f;
	color: #fff;
}

.hrg-btn--accent {
	background: var(--hrg-terracotta);
	color: #fff;
}

.hrg-btn--accent:hover,
.hrg-btn--accent:focus {
	background: var(--hrg-terracotta-dark);
	color: #fff;
}

/* ------------------------------------------------------------------ *
 * Section headings
 * ------------------------------------------------------------------ */

.hrg-section {
	max-width: 1240px;
	margin-inline: auto;
	padding: 3.2rem 1.5rem 0;
}

/* Used where a heading block sits directly above, so the two do not stack their padding. */
.hrg-section--flush {
	padding-top: 0;
}

/* Tile row injected above blog and category listings. */
.hrg-section--archive {
	padding-inline: 0;
	padding-top: 0;
	margin-bottom: 2.5rem;
}

.hrg-section--archive .hrg-section__title {
	font-size: 1.35rem;
	margin-bottom: 1.2rem;
}

/* The current category is already the page you are on, so mark it rather than invite a click. */
.hrg-topic--current {
	border-color: var(--hrg-green);
	background: var(--hrg-cream);
}

.hrg-section__title {
	text-align: center;
	color: var(--hrg-green-dark);
	font-size: clamp(1.6rem, 2.6vw, 2rem);
	margin: 0 0 .5rem;
}

.hrg-section__lead {
	text-align: center;
	color: var(--hrg-body);
	margin: 0 auto 2rem;
	max-width: 42rem;
}

/* ------------------------------------------------------------------ *
 * "Where to start" cards
 * ------------------------------------------------------------------ */

.hrg-start {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.4rem;
}

.hrg-start__card {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.5rem 1.4rem;
	border-radius: var(--hrg-radius);
	border: 1px solid var(--hrg-line);
	text-decoration: none;
	color: inherit;
	transition: transform .18s ease, box-shadow .18s ease;
}

.hrg-start__card:hover {
	transform: translateY(-2px);
	box-shadow: var(--hrg-shadow);
}

.hrg-start__card--green { background: #eef3ee; }
.hrg-start__card--peach { background: #fdeee5; }
.hrg-start__card--sand  { background: #fbf4e6; }

.hrg-start__icon {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, .75);
}

.hrg-start__icon svg {
	width: 26px;
	height: 26px;
}

.hrg-start__card--green .hrg-start__icon { color: var(--hrg-green); }
.hrg-start__card--peach .hrg-start__icon { color: var(--hrg-terracotta); }
.hrg-start__card--sand  .hrg-start__icon { color: #b98a2e; }

.hrg-start__text { flex: 1 1 auto; }

.hrg-start__title {
	display: block;
	font-weight: 700;
	font-size: 1.08rem;
	color: var(--hrg-ink);
	line-height: 1.3;
	margin-bottom: .25rem;
}

.hrg-start__sub {
	display: block;
	font-size: .92rem;
	color: var(--hrg-body);
	line-height: 1.45;
}

.hrg-start__arrow {
	flex: 0 0 auto;
	font-size: 1.6rem;
	color: var(--hrg-body);
	opacity: .55;
}

/* ------------------------------------------------------------------ *
 * Topic tiles
 * ------------------------------------------------------------------ */

.hrg-topics {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 1rem;
}

.hrg-topic {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: .7rem;
	padding: 1.3rem .6rem;
	background: var(--hrg-card);
	border: 1px solid var(--hrg-line);
	border-radius: var(--hrg-radius);
	text-decoration: none;
	text-align: center;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hrg-topic:hover {
	transform: translateY(-2px);
	border-color: var(--hrg-green);
	box-shadow: var(--hrg-shadow);
}

.hrg-topic__icon {
	color: var(--hrg-green);
	display: grid;
	place-items: center;
}

.hrg-topic__icon svg {
	width: 34px;
	height: 34px;
}

.hrg-topic__label {
	font-size: .87rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--hrg-ink);
}

/* ------------------------------------------------------------------ *
 * Guide cards
 * ------------------------------------------------------------------ */

.hrg-guides {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.6rem;
}

.hrg-card {
	display: flex;
	flex-direction: column;
	background: var(--hrg-card);
	border: 1px solid var(--hrg-line);
	border-radius: var(--hrg-radius);
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease;
}

.hrg-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--hrg-shadow);
}

.hrg-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--hrg-sand);
	overflow: hidden;
}

/* Fixed ratio keeps the grid even when portrait and landscape images are mixed. */
.hrg-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hrg-card__placeholder {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #e9e3d7, #d9d2c4);
}

.hrg-card__badge {
	position: absolute;
	top: .7rem;
	left: .7rem;
	background: var(--hrg-green-dark);
	color: #fff;
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .06em;
	padding: .32rem .6rem;
	border-radius: 4px;
	text-transform: uppercase;
}

.hrg-card__body {
	padding: 1.1rem 1.15rem 1.3rem;
}

.hrg-card__cat {
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--hrg-body);
	margin: 0 0 .45rem;
}

.hrg-card__title {
	font-size: 1.12rem;
	line-height: 1.32;
	margin: 0 0 .5rem;
}

.hrg-card__title a {
	color: var(--hrg-ink);
	text-decoration: none;
}

.hrg-card__title a:hover {
	color: var(--hrg-green);
}

.hrg-card__excerpt {
	font-size: .93rem;
	line-height: 1.55;
	color: var(--hrg-body);
	margin: 0;
}

.hrg-more {
	text-align: center;
	margin-top: 2rem;
}

/* ------------------------------------------------------------------ *
 * Newsletter band
 * ------------------------------------------------------------------ */

.hrg-cta {
	background: var(--hrg-green-dark);
	color: #fff;
	margin-top: 3.5rem;
}

/* The calendar offer now lives in the global footer; avoid repeating it on home. */
.home .entry-content > .hrg-cta {
	display: none;
}

.hrg-cta__inner {
	max-width: 1240px;
	margin-inline: auto;
	padding: 3rem 1.5rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	align-items: center;
}

.hrg-cta__title {
	color: #fff;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	line-height: 1.2;
	margin: 0 0 .7rem;
}

.hrg-cta__text {
	color: rgba(255, 255, 255, .85);
	margin: 0 0 1.2rem;
}

.hrg-cta__note {
	font-size: .82rem;
	color: rgba(255, 255, 255, .6);
	margin: .7rem 0 0;
}

/* ------------------------------------------------------------------ *
 * Article callouts
 * ------------------------------------------------------------------ */

/* "What to do instead" — the action box that closes each numbered item. */
.hrg-do {
	background: #eef3ee;
	border-left: 4px solid var(--hrg-green);
	border-radius: 0 8px 8px 0;
	padding: 1.1rem 1.3rem;
	margin: 1.4rem 0 2.4rem;
}

.hrg-do__label {
	display: block;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--hrg-green);
	margin-bottom: .55rem;
}

.hrg-do ul {
	margin: 0;
	padding-left: 1.1rem;
}

.hrg-do li {
	margin-bottom: .35rem;
	line-height: 1.55;
}

.hrg-do li:last-child {
	margin-bottom: 0;
}

/* Warning box — the "this is what goes wrong" note. */
.hrg-warn {
	background: #fdeee5;
	border-left: 4px solid var(--hrg-terracotta);
	border-radius: 0 8px 8px 0;
	padding: 1.1rem 1.3rem;
	margin: 1.6rem 0;
}

.hrg-warn__label {
	display: block;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--hrg-terracotta-dark);
	margin-bottom: .5rem;
}

.hrg-warn p:last-child,
.hrg-do p:last-child {
	margin-bottom: 0;
}

/* Closing checklist. */
.hrg-check {
	background: var(--hrg-cream);
	border: 1px solid var(--hrg-sand);
	border-radius: 10px;
	padding: 1.6rem 1.7rem;
	margin: 2.2rem 0;
}

.hrg-check h3 {
	margin-top: 0;
	font-size: 1.15rem;
}

.hrg-check ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hrg-check li {
	position: relative;
	padding-left: 1.9rem;
	margin-bottom: .6rem;
	line-height: 1.5;
}

.hrg-check li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .18em;
	width: 1.05rem;
	height: 1.05rem;
	border: 2px solid var(--hrg-green);
	border-radius: 3px;
}

/* Article tables — wide ones scroll instead of breaking the layout. */
.hrg-table {
	overflow-x: auto;
	margin: 1.8rem 0;
}

.hrg-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: .94rem;
	min-width: 30rem;
}

.hrg-table th {
	background: var(--hrg-green-dark);
	color: #fff;
	text-align: left;
	padding: .7rem .9rem;
	font-weight: 600;
}

.hrg-table td {
	padding: .68rem .9rem;
	border-bottom: 1px solid var(--hrg-line);
}

.hrg-table tr:nth-child(even) td {
	background: #faf9f7;
}

/* Numbered item headings in listicles. */
.entry-content h2.hrg-item {
	margin-top: 2.8rem;
	padding-top: 1.6rem;
	border-top: 1px solid var(--hrg-line);
}

/* ------------------------------------------------------------------ *
 * Header dropdown
 * ------------------------------------------------------------------ */

.ast-desktop .main-header-menu .sub-menu {
	background: #fff;
	border: 1px solid var(--hrg-line);
	border-top: 3px solid var(--hrg-green);
	border-radius: 0 0 10px 10px;
	box-shadow: 0 12px 28px rgba(31, 43, 38, .12);
	padding: .4rem 0;
	min-width: 232px;
	overflow: hidden;
}

.ast-desktop .main-header-menu .sub-menu .menu-link,
.ast-desktop .main-header-menu .sub-menu a {
	padding: .62rem 1.1rem;
	font-size: .95rem;
	font-weight: 500;
	color: var(--hrg-ink);
	background: transparent;
	border: 0;
	/* Room for the accent bar that slides in on hover. */
	border-left: 3px solid transparent;
	transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}

.ast-desktop .main-header-menu .sub-menu .menu-item:hover > .menu-link,
.ast-desktop .main-header-menu .sub-menu .menu-item:focus-within > .menu-link,
.ast-desktop .main-header-menu .sub-menu .menu-item > a:hover,
.ast-desktop .main-header-menu .sub-menu .menu-item > a:focus {
	background: var(--hrg-cream);
	color: var(--hrg-green-dark);
	border-left-color: var(--hrg-terracotta);
}

/* Current category stays marked while you are reading inside it. */
.ast-desktop .main-header-menu .sub-menu .current-menu-item > .menu-link,
.ast-desktop .main-header-menu .sub-menu .current-menu-item > a {
	background: var(--hrg-cream);
	color: var(--hrg-green-dark);
	border-left-color: var(--hrg-green);
	font-weight: 600;
}

/* Parent item keeps the accent while its dropdown is open. */
.ast-desktop .main-header-menu > .menu-item-has-children:hover > .menu-link,
.ast-desktop .main-header-menu > .menu-item-has-children:focus-within > .menu-link {
	color: var(--hrg-green);
}

.ast-desktop .main-header-menu > .menu-item-has-children:hover > .menu-link .ast-icon,
.ast-desktop .main-header-menu > .menu-item-has-children:hover > .menu-link svg {
	transform: rotate(180deg);
	transition: transform .18s ease;
}

/* Mobile drawer: flat tint instead of the floating card. */
.ast-mobile-popup-drawer .sub-menu .menu-link:hover,
.ast-header-break-point .main-header-menu .sub-menu .menu-link:hover {
	background: var(--hrg-cream);
	color: var(--hrg-green-dark);
}

/* ------------------------------------------------------------------ *
 * Footer brand column
 * ------------------------------------------------------------------ */

.hrg-foot-logo {
	display: block;
	height: auto;
	max-width: 210px;
	margin-bottom: .9rem;
}

.hrg-foot-brand p {
	margin: 0 0 1.1rem;
	line-height: 1.6;
	max-width: 24rem;
}

.hrg-socials {
	display: flex;
	gap: .55rem;
}

.hrg-social {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--hrg-green-dark);
	color: #fff;
	transition: background-color .18s ease, transform .18s ease;
}

.hrg-social:hover {
	background: var(--hrg-terracotta);
	color: #fff;
	transform: translateY(-2px);
}

.hrg-social svg {
	width: 17px;
	height: 17px;
}

/* ------------------------------------------------------------------ *
 * Responsive
 * ------------------------------------------------------------------ */

@media (max-width: 1024px) {
	.hrg-hero__inner {
		gap: 2rem;
		padding: 2.2rem 1.75rem;
	}

	.hrg-hero__title {
		font-size: 2.5rem;
	}

	.hrg-topics { grid-template-columns: repeat(4, 1fr); }
	.hrg-guides { grid-template-columns: repeat(2, 1fr); }
	.hrg-start  { grid-template-columns: 1fr; }
}

@media (max-width: 782px) {
	.hrg-hero__inner,
	.hrg-cta__inner {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.hrg-hero__inner { padding: 1.5rem; }
	.hrg-hero__media { order: -1; }
	.hrg-hero__media img {
		height: auto;
		aspect-ratio: 16 / 9;
	}
	.hrg-hero__title { font-size: 2.2rem; }
	.hrg-topics { grid-template-columns: repeat(3, 1fr); }
	.hrg-guides { grid-template-columns: 1fr; }
	.hrg-btn { flex: 1 1 auto; text-align: center; }
}

@media (max-width: 480px) {
	.hrg-hero__inner { padding: 1rem; }
	.hrg-hero__title { font-size: 1.9rem; }
	.hrg-hero__sub {
		font-size: 1rem;
		margin-bottom: 1.15rem;
	}
	.hrg-hero__media img { aspect-ratio: 16 / 10; }
	.hrg-hero .hrg-btns { gap: .65rem; }
	.hrg-hero .hrg-btn {
		flex-basis: 100%;
		padding: .82rem 1rem;
	}
	.hrg-topics { grid-template-columns: repeat(2, 1fr); }
}

/* ------------------------------------------------------------------ *
 * Article components
 * ------------------------------------------------------------------ */

/* Callout boxes. Three tones so the reason for the box is readable at a glance. */
.hrg-box {
	border-radius: var(--hrg-radius);
	padding: 1.35rem 1.5rem;
	margin: 2rem 0;
	border-left: 4px solid var(--hrg-green);
	background: var(--hrg-cream);
}

.hrg-box > :first-child { margin-top: 0; }
.hrg-box > :last-child  { margin-bottom: 0; }

.hrg-box__label {
	display: block;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--hrg-green);
	margin-bottom: .45rem;
}

.hrg-box--warn {
	background: #fdeee5;
	border-left-color: var(--hrg-terracotta);
}

.hrg-box--warn .hrg-box__label { color: var(--hrg-terracotta-dark); }

.hrg-box--cost {
	background: #fbf4e6;
	border-left-color: #b98a2e;
}

.hrg-box--cost .hrg-box__label { color: #8a6620; }

/* Tables inside articles. Wide tables scroll rather than breaking the layout. */
.hrg-table {
	overflow-x: auto;
	margin: 2rem 0;
	border: 1px solid var(--hrg-line);
	border-radius: var(--hrg-radius);
}

.hrg-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: .95rem;
	margin: 0;
}

.hrg-table th {
	background: var(--hrg-green-dark);
	color: #fff;
	text-align: left;
	font-weight: 600;
	padding: .8rem 1rem;
	white-space: nowrap;
}

.hrg-table td {
	padding: .75rem 1rem;
	border-top: 1px solid var(--hrg-line);
	vertical-align: top;
}

.hrg-table tr:nth-child(even) td { background: #faf9f7; }

/* In-article images with captions */
.hrg-figure {
	margin: 2.2rem 0;
}

.hrg-figure img {
	width: 100%;
	height: auto;
	border-radius: var(--hrg-radius);
	display: block;
}

.hrg-figure figcaption {
	font-size: .87rem;
	color: var(--hrg-body);
	margin-top: .6rem;
	font-style: italic;
	text-align: center;
}

/* FAQ */
.hrg-faq {
	margin: 2rem 0;
	border-top: 1px solid var(--hrg-line);
}

.hrg-faq__item {
	border-bottom: 1px solid var(--hrg-line);
	padding: 1.15rem 0;
}

.hrg-faq__q {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--hrg-ink);
	margin: 0 0 .5rem;
	line-height: 1.4;
}

.hrg-faq__a {
	margin: 0;
	color: var(--hrg-body);
	line-height: 1.65;
}

/* Key-takeaway list at the top of a long guide */
.hrg-summary {
	background: #faf9f7;
	border: 1px solid var(--hrg-line);
	border-radius: var(--hrg-radius);
	padding: 1.4rem 1.6rem;
	margin: 2rem 0;
}

.hrg-summary h2,
.hrg-summary h3 {
	font-size: 1.05rem;
	margin: 0 0 .7rem;
	color: var(--hrg-green-dark);
}

.hrg-summary ul { margin: 0; padding-left: 1.15rem; }
.hrg-summary li { margin-bottom: .4rem; }

@media (max-width: 600px) {
	.hrg-box { padding: 1.1rem 1.15rem; }
	.hrg-table th, .hrg-table td { padding: .6rem .7rem; }
}

/* ------------------------------------------------------------------ *
 * Print
 *
 * Readers search for "printable checklist", so a guide has to survive being
 * sent to a printer: no navigation, no images, no link URLs bleeding in.
 * ------------------------------------------------------------------ */

.hrg-print-btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .7rem 1.3rem;
	border: 2px solid var(--hrg-green);
	border-radius: 6px;
	background: #fff;
	color: var(--hrg-green-dark);
	font-weight: 600;
	font-size: .95rem;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease;
}

.hrg-print-btn:hover {
	background: var(--hrg-green);
	color: #fff;
}

.hrg-print-btn svg { width: 18px; height: 18px; }

@media print {
	/* Everything that is not the guide itself */
	.site-header,
	.site-footer,
	.ast-above-header,
	.ast-below-header,
	#ast-scroll-top,
	.hrg-section--archive,
	.hrg-figure,
	.hrg-print-btn,
	.entry-meta,
	.post-navigation,
	.comments-area,
	.ast-single-related-posts-container,
	nav,
	aside {
		display: none !important;
	}

	body {
		background: #fff;
		font-size: 11pt;
		line-height: 1.45;
		color: #000;
	}

	.ast-container,
	.entry-content,
	#primary,
	#content {
		max-width: 100% !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.entry-title {
		font-size: 20pt;
		margin-bottom: .4rem;
	}

	h2 { font-size: 14pt; margin-top: 1.1rem; page-break-after: avoid; }
	h3 { font-size: 12pt; page-break-after: avoid; }

	/* Keep a heading with the list underneath it */
	ul, ol, table, .hrg-box, .hrg-summary { page-break-inside: avoid; }

	/* Checkboxes so the printed page is usable as a checklist */
	.entry-content ul > li {
		list-style: none;
		position: relative;
		padding-left: 1.5rem;
		margin-bottom: .3rem;
	}

	.entry-content ul > li::before {
		content: "";
		position: absolute;
		left: 0;
		top: .25em;
		width: .85em;
		height: .85em;
		border: 1px solid #555;
	}

	.hrg-box, .hrg-summary {
		border: 1px solid #999;
		background: none !important;
		padding: .6rem .8rem;
	}

	.hrg-table table { font-size: 10pt; }
	.hrg-table th { background: none; color: #000; border-bottom: 2px solid #000; }
	.hrg-table td { border-top: 1px solid #ccc; }

	/* Astra underlines links; printed URLs are noise */
	a { text-decoration: none; color: #000; }
	a[href]::after { content: ""; }
}

/* ==========================================================================
   Printable checklist
   The one-page version of a guide. On screen it reads as a bordered card so
   it is obviously something you can take away; on paper it is the only thing
   that prints, because six pages of prose is not a checklist.
   ========================================================================== */

.hrg-printable {
	border: 2px solid var(--hrg-green);
	border-radius: var(--hrg-radius);
	background: var(--hrg-card);
	margin: 2.4rem 0;
	overflow: hidden;
}

.hrg-printable__head {
	background: var(--hrg-green);
	color: #fff;
	padding: 1.1rem 1.4rem .95rem;
}

.hrg-printable__title {
	margin: 0;
	color: #fff;
	font-size: 1.28rem;
	line-height: 1.22;
	letter-spacing: -.01em;
}

.hrg-printable__note {
	margin: .4rem 0 0;
	color: rgba(255, 255, 255, .85);
	font-size: .93rem;
	line-height: 1.45;
}

.hrg-printable__meta {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	margin: .7rem 0 0;
	font-size: .72rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: rgba(255, 255, 255, .72);
}

.hrg-printable__brand {
	font-weight: 600;
}

.hrg-printable__body {
	padding: 1.3rem 1.4rem .4rem;
}

.hrg-printable__section {
	margin-bottom: 1.35rem;
	break-inside: avoid;
}

.hrg-printable__section h3 {
	margin: 0 0 .5rem;
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .11em;
	color: var(--hrg-green);
	border-bottom: 1px solid var(--hrg-line);
	padding-bottom: .35rem;
}

.hrg-printable__section ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hrg-printable__section li {
	position: relative;
	padding: .3rem 0 .3rem 1.75rem;
	font-size: .96rem;
	line-height: 1.45;
	color: var(--hrg-ink);
	break-inside: avoid;
}

.hrg-printable__section li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .5em;
	width: 1em;
	height: 1em;
	border: 1.5px solid var(--hrg-green);
	border-radius: 3px;
	background: #fff;
}

.hrg-printable__foot {
	margin: 0;
	padding: .7rem 1.4rem .9rem;
	border-top: 1px solid var(--hrg-line);
	font-size: .76rem;
	color: var(--hrg-body);
}

@media (min-width: 720px) {
	.hrg-printable__body {
		column-count: 2;
		column-gap: 2.2rem;
	}
}

/* ==========================================================================
   Print, when a printable is present: that checklist is all that goes on paper.
   ========================================================================== */

@media print {

	.hrg-has-printable .entry-content > *,
	.hrg-has-printable .entry-header,
	.hrg-has-printable .post-thumb-img-content {
		display: none !important;
	}

	.hrg-has-printable .entry-content > .hrg-printable {
		display: block !important;
	}

	.hrg-printable {
		border: none;
		margin: 0;
	}

	.hrg-printable__head {
		background: none !important;
		color: #000 !important;
		border-bottom: 2px solid #000;
		padding: 0 0 .5rem;
		margin-bottom: .9rem;
	}

	.hrg-printable__title {
		color: #000 !important;
		font-size: 17pt;
	}

	.hrg-printable__note {
		color: #333 !important;
		font-size: 9.5pt;
	}

	.hrg-printable__meta {
		color: #555 !important;
		font-size: 7.5pt;
		margin-top: .45rem;
	}

	.hrg-printable__body {
		padding: 0;
		column-count: 2;
		column-gap: 1.4rem;
	}

	.hrg-printable__section {
		margin-bottom: .75rem;
	}

	.hrg-printable__section h3 {
		color: #000;
		font-size: 8.5pt;
		border-bottom: 1px solid #000;
	}

	.hrg-printable__section li {
		font-size: 9.5pt;
		padding: .16rem 0 .16rem 1.5rem;
		color: #000;
	}

	.hrg-printable__section li::before {
		border: 1px solid #000;
		border-radius: 2px;
		top: .35em;
		width: .92em;
		height: .92em;
	}

	.hrg-printable__foot {
		border-top: 1px solid #999;
		padding: .5rem 0 0;
		font-size: 7.5pt;
		color: #555;
	}

	@page {
		margin: 14mm;
	}
}

/* ==========================================================================
   Footer
   Three columns over a full-width call to action. The footer is the last thing
   a reader sees before leaving, so it gets one clear next step rather than a
   wall of links.
   ========================================================================== */

.site-footer {
	background: var(--hrg-green-deep);
	color: rgba(255, 255, 255, .78);
}

.site-footer a {
	color: rgba(255, 255, 255, .82);
	text-decoration: none;
	transition: color .16s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
	color: #fff;
}

.site-primary-footer-wrap {
	padding-top: 2.5rem;
	padding-bottom: 2.25rem;
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.site-primary-footer-wrap .site-primary-footer-inner-wrap {
	grid-template-columns: minmax(16rem, 1.45fr) minmax(10rem, .8fr) minmax(10rem, .75fr) !important;
	column-gap: clamp(2rem, 5vw, 5rem);
}

/* Column headings: small, spaced, quiet. They label, they do not shout. */
.site-footer h4,
.footer-nav-wrap::before {
	display: block;
	margin: 0 0 .9rem;
	color: rgba(255, 255, 255, .5);
	font-size: .74rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .13em;
	line-height: 1.4;
}

/* The menu element has no heading field, so it gets one here. */
.footer-nav-wrap::before {
	content: "This site";
}

/* --- Brand column ------------------------------------------------------- */

.hrg-foot-logo {
	display: block;
	height: auto;
	max-width: 190px;
	margin-bottom: 1rem;
	filter: brightness(0) invert(1);
	opacity: .95;
}

.hrg-foot-brand p {
	margin: 0 0 1.2rem;
	max-width: 26rem;
	font-size: .94rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, .7);
}

.hrg-socials {
	display: flex;
	gap: .5rem;
}

.hrg-social {
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	transition: background-color .18s ease, transform .18s ease;
}

.hrg-social:hover,
.hrg-social:focus-visible {
	background: var(--hrg-terracotta);
	color: #fff;
	transform: translateY(-2px);
}

.hrg-social svg {
	width: 17px;
	height: 17px;
}

/* --- Link columns ------------------------------------------------------- */

.site-footer .ast-builder-html-element p {
	margin: 0;
}

.site-footer .ast-builder-html-element p a,
.footer-nav-wrap .menu-link {
	display: inline-block;
	padding: .28rem 0;
	font-size: .94rem;
	line-height: 1.5;
}

.site-footer .ast-builder-html-element p a:hover,
.footer-nav-wrap .menu-link:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: .22em;
}

/* The footer menu ships as a horizontal row; in a column it reads as a list. */
.footer-nav-wrap #astra-footer-menu {
	display: block;
}

.footer-nav-wrap #astra-footer-menu .menu-item {
	display: block;
	margin: 0;
}

.footer-nav-wrap #astra-footer-menu .menu-link {
	padding-left: 0;
	padding-right: 0;
}

/* --- Call to action band ------------------------------------------------ */

.hrg-foot-cta {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: .25rem 2.5rem;
	padding: 0;
}

.hrg-foot-cta__eyebrow {
	display: block;
	grid-column: 1;
	margin-bottom: .35rem;
	color: var(--hrg-terracotta);
	font-size: .72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .13em;
}

.hrg-foot-cta__title {
	grid-column: 1;
	margin: 0 0 .3rem;
	color: #fff;
	font-size: 1.32rem;
	line-height: 1.2;
	letter-spacing: 0;
}

.hrg-foot-cta__text {
	grid-column: 1;
	margin: 0;
	font-size: .95rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, .72);
}

.hrg-foot-cta__btn {
	grid-column: 2;
	grid-row: 1 / span 3;
	align-self: center;
	display: inline-block;
	padding: .78rem 1.5rem;
	border-radius: 4px;
	background: var(--hrg-terracotta);
	color: #fff !important;
	font-size: .95rem;
	font-weight: 600;
	white-space: nowrap;
	transition: background-color .18s ease, transform .18s ease;
}

.hrg-foot-cta__btn:hover,
.hrg-foot-cta__btn:focus-visible {
	background: var(--hrg-terracotta-dark);
	transform: translateY(-1px);
	text-decoration: none;
}

.hrg-foot-cta-wrap {
	padding: 2rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

/* --- Bottom bar --------------------------------------------------------- */

.site-below-footer-wrap {
	padding-top: 1.2rem;
	padding-bottom: 1.4rem;
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.site-below-footer-wrap,
.ast-footer-copyright p {
	font-size: .84rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, .55);
}

.ast-footer-copyright a {
	color: rgba(255, 255, 255, .72);
}

.hrg-foot-legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: .4rem .95rem;
	margin: 0 0 .45rem;
}

.hrg-foot-legal a {
	font-size: .84rem;
}

.hrg-foot-note {
	margin: 0;
	font-size: .8rem;
	color: rgba(255, 255, 255, .45);
}

/* Legal links belong in the bottom bar, so do not repeat them in the main menu. */
.footer-nav-wrap #menu-item-193,
.footer-nav-wrap #menu-item-309 {
	display: none;
}

/* --- Responsive --------------------------------------------------------- */

@media (max-width: 921px) {
	.site-primary-footer-wrap {
		padding-top: 2.2rem;
		padding-bottom: 1.8rem;
	}

	.site-primary-footer-inner-wrap {
		grid-template-columns: minmax(0, 1.35fr) minmax(9rem, .8fr) minmax(9rem, .8fr) !important;
		column-gap: 2rem;
	}

	.site-footer-primary-section-1,
	.site-footer-primary-section-2,
	.site-footer-primary-section-3 {
		margin-bottom: 0;
	}

	.hrg-foot-cta {
		gap: .25rem 1.5rem;
	}

	.hrg-foot-cta__btn {
		grid-column: 2;
		grid-row: 1 / span 3;
	}
}

@media (max-width: 544px) {
	.hrg-foot-cta-wrap {
		padding: 1.65rem 0;
	}

	.hrg-foot-cta {
		grid-template-columns: 1fr;
		gap: .3rem;
	}

	.hrg-foot-cta__title {
		font-size: 1.18rem;
	}

	.hrg-foot-cta__text {
		margin-bottom: .75rem;
	}

	.hrg-foot-cta__btn {
		grid-column: 1;
		grid-row: auto;
		justify-self: stretch;
		text-align: center;
	}

	.site-primary-footer-wrap {
		padding-top: 1.8rem;
		padding-bottom: 1.5rem;
	}

	.site-primary-footer-inner-wrap {
		grid-template-columns: 1fr !important;
		row-gap: 1.65rem;
	}

	.site-footer-primary-section-1 .hrg-foot-brand {
		max-width: 28rem;
	}

	.site-below-footer-wrap {
		padding-top: 1rem;
		padding-bottom: 1.15rem;
	}

	.hrg-socials {
		gap: .45rem;
	}
}

/* Bottom bar: one centred stack, so the legal row and the copyright line agree. */

.site-below-footer-wrap .ast-footer-copyright {
	width: 100%;
	text-align: center;
}

.site-below-footer-wrap .site-footer-below-section-1 {
	justify-content: center;
}

.hrg-foot-legal a {
	position: relative;
}

/* Hairline separators between the legal links, drawn rather than typed so the
   last one never leaves a trailing dot. */
.hrg-foot-legal a + a::before {
	content: "";
	position: absolute;
	left: -.5rem;
	top: .35em;
	bottom: .35em;
	width: 1px;
	background: rgba(255, 255, 255, .22);
}

/* Astra sizes footer headings from the widget-title rule; the footer wants them small. */
.site-footer .ast-builder-html-element h4 {
	font-family: inherit;
	font-size: .74rem;
	font-weight: 600;
}

/* The brand column reads better slightly narrower than a third on wide screens. */
@media (min-width: 922px) {
	.site-footer-primary-section-1 .hrg-foot-brand {
		max-width: 21rem;
	}
}

/* ==========================================================================
   Author box
   Sits after the guide and before the related posts. Quiet by design — it is a
   credential, not a call to action.
   ========================================================================== */

.hrg-author {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	margin: 2.8rem 0 0;
	padding: 1.6rem 1.7rem;
	border: 1px solid var(--hrg-line);
	border-radius: var(--hrg-radius);
	background: var(--hrg-cream);
}

.hrg-author__avatar {
	flex: 0 0 auto;
}

.hrg-author__photo {
	display: block;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	object-fit: cover;
}

.hrg-author__mark {
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: var(--hrg-green);
	color: #fff;
}

.hrg-author__mark svg {
	width: 30px;
	height: 30px;
}

.hrg-author__body {
	flex: 1 1 auto;
	min-width: 0;
}

.hrg-author__eyebrow {
	display: block;
	font-size: .72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .13em;
	color: var(--hrg-body);
	opacity: .8;
}

.hrg-author__name {
	margin: .2rem 0 .5rem;
	font-size: 1.12rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--hrg-ink);
}

.hrg-author__bio {
	margin: 0 0 .7rem;
	font-size: .95rem;
	line-height: 1.62;
	color: var(--hrg-body);
}

.hrg-author__meta {
	margin: 0;
	font-size: .84rem;
	color: var(--hrg-body);
	opacity: .85;
}

.entry-content .hrg-author__meta a,
.hrg-author__meta a {
	color: var(--hrg-green);
	text-decoration: underline;
	text-underline-offset: .2em;
}

@media (max-width: 544px) {
	.hrg-author {
		flex-direction: column;
		gap: 1rem;
		padding: 1.35rem 1.4rem;
	}

	.hrg-author__photo,
	.hrg-author__mark {
		width: 56px;
		height: 56px;
	}
}

/* The author box is a credential, not part of the checklist. */
@media print {
	.hrg-author {
		display: none !important;
	}
}

/* ==========================================================================
   Footer colour, stated at Astra's own specificity.
   Astra writes `.ast-footer-copyright.site-footer-focus-item { color: … }` and
   `.site-footer-focus-item { color: … }` from its dark-text defaults. Those are
   two-class and one-class selectors on the wrapper elements, so they win over a
   plain `.site-footer` rule and leave grey text on the dark ground. Matching the
   selectors here settles it regardless of which theme option is in play.
   ========================================================================== */

.site-footer .site-footer-focus-item,
.site-footer .ast-footer-copyright.site-footer-focus-item,
.site-footer .footer-widget-area,
.site-footer .ast-builder-html-element {
	color: rgba(255, 255, 255, .78);
}

.site-footer .ast-footer-copyright.site-footer-focus-item,
.site-footer .ast-footer-copyright.site-footer-focus-item p {
	color: rgba(255, 255, 255, .55);
}

.site-footer .ast-footer-copyright.site-footer-focus-item .hrg-foot-note {
	color: rgba(255, 255, 255, .45);
}

.site-footer .site-footer-focus-item a,
.site-footer .ast-footer-copyright.site-footer-focus-item a {
	color: rgba(255, 255, 255, .82);
}

.site-footer .site-footer-focus-item a:hover,
.site-footer .site-footer-focus-item a:focus-visible,
.site-footer .ast-footer-copyright.site-footer-focus-item a:hover,
.site-footer .ast-footer-copyright.site-footer-focus-item a:focus-visible {
	color: #fff;
}

/* The CTA sits outside the builder rows, so it needs the ground painted too. */
.hrg-foot-cta-wrap {
	background: var(--hrg-green-deep);
}

/* Astra puts a light top border between the rows; on a dark footer it reads as a seam. */
.site-primary-footer-wrap[data-section="section-primary-footer-builder"],
.site-below-footer-wrap[data-section="section-below-footer-builder"] {
	border-top-color: rgba(255, 255, 255, .1);
}

/* Back-to-top button sits over the footer. */
#ast-scroll-top {
	background: var(--hrg-terracotta);
	color: #fff;
}
