/* v3.0：分類/標籤/國籍/類型/方案/機房 顯示樣式 */
.post-item .entry-cat-dot {
  display: none !important;
}

.posts-warp > .col,
.home-widget .posts-warp > .col,
.related-posts .row > .col,
.spabox-card-extra-parent {
  display: flex !important;
}

.posts-warp > .col > .post-item,
.home-widget .posts-warp > .col > .post-item,
.related-posts .row > .col > .post-item,
.spabox-card-extra-parent > .post-item {
  width: 100%;
}

.post-item.item-grid {
  border: 1px solid rgba(0,0,0,.10) !important;
  border-radius: 12px !important;
  overflow: hidden;
  background: #fff;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.post-item.item-grid .entry-media { flex: 0 0 auto; }
.post-item.item-grid .entry-wrapper {
  flex: 1 1 auto;
  display: flex !important;
  flex-direction: column !important;
  padding-top: 8px;
}
.post-item.item-grid .entry-meta { margin-top: auto !important; }
.post-item.item-list .entry-body { width: 100%; }

.post-item .spabox-card-extra-info,
.spabox-card-extra-info {
  display: block !important;
  margin: 8px 0 9px;
  padding: 7px 9px;
  background: transparent !important;
  border: 1px solid rgba(0,0,0,.10) !important;
  border-radius: 10px !important;
  color: inherit;
  font-size: 14px;
  line-height: 1.55;
  height: var(--spabox-card-info-height, 244px) !important;
  min-height: var(--spabox-card-info-height, 244px) !important;
  box-sizing: border-box;
  overflow: hidden;
}

body.single .spabox-card-extra-info {
  height: auto !important;
  min-height: 0 !important;
}

.post-item .spabox-card-extra-main,
.spabox-card-extra-main {
  display: block !important;
  min-height: 0;
}

.post-item .spabox-card-extra-row,
.spabox-card-extra-row {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(0,0,0,.13) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.post-item .spabox-card-extra-row:last-child,
.spabox-card-extra-row:last-child { border-bottom: 0 !important; }

.post-item .spabox-card-extra-label,
.post-item .spabox-card-extra-value,
.post-item .spabox-card-extra-link,
.post-item .spabox-card-extra-sep,
.spabox-card-extra-label,
.spabox-card-extra-value,
.spabox-card-extra-link,
.spabox-card-extra-sep {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}
.post-item .spabox-card-extra-link:hover,
.spabox-card-extra-link:hover { text-decoration: underline; }

.post-item .spabox-card-extra-row-cats,
.spabox-card-extra-row-cats { color: #2d6cdf; }
.post-item .spabox-card-extra-row-tags,
.spabox-card-extra-row-tags { color: #ca8a04; }
.post-item .spabox-card-extra-row-country,
.spabox-card-extra-row-country { color: #8b5cf6; }
.post-item .spabox-card-extra-row-alltype,
.spabox-card-extra-row-alltype { color: #0f766e; }
.post-item .spabox-card-extra-row-desc,
.spabox-card-extra-row-desc { color: #475569; }
.post-item .spabox-card-extra-row-price,
.spabox-card-extra-row-price { color: #e85d75; }
.post-item .spabox-card-extra-row-engineroom,
.spabox-card-extra-row-engineroom { color: #16a34a; }

.spabox-card-extra-plans {
  display: block;
  margin: 2px 0 0;
  padding-top: 2px;
}
.spabox-card-extra-plan-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(0,0,0,.13);
  white-space: normal;
}
.spabox-card-extra-plan-row:last-child { border-bottom: 0; }
.spabox-card-extra-plan-row .spabox-card-extra-label {
  flex: 0 0 auto;
  color: #475569;
}
.spabox-card-extra-plan-row .spabox-card-extra-value {
  display: inline-flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: 7px;
  min-width: 0;
  text-align: right;
}
.spabox-card-extra-plan-label-hidden .spabox-card-extra-value {
  justify-content: flex-start;
  text-align: left;
}
.spabox-card-extra-plan-description {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #475569;
  font-weight: 600;
}
.spabox-card-extra-plan-price {
  flex: 0 0 auto;
  color: #e85d75;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .post-item .spabox-card-extra-info,
  .spabox-card-extra-info {
    font-size: 13px;
  }
}
