/*
Theme Name: ER Card
Description: ER Card child theme for GeneratePress.
Author: ER Card
Version: 1.0.0
Template: generatepress
Text Domain: er-card
*/

:root {
	--er-ink: var(--contrast, #152452);
	--er-muted: var(--contrast-2, #4d5a72);
	--er-border: #dfe4ee;
	--er-surface: var(--base-2, #f3f5f8);
	--er-canvas: var(--base-3, #fdfdfe);
	--er-red: var(--accent, #de1c1f);
	--er-font: var(--gp-font--schibsted-grotesk), sans-serif;
}

body,
button,
input,
select,
textarea {
	font-family: var(--er-font);
}

.er-utility-bar,
.er-masthead,
.er-site-footer {
	font-family: var(--er-font);
}

.er-utility-bar {
	min-height: 36px;
	background: var(--er-surface);
	border-bottom: 1px solid var(--er-border);
}

.er-utility-bar > .wp-block-navigation,
.er-utility-bar > .wp-block-group__inner-container,
.er-masthead > .er-masthead-inner,
.er-masthead > .wp-block-group__inner-container,
.er-footer-inner {
	width: min(100% - 48px, 1280px);
	margin-inline: auto;
}

.er-utility-nav {
	min-height: 36px;
	justify-content: flex-end;
	font-size: 13px;
	font-weight: 600;
}

.er-utility-nav .wp-block-navigation__container {
	gap: 24px;
}

.er-utility-nav a,
.er-primary-nav a,
.er-footer-nav a {
	color: var(--er-ink);
	text-decoration: none;
}

.er-utility-nav a:hover,
.er-primary-nav a:hover,
.er-footer-nav a:hover {
	color: var(--er-red);
}

.er-masthead {
	background: var(--er-canvas);
	border-bottom: 1px solid var(--er-border);
}

.er-masthead-inner {
	min-height: 96px;
	display: flex;
	align-items: center;
	gap: 28px;
}

.er-header-logo {
	flex: 0 0 auto;
	width: 240px;
	margin: 0;
}

.er-header-logo img {
	width: 100%;
	height: auto;
}

.er-primary-nav {
	margin-left: auto;
	font-size: 16px;
	font-weight: 600;
}

.er-primary-nav .wp-block-navigation__container {
	gap: clamp(14px, 1.8vw, 28px);
}

.er-header-actions,
.er-header-actions .wp-block-button {
	margin: 0;
}

.er-header-actions .wp-block-button .wp-block-button__link.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	min-width: 92px;
	padding: 10px 24px;
	border-radius: 999px;
	background: var(--er-ink);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}

.er-header-actions .wp-block-button .wp-block-button__link.wp-element-button:hover {
	background: var(--er-red);
	color: #fff;
}

.er-site-footer {
	padding-top: 64px;
	background: var(--er-surface);
	border-top: 1px solid var(--er-border);
	color: var(--er-ink);
}

.er-footer-columns > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: minmax(280px, 2.7fr) minmax(140px, 1fr) minmax(240px, 1.55fr) minmax(150px, 1fr);
	gap: 16px;
	align-items: start;
}

.er-footer-logo {
	position: relative;
	width: 160px;
	height: 95px;
	margin-bottom: 24px;
}

.er-footer-logo .wp-block-image {
	position: absolute;
	margin: 0;
}

.er-logo-card { inset: 75.86% 0 0 35.32%; }
.er-logo-the { inset: 0 39.18% 82.65% 27.82%; }
.er-logo-er { inset: 5.08% 7.85% 11.09% 0; }

.er-footer-logo .wp-block-image img {
	width: 100%;
	height: 100%;
}

.er-footer-tagline {
	max-width: 408px;
	margin: 0;
	color: var(--er-muted);
	font-size: 16px;
	line-height: 1.625;
}

.er-footer-overline {
	margin: 0 0 16px;
	color: var(--er-muted);
	font-size: 13px;
	font-weight: 600;
	line-height: 16px;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.er-footer-nav {
	font-size: 16px;
	line-height: 1.625;
}

.er-footer-nav .wp-block-navigation__container {
	align-items: flex-start;
	gap: 8px;
}

.er-footer-access .er-access-card + .er-access-card {
	margin-top: 12px;
}

.er-access-card {
	padding: 12px 16px;
	border: 1px solid var(--er-border);
	border-radius: 16px;
	background: var(--er-canvas);
}

.er-access-title,
.er-access-subtitle {
	margin: 0;
}

.er-access-title {
	font-size: 15px;
	font-weight: 600;
	line-height: 20px;
}

.er-access-subtitle {
	color: var(--er-muted);
	font-size: 13px;
	line-height: 18px;
}

.er-footer-legal > .wp-block-group__inner-container {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-top: 64px;
	padding: 32px 0;
	border-top: 1px solid var(--er-border);
	font-size: 15px;
	line-height: 23px;
}

.er-footer-legal p { margin: 0; }
.er-copyright { color: var(--er-muted); }

.er-utility-bar a:focus-visible,
.er-masthead a:focus-visible,
.er-site-footer a:focus-visible,
.er-masthead button:focus-visible {
	outline: 3px solid var(--er-red);
	outline-offset: 3px;
}

/* GenerateBlocks Navigation renders WordPress menus without core Navigation's list styles. */
.er-utility-inner > .wp-block-group__inner-container,
.er-masthead-inner > .wp-block-group__inner-container {
	width: min(100% - 48px, 1280px);
	margin-inline: auto;
}
.er-utility-inner > .wp-block-group__inner-container {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	min-height: 36px;
}
.er-masthead-inner > .wp-block-group__inner-container {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 96px;
}
.er-utility-nav .gb-menu,
.er-primary-nav .gb-menu,
.er-footer-nav .gb-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}
.er-utility-nav .gb-menu,
.er-primary-nav .gb-menu {
	display: flex;
	align-items: center;
}
.er-utility-nav .gb-menu { gap: 24px; }
.er-primary-nav .gb-menu { gap: 4px; }
.er-primary-nav .gb-menu-link { display: block; padding: 8px 12px; }
.er-footer-nav .gb-menu { display: flex; flex-direction: column; gap: 8px; }
.er-utility-nav .gb-menu-link,
.er-primary-nav .gb-menu-link,
.er-footer-nav .gb-menu-link {
	color: var(--er-ink);
	text-decoration: none;
}
.er-utility-nav .gb-menu-link:hover,
.er-primary-nav .gb-menu-link:hover,
.er-footer-nav .gb-menu-link:hover { color: var(--er-red); }
.er-utility-nav .gb-menu-link:focus-visible,
.er-primary-nav .gb-menu-link:focus-visible,
.er-footer-nav .gb-menu-link:focus-visible,
.er-primary-nav .gb-menu-toggle:focus-visible {
	outline: 3px solid var(--er-red);
	outline-offset: 3px;
}
.er-primary-nav .gb-menu-toggle { display: none; }

@media (max-width: 1023px) {
	.er-masthead-inner > .wp-block-group__inner-container { min-height: 80px; }
	.er-header-logo { width: 190px; }
	.er-primary-nav.gb-navigation--mobile .gb-menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 8px;
		border: 0;
		background: transparent;
		color: var(--er-ink);
		cursor: pointer;
	}
	.er-primary-nav .gb-menu-toggle svg { width: 24px; height: 24px; }
	.er-primary-nav.gb-navigation--mobile .gb-menu-container {
		display: none;
		position: fixed;
		inset: 0;
		z-index: 999;
		padding: 100px 24px 32px;
		overflow-y: auto;
		background: var(--er-canvas);
	}
	.er-primary-nav.gb-navigation--open .gb-menu-container { display: block; }
	.er-primary-nav.gb-navigation--mobile .gb-menu { flex-direction: column; align-items: stretch; gap: 8px; }
	.er-primary-nav.gb-navigation--mobile .gb-menu-link { padding: 12px 16px; }
	.er-primary-nav.gb-navigation--open .gb-menu-toggle { position: fixed; z-index: 1000; top: 48px; right: 24px; }
	.er-footer-columns > .wp-block-group__inner-container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
}

@media (max-width: 600px) {
	.er-utility-bar > .wp-block-navigation,
	.er-utility-bar > .wp-block-group__inner-container,
	.er-masthead > .er-masthead-inner,
	.er-masthead > .wp-block-group__inner-container,
	.er-footer-inner,
	.er-utility-inner > .wp-block-group__inner-container,
	.er-masthead-inner > .wp-block-group__inner-container { width: min(100% - 32px, 1280px); }
	.er-utility-nav { font-size: 12px; }
	.er-utility-nav .gb-menu { gap: 14px; }
	.er-masthead-inner > .wp-block-group__inner-container { flex-wrap: nowrap; gap: 10px; padding-block: 16px; }
	.er-header-logo { width: 145px; }
	.er-primary-nav { order: 3; margin-left: 0; }
	.er-header-actions { order: 2; margin-left: auto; }
	.er-header-actions .wp-block-button .wp-block-button__link.wp-element-button { min-width: 76px; padding: 8px 14px; }
	.er-footer-columns > .wp-block-group__inner-container { grid-template-columns: 1fr; gap: 36px; }
	.er-site-footer { padding-top: 48px; }
	.er-footer-legal > .wp-block-group__inner-container { margin-top: 48px; gap: 8px 24px; }
}

/* Home page: the content stays in editable GenerateBlocks; these rules express
   the Figma layout that the block controls do not yet share as global styles. */
.page-id-21 .site.grid-container { max-width: none; }
.page-id-21 .site-content,
.page-id-21 .content-area,
.page-id-21 .site-main,
.page-id-21 .inside-article,
.page-id-21 .entry-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.page-id-21 .entry-header,
.page-id-21 .comments-area,
.page-id-21 .widget-area { display: none; }

.er-home-hero {
	position: relative;
	isolation: isolate;
	width: 100%;
	min-height: 858px;
	padding: 68px 0 80px;
	background: #07101e url('assets/images/home/hero-background.png') center / cover no-repeat;
	color: #fbfcff;
}

.er-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 735px) minmax(0, 517px);
	gap: 28px;
	align-items: center;
	width: min(100% - 48px, 1280px);
	margin-inline: auto;
}

