/* ==========================================
   newsletter.css
   뉴스레터 관련 스타일
   ========================================== */
   .productThumbTitTxt.flxBox{
   /*max-width:900px;*/
   }
/* ------------------------------------------
   모바일 목차 바 (1280 이하)
   ------------------------------------------ */
.nlMobileToc {
    display: none;
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 3; /* 모바일 서브헤더(4) 바로 아래 */
    background: #fff;
    border-bottom: 1px solid var(--gr150);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    /* 초기: 헤더 위로 숨겨진 상태 */
    transform: translateY(-110%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* 뷰어 진입 시 슬라이드 다운 */
.nlMobileToc.visible {
    transform: translateY(0);
    pointer-events: auto;
}

/* 1280: 헤더 128px */
@media (max-width: 1280px) {
    .nlMobileToc {
        display: block;
        top: 86px;
    }
}

/* 1024: 모바일 헤더 80px */
@media (max-width: 1024px) {
    .nlMobileToc { top: 80px; }
}

/* 720: 모바일 헤더 60px */
@media (max-width: 720px) {
    .nlMobileToc { top: 60px; }
}

/* 바 버튼 */
.nlMobileTocBar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    height: 44px;
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

/* 현재 섹션 텍스트 */
.nlMobileTocCurrent {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--gr700);
    font-size: 13px;
}

/* 화살표 */
.nlMobileTocChevron {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    position: relative;
}
.nlMobileTocChevron::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--gr900);
    border-bottom: 1.5px solid var(--gr900);
    transition: transform 0.2s;
}
.nlMobileToc.open .nlMobileTocChevron::before {
    transform: translate(-50%, -30%) rotate(-135deg);
}

/* 드롭다운 */
.nlMobileTocDropdown {
    display: none;
    background: #fff;
    max-height: 240px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gr150) transparent;
}
.nlMobileTocDropdown::-webkit-scrollbar { width: 3px; }
.nlMobileTocDropdown::-webkit-scrollbar-track { background: transparent; }
.nlMobileTocDropdown::-webkit-scrollbar-thumb { background: var(--gr150); border-radius: 99px; }

.nlMobileToc.open .nlMobileTocDropdown {
    display: block;
}

.nlMobileTocDropdown ul {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.nlMobileTocDropdown ul li {
    transition: background 0.15s;
}

.nlMobileTocDropdown ul li a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: var(--gr300);
    text-decoration: none;
    line-height: 1.5;
    word-break: keep-all;
    transition: color 0.15s;
}

.nlMobileTocDropdown ul li.on a {
    color: var(--gr900);
    font-weight: 600;
}

/* ------------------------------------------
   읽기 진행률 프로그레스바
   ------------------------------------------ */
.readingProgressBar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 9999;
    pointer-events: none;
}

.readingProgressFill {
    height: 100%;
    width: 0%;
    background: var(--pri700);
    border-radius: 0 2px 2px 0;
    transition: width 0.1s linear;
}





/* ------------------------------------------
   뉴스레터 히어로 스와이퍼 배너
   ------------------------------------------ */

.h1Title{
   font-size: 34px;
   line-height: 1.3;
   font-weight: 600;
   margin-top:20px;
   margin-bottom:16px;
   letter-spacing: -0.02em;
}
.nlHeroBannerWrap {
    position: relative;
    width: 100%;
    max-width: 1200px;
    overflow: hidden;       /* roundBoxES 라운드 클리핑 */
    margin-left: auto;
    margin-right: auto;
}

.nlHeroSwiper {
    width: 100%;
    height: fit-content;
}

.nlHeroSwiper .swiper-slide {
    width: 100%;
    height: fit-content;
}

.nlHeroSwiper .swiper-slide a {
    display: block;
    width: 100%;
}

.nlHeroSwiper .swiper-slide img {
    width: 100%;
    height: auto;
}

/* 불렛 — 왼쪽 하단 */
.nlHeroPagination {
    position: absolute !important;
    bottom:30px !important;
    left: 40px !important;
    right: auto !important;
    width: fit-content !important;
    height: fit-content;
    text-align: left !important;
    transform: none !important;
    z-index: 10;
    padding: 0;
}

.nlHeroPagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #00000029;
    opacity: 1;
    margin: 0 4px 0 0;
    border-radius: 50%;
    transition: background 0.2s;
}

