/* (c) Hecktor Nastrova | Biography & Production Archive | H27-HX26 */

html,
body.hknbio_document {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

.hknbio_page {
    --hknbio_text: #151515;
    --hknbio_muted: #60646c;
    --hknbio_faint: #8a8d93;
    --hknbio_surface: #ffffff;
    --hknbio_soft: #fafafa;
    --hknbio_border: #e3e3e3;
    --hknbio_blue: #151f8f;
    --hknbio_blue_soft: #eef0ff;
    --hknbio_gold: #9b751d;
    --hknbio_gold_soft: #f7f1e3;
    --hknbio_navy: #07162b;

    width: 100%;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: var(--hknbio_text);
    background: var(--hknbio_surface);
    font-family: "Segoe UI", "Elms Sans", Arial, Helvetica, sans-serif;
}

.hknbio_page,
.hknbio_page * {
    box-sizing: border-box;
}

.hknbio_page button,
.hknbio_page input {
    font: inherit;
}

.hknbio_header {
    position: relative;
    z-index: 20;
    flex: 0 0 auto;
    background: #ffffff;
    border-bottom: 1px solid var(--hknbio_border);
}

.hknbio_header_inner {
    width: 100%;
    min-height: 86px;
    padding: 0 clamp(24px, 4vw, 72px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.hknbio_header_logo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    text-decoration: none;
}

.hknbio_header_logo img {
    display: block;
    width: 88px;
    max-width: 100%;
    height: auto;
}

.hknbio_header_nav {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(20px, 2.3vw, 36px);
}

.hknbio_header_nav a {
    position: relative;
    color: var(--hknbio_blue);
    font-family: "Julius Sans One", "Segoe UI", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.055em;
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.hknbio_header_nav a:hover,
.hknbio_header_nav a[aria-current="page"] {
    color: var(--hknbio_gold);
}

.hknbio_header_nav a[aria-current="page"]::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    content: "";
    background: currentColor;
}

.hknbio_layout_shell {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    background: #ffffff;
}

.hknbio_layout {
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 24px clamp(20px, 2.2vw, 40px) 28px;
    display: grid;
    grid-template-columns: clamp(272px, 18vw, 324px) minmax(0, 1fr);
    gap: clamp(22px, 2vw, 36px);
}

/* SIDEBAR */

.hknbio_sidebar {
    min-width: 0;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--hknbio_border);
}

.hknbio_sidebar_intro {
    flex: 0 0 auto;
    padding: 20px 20px 18px;
    border-bottom: 1px solid var(--hknbio_border);
}

.hknbio_sidebar_intro p,
.hknbio_search_box label,
.hknbio_filter_group h2,
.hknbio_archive_heading > p {
    margin: 0;
    color: var(--hknbio_gold);
    font-family: "Julius Sans One", "Segoe UI", Arial, sans-serif;
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0.085em;
    font-weight: 400;
    text-transform: uppercase;
}

.hknbio_sidebar_intro strong {
    display: block;
    margin-top: 8px;
    color: var(--hknbio_blue);
    font-family: "Julius Sans One", "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.45;
    letter-spacing: 0.025em;
    font-weight: 400;
    text-transform: uppercase;
}

.hknbio_sidebar_intro span {
    display: block;
    margin-top: 7px;
    color: var(--hknbio_muted);
    font-size: 12px;
    line-height: 1.5;
}

.hknbio_search_box {
    flex: 0 0 auto;
    padding: 18px 20px;
    border-bottom: 1px solid var(--hknbio_border);
}

.hknbio_search_box label {
    display: block;
    margin-bottom: 10px;
}

.hknbio_search_box input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    color: var(--hknbio_text);
    background: #ffffff;
    border: 1px solid var(--hknbio_border);
    border-radius: 0;
    outline: 0;
}

.hknbio_search_box input:focus {
    border-color: var(--hknbio_blue);
    box-shadow: inset 0 0 0 1px var(--hknbio_blue);
}

.hknbio_search_box input::placeholder {
    color: #989898;
}

