/* P10 News pilot: shared IWUT design-system surface for the archive. */
:root {
	--iwut-news-navy: #16295A;
	--iwut-news-navy-deep: #0A1024;
	--iwut-news-turquoise: #12938C;
	--iwut-news-turquoise-deep: #0E7C77;
	--iwut-news-gold: #C0A165;
	--iwut-news-gold-deep: #8E7233;
	--iwut-news-paper: #F6F7FA;
	--iwut-news-line: #D8DDE8;
}

body.page-id-15432 {
	background: var(--iwut-news-paper);
	color: var(--iwut-news-navy-deep);
}

body.page-id-15432 main.wp-block-group {
	width: min(calc(100% - clamp(40px, 6vw, 112px)), 1760px);
	margin-inline: auto;
	padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px);
}

body.page-id-15432 main.wp-block-group > :is(.wp-block-post-content, .entry-content),
body.page-id-15432 .wp-block-post-content > .entry-content {
	width: 100%;
	max-width: 1760px !important;
}

body.page-id-15432 main.wp-block-group > .wp-block-post-title {
	position: relative;
	display: grid;
	place-items: center;
	min-height: clamp(230px, 28vw, 330px);
	margin: 0 0 clamp(34px, 5vw, 58px);
	padding: clamp(42px, 6vw, 78px) 24px;
	overflow: hidden;
	background: var(--iwut-news-navy);
	color: #fff;
	font-size: clamp(42px, 7vw, 88px);
	line-height: 1;
	letter-spacing: -.035em;
	text-align: center;
	box-shadow: 0 18px 38px rgba(10,16,36,.16);
}

body.page-id-15432 main.wp-block-group > .wp-block-post-title::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--iwut-news-turquoise);
	-webkit-mask: url("patterns/girih/girih-strap-interlace.svg") center / 112px 112px repeat;
	mask: url("patterns/girih/girih-strap-interlace.svg") center / 112px 112px repeat;
	opacity: .065;
	pointer-events: none;
}

body.page-id-15432 main.wp-block-group > .wp-block-post-title::after {
	content: "";
	position: absolute;
	left: 50%;
	top: calc(50% + 62px);
	width: 110px;
	height: 3px;
	margin: 0;
	background: var(--iwut-news-gold);
	transform: translateX(-50%);
	box-shadow: 0 0 0 1px rgba(192,161,101,.18);
}

body.page-id-15432 main.wp-block-group > .wp-block-post-title { isolation: isolate; }
body.page-id-15432 main.wp-block-group > .wp-block-post-title > * { position: relative; z-index: 1; }

body.page-id-15432 .news-type-filters {
	justify-content: center;
	gap: 8px;
	margin: 0 auto clamp(28px, 4vw, 48px);
	padding: 8px;
	width: fit-content;
	max-width: 100%;
	border: 1px solid var(--iwut-news-line);
	background: #fff;
}

body.page-id-15432 .news-type-filter {
	position: relative;
	border: 0;
	padding: 11px 18px;
	color: var(--iwut-news-navy);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	transition: color 180ms cubic-bezier(.4,0,.2,1), background-color 180ms cubic-bezier(.4,0,.2,1), transform 120ms ease;
}

body.page-id-15432 .news-type-filter::after {
	content: "";
	position: absolute;
	inset-inline: 18px;
	bottom: 5px;
	height: 1px;
	background: var(--iwut-news-gold);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 240ms cubic-bezier(.65,0,.35,1);
}

body.page-id-15432 .news-type-filter:hover,
body.page-id-15432 .news-type-filter:focus-visible,
body.page-id-15432 .news-type-filter.is-active {
	background: var(--iwut-news-turquoise);
	color: #fff;
}

body.page-id-15432 .news-type-filter:hover::after,
body.page-id-15432 .news-type-filter:focus-visible::after,
body.page-id-15432 .news-type-filter.is-active::after { transform: scaleX(1); }
body.page-id-15432 .news-type-filter:active { transform: translateY(1px); }

