/**
 * EdGEL subsite footer.
 */

@use "../settings" as *;
@use "../tools" as *;

.footer-affiliations {
  @include edgel-topline();
  padding: space(5) space(3) space(3);
  background-color: $footer-panel-light;
}

.footer-affiliation-image {
  width: auto;
  max-height: 75px;
  margin: 0 space(3) space(3);
}

.footer-subsite-content {
  @include padding-top(space(5));
  @include padding-bottom(space(2));
  color: $white;
  background-color: $footer-panel-dark;

  --#{$prefix}link-color: #{$white};
  --#{$prefix}link-color-rgb: #{to-rgb($white)};
  --#{$prefix}link-hover-color: #{$white};
  --#{$prefix}link-hover-color-rgb: #{to-rgb($white)};

  .row {
    --#{$prefix}gutter-y: #{space(2)};
  }

  [class^="col"],
  [class*=" col"] {
    &:last-child > :last-child {
      margin-bottom: $paragraph-margin-bottom;
    }
  }
}

.footer-subsite-link {
  @include font-size(1.25rem);
  font-weight: $headings-font-weight;
}