.hknbio_sidebar_filters {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #c7c7c7 #ffffff;
}

.hknbio_filter_group {
    padding: 18px 0 0;
    border-bottom: 1px solid var(--hknbio_border);
}

.hknbio_filter_group h2 {
    padding: 0 20px 10px;
}

.hknbio_filter_options {
    display: grid;
}

.hknbio_filter_options button {
    width: 100%;
    min-height: 40px;
    padding: 8px 14px 8px 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    color: var(--hknbio_text);
    background: transparent;
    border: 0;
    border-top: 1px solid #f1f1f1;
    cursor: pointer;
    text-align: left;
}

.hknbio_filter_options button span {
    min-width: 0;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
}

.hknbio_filter_options button em {
    min-width: 25px;
    min-height: 21px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--hknbio_gold);
    background: var(--hknbio_gold_soft);
    font-size: 10px;
    line-height: 1;
    font-style: normal;
    font-weight: 750;
}

.hknbio_filter_options button:hover {
    color: var(--hknbio_blue);
    background: var(--hknbio_soft);
}

.hknbio_filter_options button.is-active {
    color: var(--hknbio_blue);
    background: var(--hknbio_blue_soft);
    box-shadow: inset 3px 0 0 var(--hknbio_blue);
}

.hknbio_sidebar_actions {
    flex: 0 0 auto;
    padding: 14px 20px;
    border-top: 1px solid var(--hknbio_border);
}

.hknbio_sidebar_actions button,
.hknbio_empty_state button {
    width: 100%;
    min-height: 38px;
    padding: 0 14px;
    color: var(--hknbio_blue);
    background: #ffffff;
    border: 1px solid var(--hknbio_border);
    cursor: pointer;
    font-family: "Julius Sans One", "Segoe UI", Arial, sans-serif;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.hknbio_sidebar_actions button:hover,
.hknbio_empty_state button:hover {
    color: var(--hknbio_gold);
    background: var(--hknbio_soft);
}

/* CONTENT */

.hknbio_content {
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 100%;
    padding: 0 clamp(4px, 0.8vw, 14px) 56px 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #c7c7c7 #ffffff;
}

.hknbio_sidebar_filters::-webkit-scrollbar,
.hknbio_content::-webkit-scrollbar {
    width: 8px;
}

.hknbio_sidebar_filters::-webkit-scrollbar-track,
.hknbio_content::-webkit-scrollbar-track {
    background: #ffffff;
}

.hknbio_sidebar_filters::-webkit-scrollbar-thumb,
.hknbio_content::-webkit-scrollbar-thumb {
    background: #c7c7c7;
    border: 2px solid #ffffff;
}

.hknbio_archive_header {
    width: 100%;
    padding: 8px 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(28px, 4vw, 72px);
    align-items: end;
    border-bottom: 1px solid var(--hknbio_border);
}

.hknbio_archive_heading {
    min-width: 0;
}

.hknbio_archive_heading > p {
    margin-bottom: 12px;
}

.hknbio_archive_heading h1 {
    margin: 0;
    color: var(--hknbio_blue);
    font-family: "Julius Sans One", "Segoe UI", Arial, sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: 0.025em;
    font-weight: 400;
    text-transform: uppercase;
}

.hknbio_archive_heading > span {
    display: block;
    max-width: 940px;
    margin-top: 14px;
    color: var(--hknbio_muted);
    font-size: 14px;
    line-height: 1.65;
}

.hknbio_archive_stats {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(100px, auto));
    align-items: stretch;
    border: 1px solid var(--hknbio_border);
}

.hknbio_archive_stats div {
    min-width: 108px;
    padding: 15px 16px;
    border-right: 1px solid var(--hknbio_border);
}

.hknbio_archive_stats div:last-child {
    border-right: 0;
}

.hknbio_archive_stats dt {
    color: var(--hknbio_blue);
    font-family: "Julius Sans One", "Segoe UI", Arial, sans-serif;
    font-size: 19px;
    line-height: 1.2;
    font-weight: 400;
}

