@charset "utf-8";

.gbimh-board-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 28px;
}
.gbimh-board-head .gbimh-board-eyebrow {
    margin: 0 0 7px;
    color: #9a6a22;
    font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
}
.gbimh-board-head h2 {
    margin: 0 0 8px;
    color: var(--navy);
    font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.25;
}
.gbimh-board-head p { margin: 0; color: #667085; font-size: 15px; line-height: 1.7; }
.gbimh-board-head--special {
    padding-bottom: 22px;
    border-bottom: 1px solid #e7edf3;
}

.gbimh-board-head .gbimh-board-eyebrow {
    color: #9a6a22;
    font-size: 13px;
}

.gbimh-board-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.gbimh-board-actions .btn,
.gbimh-board-actions--bottom .btn,
.gbimh-bulk-actions .btn,
.gbimh-board-search .btn,
.gbimh-exhibit-write .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap;
}
.gbimh-board-actions--bottom {
    margin-top: 28px;
}
.gbimh-board-toolbar {
    display: grid;
    grid-template-columns: minmax(280px, 460px) minmax(0, 1fr);
    gap: 14px 20px;
    align-items: center;
    margin: 0 0 26px;
}
.gbimh-board-cate {
    min-width: 0;
    margin: 0;
}
.gbimh-board-cate ul {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}
.gbimh-board-cate a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid #e4dccd;
    border-radius: 999px;
    color: var(--navy);
    background: #fff;
    font-weight: 800;
}
.gbimh-board-cate #bo_cate_on {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}
.gbimh-special-list {
    display: grid;
    gap: 18px;
}
.gbimh-special-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(180px, 250px) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
    min-height: 260px;
    padding: 18px;
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(18, 41, 68, .06);
}
.gbimh-special-row__poster {
    display: block;
    overflow: hidden;
    min-height: 224px;
    border-radius: 6px;
    background: #eef2f6;
}
.gbimh-special-row__poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease;
}
.gbimh-special-row:hover .gbimh-special-row__poster img {
    transform: scale(1.025);
}
.gbimh-special-row__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 6px 4px 4px 0;
}
.gbimh-special-row__top {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
}
.gbimh-special-row__status,
.gbimh-special-row__year {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}
.gbimh-special-row__status {
    background: #173b5f;
    color: #fff;
}
.gbimh-special-row__year {
    background: #f6f2e8;
    color: #694f24;
}
.gbimh-special-row h3 {
    margin: 0 0 16px;
    color: var(--navy);
    font-family: "Noto Serif KR", serif;
    font-size: 24px;
    line-height: 1.38;
    letter-spacing: 0;
    word-break: keep-all;
}
.gbimh-special-row h3 a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.gbimh-special-row__meta {
    display: grid;
    gap: 8px;
    margin: 0 0 14px;
}
.gbimh-special-row__meta div {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: baseline;
    color: #445467;
    font-size: 15px;
    line-height: 1.55;
}
.gbimh-special-row__meta dt {
    color: #8a6a36;
    font-weight: 900;
}
.gbimh-special-row__meta dd {
    margin: 0;
}
.gbimh-special-row p {
    margin: 0 0 20px;
    color: #526070;
    line-height: 1.75;
    word-break: keep-all;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.gbimh-special-row__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}
.gbimh-special-row__links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid #d9e1ea;
    border-radius: 999px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}
.gbimh-special-row__links a:first-child {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
}
.gbimh-exhibit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 22px;
}
.gbimh-exhibit-card {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    overflow: hidden;
    border: 1px solid #e6edf4;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(18, 41, 68, .07);
}
.gbimh-exhibit-card__image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef2f6;
}
.gbimh-exhibit-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease;
}
.gbimh-exhibit-card:hover .gbimh-exhibit-card__image img {
    transform: scale(1.035);
}
.gbimh-exhibit-card__image span {
    position: absolute;
    left: 14px;
    top: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(18, 41, 68, .88);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}
.gbimh-exhibit-card__body {
    display: flex;
    flex-direction: column;
    min-height: 202px;
    padding: 20px;
}
.gbimh-exhibit-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    min-height: 38px;
    margin-bottom: 10px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}
.gbimh-exhibit-card h3 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 20px;
    line-height: 1.45;
}
.gbimh-exhibit-card h3 a {
    color: inherit;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.gbimh-exhibit-card p {
    margin: 0;
    color: #405163;
    line-height: 1.75;
    word-break: keep-all;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.gbimh-exhibit-check {
    position: absolute;
    z-index: 5;
    right: 12px;
    top: 12px;
}
.gbimh-empty {
    grid-column: 1 / -1;
    padding: 56px 20px;
    border: 1px dashed #d8e0ea;
    border-radius: 8px;
    color: #6b7280;
    text-align: center;
}
.gbimh-bulk-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 18px;
}
.gbimh-board-search {
    display: flex;
    gap: 6px;
    justify-content: flex-start;
    min-width: 0;
    margin: 0;
}
.gbimh-board-search select,
.gbimh-board-search input,
.gbimh-exhibit-write input,
.gbimh-exhibit-write select,
.gbimh-exhibit-write textarea {
    height: 42px;
    min-height: 42px;
    box-sizing: border-box;
    border: 1px solid #d9e1ea;
    border-radius: 6px;
    padding: 0 13px;
    font: inherit;
}
.gbimh-board-search select {
    flex: 0 0 122px;
}
.gbimh-board-search input {
    flex: 1 1 190px;
    width: auto;
    min-width: 0;
}
.gbimh-board-toolbar .gbimh-board-search .btn {
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 18px !important;
    border-radius: 6px !important;
}
#bo_list .gbimh-board-toolbar .gbimh-board-search button.gbimh-search-submit {
    height: 42px !important;
    min-height: 42px !important;
    box-sizing: border-box !important;
    align-self: stretch !important;
    padding: 0 18px !important;
    border: 1px solid var(--navy) !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}
