/* ============================================
   Global Styles & Reset
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Pretendard English', 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Nanum Gothic', 'Noto Sans', 'sans-serif';
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

::selection {
    background-color: #000;
    color: #fff;
}

::-moz-selection {
    background-color: #000;
    color: #fff;
}

/* ============================================
   Write Page Styles
   ============================================ */

#bo_w {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

.exhibition-write-wrapper {
    background: #fff;
    border-radius: 0;
    padding: 0;
}

.write_div {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.write_div:last-child {
    border-bottom: none;
}

.write_div h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-field-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-field-label {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.required-badge {
    color: #ff6b6b;
    font-size: 14px;
}

.form-field-input,
.form-field-select,
.form-field-textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 13px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    background: #fff;
    color: #333;
    transition: all 0.2s ease;
}

.form-field-input:focus,
.form-field-select:focus,
.form-field-textarea:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.form-field-input::placeholder,
.form-field-textarea::placeholder {
    color: #999;
}

.form-field-select {
    appearance: none;
    padding-right: 30px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    cursor: pointer;
}

.form-field-textarea {
    resize: vertical;
    min-height: 120px;
}

.form_description {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
}

.char_count {
    font-size: 12px;
    color: #666;
    margin-top: 6px;
}

.file_upload_wrapper {
    margin-top: 15px;
}

.file_upload_label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 30px;
    border: 2px dashed #ddd;
    border-radius: 4px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    color: #666;
}

.file_upload_label:hover {
    border-color: #1a1a1a;
    background: #f5f5f5;
}

.file_upload_label i {
    margin-right: 8px;
    font-size: 18px;
}

.file_upload_input {
    display: none;
}

.file_preview_container {
    margin-top: 15px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
    display: none;
}

.file_preview_container.show {
    display: block;
}

.preview_image,
.file-preview-item {
    width: 100%;
    max-width: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.preview_image img,
.file-preview-item img {
    max-width: 100%;
}

.preview_file {
    font-size: 12px;
    color: #666;
    word-break: break-all;
}

.file_existing {
    margin: 10px 0;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.existing_image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 2px;
}

.existing_file_name {
    flex: 1;
    color: #666;
}

.existing_file_delete {
    display: flex;
    align-items: center;
    gap: 6px;
}

.existing_file_delete input {
    cursor: pointer;
}

.form_options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.form-actions {
  width: 100%;
  text-align: center;
  padding-top: 30px;
}

.chk_box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chk_box input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #1a1a1a;
}

.chk_box label {
    font-size: 13px;
    color: #666;
    cursor: pointer;
    margin: 0;
}

.btn_submit_wrapper {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 30px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn_primary,
.btn-primary {
    background: #1a1a1a;
    color: #fff;
}

.btn_primary:hover,
.btn-primary:hover {
    background: #333;
}

.btn_secondary,
.btn-secondary {
    background: #f5f5f5;
    color: #1a1a1a;
    border: 1px solid #ddd;
}

.btn_secondary:hover,
.btn-secondary:hover {
    background: #e5e5e5;
}

.btn_cancel {
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #ddd;
}

.btn_cancel:hover {
    background: #f5f5f5;
}

/* ============================================
   View Page Styles (Exhibition Detail)
   ============================================ */

#bo_v {
    width: 100%;
    background: #fff;
}

#bo_v.exhibition-view-container {
    max-width: none;
    padding: 0 130px;
    margin: 0;
}

@media (max-width: 1600px) {
    #bo_v.exhibition-view-container {
        padding: 0 20px;
    }
}

#bo_v_top { position: absolute; right: 0 }

.exhibition-title-section {
    width: 100%;
    text-align: center;
    padding: 20px 40px 60px;
    border-bottom: 1px solid #ccc;
  position: relative;
}

.exhibition-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.exhibition-main-title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
    margin: 0;
    word-break: break-word;
}

.exhibition-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.exhibition-edit-btn:hover {
    background: #e5e5e5;
}

.exhibition-info-section {
    width: 100%;
    padding: 60px 40px;
    border-bottom: 1px solid #ddd;
}

.exhibition-info-grid {
    max-width: none;
    /*display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;*/
    margin: 0 auto;
    gap: 32px;
    justify-content: space-between;
    display: flex;
    align-items: start;
}

.exhibition-info-left,
.exhibition-info-right {
    /*display: flex;
    flex-direction: column;
    gap: 30px;*/
    flex:1;
}
.exhibition-info-center {
  flex:2;
}