body.page-id-15432 .news-grid { max-width: none; margin: 0; }
body.page-id-15432 .news-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.4vw, 32px);
}

body.page-id-15432 .news-card {
	position: relative;
	display: flex;
	min-height: 100%;
	aspect-ratio: auto;
	background: #fff;
	border: 1px solid var(--iwut-news-line);
	box-shadow: 0 8px 24px rgba(10,16,36,.06);
	transition: transform 240ms cubic-bezier(.2,.8,.2,1), box-shadow 240ms cubic-bezier(.2,.8,.2,1), border-color 180ms ease;
}

body.page-id-15432 .news-card::before {
	content: "";
	position: absolute;
	inset-inline-start: -1px;
	top: 0;
	width: 3px;
	height: 0;
	background: var(--iwut-news-turquoise);
	transition: height 240ms cubic-bezier(.2,.8,.2,1);
}

body.page-id-15432 .news-card:hover,
body.page-id-15432 .news-card:focus-within {
	border-color: var(--iwut-news-turquoise);
	box-shadow: 0 16px 34px rgba(10,16,36,.12);
	transform: translateY(-4px);
}
body.page-id-15432 .news-card:hover::before,
body.page-id-15432 .news-card:focus-within::before { height: 100%; }
body.page-id-15432 .news-card-im,
body.page-id-15432 .news-card-placeholder { position: relative; inset: auto; aspect-ratio: 16 / 10; flex: 0 0 auto; }
body.page-id-15432 .news-card-im img { transition: transform 320ms cubic-bezier(.2,.8,.2,1); }
body.page-id-15432 .news-card:hover .news-card-im img { transform: scale(1.025); }
body.page-id-15432 .news-card-copy {
	position: relative;
	inset: auto;
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px 20px 24px;
	background: #fff;
	color: var(--iwut-news-navy-deep);
}
body.page-id-15432 .news-card-copy time { margin-bottom: 10px; color: var(--iwut-news-turquoise-deep); font-size: 12px; letter-spacing: .04em; }
body.page-id-15432 .news-card-copy h3 { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; }
body.page-id-15432 .news-card-copy a { color: inherit; }
body.page-id-15432 .news-card-placeholder { background: var(--iwut-news-navy); color: var(--iwut-news-gold); }
body.page-id-15432 .news-card-placeholder::before { width: 170px; height: 170px; border-color: rgba(192,161,101,.45); }
body.page-id-15432 .news-empty {
	margin: 0 auto;
	padding: 64px 24px;
	border: 1px solid var(--iwut-news-line);
	background: #fff;
	color: var(--iwut-news-navy);
	text-align: center;
}

@media (max-width: 900px) {
	body.page-id-15432 .news-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1600px) {
	body.page-id-15432 .news-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	body.page-id-15432 main.wp-block-group { width: min(100% - 24px, 1200px); padding-block: 32px 64px; }
	body.page-id-15432 main.wp-block-group > .wp-block-post-title { min-height: 190px; margin-bottom: 28px; padding-inline: 18px; font-size: clamp(42px, 15vw, 64px); }
	body.page-id-15432 main.wp-block-group > .wp-block-post-title::after { top: calc(50% + 46px); width: 82px; }
	body.page-id-15432 .news-type-filters { width: 100%; }
	body.page-id-15432 .news-type-filter { flex: 1 1 auto; padding-inline: 8px; font-size: 13px; }
	body.page-id-15432 .news-card-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (hover: none) {
	body.page-id-15432 .news-card:hover { transform: none; box-shadow: 0 8px 24px rgba(10,16,36,.06); }
	body.page-id-15432 .news-card:hover .news-card-im img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	body.page-id-15432 .news-card,
	body.page-id-15432 .news-card-im img,
	body.page-id-15432 .news-type-filter,
	body.page-id-15432 .news-type-filter::after { transition-duration: .01ms; }
	body.page-id-15432 .news-card:hover,
	body.page-id-15432 .news-card:hover .news-card-im img { transform: none; }
}
