/**
 * In the News – frontend styles
 */

.oc-news-promo {
	--oc-np-accent: #6b7a67;
	--oc-np-text: #1a1a1a;
	--oc-np-muted: #3a3a3a;
	--oc-np-frame: #1a1a1a;
	--oc-np-frame-inner: #1a1a1a;
	position: relative;
	isolation: isolate;
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
	background-color: #f7f5f0;
	color: var(--oc-np-text);
}

.oc-news-promo *,
.oc-news-promo *::before,
.oc-news-promo *::after {
	box-sizing: border-box;
}

.oc-news-promo__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	pointer-events: none;
}

.oc-news-promo__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
}

.oc-news-promo__frame {
	position: relative;
	border: 1px solid var(--oc-np-frame);
	padding: 48px 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.oc-news-promo__frame::before {
	content: "";
	position: absolute;
	inset: 8px;
	border: 1px solid var(--oc-np-frame-inner);
	pointer-events: none;
	z-index: 0;
}

.oc-news-promo__frame.is-frameless {
	border: 0;
	padding: 0;
}

.oc-news-promo__frame.is-frameless::before {
	display: none;
}

.oc-news-promo__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 36em;
}

.oc-news-promo__heading {
	margin: 0 0 16px;
	color: var(--oc-np-text);
	font-size: clamp(2rem, 3.4vw, 2.85rem);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.oc-news-promo__divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	max-width: 160px;
	margin: 0 auto 18px;
}

.oc-news-promo__divider-line {
	flex: 1 1 auto;
	height: 1px;
	background: currentColor;
	color: var(--oc-np-text);
	opacity: 0.85;
}

.oc-news-promo__diamond {
	display: inline-block;
	color: var(--oc-np-accent);
	font-size: 9px;
	line-height: 1;
}

.oc-news-promo__subtitle {
	margin: 0 0 32px;
	color: var(--oc-np-muted);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1.5;
}

.oc-news-promo__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	background-color: #c5a46e;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.3;
	border: 0;
	border-radius: 0;
	box-shadow: 0 3px 0 #1a1a1a;
	padding: 14px 28px;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.oc-news-promo__btn:hover,
.oc-news-promo__btn:focus {
	background-color: #b08f55;
	color: #fff;
	text-decoration: none;
}

@media (max-width: 640px) {
	.oc-news-promo__frame {
		padding: 36px 24px;
	}

	.oc-news-promo__frame::before {
		inset: 6px;
	}

	.oc-news-promo__subtitle {
		margin-bottom: 28px;
	}

	.oc-news-promo__btn {
		width: 100%;
	}
}