.exhibition-info-item {
    gap: 12px;
    display: flex;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.exhibition-info-label {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-basis: 25%;
}

.exhibition-info-text {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    flex-basis: 75%;
}

.exhibition-info-text a {
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
    transition: all 0.2s ease;
}

.exhibition-info-text a:hover {
    color: #1a1a1a;
    border-bottom-color: #1a1a1a;
}

.exhibition-info-text.sns a {
    display: inline-block;
    color: #fff;
    font-size: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #000;
    text-align: center;
    align-content: center;
    border-bottom: 0;
}
.exhibition-info-text.sns a:hover {
    color: #fff;
    text-decoration: none;
}

.exhibition-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.exhibition-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-size: 12px;
    color: #666;
    transition: all 0.2s ease;
}

.exhibition-tag:hover {
    background: #000;
    border: 1px solid #000;
    color: #fff !important;
}

.exhibition-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    padding: 40px;
    border-radius: 0;
    min-height: 400px;
}

.exhibition-image-container img {
    max-width: 440px;
    max-height: 580px;
    width: 100%;
    height: auto;
}

.exhibition-overview-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 40px;
}

.exhibition-overview-section {
    margin-bottom: 60px;
  border-bottom: 1px solid #ccc;
}

.exhibition-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    text-align: center;
}

.exhibition-overview-title {
    font-size: 38px;
    line-height: 1.3;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-align: center;
}

.exhibition-overview-title p {
    font-size: 23px;
    color: #999;
}

.exhibition-overview-text {
    font-size: 18px;
    line-height: 1.8;
    color: #222;
    white-space: pre-wrap;
    word-break: break-word;
}

.exhibition-gallery-images {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid #f0f0f0;
}

.exhibition-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.exhibition-gallery-image-item {
    overflow: hidden;
    border-radius: 0;
}

.exhibition-gallery-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.exhibition-gallery-image-item:hover img {
    transform: scale(1.05);
}

.btn-list {
    background: #1a1a1a;
    color: #fff;
}

.btn-list:hover {
    background: #333;
}

.exhibition-navigation {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

.nav-prev,
.nav-next {
    flex: 1;
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-prev:hover,
.nav-next:hover {
    border-color: #1a1a1a;
    background: #f5f5f5;
}

.nav-label {
    font-size: 12px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
}



/* ============================================
   Exhibition List Page Styles - Search & Category
   ============================================ */

.exhibition-search-header {
    width: 100%;
    max-width: 800px;
    background: #fff;
    padding: 40px 0 20px;
    margin: 0 auto;
}

.exhibition-search-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.exhibition-search-form {
    display: flex;
    align-items: flex-end;
    gap: 15px;
}

.exhibition-search-inputs {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
}

.exhibition-search-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.exhibition-search-field-text {
    flex: 1;
    min-width: 200px;
}

.exhibition-search-label {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.exhibition-search-select,
.exhibition-search-input {
    padding: 10px 12px;

    width: 660px;
    height: 50px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-family: inherit;
    background: #fff;
    color: #333;
}

.exhibition-search-select:focus,
.exhibition-search-input:focus {
    outline: none;
    border-color: #1a1a1a;
}

.exhibition-search-select {
    appearance: none;
    padding-right: 30px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.exhibition-search-button {
    padding: 15px 20px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    background: #1a1a1a;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.exhibition-search-button:hover {
    background: #333;
}

.exhibition-cate {
    width: 100%;
    padding: 20px 0 0;
    background: #fff;
    margin-bottom: 50px;
    transition: top 0.1s ease;
}

.exhibition-cate2 {
    width: 100%;
    padding: 0;
    background: #fff;
    margin-bottom: 60px;
    border-bottom: 0px solid #e5e5e5;
}

.exhibition-cate-wrapper {
    /*max-width: 1600px;*/
    margin: 0 auto;
    padding: 0;
    border-bottom: 1px solid #000;
}

.exhibition-cate-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.exhibition-cate-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: center;
}

#bo_cate_ul.exhibition-cate-list {
    gap: 0;
}

.exhibition-cate-list a,
.exhibition-cate-list strong {
    display: inline-block;
    padding: 15px 0;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.2s ease;
}

.exhibition-cate-list li {
    padding: 0 20px;
}

.exhibition-cate-list a:hover {
    color: #000;
    font-weight: 500;
}

.exhibition-cate-list strong {
    color: #0abe16;
    font-weight: 700;
    background: transparent;
}

.exhibition-cate-list #bo_cate_on {
    position: relative;
    color: #000;
    font-weight: 700;
}

.exhibition-cate-list a#bo_cate_on:after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    display: inline-block;
    width: 100%;
    height: 2px;
    background: #000;
}

