:root {
	--dmo-accent: #155eef;
	--dmo-accent-dark: #0d46bd;
	--dmo-text: #172033;
	--dmo-muted: #667085;
	--dmo-border: #e4e7ec;
	--dmo-surface: #ffffff;
	--dmo-soft: #f7f9fc;
	--dmo-container: 1200px;
	--dmo-radius: 14px;
	--dmo-shadow: 0 12px 34px rgba(23, 32, 51, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--dmo-surface);
	color: var(--dmo-text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
iframe { max-width: 100%; }
a { color: var(--dmo-accent); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: var(--dmo-accent-dark); }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .65em; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0 0 1.25em; }

.dmo-container { width: min(calc(100% - 40px), var(--dmo-container)); margin-inline: auto; }
.content-narrow { max-width: 820px; }
.site-main { padding-block: clamp(42px, 7vw, 90px); }
.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;
}
.screen-reader-text:focus {
	top: 12px; left: 12px; z-index: 100000; width: auto; height: auto; padding: 12px 18px;
	clip: auto; background: #fff; color: #111; box-shadow: var(--dmo-shadow);
}

.site-header { position: relative; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--dmo-border); }
.site-header.is-sticky { position: sticky; top: 0; backdrop-filter: blur(14px); }
.admin-bar .site-header.is-sticky { top: 32px; }
.header-inner { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 28px; }
.custom-logo { width: auto; max-height: 58px; }
.site-title { color: var(--dmo-text); font-size: 1.35rem; font-weight: 800; text-decoration: none; }
.site-description { margin: 2px 0 0; color: var(--dmo-muted); font-size: .82rem; }
.main-navigation ul { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.main-navigation a { color: var(--dmo-text); font-size: .94rem; font-weight: 650; text-decoration: none; }
.main-navigation a:hover, .main-navigation .current-menu-item > a { color: var(--dmo-accent); }
.menu-toggle { display: none; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--dmo-border); border-radius: 9px; background: #fff; color: var(--dmo-text); cursor: pointer; }

.page-header { margin-bottom: 36px; }
.page-header h1, .entry-header h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
.archive-description, .posted-on { color: var(--dmo-muted); }
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.content-card { overflow: hidden; border: 1px solid var(--dmo-border); border-radius: var(--dmo-radius); background: #fff; box-shadow: 0 6px 20px rgba(23,32,51,.04); }
.content-card:hover { transform: translateY(-2px); box-shadow: var(--dmo-shadow); transition: transform .2s ease, box-shadow .2s ease; }
.card-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-content { padding: 24px; }
.card-content .entry-title { margin-top: .35em; font-size: 1.35rem; }
.card-content .entry-title a { color: var(--dmo-text); text-decoration: none; }
.entry-summary > :last-child { margin-bottom: 0; }
.entry-header { margin-bottom: 30px; }
.entry-featured { margin-bottom: 34px; }
.entry-featured img { border-radius: var(--dmo-radius); }
.entry-content { font-size: 1.06rem; }
.entry-content > * { max-width: 820px; margin-inline: auto; }
.entry-content > .alignwide { max-width: var(--dmo-container); }
.entry-content > .alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.content-layout.has-sidebar { grid-template-columns: minmax(0, 820px) minmax(260px, 1fr); }
.widget-area { padding-top: clamp(42px, 7vw, 90px); }
.widget { margin-bottom: 28px; padding: 24px; border: 1px solid var(--dmo-border); border-radius: var(--dmo-radius); }
.widget-title { font-size: 1.1rem; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; }
.page-numbers { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; padding: 6px 12px; border: 1px solid var(--dmo-border); border-radius: 9px; text-decoration: none; }
.page-numbers.current { border-color: var(--dmo-accent); background: var(--dmo-accent); color: #fff; }

.site-footer { margin-top: 60px; background: #101828; color: #d0d5dd; }
.footer-widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-block: 58px; }
.site-footer .widget { padding: 0; border: 0; }
.site-footer .widget-title { color: #fff; }
.site-footer a { color: #eaecf0; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; border-top: 1px solid #344054; font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; }
.dmo-button, button, input[type="submit"] { display: inline-flex; padding: 11px 18px; border: 0; border-radius: 9px; background: var(--dmo-accent); color: #fff; font-weight: 700; text-decoration: none; cursor: pointer; }
.error-404 { text-align: center; }
.error-code { margin: 0; color: var(--dmo-accent); font-size: clamp(5rem, 18vw, 11rem); font-weight: 900; line-height: .9; }
.no-results { text-align: center; }
input[type="search"], input[type="text"], input[type="email"], input[type="url"], textarea, select { width: 100%; padding: 11px 13px; border: 1px solid #cfd4dc; border-radius: 8px; background: #fff; color: var(--dmo-text); }

@media (max-width: 900px) {
	.posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.content-layout.has-sidebar { grid-template-columns: 1fr; }
	.widget-area { padding-top: 0; }
	.menu-toggle { display: inline-flex; }
	.main-navigation { display: none; position: absolute; top: 100%; right: 20px; left: 20px; padding: 18px; border: 1px solid var(--dmo-border); border-radius: 12px; background: #fff; box-shadow: var(--dmo-shadow); }
	.main-navigation.is-open { display: block; }
	.main-navigation ul { align-items: stretch; flex-direction: column; gap: 4px; }
	.main-navigation a { display: block; padding: 10px; }
}

@media (max-width: 600px) {
	.dmo-container { width: min(calc(100% - 28px), var(--dmo-container)); }
	.posts-grid, .footer-widgets { grid-template-columns: 1fr; }
	.footer-bottom { align-items: flex-start; flex-direction: column; }
	.admin-bar .site-header.is-sticky { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
