.amount::after { content: attr(data-lang); display: none; }
.folder_amount:after { content: " Album   "; }
.sb-toggle.sb-toggle-fixed { display:none; }
#x3_plugin_buttons { display:none; } 
.folders figure { border-radius: 10px; overflow: hidden; }
.galleryInnerImageHolder img { border-radius: 8px; }
.image-container img { border-radius: 8px; }
.subheader { line-height: 1.2; color: #8c8c8c; font-weight: normal; margin-top: .4rem; margin-bottom: .2rem }
.x3-breadcrumbs { --x3-breadcrumbs-home-display: none; }

.images.caption-bottom-left figcaption,.context.caption-bottom-left figcaption { width: 100%; bottom: 0%; left: 0; }
.images figcaption,.context figcaption { padding: 6px 0 6px 10px; }

.main { padding: 0 0 0 0; transform-origin: 50% 0% }
.subheader { line-height: 0.8; }
div.pagenav.pagenav-fixed.show-pagenav { top: 90px !important; }
@media only screen and (min-width: 641px) { .main { padding:1em 0 0 0 } }
@media only screen and (min-width: 1025px) { .module>div { margin-bottom: 0.6em; } }

.images figcaption .title,.context figcaption .title { font-weight: 500; font-size: 0.9em; }
.images figcaption>span,.images figcaption>time,.context figcaption>span,.context figcaption>time { display: block; font-size: .8em; line-height: 140% }

.popup-caption-filename, .popup-caption-filename_ext { font-size: 0.9em; }
.popup-exif-el { font-size: 0.7em; }

.images figcaption>span, .images figcaption>time, .context figcaption>span, .context figcaption>time { font-size: .75em; }

.images figcaption .amount, .images figcaption .date, .images figcaption .folder_amount, .context figcaption .amount, .context figcaption .date, .context figcaption .folder_amount {
    color: #ffffff;
}

figcaption.formatted {
  display: flex;
  flex-wrap: wrap;       /* 2줄 허용 */
  align-items: baseline; /* 텍스트 기준선 정렬 */
}

/* 2. 첫 줄 (title, date) 요소 간 간격 */
figcaption.formatted .date {
  margin-left: 0.5em; /* title과의 간격 (조절 가능) */
}

/* 3. 두 번째 줄 (amount, stats-info) 요소 간 간격 */
figcaption.formatted .stats-info {
  margin-left: 0.5em; /* amount와의 간격 (조절 가능) */
}

/* 4. 줄바꿈용 스페이서(Spacer) */
figcaption.formatted .custom-br {
  display: block;
  width: 100%;
  height: 2px; /* 1줄과 2줄 사이의 간격 (조절 가능) */
  
  /* (JS가 하던 모든 여백 초기화) */
  font-size: 0;
  line-height: 0;
  margin: 0;
  padding: 0;
}