.nlHeroPagination .swiper-pagination-bullet-active {
    background: #00000066;
}

/* ------------------------------------------
   뉴스레터 리스트 레이아웃
   ------------------------------------------ */


/* ------------------------------------------
   날짜 도트 캡션
   ------------------------------------------ */
.date_caption {
    position: relative;
    padding-left: 6px;
    margin-left: 6px;
    color: var(--gr300);
    font-weight:400;
}

.date_caption::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background-color: var(--gr200);
}

/* ------------------------------------------
   에디터 커스터마이징
   ------------------------------------------ */
/* 헤딩 드롭다운에서 H1 숨김 */
.toastui-editor-popup-add-heading button:first-child {
   display: none;
}

/* ------------------------------------------
   뉴스레터 상세보기 레이아웃
   ------------------------------------------ */
/* 뷰어 레이아웃 */
.newsLetterDetailAboutBox .detailAboutBox{
border-bottom:1px solid var(--gr150);
padding-bottom:60px;
margin-bottom:30px;
}

.nlHash{
	color:var(--gr300);
	font-weight: 400;
    line-height: 1.5;
}
.toastuiViewer{
   min-height: 400px;
}


/* 뉴스레터 상세보기 상단 이미지 박스 */
.nlDetailHeaderImgBox{
   overflow: hidden;
}

/* 3줄 요약 박스 */
.nlSummaryBox {
    padding: 24px 28px;
    margin-top: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--gr150);
}


.nlSummaryList {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nlSummaryList li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}

.nlSummaryList li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pri700);
    margin-top: 8px;
}

/* 목차 레이아웃 */
.indexshowDetailList{
   margin-bottom: 30px;
   max-height: 338px;
   overflow-y: auto;
   scrollbar-width: thin;
   scrollbar-color: var(--gr150) transparent;
}

.indexshowDetailList::-webkit-scrollbar {
    width: 3px;
}
.indexshowDetailList::-webkit-scrollbar-track {
    background: transparent;
}
.indexshowDetailList::-webkit-scrollbar-thumb {
    background: var(--gr150);
    border-radius: 99px;
}
.indexshowDetailList::-webkit-scrollbar-button {
    display: none;
}

.indexshowDetailFixedBox{
   border-radius: 0;
   border: none;
   padding-top: 0px;
}

/* 공유하기 버튼 — 상담하기와 형태 통일 */
.indexshowDetailFixedBox .share_btn {
    height: 48px;
    border-radius: 8px;
    border: 1px solid var(--gr200);
    background: #fff;
    justify-content: center;
    align-items: center;
    display: flex;
    width: 100%;
    font-size:15px;
}

.indexshowDetailFixedBox .share_btn:hover {
    color: var(--gr600) !important;
}

.indexshowDetailFixedBox .btnSytle01{
padding-left: 8px;
padding-right: 8px;
line-height: 1.2;
}

/* li > p 공통 (HTML 구조: li > p) */
.indexshowDetailList ul li{
    font-size: 13px;
    color: var(--gr300);
    margin: 0;
    margin-bottom: 4px;
    transition: background 0.15s, color 0.15s;
   border-left:2px solid var(--gr150);  
}


.indexshowDetailList ul li a{
   padding: 8px 8px 8px 16px;
   display: inline-block;
   width: 100%;
   height: fit-content;
}

/* active 상태 */
.indexshowDetailList ul li.active{
    color: var(--gr900);
    border-left:2px solid var(--pri700);  
}

/* active 상태 */
.indexshowDetailList ul li.active{
    color: var(--gr900);
    border-left:2px solid var(--pri700);  
}
.indexshowDetailList ul li.active p{
   font-weight: 600;
}

.indexshowDetailList ul li.active::before {
    background: var(--pri700);
}

/* ------------------------------------------
   카테고리 소개 카드
   ------------------------------------------ */
.categoryDescriptionBox {
    margin: 60px 0;
    border: 1px solid var(--gr150);
    padding: 20px;
}

.catDescCard {
    align-items: center;
    gap: 30px;
}

/* 썸네일 */
.catDescThumb {
   flex-shrink: 0;
   width: 120px;
   height: 120px;
   border-radius: 100%;
   overflow: hidden;
}

.catDescThumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* 뷰어 img 공통 스타일 덮어쓰기 */
    border-radius: 0 !important;
    margin: 0 !important;
}

/* 텍스트 영역 */
.catDescInfo {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.catDescBadge {
    color: var(--pri700);
    font-weight: 600;
}

.catDescTitle {
    font-size: 17px;
    color: var(--gr900);
    line-height: 1.4;
    word-break: keep-all;
    margin: 2px 0;
}

.catDescDesc {
    font-size: 14px;
    color: var(--gr400);
    line-height: 1.6;
    word-break: keep-all;
    margin: 0;
    /* 뷰어 p 공통 margin 덮어쓰기 */
    margin-bottom: 0 !important;
}

.catDescMore {
    display: inline-block;
    margin-top: 6px;
    color: var(--gr400);
    text-decoration: none;
    transition: color 0.15s;
    width: fit-content;
}

.catDescMore:hover {
    color: var(--pri700);
}

/* ------------------------------------------
   게시글 하단 네비게이션 (이전글 / 다음글 / 목록)
   ------------------------------------------ */
.nlPostNav {
    border-top: 1px solid var(--gr150);
    margin-top: 40px;
}
.nlPostNav .showCon_foot{
    justify-content: flex-start;
    margin-top: 40px;
    border: none;
}

/* 이전글 / 다음글 행 */
.nlPostNavItem {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gr150);
    text-decoration: none;
    transition: background 0.15s;
}


/* 방향 레이블 */
.nlPostNavDir {
    flex-shrink: 0;
    width: fit-content;
    text-align: center;
    color: var(--gr300);
}

.nlPostNavPrev .nlPostNavDir::before {
   content: '↑ ';
   margin-left: 8px;
   margin-right: 8px;
}
.nlPostNavNext .nlPostNavDir::before {
   content: '↓ ';
   margin-left: 8px;
   margin-right: 8px;
}

/* 글 제목 */
.nlPostNavTit {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 목록 버튼 영역 */
.nlPostNavListWrap {
    display: flex;
    justify-content: center;
    padding: 28px 0 8px;
}




/* ==========================================
토스트UI 스타일
   ========================================== */
   /* ============================================
   TUI 뷰어 커스텀 — Pretendard / 토스피드 스타일
   ============================================ */

#newsLetterViewer .toastui-editor-contents,
#editor .toastui-editor-contents {
   font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
   font-size: 17px;
   font-weight: 400;
   line-height: 1.8;
   color: var(--gr700);
   word-break: keep-all;
   overflow-wrap: break-word;
}

/* 제목 공통 */
#newsLetterViewer .toastui-editor-contents h1,
#newsLetterViewer .toastui-editor-contents h2,
#newsLetterViewer .toastui-editor-contents h3,
#newsLetterViewer .toastui-editor-contents h4,
#newsLetterViewer .toastui-editor-contents h5,
#newsLetterViewer .toastui-editor-contents h6,
#editor .toastui-editor-contents h1,
#editor .toastui-editor-contents h2,
#editor .toastui-editor-contents h3,
#editor .toastui-editor-contents h4,
#editor .toastui-editor-contents h5,
#editor .toastui-editor-contents h6 {
   font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
   font-weight: 600;
   color: var(--gr900);
   border: none;
   line-height: 1.4;
   margin: 40px 0 20px;
   word-break: keep-all;
}

#newsLetterViewer .toastui-editor-contents h1,
#editor .toastui-editor-contents h1 { font-size: 36px; }
#newsLetterViewer .toastui-editor-contents h2,
#editor .toastui-editor-contents h2 { font-size: 28px; }
#newsLetterViewer .toastui-editor-contents h3,
#editor .toastui-editor-contents h3 { font-size: 22px; }
#newsLetterViewer .toastui-editor-contents h4,
#editor .toastui-editor-contents h4 { font-size: 20px; }
#newsLetterViewer .toastui-editor-contents h5,
#editor .toastui-editor-contents h5 { font-size: 18px; }
#newsLetterViewer .toastui-editor-contents h1:first-child,
#newsLetterViewer .toastui-editor-contents h2:first-child,
#newsLetterViewer .toastui-editor-contents h3:first-child,
#newsLetterViewer .toastui-editor-contents h4:first-child,
#editor .toastui-editor-contents h1:first-child,
#editor .toastui-editor-contents h2:first-child,
#editor .toastui-editor-contents h3:first-child,
#editor .toastui-editor-contents h4:first-child {
    margin-top: 0;
}

