:root {
	--ap-color-bg: #ffffff;
	--ap-color-surface: #f7f9fb;
	--ap-color-text: #1f2933;
	--ap-color-muted: #64748b;
	--ap-color-primary: #0b63ce;
	--ap-color-link: #0b63ce;
	--ap-color-border: #dbe3ea;
	--ap-content-width: 760px;
	--ap-wrap-width: 1120px;
	--ap-radius: 6px;
	--ap-logo-max-height: 46px;
	--ap-font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--ap-body-font-size: 16px;
	--ap-body-line-height: 1.65;
	--ap-body-font-weight: 400;
	--ap-site-title-font-size: 19px;
	--ap-site-title-font-weight: 800;
	--ap-menu-font-size: 16px;
	--ap-menu-font-weight: 650;
	--ap-post-title-font-size: 22px;
	--ap-post-title-line-height: 1.18;
	--ap-post-title-font-weight: 800;
	--ap-page-title-font-size: 22px;
	--ap-page-title-line-height: 1.18;
	--ap-page-title-font-weight: 800;
	--ap-archive-title-font-size: 22px;
	--ap-archive-title-line-height: 1.18;
	--ap-archive-title-font-weight: 800;
	--ap-content-font-size: 17px;
	--ap-content-line-height: 1.72;
	--ap-content-font-weight: 400;
	--ap-content-h2-font-size: 20px;
	--ap-content-h2-line-height: 1.25;
	--ap-content-h2-font-weight: 800;
	--ap-content-h3-font-size: 18px;
	--ap-content-h3-line-height: 1.28;
	--ap-content-h3-font-weight: 750;
	--ap-content-h4-font-size: 17px;
	--ap-content-h4-line-height: 1.3;
	--ap-content-h4-font-weight: 750;
	--ap-content-h5-font-size: 16px;
	--ap-content-h5-line-height: 1.35;
	--ap-content-h5-font-weight: 700;
	--ap-content-h6-font-size: 15px;
	--ap-content-h6-line-height: 1.4;
	--ap-content-h6-font-weight: 700;
	--ap-card-title-font-size: 18px;
	--ap-card-title-line-height: 1.2;
	--ap-card-title-font-weight: 800;
	--ap-card-excerpt-font-size: 16px;
	--ap-card-excerpt-line-height: 1.6;
	--ap-category-font-size: 12px;
	--ap-category-font-weight: 800;
	--ap-meta-font-size: 14px;
	--ap-breadcrumb-font-size: 14px;
	--ap-button-font-size: 16px;
	--ap-button-font-weight: 650;
	--ap-widget-title-font-size: 16px;
	--ap-widget-title-font-weight: 800;
	--ap-related-title-font-size: 20px;
	--ap-related-title-font-weight: 800;
	--ap-related-card-font-size: 16px;
	--ap-related-card-line-height: 1.3;
	--ap-footer-font-size: 15px;
	--ap-comment-title-font-size: 20px;
	--ap-comment-title-font-weight: 800;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--ap-color-bg);
	color: var(--ap-color-text);
	font-family: var(--ap-font-family);
	font-size: var(--ap-body-font-size);
	font-weight: var(--ap-body-font-weight);
	line-height: var(--ap-body-line-height);
	text-rendering: optimizeLegibility;
}

a {
	color: var(--ap-color-link);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--ap-color-primary);
}

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

input,
textarea,
select {
	font: inherit;
}

.button,
.site-main button,
.site-footer button,
.site-main input[type="submit"],
.site-footer input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0.55rem 0.9rem;
	border: 1px solid var(--ap-color-primary);
	border-radius: var(--ap-radius);
	background: var(--ap-color-primary);
	color: #fff;
	font-size: var(--ap-button-font-size);
	font-weight: var(--ap-button-font-weight);
	text-decoration: none;
	cursor: pointer;
}

input[type="search"],
input[type="text"],
input[type="email"],
input[type="url"],
textarea {
	width: 100%;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--ap-color-border);
	border-radius: var(--ap-radius);
	background: #fff;
	color: var(--ap-color-text);
}

textarea {
	min-height: 140px;
}

:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--ap-color-primary) 45%, transparent);
	outline-offset: 3px;
}

.wrap {
	width: min(100% - 32px, var(--ap-wrap-width));
	margin-inline: auto;
}

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

.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 100;
	width: auto;
	height: auto;
	padding: 0.6rem 0.9rem;
	clip: auto;
	background: var(--ap-color-primary);
	color: #fff;
	border-radius: var(--ap-radius);
}

.site-header {
	z-index: 50;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--ap-color-border);
	backdrop-filter: blur(8px);
}

.site-header.is-sticky {
	position: sticky;
	top: 0;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 64px;
	gap: 1rem;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
}

.custom-logo {
	max-height: var(--ap-logo-max-height);
	width: auto;
}

