/**
 * Related guides panel (sidebar_content) — full content, no clip/scroll.
 */

.contentBody .sidebarContent.sidebarContent--related,
.contentBody .sidebarContent {
	background: #f5f0e8;
	border: 1px solid rgba(69, 72, 59, 0.12);
	border-radius: 14px;
	padding: 36px 32px;
	margin: 36px 0 28px;
	height: auto;
	overflow: visible;
	box-sizing: border-box;
}

.contentBody .sidebarContent__inner,
.contentBody .sidebarContent .sidebarHider {
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
	background: transparent !important;
	background-color: transparent !important;
	padding: 2px; /* room so link outlines aren’t clipped by the panel edge */
	box-sizing: border-box;
}

.contentBody .sidebarContent .showMoreSidebarContent {
	display: none !important;
}

.contentBody .sidebarContent__title,
.contentBody .sidebarContent > .sidebarContent__inner > p:first-child,
.contentBody .sidebarContent > p:first-child {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(18px, 2.4vw, 22px);
	font-weight: 700;
	line-height: 1.3;
	color: #2f3329;
	text-transform: none;
	letter-spacing: -0.02em;
	margin: 0 0 20px;
	padding: 0;
	background: none;
	text-align: left;
}

.contentBody .sidebarContent ul {
	list-style: none;
	margin: 0;
	padding: 2px !important;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	background: transparent !important;
	overflow: visible;
}

.contentBody .sidebarContent ul li {
	padding: 0 !important;
	margin: 0 !important;
	font-size: inherit;
	line-height: normal !important;
	height: auto !important;
	min-height: 0;
	background: transparent !important;
	overflow: visible;
}

.contentBody .sidebarContent ul li a {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	width: 100%;
	box-sizing: border-box;
	padding: 14px 16px;
	background: #f5f0e8;
	border: none;
	border-radius: 10px;
	/* box-shadow outline shows all 4 sides even on matching backgrounds */
	box-shadow: 0 0 0 1px rgba(69, 72, 59, 0.28);
	color: #2f3329 !important;
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none !important;
	height: auto !important;
	min-height: 0;
	overflow: visible;
	transition: box-shadow 0.15s ease, color 0.15s ease;
}

.contentBody .sidebarContent ul li a:before {
	content: '\2192';
	flex: 0 0 auto;
	margin-right: 0;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.35;
	color: #767a4c;
}

.contentBody .sidebarContent ul li a:hover,
.contentBody .sidebarContent ul li a:focus {
	background: #f5f0e8;
	box-shadow: 0 0 0 1px rgba(69, 72, 59, 0.5);
	color: #45483b !important;
	outline: none;
}

.contentBody .sidebarContent ul li a:hover:before,
.contentBody .sidebarContent ul li a:focus:before {
	color: #45483b;
}

@media (max-width: 767px) {
	.contentBody .sidebarContent.sidebarContent--related,
	.contentBody .sidebarContent {
		padding: 28px 20px;
		margin: 28px 0 20px;
		border-radius: 12px;
	}

	.contentBody .sidebarContent ul {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.contentBody .sidebarContent ul li a {
		padding: 13px 14px;
		font-size: 14px;
	}
}

@media (min-width: 1100px) {
	.contentBody .sidebarContent ul {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
