/* Vetrego brand styles, layered over Ignite's Bootstrap. */

@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/SourceSans3VF-Upright.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/SourceSans3VF-Italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --vg-navy: #283450;
  --vg-blue: #003776;
  --vg-grey: #f2f3f7;
  --vg-line: #e3e6ee;
  --vg-width: 1140px;
  --bs-body-font-family: "Source Sans 3", system-ui, sans-serif;
  --bs-body-color: var(--vg-navy);
  --bs-link-color-rgb: 0, 55, 118;
  --bs-link-hover-color-rgb: 40, 52, 80;
}

body {
  font-family: var(--bs-body-font-family);
  color: var(--vg-navy);
  background: #fff;
  /* Keep the footer at the bottom of short pages. */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.ig-main-content { flex: 1 0 auto; }

/* Centred content inside full-width bands. */
.vg-container {
  max-width: var(--vg-width);
  margin-inline: auto;
  padding-inline: 1rem;
}

.vg-band { padding-block: 4rem; }

/* Call to action */
.vg-cta,
.vg-header a[href^="mailto:"] {
  border-radius: 999px;
  padding: .5rem 1.25rem;
  font-weight: 600;
  background: var(--vg-blue);
  border-color: var(--vg-blue);
  color: #fff;
}

.vg-cta:hover,
.vg-header a[href^="mailto:"]:hover {
  background: var(--vg-navy);
  border-color: var(--vg-navy);
  color: #fff;
}

/* Header */
.vg-header { border-bottom: 1px solid var(--vg-line); background: #fff; }
.vg-header > div { max-width: var(--vg-width); margin-inline: auto; padding-inline: 1rem; }
.vg-wordmark { height: 28px; width: auto; }
.vg-header .nav-link { color: var(--vg-navy); font-weight: 500; }
.vg-header .nav-link.active { color: var(--vg-blue); font-weight: 700; }

@media (min-width: 768px) {
  .vg-header .navbar-nav { align-items: center; gap: .25rem; }
  .vg-header a[href^="mailto:"] { margin-left: .75rem; }
}

@media (max-width: 767.98px) {
  .vg-header .navbar-nav { padding-block: .75rem; }
  .vg-header a[href^="mailto:"] { display: inline-block; margin-top: .5rem; }
}

/* Footer */
.vg-footer { background: var(--vg-navy); color: #fff; padding-block: 2.5rem; }
.vg-footer a { color: #fff; }
.vg-footer a:hover { color: #fff; text-decoration-thickness: 2px; }
.vg-footer > div { display: grid; gap: 1.5rem; }
.vg-footer-tagline { font-weight: 600; font-size: 1.125rem; margin-bottom: .25rem; }
.vg-footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.vg-footer-copyright { margin: 0; opacity: .85; font-size: .9rem; }

@media (min-width: 768px) {
  .vg-footer > div { grid-template-columns: 1fr auto; align-items: start; }
  .vg-footer-copyright { grid-column: 1 / -1; }
}

/* Light call to action, on dark bands */
.vg-cta.vg-cta-light {
  background: #fff;
  border-color: #fff;
  color: var(--vg-blue);
}

.vg-cta.vg-cta-light:hover {
  background: var(--vg-grey);
  border-color: var(--vg-grey);
  color: var(--vg-navy);
}

/* Hero */
.vg-hero {
  background: linear-gradient(120deg, var(--vg-navy) 0%, var(--vg-blue) 100%);
  color: #fff;
  padding-block: 5rem;
}

.vg-hero-inner > * { max-width: 46rem; }
.vg-hero-title { font-weight: 700; line-height: 1.1; color: #fff; margin-bottom: 1rem; }
.vg-hero-lead { font-size: 1.25rem; line-height: 1.5; margin-bottom: 2rem; }

/* Highlights */
.vg-highlights { background: var(--vg-grey); padding-block: 1.75rem; }

.vg-highlights-list {
  list-style: none;
  margin-block: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.vg-highlights-list li {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
}

.vg-highlights-list p { margin: 0; }

@media (max-width: 767.98px) {
  .vg-highlights-list { grid-template-columns: 1fr; gap: .5rem; }
}

/* Numbered cards */
.vg-steps h2 { margin-bottom: 1.5rem; }
.vg-steps .row { row-gap: 1.5rem; }

.vg-card {
  background: #fff;
  border: 1px solid var(--vg-line);
  border-radius: 12px;
  padding: 1.75rem;
  height: 100%;
}

.vg-card-number {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--vg-blue);
  margin-bottom: 1rem;
}

.vg-card h3 { font-size: 1.4rem; font-weight: 600; }
.vg-card p:last-child { margin-bottom: 0; }

/* Who we are */
.vg-team { background: var(--vg-grey); }
.vg-team-text { font-size: 1.15rem; max-width: 46rem; }
.vg-arrow-link { font-weight: 600; }
.vg-arrow-link::after { content: " →"; }

/* Closing call to action */
.vg-cta-band {
  background: var(--vg-blue);
  color: #fff;
  padding-block: 4rem;
  text-align: center;
}

.vg-cta-band h2 { color: #fff; }
.vg-cta-band-text { font-size: 1.15rem; max-width: 40rem; margin: 0 auto 2rem; }

/* Inner page header */
.vg-page-header {
  background: linear-gradient(120deg, var(--vg-navy) 0%, var(--vg-blue) 100%);
  color: #fff;
  padding-block: 3.5rem;
}

.vg-page-title { color: #fff; font-weight: 700; margin: 0; }

/* About */
.vg-mission-text {
  font-size: 1.4rem;
  line-height: 1.5;
  max-width: 50rem;
  padding-left: 1.25rem;
  border-left: 4px solid var(--vg-blue);
  margin: 0;
}

.vg-directors { background: var(--vg-grey); }
.vg-directors h2 { margin-bottom: 1.5rem; }
.vg-directors .row { row-gap: 1.5rem; }
.vg-profile h3 { margin-bottom: 1rem; }
.vg-together-text { font-size: 1.15rem; max-width: 50rem; margin: 0; }

/* How we help */
.vg-intro { font-size: 1.25rem; max-width: 50rem; margin-bottom: 2.5rem; }
.vg-areas .row { row-gap: 1.5rem; }
.vg-area h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: .75rem; }

.vg-area-icon {
  font-size: 2rem;
  line-height: 1;
  color: var(--vg-blue);
  margin-bottom: 1rem;
}

.vg-area-examples { padding-left: 1.1rem; margin-bottom: 0; }
.vg-area-examples li { margin-bottom: .4rem; }
.vg-area-examples li::marker { color: var(--vg-blue); }

/* Contact */
.vg-contact-address { margin-top: 1.5rem; }

/* Cards in a row share the row's height. */
/* Bootstrap's align-self-start (from Grid(alignment: .top)) is !important, so this has to be too. */
.row:has(> * > .vg-card) > * { display: flex; align-self: stretch !important; }
.row:has(> * > .vg-card) > * > .vg-card { width: 100%; }
