.fgr-footer-ads {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	position: relative;
	z-index: 10;
	clear: both;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 20px 16px 24px;
	box-sizing: border-box;
	overflow: visible;
	background: transparent;
	border: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fgr-footer-ads__inner {
	display: block !important;
	max-width: 900px;
	margin: 0 auto;
	padding: 4px 0 2px;
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.03);
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.fgr-footer-ads__label-row {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 0 0 18px;
	padding: 0;
}

.fgr-footer-ads__label-row::before,
.fgr-footer-ads__label-row::after {
	content: "";
	flex: 1 1 0;
	max-width: 120px;
	height: 1px;
	background: rgba(255, 255, 255, 0.12);
}

.fgr-footer-ads__label {
	display: inline-block !important;
	margin: 0;
	padding: 0;
	flex: 0 0 auto;
	text-align: center;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #8a8a8a;
	line-height: 1.4;
}

.fgr-footer-ads__images {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 14px;
	margin: 0;
}

.fgr-footer-ads__texts {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0;
	margin: 16px 0 0;
	padding: 0;
	text-align: center;
	line-height: 1.6;
}

.fgr-footer-ads__images + .fgr-footer-ads__texts {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fgr-ad-link {
	display: block !important;
	width: 130px;
	height: 130px;
	flex: 0 0 130px;
	overflow: hidden;
	line-height: 0;
	text-decoration: none;
	position: relative;
	z-index: 11;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
	background: rgba(0, 0, 0, 0.25);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.fgr-ad-link__frame {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 5px;
}

.fgr-ad-link:hover,
.fgr-ad-link:focus-visible {
	transform: translateY(-2px);
	border-color: #e53935;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
	outline: none;
}

.fgr-ad-img,
.fgr-ad-link img {
	width: 130px !important;
	height: 130px !important;
	max-width: 130px;
	object-fit: cover;
	display: block !important;
	border: 0;
	border-radius: 5px;
	visibility: visible !important;
}

.fgr-ad-text {
	display: inline !important;
	visibility: visible !important;
	color: #9ca3af;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	line-height: 1.6;
	transition: color 0.15s ease;
}

.fgr-ad-text:hover,
.fgr-ad-text:focus-visible {
	color: #ef4444;
	text-decoration: none;
	outline: none;
}

.fgr-ad-text + .fgr-ad-text::before {
	content: "·";
	display: inline-block;
	margin: 0 0.65em;
	color: rgba(255, 255, 255, 0.28);
	font-weight: 400;
	text-decoration: none;
	pointer-events: none;
}

@media (max-width: 600px) {
	.fgr-footer-ads {
		padding: 16px 12px 20px;
	}

	.fgr-footer-ads__label-row {
		gap: 10px;
		margin-bottom: 14px;
	}

	.fgr-footer-ads__label-row::before,
	.fgr-footer-ads__label-row::after {
		max-width: 56px;
	}

	.fgr-footer-ads__images {
		gap: 10px;
	}

	.fgr-ad-link {
		width: 105px;
		height: 105px;
		flex: 0 0 105px;
	}

	.fgr-ad-img,
	.fgr-ad-link img {
		width: 105px !important;
		height: 105px !important;
		max-width: 105px;
	}

	.fgr-ad-text {
		font-size: 13px;
	}
}
