:root {
	--dmo-accent: #155eef;
	--dmo-accent-dark: #0d46bd;
	--dmo-text: #172033;
	--dmo-heading: #172033;
	--dmo-muted: #667085;
	--dmo-border: #e4e7ec;
	--dmo-surface: #ffffff;
	--dmo-site-bg: #ffffff;
	--dmo-header-bg: #ffffff;
	--dmo-header-text: #172033;
	--dmo-footer-bg: #101828;
	--dmo-footer-text: #d0d5dd;
	--dmo-soft: #f7f9fc;
	--dmo-container: 1200px;
	--dmo-content: 820px;
	--dmo-radius: 14px;
	--dmo-header-height: 78px;
	--dmo-logo-width: 220px;
	--dmo-body-size: 16px;
	--dmo-line-height: 1.65;
	--dmo-heading-weight: 700;
	--dmo-body-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--dmo-heading-font: var(--dmo-body-font);
	--dmo-blog-columns: 3;
	--dmo-footer-columns: 3;
	--dmo-shadow: 0 12px 34px rgba(23, 32, 51, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	min-height: 100vh;
	background: var(--dmo-site-bg);
	color: var(--dmo-text);
	font-family: var(--dmo-body-font);
	font-size: var(--dmo-body-size);
	line-height: var(--dmo-line-height);
	-webkit-font-smoothing: antialiased;
}
.site { display: flex; min-height: 100vh; flex-direction: column; background: var(--dmo-surface); }
.dmo-site-boxed .site { width: min(100%, calc(var(--dmo-container) + 80px)); margin-inline: auto; box-shadow: 0 0 50px rgba(23,32,51,.09); }
.site > .site-main, .site > .content-layout { flex: 1 0 auto; }
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; color: var(--dmo-heading); font-family: var(--dmo-heading-font); font-weight: var(--dmo-heading-weight); 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 { width: 100%; max-width: var(--dmo-content); }
.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: var(--dmo-header-bg); border-bottom: 1px solid var(--dmo-border); }
.dmo-header-shadow .site-header { box-shadow: 0 6px 22px rgba(23,32,51,.08); border-bottom-color: transparent; }
.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: var(--dmo-header-height); align-items: center; justify-content: space-between; gap: 28px; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { width: auto; max-width: var(--dmo-logo-width); max-height: calc(var(--dmo-header-height) - 18px); }
.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-header-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: var(--dmo-surface); color: var(--dmo-header-text); cursor: pointer; }
.dmo-header-center .header-inner, .dmo-header-stacked .header-inner { justify-content: center; flex-wrap: wrap; text-align: center; }
.dmo-header-center .site-branding { flex: 1 0 100%; padding-top: 14px; }
.dmo-header-center .main-navigation { margin-bottom: 14px; }
.dmo-header-stacked .header-inner { flex-direction: column; gap: 14px; padding-block: 18px; }
.header-button { white-space: nowrap; }

.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(var(--dmo-blog-columns), minmax(0, 1fr)); gap: 28px; }
.dmo-blog-columns-1 .posts-grid { grid-template-columns: minmax(0, 1fr); }
.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: var(--dmo-content); 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, var(--dmo-content)) minmax(260px, 1fr); }
.dmo-sidebar-left .content-layout.has-sidebar { grid-template-columns: minmax(260px, 1fr) minmax(0, var(--dmo-content)); }
.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; flex: 0 0 auto; background: var(--dmo-footer-bg); color: var(--dmo-footer-text); }
.footer-widgets { display: grid; grid-template-columns: repeat(var(--dmo-footer-columns), 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); }
.comment-list { padding-left: 1.25rem; }
.comment-body { margin-bottom: 24px; padding: 22px; border: 1px solid var(--dmo-border); border-radius: var(--dmo-radius); }
.comment-form label { display: block; margin-bottom: 5px; font-weight: 650; }
.search-form { display: flex; gap: 10px; }
.search-form label { flex: 1; }
.dmo-full-width .site-main, .dmo-full-width .content-narrow { width: 100%; max-width: none; }
.dmo-full-width .entry-content > * { max-width: none; }
.dmo-disable-title .entry-header { display: none; }
.woocommerce .site-main { max-width: var(--dmo-container); margin-inline: auto; }

@media (max-width: 900px) {
	.posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dmo-blog-columns-1 .posts-grid { grid-template-columns: 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; }
	.header-button { display: none; }
}

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