/* ==========================================================================
   CGT OBS — footer ribbon
   Thin configurable bar below the Astra footer. Colours / height / max-width
   are driven by inline CSS variables set in inc/footer-ribbon.php.
   ========================================================================== */

.cgtobs-footer-ribbon {
	width: 100%;
	background: var(--cgtobs-footer-ribbon-bg, #d71920);
	color: var(--cgtobs-footer-ribbon-text, #ffffff);
	font-size: 14px;
	line-height: 1;
}

.cgtobs-footer-ribbon__inner {
	max-width: var(--cgtobs-footer-ribbon-max-width, 1400px);
	min-height: var(--cgtobs-footer-ribbon-height, 30px);
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.cgtobs-footer-ribbon a {
	color: inherit;
	text-decoration: none;
}

.cgtobs-footer-ribbon a:hover {
	text-decoration: underline;
}

.cgtobs-footer-ribbon__links {
	display: flex;
	align-items: center;
	gap: 14px;
	white-space: nowrap;
}

.cgtobs-footer-ribbon__separator {
	opacity: 0.6;
}

.cgtobs-footer-ribbon__copyright {
	white-space: nowrap;
	text-align: right;
}

/* Responsive: stack the two zones, keep the ribbon compact. */
@media (max-width: 768px) {
	.cgtobs-footer-ribbon__inner {
		min-height: auto;
		padding: 10px 16px;
		flex-direction: column;
		justify-content: center;
		gap: 8px;
		text-align: center;
	}

	.cgtobs-footer-ribbon__links {
		justify-content: center;
		flex-wrap: wrap;
		white-space: normal;
	}

	.cgtobs-footer-ribbon__copyright {
		white-space: normal;
		text-align: center;
	}
}
