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

html {
	scroll-behavior: smooth;
}

body.zp-theme {
	margin: 0;
	font-family: var(--zp-font-family);
	font-size: var(--zp-font-size-body);
	line-height: 1.6;
	color: var(--zp-color-text);
	background: var(--zp-color-page-bg);
	direction: rtl;
	text-align: right;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--zp-color-primary);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
	opacity: 0.85;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--zp-color-text-heading);
	margin: 0 0 var(--zp-space-15);
	font-weight: 600;
	line-height: 1.3;
}

p {
	margin: 0 0 var(--zp-space-15);
}

ul, ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.zp-container {
	width: 100%;
	max-width: var(--zp-container);
	margin-inline: auto;
	padding-inline: var(--zp-gutter);
}

.zp-site-main {
	min-height: 50vh;
}

.zp-content-area {
	padding-block: var(--zp-space-35) var(--zp-space-50);
}

.zp-skip-link:focus {
	position: static;
	width: auto;
	height: auto;
	clip: auto;
	padding: var(--zp-space-10) var(--zp-space-15);
	background: var(--zp-color-primary);
	color: var(--zp-color-text-on-primary);
	z-index: 100000;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.zp-prose > * + * {
	margin-top: var(--zp-space-15);
}

.zp-front-page-content {
	padding-bottom: var(--zp-space-35);
}

/* Hide duplicate homepage announcement — shown in header top bar */
.zp-front-page .zampoush-home > .zampoush-home__announcement:first-child {
	display: none;
}