#bo_cate_ul li {
    padding: 10px 8px;
}

#bo_cate_ul li a {
    border: 1px solid #dedede;
    font-size: 13px;
    padding: 8px 16px;
    line-height: 1;
    color: #666;
}

#bo_cate_ul li a:hover {
    border: 1px solid #dedede;
    background: #eee;
    color: #666;
}

#bo_cate_ul li a.on {
    color: #fff;
    border-color: #000;
    background: #000;
}

.exhibition-btn-top {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.exhibition-list-info {
    font-size: 13px;
    color: #666;
}

.exhibition-list-info strong {
    color: #1a1a1a;
    font-weight: 700;
}

.exhibition-actions {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.exhibition-write-btn,
.exhibition-admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 0;
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.exhibition-write-btn:hover,
.exhibition-admin-btn:hover {
    background: #f5f5f5;
    border-color: #999;
}

.exhibition-all-chk {
    display: none;
}

/* ============================================
   Exhibition List Wrapper - Horizontal Layout
   ============================================ */
#fboardlist {
  max-width: 1680px;
  padding: 0 50px;
  margin: 0 auto;
}
@media (max-width: 1680px) {
  #fboardlist {
    padding: 0 20px;
  }
}
.exhibition-list-wrapper {
    max-width: 1600px;
    margin: 0 auto 40px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    list-style: none;
}

.exhibition-item-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: start;
    border-bottom: none;
    padding-bottom: 0;
}

.exhibition-item-container:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

@media (max-width: 1280px) {
  .exhibition-list-wrapper {
    grid-template-columns: 1fr;
  }
}

.exhibition-item-link {
  position: relative;
    text-decoration: none;
    color: inherit;
}

.exhibition-item-left,
.exhibition-item-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    padding: 20px 0;
  border-top:#ddd 1px solid;
}

.exhibition-item-left {
    text-align: right;
}

.exhibition-item-right {
    text-align: left;
}

.exhibition-item-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    padding: 20px 0;
}

.exhibition-item-thumbnail {
    /*width: 280px;
    height: 360px;*/
    background: #f5f5f5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.exhibition-item-thumbnail:after {
    position: absolute;
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: all 0.3s ease;
    z-index: 9;
}

.exhibition-item-thumbnail:hover:after {
    background: rgba(0, 0, 0, 0.7);
}

.exhibition-item-thumbnail .more {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 8px 16px;
    border: 2px solid #fff;
    text-transform: uppercase;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 10;
}

.exhibition-item-thumbnail:hover .more {
    top: 50%;
    opacity: 1;
}

.exhibition-item-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px #ddd solid;
    transition: transform 0.3s ease;
}

.exhibition-item-container:hover .exhibition-item-thumbnail img {
    transform: scale(1.02);
}

