/* =============================================================================
   TWR Restriction Notice — BEM component styles
   Enqueued only on singular restricted views (not globally).
   ============================================================================= */

/* Block */
.twr-restriction-notice {
	margin: 1.5em 0;
}

/* Excerpt */
.twr-restriction-notice__excerpt {
	margin-bottom: 1.5em;
	color: inherit;
	line-height: 1.7;
}

/* Gate card */
.twr-restriction-notice__gate {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 2.5em 2em;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background-color: #fafafa;
	gap: 1em;
}

/* Lock icon */
.twr-restriction-notice__icon {
	color: #9e9e9e;
	line-height: 1;
}

.twr-restriction-notice__icon svg {
	display: block;
}

/* Heading */
.twr-restriction-notice__heading {
	margin: 0;
	font-size: 1.25em;
	font-weight: 700;
	color: #212121;
	line-height: 1.3;
}

/* Subtext */
.twr-restriction-notice__subtext {
	margin: 0;
	font-size: 0.95em;
	color: #616161;
	line-height: 1.6;
	max-width: 36em;
}

/* Actions row */
.twr-restriction-notice__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75em;
	justify-content: center;
	margin-top: 0.5em;
}

/* Shared button base */
.twr-restriction-notice__btn {
	display: inline-block;
	padding: 0.65em 1.5em;
	border-radius: 4px;
	font-size: 0.95em;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	line-height: 1.4;
}

/* Primary button — filled */
.twr-restriction-notice__btn--primary {
	background-color: #1a1a1a;
	color: #ffffff;
	border: 2px solid #1a1a1a;
}

.twr-restriction-notice__btn--primary:hover,
.twr-restriction-notice__btn--primary:focus {
	background-color: #333333;
	border-color: #333333;
	color: #ffffff;
	text-decoration: none;
}

/* Secondary button — outlined */
.twr-restriction-notice__btn--secondary {
	background-color: transparent;
	color: #1a1a1a;
	border: 2px solid #1a1a1a;
}

.twr-restriction-notice__btn--secondary:hover,
.twr-restriction-notice__btn--secondary:focus {
	background-color: #1a1a1a;
	color: #ffffff;
	text-decoration: none;
}

/* Mobile */
@media (max-width: 480px) {
	.twr-restriction-notice__gate {
		padding: 2em 1.25em;
	}

	.twr-restriction-notice__actions {
		flex-direction: column;
		width: 100%;
	}

	.twr-restriction-notice__btn {
		width: 100%;
		text-align: center;
	}
}
