:root {
	--iic-blue: #9613ad;
	--iic-cyan: #9613ad;
	--iic-text: #1a2b3e;
	--iic-muted: #5e758d;
	--iic-card-radius: 16px;
	--iic-card-border: rgba(0, 57, 143, 0.12);
	--iic-card-shadow: 0 10px 24px rgba(0, 57, 143, 0.06);
	--iic-card-shadow-hover: 0 16px 34px rgba(0, 57, 143, 0.14);
}

.insights-main {
	background: #fff;
	padding: 10px 0 var(--iaai-section-gap, clamp(3rem, 5.5vw, 5.5rem));
}

.insights-container {
	width: min(1280px, calc(100% - 40px));
	margin: 0 auto;
}

.insights-hero {
	text-align: left;
	max-width: 1550px;
	margin: 0 auto;
}

.insights-hero h1 {
	font-family: 'Popins-Bold';
	font-size: clamp(2rem, 4vw, 3.1rem);
	color: #e704b5;
	margin: 0 0 16px;
	letter-spacing: 0.02em;
}

.insights-hero p {
	font-family: 'Popins-Light';
	font-size: 18px;
	line-height: 1.8;
	color: #fff;
	margin: 0;
	max-width: 980px;
}

.insights-section {
	margin-top: var(--iaai-section-gap, clamp(3rem, 5.5vw, 5.5rem));
}

.insights-section > h1.title:first-of-type {
	margin-top: 0 !important;
}

.insights-news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px 20px;
}

/* Two-up newsroom layout — full width of .insights-container (matches IIC reference) */
.insights-news-grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 28px;
	width: 100%;
	max-width: none;
	margin: 22px 0 0;
}

.insights-news-card .insights-card-content > h3:first-of-type {
	margin-bottom: 8px;
}

.insights-news-card .insights-card-content > h3 + .insights-meta {
	margin-top: 0;
	margin-bottom: 14px;
}

.insights-card {
	background: #fff;
	border: 1px solid var(--iic-card-border);
	border-radius: var(--iic-card-radius);
	box-shadow: var(--iic-card-shadow);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.insights-card:hover {
	transform: translateY(-4px);
	border-color: var(--iic-cyan);
	box-shadow: var(--iic-card-shadow-hover);
}

.insights-news-card {
	border: 0;
	box-shadow: none;
	border-radius: 0;
	display: flex;
	flex-direction: column;
}

.insights-news-card:hover {
	transform: none;
	border-color: transparent;
	box-shadow: none;
}

.insights-news-card .insights-card-thumb {
	width: 100%;
	aspect-ratio: 348 / 163;
	background: #f2f6ff;
}

.insights-news-card .insights-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.insights-card-content {
	padding: 16px 0 0;
}

.insights-news-card .insights-card-content {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.insights-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #757575;
	font-family: 'Popins-Regular';
	font-size: 18px;
	margin-bottom: 10px;
}

.insights-news-card .insights-card-content h3 {
	font-size: 22px;
	font-family: 'Popins-Bold';
	line-height: 1.25;
	margin-bottom: 10px;
	color: #111111;
}

.insights-news-card .insights-card-content p {
	font-size: 18px;
	font-family: 'Popins-Light';
	line-height: 1.65;
	color: #1c1c1c;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.insights-news-card .insights-actions {
	margin-top: auto;
	padding-top: 18px;
}

.insights-news-card .insights-btn {
	min-width: 122px;
	padding: 10px 24px;
	font-size: 15px;
	line-height: 1;
}

.insights-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	padding: 12px 22px;
	font-family: 'Popins-Medium';
	font-size: 15px;
	text-decoration: none;
	border: 1px solid var(--iic-cyan);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	user-select: none;
}

.insights-btn-primary {
	background: var(--iic-cyan);
	color: #fff;
}

.insights-btn-primary:hover {
	background: #9613ad;
	border-color: #9613ad;
}

.insights-btn-secondary {
	background: #fff;
	color: var(--iic-cyan);
}

.insights-btn-secondary:hover {
	background: var(--iic-cyan);
	color: #fff;
}

.insights-interview-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px 22px;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}

.insights-interview-item {
	display: grid;
	gap: 12px;
	text-decoration: none;
	color: inherit;
}

.insights-interview-thumb {
	border-radius: var(--iic-card-radius);
	overflow: hidden;
	border: 1px solid var(--iic-card-border);
	box-shadow: var(--iic-card-shadow);
	background: #f2f6ff;
}

