/*
  Innovation Team – shared page styles (Home, Work, News, Team)
  Upload this file to SharePoint /SiteAssets/innovation-team.css and
  link it from each refactored page via a Script/Content Editor web
  part (see code_blocks/innovation-team.link.html).

  Design tokens:
    navy   #09244b   (primary brand)
    ink    #1a1f2e   (body text)
    gold   #c9a04f   (accent 01 / mobility)
    blue   #2d5b93   (accent 02 / growth)
    peach  #e6a48a   (accent 03 / government)
    fog    #f4f5f7   (section background)
    hair   #dfe1e5   (rule / divider)
*/

/* -----------------------------------------------------------------
   Collapse empty .mdgov-section wrappers between the masthead and
   the first real content block. Two things generate voids on the
   refactored pages:
     (a) the empty Main_Content zone (present on every refactored
         page; renders as the first .mdgov-section on the page),
     (b) the Script Editor / Content Editor web part hosting this
         very stylesheet, which SharePoint also wraps in its own
         .mdgov-section with padding.
   We target both explicitly so it doesn't matter which one is
   rendered first.
   ----------------------------------------------------------------- */
#s4-bodyContainer .mdgov-section:first-of-type,
.mdgov-mainContent > .mdgov-section:first-of-type,
.mdgov-section:has(.ms-rte-embedcode),
.mdgov-section:has(> .ms-webpart-zone .ms-rte-embedwp) {
  height: 0 !important;
  min-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  overflow: hidden !important;
}

/* -----------------------------------------------------------------
   Top tagline (opens Center_Content on the home page)
   Styled identically to .it-purpose-heading – navy segoe-semilight.
   ----------------------------------------------------------------- */
.it-home .it-tagline,
.it-story .it-purpose-heading {
  color: #09244b !important;
  font-family: 'segoe ui semilight', 'segoe ui', segoe, tahoma, helvetica, arial, sans-serif !important;
  font-size: 1.9rem !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  margin: 1.75rem 0 0.75rem !important;
}

/* Team photo figure (bottom of home) */
.it-team-photo {
  margin: 2.5rem 0 !important;
}
.it-team-photo img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 4px !important;
  float: none !important;
}
.it-team-photo figcaption {
  color: #4a5060 !important;
  font-size: 0.9rem !important;
  font-style: italic !important;
  margin-top: 0.5rem !important;
  text-align: center !important;
}

/* -----------------------------------------------------------------
   Section wrapper – gives new content a comfortable reading width
   ----------------------------------------------------------------- */
