/*@CHARSET "EUC-KR";*/
.wmax-lg {
  width: 150px;
}
.wmax-sm {
  width: 100px;
}
.search_group {
  display: flex;
}
.search_group .select_type {
  position: relative;
  text-align: left;
  width: 100%;
  max-width: 240px;
}

.search_group .select_type > p {
  height: 54px;
  padding: 0 30px 0 20px;
  line-height: 54px;
  background: #fff url("/images/kor/common/icon_arrow_down.png") right 20px
    center no-repeat;
  border: 1px solid #d1d5db;
  border-right: none;
  font-size: 16px;
  font-weight: 500;
}
.search_group .select_type > p.br-l-hidden {
  border-left: none;
}

.search_group .select_type > p.is_active {
  background: #fff url("/images/kor/common/icon_arrow_up.png") right 20px center
    no-repeat;
  border: 2px solid #a5c0ff;
}

.search_group .select_type .select_list {
  top: 60px;
  padding: 7px 15px;
  border: 1px solid #d1d5db;
  text-align: left;
}

.search_group .select_type .select_list li {
  margin: 14px 0;
  cursor: pointer;
}

.search_group .select_type .select_list li a {
  font-size: 16px;
  font-weight: 500;
  height: 25px;
  line-height: 160%;
}

.search_group .select_type .select_list li:hover a {
  color: #2f5bc1;
}

.select_box .select_list li a.active {
  color: #2f5bc1;
  border-bottom: 1px solid #2f5bc1;
}

.search_group .search_box {
  width: 100%;
  position: relative;
  display: flex;
}
.search_group .search_box .search_input {
  width: inherit;
  height: 54px;
  border: 1px solid #d1d5db;
  font-size: 16px;
  line-height: 160%;
  font-weight: 500;
}
.search_group .search_box .search_input::placeholder {
  color: #6D757C;
  opacity: 1;
  font-weight: 100 !important;
}
.search_group .search_box .search_input:focus {
  outline: 2px solid #a5c0ff;
  outline-offset: -2px;
}

.search_group .search_box .btn_search {
  background-color: #2f5bc1;
  border: 1px solid #2f5bc1;
  color: #fff;
  width: 140px;
  height: 54px;
  font-size: 16px;
  line-height: 160%;
  font-weight: 500;
  cursor: pointer;
}

/* ========================================== */

.option_ctn {
  display: flex;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 30px;
}
.option_ctn .option_flx {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.dropdown_group .dropdown_type {
  position: relative;
}

.dropdown_group .dropdown_type > p {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 160%;
  padding: 0 12px;
  background: #f9fafb;
  border-bottom: 2px solid #9ca3af;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
}

.dropdown_group .dropdown_type > p::after {
  content: "";
  width: 20px;
  height: 20px;
  background: url("/images/kor/common/icon_arrow_down.png") center center
    no-repeat;
  background-size: contain;
}

.dropdown_group .dropdown_type > p.is_active::after {
  background-image: url("/images/kor/common/icon_arrow_up.png");
}

.dropdown_group .dropdown_type > p.is_active {
  border-bottom: 2px solid #2f5bc1;
}

.dropdown_group .dropdown_type .select_list {
  top: 44px;
  padding: 7px 15px;
  border: 1px solid #d1d5db;
  text-align: left;
}

.dropdown_group .dropdown_type .select_list li {
  margin: 14px 0;
  cursor: pointer;
}

.dropdown_group .dropdown_type .select_list li a {
  font-size: 16px;
  font-weight: 500;
  height: 25px;
  line-height: 160%;
}

.dropdown_group .dropdown_type .select_list li:hover a {
  color: #2f5bc1;
}

.dropdown_group .search_box {
  width: 100%;
  position: relative;
  display: flex;
}

.ft_btn .btn_search {
  font-size: 16px;
  line-height: 160%;
  font-weight: 500;
  height: 40px;
  border-radius: 100px;
  padding: 0 29px;
  border: 1px solid #d1d5db;
  cursor: pointer;
}
.ft_btn .btn_search:hover {
  color: #2f5bc1;
  border: 1px solid #80a6ff;
}

.option_ctn .letters-row {
  display: flex;
  gap: 10px;
  flex-grow: 1;
  padding: 15px 5px 0 5px;
  user-select: none;
}
.letters-row .letter-btn {
  background: #f2f5f8;
  border-radius: 8px;
  text-align: center;
  line-height: 40px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  line-height: 160%;
  color: #333;
  border: none;
  transition: background-color 0.25s, color 0.25s;
  flex-shrink: 0;
}
.letters-row .letter-btn.is_active {
  background-color: #fff;
  color: #2f5bc1;
  border: 1px solid #2f5bc1;
}

.letters-row .letter-btn:hover {
  color: #2f5bc1;
  border: 1px solid #a5c0ff;
}

/* =================== 2025 ==================== */
.date-group .datepicker-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 8px;
}