/* 본문 */
#newsLetterViewer .toastui-editor-contents p,
#editor .toastui-editor-contents p {
   font-size: 17px;
   color: var(--gr700);
   margin: 0 0 20px;
   line-height: 1.8;
}

/* 리스트 */
#newsLetterViewer .toastui-editor-contents ul,
#newsLetterViewer .toastui-editor-contents ol,
#editor .toastui-editor-contents ul,
#editor .toastui-editor-contents ol {
   padding-left: 24px;
   margin: 0 0 20px;
}

#newsLetterViewer .toastui-editor-contents li,
#editor .toastui-editor-contents li {
   font-size: 17px;
   color: var(--gr700);
   line-height: 1.8;
   margin-bottom: 6px;
   position:relative;
}

/* 인용구 */
#newsLetterViewer .toastui-editor-contents blockquote,
#editor .toastui-editor-contents blockquote {
   border-left: 3px solid var(--col_pri);
   background: none;
   margin: 28px 0;
   padding: 24px;
   color: var(--gr600);
   font-size: 17px;
   font-style: normal;
   background: var(--gr100);
   border-radius: 8px;
}

#newsLetterViewer .toastui-editor-contents blockquote *:last-child,
#editor .toastui-editor-contents blockquote *:last-child{
   margin-bottom: 0;
}

/* 구분선 */
#newsLetterViewer .toastui-editor-contents hr,
#editor .toastui-editor-contents hr {
   border: none;
   border-top: 1px solid var(--gr150);
   margin: 40px 0;
}

/* 이미지 */
#newsLetterViewer .toastui-editor-contents img,
#editor .toastui-editor-contents img {
   max-width: 100%;
   display: block;
   margin: 28px auto;
}
#newsLetterViewer .toastui-editor-contents p:has(img) br
#editor .toastui-editor-contents p:has(img) br{
    display: none;
}
/*이미지 p 태그 내부에 있을때*/
#newsLetterViewer .toastui-editor-contents p img,
#editor .toastui-editor-contents p img {
   margin: 0px auto;
}

#newsLetterViewer .toastui-editor-contents p[data-nodeid="1"] img:first-child,
#editor .toastui-editor-contents p[data-nodeid="1"] img:first-child{
   margin-top: 0;
}

/* 링크 */
#newsLetterViewer .toastui-editor-contents a,
#editor .toastui-editor-contents a {
   color: var(--col_pri);
   text-decoration: underline;
   text-underline-offset: 3px;
}

#newsLetterViewer .toastui-editor-contents a:hover,
#editor .toastui-editor-contents a:hover {
   opacity: 0.75;
}

/* 인라인 코드 */
#newsLetterViewer .toastui-editor-contents code,
#editor .toastui-editor-contents code {
   font-family: 'Pretendard', monospace;
   font-size: 15px;
   background: var(--gr100);
   color: var(--col_pri);
   padding: 2px 6px;
   border-radius: 4px;
}

/* 코드 블록 */
#newsLetterViewer .toastui-editor-contents pre,
#editor .toastui-editor-contents pre {
   background: var(--gr100);
   border-radius: 8px;
   padding: 20px;
   margin: 24px 0;
   overflow-x: auto;
}

#newsLetterViewer .toastui-editor-contents pre code,
#editor .toastui-editor-contents pre code {
   background: none;
   color: var(--gr700);
   padding: 0;
   font-size: 14px;
   line-height: 1.7;
}

/* 표 스크롤 래퍼 */
.tableScrollOuter {
    position: relative;
    margin: 28px 0;
}
.tableScrollOuter::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.92));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}
.tableScrollOuter.overflowing::after {
    opacity: 1;
}
.tableScrollWrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* 얇고 연한 가로 스크롤바 */
    scrollbar-width: thin;
    scrollbar-color: var(--gr200) transparent;
    cursor: grab;
}
.tableScrollWrap:active {
    cursor: grabbing;
}

