body {
  color: #333;
  background-color: #fff;
  letter-spacing: -1px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 15px;
}

hr {
  margin-top: 15px;
  margin-bottom: 15px;
  border: 0;
  border-top: 1px solid #eee;
}

a {
  color: #585858;
  text-decoration: none;
}
label {
  font-size: 13px;
  letter-spacing: 0.01em;
}
::-webkit-input-placeholder {
  /* Chrome */
  color: #cfcfcf;
  text-indent: 1rem;
}
:-ms-input-placeholder {
  /* IE 10+ */
  color: #cfcfcf;
  text-indent: 1rem;
}
::-moz-placeholder {
  /* Firefox 19+ */
  color: #cfcfcf;
  text-indent: 1rem;
  opacity: 1;
}
:-moz-placeholder {
  /* Firefox 4 - 18 */
  color: #cfcfcf;
  text-indent: 1rem;
  opacity: 1;
}
.search-input:-ms-input-placeholder,
.search-input::-moz-placeholder,
.search-input:-moz-placeholder,
.search-input::placeholder {
  color: #cfcfcf;
  text-align: center;
}
.search-input {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}

.main-content {
  display: grid;
  grid-template-columns: 80% 20%;
  gap: 2rem;
}

@media (max-width: 1599.98px) {
  .main-content {
    grid-template-columns: 75% 25%;
  }
}
@media (max-width: 1199.98px) {
  .main-content {
    grid-template-columns: 70% 30%;
  }
}
@media (max-width: 991.98px) {
  .main-content {
    grid-template-columns: 60% 40%;
  }
}
@media (max-width: 767.98px) {
  .main-content {
    grid-template-columns: 100%;
  }
}
@media (max-width: 575.98px) {
  .main-content {
    grid-template-columns: 100%;
  }
}
.btn-primary {
  background-color: #000000 !important;
  border: 1px solid #000000 !important;
}
.autosize {
  padding: 7px 12px;
}
.autosize::placeholder {
  color: #cfcfcf !important;
  font-size: 15px;
  padding-top: 15px;
}

.btn-group > .btn {
  border-left-width: 0px;
}
.btn-group > .btn:first-child {
  border-left-width: 1px;
}
.swal2-container {
  z-index: 10000 !important;
}
.swal2-modal .swal2-content {
  font-size: 1.1em;
  text-align: center;
  font-weight: 300;
  position: relative;
  letter-spacing: -0.1em;
  float: none;
  margin: 0;
  padding: 10px 20px;
  line-height: 1.4;
  color: #545454;
}
.swal2-modal .swal2-title {
  font-size: 1.5em;
  letter-spacing: -1px;
}
.swal2-modal .swal2-styled {
  border-radius: 3px;
  box-shadow: none;

  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  margin: 0 5px;
  padding: 10px 32px;
}

.advertisement {
  overflow: hidden;
  padding: 0px;
  text-align: center;
}
.advertisement .desktop-advert,
.advertisement .tablet-advert,
.advertisement .mobile-advert {
  margin: 0 auto;
}

.advertisement .tablet-advert,
.advertisement .mobile-advert {
  display: none;
}

.advertisement .desktop-advert {
  position: relative;
}

.advertisement .desktop-advert button {
  background: transparent;
  border: none;
  position: absolute;
  top: 10px;
  right: 13px;
  padding: 0;
  font-size: 13px;
  color: #ffffff;
}

.navbar-form input[type='text'] {
  border: 2px solid #4e4e4e;
  padding: 10px;
  color: #050505;
  font-size: 15px;
  text-transform: uppercase;
  border-radius: 26px;
  outline: none;
  width: 100%;
  margin: 0 !important;
}
.navbar-form:hover input[type='text'] {
  border: 2px solid #4e4e4e;
}
.navbar-form:hover button {
  color: #1b1b1b;
}
.navbar-form-mobile {
  padding-right: 18px !important;
  padding-left: 18px !important;
  padding-bottom: 30px !important;
}
.navbar-form-mobile .navbar-center {
  position: relative;
}
.navbar-form-mobile input[type='text'] {
  border: 1px solid #ccc;
  padding: 10px;
  color: #999999;
  font-size: 15px;
  text-transform: uppercase;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -o-border-radius: 2px;
  border-radius: 2px;
  outline: none;
  width: 100%;
  margin: 0px;
}
.navbar-form-mobile button {
  background: transparent;
  border: none;
  position: absolute;
  top: 10px;
  right: 13px;
  padding: 0;
  font-size: 17px;
  color: #8c8c8c;
}

.top-register-artist-btn .btn {
  border-radius: 26px;
}
.block-wrapper.exhibitions {
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

#bo_btn_top {
  margin-top: 10px;
}

.caution {
  padding: 5px 0px;
  color: #d54547;
  font-size: 12px;
  display: block;
  line-height: 18px;
}

label {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 5px;
  font-weight: 500;
}

/* Artnet Footer Styles - Override existing footer styles */
footer.artnet-footer {
  background: #1a1a1a !important;
  color: #ffffff !important;
  padding: 80px 0 0 !important;
  margin-top: 0px !important;
  border-top: 1px solid #2a2a2a !important;
  width: 100% !important;
}

.artnet-footer-content {
  padding-bottom: 60px;
}

/* .artnet-footer-logo {
  margin-bottom: 30px;
} */

.artnet-footer-logo a {
  display: inline-block;
  /* margin-bottom: 24px; */
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.artnet-footer-logo a:hover {
  opacity: 0.8;
}

.footer-logo-img {
  height: 42px;
  width: auto;
  display: block;
  margin-bottom: 10px;
}

.artnet-footer-description {
  font-size: 14px;
  line-height: 1.7;
  color: #999999;
  margin: 0;
  max-width: 300px;
}

.artnet-footer-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff !important;
  margin: 0 0 20px;
  letter-spacing: -0.3px;
  text-transform: none !important;
  border-bottom: 1px solid #333333;
  padding-bottom: 12px;
}

.artnet-footer-nav ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.artnet-footer-nav ul li {
  margin-bottom: 12px;
  display: block !important;
  list-style: none !important;
}

.artnet-footer-nav ul li:last-child {
  margin-bottom: 0;
}

.artnet-footer-nav ul li:before {
  display: none !important;
}

.artnet-footer-nav ul li a {
  font-size: 14px;
  color: #999999 !important;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.artnet-footer-nav ul li a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #d4af37;
  transition: width 0.3s ease;
}

