@charset "UTF-8";
/* CSS Document */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/static/pretendard.css');

@font-face {
    font-family: 'Arita-buri-SemiBold-Narrow';
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/amore/Arita-buri-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

:root {
    --LINE-GAP: 40px;
    --DOUBLE-LINE-GAP: 80px;
    --TITLE-SIZE: 15pt;
    --TITLE-WEIGHT: 500;
    --TITLE-COLOR: #414249;
}

body, html {
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0;
}

*, *::before, *::after {
    box-sizing: inherit;
}

/* 전역 공통 링크: 안전하게(레이아웃 영향 없음) */
.link-block {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* 오버레이 전용(필요할 때만 붙여서 씀) */
.cover-abs {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit; /* 부모 라운드 그대로 */
}

.bom-thumb-link {
    display: block; /* 인라인 앵커 특성을 블록화 */
    line-height: 0; /* 공백 줄 제거 */
}

/* 이 컨테이너만 오버레이 기준점으로 */
.bom-main-thumb-container {
    position: relative;
}

.index-main {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.idx-main-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    flex-shrink: 0;
    min-width: 768px;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}

.bom-container {
    display: flex;
    flex-direction: row;
    gap: 0px;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.bom-main-thumb-container {
    border-radius: 10px 0px 0px 10px;
    align-self: stretch;
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #93a8aa;
    background-position: 50% 30%;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
}

.bom-main-thumb-container::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: var(--next-bg, none); /* JS가 --next-bg 로 채움 */
    transition: opacity 0.3s ease-in-out; /* 필요시 0.2s~0.6s 조정 */
    border-radius: inherit;
    pointer-events: none;
}

.bom-main-thumb-container.is-fading::after {
    opacity: 1;
}

/* 썸네일 교차 페이드용 임시 오버레이 (JS가 동적으로 생성/제거) */
.bom-thumb-overlay {
    position: absolute;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    border-radius: inherit; /* 필요 시 부모 라운드 상속 */
}

.bom-main-thumb {
    object-fit: contain;
}

.bom-sub-container {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.bom-sub-upper-frame {
    display: flex;
    flex-direction: row;
    gap: 0px;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.bom-thumb {
    flex: 1;
    height: auto;
    position: relative;
    overflow: hidden;
    object-fit: cover;
    aspect-ratio: 4/3;
    object-position: 50% 30%;
}

.bom-thumb-div {
    flex: 1;
    height: auto;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background-size: cover; /* 이미지가 영역을 꽉 채움 */
    background-position: center; /* 중앙 정렬 */
    background-repeat: no-repeat;
    background-position-y: 30%;
}

.bom-spacer-1 {
    background: #ffffff;
    align-self: stretch;
    flex-shrink: 0;
    width: 10px;
    position: relative;
    overflow: hidden;
}

.bom-spacer-2 {
    background: #ffffff;
    align-self: stretch;
    flex-shrink: 0;
    height: 10px;
    position: relative;
    overflow: hidden;
}

.bom-spacer-3 {
    background: #ffffff;
    align-self: stretch;
    flex-shrink: 0;
    width: 10px;
    position: relative;
    overflow: hidden;
}

.bom-main-thumb-container,
.bom-thumb {
    transition: opacity .2s ease;
}

.fade {
    opacity: .2;
}

.idx-lower-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.idx-contents-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.side-bar {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    width: 250px;
    position: relative;
    overflow: hidden;
}

.hot-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.hot-item-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.hot-thumb {
    border-radius: 8px;
    align-self: stretch;
    flex-shrink: 0;
    height: auto;
    position: relative;
    overflow: hidden;
    object-fit: cover;
    aspect-ratio: 4/3;
    border: 1px solid #ddd;
}

.hot-title {
    color: var(--theme-normal-text);
    text-align: left;
    font-family: "Pretendard", sans-serif;
    font-size: 12pt;
    font-weight: var(--TITLE-WEIGHT);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hot-desc {
    color: #666666;
    text-align: left;
    font-family: "Pretendard", sans-serif;
    font-size: 13px;
    font-weight: 500;
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.new-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}


.refresh-gallery {
    flex-shrink: 0;
    width: 22px;
    height: auto;
    position: relative;
    overflow: visible;
}

.new-gallery-frame {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.new-gallery-thumb-container {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.new-gallery-thumb {
    border-radius: 8px;
    border-style: solid;
    border-color: #c8c7c7;
    border-width: 1px;
    flex: 1;
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    object-fit: cover;
    aspect-ratio: 4/4;
    object-position: 50% 30%;
}

.new-gallery-info-container {
    background: #ffffff;
    padding: 5px 10px 5px 10px;
    display: flex;
    flex-direction: row;
    gap: 4px;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.new-gallery-like-icon {
    flex-shrink: 0;
    width: 12px;
    height: auto;
    position: relative;
    overflow: visible;
}

.new-gallery-like-num {
    color: #888888;
    text-align: left;
    font-family: "Pretendard", sans-serif;
    font-size: 12px;
    font-weight: 400;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.new-gallery-spacer {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 15px;
    position: relative;
    overflow: hidden;
}

.new-gallery-view-icon {
    flex-shrink: 0;
    width: 14px;
    height: auto;
    position: relative;
    overflow: visible;
}

.new-gallery-view-num {
    color: #888888;
    text-align: left;
    font-family: "Pretendard", sans-serif;
    font-size: 12px;
    font-weight: 400;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.new-gallery-info-2-container {
    padding: 5px 0px 5px 0px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.new-gallery-thumb-title {
    color: #333232;
    font-family: "Pretendard SemiCondensed", sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    width: 100%;
    height: auto;
    position: relative;
    white-space: nowrap; /* 줄바꿈 방지 */
    overflow: hidden; /* 넘치는 텍스트 숨김 */
    text-overflow: ellipsis; /* 말줄임표 (…) 표시 */
}

.new-gallery-created {
    color: #212121;
    text-align: left;
    font-family: "Pretendard", sans-serif;
    font-size: 13px;
    font-weight: 400;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.board-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.board-sub-container {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.board-new-container {
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.board-title-container {
    padding: 2px 0px 2px 0px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    height: 36px;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    height: var(--DOUBLE-LINE-GAP);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #cccccc;
}

.board-title {
    color: var(--TITLE-COLOR);
    text-align: left;
    font-family: "Pretendard", sans-serif;
    font-size: var(--TITLE-SIZE);
    font-weight: var(--TITLE-WEIGHT);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transform: translateY(10px);
}

.board-new-item-container {
    display: flex;
    flex-direction: row;
    gap: 12px;
    height: 36px;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    width: 100%;
    height: var(--LINE-GAP);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.ball {
    border-radius: 3px;
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    position: relative;
    overflow: hidden;
}

.new-board-title-container {
    display: flex;
    flex-direction: row;
    gap: 5px;
    height: 50px;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
}

.new_board_title {
    color: var(--theme-normal-text);
    text-align: left;
    font-family: "Pretendard SemiCondensed", sans-serif;
    font-size: 12pt;
    font-weight: 500;
    position: relative;
    width: 100%;
    min-width: 0; /* ★ 핵심: flex 아이템 수축 허용 */
    overflow: hidden; /* 이미 있으나 재확인 */
    white-space: nowrap; /* 이미 있음 */
    text-overflow: ellipsis; /* 이미 있음 */
}

.new_board_preix {
    font-size: 9pt;
    font-weight: 500;
    /*background: #ed7f24;*/
    color: #ffffff;
    padding: 2px 4px;
    border-radius: 8px;
}

.new_board_date {
    color: #565555;
    text-align: right;
    font-family: "Pretendard", sans-serif;
    font-size: 10pt;
    font-weight: 400;
    position: relative;
    width: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}


/*===================================================*/

/*ISSUE CONTAINER*/

/*===================================================*/

.issue-container {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.issue-title-container {
    display: flex;
    width: 100%;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    height: 40px;
    position: relative;
    overflow: hidden;
}

.issue-title {
    color: var(--theme-title-text);
    text-align: left;
    font-family: "Pretendard", sans-serif;
    font-size: var(--TITLE-SIZE);
    font-weight: var(--TITLE-WEIGHT);
    width: 100%;
}

.issue-content-container {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
}

.hot-issue-container {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.hot-issue-item-container {
    display: flex;
    width: 100%;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.hot-issue-thumb {
    width: 100px;
    border-radius: 8px;
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid #ccc;
}

.hot-issue-content-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.hot-issue-title {
    align-self: stretch;
    flex-shrink: 0;
    height: auto;
    position: relative;
    overflow: hidden;
    font-family: "Pretendard", sans-serif;
    font-size: 12pt;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.hot-issue-name {
    align-self: stretch;
    flex-shrink: 0;
    height: auto;
    position: relative;
    overflow: hidden;
    font-family: "Pretendard", sans-serif;
    font-size: 12pt;
    font-weight: 500;
}

.hot-issue-desc {
    align-self: stretch;
    flex: 1;
    height: auto;
    position: relative;
    overflow: hidden;
    font-family: "Pretendard", sans-serif;
    font-size: 11pt;
    font-weight: 500;
}

.ad-issue-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: space-between;
    align-self: stretch;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.ad-list-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    height: auto;
    position: relative;
    overflow: hidden;
}



/*===================================================*/

/*IDX CONTAINER*/

/*===================================================*/

.idx-title-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    flex 1;
    height: 50px;
    position: relative;
    overflow: hidden;
}

.idx-title {
    color: var(--TITLE-COLOR);
    text-align: left;
    font-family: "Pretendard", sans-serif;
    font-size: var(--TITLE-SIZE);
    font-weight: var(--TITLE-WEIGHT);
    position: relative;
    width: 100%;
    height: 50px;
    line-height: 50px;

}


.color_df {
    color: #5cae05;
}