* {
	box-sizing: border-box;
}

:root {
	--theme-bg: #f6f7f2;
	--theme-paper: rgba(255, 255, 255, 0.94);
	--theme-top: #5f2f16;
	--theme-accent: #620f22;
	--theme-accent-dark: #500a0c;
	--theme-muted: #315f58;
	--theme-soft: #eef5f1;
	--theme-card: #f9fbf7;
	--theme-border: rgba(49, 95, 88, 0.18);
	--theme-border-strong: rgba(98, 15, 34, 0.22);
	--theme-glow: rgba(49, 95, 88, 0.14);
	--theme-shadow: rgba(31, 54, 49, 0.08);
}

body.symptoms-hub {
	--theme-bg: #f6f7f2;
	--theme-top: #5f2f16;
	--theme-accent: #620f22;
	--theme-accent-dark: #500a0c;
	--theme-muted: #315f58;
	--theme-soft: #eef5f1;
	--theme-card: #f9fbf7;
	--theme-border: rgba(49, 95, 88, 0.18);
	--theme-border-strong: rgba(98, 15, 34, 0.22);
	--theme-glow: rgba(49, 95, 88, 0.15);
	--theme-shadow: rgba(31, 54, 49, 0.08);
}

body.distance-page {
	--theme-bg: #f1f6f7;
	--theme-top: #28556b;
	--theme-accent: #245a70;
	--theme-accent-dark: #173d4f;
	--theme-muted: #476f62;
	--theme-soft: #e7f1f2;
	--theme-card: #f5faf9;
	--theme-border: rgba(36, 90, 112, 0.2);
	--theme-border-strong: rgba(36, 90, 112, 0.28);
	--theme-glow: rgba(57, 132, 146, 0.18);
	--theme-shadow: rgba(23, 61, 79, 0.1);
}

body.psy-guide-page {
	--theme-bg: #f5f3ef;
	--theme-top: #4f3a28;
	--theme-accent: #6b4f2e;
	--theme-accent-dark: #4c2f1c;
	--theme-muted: #496569;
	--theme-soft: #eee8de;
	--theme-card: #fbf8f2;
	--theme-border: rgba(107, 79, 46, 0.22);
	--theme-border-strong: rgba(73, 101, 105, 0.28);
	--theme-glow: rgba(73, 101, 105, 0.15);
	--theme-shadow: rgba(76, 47, 28, 0.09);
}

body.symptom-depression {
	--theme-bg: #f6f2f7;
	--theme-top: #4f315f;
	--theme-accent: #634172;
	--theme-accent-dark: #432854;
	--theme-muted: #5f5571;
	--theme-soft: #f0e8f4;
	--theme-card: #fbf7fc;
	--theme-border: rgba(99, 65, 114, 0.2);
	--theme-border-strong: rgba(99, 65, 114, 0.3);
	--theme-glow: rgba(99, 65, 114, 0.16);
	--theme-shadow: rgba(67, 40, 84, 0.09);
}

body.symptom-anxiety {
	--theme-bg: #f0f6f4;
	--theme-top: #2d625d;
	--theme-accent: #2c6f68;
	--theme-accent-dark: #1e4c49;
	--theme-muted: #4d6c5e;
	--theme-soft: #e6f1ee;
	--theme-card: #f5faf8;
	--theme-border: rgba(44, 111, 104, 0.2);
	--theme-border-strong: rgba(44, 111, 104, 0.3);
	--theme-glow: rgba(44, 111, 104, 0.16);
	--theme-shadow: rgba(30, 76, 73, 0.09);
}

body.symptom-panic {
	--theme-bg: #f8f3ee;
	--theme-top: #744225;
	--theme-accent: #8a4a2b;
	--theme-accent-dark: #5b2e1b;
	--theme-muted: #6c5b49;
	--theme-soft: #f3eadf;
	--theme-card: #fffaf4;
	--theme-border: rgba(138, 74, 43, 0.22);
	--theme-border-strong: rgba(138, 74, 43, 0.32);
	--theme-glow: rgba(190, 116, 59, 0.16);
	--theme-shadow: rgba(91, 46, 27, 0.09);
}

body.symptom-meaning {
	--theme-bg: #f3f4fa;
	--theme-top: #3d4d7b;
	--theme-accent: #4c5f97;
	--theme-accent-dark: #2f3c67;
	--theme-muted: #556474;
	--theme-soft: #e9edf7;
	--theme-card: #f8f9ff;
	--theme-border: rgba(76, 95, 151, 0.2);
	--theme-border-strong: rgba(76, 95, 151, 0.3);
	--theme-glow: rgba(76, 95, 151, 0.16);
	--theme-shadow: rgba(47, 60, 103, 0.09);
}

body.symptom-addiction {
	--theme-bg: #f7f1f4;
	--theme-top: #6a3f58;
	--theme-accent: #7b4564;
	--theme-accent-dark: #532940;
	--theme-muted: #6e5a61;
	--theme-soft: #f1e7ed;
	--theme-card: #fcf7fa;
	--theme-border: rgba(123, 69, 100, 0.2);
	--theme-border-strong: rgba(123, 69, 100, 0.3);
	--theme-glow: rgba(123, 69, 100, 0.16);
	--theme-shadow: rgba(83, 41, 64, 0.09);
}

