/* CarAudio.wiki skin: deep navy, electric cyan, glass cards. Never red. */
body.dcw-sk {
	--sk-bg: #060d18;
	--sk-panel: #0c1a2c;
	--sk-panel2: #10233a;
	--sk-line: rgba(56, 189, 248, .16);
	--sk-line2: rgba(56, 189, 248, .35);
	--sk-text: #e6edf5;
	--sk-muted: #93a9c2;
	--sk-cyan: #27c4f5;
	--sk-cyan2: #7fd9ff;
	--sk-blue: #3b82f6;
	--sk-head: "Barlow Condensed", "Inter", system-ui, sans-serif;
	background: var(--sk-bg) !important;
	background-image:
		radial-gradient(900px 500px at 85% -10%, rgba(39, 196, 245, .13), transparent 60%),
		radial-gradient(700px 500px at -10% 10%, rgba(59, 130, 246, .10), transparent 60%) !important;
	background-attachment: fixed !important;
	color: var(--sk-text);
}
.dcw-sk .dcw-sk-ic { width: 22px; height: 22px; flex: none; }
/* The theme underlines links with a bottom border; not on buttons, menus and cards. */
.dcw-sk-bar a, .dcw-sk-foot a, .dcw-sk .dcw-sk-btn, .dcw-sk .dcw-sk-card a, .dcw-sk .dcw-home a, .dcw-sk-crumb a, .dcw-sk .dcw-g-toc a { border-bottom: 0 !important; box-shadow: none; }
.dcw-sk .dcw-sk-btn { box-shadow: 0 8px 24px rgba(39, 196, 245, .25), inset 0 1px 0 rgba(255, 255, 255, .35); }
.dcw-sk .dcw-sk-btn-ghost { box-shadow: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* ---------- top bar ---------- */
.dcw-sk-bar {
	position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 60;
	background: rgba(6, 13, 24, .78);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--sk-line);
}
.dcw-sk-bar-in { max-width: 1180px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; }
.dcw-sk-logo {
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -.01em;
	color: #fff !important; text-decoration: none !important; white-space: nowrap;
}
.dcw-sk-logo span { color: #38bdf8; }
.dcw-sk-nav { margin-left: auto; display: flex; gap: 4px; }
.dcw-sk-nav a, .dcw-sk-mob-panel a {
	color: var(--sk-text) !important; text-decoration: none !important; font-weight: 600; font-size: 15px;
	padding: 8px 12px; border-radius: 8px;
}
.dcw-sk-nav a:hover { background: rgba(56, 189, 248, .1); color: #fff !important; }
.dcw-sk-mob { display: none; margin-left: auto; position: relative; }
.dcw-sk-mob summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
	color: #fff; font-weight: 700; font-size: 15px; padding: 8px 12px; border: 1px solid var(--sk-line2); border-radius: 10px;
}
.dcw-sk-mob summary::-webkit-details-marker { display: none; }
.dcw-sk-mob-panel {
	position: absolute; right: 0; top: calc(100% + 8px); width: min(86vw, 320px);
	background: var(--sk-panel); border: 1px solid var(--sk-line2); border-radius: 14px; padding: 12px;
	display: grid; gap: 2px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
}
.dcw-sk-mob-panel .dcw-sk-search { margin-bottom: 6px; }
@media (max-width: 820px) {
	.dcw-sk-nav { display: none; }
	.dcw-sk-mob { display: block; }
}

/* ---------- search ---------- */
.dcw-sk-search { display: flex; background: var(--sk-bg); border: 1px solid var(--sk-line2); border-radius: 12px; overflow: hidden; }
.dcw-sk-search input {
	flex: 1; min-width: 0; background: transparent !important; border: 0 !important; color: #fff !important;
	font-size: 16px; padding: 11px 12px; outline: none; font-family: inherit;
}
.dcw-sk-search input::placeholder { color: #6f88a3; }
.dcw-sk-search button {
	border: 0; background: var(--sk-cyan); color: #03101d; padding: 0 14px; cursor: pointer;
	display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; font-family: inherit;
}
.dcw-sk-search:focus-within { border-color: var(--sk-cyan); box-shadow: 0 0 0 3px rgba(39, 196, 245, .25); }

/* ---------- homepage ---------- */
.dcw-sk .entry-content > .dcw-sk-home { max-width: 1180px !important; margin-left: auto !important; margin-right: auto !important; }
.dcw-sk-home > * { max-width: none; }
.dcw-sk-hero { position: relative; text-align: center; padding: 56px 8px 40px; }
.dcw-sk-hero-glow {
	position: absolute; left: 50%; top: 10px; width: min(640px, 92vw); height: 340px; transform: translateX(-50%);
	background: radial-gradient(closest-side, rgba(39, 196, 245, .2), rgba(39, 196, 245, 0)); pointer-events: none;
}
.dcw-sk-hero > *:not(.dcw-sk-hero-glow) { position: relative; }
.dcw-sk-badge {
	display: inline-block; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
	letter-spacing: .06em; text-transform: uppercase; color: var(--sk-cyan2); background: rgba(39, 196, 245, .08); border: 1px solid var(--sk-line2);
}
.dcw-sk-hero h1 {
	font-family: var(--sk-head) !important; font-size: clamp(44px, 8.5vw, 84px) !important; line-height: .98 !important;
	font-weight: 800 !important; text-transform: uppercase; letter-spacing: .01em; color: #fff !important; margin: 0 0 14px !important;
	border: 0 !important; background: none !important; padding: 0 !important;
}
.dcw-sk-hero h1 span {
	background: linear-gradient(90deg, #27c4f5, #7fd9ff 45%, #3b82f6); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dcw-sk-lead { max-width: 620px !important; margin: 0 auto 22px !important; color: var(--sk-muted); font-size: clamp(16px, 2.3vw, 19px); line-height: 1.55; }
.dcw-sk-search-big { max-width: 600px; margin: 0 auto 18px; border-radius: 14px; box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.dcw-sk-search-big input { padding: 15px 16px; font-size: 17px; }
.dcw-sk-search-big button { padding: 0 18px; }
@media (max-width: 480px) { .dcw-sk-search-big button span { display: none; } }
.dcw-sk-hero-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.dcw-sk-btn {
	display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 12px; font-weight: 800; font-size: 16px;
	text-decoration: none !important; color: #03101d !important; background: linear-gradient(180deg, #4fd4fb, #1fb2e6);
	box-shadow: 0 8px 24px rgba(39, 196, 245, .25), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.dcw-sk-btn:hover { filter: brightness(1.08); }
.dcw-sk-btn .dcw-sk-ic { width: 18px; height: 18px; }
.dcw-sk-btn-ghost { background: transparent; color: #fff !important; border: 1px solid var(--sk-line2); box-shadow: none; }
.dcw-sk-btn-ghost:hover { background: rgba(56, 189, 248, .08); }
.dcw-sk-stats { list-style: none !important; padding: 0 !important; margin: 0 !important; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.dcw-sk-stats li {
	background: none !important; border: 0 !important; padding: 0 10px !important; margin: 0 !important; color: var(--sk-muted); font-size: 15px;
}
.dcw-sk-stats li b { color: #fff; font-size: 20px; font-family: var(--sk-head); margin-right: 3px; }

/* "Start here" box restyled as a glass panel */
.dcw-sk-tools { margin: 6px 0 40px; }
.dcw-sk .dcw-home {
	background: linear-gradient(180deg, rgba(16, 35, 58, .85), rgba(12, 26, 44, .85)); border: 1px solid var(--sk-line);
	border-top: 1px solid var(--sk-line2); border-radius: 18px; padding: 20px; margin: 0; box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.dcw-sk .dcw-home-title { font-family: var(--sk-head); font-size: 26px; letter-spacing: .03em; }
.dcw-sk .dcw-home-tool { background: rgba(6, 13, 24, .7); border-color: var(--sk-line); border-radius: 14px; padding: 14px; transition: transform .15s, border-color .15s; }
.dcw-sk .dcw-home-tool:hover { transform: translateY(-2px); border-color: var(--sk-cyan); }
.dcw-sk .dcw-home-qs a { background: rgba(6, 13, 24, .7); border-color: var(--sk-line); }
.dcw-sk .dcw-home-qs a:hover { border-color: var(--sk-cyan); }
.dcw-sk .dcw-home-more { display: none; }

/* Topic cards */
.dcw-sk-sec-head { text-align: center; margin: 0 0 18px; }
.dcw-sk-kicker { margin: 0 0 4px !important; color: var(--sk-cyan2); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.dcw-sk .dcw-sk-h2 {
	font-family: var(--sk-head) !important; font-size: clamp(30px, 5vw, 44px) !important; text-transform: uppercase; color: #fff !important;
	margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; line-height: 1.05 !important;
}
.dcw-sk-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .dcw-sk-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .dcw-sk-grid { grid-template-columns: 1fr 1fr 1fr; } }
.dcw-sk-card {
	background: linear-gradient(180deg, var(--sk-panel2), var(--sk-panel)); border: 1px solid var(--sk-line); border-radius: 18px;
	padding: 18px; margin: 0 !important; transition: border-color .15s, transform .15s;
}
.dcw-sk-card:hover { border-color: var(--sk-line2); transform: translateY(-2px); }
.dcw-sk-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.dcw-sk-card-ic {
	width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; color: var(--sk-cyan);
	background: rgba(39, 196, 245, .1); border: 1px solid var(--sk-line2);
}
.dcw-sk-card-ic .dcw-sk-ic { width: 24px; height: 24px; }
.dcw-sk .dcw-sk-card h2 {
	font-family: var(--sk-head) !important; font-size: 24px !important; text-transform: uppercase; color: #fff !important;
	margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; line-height: 1.05 !important;
}
.dcw-sk-card-top p { margin: 2px 0 0 !important; color: var(--sk-muted); font-size: 14px; }
.dcw-sk .dcw-sk-card ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.dcw-sk .dcw-sk-card li {
	background: none !important; border: 0 !important; border-top: 1px solid rgba(56, 189, 248, .09) !important;
	border-radius: 0 !important; margin: 0 !important; padding: 0 !important;
}
.dcw-sk .dcw-sk-card li a {
	display: block; padding: 10px 22px 10px 2px; color: var(--sk-text) !important; text-decoration: none !important; font-size: 15px; line-height: 1.35; position: relative;
}
.dcw-sk .dcw-sk-card li a::after { content: "›"; position: absolute; right: 4px; top: 50%; transform: translateY(-52%); color: var(--sk-cyan); font-size: 20px; }
.dcw-sk .dcw-sk-card li a:hover { color: var(--sk-cyan2) !important; }
.dcw-sk-card details summary { cursor: pointer; color: var(--sk-cyan2); font-weight: 700; font-size: 14px; padding: 10px 2px 2px; list-style: none; }
.dcw-sk-card details summary::-webkit-details-marker { display: none; }
.dcw-sk-card details summary::after { content: " ↓"; }
.dcw-sk-card details[open] summary { display: none; }

/* ---------- guide pages ---------- */
.dcw-sk:not(.home) .wp-block-post-title {
	font-size: clamp(30px, 6.2vw, 54px) !important; line-height: 1.04 !important; letter-spacing: .005em;
	text-shadow: 0 0 40px rgba(39, 196, 245, .25);
}
.dcw-sk-crumb { margin: 0 0 6px !important; font-size: 14px; }
.dcw-sk-crumb a { color: var(--sk-cyan2) !important; text-decoration: none !important; font-weight: 700; }
.dcw-sk-cta {
	margin: 36px 0 10px; padding: 18px; border-radius: 18px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
	background: radial-gradient(400px 200px at 100% 0, rgba(39, 196, 245, .18), transparent), var(--sk-panel2); border: 1px solid var(--sk-line2);
}
.dcw-sk-cta p { margin: 0 !important; color: var(--sk-muted); }
.dcw-sk-cta .dcw-sk-cta-h { font-family: var(--sk-head); font-size: 24px; font-weight: 800; text-transform: uppercase; color: #fff; }
.dcw-sk-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- search results ---------- */
.dcw-sk-searchhead { margin: 28px 0 18px; }
.dcw-sk .dcw-sk-searchhead h1 {
	font-family: var(--sk-head) !important; font-size: clamp(30px, 6vw, 46px) !important; text-transform: uppercase; color: #fff !important;
	margin: 0 0 14px !important; line-height: 1.05 !important; word-break: break-word;
}
.dcw-sk.search .wp-block-post-template { list-style: none !important; padding: 0 !important; display: grid; gap: 12px; }
.dcw-sk.search .wp-block-post {
	background: linear-gradient(180deg, var(--sk-panel2), var(--sk-panel)) !important; border: 1px solid var(--sk-line) !important;
	border-radius: 16px !important; padding: 16px 18px !important; margin: 0 !important;
}
.dcw-sk.search .wp-block-post:hover { border-color: var(--sk-line2) !important; }
.dcw-sk.search .wp-block-post .wp-block-post-title {
	font-family: "Inter", system-ui, sans-serif !important; font-size: 19px !important; line-height: 1.3 !important; text-transform: none !important;
	letter-spacing: 0 !important; margin: 0 0 6px !important; padding: 0 !important; border: 0 !important; background: none !important; word-break: normal;
}
.dcw-sk.search .wp-block-post .wp-block-post-title a { color: #fff !important; border-bottom: 0 !important; text-decoration: none !important; }
.dcw-sk.search .wp-block-post .wp-block-post-title a:hover { color: var(--sk-cyan2) !important; }
.dcw-sk.search .wp-block-post-date { display: none; }
.dcw-sk.search .wp-block-post p { margin: 0 !important; color: var(--sk-muted); font-size: 15px; }

/* ---------- footer ---------- */
.dcw-sk-foot { border-top: 1px solid var(--sk-line); margin-top: 48px; background: rgba(4, 9, 17, .7); }
.dcw-sk-foot-in { max-width: 1180px; margin: 0 auto; padding: 32px 16px 12px; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .dcw-sk-foot-in { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.dcw-sk-foot-brand p { color: var(--sk-muted); font-size: 14px; margin: 8px 0 0; max-width: 300px; }
.dcw-sk-foot-h { color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 8px; }
.dcw-sk-foot a:not(.dcw-sk-logo) { display: block; color: var(--sk-muted) !important; text-decoration: none !important; font-size: 15px; padding: 4px 0; }
.dcw-sk-foot a:not(.dcw-sk-logo):hover { color: var(--sk-cyan2) !important; }
.dcw-sk-copy { max-width: 1180px; margin: 0 auto; padding: 14px 16px 24px; color: #5f7893; font-size: 13px; border-top: 1px solid rgba(56, 189, 248, .08); }
