.ig-portal-main {
	background: var(--ig-paper);
}

.ig-hero {
	position: relative;
	padding: 76px 0 70px;
	background:
		radial-gradient(circle at 82% 22%, rgba(237, 155, 40, 0.18), transparent 22%),
		radial-gradient(circle at 4% 90%, rgba(12, 110, 115, 0.12), transparent 28%),
		linear-gradient(135deg, #f2f9f7 0%, #fbfcfb 55%, #fff8ed 100%);
	border-bottom: 1px solid var(--ig-line);
	overflow: hidden;
}

.ig-hero::after {
	content: "";
	position: absolute;
	right: -90px;
	top: -130px;
	width: 350px;
	height: 350px;
	border: 1px solid rgba(12, 110, 115, 0.12);
	border-radius: 50%;
	box-shadow: 0 0 0 46px rgba(12, 110, 115, 0.035), 0 0 0 92px rgba(12, 110, 115, 0.025);
	pointer-events: none;
}

.ig-hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
	gap: 58px;
	align-items: center;
}

.ig-eyebrow,
.ig-section-kicker {
	margin: 0 0 11px;
	color: var(--ig-teal);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.ig-hero h1 {
	max-width: 780px;
	margin: 0;
	color: var(--ig-ink);
	font-size: clamp(40px, 4.7vw, 58px);
	font-weight: 820;
	line-height: 1.25;
	letter-spacing: -0.048em;
}

.ig-hero-lead {
	max-width: 690px;
	margin: 24px 0 29px;
	color: var(--ig-ink-soft);
	font-size: 18px;
	line-height: 1.8;
}

.ig-hero-search {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	max-width: 720px;
	padding: 7px;
	background: var(--ig-white);
	border: 1px solid #cadbd8;
	border-radius: 15px;
	box-shadow: 0 14px 36px rgba(16, 45, 63, 0.1);
}

.ig-search-symbol {
	display: grid;
	place-items: center;
	width: 44px;
	color: var(--ig-teal-dark);
	font-size: 28px;
	line-height: 1;
}

.ig-hero-search input {
	min-width: 0;
	height: 52px;
	padding: 0 12px 0 2px;
	background: transparent;
	color: var(--ig-ink);
	font-size: 15px;
	border: 0;
	outline: 0;
}

.ig-hero-search input::placeholder {
	color: #84949b;
}

.ig-hero-search button {
	height: 48px;
	padding: 0 24px;
	background: var(--ig-teal);
	color: var(--ig-white);
	font-size: 14px;
	font-weight: 800;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	transition: background 160ms ease, transform 160ms ease;
}

.ig-hero-search button:hover {
	background: var(--ig-teal-dark);
	transform: translateY(-1px);
}

.ig-search-hints {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 13px;
	margin-top: 14px;
	color: var(--ig-muted);
	font-size: 12px;
}

.ig-search-hints a {
	color: var(--ig-ink-soft);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: #b9cecb;
	text-underline-offset: 3px;
}

.ig-hero-panel {
	position: relative;
	padding: 29px;
	background: var(--ig-ink);
	color: var(--ig-white);
	border-radius: var(--ig-radius-lg);
	box-shadow: 0 22px 54px rgba(16, 45, 63, 0.2);
	overflow: hidden;
}

.ig-hero-panel::before {
	content: "";
	position: absolute;
	right: -42px;
	top: -52px;
	width: 150px;
	height: 150px;
	background: rgba(237, 155, 40, 0.15);
	border-radius: 50%;
}

.ig-panel-kicker {
	position: relative;
	margin: 0 0 19px;
	color: #f6c77f;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.ig-hero-panel ul {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ig-hero-panel li {
	display: grid;
	grid-template-columns: 34px 1fr;
	align-items: center;
	gap: 12px;
	padding: 13px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ig-hero-panel li span {
	color: #f6c77f;
	font-size: 11px;
	font-weight: 800;
}

.ig-hero-panel li strong {
	font-size: 14px;
	font-weight: 680;
}

.ig-panel-note {
	position: relative;
	margin: 19px 0 0;
	color: #a9c1c8;
	font-size: 11px;
	line-height: 1.65;
}

.ig-trust-row {
	background: var(--ig-white);
	border-bottom: 1px solid var(--ig-line);
}

.ig-trust-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ig-trust-grid > div {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 83px;
	padding: 15px 20px;
	border-right: 1px solid var(--ig-line);
}

.ig-trust-grid > div:first-child {
	border-left: 1px solid var(--ig-line);
}

.ig-trust-grid strong {
	color: var(--ig-teal-dark);
	font-size: 18px;
	font-weight: 850;
}

.ig-trust-grid span {
	color: var(--ig-muted);
	font-size: 12px;
	line-height: 1.4;
}

.ig-section {
	padding: 82px 0;
}

.ig-section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 30px;
}

.ig-section-heading h2,
.ig-source-card h2 {
	margin: 0;
	color: var(--ig-ink);
	font-size: clamp(29px, 4vw, 42px);
	line-height: 1.28;
	letter-spacing: -0.035em;
}

.ig-section-heading > p {
	max-width: 440px;
	margin: 0;
	color: var(--ig-muted);
	font-size: 14px;
}

.ig-category-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.ig-category-card {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	min-height: 94px;
	padding: 18px;
	background: var(--ig-white);
	color: var(--ig-ink);
	text-decoration: none;
	border: 1px solid var(--ig-line);
	border-radius: 15px;
	box-shadow: 0 4px 16px rgba(16, 45, 63, 0.035);
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ig-category-card:hover {
	transform: translateY(-3px);
	color: var(--ig-ink);
	border-color: #bad4d0;
	box-shadow: var(--ig-shadow);
}

.ig-category-mark {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	background: var(--ig-teal-soft);
	color: var(--ig-teal-dark);
	font-size: 13px;
	font-weight: 850;
	letter-spacing: -0.02em;
	border-radius: 13px;
}

.ig-category-card:nth-child(2n) .ig-category-mark {
	background: var(--ig-saffron-soft);
	color: #935e0c;
}

.ig-category-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.ig-category-copy strong {
	font-size: 15px;
	font-weight: 790;
}

.ig-category-copy small {
	margin-top: 2px;
	color: var(--ig-muted);
	font-size: 11px;
}

.ig-card-arrow {
	color: #9babad;
	font-size: 17px;
	transition: transform 160ms ease;
}

.ig-category-card:hover .ig-card-arrow {
	transform: translateX(3px);
	color: var(--ig-teal);
}

.ig-popular-section {
	background: var(--ig-ink);
}

.ig-heading-light h2 {
	color: var(--ig-white);
}

.ig-heading-light .ig-section-kicker {
	color: #f4be6b;
}

.ig-section-link {
	color: #d5e5e8;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.ig-section-link:hover {
	color: var(--ig-white);
}

.ig-popular-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: rgba(255, 255, 255, 0.11);
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 18px;
	overflow: hidden;
}

.ig-popular-card {
	display: grid;
	grid-template-columns: 50px minmax(0, 1fr);
	gap: 18px;
	min-height: 175px;
	padding: 30px;
	background: #14394c;
}

.ig-popular-number {
	color: rgba(255, 255, 255, 0.2);
	font-size: 28px;
	font-weight: 850;
	line-height: 1;
}

.ig-card-category {
	display: inline-block;
	margin-bottom: 9px;
	color: #f5c77d;
	font-size: 11px;
	font-weight: 800;
	text-decoration: none;
}

.ig-popular-card h3 {
	margin: 0 0 12px;
	font-size: 19px;
	line-height: 1.55;
}

.ig-popular-card h3 a {
	color: var(--ig-white);
	text-decoration: none;
}

.ig-popular-card h3 a:hover {
	color: #f7d8a8;
}

.ig-card-meta {
	color: #92abb3;
	font-size: 11px;
}

.ig-latest-section {
	background: var(--ig-white);
}

.ig-latest-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 21px;
}

