/**
 * ROBERIN News landing v1.
 * Scope: virtual /news/ landing and localized examples.
 */

body.roberin-news-page .cs-entry__header {
	display: none !important;
}

body.roberin-news-page .entry-content {
	margin-top: 0 !important;
}

body.roberin-news-page .cs-site-content,
body.roberin-news-page .cs-main-content,
body.roberin-news-page .entry-content {
	overflow-x: clip !important;
}

.roberin-news-landing,
.roberin-news-landing *,
.roberin-news-landing *::before,
.roberin-news-landing *::after {
	box-sizing: border-box !important;
}

.roberin-news-landing {
	width: 100% !important;
	max-width: 1040px !important;
	margin: 0 auto 46px !important;
	padding: 0 !important;
	color: #34281f !important;
	-webkit-text-fill-color: currentColor !important;
}

.roberin-news-hero,
.roberin-news-board,
.roberin-news-side {
	position: relative !important;
	isolation: isolate !important;
	min-width: 0 !important;
	overflow: hidden !important;
	background: #fff7e8 !important;
	border: 2px solid #6b5745 !important;
	border-radius: 0 !important;
	box-shadow: 5px 5px 0 rgba(82, 65, 50, 0.2) !important;
}

.roberin-news-hero::before,
.roberin-news-board::before,
.roberin-news-side::before {
	content: "" !important;
	position: absolute !important;
	inset: 0 !important;
	z-index: -1 !important;
	background-image:
		linear-gradient(rgba(107, 87, 69, 0.052) 1px, transparent 1px),
		linear-gradient(90deg, rgba(107, 87, 69, 0.042) 1px, transparent 1px) !important;
	background-size: 18px 18px !important;
}

.roberin-news-hero {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(230px, 0.36fr) !important;
	gap: 22px !important;
	align-items: stretch !important;
	margin: 0 0 22px !important;
	padding: 28px !important;
}

.roberin-news-hero__copy,
.roberin-news-row__body,
.roberin-news-board__head,
.roberin-news-side {
	min-width: 0 !important;
}

.roberin-news-kicker,
.roberin-news-section-label,
.roberin-news-row__badge {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 26px !important;
	margin: 0 0 13px !important;
	padding: 4px 10px !important;
	color: #34281f !important;
	background: #ddbf6f !important;
	border: 1px solid #6b5745 !important;
	border-radius: 0 !important;
	box-shadow: 2px 2px 0 rgba(82, 65, 50, 0.16) !important;
	font-size: 11px !important;
	font-weight: 950 !important;
	line-height: 1 !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase !important;
	-webkit-text-fill-color: #34281f !important;
}

.roberin-news-landing h1,
.roberin-news-landing h2,
.roberin-news-landing h3,
.roberin-news-landing p,
.roberin-news-landing ul {
	margin-top: 0 !important;
	text-shadow: none !important;
}

.roberin-news-landing h1 {
	margin-bottom: 8px !important;
	color: #241a13 !important;
	font-size: clamp(36px, 5vw, 64px) !important;
	font-weight: 950 !important;
	line-height: 1.02 !important;
	letter-spacing: -0.065em !important;
	word-break: keep-all !important;
	overflow-wrap: anywhere !important;
	-webkit-text-fill-color: #241a13 !important;
}

.roberin-news-landing h2 {
	margin-bottom: 11px !important;
	color: #2f241b !important;
	font-size: clamp(23px, 3vw, 36px) !important;
	font-weight: 950 !important;
	line-height: 1.12 !important;
	letter-spacing: -0.052em !important;
	word-break: keep-all !important;
	overflow-wrap: anywhere !important;
	-webkit-text-fill-color: #2f241b !important;
}

.roberin-news-landing h3 {
	margin-bottom: 7px !important;
	color: #2b2119 !important;
	font-size: 17px !important;
	font-weight: 950 !important;
	line-height: 1.25 !important;
	letter-spacing: -0.034em !important;
	word-break: keep-all !important;
	overflow-wrap: anywhere !important;
	-webkit-text-fill-color: #2b2119 !important;
}

.roberin-news-landing p,
.roberin-news-landing li {
	color: #4f3d2e !important;
	font-size: 15px !important;
	font-weight: 760 !important;
	line-height: 1.68 !important;
	letter-spacing: -0.018em !important;
	word-break: keep-all !important;
	overflow-wrap: anywhere !important;
	-webkit-text-fill-color: #4f3d2e !important;
}

.roberin-news-lead {
	max-width: 680px !important;
	margin-bottom: 18px !important;
	font-size: 17px !important;
	font-weight: 820 !important;
	color: #3f3024 !important;
	-webkit-text-fill-color: #3f3024 !important;
}

.roberin-news-actions {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 9px !important;
	align-items: center !important;
	margin-top: 18px !important;
}

