/* Newsroom archive page + single item
   Colors and fonts come from theme.json presets (accent-1 = green, Denton headings, Systemia body). */

.newsroom,
.newsroom-single {
	--nr-green: var(--wp--preset--color--accent-1);
	--nr-text: var(--wp--preset--color--contrast);
	--nr-text-2: var(--wp--preset--color--neutral-3);
	--nr-surface: var(--wp--preset--color--accent-5);
	--nr-white: var(--wp--preset--color--base);
	--nr-line: var(--wp--preset--color--neutral-8);
	--nr-serif: var(--wp--preset--font-family--denton, "Denton", "Times New Roman", serif);
	--nr-sans: var(--wp--preset--font-family--systemia, "Systemia", system-ui, sans-serif);
	font-family: var(--nr-sans);
	color: var(--nr-text);
	line-height: 1.6;
}

.newsroom *,
.newsroom-single * { box-sizing: border-box; }

.newsroom p,
.newsroom-single p { margin: 0; }

.newsroom ul,
.newsroom-single ul { list-style: none; margin: 0; padding: 0; }

.newsroom [hidden],
.newsroom-single [hidden] { display: none !important; }

.newsroom .screen-reader-text,
.newsroom-single .screen-reader-text {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.newsroom a:focus-visible,
.newsroom button:focus-visible,
.newsroom input:focus-visible,
.newsroom select:focus-visible,
.newsroom-single a:focus-visible {
	outline: 2px solid var(--nr-green);
	outline-offset: 2px;
}

.newsroom__wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* Tag (shared) */
.newsroom-tag {
	display: inline-block; background: var(--nr-green); color: var(--nr-white);
	padding: 4px 10px; border-radius: 4px; font-size: 12px;
	text-transform: uppercase; letter-spacing: .02em; text-decoration: none;
}

/* Hero */
.newsroom-hero { position: relative; overflow: hidden; background: var(--nr-white); }
.newsroom-hero .newsroom__wrap { position: relative; padding-top: 28px; padding-bottom: 72px; }
.newsroom-square { display: block; width: 20px; height: 20px; background: var(--nr-green); margin: 0 0 76px; }
.newsroom-hero__tag {
	display: inline-block; background: var(--nr-green); color: var(--nr-white);
	padding: 8px 16px; border-radius: 4px; font-size: 15px;
	text-transform: uppercase; letter-spacing: .01em; margin-bottom: 36px;
}
.newsroom-hero__title {
	font-family: var(--nr-serif); font-weight: 400; font-size: 88px; line-height: 1.02;
	letter-spacing: -0.035em; margin: 0 0 24px; color: var(--nr-text);
}
.newsroom-hero__intro { font-size: 22px; line-height: 1.5; max-width: 640px; }

/* Archive */
.newsroom-archive { padding: 56px 0 40px; border-top: .5px solid var(--nr-line); }
.newsroom-archive__title {
	font-family: var(--nr-serif); font-weight: 500; font-size: 32px;
	letter-spacing: -0.01em; margin: 0 0 32px;
}

/* Filters */
.newsroom-filters {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px; margin-bottom: 48px;
}
.newsroom-field { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.newsroom-field--search { grid-column: 1 / -1; }
.newsroom-field label { font-size: 17px; font-weight: 700; line-height: 1.3; }
.newsroom-field input,
.newsroom-field select {
	width: 100%; height: 48px; font: inherit; font-size: 16px; color: var(--nr-text);
	padding: 0 14px; border: 1px solid var(--nr-text); border-radius: 3px; background-color: var(--nr-white);
}
.newsroom-field select {
	appearance: none; -webkit-appearance: none; padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231a1a1a' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 16px center;
}
.newsroom-search { position: relative; }
.newsroom-search input { padding-right: 50px; }
.newsroom-search input::-webkit-search-cancel-button { display: none; }
.newsroom-search svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--wp--preset--color--neutral-4); pointer-events: none; }