.er-hero-copy { max-width: 735px; }

.er-hero-title {
	margin: 0;
	color: #fbfcff;
	font-size: clamp(40px, 3.2vw, 62px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -.025em;
}

.er-hero-title em {
	color: #ffc94a;
	font-weight: 800;
}

.er-hero-lead {
	max-width: 640px;
	margin: 24px 0 40px;
	color: #d6dcec;
	font-size: 19px;
	line-height: 1.55;
}

.er-hero-lead strong { color: #fbfcff; font-size: 23px; }
.er-hero-label { margin: 0 0 12px; font-size: 15px; font-weight: 600; }
.er-hero-label::before {
	content: '';
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-right: 8px;
	vertical-align: middle;
	background: url('assets/images/home/hero-ambulance.svg') center / contain no-repeat;
}

.er-button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.er-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 12px 24px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
}

.er-button-signal { background: #de1c1f; color: #fff; }
.er-button-signal:hover { background: #bd1518; color: #fff; }
.er-button-outline-light { border-color: rgba(255,255,255,.55); color: #fbfcff; }
.er-button-outline-light:hover { background: rgba(255,255,255,.14); color: #fff; }

.er-hero-consumer {
	max-width: 544px;
	margin-top: 24px;
	padding: 24px 0 0 32px;
	border-top: 1px solid rgba(255,255,255,.35);
}

.er-hero-consumer-label { margin: 0; font-size: 16px; line-height: 1.625; }
.er-hero-consumer-label::before {
	content: '';
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-left: -32px;
	margin-right: 12px;
	vertical-align: middle;
	background: url('assets/images/home/hero-users.svg') center / contain no-repeat;
}

.er-text-link { font-size: 18px; font-weight: 600; text-decoration: underline; text-underline-offset: .24em; }
.er-text-link-light { color: #d6dcec; }
.er-text-link-light:hover { color: #fff; }

.er-hero-figure {
	margin: 0;
	padding: 20px 20px 16px;
	border: 1px solid #dfe4ee;
	border-radius: 28px;
	background: #f3f5f8;
	box-shadow: 0 24px 56px rgba(0,0,0,.28);
}

.er-hero-figure .er-hero-diagram { width: 100%; margin: 0; }
.er-hero-diagram img { display: block; width: 100%; height: auto; }
.er-hero-caption { margin: 8px 0 0; color: #4d5a72; font-size: 13px; line-height: 1.4; }

@media (max-width: 1023px) {
	.er-home-hero { min-height: 0; padding: 64px 0; }
	.er-hero-grid { grid-template-columns: 1fr; gap: 48px; }
	.er-hero-figure { width: min(100%, 560px); }
}

@media (max-width: 600px) {
	.er-home-hero { padding: 48px 0 56px; }
	.er-hero-grid { width: min(100% - 32px, 1280px); gap: 40px; }
	.er-hero-title { font-size: clamp(36px, 9vw, 48px); }
	.er-hero-lead { font-size: 17px; margin-bottom: 32px; }
	.er-hero-lead strong { font-size: 19px; }
	.er-button { min-height: 48px; padding: 12px 18px; font-size: 15px; }
	.er-hero-figure { padding: 12px; border-radius: 20px; }
}

.er-section { width: 100%; padding: 96px 0; }
.er-section-grid,
.er-section-inner,
.er-scenario-frame,
.er-final-panel {
	width: min(100% - 48px, 1280px);
	margin-inline: auto;
}
.er-section-grid { display: grid; gap: 28px; align-items: start; }
.er-section-title {
	margin: 16px 0 24px;
	color: var(--er-ink);
	font-size: clamp(32px, 2.5vw, 48px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.026em;
}
.er-section-title em { font-weight: 700; }
.er-section-title u { text-decoration-thickness: 7px; text-underline-offset: 2px; }
.er-section-body,
.er-section-lead {
	margin: 0;
	color: var(--er-muted);
	font-size: 18px;
	line-height: 1.65;
}
.er-section-lead { font-size: 19px; line-height: 1.55; }
.er-section-body strong,
.er-section-lead strong { color: var(--er-ink); font-size: 1.08em; }
.er-eyebrow,
.er-audience {
	margin: 0;
	color: var(--er-muted);
	font-size: 13px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.er-eyebrow::before {
	content: '';
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-right: 8px;
	vertical-align: middle;
	background: url('assets/images/home/heartbeat.svg') center / contain no-repeat;
}
.er-faq .er-eyebrow::before { background-image: url('assets/images/home/faq-question.svg'); }
.er-audience { color: var(--er-ink); font-size: 15px; letter-spacing: 0; text-transform: none; }
.er-audience::before {
	content: '';
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	margin-right: 12px;
	border-radius: 50%;
}
.er-audience-beacon::before { background: #ffebbf; color: #9a5b00; }
.er-audience-care::before { background: #d3eee9; color: #0c8074; }
.er-audience-beacon::before { background: #ffebbf url('assets/images/home/audience-ambulance.svg') center / 18px no-repeat; }
.er-audience-care::before { background: #d3eee9 url('assets/images/home/audience-family.svg') center / 18px no-repeat; }
.er-photo img,
.er-family-tile-photo img,
.er-scenario-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.er-button-outline-dark { border-color: #a9b4cd; color: var(--er-ink); }
.er-button-outline-dark:hover { background: #e7ebf3; color: var(--er-ink); }
.er-button-navy { background: var(--er-ink); color: #fff; }
.er-button-navy:hover { background: var(--er-red); color: #fff; }
.er-button-light { background: #fdfdfe; color: var(--er-ink); }
.er-button-light:hover { background: #e7ebf3; color: var(--er-ink); }
.er-text-link-dark { display: inline-block; color: var(--er-ink); }
.er-soft-note { padding: 16px 24px; border-radius: 16px; background: #fff6e0; color: var(--er-muted); font-size: 15px; line-height: 1.55; }

.er-how { background: #f3f5f8; }
.er-how-grid { grid-template-columns: minmax(0, 517px) minmax(0, 735px); }
.er-how-media { position: relative; margin: 0; }
.er-how-photo { height: 720px; margin: 0; overflow: hidden; border-radius: 28px; }
.er-photo-tag {
	position: absolute;
	left: 24px;
	bottom: 24px;
	margin: 0;
	padding: 8px 16px;
	border-radius: 999px;
	background: rgba(21,36,82,.86);
	color: #fbfcff;
	font-size: 15px;
	font-weight: 600;
}
.er-how-content { padding-left: 32px; }
.er-how-content .er-section-title { margin-bottom: 24px; }
.er-steps { position: relative; display: grid; gap: 32px; margin: 48px 0; }
.er-steps::before { content: ''; position: absolute; left: 27px; top: 56px; bottom: 56px; width: 2px; background: var(--er-red); }
.er-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; }
.er-step-number {
	z-index: 1;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin: 0;
	border-radius: 50%;
	background: var(--er-ink);
	box-shadow: 0 8px 16px rgba(21,36,82,.16);
	color: #fff;
	font-size: 0;
	font-weight: 700;
}
.er-step:nth-child(1) .er-step-number { background: var(--er-ink) url('assets/images/home/step-profile.svg') center / 24px no-repeat; }
.er-step:nth-child(2) .er-step-number { background: var(--er-ink) url('assets/images/home/step-card.svg') center / 24px no-repeat; }
.er-step:nth-child(3) .er-step-number { background: var(--er-ink) url('assets/images/home/step-verify.svg') center / 24px no-repeat; }
.er-step:nth-child(4) .er-step-number { background: var(--er-ink) url('assets/images/home/step-contact.svg') center / 24px no-repeat; }
.er-step-body::before { color: #9a5b00; font-size: 13px; letter-spacing: .08em; }
.er-step:nth-child(1) .er-step-body::before { content: '01'; }
.er-step:nth-child(2) .er-step-body::before { content: '02'; }
.er-step:nth-child(3) .er-step-body::before { content: '03'; }
.er-step:nth-child(4) .er-step-body::before { content: '04'; }
.er-step-title { margin: 4px 0 8px; color: var(--er-ink); font-size: 21px; font-weight: 600; line-height: 1.33; }
.er-step-copy { margin: 0; color: var(--er-muted); font-size: 17px; line-height: 1.65; }
.er-how-note { margin: 0 0 24px; padding-top: 32px; border-top: 1px solid #dfe4ee; color: var(--er-muted); font-size: 15px; line-height: 1.6; }

.er-agency { background: #fdfdfe; }
.er-agency-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.er-agency-copy { padding: 24px 32px 0 0; }
.er-agency .er-section-title u { text-decoration-color: #ffb81c; }
.er-agency .er-section-body { margin-bottom: 24px; }
.er-cta-label { margin: 16px 0 12px; color: var(--er-ink); font-size: 15px; font-weight: 600; }
.er-agency .er-text-link { margin: 24px 0; }
.er-agency .er-soft-note { max-width: 440px; margin: 0; }
.er-agency-photo { height: 391px; margin: 0 0 40px; overflow: hidden; border-radius: 28px; }
.er-feature-list { display: grid; gap: 32px; }
.er-feature { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.er-feature-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0; border-radius: 10px; background: #ffebbf; color: transparent; font-size: 0; }
.er-feature:nth-child(1) .er-feature-icon { background: #ffebbf url('assets/images/home/feature-contacts.svg') center / 24px no-repeat; }
.er-feature:nth-child(2) .er-feature-icon { background: #ffebbf url('assets/images/home/feature-firstaid.svg') center / 24px no-repeat; }
.er-feature:nth-child(3) .er-feature-icon { background: #ffebbf url('assets/images/home/feature-lock.svg') center / 24px no-repeat; }
.er-feature-title { margin: 8px 0; color: var(--er-ink); font-size: 19px; font-weight: 600; line-height: 1.32; }
.er-feature-copy { margin: 0; color: var(--er-muted); font-size: 18px; line-height: 1.6; }

.er-families { background: #edf7f5; }
.er-families-intro { max-width: 735px; margin-bottom: 48px; }
.er-families .er-section-title u { text-decoration-color: #14a394; }
.er-family-tiles { display: grid; grid-template-columns: minmax(0, 735px) minmax(0, 517px); gap: 28px; }
.er-family-tile { overflow: hidden; border: 1px solid #dfe4ee; border-radius: 28px; background: #fefeff; }
.er-family-tile-photo { height: 224px; margin: 0; }
.er-family-current .er-family-tile-photo { height: 288px; }
.er-family-tile-body { padding: 32px; }
.er-family-tile-title { margin: 0 0 8px; color: var(--er-ink); font-size: 21px; font-weight: 600; line-height: 1.35; }
.er-family-tile-copy { max-width: 560px; margin: 0; color: var(--er-muted); font-size: 18px; line-height: 1.65; }
.er-contact-chips { margin: 16px 0 0; color: #0c8074; font-size: 14px; font-weight: 600; }
.er-family-profiles { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 320px; border: 0; background: #d3eee9; }
.er-card-fan { position: relative; min-height: 320px; margin: 0; }
.er-mini-card {
	position: absolute;
	width: 290px;
	height: 184px;
	padding: 18px;
	border: 8px solid #fefeff;
	border-radius: 18px;
	background: linear-gradient(155deg,#8e1242,#de1c1f 80%);
	box-shadow: 0 22px 38px rgba(12,22,54,.25);
	color: #fff;
}
.er-mini-card-one { left: 7%; top: 34%; transform: rotate(-7deg); }
.er-mini-card-two { left: 23%; top: 22%; transform: rotate(-1deg); }
.er-mini-card-three { left: 40%; top: 12%; transform: rotate(5deg); }
.er-mini-kicker { margin: 0 0 40px; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.er-mini-name { margin: 0 0 8px; font-size: 19px; font-weight: 700; }
.er-mini-detail { margin: 0; padding: 8px; border-radius: 4px; background: #fff; color: #152452; font-size: 10px; font-weight: 600; }

.er-membership {
	background: #0d1938 url('assets/images/home/membership-background.png') center / cover no-repeat;
	color: #fbfcff;
}
.er-membership-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: center; }
.er-membership-photo { height: 416px; margin: 0; overflow: hidden; border-radius: 28px; }
.er-membership-copy .er-eyebrow { color: #5fd4c4; }
.er-membership-copy .er-eyebrow::before { display: none; }
.er-membership-copy .er-section-title { max-width: 560px; color: #fbfcff; }
.er-membership-copy .er-section-lead { max-width: 560px; color: #d6dcec; }
.er-benefits { display: grid; gap: 12px; margin: 32px 0 40px; }
.er-benefit { margin: 0; color: #fbfcff; font-size: 18px; line-height: 1.65; }
.er-benefit::before { content: '✓'; margin-right: 12px; color: #5fd4c4; }
.er-membership-actions { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.er-membership-join { margin: 0; color: #d6dcec; font-size: 15px; }
.er-membership-join em { color: #fbfcff; text-decoration: underline; }

.er-scenario { background: #fdfdfe; }
.er-scenario-frame { position: relative; min-height: 650px; overflow: hidden; border-radius: 28px; }
.er-scenario-photo { position: absolute; inset: 0; margin: 0; }
.er-scenario-panel {
	position: relative;
	width: min(626px, 55%);
	margin: 78px 0 78px 64px;
	padding: 40px;
	border: 1px solid #dfe4ee;
	border-radius: 28px;
	background: #fdfdfe;
	box-shadow: 0 30px 60px -18px rgba(21,36,82,.3);
}
.er-scenario-panel .er-section-title { margin-bottom: 16px; }
.er-scenario-caption { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid #dfe4ee; color: #5d6981; font-size: 15px; font-style: italic; line-height: 1.55; }

.er-faq { background: #f3f5f8; }
.er-faq-grid { grid-template-columns: minmax(0, 517px) minmax(0, 735px); }
.er-faq-photo { height: 720px; margin: 0; overflow: hidden; border-radius: 28px; }
.er-faq-content { padding-left: 32px; }
.er-faq .er-section-title em { color: #b5212b; }
.er-faq .er-button { margin: 8px 0 40px; }
.er-qa { padding: 32px 0; border-top: 1px solid #dfe4ee; }
.er-qa:first-child { padding-top: 0; border-top: 0; }
.er-qa-question { margin: 0 0 12px; color: var(--er-ink); font-size: 21px; font-weight: 600; line-height: 1.35; }
.er-qa-answer { margin: 0; color: var(--er-muted); font-size: 18px; line-height: 1.65; }
.er-faq .er-text-link { margin-top: 8px; }

.er-final { background: #fdfdfe; }
.er-final-panel {
	position: relative;
	isolation: isolate;
	padding: 64px 96px;
	overflow: hidden;
	border-radius: 28px;
	background: #152452 url('assets/images/home/final-background.png') center / cover no-repeat;
	color: #fbfcff;
}
.er-final-panel::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(21,36,82,.95),rgba(21,36,82,.8)); }
.er-final .er-section-title { max-width: 600px; margin: 0 0 48px; color: #fbfcff; }
.er-final-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px; }
.er-final-column + .er-final-column { padding-left: 48px; border-left: 1px solid rgba(255,255,255,.35); }
.er-final-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 0 16px; border: 1px solid; border-radius: 50%; font-size: 24px; }
.er-final-icon-beacon { border-color: rgba(255,184,28,.4); background: rgba(255,184,28,.18) url('assets/images/home/final-ambulance.svg') center / 24px no-repeat; color: transparent; font-size: 0; }
.er-final-icon-care { border-color: rgba(95,212,196,.4); background: rgba(95,212,196,.16) url('assets/images/home/final-users.svg') center / 24px no-repeat; color: transparent; font-size: 0; }
.er-final-title { margin: 0 0 8px; color: #fbfcff; font-size: 21px; font-weight: 600; }
.er-final-copy { max-width: 440px; margin: 0 0 24px; color: #d6dcec; font-size: 18px; line-height: 1.65; }

.er-home-hero a:focus-visible,
.er-section a:focus-visible { outline: 3px solid #ffc94a; outline-offset: 4px; }

@media (max-width: 1023px) {
	.er-section { padding: 72px 0; }
	.er-section-grid { grid-template-columns: 1fr; }
	.er-how-photo,
	.er-faq-photo { height: 460px; }
	.er-how-content,
	.er-faq-content { padding-left: 0; }
	.er-agency-copy { padding: 0; }
	.er-family-tiles { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
	.er-family-profiles { grid-template-columns: 1fr; }
	.er-card-fan { min-height: 300px; }
	.er-membership-grid { grid-template-columns: 1fr; }
	.er-membership-photo { width: 100%; }
	.er-scenario-panel { width: min(626px, 70%); }
	.er-final-panel { padding: 56px; }
}

@media (max-width: 600px) {
	.er-section { padding: 56px 0; }
	.er-section-grid,
	.er-section-inner,
	.er-scenario-frame,
	.er-final-panel { width: min(100% - 32px,1280px); }
	.er-section-title { font-size: 32px; }
	.er-section-body,
	.er-section-lead,
	.er-feature-copy,
	.er-family-tile-copy,
	.er-qa-answer,
	.er-final-copy { font-size: 16px; }
	.er-how-photo,
	.er-faq-photo { height: 380px; }
	.er-steps { gap: 24px; }
	.er-step { gap: 16px; }
	.er-family-tiles { grid-template-columns: 1fr; }
	.er-family-profiles { grid-column: auto; }
	.er-family-tile-body { padding: 24px; }
	.er-card-fan { min-height: 250px; }
	.er-mini-card { width: 220px; height: 150px; padding: 12px; }
	.er-mini-card-one { left: 1%; top: 38%; }
	.er-mini-card-two { left: 15%; top: 24%; }
	.er-mini-card-three { left: 28%; top: 10%; }
	.er-mini-kicker { margin-bottom: 26px; }
	.er-mini-name { font-size: 15px; }
	.er-membership-photo { height: 280px; }
	.er-scenario-frame { min-height: 0; overflow: visible; }
	.er-scenario-photo { position: relative; height: 280px; border-radius: 24px 24px 0 0; overflow: hidden; }
	.er-scenario-panel { width: 100%; margin: 0; padding: 28px; border-radius: 0 0 24px 24px; }
	.er-final-panel { padding: 40px 28px; }
	.er-final .er-section-title { margin-bottom: 32px; }
	.er-final-columns { grid-template-columns: 1fr; gap: 36px; }
	.er-final-column + .er-final-column { padding: 36px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.35); }
}

