body {
  margin: 0;
  font-family: Inter, sans-serif;
}

.main-menu .current-menu-item>a,
.main-menu .current_page_item>a {
  color: #2563eb;
  font-weight: bold;
  border-bottom: 2px solid #2563eb;
}

/* Header Template Part Styles */
.has-modal-open .admin-bar .is-menu-open .wp-block-navigation__responsive-dialog {
  margin-top: 0;
}

.docsy-header .wp-block-navigation__responsive-container.is-menu-open {
  padding: 1.5rem;
}


.docsy-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content ul,
.docsy-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  align-items: baseline;
}

.docsy-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content ul li a.wp-block-pages-list__item__link {
  font-size: 1.2rem;
  font-weight: 700;
}

.docsy-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content ul li:hover a.wp-block-pages-list__item__link {
  color: #2563eb;
}

.docsy-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content ul li.current-menu-item a.wp-block-pages-list__item__link {
  color: #2563eb;
}

/* Footer Template Part Styles */

.docsy-footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
}

.docsy-footer .footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.docsy-footer .footer-brand h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.docsy-footer .footer-brand p {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
  max-width: 280px;
}

.docsy-footer .footer-col h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-top: 0;
}

.docsy-footer .footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.docsy-footer .wp-block-navigation-item a,
.docsy-footer .footer-list a {
  color: #6b7280;
  font-size: 0.875rem;
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s;
}

.docsy-footer .wp-block-navigation-item a:hover,
.docsy-footer .footer-list a:hover {
  color: #2563eb;
}

.docsy-footer .footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.docsy-footer .footer-copyright {
  color: #6b7280;
  font-size: 1rem;
  margin: 0;
  line-height: 1.5;
}

.docsy-footer .footer-socials {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.docsy-footer .footer-socials a {
  color: #6b7280;
  transition: color 0.2s;
}

.docsy-footer .footer-socials a:hover {
  color: #111827;
}

.docsy-footer .footer-socials svg {
  width: 20px;
  height: 20px;
}

/* Responsive Styles */
@media (min-width: 768px) {
  .docsy-footer .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
  }

  .docsy-footer .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .docsy-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .docsy-footer .footer-grid .footer-col {
    display: flex !important;
    gap: 0.5rem !important;
  }

  .docsy-footer .footer-list {
    gap: 0.5rem !important;
  }
}

.docsy-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.wp-block-group-is-layout-flow {
  margin: 0 !important;
}

.wp-block-template-part {
  margin: 0 !important;
}

.documents-footer p {
  color: #4b5563;
  /* Dark gray */
}

.documents-footer a {
  color: #9333ea;
  /* Purple */
  text-decoration: none;
}

.documents-footer a:hover {
  text-decoration: underline;
}

/* TOC Indentation */
.nt-widget .nt-foldable {
  padding-left: 0.5rem !important;
}

/* TOC Hierarchy styling */
#docsy_toc .nt-a {
  font-weight: 600 !important;
  color: #111827 !important;
}

#docsy_toc .nt-foldable .nt-a {
  font-weight: 400 !important;
  color: #4b5563 !important;
}