@charset "utf-8";
/**
 * TR포스트 / trole.net — 인터넷신문형 UI (tr_top)
 * Phase 5: 마스트헤드 · 메인 헤드라인 · 법정 푸터
 */

/* 다크 토글 임시 비활성 (스크립트·마크업은 유지) */
#theme_toggle_btn,
.theme-toggle-btn {
    display: none !important;
}

/* —— 마스트헤드 —— */
.tr-press-masthead {
    background: var(--press-masthead-bg, #fff);
    border-bottom: 3px solid var(--press-rule, #b91c1c);
    padding: 14px 0 12px;
}
.tr-press-masthead .inner {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 12px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}
.tr-press-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
    color: var(--color-text, #1a1a1a);
}
.tr-press-brand:hover,
.tr-press-brand:visited {
    text-decoration: none;
    color: var(--color-text, #1a1a1a);
}
.tr-press-brand__name {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--color-accent, #b91c1c);
}
.tr-press-brand__tag {
    font-size: 0.85rem;
    color: var(--color-text-muted, #6b6b6b);
    font-weight: 500;
}
.tr-press-meta {
    text-align: right;
    font-size: 0.82rem;
    color: var(--color-text-sub, #4a4a4a);
    line-height: 1.45;
    max-width: 58%;
}
.tr-press-meta strong {
    color: var(--color-text, #1a1a1a);
}
.tr-press-meta__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: baseline;
    gap: 4px 8px;
}
.tr-press-meta__wday {
    color: var(--color-text, #1a1a1a);
}
.tr-press-meta__sep {
    color: var(--color-text-muted, #6b6b6b);
}
.tr-press-meta__lunar {
    color: var(--color-text-sub, #4a4a4a);
    white-space: nowrap;
}
.tr-press-meta__ganzhi {
    margin-top: 2px;
    color: var(--color-accent, #b91c1c);
    font-weight: 600;
    font-size: 0.8rem;
}
.tr-press-meta__site {
    margin-top: 2px;
}
.aside_exchange_rates {
    margin-top: 25px;
    margin-bottom: 10px;
    padding-top: 10px;
}
.aside_latest {
    margin: 28px 0 3px;
    clear: both;
}
.aside_latest__title {
    position: relative;
    margin: 0 0 7px;
    padding: 0 28px 8px 0;
    /* border-bottom: 2px solid var(--press-rule, #b91c1c); */
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
}
.aside_latest__title a {
    color: var(--color-text, #1a1a1a);
    text-decoration: none;
}
.aside_latest__title span {
    color: var(--color-accent, #b91c1c);
}
.aside_latest__more {
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    color: #666 !important;
    font-size: 0.85rem;
}
.aside_latest__list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.aside_latest__list li {
    margin: 0;
    padding: 7px 0;
    border-bottom: 1px solid var(--color-border, #e5ecee);
}
.aside_latest__list li a {
    display: block;
    color: var(--color-text, #1a1a1a);
    text-decoration: none;
    line-height: 1.4;
    min-width: 0;
}
.aside_latest__list li a:hover .aside_latest__subj {
    color: var(--color-accent, #b91c1c);
}
.aside_latest__board {
    display: block;
    margin-bottom: 2px;
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-text-muted, #6b6b6b);
}
.aside_latest__subj {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.aside_latest__row {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}
.aside_latest__row .aside_latest__subj {
    flex: 1;
    min-width: 0;
}
.aside_latest__cmt {
    flex-shrink: 0;
    display: inline-block;
    padding: 0 4px;
    font-size: 0.7rem;
    line-height: 1.3;
    color: #555;
    background: #e9eff5;
    border-radius: 3px;
    vertical-align: middle;
}
.aside_latest__empty {
    padding: 16px 0;
    text-align: center;
    color: #888;
    font-size: 0.85rem;
    border-bottom: none !important;
}
.aside_exchange_rates .tr-exr__title,
.tr-press-brief-exr .tr-exr__title {
    margin: -2px 0 20px;
    padding: 0 0 8px;
    border-bottom: 2px solid var(--press-rule, #b91c1c);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-text, #1a1a1a);
    line-height: 1.3;
}

/* 탑바: 흰 바탕 + 얇은 적색 밑선 느낌 */
#tnb {
    background: #fff !important;
    border-bottom: 1px solid var(--color-border, #e2e2e2);
}

/* —— 메인 신문 레이아웃 —— */
.tr-press-main {
    clear: both;
    margin: 0 0 24px;
}
.tr-press-section-title {
    margin: 0 0 12px;
    padding: 0 0 8px;
    border-bottom: 2px solid var(--press-rule, #b91c1c);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-text, #1a1a1a);
}
.tr-press-section-title span {
    color: var(--color-accent, #b91c1c);
}
.tr-press-headline {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}
.tr-press-headline__lead .lat,
.tr-press-headline__side .lat {
    margin: 0;
}
.tr-press-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 2%;
    margin-bottom: 24px;
}
.tr-press-grid--promo {
    grid-template-columns: 1fr 1fr 220px;
    gap: 20px 16px;
}
.tr-press-grid .lt_wr {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}
.tr-press-promo__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}
.tr-press-promo__btn {
    display: block;
    padding: 14px 10px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    line-height: 1.45;
    box-sizing: border-box;
}
.tr-press-promo__btn strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
}
.tr-press-promo__btn span {
    display: block;
    margin-top: 4px;
    font-size: 0.8em;
    font-weight: 400;
    opacity: 0.95;
}
.aside_exchange_rates .tr-exr__grid,
.tr-press-brief-exr .tr-exr__grid {
    grid-template-columns: 1fr 1fr !important;
}
.tr-press-brief-row {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 20px 16px;
    margin-bottom: 22px;
    align-items: start;
}
.tr-press-brief {
    margin-bottom: 0;
    min-width: 0;
}
.tr-press-brief-exr {
    min-width: 0;
}
.tr-press-brief-exr .tr-exr {
    margin: 0;
}
.tr-press-gallery {
    clear: both;
    float: none;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 24px;
    padding-top: 8px;
}
.tr-press-gallery .pic_lt {
    width: 100%;
    margin-bottom: 0;
}
.tr-press-gallery .pic_lt .lat_title {
    display: none;
}
.tr-press-gallery .pic_lt ul {
    width: 100%;
    margin: 0 -8px;
    box-sizing: border-box;
}
.tr-press-gallery .pic_lt li {
    float: left;
    width: 20%;
    padding: 0 8px;
    box-sizing: border-box;
}
.tr-press-gallery .pic_lt li.galley_li:nth-child(5n+1) {
    clear: both !important;
}

/* —— 법정 푸터 —— */
.tr-press-ft-legal {
    clear: both;
    margin: 12px 0 16px;
    padding: 14px 0 0;
    border-top: 1px solid var(--color-border, #e2e2e2);
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--color-text-sub, #4a4a4a);
}
.tr-press-ft-legal strong {
    color: var(--color-text, #1a1a1a);
}
.tr-press-ft-links {
    margin: 8px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
}
.tr-press-ft-links a {
    color: var(--color-text-sub, #4a4a4a);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}
.tr-press-ft-links a:hover {
    color: var(--color-accent, #b91c1c);
    border-bottom-color: var(--color-accent, #b91c1c);
}

#ft_copy b {
    color: var(--color-accent, #b91c1c);
}

/* 등록 심사 준비: 사이드 비언론 프로모 축소 */
.aside_banner_press_hide {
    display: none !important;
}

@media (max-width: 1200px) {
    .tr-press-masthead .inner {
        width: 100%;
    }
    .tr-press-headline {
        grid-template-columns: 1fr;
    }
    .tr-press-brief-row,
    .tr-press-grid,
    .tr-press-grid--promo {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tr-press-brand__name {
        font-size: 1.55rem;
    }
}
