/* ============================ 기사 페이지 custom ============================ */
/* ================================================= STICKY SIDEBAR ================================================= */

/* -------------------------------------------------
   body / html 스크롤 컨테이너 정상화
   - overflow-x: hidden 이 살아있으면 sticky 즉사함
-------------------------------------------------- */
body {
    overflow-x: visible !important;
    overflow-y: visible !important;
}

/* -------------------------------------------------
   메인 / 사이드바 높이 동기화 (flex)
-------------------------------------------------- */
.custom-single-layout .sidebar-sticky-wrap {
    position: relative;
    height: 100%;
}

.custom-single-layout .custom-single-sticky {
    position: sticky;
    top: 80px;
    z-index: 10;
}


.tdi_77 .td-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    column-count:initial;
}

/* 기자 네임카드 */
.reporter-card {
    margin: 24px 0;
    padding: 16px 18px;
    border: 1px solid #ccc;
    border-radius: 14px;
    background: #fff;
}

.reporter-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.reporter-card__profile {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.reporter-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    object-fit: cover;
    flex: 0 0 auto;
}

.reporter-card__meta {
    min-width: 0;
}

.reporter-card__name {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    text-decoration: none;
    color: inherit;
    font-weight: 800;
    line-height: 1.2;
    font-size: 16px;
    flex-wrap: wrap;
}

.reporter-card__name:hover {
    text-decoration: underline;
}



.reporter-card__suffix {
    font-weight: 700;
    font-size: 13px;
    opacity: 0.75;
}

.reporter-card__email {
    color: #333;
    font-size: .8rem;
}


.reporter-card__actions {
    flex: 0 0 auto;
}

.reporter-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    background: #e63946;
    color: #fff;
    white-space: nowrap;
}

.reporter-card__btn:hover {
    filter: brightness(0.95);
}

.reporter-card .reporter-card__list {
    margin: 12px 0 0;
    padding: 0 0 0 18px;
}

.reporter-card__item {
    margin: 6px 0;
}

.reporter-card__link {
    text-decoration: none;
    color: inherit;
    font-size: 14px;
    line-height: 1.4;
}

.reporter-card__link:hover {
    text-decoration: underline;
}


.tdi_66 a {
    min-width: initial;
}

.tdb-tags li a {
    border: 1px solid #333;
    padding: 4px;
    border-radius: 6px;
    color: #666;
    font-weight: 500 !important;
    display: block;
}

.tdb-tags li a:hover {
    border: 1px solid #000;

}

/* 공유하기 / 댓긃보기 버튼  */
.single-action-buttons {
    display: flex;
    gap: 12px;
    margin: 24px 0;
}

.action-btn {
    flex: 1;
    padding: 12px 0;
    border-radius: 6px;
    background: #fff;
    color: #111;
    font-size: 15px;
    border: 1px solid #111;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.action-btn:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

/* 글씨 크기 조절, 인쇄 버튼 */
.tdi_50 {
    align-items: center;
    flex-wrap: wrap;
}

.meta-tools {
    margin-left: auto;
    display: flex;
    gap: 6px;
    align-items: center;
}

.font-size-toggle {
    display: flex;
    gap: 6px;
    align-items: center;
}

.font-size-toggle button {
    width: 30px;
    height: 30px;
    border: 1px solid #111;
    background: #fff;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    transition: all 0.15s ease;
}

.font-size-toggle button[data-size="small"] {
    font-size: 14px;
    font-weight: 400;
}

.font-size-toggle button[data-size="large"] {
    font-size: 16px;
    font-weight: 700;
}

.font-size-toggle button:hover {
    background: #f5f5f5;
}

.font-size-toggle button.active {
    background: #111;
    color: #fff;
}

.print-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #111;
    background: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.print-btn:hover {
    background: #f5f5f5;
}

@media print {
    .meta-tools {
        display: none !important;
    }

    /* Google AdSense / 공통 광고 */
    ins.adsbygoogle,
    .adsbygoogle,
    iframe[src*="googleads"],
    iframe[src*="doubleclick"],
    iframe[src*="googlesyndication"] {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
    }
}




@media (max-width: 768px) {

    /*  모바일 sticky 해제 */
    .custom-single-layout .custom-single-sticky {
        position: static !important;
        top: auto;
    }

    /* 기자 네임카드 */
    .reporter-card {
        padding: 14px 14px;
    }

    .reporter-card__top {
        gap: 10px;
    }

    .reporter-card__btn {
        height: 32px;
        padding: 0 14px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .action-btn {
        font-size: 11px;
    }
}