/* ============================================
   Skip to Content Link - Accessibility
   ============================================ */

.fca-skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	background: var(--fca-text-primary);
	color: var(--fca-bg-primary);
	padding: 0.75rem 1.5rem;
	text-decoration: none;
	font-weight: 500;
	z-index: 9999;
	transition: top 0.2s ease;
}

.fca-skip-link:focus {
	top: 0;
	outline: 2px solid var(--fca-text-primary);
	outline-offset: 2px;
}

/* ============================================
   Hero Section
   ============================================ */

.fca-hero {
	padding: var(--wp--preset--spacing--70) 0;
}

.fca-hero h1 {
	font-size: var(--wp--preset--font-size--hero);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
	margin-bottom: 1rem;
}

.fca-hero p {
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--contrast-2);
	max-width: 600px;
}

/* ============================================
   Pagination - Circular Style
   ============================================ */

.wp-block-query-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-top: var(--wp--preset--spacing--50);
}

.wp-block-query-pagination-numbers {
	display: flex;
	gap: 0.25rem;
}

.wp-block-query-pagination a,
.wp-block-query-pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border-radius: var(--fca-radius-pill);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s ease;
	color: var(--wp--preset--color--contrast-2);
}

.wp-block-query-pagination a:hover {
	background: var(--wp--preset--color--base-2);
	color: var(--wp--preset--color--contrast);
}

.wp-block-query-pagination span.page-numbers.current {
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
	font-weight: 500;
}

/* ============================================
   Header & Navigation
   ============================================ */

:root {
	--fca-header-height: 85px;
}

/* Sticky header */
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 1000;
	background-color: var(--fca-bg-primary);
	transition: box-shadow 0.3s ease;
}

header.wp-block-template-part.is-scrolled {
	box-shadow: 0 2px 10px var(--fca-shadow-color);
}

/* Separator after header should also be sticky */
header.wp-block-template-part + .wp-block-separator {
	position: sticky;
	top: var(--fca-header-height);
	z-index: 999;
}

.fca-header {
	padding: 1rem 0;
	border-bottom: 1px solid var(--wp--preset--color--contrast-3);
}

.fca-header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.fca-logo {
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-decoration: none;
	color: var(--wp--preset--color--contrast);
}

.fca-site-logo {
	margin: 0;
	display: flex;
	align-items: center;
}

.fca-site-logo img {
	width: 220px;
	height: auto;
	display: block;
	vertical-align: middle;
}

@media (max-width: 782px) {
	.fca-site-logo img {
		width: 160px;
	}
}

@media (max-width: 480px) {
	.fca-site-logo img {
		width: 130px;
	}
}

