html body .resource-grid .resource-name {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
}

.advanced-search {
  display: none !important;
}

 body, h1, h2, h3, h4, h5,h6, span,a {
 font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
 }



body.vertical-menu {
        background-color: #CFFFE5;
}

body.vertical-menu header {
    background-color: #CFFFE5;
}

.submenu-toggle:after {
    border-color: #fff rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
    border-color: #CFFFE5rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
}

.menu .active>a, .toc-block>ul .active>a, .toc-block ul ul .active>a {
    background: #CFFFE5;
    color: #0a0a0a;
}

header {
    border-top: 1rem solid #CFFFE5;
}

.button, .button.disabled, .button[disabled], .button.disabled:hover, .button[disabled]:hover, .button.disabled:focus, .button[disabled]:focus {
    background-color: #CFFFE5;
    color: #0a0a0a;
}

.browse-controls .sorting button, .browse-controls .sorting button.disabled, .browse-controls .sorting button[disabled], .browse-controls .sorting button.disabled:hover, .browse-controls .sorting button[disabled]:hover, .browse-controls .sorting button.disabled:focus, .browse-controls .sorting button[disabled]:focus {
    background-color: #CFFFE5;
    color: #0a0a0a;
}
.search-summary,
.applied-filters,
.active-filters {
    display: none !important;
}/*여기서부터 오어진 색상변경을 위한 추가20260430*/

/* 1. 메뉴 텍스트 (파랑 → 검정) */
/*.menu a {
  color: #000 !important;
}*/

/* hover 시 */
/*.menu a:hover {
  color: #000 !important;
}*/

/* 2. 활성 메뉴 (EJ Archives 버튼) */
.menu .active > a {
  background-color: #444 !important;  /* 짙은 회색 */
  color: #fff !important;
}

/* 3. 검색 버튼 (진한 파랑 → 짙은 회색) */
input[type="submit"],
.search-submit {
  background-color: #444 !important;
  color: #fff !important;
}

/* 4. 전체 링크 기본색 (혹시 남아있는 파랑 제거) */
/*a {
  color: #000 !important;
}*/

/* 검색 영역 버튼 (오른쪽 파란 버튼) */
.search button,
.search input[type="submit"],
.search-form button,
.search-form input[type="submit"] {
  background-color: #444 !important;
  color: #fff !important;
  border-color: #444 !important;
}/*모마스타일추가*/

/* MoMA/미술관 아카이브 느낌: 흑백 + 회색 */
body {
  background: #fff;
  color: #111;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
}

/* 상단 */
header {
  background: #fff !important;
  border-top: 0 !important;
  border-bottom: 1px solid #d9d9d9 !important;
}

/* 메뉴 */
header .menu a,
.menu a {
  color: #111 !important;
  background: transparent !important;
  text-decoration: none;
}

header .menu a:hover,
.menu a:hover {
  text-decoration: underline;
}

/* 현재 선택된 메뉴 */
.menu .active > a {
  background: #333 !important;
  color: #fff !important;
}

/* 검색 버튼 */
header button,
header input[type="submit"],
.search button,
.search input[type="submit"] {
  background: #333 !important;
  color: #fff !important;
  border-color: #333 !important;
}

/* 검색창 */
header input[type="text"],
.search input[type="text"] {
  border: 1px solid #bdbdbd !important;
  background: #fff !important;
}

/* 링크 */
a {
  color: #111 !important;
}

a:hover {
  text-decoration: underline;
}


/* 제목 */
h1, h2, h3 {
  color: #111;
  font-weight: 700;
}
/*매뉴 모양 변경*/
/*header .menu a {
  color: #000 !important;
}*/

/*header .menu a:hover {
  color: #000 !important;
}*/

header .menu .active > a {
  background: #000 !important;
  color: #fff !important;
}
body,
p,
.resource-name,
.resource-metadata,
h1, h2, h3 {
  color: #111 !important;
}
/* 🔹 상단 메뉴 배경 흰색 */
header {
  background: #fff !important;
}

/* 🔹 메뉴 텍스트 검정 */
header nav a,
header .navigation a,
header .menu a,
header ul.navigation li a,
header ul.menu li a {
  color: #000 !important;
  background: transparent !important;
  text-decoration: none;
}

