/*
Theme Name: Digitalkirk
Theme URI: https://digitalkirk.com/
Author: Digitalkirk
Author URI: https://digitalkirk.com/
Description: A fast, accessible digital-marketing magazine theme with an automatic Table of Contents, 30 working SEO tools and calculators, a guest-post services page, a private WhatsApp chat button and a built-in SEO/schema layer that steps aside for SEO plugins.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digitalkirk
Tags: blog, news, magazine, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready, block-styles, wide-blocks
*/

/* =========================================================
   1. Tokens
   ========================================================= */
:root {
	--dk-primary: #4338ca;
	--dk-primary-dark: #312e81;
	--dk-soft: #eef2ff;
	--dk-secondary: #0f766e;
	--dk-secondary-soft: #ccfbf1;
	--dk-accent: #f97316;
	--dk-accent-ink: #c2410c;
	--dk-green: #0f7b4f;
	--dk-ink: #0f172a;
	--dk-text: #1e293b;
	--dk-muted: #475569;
	--dk-line: #e2e8f0;
	--dk-surface: #f8fafc;
	--dk-bg: #ffffff;
	--dk-danger: #b91c1c;
	--dk-ok: #166534;
	--dk-warn: #92400e;

	--dk-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--dk-font-head: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--dk-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--dk-r: 12px;
	--dk-r-lg: 20px;
	--dk-shadow: 0 1px 2px rgb(15 23 42 / 6%), 0 6px 24px rgb(15 23 42 / 6%);
	--dk-shadow-lg: 0 10px 40px rgb(15 23 42 / 14%);
	--dk-gutter: 20px;
	--dk-header-h: 68px;
	--dk-wa-offset: 24px;
}

/* =========================================================
   2. Base
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
	margin: 0;
	background: var(--dk-bg);
	color: var(--dk-text);
	font-family: var(--dk-font);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip; /* clip, not hidden: hidden would break position: sticky */
}

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

h1, h2, h3, h4 {
	font-family: var(--dk-font-head);
	color: var(--dk-ink);
	line-height: 1.2;
	letter-spacing: -0.015em;
	margin: 0 0 .5em;
	text-wrap: balance;
}

p { margin: 0 0 1em; }
a { color: var(--dk-primary); text-underline-offset: .18em; }
a:hover { color: var(--dk-primary-dark); }

:focus-visible {
	outline: 3px solid var(--dk-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

h2[id], h3[id], h4[id], [id="faq"], [id="dk-newsletter"], [id^="dk-form-"] { scroll-margin-top: calc(var(--dk-header-h) + 20px); }

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

.dk-skip {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--dk-ink); color: #fff; padding: .7rem 1rem; border-radius: 0 0 10px 10px;
	font-weight: 700; text-decoration: none;
}
.dk-skip:focus { top: 0; color: #fff; }

.dk-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--dk-gutter); }
.dk-wrap--read { max-width: calc(760px + 2 * var(--dk-gutter)); }
.dk-wrap--wide { max-width: calc(1000px + 2 * var(--dk-gutter)); }
.dk-section { padding-block: 40px; }
.dk-section--tight { padding-block: 8px 24px; }
.dk-mt { margin-top: 32px; }

.dk-icon { flex: none; vertical-align: -0.2em; }

/* =========================================================
   3. Buttons, inputs, pills
   ========================================================= */
.dk-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	padding: .8rem 1.25rem; border-radius: 12px; border: 2px solid transparent;
	font: 700 .97rem/1.2 var(--dk-font); text-decoration: none; cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.dk-btn:hover { transform: translateY(-1px); }
