﻿.documentation-page {
    background: var(--black-color);
}

.documentation-breadcrumb-copy {
    max-width: 720px;
    margin: 18px auto 0;
    color: var(--white-color);
    text-align: center;
}

.documentation-page .breadcrumb-section .breadcrumb-shape::before,
.documentation-page .breadcrumb-section .breadcrumb-shape::after {
    content: "";
    position: absolute;
    display: block;
    left: 50%;
    pointer-events: none;
    background: #2563eb;
    opacity: .82;
    transform: translateX(-50%);
}

.documentation-page .breadcrumb-section .breadcrumb-shape::before {
    top: 0;
    width: 1920px;
    height: 594px;
    -webkit-mask: url("../assets/images/breadcrumb/breadcrumb-shado-top.png") center top / 100% 100% no-repeat;
    mask: url("../assets/images/breadcrumb/breadcrumb-shado-top.png") center top / 100% 100% no-repeat;
}

.documentation-page .breadcrumb-section .breadcrumb-shape::after {
    bottom: 0;
    width: 1920px;
    height: 594px;
    -webkit-mask: url("../assets/images/breadcrumb/breadcrumb-shado-bottom.png") center bottom / 100% 100% no-repeat;
    mask: url("../assets/images/breadcrumb/breadcrumb-shado-bottom.png") center bottom / 100% 100% no-repeat;
}

.documentation-page .breadcrumb-section .breadcrumb-shado-top,
.documentation-page .breadcrumb-section .breadcrumb-shado-bottom {
    opacity: 0 !important;
}

.documentation-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 30px;
    border: 1px solid var(--border-color-one);
    border-radius: var(--border-radius-three);
    background: var(--background-one);
}

.documentation-toolbar h2 {
    margin: 6px 0;
}

.documentation-toolbar p {
    margin: 0;
    color: var(--white-color);
}

.documentation-filter-panel {
    flex: 1;
    max-width: 760px;
    display: grid;
    gap: 14px;
}

.type-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--border-color-one);
    border-radius: 999px;
    background: transparent;
    color: var(--white-color);
    font-weight: 800;
    transition: all .2s ease;
}

.tab:hover,
.tab.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white-color);
}

.documentation-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--border-color-one);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
}

.documentation-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--white-color);
}

.documentation-search input::placeholder {
    color: var(--body-color);
}

.icon-btn {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--body-color);
}

.icon-btn:hover {
    background: rgba(255, 255, 255, .08);
    color: var(--white-color);
}

.documentation-card {
    height: 100%;
    cursor: pointer;
}

.documentation-card:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}

.documentation-card .photo-gallery-image figure {
    aspect-ratio: 16 / 10;
}

.documentation-card .photo-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.documentation-card .photo-gallery-icon button {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
}

.documentation-card-content {
    padding: 18px 0 0;
}

.documentation-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 900;
}

.documentation-card-content h3 {
    margin: 0;
    color: var(--white-color);
    font-size: 22px;
    line-height: 1.3;
}

.documentation-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 38px;
}

.legal-note {
    margin: 18px 0 0;
    color: var(--white-color);
    text-align: center;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .86);
}

.lightbox.is-open {
    display: flex;
}

.lb-body {
    width: min(1120px, 94vw);
    overflow: hidden;
    border: 1px solid var(--border-color-one);
    border-radius: var(--border-radius-three);
    background: var(--background-one);
}

.lb-stage {
    min-height: 46vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.lb-stage img,
.lb-stage video {
    max-width: 100%;
    max-height: 72vh;
    display: block;
}

.lb-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border-top: 1px solid var(--border-color-one);
}

.lb-title {
    color: var(--white-color);
    font-weight: 900;
}

.lb-open {
    color: var(--primary-color);
    font-weight: 900;
    text-decoration: none;
}

.lb-close,
.lb-prev,
.lb-next {
    position: fixed;
    z-index: 10000;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-color-one);
    border-radius: 50%;
    background: var(--background-one);
    color: var(--white-color);
}

.lb-close {
    top: 22px;
    right: 22px;
}

.lb-prev {
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.lb-next {
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 991px) {
    .documentation-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .documentation-filter-panel {
        max-width: none;
    }
}

@media (max-width: 575px) {
    .documentation-actions .theme-button {
        width: 100%;
    }

    .lb-meta {
        align-items: flex-start;
        flex-direction: column;
    }
}
