/**
 * Standalone base reset — replaces former parent theme style.css dependency.
 *
 * @package annCoach
 */

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

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

body {
	margin: 0;
	min-height: 100vh;
	font-family: "Open Sans", system-ui, -apple-system, sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--accent, #081840);
	background: var(--background, #fff);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

a:hover {
	text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: Poppins, "Nunito", system-ui, sans-serif;
	line-height: 1.25;
	margin: 0 0 0.6em;
	font-weight: 600;
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0 0 1em;
	padding-left: 1.25em;
}

button,
input,
select,
textarea {
	font: inherit;
}

table {
	border-collapse: collapse;
	width: 100%;
}

.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;
}

.screen-reader-text:focus {
	background: #081840;
	clip: auto !important;
	clip-path: none;
	color: #fff;
	display: block;
	font-size: 0.875rem;
	height: auto;
	left: 0.5rem;
	line-height: normal;
	padding: 0.75rem 1rem;
	text-decoration: none;
	top: 0.5rem;
	width: auto;
	z-index: 100000;
}

html {
	overflow-x: hidden;
}

body {
	overflow-x: clip;
	min-width: 0;
}

/* Do not set overflow on sticky ancestors — breaks position:sticky header */
#wrapper-container,
.content-pusher {
	min-width: 0;
	max-width: 100%;
}

.ann-content-shell {
	min-width: 0;
	max-width: 100%;
	overflow-x: clip;
}

.alignleft {
	float: left;
	margin: 0 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0 0 1rem 1.5rem;
}

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

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

.wp-caption-text {
	font-size: 0.875rem;
	opacity: 0.8;
}

/* Blog / archive list */
.ann-post-list {
	display: grid;
	gap: 1.5rem;
}

.ann-post-card {
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 720px) {
	.ann-post-card.has-thumb {
		grid-template-columns: 220px minmax(0, 1fr);
		align-items: start;
	}
}

.ann-post-card__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 12px;
}

.ann-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	margin-top: 2rem;
}

.ann-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.ann-pagination a,
.ann-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	padding: 0.4rem 0.75rem;
	border-radius: 8px;
	border: 1px solid rgba(8, 24, 64, 0.15);
	text-decoration: none;
}

.ann-pagination .current {
	background: var(--accent, #081840);
	color: #fff;
	border-color: transparent;
}

.ann-prose {
	max-width: 800px;
}

.ann-prose--wide {
	max-width: min(920px, 100%);
}

.ann-prose > *:first-child {
	margin-top: 0;
}

.ann-entry-meta {
	font-size: 0.875rem;
	opacity: 0.75;
	margin-bottom: 1rem;
}