body.symptom-couple {
	--theme-bg: #f8f1f1;
	--theme-top: #7b3c4a;
	--theme-accent: #8c4053;
	--theme-accent-dark: #5a2632;
	--theme-muted: #70585b;
	--theme-soft: #f4e6e8;
	--theme-card: #fff7f8;
	--theme-border: rgba(140, 64, 83, 0.2);
	--theme-border-strong: rgba(140, 64, 83, 0.3);
	--theme-glow: rgba(140, 64, 83, 0.16);
	--theme-shadow: rgba(90, 38, 50, 0.09);
}

body.symptom-sleep {
	--theme-bg: #f1f4f8;
	--theme-top: #2f466d;
	--theme-accent: #344f7c;
	--theme-accent-dark: #213452;
	--theme-muted: #526476;
	--theme-soft: #e6edf5;
	--theme-card: #f7faff;
	--theme-border: rgba(52, 79, 124, 0.2);
	--theme-border-strong: rgba(52, 79, 124, 0.3);
	--theme-glow: rgba(52, 79, 124, 0.16);
	--theme-shadow: rgba(33, 52, 82, 0.09);
}

body.symptom-stress {
	--theme-bg: #f1f6ef;
	--theme-top: #3f6651;
	--theme-accent: #496f4f;
	--theme-accent-dark: #2e4b36;
	--theme-muted: #5b6752;
	--theme-soft: #e8f1e5;
	--theme-card: #f8fbf5;
	--theme-border: rgba(73, 111, 79, 0.2);
	--theme-border-strong: rgba(73, 111, 79, 0.3);
	--theme-glow: rgba(73, 111, 79, 0.16);
	--theme-shadow: rgba(46, 75, 54, 0.09);
}

body {
	margin: 0;
	background:
		radial-gradient(circle at top left, var(--theme-glow), transparent 28rem),
		linear-gradient(180deg, var(--theme-bg) 0%, #fff 55%, var(--theme-bg) 100%);
	color: #26332d;
	font-family: Verdana, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.7;
}

a {
	color: var(--theme-accent);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.top-contact-bar {
	position: sticky;
	top: 0;
	z-index: 1001;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.45rem 1rem;
	min-height: 2rem;
	padding: 0.35rem 1rem;
	background: var(--theme-top);
	color: #fff;
	font-size: 0.82rem;
	line-height: 1.3;
}

.top-contact-bar a {
	color: #fff;
}

.top-contact-cta {
	display: inline-block;
	padding: 0.25rem 0.7rem;
	background: #fffaf2;
	color: var(--theme-top) !important;
	font-weight: 700;
}

.brand-nav {
	position: sticky;
	top: 2rem;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(1rem, 3vw, 2.5rem);
	padding: 0.85rem 1.25rem;
	background: #fff;
	border-bottom: 1px solid var(--theme-border);
	box-shadow: 0 0.45rem 1.2rem var(--theme-shadow);
}

.brand-identity {
	display: grid;
	grid-template-columns: 4rem auto;
	align-items: center;
	gap: 0.8rem;
	min-width: 16rem;
}

.brand-photo {
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	object-fit: cover;
	object-position: center;
}

.brand-name {
	display: block;
	color: var(--theme-accent-dark);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.05;
}

.brand-title {
	display: block;
	margin-top: 0.2rem;
	color: var(--theme-muted);
	font-size: 0.92rem;
}

.brand-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: clamp(0.7rem, 1.8vw, 1.45rem);
}

.brand-menu a {
	color: var(--theme-accent-dark);
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
}

.nav-toggle,
.nav-toggle-label {
	display: none;
}

.page-shell {
	max-width: 72rem;
	margin: clamp(1rem, 2.5vw, 2rem) auto 4rem;
	padding: 0 1.25rem;
}

.page {
	background: var(--theme-paper);
	border: 1px solid var(--theme-border);
	border-radius: 8px;
	box-shadow: 0 1rem 2.2rem var(--theme-shadow);
}

.hero {
	position: relative;
	padding: clamp(2rem, 4vw, 3.25rem);
	border-bottom: 1px solid var(--theme-border);
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 0.32rem;
	background: linear-gradient(90deg, var(--theme-accent), var(--theme-muted));
}

.breadcrumb {
	margin: 0 0 1rem;
	color: var(--theme-muted);
	font-size: 0.86rem;
}

h1,
h2,
h3 {
	color: var(--theme-accent-dark);
	line-height: 1.2;
}

h1 {
	max-width: 54rem;
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.25rem);
}

h2 {
	margin-top: 2.5rem;
	font-size: clamp(1.45rem, 2.4vw, 2rem);
}

h3 {
	margin-top: 1.5rem;
	font-size: 1.12rem;
}

