/*
 * Dedicated article rescue layout.
 * Scoped to the single authority article template.
 */

body.santha-authority-article-rescue-page {
	background: #f5f3ee;
}

body.santha-authority-article-rescue-page .santha-rescue-main {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	min-height: 60vh;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
	background: #f5f3ee;
}

body.santha-authority-article-rescue-page .santha-rescue-shell {
	width: min(1460px, calc(100% - 48px));
	margin: 0 auto;
}

body.santha-authority-article-rescue-page .santha-rescue-hero {
	padding: clamp(54px, 7vw, 96px) 0 clamp(42px, 6vw, 72px);
	color: #f7f4ed;
	background:
		linear-gradient(115deg, rgba(17,20,18,.97), rgba(25,29,26,.94)),
		#171a17;
}

body.santha-authority-article-rescue-page .santha-rescue-breadcrumbs,
body.santha-authority-article-rescue-page .santha-rescue-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	font-size: 14px;
	line-height: 1.5;
}

body.santha-authority-article-rescue-page .santha-rescue-breadcrumbs {
	margin-bottom: 32px;
	color: #bfc3bc;
}

body.santha-authority-article-rescue-page .santha-rescue-breadcrumbs a {
	color: #d18a55;
	text-decoration: none;
}

body.santha-authority-article-rescue-page .santha-rescue-meta {
	margin-bottom: 18px;
	color: #c9ccc6;
}

body.santha-authority-article-rescue-page .santha-rescue-meta span:not(:last-child)::after {
	content: "·";
	margin-left: 10px;
	color: #8e938c;
}

body.santha-authority-article-rescue-page #santha-rescue-title {
	max-width: 1000px;
	margin: 0;
	color: #fff !important;
	font-size: clamp(42px, 6vw, 82px);
	font-weight: 720;
	letter-spacing: -.045em;
	line-height: .98;
}

body.santha-authority-article-rescue-page .santha-rescue-author {
	display: flex;
	gap: 14px;
	align-items: center;
	margin-top: 34px;
}

body.santha-authority-article-rescue-page .santha-rescue-avatar {
	display: grid;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 50%;
	place-items: center;
	color: #fff;
	font-weight: 750;
	background: #bd7040;
}

body.santha-authority-article-rescue-page .santha-rescue-author div {
	display: grid;
	gap: 2px;
}

body.santha-authority-article-rescue-page .santha-rescue-author strong {
	color: #fff;
}

body.santha-authority-article-rescue-page .santha-rescue-author span {
	color: #bec2bb;
}

body.santha-authority-article-rescue-page .santha-rescue-body {
	padding: clamp(42px, 6vw, 82px) 0 96px;
	background: #f5f3ee;
}

body.santha-authority-article-rescue-page .santha-rescue-grid {
	display: grid !important;
	grid-template-columns: minmax(245px, 320px) minmax(0, 900px) !important;
	gap: clamp(36px, 6vw, 92px) !important;
	align-items: start !important;
	justify-content: center;
	overflow: visible !important;
}

body.santha-authority-article-rescue-page .santha-rescue-sidebar {
	display: block !important;
	position: relative;
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}

body.santha-authority-article-rescue-page .santha-rescue-sidebar-card {
	position: sticky;
	top: 120px;
	max-height: calc(100vh - 150px);
	padding: 26px;
	border: 1px solid #d8d5cd;
	border-radius: 20px;
	overflow: auto;
	background: rgba(255,255,255,.72);
	box-shadow: 0 12px 36px rgba(20,24,20,.06);
}