.ig-latest-grid .post-card {
	background: #fbfcfc;
}

.ig-section-action {
	display: flex;
	justify-content: center;
	margin-top: 34px;
}

.ig-primary-button,
.ig-secondary-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 48px;
	padding: 10px 20px;
	font-size: 13px;
	font-weight: 820;
	text-decoration: none;
	border-radius: 10px;
}

.ig-primary-button {
	background: var(--ig-teal);
	color: var(--ig-white);
}

.ig-primary-button:hover {
	background: var(--ig-teal-dark);
	color: var(--ig-white);
}

.ig-source-section {
	padding-top: 70px;
	padding-bottom: 78px;
}

.ig-source-card {
	display: grid;
	grid-template-columns: 70px minmax(0, 1fr) auto;
	align-items: center;
	gap: 28px;
	padding: 34px;
	background: linear-gradient(135deg, #eaf5f3, #fff7e9);
	border: 1px solid #d8e6e2;
	border-radius: 20px;
}

.ig-source-mark {
	display: grid;
	place-items: center;
	width: 66px;
	height: 66px;
	background: var(--ig-white);
	color: var(--ig-teal);
	font-size: 27px;
	font-weight: 900;
	border: 1px solid #d8e6e2;
	border-radius: 50%;
	box-shadow: 0 8px 24px rgba(16, 45, 63, 0.08);
}

.ig-source-card h2 {
	font-size: clamp(24px, 3vw, 34px);
}

.ig-source-card p:not(.ig-section-kicker) {
	max-width: 750px;
	margin: 10px 0 0;
	color: var(--ig-ink-soft);
	font-size: 14px;
}

.ig-secondary-button {
	background: var(--ig-white);
	color: var(--ig-ink);
	border: 1px solid #c7d9d6;
}

.ig-secondary-button:hover {
	color: var(--ig-teal-dark);
	border-color: var(--ig-teal);
}

@media (max-width: 1024px) {
	.ig-hero-grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
		gap: 34px;
	}

	.ig-hero h1 {
		font-size: 46px;
	}

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

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

	.ig-source-card {
		grid-template-columns: 60px minmax(0, 1fr);
	}

	.ig-source-card .ig-secondary-button {
		grid-column: 2;
		justify-self: start;
	}
}