.artnet-footer-nav ul li a:hover {
  color: #ffffff !important;
  padding-left: 8px;
}

.artnet-footer-nav ul li a:hover::before {
  width: 4px;
}

.artnet-footer-social {
  margin-top: 30px;
}

.artnet-social-icons {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.artnet-social-icons li {
  margin: 0 !important;
  list-style: none !important;
  display: inline-block !important;
}

.artnet-social-icons li:before {
  display: none !important;
}

.artnet-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #333333;
  border-radius: 50%;
  color: #999999;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
  background: transparent;
}

.artnet-social-icon:hover {
  color: #ffffff;
  border-color: #d4af37;
  background: #d4af37;
  transform: translateY(-2px);
}

.artnet-social-icon.facebook:hover {
  border-color: #1877f2;
  background: #1877f2;
}

.artnet-social-icon.instagram:hover {
  border-color: #e4405f;
  background: #e4405f;
}

.artnet-social-icon.twitter:hover {
  border-color: #1da1f2;
  background: #1da1f2;
}

.artnet-social-icon.youtube:hover {
  border-color: #ff0000;
  background: #ff0000;
}

.artnet-social-icon.linkedin:hover {
  border-color: #0077b5;
  background: #0077b5;
}

.artnet-footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding: 30px 0;
  background: #151515;
}

.artnet-copyright,
.artnet-version {
  font-size: 14px;
  color: #666666;
  margin: 0;
  letter-spacing: 0px;
  line-height: 1.6;
}

.artnet-version {
  color: #999999;
}

/* Footer Responsive */
@media (max-width: 991px) {
  footer.artnet-footer {
    padding: 60px 0 0 !important;
    margin-top: 60px !important;
  }

  .artnet-footer-content {
    padding-bottom: 40px;
  }

  .artnet-footer-logo {
    text-align: center;
    margin-bottom: 40px;
  }

  .artnet-footer-description {
    max-width: 100%;
    text-align: center;
  }

  .artnet-footer-links,
  .artnet-footer-contact {
    margin-bottom: 40px;
  }

  .artnet-footer-title {
    text-align: center;
  }

  .artnet-footer-nav ul {
    text-align: center;
  }

  .artnet-social-icons {
    justify-content: center;
  }

  .artnet-footer-bottom .row {
    text-align: center;
  }

  .artnet-footer-bottom .text-md-end {
    text-align: center !important;
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  footer.artnet-footer {
    padding: 40px 0 0 !important;
    margin-top: 40px !important;
  }

  .artnet-footer-content {
    padding-bottom: 30px;
  }

  .footer-logo-img {
    height: 46px;
  }

  .artnet-footer-title {
    font-size: 15px;
  }

  .artnet-footer-nav ul li a {
    font-size: 13px;
  }
  .artnet-footer-links {
    margin-top: 20px;
  }

  .artnet-social-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .artnet-copyright,
  .artnet-version {
    font-size: 12px;
  }
}

/* Bootstrap utility overrides for footer */
footer.artnet-footer .mb-4 {
  margin-bottom: 1.5rem !important;
}

footer.artnet-footer .mb-lg-0 {
  margin-bottom: 0 !important;
}

@media (min-width: 992px) {
  footer.artnet-footer .mb-lg-0 {
    margin-bottom: 0 !important;
  }
}

footer.artnet-footer .mb-md-0 {
  margin-bottom: 0 !important;
}

@media (min-width: 768px) {
  footer.artnet-footer .mb-md-0 {
    margin-bottom: 0 !important;
  }
}

footer.artnet-footer .align-items-center {
  align-items: center !important;
}

@media (min-width: 768px) {
  footer.artnet-footer .text-md-end {
    text-align: right !important;
  }
}

/* back to top start */

.back-top-btn:hover i {
  top: 6px;
}

.back-top-btn {
  width: 45px;

  height: 45px;

  line-height: 24px;

  background: #010065;

  position: fixed;

  bottom: 30px;

  right: 20px;

  z-index: 999;

  display: none;

  border-radius: 5px;

  transition: all 0.6s;
}

.back-index {
  bottom: 60px;
}

.back-top-btn i {
  color: #fff;

  margin: 0;

  position: relative;

  left: 15px;

  top: 12px;

  font-size: 24px;

  -webkit-transition: all 0.3s ease;

  -moz-transition: all 0.3s ease;

  -ms-transition: all 0.3s ease;

  -o-transition: all 0.3s ease;

  transition: all 0.3s ease;

  text-align: center;
}

.carousel-inner > .item > a > img,
.carousel-inner > .item > img,
.img-responsive,
.thumbnail a > img,
.thumbnail > img {
  display: inline;
  /*  width: 100%;*/
  height: auto;
}

/* back to top End */

.more {
  background-color: #ffffff;
  border-color: rgba(49, 58, 70, 0.2);
  color: #797979;
  padding: 2px 5px 1px 5px !important;
}
.block-content header {
  position: relative;
  z-index: 1 !important;
}
/* preloader start */
.preloader {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999999;
  background-color: #222;
  width: 100%;
  height: 100%;
}
.preloader img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 30%;
  transform: translate(-50%, -50%);
}
.checkbox label::before {
  -o-transition: 0.3s ease-in-out;
  -webkit-transition: 0.3s ease-in-out;
  background-color: #ffffff;
  border-radius: 3px;
  border: 1px solid #98a6ad;
  content: '';
  display: inline-block;
  height: 17px;
  left: 0;
  margin-left: -22px;
  position: absolute;
  transition: 0.3s ease-in-out;
  width: 17px;
  outline: none !important;
}

/* Artnet 전시 작성 페이지 예외 처리 */
.artnet-exhibition-write .checkbox:not(.artnet-checkbox-wrapper) label::before {
  -o-transition: 0.3s ease-in-out;
  -webkit-transition: 0.3s ease-in-out;
  background-color: #ffffff;
  border-radius: 3px;
  border: 1px solid #98a6ad;
  content: '';
  display: inline-block;
  height: 17px;
  left: 0;
  margin-left: -22px;
  position: absolute;
  transition: 0.3s ease-in-out;
  width: 17px;
  outline: none !important;
}
.widget {
  margin-bottom: 20px;
}
.widget .title-section {
  margin-bottom: 10px;
  margin-top: 0px;
  padding-top: 0px;
}
.widget .title-section h1 {
  margin-top: 0px;
  font-weight: 700;
  color: #000;
  font-family: 'Noto Sans KR', sans-serif;
}
.widget .nav-tabs > li {
}
.widget .nav-tabs > li > a {
  font-family: 'Noto Sans KR', sans-serif;
  color: #000;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 10px;
}
.checkbox label::after {
  color: #797979;
  display: inline-block;
  font-size: 11px;
  height: 16px;
  left: 0;
  margin-left: -21px;
  padding-left: 2px;
  padding-top: 1px;
  position: absolute;
  top: 2px;
  width: 16px;
}