.lead {
	max-width: 52rem;
	margin: 1.25rem 0 0;
	color: var(--theme-muted);
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 18rem;
	gap: clamp(1.5rem, 4vw, 3rem);
	padding: clamp(1.5rem, 4vw, 3.25rem);
}

.main-content {
	max-width: 48rem;
}

.main-content p,
.main-content li {
	color: #2f3b36;
}

.main-content ul {
	padding-left: 1.3rem;
}

.summary-box,
.warning-box,
.cta-box,
.side-card,
.source-box {
	border-radius: 8px;
}

.summary-box {
	margin: 0 0 2rem;
	padding: 1rem 1.1rem;
	background: var(--theme-soft);
	border: 1px solid var(--theme-border-strong);
}

.symptoms-hub .hero {
	padding-bottom: 1.25rem;
	border-bottom: 0;
}

.symptoms-hub .hero-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 18rem;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: start;
}

.symptoms-hub .hero-note {
	margin: 0;
}

.symptoms-hub .content {
	grid-template-columns: minmax(0, 1fr);
	padding-top: 1rem;
}

.symptoms-hub .summary-box {
	margin: 0 0 1.5rem;
	padding: 0.55rem 0.7rem;
	background: transparent;
	border-color: var(--theme-border);
	color: var(--theme-muted);
	font-size: 0.86rem;
	line-height: 1.45;
}

.symptoms-hub .summary-box p {
	margin: 0;
	color: inherit;
}

.warning-box {
	margin: 1.5rem 0;
	padding: 1rem 1.1rem;
	background: #fff4f1;
	border: 1px solid rgba(153, 47, 45, 0.25);
}

.cta-box {
	margin: 2.4rem 0 0;
	padding: 1.25rem;
	background: var(--theme-card);
	border: 1px solid var(--theme-border);
}

.cta-actions,
.link-grid,
.related-links {
	display: grid;
	gap: 0.8rem;
}

.cta-actions,
.link-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.button-link,
.symptom-link {
	display: block;
	padding: 0.85rem 1rem;
	background: #fff;
	border: 1px solid var(--theme-border-strong);
	border-radius: 8px;
	color: var(--theme-accent-dark);
	font-weight: 700;
}

.button-link.primary {
	background: var(--theme-accent);
	color: #fff;
}

.symptom-link span {
	display: block;
	margin-top: 0.25rem;
	color: var(--theme-muted);
	font-size: 0.9rem;
	font-weight: 400;
}

.sidebar {
	position: sticky;
	top: 1rem;
	align-self: start;
}

.side-card {
	margin-bottom: 1rem;
	padding: 1rem;
	background: var(--theme-card);
	border: 1px solid var(--theme-border);
}

.side-card h2 {
	margin-top: 0;
	font-size: 1rem;
}

.side-card ul {
	margin: 0;
	padding-left: 1rem;
	font-size: 0.92rem;
}

.faq details {
	padding: 1rem 0;
	border-top: 1px solid var(--theme-border);
}

.faq summary {
	color: var(--theme-accent-dark);
	font-weight: 700;
	cursor: pointer;
}

.source-box {
	margin-top: 2.5rem;
	padding: 1rem;
	background: var(--theme-card);
	border: 1px solid var(--theme-border);
	color: var(--theme-muted);
	font-size: 0.9rem;
}

.updated {
	margin: -2.5rem auto 2rem;
	padding: 0 1.25rem;
	text-align: center;
	color: #6d7974;
	font-size: 0.82rem;
}

@media screen and (max-width: 860px) {
	.content {
		grid-template-columns: 1fr;
	}

	.symptoms-hub .hero-layout {
		grid-template-columns: 1fr;
	}

	.sidebar {
		position: static;
	}
}

@media screen and (max-width: 720px) {
	.brand-nav {
		display: grid;
		grid-template-columns: 1fr auto;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
	}

	.brand-identity {
		min-width: 0;
	}

	.nav-toggle {
		display: block;
		position: absolute;
		top: 14px;
		right: 20px;
		z-index: 2;
		width: 44px;
		height: 44px;
		margin: 0;
		opacity: 0;
		cursor: pointer;
		appearance: none;
		-webkit-appearance: none;


	}



	.nav-toggle-label {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		gap: 4px;
		width: 44px;
		height: 44px;
		padding: 10px;
		border: 1px solid rgba(80, 10, 12, 0.2);
		background: #fffaf2;
		cursor: pointer;
	}

	.nav-toggle:focus-visible + .nav-toggle-label {
			outline: 3px solid #1a73e8;
			outline-offset: 3px;


	}



	.nav-toggle-label span {
		display: block;
		height: 2px;
		background: #500a0c;
	}

	.brand-menu {
		display: none;
		grid-column: 1 / -1;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		gap: 0;
		padding-top: 6px;
	}

	.brand-menu a {
		padding: 10px 0;
		border-top: 1px solid rgba(122, 64, 49, 0.16);
	}

	.nav-toggle:checked ~ .brand-menu {
		display: flex;
	}

	.cta-actions,
	.link-grid {
		grid-template-columns: 1fr;
	}
}
