.site-footer > .container{
    max-width: 100%;
    margin: 0 1%;
    padding: 0  25px;
}

.footer-hr-text{
 display: none;
}

.footer-hr {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0px 20% 1rem 20%
    
}

.footer-hr::before,
.footer-hr::after {
    content: "";
    height: 1px;
    flex: 1;
   
    opacity: 0.5;
}

.footer-hr::before{
 background: linear-gradient(90deg,rgba(255, 255, 255, 0) 0%, rgba(94, 94, 94, 0.5) 50%, rgba(0, 0, 0, 1) 100%);
}

.footer-hr::after{
     background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(94, 94, 94, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
);
}

.footer-hr span {
    display: block;
    width: 40px;
    height: 40px;
    padding: 15px;
    border-radius: 20px;
    background-color: #fff;
    background-image: url('../../img/logo.png');
    background-size: 40px 40px; 
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}


@media (max-width: 1024px) {

    .footer-hr {
        padding: 0 20px 1rem;
        gap: 8px;
    }

    .footer-hr span {
        width: 30px;
        height: 30px;
        padding: 10px;
        border-radius: 15px;
        background-size: 30px 30px;
    }

}

@media (max-width: 768px) {

    .footer-hr {
        padding: 0 20px 1rem 20px;
        gap: 8px;
    }

    .footer-hr span {
        width: 30px;
        height: 30px;
        padding: 10px;
        border-radius: 15px;
        background-size: 30px 30px;
    }

}

@media (max-width: 480px) {

    .footer-hr {
        padding: 0 15px 1rem;
        gap: 6px;
    }

    .footer-hr span {
        width: 28px;
        height: 28px;
        padding: 8px;
        border-radius: 14px;
        background-size: 28px 28px;
    }

}


/* =========================================================
   RD3 FOOTER DIRECTORY / TREE MENU
   RD3 Bootstrap Integrated Component
   ---------------------------------------------------------
   Preserves:
   - ASCII tree structure
   - Monospace typography
   - Grid alignment
   - Connector behaviour
   - Bootstrap resistance

   RD3 Bootstrap:
   Primary:    #993333
   Background: #CADFEC
   Surface:    #FFFFFF
   Text:       #1e293b
   ========================================================= */


/* =========================================================
   COMPONENT VARIABLES
   ========================================================= */

#tree-menu-root {

    --col-outer: 4ch;
    --col-inner: 4ch;
    --col-deep: 4ch;

    --font-size: 14px;
    --row-height: 1.25em;

    /* RD3 Bootstrap colours */
    --tree-primary: #993333;
    --tree-primary-dark: #7f2929;

    --tree-background: #ffffff;
    --tree-surface: #f8fafc;

    --tree-text: #1e293b;
    --tree-text-muted: #64748b;
    --tree-text-folder: #993333;

    --tree-line: #000000;

    --tree-hover-background: #f8fafc;
    --tree-hover-text: #993333;

    --tree-border: #000000;

    --tree-radius: 6px;
}


/* =========================================================
   ROOT
   ========================================================= */

#tree-menu-root.tree-grid {

    box-sizing: border-box;

    /* -----------------------------------------------------
       Grid
       ----------------------------------------------------- */

    display: grid;

    grid-template-columns:
        var(--col-outer)
        var(--col-inner)
        var(--col-deep)
        auto;

    gap: 0;
    column-gap: 0;
    row-gap: 0;


    /* -----------------------------------------------------
       Typography
       ----------------------------------------------------- */

    font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        Menlo,
        "Courier New",
        monospace;

    font-size: var(--font-size);
    line-height: var(--row-height);

    color: var(--tree-text);


    /* -----------------------------------------------------
       ASCII behaviour
       ----------------------------------------------------- */

    white-space: pre;


    /* -----------------------------------------------------
       RD3 surface
       ----------------------------------------------------- */

    background-color: var(--tree-background);

    border: 1px solid var(--tree-border);

    border-left: 4px solid var(--tree-primary);

    border-radius:
        0
        var(--tree-radius)
        var(--tree-radius)
        0;


    /* -----------------------------------------------------
       Spacing
       ----------------------------------------------------- */

    padding: 20px;


    /* -----------------------------------------------------
       Sizing
       ----------------------------------------------------- */

    width: fit-content;
    max-width: 100%;


    /* -----------------------------------------------------
       Layout integration
       ----------------------------------------------------- */

    margin-left: auto;
    margin-right: auto;

    float: none;

    position: relative;

    overflow-x: auto;

    box-shadow: none;
}



