/* ---------------------------------------------------------
 * CADIR Site Footer
 *
 * The State Template's .section-standout provides the base
 * dark-section styling. These rules apply the DIR Figma
 * "Starter site footer" (desktop only; mobile keeps the
 * stacked layout).
 *
 * Drupal loads SDC CSS before cagov.core.css, so rules start
 * with aside.site-footer to be more specific than the State
 * Template's .section-standout rules.
 * --------------------------------------------------------- */
aside.site-footer {
  background: linear-gradient(to bottom, #10115e, #25408f);
  padding-top: 3rem;
  padding-bottom: 3rem;
}
aside.site-footer .site-footer-heading {
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
  color: #ffd41c;
  font-size: 1.5rem;
  line-height: 1.1;
}
aside.site-footer .site-footer-link {
  margin: 0 0 1.25rem;
  font-family: var(--font-family-sans-serif);
  font-size: 1.125rem;
  line-height: 1;
}
aside.site-footer .site-footer-link:last-child {
  margin-bottom: 0;
}
aside.site-footer .site-footer-logo {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
aside.site-footer .site-footer-logo img,
aside.site-footer .site-footer-logo svg {
  max-width: 100%;
  height: auto;
}
aside.site-footer {
  /* Figma: the logo is 80px tall and sizes its own column. */
}
@media (width >= 992px) {
  aside.site-footer .row > .col-md:has(> .site-footer-logo) {
    flex: 0 0 auto;
    width: auto;
  }
  aside.site-footer .site-footer-logo img,
  aside.site-footer .site-footer-logo svg {
    width: auto;
    max-width: none;
    height: 80px;
  }
}
aside.site-footer .site-footer-social {
  margin-top: 1.875rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid #4d6eb4;
}
aside.site-footer .site-footer-social .socialsharer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  float: none;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
aside.site-footer .site-footer-social .socialsharer-container a,
aside.site-footer .site-footer-social .socialsharer-container a span {
  display: inline-flex;
  color: #fff !important;
  text-decoration: none;
}
aside.site-footer .site-footer-social .socialsharer-container a:hover,
aside.site-footer .site-footer-social .socialsharer-container a:focus {
  color: #fff;
}
aside.site-footer .site-footer-social .socialsharer-container [class^=ca-gov-icon-],
aside.site-footer .site-footer-social .socialsharer-container [class*=" ca-gov-icon-"] {
  font-size: 1.5rem;
}
aside.site-footer {
  /* Bluesky has no State Template icon font glyph; see
     paragraph--social-media-links.html.twig. */
}
aside.site-footer .site-footer-social .social-icon-svg {
  width: 1.5rem;
  height: 1.5rem;
}
aside.site-footer {
  /* Figma mobile site footer: used while the columns stack. */
}
@media (width < 768px) {
  aside.site-footer {
    background: linear-gradient(to bottom, #25408f, #10115e);
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    text-align: center;
  }
  aside.site-footer .row > [class*=col-] + [class*=col-] {
    margin-top: 2rem;
  }
  aside.site-footer .site-footer-heading {
    font-size: 1.25rem;
    line-height: 1.25;
  }
  aside.site-footer .site-footer-link {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
  }
  aside.site-footer .site-footer-logo {
    padding: 10px 0;
  }
  aside.site-footer .site-footer-logo img,
  aside.site-footer .site-footer-logo svg {
    width: auto;
    height: 60px;
  }
  aside.site-footer {
    /* The divider is only as wide as the row of icons. */
  }
  aside.site-footer .site-footer-social {
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  aside.site-footer .site-footer-social .socialsharer-container {
    justify-content: center;
    gap: 1.5rem;
  }
}