.dk-btn--primary { background: var(--dk-primary); color: #fff; }
.dk-btn--primary:hover { background: var(--dk-primary-dark); color: #fff; }
.dk-btn--accent { background: var(--dk-accent); color: var(--dk-ink); }
.dk-btn--accent:hover { background: #fb8a35; color: var(--dk-ink); }
.dk-btn--light { background: #fff; color: var(--dk-primary-dark); }
.dk-btn--light:hover { background: var(--dk-soft); color: var(--dk-primary-dark); }
.dk-btn--ghost-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / 55%); }
.dk-btn--ghost-light:hover { background: rgb(255 255 255 / 12%); color: #fff; }
.dk-btn--sm { padding: .55rem .95rem; font-size: .9rem; border-radius: 10px; }

.dk-input, select.dk-input, textarea.dk-input {
	width: 100%; padding: .75rem .9rem; border: 1.5px solid #94a3b8; border-radius: 10px;
	background: #fff; color: var(--dk-ink); font: 500 1rem/1.4 var(--dk-font);
}
.dk-input:focus { border-color: var(--dk-primary); outline: 3px solid rgb(67 56 202 / 25%); outline-offset: 0; }
textarea.dk-input { resize: vertical; min-height: 110px; }

.dk-pill {
	display: inline-block; padding: .2rem .65rem; border-radius: 999px;
	background: var(--dk-soft); color: var(--dk-primary-dark);
	font: 700 .72rem/1.4 var(--dk-font); letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
}
a.dk-pill:hover { background: #e0e7ff; color: var(--dk-primary-dark); }
.dk-pill--sponsored { background: #fff7ed; color: var(--dk-accent-ink); border: 1px solid #fed7aa; }

.dk-eyebrow {
	margin: 0 0 .4rem; font: 800 .75rem/1.2 var(--dk-font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--dk-primary);
}
.dk-eyebrow--light { color: #fdba74; }

.dk-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-block: 0 24px; padding-block: 0; }
.dk-chip {
	display: inline-block; padding: .45rem .9rem; border: 1px solid var(--dk-line); border-radius: 999px;
	background: #fff; color: var(--dk-ink); font: 600 .88rem/1.2 var(--dk-font); text-decoration: none;
	transition: border-color .15s, background-color .15s;
}
a.dk-chip:hover { border-color: var(--dk-primary); background: var(--dk-soft); color: var(--dk-primary-dark); }
.dk-chip--more { background: var(--dk-ink); color: #fff; border-color: var(--dk-ink); }
a.dk-chip--more:hover { background: var(--dk-primary-dark); color: #fff; border-color: var(--dk-primary-dark); }

.dk-meta { margin: 0; color: var(--dk-muted); font-size: .84rem; line-height: 1.4; display: flex; flex-wrap: wrap; gap: 0 .4rem; align-items: center; }
.dk-meta__author { color: var(--dk-ink); font-weight: 600; }

.dk-more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.dk-more:hover { text-decoration: underline; }

/* =========================================================
   4. Header + navigation
   ========================================================= */
.dk-header {
	position: sticky; top: 0; z-index: 60;
	border-bottom: 1px solid var(--dk-line);
	transition: box-shadow .2s;
}
/* The blur sits on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile drawer inside it. */
.dk-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(255 255 255 / 95%); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
.admin-bar .dk-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .dk-header { top: 46px; } }
.dk-header.is-stuck { box-shadow: 0 6px 24px rgb(15 23 42 / 8%); }

.dk-header__bar { display: flex; align-items: center; gap: 20px; height: var(--dk-header-h); }
.dk-logo { display: inline-flex; align-items: center; flex: none; line-height: 0; }
.dk-logo img { height: 36px; width: auto; }
.dk-logo--has-compact .dk-logo__compact { display: none; }

.dk-nav { margin-left: auto; }
.dk-menu, .dk-menu ul { list-style: none; margin: 0; padding: 0; }
.dk-menu { display: flex; align-items: center; gap: 2px; }
.dk-menu > li { position: relative; }
.dk-menu a {
	display: flex; align-items: center; gap: .3rem; padding: .6rem .8rem; border-radius: 10px;
	color: var(--dk-ink); font: 600 .95rem/1.2 var(--dk-font); text-decoration: none;
}
.dk-menu > li > a:hover, .dk-menu > li:focus-within > a, .dk-menu .current-menu-item > a { background: var(--dk-soft); color: var(--dk-primary-dark); }
.dk-menu__chev { transition: transform .2s; }
.dk-menu > li.is-open > a .dk-menu__chev, .dk-menu > li:hover > a .dk-menu__chev { transform: rotate(180deg); }

.dk-menu .sub-menu {
	position: absolute; left: 0; top: 100%; min-width: 250px; padding: 8px;
	background: #fff; border: 1px solid var(--dk-line); border-radius: 14px; box-shadow: var(--dk-shadow-lg);
	display: none; z-index: 5; max-height: 70vh; overflow-y: auto;
}
.dk-menu .sub-menu:has(> li:nth-child(9)) { min-width: 540px; columns: 2; column-gap: 8px; }
.dk-menu .sub-menu li { break-inside: avoid; }
.dk-menu .sub-menu a { font-weight: 500; padding: .55rem .75rem; }
.dk-menu .sub-menu a:hover { background: var(--dk-soft); color: var(--dk-primary-dark); }
.dk-menu li:hover > .sub-menu, .dk-menu li:focus-within > .sub-menu, .dk-menu li.is-open > .sub-menu { display: block; }
.dk-subtoggle { display: none; }

.dk-header__tools { display: flex; align-items: center; gap: 4px; margin-left: 4px; }
.dk-iconbtn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
	background: transparent; border: 0; border-radius: 12px; color: var(--dk-ink); cursor: pointer;
}
.dk-iconbtn:hover { background: var(--dk-soft); color: var(--dk-primary-dark); }
.dk-burger { display: none; }
.dk-burger__close { display: none; }
.dk-burger[aria-expanded="true"] .dk-burger__open { display: none; }
.dk-burger[aria-expanded="true"] .dk-burger__close { display: block; }

.dk-searchbar { border-top: 1px solid var(--dk-line); background: #fff; padding: 14px 0; }
.dk-searchbar[hidden] { display: none; }
.dk-search {
	display: flex; align-items: center; gap: 10px; width: 100%;
	background: #fff; border: 1.5px solid #94a3b8; border-radius: 14px; padding: 6px 6px 6px 14px;
}
.dk-search:focus-within { border-color: var(--dk-primary); outline: 3px solid rgb(67 56 202 / 20%); }
.dk-search .dk-icon { color: var(--dk-muted); }
.dk-search__input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 1rem var(--dk-font); color: var(--dk-ink); padding: .5rem 0; outline: none; }
.dk-suggest { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; }
.dk-suggest a { display: block; padding: .55rem .75rem; border-radius: 10px; color: var(--dk-ink); text-decoration: none; font-weight: 500; }
.dk-suggest a:hover { background: var(--dk-soft); }
.dk-suggest small { color: var(--dk-muted); margin-left: .5rem; }

.dk-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; opacity: 0; transition: opacity .2s; }
.dk-single .dk-progress { opacity: 1; }
.dk-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--dk-primary), var(--dk-accent)); }

.dk-scrim { position: fixed; inset: 0; z-index: 55; background: rgb(15 23 42 / 45%); }
.dk-scrim[hidden] { display: none; }

@media (max-width: 1020px) {
	:root { --dk-header-h: 62px; }
	.dk-burger { display: inline-grid; }
	.dk-nav {
		position: fixed; top: var(--dk-header-h); right: 0; bottom: 0; z-index: 58; width: min(88vw, 380px);
		background: #fff; border-left: 1px solid var(--dk-line); padding: 12px;
		overflow-y: auto; transform: translateX(100%); visibility: hidden;
		transition: transform .25s ease, visibility 0s linear .25s;
		margin: 0;
	}
	.admin-bar .dk-nav { top: calc(var(--dk-header-h) + 46px); }
	.dk-nav.is-open { transform: none; visibility: visible; transition: transform .25s ease; }
	.dk-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.dk-menu > li { border-bottom: 1px solid var(--dk-line); }
	.dk-menu a { padding: .9rem .6rem; font-size: 1.02rem; }
	.dk-menu__chev { display: none; }
	.dk-menu > li.menu-item-has-children { display: grid; grid-template-columns: 1fr 48px; align-items: center; }
	.dk-menu > li.menu-item-has-children > .sub-menu { grid-column: 1 / -1; }
	.dk-subtoggle { display: inline-grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 0; border-radius: 10px; color: var(--dk-ink); cursor: pointer; }
	.dk-subtoggle[aria-expanded="true"] .dk-icon { transform: rotate(180deg); }
	.dk-menu .sub-menu, .dk-menu .sub-menu:has(> li:nth-child(9)) {
		position: static; display: none; min-width: 0; columns: 1; border: 0; box-shadow: none; padding: 0 0 8px 12px; max-height: none; overflow: visible; border-radius: 0;
	}
	.dk-menu li:hover > .sub-menu, .dk-menu li:focus-within > .sub-menu { display: none; }
	.dk-menu li.is-open > .sub-menu { display: block; }
}
@media (max-width: 560px) {
	.dk-logo--has-compact .dk-logo__full { display: none; }
	.dk-logo--has-compact .dk-logo__compact { display: block; height: 36px; width: 36px; }
}

/* =========================================================
   5. Footer, floating elements
   ========================================================= */
.dk-footer { margin-top: 56px; background: #0b1120; color: #cbd5e1; }
.dk-footer a { color: #e2e8f0; text-decoration: none; }
.dk-footer a:hover { color: #fff; text-decoration: underline; }
.dk-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 56px 36px; }
.dk-footer__brand .dk-logo img { height: 40px; }
.dk-footer__brand p { margin: 16px 0; max-width: 34ch; }
.dk-footer__title { margin: 0 0 14px; font: 800 .8rem/1 var(--dk-font-head); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.dk-flist, .dk-legal { list-style: none; margin: 0; padding: 0; }
.dk-flist li { margin: 0 0 9px; }
.dk-flist--dark a { color: var(--dk-primary); }
.dk-flist--dark li { display: flex; gap: .5rem; align-items: flex-start; }
.dk-footer__bar { border-top: 1px solid #1e293b; }
.dk-footer__bar { padding-bottom: 8px; }
@media (max-width: 1400px) { .dk-footer__barin { padding-right: 96px; } }
.dk-footer__barin { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-block: 20px; font-size: .88rem; }
.dk-footer__barin p { margin: 0; }
.dk-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.dk-social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.dk-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #1e293b; color: #fff; }
.dk-social a:hover { background: var(--dk-primary); text-decoration: none; }
.dk-social--dark a { background: var(--dk-soft); color: var(--dk-primary-dark); }
.dk-social--dark a:hover { background: var(--dk-primary); color: #fff; }
.dk-footer .dk-widget__title { color: #fff; font-size: 1rem; }

@media (max-width: 900px) { .dk-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dk-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-block: 40px 24px; } .dk-footer__barin { padding-right: var(--dk-gutter); padding-bottom: 88px; } }

/* WhatsApp: icon only on phones, label on hover/focus elsewhere. Number is never rendered. */
.dk-wa {
	position: fixed; right: var(--dk-wa-offset); bottom: var(--dk-wa-offset); z-index: 70;
	display: inline-flex; align-items: center; gap: 0; height: 58px; min-width: 58px; padding: 0 15px;
	background: var(--dk-green); color: #fff; border-radius: 999px; text-decoration: none;
	box-shadow: 0 6px 20px rgb(15 23 42 / 30%); overflow: hidden;
	transition: gap .2s, padding .2s, background-color .2s, transform .2s;
}
.dk-wa:hover, .dk-wa:focus-visible { gap: 10px; padding-right: 20px; background: #0b6a43; color: #fff; transform: translateY(-2px); }
.dk-wa:focus-visible { outline: 3px solid var(--dk-accent); outline-offset: 3px; }
.dk-wa .dk-icon { width: 28px; height: 28px; }
.dk-wa__label { max-width: 0; opacity: 0; white-space: nowrap; font: 700 .95rem var(--dk-font); transition: max-width .25s ease, opacity .2s; }
.dk-wa:hover .dk-wa__label, .dk-wa:focus-visible .dk-wa__label { max-width: 180px; opacity: 1; }
@media (max-width: 600px) {
	:root { --dk-wa-offset: 16px; }
	.dk-wa { height: 54px; min-width: 54px; padding: 0 13px; }
	.dk-wa__label { display: none; }
}

.dk-totop {
	position: fixed; right: calc(var(--dk-wa-offset) + 7px); bottom: calc(var(--dk-wa-offset) + 74px); z-index: 65;
	display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--dk-line); border-radius: 50%;
	background: #fff; color: var(--dk-ink); box-shadow: var(--dk-shadow); cursor: pointer;
}
.dk-totop[hidden] { display: none; }
.dk-totop:hover { background: var(--dk-soft); }

.dk-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgb(15 23 42 / 60%); }
.dk-modal[hidden] { display: none; }
.dk-modal__box { position: relative; width: min(560px, 100%); background: #fff; border-radius: 22px; padding: 28px; box-shadow: var(--dk-shadow-lg); max-height: 92vh; overflow: auto; }
.dk-modal__close { position: absolute; right: 10px; top: 10px; }
.dk-modal .dk-news { grid-template-columns: 1fr; padding: 0; background: none; border: 0; box-shadow: none; }

/* =========================================================
   6. Cards + grids
   ========================================================= */
.dk-grid { display: grid; gap: 28px 24px; }
.dk-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dk-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dk-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dk-grid__full { grid-column: 1 / -1; }
@media (max-width: 980px) { .dk-grid--3, .dk-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .dk-grid--2, .dk-grid--3, .dk-grid--4 { grid-template-columns: minmax(0, 1fr); } }

.dk-card { position: relative; min-width: 0; }
.dk-card__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 14px; background: var(--dk-soft); }
.dk-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.dk-card:hover .dk-card__media img { transform: scale(1.04); }
.dk-card__body { padding-top: 14px; }
.dk-card__pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.dk-card__title { margin: 0 0 8px; font-size: 1.2rem; line-height: 1.28; }
.dk-card__title a { color: var(--dk-ink); text-decoration: none; background: linear-gradient(currentcolor, currentcolor) 0 100% / 0 2px no-repeat; transition: background-size .25s; }
.dk-card__title a:hover { background-size: 100% 2px; color: var(--dk-primary-dark); }
.dk-card__excerpt { margin: 0 0 10px; color: var(--dk-muted); font-size: .96rem; }

.dk-thumb-ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, hsl(var(--h) 62% 38%), hsl(calc(var(--h) + 45) 60% 24%)); }
.dk-thumb-ph span { font: 800 4.5rem/1 var(--dk-font-head); color: rgb(255 255 255 / 22%); }

/* Lead (overlay) */
.dk-card--lead { border-radius: var(--dk-r-lg); overflow: hidden; background: var(--dk-ink); }
.dk-card--lead .dk-card__media { aspect-ratio: 16 / 10; border-radius: 0; }
.dk-card--lead .dk-card__body {
	position: absolute; inset: auto 0 0 0; padding: 72px 28px 26px;
	background: linear-gradient(to top, rgb(11 17 32 / 96%) 0%, rgb(11 17 32 / 80%) 45%, rgb(11 17 32 / 0%) 100%);
}
.dk-card--lead .dk-card__title { font-size: clamp(1.4rem, 2.6vw, 2.15rem); line-height: 1.15; }
.dk-card--lead .dk-card__title a { color: #fff; }
.dk-card--lead .dk-card__title a:hover { color: #fff; }
.dk-card--lead .dk-card__excerpt { color: #e2e8f0; max-width: 62ch; }
.dk-card--lead .dk-meta, .dk-card--lead .dk-meta__author { color: #cbd5e1; }
.dk-card--lead .dk-pill { background: var(--dk-accent); color: var(--dk-ink); }
.dk-card--lead .dk-pill--sponsored { background: #fff; }
@media (max-width: 640px) {
	.dk-card--lead .dk-card__excerpt { display: none; }
	.dk-card--lead .dk-card__body { padding: 56px 18px 18px; }
	.dk-card--lead .dk-card__media { aspect-ratio: 4 / 3; }
}

/* Compact */
.dk-card--compact { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start; }
.dk-card--compact .dk-card__media { aspect-ratio: 1; border-radius: 12px; }
.dk-card--compact .dk-card__body { padding-top: 0; }
.dk-card--compact .dk-card__title { font-size: 1rem; margin-bottom: 4px; }
.dk-thumb-ph span { font-size: 2.4rem; }
.dk-card--compact .dk-thumb-ph span { font-size: 2rem; }

/* Ranked */
.dk-ranked { display: grid; }
.dk-card--ranked { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--dk-line); }
.dk-card--ranked:last-child { border-bottom: 0; }
.dk-card__rank { font: 800 1.9rem/1 var(--dk-font-head); color: var(--dk-primary); opacity: .9; }
.dk-card--ranked .dk-card__body { padding: 0; }
.dk-card--ranked .dk-card__title { font-size: 1rem; margin-bottom: 4px; }

/* =========================================================
   7. Homepage + sections
   ========================================================= */
.dk-hero { padding-block: 28px 12px; background: linear-gradient(180deg, var(--dk-surface), #fff); }
.dk-hero__label { margin: 0 0 18px; font: 700 .85rem/1.3 var(--dk-font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--dk-muted); }
.dk-hero__grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.dk-hero__side { background: #fff; border: 1px solid var(--dk-line); border-radius: var(--dk-r-lg); padding: 20px 22px; }
@media (max-width: 980px) { .dk-hero__grid { grid-template-columns: 1fr; } }

.dk-side-title { display: flex; align-items: center; gap: .5rem; margin: 0 0 6px; font: 800 1rem/1.2 var(--dk-font-head); color: var(--dk-ink); }
.dk-side-title .dk-icon { color: var(--dk-primary); }

.dk-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 2px solid var(--dk-ink); }
.dk-sechead__title { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.dk-sechead__sub { margin: 4px 0 0; color: var(--dk-muted); }
.dk-sechead--light { border-bottom-color: rgb(255 255 255 / 40%); }
.dk-sechead--light .dk-sechead__title { color: #fff; }
.dk-sechead--light .dk-eyebrow { color: #fdba74; }
.dk-sechead--light .dk-more { color: #fff; }

.dk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }
.dk-layout__side { display: grid; gap: 24px; position: sticky; top: calc(var(--dk-header-h) + 20px); }
@media (max-width: 1020px) { .dk-layout { grid-template-columns: 1fr; } .dk-layout__side { position: static; } }

.dk-panel { background: #fff; border: 1px solid var(--dk-line); border-radius: var(--dk-r-lg); padding: 20px 22px; }
.dk-panel--tint { background: var(--dk-soft); border-color: #c7d2fe; }
.dk-stack { display: grid; gap: 18px; margin-top: 14px; }
.dk-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 820px) { .dk-split { grid-template-columns: 1fr; } }
.dk-updated { list-style: none; margin: 10px 0 0; padding: 0; }
.dk-updated li { padding: 12px 0; border-bottom: 1px solid var(--dk-line); }
.dk-updated li:last-child { border-bottom: 0; }
.dk-updated a { display: block; font-weight: 700; color: var(--dk-ink); text-decoration: none; margin-bottom: 2px; }
.dk-updated a:hover { color: var(--dk-primary); }

.dk-catblock { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px 32px; align-items: start; }
.dk-catblock > :first-child { grid-row: 1 / span 4; }
@media (max-width: 820px) { .dk-catblock { grid-template-columns: 1fr; } .dk-catblock > :first-child { grid-row: auto; } }

.dk-toolsband { margin-block: 32px; padding-block: 56px; background: radial-gradient(1200px 400px at 85% -10%, #4f46e5 0%, transparent 60%), linear-gradient(135deg, #1e1b4b, #312e81); color: #fff; }
.dk-toolcard {
	display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: #fff; color: var(--dk-ink);
	border: 1px solid var(--dk-line); border-radius: 16px; text-decoration: none; height: 100%;
	transition: transform .15s, box-shadow .15s, border-color .15s;
}
.dk-toolcard:hover { transform: translateY(-2px); box-shadow: var(--dk-shadow); border-color: #a5b4fc; color: var(--dk-ink); }
.dk-toolcard__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--dk-soft); color: var(--dk-primary); }
.dk-toolcard__body { display: grid; gap: 4px; min-width: 0; }
.dk-toolcard__title { font: 800 1rem/1.25 var(--dk-font-head); }
.dk-toolcard__desc { font-size: .88rem; color: var(--dk-muted); line-height: 1.45; }

.dk-guestband { margin-top: 48px; padding-block: 56px; background: linear-gradient(120deg, #0f172a 0%, #312e81 70%, #4338ca 100%); color: #e2e8f0; }
.dk-guestband__in { display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 32px; align-items: center; }
.dk-guestband h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 22ch; }
.dk-guestband p { max-width: 62ch; }
.dk-guestband__cta { display: grid; gap: 12px; }
@media (max-width: 820px) { .dk-guestband__in { grid-template-columns: 1fr; } }

/* Newsletter */
.dk-news { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.dk-news--band { padding: 40px; border-radius: 24px; background: linear-gradient(135deg, #eef2ff, #e0e7ff 55%, #fff7ed); border: 1px solid #c7d2fe; position: relative; overflow: hidden; }
.dk-news--band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgb(249 115 22 / 25%), transparent 70%); pointer-events: none; }
.dk-news--inline { grid-template-columns: 1fr; gap: 16px; margin: 40px 0; padding: 26px; border: 1px solid #c7d2fe; border-radius: 18px; background: var(--dk-soft); }
.dk-news__title { margin: 0 0 6px; font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.dk-news__copy p { margin: 0; color: var(--dk-muted); }
.dk-news__row { display: flex; gap: 10px; }
.dk-news__row .dk-input { flex: 1; min-width: 0; }
.dk-news .dk-check { margin-top: 12px; }
@media (max-width: 820px) { .dk-news { grid-template-columns: 1fr; } .dk-news--band { padding: 26px; } }
@media (max-width: 480px) { .dk-news__row { flex-direction: column; } }

/* =========================================================
   8. Page heads, breadcrumbs, pagination, empty
   ========================================================= */
.dk-pagehead { padding-block: 28px 24px; background: linear-gradient(180deg, var(--dk-surface), #fff); border-bottom: 1px solid var(--dk-line); }
.dk-pagehead__title { margin: 0 0 10px; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.dk-pagehead__desc { max-width: 70ch; color: var(--dk-muted); font-size: 1.08rem; }
.dk-pagehead__desc p:last-child { margin-bottom: 0; }

.dk-crumbs { margin-bottom: 14px; font-size: .86rem; }
.dk-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; }
.dk-crumbs li { display: inline-flex; align-items: center; color: var(--dk-muted); }
.dk-crumbs li + li::before { content: "/"; margin: 0 .55rem; color: #94a3b8; }
.dk-crumbs a { color: var(--dk-muted); text-decoration: none; }
.dk-crumbs a:hover { color: var(--dk-primary); text-decoration: underline; }
.dk-crumbs [aria-current] { color: var(--dk-ink); font-weight: 600; }

.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; gap: .4rem; min-width: 44px; height: 44px; padding: 0 .9rem; justify-content: center;
	border: 1px solid var(--dk-line); border-radius: 12px; background: #fff; color: var(--dk-ink); font-weight: 700; text-decoration: none;
}
.pagination a.page-numbers:hover { border-color: var(--dk-primary); background: var(--dk-soft); }
.pagination .current { background: var(--dk-primary); border-color: var(--dk-primary); color: #fff; }
.pagination .dots { border: 0; background: none; }

.dk-empty { padding: 36px; text-align: center; border: 1.5px dashed #cbd5e1; border-radius: var(--dk-r-lg); background: var(--dk-surface); color: var(--dk-muted); }
.dk-empty .dk-search { max-width: 520px; margin: 16px auto 0; }

.dk-404 { text-align: center; }
.dk-404__code { margin: 0; font: 800 clamp(5rem, 16vw, 9rem)/1 var(--dk-font-head); background: linear-gradient(120deg, var(--dk-primary), var(--dk-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dk-404 .dk-pagehead__desc { margin-inline: auto; }
.dk-404__search { max-width: 560px; margin: 24px auto 36px; }
.dk-404 .dk-chips { justify-content: center; }
.dk-404 .dk-side-title { justify-content: center; margin-bottom: 14px; }
.dk-404 .dk-grid { text-align: left; }

.dk-ad { padding: 16px; border: 1px dashed #cbd5e1; border-radius: 14px; background: var(--dk-surface); text-align: center; }
.dk-ad__label { display: block; margin-bottom: 8px; font: 700 .68rem/1 var(--dk-font); letter-spacing: .12em; text-transform: uppercase; color: var(--dk-muted); }
.dk-widget { margin-bottom: 24px; }
.dk-widget__title { font-size: 1.05rem; }

/* =========================================================
   9. Article
   ========================================================= */
.dk-article__head { padding-block: 28px 12px; }
.dk-article__title { margin: 8px 0 14px; font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.1; }
.dk-article__intro { font-size: 1.2rem; line-height: 1.55; color: var(--dk-muted); max-width: 62ch; }
.dk-byline { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.dk-byline__avatar img, .dk-authorbox__avatar img, .dk-authorhead__avatar img { border-radius: 50%; width: 48px; height: 48px; object-fit: cover; }
.dk-byline__who { margin: 0; font-weight: 700; color: var(--dk-ink); }
.dk-byline__who a { color: var(--dk-ink); text-decoration: none; }
.dk-byline__who a:hover { color: var(--dk-primary); text-decoration: underline; }
.dk-byline__job { font-weight: 500; color: var(--dk-muted); }

.dk-share { display: flex; gap: 8px; margin-top: 18px; }
.dk-share__btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--dk-line); border-radius: 12px; background: #fff; color: var(--dk-ink); cursor: pointer; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.dk-share__btn:hover { background: var(--dk-primary); border-color: var(--dk-primary); color: #fff; }
.dk-share__btn.is-copied { background: var(--dk-ok); border-color: var(--dk-ok); color: #fff; }

.dk-article__figure { margin-block: 12px 8px; }
.dk-article__figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--dk-r-lg); }
.dk-article__figure figcaption { margin-top: 8px; font-size: .86rem; color: var(--dk-muted); text-align: center; }

.dk-article__layout { max-width: calc(760px + 2 * var(--dk-gutter)); padding-block: 20px 8px; }
.dk-article__toc { display: none; }
@media (min-width: 1160px) {
	.dk-article__layout.has-sticky-toc { max-width: 1180px; display: grid; grid-template-columns: 250px minmax(0, 760px); gap: 56px; justify-content: center; }
	.has-sticky-toc .dk-article__toc { display: block; align-self: start; position: sticky; top: calc(var(--dk-header-h) + 24px); max-height: calc(100vh - var(--dk-header-h) - 48px); overflow-y: auto; }
	.has-sticky-toc .dk-article__toc-inline { display: none; }
	.admin-bar .has-sticky-toc .dk-article__toc { top: calc(var(--dk-header-h) + 56px); }
}

/* TOC */
.dk-toc { margin: 0 0 28px; padding: 16px 18px; border: 1px solid var(--dk-line); border-radius: 16px; background: var(--dk-surface); font-size: .95rem; }
.dk-toc__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dk-toc__title { display: flex; align-items: center; gap: .5rem; margin: 0; font: 800 .95rem/1.2 var(--dk-font-head); color: var(--dk-ink); }
.dk-toc__toggle { display: inline-flex; align-items: center; gap: .3rem; padding: .35rem .65rem; border: 1px solid var(--dk-line); border-radius: 999px; background: #fff; color: var(--dk-ink); font: 700 .8rem/1 var(--dk-font); cursor: pointer; }
.dk-toc__toggle .dk-icon { transition: transform .2s; }
.dk-toc__toggle[aria-expanded="false"] .dk-icon { transform: rotate(180deg); }
.dk-toc__list { list-style: none; counter-reset: toc; margin: 12px 0 0; padding: 0; }
.dk-toc__list[hidden] { display: none; }
.dk-toc__list ol { list-style: none; margin: 2px 0 6px; padding-left: 16px; border-left: 2px solid var(--dk-line); }
.dk-toc__list li { margin: 0; }
.dk-toc__list a { display: block; padding: .32rem .5rem; border-radius: 8px; color: var(--dk-text); text-decoration: none; line-height: 1.35; }
.dk-toc__list ol a { font-size: .9rem; color: var(--dk-muted); }
.dk-toc__list a:hover { background: #fff; color: var(--dk-primary-dark); }
.dk-toc__list a.is-active { background: var(--dk-soft); color: var(--dk-primary-dark); font-weight: 700; }
.dk-toc--sticky { margin: 0; background: #fff; }

.dk-takeaways { margin: 0 0 28px; padding: 20px 22px; border-radius: 16px; background: var(--dk-secondary-soft); border: 1px solid #99f6e4; }
.dk-takeaways h2, .dk-takeaways h3 { margin: 0 0 8px; font-size: 1.05rem; color: #134e4a; }
.dk-takeaways ul { margin: 0; padding-left: 1.2rem; }
.dk-takeaways li { margin: .3rem 0; color: #134e4a; }

.dk-disclosure { margin: 0 0 22px; padding: 14px 18px; border-radius: 12px; background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; font-size: .93rem; }

/* Prose */
.dk-prose { font-size: 1.125rem; line-height: 1.78; overflow-wrap: break-word; }
.dk-prose > * { max-width: 100%; }
.dk-prose h2 { margin: 2.1em 0 .6em; font-size: 1.75rem; }
.dk-prose h3 { margin: 1.8em 0 .5em; font-size: 1.35rem; }
.dk-prose h4 { margin: 1.6em 0 .4em; font-size: 1.1rem; }
.dk-prose p, .dk-prose ul, .dk-prose ol, .dk-prose figure, .dk-prose table, .dk-prose pre, .dk-prose blockquote { margin-bottom: 1.25em; }
.dk-prose ul, .dk-prose ol { padding-left: 1.4em; }
.dk-prose li { margin: .4em 0; }
.dk-prose a { font-weight: 600; }
.dk-prose img { border-radius: 12px; height: auto; }
.dk-prose figcaption, .wp-element-caption { margin-top: 8px; font-size: .86rem; color: var(--dk-muted); text-align: center; }
.dk-prose hr { border: 0; border-top: 1px solid var(--dk-line); margin: 2.4em 0; }
.dk-prose code { padding: .12em .4em; border-radius: 6px; background: var(--dk-soft); color: var(--dk-primary-dark); font: .9em var(--dk-mono); }
.dk-prose pre { padding: 18px 20px; border-radius: 14px; background: #0f172a; color: #e2e8f0; font: .9rem/1.6 var(--dk-mono); overflow-x: auto; }
.dk-prose pre code { padding: 0; background: none; color: inherit; font-size: inherit; }
.dk-prose blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--dk-primary); color: var(--dk-ink); font-size: 1.15rem; font-style: italic; }
.dk-prose blockquote cite { display: block; margin-top: .6em; font-size: .9rem; font-style: normal; color: var(--dk-muted); }
.dk-prose blockquote.is-style-dk-pull, .dk-prose .is-style-dk-pull { margin: 2em 0; padding: 24px 28px; border: 0; border-radius: 18px; background: var(--dk-soft); font: 700 1.4rem/1.4 var(--dk-font-head); color: var(--dk-primary-dark); font-style: normal; }
.dk-prose table, .wp-block-table table { width: 100%; border-collapse: collapse; font-size: .96rem; line-height: 1.45; }
.dk-prose table { display: table; }
@media (max-width: 720px) { .dk-prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } }
.dk-prose th, .dk-prose td { padding: .7rem .9rem; border: 1px solid var(--dk-line); text-align: left; vertical-align: top; }
.dk-prose th { background: var(--dk-surface); font-weight: 800; color: var(--dk-ink); white-space: nowrap; }
.dk-prose .is-style-stripes tbody tr:nth-child(odd) { background: var(--dk-surface); }
.dk-table-wrap { overflow-x: auto; }
.dk-prose .is-style-dk-callout, .is-style-dk-callout, .dk-callout { padding: 16px 20px; border-radius: 14px; background: var(--dk-soft); border: 1px solid #c7d2fe; color: var(--dk-primary-dark); }
.dk-prose .is-style-dk-callout p:last-child { margin-bottom: 0; }
.is-style-dk-warning { padding: 16px 20px; border-radius: 14px; background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; }
.is-style-dk-card { padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--dk-line); box-shadow: var(--dk-shadow); }
.dk-prose .is-style-dk-lead, .is-style-dk-lead { font-size: 1.35rem; line-height: 1.55; color: var(--dk-muted); }
.dk-prose .dk-takeaways { color: #134e4a; }
.dk-proscons { gap: 16px; }
.dk-pros, .dk-cons { padding: 18px 20px; border-radius: 14px; height: 100%; }
.dk-pros { background: #f0fdf4; border: 1px solid #bbf7d0; }
.dk-cons { background: #fef2f2; border: 1px solid #fecaca; }
.dk-pros h3 { color: #14532d; margin-top: 0; }
.dk-cons h3 { color: #7f1d1d; margin-top: 0; }
.dk-prose details.wp-block-details { margin: 0 0 10px; padding: 14px 18px; border: 1px solid var(--dk-line); border-radius: 12px; background: #fff; }
.dk-prose details.wp-block-details summary { cursor: pointer; font-weight: 700; color: var(--dk-ink); }
.dk-prose .alignwide { max-width: 1000px; }
.dk-prose .alignleft { float: left; margin: .4em 1.2em .8em 0; }
.dk-prose .alignright { float: right; margin: .4em 0 .8em 1.2em; }
.dk-prose .aligncenter { margin-inline: auto; }
.dk-prose::after { content: ""; display: table; clear: both; }

.dk-faq { margin: 44px 0 28px; }
.dk-faq h2 { font-size: 1.6rem; margin-bottom: .8rem; }
.dk-faq__item { margin: 0 0 10px; border: 1px solid var(--dk-line); border-radius: 14px; background: #fff; overflow: hidden; }
.dk-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; font: 700 1.02rem/1.4 var(--dk-font-head); color: var(--dk-ink); list-style: none; }
.dk-faq__item summary::-webkit-details-marker { display: none; }
.dk-faq__item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--dk-soft); color: var(--dk-primary); font-weight: 800; transition: transform .2s; }
.dk-faq__item[open] summary::after { content: "–"; }
.dk-faq__item p { margin: 0; padding: 0 18px 18px; color: var(--dk-text); }

.dk-further { margin: 32px 0; padding: 20px 22px; border-left: 4px solid var(--dk-secondary); background: var(--dk-surface); border-radius: 0 14px 14px 0; }
.dk-further h2 { font-size: 1.15rem; margin-bottom: .5rem; }
.dk-further ul { margin: 0; padding-left: 1.2rem; }
.dk-contrib { margin: 28px 0; padding: 18px 20px; border-radius: 14px; background: var(--dk-soft); border: 1px solid #c7d2fe; font-size: .95rem; }
.dk-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 24px 0; padding: 0; }
.dk-tags a { display: inline-block; padding: .3rem .7rem; border-radius: 999px; background: var(--dk-surface); border: 1px solid var(--dk-line); color: var(--dk-muted); font-size: .85rem; font-weight: 600; text-decoration: none; }
.dk-tags a:hover { color: var(--dk-primary); border-color: var(--dk-primary); }

.dk-authorbox { display: grid; grid-template-columns: 72px 1fr; gap: 18px; margin: 36px 0; padding: 24px; border: 1px solid var(--dk-line); border-radius: 20px; background: #fff; box-shadow: var(--dk-shadow); }
.dk-authorbox__avatar img { width: 72px; height: 72px; }
.dk-authorbox__name { margin: 0 0 6px; font: 800 1.15rem/1.3 var(--dk-font-head); }
.dk-authorbox__name a { color: var(--dk-ink); text-decoration: none; }
.dk-authorbox__name span { font-weight: 500; color: var(--dk-muted); font-size: .95rem; }
.dk-authorbox p { margin: 0 0 10px; }

.dk-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.dk-postnav__item { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--dk-line); border-radius: 14px; text-decoration: none; background: #fff; transition: border-color .15s, background-color .15s; }
.dk-postnav__item:hover { border-color: var(--dk-primary); background: var(--dk-soft); }
.dk-postnav__item span { display: inline-flex; align-items: center; gap: .3rem; font: 700 .8rem var(--dk-font); color: var(--dk-muted); text-transform: uppercase; letter-spacing: .06em; }
.dk-postnav__item strong { color: var(--dk-ink); line-height: 1.3; }
.dk-postnav__next { text-align: right; }
.dk-postnav__next span { justify-content: flex-end; }
@media (max-width: 560px) { .dk-postnav { grid-template-columns: 1fr; } }

.dk-comments { margin: 40px 0; }
.dk-comments__title { font-size: 1.4rem; }
.dk-commentlist, .dk-commentlist ol { list-style: none; padding: 0; margin: 0; }
.dk-commentlist ol { padding-left: 24px; }
.dk-commentlist .comment-body { padding: 16px 0; border-bottom: 1px solid var(--dk-line); }
.dk-commentlist .avatar { float: left; margin-right: 12px; border-radius: 50%; }
.comment-form label { display: block; font-weight: 700; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: .75rem .9rem; border: 1.5px solid #94a3b8; border-radius: 10px; font: 500 1rem var(--dk-font); }
.comment-form .submit { padding: .8rem 1.25rem; border: 0; border-radius: 12px; background: var(--dk-primary); color: #fff; font: 700 .97rem var(--dk-font); cursor: pointer; }

/* =========================================================
   10. Author, categories, sitemap
   ========================================================= */
.dk-authorhead__grid { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start; }
.dk-authorhead__avatar img { width: 120px; height: 120px; }
.dk-authorhead__job { margin: 0 0 8px; font-weight: 700; color: var(--dk-primary); }
@media (max-width: 560px) { .dk-authorhead__grid { grid-template-columns: 1fr; } }
.dk-catcard { padding: 22px; border: 1px solid var(--dk-line); border-radius: 18px; background: #fff; transition: box-shadow .15s, border-color .15s; }
.dk-catcard:hover { box-shadow: var(--dk-shadow); border-color: #a5b4fc; }
.dk-catcard__title { margin: 0 0 8px; font-size: 1.2rem; }
.dk-catcard__title a { color: var(--dk-ink); text-decoration: none; }
.dk-catcard__title a:hover { color: var(--dk-primary); }
.dk-catcard__latest { font-size: .93rem; }
.dk-catcard__latest span { color: var(--dk-muted); font-weight: 700; }
.dk-sitemap ul { margin: 0; }
.dk-sitemap .children { padding-left: 1rem; }

/* =========================================================
   11. Forms
   ========================================================= */
.dk-form--card { padding: 28px; border: 1px solid var(--dk-line); border-radius: 22px; background: #fff; box-shadow: var(--dk-shadow); }
.dk-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.dk-field { margin: 0; }
.dk-field--full { grid-column: 1 / -1; }
.dk-field label { display: block; margin-bottom: 6px; font-weight: 700; font-size: .93rem; color: var(--dk-ink); }
.dk-req { color: var(--dk-danger); }
.dk-form__actions { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }
.dk-form__note { margin: 14px 0 0; font-size: .88rem; color: var(--dk-muted); }
.dk-check { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: .9rem; color: var(--dk-text); cursor: pointer; }
.dk-check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--dk-primary); }
.dk-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.dk-notice { margin: 0 0 18px; padding: 14px 18px; border-radius: 12px; font-weight: 600; border: 1px solid; }
.dk-notice--success { background: #f0fdf4; border-color: #86efac; color: #14532d; }
.dk-notice--error { background: #fef2f2; border-color: #fca5a5; color: #7f1d1d; }
.dk-input:user-invalid { border-color: var(--dk-danger); }
@media (max-width: 640px) { .dk-form__grid { grid-template-columns: 1fr; } .dk-form--card { padding: 20px; } }
.dk-contact { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
@media (max-width: 900px) { .dk-contact { grid-template-columns: 1fr; } }

/* =========================================================
   12. Guest post page
   ========================================================= */
.dk-gp__hero { padding-block: 40px 56px; color: #e2e8f0; background: radial-gradient(900px 400px at 90% 0%, rgb(249 115 22 / 25%), transparent 60%), linear-gradient(135deg, #0f172a 0%, #312e81 100%); }
.dk-gp__hero .dk-crumbs, .dk-gp__hero .dk-crumbs a, .dk-gp__hero .dk-crumbs li { color: #cbd5e1; }
.dk-gp__hero .dk-crumbs [aria-current] { color: #fff; }
.dk-gp__hero h1 { max-width: 20ch; color: #fff; font-size: clamp(2.1rem, 5.4vw, 3.5rem); line-height: 1.08; }
.dk-gp__lead { max-width: 64ch; font-size: 1.2rem; color: #e2e8f0; }
.dk-gp__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.dk-gp__trust { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; color: #e2e8f0; font-weight: 600; font-size: .95rem; }
.dk-gp__trust .dk-icon { color: #5eead4; }
.dk-feature { padding: 24px; border: 1px solid var(--dk-line); border-radius: 18px; background: #fff; height: 100%; }
.dk-feature h3 { font-size: 1.1rem; margin: 14px 0 6px; }
.dk-feature p { margin: 0; color: var(--dk-muted); font-size: .96rem; }
.dk-feature__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--dk-soft); color: var(--dk-primary); }
.dk-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.dk-steps__item { padding: 22px; border: 1px solid var(--dk-line); border-radius: 18px; background: var(--dk-surface); }
.dk-steps__item h3 { font-size: 1.05rem; margin: 10px 0 6px; }
.dk-steps__item p { margin: 0; font-size: .95rem; color: var(--dk-muted); }
.dk-steps__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--dk-primary); color: #fff; font: 800 1rem var(--dk-font-head); }
@media (max-width: 980px) { .dk-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .dk-steps { grid-template-columns: 1fr; } }
.dk-checklist { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.dk-checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.dk-checklist .dk-icon { color: var(--dk-secondary); margin-top: 3px; }
.dk-pricing { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 36px; border-radius: 24px; background: var(--dk-soft); border: 1px solid #c7d2fe; }
.dk-pricing h2 { margin-bottom: .4rem; }
.dk-pricing p { margin: 0; max-width: 56ch; color: var(--dk-muted); }
@media (max-width: 760px) { .dk-pricing { flex-direction: column; align-items: flex-start; padding: 24px; } }

/* =========================================================
   13. Tools
   ========================================================= */
.dk-toolfilter { position: relative; max-width: 520px; margin-bottom: 32px; }
.dk-toolfilter .dk-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--dk-muted); }
.dk-toolfilter .dk-input { padding-left: 42px; }
.dk-toolgroup { margin-bottom: 48px; }
.dk-toolpage__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
@media (max-width: 980px) { .dk-toolpage__layout { grid-template-columns: 1fr; } }
.dk-toolpage__side { display: grid; gap: 24px; }

.dk-tool { padding: 26px; border: 1px solid var(--dk-line); border-radius: 22px; background: #fff; box-shadow: var(--dk-shadow); }
.dk-tool__loading { color: var(--dk-muted); margin: 0; }
.dk-tool__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.dk-tool__grid .dk-field--full { grid-column: 1 / -1; }
.dk-tool .dk-field small { display: block; margin-top: 4px; color: var(--dk-muted); font-size: .82rem; }
.dk-tool__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.dk-tool__results { margin-top: 24px; }
.dk-tool__results:empty { display: none; }
.dk-tool__results h3 { font-size: 1.05rem; margin: 0 0 10px; }
.dk-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 16px; }
.dk-stat { padding: 16px 18px; border-radius: 16px; background: var(--dk-soft); border: 1px solid #c7d2fe; }
.dk-stat--ok { background: #f0fdf4; border-color: #86efac; }
.dk-stat--warn { background: #fffbeb; border-color: #fcd34d; }
.dk-stat--bad { background: #fef2f2; border-color: #fca5a5; }
.dk-stat__l { display: block; font-size: .8rem; font-weight: 700; color: var(--dk-muted); text-transform: uppercase; letter-spacing: .05em; }
.dk-stat__v { display: block; margin-top: 4px; font: 800 1.6rem/1.15 var(--dk-font-head); color: var(--dk-ink); overflow-wrap: anywhere; }
.dk-stat__n { display: block; margin-top: 4px; font-size: .85rem; color: var(--dk-text); }
.dk-meter { height: 12px; border-radius: 999px; background: #e2e8f0; overflow: hidden; margin: 8px 0 4px; }
.dk-meter > span { display: block; height: 100%; border-radius: 999px; background: var(--dk-ok); transition: width .2s; }
.dk-meter.is-warn > span { background: #d97706; }
.dk-meter.is-bad > span { background: var(--dk-danger); }
.dk-out { position: relative; margin: 0; padding: 16px 18px; border-radius: 14px; background: #0f172a; color: #e2e8f0; font: .9rem/1.6 var(--dk-mono); white-space: pre-wrap; overflow-wrap: anywhere; min-height: 80px; max-height: 480px; overflow: auto; }
.dk-out--text { font-family: var(--dk-font); font-size: .98rem; background: var(--dk-surface); color: var(--dk-text); border: 1px solid var(--dk-line); }
.dk-statusline { margin: 8px 0 0; font-size: .9rem; font-weight: 600; }
.dk-statusline.is-ok { color: var(--dk-ok); }
.dk-statusline.is-warn { color: var(--dk-warn); }
.dk-statusline.is-bad { color: var(--dk-danger); }
.dk-privacy-note { display: flex; gap: .5rem; align-items: flex-start; margin: 12px 4px 0; font-size: .86rem; color: var(--dk-muted); }
.dk-privacy-note .dk-icon { margin-top: 3px; color: var(--dk-secondary); }
.dk-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.dk-table th, .dk-table td { padding: .6rem .75rem; border-bottom: 1px solid var(--dk-line); text-align: left; vertical-align: top; }
.dk-table th { font-weight: 800; color: var(--dk-ink); background: var(--dk-surface); }
.dk-tablewrap { overflow-x: auto; border: 1px solid var(--dk-line); border-radius: 14px; }
.dk-ai-note { margin: 12px 0 0; font-size: .85rem; color: var(--dk-muted); }
.dk-badge { display: inline-block; padding: .1rem .5rem; border-radius: 999px; background: #fff7ed; border: 1px solid #fed7aa; color: var(--dk-accent-ink); font: 700 .72rem var(--dk-font); text-transform: uppercase; letter-spacing: .05em; }

/* SERP / OG previews */
.dk-serp { padding: 16px 18px; border: 1px solid var(--dk-line); border-radius: 14px; background: #fff; max-width: 640px; font-family: Arial, Helvetica, sans-serif; }
.dk-serp--mobile { max-width: 380px; }
.dk-serp__site { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: #202124; }
.dk-serp__fav { width: 26px; height: 26px; border-radius: 50%; background: var(--dk-soft); display: grid; place-items: center; color: var(--dk-primary); font-weight: 800; font-size: .75rem; }
.dk-serp__url { color: #4d5156; font-size: .78rem; overflow-wrap: anywhere; }
.dk-serp__title { margin: 6px 0 4px; color: #1a0dab; font-size: 1.2rem; line-height: 1.3; font-weight: 400; overflow-wrap: anywhere; }
.dk-serp__desc { margin: 0; color: #4d5156; font-size: .88rem; line-height: 1.58; overflow-wrap: anywhere; }
.dk-og { max-width: 520px; border: 1px solid var(--dk-line); border-radius: 14px; overflow: hidden; background: #fff; }
.dk-og__img { aspect-ratio: 1.91 / 1; background: var(--dk-soft); display: grid; place-items: center; color: var(--dk-muted); font-size: .85rem; overflow: hidden; }
.dk-og__img img { width: 100%; height: 100%; object-fit: cover; }
.dk-og__body { padding: 12px 14px; background: #f2f3f5; }
.dk-og__domain { margin: 0; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: #606770; }
.dk-og__title { margin: 2px 0; font: 700 1rem/1.3 Arial, sans-serif; color: #1c1e21; }
.dk-og__desc { margin: 0; font-size: .85rem; color: #606770; }
.dk-previews { display: grid; gap: 16px; }

/* =========================================================
   14. Motion + print
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
@media print {
	.dk-header, .dk-footer, .dk-wa, .dk-totop, .dk-share, .dk-news, .dk-ad, .dk-toc, .dk-modal, .dk-guestband { display: none !important; }
	body { font-size: 12pt; }
	a { color: inherit; text-decoration: underline; }
}
