.cf-freemius-settings-banner {
	margin: 16px 0 24px;
	max-width: 576px; /* 40% smaller than the previous 960px */
}

.cf-freemius-settings-banner img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cf-freemius-settings code {
	display: inline-block;
	margin-top: 8px;
	padding: 8px 12px;
	background: #f6f7f7;
	border-radius: 4px;
}

.cf-freemius-settings .cf-freemius-params-table,
.cf-freemius-settings .cf-freemius-plugins-table {
	max-width: 960px;
	margin: 12px 0 24px;
}

.cf-freemius-settings .cf-freemius-params-table code {
	margin-top: 0;
	padding: 2px 6px;
}

/* ── Two-column layout with sidebar (Information / Freemius Checkout pages) ── */

.cf-freemius-info-grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
	gap: 24px;
	align-items: start;
}

@media (max-width: 960px) {
	.cf-freemius-info-grid {
		grid-template-columns: 1fr;
	}
}

.cf-freemius-info-main {
	min-width: 0;
}

.cf-freemius-info-sidebar {
	min-width: 0;
}

.cf-freemius-info-card {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	padding: 16px;
	margin-bottom: 16px;
}

.cf-freemius-info-card h3 {
	margin-top: 0;
	font-size: 14px;
}

.cf-freemius-info-card--muted {
	background: #f6f7f7;
}

.cf-freemius-info-links li,
.cf-freemius-info-plugin-list li {
	margin-bottom: 8px;
}

.cf-freemius-info-plugin-list a {
	font-weight: 600;
}

.cf-freemius-info-plugin-list span {
	display: block;
	color: #646970;
	font-size: 12px;
}

/* ── Screenshot gallery + lightbox ─────────────────────────────────────── */

.cf-freemius-screenshots {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
	clear: both;
	margin: 16px 0 24px;
	max-width: 760px;
}

.cf-freemius-screenshot-thumb {
	display: block;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	overflow: hidden;
	line-height: 0;
}

.cf-freemius-screenshot-thumb img {
	width: 100%;
	height: 110px;
	object-fit: cover;
	object-position: top;
	display: block;
	transition: transform 0.15s ease-in-out;
}

.cf-freemius-screenshot-thumb:hover img {
	transform: scale(1.05);
}

.cf-freemius-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0, 0, 0, 0.85);
	align-items: center;
	justify-content: center;
	padding: 40px;
	cursor: zoom-out;
}

.cf-freemius-lightbox:target {
	display: flex;
}

.cf-freemius-lightbox img {
	max-width: 100%;
	max-height: 100%;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}
