/**
 * DevviTech theme: design revision (0.10.0, 19 October 2026).
 *
 * Sadik: after the switch to the light theme some text was hard to read, and
 * the site looked "made by AI". This file loads last and changes the look
 * on every page without touching the compiled patterns:
 *
 * - Light theme: darker secondary text and lines, so small text reads well.
 * - No monospace "terminal" lettering: labels and small print use the text
 *   face, and section labels drop their "(01)" counters and capitals.
 * - No outlined (hollow) text and numbers: they are filled.
 * - No background grids, glows or status dots.
 */

/* Light theme: stronger secondary text and lines. */

:root[data-theme="light"] {
	--wp--preset--color--muted: #454d5c;
	--wp--preset--color--line: #d9dee6;
	--wp--preset--color--line-strong: #5f687a;
	--wp--custom--outline: #454d5c;
}

/* No grids behind sections, in either theme. */

:root {
	--wp--custom--grid: transparent;
}

/* Plain lettering: the monospace face goes, labels read as normal text. */

:root,
:root[data-theme="light"] {
	--wp--preset--font-family--mono: var(--wp--preset--font-family--sans);
}

.dvt-section-label {
	gap: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 15px;
	font-weight: 600;
	line-height: 22px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--wp--preset--color--accent);
}

.dvt-section-label strong {
	display: none;
}

.dvt-section--inverse .dvt-section-label {
	color: var(--wp--preset--color--inverse-accent);
}

/* Filled numbers and words instead of outlines. */

.dvt-sec :is(.dvt-d-1b01792, .dvt-d-470d56e, .dvt-d-6d588f3, .dvt-d-1cf9bc5, .dvt-d-f8c87ad),
.dvt-d-4c7d11f {
	-webkit-text-stroke: 0;
	color: var(--wp--preset--color--accent);
}

.dvt-section--inverse :is(.dvt-d-6d588f3, .dvt-d-f8c87ad) {
	color: var(--wp--preset--color--inverse-accent);
}

/* Bangla articles (0.17.0): self-hosted Noto Sans Bengali for Bengali letters; Latin letters stay in the site fonts. */

@font-face {
	font-family: "Noto Sans Bengali";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/noto-sans-bengali/noto-sans-bengali-bengali-400-normal.woff2) format("woff2");
	unicode-range: U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC;
}

@font-face {
	font-family: "Noto Sans Bengali";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(../fonts/noto-sans-bengali/noto-sans-bengali-bengali-600-normal.woff2) format("woff2");
	unicode-range: U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC;
}

@font-face {
	font-family: "Noto Sans Bengali";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(../fonts/noto-sans-bengali/noto-sans-bengali-bengali-700-normal.woff2) format("woff2");
	unicode-range: U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC;
}

/* Bengali letters need looser lines and no tightened letter spacing, or joined letters collide. */

html:lang(bn) {
	--wp--preset--font-family--sans: "Noto Sans Bengali", "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
	--wp--preset--font-family--display: "Noto Sans Bengali", "Archivo", "Helvetica Neue", "Arial", sans-serif;
	--wp--preset--font-family--mono: var(--wp--preset--font-family--sans);
}

html:lang(bn) :is(body, h1, h2, h3, h4, p, li, td, th, a, span, div, summary, button, figcaption) {
	letter-spacing: 0;
}

html:lang(bn) .dvt-prose :is(p, li, td, th) {
	line-height: 1.85;
}

html:lang(bn) :is(h1, h2, h3, h4) {
	line-height: 1.4;
}

html:lang(bn) .dvt-prose .dvt-label {
	text-transform: none;
}
