.hk-sub-nav--board {
    gap: 90px;
}

.hk-board {
    min-height: 1320px;
    padding: 135px 0 180px;
    background: #fff;
}

.hk-page-heading--board {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    padding-bottom: 42px;
}

.hk-page-heading--board p {
    grid-column: 1;
    margin-bottom: 14px;
}

.hk-page-heading--board h2 {
    grid-column: 1;
}

.hk-page-heading--board > span {
    grid-row: 2;
    grid-column: 2;
    padding-bottom: 8px;
    color: #8b8e94;
    font-size: 15px;
}

.hk-board-table {
    border-top: 3px solid #15171b;
}

.hk-board-table__row {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr) 170px 170px;
    align-items: center;
    min-height: 78px;
    border-bottom: 1px solid #e8e9eb;
    color: #2d3035;
}

.hk-board-table__row > span,
.hk-board-table__row > strong,
.hk-board-table__row > time {
    padding: 0 24px;
}

.hk-board-table__row > span:first-child,
.hk-board-table__row > span:nth-last-child(-n+2),
.hk-board-table__row > time {
    text-align: center;
}

.hk-board-table__head {
    min-height: 64px;
    color: #15171b;
    font-weight: 700;
}

.hk-board-table__head span:nth-child(2) {
    text-align: center;
}

.hk-board-table__row > strong {
    overflow: hidden;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hk-board-table__row:not(.hk-board-table__head):hover {
    background: #fafafa;
}

.hk-board-table__row.is-notice {
    background: #f5f5f6;
}

.hk-board-table__row.is-notice > span:first-child {
    color: var(--hk-red);
    font-weight: 700;
}

.hk-board-table__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    border-bottom: 1px solid #e8e9eb;
    color: #85888e;
    text-align: center;
}

.hk-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 54px;
}

.hk-pagination .paginate-complex {
    width: 100%;
    padding: 0;
}

.hk-pagination a,
.hk-pagination strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 11px;
    border: 1px solid #eee;
    color: #888c92;
    font-size: 14px;
    font-weight: 400;
}

.hk-pagination strong {
    border-color: var(--hk-red);
    background: var(--hk-red);
    color: #fff;
}

.hk-pagination a:hover {
    color: var(--hk-red);
}

.hk-pagination .paginate-complex .direction:hover,
.hk-pagination .paginate-complex .direction:active,
.hk-pagination .paginate-complex .direction:focus {
    background-color: #f5f5f6;
}

.hk-board-search {
    display: flex;
    justify-content: center;
    max-width: 580px;
    height: 50px;
    margin: 44px auto 0;
}

.hk-board-search select,
.hk-board-search input {
    height: 100%;
    border: 1px solid #dadcdf;
    background: #fff;
}

.hk-board-search select {
    width: 130px;
    padding: 0 36px 0 16px;
}

.hk-board-search input {
    flex: 1;
    min-width: 0;
    margin-left: 6px;
    padding: 0 16px;
}

.hk-board-search button {
    width: 80px;
    margin-left: 6px;
    border: 0;
    background: #111;
    color: #fff;
    font-weight: 700;
}

.hk-board--view {
    min-height: 1000px;
}

.hk-board-view {
    border-top: 3px solid #15171b;
}

.hk-board-view__header {
    padding: 42px 38px 36px;
    border-bottom: 1px solid #e4e5e8;
}

.hk-board-view__header > span {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--hk-red);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.hk-board-view__header h3 {
    font-size: clamp(28px, 2.5vw, 40px);
    line-height: 1.35;
    letter-spacing: -0.04em;
}

.hk-board-view__header dl {
    display: flex;
    gap: 32px;
    margin-top: 24px;
    color: #7a7d83;
    font-size: 14px;
}

.hk-board-view__header dl div {
    display: flex;
    gap: 10px;
}

.hk-board-view__header dt {
    color: #303238;
    font-weight: 700;
}

.hk-board-view__header dd {
    margin: 0;
}

.hk-board-view__files {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    align-items: start;
    padding: 24px 38px;
    border-bottom: 1px solid #e4e5e8;
    background: #fafafb;
}

.hk-board-view__files > strong {
    padding-top: 10px;
    color: #25272c;
    font-size: 15px;
}

.hk-board-view__files > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hk-board-view__files a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid #dfe1e4;
    border-radius: 6px;
    background: #fff;
    color: #46494f;
    font-size: 14px;
}

.hk-board-view__files a:hover {
    border-color: var(--hk-red);
    color: var(--hk-red);
}

.hk-board-view__files a > span {
    color: var(--hk-red);
    font-size: 18px;
    font-weight: 700;
}

