@charset "utf-8";

/* -----------------------------------------------------------
 * 공통 영역
 ----------------------------------------------------------- */
/* 타이포그래피 */
.f-de { 
    font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;
}
.f-sm { 
    font-size: 0.875rem;
}
.f-xs { 
    font-size: 0.75rem;
}

/* 리스트 페이지 (list) */
#bo_list {
    line-height: 1.5;
}
#bo_list .na-title {
    font-size: inherit;
}

/* 텍스트 관련 */
.text-break-all {
    word-break: break-all;
}

.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 여백 관련 */
.nw-6 { 
    min-width: 60px; 
}

/* 테두리 관련 */
.border-top { 
    border-top: 1px solid #dee2e6 !important; 
}
.border-bottom { 
    border-bottom: 1px solid #dee2e6 !important; 
}

/* flex 관련 */
.d-flex {
    display: flex !important;
}
.flex-grow-1 {
    flex-grow: 1 !important;
}
.align-items-center {
    align-items: center !important;
}

/* 태그 */
#bo_tag .nav-link.active { 
    background:#fff; 
    border-bottom:1px solid #fff; 
}

/* -----------------------------------------------------------
 * 목록 페이지 (list)
 ----------------------------------------------------------- */
/* 기본 리스트 스타일 */
@media all and (max-width:767px) {
    .responsive #bo_list .float-left.float-md-none {
        margin-right:1.0rem;
    }
    .responsive #bo_list .na-title {
        margin-bottom:0.14rem;
    }
}

/* 갤러리 스타일 */
#bo_gallery .chk-box {
    position:absolute;
    bottom:5px;
    right:10px;
    z-index:2;
}
#bo_gallery .wr-now {
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    background:rgba(0,0,0,0.75);
    z-index:1;
}

/* 웹진 스타일 */
#bo_webzine .chk-box {
    position:absolute;
    bottom:5px;
    right:10px;
    z-index:2;
}
#bo_webzine .wr-now {
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    background:rgba(0,0,0,0.75);
    z-index:1;
}

/* ------------------------------------------------------------
 * 반응형 유틸리티
------------------------------------------------------------ */
@media (max-width: 767px) {
    /* 모바일에서 숨김 */
    .d-none {
        display: none !important;
    }
    
    /* 모바일에서만 보임 */
    .d-block-mobile {
        display: block !important;
    }

    /* 모바일 여백 조정 */
    .px-3 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* 테이블 반응형 */
    .table-responsive-mobile {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ------------------------------------------------------------
 * 접근성
------------------------------------------------------------ */
/* 포커스 표시 */
.nofocus:focus {
    outline: none !important;
}

/* 스크린리더 전용 텍스트 */
.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* ------------------------------------------------------------
 * 테마 기본
------------------------------------------------------------ */
/* 기본 링크 색상 */
a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: #007bff;
    text-decoration: none;
}

/* 기본 트랜지션 */
.transition {
    transition: all 0.3s ease;
}