.system-wrapper { --types-cols: 5; --types-col-gap: 2px; --types-arrow-margin: -50px; padding-block: var(--plugin-margin-bottom-large); }

.system-top-container { margin-bottom: var(--plugin-margin-bottom); }
.system-top-header, .system-top-images, .system-paragraphs-wrapper { padding-inline: var(--global-padding-inline); }
.system-top-header, .system-paragraphs-wrapper { max-width: 80%; margin-inline: 10%; }
.system-top-header-title { color: var(--text-color); }
.system-top-images { display: flex; justify-content: center; }
.system-top-image-wrapper { width: 50%; flex-grow: 0; position: relative; overflow: hidden; }
.system-top-image-wrapper:after { content: ''; opacity: 0; background-image: url("../../img/search_icon_large.png"); background-position: center center; background-repeat: no-repeat; z-index: 10; width: 100%; height: 100%; position: absolute; top: 0; left: 0; background-color: rgba(0,0,0,0.1); transition: 0.3s linear; }
.system-top-image-system-wrapper { background: var(--octonary-color); }
.system-top-image { max-width: 100%; width: 100%; object-fit: cover; mix-blend-mode: multiply; transition: 0.3s linear; aspect-ratio: 16 / 9; }
.system-top-image-system { object-fit: contain; }
.system-top-image.system-top-image-car { aspect-ratio: 16 / 9; }
.system-top-image-system-wrapper + .system-top-image-car-wrapper { background: var(--octonary-color); }
.system-top-image-system-wrapper + .system-top-image-car-wrapper .system-top-image.system-top-image-car { aspect-ratio: 16 / 9; }


.system-center-container { padding-inline: var(--global-padding-inline); }