.roberin-news-actions a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 40px !important;
	padding: 9px 14px !important;
	color: #34281f !important;
	background: #ddbf6f !important;
	border: 1px solid #6b5745 !important;
	border-radius: 0 !important;
	box-shadow: 2px 2px 0 rgba(82, 65, 50, 0.18) !important;
	font-size: 13px !important;
	font-weight: 950 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	-webkit-text-fill-color: #34281f !important;
}

.roberin-news-actions a + a {
	background: #fff8ed !important;
}

.roberin-news-actions a:hover,
.roberin-news-actions a:focus-visible {
	color: #34281f !important;
	background: #e2edd8 !important;
	outline: 2px solid #4f7d94 !important;
	outline-offset: 2px !important;
	-webkit-text-fill-color: #34281f !important;
}

.roberin-news-meta {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 10px !important;
	align-content: center !important;
	min-width: 0 !important;
}

.roberin-news-meta__item {
	display: grid !important;
	gap: 4px !important;
	min-width: 0 !important;
	padding: 13px 12px !important;
	background: #e2edd8 !important;
	border: 1px solid rgba(107, 87, 69, 0.7) !important;
	border-radius: 0 !important;
}

.roberin-news-meta__item span {
	color: #574838 !important;
	font-size: 11px !important;
	font-weight: 900 !important;
	line-height: 1.1 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	-webkit-text-fill-color: #574838 !important;
}

.roberin-news-meta__item strong {
	color: #34281f !important;
	font-size: 18px !important;
	font-weight: 950 !important;
	line-height: 1.1 !important;
	word-break: keep-all !important;
	-webkit-text-fill-color: #34281f !important;
}

.roberin-news-layout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr) !important;
	gap: 18px !important;
	align-items: start !important;
}

.roberin-news-board,
.roberin-news-side {
	padding: 22px !important;
}

.roberin-news-board__head {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	gap: 16px !important;
	align-items: end !important;
	padding-bottom: 15px !important;
	border-bottom: 2px solid rgba(107, 87, 69, 0.55) !important;
}

.roberin-news-board__head p {
	margin-bottom: 0 !important;
}

.roberin-news-filters {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: flex-end !important;
	gap: 7px !important;
	min-width: 0 !important;
}

.roberin-news-filters span,
.roberin-news-row__category {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 30px !important;
	padding: 5px 9px !important;
	color: #34281f !important;
	background: #fff8ed !important;
	border: 1px solid rgba(107, 87, 69, 0.72) !important;
	border-radius: 0 !important;
	font-size: 12px !important;
	font-weight: 920 !important;
	line-height: 1.15 !important;
	white-space: nowrap !important;
	-webkit-text-fill-color: #34281f !important;
}

.roberin-news-filters span:first-child {
	background: #ddbf6f !important;
}

.roberin-news-list {
	display: grid !important;
	grid-template-columns: 1fr !important;
	margin-top: 0 !important;
}

.roberin-news-row {
	display: grid !important;
	grid-template-columns: 92px 104px minmax(0, 1fr) auto !important;
	gap: 12px !important;
	align-items: center !important;
	min-width: 0 !important;
	padding: 16px 0 !important;
	border-bottom: 1px dashed rgba(107, 87, 69, 0.58) !important;
}

.roberin-news-row:last-child {
	border-bottom: 0 !important;
	padding-bottom: 0 !important;
}

.roberin-news-row__date {
	color: #7a412f !important;
	font-size: 13px !important;
	font-weight: 950 !important;
	line-height: 1.2 !important;
	letter-spacing: -0.01em !important;
	white-space: nowrap !important;
	-webkit-text-fill-color: #7a412f !important;
}

.roberin-news-row__body h3,
.roberin-news-row__body p {
	margin-bottom: 0 !important;
}

.roberin-news-row__body p {
	font-size: 14px !important;
	line-height: 1.55 !important;
}

.roberin-news-row__badge {
	min-height: 28px !important;
	margin: 0 !important;
	background: #e2edd8 !important;
	letter-spacing: -0.01em !important;
	text-transform: none !important;
	white-space: nowrap !important;
}

.roberin-news-side ul {
	display: grid !important;
	gap: 8px !important;
	margin: 0 0 16px !important;
	padding: 0 !important;
	list-style: none !important;
}

.roberin-news-side li {
	display: grid !important;
	grid-template-columns: 14px minmax(0, 1fr) !important;
	gap: 8px !important;
	align-items: center !important;
	margin: 0 !important;
	padding: 0 !important;
}

.roberin-news-side li::before {
	content: "" !important;
	display: block !important;
	width: 10px !important;
	height: 10px !important;
	background: #ddbf6f !important;
	border: 1px solid #6b5745 !important;
	border-radius: 0 !important;
}