.insights-interview-thumb img {
	width: 100%;
	height: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

.insights-interview-title {
	font-family: 'Popins-Bold';
	font-size: 22px;
	line-height: 1.35;
	color: #13253b;
}

.insights-interview-meta {
	display: grid;
	gap: 4px;
	color: var(--iic-muted);
	font-family: 'Popins-Regular';
	font-size: 18px;
}

.insights-section .insights-bottom-cta {
	margin-top: 22px;
	display: flex;
	justify-content: center;
}

.insights-upcoming-buttons {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 22px;
}

.insights-upcoming-buttons .insights-btn {
	min-width: 320px;
}

.insights-split-grid {
	display: grid;
	gap: 22px;
}

/* Flat layout: no outer card frame (overrides base .insights-card shadow/border) */
.insights-card.insights-split-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	align-items: start;
	border: none;
	box-shadow: none;
	border-radius: 0;
	background: transparent;
	overflow: visible;
}

.insights-card.insights-split-card:hover {
	transform: none;
	border-color: transparent;
	box-shadow: none;
}

.insights-split-media {
	width: 100%;
	border-radius: 14px;
	overflow: hidden;
	border: none;
	box-shadow: none;
	background: #f2f6ff;
}

.insights-split-media img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	aspect-ratio: 16 / 9;
}

.insights-split-content {
	padding-top: 2px;
	padding-bottom: 28px;
}

.insights-split-title {
	font-size: 22px;
	font-family: 'Popins-Bold';
	line-height: 1.3;
	color: #13253b;
	margin: 0 0 10px;
}

.insights-split-date {
	font-size: 18px;
	font-family: 'Popins-Regular';
	color: var(--iic-muted);
	margin-bottom: 12px;
}

.insights-split-body {
	font-size: 18px;
	font-family: 'Popins-Light';
	line-height: 1.75;
	color: #4b5563;
	margin: 0;
}

.insights-split-actions {
	margin-top: 18px;
}

@media (max-width: 1100px) {
	.insights-news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.insights-split-card {
		grid-template-columns: 1fr;
	}

	.insights-interview-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.insights-news-grid,
	.insights-interview-grid {
		grid-template-columns: 1fr;
	}

	.insights-container {
		width: calc(100% - 26px);
	}

	.insights-section {
		margin-top: var(--iaai-section-gap, 2.75rem);
	}

	.insights-upcoming-buttons .insights-btn {
		min-width: 100%;
	}
}

.insights-article-page {
	width: min(1120px, calc(100% - 42px));
	margin: 42px auto 0;
	background: #fff;
	padding: 16px 0 88px;
}

.insights-article-inner {
	width: min(780px, 100%);
	margin: 0 auto;
}

.insights-article-tag {
	font-family: 'Popins-Bold';
	font-size: 45px;
	color: #9613ad;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.insights-article-title {
	font-family: 'Popins-Bold';
	font-size: 35px;
	line-height: 1.22;
	color: #101010;
	margin: 0 0 14px;
}

.insights-article-intro {
	font-family: 'Popins-Light';
	font-size: 18px;
	line-height: 1.55;
	color: #525252;
	margin: 0 0 18px;
}

.insights-article-image {
	width: 100%;
	display: block;
	margin: 0 0 18px;
	border-radius: 14px;
	border: 1px solid var(--iic-card-border);
	box-shadow: var(--iic-card-shadow);
}

.insights-article-section-title {
	font-family: 'Popins-Bold';
	font-size: 18px;
	line-height: 1.35;
	color: #161616;
	margin: 0 0 10px;
}

.insights-article-text {
	font-family: 'Popins-Light';
	font-size: 18px;
	line-height: 1.72;
	color: #1f1f1f;
	margin: 0 0 18px;
}

/* Article footer — LinkedIn / YouTube (match szwgroup IIC detail layout: icon + label, one row) */
.insights-follow-us {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 36px;
	row-gap: 12px;
	margin: 8px 0 22px;
}

.insights-follow-us-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	font-family: 'Popins-Medium', 'Popins-Light', sans-serif;
	font-size: 15px;
	line-height: 1;
	font-weight: 500;
	color: #0a66c2;
}

.insights-follow-us-link:hover {
	text-decoration: underline;
	color: #004182;
}

.insights-follow-us-link:focus-visible {
	outline: 2px solid #0a66c2;
	outline-offset: 3px;
}

.insights-follow-us-link img {
	width: 32px;
	height: 32px;
	object-fit: contain;
	flex-shrink: 0;
	border-radius: 6px;
	display: block;
}

.insights-follow-us-label {
	position: relative;
	top: 0.5px;
}

.insights-article-links {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin: 18px 0 24px;
}

.insights-article-links a {
	color: var(--iic-blue);
	font-family: 'Popins-Bold';
	font-size: 16px;
	text-decoration: none;
}

.insights-cta-row {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 18px;
}

.insights-cta-row .insights-btn {
	flex: 1;
	min-width: 260px;
}

