/**
 * assets/css/oga-follow.css — Follow button styling for the magazine.
 * @since 2026-07-29
 */

.oga-follow-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: 8px;
	padding: 3px 12px;
	font: 600 11.5px/1.2 var(--o-font, inherit);
	letter-spacing: .01em;
	color: #fff;
	background: linear-gradient(135deg, var(--brand-red-600, #b01c2e), var(--brand-red-500, #d7273c));
	border: 1px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	white-space: nowrap;
	vertical-align: middle;
	transition: transform .12s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
	box-shadow: 0 1px 6px color-mix(in srgb, var(--brand-red-600, #b01c2e) 30%, transparent);
}

.oga-follow-btn:hover { transform: translateY(-1px); box-shadow: 0 3px 12px color-mix(in srgb, var(--brand-red-600, #b01c2e) 42%, transparent); }
.oga-follow-btn:active { transform: translateY(0); }
.oga-follow-btn:focus-visible { outline: 2px solid var(--brand-gold, #EAB308); outline-offset: 2px; }

.oga-follow-btn.is-following {
	color: var(--brand-navy, #001D6C);
	background: transparent;
	border-color: color-mix(in srgb, var(--brand-navy, #001D6C) 35%, transparent);
	box-shadow: none;
}
.oga-follow-btn.is-following:hover {
	color: var(--brand-red-600, #b01c2e);
	border-color: color-mix(in srgb, var(--brand-red-600, #b01c2e) 45%, transparent);
	background: color-mix(in srgb, var(--brand-red-600, #b01c2e) 6%, transparent);
}

.oga-followers {
	font-size: 10.5px;
	color: var(--text-secondary, #667);
	white-space: nowrap;
}

@supports not (color: color-mix(in srgb, red 10%, transparent)) {
	.oga-follow-btn { box-shadow: 0 1px 6px rgba(176,28,46,.3); }
	.oga-follow-btn.is-following { border-color: rgba(0,29,108,.35); }
}

@media (prefers-reduced-motion: reduce) {
	.oga-follow-btn { transition: none; }
	.oga-follow-btn:hover { transform: none; }
}