/* 🔹 hover */
header nav a:hover,
header .navigation a:hover,
header .menu a:hover {
  color: #000 !important;
  text-decoration: underline;
}

/* 🔹 선택된 메뉴 */
header nav .active > a,
header .navigation .active > a,
header .menu .active > a,
header ul.navigation li.active a,
header ul.menu li.active a {
  color: #000 !important;
  background: transparent !important;
  font-weight: 700;
}

/* 🔹 검색 버튼 (검정 버튼 유지) */
header button,
header input[type="submit"],
header .button,
header .search-submit {
  background: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}

/* 상단 영역 배경 흰색 */
body.vertical-menu header,
header,
.site-header {
  background: #fff !important;
}

/* 상단 메뉴 링크: 검정 글씨 */
body.vertical-menu header a,
body.vertical-menu header nav a,
body.vertical-menu .site-title a,
body.vertical-menu .navigation a,
body.vertical-menu .menu a,
header a,
header nav a,
header .navigation a,
header .menu a {
  color: #000 !important;
  background: transparent !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  text-decoration: none !important;
}

/* 선택된 메뉴 */
body.vertical-menu header .active > a,
body.vertical-menu .navigation .active > a,
body.vertical-menu .menu .active > a,
header .active > a,
header .navigation .active > a,
header .menu .active > a {
  color: #000 !important;
  background: transparent !important;
  font-weight: 700;
}

/* hover */
body.vertical-menu header a:hover,
header a:hover {
  color: #000 !important;
  text-decoration: underline !important;
}
/* 상단 전체 배경 흰색으로 강제 변경 */
body.vertical-menu header,
body.vertical-menu header .top-bar,
body.vertical-menu header .top-bar-left,
body.vertical-menu header .top-bar-right,
body.vertical-menu .top-bar,
header,
header .top-bar,
header nav,
.site-header {
  background: #fff !important;
  background-color: #fff !important;
}

/* 메뉴 선택지도 배경 없이 검정 텍스트 */
header a,
header nav a,
header .menu a,
header .navigation a,
header .top-bar a {
  color: #000 !important;
  background: transparent !important;
  background-color: transparent !important;
  border-radius: 0 !important;
}

/* 선택된 메뉴 */
header .active > a,
header .menu .active > a,
header .navigation .active > a {
  color: #000 !important;
  background: transparent !important;
  background-color: transparent !important;
  font-weight: 700;
}

/* 검색 버튼만 검정 */
header input[type="submit"],
header button {
  background: #000 !important;
  background-color: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}

