body {
    font-size: 0.92rem;
}

.post-content {
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-word;
}

.btn-xs {
    padding: 0.1rem 0.4rem;
    font-size: 0.75rem;
}

.navbar-brand {
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}

footer {
    font-size: 0.8rem;
}

.table th, .table td {
    vertical-align: middle;
}

/* =============================================
   모바일 하단 탭 네비게이션
   ============================================= */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #fff;
    border-top: 1px solid #dee2e6;
    display: flex;
    align-items: stretch;
    z-index: 1030;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
}

.mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    text-decoration: none;
    font-size: 0.65rem;
    gap: 2px;
    transition: color 0.15s;
}

.mobile-nav-item i {
    font-size: 1.35rem;
    line-height: 1;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: #0d6efd;
    text-decoration: none;
}

/* 모바일에서 하단 탭바 높이만큼 본문 여백 확보 */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 68px;
    }
}

/* =============================================
   게시판 사이드바 카테고리 (오프캔버스 대응)
   ============================================= */
.board-sidebar .list-group-item {
    padding: 0.45rem 0.85rem;
    font-size: 0.88rem;
    border-left: none;
    border-right: none;
}

.board-sidebar .list-group-item-light {
    background: #f8f9fa;
    color: #888;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.3rem 0.85rem;
}

.board-sidebar .list-group-item.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
    font-weight: 600;
}

/* 모바일 게시판 카테고리 버튼 */
.btn-board-filter {
    font-size: 0.8rem;
    padding: 0.3rem 0.75rem;
    white-space: nowrap;
}

/* Home Carousel 높이 */
.home-carousel .carousel-item {
    height: 280px;
}

@media (max-width: 767.98px) {
    .home-carousel .carousel-item {
        height: 180px;
    }
}