.dateutl .datepicker-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 8px;
}

.datepicker-wrapper .datepicker-container {
  position: relative;
}

.datepicker-container .input-wrapper .datepicker-input {
  width: 100%;
  background-color: #f9fafb;
  padding: 5px 39px 5px 14px;
  font-size: 16px;
  line-height: 160%;
  font-weight: 500;
  border: 1px solid #d1d5db;
  border-radius: 5px;
}

.datepicker-container .input-wrapper .calendar-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url(/images/kor/common/ico_calendar.svg) center no-repeat;
  object-fit: cover;
  color: #666;
  cursor: pointer;
}

.datepicker-container .calendar-popup {
  display: none;
  position: absolute;
  top: 46px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: white;
  z-index: 10;
  width: max-content;
  max-width: 90vw;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.datepicker-container .calendar-popup.show {
  display: block;
}

.datepicker-container .calendar-popup .calendar-header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 22px;
  background: #EDF1F5;
  z-index: 2;
}

.datepicker-container .calendar-popup .calendar-header div {
  font-size: 16px;
  font-weight: 500;
  line-height: 160%;
  text-transform: capitalize;
}

.datepicker-container .calendar-popup .calendar-header .dropdown-btn {
  border-radius: 5px;
  padding: 8px;
  font-size: 19px;
  font-weight: 500;
  line-height: 160%;
  cursor: pointer;
  width: 100%;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}

.datepicker-container .calendar-popup .calendar-header .dropdown-btn:hover {
  background: #CDD7E4;
}

.datepicker-container .calendar-popup .calendar-header .dropdown-btn::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 8px;
  border-left: 1px solid #111;
  border-bottom: 1px solid #111;
  transform: translateY(-50%) rotate(-45deg);
}


.datepicker-container .calendar-popup .calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  gap: 5px;
  padding: 10px;
}

.datepicker-container .calendar-popup .calendar-days div {
  padding: 6px;
  cursor: pointer;
}

.datepicker-container .calendar-popup .calendar-days strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 160%;
  min-width: 44px;
  min-height: 40px;
  color: #111;
}

.datepicker-container .calendar-popup .calendar-days .day {
  font-size: 16px;
  font-weight: 500;
  line-height: 160%;
  min-width: 40px;
  min-height: 40px;
  color: #111928;
  display: flex;
  align-items: center;
  justify-content: center;
}

.datepicker-container .calendar-popup .calendar-days .faded {
  color: #767676;
  pointer-events: none;
}

.datepicker-container .calendar-popup .calendar-days .day:hover:not(.selected) {
  border: 1px solid #2f5bc1;
  border-radius: 5px;
}

.datepicker-container .calendar-popup .calendar-days .selected {
  background-color: #2f5bc1;
  color: white;
  border-radius: 50%;
}

