/*.box .thumbnail {*/
  /*height: 100% !important;*/
/*}*/

.label-img {
  width: 100%;
}

.label {
  position: absolute;
  z-index: 9999;
}
.inner {
  position: relative;
}

.marsonry .caption {
  z-index: 100;
  padding: 2px;
  position: absolute;
  bottom: 0;
}

/* HTML text badge for labels (fallback for themes loading label.css) */
.ogs-label-badge {
  display: inline-block;
  padding: 2px 6px;
  line-height: 1.4;
  font-size: 11px;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 3px;
}
/* デザイン用の共通クラス（従来の out-of-term と同じ見た目にする） */
.ogs-label-badge--design { background: rgba(0,0,0,0.7); }

/* 受付期間外専用カラー（明示的に class が付く場合のみ適用） */
.ogs-label-badge--out-of-term { background: rgba(0,0,0,0.7); }

/* Place under price when inside text block */
.ogs-v2-top-list .ogs-v2-top-list-text .ogs-label-badge { position: static; margin-top: 4px; }
