@charset "UTF-8";
/* CSS Document */

body, html {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

*, *::before, *::after {
    box-sizing: inherit;
}

.right-block-container {
    padding-top: 45px;
    display: var(--gallery-side-block);
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    width: 250px;
    min-width: 250px;
    position: relative;
    overflow: hidden;
}

.side-event-container {
    display: flex;
    padding-top: 10px;
    padding-bottom: 10px;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

/*================================================*/
/*    Content*/
/*================================================*/

.content-container {
    position: relative;
    width: 100%;
    font-family: "Pretendard", sans-serif;
    font-size: 12pt;
    line-height: 170%;
    color: var(--theme-content-text, #000000);
    padding: 0 var(--content-side-padding);
}

.content-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: pointer;
}

/*================================================*/
/*    Topic info*/
/*================================================*/

.topic-info-container {
    background: #ffffff;
    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;
    border-bottom: 2px #CCCCCC solid;
    padding-bottom: 10px;
}
.topic-info-frame {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    justify-content: space-between;
    align-self: stretch;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.topic-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-flow: wrap;
    color: var(--theme-title-text);
    text-align: left;
    font-family: "Pretendard", sans-serif;
    font-size: 15pt;
    width: 100%;
    height: auto;
    line-height: 150%;
    font-weight: 500;
    position: relative;
    align-self: stretch;
    overflow: hidden;
    /*text-overflow: ellipsis;*/
    /*white-space: nowrap;*/
    padding: 0 var(--content-side-padding);
}

.bom-title-badge {
    width: 29px;
    height: auto;
    object-fit: contain;
}

.bom_medal {
    position: absolute;
    top: 24px;
    right: 20px;
    width: 80px;
    height: auto;
}

.bom_medal_image {
    width: 80px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(2px 2px 3px rgba(0,0,0,0.5));
}

.topic-location {
    color: var(--theme-title-text);
    text-align: left;
    font-family: "Pretendard", sans-serif;
    font-size: 13pt;
    font-weight: 500;
    position: relative;
    align-self: stretch;
    padding: 0 var(--content-side-padding);
    cursor: pointer;
}

.topic-info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--theme-normal-text);
    text-align: left;
    font-family: "Pretendard", sans-serif;
    font-size: 11pt;
    font-weight: 400;
    position: relative;
    align-self: stretch;
    padding: 0 var(--content-side-padding);
}
.writer-container {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 9px;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    width: auto;
    position: relative;
    overflow: hidden;
    padding-right: var(--content-side-padding);
}
.writer-avata {
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    justify-content: flex-end;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    position: relative;
    overflow: hidden;
    object-fit: cover;
}
.writer-name {
    color: #505050;
    text-align: center;
    font-family: "Pretendard", sans-serif;
    font-size: 11pt;
    font-weight: 400;
    position: relative;
}

.small-button-frame {
    background: #f0f0f0;
    border-radius: 8px;
    border-style: solid;
    border-color: #bfbebe;
    border-width: 1px;
    padding: 2px 8px 2px 8px;
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 24px;
}
.small-button-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    position: relative;
    overflow: visible;
}
.small-button-title {
    color: #000000;
    text-align: left;
    font-family: "Pretendard", sans-serif;
    font-size: 11pt;
    font-weight: 500;
    position: relative;
}

/*================================================*/
/*    Topic button*/
/*================================================*/

.editing-button-container {
    background: #ffffff;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.topic-button-frame {
    background: #f0f0f0;
    border-radius: 5px;
    border-style: solid;
    border-color: #565656;
    border-width: 1px;
    padding: 2px 5px 2px 5px;
    display: flex;
    flex-direction: row;
    gap: 2px;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.topic-button-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    overflow: visible;
}
.topic-button-title {
    color: #505050;
    text-align: left;
    font-family: "Pretendard", sans-serif;
    font-size: 10pt;
    font-weight: 500;
    position: relative;
}


/*==============================================*/
/*댓글 입력*/
/*==============================================*/

.wcmt-container,
.wcmt-container * {
    box-sizing: border-box;
}
.wcmt-container {
    width: 100%;
    padding: 40px 10px 40px 10px;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}