.datepicker-container .calendar-popup .calendar-footer {
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.datepicker-container .calendar-popup .calendar-footer button {
  margin: 0px 10px 10px 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 160%;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

.datepicker-container .calendar-popup .calendar-footer .ok-btn {
  width: 100%;
  height: 40px;
  background-color: #2f5bc1;
  color: white;
}

.datepicker-container .calendar-popup .calendar-footer .cancel-btn {
  width: 100%;
  height: 40px;
  background-color: #eee;
}

/* =================== 2025 ==================== */

.search-container {
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
}

.search-content {
  padding: 0px 32px 32px 20px;
}

.search-content .status-filter {
  display: flex;
  gap: 10px;
  padding: 20px 0;
  font-size: 14px;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
}

.search-content .status-filter .status-label {
  font-size: 16px;
  line-height: 160%;
  font-weight: 500;
  color: #333;
  min-width: 80px;
}

.status-filter .status-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-filter .status-button {
  border: 1px solid #f3f4f6;
  padding: 6px 12px;
  height: 40px;
  line-height: 17px;
  background: #f3f4f6;
  font-size: 16px;
  line-height: 160%;
  border-radius: 6px;
  cursor: pointer;
  color: #1A222B;
  font-weight: 500;
}

.status-filter .status-button:hover {
  border-color: #a5c0ff;
  color: #2f5bc1;
}

.status-filter .status-button.active {
  border-color: #2f5bc1;
  background-color: #ffffff;
  color: #2f5bc1;
}

.search-content .date-filters {
  display: flex;
  gap: 10px;
  padding-top: 20px;
  font-size: 14px;
  align-items: center;
}

.search-content .date-filters .date-group {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
}

.search-content .date-filters .date-label {
  font-size: 16px;
  line-height: 160%;
  font-weight: 500;
  color: #333;
  min-width: 80px;
}

.btn_detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 279px;
  width: 100%;
  height: 40px;
  background: #2f5bc1;
  border-radius: 100px;
  cursor: pointer;
}
.btn_detail .txt {
  font-size: 16px;
  line-height: 160%;
  font-weight: 500;
  color: #fff;
}
.btn_detail .icon-detail {
  display: block;
  width: 18px;
  height: 18px;
  background: url(/images/kor/common/ic-detail.png) center no-repeat;
  background-size: 100%;
}
.date-filters .dateutl {
  display: flex;
  width: 100%;
  gap: 10px;
}

.dateutl .datepicker-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 8px;
}

/* =================== 2025 ==================== */
.datepicker-container .calendar-popup .calendar-header .dropdown-prev::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 9px solid #111;
  margin-right: 10px;
}

.datepicker-container .calendar-popup .calendar-header .dropdown-next::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 9px solid #111;
  margin-left: 10px;
}



.datepicker-container .calendar-popup .calendar-header .calendar-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 160%;
  text-transform: capitalize;
  cursor: pointer;
  color: #333;
}

.datepicker-container .calendar-popup .calendar-header .dropdown {
  position: relative;
  display: inline-block;
  flex: 1;
  margin: 0 5px;
}

.datepicker-container .calendar-popup .dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  width: 100%;
  height: 85%;
  padding-bottom: 20px;
  z-index: 1;
  border-radius: 5px;
  top: 16%;
  left: 0;
  overflow-y: auto;
}

.datepicker-container .calendar-popup .dropdown-content.show {
  display: block;
}

.datepicker-container .calendar-popup .dropdown-content.show .month-wrapper {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  height: 70%;
}

.datepicker-container .calendar-popup .dropdown-content button {
  display: block;
  padding: 8px 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 160%;
  color: #111928;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  max-width: 140px;
  width: 100%;
  margin: auto;
}

.datepicker-container .calendar-popup .dropdown-content .active {
  background-color: #2f5bc1;
  color: white;
  border-radius: 5px;
}

.datepicker-container .calendar-popup .dropdown-content .month-wrapper button {
  width: 33.3%;
}

.datepicker-container .calendar-popup .dropdown-content button:hover {
  border: 1px solid #2f5bc1;
  border-radius: 5px;
}

.calendar-days .day.today {
  background-color: #EDF1F5;
  border-radius: 5px;
}