.it-home, .it-work, .it-news {
  color: #1a1f2e !important;
  font-family: 'segoe ui', segoe, tahoma, helvetica, arial, sans-serif !important;
  line-height: 1.55 !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.it-home p, .it-work p, .it-news p,
.it-home li, .it-work li, .it-news li {
  color: #1a1f2e !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

.it-home a, .it-work a, .it-news a {
  color: #09244b !important;
  text-decoration: underline !important;
}
.it-home a:hover, .it-work a:hover, .it-news a:hover {
  color: #2d5b93 !important;
}

/* Restore .my-button styling inside our sections – the generic .it-* a
   rules above would otherwise recolor the navy button text to navy. */
.it-home a.my-button,
.it-work a.my-button,
.it-news a.my-button {
  color: #fff !important;
  text-decoration: none !important;
}
.it-home a.my-button:hover,
.it-work a.my-button:hover,
.it-news a.my-button:hover {
  color: #fff !important;
  text-decoration: none !important;
}

/* Section heading style */
.it-section-heading {
  color: #09244b !important;
  font-family: 'segoe ui semilight', 'segoe ui', segoe, tahoma, helvetica, arial, sans-serif !important;
  font-size: 2rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  margin: 0 0 0.75rem !important;
}

/* Eyebrow label above section headings.
   Uses the darker "gold-ink" (#7a5c1e) for WCAG AA text contrast on
   white; the decorative bar keeps the brighter accent gold. */
.it-eyebrow {
  color: #7a5c1e !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  margin: 0 0 0.75rem !important;
  padding-left: 2.25rem !important;
  position: relative !important;
}
.it-eyebrow::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  width: 1.75rem !important;
  height: 2px !important;
  background: #c9a04f !important;
}

/* -----------------------------------------------------------------
   Home – story / purpose section
   ----------------------------------------------------------------- */
.it-story {
  padding: 2rem 0 !important;
}
.it-story .it-lede {
  font-family: 'segoe ui semilight', 'segoe ui', segoe, tahoma, helvetica, arial, sans-serif !important;
  font-size: 1.9rem !important;
  font-weight: 600 !important;
  color: #09244b !important;
  line-height: 1.25 !important;
}
.it-story .it-purpose-heading {
  color: #09244b !important;
  font-family: 'segoe ui semilight', 'segoe ui', segoe, tahoma, helvetica, arial, sans-serif !important;
  font-size: 1.4rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  margin: 1.75rem 0 0.75rem !important;
}
.it-quote {
  border-left: 3px solid #c9a04f !important;
  padding: 0.25rem 0 0.25rem 1.25rem !important;
  margin: 2rem 0 !important;
}
.it-quote p {
  color: #7a5c1e !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 1.6rem !important;
  font-style: italic !important;
  line-height: 1.3 !important;
  margin: 0 0 0.5rem !important;
}
.it-quote cite {
  color: #09244b !important;
  font-family: 'segoe ui', segoe, tahoma, helvetica, arial, sans-serif !important;
  font-style: normal !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

/* -----------------------------------------------------------------
   Compass launch strip (Home + Work)
   Layout mirrors reference/compass_announcement.webp: navy band with
   the Compass laptop mockup at left, headline + Governor Moore quote
   in the middle, gold pill CTA at right.
   ----------------------------------------------------------------- */
.it-compass-strip {
  align-items: stretch !important;
  background: #09244b !important;
  border-radius: 6px !important;
  color: #fff !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  margin: 1.5rem 0 2.5rem !important;
  overflow: hidden !important;
  padding: 0 !important;
}
.it-compass-strip__image {
  flex: 0 0 auto !important;
  width: 220px !important;
  background: #2d5b93 !important;
  overflow: hidden !important;
  position: relative !important;
  align-self: stretch !important;
}
.it-compass-strip__image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  float: none !important;
}
.it-compass-strip__body {
  flex: 1 1 320px !important;
  color: #fff !important;
  padding: 1.25rem 1.5rem !important;
  align-self: center !important;
}
.it-news .it-compass-strip__body p,
.it-home .it-compass-strip__body p,
.it-work .it-compass-strip__body p {
  color: #fff !important;
}
.it-compass-strip__headline {
  color: #fff !important;
  font-family: 'segoe ui semilight', 'segoe ui', segoe, tahoma, helvetica, arial, sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin: 0 0 0.5rem !important;
}
.it-compass-strip__quote {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.9rem !important;
  font-style: italic !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}
.it-compass-strip__cta {
  align-self: center !important;
  background: #f0b323 !important;
  border-radius: 4px !important;
  color: #09244b !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  margin: 1.25rem 1.5rem !important;
  padding: 0.75rem 1.15rem !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.it-compass-strip__cta:hover,
.it-compass-strip__cta:focus {
  background: #f6c14b !important;
  color: #09244b !important;
  text-decoration: none !important;
}
.it-compass-strip__cta-arrow {
  font-size: 1.05rem !important;
  line-height: 1 !important;
}
@media (max-width: 720px) {
  .it-compass-strip__image { width: 100% !important; height: 140px !important; }
  .it-compass-strip__cta { margin: 0 1.25rem 1.25rem !important; }
}

/* -----------------------------------------------------------------
   Home – Our Approach grid
   ----------------------------------------------------------------- */
.it-approach {
  background: #f4f5f7 !important;
  padding: 2rem 1.25rem !important;
  margin: 0 -1.25rem 2.5rem !important;
  border-radius: 6px !important;
}
.it-approach-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 1rem !important;
  list-style: none !important;
  margin: 1rem 0 0 !important;
  padding: 0 !important;
}
.it-approach-step {
  background: #fff !important;
  border-top: 3px solid #c9a04f !important;
  border-radius: 4px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
  padding: 1.25rem 1.25rem 1.5rem !important;
}
.it-approach-step__num {
  color: #7a5c1e !important;
  display: block !important;
  font-family: 'segoe ui semilight', 'segoe ui', segoe, tahoma, helvetica, arial, sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem !important;
}
.it-approach-step p {
  margin: 0 !important;
  font-size: 0.95rem !important;
}

/* -----------------------------------------------------------------
   Home – Our Impact table
   ----------------------------------------------------------------- */
.it-impact {
  margin: 0 0 2.5rem !important;
}
.it-impact-table {
  margin-top: 1rem !important;
}
.it-impact-row {
  align-items: flex-start !important;
  border-top: 1px solid #dfe1e5 !important;
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) 3fr !important;
  gap: 1.5rem !important;
  padding: 1.5rem 0 !important;
}
.it-impact-row:last-child { border-bottom: 1px solid #dfe1e5 !important; }
.it-impact-row__title h3 {
  color: #09244b !important;
  font-family: 'segoe ui semilight', 'segoe ui', segoe, tahoma, helvetica, arial, sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
  padding-left: 0.75rem !important;
  border-left: 4px solid transparent !important;
}
.it-impact-row--gold  .it-impact-row__title h3 { border-left-color: #c9a04f !important; }
.it-impact-row--blue  .it-impact-row__title h3 { border-left-color: #2d5b93 !important; }
.it-impact-row--peach .it-impact-row__title h3 { border-left-color: #e6a48a !important; }

.it-impact-row__metrics {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.25rem 1.5rem !important;
}
@media (max-width: 720px) {
  .it-impact-row__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 480px) {
  .it-impact-row__metrics { grid-template-columns: 1fr !important; }
}
.it-impact-row__metrics > div { min-width: 0 !important; }
.it-impact-row__metrics strong {
  color: #09244b !important;
  display: block !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  margin-bottom: 0.35rem !important;
}
.it-impact-row__metrics span {
  color: #4a5060 !important;
  display: block !important;
  font-size: 0.85rem !important;
  line-height: 1.4 !important;
}

/* -----------------------------------------------------------------
   Home – What We're Focused On
   ----------------------------------------------------------------- */
.it-focus {
  margin: 0 0 2rem !important;
}
.it-focus-head {
  align-items: flex-end !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  justify-content: space-between !important;
  margin-bottom: 1.25rem !important;
}
.it-focus-cta {
  flex: 0 0 auto !important;
}
.it-focus-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 1rem !important;
}
.it-focus-card {
  background: #fff !important;
  border-bottom: 3px solid #c9a04f !important;
  border-radius: 4px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
  color: #09244b !important;
  display: block !important;
  padding: 1.25rem 1.25rem 1.5rem !important;
  position: relative !important;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
.it-focus-card:hover {
  box-shadow: 0 4px 12px rgba(9,36,75,0.12) !important;
  color: #09244b !important;
  text-decoration: none !important;
  transform: translateY(-2px) !important;
}
.it-focus-card--gold  { border-bottom-color: #c9a04f !important; }
.it-focus-card--blue  { border-bottom-color: #2d5b93 !important; }
.it-focus-card--peach { border-bottom-color: #e6a48a !important; }
.it-focus-card__num {
  color: #6a707c !important;
  font-family: 'segoe ui semilight', 'segoe ui', segoe, tahoma, helvetica, arial, sans-serif !important;
  font-size: 1.75rem !important;
  font-weight: 600 !important;
  position: absolute !important;
  right: 1rem !important;
  top: 0.75rem !important;
}
.it-focus-card strong {
  color: #09244b !important;
  display: block !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  padding-right: 2.5rem !important;
}

/* -----------------------------------------------------------------
   Work page – focus area sections
   ----------------------------------------------------------------- */
.it-work-intro {
  margin: 0 0 1.5rem !important;
}
.it-work-intro .it-section-heading {
  font-size: 2.25rem !important;
}
.it-focus-area {
  border-left: 4px solid #c9a04f !important;
  background: #fff !important;
  margin: 0 0 2rem !important;
  padding: 1.5rem 1.5rem 1.75rem !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
  border-radius: 0 6px 6px 0 !important;
}
.it-focus-area--gold  { border-left-color: #c9a04f !important; }
.it-focus-area--blue  { border-left-color: #2d5b93 !important; }
.it-focus-area--peach { border-left-color: #e6a48a !important; }
.it-focus-area__head {
  align-items: baseline !important;
  display: flex !important;
  gap: 1rem !important;
  flex-wrap: wrap !important;
  margin-bottom: 0.75rem !important;
}
.it-focus-area__num {
  color: #7a5c1e !important;
  font-family: 'segoe ui semilight', 'segoe ui', segoe, tahoma, helvetica, arial, sans-serif !important;
  font-size: 2rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  flex: 0 0 auto !important;
}
.it-focus-area--blue  .it-focus-area__num { color: #2d5b93 !important; }
.it-focus-area--peach .it-focus-area__num { color: #b1512b !important; }
.it-focus-area__title {
  color: #09244b !important;
  font-family: 'segoe ui semilight', 'segoe ui', segoe, tahoma, helvetica, arial, sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
  line-height: 1.25 !important;
}
.it-focus-area__lede {
  color: #4a5060 !important;
  font-size: 1rem !important;
  margin: 0.35rem 0 0 !important;
}
.it-initiative-list {
  list-style: none !important;
  margin: 1rem 0 0 !important;
  padding: 0 !important;
}
.it-initiative-list li {
  border-top: 1px solid #eceef2 !important;
  padding: 0.85rem 0 !important;
  font-size: 0.98rem !important;
  line-height: 1.55 !important;
}
.it-initiative-list li:first-child { border-top: 0 !important; }
.it-initiative-list strong {
  color: #09244b !important;
}

/* -----------------------------------------------------------------
   Work page – Gallery + Partner CTA (mostly using existing classes)
   ----------------------------------------------------------------- */
.it-gallery {
  margin: 2.5rem 0 !important;
  padding-top: 1.5rem !important;
  border-top: 1px solid #dfe1e5 !important;
}
.it-partner-cta {
  margin: 2rem 0 !important;
  padding: 1.5rem !important;
  background: #f4f5f7 !important;
  border-radius: 6px !important;
  text-align: center !important;
}
.it-partner-cta .it-section-heading { margin-top: 0 !important; }

/* Right-column partner block on the home page */
.it-partner {
  padding: 1.25rem 0 !important;
}
.it-partner h2 {
  color: #09244b !important;
  font-family: 'segoe ui semilight', 'segoe ui', segoe, tahoma, helvetica, arial, sans-serif !important;
  font-size: 1.6rem !important;
  font-weight: 600 !important;
  margin: 0 0 0.5rem !important;
}
.it-partner p { font-size: 0.95rem !important; }

/* -----------------------------------------------------------------
   News page – Field notes / On the ground
   ----------------------------------------------------------------- */
.it-fieldnotes {
  background: #f4f5f7 !important;
  border-radius: 6px !important;
  margin: 0 0 2.5rem !important;
  padding: 2rem 1.5rem !important;
}
.it-fieldnotes__lede {
  color: #4a5060 !important;
  max-width: 640px !important;
}
.it-fieldnotes__hero {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 4px !important;
  margin: 1.5rem 0 0 !important;
}
.it-fieldnotes__hero figure {
  margin: 0 !important;
  aspect-ratio: 3 / 4 !important;
  overflow: hidden !important;
}
.it-fieldnotes__hero img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  float: none !important;
}
.it-fieldnotes__strip {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)) !important;
  gap: 6px !important;
  list-style: none !important;
  margin: 1rem 0 0 !important;
  padding: 0 !important;
}
.it-fieldnotes__strip li {
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  border-radius: 2px !important;
}
.it-fieldnotes__strip img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: grayscale(1) !important;
  float: none !important;
}

/* -----------------------------------------------------------------
   News page – In the news
   ----------------------------------------------------------------- */
.it-inthenews { margin-bottom: 2.5rem !important; }
.it-inthenews__lede { max-width: 640px !important; margin: 0 0 1.25rem !important; }

.it-featured {
  background: #09244b !important;
  border-radius: 6px !important;
  color: #fff !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
}
.it-featured__card {
  background: #09244b !important;
  padding: 1.5rem 1.25rem !important;
  color: #fff !important;
  border-right: 1px solid rgba(255,255,255,0.15) !important;
}
.it-featured__card:last-child { border-right: 0 !important; }
.it-news .it-featured__tag,
.it-featured .it-featured__tag {
  color: #c9a04f !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  margin: 0 0 0.5rem !important;
}
.it-featured__card h3 {
  color: #fff !important;
  font-family: 'segoe ui semilight', 'segoe ui', segoe, tahoma, helvetica, arial, sans-serif !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin: 0 0 0.6rem !important;
}
.it-featured__card h3 a {
  color: #fff !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}
.it-featured__card h3 a:hover { color: #c9a04f !important; }
.it-news .it-featured__meta,
.it-featured .it-featured__meta {
  color: rgba(255,255,255,0.75) !important;
  font-size: 0.85rem !important;
  margin: 0 !important;
}

.it-timelines {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  gap: 2rem !important;
  margin-top: 2rem !important;
}
.it-timeline__title {
  color: #09244b !important;
  font-family: 'segoe ui semilight', 'segoe ui', segoe, tahoma, helvetica, arial, sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  margin: 0 0 0.75rem !important;
}
.it-timeline__list {
  border-left: 2px solid #dfe1e5 !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.it-timeline__list li {
  display: grid !important;
  grid-template-columns: 72px 1fr !important;
  gap: 0.75rem !important;
  padding: 0.85rem 0 0.85rem 1rem !important;
  border-top: 1px solid #eceef2 !important;
  align-items: baseline !important;
}
.it-timeline__list li:first-child { border-top: 0 !important; }
.it-timeline__date {
  color: #6a707c !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}
.it-timeline__list a {
  color: #09244b !important;
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
}
.it-timeline__list a:hover { text-decoration: underline !important; color: #2d5b93 !important; }
.it-inthenews__newsletter {
  margin-top: 1.5rem !important;
  font-size: 0.95rem !important;
}

/* -----------------------------------------------------------------
   Responsive tweaks
   ----------------------------------------------------------------- */
@media (max-width: 720px) {
  .it-impact-row { grid-template-columns: 1fr !important; }
  .it-fieldnotes__hero { grid-template-columns: 1fr !important; }
  .it-fieldnotes__hero figure { aspect-ratio: 4 / 3 !important; }
  .it-featured__card { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,0.15) !important; }
  .it-featured__card:last-child { border-bottom: 0 !important; }
  .it-section-heading { font-size: 1.65rem !important; }
  .it-story .it-lede { font-size: 1.5rem !important; }
  .it-story .it-purpose-heading { font-size: 1.2rem !important; }
}

/* -----------------------------------------------------------------
   Home – Impact timestamp caption
   ----------------------------------------------------------------- */
.it-impact__timestamp {
  color: #6a707c !important;
  font-size: 0.85rem !important;
  font-style: italic !important;
  letter-spacing: 0.04em !important;
  margin: 0 0 1rem !important;
}

/* -----------------------------------------------------------------
   Team page – intro paragraph (above Francesca's section)
   ----------------------------------------------------------------- */
.it-team-intro {
  color: #1a1f2e !important;
  font-family: 'segoe ui', segoe, tahoma, helvetica, arial, sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  margin: 0 0 1.5rem !important;
  max-width: 780px !important;
}
.it-team-intro a { color: #09244b !important; text-decoration: underline !important; }
.it-team-intro a:hover { color: #2d5b93 !important; }

/* -----------------------------------------------------------------
   Team page – headshot grid
   ----------------------------------------------------------------- */
.it-team {
  margin: 1.5rem 0 2.5rem !important;
}
.it-team__lede {
  color: #4a5060 !important;
  max-width: 640px !important;
  margin: 0 0 1.5rem !important;
}
.it-team-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 1.5rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.it-team-card {
  background: #fff !important;
  border-bottom: 3px solid #c9a04f !important;
  border-radius: 4px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
  padding: 1rem 1rem 1.25rem !important;
  text-align: center !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
.it-team-card:hover {
  box-shadow: 0 4px 12px rgba(9,36,75,0.12) !important;
  transform: translateY(-2px) !important;
}
.it-team-card__photo {
  aspect-ratio: 1 / 1 !important;
  background: #09244b !important;
  border-radius: 50% !important;
  margin: 0 auto 0.85rem !important;
  overflow: hidden !important;
  width: 140px !important;
  max-width: 100% !important;
}
.it-team-card__photo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  float: none !important;
}
.it-team-card__name {
  color: #09244b !important;
  font-family: 'segoe ui semilight', 'segoe ui', segoe, tahoma, helvetica, arial, sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  margin: 0 0 0.25rem !important;
}
.it-team-card__title {
  color: #4a5060 !important;
  font-size: 0.85rem !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

/* -----------------------------------------------------------------
   News – field-notes gallery carousel (Bootstrap-driven)
   Locked-height slides + object-fit:contain so landscape photos show
   in full and portrait photos aren't cropped. Fixed height keeps the
   band from resizing as slides change.
   ----------------------------------------------------------------- */
.it-fieldnotes__carousel {
  margin-top: 1.5rem !important;
  background: #09244b !important;
  border-radius: 6px !important;
  overflow: hidden !important;
}
.it-fieldnotes__carousel .carousel-inner {
  background: #09244b !important;
  height: 500px !important;
}
.it-fieldnotes__carousel .carousel-item {
  height: 100% !important;
}
.it-fieldnotes__triplet {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 4px !important;
  padding: 4px !important;
  height: 100% !important;
  box-sizing: border-box !important;
}
.it-fieldnotes__triplet img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #09244b !important;
  float: none !important;
  border-radius: 2px !important;
}
.it-fieldnotes__carousel-ctrl {
  background: rgba(0,0,0,0.35) !important;
  width: 6% !important;
  opacity: 0.9 !important;
}
.it-fieldnotes__carousel-ctrl:hover { background: rgba(0,0,0,0.55) !important; }
.it-fieldnotes__carousel-dots {
  bottom: 8px !important;
}
.it-fieldnotes__carousel-dots li {
  background: rgba(255,255,255,0.5) !important;
  height: 8px !important;
  width: 8px !important;
  border-radius: 50% !important;
  border: 0 !important;
  margin: 0 4px !important;
  text-indent: -9999px !important;
}
.it-fieldnotes__carousel-dots li.active {
  background: #c9a04f !important;
}
@media (max-width: 900px) {
  .it-fieldnotes__carousel .carousel-inner { height: 380px !important; }
}
@media (max-width: 720px) {
  .it-fieldnotes__carousel .carousel-inner { height: 300px !important; }
  .it-fieldnotes__triplet { grid-template-columns: 1fr !important; }
}

/* Neutralize the site's global "img { float: right }" rule inside our new sections */
.it-home img,
.it-work img,
.it-news img,
.it-team img {
  float: none !important;
}