.roberin-news-empty {
	padding: 15px 14px !important;
	background: #e2edd8 !important;
	border: 1px solid rgba(107, 87, 69, 0.72) !important;
	border-radius: 0 !important;
}

.roberin-news-empty h3,
.roberin-news-empty p {
	margin-bottom: 0 !important;
}

.roberin-news-empty h3 {
	margin-bottom: 7px !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-landing {
	color: #f2e4cf !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-hero,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-board,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-side {
	background: #2b2119 !important;
	border-color: #a98b6b !important;
	box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.22) !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-hero::before,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-board::before,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-side::before {
	background-image:
		linear-gradient(rgba(229, 196, 139, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(229, 196, 139, 0.045) 1px, transparent 1px) !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-landing h1,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-landing h2,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-landing h3 {
	color: #f2e4cf !important;
	-webkit-text-fill-color: #f2e4cf !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-landing p,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-landing li {
	color: #f0dfc5 !important;
	-webkit-text-fill-color: #f0dfc5 !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-kicker,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-section-label,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-actions a,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-filters span:first-child {
	color: #241c15 !important;
	background: #d2aa55 !important;
	border-color: #a98b6b !important;
	-webkit-text-fill-color: #241c15 !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-actions a + a,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-filters span,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-row__category {
	color: #f2e4cf !important;
	background: #241c15 !important;
	border-color: #a98b6b !important;
	-webkit-text-fill-color: #f2e4cf !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-meta__item,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-empty,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-row__badge {
	color: #f2e4cf !important;
	background: #33271d !important;
	border-color: #a98b6b !important;
	-webkit-text-fill-color: #f2e4cf !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-meta__item span,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-meta__item strong,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-row__date {
	color: #f0dfc5 !important;
	-webkit-text-fill-color: #f0dfc5 !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-board__head,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-row {
	border-color: rgba(169, 139, 107, 0.62) !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-side li::before {
	background: #d2aa55 !important;
	border-color: #a98b6b !important;
}

@media (prefers-color-scheme: dark) {
	body[data-scheme="auto"].roberin-news-page .roberin-news-hero,
	body[data-scheme="auto"].roberin-news-page .roberin-news-board,
	body[data-scheme="auto"].roberin-news-page .roberin-news-side {
		background: #2b2119 !important;
		border-color: #a98b6b !important;
	}

	body[data-scheme="auto"].roberin-news-page .roberin-news-landing h1,
	body[data-scheme="auto"].roberin-news-page .roberin-news-landing h2,
	body[data-scheme="auto"].roberin-news-page .roberin-news-landing h3 {
		color: #f2e4cf !important;
		-webkit-text-fill-color: #f2e4cf !important;
	}

	body[data-scheme="auto"].roberin-news-page .roberin-news-landing p,
	body[data-scheme="auto"].roberin-news-page .roberin-news-landing li {
		color: #f0dfc5 !important;
		-webkit-text-fill-color: #f0dfc5 !important;
	}
}

@media (max-width: 900px) {
	.roberin-news-hero,
	.roberin-news-layout,
	.roberin-news-board__head {
		grid-template-columns: 1fr !important;
	}

	.roberin-news-filters {
		justify-content: flex-start !important;
	}
}

@media (max-width: 767px) {
	.roberin-news-landing {
		max-width: calc(100% - 10px) !important;
		margin-bottom: 34px !important;
	}

	.roberin-news-hero,
	.roberin-news-board,
	.roberin-news-side {
		padding: 18px 14px !important;
		box-shadow: 3px 3px 0 rgba(82, 65, 50, 0.2) !important;
	}

	.roberin-news-landing h1 {
		font-size: clamp(34px, 12vw, 48px) !important;
	}

	.roberin-news-landing h2 {
		font-size: clamp(22px, 7vw, 31px) !important;
	}

	.roberin-news-lead,
	.roberin-news-landing p,
	.roberin-news-landing li {
		font-size: 14px !important;
		line-height: 1.62 !important;
	}

	.roberin-news-meta {
		grid-template-columns: 1fr !important;
	}

	.roberin-news-row {
		grid-template-columns: 1fr !important;
		gap: 8px !important;
		align-items: start !important;
	}

	.roberin-news-row__date,
	.roberin-news-row__category,
	.roberin-news-row__badge {
		justify-self: start !important;
	}

	.roberin-news-actions a {
		width: 100% !important;
	}
}

/* v2: real article detail pages */
.roberin-news-row__body a,
.roberin-news-back a {
	color: inherit !important;
	text-decoration: none !important;
	-webkit-text-fill-color: currentColor !important;
}

.roberin-news-row__body a:hover,
.roberin-news-row__body a:focus-visible,
.roberin-news-back a:hover,
.roberin-news-back a:focus-visible {
	color: #7a412f !important;
	text-decoration: underline !important;
	text-decoration-thickness: 2px !important;
	text-underline-offset: 3px !important;
	-webkit-text-fill-color: #7a412f !important;
}

.roberin-news-back {
	width: 100% !important;
	max-width: 1040px !important;
	margin: 0 auto 12px !important;
}

.roberin-news-back a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 34px !important;
	padding: 7px 11px !important;
	color: #34281f !important;
	background: #fff8ed !important;
	border: 1px solid #6b5745 !important;
	border-radius: 0 !important;
	box-shadow: 2px 2px 0 rgba(82, 65, 50, 0.14) !important;
	font-size: 13px !important;
	font-weight: 930 !important;
	line-height: 1.2 !important;
	-webkit-text-fill-color: #34281f !important;
}

.roberin-news-article {
	position: relative !important;
	isolation: isolate !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(250px, 0.3fr) !important;
	gap: 22px !important;
	min-width: 0 !important;
	padding: 26px !important;
	background: #fff7e8 !important;
	border: 2px solid #6b5745 !important;
	border-radius: 0 !important;
	box-shadow: 5px 5px 0 rgba(82, 65, 50, 0.2) !important;
	overflow: hidden !important;
}

.roberin-news-article::before {
	content: "" !important;
	position: absolute !important;
	inset: 0 !important;
	z-index: -1 !important;
	background-image:
		linear-gradient(rgba(107, 87, 69, 0.052) 1px, transparent 1px),
		linear-gradient(90deg, rgba(107, 87, 69, 0.042) 1px, transparent 1px) !important;
	background-size: 18px 18px !important;
}

.roberin-news-article__content {
	min-width: 0 !important;
	max-width: 760px !important;
}

.roberin-news-article__section {
	min-width: 0 !important;
	margin: 0 !important;
	padding: 22px 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-top: 1px dashed rgba(107, 87, 69, 0.55) !important;
	box-shadow: none !important;
}

.roberin-news-article__section:first-child {
	padding-top: 0 !important;
	border-top: 0 !important;
}

.roberin-news-article__section:last-child {
	padding-bottom: 0 !important;
}

.roberin-news-article__section h2 {
	margin-bottom: 10px !important;
	font-size: clamp(22px, 2.4vw, 32px) !important;
	line-height: 1.16 !important;
}

.roberin-news-article__section p {
	max-width: 720px !important;
	margin: 0 0 12px !important;
	font-size: 16px !important;
	font-weight: 760 !important;
	line-height: 1.78 !important;
}

.roberin-news-article__section p:last-child {
	margin-bottom: 0 !important;
}

.roberin-news-article__note {
	align-self: start !important;
	min-width: 0 !important;	
	padding: 16px 15px !important;
	background: #e2edd8 !important;
	border: 1px solid rgba(107, 87, 69, 0.72) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.roberin-news-article__note h2 {
	margin-bottom: 8px !important;
	font-size: 18px !important;
	line-height: 1.25 !important;
}

.roberin-news-article__note p {
	margin-bottom: 0 !important;
	font-size: 14px !important;
	line-height: 1.6 !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-row__body a:hover,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-row__body a:focus-visible,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-back a:hover,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-back a:focus-visible {
	color: #d2aa55 !important;
	-webkit-text-fill-color: #d2aa55 !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-back a {
	color: #f2e4cf !important;
	background: #241c15 !important;
	border-color: #a98b6b !important;
	-webkit-text-fill-color: #f2e4cf !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-article {
	background: #2b2119 !important;
	border-color: #a98b6b !important;
	box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.22) !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-article::before {
	background-image:
		linear-gradient(rgba(229, 196, 139, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(229, 196, 139, 0.045) 1px, transparent 1px) !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-article__section {
	background: transparent !important;
	border-top-color: rgba(169, 139, 107, 0.62) !important;
	box-shadow: none !important;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-news-article__note {
	color: #f2e4cf !important;
	background: #33271d !important;
	border-color: #a98b6b !important;
	-webkit-text-fill-color: #f2e4cf !important;
}

@media (max-width: 900px) {
	.roberin-news-article {
		grid-template-columns: 1fr !important;
	}

	.roberin-news-article__content {
		max-width: none !important;
	}
}

@media (max-width: 767px) {
	.roberin-news-back {
		max-width: calc(100% - 10px) !important;
	}

	.roberin-news-article {
		padding: 18px 14px !important;
		box-shadow: 3px 3px 0 rgba(82, 65, 50, 0.2) !important;
	}

	.roberin-news-article__section {
		padding: 18px 0 !important;
	}

	.roberin-news-article__section h2 {
		font-size: clamp(21px, 6.7vw, 29px) !important;
	}

	.roberin-news-article__section p {
		font-size: 14px !important;
		line-height: 1.7 !important;
	}
}
