/* assets/css/base.css */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	min-width: 320px;
	background: var(--mz-color-bg, #f6f8fb);
	color: var(--mz-color-text, #101828);
	font-family: var(--mz-font-base, "Inter", "Segoe UI", Tahoma, Arial, sans-serif);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.7;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

html:focus-within {
	scroll-behavior: smooth;
}

main {
	display: block;
}

img,
picture,
svg,
canvas,
video,
iframe {
	display: block;
	max-width: 100%;
	height: auto;
}

img {
	border-style: none;
}

svg {
	fill: currentColor;
}

figure {
	margin: 0;
}

hr {
	height: 1px;
	margin: var(--mz-space-7, 32px) 0;
	border: 0;
	background: var(--mz-color-line, #e4e7ec);
}

a {
	color: var(--mz-color-primary-strong, #8d783a);
	text-decoration: none;
	background-color: transparent;
	transition:
		color 180ms ease,
		opacity 180ms ease;
}

a:hover,
a:focus-visible {
	color: var(--mz-color-primary, #a8924a);
	text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
	outline: 0;
	box-shadow: 0 0 0 3px rgba(168, 146, 74, 0.18);
	border-radius: 8px;
}

p {
	margin: 0 0 1.15em;
}

p:last-child {
	margin-bottom: 0;
}

ul,
ol {
	margin: 0 0 1.2em;
	padding-inline-start: 1.35em;
}

li + li {
	margin-top: 0.45em;
}

dl,
dd {
	margin: 0;
}

dt {
	font-weight: 700;
}

blockquote {
	margin: 0 0 1.25em;
	padding: 1em 1.25em;
	border-inline-start: 4px solid var(--mz-color-primary, #a8924a);
	background: var(--mz-color-surface, #ffffff);
	border-radius: 0 var(--mz-radius-md, 16px) var(--mz-radius-md, 16px) 0;
	color: var(--mz-color-text-soft, #475467);
	box-shadow: var(--mz-shadow-xs, 0 1px 2px rgba(16, 24, 40, 0.04));
}

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

pre,
code,
kbd,
samp {
	font-family: var(--mz-font-mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace);
	font-size: 0.9375em;
}

code,
kbd,
samp {
	padding: 0.12em 0.45em;
	background: var(--mz-color-surface-2, #eef3f8);
	border-radius: 6px;
	color: inherit;
}

pre {
	overflow: auto;
	margin: 0 0 1.25em;
	padding: 1em 1.1em;
	background: #0f1722;
	color: #f8fafc;
	border-radius: var(--mz-radius-md, 16px);
	box-shadow: var(--mz-shadow-sm, 0 8px 20px rgba(16, 24, 40, 0.06));
}

pre code {
	padding: 0;
	background: transparent;
	color: inherit;
	border-radius: 0;
}

small {
	font-size: 0.875em;
}

strong,
b {
	font-weight: 700;
}

em,
i {
	font-style: italic;
}

sub,
sup {
	position: relative;
	font-size: 0.75em;
	line-height: 0;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

abbr[title] {
	text-decoration: underline dotted;
	text-decoration-skip-ink: none;
	cursor: help;
}

mark {
	padding: 0.12em 0.3em;
	background: rgba(168, 146, 74, 0.18);
	color: inherit;
	border-radius: 4px;
}

table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	margin: 0 0 1.5em;
	background: var(--mz-color-surface, #ffffff);
	color: inherit;
}

caption {
	padding: 0.75em 0;
	font-weight: 700;
	text-align: start;
	color: var(--mz-color-text-soft, #475467);
}

th,
td {
	padding: 0.95em 1em;
	text-align: start;
	vertical-align: top;
	border-bottom: 1px solid var(--mz-color-line, #e4e7ec);
}

th {
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--mz-color-text-muted, #667085);
	background: var(--mz-color-surface-2, #eef3f8);
}

tbody tr:last-child td {
	border-bottom: 0;
}

fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

legend {
	padding: 0;
	font-weight: 700;
	color: inherit;
}

label {
	display: inline-block;
	font-weight: 600;
	color: inherit;
}

button,
input,
optgroup,
select,
textarea {
	margin: 0;
	color: inherit;
	font: inherit;
	line-height: inherit;
}

button,
select {
	text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
	appearance: button;
	cursor: pointer;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	padding: 0;
	border-style: none;
}

input,
select,
textarea {
	width: 100%;
	min-width: 0;
	border: 1px solid var(--mz-color-line-strong, #d0d5dd);
	background: var(--mz-color-surface, #ffffff);
	color: var(--mz-color-text, #101828);
	border-radius: var(--mz-radius-sm, 12px);
	box-shadow: inset 0 1px 2px rgba(16, 24, 40, 0.04);
	transition:
		border-color 180ms ease,
		box-shadow 180ms ease,
		background-color 180ms ease;
}

input,
select {
	min-height: 48px;
	padding: 0 0.95rem;
}

textarea {
	min-height: 140px;
	padding: 0.9rem 0.95rem;
	resize: vertical;
}

input::placeholder,
textarea::placeholder {
	color: var(--mz-color-text-muted, #667085);
	opacity: 1;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--mz-color-primary, #a8924a);
	box-shadow: 0 0 0 4px rgba(168, 146, 74, 0.12);
	outline: 0;
}

input:disabled,
select:disabled,
textarea:disabled,
button:disabled {
	cursor: not-allowed;
	opacity: 0.65;
}

input[type="checkbox"],
input[type="radio"] {
	width: 18px;
	height: 18px;
	min-height: 18px;
	padding: 0;
	vertical-align: middle;
	accent-color: var(--mz-color-primary, #a8924a);
	box-shadow: none;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
	-webkit-appearance: none;
}

progress {
	vertical-align: baseline;
}

details {
	display: block;
}

summary {
	display: list-item;
	cursor: pointer;
}

template,
[hidden] {
	display: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.65em;
	font-family: var(--mz-font-heading, "Inter", "Segoe UI", Tahoma, Arial, sans-serif);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.02em;
	color: var(--mz-color-text, #101828);
}

h1 {
	font-size: clamp(2.25rem, 4vw, 3.8rem);
}

h2 {
	font-size: clamp(1.9rem, 3vw, 3rem);
}

h3 {
	font-size: clamp(1.5rem, 2vw, 2.2rem);
}

h4 {
	font-size: clamp(1.25rem, 1.5vw, 1.6rem);
}

h5 {
	font-size: 1.0625rem;
}

h6 {
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.mz-prose,
.entry-content,
.wp-block-post-content {
	color: var(--mz-color-text-soft, #475467);
}

.mz-prose > *:last-child,
.entry-content > *:last-child,
.wp-block-post-content > *:last-child {
	margin-bottom: 0;
}

.mz-prose h1,
.mz-prose h2,
.mz-prose h3,
.mz-prose h4,
.mz-prose h5,
.mz-prose h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.wp-block-post-content h1,
.wp-block-post-content h2,
.wp-block-post-content h3,
.wp-block-post-content h4,
.wp-block-post-content h5,
.wp-block-post-content h6 {
	color: var(--mz-color-text, #101828);
}

.mz-prose a,
.entry-content a,
.wp-block-post-content a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

.mz-prose ul,
.mz-prose ol,
.entry-content ul,
.entry-content ol,
.wp-block-post-content ul,
.wp-block-post-content ol {
	padding-inline-start: 1.3em;
}

.mz-prose table,
.entry-content table,
.wp-block-post-content table {
	overflow: hidden;
	border: 1px solid var(--mz-color-line, #e4e7ec);
	border-radius: var(--mz-radius-md, 16px);
	box-shadow: var(--mz-shadow-xs, 0 1px 2px rgba(16, 24, 40, 0.04));
}

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

.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 0.9rem 1rem;
	margin: 0;
	clip: auto !important;
	background: var(--mz-color-surface, #ffffff);
	color: var(--mz-color-text, #101828);
	border-radius: var(--mz-radius-sm, 12px);
	box-shadow: var(--mz-shadow-md, 0 16px 32px rgba(16, 24, 40, 0.08));
}

.alignleft {
	float: left;
	margin-inline-end: 1.5rem;
	margin-bottom: 1rem;
}

.alignright {
	float: right;
	margin-inline-start: 1.5rem;
	margin-bottom: 1rem;
}

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

.wp-caption,
.gallery-caption {
	max-width: 100%;
	font-size: 0.875rem;
	color: var(--mz-color-text-muted, #667085);
}

.wp-caption-text {
	margin-top: 0.6rem;
}

.sticky {
	position: relative;
}

.bypostauthor {
	position: relative;
}

.clear::after,
.clearfix::after {
	content: "";
	display: table;
	clear: both;
}

@media (max-width: 782px) {
	body {
		font-size: 0.975rem;
	}

	table,
	thead,
	tbody,
	th,
	td,
	tr {
		display: block;
	}

	thead {
		display: none;
	}

	table {
		border: 0;
		background: transparent;
		box-shadow: none;
	}

	tbody {
		display: grid;
		gap: 12px;
	}

	tr {
		background: var(--mz-color-surface, #ffffff);
		border: 1px solid var(--mz-color-line, #e4e7ec);
		border-radius: var(--mz-radius-md, 16px);
		box-shadow: var(--mz-shadow-xs, 0 1px 2px rgba(16, 24, 40, 0.04));
		overflow: hidden;
	}

	td {
		display: grid;
		gap: 4px;
		padding: 0.9rem 1rem;
		border-bottom: 1px solid var(--mz-color-line, #e4e7ec);
	}

	td:last-child {
		border-bottom: 0;
	}

	td::before {
		content: attr(data-label);
		font-size: 0.75rem;
		font-weight: 800;
		letter-spacing: 0.05em;
		text-transform: uppercase;
		color: var(--mz-color-text-muted, #667085);
	}
}

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