
/**IG-TOC**/
.ig-toc {border-right: 1px solid rgba(0, 0, 0, .1);}
.ig-toc-title {font-weight: 700; font-family: Onest, Roboto, sans-serif; font-size: 15px; color: #161629; margin-bottom: 12px;}
.ig-toc-list {padding: 0 !important; margin: 0;}
.ig-toc-item {list-style-type: none; margin: 0;}
.ig-toc-link {font-family: 'Inter', sans-serif; font-size: 15px; color: #333; line-height: 1.2; display: block; padding: 8px 10px; text-decoration: none; transition: background-color .2s ease, color .2s ease;}
.ig-toc .ig-toc-link:hover,
.ig-toc .ig-toc-link:focus,
.ig-toc .ig-toc-item.is-active > .ig-toc-link {color: #f05a28 !important; background-color: #f7f7f7 !important; opacity: 1 !important;}

@media (max-width: 650px) {
	/* Hide the visible TOC column */
	.tocCol {
		width: 100% !important;
		max-width: 100% !important;
	}

	.tocCol, .tocCol .ig-toc {
		display: none !important;
	}

	/* Bottom trigger */
	.ig-mobile-toc-toggle {
		position: fixed;
		left: 50%;
		bottom: 0;
		padding-bottom: calc(12px + env(safe-area-inset-bottom));
		transform: translateX(-50%);
		z-index: 9998;
		display: flex;
		align-items: center;
		justify-content: center;
		min-width: 140px;
		padding: 10px 18px;
		background: #f2f4f7;
		color: #667085;
		border: 1px solid #d0d5dd;
		border-radius: 14px 14px 0 0;
		box-shadow: 0 -2px 10px rgba(16, 24, 40, .08);
		font-family: Inter, sans-serif;
		font-size: 13px;
		font-weight: 600;
		line-height: 1;
		cursor: pointer;
	}

	.ig-mobile-toc-toggle::before {
		content: "";
		display: block;
		position: absolute;
		top: 6px;
		left: 50%;
		transform: translateX(-50%);
		width: 38px;
		height: 4px;
		border-radius: 999px;
		background: #d0d5dd;
	}

	.ig-mobile-toc-toggle-label {
		margin-top: 6px;
		text-transform: uppercase;
	}

	/* Overlay */
	.ig-mobile-toc-overlay {
		position: fixed;
		inset: 0;
		background: rgba(16, 24, 40, .28);
		opacity: 0;
		visibility: hidden;
		transition: opacity .22s ease, visibility .22s ease;
		z-index: 9998;
	}

	/* Drawer */
	.ig-mobile-toc-drawer {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9999;
		background: #fff;
		border-radius: 18px 18px 0 0;
		box-shadow: 0 -10px 30px rgba(16, 24, 40, .18);
		transform: translateY(100%);
		transition: transform .25s ease;
		max-height: 70vh;
		display: flex;
		flex-direction: column;
		padding-bottom: env(safe-area-inset-bottom);
	}

	.ig-mobile-toc-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 16px 18px 12px;
		border-bottom: 1px solid rgba(0,0,0,.08);
	}

	.ig-mobile-toc-title {
		font-family: Onest, Roboto, sans-serif;
		font-size: 15px;
		font-weight: 700;
		color: #161629;
	}

	.ig-mobile-toc-close {
		border: 0;
		background: transparent;
		font-size: 28px;
		line-height: 1;
		color: #667085;
		padding: 0;
		cursor: pointer;
	}

	.ig-mobile-toc-body {
		overflow-y: auto;
		padding: 12px 14px 18px;
	}

	/* Use your TOC styles inside the drawer */
	.ig-mobile-toc-body .ig-toc {
		display: block !important;
		border-right: 0;
		padding-right: 0;
	}

	.ig-mobile-toc-body .ig-toc-title {
		display: none;
	}

	/* Open state */
	body.ig-mobile-toc-open .ig-mobile-toc-overlay {
		opacity: 1;
		visibility: visible;
	}

	body.ig-mobile-toc-open .ig-mobile-toc-drawer {
		transform: translateY(0);
	}

	body.ig-mobile-toc-open {
		overflow: hidden;
	}
}

@media (min-width: 651px) {
	.ig-mobile-toc-toggle,
	.ig-mobile-toc-overlay,
	.ig-mobile-toc-drawer {
		display: none !important;
	}
}

