/*
 * 場館資訊頁(Space/Info)
 *
 * 版面是「左標題、右內容」的資訊列。以往用 d-flex 搭配固定寬度的 w-15 標題欄,
 * 窄畫面下標題欄會被壓成一字一行;改用 Bootstrap 的斷點欄位,
 * md 以下標題與內容上下堆疊,md 以上才回到兩欄。
 */

.venue-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin-bottom: 0.25rem;
}

.venue-subtitle {
    font-size: clamp(0.95rem, 2.4vw, 1.35rem);
    color: var(--gray);
    margin-bottom: 0;
}

.venue-info-row {
    border-bottom: 1px solid var(--gray-light);
}

.venue-info-row:last-child {
    border-bottom: 0;
}

.venue-info-label {
    padding: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.venue-info-label-en {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--gray);
}

.venue-info-body {
    padding: 1rem;
    /* 管理端貼上的長網址與無空白的長字串不得撐破版面 */
    overflow-wrap: anywhere;
}

.venue-info-body > :last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .venue-info-label {
        border-right: 1px solid rgba(0, 0, 0, 0.08);
    }
}

/* 窄畫面標題改為單行小標:中英文並排,省下一整行高度 */
@media (max-width: 767.98px) {
    .venue-info-label {
        display: flex;
        align-items: baseline;
        gap: 0.4rem;
        padding-bottom: 0.25rem;
    }

    .venue-info-body {
        padding-top: 0.25rem;
    }
}

/*
 * 借用條件(租借對象、申請期限)
 *
 * 接在場館介紹之後,是使用者決定要不要申請的依據,故以粗體與上方留白與介紹文字分開。
 * 管理端貼進來的介紹結尾常帶一個空段落,margin-top 用相鄰兄弟間距會失準,直接給固定值。
 */
.venue-rental-notice {
    margin-top: 1rem;
    font-weight: 700;
    line-height: 1.8;
}

/*
 * 附件
 */

.venue-attach-list {
    margin-bottom: 0;
    padding-left: 1.2rem;
}

.venue-attach-list li + li {
    margin-top: 0.35rem;
}
