/* Данный файл должен подключаться только на странице dokumentaciya/architecture-os-rosa */

hr {
    width: 100%;
    height: 1px;
    background: rgba(218, 218, 218, 1);
}

.main-block {
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 12px;

    border-radius: 24px;
    padding: 15px;
    text-align: center;

    background-color: #F6F6F6;
}

.group-block {
    width: 100%;

    border-radius: 20px;

    padding: 15px;
}

.group-block--light-blue {
    display: flex;
    flex-direction: column;

    gap: 8px;

    background-color: #E2EDF9;
}

.group-block--light-green {
    display: flex;
    flex-direction: column;

    gap: 40px;

    background-color: #E6F0F2;
}

.group-block--orange {
    background: #FF8A001A;

    margin-top: 8px;
}

.el-block {
    padding: 20px 14px;

    background-color: #FFF;

    border-radius: 12px;
}

.element-block {
    display: flex;
    flex-direction: column;

    gap: 10px;

    padding: 20px 14px;

    background-color: #FFF;

    border-radius: 12px;
}

.element-block--center {
    justify-content: center;
}

.element-block--flex-1 {
    flex: 1;
}

.element-block__title {
    font-family: 'PT Root UI VF', serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: 0;

    color: #1E1E21;

    text-align: center;
}

.element-block__title--small {
    width: 50%;

    font-size: 16px;
    text-align: center;
}

.sm\:element-block--fix-height-125, .element-block--fix-height-125 {
    width: 125px;
    height: 125px;
    justify-content: center;
}

.element-block__subtitle {
    font-family: 'PT Root UI VF', serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0;

    color: rgba(30, 30, 33, 0.9);

    text-align: center;
}

.element-block hr {
    width: 100%;
    height: 1px;
    background-color: #DADADA;
}

/* Dark */

.dark .main-block {
    background-color: #252526;
}

.dark .group-block--light-blue {
    background: #3988FF33;
}

.dark .group-block--light-green {
    background: #0EC1601A;
}

.dark .group-block--orange {
    background: #FF8A001A;
}

.dark .el-block {
    background: #1E1E21;
}

.dark .element-block {
    background: #1E1E21;
}

.dark .element-block__title {
    color: #FFFFFF;
}

.dark .element-block__subtitle {
    color: #FFFFFFD9;
}

.dark .element-block hr {
    background-color: #FFFFFF73;
}

/* Tablet */

@media screen and (max-width: 767px) {
    .main-block {
        width: 100%;

        display: flex;
        flex-direction: column;
        gap: 12px;

        border-radius: 24px;
        padding: 20px;
        text-align: center;

        background-color: #F6F6F6;
    }

    .element-block__title {
        font-family: 'PT Root UI VF', serif;
        font-weight: 500;
        font-size: 16px;

        line-height: 120%;
        letter-spacing: 0;
        text-align: center;

        color: #1E1E21;
    }

    .element-block__title--small {
        font-size: 14px;
        text-align: center;
    }

    .element-block--fix-height-125 {
        width: 125px;
        height: 125px;
        justify-content: center;
    }

    .element-block__subtitle {
        font-family: 'PT Root UI VF', serif;
        font-weight: 400;
        font-size: 14px;

        color: #1E1E21E5;

        text-align: center;
    }

    .element-block hr {
        width: 100%;
        height: 1px;
        background-color: #DADADA;
    }
}

/* Desktop */

@media screen and (min-width: 1365px) {
    .main-block {
        width: 100%;

        display: flex;
        flex-direction: column;
        gap: 12px;

        border-radius: 24px;
        padding: 35px;
        text-align: center;

        background-color: #F6F6F6;
    }

    .group-block {
        width: 100%;

        border-radius: 20px;

        padding: 15px;
    }

    .group-block--light-blue {
        display: flex;
        flex-direction: row;
        justify-content: space-between;

        gap: 12px;

        background-color: #E2EDF9;
    }

    .group-block--light-green {
        display: flex;
        flex-direction: column;

        gap: 12px;

        background-color: #E6F0F2;
    }

    .group-block--orange {
        background: #FF8A001A;

        margin-top: 8px;
    }

    .element-block {
        display: flex;
        flex-direction: column;

        gap: 10px;

        padding: 20px 14px;

        background-color: #FFF;

        border-radius: 12px;
    }

    .element-block--center {
        justify-content: center;
    }

    .element-block--flex-1 {
        flex: 1;
    }

    .element-block__title {
        font-family: 'PT Root UI VF', serif;
        font-weight: 500;
        font-size: 18px;

        line-height: 120%;
        letter-spacing: 0;
        text-align: center;

        color: #1E1E21;
    }

    .element-block__title--small {
        font-size: 14px;
        text-align: center;
    }

    .md\:element-block--fix-height-125 {
        width: 125px;
        height: 125px;
        justify-content: center;
    }

    .element-block__subtitle {
        font-family: 'PT Root UI VF', serif;
        font-weight: 400;
        font-size: 16px;

        color: #1E1E21E5;

        text-align: center;
    }

    .xl\:element-block__subtitle--small {
        font-family: 'PT Root UI VF', serif;
        font-weight: 400;
        font-size: 14px;

        color: #1E1E21E5;

        text-align: center;
    }

    .element-block hr {
        width: 100%;
        height: 1px;
        background-color: #DADADA;
    }
}
