/* Shared footer only. Brand tokens, original logo and page content are preserved. */
.main-section.footer.mos-site-footer {
  padding: 56px 0 24px;
  color: var(--_colors---core-neutral-color--dark-green);
  background: var(--_colors---core-neutral-color--whitesmoke);
}

.mos-site-footer .mos-footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 2.2fr);
  align-items: start;
  gap: clamp(32px, 4vw, 48px);
}

.mos-site-footer .mos-footer-links {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.4fr);
  align-items: start;
  gap: 24px;
  min-width: 0;
}

.mos-site-footer .mos-footer-brand,
.mos-site-footer .mos-footer-nav,
.mos-site-footer .mos-footer-contact {
  min-width: 0;
}

.mos-site-footer .mos-footer-brand > .logo-link {
  display: inline-flex;
  max-width: 100%;
  width: fit-content;
}

.mos-site-footer .mos-footer-description {
  max-width: 43ch;
  margin: 20px 0 0;
  color: var(--_colors---core-neutral-color--green);
  font-size: 16px;
  line-height: 1.6;
}

.mos-site-footer .mos-footer-operator {
  margin: 14px 0 0;
  color: var(--_colors---core-neutral-color--green);
  font-size: 14px;
  line-height: 1.6;
}

.mos-site-footer h2 {
  margin: 0 0 16px;
  color: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}

.mos-site-footer a {
  color: inherit;
  text-decoration: none;
  transition: color .18s ease;
}

.mos-site-footer a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.mos-site-footer .mos-footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mos-site-footer .mos-footer-nav li {
  margin: 0;
  padding: 0;
}

.mos-site-footer .mos-footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  max-width: 100%;
  padding: 6px 0;
  color: var(--_colors---core-neutral-color--green);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.mos-site-footer .mos-footer-nav a:is(:hover, :focus-visible),
.mos-site-footer a.group-network__item:is(:hover, :focus-visible),
.mos-site-footer .mos-footer-icp:is(:hover, :focus-visible),
.mos-site-footer .mos-footer-sitemap:is(:hover, :focus-visible),
.mos-site-footer .mos-footer-contact-row:is(:hover, :focus-visible) span {
  color: #4b7500;
  text-decoration: none;
}

.mos-site-footer .mos-footer-contact-row:is(:hover, :focus-visible) {
  text-decoration: none;
}

.mos-site-footer .mos-footer-contact-row span {
  transition: color .18s ease;
}

.mos-site-footer .mos-footer-nav a[aria-current="page"]:not(:hover):not(:focus-visible) {
  color: var(--_colors---core-neutral-color--dark-green);
  font-weight: 600;
}

.mos-site-footer .mos-footer-social {
  justify-content: flex-start;
  gap: 8px;
  margin-top: 24px;
}

.mos-site-footer .mos-footer-social a {
  width: 44px;
  height: 44px;
}

.mos-site-footer .mos-footer-social a:is(:hover, :focus-visible) {
  color: #4b7500;
  background-color: #dce8d6;
}

.mos-site-footer .mos-footer-social svg {
  transition: transform .24s cubic-bezier(.16, 1, .3, 1);
}

.mos-site-footer .mos-footer-social a:is(:hover, :focus-visible) svg {
  transform: translateY(-3px) scale(1.1);
}

.mos-site-footer .mos-footer-address {
  margin: 0;
  color: var(--_colors---core-neutral-color--green);
  font-size: 15px;
  font-style: normal;
  line-height: 1.7;
  text-align: left;
}

.mos-site-footer .mos-footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  padding: 8px 0;
  color: var(--_colors---core-neutral-color--green);
  font-size: 16px;
  line-height: 1.7;
}

.mos-site-footer .mos-footer-contact-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.mos-site-footer .mos-footer-contact-row svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mos-site-footer .group-network {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}

.mos-site-footer .group-network h2 {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
}

.mos-site-footer .group-network__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mos-site-footer .group-network__grid li {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.mos-site-footer .group-network__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  height: 100%;
  min-height: 84px;
  padding: 14px 12px;
  border: 1px solid color-mix(in srgb, var(--_colors---core-neutral-color--green) 22%, transparent);
  color: var(--_colors---core-neutral-color--green);
  text-decoration: none;
}

.mos-site-footer .group-network__name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.mos-site-footer .group-network__domain {
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.mos-site-footer .group-network__item.is-current {
  border-color: var(--_colors---core-neutral-color--dark-green);
  color: var(--_colors---core-neutral-color--white);
  background: var(--_colors---core-neutral-color--dark-green);
}

.mos-site-footer .mos-footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  font-size: 13px;
  line-height: 1.5;
}

.mos-site-footer .mos-footer-legal p {
  flex: 1;
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.mos-site-footer .mos-footer-icp {
  display: inline;
  margin-left: 0;
  white-space: nowrap;
}

.mos-site-footer .mos-footer-sitemap {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

@media screen and (max-width: 991px) {
  .mos-site-footer .group-network__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media screen and (max-width: 1100px) {
  .mos-site-footer .mos-footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .mos-site-footer .mos-footer-brand {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  }

  .mos-site-footer .mos-footer-description {
    max-width: 48ch;
    margin-top: 12px;
  }

  .mos-site-footer .mos-footer-operator {
    grid-column: 1;
  }

  .mos-site-footer .mos-footer-social {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
    margin-top: 0;
  }

  .mos-site-footer .mos-footer-nav a {
    min-height: 44px;
  }
}

@media screen and (max-width: 600px) {
  .main-section.footer.mos-site-footer {
    padding: 36px 0 20px;
  }

  .mos-site-footer .mos-footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px 24px;
  }

  .mos-site-footer .mos-footer-brand {
    display: block;
    padding-bottom: 24px;
    border-bottom: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  }

  .mos-site-footer .mos-footer-description {
    max-width: 35ch;
    margin-top: 16px;
  }

  .mos-site-footer .mos-footer-social {
    margin-top: 20px;
  }

  .mos-site-footer .mos-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .mos-site-footer .mos-footer-contact {
    grid-column: 1 / -1;
    padding-top: 24px;
    border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  }

  .mos-site-footer .group-network {
    margin-top: 28px;
    padding-top: 24px;
  }

  .mos-site-footer .group-network__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mos-site-footer h2 {
    margin-bottom: 12px;
  }

  .mos-site-footer .mos-footer-legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-top: 28px;
    padding-top: 20px;
  }

  .mos-site-footer .mos-footer-sitemap {
    align-self: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mos-site-footer a,
  .mos-site-footer .mos-footer-contact-row span,
  .mos-site-footer .mos-footer-social svg {
    transition: none;
  }

  .mos-site-footer .mos-footer-social a:is(:hover, :focus-visible) svg {
    transform: none;
  }
}
