/**
 * Policy page — sidebar + article layout (Figma 4444:11239).
 * Hero reuses contact.css; CTA reuses account.css `.sdn-banner-contact`.
 */

.aside-btn {
	top: 50%;
	right: 0;
	z-index: 11;
	position: fixed;
	cursor: pointer;
	width: 3.2rem;
	height: 3.2rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	background-color: #111;
	transform: translateY(-50%);
	border: 0;
	padding: 0;
}

@media screen and (min-width: 1201px) {
	.aside-btn {
		display: none;
	}
}

.aside-btn img {
	object-fit: contain;
	width: 2rem;
	height: 2rem;
	filter: var(--filter-white);
}

@media screen and (min-width: 1201px) {
	.aside-wrap {
		top: 14rem;
		position: sticky;
	}
}

@media screen and (max-width: 1200px) {
	.aside-wrap {
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 102;
		width: 32rem;
		display: flex;
		max-width: 85%;
		height: 100dvh;
		position: fixed;
		transition: 0.4s ease-in-out;
		flex-direction: column;
		transform: translateX(100%);
		background-color: #fff;
	}

	.aside-wrap.is-active {
		transform: none;
	}
}

.aside-close {
	gap: 1.6rem;
	width: 100%;
	flex-shrink: 0;
	cursor: pointer;
	text-align: left;
	padding: 1.6rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: transparent;
	border: 0;
	border-bottom: 0.1rem solid #d9d9d9;
}

@media screen and (min-width: 1201px) {
	.aside-close {
		display: none;
	}
}

.aside-close img {
	flex-shrink: 0;
	object-fit: contain;
	width: 2.4rem;
	height: 2.4rem;
}

.aside-title {
	font-weight: 600;
	line-height: 1.4;
	color: #131313;
	text-transform: uppercase;
	font-family: var(--font-title);
	font-size: 2rem;
}

@media screen and (max-width: 1200px) {
	.aside-title {
		font-size: clamp(1.6rem, 1.5091rem + 0.2424vw, 1.8rem);
	}

	.aside-block {
		flex: 1;
		min-height: 0;
		padding: 0 1.6rem;
		overflow: hidden auto;
	}
}

.cs {
	padding: 6.4rem 0 8rem;
}

@media screen and (max-width: 1200px) {
	.cs {
		padding: 4rem 0 6rem;
	}
}

@media screen and (max-width: 767px) {
	.cs {
		padding: 3.2rem 0 4rem;
	}
}

.cs-inner {
	gap: 3.2rem;
	display: grid;
	align-items: start;
	grid-template-columns: 28rem minmax(0, 1fr);
}

.cs-inner.is-solo {
	grid-template-columns: minmax(0, 1fr);
}

@media screen and (max-width: 1200px) {
	.cs-inner {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media screen and (min-width: 1201px) {
	.cs .aside-wrap {
		top: calc(var(--header-main-fixed) + 2.4rem);
	}
}

.cs-nav-group + .cs-nav-group {
	border-top: 0.1rem solid #111;
}

@media screen and (min-width: 1201px) {
	.cs-nav-group:first-child .cs-nav-head {
		padding-top: 0;
	}
}

.cs-nav-head {
	gap: 1.6rem;
	width: 100%;
	height: 3.2rem;
	display: flex;
	cursor: pointer;
	text-align: left;
	align-items: center;
	padding: 2rem 0;
	box-sizing: content-box;
	justify-content: space-between;
	background: transparent;
	border: 0;
}

@media screen and (max-width: 1200px) {
	.cs-nav-head {
		height: auto;
		min-height: 3.2rem;
	}
}

.cs-nav-name {
	font-weight: 600;
	line-height: 1.334;
	color: #131313;
	text-transform: uppercase;
	font-family: var(--font-title);
	font-size: 2.4rem;
}

@media screen and (max-width: 1200px) {
	.cs-nav-name {
		font-size: clamp(1.7rem, 1.5636rem + 0.3636vw, 2rem);
	}
}

.cs-nav-arrow {
	flex-shrink: 0;
	width: 2.4rem;
	height: 2.4rem;
	object-fit: contain;
	transition: 0.3s ease-in-out;
}

.cs-nav-group.is-active .cs-nav-arrow {
	transform: rotate(180deg);
}

.cs-nav-list {
	gap: 1.2rem;
	display: flex;
	padding: 0 0 2rem;
	margin: 0;
	list-style: none;
	flex-direction: column;
}

.cs-nav-link {
	display: block;
	line-height: 1.5;
	color: #131313;
	transition: 0.3s ease-in-out;
	font-size: 1.6rem;
	text-decoration: none;
}

@media screen and (max-width: 1200px) {
	.cs-nav-link {
		font-size: clamp(1.4rem, 1.3091rem + 0.2424vw, 1.6rem);
	}
}

@media screen and (hover: hover) and (pointer: fine) and (min-width: 1201px) {
	.cs-nav-link:hover,
	.cs-nav-link:focus-visible {
		color: #c5342d;
	}
}

.cs-nav-link.is-current {
	color: #c5342d;
}

.cs-article {
	min-width: 0;
}

.cs-article .sdn-banner-contact {
	margin-top: 12rem;
}

.cs-article-content > h2:first-child {
	font-weight: 600;
	line-height: 1.223;
	color: #131313;
	margin-bottom: 3.2rem;
	text-transform: uppercase;
	font-family: var(--font-title);
	font-size: 3.6rem;
}

@media screen and (max-width: 1200px) {
	.cs-article-content > h2:first-child {
		font-size: clamp(2.6rem, 2.3727rem + 0.6061vw, 3.1rem);
	}
}

@media screen and (max-width: 767px) {
	.cs-article-content > h2:first-child {
		margin-bottom: 2.4rem;
	}
}

body.sdn-policy-page .sdn-contact-hero {
	border-bottom: 0.1rem solid #d9d9d9;
	padding-bottom: 5.6rem;
}

@media screen and (max-width: 1200px) {
	body.sdn-policy-page .sdn-contact-hero {
		padding-bottom: 4rem;
	}
}

@media screen and (max-width: 767px) {
	body.sdn-policy-page .sdn-contact-hero {
		padding-bottom: 3.2rem;
	}
}
