

/* Start:/bitrix/templates/CHAR_ART/css/fonts.css?1731348000660*/
/*@font-face {    font-family: "proba";    src: url("/bitrix/templates/CHAR_ART/css/../fonts/ImpactRegular/ImpactRegular.eot");    src: url("/bitrix/templates/CHAR_ART/css/../fonts/ImpactRegular/ImpactRegular.eot?#iefix")format("embedded-opentype"),    url("/bitrix/templates/CHAR_ART/css/../fonts/ImpactRegular/ImpactRegular.woff") format("woff"),    url("/bitrix/templates/CHAR_ART/css/../fonts/ImpactRegular/ImpactRegular.ttf") format("truetype");    font-style: normal;    font-weight: normal;}*//*@font-face{    font-family:proba;    font-style:normal;    font-weight:400;    src:local('Iceberg'),    url(https://fonts.cdnfonts.com/s/15939/Iceberg-Regular.woff) format('woff');}*/@import url('https://fonts.googleapis.com/css2?family=Iceberg&display=swap');
/* End */


/* Start:/bitrix/templates/CHAR_ART/css/style.css?17698242277410*/
/*///////////////// ALL  /////////////////*/
/*///////////////// HEADER  /////////////////*/
/*///////////////// FOOTER  /////////////////*/
/*///////////////// MAIN  /////////////////*/
/*///////////////// IMAGE  /////////////////*/
/*///////////////// MOBILE  /////////////////*/



input,
textarea,
button,
select,
a {
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    color: pink;
}

body {
    font-family: 'Tektur', sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    background-color: #202124;
    color: white;
}

/* Russian text specific class if applied, or rely on unicode-range in fonts.css */
/* Assuming 'Tektur' is loaded. If we can't detect language via CSS, we rely on the user to use the correct font or classes. */
:lang(ru) {
    font-family: 'Tektur', sans-serif;
}

main {
    display: flex;
    flex-direction: row;

    min-height: 100vh;
    height: fit-content;

}

.home-main {
    flex-direction: column;
}

.active {
    color: pink;
}

.active-filter {
    display: flex;
}

/*///////////////// ALL  /////////////////*/




/*///////////////// HEADER  /////////////////*/
header {
    position: relative;
    top: 0;

    display: flex;

    background-color: #101010;

    height: 8vh;
    width: 100%;

    margin-bottom: 0;
    font-family: 'Iceberg', sans-serif;
}

.header-section {
    display: flex;
    flex-direction: row;

    justify-content: center;
    /* Centered Logo */
    align-items: center;

    height: 100%;
    width: 100%;
}

.header-section-mob {
    display: none;
}

.header-block {
    display: flex;
    justify-content: center;
}

.header-logo {
    width: 25vw;
    font-size: 4.25vh;
}

.header-search {
    width: 50vw;
}

.header-button {
    cursor: pointer;
    width: 25vw;
    font-size: 5vh;
}

/*///////////////// HEADER  /////////////////*/





/*///////////////// FOOTER  /////////////////*/
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;

    background-color: #101010;

    height: 16vh;
    width: 100%;
    font-family: 'Iceberg', sans-serif;
}

.first-row {
    color: #3d3d3d;
}

.second-row {
    color: #080808;
    font-size: 8vh;
}

.third-row {
    text-align: center;
    color: #3d3d3d;
}

/*///////////////// FOOTER  /////////////////*/





/* Search Bar Styles */
.search-bar {
    width: 100%;
    padding: 2vh 0;
    display: flex;
    justify-content: center;
    background-color: #202124;
}

.search-input {
    width: 60%;
    padding: 1vh;
    font-size: 2vh;
    border: none;
    border-radius: 0.5vh;
    background: #333;
    color: #fff;
}

.search-btn {
    padding: 1vh 2vh;
    margin-left: 1vh;
    font-size: 2vh;
    background-color: #444;
    color: white;
    border: none;
    border-radius: 0.5vh;
    cursor: pointer;
}

.search-btn:hover {
    background-color: #d69e2e;
    color: #000;
}