/* Artnet 전시 작성 페이지 예외 처리 */
.artnet-exhibition-write .checkbox:not(.artnet-checkbox-wrapper) label::after {
  color: #797979;
  display: inline-block;
  font-size: 11px;
  height: 16px;
  left: 0;
  margin-left: -21px;
  padding-left: 2px;
  padding-top: 1px;
  position: absolute;
  top: 2px;
  width: 16px;
}

#wr_content p {
  font-size: 15px;
  line-height: 1.5em;
}
#bo_v_img {
  display: block;
  text-align: center !important;
  padding-bottom: 15px;
  width: 100%;
}
.view_image img {
  margin: 0 auto;
}

/***글쓰기 css*/
.form-control,
.frm_input,
.tbl_input,
select,
textarea {
  border: 1px solid #dadada;

  padding: 7px 12px;
  height: 48px;
  max-width: 100%;
  font-size: 13px;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: all 300ms linear;
  -moz-transition: all 300ms linear;
  -o-transition: all 300ms linear;
  transition: all 300ms linear;
}

/* Artnet 전시 작성 페이지 예외 처리 - artnet 클래스가 아닌 경우에만 기존 스타일 적용 */
.artnet-exhibition-write .artnet-form-input,
.artnet-exhibition-write .artnet-form-select,
.artnet-exhibition-write .artnet-form-textarea {
  /* artnet 스타일 우선 적용 */
  border: 2px solid transparent !important;
  padding: 0.875rem 1rem 0.875rem 3rem !important;
  height: auto !important;
  font-size: 15px !important;
  background: #f8f9fa !important;
  border-radius: 8px !important;
}

.artnet-exhibition-write
  .form-control:not(.artnet-form-input):not(.artnet-form-select):not(
    .artnet-form-textarea
  ),
.artnet-exhibition-write .frm_input:not(.artnet-form-input),
.artnet-exhibition-write .tbl_input:not(.artnet-form-input),
.artnet-exhibition-write select:not(.artnet-form-select),
.artnet-exhibition-write textarea:not(.artnet-form-textarea) {
  border: 1px solid #dadada;
  padding: 7px 12px;
  height: 48px;
  max-width: 100%;
  font-size: 13px;
}
span.form-control {
  border: 0px solid #dadada;
  line-height: 30px;
  font-size: 15px;
  padding: 7px 0px;
}
.bootstrap-filestyle {
  margin-bottom: 1rem;
}
#bo_sch .form-control,
#bo_sch .frm_input {
  border-radius: 26px;
}
textarea.form-control,
textarea.frm_input {
  min-height: 90px !important;
}

/* Artnet 전시 작성 페이지 예외 처리 */
.artnet-exhibition-write textarea.form-control:not(.artnet-form-textarea),
.artnet-exhibition-write textarea.frm_input:not(.artnet-form-textarea) {
  min-height: 90px !important;
}
.form-group label.control-label {
  font-size: 15px;
  padding-top: 10px;
}
.form-group .col-md-10 {
  line-height: 1.1;
}
.form-group .checkbox.checkbox-inline {
  margin-top: 12px;
}
.form-group .input-group-btn .btn,
#bo_sch .input-group .btn {
  padding: 7px 12px;
  height: 48px;
  line-height: 2.428571 !important;
}
.form-group .control {
  margin-top: 8px;
}

/* Artnet 전시 작성 페이지 예외 처리 */
.artnet-exhibition-write
  .form-group:not(.artnet-form-group)
  label.control-label {
  font-size: 15px;
  padding-top: 10px;
}
.artnet-exhibition-write .form-group:not(.artnet-form-group) .col-md-10 {
  line-height: 1.1;
}
.artnet-exhibition-write
  .form-group:not(.artnet-form-group)
  .checkbox.checkbox-inline {
  margin-top: 12px;
}
.artnet-exhibition-write
  .form-group:not(.artnet-form-group)
  .input-group-btn
  .btn {
  padding: 7px 12px;
  height: 48px;
  line-height: 2.428571 !important;
}
.artnet-exhibition-write .form-group:not(.artnet-form-group) .control {
  margin-top: 8px;
}
.bootstrap-filestyle .btn {
  height: 48px;
  line-height: 2.428571;
}

.btn_confirm {
  padding: 15px 0px 30px 0px;
}
.input-group .form-control:not(:first-child):not(:last-child),
.input-group-btn:not(:first-child):not(:last-child) {
  border-radius: 26px;
}

/* Artnet 전시 작성 페이지 예외 처리 */
.artnet-exhibition-write
  .input-group:not(.artnet-input-group)
  .form-control:not(.artnet-form-input):not(:first-child):not(:last-child),
.artnet-exhibition-write
  .input-group:not(.artnet-input-group)
  .input-group-btn:not(:first-child):not(:last-child) {
  border-radius: 26px;
}
/* Autosave Wrapper - 아트넷 스타일 */
#autosave_wrapper {
  position: relative;
}

#autosave_wrapper #btn_autosave,
#autosave_wrapper .artnet-btn-autosave {
  position: absolute;
  top: 0rem;
  right: 0.5rem;
  height: auto;
  padding: 0.5rem 1rem;
  font-size: 14px;
  font-weight: 500;
  color: #6c757d;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  z-index: 1;
}

#autosave_wrapper #btn_autosave:hover,
#autosave_wrapper .artnet-btn-autosave:hover {
  background: #e9ecef;
  border-color: #adb5bd;
  color: #495057;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Autosave Popup - 아트넷 스타일 */
#autosave_pop {
  display: none;
  z-index: 1000;
  position: absolute !important;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 100%;
  max-width: 400px;
  height: auto !important;
  min-height: 200px;
  max-height: 400px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#autosave_pop:before {
  content: '';
  position: absolute;
  top: -8px;
  right: 2rem;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 8px 8px 8px;
  border-color: transparent transparent #e9ecef transparent;
}

#autosave_pop:after {
  content: '';
  position: absolute;
  top: -6px;
  right: 2rem;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 8px 8px 8px;
  border-color: transparent transparent #ffffff transparent;
}

