/* WRAPPER */
.welcome-block {
    height: 500px;
    width: 100%;

    color: var(--white-font-color);
    text-transform: uppercase;

    position: relative;
    background-color: black;
}

.welcome-block .blank_plug {
    height: 60px;
    width: 100%;
    background-color: black;
}

.welcome-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CATEGORY CONTENT */
.categories-welcome-wrapper {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);

    text-align: center;

    width: 100%;
}
.categories-welcome-title {
    opacity: 80%;
}

.content-wrapper {
    width: 100%;

    margin: 0 auto;
    padding: 22px 22px 44px 22px;
}

.categories-block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    padding-top: 22px;
    max-width: 1320px;
    width: 100%;

    margin: 0 auto;
}

/* CATEGORY-ITEM */
.category-item {
    display: flex;
    padding: 24px 48px;
    border-radius: 10px;
    background-color: var(--white-font-color);
}

.category-content {
    display: flex;
    flex-direction: column;
}

.category-content-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

a.category-link {
    text-transform: uppercase;
    color: var(--black-font-color);
    font-size: 18px;
}

/* CATEGORY-CONTENT-ARTICLES */
.category-content-articles {
    padding: 7px 0;
    margin-left: 15px;

    display: flex;
    align-items: center;
}

p.category-article {
    margin-bottom: 30px;
}

p.category-article:last-child {
    margin-bottom: 0;
}

a.category-article-link {
    font-size: 15px;
    width: 100%;
    display: inline-block;
}

a.category-article-link:hover {
    color: var(--category);
}

a.category-article-link:active
{
    color: #c9e7c6;
}

.categories-block-accordion {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 20px rgba(0,0,0,.1);
    display: flex;
    flex-direction: column;

    position: relative;
    top: -34px;
    margin: 0 auto;
    width: 100%;
}

.accordion-list
{
    padding: 0 28px;
    list-style: none;
}

.accordion-list.active span.accordion-expand {
    transform: rotate(180deg);
    opacity: 0;
    transition: all .3s linear;
}

.accordion-list.active span.accordion-close {
    opacity: 1;
    transition: all .7s linear;
}
.accordion-list:last-child li.accordion-item {
    border-bottom: none;
}

li.accordion-item {
    border-bottom: var(--border);
    padding: 25px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 18px;

    cursor: pointer;
}

.accordion-list.active:last-child li.accordion-item {
    border-bottom: var(--border) !important;
}
.accordion-list.active:last-child ul.subcategory-list li.subcategory-article:last-child {
    border-bottom: none;
}

h3.accordion-title {
    text-transform: capitalize;
}

.close-open {
    min-width: 28px;
    min-height: 28px;
    border-radius: 50%;
    border: 2px solid var(--link-color);

    color: var(--link-color);
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;

    position: relative;

    margin-left: 5px;
}
span.accordion-expand, span.accordion-close {
    position: absolute;
    
    transition: all .25s ease-out;
    font-family: 'Geologica', sans-serif;
}

span.accordion-expand svg, span.accordion-close svg {
    stroke: var(--link-color);
}

span.accordion-close {
    opacity: 0;
}

li.subcategory-article {
    border-bottom: var(--border);

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: var(--link-color);
    font-weight: bold;
}

ul.subcategory-list {
    max-height: 0;
    overflow: hidden;
    transition: all .3s linear;
}

li.subcategory-article a {
    padding: 25px 0;
    width: 100%;
}

li.subcategory-article a:hover {
    color: var(--category);
}

/* MEDIA QUERIES */
@media screen and (max-width: 450px) {
    .categories-welcome-title {
        font-size: 25px !important;
    }
}

@media screen and (max-width: 926px) {
    .header-container {
        display: none;
    }
    .welcome-block {
        height: 250px;
    }
    .welcome-block .welcome-image {
        height: calc(100% - 60px);
        width: 100%;
    }

    .categories-welcome-wrapper {
        top: 40%;
    }
    .categories-welcome-title {
        font-size: 34px;
    }
    .categories-block {
        display: none;
    }
}

@media screen and (min-width: 927px) {
    .header-container {
        border-bottom: none;
    }
    .burger-content, .hamburger-button {
        display: none;
    }
    .welcome-block {
        height: 500px;
    }
    .welcome-block .welcome-image {
        height: inherit;
        width: 100%;
    }
    .main-wrapper .blank_plug {
        display: none;
    }
    .categories-welcome-title {
        font-size: 54px;
    }
    .categories-block {
        display: none;
    }
    .categories-block-accordion {
        max-width: 884px;
        background: #fff;
    }
}

@media screen and (min-width: 1024px) {
    .hamburger-button {
        display: none;
    }
    .categories-block {
        max-width: 980px;
        display: grid;
    }
    .categories-block-accordion {
        display: none;
    }
}

@media screen and (min-width: 1180px) {
    .categories-block {
        max-width: 1060px;
    }
}

@media screen and (min-width: 1320px) {
    .categories-block {
        max-width: 1320px;
    }
}