/* NEXUS carousel and cards adapted for source portal content. */
.home-section { margin-top: 28px; }
.home-section > h2 { font-size: var(--nx-section-size); margin-bottom: 16px; }
.home-section h3 { font-size: var(--nx-section-size); margin-bottom: 10px; }
.home-carousel { overflow: hidden; }
.home-slide { position: relative; min-height: 288px; display: flex; align-items: end; isolation: isolate; }
.home-slide[hidden] { display: none; }
.home-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.home-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #081323ed, #08132370); z-index: -1; }
.home-slide-copy { padding: 28px; max-width: 680px; color: white; }
.home-slide-copy h2 { color: white; font-size: 24px; margin-bottom: 12px; }
.home-slide-copy p { margin: 0; font-size: 15px; }
/* NEXUS dashboards.css: accent top border and softly tinted icon tile. */
.tone-blue { --widget-accent: #4f6ef7; }
.tone-green { --widget-accent: #07845c; }
.tone-amber { --widget-accent: #a56309; }
.tone-purple { --widget-accent: #7951c8; }
[data-bs-theme=dark] .tone-blue { --widget-accent: #a1b1ff; }
[data-bs-theme=dark] .tone-green { --widget-accent: #6ee7b7; }
[data-bs-theme=dark] .tone-amber { --widget-accent: #fcd37e; }
[data-bs-theme=dark] .tone-purple { --widget-accent: #c4b5fd; }
.home-icon { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; color: var(--widget-accent); background: color-mix(in srgb, var(--widget-accent) 12%, transparent); vertical-align: middle; }
.home-icon svg { width: 20px; height: 20px; fill: currentColor; }
.home-section > h2 { display: flex; align-items: center; gap: 10px; }
.home-section > h2 .home-icon { width: 32px; height: 32px; border-radius: 10px; }
.home-section > h2 .home-icon svg { width: 16px; height: 16px; }
.home-widget .card-body > .home-icon { margin-bottom: 14px; }
.home-consent-banner .card-body { display: flex; flex-direction: column; align-items: flex-start; }
.home-consent-banner h3 { text-wrap: balance; }
.home-consent-banner p { line-height: 1.7; }
.home-consent-banner :is(h3, p, a) { overflow-wrap: anywhere; }
.home-consent-source { margin-top: auto; padding-top: 16px; text-underline-offset: 3px; }
.home-consent-source { color: var(--hn-body-color); }
.home-consent-source:hover { color: var(--hn-body-color); text-decoration-thickness: 2px; }
.home-instruction { margin-block: 28px; }
/* Match the verified NEXUS card radius, including its mobile override. */
.home-instruction-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; border-radius: 20px; }
.home-instruction-video:focus-visible { outline: 2px solid var(--hn-primary); outline-offset: 3px; }
.home-events-action .btn:focus-visible { outline: 2px solid var(--hn-primary); outline-offset: 3px; }
.home-slide-copy > .home-icon { margin-bottom: 16px; background: #fffffff0; }
[data-bs-theme=dark] .home-slide-copy > .home-icon { background: #17253ef0; }
@media (max-width: 767px) {
 .home-instruction-video { border-radius: 18px; }
 .hn-main > .training-heading { display: none; }
 .home-slide-copy p { display: none; }
 .home-section[aria-labelledby="consent-title"] > h2,
 .home-section[aria-labelledby="consent-title"] > p { display: none; }
}
@media(max-width:575px) {
 .home-slide-copy { padding: 20px; }
 .home-slide-copy h2 { font-size: 20px; }
 .home-slide { min-height: 300px; }
}