.site-title {
	color: var(--ap-color-text);
	font-size: var(--ap-site-title-font-size);
	font-weight: var(--ap-site-title-font-weight);
	text-decoration: none;
}

.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 38px;
	padding: 0.35rem 0.6rem;
	border: 1px solid var(--ap-color-border);
	border-radius: var(--ap-radius);
	background: #fff;
	color: var(--ap-color-text);
	cursor: pointer;
}

.menu-toggle__bar,
.menu-toggle__bar::before,
.menu-toggle__bar::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	content: "";
}

.menu-toggle__bar {
	position: relative;
}

.menu-toggle__bar::before,
.menu-toggle__bar::after {
	position: absolute;
	left: 0;
}

.menu-toggle__bar::before {
	top: -6px;
}

.menu-toggle__bar::after {
	top: 6px;
}

.primary-navigation {
	display: none;
	position: absolute;
	top: 64px;
	left: 0;
	right: 0;
	background: #fff;
	border-bottom: 1px solid var(--ap-color-border);
}

.primary-navigation.is-open {
	display: block;
}

.primary-menu,
.footer-menu {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-menu a,
.footer-menu a {
	display: block;
	padding: 0.85rem 1rem;
	color: var(--ap-color-text);
	font-size: var(--ap-menu-font-size);
	font-weight: var(--ap-menu-font-weight);
	text-decoration: none;
}

.primary-menu a:hover,
.footer-menu a:hover {
	color: var(--ap-color-primary);
}

.site-layout {
	display: grid;
	gap: 2rem;
	padding-block: 2rem;
}

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

.no-sidebar {
	max-width: var(--ap-wrap-width);
}

.no-sidebar .site-main {
	width: 100%;
}

.site-main--narrow,
.single-article,
.page-article,
.comments-area,
.related-posts {
	max-width: var(--ap-content-width);
	margin-inline: auto;
}

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

.post-card {
	display: block;
	min-width: 0;
	padding-bottom: 1.15rem;
	border-bottom: 1px solid var(--ap-color-border);
}

.post-card__image {
	display: block;
	margin-bottom: 0.85rem;
	text-decoration: none;
}

.post-card__image img,
.related-card__image img,
.featured-image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--ap-radius);
	background: var(--ap-color-surface);
}

.post-category {
	display: inline-block;
	margin-bottom: 0.35rem;
	color: var(--ap-color-primary);
	font-size: var(--ap-category-font-size);
	font-weight: var(--ap-category-font-weight);
	text-decoration: none;
	text-transform: uppercase;
}

.post-card__title,
.entry-title,
.archive-title,
.related-posts h2,
.comments-title {
	margin: 0 0 0.55rem;
}

.post-card__title {
	font-size: var(--ap-card-title-font-size);
	font-weight: var(--ap-card-title-font-weight);
	line-height: var(--ap-card-title-line-height);
	margin-bottom: 0.4rem;
}

.post-card__title a,
.related-card h3 a {
	color: var(--ap-color-text);
	text-decoration: none;
}

.entry-title {
	font-size: var(--ap-post-title-font-size);
	font-weight: var(--ap-post-title-font-weight);
	line-height: var(--ap-post-title-line-height);
}

.page-article .entry-title {
	font-size: var(--ap-page-title-font-size);
	font-weight: var(--ap-page-title-font-weight);
	line-height: var(--ap-page-title-line-height);
}

.archive-title {
	font-size: var(--ap-archive-title-font-size);
	font-weight: var(--ap-archive-title-font-weight);
	line-height: var(--ap-archive-title-line-height);
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	color: var(--ap-color-muted);
	font-size: var(--ap-meta-font-size);
}

.post-card__excerpt {
	margin: 0.55rem 0 0;
	color: #3e4c59;
	font-size: var(--ap-card-excerpt-font-size);
	line-height: var(--ap-card-excerpt-line-height);
}

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

.archive-description {
	max-width: var(--ap-content-width);
	color: #3e4c59;
}

.featured-image {
	margin: 1.25rem 0 0;
}

.featured-image figcaption {
	margin-top: 0.45rem;
	color: var(--ap-color-muted);
	font-size: var(--ap-meta-font-size);
	text-align: center;
}

.entry-content {
	font-size: var(--ap-content-font-size);
	font-weight: var(--ap-content-font-weight);
	line-height: var(--ap-content-line-height);
}

.entry-content > * {
	margin-top: 0;
	margin-bottom: 1.15rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin-top: 1.8rem;
}

.entry-content h2 {
	font-size: var(--ap-content-h2-font-size);
	font-weight: var(--ap-content-h2-font-weight);
	line-height: var(--ap-content-h2-line-height);
}

.entry-content h3 {
	font-size: var(--ap-content-h3-font-size);
	font-weight: var(--ap-content-h3-font-weight);
	line-height: var(--ap-content-h3-line-height);
}

.entry-content h4 {
	font-size: var(--ap-content-h4-font-size);
	font-weight: var(--ap-content-h4-font-weight);
	line-height: var(--ap-content-h4-line-height);
}