@media (max-width: 720px) {
	.insights-article-page {
		margin-top: 24px;
		width: calc(100% - 26px);
	}

	.insights-article-title {
		font-size: 28px;
	}

	.insights-article-tag {
		font-size: 30px;
	}

	.insights-cta-row .insights-btn {
		min-width: 100%;
	}
}

.insights-register-page {
	width: min(1120px, calc(100% - 42px));
	margin: 42px auto 0;
	background: #fff;
	padding: 16px 0 88px;
}

.insights-register-inner {
	width: min(760px, 100%);
	margin: 0 auto;
}

.insights-register-tag {
	font-family: 'Popins-Bold';
	font-size: 45px;
	color: #9613ad;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.insights-register-title {
	font-family: 'Popins-Bold';
	font-size: 35px;
	line-height: 1.22;
	color: #101010;
	margin: 0 0 14px;
}

.insights-register-text {
	font-family: 'Popins-Light';
	font-size: 18px;
	line-height: 1.72;
	color: #1f1f1f;
	margin: 0 0 18px;
}

.insights-register-panel {
	margin: 24px 0 28px;
	padding: 28px 30px;
	border: 1px solid var(--iic-card-border);
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(242,246,255,0.98));
	box-shadow: var(--iic-card-shadow);
}

.insights-register-panel h2 {
	font-family: 'Popins-Bold';
	font-size: 22px;
	color: var(--iic-text);
	margin: 0 0 10px;
}

.insights-register-panel p {
	font-family: 'Popins-Regular';
	font-size: 16px;
	line-height: 1.75;
	color: #4b5563;
	margin: 0;
}

.insights-register-apply {
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid rgba(0, 57, 143, 0.1);
}

.insights-register-apply h2 {
	font-family: 'Popins-Bold';
	font-size: 18px;
	line-height: 1.35;
	color: #161616;
	margin: 0 0 14px;
	text-transform: uppercase;
}

@media (max-width: 720px) {
	.insights-register-page {
		margin-top: 24px;
		width: calc(100% - 26px);
	}

	.insights-register-tag {
		font-size: 30px;
	}

	.insights-register-title {
		font-size: 28px;
	}

	.insights-register-panel {
		padding: 22px 18px;
	}
}

/* Webinar registration page — aligned with IAAI iic-insights.css */
.page-webinar-register .insights-article-page-wide {
	width: min(1280px, calc(100% - 42px));
}

.page-webinar-register .insights-article-inner-wide {
	width: min(1040px, 100%);
}

.insights-webinar-register-iframe {
	width: 100%;
	height: 760px;
	border: 0;
	border-radius: 12px;
}

.insights-webinar-register-wrap {
	position: relative;
}

.insights-webinar-video {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.insights-webinar-video video {
	width: min(100%, 860px);
	display: block;
	aspect-ratio: 16 / 9;
	max-height: min(72vh, 640px);
	border: 0;
	border-radius: 4px;
	background: #000;
	box-shadow: none;
}

.webinar-video-open {
	overflow: hidden;
}

.insights-webinar-modal[hidden] {
	display: none !important;
}

.insights-webinar-modal {
	position: fixed;
	inset: 0;
	z-index: 2100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 36px;
}

.insights-webinar-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(30, 30, 30, 0.78);
}

.insights-webinar-modal-dialog {
	position: relative;
	z-index: 1;
	width: min(1180px, calc(100vw - 72px));
	min-height: min(72vh, 640px);
	padding: 56px 34px 28px;
	border-radius: 18px;
	background: #000000;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.insights-webinar-modal-title {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.insights-webinar-modal-close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.02);
	color: #ffffff;
	font-size: 30px;
	line-height: 1;
	font-weight: 300;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.insights-webinar-modal-close:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.4);
	transform: scale(1.04);
}

.insights-webinar-modal-close:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

.insights-webinar-apply {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid rgba(0, 57, 143, 0.1);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.insights-webinar-apply p {
	margin: 0;
	font-family: 'Popins-Bold';
	color: var(--iic-text);
	font-size: 18px;
	line-height: 1.4;
}

.insights-webinar-apply .insights-btn {
	min-width: 180px;
}

@media (max-width: 720px) {
	.insights-webinar-register-iframe {
		height: 620px;
	}

	.insights-webinar-modal {
		padding: 14px;
	}

	.insights-webinar-modal-dialog {
		width: min(100%, calc(100vw - 20px));
		min-height: auto;
		padding: 44px 12px 12px;
		border-radius: 14px;
	}

	.insights-webinar-video video {
		width: 100%;
		max-height: 56vh;
		border-radius: 4px;
	}

	.insights-webinar-modal-close {
		top: 8px;
		right: 8px;
		width: 40px;
		height: 40px;
		font-size: 28px;
	}
}