body.santha-authority-article-rescue-page .santha-rescue-sidebar-label {
	margin: 0 0 20px;
	color: #737970;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

body.santha-authority-article-rescue-page .santha-rescue-toc {
	display: grid;
	gap: 3px;
}

body.santha-authority-article-rescue-page .santha-rescue-toc a {
	display: block;
	padding: 9px 11px;
	border-left: 3px solid transparent;
	border-radius: 0 9px 9px 0;
	color: #5f655e;
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
}

body.santha-authority-article-rescue-page .santha-rescue-toc a:hover,
body.santha-authority-article-rescue-page .santha-rescue-toc a:focus,
body.santha-authority-article-rescue-page .santha-rescue-toc a.is-active {
	border-left-color: #c87342;
	color: #8a4d2b;
	background: #eee3da;
}

body.santha-authority-article-rescue-page .santha-rescue-toc a[data-level="3"] {
	padding-left: 22px;
	font-size: 13px;
}

body.santha-authority-article-rescue-page .santha-rescue-share {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #dedbd4;
}

body.santha-authority-article-rescue-page .santha-rescue-share a,
body.santha-authority-article-rescue-page .santha-rescue-copy {
	appearance: none;
	margin: 0;
	padding: 0;
	border: 0;
	color: #8f522f;
	font: inherit;
	font-size: 13px;
	font-weight: 750;
	text-decoration: none;
	background: transparent;
	cursor: pointer;
}

body.santha-authority-article-rescue-page .santha-rescue-article {
	display: block !important;
	position: static !important;
	box-sizing: border-box !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 900px !important;
	height: auto !important;
	min-height: 400px !important;
	max-height: none !important;
	margin: 0 !important;
	padding: clamp(30px, 4vw, 62px) !important;
	border: 1px solid #dedbd4;
	border-radius: 24px;
	overflow: visible !important;
	clip: auto !important;
	clip-path: none !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	filter: none !important;
	color: #373a35 !important;
	background: #fff !important;
	box-shadow: 0 18px 55px rgba(20,24,20,.07);
}

body.santha-authority-article-rescue-page .santha-rescue-article *,
body.santha-authority-article-rescue-page .santha-rescue-article *::before,
body.santha-authority-article-rescue-page .santha-rescue-article *::after {
	opacity: 1 !important;
	visibility: visible !important;
	filter: none !important;
}

body.santha-authority-article-rescue-page .santha-rescue-article [hidden] {
	display: revert !important;
}

body.santha-authority-article-rescue-page .santha-rescue-article h2,
body.santha-authority-article-rescue-page .santha-rescue-article h3,
body.santha-authority-article-rescue-page .santha-rescue-article h4 {
	color: #1c201c !important;
	scroll-margin-top: 130px;
}

body.santha-authority-article-rescue-page .santha-rescue-article h2 {
	margin: 1.75em 0 .65em;
	font-size: clamp(28px, 3.2vw, 44px);
	line-height: 1.12;
}

body.santha-authority-article-rescue-page .santha-rescue-article h2:first-child {
	margin-top: 0;
}

body.santha-authority-article-rescue-page .santha-rescue-article h3 {
	margin: 1.5em 0 .55em;
	font-size: clamp(22px, 2.3vw, 30px);
	line-height: 1.2;
}

body.santha-authority-article-rescue-page .santha-rescue-article p,
body.santha-authority-article-rescue-page .santha-rescue-article li,
body.santha-authority-article-rescue-page .santha-rescue-article blockquote {
	color: #454943 !important;
	font-size: clamp(17px, 1.25vw, 19px);
	line-height: 1.8;
}

body.santha-authority-article-rescue-page .santha-rescue-article p {
	margin: 0 0 1.25em;
}

body.santha-authority-article-rescue-page .santha-rescue-article ul,
body.santha-authority-article-rescue-page .santha-rescue-article ol {
	margin: 0 0 1.5em;
	padding-left: 1.45em;
}

body.santha-authority-article-rescue-page .santha-rescue-article blockquote {
	margin: 1.8em 0;
	padding: 20px 24px;
	border-left: 4px solid #c87342;
	background: #f5eee8;
}

body.santha-authority-article-rescue-page .santha-rescue-article img {
	display: block !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0 auto 28px;
	border-radius: 16px;
}

body.santha-authority-article-rescue-page .santha-rescue-article a {
	color: #9b562f;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

@media (max-width: 900px) {
	body.santha-authority-article-rescue-page .santha-rescue-shell {
		width: min(100% - 28px, 760px);
	}

	body.santha-authority-article-rescue-page .santha-rescue-grid {
		display: block !important;
	}

	body.santha-authority-article-rescue-page .santha-rescue-sidebar {
		margin-bottom: 24px;
	}

	body.santha-authority-article-rescue-page .santha-rescue-sidebar-card {
		position: static;
		max-height: none;
	}

	body.santha-authority-article-rescue-page .santha-rescue-article {
		max-width: none !important;
		padding: 26px !important;
	}
}
