/* English footer: reference desktop six columns; mobile stacked navigation. */

.of-sany-footer-rebuild__footer {
  display: block;
  width: 100%;
  font-family: Arial, sans-serif;
}

.of-sany-footer-rebuild__footer[dir="rtl"] {
  direction: rtl;
}

.of-sany-footer-rebuild__footer {
  min-height: 360px;
  padding-top: 48px;
  padding-bottom: 24px;
  background-color: #212429;
  color: #fff;
}

.of-sany-footer-rebuild__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.of-sany-footer-rebuild__footer .of-nav-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 30px;
}

.of-sany-footer-rebuild__footer .of-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 0;
  border-bottom: 1px solid #4b5563;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.of-sany-footer-rebuild__footer .of-nav-item:last-child {
  border-bottom: 0;
}

.of-sany-footer-rebuild__footer .of-nav-item:hover {
  color: #d1d5db;
}

.of-sany-footer-rebuild__footer .of-nav-chevron {
  width: 16px;
  height: 16px;
  color: #fff;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.of-sany-footer-rebuild__footer[dir="rtl"] .of-nav-chevron {
  transform: rotate(180deg);
}

.of-sany-footer-rebuild__footer .of-footer-nav-group {
  display: none;
  cursor: pointer;
}

.of-sany-footer-rebuild__footer .of-nav-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  margin: 0 0 12px;
  padding: 4px 0;
  border-bottom: 1px solid #707070;
  font-weight: 700;
}

.of-sany-footer-rebuild__footer .of-nav-group-title a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
}

.of-sany-footer-rebuild__footer .of-nav-group-list {
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.of-sany-footer-rebuild__footer .of-nav-group-list li {
  margin-bottom: 6px;
}

.of-sany-footer-rebuild__footer .of-nav-group-link {
  color: #b4b4b7;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

.of-sany-footer-rebuild__footer .of-nav-group-link:hover {
  color: #ef4444;
}

.of-sany-footer-rebuild__footer .of-social-title {
  display: none;
  margin-bottom: 42px;
  font-weight: 700;
}

.of-sany-footer-rebuild__footer .of-social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 20px 0;
}

.of-sany-footer-rebuild__footer .of-social-link,
.of-sany-footer-rebuild__footer .of-social-link img {
  width: 32px;
  height: 32px;
}

.of-sany-footer-rebuild__footer .of-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  transition: opacity 0.15s ease-in-out;
}

.of-sany-footer-rebuild__footer .of-social-link:hover img {
  opacity: 0.8;
}

.of-sany-footer-rebuild__footer .of-service-network-btn {
  display: none;
  width: fit-content;
  margin-top: 76px;
  padding: 8px 16px;
  border: 1px solid #9ca3af;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.15s ease-in-out;
}

.of-sany-footer-rebuild__footer .of-service-network-btn:hover {
  background-color: #374151;
}

.of-sany-footer-rebuild__footer .of-mobile-inquiry-btn {
  display: block;
  margin: 35px 0 20px;
  padding: 13px;
  border: 1px solid #fff;
  border-radius: 4px;
  color: #fff;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease-in-out;
}

.of-sany-footer-rebuild__footer .of-mobile-inquiry-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.of-sany-footer-rebuild__footer .of-bottom-section {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #4b5563;
  text-align: center;
}

.of-sany-footer-rebuild__footer .of-copyright-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #b4b4b7;
  font-size: 12px;
}

.of-sany-footer-rebuild__footer .of-logo-small {
  display: none;
  height: 20px;
}

.of-sany-footer-rebuild__footer .of-copyright-text {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
}

.of-sany-footer-rebuild__footer .of-links-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  color: #b4b4b7;
  font-size: 12px;
}

.of-sany-footer-rebuild__footer .of-links-section a,
.of-sany-footer-rebuild__footer .of-links-section button {
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  color: #b4b4b7;
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
  vertical-align: baseline;
  cursor: pointer;
  transition: color 0.15s ease-in-out;
}

.of-sany-footer-rebuild__footer .of-links-section a:hover,
.of-sany-footer-rebuild__footer .of-links-section button:hover {
  color: #fff;
}

.of-sany-footer-rebuild__footer .of-top-button::after {
  content: " ↑";
  position: relative;
  top: -1px;
}

@media (min-width: 1024px) {
  .of-sany-footer-rebuild__footer {
    min-height: 320px;
  }

  .of-sany-footer-rebuild__container {
    padding: 0 16px 0 48px;
  }

  .of-sany-footer-rebuild__footer .of-nav-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
  }

  .of-sany-footer-rebuild__footer .of-nav-item {
    display: none;
  }

  .of-sany-footer-rebuild__footer .of-footer-nav-group {
    display: block;
  }

  .of-sany-footer-rebuild__footer .of-nav-group-title {
    height: auto;
    padding: 0;
    border-bottom: 0;
  }

  .of-sany-footer-rebuild__footer .of-nav-group-title a {
    font-size: 17px;
  }

  .of-sany-footer-rebuild__footer .of-nav-group-list {
    display: block;
  }

  .of-sany-footer-rebuild__footer .of-nav-group-link {
    font-size: 15px;
  }

  .of-sany-footer-rebuild__footer .of-social-title {
    display: block;
    font-size: 17px;
  }

  .of-sany-footer-rebuild__footer .of-social-links {
    justify-content: flex-start;
    margin: 0;
  }

  .of-sany-footer-rebuild__footer[dir="rtl"] .of-social-links {
    justify-content: center;
  }

  .of-sany-footer-rebuild__footer .of-service-network-btn {
    display: block;
    font-size: 15px;
  }

  .of-sany-footer-rebuild__footer .of-mobile-inquiry-btn {
    display: none;
  }

  .of-sany-footer-rebuild__footer .of-bottom-section {
    flex-direction: row;
    text-align: left;
  }

  .of-sany-footer-rebuild__footer[dir="rtl"] .of-bottom-section {
    flex-direction: row-reverse;
    text-align: right;
  }

  .of-sany-footer-rebuild__footer .of-copyright-section {
    justify-content: flex-start;
    margin-bottom: 0;
    color: #b4b4b7;
    font-size: 14px;
  }

  .of-sany-footer-rebuild__footer .of-logo-small {
    display: block;
  }

  .of-sany-footer-rebuild__footer .of-links-section {
    justify-content: flex-end;
    color: #b4b4b7;
    font-size: 15px;
  }

  .of-sany-footer-rebuild__footer[dir="rtl"] .of-links-section {
    justify-content: flex-start;
  }

  .of-sany-footer-rebuild__footer .of-links-section a,
  .of-sany-footer-rebuild__footer .of-links-section button {
    color: #b4b4b7;
    font-size: 15px;
  }
}

@media (min-width: 1280px) {
  .of-sany-footer-rebuild__container {
    max-width: 1440px;
  }
}


/* Preserve the project content alignment while using reference footer layout. */
.of-sany-footer-rebuild__container {
 width:calc(100% - var(--gutter)*2); max-width:var(--content);
 padding:0; margin-inline:auto;
}
@media(min-width:1024px) {
 .of-nav-grid { align-items:start; }
 .of-footer-nav-group { min-width:0; padding-right:14px; }
}
@media(prefers-reduced-motion:reduce) {
 .of-sany-footer-rebuild__footer a { transition:none; }
}