.hk-board-view__files em {
    font-style: normal;
}

.hk-board-view__content {
    min-height: 420px;
    padding: 56px 38px 80px;
    overflow-wrap: anywhere;
    color: #3b3e43;
    font-size: 17px;
    line-height: 1.85;
}

.hk-board-view__content img {
    width: auto;
    height: auto;
    max-width: 100%;
}

.hk-board-view__content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.hk-board-view__siblings {
    border-top: 1px solid #22252a;
    border-bottom: 1px solid #dfe1e4;
}

.hk-board-view__siblings > div {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    min-height: 68px;
    border-bottom: 1px solid #e8e9eb;
}

.hk-board-view__siblings > div:last-child {
    border-bottom: 0;
}

.hk-board-view__siblings span,
.hk-board-view__siblings a,
.hk-board-view__siblings p {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 16px 22px;
}

.hk-board-view__siblings span {
    background: #fafafb;
    color: #2d3035;
    font-weight: 700;
}

.hk-board-view__siblings a,
.hk-board-view__siblings p {
    overflow: hidden;
    color: #6f7278;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hk-board-view__siblings a:hover {
    color: var(--hk-red);
}

.hk-board-view__actions {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.hk-board-view__actions a,
.hk-board-state a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 50px;
    padding: 0 28px;
    border: 1px solid #181a1e;
    background: #181a1e;
    color: #fff;
    font-weight: 700;
}

.hk-board-view__actions a:hover,
.hk-board-state a:hover {
    border-color: var(--hk-red);
    background: var(--hk-red);
}

.hk-board-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    border-top: 3px solid #15171b;
    border-bottom: 1px solid #e4e5e8;
    text-align: center;
}

.hk-board-state strong {
    font-size: 28px;
}

.hk-board-state p {
    margin-top: 8px;
    color: #81848a;
}

.hk-board-state a {
    margin-top: 32px;
}

@media (max-width: 760px) {
    .hk-sub-nav--board {
        justify-content: center;
        gap: 18px;
    }

    .hk-board {
        min-height: 980px;
        padding: 80px 0 110px;
    }

    .hk-page-heading--board {
        padding-bottom: 30px;
    }

    .hk-page-heading--board h2 {
        font-size: 36px;
    }

    .hk-board-table__row {
        grid-template-columns: 54px minmax(0, 1fr) 90px;
        min-height: 68px;
        font-size: 14px;
    }

    .hk-board-table__row > span,
    .hk-board-table__row > strong,
    .hk-board-table__row > time {
        padding: 0 8px;
    }

    .hk-board-table__row > span:nth-child(3) {
        display: none;
    }

    .hk-board-table__head {
        min-height: 56px;
    }

    .hk-pagination {
        margin-top: 38px;
    }

    .hk-pagination a,
    .hk-pagination strong {
        min-width: 34px;
        height: 34px;
        padding: 0 8px;
        font-size: 12px;
    }

    .hk-board-search {
        height: auto;
        flex-wrap: wrap;
        margin-top: 32px;
    }

    .hk-board-search select {
        width: 110px;
        height: 46px;
    }

    .hk-board-search input {
        width: calc(100% - 116px);
        height: 46px;
    }

    .hk-board-search button {
        width: 100%;
        height: 46px;
        margin: 7px 0 0;
    }

    .hk-board--view {
        min-height: 800px;
    }

    .hk-board-view__header {
        padding: 30px 18px 26px;
    }

    .hk-board-view__header h3 {
        font-size: 27px;
    }

    .hk-board-view__header dl {
        flex-wrap: wrap;
        gap: 8px 20px;
        margin-top: 18px;
        font-size: 13px;
    }

    .hk-board-view__files {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 20px 18px;
    }

    .hk-board-view__files > strong {
        padding-top: 0;
    }

    .hk-board-view__files > div,
    .hk-board-view__files a {
        width: 100%;
    }

    .hk-board-view__files a {
        min-width: 0;
    }

    .hk-board-view__files em {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hk-board-view__content {
        min-height: 300px;
        padding: 38px 18px 56px;
        font-size: 15px;
    }

    .hk-board-view__siblings > div {
        grid-template-columns: 82px minmax(0, 1fr);
        min-height: 62px;
    }

    .hk-board-view__siblings span,
    .hk-board-view__siblings a,
    .hk-board-view__siblings p {
        padding: 14px 12px;
        font-size: 14px;
    }

    .hk-board-view__actions {
        margin-top: 36px;
    }

    .hk-board-state {
        min-height: 340px;
        padding: 40px 18px;
    }

    .hk-board-state strong {
        font-size: 23px;
    }
}
