/*
Theme Name: DK Brand
Theme URI: https://www.dkbrand.vip/
Author: DK
Description: Lightweight recreation of the tob theme layout for DK brand factory.
Version: 2.16.4
Text Domain: dkbrand
*/

:root {
	--main: #ff6651;
	--dark: #202935;
	--text: #333;
	--tint: #999;
	--line: #eceef1;
	--bg: #ffffff;
	--subg: #f6f6f6;
	--radius: 6px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
}
a { color: inherit; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease; }
img { max-width: 100%; height: auto; border: 0; }
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font-family: inherit; }

.home { background: var(--subg); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ---------------------------------------------------------------
 * Header
 * ------------------------------------------------------------- */
.header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: #fff;
	box-shadow: 0 1px 0 rgba(16, 24, 40, .06), 0 2px 10px rgba(16, 24, 40, .04);
}
.header .container {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 72px;
	padding-top: 10px;
	padding-bottom: 10px;
	position: relative;
}
.logo { flex: none; font-size: 22px; font-weight: 700; line-height: 1; }
.logo a { display: flex; align-items: center; gap: 10px; }
.logo img { max-height: 40px; width: auto; display: block; }
.logo img + span { display: none; }
.logo.no-img span { display: block; color: var(--dark); }

.m-search-btn {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #f2f5f8;
	border: 1px solid #e3e9ef;
	color: #2c3a47;
	cursor: pointer;
	z-index: 5;
}
.m-search-btn svg, .m-nav-btn svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Language / currency switcher */
.dk-lang {
	position: absolute;
	right: 63px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1000;
}
.dk-lang-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid #e3e9ef;
	border-radius: 19px;
	background: #f2f5f8;
	color: #2c3a47;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
}
.dk-lang-btn:hover { background: #e9eef4; }
.dk-globe {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.dk-caret {
	width: 9px;
	height: 6px;
	margin-left: 1px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	transition: transform .18s;
}
.dk-lang-btn[aria-expanded="true"] .dk-caret { transform: rotate(180deg); }
.dk-lang-dot { color: #9aa8b5; }

.dk-lang-panel {
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
	width: min(760px, calc(100vw - 30px));
	max-height: calc(100vh - 96px);
	overflow-y: auto;
	padding: 18px;
	background: #fff;
	border: 1px solid #e6ebf1;
	border-radius: 14px;
	box-shadow: 0 18px 50px rgba(16, 24, 40, .18);
	box-sizing: border-box;
}
.dk-lang-panel[hidden] { display: none; }
.dk-lang-title {
	margin: 0 0 10px;
	color: #8a97a5;
	font-size: 13px;
	font-weight: 600;
}
.dk-lang-title:not(:first-child) { margin-top: 16px; }
.dk-lang-two {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}
.dk-lang-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-top: 10px;
}
.dk-lang-opt {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 10px;
	border: 1px solid #dfe6ee;
	border-radius: 999px;
	background: #fff;
	color: #2c3a47;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: border-color .15s, background .15s, color .15s;
}
.dk-lang-opt:hover { border-color: #9fbcf4; }
.dk-lang-opt.on {
	border-color: #2f6bff;
	background: #eef4ff;
	color: #1f5fe0;
}
.dk-lang-opt img {
	width: 20px;
	height: 15px;
	object-fit: cover;
	border-radius: 2px;
	flex: none;
}
.dk-lang-main { min-height: 54px; font-size: 15px; }
.dk-lang-note {
	margin-top: 12px;
	padding: 12px 14px;
	border: 1px solid #f3c7c7;
	border-radius: 8px;
	background: #fdecec;
	color: #b03a3a;
	font-size: 12.5px;
	line-height: 1.65;
}
.dk-lang-note b { display: block; margin-bottom: 2px; font-size: 13px; }
.dk-lang-confirm {
	display: block;
	width: 100%;
	height: 46px;
	margin-top: 16px;
	border: 0;
	border-radius: 999px;
	background: #2f6bff;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}
.dk-lang-confirm:hover { background: #1f5fe0; }

/* Hide the Google Translate machinery */
#google_translate_element,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
iframe.skiptranslate,
#goog-te-banner-frame {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
}
html, body { top: 0 !important; margin-top: 0 !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight {
	background: none !important;
	box-shadow: none !important;
}

/* Search drawer */
.searchform {
	position: absolute;
	top: 100%;
	right: 15px;
	width: 340px;
	max-width: calc(100vw - 30px);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 0 0 8px 8px;
	box-shadow: 0 12px 30px rgba(16, 24, 40, .12);
	padding: 12px;
	display: none;
	z-index: 20;
}
body.searchform-active .searchform { display: block; }
.searchform .inner { display: flex; align-items: center; gap: 8px; }
.searchform .sinput {
	flex: 1 1 auto;
	min-width: 0;
	height: 40px;
	padding: 0 12px;
	font-size: 14px;
	color: var(--text);
	background: #f7f8fa;
	border: 1px solid #e3e9ef;
	border-radius: 6px;
	outline: none;
}
.searchform .sbtn {
	flex: none;
	height: 40px;
	padding: 0 16px;
	font-size: 14px;
	color: #fff;
	background: var(--main);
	border: 0;
	border-radius: 6px;
	cursor: pointer;
}
.searchform .sclose {
	flex: none;
	width: 32px;
	height: 40px;
	font-size: 22px;
	line-height: 1;
	color: var(--tint);
	background: none;
	border: 0;
	cursor: pointer;
}

/* ---------------------------------------------------------------
 * Home hero / slider
 * ------------------------------------------------------------- */
.focusslide {
	position: relative;
	max-width: 100%;
	margin: 0 auto;
	overflow: hidden;
	background: var(--dark);
}
.focusslide .track { display: flex; transition: transform .45s ease; }
.focusslide .slide { min-width: 100%; }
.focusslide .slide img {
	display: block;
	width: 100%;
	aspect-ratio: 1250 / 300;
	object-fit: cover;
}
.focusslide .nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	font-size: 26px;
	line-height: 1;
	color: #fff;
	background: rgba(0, 0, 0, .28);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	z-index: 3;
}
.focusslide .nav:hover { background: rgba(0, 0, 0, .5); }
.focusslide .nav.prev { left: 14px; }
.focusslide .nav.next { right: 14px; }
.focusslide .dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 12px;
	display: flex;
	justify-content: center;
	gap: 7px;
	z-index: 3;
}
.focusslide .dots button {
	width: 8px;
	height: 8px;
	padding: 0;
	background: rgba(255, 255, 255, .5);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}
.focusslide .dots button.on { background: #fff; }

/* ---------------------------------------------------------------
 * Listing
 * ------------------------------------------------------------- */
section.container { padding-top: 25px; padding-bottom: 25px; }
.excerpts-wrapper {
	background: #fff;
	border-radius: var(--radius);
	padding: 25px 30px;
}

.leader { margin-bottom: 18px; }
.leader h3 {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--dark);
}
.leader h3 span { color: var(--tint); font-size: 14px; font-weight: 400; }

.excerpts {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	min-height: 100px;
}
.excerpt { position: relative; }
.excerpt .thumbnail {
	display: block;
	overflow: hidden;
	border-radius: var(--radius);
	background: #f2f4f6;
	margin-bottom: 0;
}
.excerpt .thumbnail img,
.excerpt .thumb {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform .3s ease;
}
.excerpt:hover .thumbnail img { transform: scale(1.05); }
.excerpt h2 {
	margin: 7px 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	max-height: 45px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	word-break: break-word;
}
.excerpt h2 a:hover { color: var(--main); }
.excerpt .post-cat {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	margin: 15px;
	padding: 3px 7px;
	font-size: 12px;
	line-height: 1.3;
	color: #fff;
	background: rgba(0, 0, 0, .6);
	border-radius: 3px;
	max-width: calc(100% - 30px);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.excerpt .post-cat:hover { color: #fff; background: var(--main); }

/* Pagination */
.pagination { margin-top: 24px; }
.pagination ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px;
}
.pagination ul li { display: block; }
.pagination ul li a,
.pagination ul li span {
	display: inline-block;
	padding: 5px 12px;
	font-size: 13px;
	line-height: 1.5;
	color: #666;
	border-radius: 4px;
}
.pagination ul li a { background: #ddd; }
.pagination ul li a:hover { color: #fff; background: var(--main); }
.pagination ul li.active span { color: #fff; background: #aaa; }
.pagination ul li.prev-page a,
.pagination ul li.next-page a { color: #fff; background: var(--main); }
.pagination ul li.prev-page:empty,
.pagination ul li.next-page:empty { display: none; }
.pagination ul li span { color: #777; }

/* ---------------------------------------------------------------
 * Category menu (pill grid)
 * ------------------------------------------------------------- */
.cat-menus {
	position: relative;
	background: #fff;
	margin: 0 0 14px;
	padding: 14px 0;
	border-bottom: 1px solid #eef1f4;
	box-shadow: 0 2px 8px rgba(16, 24, 40, .04);
}
.cat-menus .container > ul {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	padding: 0 14px;
}
.cat-menus .container > ul > li { position: relative; }
.cat-menus .container > ul > li > a {
	display: block;
	width: 100%;
	padding: 10px 12px;
	font-size: 12.5px;
	line-height: 1.35;
	color: #33404d;
	background: #f4f6f8;
	border: 1px solid #e8ecf0;
	border-radius: 8px;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.cat-menus .container > ul > li > a:hover {
	color: #fff;
	background: var(--main);
	border-color: var(--main);
}
.cat-menus .container > ul > li.current-cat > a,
.cat-menus .container > ul > li.current-cat-parent > a,
.cat-menus .container > ul > li.current-cat-ancestor > a {
	color: #fff;
	background: var(--main);
	border-color: var(--main);
	font-weight: 600;
}
.cat-menus .children {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 90;
	min-width: 200px;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: 0 12px 30px rgba(16, 24, 40, .12);
	max-height: 62vh;
	overflow-y: auto;
}
.cat-menus li:hover > .children,
.cat-menus li.open > .children { display: block; }
.cat-menus .children li a {
	display: block;
	padding: 7px 12px;
	font-size: 12.5px;
	color: #33404d;
	border-radius: 6px;
	text-align: center;
	white-space: nowrap;
}
.cat-menus .children li a:hover { color: #fff; background: var(--main); }

/* ---------------------------------------------------------------
 * Context bar: breadcrumb + series chips
 * ------------------------------------------------------------- */
.context-bar {
	background: #fff;
	border-bottom: 1px solid #eef1f4;
	padding: 11px 0 12px;
	margin: 0 0 14px;
}
.context-bar .container { padding: 0 14px; }
.crumb { font-size: 12px; color: var(--tint); margin-bottom: 9px; }
.crumb a { color: #5b6876; }
.crumb a:hover { color: var(--main); }
.crumb .sep { margin: 0 6px; color: #c8ced5; }
.crumb .cur { color: var(--dark); font-weight: 600; }
.series-bar { display: flex; flex-wrap: wrap; gap: 7px; }
.series-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	font-size: 12px;
	line-height: 1.2;
	color: #33404d;
	background: #f4f6f8;
	border: 1px solid #e8ecf0;
	border-radius: 999px;
}
.series-chip em { font-style: normal; font-size: 11px; color: var(--tint); }
.series-chip:hover { color: #fff; background: var(--main); border-color: var(--main); }
.series-chip:hover em { color: rgba(255, 255, 255, .8); }
.series-chip.current { color: #fff; background: var(--main); border-color: var(--main); font-weight: 600; }
.series-chip.current em { color: rgba(255, 255, 255, .85); }

/* ---------------------------------------------------------------
 * Single post
 * ------------------------------------------------------------- */
.single .container,
.page .container {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}
.content { flex: 1 1 auto; min-width: 0; }
.article-wrap {
	background: #fff;
	border-radius: var(--radius);
	padding: 30px;
	margin-bottom: 20px;
}
.article-header { margin-bottom: 20px; }
.article-title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--dark);
	word-break: break-word;
}
.article-content { font-size: 16px; line-height: 1.7; color: #333; }
.article-cats { margin-top: 10px; font-size: 12.5px; color: var(--tint); }
.article-cats a {
	display: inline-block;
	padding: 2px 10px;
	color: #5b6876;
	border: 1px solid var(--line);
	border-radius: 999px;
}
.article-cats a:hover { color: #fff; background: var(--main); border-color: var(--main); }
.article-cats .sep { margin: 0 5px; color: #c8ced5; }
.article-content p { margin-bottom: 30px; }
.article-content p:last-child { margin-bottom: 0; }
.dk-gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 30px;
}
.dk-gallery a { display: block; overflow: hidden; }
.dk-gallery img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	cursor: zoom-in;
}

.sidebar { flex: none; width: 360px; position: sticky; top: 92px; }
.widget {
	background: #fff;
	border-radius: var(--radius);
	padding: 20px;
	margin-bottom: 20px;
}
.widget-title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--dark);
	margin-bottom: 15px;
	padding-left: 10px;
	border-left: 3px solid var(--main);
}
.widget-postlist ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 15px;
}
.widget-postlist li { font-size: 13px; line-height: 1.4; }
.widget-postlist li a { display: block; color: #444; }
.widget-postlist li a:hover { color: var(--main); }
.widget-postlist .thumbnail {
	display: block;
	overflow: hidden;
	border-radius: 6px;
	margin-bottom: 7px;
	background: #f2f4f6;
}
.widget-postlist .thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
.widget-postlist li a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; max-height: 2.8em; }

/* Static pages */
.page .article-content .article-wrap { width: 100%; }

/* ---------------------------------------------------------------
 * Footer + mobile bottom nav
 * ------------------------------------------------------------- */
/* Floating contact panel (right side) */
.dk-fabbar {
	position: fixed;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 95;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 8px 4px;
	background: #fff;
	border: 1px solid #eef1f5;
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(16, 32, 48, .16);
}
.dk-fab {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	width: 56px;
	padding: 8px 0;
	border-radius: 10px;
	color: #16283c;
	font-size: 10.5px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background .15s ease, transform .15s ease;
}
.dk-fab svg { width: 24px; height: 24px; }
.dk-fab--wa svg { color: #25d366; }
.dk-fab--tg svg { color: #229ed9; }
.dk-fab:hover { background: #f4f8fc; color: #16283c; transform: translateX(-2px); }

@media (max-width: 1365px) {
	.dk-fabbar {
		top: auto;
		bottom: 24px;
		right: 10px;
		transform: none;
		padding: 0;
		gap: 8px;
		background: transparent;
		border: 0;
		box-shadow: none;
	}
	.dk-fab {
		width: 46px;
		height: 46px;
		padding: 0;
		justify-content: center;
		border-radius: 50%;
		background: #fff;
		box-shadow: 0 8px 22px rgba(10, 20, 30, .2);
	}
	.dk-fab span { display: none; }
	.dk-fab svg { width: 24px; height: 24px; }
}
@media (max-width: 900px) {
	.dk-fabbar { bottom: 78px; right: 10px; }
}

/* Footer navigation columns */
.dk-fnav {
	background: #0e1114;
	color: #a9b4c0;
	padding: 52px 0 0;
}
.dk-fnav-grid {
	display: grid;
	grid-template-columns: 1.05fr 1.22fr 1fr 1.3fr;
	gap: 44px;
}
.dk-fnav h3 {
	margin: 0 0 16px;
	padding-bottom: 12px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	letter-spacing: .3px;
	border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.dk-fnav ul { list-style: none; margin: 0; padding: 0; }
.dk-fnav li { margin: 0 0 10px; line-height: 1.5; }
.dk-fnav a {
	color: #a9b4c0;
	font-size: 13.5px;
	text-decoration: none;
	transition: color .15s;
}
.dk-fnav a:hover { color: #fff; }
.dk-fnav-contact p {
	margin: 0 0 12px;
	font-size: 13.5px;
	line-height: 1.65;
	color: #a9b4c0;
}
.dk-fnav-label {
	display: block;
	margin-bottom: 2px;
	font-size: 11.5px;
	letter-spacing: .8px;
	text-transform: uppercase;
	color: #6e7884;
}
.dk-fnav-trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 28px;
	margin-top: 36px;
	padding: 16px 0;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: 12.5px;
	color: #8b95a1;
	letter-spacing: .3px;
}
.dk-fnav-trust span::before { content: "\00b7"; margin-right: 10px; color: #4a545f; }
.dk-fnav-trust span:first-child::before { content: none; }

.footer {
	padding: 22px 15px 30px;
	font-size: 13px;
	line-height: 1.7;
	color: #7d8792;
	text-align: center;
	background: #0e1114;
	border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer a { color: #c3ccd6; }
.footer a:hover { color: #fff; }

@media (max-width: 900px) {
	.dk-fnav { padding-top: 40px; }
	.dk-fnav-grid { grid-template-columns: 1fr 1fr; gap: 32px 28px; }
}
@media (max-width: 560px) {
	.dk-fnav-grid { grid-template-columns: 1fr; gap: 26px; }
}

.fixnav {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 998;
	background: #fff;
	border-top: 1px solid var(--line);
	box-shadow: 0 -2px 10px rgba(16, 24, 40, .06);
}
.fixnav ul { display: flex; }
.fixnav li { flex: 1 1 0; min-width: 0; }
.fixnav li a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 4px;
	font-size: 11px;
	line-height: 1.2;
	color: #555;
	text-align: center;
	overflow: hidden;
}
.fixnav li.current a,
.fixnav li a:hover { color: var(--main); }

/* ---------------------------------------------------------------
 * Lightbox
 * ------------------------------------------------------------- */
#dk-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .9);
}
#dk-lightbox.on { display: flex; }
#dk-lightbox img {
	max-width: 92vw;
	max-height: 88vh;
	width: auto;
	height: auto;
	object-fit: contain;
}
#dk-lightbox .x,
#dk-lightbox .prev,
#dk-lightbox .next {
	position: absolute;
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	line-height: 1;
	color: #fff;
	background: rgba(255, 255, 255, .12);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}
#dk-lightbox .x { top: 20px; right: 20px; }
#dk-lightbox .prev { left: 18px; top: 50%; transform: translateY(-50%); }
#dk-lightbox .next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------- */
@media (min-width: 1240px) {
	.excerpts.excerpt-c5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 1239px) {
	.excerpts.excerpt-c5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.cat-menus .container > ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sidebar { width: 300px; }
}

@media (max-width: 1023px) {
	.container { padding: 0 20px; }
	.excerpts.excerpt-c5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.header { position: relative; }
	.header .container {
		display: block;
		min-height: 0;
		padding: 0 15px;
	}
	.logo { margin: 12px auto; height: 34px; text-align: center; }
	.logo a { justify-content: center; }
	.logo img { max-height: 34px; margin: 0 auto; }
	.m-search-btn { top: 10px; right: 12px; transform: none; width: 34px; height: 34px; }
	.searchform { right: 12px; left: 12px; width: auto; }

	.home .excerpts-wrapper,
	.excerpts-wrapper { padding: 20px 15px; }
	section.container { padding-top: 18px; padding-bottom: 20px; }
	.leader h3 { font-size: 16px; }

	.cat-menus .container > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 12px; }
	.cat-menus { padding: 12px 0; margin-bottom: 12px; }
	.cat-menus .container > ul > li > a { padding: 9px 10px; font-size: 12px; border-radius: 7px; }
	.cat-menus .children {
		position: static;
		width: auto;
		min-width: 0;
		max-height: none;
		overflow: visible;
		margin-top: 6px;
		padding: 4px;
		box-shadow: none;
		border-style: dashed;
	}
	.cat-menus .children li a {
		padding: 6px 4px;
		font-size: 11.5px;
		white-space: normal;
		word-break: break-word;
	}

	.excerpts.excerpt-c5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.excerpt h2 { font-size: 14px; line-height: 1.4; max-height: 39px; margin: 6px 0; }
	.excerpt .post-cat { margin: 10px; font-size: 10px; }

	.single .container,
	.page .container { display: block; }
	.sidebar { position: static; width: 100%; }
	.article-wrap { padding: 18px 15px; }
	.article-title { font-size: 20px; }
	.dk-gallery { gap: 10px; margin-bottom: 20px; }
	.fixnav { display: block; }
	body { padding-bottom: 52px; }
}

@media (max-width: 600px) {
	.container { padding: 0 14px; }
	.widget-postlist ul { gap: 10px; }
}

/* ---------------------------------------------------------------
 * Home brand pills: kept at 4 columns like the reference screenshot
 * ------------------------------------------------------------- */
.home-brands { margin: 0 0 22px; }
.home-brands .container > ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
	.home-brands { margin-bottom: 16px; }
	.home-brands .container > ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 0 10px; }
	.home-brands .container > ul > li > a { padding: 8px 6px; font-size: 10.5px; border-radius: 6px; }
}

@media (max-width: 600px) {
	.home-brands .container > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.home-brands .container > ul > li > a { padding: 10px 8px; font-size: 12px; }
}

/* Language switcher: compact pill on small screens */
@media (max-width: 900px) {
	.dk-lang { right: 62px; }
	.dk-lang-btn { width: 38px; padding: 0; justify-content: center; border-radius: 50%; }
	.dk-lang-label,
	.dk-lang-dot,
	.dk-cur-label,
	.dk-caret { display: none; }
	.dk-globe { width: 19px; height: 19px; }
	.dk-lang-panel {
		position: fixed;
		left: 10px;
		right: 10px;
		top: 62px;
		width: auto;
		max-height: calc(100vh - 78px);
		padding: 16px;
	}
	.dk-lang-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dk-lang-main { min-height: 48px; font-size: 14px; }
}

/* Home hero */
.dk-hero {
	background: linear-gradient(112deg, #f4f9ff 0%, #e4f0ff 42%, #d2e5ff 100%);
	border-bottom: 1px solid rgba(120, 160, 220, .18);
	overflow: hidden;
}
.dk-hero .container {
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 48px 32px 44px;
}
.dk-hero-copy { flex: 1 1 560px; min-width: 0; }
.dk-hero h1 {
	margin: 0 0 10px;
	font-size: 38px;
	line-height: 1.22;
	font-weight: 800;
	letter-spacing: -.5px;
	color: #0b1a2b;
}
.dk-hero-sub { margin: 0 0 22px; font-size: 13px; color: #5d6f83; }
.dk-hero-form {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 600px;
	padding: 7px 7px 7px 18px;
	background: #fff;
	border-radius: 999px;
	box-shadow: 0 14px 34px rgba(38, 86, 160, .14);
}
.dk-hero-form input {
	flex: 1 1 auto;
	min-width: 0;
	height: 38px;
	border: 0;
	background: none;
	outline: none;
	font-size: 14px;
	color: #0b1a2b;
}
.dk-hero-form input::placeholder { color: #98a6b6; }
.dk-hero-icos { display: flex; align-items: center; gap: 6px; padding-right: 6px; }
.dk-hero-icos svg { width: 17px; height: 17px; display: block; color: #a9b6c5; }
.dk-hero-form button {
	flex: 0 0 auto;
	height: 42px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	background: #1667f5;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s;
}
.dk-hero-form button:hover { background: #0f56d6; }
.dk-hero-art { flex: 0 1 360px; display: flex; justify-content: flex-end; }
.dk-hero-slider {
	position: relative;
	width: 100%;
	max-width: 360px;
	aspect-ratio: 4 / 3;
	background: rgba(255, 255, 255, .92);
	border: 1px solid rgba(255, 255, 255, .9);
	border-radius: 20px;
	box-shadow: 0 22px 44px rgba(28, 72, 140, .18);
	overflow: hidden;
}
.dk-hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity .7s ease;
}
.dk-hero-slide.on { opacity: 1; }
.dk-hero-slide img {
	display: block;
	width: 100%;
	height: 100%;
	padding: 12px 12px 26px;
	object-fit: contain;
}
.dk-hero-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 5px;
}
.dk-hero-dots button {
	width: 6px;
	height: 6px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(22, 103, 245, .25);
	cursor: pointer;
	transition: background .2s, width .2s;
}
.dk-hero-dots button.on { width: 16px; border-radius: 3px; background: #1667f5; }

@media (max-width: 900px) {
	.dk-hero .container {
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
		padding: 32px 16px 30px;
	}
	.dk-hero h1 { font-size: 27px; }
	.dk-hero-sub { margin-bottom: 16px; }
	.dk-hero-form { max-width: none; padding-left: 14px; }
	.dk-hero-form button { padding: 0 18px; }
	.dk-hero-icos { display: none; }
	.dk-hero-art { justify-content: stretch; }
	.dk-hero-slider {
		max-width: none;
		width: 100%;
		aspect-ratio: 1 / 1;
		border-radius: 18px;
		border-color: rgba(255, 255, 255, .7);
		background: #eef4fc;
		box-shadow: 0 16px 34px rgba(28, 72, 140, .16);
	}
	.dk-hero-slide img { padding: 0; object-fit: cover; object-position: center; }
	.dk-hero-slider::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		height: 70px;
		z-index: 1;
		background: linear-gradient(180deg, rgba(10, 20, 35, 0), rgba(10, 20, 35, .38));
		pointer-events: none;
	}
	.dk-hero-dots { bottom: 13px; gap: 6px; }
	.dk-hero-dots button { width: 7px; height: 7px; background: rgba(255, 255, 255, .55); }
	.dk-hero-dots button.on { width: 18px; background: #fff; }
}

/* -------------------------------------------------------------
 * Tracking page
 * ------------------------------------------------------------- */
.dk-track { max-width: 720px; }
.dk-track-form { display: flex; gap: 10px; margin: 0 0 22px; }
.dk-track-form input {
	flex: 1 1 auto;
	min-width: 0;
	height: 46px;
	padding: 0 16px;
	font-size: 15px;
	color: #26323f;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 10px;
}
.dk-track-form button {
	flex: 0 0 auto;
	height: 46px;
	padding: 0 26px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	background: #1667f5;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
}
.dk-track-card {
	padding: 20px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
}
.dk-track-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-bottom: 12px;
	margin-bottom: 10px;
	border-bottom: 1px solid var(--line);
}
.dk-track-status {
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 600;
	color: #1667f5;
	background: rgba(22, 103, 245, .08);
	border-radius: 999px;
}
.dk-track-no {
	margin: 0 0 16px;
	font-size: 12.5px;
	color: #6b7c8f;
	word-break: break-all;
}
.dk-track-events { margin: 0; padding: 0; list-style: none; }
.dk-track-events li {
	position: relative;
	margin-left: 6px;
	padding: 0 0 16px 22px;
	border-left: 2px solid var(--line);
}
.dk-track-events li:last-child { padding-bottom: 0; border-left-color: transparent; }
.dk-track-events li::before {
	content: "";
	position: absolute;
	left: -7px;
	top: 5px;
	width: 8px;
	height: 8px;
	background: #fff;
	border: 2px solid #c8d6e6;
	border-radius: 50%;
}
.dk-track-events li:first-child::before { background: #1667f5; border-color: #1667f5; }
.dk-track-time { font-size: 12px; color: #6b7c8f; }
.dk-track-desc { margin: 2px 0 0; font-size: 14px; line-height: 1.55; color: #26323f; }
.dk-track-loc { font-size: 12px; color: #6b7c8f; }
.dk-track-empty { margin: 0; font-size: 14px; line-height: 1.6; color: #6b7c8f; }

@media (max-width: 600px) {
	.dk-track-form { flex-wrap: wrap; }
	.dk-track-form button { width: 100%; }
}

/* ---------------------------------------------------------------
 * How it works (3 steps) — standalone flow band
 * ------------------------------------------------------------- */
.dk-steps { background: #f5f9ff; border-top: 1px solid #e6eefb; border-bottom: 1px solid #e6eefb; padding: 24px 0; }
.dk-steps-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px;
}
.dk-steps-list li {
	position: relative;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	min-width: 0;
}
.dk-steps-list li:not(:last-child)::after {
	content: "";
	position: absolute;
	right: -26px;
	top: 12px;
	width: 12px;
	height: 12px;
	border-top: 2px solid #a8c4ea;
	border-right: 2px solid #a8c4ea;
	transform: rotate(45deg);
}
.dk-step-no {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #1667f5;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}
.dk-steps-list h3 { margin: 2px 0 4px; font-size: 15px; line-height: 1.3; color: #0f2540; }
.dk-steps-list p { margin: 0; font-size: 13px; line-height: 1.55; color: #61748c; }

@media (max-width: 900px) {
	.dk-steps { padding: 20px 0; }
	.dk-steps-list { grid-template-columns: 1fr; gap: 22px; }
	.dk-steps-list li:not(:last-child)::after {
		right: auto;
		left: 10px;
		top: auto;
		bottom: -17px;
		transform: rotate(135deg);
	}
}

/* Footer help CTA banner */
.dk-help {
	position: relative;
	overflow: hidden;
	background: #14181d;
}
.dk-help-bg {
	position: absolute;
	inset: 0;
}
.dk-help-bg img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 45%;
	filter: brightness(.95) saturate(.95);
}
.dk-help::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(10, 14, 19, .34), rgba(10, 14, 19, .56));
}
.dk-help .container { position: relative; z-index: 2; }
.dk-help-inner { text-align: center; padding: 88px 0; color: #fff; }
.dk-help-kicker { margin: 0 0 10px; font-size: 13.5px; color: #e6edf5; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.dk-help h2 { margin: 0 0 12px; font-size: 38px; line-height: 1.15; color: #fff; letter-spacing: .2px; text-shadow: 0 2px 20px rgba(0, 0, 0, .55); }
.dk-help-sub { margin: 0 0 22px; font-size: 14px; color: #e2e9f2; text-shadow: 0 1px 12px rgba(0, 0, 0, .55); }
.dk-help-btn {
	display: inline-block;
	padding: 10px 28px;
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .38);
	color: #fff;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: background .2s, color .2s, border-color .2s;
}
.dk-help-btn:hover { background: #fff; border-color: #fff; color: #16222f; }

/* Contact channel buttons */
.dk-help-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.dk-help-btn { display: inline-flex; align-items: center; gap: 8px; }
.dk-help-btn svg { width: 16px; height: 16px; }
.dk-help-btn--wa { background: #25d366; border-color: #25d366; }
.dk-help-btn--tg { background: #229ed9; border-color: #229ed9; }
.dk-help-btn--wa:hover,
.dk-help-btn--tg:hover { color: #fff; filter: brightness(1.06); }

@media (max-width: 900px) {
	.dk-help-inner { padding: 42px 0; }
	.dk-help h2 { font-size: 26px; }
	.dk-help-kicker { font-size: 12.5px; }
	.dk-help-sub { font-size: 13px; margin-bottom: 18px; }
}

/* Footer offer banner: image left, text right */
.dk-foffer { background: #fff; padding: 34px 0 26px; }
.dk-foffer-inner {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	gap: 40px;
	align-items: center;
}
.dk-foffer-media img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 430px;
	object-fit: cover;
	border-radius: 12px;
}
.dk-foffer-body h2 { margin: 0 0 12px; font-size: 20px; line-height: 1.3; color: #0f2540; }
.dk-foffer-body ul { margin: 0; padding-left: 20px; }
.dk-foffer-body li { margin: 0 0 8px; font-size: 13.5px; line-height: 1.65; color: #3d5470; }
.dk-foffer-body li:last-child { margin-bottom: 0; }
.dk-foffer-body strong { color: #0f2540; }

@media (max-width: 900px) {
	.dk-foffer { padding: 22px 0 16px; }
	.dk-foffer-inner { grid-template-columns: 1fr; gap: 16px; }
	.dk-foffer-media img { max-height: 300px; }
	.dk-foffer-body h2 { font-size: 18px; }
	.dk-foffer-body li { font-size: 13px; }
}

/* ---------------------------------------------------------------
 * What we offer (category pages, below pagination)
 * ------------------------------------------------------------- */
.dk-offer { background: #fff; padding: 44px 0 30px; border-top: 1px solid #eef1f4; }
.dk-offer-grid {
	display: grid;
	grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
}
.dk-offer-media {
	overflow: hidden;
	border-radius: 14px;
	background: #f2f4f7;
}
.dk-offer-media img {
	display: block;
	width: 100%;
	height: 340px;
	object-fit: cover;
	object-position: center 40%;
}
.dk-offer-body h2 { margin: 0 0 16px; font-size: 22px; line-height: 1.3; color: #16283c; }
.dk-offer-body ul { margin: 0; padding: 0 0 0 18px; }
.dk-offer-body li { margin: 0 0 10px; font-size: 14px; line-height: 1.7; color: #3c4c5e; }
.dk-offer-body li:last-child { margin-bottom: 0; }
.dk-offer-body strong { color: #16283c; }

@media (max-width: 900px) {
	.dk-offer { padding: 28px 0 18px; }
	.dk-offer-grid { grid-template-columns: 1fr; gap: 20px; align-items: start; }
	.dk-offer-media img { height: 220px; }
	.dk-offer-body h2 { font-size: 19px; }
	.dk-offer-body li { font-size: 13px; margin-bottom: 8px; }
}
