/* Custom footer styles matching cocoindex.io */
.footerCustom {
  padding: 0;
  background-color: var(--ifm-footer-background-color);
  border-top: 1px solid var(--radix-gray-4);
  font-family: 'Questrial', sans-serif;
}

.footerContainer {
  max-width: var(--ifm-container-width);
  margin: 0 auto;
  padding: 0;
}

.footerContent {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 768px) {
  .footerContent {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .footerContent {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 2.5rem;
  }
}

/* Footer Columns */
.footerColumn {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2.5rem 2.5rem;
  flex: 1 1 auto;
}

.footerColumn > .footerTitle {
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .footerColumn {
    padding: 2.5rem 2.5rem 5rem 2.5rem;
  }
}

@media (min-width: 1024px) {
  .footerColumn {
    padding: 2.5rem 2.5rem 5rem 2.5rem;
  }
}

.footerTitle {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: var(--my-color-text-black);
  font-family: 'Questrial', sans-serif;
}

.footerLinks {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footerLink {
  display: flex;
  align-items: center;
  color: #1f2328;
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.375rem 0.5rem;
  margin: 0 -0.5rem;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
  width: calc(100% + 1rem);
  justify-content: flex-start;
}

.footerLink:hover {
  background-color: #f3f4f6;
  color: #1f2328;
  text-decoration: none;
}

.footerIcon {
  margin-right: 0.5rem;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Logo Section */
.footerLogoSection {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2.5rem 2.5rem;
  width: 100%;
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .footerLogoSection {
    grid-column: 1 / -1;
    padding: 2.5rem 2.5rem 4rem 2.5rem;
  }
}

@media (min-width: 1024px) {
  .footerLogoSection {
    padding: 2.5rem 2.5rem 4rem 2.5rem;
    width: 300px;
    min-width: 300px;
    grid-column: auto;
  }
}

.logoContainer {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.logo {
  height: 64px;
  width: auto;
  max-width: 284px;
}

.copyrightSection {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.copyrightText {
  font-size: 0.875rem;
  color: var(--ifm-color-emphasis-600);
  margin: 0;
  font-family: 'Questrial', sans-serif;
}

.emailText {
  font-size: 0.875rem;
  color: var(--ifm-color-emphasis-600);
  margin: 0;
  font-family: 'Questrial', sans-serif;
  text-decoration: none;
  transition: color 0.2s ease;
}

.emailText:hover {
  color: var(--ifm-color-primary);
  text-decoration: none;
}

/* Dark mode adjustments */
[data-theme='dark'] .footerCustom {
  border-top-color: var(--radix-gray-4);
}

[data-theme='dark'] .footerLink {
  color: #e5e7eb;
}

[data-theme='dark'] .footerLink:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #f9fafb;
}