.exhibition-item-no-image {
    background: #e8e8e8;
    color: #999;
    font-size: 13px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.is_notice {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.exhibition-item-top {
    display: flex;
    flex-direction: column;
}

.exhibition-item-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    color: #1a1a1a;
    margin: 0;
    word-break: keep-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

.new_icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    background: #ff6b6b;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 2px;
    line-height: 18px;
    text-align: center;
    vertical-align: text-top;
}

.exhibition-item-meta {
    /*display: flex;
    flex-direction: column;
    gap: 8px;*/
}

.exhibition-item-meta p { word-break: break-word }

.exhibition-item-meta-top {
    gap: 0;
}

.exhibition-item-period {
    font-size: 17px;
    color: #666;
    margin: 0;
    font-weight: 300;
}

.exhibition-item-artist {
    font-size: 15px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.exhibition-item-meta-bottom {
    margin-top: auto;
}

.exhibition-item-space {
    font-size: 20px;
    color: #333;
    margin: 0;
    margin-bottom: 10px;
    word-break: keep-all;
}

.exhibition-item-adrr {
    font-size: 15px;
    color: #999;
    margin: 0;
    line-height: 1.3;
    word-break: break-word;
}

.pg_current {
    background: #000;
    border: 1px solid #000;
}

.exhibition-bottom-actions {
    position: absolute;
    right: 20px;
    bottom: 20%;
    text-align: center;
    z-index: 99;
}

.exhibition-write-btn-bottom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 0;
    font-size: 14px;
    font-weight: 600;
    color: #fff !important;
    background: #1a1a1a;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.exhibition-bottom-actions .btn {
    width: 48px;
    height: 48px;
    display: block;
    align-content: center;
    align-items: center;
    border: #aaa 1px solid;
    border-radius: 45px;
    margin: 10px;
}

a.btn_b01,
.btn_b01 {
    color: #000;
}

a.btn_b01:hover,
.btn_b01:hover {
    color: #fff;
}

.exhibition-write-btn-bottom:hover {
    background: #333;
}

.empty_list {
    text-align: center;
    padding: 80px 40px;
    color: #999;
    font-size: 14px;
    width: 100%;
}

/* ============================================
   Responsive - Tablet (1024px)
   ============================================ */

@media (max-width: 1024px) {
    #bo_w {
        padding: 30px;
    }

    .exhibition-title-section {
        padding: 50px 30px;
    }

    .exhibition-main-title {
        font-size: 40px;
    }

    .exhibition-info-section {
        padding: 50px 30px;
    }

    .exhibition-info-grid {
        gap: 40px;
    }

    .exhibition-overview-wrapper {
        padding: 50px 30px;
    }

    .exhibition-section-title {
        font-size: 15px;
    }

  .exhibition-item-meta-top { gap:0;}
    .exhibition-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }

    .exhibition-bottom-actions {
        position: fixed;
        right: 10px;
    }

    .exhibition-navigation {
        padding: 30px;
        gap: 30px;
    }

    .exhibition-search-wrapper {
        padding: 0 30px;
    }

    .exhibition-search-form {
        gap: 0;
    }

    .exhibition-search-inputs {
        gap: 0;
    }
    .exhibition-search-select, 
  .exhibition-search-input { width: 100%}

    .exhibition-btn-top {
        padding: 0 30px;
    }

    .exhibition-item-container {
        /*grid-template-columns: 1fr 240px 1fr;
        gap: 30px;*/
    }

    .exhibition-item-thumbnail {
        /*width: 240px;
        height: 310px;*/
    }
    
}

/* ============================================
   Responsive - Tablet (768px)
   ============================================ */

