/*
Theme Name: Wellspring
Theme URI: https://marketjack.com/
Author: Market Jack
Author URI: https://marketjack.com/
Description: A standalone, modern replacement for the Genesis Framework + Executive Pro child theme pair. One theme, no parent, no jQuery, no web fonts. It keeps the same widget areas and menu locations, so an existing site's menu, sidebar and header widgets carry over when the theme is switched, and it imports the logo, header/footer scripts and comment settings from Genesis on activation.
Version: 1.0.2
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mj-wellspring
Update URI: false
Tags: two-columns, right-sidebar, custom-logo, custom-menu, custom-colors, editor-style, featured-images, full-width-template, threaded-comments, translation-ready, blog
*/

/* Contents
   1. Tokens
   2. Base
   3. Layout
   4. Header and navigation
   5. Content
   6. Blocks and buttons
   7. Forms
   8. Blog cards, archives, pagination
   9. Sidebar and widgets
  10. Comments
  11. Footer
  12. Utilities and print
*/

/* 1. Tokens ------------------------------------------------------------ */

:root {
	--accent: var(--wp--preset--color--accent, #b83346);
	--ink: var(--wp--preset--color--ink, #241c1d);
	--muted: var(--wp--preset--color--muted, #6b5e60);
	--line: var(--wp--preset--color--line, #e8e0dc);
	--surface: var(--wp--preset--color--surface, #fff);
	--canvas: var(--wp--preset--color--canvas, #faf7f4);

	--accent-strong: color-mix(in srgb, var(--accent) 80%, #000);
	--accent-soft: color-mix(in srgb, var(--accent) 8%, #fff);

	--font-body: var(--wp--preset--font-family--body, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
	--font-heading: var(--wp--preset--font-family--heading, "Iowan Old Style", "Palatino Linotype", "URW Palladio L", P052, Georgia, serif);

	--wrap: 1140px;
	--gutter: clamp(1rem, 4vw, 2rem);
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgb(36 28 29 / 0.04), 0 10px 28px rgb(36 28 29 / 0.06);
}

/* 2. Base -------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background-color: var(--canvas);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	color: inherit;
	font-family: var(--font-heading);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.25rem + 1.1vw, 1.875rem); }
h3 { font-size: 1.3125rem; }
h4 { font-size: 1.125rem; }
h5,
h6 { font-size: 1rem; }

p,
ul,
ol,
dl,
figure,
table,
pre,
blockquote {
	margin: 0 0 1.25em;
}

body a {
	color: var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color 0.15s ease;
}

body a:hover {
	color: var(--accent-strong);
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
	border-radius: 2px;
}

img,
video,
iframe,
embed,
object {
	max-width: 100%;
}

img {
	height: auto;
}

iframe {
	border: 0;
}

hr {
	height: 1px;
	margin: 2.5em 0;
	border: 0;
	background: var(--line);
}

blockquote {
	margin-inline: 0;
	padding: 0.25em 0 0.25em 1.25em;
	border-inline-start: 3px solid var(--accent);
	color: var(--muted);
	font-family: var(--font-heading);
	font-size: 1.1875rem;
	font-style: italic;
}

blockquote > :last-child {
	margin-bottom: 0;
}

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

th,
td {
	padding: 0.65em 0.8em;
	border-bottom: 1px solid var(--line);
	text-align: start;
	vertical-align: top;
}

th {
	font-weight: 600;
}

pre,
code,
kbd {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}

pre {
	padding: 1em;
	overflow: auto;
	border-radius: var(--radius-sm);
	background: var(--surface);
	border: 1px solid var(--line);
}

/* 3. Layout ------------------------------------------------------------ */

.wrap {
	width: min(100% - 2 * var(--gutter), var(--wrap));
	margin-inline: auto;
}

.site {
	display: flex;
	min-height: 100vh;
	min-height: 100dvh;
	flex-direction: column;
}

.site-content {
	display: grid;
	flex: 1 0 auto;
	gap: clamp(2.5rem, 5vw, 4rem);
	align-content: start;
	padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem);
}

.site-main {
	min-width: 0;
}

.site-content:not(.has-sidebar) .site-main {
	width: 100%;
	max-width: 780px;
	margin-inline: auto;
}

@media (min-width: 960px) {
	.site-content.has-sidebar {
		grid-template-columns: minmax(0, 1fr) 320px;
		align-items: start;
	}
}

/* 4. Header and navigation ---------------------------------------------- */

.site-header {
	background: var(--surface);
	color: var(--ink);
}

.site-header__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.5rem 1.5rem;
	align-items: center;
	padding-block: 0.875rem;
}

.site-branding {
	min-width: 0;
}

.site-title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.site-header .site-title a {
	color: inherit;
	text-decoration: none;
}

.site-description {
	margin: 0.15rem 0 0;
	color: var(--muted);
	font-size: 0.875rem;
}

.custom-logo-link {
	display: block;
	line-height: 0;
}

.custom-logo {
	width: auto;
	max-width: 100%;
	max-height: 72px;
}

/* Header widget area: a name or label plus a phone number. */
.header-widgets {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
	align-items: baseline;
	font-size: 0.9375rem;
}

.header-widgets .widget {
	display: flex;
	flex-wrap: wrap;
	gap: 0.15rem 0.6rem;
	align-items: baseline;
}

.header-widgets .widget-title {
	margin: 0;
	color: inherit;
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.75;
}

.header-widgets p {
	margin: 0;
}

.header-widgets a {
	font-weight: 600;
	text-decoration: none;
}

.header-widgets a[href^="tel:"] {
	font-size: 1.125rem;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

/* Menu button (shown by navigation.js on small screens). */
.nav-toggle {
	display: inline-flex;
	gap: 0.5rem;
	align-items: center;
	padding: 0.55rem 0.9rem;
	border: 1px solid currentColor;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font: 600 0.9375rem/1 var(--font-body);
	cursor: pointer;
}

.nav-toggle[hidden] {
	display: none;
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__icon {
	position: relative;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
	position: absolute;
	left: 0;
	content: "";
}

.nav-toggle__icon::before { top: -6px; }
.nav-toggle__icon::after { top: 6px; }

.nav-open .nav-toggle__icon { background: transparent; }
.nav-open .nav-toggle__icon::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__icon::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
	border-block: 1px solid var(--line);
	background: var(--surface);
	color: var(--ink);
}

.site-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav a {
	display: block;
	padding: 0.8rem 0;
	color: var(--ink);
	font-size: 0.9688rem;
	font-weight: 500;
	text-decoration: none;
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a,
.site-nav .current_page_parent > a {
	color: var(--accent);
}

.site-nav .menu > li + li {
	border-top: 1px solid var(--line);
}

.site-nav .sub-menu {
	padding: 0 0 0.5rem 1rem;
}

.site-nav .sub-menu a {
	padding: 0.45rem 0;
	color: var(--muted);
	font-weight: 400;
}

/* Small screens: the menu is collapsed once the script has run. */
@media (max-width: 799.98px) {
	.nav-enhanced:not(.nav-open) .site-nav {
		display: none;
	}
}

@media (min-width: 800px) {
	.site-header__inner {
		padding-block: 1.125rem;
	}

	.custom-logo {
		max-height: 100px;
	}

	.header-widgets {
		grid-column: auto;
		justify-content: flex-end;
		text-align: end;
	}

	.header-widgets .widget {
		flex-direction: column;
		gap: 0;
		align-items: flex-end;
	}

	.header-widgets a[href^="tel:"] {
		font-size: 1.375rem;
	}

	.nav-toggle,
	.nav-toggle[hidden] {
		display: none;
	}

	.site-nav .menu {
		display: flex;
		flex-wrap: wrap;
		gap: 0 0.25rem;
		margin-inline: -0.9rem;
	}

	.site-nav .menu > li {
		position: relative;
	}

	.site-nav .menu > li + li {
		border-top: 0;
	}

	.site-nav .menu > li > a {
		position: relative;
		padding: 0.95rem 0.9rem;
	}

	.site-nav .menu > li > a::after {
		position: absolute;
		inset: auto 0.9rem 0 0.9rem;
		height: 2px;
		background: var(--accent);
		content: "";
		opacity: 0;
		transform: scaleX(0.4);
		transition: opacity 0.15s ease, transform 0.15s ease;
	}

	.site-nav .menu > li > a:hover::after,
	.site-nav .menu > .current-menu-item > a::after,
	.site-nav .menu > .current-menu-ancestor > a::after,
	.site-nav .menu > .current_page_parent > a::after {
		opacity: 1;
		transform: none;
	}

	.site-nav .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 20;
		min-width: 220px;
		padding: 0.5rem 0;
		border: 1px solid var(--line);
		border-radius: var(--radius-sm);
		background: var(--surface);
		box-shadow: var(--shadow);
		opacity: 0;
		visibility: hidden;
		transform: translateY(4px);
		transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
	}

	.site-nav li:hover > .sub-menu,
	.site-nav li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.site-nav .sub-menu a {
		padding: 0.5rem 1rem;
		color: var(--ink);
	}
}

/* Header colour options (Customizer > Theme options > Header style). */
.header-brand .site-header__inner,
.header-dark .site-header__inner {
	color: #fff;
}

.header-brand .site-header {
	background: var(--accent);
	color: #fff;
}

.header-dark .site-header {
	background: var(--ink);
	color: #fff;
}

.header-brand .site-header__inner a,
.header-dark .site-header__inner a {
	color: #fff;
}

.header-brand .site-header__inner a:hover,
.header-dark .site-header__inner a:hover {
	color: #fff;
	text-decoration: underline;
}

.header-brand .site-description,
.header-dark .site-description {
	color: rgb(255 255 255 / 0.8);
}

.header-brand .site-nav,
.header-dark .site-nav {
	border-top: 0;
}

/* Logo fills the header band (Customizer > Theme options > Logo fills the
   header height). For a logo whose picture runs to its top and bottom edges.
   On small screens the header widgets sit under the logo, so the space goes
   below them instead. */
.logo-flush .site-header__inner {
	padding-block: 0;
}

.logo-flush .header-widgets {
	padding-bottom: 0.75rem;
}

@media (min-width: 800px) {
	.logo-flush .header-widgets {
		padding-bottom: 0;
	}
}

/* 5. Content ----------------------------------------------------------- */

.breadcrumbs {
	margin-bottom: 1.25rem;
	color: var(--muted);
	font-size: 0.875rem;
}

.entry-header {
	margin-bottom: 1.5rem;
}

.entry-title {
	margin: 0;
}

.entry-meta {
	margin: 0.75rem 0 0;
	color: var(--muted);
	font-size: 0.9375rem;
}

.entry-meta a {
	color: inherit;
}

.entry-content > :last-child {
	margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.8em;
}

.entry-content > h2:first-child,
.entry-content > h3:first-child {
	margin-top: 0;
}

.entry-content ul,
.entry-content ol {
	padding-inline-start: 1.35em;
}

.entry-content li {
	margin-bottom: 0.45em;
}

.entry-content li::marker {
	color: var(--accent);
	font-weight: 600;
}

.entry-content img {
	border-radius: var(--radius-sm);
}

.home .entry-content > p:first-child {
	font-size: 1.1875rem;
	line-height: 1.65;
}

.entry-footer {
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.9375rem;
}

.entry-footer p {
	margin: 0;
}

.entry-footer p + p {
	margin-top: 0.25rem;
}

/* A short note at the top of a post (class "post-note" on a paragraph). */
.post-note {
	padding: 0.9em 1.1em;
	border-radius: var(--radius-sm);
	background: var(--accent-soft);
	font-size: 0.9688rem;
}

.page-links {
	margin-top: 2rem;
	font-weight: 600;
}

.after-entry {
	margin-top: 2.5rem;
}

/* Classic editor alignments and captions. */
.alignleft {
	float: left;
	max-width: 50%;
	margin: 0.35em 1.5em 1em 0;
}

.alignright {
	float: right;
	max-width: 50%;
	margin: 0.35em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

/* On phones a floated image leaves too little room for the text beside it. */
@media (max-width: 479.98px) {
	.alignleft,
	.alignright {
		display: block;
		float: none;
		max-width: 100%;
		margin: 0 auto 1em;
	}
}

.entry-content::after {
	display: block;
	clear: both;
	content: "";
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
figcaption {
	margin-top: 0.5em;
	color: var(--muted);
	font-size: 0.875rem;
	text-align: center;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 0.75rem;
}

.gallery-item {
	margin: 0;
}

.sticky .entry-title::before {
	content: "★ ";
	color: var(--accent);
}

/* 6. Blocks and buttons ------------------------------------------------- */

body .wp-block-button__link,
body .wp-element-button,
body .button,
body button[type="submit"],
body input[type="submit"],
body input[type="button"],
body input[type="reset"] {
	display: inline-block;
	padding: 0.72em 1.5em;
	border: 2px solid transparent;
	border-radius: 999px;
	background-color: var(--accent);
	color: #fff;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body .wp-block-button__link:hover,
body .wp-block-button__link:focus-visible,
body .wp-element-button:hover,
body .button:hover,
body button[type="submit"]:hover,
body input[type="submit"]:hover,
body input[type="button"]:hover,
body input[type="reset"]:hover {
	background-color: var(--accent-strong);
	color: #fff;
}

body .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background) {
	background-color: transparent;
}

body .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color) {
	border-color: currentColor;
	color: var(--accent);
}

body .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background):hover,
body .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background):focus-visible {
	border-color: var(--accent);
	background-color: var(--accent);
	color: #fff;
}

.wp-block-buttons {
	margin-bottom: 1.75em;
}

.entry-content .wp-block-image,
.entry-content .wp-block-embed,
.entry-content .wp-block-video {
	margin-block: 1.75em;
}

.wp-block-image img {
	border-radius: var(--radius-sm);
}

.wp-block-separator {
	border: 0;
}

.wp-block-quote,
.wp-block-pullquote {
	border-inline-start: 3px solid var(--accent);
}

.wp-block-table td,
.wp-block-table th {
	border: 0;
	border-bottom: 1px solid var(--line);
}

.wp-block-social-links {
	padding-inline-start: 0;
}

.alignwide,
.alignfull {
	max-width: 100%;
}

/* 7. Forms ------------------------------------------------------------- */

label {
	font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="password"],
input[type="date"],
select,
textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.7em 0.9em;
	border: 1px solid color-mix(in srgb, var(--ink) 28%, var(--surface));
	border-radius: var(--radius-sm);
	background: var(--surface);
	color: var(--ink);
	font: inherit;
	line-height: 1.4;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--accent);
	outline: 0;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

textarea {
	min-height: 9em;
	resize: vertical;
}

.search-form {
	display: flex;
	gap: 0.5rem;
}

.search-form label {
	flex: 1 1 auto;
	min-width: 0;
}

.search-form .search-submit {
	flex: 0 0 auto;
}

/* Contact Form 7 and Jetpack forms. */
.wpcf7 form p {
	margin-bottom: 1em;
}

/* CF7's default form puts each label in its own paragraph above the field. */
.wpcf7 form > p:has(+ p > .wpcf7-form-control-wrap) {
	margin-bottom: 0.3em;
	font-weight: 600;
}

.wpcf7-not-valid-tip {
	margin-top: 0.3em;
	color: #b3261e;
	font-size: 0.875rem;
}

.wpcf7 form .wpcf7-response-output {
	margin: 1.25em 0 0;
	padding: 0.8em 1em;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface);
}

.contact-form label {
	display: block;
	margin-bottom: 0.3em;
}

/* 8. Blog cards, archives, pagination ---------------------------------- */

.archive-header {
	margin-bottom: 2rem;
}

.archive-title {
	margin: 0;
}

.archive-description {
	margin-top: 0.75rem;
	color: var(--muted);
}

.archive-description > :last-child {
	margin-bottom: 0;
}

.post-list {
	display: grid;
	gap: 1.5rem;
}

.card {
	display: grid;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

a.card__media {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--accent-soft);
}

.card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card__body {
	display: flex;
	min-width: 0;
	flex-direction: column;
	padding: 1.25rem 1.4rem 1.4rem;
}

.card__title {
	margin: 0 0 0.5rem;
	font-size: 1.375rem;
	line-height: 1.25;
}

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

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

.card .entry-meta {
	margin: 0 0 0.5rem;
	font-size: 0.875rem;
}

.card .entry-summary {
	color: var(--muted);
	font-size: 0.9688rem;
	line-height: 1.6;
}

.card .entry-summary p {
	margin: 0 0 0.9rem;
}

a.card__more {
	margin-top: auto;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
}

a.card__more::after {
	display: inline-block;
	margin-inline-start: 0.35em;
	content: "→";
	transition: transform 0.15s ease;
}

a.card__more:hover::after {
	transform: translateX(3px);
}

@media (min-width: 640px) {
	.card.has-post-thumbnail {
		grid-template-columns: minmax(200px, 38%) minmax(0, 1fr);
	}

	.card.has-post-thumbnail a.card__media {
		height: 100%;
		aspect-ratio: auto;
		min-height: 170px;
	}
}

.pagination,
.comments-pagination {
	margin-top: 2.5rem;
}

.pagination .nav-links,
.comments-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
}

.pagination .page-numbers,
.comments-pagination .page-numbers {
	display: inline-block;
	min-width: 2.6em;
	padding: 0.45em 0.85em;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	color: var(--ink);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
}

.pagination a.page-numbers:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.pagination .page-numbers.current {
	border-color: var(--accent);
	background: var(--accent);
	color: #fff;
}

.pagination .page-numbers.dots {
	border-color: transparent;
	background: transparent;
}

.no-results .search-form,
.error-404 .search-form {
	max-width: 520px;
	margin-top: 1.5rem;
}

/* 9. Sidebar and widgets ----------------------------------------------- */

.sidebar {
	display: grid;
	gap: 1.25rem;
	min-width: 0;
	font-size: 0.9688rem;
	line-height: 1.6;
}

.sidebar .widget {
	padding: 1.4rem 1.5rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}

.widget-title {
	margin: 0 0 0.8rem;
	font-size: 1.125rem;
	line-height: 1.3;
}

.widget > :last-child,
.widget .textwidget > :last-child {
	margin-bottom: 0;
}

.widget ul,
.widget ol {
	margin: 0 0 1em;
	padding: 0;
	list-style: none;
}

.widget li {
	padding: 0.4rem 0;
}

.widget li + li {
	border-top: 1px solid var(--line);
}

.sidebar .widget a,
.footer-widgets .widget a {
	text-decoration: none;
}

.sidebar .widget a:hover,
.footer-widgets .widget a:hover {
	text-decoration: underline;
}

.widget_recent_entries a,
.widget_categories a,
.widget_archive a,
.widget_pages a,
.widget_nav_menu a {
	color: var(--ink);
}

.widget .address-sub-title {
	font-weight: 600;
}

/* Social icons keep their own brand colours and shape. */
.widget .wp-block-social-links {
	display: flex;
	gap: 0.5rem;
	margin: 0;
}

.widget .wp-block-social-links li {
	padding: 0;
	border: 0;
}

/* 10. Comments --------------------------------------------------------- */

.comments-area {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--line);
}

.comments-title,
.comment-reply-title {
	font-size: 1.5rem;
}

.comment-list,
.comment-list .children {
	margin: 0;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	padding-inline-start: 1.5rem;
}

.comment-body {
	margin-bottom: 1.25rem;
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}

.comment-meta {
	margin-bottom: 0.6rem;
	color: var(--muted);
	font-size: 0.875rem;
}

.comment-author .avatar {
	margin-inline-end: 0.5rem;
	border-radius: 50%;
	vertical-align: middle;
}

.comment-author .fn {
	color: var(--ink);
	font-weight: 600;
}

.comment-metadata a {
	color: inherit;
}

.comment-content > :last-child {
	margin-bottom: 0;
}

.comment-form p {
	margin-bottom: 1em;
}

.comment-form label {
	display: block;
	margin-bottom: 0.3em;
}

.comment-form-cookies-consent label {
	display: inline;
	font-weight: 400;
}

/* 11. Footer ----------------------------------------------------------- */

.site-footer {
	background: var(--ink);
	color: rgb(255 255 255 / 0.82);
	font-size: 0.9375rem;
}

.site-footer a {
	color: #fff;
}

.site-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.footer-widgets {
	display: grid;
	gap: 2rem;
	padding-block: clamp(2rem, 5vw, 3rem);
}

@media (min-width: 720px) {
	.footer-widgets {
		grid-auto-columns: minmax(0, 1fr);
		grid-auto-flow: column;
	}
}

.footer-widgets .widget-title {
	color: #fff;
}

.footer-widgets .widget li + li {
	border-top-color: rgb(255 255 255 / 0.14);
}

.site-info {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 2rem;
	align-items: center;
	justify-content: space-between;
	padding-block: 1.5rem;
}

.footer-widgets + .site-info {
	border-top: 1px solid rgb(255 255 255 / 0.14);
}

.site-info p {
	margin: 0;
}

.footer-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-nav a {
	text-decoration: none;
}

/* 12. Utilities and print ---------------------------------------------- */

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
	white-space: nowrap;
	word-wrap: normal;
}

a.skip-link:focus {
	position: fixed;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 100000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.75rem 1rem;
	clip: auto;
	border-radius: var(--radius-sm);
	background: var(--surface);
	box-shadow: var(--shadow);
	color: var(--ink);
	font-weight: 600;
	white-space: normal;
}

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

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}
}

@media print {
	.site-nav,
	.nav-toggle,
	.sidebar,
	.site-footer,
	.comments-area,
	.pagination {
		display: none !important;
	}

	body {
		background: #fff;
	}

	.site-content {
		display: block;
		padding: 0;
	}
}