.system-types-wrapper { margin-bottom: var(--plugin-margin-bottom); }
.system-types-list { position: relative; }
.system-types-title { margin-bottom: 40px; font-weight: 400; font-size: 2.5rem; font-family: 'Fjalla One'; text-align: center; }
.system-types-title.warning { margin-top: 40px; width: 100%; font-size: 1.75rem; }
.system-types-item { cursor: pointer; width: calc(100% / var(--types-cols) - var(--types-col-gap) / var(--types-cols)*(var(--types-cols) - 1)); border-block: 2px solid var(--octonary-color); font-weight: 300; font-size: 1.1rem; line-height: 1.5rem; background: var(--octonary-color); padding: 28px 10px; display: flex; justify-content: center; align-items: center; text-align: center; height: auto; transition: 0.3s linear; }
.system-types-item:not(:last-child) { margin-right: var(--types-col-gap); }
.system-types-item.active { font-weight: 600; border-bottom-color: var(--secondary-color); }
.system-types-arrow { position: absolute; cursor: pointer; display: flex; justify-content: center; align-items: center; top: 50%; transform: translateY(-50%); background: var(--secondary-color); width: 30px; height: 30px; z-index: 10; border-radius: 50%; }
.system-types-arrow-icon { width: 15px; fill: #FFF; }
.system-types-arrow.system-types-arrow-previous { left: var(--types-arrow-margin); }
.system-types-arrow.system-types-arrow-next { right: var(--types-arrow-margin); }
.system-types-arrow.system-types-arrow-previous .system-types-arrow-icon { transform: rotate(180deg); margin-right: 2px; }

.system-components-wrapper { display: flex; column-gap: 70px; }
.system-components-filters-container { width: 300px; flex-shrink: 0; }
.system-components-filters-mobile-btn { display: none; opacity: 0; pointer-events: none; position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 100; justify-content: center; align-items: center; width: 45px; height: 42px; background: var(--secondary-color); transition: 0.3s linear; }
.system-components-filters-mobile-btn-icon { width: 27px; height: 27px; margin-top: 3px; fill: #FFF; }
.system-components-filters-mobile-header { display: none; padding-inline: 30px; justify-content: space-between; align-items: center; padding-bottom: 15px; margin-bottom: 25px; border-bottom: 1px solid #d3d1d1; }
.system-components-filters-mobile-header-title { font-weight: 500; text-transform: uppercase; font-size: 1.25rem; line-height: 1.5rem; }
.system-components-filters-mobile-header-icon { width: 22px; height: 22px; }
.system-components-filter:not(:last-child) { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid #d3d1d1; }
.system-components-filter-title { font-weight: 500; margin-bottom: 25px; font-size: 1.25rem; line-height: 1.5rem; display: flex; justify-content: space-between; align-items: center; position: relative; }
.system-components-filter-title-icon { width: 15px; height: 15px; transform: rotate(275deg); transition: .3s ease-in-out; display: none; }
.system-components-filter-title-arrow { position: absolute; right: 0; z-index: 99; width: 15px; height: 15px; margin: 0; opacity: 0; }
.system-components-filter-slide-wrapper { transition: .3s ease-in-out; }
/*
.system-components-filter-title:has(.system-components-filter-title-arrow:checked) svg { transform: rotate(90deg) }
.system-components-filter:has(.system-components-filter-title-arrow:checked) .system-components-filter-list,
.system-components-filter:has(.system-components-filter-title-arrow:checked) .system-components-filter-slide-wrapper { max-height: 0; opacity: 0; visibility: hidden; transition: 0s; }
.system-components-filter:not(:last-child):has(.system-components-filter-title-arrow:checked) { padding-bottom: 10px; }
*/
.system-components-filter-list { padding-right: 20px; transition: .3s ease-in-out; }
.system-components-filter-item { display: flex; align-items: flex-start; cursor: pointer; width: fit-content; }
.system-components-filter-item:not(:last-child) { margin-bottom: 18px; }
.system-components-filter-item-checkbox { position: relative; width: 22px; height: 22px; margin-right: 15px; border-radius: 50%; flex-shrink: 0; border: 1px solid #d3d1d1; }
.system-components-filter-item-checkbox:after { content: ''; opacity: 0; width: 18px; height: 7px; position: absolute; top: 2px; left: 1px; border: 3px solid var(--secondary-color); border-top: none; border-right: none; transform: rotate(-45deg); transition: 0.3s linear; }
.system-components-filter-item-name { font-weight: 300; font-size: 1.05rem; line-height: 1.4rem; }
.system-components-filter-item.active .system-components-filter-item-checkbox:after { opacity: 1; }
.system-components-filter-item .system-components-filter-item-checkbox.active:after { opacity: 1; }
.system-components-filter-item.active .system-components-filter-item-name { font-weight: 500; }
.system-components-filter-item.disable { opacity: 0.5; pointer-events: none; }
.system-components-filter-slide { height: 5px; border-radius: 5px; outline: none; width: 100%; accent-color: var(--secondary-color); }
.system-components-filter-slide-values { display: flex; height: 25px; margin-bottom: 5px; justify-content: space-between; }
.system-components-filter-slide-value { font-weight: 500; }
.system-components-filter-slide-value.current { margin-top: 5px; margin-left: 0; transform: translateX(-50%); color: var(--secondary-color); }
.system-components-pack-container { flex-grow: 1; }
.system-components-pack:not(:last-child) { margin-bottom: var(--plugin-margin-bottom); }
.system-components-pack.special { border: 0px solid var(--secondary-color); }

.system-bottom-container { padding-inline: var(--global-padding-inline); margin-top: var(--plugin-margin-bottom-large); }
.system-bottom-container .system-alias { font-weight: 500; font-size: 1.75rem; font-family: 'Fjalla One'; line-height: 2.2rem; margin-bottom: var(--plugin-margin-bottom-slim); }
.system-bottom-container .system-tabs-wrapper { margin-bottom: var(--plugin-margin-bottom-slim); }
.system-bottom-container .system-tabs-wrapper .gallery-wrapper { padding-inline: 0; }
.system-bottom-container .system-code, .system-bottom-container .system-current-pack { color: var(--octonary-color); /*visibility: hidden; font-size: 0px; height: 0; position: absolute; left: -99999px; z-index: -1;*/ }

.system-tabs-content-list .system-tabs-content .gallery-wrapper .gallery-images > a > span.gallery-image > img { width: 100%; aspect-ratio: 1 / 1; height: auto; }

.system-paragraphs-wrapper.document-wrapper .paragraph-content .paragraph-text .paragraph-abstract { text-align: center; }
.system-paragraphs-wrapper.document-wrapper .paragraph-content .paragraph-text .paragraph-abstract iframe[src*="youtube"] { max-width: 100%; }
.system-paragraphs-wrapper.document-wrapper .paragraph-wrapper.paragraph-wrapper-image-center .paragraph-image-wrapper img { width: 100%; }


@media (pointer:fine) {
    .system-top-image-wrapper:hover .system-top-image { transform: scale(1.05); }
    .system-top-image-wrapper:hover:after { opacity: 1; }
    .system-types-item:hover { border-bottom-color: var(--secondary-color); }
    .system-components-filter-item:hover .system-components-filter-item-checkbox:after { opacity: 0.3; }
}

@media (max-width:1800px) {
    .system-wrapper { --types-arrow-margin: -40px; }
}

@media (max-width:1600px) {
    .system-wrapper { --types-cols: 4; }
    .system-components-wrapper { column-gap: 55px; }
    .system-components-filters-container { width: 250px; }
}

@media (max-width:1200px) {
    .system-top-header, .system-paragraphs-wrapper { max-width: 90%; margin-inline: 5%; }
    .system-wrapper { --types-cols: 3; --types-arrow-margin: -35px; }
    .system-types-title { margin-bottom: 30px; font-size: 2.2rem; }
    .system-types-item { padding-block: 10px; line-height: 1.3rem; }
    .system-components-wrapper { column-gap: 50px; }
    .system-components-filters-container { width: 220px; }
    .system-components-filter-item-name { font-size: 1rem; line-height: 1.3rem; }
}

@media (max-width:1023px) {
    .system-top-header, .system-paragraphs-wrapper { max-width: 100%; margin-inline: 0%; }
    .system-components-filters-container { position: fixed; opacity: 0; pointer-events: none; transform: translateX(100%); width: 90%; overscroll-behavior: contain; height: 100vh; z-index: 999999; right: 0; top: 0; background: #FFF; padding-block: 20px; overflow-y: scroll; transition: 0.3s linear; }
    .system-components-filters-container.show { transform: translateX(0); opacity: 1; pointer-events: all; }
    .system-components-filter { padding-inline: 30px; }
    .system-components-filters-mobile-btn { display: flex; }
    .system-components-filters-mobile-btn.show { opacity: 1; pointer-events: all; }
    .system-components-filters-mobile-header { display: flex; }
}

@media (max-width:767px) {
    .system-center-container { padding-inline: 0; }
    .system-types-arrow { display: none; }
    .system-wrapper { --types-cols: 2.5; }
    .system-types-item { padding-block: 18px; }
}

@media (max-width:640px) {
    .system-top-images { flex-direction: column-reverse; }
    .system-top-image-wrapper { width: 100%; }
    .system-top-images { padding-inline: 0; }
    .system-types-title { margin-bottom: 20px; font-size: 2rem; }
    .system-wrapper { --types-cols: 2.2; }
}

@media (max-width:480px) {
    .system-wrapper { --types-cols: 1.8; }
    .system-types-item { font-size: 1rem; line-height: 1.3rem; padding: 10px 10px; }
    .system-types-title { font-size: 1.8rem; }
}
