/* Facilities GIS homepage component. Scoped to avoid other homepage components. */
.fg-section { --fg-purple: #522d80; --fg-ink: #291a3a; --fg-orange: #b94700; background: #2e1a47 url('./hero-banner-stripe-purp.svg') left center / auto 100% no-repeat; padding: clamp(24px, 2.5vw, 36px) 32px; color: var(--fg-ink); font: 400 16px/1.5 "trade-gothic-next", Arial, sans-serif; }
.fg-section *, .fg-section *::before, .fg-section *::after { box-sizing: border-box; }
.fg-section [hidden] { display: none !important; }
.fg-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; max-width: 1416px; margin: 0 auto; }
.fg-section p, .fg-section h1, .fg-section h2, .fg-section h3 { margin: 0; }
.fg-section a { text-underline-offset: 4px; }
.fg-section a:focus-visible, .fg-section button:focus-visible, .fg-section select:focus-visible { outline: 3px solid #087f8c; outline-offset: 5px; }
.fg-section .fg-eyebrow { font: 800 11px/1.4 "trade-gothic-next", Arial, sans-serif; letter-spacing: .15em; }
.fg-intro { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 2.3vw, 34px); background: transparent; color: #fff; border: 6px solid #f56600; }
.fg-intro h2 { margin: 0 0 18px; font: 800 clamp(38px, 3.4vw, 56px)/1 "trade-gothic-next-condensed", "Arial Narrow", Arial, sans-serif; letter-spacing: -.02em; text-transform: uppercase; }
.fg-intro h2 em { font-style: normal; color: #f56600; }
.fg-section .fg-intro-copy > p {
  max-width: 34ch;
  color: #fff;
  font: 400 1.625rem/2rem "trade-gothic-next-condensed", "Arial Narrow", Arial, sans-serif;
}
.fg-services { list-style: none; padding: 0; margin: 18px 0 16px; font-size: 1rem; }
.fg-services li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #ffffff26; }
.fg-services li:last-child { border-bottom: 1px solid #ffffff26; }
.fg-resource-pin { flex: 0 0 14px; width: 14px; height: 18px; color: #ffa65c; }
.fg-intro-footer { margin-top: 16px; }
.fg-gis-link { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 8px 16px; background: linear-gradient(48deg, #f56600 20.51%, #bb4b26 50.63%, #ba4a26 74.29%); background-size: 150% 100%; background-position: 0 0; color: #fff; font: 700 20px/1 "trade-gothic-next-compressed", "trade-gothic-next-condensed", "Arial Narrow", Arial, sans-serif; text-align: center; text-transform: uppercase; text-decoration: none; transition: background-position .25s ease; }
.fg-section .fg-gis-link:hover, .fg-section .fg-gis-link:focus-visible { background-position: 100% 0; color: #fff; }
.fg-intro .fg-gis-link:focus-visible { outline-color: #fff; }
@media (prefers-reduced-motion: reduce) { .fg-gis-link { transition: none; } }
.fg-discover { min-width: 0; align-self: center; }
.fg-discover-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.fg-discover h2 { font: 800 clamp(30px, 2.7vw, 44px)/1.05 "trade-gothic-next-condensed", "Arial Narrow", Arial, sans-serif; letter-spacing: -.02em; text-transform: uppercase; }
.fg-open-map { flex: 0 0 auto; font-size: 13px; line-height: 1.5; color: var(--fg-purple); font-weight: 800; padding-bottom: 3px; }
.fg-external-icon { display: inline-block; flex: 0 0 1em; width: 1em; height: 1em; margin-left: 5px; vertical-align: -.1em; }
.fg-tour { --fg-map-credits-height: 20px; --fg-photo-gap: 16px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(4, auto); background: #fff; box-shadow: 0 12px 32px #291a3a0c; border: 1px solid #ded8df; overflow: hidden; }
.fg-controls { position: absolute; grid-area: 1 / 1 / 2 / 2; top: 16px; left: 16px; z-index: 3; }
.fg-playback { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 14px; border: 1px solid #ded8df; background: #fffdf8f5; box-shadow: 0 2px 10px #291a3a20; color: #392052; font: 800 12px/1.3 "trade-gothic-next", Arial, sans-serif; cursor: pointer; }
.fg-playback:hover { background: #eee8f3; }
.fg-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #b51c28; animation: fg-on-air 2s ease-in-out infinite; }
.fg-pause-icon { display: none; width: 10px; height: 12px; background: linear-gradient(to right, currentColor 0 3px, transparent 3px 7px, currentColor 7px 10px); }
.fg-playback[data-paused="true"] .fg-live-dot { display: none; animation: none; }
.fg-playback[data-paused="true"] .fg-pause-icon { display: inline-block; }
@keyframes fg-on-air { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .fg-live-dot { animation: none; } }
.fg-map-area { grid-area: 1 / 1; position: relative; height: clamp(280px, 24vw, 350px); background: #e9eade; }
.fg-map { position: absolute; inset: 0; }
.fg-map, .fg-section .fg-photo-card { pointer-events: none; }
.fg-map .esri-attribution { pointer-events: auto; }
.fg-north { position: absolute; top: 16px; right: 20px; font: 700 10px/1.1 Arial, sans-serif; text-align: center; color: #392052; pointer-events: none; }
.fg-north span { display: block; font-size: 27px; margin-bottom: 3px; }
.fg-section .fg-photo-card { position: absolute; grid-area: 1 / 1 / 2 / 2; right: 18px; top: var(--fg-photo-gap); bottom: calc(var(--fg-map-credits-height) + var(--fg-photo-gap)); display: flex; flex-direction: column; justify-content: center; width: clamp(190px, 34%, 310px); }
.fg-photo-content { display: flex; flex-direction: column; max-height: 100%; min-height: 0; margin: 0; background: #fff; border: 1px solid #ded8df; box-shadow: 2px 2px 6px rgb(41 26 58 / 75%); color: #392052; }
.fg-photo-card img { display: block; flex: 0 1 auto; min-height: 0; width: 100%; height: clamp(170px, 18vw, 240px); object-fit: cover; }
.fg-photo-card figcaption { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; margin: 0; padding: 8px 12px; font-size: 12px; line-height: 1.3; font-weight: 800; }
.fg-tour:has(.fg-photo-card:not([hidden])) .fg-north { visibility: hidden; }
.fg-map-status { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 18px 22px; max-width: calc(100% - 40px); width: max-content; text-align: center; background: #fffdf8f5; font-size: 14px; box-shadow: 0 5px 30px #291a3a10; }
.fg-stop { grid-area: 2 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, 28%); gap: 22px; padding: 18px 24px; border-top: 3px solid #f56600; }
.fg-stop-measure { position: absolute !important; top: 0; left: 0; min-height: 0 !important; visibility: hidden !important; pointer-events: none; }
.fg-story .fg-eyebrow { color: var(--fg-orange); margin-bottom: 5px; font-size: 10px; }
.fg-story h3 { font: 800 clamp(23px, 2vw, 30px)/1.15 "trade-gothic-next-condensed", "Arial Narrow", Arial, sans-serif; margin-bottom: 6px; }
.fg-story > p:not(.fg-eyebrow) { font-size: 15px; line-height: 1.5; color: #554c61; max-width: 55ch; }
.fg-place-link { display: inline-block; font-size: 13px; font-weight: 800; color: var(--fg-purple); margin-top: 8px; }
.fg-nearby { padding-left: 18px; border-left: 1px solid #eee8ef; min-width: 0; }
.fg-nearby h4 { margin: 0 0 6px; font: 800 11px/1.4 "trade-gothic-next", Arial, sans-serif; color: #665b70; }
.fg-nearby ul { list-style: none; padding: 0; margin: 0; }
.fg-nearby button { display: block; width: 100%; padding: 5px 0; min-height: 32px; border: 0; background: none; color: #522d80; text-align: left; font: 700 13px/1.35 "trade-gothic-next", Arial, sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.fg-nearby button:hover { color: #b94700; }
.fg-tour-navigation { grid-area: 3 / 1; min-height: 45px; display: flex; align-items: center; gap: 12px; padding: 4px 24px; background: #fcfbf9; border-top: 1px solid #eee8ef; }
.fg-neighbors { display: flex; align-items: center; justify-content: flex-start; flex: 1; min-width: 0; gap: 8px; }
.fg-neighbor { display: flex; align-items: baseline; gap: 5px; flex: 0 1 auto; max-width: calc(50% - 10px); min-width: 0; min-height: 36px; padding: 8px 0; border: 0; background: none; color: #665b70; text-align: left; font: 400 12px/1.4 "trade-gothic-next", Arial, sans-serif; cursor: pointer; }
.fg-neighbor > span { flex: 0 0 auto; }
.fg-neighbor strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #522d80; }
.fg-neighbor:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.fg-neighbor:disabled { opacity: .5; cursor: default; }
.fg-neighbor:disabled:hover strong { text-decoration: none; }
.fg-neighbor-divider { color: #a393ae; }
#fg-count { margin-left: auto; flex: 0 0 auto; font: 700 11px/1 Arial, sans-serif; letter-spacing: .08em; color: #665b70; }
.fg-progress { grid-area: 4 / 1; height: 3px; background: #e8dfef; }
.fg-progress span { display: block; height: 100%; background: #b94700; width: 0; }
.fg-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
@media (min-width: 1600px) {
  .fg-layout { grid-template-columns: clamp(360px, 24vw, 460px) minmax(0, 1fr); max-width: 1824px; }
  .fg-tour {
    grid-template-columns: minmax(0, 1fr) clamp(320px, 20vw, 380px);
    grid-template-rows: clamp(256px, calc(11vw + 76px), 292px) 1fr auto auto;
  }
  .fg-map-area { grid-area: 1 / 1 / -1 / 2; height: auto; min-height: 580px; border-right: 1px solid #ded8df; }
  .fg-tour:has(.fg-photo-card:not([hidden])) .fg-north { visibility: visible; }
  .fg-section .fg-photo-card { grid-area: 1 / 2; position: static; width: auto; min-height: 0; }
  .fg-photo-content { height: 100%; border: 0; box-shadow: none; }
  .fg-photo-card img { height: 100%; }
  .fg-photo-card figcaption { display: none; }
  .fg-stop, .fg-tour-navigation, .fg-progress { grid-column: 2; }
  .fg-stop { display: block; padding: 16px 20px; }
  .fg-nearby { margin-top: 14px; padding: 10px 0 0; border-left: 0; border-top: 1px solid #eee8ef; }
  .fg-nearby button { min-height: 28px; padding-block: 4px; }
  .fg-controls {
    --fg-control-highlight: rgb(255 255 255 / 86%);
    --fg-control-seam: rgb(41 26 58 / 12%);
    display: flex;
    max-width: calc(100% - 60px);
    border: 1px solid #d8d1d9;
    background: linear-gradient(#fffdf9, #f7f2ee);
    box-shadow: inset 1px 1px 0 var(--fg-control-highlight), inset -1px -1px 0 rgb(41 26 58 / 6%), 0 2px 8px #291a3a24;
  }
  .fg-controls .fg-playback {
    flex: 0 0 10.5em;
    border: 0;
    border-inline-end: 1px solid var(--fg-control-seam);
    background: none;
    box-shadow: none;
    white-space: nowrap;
  }
  .fg-controls .fg-tour-navigation {
    align-items: stretch;
    gap: 0;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: inset 1px 0 0 var(--fg-control-highlight);
  }
  .fg-controls .fg-neighbors { flex: 0 1 auto; width: 320px; align-items: stretch; flex-direction: column; gap: 0; }
  .fg-controls .fg-neighbor { min-height: 2.8em; max-width: 100%; padding: 0 12px; align-items: center; }
  .fg-controls .fg-neighbor:last-child {
    box-shadow: inset 0 1px 0 var(--fg-control-seam), inset 0 2px 0 var(--fg-control-highlight);
  }
  .fg-controls .fg-neighbor-divider { display: none; }
  .fg-controls #fg-count {
    display: flex;
    align-items: center;
    margin: 0;
    padding-inline: 12px;
    border-inline-start: 1px solid var(--fg-control-seam);
    box-shadow: inset 1px 0 0 var(--fg-control-highlight);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  .fg-controls .fg-playback:hover, .fg-controls .fg-neighbor:hover:not(:disabled) { background: #eee8f3; }
  .fg-controls .fg-playback:active, .fg-controls .fg-neighbor:active:not(:disabled) {
    box-shadow: inset 0 1px 2px var(--fg-control-seam);
  }
  .fg-section .fg-controls button:focus-visible { outline-offset: -4px; }
}
@media (max-width: 1180px) {
  .fg-layout { gap: 24px; }
  .fg-discover-heading { display: block; }
  .fg-open-map { display: inline-block; margin-top: 12px; }
  .fg-stop { padding: 18px 20px; gap: 18px; }
}
@media (max-width: 1023px) {
  .fg-section .fg-intro-copy > p { font-size: 1.125rem; line-height: 1.5rem; }
}
@media (max-width: 900px) {
  .fg-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .fg-intro { padding: 32px; }
  .fg-intro h2 { font-size: 44px; margin-top: 0; }
  .fg-intro h2 br { display: none; }
  .fg-intro h2 br::after { content: " "; }
  .fg-section .fg-intro-copy > p { max-width: 65ch; }
  .fg-services { margin: 18px 0 0; }
  .fg-intro-footer { max-width: 340px; }
  .fg-map-area { height: 320px; }
}
@media (max-width: 540px) {
  .fg-section { padding: 24px 16px 32px; }
  .fg-intro { padding: 28px 24px; }
  .fg-intro h2 { font-size: 39px; }
  .fg-discover h2 { font-size: 32px; }
  .fg-map-area { height: 290px; }
  .fg-stop { display: block; padding: 18px; }
  .fg-story h3 { font-size: 27px; }
  .fg-story > p:not(.fg-eyebrow) { font-size: 16px; }
  .fg-nearby { border-left: 0; border-top: 1px solid #eee8ef; padding: 12px 0 0; margin-top: 12px; }
  .fg-nearby ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .fg-nearby li:nth-child(n+3) { display: none; }
  .fg-nearby button { min-height: 44px; }
  .fg-place-link { font-size: 15px; }
  .fg-tour-navigation { padding: 8px 14px; flex-wrap: wrap; gap: 4px 12px; }
  .fg-neighbors { flex-basis: calc(100% - 55px); align-items: stretch; flex-direction: column; gap: 0; }
  .fg-neighbor { max-width: 100%; min-height: 40px; align-items: center; }
  .fg-neighbor-divider { display: none; }
  .fg-discover-heading { margin-bottom: 18px; }
  .fg-section .fg-photo-card { display: none; }
}

/* Integrate with the existing Bootstrap row and established homepage gutters. */
#home > .gisSection { display: block; position: relative; isolation: isolate; overflow: hidden; width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); padding: 0 !important; background: #2e1a47 url('./hero-banner-stripe-purp.svg') left center / auto 100% no-repeat; }
#home > .gisSection::before, #home > .gisSection::after { content: none; }
#home > .gisSection > .fg-section { flex: 0 0 100%; width: 100%; max-width: none; margin: 0; padding-inline: 0; background: transparent; }
#home > .gisSection .fg-layout { width: calc(100% - 12rem); }
#home .fg-intro h2 { color: #fff; text-transform: uppercase; }
#home .fg-services li { color: #fff; font: inherit; }
#home .fg-discover-heading { background: transparent !important; border: 0; box-shadow: none; }
#home .fg-discover h2 { color: #fff; text-transform: uppercase; }
#home .fg-open-map { color: #fff; }
#home .fg-discover-heading a:focus-visible { outline-color: #ffa65c; }
#home .fg-story h3 { color: var(--fg-ink); }
/* Events takes the former GIS light palette; retain dark text and orange actions. */
#home .HeadlinesSection { background: #f6f3ee; color: #291a3a; }
#home .HeadlinesSection::before { content: none; }
#home .HeadlinesSection h2, #home .HeadlinesSection .cu-text-wg100 { color: #291a3a !important; }
#home .HeadlinesSection .secondary-story-copy h3, #home .HeadlinesSection .secondary-story-copy p { color: #291a3a; }
#home .HeadlinesSection .upcomingAll a, #home .HeadlinesSection .headlinesAll a { color: #522d80; }
#home .HeadlinesSection .cu-event-block { background: #fff; border: 1px solid #ded8df; }
@media (max-width: 1180px) { #home > .gisSection .fg-layout { width: min(1088px, calc(100% - 2rem)); } }
@media (min-width: 1600px) { #home > .gisSection .fg-layout { width: calc(100% - 96px); } }
