@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*:focus {
    outline: none;
}

html,
body {
    min-height: 100%;
}

:root {
    --bg-site-start: #1b0b08;
    --bg-site-end: #050505;
    --bg-surface: #28110d;
    --bg-panel: #120908;
    --text-base: #f5f2ef;
    --text-title: #ff8b2b;
    --text-accent-hover: #bd3020;
    --border-soft: rgba(255, 255, 255, 0.72);
    --border-strong: #ffffff;
    --surface-shadow: 0 8px 22px rgba(0, 0, 0, 0.48);
}

body {
    background: linear-gradient(180deg, var(--bg-site-start) 0%, var(--bg-site-end) 100%);
    background-attachment: fixed;
    color: var(--text-base);
    font: 13px/1.45 Verdana, Helvetica, sans-serif;
}

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

a:hover {
    color: var(--text-accent-hover);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.cc {
    clear: both;
}

.right {
    float: right !important;
}

#header,
#page {
    width: 100%;
}

.page-layout {
    width: 100%;
    max-width: 1532px;
    margin: 0 auto;
    padding: 0 12px;
    position: relative;
    box-sizing: border-box;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

#header {
    background: transparent;
}

#header .header1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: calc(100% - 24px);
    max-width: 1508px;
    padding: 0 8px 8px 22px;
    margin-top: 0;
    background: linear-gradient(180deg, #32100c 0%, #090606 100%);
    /* border: 1px solid var(--border-strong); */
    border-radius: 0;
    box-shadow: none;
    color: var(--text-base);
}

.logo-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    text-decoration: none;
    line-height: 1;
}

.logo-text img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
}

.header-note {
    margin-left: auto;
    max-width: 70%;
    color: var(--text-base);
    font-size: 13px;
    line-height: 1.4;
    text-align: right;
}

#menu-up {
    display: none;
}

.main-nav-bar {
    width: 100%;
    background: transparent;
}

.main-nav-inner {
    width: calc(100% - 24px);
    max-width: 1508px;
    min-width: 0;
    margin: 0 auto;
    padding: 0 18px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
    flex-wrap: nowrap;
    background: var(--bg-panel);
    /* border: 1px solid var(--border-strong); */
    border-top: 0;
    border-radius: 0;
    box-shadow: none;
}

.main-menu-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.main-menu-button {
    display: none;
    align-items: center;
    gap: 8px;
    color: var(--text-title);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    padding: 12px 0;
    cursor: pointer;
}

.main-menu-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--text-title);
    stroke-width: 2.2;
    stroke-linecap: round;
}

.main-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 28px;
    flex: 1 1 auto;
    min-width: 0;
}

.main-nav-list a {
    display: block;
    padding: 13px 0;
    color: var(--text-title);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-decoration: none;
    white-space: nowrap;
}

.main-nav-list a:hover {
    color: var(--text-accent-hover);
}

.main-nav-switch {
    display: inline-flex;
    align-items: center;
    /* border: 1px solid var(--border-strong); */
    border-radius: 8px;
    overflow: hidden;
    margin-right: 4px;
}

.main-nav-switch .main-nav-switch-btn {
    padding: 10px 14px;
    line-height: 1;
    color: var(--text-title);
    background: rgba(255, 139, 43, 0.14);
    /* border-right: 1px solid var(--border-soft); */
}

.main-nav-switch .main-nav-switch-btn:last-child {
    border-right: 0;
}

.main-nav-switch .main-nav-switch-btn:hover {
    color: var(--text-base);
    background: rgba(189, 48, 32, 0.3);
}

.main-nav-switch .main-nav-switch-btn.is-active {
    color: var(--text-base);
    background: var(--text-accent-hover);
}

#search-box.nav-search {
    order: 3;
    float: none;
    width: 196px;
    max-width: 30%;
    min-width: 154px;
    height: auto;
    margin-top: 0;
    margin-left: auto;
    color: var(--text-base);
    flex: 0 1 30%;
}

