main {
    width: 100%;
    box-sizing: border-box;
}

.hidden {
    display: none !important;
}

main>section {
    margin: 0 64px;
    margin: 0 80px;
    /* width: 100%; */
    height: 200vh;
    /* background-color: red; */
    text-align: center;
}

body>main,
.SecTitle {
    margin-top: 32px !important;
}

.switchPage {
    width: fit-content;
    width: -moz-fit-content;
    height: 26px;
    display: flex;
    margin: 32px auto;
}

.switchPage>a {
    /* display: inline-block; */
    width: 170px;
    height: 100%;
    text-decoration: none;
    text-transform: capitalize;
    text-align: center;
    color: var(--ColorDark);
    line-height: 26px;
    font-size: 18px;
    border-top: 2px solid var(--ColorDark);
    border-bottom: 2px solid var(--ColorDark);
}

.switchPage>.selected {
    background: var(--ColorDark);
    color: var(--Colorlite);
}

.boxArticle {
    width: 100%;
    height: fit-content;
    height: -moz-fit-content;
}

.boxArticle.mas {
    columns: 4;
    column-gap: 1.3%;
}

.boxArticle:not(.mas) {
    border-bottom: 2px solid var(--ColorDark);
    padding-bottom: 16px;
}

.boxArticle.mas article {
    break-inside: avoid;
}

.boxArticle article a img {
    width: 100%;
    height: auto;
    /*border: 2px solid var(--ColorDark);*/
    padding: 0 !important;
    display: inline-block !important;
}

.boxArticle article a {
    color: var(--ColorDark);
    text-decoration: none;
    font-weight: bold;
    text-transform: capitalize;
}

.artiCategory {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 8px 0;
}

.artiCategory .btnLink {
    margin: 0;
}

.catTitle {
    text-decoration: underline;
    text-transform:capitalize;
    margin: 0;
}

.artiHolder,
.boxArticle.single {
    /*width: calc(100% - 4px);*/
      width: 100%;
    display: grid;
    grid-gap: 1.3%;
    grid-template-columns: repeat(4, 1fr);
    height: fit-content;
}

.boxArticle.single {
    border: none;
    margin-top: 64px;
}

.boxArticle.single article {
    padding-bottom: 8px;
}

.boxArticle>article p {
    min-height: 40px;
}

.artiHolder article p,
.boxArticle.single p,
.boxArticle.mas p {
    margin: 0;
    /* height: 200px; */
    text-align: left;
}

#ShowMoreProjectsBtn {
    margin: auto;
    /* margin-top: 24px; */
}

@media(max-width:860px) {
    body>main,
    .SecTitle {
        text-align: center !important;
        margin: 32px auto 48px auto !important;
    }
    .boxArticle>article p {
        min-height: unset;
    }
    .artiHolder,
    .boxArticle.single {
        grid-template-columns: repeat(2, 1fr);
        grid-gap:8px;
    }
    .switchPage {
        width: 100%;
        height: 26px;
        display: flex;
        margin: 32px auto;
    }
    .switchPage>a {
        /* display: inline-block; */
        width: 50%;
        height: 100%;
        text-decoration: none;
        text-transform: capitalize;
        text-align: center;
        color: var(--ColorDark);
        line-height: 26px;
        font-size: 18px;
    }
    .switchPage>.selected {
        background: var(--ColorDark);
        color: var(--Colorlite);
    }
    /* ----------------------- */
    .boxArticle.mas {
        columns: 2;
        column-gap: 8px;
        width: calc(100% - 4px);
    }
    .boxArticle:not(.mas) {
        padding-bottom: 16px;
    }
    .boxArticle.mas article {
        break-inside: avoid;
    }
}