/* Nautilus gated resources (/resources/) — matches the blog archive look: dark hero, Salt body, white cards. */
.ngr {
	--ngr-ink: #21232c;
	--ngr-slate: #31485d;
	--ngr-orange: #dd8b2c;
	--ngr-blue: #0691f7;
	--ngr-salt: #eef0f3;
	--ngr-muted: #55606d;
	width: 100%;
	font-family: Krub, sans-serif;
}
.ngr *,
.ngr *::before,
.ngr *::after { box-sizing: border-box; }
.ngr-wrap { max-width: 1280px; margin: 0 auto; padding: 0 30px; }

/* Hero */
.ngr .ngr-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 396px;
	padding: 140px 0 56px;
	background: var(--ngr-ink) var(--ngr-hero) center / cover no-repeat;
	color: #fff;
}
.ngr .ngr-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(33, 35, 44, .85) 40%, rgba(33, 35, 44, .25) 80%);
}
.ngr .ngr-hero .ngr-wrap { position: relative; width: 100%; }
.ngr .ngr-title {
	margin: 0;
	max-width: 900px;
	font-family: Jost, sans-serif;
	font-size: clamp(36px, 5vw, 60px);
	font-weight: 300;
	line-height: 1.12;
	color: #fff;
}
.ngr .ngr-sub { margin: 12px 0 0; font-family: Jost, sans-serif; font-size: 24px; font-weight: 300; color: var(--ngr-orange); }
.ngr .ngr-eyebrow {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--ngr-orange);
}
.ngr .ngr-crumb {
	display: inline-block;
	margin-bottom: 18px;
	font-size: 13px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
	opacity: .85;
}
.ngr .ngr-crumb::before { content: "\2190\00a0"; }
.ngr .ngr-crumb:hover,
.ngr .ngr-crumb:focus-visible { opacity: 1; text-decoration: underline; }

/* Body band */
.ngr .ngr-body { background: var(--ngr-salt); color: var(--ngr-ink); padding: 56px 0 80px; }

/* Buttons */
.ngr .ngr-btn {
	display: inline-block;
	padding: 10px 20px;
	border: 1px solid var(--ngr-orange);
	background: transparent;
	color: var(--ngr-ink);
	font-family: Krub, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.6px;
	line-height: 1.4;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .2s, color .2s;
}
.ngr .ngr-btn:hover,
.ngr .ngr-btn:focus-visible { background: var(--ngr-orange); color: var(--ngr-ink); }
.ngr .ngr-btn--solid { background: var(--ngr-orange); padding: 14px 26px; font-size: 13px; }
.ngr .ngr-btn--solid:hover,
.ngr .ngr-btn--solid:focus-visible { background: var(--ngr-ink); color: #fff; border-color: var(--ngr-ink); }

/* Archive grid: 3 / 2 / 1 like the blog */
.ngr .ngr-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ngr .ngr-tile {
	display: flex;
	flex-direction: column;
	margin: 0;
	background: #fff;
	box-shadow: 2px 1px 4px 1px rgba(0, 0, 0, .26);
}
.ngr .ngr-tile__media { display: block; aspect-ratio: 16 / 10; background: var(--ngr-slate); overflow: hidden; }
.ngr .ngr-tile__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ngr .ngr-tile__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px 20px 24px; }
.ngr .ngr-tile__type { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ngr-muted); }
.ngr .ngr-tile .ngr-tile__title,
.ngr .ngr-tile .ngr-tile__title a {
	margin: 0 0 12px;
	font-family: Jost, sans-serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 28px;
	letter-spacing: normal;
	text-transform: none;
}
.ngr .ngr-tile .ngr-tile__title a { margin: 0; color: var(--ngr-ink); text-decoration: none; }
.ngr .ngr-tile__title a:hover,
.ngr .ngr-tile__title a:focus-visible { text-decoration: underline; }
.ngr .ngr-tile__text { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--ngr-ink); }
.ngr .ngr-tile .ngr-btn { margin-top: auto; }
.ngr .ngr-empty { margin: 0; font-size: 18px; }