#search-box.nav-search form {
    width: 100%;
    position: relative;
}

#search-box.nav-search .searchform {
    width: 100%;
    height: 42px;
    padding: 0 48px 0 10px;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    background: var(--bg-surface);
    color: var(--text-base);
    font-size: 13px;
    line-height: 42px;
}

#search-box.nav-search .searchform::placeholder {
    color: rgba(245, 242, 239, 0.75);
}

#search-box.nav-search .searchbut {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    text-indent: 0;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    background: var(--bg-surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#search-box.nav-search .searchbut:hover {
    background: var(--text-accent-hover);
}

#search-box.nav-search .searchbut svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--text-title);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#page {
    background: transparent;
    font-family: Arial, sans-serif;
    padding-top: 0;
    padding-bottom: 0;
}

#page .container {
    padding: 6px 7px 2px;
    background: #090706;
    /* border: 1px solid var(--border-strong); */
    border-top: 0;
    border-bottom: 0;
    border-radius: 0;
    box-shadow: none;
}

.title-box {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 10px 0;
}

.title-box>span {
    margin: 0;
    padding: 0;
    width: 100%;
    float: none;
    background: none;
    color: var(--text-title);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    text-align: right;
}

.title-box.title-box-split {
    flex-direction: row;
    justify-content: space-between;
    gap: 14px;
}

.title-box.title-box-split .title-box-title {
    width: auto;
    flex: 1 1 auto;
    margin-left: 0;
    text-align: left;
}

.title-box.title-box-split .title-box-nav {
    display: inline-flex;
    align-items: center;
    gap: 0;
    flex: 0 0 auto;
    margin-left: auto;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-surface);
}

.title-box.title-box-split .title-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    height: 32px;
    padding: 0 10px;
    border: none;
    border-radius: 0;
    background: var(--bg-surface);
    color: var(--text-title);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
}

/* .title-box.title-box-split .title-filter-btn+.title-filter-btn {
	border-left: 1px solid var(--border-soft);
} */

.title-box.title-box-split .title-filter-btn:hover {
    color: var(--text-accent-hover);
    background: rgba(189, 48, 32, 0.22);
}

.title-box.title-box-split .title-filter-btn.is-active {
    color: #fff;
    background: #741d16;
    box-shadow: none;
}

.thumbs-grid {
    position: relative;
    min-height: 220px;
}

.thumbs-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(12, 6, 5, 0.92);
    z-index: 20;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.page-loader-spinner,
.thumbs-loader .page-loader-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid rgba(255, 255, 255, 0.28);
    border-top-color: var(--text-title);
    border-radius: 50%;
    animation: page-loader-spin 0.8s linear infinite;
}

.thumbs-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes page-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

.th_container {
    list-style-type: none;
    position: relative;
    margin: 10px 0 0;
    padding: 0;
    visibility: hidden;
}

.th_container.mosaic-ready {
    visibility: visible;
}

.video-page .thumbs-grid {
    min-height: 0;
}

.video-th-container {
    list-style-type: none;
    position: relative;
    margin: 10px 0 0;
    padding: 0;
    visibility: visible;
}

.video-page .video-th-container {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    visibility: visible;
}

.video-page .video-th-container li {
    width: auto;
}

