html, body,
.container-fluid > nav {
    background: white;
}

h1{
    font-size:28px;
}
.factor-sec{
    margin: 2rem auto 5rem;
}
.slim-wdth{
    margin: 0 auto;
}
.guide-head, .container-fluid:not(.thin) .breadcrumb, .slim-wdth, .factor-sec {
    max-width: 800px;
}

    .factor-sec .head {
        display: flex;
        align-items: center;
        gap: .5rem;
        font-size: 16px;
        margin-bottom: 1rem;
        /* position: sticky; */
        /* top: 3rem; */
    }

        .factor-sec .head > * {
            margin: 0;
        }

.edit-post{
    display:none !important;
}

.legend-list {
    margin-bottom: 1rem;
}

    .legend-list li {
        margin-right: 0.5rem;
        list-style: inside;
    }

        .legend-list li label {
            font-weight: 500;
        }

        .legend-list li > span {
            line-height: 1.1;
            font-size: 0.8em;
            color: gray;
            display: inline-block;
            margin-right: .25rem;
        }

.factor-sec .head > img{
    height: 1.6em;
}

.post img{
    max-width:100%;
}

#more-alters-sec {
    margin-top: 4rem;
}

.start-now{
    margin-top: 2rem;
    display:flex;
    align-content: center;
    justify-content: center;
}


.alters > * > a{
    height:100%;
}

#more-alters-sec .alters > div > label {
    margin-bottom:.5rem;
    background:var(--color-accent);
    color:white;
    padding:3px 1rem;
    border-radius:5px;
}


.guide-head {
    margin: 0 auto;
    width: 100%;
}

h2 {
    font-size: 1.2rem;
    /* color: var(--color-accent); */
    margin-top: 3rem !important;
    border-bottom: 1px solid var(--color-accent-light);
    /* padding-top: 2rem; */
}

.guide{
    padding-bottom: 1rem;
}

/* Add padding for mobile sticky button */
@media only screen and (max-width: 1023px) {
    .guide {
        padding-bottom: 100px; /* Space for sticky button */
    }
}

.footer{
    margin-top:0 !important;
}

.start-now {
    /* position: sticky; */
    bottom: 0;
    z-index: 1;
    right: 0;
    left: 0;
    background: #ccccff;
    padding: 1rem;
    text-align: center;
    margin:0 -0.75rem;
}

    .start-now .btn {
        font-size: 1.2rem;
    }

