/* RESET, BASIC UI SETTINGS
----------------------------------------------- */
body {
    --bg: #0e0d10;
    --text-color: #000;
    --text-color1: #fff;
    --color-red: #c0392b;          /* Негізгі қызыл түс */
    --color-red-dark: #a93226;     /* Қою қызыл */
    --color1: #c0392b;
    --color2: #e74c3c;
    --color3: #f1948a;
    --color4: #f0b27a;
    --color5: #a9cce3;
    --color6: #1a1820;
    --color7: #252330;
    --color8: #2e2c3a;
    --color9: #edf3f9;
    --gradient: linear-gradient(300deg, #e74c3c 5%, #c0392b 50%, #922b21 98%);
    --light: rgb(242 242 242 / 10%);
    --two-light: rgb(242 242 242 / 30%);
}

body.modal-opened { overflow: hidden; }

* {
    background: transparent;
    margin: 0;
    padding: 0;
    outline: none;
    border: 0;
    box-sizing: border-box;
}

ol, ul { list-style: none; }

img, table, iframe, video, frame, embed, object { max-width: 100%; }

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
    background: var(--bg);
    font-family: "Gilroy", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: normal;
    padding: 0;
    margin: 0;
    color: var(--text-color1);
    min-height: 100%;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
}

a {
    color: var(--text-color1);
    text-decoration: none;
}

.wrapper {
    min-width: 320px;
    position: relative;
    overflow: hidden;
}

.content {
    min-height: 100vh;
    margin-top: 90px;
    margin-bottom: 45px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: calc(100% - 40px);
    position: relative;
}

.section { margin-bottom: 60px; }

.section-title {
    margin-bottom: 25px;
    align-items: center;
}

h1 {
    font-weight: bold;
    font-size: 38px;
    margin-bottom: 35px;
    position: relative;
}

@media (max-width: 768px) {
    h1 { font-size: 26px; margin-bottom: 20px; }
}

h2 {
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 25px;
    position: relative;
}

@media (max-width: 768px) {
    h2 { font-size: 20px; }
}

h3 {
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 18px;
    display: block;
}

h4 {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 15px;
    display: block;
}

p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    position: relative;
}

b, strong { font-weight: bold; }

.overlay {
    position: fixed;
    z-index: 998;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(10 10 10 / 50%);
    display: none;
}

/* INPUT, BUTTON
----------------------------------------------- */
button, select, textarea, input[type="text"], input[type="password"], input[type="button"], input[type="submit"] {
    appearance: none;
    -webkit-appearance: none;
    font-size: 15px;
    font-family: inherit;
}

button:not(.color-btn, .carousel__button), .button, .btn,
input[type="button"], input[type="reset"], input[type="submit"] {
    display: inline-block;
    cursor: pointer;
    text-align: center;
    padding: 0 20px;
    width: auto;
    height: 45px;
    line-height: 40px;
    background-color: var(--color-red);
    color: #fff;
    font-weight: 500;
    border-radius: 10px;
}

button:not(.color-btn, .carousel__button):hover, .button:hover, .btn:hover,
input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
    background-color: var(--color-red-dark);
    color: #fff;
}

.btn_blue, .btn_red {
    background: var(--color-red);
    color: #fff;
    padding: 13px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    transition-duration: 0.2s;
}

.btn_blue:hover, .btn_red:hover { background: var(--color-red-dark); }

.btn_light {
    background: var(--light);
    color: rgba(255,255,255,0.8);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition-duration: 0.2s;
}

.btn_light:hover { background: var(--two-light); color: #fff; }

/* SNIPPETS
----------------------------------------------- */
.e-grid7 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-gap: 20px;
    grid-auto-flow: row dense;
}

@media (max-width: 425px) {
    .e-grid7 {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

.e-grid4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 20px;
    grid-auto-flow: row dense;
}

.e-flex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.e-column { flex-direction: column; flex-wrap: nowrap; }
.e-flex50 { flex: 1 1 0; max-width: 100%; min-width: 50px; }
.e-none, .hidden { display: none; }

.e-nowrap {
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.e-w800 { max-width: 800px; }

.e-clamp2 {
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* DLE CODE
----------------------------------------------- */
.e-grid7 > *:not(.short-movie_item) { grid-column: 1/-1; }
#dle-content > *:not(.short-movie_item) { grid-column: 1/-1; }