@media (max-width: 768px) {
    #bo_w {
        padding: 20px;
    }

    #bo_cate_ul li { padding: 10px 4px}
  #bo_cate_ul li a { padding: 8px 12px; }
  
    .exhibition-cate-list li { padding: 0; }
    .form-field-group {
        margin-bottom: 15px;
    }
  
    .exhibition-cate {
        position: relative;
    }
    .exhibition-cate:before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 55px;
        left: 0;
        width: 34px;
        background-image: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
        z-index: 1;
    }
    .exhibition-cate:after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 55px;
        right: 0;
        width: 34px;
        background-image: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
        z-index: 1;
    }
  
    .exhibition-cate-wrapper {
      min-width: 0;
      overflow-x: auto;
      scrollbar-width: none;
    }

    .form-field-label {
        font-size: 12px;
    }

    .form-field-input,
    .form-field-select,
    .form-field-textarea {
        padding: 10px 12px;
        font-size: 12px;
    }

    .editor_wrapper textarea {
        min-height: 200px;
    }

    .file_upload_label {
        padding: 20px;
        font-size: 12px;
    }

    .btn_submit_wrapper {
        gap: 8px;
        margin-top: 20px;
        padding-top: 20px;
    }

    .btn {
        padding: 14px 0;
        font-size: 12px;
    }

    .exhibition-title-section {
        padding: 40px 20px;
    }

    .exhibition-title-wrapper {
        gap: 15px;
    }

    .exhibition-main-title {
        font-size: 28px;
    }
  

    .exhibition-edit-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .exhibition-info-section {
        padding: 40px 20px;
    }

    .exhibition-info-grid {
        display: block;
    }

    .exhibition-info-left,
    .exhibition-info-center,
    .exhibition-info-right {
        order: unset;
    }

    .exhibition-info-center {
        width: 100%;
        margin-bottom: 40px;
    }

    .exhibition-info-left {
        order: -1;
      padding: 0 15px;
    }

    .exhibition-info-right {
        order: 0;
      padding: 0 15px;
    }

    .exhibition-overview-wrapper {
        padding: 40px 20px;
    }

    .exhibition-section-title {
        font-size: 14px;
    }

    .exhibition-overview-text {
        font-size: 15px;
    }

    .exhibition-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .exhibition-bottom-actions {
        right: 0;
    }

    .exhibition-navigation {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .nav-prev,
    .nav-next {
        padding: 15px;
    }

    .exhibition-search-header {
        /*padding: 10px 0;*/
        margin-bottom: 0;
    }

    .exhibition-search-wrapper {
        padding: 0 25px;
    }

    .exhibition-search-form {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .exhibition-search-field {
        width: 100%;
    }

    .exhibition-search-field-text {
        flex: 1;
        min-width: unset;
    }

    .exhibition-cate-title {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .exhibition-cate-list {
        display: flex;
        align-items: center;
        gap: 8px;
        width: max-content;
        min-width: max-content;
        margin: 0;
        padding: 0 25px;
        list-style: none;
    }

    .exhibition-cate-list a,
    .exhibition-cate-list strong {
        padding: 10px 10px;
    }

    .exhibition-btn-top {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .exhibition-list-info {
        font-size: 12px;
    }

    .exhibition-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .exhibition-write-btn,
    .exhibition-admin-btn {
        padding: 7px 12px;
        font-size: 12px;
    }

    .exhibition-cate2 { margin-bottom: 30px }
  
    .exhibition-list-wrapper {
        gap: 20px;
        padding: 0 20px;
        margin-bottom: 40px;
    }

    .exhibition-item-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 20px;
    }

    .exhibition-item-link {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .exhibition-item-thumbnail {
        /*width: 100%;
        min-width: unset;
        height: 300px;*/
    }

    .exhibition-item-content {
        gap: 20px;
        padding: 0;
    }

    .exhibition-item-title {
        font-size: 16px;
        margin-bottom: 0;
    }
    .exhibition-item-space {
      font-size: 16px;
  }

    .exhibition-item-period {
        font-size: 13px;
    }

    .exhibition-item-artist {
        font-size: 12px;
    }

    .exhibition-item-adrr {
        font-size: 12px;
    }

    .exhibition-pagination {
        padding: 30px 15px;
    }
  
    .exhibition-info-item {
        gap: 0;
      margin-bottom: 0;
    }

}

/* ============================================
   Responsive - Mobile (480px)
   ============================================ */

@media (max-width: 480px) {
    #bo_w {
        padding: 15px;
    }

    .form-field-group {
        margin-bottom: 12px;
    }

    .form-field-label {
        font-size: 11px;
    }

    .form-field-input,
    .form-field-select,
    .form-field-textarea {
        padding: 8px 10px;
        font-size: 11px;
    }

    .editor_wrapper textarea {
        min-height: 150px;
    }

    .file_upload_label {
        padding: 15px;
        font-size: 11px;
    }

    .btn_submit_wrapper {
        gap: 6px;
        margin-top: 15px;
        padding-top: 15px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 11px;
        flex: 1;
    }

    .exhibition-title-section {
        padding: 0 15px 30px;
    }

    .exhibition-title-wrapper {
        gap: 10px;
    }

    .exhibition-main-title {
        font-size: 24px;
    }

    .exhibition-edit-btn {
        width: 100%;
        padding: 8px 12px;
        font-size: 11px;
        justify-content: center;
    }

    .exhibition-info-section {
        padding: 20px 0;
    }
  
    .exhibition-info-label {
        font-size: 13px;
    }

    .exhibition-info-text {
        font-size: 13px;
    }

    .exhibition-image-container {
        padding: 20px;
        min-height: 300px;
    }

    .exhibition-overview-wrapper {
        padding: 30px 15px;
    }

    .exhibition-section-title {
        font-size: 13px;
    }

    .exhibition-overview-text {
        font-size: 15px;
    }

    .exhibition-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .exhibition-navigation {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }

    .nav-prev,
    .nav-next {
        padding: 12px;
    }

    .nav-label {
        font-size: 11px;
    }

    .nav-title {
        font-size: 13px;
    }

    .exhibition-search-label {
        font-size: 11px;
    }

    .exhibition-search-select,
    .exhibition-search-input {
        padding: 8px 10px;
        font-size: 11px;
    }

    .exhibition-cate-title {
        font-size: 10px;
        margin-bottom: 10px;
    }

    .exhibition-cate-list {
        gap: 6px;
    }

    .exhibition-btn-top {
        padding: 0 15px;
        margin-bottom: 20px;
    }

    .exhibition-list-info {
        font-size: 11px;
    }

    .exhibition-actions {
        width: 100%;
    }

    .exhibition-write-btn,
    .exhibition-admin-btn {
        padding: 6px 10px;
        font-size: 10px;
    }

    .exhibition-list-wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
        margin-bottom: 30px;
    }

    .exhibition-item-container {
        gap: 15px;
        padding-bottom: 0;
    }

    .exhibition-item-thumbnail {
        /*width: 100%;
        height: 240px;*/
    }

    .exhibition-item-content {
        gap: 15px;
    }

    .exhibition-item-title {
        font-size: 16px;
        margin-bottom: 0;
    }

    .exhibition-item-period {
        font-size: 15px;
      letter-spacing: -.5px;
    }

    .exhibition-item-artist {
        font-size: 14px;
    }

    .exhibition-item-space {
        font-size: 16px;
      font-weight: 600;
    }

    .exhibition-item-adrr {
        font-size: 14px;
    }

    .new_icon {
        width: 16px;
        height: 16px;
        font-size: 9px;
        line-height: 16px;
        margin-left: 4px;
    }

    .exhibition-pagination {
        padding: 20px 10px;
        gap: 3px;
    }

    .exhibition-pagination a,
    .exhibition-pagination strong {
        min-width: 30px;
        height: 30px;
        font-size: 11px;
        padding: 0 6px;
    }
    .exhibition-image-container img {
        max-width: 100%;
    }
    .exhibition-info-center { 
      margin-bottom: 25px
    }
}

.view_image { cursor: default}

/* 상단 고정 시 추가될 클래스 */
.exhibition-cate.fixed-btn-inside {
  position: absolute;
  top:283px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* 고정되었을 때 살짝 입체감 주는 그림자 (선택) */
}

.bd_title { display: block; width: 100%; text-align: center}
.bd_title h2 { font-size: 32px}
.bd_title p { font-size: 22px;}
@media (max-width: 1024px) {
  .bd_title h2 { font-size: 26px}
  .bd_title p { font-size: 16px;}
}
@media (max-width: 768px) {
  .bd_title h2 { font-size: 24px}
  .bd_title p { font-size: 15px;}
}


.sz-checkbox { position: absolute; top: 5px; left: 5px; width: 1.4rem; height: 1.4rem; z-index: 11}
.cap { position: absolute; top: 10px; left: 10px; z-index: 1}
.cap .cap-img { border: 0; width: 55px; display: block; margin-bottom: 4px }
.ca_name { font-size: 13px; border: 1px #000 solid; display: inline-block; color: #fff; padding: 2px 8px; margin-top: 10px; background: #000; border-radius: 4px;}
@media (max-width: 768px) {
  .ca_name { font-size: 12px; }
}

/* 호버 상태에서도 배경 이미지를 명시적으로 유지 */
.pg_start:hover {
    background-color: #e5e7eb;
    background-image: url('/img/btn_start.gif');
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.pg_prev:hover {
    background-color: #e5e7eb;
    background-image: url('/img/btn_prev.gif');
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.pg_end:hover {
    background-color: #e5e7eb;
    background-image: url('/img/btn_end.gif');
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.pg_next:hover {
    background-color: #e5e7eb;
    background-image: url('/img/btn_next.gif');
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.pc { }
.mo { display: none }
@media (max-width: 768px) {
  .pc { display: none !important }
  .mo { display: inline-block !important}
  #fboardlist { padding: 0 }
  .exhibition-cate.fixed-btn-inside { padding-top: 26px  ; }
  .exhibition-list-wrapper { padding: 0 25px }
  .exhibition-item-link { width: 100%; gap:8px }
  .exhibition-item-container { display: inline-block; border-bottom: #ddd 1px solid; padding-bottom: 20px; margin-bottom: 20px}
  .exhibition-item-left, 
  .exhibition-item-right { width: 50%; float: left; text-align: left; padding: 12px 0; border-top: 0; }
  .exhibition-item-left {padding-left: 0; padding-right: 10px}
  .exhibition-item-right {padding-left: 10px; padding-right: 0}
}