.entry-content h5 {
	font-size: var(--ap-content-h5-font-size);
	font-weight: var(--ap-content-h5-font-weight);
	line-height: var(--ap-content-h5-line-height);
}

.entry-content h6 {
	font-size: var(--ap-content-h6-font-size);
	font-weight: var(--ap-content-h6-font-weight);
	line-height: var(--ap-content-h6-line-height);
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.35rem;
}

.entry-content blockquote {
	margin-inline: 0;
	padding-left: 1rem;
	border-left: 4px solid var(--ap-color-primary);
	color: #3e4c59;
}

.entry-content table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 0.6rem;
	border: 1px solid var(--ap-color-border);
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.25rem;
}

.tag-list a {
	padding: 0.3rem 0.55rem;
	background: var(--ap-color-surface);
	border-radius: var(--ap-radius);
	color: var(--ap-color-text);
	font-size: var(--ap-category-font-size);
	font-weight: var(--ap-category-font-weight);
	text-decoration: none;
}

.breadcrumbs {
	max-width: var(--ap-content-width);
	margin: 0 auto 1rem;
	color: var(--ap-color-muted);
	font-size: var(--ap-breadcrumb-font-size);
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
	margin-left: 0.35rem;
	content: "/";
	color: var(--ap-color-muted);
}

.ad-slot {
	width: 100%;
	min-height: 90px;
	margin: 1.25rem auto;
	text-align: center;
	overflow: hidden;
}

.ad-slot-ad_header,
.ad-slot-ad_footer {
	min-height: 72px;
	margin-block: 0.75rem;
}

.ad-slot-ad_sidebar {
	min-height: 250px;
}

.related-posts {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--ap-color-border);
}

.related-posts h2 {
	font-size: var(--ap-related-title-font-size);
	font-weight: var(--ap-related-title-font-weight);
	line-height: 1.2;
}

.related-grid {
	display: grid;
	gap: 1rem;
}

.related-card h3 {
	margin: 0.65rem 0 0.25rem;
	font-size: var(--ap-related-card-font-size);
	line-height: var(--ap-related-card-line-height);
}

.sidebar {
	display: grid;
	align-content: start;
	gap: 1.25rem;
}

.widget {
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--ap-color-border);
}

.widget-title {
	display: block;
	margin: 0 0 0.65rem;
	font-size: var(--ap-widget-title-font-size);
	font-weight: var(--ap-widget-title-font-weight);
}

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

.search-form label {
	flex: 1;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.5rem;
}

.page-numbers,
.post-page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 0.35rem 0.65rem;
	border: 1px solid var(--ap-color-border);
	border-radius: var(--ap-radius);
	text-decoration: none;
}

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

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

.comments-title {
	font-size: var(--ap-comment-title-font-size);
	font-weight: var(--ap-comment-title-font-weight);
	line-height: 1.2;
}

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

.comment {
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--ap-color-border);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.comment-author img {
	border-radius: 50%;
}

.comment-form {
	display: grid;
	gap: 0.85rem;
}

.site-footer {
	margin-top: 2rem;
	padding-block: 2rem;
	background: var(--ap-color-surface);
	border-top: 1px solid var(--ap-color-border);
}

.footer-widgets {
	display: grid;
	gap: 1.25rem;
	margin-bottom: 1.5rem;
}

.site-footer__bottom {
	display: grid;
	justify-items: center;
	gap: 0.9rem;
	color: var(--ap-color-muted);
	font-size: var(--ap-footer-font-size);
	text-align: center;
}

.footer-menu {
	justify-content: center;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.footer-menu a {
	padding: 0;
}

.copyright {
	margin: 0;
}

.copyright p {
	margin: 0;
}

.footer-disclaimer,
.footer-company-info {
	max-width: 760px;
	margin: 0;
	color: var(--ap-color-muted);
	line-height: 1.55;
}

.footer-disclaimer {
	font-style: italic;
}

.footer-disclaimer p,
.footer-company-info p {
	margin: 0;
}

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

.empty-state,
.error-404 {
	max-width: var(--ap-content-width);
	margin-inline: auto;
}

@media (min-width: 720px) {
	.menu-toggle {
		display: none;
	}

	.primary-navigation {
		display: block;
		position: static;
		border: 0;
		background: transparent;
	}

	.primary-menu {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0.2rem;
	}

	.primary-menu a {
		padding: 0.45rem 0.7rem;
	}

	.no-sidebar .post-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.related-grid,
	.footer-widgets {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 960px) {
	.has-sidebar {
		grid-template-columns: minmax(0, 1fr) 300px;
		align-items: start;
		gap: 3rem;
	}

	.has-sidebar .site-main {
		max-width: var(--ap-content-width);
	}

	.no-sidebar .post-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.no-sidebar .archive-header {
		max-width: var(--ap-content-width);
	}
}