/*///////////////// MAIN  /////////////////*/
.filter_item_block {
    display: flex;
    flex-direction: column;
    margin-bottom: 4vh;
    align-items: center;
}

.filter-bar {
    display: flex;
    flex-direction: column;

    width: 18vw;
}

.filter-tile {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 90%;
    font-size: 3vh;
    padding-left: 1vh;
    padding-right: 1vh;

    color: #202124;
    background-color: pink;
    cursor: pointer;
    border-radius: 1.5vh;
}

.filter-active-count {
    display: none;
    align-items: center;
    justify-content: center;

    min-width: 3vh;
    width: fit-content;
    height: 3vh;

    font-size: 2vh;

    background-color: #202124;
    border-radius: 1.5vh;
    color: pink;
}

.filter-active-count--active {
    display: flex;
}

.filter-block {
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    flex-wrap: wrap;
    justify-content: center;

    width: 100%;
    /*height: fit-content;*/
    height: 0;
    overflow: hidden;

}

.filter-item {
    display: flex;

    font-size: 2vh;

    margin: 0.5vw;
    padding: 0.5vh;

    border-radius: 1vh;

    background-color: #141418;

    cursor: pointer;
}

.show-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(12vw, 1fr));
    /* Responsive Grid: ~8 items on normal screens */
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
}

@media screen and (min-width: 2000px) {
    .show-container {
        grid-template-columns: repeat(auto-fill, minmax(8vw, 1fr));
        /* ~12 items on ultra-wide screens */
    }
}

/* Back to Top Button */
#back-to-top {
    display: none;
    position: fixed;
    bottom: 4vh;
    right: 3vw;
    z-index: 99;
    font-size: 3vh;
    border: none;
    outline: none;
    background-color: pink;
    color: #202124;
    cursor: pointer;
    padding: 1.5vh;
    border-radius: 1vh;
    opacity: 0.8;
    transition: opacity 0.3s;
}

#back-to-top:hover {
    opacity: 1;
}

.modal-fullsize-img {
    display: none;
    justify-content: center;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.95);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.art-image-fullsize {
    object-fit: cover;
    max-width: 75vw;
}

.filter-open-btn {
    display: none;
}

/*///////////////// MAIN  /////////////////*/





/*///////////////// IMAGE  /////////////////*/
.art-block {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Square */
    position: relative;
    margin: 0;
}

.art-image {
    object-fit: cover;
    object-position: top;
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.art-block:hover .art-image {
    transform: scale(1.05);
}

/*///////////////// IMAGE  /////////////////*/


/*///////////////// MOBILE  /////////////////*/
@media screen and (max-width: 770px) {
    main {
        position: relative;
        flex-direction: column;
    }

    .header-section-desc {
        display: none;
    }

    .header-section-mob {
        display: flex;
        justify-content: center;
        /* Center logo on mobile */
    }

    .header-logo {
        width: auto;
        /* Allow auto width for centered text */
        text-align: center;
    }

    /* Warning: .header-button removed or hidden via header.php edits */
    .show-container {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on mobile */
    }

    .art-block {
        width: 100%;
        /* Full width of grid cell */
        height: auto;
        /* ensure square */
        aspect-ratio: 1 / 1;
    }

    .filter-bar {
        display: flex;
        width: 100%;
        background-color: #202124;
        max-height: 0;
        transition: max-height 1s ease-in-out;
        overflow: scroll;
    }

    .filter-open-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        height: fit-content;
        font-size: 3vh;
        background-color: pink;
        color: #202124;
        margin-bottom: 2vh;
    }

    .active-filter-bar {
        max-height: 40vh;
    }

    .show-container {
        width: 100%;
    }

    footer {
        height: 24vh;
    }

    .second-row {
        font-size: 6vh;
    }

    .art-image-fullsize {
        object-fit: contain;
        max-width: 100vw;
    }
}

/*///////////////// MOBILE  /////////////////*/
/* End */
/* /bitrix/templates/CHAR_ART/css/fonts.css?1731348000660 */
/* /bitrix/templates/CHAR_ART/css/style.css?17698242277410 */