html.no-overflowscrolling #autosave_pop {
  height: auto;
  max-height: 10000px !important;
}

/* Autosave Popup Header */
#autosave_pop strong {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

#autosave_pop > div:first-of-type {
  padding: 1.25rem 1.5rem;
  background: #f8f9fa;
  border-bottom: 2px solid #e9ecef;
  text-align: center;
  margin: 0 !important;
}

#autosave_pop > div:first-of-type::before {
  content: '임시 저장된 글 목록';
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.2px;
}

/* Autosave Popup Button */
#autosave_pop button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

/* Autosave Popup List */
#autosave_pop ul {
  padding: 0.75rem;
  list-style: none;
  overflow-y: auto;
  max-height: 280px;
  margin: 0;
}

#autosave_pop ul::-webkit-scrollbar {
  width: 6px;
}

#autosave_pop ul::-webkit-scrollbar-track {
  background: #f8f9fa;
  border-radius: 3px;
}

#autosave_pop ul::-webkit-scrollbar-thumb {
  background: #dee2e6;
  border-radius: 3px;
}

#autosave_pop ul::-webkit-scrollbar-thumb:hover {
  background: #adb5bd;
}

/* Autosave Popup List Item */
#autosave_pop li {
  padding: 0.875rem 1rem;
  margin-bottom: 0.5rem;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  background: #f8f9fa;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

#autosave_pop li:hover {
  background: #ffffff;
  border-color: #1c479e;
  box-shadow: 0 2px 8px rgba(28, 71, 158, 0.1);
  transform: translateY(-1px);
}

#autosave_pop li:last-child {
  margin-bottom: 0;
}

#autosave_pop li:after {
  display: none;
}

/* Autosave Popup Link */
#autosave_pop a {
  display: flex;
  flex: 1;
  align-items: center;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.3s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#autosave_pop a:hover {
  color: #1c479e;
  text-decoration: none;
}

/* Autosave Popup Date */
#autosave_pop span {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-style: normal;
  color: #6c757d;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Autosave Close Button */
.autosave_close {
  cursor: pointer;
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: #f8f9fa;
  color: #495057;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-top: 2px solid #e9ecef;
  transition: all 0.3s ease;
  text-align: center;
}

.autosave_close:hover {
  background: #1c479e;
  color: #ffffff;
}

/* Autosave Content */
.autosave_content {
  display: none;
}

/* Autosave Delete Button */
.autosave_del {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #dc3545;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
}

.autosave_del::before {
  content: '×';
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
}

.autosave_del:hover {
  background: #c82333;
  transform: scale(1.1);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  #autosave_wrapper #btn_autosave,
  #autosave_wrapper .artnet-btn-autosave {
    position: static;
    width: 100%;
    margin-top: 0.75rem;
    text-align: center;
  }

  #autosave_pop {
    max-width: 100%;
    right: 0;
    left: 0;
  }

  #autosave_pop:before,
  #autosave_pop:after {
    right: auto;
    left: 2rem;
  }

  #autosave_pop ul {
    max-height: 250px;
  }

  #autosave_pop li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  #autosave_pop span {
    align-self: flex-end;
  }
}

/*팝업 설정*/
.new_win {
  padding: 0px 0px;
}
#win_title {
  font-size: 22px;
  text-align: center;
  background-color: rgba(44, 50, 62, 1);
  color: #ffffff;
  padding: 10px;
  margin: 0px 0;
  display: block;
  font-weight: 400;
  text-transform: capitalize;
}
.new_win_con {
  margin-bottom: 15px;
  padding: 10px 15px;
}
.win_btn {
  text-align: center;
  padding: 15px 0px;
}

.empty_li {
  text-align: center;
  padding: 20px 0px;
}
.btn-group,
.btn-group-vertical {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.btn-group-justified {
  display: table;
  width: auto;
  table-layout: fixed;
  border-collapse: separate;
}

.btn-group,
.btn-group-vertical {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.btn-group-justified > .btn,
.btn-group-justified > .btn-group {
  display: table-cell;
  float: none;
  width: auto;
}

.btn-group-justified > .btn-group .btn {
  width: 100%;
}

.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,
.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#bo_fx .pull-right {
  text-align: right;
}

.section_title {
  text-align: center;
}

.form-group label.required {
  position: relative;
}
.form-group label.required:before {
  content: '*';
  position: absolute;
  left: 0px;
  color: #dd3827;
}

/* Artnet 전시 작성 페이지 예외 처리 */
.artnet-exhibition-write .form-group:not(.artnet-form-group) label.required {
  position: relative;
}
.artnet-exhibition-write
  .form-group:not(.artnet-form-group)
  label.required:before {
  content: '*';
  position: absolute;
  left: 0px;
  color: #dd3827;
}
.block-wrapper {
  padding-bottom: 40px;
}

#datatable-responsive_filter {
}
div.dataTables_wrapper div.dataTables_filter input {
  height: 37px;
}
div.dataTables_wrapper div.dataTables_filter input::placeholder {
  content: '검색';
}
div.dataTables_length select {
  height: 37px;
}

div.dataTables_wrapper div.dataTables_filter label {
  text-align: right !important;
}

.dataTables_paginate a {
  position: relative;
  display: inline-block;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #747474;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
  cursor: pointer;
}

.artist-register h4 {
  line-height: 24px;
}

@media (max-width: 991px) {
  .sidebar .tab-posts-widget ul.nav-tabs li a {
    font-size: 1.11em;
    padding: 10px 10px;
  }

  .form-group label.control-label {
    font-size: 15px;
    line-height: 24px;
  }
}

@media (max-width: 768px) {
  /* .block-wrapper {
    padding-top: 100px;
  } */
  .main-block,
  .block-wrapper {
    padding-top: 70px;
  }
  .navbar-nav > li {
    float: unset !important;
  }
  .navbar-form {
    width: 88%;
    float: right;
  }
  .sidebar .tab-posts-widget ul.nav-tabs li a {
    font-size: 15px;
    padding: 10px 10px;
  }

  div.block-content:after {
    content: '';
    width: 0;
    height: 100%;
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 10px;
    border-right: 0px solid #f0f0f0;
  }

  .btn-group-justified {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
  }

  .btn-group-justified > .btn,
  .btn-group-justified > .btn-group {
    display: table-cell;
    float: none;
    width: 1%;
  }

  div.dataTables_wrapper div.dataTables_length,
  div.dataTables_wrapper div.dataTables_filter,
  div.dataTables_wrapper div.dataTables_info {
    text-align: right !important;
  }
}
@media (max-width: 510px) {
  .container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
  }
}
html body {
  top: 0px !important;
}
.skiptranslate {
  display: none;
  position: fixed;
  top: -1000px;
  height: 0px;
  overflow: hidden;
}

