/**
 * TS Support Guides — image lightbox styles for support single pages.
 * The page itself renders through the standard CPT page template (.ts-pt);
 * this file only styles the lightbox overlay and the zoom affordance.
 */

.ts-pt-html-block img,
.ts-pt-figure img { cursor: zoom-in; transition: transform .2s; }
.ts-pt-html-block img:hover,
.ts-pt-figure img:hover { transform: scale(1.005); }

.ts-sg-lb {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.92);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	padding: 24px;
	cursor: zoom-out;
}
.ts-sg-lb.is-open { display: flex; }
.ts-sg-lb__img {
	/* Fill the viewport box and scale the image (up or down) to fit while
	   preserving aspect ratio. width/height:auto caps a small image at its
	   natural size — so low-res screenshots never appeared to "enlarge".
	   object-fit:contain in a sized box makes them grow to fill the screen. */
	width: 95vw;
	height: 92vh;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 24px 60px rgba(0,0,0,.6);
	cursor: default;
}
.ts-sg-lb__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255,255,255,.15);
	color: #fff;
	border: 0;
	font-size: 22px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ts-sg-lb__close:hover { background: rgba(255,255,255,.25); }
.ts-sg-lb__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255,255,255,.15);
	color: #fff;
	border: 0;
	font-size: 22px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ts-sg-lb__nav:hover { background: rgba(255,255,255,.25); }
.ts-sg-lb__prev { right: 16px; }
.ts-sg-lb__next { left: 16px; }
.ts-sg-lb__counter {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255,255,255,.6);
	font-size: 13px;
}

/* =================================================================
   Item 11 — fewer color shades on support pages.
   Collapse the three callout accents (blue info / green tip /
   orange warning) into a single blue family so guide pages read
   calmer. This stylesheet only loads on single `support` posts, so
   platform / trading callouts are unaffected.
   ================================================================= */
.ts-pt-callout,
.ts-pt-callout--info,
.ts-pt-callout--tip,
.ts-pt-callout--warning {
	background: rgba(59,130,246,.06) !important;
	border-color: var(--ts-primary, hsl(217,91%,60%)) !important;
}
.ts-pt-callout__icon { color: var(--ts-primary, hsl(217,91%,60%)) !important; }
/* Tone the form-link buttons (rendered inside a callout) to the same
   single blue rather than a separate green. */
.ts-pt-callout a { background: var(--ts-primary, hsl(217,91%,60%)) !important; }
