/* IIAIM homepage, "One blue" (3.0.5): the hero uses the same NIH blue as the header. */
body .iiaim-hero,
body .iiaim-hero.has-navy-deep-background-color {
	background-color: #20558a !important;
	border-top: 1px solid rgba(255, 255, 255, .18);
}
body .iiaim-hero .iiaim-eyebrow { color: #bfe3f2 !important; }
body .iiaim-hero .is-style-lead { color: #dce8f3 !important; }
body .iiaim-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background-color: #ddaa01 !important;
	color: #14385c !important;
	border-color: #ddaa01 !important;
}
body .iiaim-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background-color: #c99b00 !important; }
body .iiaim-hero .is-style-outline .wp-block-button__link {
	color: #fff !important;
	border-color: rgba(255, 255, 255, .85) !important;
}
body .iiaim-hero .is-style-outline .wp-block-button__link:hover { background-color: rgba(255, 255, 255, .1) !important; }

/* Body: white and soft blue-grey sections, white cards with a fine border. */
main > .wp-block-group.alignfull:has(> * .iiaim-principle):not(.has-background) { background-color: #f5f8fb; }
main > .wp-block-group.alignfull:has(.iiaim-tiles):not(.has-background) { background-color: #eef3f8; }
body .iiaim-principle {
	background: #fff;
	border: 1px solid #dfe6ee !important;
	border-radius: 8px;
	padding: 24px !important;
}

/* "Stay informed" band in deep blue, with a fine line before the footer. */
body .iiaim-band-newsletter,
body .iiaim-band-newsletter.has-navy-background-color { background-color: #14385c !important; }
body footer.wp-block-template-part,
body .wp-site-blocks > footer { border-top: 1px solid rgba(255, 255, 255, .12); }

/* The logo without its black background sits a touch larger, at the same height as before. */
body img[data-iiaim-logo="on-blue"] { object-fit: contain; }

/* "Stay informed": a white email box. */
body .iiaim-band-newsletter input[type="email"],
body .iiaim-band-newsletter input[type="text"] {
	background-color: #fff !important;
	color: #1b2533 !important;
	border: 1px solid #fff !important;
	color-scheme: light; /* keeps the box white when a phone or browser is in dark mode */
	-webkit-text-fill-color: #1b2533;
}
body .iiaim-band-newsletter input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #fff inset !important; }
body .iiaim-band-newsletter input::placeholder { color: #6b7685 !important; -webkit-text-fill-color: #6b7685; opacity: 1; }

/* Hero: featured panel in place of the theme's heartbeat graphic (3.0.5). */
body .iiaim-hero:has(.iiaim-feat)::before { display: none !important; }
body .iiaim-hero > .wp-block-group:has(> .iiaim-feat) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
	column-gap: clamp(32px, 5vw, 72px);
	align-items: center;
}
body .iiaim-hero > .wp-block-group:has(> .iiaim-feat) > :not(.iiaim-feat):not(script) { grid-column: 1; margin-left: 0 !important; margin-right: 0 !important; }
body .iiaim-hero > .wp-block-group:has(> .iiaim-feat) > .iiaim-feat { grid-column: 2; grid-row: 1 / span 6; align-self: center; }
.iiaim-feat {
	background: #fff; color: #1b2533; border-radius: 10px; overflow: hidden;
	box-shadow: 0 18px 40px rgba(8, 30, 58, .28); text-align: left; max-width: 420px; width: 100%; margin: 0 !important;
}
.iiaim-feat__bar { background: #14385c; color: #fff; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.iiaim-feat__bar strong { letter-spacing: .02em; }
.iiaim-feat__item { padding: 20px 22px; border-bottom: 1px solid #e3e9f0; }
.iiaim-feat__item:last-child { border-bottom: 0; }
.iiaim-feat .iiaim-feat__kicker { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #20558a !important; }
.iiaim-feat .iiaim-feat__title { margin: 0 0 6px; font-size: 20px; line-height: 1.3; font-weight: 700; color: #14385c !important; letter-spacing: normal; }
.iiaim-feat .iiaim-feat__text { margin: 0 0 12px; font-size: 16px; line-height: 1.5; color: #4a5668 !important; max-width: none; }
.iiaim-feat .iiaim-feat__btn { display: inline-block; background: #ddaa01; color: #14385c !important; font-weight: 700; padding: 9px 16px; border-radius: 5px; text-decoration: none; }
.iiaim-feat .iiaim-feat__btn:hover { background: #c99b00; }
.iiaim-feat .iiaim-feat__date { display: inline-block; background: #20558a; color: #fff; font-weight: 700; font-size: 15px; padding: 5px 10px; border-radius: 4px; margin-bottom: 10px; }
.iiaim-feat .iiaim-feat__conf { margin: 0 0 8px; font-size: 19px; font-weight: 700; line-height: 1.3; color: #14385c !important; }
.iiaim-feat .iiaim-feat__none { margin: 0 0 8px; font-size: 16px; color: #4a5668 !important; }
.iiaim-feat .iiaim-feat__link { font-weight: 700; color: #20558a !important; text-decoration: none; font-size: 16px; }
.iiaim-feat .iiaim-feat__link:hover { text-decoration: underline; }
.iiaim-feat [hidden] { display: none !important; }
@media (max-width: 960px) {
	body .iiaim-hero > .wp-block-group:has(> .iiaim-feat) { display: block; }
	.iiaim-feat { margin-top: 40px !important; max-width: 560px; }
}

/* 3.0.6: the line above the headline is hidden (the full name already sits beside the logo in the header). The text stays in the page content. */
body .iiaim-hero .iiaim-eyebrow { display: none !important; }
