/**
 * Expert insights — stacked card grid (homepage).
 * Blog overlay cards live under .blog-page below.
 */

.section--expert-insights.section-n {
	padding-top: 64px;
	padding-bottom: 64px;
	overflow-x: clip;
	background: #fff;
}

@media (min-width: 768px) {
	.section--expert-insights.section-n {
		padding-top: 80px;
		padding-bottom: 80px;
	}
}

@media (min-width: 1280px) {
	.section--expert-insights.section-n {
		padding-top: 120px;
		padding-bottom: 120px;
	}
}

.section--expert-insights .container-n {
	position: relative;
}

.section--expert-insights .pl-big {
	padding-left: 16px;
	padding-right: 16px;
}

@media (min-width: 768px) {
	.section--expert-insights .pl-big {
		padding-left: 48px;
		padding-right: 48px;
	}
}

@media (min-width: 1280px) {
	.section--expert-insights .pl-big {
		padding-left: 80px;
		padding-right: 80px;
	}
}

@media (min-width: 1440px) {
	.section--expert-insights .pl-big {
		padding-left: 120px;
		padding-right: 120px;
	}
}

@media (max-width: 767px) {
	.section--expert-insights .pl-big {
		padding-left: 0;
		padding-right: 0;
	}
}

.section--expert-insights .skip-the-section {
	align-self: flex-start;
	opacity: 0;
	position: absolute;
	z-index: -1;
	margin-top: -56px;
	margin-left: -7px;
	transition: opacity 0.1s var(--wimira-ease);
}

.section--expert-insights .container-n:focus-within .skip-the-section:focus {
	opacity: 1;
	z-index: 2;
}

.section--expert-insights .home-eyebrow {
	margin: 0 0 24px;
}

.section--expert-insights .section__title.title-h2 {
	font-family: var(--wimira-font-heading);
	font-size: 32px;
	line-height: 1.25;
	font-weight: 500;
	color: var(--wimira-ink);
	margin: 0 0 40px;
	letter-spacing: -0.02em;
}

@media (min-width: 768px) {
	.section--expert-insights .section__title.title-h2 {
		margin-bottom: 48px;
	}
}

@media (min-width: 1280px) {
	.section--expert-insights .section__title.title-h2 {
		font-size: 40px;
		line-height: 1.2;
	}
}

/* ── Grid ── */
.section--expert-insights .news {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px 24px;
}

@media (min-width: 768px) {
	.section--expert-insights .news {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ── Stacked card ── */
.section--expert-insights .news__item {
	display: flex;
	flex-direction: column;
	position: relative;
	height: auto;
	overflow: visible;
	border-radius: 0;
	background: transparent;
	text-decoration: none;
	color: inherit;
	outline: 0;
}

.section--expert-insights .news__item:focus-visible {
	outline: 2px solid var(--wimira-red);
	outline-offset: 4px;
	border-radius: 8px;
}

.section--expert-insights .news__imageWrap {
	position: relative;
	z-index: 1;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	overflow: hidden;
	border-radius: 8px;
	clip-path: none;
	background-color: #f8f8f9;
	transition: transform 0.35s var(--wimira-ease);
}

.section--expert-insights .news__item:hover .news__imageWrap,
.section--expert-insights .news__item:focus-visible .news__imageWrap {
	transform: translateY(-2px);
}

.section--expert-insights .news__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	min-height: 0;
	object-fit: cover;
	transform: none;
	transition: transform 0.45s var(--wimira-ease);
}

.section--expert-insights .news__item:hover .news__image,
.section--expert-insights .news__item:focus-visible .news__image {
	transform: scale(1.04);
}

.section--expert-insights .news__mask {
	display: none;
}

/* ── Labels ── */
.section--expert-insights .news__labels {
	position: absolute;
	top: 12px;
	right: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
	z-index: 2;
}

@media (min-width: 768px) {
	.section--expert-insights .news__labels {
		top: 16px;
		right: 16px;
	}
}

.section--expert-insights .news__audio {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px 4px 8px;
	border: 1px solid #fff;
	border-radius: 24px;
	background-color: rgba(0, 0, 0, 0.72);
	color: #fff;
	font-family: var(--wimira-font);
	font-size: 13px;
	font-weight: 500;
	line-height: 16px;
}

.section--expert-insights .news__audio::before {
	content: "";
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.5 9.5V7C13.5 3.96243 11.0376 1.5 8 1.5C4.96243 1.5 2.5 3.96243 2.5 7V9.5' stroke='white'/%3E%3Cpath d='M4 9.5C4.27614 9.5 4.5 9.72386 4.5 10V14C4.5 14.2761 4.27614 14.5 4 14.5H2.5V9.5H4Z' stroke='white'/%3E%3Cpath d='M12 9.5C11.7239 9.5 11.5 9.72386 11.5 10V14C11.5 14.2761 11.7239 14.5 12 14.5H13.5V9.5H12Z' stroke='white'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
}

.section--expert-insights .news__type {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 10px;
	border-radius: 24px;
	background-color: #fff;
	color: var(--wimira-ink);
	font-family: var(--wimira-font);
	font-size: 13px;
	font-weight: 500;
	line-height: 16px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.section--expert-insights .news__type::after {
	content: "";
	width: 10px;
	height: 10px;
	border: 1px solid var(--wimira-ink);
	border-radius: 50%;
}

/* ── Content below image ── */
.section--expert-insights .news__info {
	position: static;
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 16px 0 0;
	background: transparent;
	color: var(--wimira-ink);
}

.section--expert-insights .news__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	margin: 0 0 20px;
	max-width: none;
	min-height: 0;
	overflow: hidden;
	font-family: var(--wimira-font);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--wimira-ink);
	transition: color 0.2s var(--wimira-ease);
}

