a.rd3-ld-tree-link.home,
a.rd3-ld-tree-link.get-started,  
a.rd3-ld-tree-link.reviews, 
a.rd3-ld-tree-link.about-rd3tech,
a.rd3-ld-tree-link.information,
a.rd3-ld-tree-link.contact,
a.rd3-ld-tree-link.articles
{
    color: var(--rd3-ld-tree-folder) !important;
    font-weight: 700 !important;
}
/* ==========================================================================
   RD3 Tech - Footer Widgets Layout (Equal Width, Equal Height, Centered)
   ========================================================================== */

/* 1. Footer Container Grid Layout
   Uses CSS Grid so all 3 columns automatically expand to match 
   the width of the widest column while stretching to equal height. */
.footer-widgets {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
  box-sizing: border-box;
}

/* 2. Footer Columns & Widget Containers */
.footer-column {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0; /* Prevents long text from bursting grid tracks */
}

.footer-widget {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  width: 100%;
}

/* 3. Unify Tree Hierarchy & Force Full Height Extension Across All Wrappers */
.footer-widget .rd3-ld-directory,
.footer-widget .rd3-ld-tree,
.footer-widget #rd3-ld-tree-root {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  text-align: center;
 border-radius: 8px!important;
}

.rd3-ld-tree {
    border: transparent!important;
}

div#rd3-ld-tree-root{
    border-left: 0px solid var(--rd3-ld-tree-primary) !important;
}
.rd3-ld-style-ascii-bw{
    border-left-color: transparent !important;
    background: none;
    border: 0;
}


/* 4. Tree Row Alignment, Centering & ASCII Grid Preservation */
.rd3-ld-tree-row {
  display: flex !important;
  justify-content: center;
  align-items: center;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Ensure tree prefixes (├──, └──) use monospace font and don't shrink */
.rd3-ld-tree-row::before {
  content: attr(data-prefix);
  font-family: monospace, Courier, "Courier New";
  white-space: pre;
  flex-shrink: 0;
}

/* Truncate long post/page titles gracefully with an ellipsis */
.rd3-ld-tree-link {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* 5. Clean Up WordPress/CMS Auto-Injected Paragraph Spacing */
.footer-widget p {
  margin: 0 !important;
  padding: 0 !important;
}

.footer-widget p:empty,
.footer-widget > p:empty {
  display: none !important;
}

/* 6. Responsive Fallback (Collapse to single column on mobile) */
@media (max-width: 768px) {
  .footer-widgets {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}