/* RGMI page — extends main site theme (../assets/css/style.css) */

.rgmi-page .rgmi-subnav {
	background: #fff;
	border-bottom: 3px solid #68c3a3;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
	position: sticky;
	top: 0;
	z-index: 997;
}

.rgmi-page .rgmi-subnav-inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	justify-content: space-between;
	min-height: 72px;
	padding: 12px 0;
}

.rgmi-page .rgmi-subnav-brand {
	align-items: center;
	display: flex;
	flex: 1 1 320px;
	gap: 18px;
	min-width: 0;
}

.rgmi-page .rgmi-subnav-logo {
	background: transparent;
	flex-shrink: 0;
	line-height: 0;
}

.rgmi-page .rgmi-subnav-logo img {
	background: transparent;
	display: block;
	height: 46px;
	width: auto;
}

.rgmi-page .rgmi-subnav-sep {
	background: linear-gradient(180deg, transparent, #d8d8d8 20%, #d8d8d8 80%, transparent);
	flex-shrink: 0;
	height: 46px;
	width: 1px;
}

.rgmi-page .rgmi-wordmark {
	display: flex;
	flex-direction: column;
	gap: 5px;
	line-height: 1;
	min-width: 0;
	text-decoration: none;
}

.rgmi-page .rgmi-wordmark:hover .rgmi-wordmark-mi {
	color: #52b3d9;
}

.rgmi-page .rgmi-wordmark:hover .rgmi-wordmark-tag {
	color: #555;
}

.rgmi-page .rgmi-wordmark-name {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 0.22em;
	line-height: 1;
	text-transform: uppercase;
}

.rgmi-page .rgmi-wordmark-rg {
	color: #2c3e50;
}

.rgmi-page .rgmi-wordmark-mi {
	color: #68c3a3;
	transition: color 0.2s ease;
}

.rgmi-page .rgmi-wordmark-rule {
	background: linear-gradient(90deg, #68c3a3 0%, #52b3d9 100%);
	border-radius: 2px;
	height: 3px;
	margin: 1px 0 2px;
	max-width: 72px;
	width: 100%;
}

.rgmi-page .rgmi-wordmark-tag {
	color: #888;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.11em;
	line-height: 1.35;
	text-transform: uppercase;
	transition: color 0.2s ease;
}

.rgmi-page .rgmi-subnav-toggle {
	background: #f7f7f7;
	border: 1px solid #e8e8e8;
	border-radius: 3px;
	color: #2c3e50;
	display: none;
	font-size: 13px;
	font-weight: 700;
	padding: 8px 14px;
	text-transform: uppercase;
}

.rgmi-page .rgmi-subnav-toggle i {
	margin-right: 6px;
}

.rgmi-page .rgmi-subnav-menu {
	display: flex;
	flex: 1 1 100%;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rgmi-page .rgmi-subnav-menu > li > a {
	border: 1px solid transparent;
	border-radius: 30px;
	color: #555;
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	padding: 10px 18px;
	text-decoration: none;
	text-transform: uppercase;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.rgmi-page .rgmi-subnav-menu > li > a:hover,
.rgmi-page .rgmi-subnav-menu > li.active > a {
	background: #68c3a3;
	border-color: #68c3a3;
	color: #fff;
}

.rgmi-page .rgmi-hero {
	min-height: 520px;
	overflow: hidden;
	padding: 0;
	position: relative;
}

.rgmi-page .rgmi-hero-bg {
	background-attachment: fixed;
	background-position: center 35%;
	background-repeat: no-repeat;
	background-size: cover;
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	transform: scale(1.03);
}

.rgmi-page .rgmi-hero-overlay {
	background: linear-gradient(105deg, rgba(26, 30, 35, 0.92) 0%, rgba(26, 30, 35, 0.78) 48%, rgba(26, 30, 35, 0.35) 100%);
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.rgmi-page .rgmi-hero .container {
	position: relative;
	z-index: 2;
}

.rgmi-page .rgmi-hero-content {
	padding: 110px 0 90px;
}

.rgmi-page .rgmi-hero-badge {
	border-left: 4px solid #68c3a3;
	color: #68c3a3;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	margin-bottom: 22px;
	padding-left: 14px;
	text-transform: uppercase;
}

.rgmi-page .rgmi-hero-title {
	color: #fff;
	font-size: 48px;
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: 0;
	max-width: 720px;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
	text-transform: none;
}

.rgmi-page .rgmi-hero-sub {
	color: rgba(255, 255, 255, 0.88);
	font-size: 16px;
	line-height: 1.6;
	margin-top: 20px;
	max-width: 620px;
}

.rgmi-page .rgmi-hero-actions {
	margin-top: 32px;
}

.rgmi-page .rgmi-hero-actions .btn {
	margin: 0 12px 12px 0;
}

.rgmi-page .rgmi-hero-actions .btn i {
	margin-right: 8px;
}

.rgmi-page .rgmi-research-showcase {
	background: #fff;
	border: 1px solid #eee;
	border-left: 5px solid #68c3a3;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
	margin-bottom: 20px;
	padding: 40px 36px 10px;
}

.rgmi-page .rgmi-visual-card {
	margin: 0;
	position: relative;
}

.rgmi-page .rgmi-visual-frame {
	border-radius: 4px;
	box-shadow: 0 16px 40px rgba(44, 62, 80, 0.18);
	overflow: hidden;
	position: relative;
}

.rgmi-page .rgmi-visual-frame::before {
	border: 2px solid rgba(104, 195, 163, 0.55);
	border-radius: 4px;
	bottom: 12px;
	content: '';
	left: 12px;
	pointer-events: none;
	position: absolute;
	right: 12px;
	top: 12px;
	z-index: 2;
}

.rgmi-page .rgmi-visual-frame img {
	display: block;
	height: 340px;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

.rgmi-page .rgmi-visual-tag {
	background: rgba(26, 30, 35, 0.82);
	border-radius: 30px;
	bottom: 18px;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	left: 18px;
	letter-spacing: 0.06em;
	padding: 8px 14px;
	position: absolute;
	text-transform: uppercase;
	z-index: 3;
}

.rgmi-page .rgmi-visual-tag i {
	color: #68c3a3;
	margin-right: 6px;
}

.rgmi-page .rgmi-visual-card figcaption {
	color: #777;
	font-size: 13px;
	font-style: italic;
	line-height: 1.6;
	margin-top: 16px;
	padding-left: 4px;
}

.rgmi-page .rgmi-alt {
	background-color: #f7f7f7;
}

.rgmi-page .rgmi-copy p {
	color: #555;
	margin-bottom: 16px;
}

.rgmi-page .rgmi-lead {
	border-left: 3px solid #52b3d9;
	color: #282828;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.65;
	margin-bottom: 18px;
	padding-left: 16px;
}

.rgmi-page .cloud-label {
	color: #999;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin-bottom: 28px;
	text-align: center;
	text-transform: uppercase;
}

.rgmi-page .cloud {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	justify-content: center;
	margin: 0 auto;
	max-width: 900px;
	text-align: center;
}

.rgmi-page .cloud span {
	display: inline-block;
	line-height: 1.25;
}

.rgmi-page .w-xl {
	color: #2c3e50;
	font-size: 28px;
	font-weight: 700;
}

.rgmi-page .w-lg {
	color: #2c3e50;
	font-size: 22px;
	font-weight: 700;
}

.rgmi-page .w-md {
	font-size: 16px;
	font-weight: 500;
}

.rgmi-page .w-sm {
	color: #777;
	font-size: 14px;
}

.rgmi-page .c-red { color: #e74c3c; }
.rgmi-page .c-blue { color: #52b3d9; }
.rgmi-page .c-green { color: #68c3a3; }

.rgmi-page .band {
	height: 240px;
	overflow: hidden;
	position: relative;
}

.rgmi-page .band-bg {
	background-attachment: fixed;
	background-position: center 55%;
	background-repeat: no-repeat;
	background-size: cover;
	bottom: 0;
	left: 0;
	opacity: 0.42;
	position: absolute;
	right: 0;
	top: 0;
}

.rgmi-page .band-overlay {
	background: linear-gradient(
		180deg,
		#f7f7f7 0%,
		rgba(247, 247, 247, 0.55) 18%,
		rgba(255, 255, 255, 0.72) 50%,
		rgba(255, 255, 255, 0.55) 82%,
		#fff 100%
	);
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.rgmi-page .group-label {
	color: #68c3a3;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin: 50px 0 28px;
	text-align: center;
	text-transform: uppercase;
}

.rgmi-page .group-label:first-of-type {
	margin-top: 0;
}

.rgmi-page .people {
	display: grid;
	gap: 36px 28px;
	justify-content: center;
}

.rgmi-page .p2 {
	grid-template-columns: repeat(2, minmax(0, 340px));
}

.rgmi-page .p3 {
	grid-template-columns: repeat(3, minmax(0, 320px));
}

.rgmi-page .p3 > .person:last-child:nth-child(3n+1) {
	grid-column: 2;
}

.rgmi-page .person {
	text-align: center;
}

.rgmi-page .person img {
	border: 4px solid #fff;
	border-radius: 50%;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	height: 150px;
	margin: 0 auto 18px;
	object-fit: cover;
	width: 150px;
}

.rgmi-page .person h3 {
	color: #2c3e50;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 6px;
	text-transform: none;
}

.rgmi-page .person-role {
	color: #68c3a3;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 6px;
}

.rgmi-page .person-mail {
	color: #999;
	display: inline-block;
	font-size: 13px;
	margin-bottom: 10px;
	text-decoration: none;
}

.rgmi-page .person-mail:hover {
	color: #68c3a3;
	text-decoration: underline;
}

.rgmi-page .person-bio {
	color: #555;
	font-size: 13px;
	line-height: 1.65;
}

.rgmi-page .topic,
.rgmi-page .pub {
	border-bottom: 1px solid #eee;
	display: grid;
	gap: 24px;
	grid-template-columns: 190px 1fr;
	padding: 32px 0;
}

.rgmi-page .topic:first-of-type,
.rgmi-page .pub:first-of-type {
	border-top: 1px solid #eee;
}

.rgmi-page .topic-side,
.rgmi-page .pub-side {
	color: #999;
	font-size: 13px;
	line-height: 1.7;
}

.rgmi-page .topic-side .vn,
.rgmi-page .pub-side .vn {
	color: #2c3e50;
	display: block;
	font-weight: 700;
}

.rgmi-page .topic-list {
	display: grid;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rgmi-page .topic-list li {
	color: #555;
	font-size: 14px;
	line-height: 1.55;
	padding-left: 18px;
	position: relative;
}

.rgmi-page .topic-list li::before {
	background: #68c3a3;
	border-radius: 50%;
	content: '';
	height: 6px;
	left: 0;
	position: absolute;
	top: 0.62em;
	width: 6px;
}

.rgmi-page .pub h3 {
	color: #2c3e50;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 8px;
	text-transform: none;
}

.rgmi-page .pub-auth {
	color: #999;
	font-size: 13px;
	margin-bottom: 10px;
}

.rgmi-page .pub-abs {
	color: #555;
	font-size: 14px;
	margin-bottom: 10px;
	max-width: 720px;
}

.rgmi-page .pub-metrics {
	color: #999;
	font-size: 13px;
}

.rgmi-page .pub-metrics b {
	color: #282828;
	font-weight: 700;
}

.rgmi-page .footer-wrapper .rgmi-fi-logo {
	background: transparent;
	display: inline-block;
	line-height: 0;
}

.rgmi-page .rgmi-fi-logo img {
	background: transparent;
	height: 42px;
	width: auto;
}

.rgmi-page .footer-wrapper .rgmi-fi-logo img {
	height: 36px;
}

@media (min-width: 768px) {
	.rgmi-page .rgmi-subnav-menu {
		flex: 0 1 auto;
	}

	.rgmi-page .rgmi-subnav-menu.collapse {
		display: flex !important;
		height: auto !important;
		overflow: visible !important;
	}
}

@media (max-width: 767px) {
	.rgmi-page .rgmi-hero {
		min-height: 460px;
	}

	.rgmi-page .rgmi-hero-bg {
		background-attachment: scroll;
	}

	.rgmi-page .rgmi-hero-content {
		padding: 80px 0 70px;
	}

	.rgmi-page .rgmi-hero-title {
		font-size: 32px;
	}

	.rgmi-page .rgmi-research-showcase {
		padding: 28px 22px 8px;
	}

	.rgmi-page .rgmi-visual-frame img {
		height: 260px;
	}

	.rgmi-page .band-bg {
		background-attachment: scroll;
		opacity: 0.36;
	}

	.rgmi-page .band {
		height: 200px;
	}

	.rgmi-page .rgmi-subnav-inner {
		align-items: stretch;
	}

	.rgmi-page .rgmi-subnav-toggle {
		display: inline-block;
		margin-left: auto;
	}

	.rgmi-page .rgmi-subnav-brand {
		flex: 1 1 auto;
	}

	.rgmi-page .rgmi-subnav-sep {
		height: 38px;
	}

	.rgmi-page .rgmi-wordmark-name {
		font-size: 20px;
		letter-spacing: 0.16em;
	}

	.rgmi-page .rgmi-wordmark-tag {
		font-size: 9px;
		letter-spacing: 0.08em;
	}

	.rgmi-page .rgmi-subnav-menu {
		flex-direction: column;
		justify-content: flex-start;
		width: 100%;
	}

	.rgmi-page .rgmi-subnav-menu > li > a {
		border-radius: 4px;
		text-align: center;
	}

	.rgmi-page .rgmi-subnav-logo img {
		height: 38px;
	}
}

.rgmi-page .rgmi-footer-note {
	color: #ccc;
	font-size: 13px;
	line-height: 1.8;
	margin-top: 12px;
}

.rgmi-page .footer-wrapper h4 {
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 12px;
	text-transform: uppercase;
}

.rgmi-page .rgmi-footer-links a {
	color: #68c3a3;
	display: block;
	font-size: 13px;
	margin-bottom: 6px;
}

.rgmi-page .rgmi-footer-links a:hover {
	color: #fff;
}

@media (max-width: 991px) {
	.rgmi-page .rgmi-hero-title {
		font-size: 32px;
		margin-bottom: 30px;
	}

	.rgmi-page .p3 {
		grid-template-columns: repeat(2, minmax(0, 320px));
	}
}

@media (max-width: 767px) {
	.rgmi-page .topic,
	.rgmi-page .pub {
		grid-template-columns: 1fr;
	}

	.rgmi-page .p2,
	.rgmi-page .p3 {
		grid-template-columns: minmax(0, 400px);
	}

	.rgmi-page .w-xl { font-size: 22px; }
	.rgmi-page .w-lg { font-size: 18px; }
}