/* =================== 2025 ==================== */

@media screen and (max-width: 1023px) {
.option_ctn .letters-row {
    flex-wrap: wrap;
}
}

@media screen and (max-width: 768px) {
  .search_group .select_type {
    max-width: 100px;
  }

  .search_group .select_type>p {
    line-height: 40px;
    height: 40px;
    font-size: 14px;
    padding: 0 10px 0 10px;
    background: #fff url(/images/kor/common/icon_arrow_down.png) right 10px center no-repeat;
  }

  .search_group .search_box .search_input {
    font-size: 14px;
    height: 40px;
  }

  .search_group .search_box .btn_search {
    font-size: 14px;
    height: 40px;
  }

  .search_group .select_type>p.is_active {
    background: #fff url(/images/kor/common/icon_arrow_up.png) right 8px center no-repeat;
  }

  .search_group .select_type .select_list li a {
    font-size: 14px;
  }

  .search_group .select_type .select_list {
    padding: 0 10px;
  }

  .search_group .select_type .select_list li {
    margin: 10px 0;
  }

  .search-content {
    padding: 0px 10px 10px 10px;
  }

  .status-filter .status-button {
    height: 34px;
    font-size: 14px;
  }

  .search-content .status-filter {
    align-items: unset;
    padding: 14px 0;
    flex-direction: column;
    gap: 14px;
  }

  .search-content .date-filters {
    padding-top: 10px;
  }

  .search-content .status-filter .status-label {
    font-size: 14px;
  }
  .search-content .date-filters .date-label {
    font-size: 14px;
  }
  .dateutl .datepicker-wrapper {
    align-items: unset;
    flex-direction: column;
  }

  .datepicker-container .input-wrapper .datepicker-input {
    width: 100%;
    font-size: 14px;
  }

  .date-filters .dateutl {
    flex-direction: column;
    gap: 10px;
  }

  .datepicker-container .calendar-popup .calendar-days strong {
    font-size: 14px;
  }

  .datepicker-container .calendar-popup .calendar-days .day {
    font-size: 14px;
    min-width: 35px;
    min-height: 35px;
  }
  
  .option_ctn {
    gap: 20px;
  }
  .dropdown_group .dropdown_type > p {
    font-size: 14px;
  }
  .ft_btn .btn_search {
    font-size: 14px;
  }
  .dropdown_group .dropdown_type .select_list {
      padding: 7px 10px;
  }
  .search_group .select_type .select_list {
    top: 44px;
  }
  .option_ctn .option_flx {
    gap: 8px;
  }
  .select_box {
    z-index: unset;
  }
  .search_group .select_type .select_list {
    z-index: 99;
  }
  .select_box .select_list {
    z-index: 99;
  }
.flx-cs {
    flex-direction: column;
  }
  
/* =================== 2025 ==================== */
.datepicker-container .calendar-popup .calendar-header .dropdown-btn {
  font-size: 16px;
}

/* =================== 2025 ==================== */
}



/* Grid layout for collection items */
.galley_list2 .collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.galley_list2 .collection-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.galley_list2 .collection-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.galley_list2 .collection-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.galley_list2 .collection-item a:hover {
    text-decoration: none;
    color: inherit;
}

.galley_list2 .img_wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.galley_list2 .img_box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.galley_list2 .img_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.galley_list2 .text_wrap {
    padding: 15px;
}

.galley_list2 .text_wrap .title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.galley_list2 .text_wrap .content {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 10px;
    /* Limit content to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.galley_list2 .publication-info {
    font-size: 13px;
    color: #666666;
    /*color: #888;*/
    padding-top: 8px;
    margin-top: 8px;
}

/* Responsive design */
@media (max-width: 1024px) {
    .galley_list2 .collection-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .galley_list2 .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .galley_list2 .collection-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}


/* Hide original ul list styling if needed */
.galley_list2 ul {
    display: none;
}
.visually-hidden{
 font-size: 0;
 text-indent: -9999px;
}