.notranslate-google {
  transition: 0.3s;
  padding: 0px 16px;
  margin: 3px;
}
.notranslate-google [data-bs-toggle='dropdown'] {
  display: flex;
  gap: 0px 6px;
  padding: 16px 8px;
}
.notranslate-google a {
  cursor: pointer;
  font-size: 13px;
  display: flex;
  gap: 0px 5px;
}
.notranslate-google.open .dropdown-menu {
  border-radius: 4px;
  z-index: 99;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  border: none;
  top: 35px;
}

.notranslate-google img {
  width: 18px;
  border-radius: 4px;
  border: rgba(231, 231, 231, 1) 1px solid;
}

#fboardlist .title-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2rem 0rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #b1b1b1;
}
#fboardlist .title-section h1 {
  display: inline-block;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 0px;
  margin-top: 0px;
}

@media (max-width: 767px) {
  /* PC 버전 구글 번역 숨김 (모바일에서는 모바일 헤더 버전만 표시) */
  .top-line .notranslate-google:not(.artnet-mobile-language-toggle) {
    display: none !important;
  }

  /* 모바일 헤더의 구글 번역 스타일 */
  .artnet-mobile-language-toggle {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .artnet-mobile-language-toggle > a {
    padding: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
  }

  .artnet-mobile-language-toggle img {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    object-fit: cover !important;
    border: none !important;
  }

  .artnet-mobile-language-text {
    display: none !important;
  }

  .artnet-mobile-language-toggle .dropdown-indicator {
    display: none !important;
  }

  .artnet-mobile-language-toggle .dropdown-menu {
    right: 0 !important;
    left: auto !important;
    min-width: 180px !important;
  }

  .artnet-mobile-language-toggle .dropdown-menu li a img {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    object-fit: cover !important;
    border: none !important;
  }

  #fboardlist .title-section h1 {
    font-size: 24px;
    display: block;
  }
}

.btn,
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 24px;
  font-size: 15px;
  padding: 10px 20px;
  outline: none !important;
}

.btn-xs,
a.btn-xs {
  font-size: 13px;
  padding: 7px 18px;
}
.btn-sm,
a.btn-sm {
  font-size: 14px;
  padding: 10px 20px;
}
.btn-md,
a.btn-md {
  font-size: 15px;
  padding: 10px 20px;
}
.btn-lg,
a.btn-lg {
  font-size: 16px;
  padding: 10px 20px;
}

.btn-group-xs > .btn,
.btn-xs {
  padding: 7px 18px !important;
  font-size: 13px;
}
.btn-group-sm > .btn,
.btn-sm {
  padding: 10px 20px !important;
  font-size: 14px;
}
.btn-group-md > .btn,
.btn-md {
  padding: 10px 20px !important;
  font-size: 15px;
}
.btn-group-lg > .btn,
.btn-lg {
  padding: 10px 20px !important;
  font-size: 16px;
}

.btn-group-xs > .btn,
.btn-xs {
  padding: 7px 18px !important;
  font-size: 13px;
}
.btn-group-sm > .btn,
.btn-sm {
  padding: 10px 20px !important;
  font-size: 14px;
}
.btn-group-md > .btn,
.btn-md {
  padding: 10px 20px !important;
  font-size: 15px;
}

.form-group .input-group-btn .btn,
#bo_sch .input-group {
  margin-left: 1rem;
}
.form-group .input-group-btn .btn,
#bo_sch .input-group .btn {
  padding: 7px 18px !important;
  font-size: 13px;
  border-radius: 26px;
  margin-left: 1rem;
}

/* Artnet 전시 작성 페이지 예외 처리 */
.artnet-exhibition-write
  .form-group:not(.artnet-form-group)
  .input-group-btn:not(.artnet-input-group-text)
  .btn:not(.artnet-btn-address-search),
.artnet-exhibition-write #bo_sch .input-group:not(.artnet-input-group) {
  margin-left: 1rem;
}
.artnet-exhibition-write
  .form-group:not(.artnet-form-group)
  .input-group-btn:not(.artnet-input-group-text)
  .btn:not(.artnet-btn-address-search),
.artnet-exhibition-write
  #bo_sch
  .input-group:not(.artnet-input-group)
  .btn:not(.artnet-btn-address-search) {
  padding: 7px 18px !important;
  font-size: 13px;
  border-radius: 26px;
  margin-left: 1rem;
}
.btn-group-sm > .btn,
.btn-sm {
  padding: 10px 20px !important;
  font-size: 14px;
}
.btn-group-md > .btn,
.btn-md {
  padding: 10px 20px !important;
  font-size: 15px;
}
.btn-group-lg > .btn,
.btn-lg {
  padding: 10px 20px !important;
  font-size: 16px;
}

/* 페이지네이션 스타일 - 아트넷 디자인 */
.pagination-split {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 2.5rem 0;
  padding: 0;
  list-style: none;
}

.pagination-split li {
  margin: 0;
  padding: 0;
}

.pagination-split li a,
.pagination > li:first-child > a,
.pagination > li:first-child > span,
.pagination > li:last-child > a,
.pagination > li:last-child > span,
.pagination > li > a,
.pagination > li > span {
  min-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  font-size: 15px;
  font-weight: 600;
  color: #495057;
  background-color: #ffffff;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  box-sizing: border-box;
  padding: 0 0.75rem;
}

.pagination-split li a:hover,
.pagination > li > a:hover,
.pagination > li > span:hover {
  background-color: #f8f9fa;
  border-color: #1c479e;
  color: #1c479e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(28, 71, 158, 0.15);
  text-decoration: none !important;
}

.pagination-split li.active a,
.pagination > li.active > a,
.pagination > li.active > span {
  background-color: #1c479e;
  border-color: #1c479e;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(28, 71, 158, 0.3);
}

.pagination-split li.disabled a,
.pagination > li.disabled > a,
.pagination > li.disabled > span {
  background-color: #f8f9fa;
  border-color: #e9ecef;
  color: #adb5bd;
  cursor: not-allowed;
  opacity: 0.6;
}