.wcmt-title {
    color: #000000;
    text-align: left;
    font-family: "Pretendard", sans-serif;
    font-size: 16px;
    font-weight: 500;
    position: relative;
}
.wcmt-input {
    width: 100%;
    padding: 10px;
    background: #fdfce5;
    border-radius: 8px;
    border: 1px solid var(--theme-blue);
    color: var(--theme-normal-text);
    font-family: "Pretendard", sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 150%;
    height: 112px;
    resize: none;
}
.wcmt-input:focus {
    outline: none;
    border: 2px solid var(--theme-blue);
}
.wcmt-upload {
    font-family: "Pretendard", sans-serif;
    font-size: 16px;
    font-weight: 500;
}
.wcmt-button-container {
    padding: 10px 0px 10px 0px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.wcmt-save-button {
    background: #f0f0f0;
    border-radius: 5px;
    border-style: solid;
    border-color: #000000;
    border-width: 1px;
    padding: 5px 10px 5px 10px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 110px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.wcmt-save-button-text {
    color: #505050;
    text-align: left;
    font-family: "Pretendard", sans-serif;
    font-size: 13px;
    font-weight: 500;
    position: relative;
}

div#mt_comments_block {
    width: 100%;
    min-width: 100%;
}

/*================================================*/
/*    Prefix */
/*================================================*/

.list-prefix {
    font-family: "Pretendard SemiCondensed", "Arial Narrow", "Helvetica Neue Condensed", "Tahoma", Arial, sans-serif;
    font-size: 8pt;
    font-weight: 700;
    padding: 1px 5px 1px 5px;
    border-radius: 6px;
    position: relative;
    bottom: 2px;
}

.list-prefix-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 29px;
    height: 18px;
    object-fit: contain;
}


/*================================================*/
/*    Restricted */
/*================================================*/

.restriced_container {
    width: 100%;
    height: auto;
    font-family: "Pretendard", sans-serif;
    font-size: 20pt;
    font-weight: 500;
    text-align: center;
    padding-top: 100px;
    line-height: 150%;
}


/* 링크 카드 전체: 세로 쌓기 + 가운데 정렬 */
.content-linkcard {
    display: block !important;         /* 좌우 배치용 flex/float 덮어쓰기 */
    text-decoration: none;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 0;                        /* 이미지가 꽉 차 보이게 */
    overflow: hidden;
}

.content-linkcard .thumb {
    width: 100%;
    margin: 0 0 10px 0;
}

.content-linkcard .thumb img {
    display: block;
    width: 100%;  /* 가로 폭에 맞춤 */
    height: auto; /* 세로 비율 자동 */
}

/* 텍스트 영역 가운데 정렬 */
.content-linkcard .body {
    padding: 12px 14px;
    text-align: center;
}
.content-linkcard .body .title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 6px;
}
.content-linkcard .body .desc {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
}
.content-linkcard .body .host {
    color: #999;
    font-size: 12px;
}

/* 모달 레이어 */
.imgv {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .9);
    z-index: 9999;
}

.imgv.is-open {
    display: flex;
}

.imgv__stage {
    max-width: 100vw;
    max-height: 90vh;
    margin: 0;
    text-align: center;
}

.imgv__img {
    max-width: 100vw;
    max-height: 85vh;
    object-fit: contain;
    user-select: none;
}

.imgv__cap {
    margin-top: .5rem;
    font-size: 12pt;
    color: #eee;
}

/* 닫기 버튼 */
.imgv__close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 32px;
    background: none;
    border: 0;
    color: #fff;
    cursor: pointer;
}

/* 좌/우 네비 */
.imgv__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 36px;
    background: rgba(0, 0, 0, .4);
    border: 0;
    color: #fff;
    width: 48px;
    height: 72px;
    cursor: pointer;
    line-height: 72px;
    text-align: center;
    border-radius: 4px;
    user-select: none;
}

.imgv__nav--prev {
    left: 4px;
}

.imgv__nav--next {
    right: 4px;
}

/* 작은 화면에서 터치 여백 확보 */
@media (max-width: 480px) {
    .imgv__nav {
        width: 44px;
        height: 64px;
        line-height: 64px;
        z-index: 10000;
    }
}

.imgv__img {
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.imgv.is-zoomed .imgv__img {
    cursor: grab;
}

.imgv.is-zoomed .imgv__img:active {
    cursor: grabbing;
}

.image-caption {
    text-align: center;
    font-style: italic;
    color: #777;
    margin: 0.5em auto;
}

.image-caption img {
    display: block;
    margin: 0 auto;
}

figure figcaption {
    margin-top: 3px;
    font-family: "Pretendard", sans-serif;
    font-weight: 500;
    font-size: 11pt;
    color: var(--theme-normal-text);
    text-align: center;
}

/* 전역 공통 링크: 안전하게(레이아웃 영향 없음) */
.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; /* 부모 라운드 그대로 */
}


/*================================================*/
/*    Mobile floating like icon*/
/*================================================*/

.floating-like-icon {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 20px;
    right: 20px;
    z-index: 20000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
}

.floating-comment-icon {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 80px;
    right: 20px;
    z-index: 200;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
}

.spon_banner_container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    width: 100%;
    max-height: 250px;
    height: auto;
    background: #FFFFFF;
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;

    @media (min-width: 767px) {
        display: none;
    }
}

.spon_banner_img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.spon-banner-left {
    width: 40%;
    height: auto;
}

.spon-banner-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: center;
    width: 60%;
}

.spon-banner-title {
    color: #333232;
    text-align: left;
    font-family: "Pretendard", sans-serif;
    font-size: 14pt;
    font-weight: 700;
    position: relative;
}

.main_banner_container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    width: 100%;
    max-height: 250px;
    height: auto;
    background: #e1d2d2;
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}