.tree-grid-title{
  font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        Menlo,
        "Courier New",
        monospace;
  text-decoration: underline;
  padding-bottom: 3px;      
}

/* =========================================================
   ALL DESCENDANTS
   ========================================================= */

#tree-menu-root.tree-grid,
#tree-menu-root.tree-grid * {

    box-sizing: border-box;
}


/* =========================================================
   DIRECT CHILD RESET
   Protects the ASCII grid from generic Bootstrap/RD3
   element rules.
   ========================================================= */

#tree-menu-root.tree-grid > div {

    box-sizing: border-box;

    margin: 0;
    padding: 0;

    width: auto;
    min-width: 0;
    max-width: none;

    float: none;
    position: static;

    border: 0;
    border-radius: 0;

    box-shadow: none;

    background: transparent;
    background-color: transparent;

    text-align: left;

    display: block;
}


/* =========================================================
   ASCII CONNECTORS
   ========================================================= */

#tree-menu-root.tree-grid :is(
    .outer,
    .inner,
    .deep
) {

    color: var(--tree-line);

    user-select: none;
    -webkit-user-select: none;
}


/* =========================================================
   HIDE INNER CONNECTOR WHEN DEEP CONNECTOR FOLLOWS
   ========================================================= */

#tree-menu-root.tree-grid .inner:has(+ .deep) {

    visibility: hidden;
}


/* =========================================================
   COLUMN SPANS
   ========================================================= */

#tree-menu-root.tree-grid .span-2 {

    grid-column: span 2;
}

#tree-menu-root.tree-grid .span-3 {

    grid-column: span 3;
}

#tree-menu-root.tree-grid .span-4 {

    grid-column: span 4;
}


/* =========================================================
   LINKS
   ========================================================= */

#tree-menu-root.tree-grid .item-link {

    /*
     * Do NOT use all: unset here.
     *
     * The RD3 component explicitly controls the properties
     * that need protection instead.
     */

    display: inline;

    box-sizing: border-box;

    cursor: pointer;

    color: var(--tree-text);

    text-decoration: none;

    background: transparent;

    font-family: inherit;
    font-size: inherit;
    line-height: inherit;

    border: 0;
    padding: 0;
    margin: 0;

    outline: none;
}


/* =========================================================
   LINK HOVER
   ========================================================= */

#tree-menu-root.tree-grid .item-link:hover {

    color: var(--tree-hover-text);

    text-decoration: underline;
}


/* =========================================================
   LINK FOCUS
   ========================================================= */

#tree-menu-root.tree-grid .item-link:focus-visible {

    outline: 2px solid var(--tree-primary);

    outline-offset: 2px;

    border-radius: 2px;
}


/* =========================================================
   FOLDERS
   ========================================================= */

#tree-menu-root.tree-grid .folder {

    color: var(--tree-text-folder);

    font-weight: 700;
}


/* =========================================================
   DIRECTORY TEXT
   ========================================================= */

#tree-menu-root.tree-grid .item-link,
#tree-menu-root.tree-grid .folder {

    transition:
        color 0.15s ease,
        background-color 0.15s ease;
}


/* =========================================================
   OPTIONAL TREE ROW HOVER
   ---------------------------------------------------------
   Only activates when a row/container has the .tree-row
   class. This avoids changing the existing HTML structure.
   ========================================================= */

#tree-menu-root.tree-grid .tree-row:hover {

    background-color: var(--tree-hover-background);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    #tree-menu-root.tree-grid {

        padding: 16px;

        font-size: 13px;

        max-width: 100%;

        overflow-x: auto;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 450px) {

    #tree-menu-root.tree-grid {

        padding: 14px;

        font-size: 12px;

        border-left-width: 3px;
    }
}