/* PC: 네이티브 스크롤바 */
.tableScrollWrap::-webkit-scrollbar {
    height: 4px;
}
.tableScrollWrap::-webkit-scrollbar-track {
    background: transparent;
}
.tableScrollWrap::-webkit-scrollbar-thumb {
    background: var(--gr200);
    border-radius: 99px;
}
.tableScrollWrap::-webkit-scrollbar-button {
    display: none;
}

/* 모바일: 네이티브 스크롤바 숨김 → 커스텀으로 대체 */
@media (max-width: 1024px) {
    .tableScrollWrap {
        scrollbar-width: none;
    }
    .tableScrollWrap::-webkit-scrollbar {
        display: none;
    }
}

/* 커스텀 스크롤바 (모바일 크로스브라우징) */
.tableCustomScrollTrack {
    display: none;
    height: 4px;
    background: var(--gr100);
    border-radius: 99px;
    margin-top: 6px;
    position: relative;
}
.tableCustomScrollThumb {
    height: 100%;
    background: var(--gr200);
    border-radius: 99px;
    position: absolute;
    top: 0;
    left: 0;
    min-width: 24px;
    will-change: transform;
    cursor: grab;
    user-select: none;
}
.tableCustomScrollThumb:active,
.tableCustomScrollThumb.dragging {
    cursor: grabbing;
    background: var(--gr400);
}
.tableScrollOuter.has-overflow .tableCustomScrollTrack {
    display: block;
}

/* 표 */
#newsLetterViewer .toastui-editor-contents table,
#editor .toastui-editor-contents table {
   min-width: 100%;
   width: max-content;
   border-collapse: collapse;
   margin: 0;
   font-size: 15px;
}

#newsLetterViewer .toastui-editor-contents table p,
#editor .toastui-editor-contents table p{
	margin-bottom:0;
}

#newsLetterViewer .toastui-editor-contents th,
#editor .toastui-editor-contents th {
   background: var(--gr100);
   color: var(--gr900);
   font-weight: 600;
   padding: 8px;
   border: 1px solid var(--gr200);
   text-align: left;
}

#newsLetterViewer .toastui-editor-contents td,
#editor .toastui-editor-contents td {
   padding: 8px;
   border: 1px solid var(--gr200);
   color: var(--gr700);
   vertical-align: top;
}

#newsLetterViewer .toastui-editor-contents tr:nth-child(even) td,
#editor .toastui-editor-contents tr:nth-child(even) td {
   background: var(--gr50);
}

/* 강조 */
#newsLetterViewer .toastui-editor-contents strong,
#editor .toastui-editor-contents strong {
   font-weight: 600;
   color: var(--gr900);
}

#newsLetterViewer .toastui-editor-contents em,
#editor .toastui-editor-contents em {
   font-style: normal;
   color: var(--gr600);
}

/* li 안의 p margin 제거 */
#newsLetterViewer .toastui-editor-contents ul > li > p,
#newsLetterViewer .toastui-editor-contents ol > li > p,
#editor .toastui-editor-contents ul > li > p,
#editor .toastui-editor-contents ol > li > p {
    margin: 0;
}

/* 불렛 위치 수정 */
#newsLetterViewer .toastui-editor-contents li::before,
#editor .toastui-editor-contents li::before {
    content: "";
    background-color: #ccc;
    border-radius: 50%;
    width: 5px;
    height: 5px;
    margin-left: -17px;
    margin-top: 11px;
    flex-shrink: 0;
    display: inline-block;
    position: absolute;
}

/* task-list-item — 체크박스 커스텀 */
#newsLetterViewer .toastui-editor-contents .task-list-item,
#editor .toastui-editor-contents .task-list-item {
    list-style: none;
    padding-left: 28px;
    position: relative;
}

/* 기본 dot 불렛 숨기기 */
#newsLetterViewer .toastui-editor-contents .task-list-item::before,
#editor .toastui-editor-contents .task-list-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: transparent;
    border: 1.5px solid var(--gr200);
    margin: 0;
    flex-shrink: 0;
}

/* 체크된 항목 — pri700 배경 + 체크 표시 */
#newsLetterViewer .toastui-editor-contents .task-list-item.checked::before,
#editor .toastui-editor-contents .task-list-item.checked::before {
    background: var(--pri700);
    border-color: var(--pri700);
    content: '';
}
#newsLetterViewer .toastui-editor-contents .task-list-item.checked::after,
#editor .toastui-editor-contents .task-list-item.checked::after {
    content: '';
    position: absolute;
    left: 9px;
    top: 50%;
    transform: translate(-50%, -55%) rotate(45deg);
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    border-radius: 1px;
}