.video-page .video-th-container li img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.th_container li,
.video-th-container li {
    background: var(--bg-surface);
    /* border: 1px solid var(--border-strong); */
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.th_container li:hover,
.video-th-container li:hover {
    border-color: var(--text-title);
}

.th_container li img,
.video-th-container li img {
    display: block;
    width: 100%;
    height: auto;
}

.th_container li p,
.video-th-container li p {
    color: var(--text-base);
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    font-weight: 400;
    margin: 8px;
}

.th_container a,
.video-th-container a {
    position: relative;
    display: block;
}

.category-badge {
    position: absolute;
    right: 0;
    bottom: 0px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 8px 0 0 0;
    background: rgba(12, 6, 5, 0.88);
    color: var(--text-base);
    /* border: 1px solid var(--border-soft); */
    border-right: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-transform: capitalize;
}

.category-badge span {
    opacity: 1;
}

.duration-badge {
    right: 6px;
    bottom: 6px;
    padding: 4px 7px;
    font-size: 12px;
    font-weight: 300;
    border-radius: 4px;
}


@media only screen and (max-width: 1200px) {
    .video-page .video-th-container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 920px) {
    .video-page .video-th-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 640px) {
    .video-page .video-th-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 420px) {
    .video-page .video-th-container {
        grid-template-columns: 1fr;
    }
}

.archive {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    float: none !important;
    clear: both;
    box-sizing: border-box;
    padding: 12px 0;
    margin: 20px 0 15px;
}

.archive a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    /* border: 1px solid var(--border-strong); */
    border-radius: 7px;
    background: var(--bg-panel);
    color: var(--text-title);
    font-size: 18px;
    font-weight: 700;
}

.archive a:hover {
    background: var(--text-accent-hover);
    color: var(--text-base);
}

.archive a svg {
    display: block;
}

#footer {
    margin-top: 0;
    padding-bottom: 0;
    background: transparent;
}

#footer-bottom {
    padding: 14px 16px;
    background: #090706;
    /* border: 1px solid var(--border-strong); */
    border-top: 0;
    border-radius: 0;
    box-shadow: none;
}

#footer p {
    margin: 14px 0;
    color: var(--text-base);
    font-size: 14px;
    text-align: center;
    line-height: 1.5;
}

#footer p.copy {
    color: var(--text-base);
    font-size: 13px;
}

#footer p.copy a {
    color: var(--text-title);
    font-weight: 700;
}

@media only screen and (max-width: 1000px) {
    #header .header1 {
        justify-content: center;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    #header .header1,
    .main-nav-inner,
    #page .container,
    #footer-bottom {
        padding-left: 12px;
        padding-right: 12px;
    }

    #page .container {
        padding-left: 6px;
        padding-right: 6px;
    }

    .logo-text {
        width: 100%;
        justify-content: center;
    }

    .logo-text img {
        width: 100%;
    }

    .header-note {
        display: none;
    }
}

@media only screen and (min-width: 601px) and (max-width: 960px) {
    .main-nav-inner {
        gap: 10px;
    }

    .main-nav-list {
        gap: 12px;
    }

    .main-nav-list a {
        font-size: 14px;
        padding: 11px 0;
    }

    #search-box.nav-search {
        width: 161px;
        max-width: 30%;
        min-width: 126px;
    }
}

@media only screen and (max-width: 760px) {
    #header .header1 {
        padding-top: 10px;
        padding-bottom: 8px;
    }

    .title-box.title-box-split {
        flex-wrap: wrap;
    }
}

@media only screen and (max-width: 480px) {
    .title-box.title-box-split .title-box-title {
        display: none;
    }
}

@media only screen and (max-width: 600px) {
    .main-nav-inner {
        min-width: 0;
        padding: 0 12px 10px;
        flex-wrap: wrap;
        gap: 8px 14px;
        min-height: 56px;
    }

    .main-menu-button {
        display: inline-flex;
        order: 1;
    }

    .main-nav-list {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0 0 12px;
        width: 100%;
        order: 3;
    }

    .main-menu-toggle:checked~.main-nav-list {
        display: flex;
    }

    .main-nav-list a {
        padding: 10px 2px;
    }

    .main-nav-switch .main-nav-switch-btn {
        padding: 10px 12px;
    }

    #search-box.nav-search {
        order: 2;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-left: 0;
        flex-basis: 100%;
    }

    #search-box.nav-search .searchform {
        height: 44px;
        padding-right: 50px;
        line-height: 44px;
    }

    #search-box.nav-search .searchbut {
        width: 36px;
        height: 36px;
    }
}