.newsroom-filters__actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; }
.newsroom-btn-apply {
	height: 48px; padding: 0 28px; background: var(--nr-white); color: var(--nr-text);
	border: 1px solid var(--nr-text); border-radius: 4px; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
}
.newsroom-btn-apply:hover { background: var(--nr-text); color: var(--nr-white); }
.newsroom-clear {
	background: none; border: 0; padding: 0; font: inherit; font-size: 15px; color: var(--nr-text);
	text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

.newsroom-count { font-size: 14px; color: var(--nr-text-2); margin: -8px 0 24px; min-height: 1.6em; }
.newsroom-empty { padding: 48px 0; text-align: center; color: var(--nr-text-2); }

/* Grid + cards */
.newsroom-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.newsroom-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.newsroom-card__media {
	display: block; aspect-ratio: 16 / 10; background: var(--wp--preset--color--neutral-6);
	margin-bottom: 20px; overflow: hidden;
}
.newsroom-card__media--placeholder { background: linear-gradient(135deg, var(--nr-green), var(--wp--preset--color--accent-2)); }
.newsroom-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.newsroom-card__meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--nr-text-2); margin-bottom: 10px; }
.newsroom-card__title {
	font-family: var(--nr-serif); font-weight: 500; font-size: 24px; line-height: 1.2;
	letter-spacing: -0.01em; margin: 0 0 12px;
}
.newsroom-card__link:hover .newsroom-card__title { text-decoration: underline; text-underline-offset: 3px; }
.newsroom-card__excerpt { font-size: 15px; line-height: 1.6; color: var(--nr-text-2); }
.newsroom-card__cats { margin-top: 12px; font-size: 13px; color: var(--nr-text-2); }
.newsroom-card__more { margin-top: auto; padding-top: 14px; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

.newsroom-load { text-align: center; margin-top: 56px; }
.newsroom-btn-outline {
	display: inline-block; background: transparent; color: var(--nr-text); border: 1px solid var(--nr-text);
	border-radius: 4px; padding: 11px 18px; font: inherit; font-size: 14px; cursor: pointer;
}
.newsroom-btn-outline:hover:not(:disabled) { background: var(--nr-text); color: var(--nr-white); }
.newsroom-btn-outline:disabled { opacity: .6; cursor: default; }

/* Subscribe */
.newsroom-subscribe { background: var(--nr-surface); margin-top: 48px; }
.newsroom-subscribe__inner {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px;
	align-items: center; padding-top: 64px; padding-bottom: 64px;
}
.newsroom-subscribe h2 { font-family: var(--nr-serif); font-weight: 500; font-size: 36px; line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 8px; }
.newsroom-subscribe__text { color: var(--nr-text-2); }
.newsroom-subscribe__inner > * { min-width: 0; }
/* No heading or intro set: the form takes the full row instead of leaving an empty column. */
.newsroom-subscribe--form-only .newsroom-subscribe__inner { grid-template-columns: minmax(0, 1fr); }

/* Marketo form. Same override approach as .insight-signup__form in _insights_single.scss:
   Marketo injects inline widths/margins and its own theme styles, so these need !important.
   Layout: email field + Submit on one row from 641px up, stacked at 640px and below. */
.newsroom-subscribe__form { width: 100%; max-width: 100%; min-width: 0; position: relative; }

.newsroom-subscribe__form .mktoForm {
	display: flex !important;
	flex-direction: row;
	align-items: flex-start;
	gap: 12px;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	font-family: var(--nr-sans) !important;
	font-size: 16px !important;
	color: var(--nr-text) !important;
}

.newsroom-subscribe__form .mktoForm style,
.newsroom-subscribe__form .mktoClear,
.newsroom-subscribe__form .mktoOffset,
.newsroom-subscribe__form .mktoGutter { display: none !important; }

.newsroom-subscribe__form .mktoFormRow,
.newsroom-subscribe__form .mktoFormCol,
.newsroom-subscribe__form .mktoFieldWrap,
.newsroom-subscribe__form fieldset {
	display: block !important;
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}
.newsroom-subscribe__form .mktoFormRow { flex: 1 1 auto; min-width: 0 !important; }

/* Label stays in the DOM for screen readers (input is aria-labelledby it) but is visually hidden */
.newsroom-subscribe__form .mktoLabel {
	position: absolute !important;
	width: 1px !important; height: 1px !important;
	margin: -1px !important; padding: 0 !important;
	overflow: hidden !important; clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important; border: 0 !important;
}

.newsroom-subscribe__form .mktoForm input.mktoField {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: 48px !important;
	margin: 0 !important;
	padding: 0 14px !important;
	font-family: var(--nr-sans) !important;
	font-size: 16px !important;
	line-height: normal !important;
	color: var(--nr-text) !important;
	background-color: var(--nr-white) !important;
	border: 1px solid var(--nr-text) !important;
	border-radius: 3px !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
}
.newsroom-subscribe__form .mktoForm input.mktoField:focus-visible {
	outline: 2px solid var(--nr-green) !important;
	outline-offset: 2px !important;
}

.newsroom-subscribe__form .mktoButtonRow {
	flex: 0 0 auto;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}
.newsroom-subscribe__form .mktoForm .mktoButtonRow .mktoButtonWrap {
	display: block !important;
	margin: 0 !important; /* Marketo sets an inline margin-left and a 40px margin-right */
}
.newsroom-subscribe__form .mktoForm .mktoButtonWrap.mktoSimple .mktoButton {
	display: block !important;
	height: 48px !important;
	padding: 0 28px !important;
	font-family: var(--nr-sans) !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	color: var(--nr-text) !important;
	background: var(--nr-white) !important;
	background-image: none !important;
	border: 1px solid var(--nr-text) !important;
	border-radius: 4px !important;
	box-shadow: none !important;
	cursor: pointer;
}
.newsroom-subscribe__form .mktoForm .mktoButtonWrap.mktoSimple .mktoButton:hover {
	color: var(--nr-white) !important;
	background: var(--nr-text) !important;
	border-color: var(--nr-text) !important;
}
.newsroom-subscribe__form .mktoForm .mktoButtonWrap.mktoSimple .mktoButton:focus-visible {
	outline: 2px solid var(--nr-green) !important;
	outline-offset: 2px !important;
}

.newsroom-subscribe__form .mktoForm .mktoError .mktoErrorMsg {
	font-family: var(--nr-sans) !important;
	font-size: 14px !important;
	max-width: 100%;
}

/* ---------- Single ---------- */
.newsroom-single { max-width: 1100px; margin: 0 auto; line-height: 1.7; }
.newsroom-single__hero { height: 130px; background: var(--wp--preset--color--neutral-6); overflow: hidden; }
.newsroom-single__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.newsroom-single__card { margin: -40px 24px 0; background: var(--nr-surface); padding: 40px 40px 36px; position: relative; }
.newsroom-single__head { display: grid; grid-template-columns: minmax(0, 1fr) .5px 260px; gap: 32px; align-items: stretch; }
.newsroom-single__divider { background: var(--wp--preset--color--neutral-7); }
.newsroom-single__title-wrap { position: relative; padding-left: 36px; }
.newsroom-single__title-wrap::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; background: var(--nr-green); }
.newsroom-single__title {
	font-family: var(--nr-serif); font-size: 40px; line-height: 1.1; font-weight: 500;
	letter-spacing: -0.02em; margin: 0 0 28px; color: var(--nr-text);
}
.newsroom-single__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 32px; font-size: 14px; }
.newsroom-single__meta .newsroom-tag { padding: 8px 16px; font-size: 14px; }
.newsroom-tag--link:hover { background: var(--nr-text); }
.newsroom-single__cats { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.newsroom-single__cats a {
	display: inline-block; font-size: 13px; line-height: 1.3; padding: 5px 12px;
	border: 1px solid var(--nr-text); border-radius: 4px; color: var(--nr-text); text-decoration: none;
}
.newsroom-single__cats a:hover { background: var(--nr-text); color: var(--nr-surface); }

.newsroom-contacts { background: var(--nr-white); border-radius: 8px; padding: 16px 16px 18px; }
.newsroom-contacts h2 { font-family: var(--nr-sans); font-size: 15px; font-weight: 500; margin: 0 0 16px; line-height: 1.3; }
.newsroom-contact { display: flex; gap: 10px; align-items: flex-start; }
.newsroom-contact + .newsroom-contact { border-top: .5px solid var(--wp--preset--color--neutral-7); margin-top: 16px; padding-top: 16px; }
.newsroom-contact__icon {
	width: 22px; height: 22px; border-radius: 4px; background: var(--nr-surface);
	display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.newsroom-contact__name { font-size: 15px; font-weight: 500; line-height: 1.3; }
.newsroom-contact__role { font-size: 11px; font-weight: 500; text-transform: uppercase; color: var(--nr-text-2); margin: 2px 0 8px; line-height: 1.3; }
.newsroom-contact__line { font-size: 13px; line-height: 1.6; }
.newsroom-contact__line a { color: inherit; }

.newsroom-share__label { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; margin: 18px 0 8px; line-height: 1.3; }
.newsroom-share { display: flex; gap: 8px; }
.newsroom-share a {
	width: 28px; height: 28px; border: 1px solid var(--nr-text); border-radius: 50%;
	display: flex; align-items: center; justify-content: center; color: var(--nr-text); text-decoration: none;
}
.newsroom-share a:hover { background: var(--nr-text); color: var(--nr-surface); }

.newsroom-single__body { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 48px; padding: 48px 40px 64px; }
.newsroom-single__body.no-toc { grid-template-columns: minmax(0, 1fr); }
.newsroom-toc { display: flex; flex-direction: column; gap: 14px; font-size: 14px; align-self: start; position: sticky; top: 100px; }
.newsroom-toc a { color: var(--nr-text); text-decoration: none; line-height: 1.4; }
.newsroom-toc a:hover { text-decoration: underline; }
.newsroom-article { max-width: 720px; }
.newsroom-article p:not(.wp-block-sikich-v2-cta *) { font-size: 18px; line-height: 1.7; margin: 0 0 1.1rem; }
.newsroom-article h2 { font-family: var(--nr-sans); font-size: 22px; font-weight: 500; line-height: 1.3; margin: 2rem 0 .6rem; scroll-margin-top: 100px; }
.newsroom-article strong { font-weight: 500; }

/* Block content inside the article (all scoped to .newsroom-article) */
.newsroom-article > *:first-child { margin-top: 0; }
.newsroom-article a:not(.wp-block-sikich-v2-cta *) { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.newsroom-article h3:not(.wp-block-sikich-v2-cta *) { font-family: var(--nr-sans); font-size: 19px; font-weight: 500; line-height: 1.35; margin: 1.6rem 0 .5rem; scroll-margin-top: 100px; }

.newsroom-article ul:not(.wp-block-sikich-v2-cta *),
.newsroom-article ol:not(.wp-block-sikich-v2-cta *) { margin: 0 0 1.1rem; padding-left: 1.4em; font-size: 18px; line-height: 1.7; }
.newsroom-article ul:not(.wp-block-sikich-v2-cta *) { list-style: disc; }
.newsroom-article ol:not(.wp-block-sikich-v2-cta *) { list-style: decimal; }
.newsroom-article li:not(.wp-block-sikich-v2-cta *) { margin: 0 0 .35rem; padding-left: 0; }
.newsroom-article li:not(.wp-block-sikich-v2-cta *)::before { content: none; }

.newsroom-article small { font-size: 13px; line-height: 1.5; color: var(--nr-text-2); }

.newsroom-article figure { margin: 1.6rem 0; }
.newsroom-article img:not(.wp-block-sikich-v2-cta *) { max-width: 100%; height: auto; }
.newsroom-article figcaption { font-size: 14px; line-height: 1.5; color: var(--nr-text-2); margin-top: .5rem; }
.newsroom-article iframe { max-width: 100%; }

.newsroom-article .wp-block-table { overflow-x: auto; margin: 1.6rem 0; }
.newsroom-article table { width: 100%; border-collapse: collapse; font-size: 16px; }
.newsroom-article th,
.newsroom-article td { padding: 10px 12px; border-bottom: 1px solid var(--nr-line); text-align: left; }
.newsroom-article th { font-weight: 500; }

.newsroom-article blockquote { margin: 1.8rem 0; padding: 0 0 0 20px; border-left: 4px solid var(--nr-green); }
.newsroom-article blockquote p { font-family: var(--nr-serif); font-size: 22px; line-height: 1.4; margin: 0 0 .6rem; }
.newsroom-article blockquote cite { display: block; font-style: normal; font-size: 14px; color: var(--nr-text-2); }

.newsroom-article hr,
.newsroom-article .wp-block-separator { border: 0; border-top: 1px solid var(--nr-line); margin: 2rem 0; }

.newsroom-article .wp-block-sikich-v2-cta { margin: 2rem 0; max-width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.newsroom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.newsroom-hero__title { font-size: 68px; }
	.newsroom-single__head { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.newsroom-single__divider { height: .5px; }
	.newsroom-single__body { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 28px 24px 48px; }
	.newsroom-toc {
		position: static; flex-direction: row; flex-wrap: wrap; gap: 8px 20px;
		padding-bottom: 16px; border-bottom: .5px solid var(--nr-line);
	}
}

@media (max-width: 640px) {
	.newsroom__wrap { padding: 0 20px; }
	.newsroom-hero .newsroom__wrap { padding-top: 20px; padding-bottom: 44px; }
	.newsroom-square { width: 16px; height: 16px; margin-bottom: 44px; }
	.newsroom-hero__tag { font-size: 13px; margin-bottom: 24px; }
	.newsroom-hero__title { font-size: 46px; margin-bottom: 16px; }
	.newsroom-hero__intro { font-size: 18px; }
	.newsroom-archive { padding: 40px 0 24px; }
	.newsroom-archive__title { font-size: 26px; margin-bottom: 24px; }
	.newsroom-filters { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 36px; }
	.newsroom-field label { font-size: 16px; }
	.newsroom-filters__actions { gap: 20px; }
	.newsroom-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.newsroom-card__title { font-size: 22px; }
	.newsroom-subscribe__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 44px; padding-bottom: 44px; }
	.newsroom-subscribe h2 { font-size: 28px; }
	.newsroom-subscribe__form .mktoForm { flex-direction: column; align-items: stretch; }
	.newsroom-subscribe__form .mktoButtonRow,
	.newsroom-subscribe__form .mktoForm .mktoButtonWrap.mktoSimple .mktoButton { width: 100% !important; }
}

@media (max-width: 600px) {
	.newsroom-single__hero { height: 90px; }
	.newsroom-single__card { margin: -28px 12px 0; padding: 24px 16px 22px; }
	.newsroom-single__title-wrap { padding-left: 28px; }
	.newsroom-single__title-wrap::before { width: 12px; height: 12px; top: 5px; }
	.newsroom-single__title { font-size: 26px; margin-bottom: 18px; }
	.newsroom-single__meta { gap: 10px 16px; font-size: 13px; }
	.newsroom-single__body { padding: 20px 16px 40px; }
	.newsroom-article p { font-size: 16px; }
	.newsroom-article h2 { font-size: 20px; }
}