@media (min-width: 1280px) {
	.section--expert-insights .news__title {
		font-size: 20px;
		line-height: 1.35;
	}
}

.section--expert-insights .news__item:hover .news__title,
.section--expert-insights .news__item:focus-visible .news__title {
	color: var(--wimira-red);
}

.section--expert-insights .news__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: auto;
}

.section--expert-insights .news__url {
	margin: 0;
	flex-shrink: 0;
}

.section--expert-insights .news__author-block {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	max-width: 60%;
}

.section--expert-insights .news__author-image {
	flex: 0 0 40px;
	margin-right: 10px;
}

.section--expert-insights .news__author-image img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.section--expert-insights .news__author-info {
	min-width: 0;
}

.section--expert-insights .news__author-name {
	font-family: var(--wimira-font);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--wimira-ink);
}

.section--expert-insights .news__author-position {
	font-family: var(--wimira-font);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.35;
	color: var(--wimira-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.section--expert-insights .news__all {
	margin-top: 32px;
}

@media (min-width: 1280px) {
	.section--expert-insights .news__all {
		margin-top: 40px;
	}
}

.section--expert-insights .btn-n--gray {
	background: #eef0f5;
	color: var(--wimira-ink);
}

.section--expert-insights .btn-n--gray::before,
.section--expert-insights .btn-n--gray::after {
	filter: none;
}

.section--expert-insights .btn-n--gray:hover,
.section--expert-insights .btn-n--gray:focus-visible {
	background: var(--wimira-ink);
	color: #fff;
}

.section--expert-insights .btn-n--gray:hover::before,
.section--expert-insights .btn-n--gray:hover::after,
.section--expert-insights .btn-n--gray:focus-visible::before,
.section--expert-insights .btn-n--gray:focus-visible::after {
	filter: brightness(0) invert(1);
}

/* View article link — arrow after text */
.section--expert-insights .news__url .link-n {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	position: relative;
	font-family: var(--wimira-font);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	color: var(--wimira-ink);
}

.section--expert-insights .news__url .link-n::after {
	content: "";
	flex: 0 0 10px;
	width: 10px;
	height: 10px;
	background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9L9 1M9 1H1M9 1V9' stroke='%231E1D28'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	transition: transform 0.3s var(--wimira-ease);
}

.section--expert-insights .news__item:hover .news__url .link-n::after,
.section--expert-insights .news__item:focus-visible .news__url .link-n::after {
	transform: translate(2px, -2px);
}

.section--expert-insights .skip-the-section.link-n {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	color: var(--wimira-ink);
}

@media (max-width: 767px) {
	.section--expert-insights .news__meta {
		flex-wrap: wrap;
		align-items: flex-start;
	}

	.section--expert-insights .news__author-block {
		max-width: 100%;
		order: -1;
		width: 100%;
		margin-bottom: 4px;
	}

	.section--expert-insights .news__title {
		font-size: 16px;
		margin-bottom: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.section--expert-insights .news__imageWrap,
	.section--expert-insights .news__image,
	.section--expert-insights .news__title,
	.section--expert-insights .news__url .link-n::after {
		transition: none !important;
	}

	.section--expert-insights .news__item:hover .news__image,
	.section--expert-insights .news__item:focus-visible .news__image {
		transform: none;
	}
}

/* ═══════════════════════════════════════════
   Blog page — overlay hover cards (unchanged)
   ═══════════════════════════════════════════ */

.blog-page .news {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

@media (min-width: 768px) {
	.blog-page .news {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 16px;
		row-gap: 24px;
	}
}

@media (min-width: 1920px) {
	.blog-page .news {
		row-gap: 32px;
	}
}

.blog-page .news__item {
	display: block;
	position: relative;
	height: 264px;
	overflow: hidden;
	border-radius: 8px;
	background-color: #fff;
	text-decoration: none;
	color: inherit;
	outline: 0;
}

@media (min-width: 1280px) {
	.blog-page .news__item {
		height: 320px;
	}
}

@media (min-width: 1440px) {
	.blog-page .news__item {
		height: 336px;
	}
}

@media (min-width: 1680px) {
	.blog-page .news__item {
		height: 400px;
	}
}

@media (min-width: 1920px) {
	.blog-page .news__item {
		height: 448px;
	}
}

@media (min-width: 2560px) {
	.blog-page .news__item {
		height: 640px;
	}
}

.blog-page .news__item:hover .news__info,
.blog-page .news__item:focus-visible .news__info {
	color: #fff;
	background-color: transparent;
}

.blog-page .news__item:hover .news__mask,
.blog-page .news__item:focus-visible .news__mask {
	opacity: 1;
}

.blog-page .news__item:hover .news__imageWrap,
.blog-page .news__item:focus-visible .news__imageWrap {
	clip-path: inset(0 0 0 0);
}

.blog-page .news__item:hover .link-n::before,
.blog-page .news__item:hover .link-n::after,
.blog-page .news__item:focus-visible .link-n::before,
.blog-page .news__item:focus-visible .link-n::after {
	filter: invert(1);
}

.blog-page .news__item:focus-visible .link-n {
	border-radius: 8px;
	outline: 2px solid var(--wimira-red);
	outline-offset: 1px;
}

.blog-page .news__imageWrap {
	position: relative;
	z-index: 1;
	height: 100%;
	overflow: hidden;
	clip-path: inset(0 0 100px 0);
	transition: clip-path 0.2s var(--wimira-ease);
}

@media (min-width: 768px) {
	.blog-page .news__imageWrap {
		clip-path: inset(0 0 108px 0);
	}
}

@media (min-width: 1280px) {
	.blog-page .news__imageWrap {
		clip-path: inset(0 0 136px 0);
	}
}

@media (min-width: 1920px) {
	.blog-page .news__imageWrap {
		clip-path: inset(0 0 144px 0);
	}
}

@media (min-width: 2560px) {
	.blog-page .news__imageWrap {
		clip-path: inset(0 0 184px 0);
	}
}

.blog-page .news__image {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	min-height: 100%;
	max-width: 100%;
	object-fit: cover;
	transform: translate(-50%, -50%);
	background-color: #f8f8f9;
}

.blog-page .news__mask {
	position: absolute;
	inset: 0;
	z-index: 2;
	background-color: rgba(0, 0, 0, 0.64);
	opacity: 0;
	transition: opacity 0.2s var(--wimira-ease);
}

.blog-page .news__labels {
	position: absolute;
	top: 16px;
	right: 16px;
	display: flex;
	align-items: center;
	gap: 8px;
	z-index: 2;
}

@media (min-width: 1920px) {
	.blog-page .news__labels {
		top: 24px;
		right: 24px;
	}
}

.blog-page .news__audio {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 3px 6px;
	border: 1px solid #fff;
	border-radius: 24px;
	background-color: rgba(0, 0, 0, 0.16);
	color: #fff;
	font-size: 14px;
	line-height: 16px;
}

.blog-page .news__audio::before {
	content: "";
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.5 9.5V7C13.5 3.96243 11.0376 1.5 8 1.5C4.96243 1.5 2.5 3.96243 2.5 7V9.5' stroke='white'/%3E%3Cpath d='M4 9.5C4.27614 9.5 4.5 9.72386 4.5 10V14C4.5 14.2761 4.27614 14.5 4 14.5H2.5V9.5H4Z' stroke='white'/%3E%3Cpath d='M12 9.5C11.7239 9.5 11.5 9.72386 11.5 10V14C11.5 14.2761 11.7239 14.5 12 14.5H13.5V9.5H12Z' stroke='white'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
}

@media (min-width: 1280px) {
	.blog-page .news__audio {
		font-size: 15px;
		line-height: 24px;
		padding: 1px 7px;
	}
}

@media (min-width: 1920px) {
	.blog-page .news__audio {
		font-size: 16px;
		padding: 3px 15px 3px 11px;
	}
}

@media (min-width: 2560px) {
	.blog-page .news__audio {
		font-size: 20px;
		line-height: 32px;
	}
}

.blog-page .news__type {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 4px 6px;
	border-radius: 24px;
	background-color: #fff;
	color: var(--wimira-ink);
	font-size: 14px;
	line-height: 16px;
}

.blog-page .news__type::after {
	content: "";
	width: 10px;
	height: 10px;
	border: 1px solid var(--wimira-ink);
	border-radius: 50%;
}

@media (min-width: 1280px) {
	.blog-page .news__type {
		font-size: 15px;
		line-height: 24px;
		padding: 2px 8px;
	}
}

.blog-page .news__info {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	display: grid;
	padding: 16px;
	background-color: #fff;
	color: var(--wimira-ink);
	transition: color 0.2s var(--wimira-ease), background-color 0.2s var(--wimira-ease);
}

@media (min-width: 1280px) {
	.blog-page .news__info {
		grid-template-columns: 1fr 1.3fr;
		column-gap: 16px;
	}
}

@media (min-width: 1440px) {
	.blog-page .news__info {
		grid-template-columns: 1fr 1.2fr;
		column-gap: 24px;
	}
}

@media (min-width: 1920px) {
	.blog-page .news__info {
		grid-template-columns: 1.2fr 1fr;
		row-gap: 24px;
		padding: 24px;
	}
}

@media (min-width: 2560px) {
	.blog-page .news__info {
		grid-template-columns: 1.5fr 1fr;
		column-gap: 32px;
		padding: 32px;
	}
}

.blog-page .news__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	margin: 0 0 8px;
	max-width: 400px;
	min-height: 40px;
	overflow: hidden;
	font-size: 16px;
	font-weight: 600;
	line-height: 20px;
}

@media (min-width: 1280px) {
	.blog-page .news__title {
		grid-column: span 2;
		margin-bottom: 8px;
		max-width: 480px;
		min-height: 48px;
		line-height: 24px;
	}
}

@media (min-width: 1440px) {
	.blog-page .news__title {
		max-width: 520px;
	}
}

@media (min-width: 1920px) {
	.blog-page .news__title {
		grid-column: span 1;
		max-width: 560px;
		margin-bottom: 0;
	}
}

@media (min-width: 2560px) {
	.blog-page .news__title {
		max-width: 640px;
		min-height: 64px;
	}
}

.blog-page .news__url {
	margin-top: 8px;
}

@media (min-width: 1920px) {
	.blog-page .news__url {
		margin-top: 0;
	}
}

.blog-page .news__all {
	margin-top: 24px;
}

@media (min-width: 1920px) {
	.blog-page .news__all {
		margin-top: 64px;
	}
}

@media (min-width: 2560px) {
	.blog-page .news__all {
		margin-top: 80px;
	}
}

@media (max-width: 767px) {
	.blog-page .news__item {
		height: 280px;
	}

	.blog-page .news__imageWrap {
		clip-path: inset(0 0 112px 0);
	}

	.blog-page .news__title {
		font-size: 15px;
		line-height: 20px;
		min-height: 40px;
	}
}

@media (min-width: 768px) and (max-width: 1279px) {
	.blog-page .news__info {
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		min-height: 108px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.blog-page .news__imageWrap,
	.blog-page .news__mask,
	.blog-page .news__info {
		transition: none !important;
	}
}