/* Single */
.ngr .ngr-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	grid-template-areas:
		"lead card"
		"media card"
		"content card";
	grid-template-rows: auto auto 1fr;
	column-gap: 56px;
	row-gap: 32px;
	align-items: start;
}
.ngr .ngr-lead { grid-area: lead; font-size: 19px; line-height: 1.65; }
.ngr .ngr-lead p { margin: 0 0 1em; }
.ngr .ngr-lead p:last-child { margin-bottom: 0; }
.ngr .ngr-media { grid-area: media; margin: 0; }
.ngr .ngr-media img { display: block; width: 100%; height: auto; box-shadow: 2px 1px 4px 1px rgba(0, 0, 0, .26); }
.ngr .ngr-content { grid-area: content; font-size: 16px; line-height: 1.7; }
.ngr .ngr-content h2,
.ngr .ngr-content h3 { font-family: Jost, sans-serif; font-weight: 400; color: var(--ngr-ink); }
.ngr .ngr-content h2 { margin: 1.6em 0 .5em; font-size: 28px; line-height: 1.25; }
.ngr .ngr-content h3 { margin: 1.4em 0 .4em; font-size: 22px; line-height: 1.3; }
.ngr .ngr-content > :first-child { margin-top: 0; }
.ngr .ngr-content p { margin: 0 0 1em; }
.ngr .ngr-content ol,
.ngr .ngr-content ul { margin: 0 0 1em; padding-left: 1.4em; }
.ngr .ngr-content li { margin-bottom: .35em; }
.ngr .ngr-content a { color: #0a63a8; }
.ngr .ngr-content ul { padding-left: 1.2em; }

.ngr .ngr-card {
	grid-area: card;
	position: sticky;
	top: 110px;
	padding: 30px 30px 26px;
	background: #fff;
	border-top: 4px solid var(--ngr-orange);
	box-shadow: 2px 1px 4px 1px rgba(0, 0, 0, .26);
}
.ngr .ngr-card__title { margin: 0 0 8px; font-family: Jost, sans-serif; font-size: 28px; font-weight: 400; line-height: 1.2; color: var(--ngr-ink); }
.ngr .ngr-card__text { margin: 0 0 8px; font-size: 15px; color: var(--ngr-muted); }
.ngr .ngr-card__alert { margin: 0 0 12px; padding: 10px 12px; background: #fff4e5; border-left: 3px solid var(--ngr-orange); font-size: 14px; }

/* Gravity Forms inside the card */
.ngr .ngr-card .gform_wrapper.gravity-theme .gfield_label,
.ngr .ngr-card .gform_wrapper .gfield_label { font-family: Krub, sans-serif; font-size: 14px; font-weight: 600; color: var(--ngr-ink); }
.ngr .ngr-card .gform_wrapper .ginput_complex label,
.ngr .ngr-card .gform_wrapper .gform-field-label--type-sub { font-size: 13px; color: var(--ngr-muted); }
.ngr .ngr-card .gform_wrapper input[type="text"],
.ngr .ngr-card .gform_wrapper input[type="email"] {
	width: 100%;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid #b7c0ca;
	border-radius: 0;
	background: #fff;
	color: var(--ngr-ink);
	font-size: 16px;
}
.ngr .ngr-card .gform_wrapper input:focus { outline: 2px solid var(--ngr-blue); outline-offset: 1px; border-color: var(--ngr-blue); }
.ngr .ngr-card .gform_wrapper .gfield_consent_label,
.ngr .ngr-card .gform_wrapper .gfield--type-consent label { font-size: 14px; line-height: 1.5; color: var(--ngr-ink); }
.ngr .ngr-card .gform_wrapper .gfield_description { font-size: 13px; color: var(--ngr-muted); }
.ngr .ngr-card .gform_wrapper .gfield_consent_description,
.ngr .ngr-card .gform_wrapper .gfield_consent_description_text {
	max-height: none !important;
	margin-top: 6px;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	overflow: visible !important;
	font-size: 13px;
	line-height: 1.5;
}
.ngr .ngr-card .gform_wrapper .gfield_consent_description_text { margin-top: 0; }
.ngr .ngr-card .gform_wrapper .gfield_description a,
.ngr .ngr-card .gform_wrapper .gfield_consent_description a {
	color: #0a63a8;
	font-size: inherit;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: underline;
}
.ngr .ngr-card .gform_wrapper .gform_footer { margin-top: 8px; padding-top: 8px; }
.ngr .ngr-card .gform_wrapper .gform_footer input[type="submit"],
.ngr .ngr-card .gform_wrapper .gform_footer button {
	width: 100% !important;
	min-height: 48px;
	padding: 14px 20px;
	border: 1px solid var(--ngr-orange) !important;
	border-radius: 0 !important;
	background: var(--ngr-orange) !important;
	color: var(--ngr-ink) !important;
	font-family: Krub, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	cursor: pointer;
}
.ngr .ngr-card .gform_wrapper .gform_footer input[type="submit"]:hover,
.ngr .ngr-card .gform_wrapper .gform_footer input[type="submit"]:focus-visible {
	background: var(--ngr-ink) !important;
	border-color: var(--ngr-ink) !important;
	color: #fff !important;
}
.ngr .ngr-card .ngr-prefill-note { margin: 0 0 4px; font-size: 13px; color: var(--ngr-muted); }
.ngr .ngr-card .ngr-prefill-note button {
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: #0a63a8 !important;
	font: inherit !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-decoration: underline !important;
	cursor: pointer;
}

/* Confirmation */
.ngr .ngr-done { padding: 6px 0 0; }
.ngr .ngr-done__title { margin: 0 0 16px; font-family: Jost, sans-serif; font-size: 22px; color: var(--ngr-ink); }
.ngr .ngr-done .ngr-btn { display: block; text-align: center; }
.ngr .ngr-done__note { margin: 14px 0 0; font-size: 14px; color: var(--ngr-muted); }

@media (max-width: 1024px) {
	.ngr .ngr-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ngr .ngr-grid { grid-template-columns: minmax(0, 1fr) 360px; column-gap: 32px; }
}
@media (max-width: 767px) {
	.ngr-wrap { padding: 0 16px; }
	.ngr .ngr-hero { min-height: 0; padding: 110px 0 36px; }
	.ngr .ngr-sub { font-size: 20px; }
	.ngr .ngr-body { padding: 32px 0 56px; }
	.ngr .ngr-cards { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.ngr .ngr-grid {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "lead" "card" "media" "content";
		grid-template-rows: auto;
		row-gap: 28px;
	}
	.ngr .ngr-lead { font-size: 17px; }
	.ngr .ngr-card { position: static; padding: 24px 20px 20px; }
	.ngr .ngr-card__title { font-size: 24px; }
}