.hknbio_archive_stats dd {
    margin: 6px 0 0;
    color: var(--hknbio_muted);
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: 0.06em;
    font-weight: 700;
    text-transform: uppercase;
}

.hknbio_results_bar {
    min-height: 55px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--hknbio_border);
}

.hknbio_results_bar > p {
    flex: 0 0 auto;
    margin: 0;
    color: var(--hknbio_muted);
    font-size: 12px;
    line-height: 1.4;
}

.hknbio_results_bar strong {
    color: var(--hknbio_text);
}

.hknbio_active_filters {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.hknbio_active_filters button {
    min-height: 27px;
    padding: 0 9px;
    color: var(--hknbio_blue);
    background: var(--hknbio_blue_soft);
    border: 0;
    cursor: pointer;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
}

.hknbio_timeline {
    width: 100%;
    min-width: 0;
}

.hknbio_year_section {
    width: 100%;
    min-width: 0;
    padding-top: 28px;
}

.hknbio_year_section[hidden] {
    display: none !important;
}

.hknbio_year_header {
    width: 100%;
    min-height: 52px;
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--hknbio_border);
}

.hknbio_year_header h2 {
    margin: 0;
    color: var(--hknbio_blue);
    font-family: "Julius Sans One", "Segoe UI", Arial, sans-serif;
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1;
    letter-spacing: 0.045em;
    font-weight: 400;
}

.hknbio_year_header span {
    color: var(--hknbio_gold);
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0.07em;
    font-weight: 750;
    text-transform: uppercase;
}