.gbimh-exhibit-view__hero {
    display: grid;
    grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
    gap: 32px;
    align-items: stretch;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #edf1f5;
}
.gbimh-exhibit-view__hero--noimage {
    grid-template-columns: 1fr;
}
.gbimh-exhibit-view__poster {
    overflow: hidden;
    border-radius: 8px;
    background: #f8fafc;
}
.gbimh-exhibit-view__poster img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 560px;
    object-fit: contain;
    background: #f8fafc;
}
.gbimh-exhibit-view__head {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 0;
}
.gbimh-exhibit-view__head h2 {
    margin: 0 0 14px;
    color: var(--navy);
    font-family: "Noto Serif KR", serif;
    font-size: 34px;
    line-height: 1.35;
    word-break: keep-all;
}
.gbimh-exhibit-view__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 20px 0 0;
}
.gbimh-exhibit-view__meta div {
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid #e4dccd;
    border-radius: 8px;
    background: #f3f7ff;
}
.gbimh-exhibit-view__meta dt {
    margin-bottom: 5px;
    color: #8a6a36;
    font-size: 12px;
    font-weight: 900;
}
.gbimh-exhibit-view__meta dd {
    margin: 0;
    color: var(--navy);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.gbimh-exhibit-view__media {
    display: grid;
    gap: 14px;
    margin-bottom: 28px;
}
.gbimh-exhibit-view__media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.gbimh-exhibit-view__content {
    padding-top: 0;
    border-top: 0;
    color: #26384c;
    line-height: 1.9;
    word-break: keep-all;
}
.gbimh-exhibit-view__content img {
    max-width: 100%;
    height: auto;
}
.gbimh-view-links {
    display: grid;
    gap: 8px;
    margin-top: 24px;
    padding: 18px;
    border-radius: 8px;
    background: #f8fafc;
}
.gbimh-view-links strong {
    color: var(--navy);
}
.gbimh-prevnext {
    display: grid;
    gap: 8px;
    margin-top: 28px;
}
.gbimh-prevnext a {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #edf1f5;
    border-radius: 8px;
    color: #26384c;
}
.gbimh-prevnext span {
    color: #6b7280;
    font-weight: 800;
}
.gbimh-write-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}
.gbimh-exhibit-write label {
    display: grid;
    gap: 7px;
    color: var(--navy);
    font-weight: 900;
}
.gbimh-write-full {
    margin-bottom: 14px;
}
.gbimh-write-full input {
    width: 100%;
}
.gbimh-write-file {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
    padding: 14px;
    border: 1px solid #edf1f5;
    border-radius: 8px;
    background: #f8fafc;
}
.gbimh-write-file input[type="file"] {
    padding: 10px;
    background: #fff;
}
.gbimh-write-delete {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    color: #6b7280 !important;
    font-weight: 700 !important;
}
.gbimh-write-delete input {
    min-height: 0;
}
@media (max-width: 900px) {
    .gbimh-board-head {
        display: grid;
    }
    .gbimh-board-toolbar {
        grid-template-columns: 1fr;
    }
    .gbimh-board-cate ul {
        justify-content: flex-start;
    }
    .gbimh-board-actions,
    .gbimh-board-search {
        justify-content: flex-start;
    }
    .gbimh-exhibit-grid,
    .gbimh-write-grid {
        grid-template-columns: 1fr;
    }
    .gbimh-special-row {
        grid-template-columns: minmax(180px, 34vw) minmax(0, 1fr);
        gap: 18px;
        min-height: 228px;
        padding: 14px;
    }
    .gbimh-special-row__poster {
        min-height: 210px;
    }
    .gbimh-special-row h3 {
        font-size: 20px;
    }
    .gbimh-board-search {
        display: grid;
        grid-template-columns: minmax(110px, .6fr) minmax(0, 1fr) auto;
    }
    .gbimh-board-search input {
        width: 100%;
    }
    .gbimh-exhibit-view__hero {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .gbimh-exhibit-view__poster img {
        height: auto;
        max-height: none;
    }
    .gbimh-exhibit-view__meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gbimh-exhibit-view__head h2 {
        font-size: 25px;
    }
}
@media (max-width: 700px) {
    .gbimh-special-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .gbimh-special-row__poster {
        aspect-ratio: 4 / 3;
        min-height: 0;
    }
    .gbimh-special-row__body {
        padding: 0;
    }
    .gbimh-special-row__meta div {
        grid-template-columns: 38px minmax(0, 1fr);
        font-size: 14px;
    }
    .gbimh-board-search {
        display: grid;
        grid-template-columns: minmax(92px, .42fr) minmax(0, 1fr) 64px;
        gap: 6px;
    }
    .gbimh-board-search select,
    .gbimh-board-search input,
    .gbimh-board-toolbar .gbimh-board-search .btn {
        width: auto;
        min-width: 0;
        padding-right: 10px !important;
        padding-left: 10px !important;
        font-size: 13px !important;
    }
    .gbimh-exhibit-view__meta {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 340px) {
    .gbimh-board-search {
        grid-template-columns: minmax(82px, .38fr) minmax(0, 1fr);
    }

    .gbimh-board-toolbar .gbimh-board-search .btn {
        grid-column: 1 / -1;
    }
}