/* 체크된 항목 텍스트 — 흐리게 */
#newsLetterViewer .toastui-editor-contents .task-list-item.checked p,
#editor .toastui-editor-contents .task-list-item.checked p {
    color: var(--gr300);
    text-decoration: line-through;
    text-decoration-color: var(--gr200);
}

/* 네이티브 체크박스 숨기기 */
#newsLetterViewer .toastui-editor-contents .task-list-item input[type="checkbox"],
#editor .toastui-editor-contents .task-list-item input[type="checkbox"] {
    display: none;
}


/* ------------------------------------------
   뉴스레터 제목 이미지 반응형
   ------------------------------------------ */
.nlHeroImg {  width: 100%; }
.nlHeroImg.onlyPC { display: block; }
.nlHeroImg.onlyMO { display: none; }

/* ------------------------------------------
   하단 고정 바 공유하기 버튼
   ------------------------------------------ */
.nlBottomBtnWrap {
    gap: 8px;
}
.indexshowDetailFixedBox .btnSytle01{
	font-size:15px;
}
  .nlBottomBtnWrap .btnSubShare::before{
    background: url(../images/icons/share_gr.svg) center center/contain no-repeat;
  }
  
  .btnSubShare {
      flex-shrink: 0;
      width: 48px;
      height: 48px;
      border-radius: 8px;
      border: 1px solid var(--gr200);
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0;
      gap: 0;
  }
  
/* ------------------------------------------
   추천 글 그리드 (newsLetterConRcomandBox)
   ------------------------------------------ */
.newsLetterConRcomandBox {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--gr150);
}

.nlRcomandTitle {
    font-size: 18px;
    font-weight: 700;
    color: var(--gr900);
    margin: 0 0 20px;
    word-break: keep-all;
}

/* 2열 그리드 */
.nlRcomandGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 카드 링크 */
.nlRcomandCard {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    text-decoration: none;
}

/* 썸네일 */
.nlRcomandThumb {
    /* flex: 0 0 240px;
    width: 240px; */
    flex: 0 0 220px;
    width: 220px;
    overflow: hidden;
    border-radius: 6px;
}

.nlRcomandThumb img {
    width: 100%;
    height: auto;
    display: block;
}