/* 🔥 상단 회색 박스 완전 제거 */
body.vertical-menu .top-bar,
body.vertical-menu .top-bar-left,
body.vertical-menu .top-bar-right,
header .top-bar,
header .top-bar-left,
header .top-bar-right,
header .navigation,
header nav {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* 🔥 메뉴 감싸는 박스 제거 */
header .menu,
header ul,
header .navigation {
  background: transparent !important;
}

/* 🔹 Item 파란 라벨 → 회색으로 */
.label,
.badge,
.resource-type,
.item-label {
  background-color: #aaa !important;
  color: #fff !important;
  border-color: #aaa !important;
}

/* 🔹 페이지네이션 (← → 버튼) */
.pagination a,
.pagination button,
.pager a,
.pager button {
  background-color: #aaa !important;
  color: #fff !important;
  border-color: #aaa !important;
}

/* 🔹 정렬 버튼 + 일반 버튼 */
.browse-controls button,
button,
.button,
input[type="submit"] {
  background-color: #aaa !important;
  color: #fff !important;
  border-color: #aaa !important;
}

/* 🔹 hover 상태 */
.pagination a:hover,
.pager a:hover,
.browse-controls button:hover,
button:hover {
  background-color: #888 !important;
  border-color: #888 !important;
}*/
/* 아이템 목록 카드 제목만 줄이기 */
ul.resources li.resource a.resource-link,
ul.resources li.resource .resource-link,
ul.resources li.resource .resource-name,
ul.resources li.resource h4,
ul.resources li.resource h3,
ul.resources li.resource h2 {
  font-size: 18px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
}

/* 더 강하게: 아이템 목록 안 모든 제목 링크 */
ul.resources li.resource a {
  font-size: 18px !important;
  line-height: 1.35 !important;
}

/* 시리즈 하단/관련 아이템 목록 제목까지 같이 줄이기 */
.resource-list .resource-name,
.resource-list a.resource-link,
.linked-resources .resource-name,
.linked-resources a.resource-link,
.item-set-items .resource-name,
.item-set-items a.resource-link,
.item.resource .resource-name,
.item.resource a.resource-link,
li.item .resource-name,
li.item a {
  font-size: 18px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
}

/* 컬렉션명 + 아이템명 굵기 통일 */
.resource-name,
.resource-link,
ul.resources li.resource a,
ul.resources li.resource .resource-name,
.resource-list a,
.resource-list .resource-name {
  font-weight: 500 !important;
}
/* 전체 텍스트 더 진하게 */
body,
p,
li,
span,
.resource-name,
.resource-metadata,
.resource-list,
.linked-resources,
.item-set-items {
  color: #111 !important;
}
/* 주요 텍스트 */
body {
  color: #111 !important;
}

/* 리스트/계층 구조 텍스트 */
.resource-list li,
.resource-list a,
.linked-resources li,
.linked-resources a {
  color: #111 !important;
}

/* 보조 정보 (item 개수 등은 살짝 연하게) */
.resource-list small,
.resource-list .count {
  color: #555 !important;
}
/* ===== Lightbox 상단 바 복구 ===== */
.lg-toolbar {
  background: rgba(0, 0, 0, 0.6) !important;
  height: 40px !important;
  line-height: 40px !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 1080 !important;
}

/* ===== 페이지 카운터 (1/1) ===== */
.lg-counter {
  color: #fff !important;
  font-size: 14px !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ===== 아이콘들 ===== */
.lg-toolbar .lg-icon {
  color: #fff !important;
  opacity: 1 !important;
}

/* ===== 좌우 화살표 ===== */
.lg-actions .lg-next,
.lg-actions .lg-prev {
  color: #fff !important;
  opacity: 1 !important;
}

/* ===== 혹시 숨겨졌을 경우 강제 표시 ===== */
.lg-toolbar,
.lg-actions,
.lg-counter {
  display: block !important;
}
/* Lightbox 페이지 숫자 위치/색상 강제 조정 */
.lg-counter {
  position: absolute !important;
  top: 18px !important;
  left: 20px !important;
  color: #ffffff !important;
  background: rgba(0, 0, 0, 0.65) !important;
  padding: 4px 8px !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 99999 !important;
}

/* 숫자 안쪽 글자까지 강제 */
.lg-counter * {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* 툴바 아이콘 아주 미세하게 확대 */
.lg-toolbar .lg-icon {
  width: 30px !important;
  height: 30px !important;
  line-height: 30px !important;
  font-size: 18px !important;
  padding: 0 !important;
}
/* Lightbox 카운터 위치 조정 */
.lg-counter {
  position: absolute !important;
  top: 8px !important;
  left: 22px !important;
  color: #ffffff !important;
  z-index: 9999 !important;
}
/* 상단 검은 영역 높이 줄이기 */
.lg-toolbar {
  height: 30px !important;
  line-height: 30px !important;
  padding: 0 8px !important;
}

/* 검은 박스 제거 */
.lg-counter {
  background: transparent !important;
  padding: 0 !important;
}
/* pdf전문 값 밑줄*/dd.value.uri a.uri-value-link {
  text-decoration: underline !important;
}
/* 메타데이터 값 영역 안의 링크만 전부 밑줄 */
.resource-metadata dd.value a {
  text-decoration: underline !important;
}

/* 메타데이터 값 영역 안의 모든 내부/외부 링크 밑줄 - 연동값 밑줄 맘에안들면 이거 지우기*/
.property dd.value a,
.property dd.value a span,
.property dd.value .resource-link,
.property dd.value .resource-link span {
  text-decoration: underline !important;
}

/* 썸네일 크기 수정*/
.blocks .resource img {
    max-width: 350px !important;
    height: auto !important;
}


/* Omeka S Foundation footer contents 우측 정렬 */
footer,
footer div,
footer p,
footer .site-footer,
footer .footer-content {
  text-align: right !important;
}

/* 페이지 내부 전체 강제 */
.page * {
    line-height: 2 !important;
}