.hknbio_item_list {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

.hknbio_item {
    width: 100%;
    min-width: 0;
    padding: 19px clamp(18px, 2vw, 26px);
    display: grid;
    grid-template-columns: clamp(165px, 14vw, 220px) minmax(0, 1fr);
    gap: clamp(22px, 2.2vw, 40px);
    align-items: start;
    background: #ffffff;
    border: 1px solid var(--hknbio_border);
    scroll-margin-top: 18px;
}

.hknbio_item:hover,
.hknbio_item:target {
    background: #fcfcfc;
    border-color: #d7d7d7;
}

.hknbio_item:target {
    box-shadow: inset 3px 0 0 var(--hknbio_blue);
}

.hknbio_item[hidden] {
    display: none !important;
}

.hknbio_item_meta {
    min-width: 0;
    display: grid;
    justify-items: start;
    gap: 7px;
}

.hknbio_item_meta time {
    color: var(--hknbio_gold);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
}

.hknbio_item_meta > span {
    color: var(--hknbio_muted);
    font-size: 11px;
    line-height: 1.45;
    font-weight: 650;
}

.hknbio_status {
    min-height: 22px;
    padding: 0 7px;
    display: inline-flex;
    align-items: center;
    color: var(--hknbio_blue);
    background: var(--hknbio_blue_soft);
    font-size: 9px;
    line-height: 1;
    letter-spacing: 0.065em;
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
}

.hknbio_status.is-classified {
    color: #ffffff;
    background: var(--hknbio_navy);
}

.hknbio_item_body {
    width: 100%;
    min-width: 0;
}

.hknbio_item_title_row {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
}

.hknbio_item_body h3 {
    min-width: 0;
    margin: 0;
    color: var(--hknbio_blue);
    font-family: "Julius Sans One", "Segoe UI", Arial, sans-serif;
    font-size: clamp(15px, 1.35vw, 19px);
    line-height: 1.42;
    letter-spacing: 0.025em;
    font-weight: 400;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.hknbio_permalink {
    color: #b4b4b4;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
}

.hknbio_permalink:hover {
    color: var(--hknbio_gold);
}

.hknbio_body_text {
    width: 100%;
    min-width: 0;
    margin-top: 10px;
    color: var(--hknbio_text);
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.hknbio_body_text > :first-child {
    margin-top: 0;
}

.hknbio_body_text > :last-child {
    margin-bottom: 0;
}

.hknbio_body_text img,
.hknbio_body_text table,
.hknbio_body_text pre {
    max-width: 100%;
}

.hknbio_body_text a {
    color: var(--hknbio_blue);
    font-weight: 700;
    text-decoration: none;
}

.hknbio_body_text a:hover {
    color: var(--hknbio_gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hknbio_body_text ul,
.hknbio_body_text ol {
    padding-left: 20px;
}

.hknbio_aliases {
    margin: 10px 0 0;
    color: var(--hknbio_muted);
    font-size: 11px;
    line-height: 1.55;
}

.hknbio_item_footer {
    width: 100%;
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 18px;
}

.hknbio_area_tags,
.hknbio_links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.hknbio_area_tags button,
.hknbio_links a {
    min-height: 27px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--hknbio_muted);
    background: #ffffff;
    border: 1px solid var(--hknbio_border);
    cursor: pointer;
    font-size: 9px;
    line-height: 1;
    letter-spacing: 0.045em;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.hknbio_area_tags button:hover,
.hknbio_links a:hover {
    color: var(--hknbio_blue);
    background: var(--hknbio_blue_soft);
    border-color: #d8dbf5;
}

.hknbio_empty_state {
    margin-top: 28px;
    padding: 40px 24px;
    text-align: center;
    border: 1px solid var(--hknbio_border);
}

.hknbio_empty_state[hidden] {
    display: none !important;
}

.hknbio_empty_state p {
    margin: 0 0 18px;
    color: var(--hknbio_muted);
}

.hknbio_empty_state button {
    width: auto;
}

.hknbio_page .nasfound-footer {
    margin-top: 48px;
}

.hknbio_page a:focus-visible,
.hknbio_page button:focus-visible,
.hknbio_page input:focus-visible {
    outline: 2px solid var(--hknbio_blue);
    outline-offset: 2px;
}

@media (max-width: 1240px) {
    .hknbio_archive_header {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .hknbio_archive_stats {
        width: fit-content;
    }
}

@media (max-width: 980px) {
    html,
    body.hknbio_document {
        height: auto;
        min-height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .hknbio_page {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        overflow: visible;
    }

    .hknbio_header_inner {
        min-height: auto;
        padding-top: 18px;
        padding-bottom: 18px;
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .hknbio_header_nav {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 3px 0 9px;
    }

    .hknbio_header_nav::-webkit-scrollbar {
        height: 0;
    }

    .hknbio_layout_shell {
        overflow: visible;
    }

    .hknbio_layout {
        height: auto;
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
    }

    .hknbio_sidebar {
        height: auto;
        max-height: none;
    }

    .hknbio_sidebar_filters {
        max-height: 420px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .hknbio_filter_group {
        height: 100%;
        border-right: 1px solid var(--hknbio_border);
    }

    .hknbio_content {
        height: auto;
        padding-right: 0;
        overflow: visible;
    }
}

@media (max-width: 700px) {
    .hknbio_header_inner,
    .hknbio_layout {
        padding-right: 16px;
        padding-left: 16px;
    }

    .hknbio_sidebar_filters {
        grid-template-columns: 1fr;
    }

    .hknbio_filter_group {
        border-right: 0;
    }

    .hknbio_archive_stats {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hknbio_archive_stats div {
        min-width: 0;
        padding: 13px 10px;
    }

    .hknbio_archive_stats dt {
        font-size: 15px;
    }

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

    .hknbio_active_filters {
        justify-content: flex-start;
    }

    .hknbio_item {
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
    }

    .hknbio_item_meta {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 7px 12px;
    }

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

@media (max-width: 450px) {
    .hknbio_archive_heading h1 {
        font-size: 29px;
    }

    .hknbio_archive_stats {
        grid-template-columns: 1fr;
    }

    .hknbio_archive_stats div {
        border-right: 0;
        border-bottom: 1px solid var(--hknbio_border);
    }

    .hknbio_archive_stats div:last-child {
        border-bottom: 0;
    }

    .hknbio_area_tags,
    .hknbio_links,
    .hknbio_area_tags button,
    .hknbio_links a {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hknbio_content {
        scroll-behavior: auto;
    }
}