body {
    background-image: linear-gradient(0deg, #f7f7ff, #fcfcff);
}

.container-fluid > nav {
    background: none;
}

h1 {
    margin: 2rem 0;
    font-size: 1.7em;
}

.editor {
    background: white;
    padding: .5rem 1rem;
    border-radius: 8px;
}

.guide img {
    max-width: 100%;
}
/*article:nth-child(1n) {
    background-image: linear-gradient(0deg,var(--color-metro),#fcfcff);
}

article:nth-child(2n) {
    background-image: linear-gradient(180deg,var(--color-metro),#feeff8);
}

article:nth-child(3n) {
    background-image: linear-gradient(0deg,var(--color-metro),#ffeff8);
}

article:nth-child(4n) {
    background-image: linear-gradient(180deg,var(--color-metro),#ffeff8);
}

article:nth-child(5n) {
    background-image: linear-gradient(0deg,var(--color-metro),#ffeff8);
}

article:nth-child(6n) {
    padding-bottom: 10rem;
    background-image: linear-gradient(180deg,var(--color-metro),#fcfcff);
}
*/
article + article .head {
    /* min-height:50vh; */
    /* padding: 3rem 0; */
    /* margin-top: 3rem; */
    /* border-top: 1px solid #eaeaff; */
    /* padding-top: 2rem; */
}


article > p {
    /* font-size: 1.4em; */
    margin-bottom: 3rem;
}

article.centerd {
    text-align: center;
    padding: 5rem 1rem;
}

h2 {
    font-size: 1.5em;
    /* text-align: center; */
    margin-bottom: 0.05em;
    /* position: sticky; */
    /* top: 0; */
    padding: 0.6rem 0;
    /* background: #ececff; */
}

.pic-text {
    display: inline-flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
    margin: 0 auto;
}

    .pic-text .text-center {
        max-width: 23rem;
    }


    .pic-text .image-wrap {
        text-align: center;
        display: inline-flex;
        align-items: flex-end;
        justify-content: center;
        /* flex:1; */
    }

main, .container-fluid {
    /* padding: 0; */
    font-size: 18px;
}




.desc .post img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.desc .consd-icon {
    max-height: 1.6em;
}

.desc h5 {
    font-size: 1em;
    color: #8081E5;
}

    .desc h5 + p {
        /* margin-top:-.5rem; */
        /* font-size:0.9em; */
        margin-bottom: .5rem;
    }

.desc p + h5 {
    margin-top: 1rem;
}

.desc > :first-child {
    margin-bottom: 1.6rem;
}

.desc h3 {
    font-size: 1.4em;
}

.desc .edit-post {
    display: none;
}

.desc .closeInfo {
    font-size: 1.1rem;
}

.desc .legend-list {
    margin-bottom: 1rem;
}

    .desc .legend-list li {
        margin-right: 0.5rem;
        list-style: inside;
    }

        .desc .legend-list li label {
            font-weight: 500;
        }

        .desc .legend-list li > span {
            line-height: 1.1;
            font-size: 0.8em;
            color: gray;
            display: inline-block;
            margin-right: .25rem;
        }

figure {
    /* background: white; */
    /* padding: 1rem; */
    padding: 0;
    margin: 0;
}
/*#endregion */
/*#endregion */
/*#region 3 items article */
.icon-bullets {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .icon-bullets h2 {
        margin-bottom: 45px;
    }

    .icon-bullets > ul {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
    }

        .icon-bullets > ul li {
            /* background: #fceef8; */
            border-radius: 8px;
            width: -moz-fit-content;
            width: fit-content;
            padding: 2rem;
            max-width: 20rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 19px;
            box-shadow: 0px -10px 13px 3px rgba(0, 0, 0, 0.05);
        }

            .icon-bullets > ul li img {
                font-size: 6rem;
                width: 1em;
                height: 1em;
                -o-object-fit: cover;
                object-fit: cover;
                max-width: 100%;
            }

            .icon-bullets > ul li h4 {
                margin: 0;
            }

            .icon-bullets > ul li p {
                text-align: center;
            }
/*#endregion */



/*#region side menu */

/*set style for side ul consd-nav
    has first li as title
    and the rest are links to the articles
        in desktop will on the right, showin wlawys.
        in mobile will look like תוכן עניינים

    */
main {
    position: relative;
}

section:nth-child(2)
.consd-nav {
    font-size: 16px;
}
.consd-nav li {
    font-size: 16px;
}
.consd-nav li a:not(:hover) {
    text-decoration: none;
  
}

.consd-nav > ul > li > ul {
    margin-right: 1rem;
}

.consd-nav > ul > li {
    margin-bottom: .5rem;
}

    .consd-nav > ul > li > a {
        /* font-weight: 500; */
        color: #2c2c4b !important;
    }




/*#endregion */
@media only screen and (min-width: 1024px) {
    .consd-nav {
        /* position: absolute; */
        top: 0;
        left: 0;
        /*width: 200px;*/
    }

        .consd-nav h3{
            display:none;
        }

        .guide {
            position: relative;
            /*padding: 0 0 0 250px;*/
            margin: 0 auto;


          

        }

    .guide {
        display: grid;
        grid-template-columns: 760px 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "head sidebar"
            "factors sidebar";
        gap: 0 3rem;
        justify-items: start;
        overflow: unset;
        justify-content: start;
        /* min-height: 100vh; */
    }

    .guide-sidebar {
        grid-area: sidebar;
        position: sticky;
        top: 0;
        align-self: start;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .consd-nav {
        position: relative;
    }

    .guide-head {
        grid-area: head;
    }

    .factorz {
        grid-area: factors;
    }

    .consd-nav a.active {
        font-weight: 500;
        color: var(--color-accent) !important; /* example highlight color */
    }

    .guide,
    .container-fluid:not(.thin) .breadcrumb {
        max-width: 1000px;
    }

    .consd-nav li a:not(:hover) {
        color: #65658d;
    }

 

}
@media only screen and (max-width: 1024px) {
    .consd-nav {
        background: white;
        padding: .75rem 1rem !important;
        max-width: 800px;
        margin: 0 auto;
    }

        .consd-nav h3 {
            font-size: 20px;
            margin: 0;
            cursor: pointer;
        }

        .consd-nav.show h3 i::before {
            content: "\f0d8";
        }

            .consd-nav:not(.show) ul {
                display: none;
            }
}


    @media only screen and (max-width: 667px) {
        .category {
            flex-direction: column;
            padding: 1rem 1rem 0;
            margin-top: 0vh;
        }

            .category > * {
                flex: 1 1 100%;
            }

            .category img {
                max-width: 100%;
                width: 100%;
            }

            .category .btn {
                width: 100%;
                font-size: 20px;
                margin: 1rem 0;
            }

        .category-image {
            text-align: center;
            display: inline-flex;
            align-items: flex-end;
            justify-content: center;
        }

        .pic-text {
            flex-direction: column;
        }

        .factorz > ul {
            gap: 1rem 1rem;
        }

            .factorz > ul > li {
                flex: 1 1 calc(50% - .5rem);
            }

        .consd-card.expand .desc {
            max-width: unset;
            margin: 0;
        }

        .editor {
            padding:.5rem;
        }

        }

/* Sticky button for questionnaire - Mobile: fixed bottom */
.guide-sticky-button-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-bg-primary);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-align: center;
    border-top: 1px solid var(--color-border-light);
}

.guide-sticky-button-mobile .btn {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
}

/* Desktop: sticky in sidebar area, next to consd-nav */
.guide-sticky-button-desktop {
    display: none;
}

@media only screen and (min-width: 1024px) {
    .guide-sticky-button-mobile {
        display: none;
    }

    .guide-sticky-button-desktop {
        display: block;
        padding: 1rem;
        background: var(--color-bg-primary);
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border: 1px solid var(--color-border-light);
    }

    .guide-sticky-button-desktop .btn {
        width: 100%;
        white-space: nowrap;
        font-size: 1rem;
        font-weight: bold;
        padding: 0.75rem 1rem;
    }
}