@media (max-width: 767px) {
	.ig-hero {
		padding: 50px 0 46px;
	}

	.ig-hero::after {
		display: none;
	}

	.ig-hero-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.ig-hero h1 {
		font-size: 36px;
		line-height: 1.25;
	}

	.ig-hero-lead {
		margin: 18px 0 22px;
		font-size: 16px;
	}

	.ig-hero-search {
		grid-template-columns: auto minmax(0, 1fr);
		padding: 5px;
	}

	.ig-hero-search input {
		height: 48px;
		font-size: 13px;
	}

	.ig-hero-search button {
		grid-column: 1 / -1;
		width: 100%;
		height: 45px;
	}

	.ig-hero-panel {
		padding: 24px;
	}

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

	.ig-trust-grid > div {
		align-items: flex-start;
		flex-direction: column;
		gap: 1px;
		min-height: 92px;
		border-bottom: 1px solid var(--ig-line);
	}

	.ig-section {
		padding: 58px 0;
	}

	.ig-section-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
		margin-bottom: 23px;
	}

	.ig-section-heading h2 {
		font-size: 31px;
	}

	.ig-category-grid,
	.ig-popular-grid,
	.ig-latest-grid {
		grid-template-columns: 1fr;
	}

	.ig-category-card {
		min-height: 84px;
		padding: 15px;
	}

	.ig-popular-card {
		min-height: auto;
		padding: 24px 20px;
	}

	.ig-source-section {
		padding-top: 46px;
		padding-bottom: 52px;
	}

	.ig-source-card {
		grid-template-columns: 1fr;
		gap: 18px;
		padding: 24px;
	}

	.ig-source-card .ig-secondary-button {
		grid-column: auto;
	}
}