.pagination-split li.disabled a:hover,
.pagination > li.disabled > a:hover,
.pagination > li.disabled > span:hover {
  transform: none;
  box-shadow: none;
  border-color: #e9ecef;
  color: #adb5bd;
}

/* 이전/다음 버튼 스타일 */
.pagination-split li:first-child a,
.pagination-split li:last-child a,
.pagination > li:first-child > a,
.pagination > li:first-child > span,
.pagination > li:last-child > a,
.pagination > li:last-child > span {
  min-width: 44px;
  padding: 0 0.75rem;
}

/* 반응형 디자인 */
@media (max-width: 767.98px) {
  .pagination-split {
    gap: 0.375rem;
    margin: 2rem 0;
  }

  .pagination-split li a,
  .pagination > li > a,
  .pagination > li > span {
    min-width: 40px;
    height: 40px;
    font-size: 14px;
    padding: 0 0.625rem;
  }

  .pagination-split li:first-child a,
  .pagination-split li:last-child a,
  .pagination > li:first-child > a,
  .pagination > li:first-child > span,
  .pagination > li:last-child > a,
  .pagination > li:last-child > span {
    min-width: 40px;
    padding: 0 0.625rem;
  }
}

@media (max-width: 480px) {
  .pagination-split {
    gap: 0.25rem;
    margin: 1.5rem 0;
  }

  .pagination-split li a,
  .pagination > li > a,
  .pagination > li > span {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
    padding: 0 0.5rem;
  }

  .pagination-split li:first-child a,
  .pagination-split li:last-child a,
  .pagination > li:first-child > a,
  .pagination > li:first-child > span,
  .pagination > li:last-child > a,
  .pagination > li:last-child > span {
    min-width: 36px;
    padding: 0 0.5rem;
  }
}

.empty_table {
  padding: 50px 0 !important;
  text-align: center;
  display: flex;
  justify-content: center !important;
  align-items: center !important;
}
.card-box.page-content {
  padding: 3rem;
  border: none;
  line-height: 1.8;
}

.card-box.page-content .title-section {
  padding-bottom: 1rem;
  border-bottom: 1px solid #b1b1b1;
  margin-bottom: 3rem;
  font-size: 20px;
}
.card-box.page-content .title-section h1 {
  font-size: 30px !important;
  font-weight: 700;
  margin-bottom: 0px;
  margin-top: 0px;
}
.card-box.page-content p strong {
  font-weight: 700;
  font-size: 17px;
}
.card-box.page-content p {
  line-height: 1.8;
}

/* ============================================
   모바일 햄버거 메뉴 스타일 - 아트넷 디자인
   ============================================ */

/* 햄버거 메뉴 토글 버튼 */
.artnet-mobile-menu-toggle {
  display: none;
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10060;
  background: transparent;
  border: none;
  padding: 0.5rem;
  margin: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.artnet-mobile-menu-toggle:focus {
  outline: none;
}

.artnet-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  position: relative;
}

.artnet-hamburger-line {
  display: block;
  width: 100%;
  height: 3px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.artnet-mobile-menu-toggle.active .artnet-hamburger-line:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.artnet-mobile-menu-toggle.active .artnet-hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.artnet-mobile-menu-toggle.active .artnet-hamburger-line:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* 모바일 헤더 오른쪽 영역 */
.artnet-mobile-header-right {
  display: none;
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10060;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

/* 모바일 언어 선택 토글 버튼 */
.artnet-mobile-language-toggle {
  display: none;
  position: relative;
}

.artnet-mobile-language-toggle > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
  overflow: hidden;
}

.artnet-mobile-language-toggle > a:hover {
  background: #f8f9fa;
}

.artnet-mobile-language-toggle > a img {
  width: 24px;
  height: 24px;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  overflow: hidden;
}

.artnet-mobile-language-toggle .dropdown-menu {
  min-width: 200px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10061 !important;
}

.artnet-mobile-language-toggle .dropdown-menu li {
  margin: 0;
  padding: 0;
}

.artnet-mobile-language-toggle .dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #1a1a1a;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 14px;
}

.artnet-mobile-language-toggle .dropdown-menu li a:hover {
  background: #f8f9fa;
  color: #1c479e;
}

.artnet-mobile-language-toggle .dropdown-menu li a img {
  width: 20px;
  height: 20px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
}

.artnet-mobile-language-toggle .dropdown-menu li a span {
  flex: 1;
}

/* 모바일 검색 토글 버튼 */
.artnet-mobile-search-toggle {
  display: none;
  position: relative;
  background: transparent;
  border: none;
  padding: 0.5rem;
  margin: 0;
  cursor: pointer;
  color: #1a1a1a;
  font-size: 20px;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.artnet-mobile-search-toggle:hover {
  background: #f8f9fa;
  color: #1c479e;
}

.artnet-mobile-search-toggle:focus {
  outline: none;
}

.artnet-mobile-search-toggle:hover {
  color: #1c479e;
}

/* 모바일 메뉴 오버레이 */
.artnet-mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10069;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.artnet-mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 모바일 사이드 메뉴 */
.artnet-mobile-side-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  height: 100dvh; /* 동적 뷰포트 높이 지원 */
  background: #ffffff;
  z-index: 10070;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

.artnet-mobile-side-menu.active {
  transform: translateX(0) !important;
}

.artnet-mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 2px solid #e9ecef;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.artnet-mobile-menu-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #1a1a1a;
  letter-spacing: -0.3px;
}

.artnet-mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 50%;
  color: #6c757d;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.artnet-mobile-menu-close:hover {
  background: #dc3545;
  border-color: #dc3545;
  color: #ffffff;
  transform: scale(1.1);
}

.artnet-mobile-menu-content {
  padding: 1rem 0;
}

.artnet-mobile-menu-content .navbar-nav {
  padding: 0;
  margin: 0;
  list-style: none;
}

.artnet-mobile-menu-content .navbar-nav > li {
  border-bottom: 1px solid #f0f0f0;
}

/* 대분류 메뉴 스타일 */
.artnet-mobile-menu-content .navbar-nav > li {
  background: #ffffff;
}

.artnet-mobile-menu-content .navbar-nav > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.5rem;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  background: #ffffff;
}

.artnet-mobile-menu-content .navbar-nav > li > a:hover,
.artnet-mobile-menu-content .navbar-nav > li > a.active {
  color: #1c479e;
}

.artnet-mobile-menu-content .navbar-nav > li > a i {
  font-size: 14px;
  color: #6c757d;
  transition: all 0.3s ease;
  margin-left: auto;
}