/* 텍스트 영역 (썸네일:텍스트 = 1:2.5) */
.nlRcomandTxt {
    flex: 1.5;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nlRcomandTxt .cap{
    font-size: 12px;
}

.nlRcomandTxt .nlRcomandMeta {
    font-size: 12px;
    color: var(--gr300);
}

.nlRcomandTxt .nlRcomandTitText {
    font-size: 18px;
    font-weight: 600;
    color: var(--gr900);
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0;
    margin-bottom: 8px;
}

.nlRcomandTxt .nlRcomandHash {
    font-size: 12px;
    color: var(--gr300);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-top: 2px;
}
.hashNotBreakBox span{
    color: var(--gr300);
}

  
  /* ==========================================
     미디어 쿼리
     ========================================== */
  /* ------------------------------------------
     1280px 이하
     ------------------------------------------ */
  @media (max-width: 1280px) {
  
      /* 뉴스레터 상세 본문 영역 너비 */
      .newsLetterTitTxt{
          margin-left: auto;
          margin-right: auto;
          max-width: 900px;
      }
  
      /*1280 브레드 크럼블 수정*/
      .newsLetterBreadCrumbleBox{
        width: 900px;
        margin-left:auto;
        margin-right: auto;
        padding:0;
      }
      /*1280 버튼영역 수정*/
      .indexshowDetailFixedBox{
        padding-top: 20px;
      }
      .indexshowDetailFixedBox .share_btn{
        margin-bottom: 0;
        width: 48px;
        font-size: 0;
        flex-shrink: 0;
        gap: 0;
      }
      .indexshowDetailFixedBox .btnSytle01{
        width: 100% !important;
        flex-shrink: 1;
      }
      .indexshowDetailList{
        display: none;
      }
      /* 카드 링크 */
        .nlRcomandCard {
            gap: 20px;
        }
        .nlRcomandGrid{
            gap: 40px;
        }

  
  }/*end of 1280*/
  @media (max-width: 1024px) {
  
      .nlHeroImg.onlyPC { display: none; }
      .nlHeroImg.onlyMO { display: block; }
  
      .h1Title{
          margin-top: 30px;
      }
  
     #newsLetterViewer .toastui-editor-contents h1:first-child,
     #newsLetterViewer .toastui-editor-contents h2:first-child,
     #newsLetterViewer .toastui-editor-contents h3:first-child,
     #newsLetterViewer .toastui-editor-contents h4:first-child,
     #editor .toastui-editor-contents h1:first-child,
     #editor .toastui-editor-contents h2:first-child,
     #editor .toastui-editor-contents h3:first-child,
     #editor .toastui-editor-contents h4:first-child {
        margin-top: 20px;
     }
     .newsLetterTitleWrap.onlyPC{
        display: none;
     }
     .hasSubHeroBox{
        margin-top: 8px;
        margin-bottom: 20px;
     }
    /* 카드 링크 */
    .nlRcomandGrid{
        grid-template-columns: 1fr;
    }

  }/*end of 1024*/
  @media (max-width: 720px) {
  
     .nlSummaryBox{
        padding: 16px 12px 16px 20px;
      }
     #newsLetterViewer .toastui-editor-contents p,
     #editor .toastui-editor-contents p{
        font-size: 16px;
      }
     #newsLetterViewer .toastui-editor-contents blockquote,
     #editor .toastui-editor-contents blockquote {
        padding: 16px 12px;
     }
     .h1Title{
        font-size: 24px;
      }
     #newsLetterViewer .toastui-editor-contents h1,
     #editor .toastui-editor-contents h1 { font-size: 24px; }
     #newsLetterViewer .toastui-editor-contents h2,
     #editor .toastui-editor-contents h2 { font-size: 20px; }
     #newsLetterViewer .toastui-editor-contents h3,
     #editor .toastui-editor-contents h3 { font-size: 18px; }
     #newsLetterViewer .toastui-editor-contents h4,
     #editor .toastui-editor-contents h4 { font-size: 17px; }
     #newsLetterViewer .toastui-editor-contents h5,
     #editor .toastui-editor-contents h5 { font-size: 16px; }
  
     .pSubTitle{
        margin-bottom: 16px;
     }
  
     #newsLetterViewer .toastui-editor-contents th,
     #editor .toastui-editor-contents th,
     #newsLetterViewer .toastui-editor-contents td,
     #editor .toastui-editor-contents td{
        font-size: 14px;
     }
     .catDescThumb{
        width: 60px;
        height: 60px;
     }
     .catDescTitle{
        font-size: 15px;
     }
     .catDescCard{
        gap: 20px;
        align-items: flex-start;
     }
     .categoryDescriptionBox{
        padding: 16px 12px;
     }
     .nlPostNav .showCon_foot{
        padding: 0;
     }
     
     .nlPostNav .gotoList,
     .nlPostNavTit,
     .nlHash{
        font-size: 14px;
     }
     
     .nlHeroPagination{
        bottom: 12px !important;
        left: 16px !important;
     }
     .nlHeroPagination .swiper-pagination-bullet{
        width: 6px;
        height: 6px;
        margin:  0 4px !important;
     }
  
    /* ------------------------------------------
        추천 글 그리드 (모바일)
        ------------------------------------------ */
    .nlRcomandGrid {
        grid-template-columns: 1fr;
    }
    .nlRcomandThumb {
        /* flex: 0 0 140px;
        width: 140px; */
        flex: 0 0 110px;
        width: 110px;
        border-radius:6px;
    }
    .nlRcomandTxt{
        gap: 0;
    }
    .nlRcomandTxt .nlRcomandTitText{
        font-size: 15px;
    }
    .nlRcomandCard .cap{
        font-size: 11px;
        margin-bottom: 4px;
    }
    .nlRcomandTxt .nlRcomandTitText{
        line-height: 1.3;
    }
    .nlRcomandCard {
       gap: 16px;
   	}
   	.nlRcomandGrid {
        gap: 20px;
    }

}/*end of 720*/