.artnet-mobile-menu-content .navbar-nav > li > a:hover i,
.artnet-mobile-menu-content .navbar-nav > li > a.active i {
  color: #1c479e;
}

/* 중분류 메뉴 스타일 */
.artnet-mobile-menu-content .navbar-nav > li > ul.dropdown {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.artnet-mobile-menu-content .navbar-nav > li > ul.dropdown > li {
  background: #f8f9fa;
}

.artnet-mobile-menu-content .navbar-nav > li > ul.dropdown > li:last-child {
  border-bottom: none;
}

.artnet-mobile-menu-content .navbar-nav > li > ul.dropdown > li > a {
  display: flex;
  align-items: center;
  padding: 10px 10px 10px 32px;
  color: #495057;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s ease;
  background: #f8f9fa;
  position: relative;
}

.artnet-mobile-menu-content .navbar-nav > li > ul.dropdown > li > a:before {
  content: '•';
  position: absolute;
  left: 14px;
  color: #adb5bd;
  font-weight: 300;
  font-size: 18px;
  line-height: 1;
}

.artnet-mobile-menu-content .navbar-nav > li > ul.dropdown > li > a:hover,
.artnet-mobile-menu-content .navbar-nav > li > ul.dropdown > li > a.active {
  background: #ffffff;
  color: #1c479e;
  padding-left: 3.25rem;
}

.artnet-mobile-menu-content
  .navbar-nav
  > li
  > ul.dropdown
  > li
  > a:hover:before,
.artnet-mobile-menu-content
  .navbar-nav
  > li
  > ul.dropdown
  > li
  > a.active:before {
  color: #1c479e;
}

/* 로그인/회원가입 메뉴 스타일 */
.artnet-mobile-menu-auth {
  margin-top: 0em;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.artnet-mobile-menu-auth-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  color: #495057;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 0 0.5rem;
}

.artnet-mobile-menu-auth-item:hover {
  background: #f8f9fa;
  color: #1c479e;
  transform: translateX(4px);
}

.artnet-mobile-menu-auth-item i {
  font-size: 18px;
  width: 20px;
  text-align: center;
}

/* 모바일 검색 바 */
.artnet-mobile-search-bar {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  width: 100%;
  background: #ffffff;
  z-index: 10049;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.artnet-mobile-search-bar.active {
  transform: translateY(0) !important;
}

/* 메뉴가 열릴 때 검색 바 숨김 (JavaScript로 제어) */
.artnet-mobile-search-bar.menu-open {
  display: none !important;
  transform: translateY(-100%) !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 검색 바가 열릴 때 메뉴 숨김 (JavaScript로 제어) */
.artnet-mobile-menu-overlay.search-open,
.artnet-mobile-side-menu.search-open {
  display: none !important;
  transform: translateX(-100%) !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.artnet-mobile-search-form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.artnet-mobile-search-input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.artnet-mobile-search-input {
  width: 100%;
  padding: 0.875rem 3rem 0.875rem 1rem;
  font-size: 16px;
  line-height: 1.5;
  color: #1a1a1a;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.artnet-mobile-search-input:focus {
  outline: none;
  background: #ffffff;
  border-color: #1c479e;
  box-shadow: 0 0 0 4px rgba(28, 71, 158, 0.1);
}

.artnet-mobile-search-submit {
  position: absolute;
  right: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: #1c479e;
  border: none;
  border-radius: 6px;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.artnet-mobile-search-submit:hover {
  background: #1d489d;
  transform: scale(1.05);
}

.artnet-mobile-search-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  color: #6c757d;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.artnet-mobile-search-close:hover {
  background: #dc3545;
  border-color: #dc3545;
  color: #ffffff;
}

/* 반응형 디자인 */
@media (max-width: 991.98px) {
  /* 기존 햄버거 버튼 숨김 */
  .navbar-toggle,
  .navbar-toggle.collapsed,
  a.navbar-toggle {
    display: none !important;
  }

  .navbar-toggle .icon-bar {
    display: none !important;
  }

  /* 새로운 모바일 메뉴 버튼 표시 */
  .artnet-mobile-menu-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* 모바일 헤더 오른쪽 영역 표시 */
  .artnet-mobile-header-right {
    display: flex !important;
    flex-direction: row !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* 모바일 언어 선택 및 검색 버튼 표시 */
  .artnet-mobile-language-toggle,
  .artnet-mobile-search-toggle {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* 모바일 메뉴 요소는 기본적으로 숨김 */
  .artnet-mobile-menu-overlay:not(.active) {
    display: none !important;
  }

  .artnet-mobile-side-menu:not(.active) {
    display: none !important;
  }

  .artnet-mobile-search-bar:not(.active) {
    display: none !important;
  }

  /* active 상태일 때만 표시 */
  .artnet-mobile-menu-overlay.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .artnet-mobile-side-menu.active {
    display: block !important;
    visibility: visible !important;
    transform: translateX(0) !important;
  }

  .artnet-mobile-search-bar.active {
    display: block !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  /* 메뉴가 열릴 때 검색 바 숨김 */
  .artnet-mobile-menu-overlay.active ~ .artnet-mobile-search-bar,
  .artnet-mobile-side-menu.active ~ .artnet-mobile-search-bar {
    display: none !important;
    transform: translateY(-100%) !important;
    visibility: hidden !important;
    opacity: 0 !important;
    z-index: 1 !important;
  }

  /* 검색 바가 헤더 아래에 위치하도록 */
  .artnet-mobile-search-bar {
    top: 56px !important;
    z-index: 10049 !important;
  }

  /* 모바일에서 헤더를 fixed로 설정 - PC와 동일한 동작 */
  .header-main {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1040 !important;
    transition: top 0.3s ease-in-out !important;
    -moz-transition: top 0.3s ease-in-out !important;
    -webkit-transition: top 0.3s ease-in-out !important;
    -o-transition: top 0.3s ease-in-out !important;
  }

  /* 모바일에서도 PC와 동일하게 헤더 숨김 처리 */
  .header-main.hide-menu {
    top: -180px !important;
  }

  /* 모바일에서도 active 상태일 때 처리 */
  .header-main.active {
    position: fixed !important;
    top: 0 !important;
  }

  /* 모바일에서도 hide-menu 상태 처리 - PC와 동일하게 */
  .header-main.hide-menu.active {
    top: -180px !important;
  }

  /* 모바일 메뉴가 열려있을 때는 헤더 숨김 기능 비활성화 (JavaScript로 제어) */
  .header-main.menu-open {
    top: 0 !important;
  }

  /* 모바일에서 nav-list-container는 relative로 유지 */
  .header-main .nav-list-container {
    position: relative !important;
  }

  .header-main.active .nav-list-container {
    position: relative !important;
    top: 0 !important;
  }

  /* 모바일 메뉴가 헤더 위에 표시되도록 */
  .artnet-mobile-side-menu {
    z-index: 10070 !important;
  }

  .artnet-mobile-menu-overlay {
    z-index: 10069 !important;
  }

  /* 모바일 메뉴는 헤더보다 위에 - z-index는 이미 정의됨 */

  /* 헤더 레이아웃 조정 */
  .navbar-header {
    position: relative !important;
    min-height: 56px !important;
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .navbar-header.mh-head {
    position: relative !important;
  }

  .navbar-brand {
    margin: 0 auto !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 1 !important;
    width: auto !important;
  }

  .navbar-brand img {
    max-height: 28px !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
  }

  /* 모바일 메뉴 버튼 위치 조정 */
  .artnet-mobile-menu-toggle {
    left: 0.5rem !important;
    padding: 0.5rem !important;
    margin: 0 !important;
    z-index: 10060 !important;
  }

  /* 모바일 헤더 오른쪽 영역 위치 조정 */
  .artnet-mobile-header-right {
    right: 0.5rem !important;
    z-index: 10060 !important;
  }

  /* 모바일 언어 선택 버튼 크기 조정 */
  .artnet-mobile-language-toggle > a {
    width: 40px !important;
    height: 40px !important;
    overflow: hidden !important;
    border-radius: 50% !important;
  }

  .artnet-mobile-language-toggle > a img {
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    object-fit: cover !important;
  }

  /* 모바일 검색 버튼 크기 조정 */
  .artnet-mobile-search-toggle {
    width: 40px !important;
    height: 40px !important;
    padding: 0.5rem !important;
    margin: 0 !important;
  }

  /* 데스크톱 구글 번역 숨김 (모바일에서만 모바일 버전 표시) */
  .top-line .notranslate-google {
    display: none !important;
  }

  /* 기존 모바일 구글 번역 스타일 오버라이드 (충돌 방지) */
  .notranslate-google:not(.artnet-mobile-language-toggle) {
    display: none !important;
  }

  /* 모바일 헤더의 구글 번역은 원형 플래그 이미지 사용 */
  .artnet-mobile-language-toggle > a img {
    border-radius: 50% !important;
    overflow: hidden !important;
    object-fit: cover !important;
  }

  /* 드롭다운 메뉴 내부 플래그 이미지도 원형 */
  .artnet-mobile-language-toggle .dropdown-menu li a img {
    border-radius: 50% !important;
    overflow: hidden !important;
    object-fit: cover !important;
  }

  /* 로고 광고 영역 패딩 조정 */
  .logo-advertisement {
    padding: 0.5rem 0 !important;
  }

  .logo-advertisement .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* 데스크톱 요소 숨김 */
  .navbar-form {
    display: none !important;
  }

  .top-register-artist-btn {
    display: none !important;
  }

  .nav-list-container {
    display: none !important;
  }

  /* 기존 데스크톱 메뉴 숨김 */
  .navbar-collapse:not(.artnet-mobile-side-menu) {
    display: none !important;
  }

  /* 로고 광고 영역 조정 */
  .logo-advertisement {
    padding: 0.5rem 0 !important;
  }

  .logo-advertisement .container {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  /* top-line 숨김 */
  .top-line {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .artnet-mobile-side-menu {
    width: 90%;
    max-width: 360px;
  }

  .artnet-mobile-menu-header {
    padding: 1.25rem;
  }

  .artnet-mobile-menu-header h3 {
    font-size: 18px;
  }

  .artnet-mobile-menu-content .navbar-nav > li > a {
    padding: 0.875rem 1.25rem;
    font-size: 15px;
  }

  .artnet-mobile-search-bar {
    padding: 0.875rem;
  }

  .artnet-mobile-search-input {
    font-size: 15px;
    padding: 0.75rem 2.75rem 0.75rem 0.875rem;
  }
}

@media (max-width: 480px) {
  .artnet-mobile-side-menu {
    width: 100%;
    max-width: 100%;
  }

  .artnet-mobile-menu-header {
    padding: 1rem;
  }

  .artnet-mobile-menu-header h3 {
    font-size: 17px;
  }

  .artnet-mobile-menu-content .navbar-nav > li > a {
    padding: 0.75rem 1rem;
    font-size: 15px;
  }

  .artnet-hamburger {
    width: 24px;
    height: 18px;
  }

  .artnet-hamburger-line {
    height: 2.5px;
  }

  .artnet-mobile-menu-toggle {
    left: 0.5rem !important;
    padding: 0.5rem !important;
    width: 40px !important;
    height: 40px !important;
  }

  .artnet-mobile-header-right {
    right: 0.5rem !important;
    gap: 0.375rem !important;
  }

  .artnet-mobile-language-toggle > a {
    width: 36px !important;
    height: 36px !important;
    overflow: hidden !important;
    border-radius: 50% !important;
  }

  .artnet-mobile-language-toggle > a img {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    object-fit: cover !important;
  }

  .artnet-mobile-language-toggle .dropdown-menu li a img {
    border-radius: 50% !important;
    overflow: hidden !important;
    object-fit: cover !important;
  }

  .artnet-mobile-search-toggle {
    font-size: 18px;
    padding: 0.5rem !important;
    width: 36px !important;
    height: 36px !important;
  }

  .navbar-brand img {
    max-height: 26px !important;
  }
}

.write-exhibition-fab {
  position: fixed;
  bottom: 13%;
  right: 1.5rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #ff8f00;
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px #00000026;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 0;
}

.write-exhibition-fab span {
  display: none;
}
.write-exhibition-fab:hover {
  background-color: #e67e00;
  box-shadow: 0 6px 16px #00000026;
  transform: translateY(-2px);
  color: #fff;
  i {
    color: #fff;
  }
  span {
    color: #fff;
  }
}

@media (min-width: 768px) {
  .write-exhibition-fab {
    bottom: 5.2rem;
    right: 8rem;
    width: auto;
    height: 60px;
    padding: 0 2.5rem;
    border-radius: 30px;
    gap: 0.5rem;
  }
  .write-exhibition-fab span {
    display: inline-block;
  }
}
