@charset "UTF-8";

:root {
    --pr-bg-white: #ffffff;
    --pr-bg-light: #fbf9f6;
    --pr-bg-card-hover: #f5f2ec;

    --pr-text-primary: #171615;
    --pr-text-secondary: #54514d;
    --pr-text-muted: #9c9790;

    --pr-border-line: #eeedea;
    --pr-border-strong: #dedad2;
    --pr-point: #94684c;
    --pr-point-hover: #785036;

    --pr-transition: 0.26s cubic-bezier(0.2, 0, 0, 1);
}

.press-page {
    background-color: var(--pr-bg-white) !important;
    color: var(--pr-text-primary);
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    letter-spacing: -0.02em;
    -webkit-font-smoothing: antialiased;
}

.press-main-container {
    background-color: var(--pr-bg-white);
}

.max-layout-width {
    width: 100%;
    max-width: 1720px;
    margin: 0 auto;
    padding: 0 3.5rem;
    box-sizing: border-box;
}

.font-mono {
    font-family: 'Montserrat', sans-serif;
}

.reveal-element {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-element.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   1. HERO BANNER ZONE
   ========================================================================== */
.press-hero {
    position: relative;
    height: 56vh;
    min-height: 480px;
    width: 100%;
    background-color: #171615;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--pr-border-line);
    overflow: hidden;
}

.press-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/img/community/hero_03.png');
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
    animation: pressZoom 10s ease-out forwards;
}

@keyframes pressZoom {
    0% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.hero-overlay-filter {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23, 22, 21, 0.45) 0%, rgba(23, 22, 21, 0.82) 100%);
    pointer-events: none;
}

.press-hero-inner {
    position: relative;
    z-index: 5;
    padding-top: 3.5rem;
}

.eng-sub-badge {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: #dfd3c3;
    display: block;
    margin-bottom: 1.1rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.press-hero-title {
    font-family: 'Noto Serif KR', serif;
    font-size: clamp(2.8rem, 5.2vw, 4.4rem);
    font-weight: 700;
    margin: 0 0 1.2rem 0;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #ffffff;
    white-space: nowrap;
}

.solid-white {
    color: #ffffff;
}

.press-hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 680px;
    line-height: 1.8;
    margin: 0 0 1.8rem 0;
    word-break: keep-all;
}

.hero-watermark-code {
    font-family: 'Cinzel', serif;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

/* ==========================================================================
   2. PRESS BOARD AREA
   ========================================================================== */
.press-board-section {
    padding: 130px 0 140px;
    background-color: var(--pr-bg-white);
}

.section-lead-header {
    margin-bottom: 55px;
    border-left: 2px solid var(--pr-point);
    padding-left: 1.8rem;
}

.section-lead-tag {
    font-family: 'Cinzel', serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    color: var(--pr-point);
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-lead-title {
    font-family: 'Noto Serif KR', serif;
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--pr-text-primary);
    margin: 0 0 0.8rem 0;
    line-height: 1.3;
    letter-spacing: -0.03em;
}

.section-lead-sub-desc {
    font-size: 1.02rem;
    font-weight: 400;
    color: var(--pr-text-secondary);
    margin: 0;
    letter-spacing: -0.01em;
    word-break: keep-all;
}

.press-board-container {
    width: 100%;
}

.board-top-meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 16px;
}

.board-counter {
    font-size: 0.92rem;
    color: var(--pr-text-secondary);
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.board-counter span {
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--pr-point);
    letter-spacing: 0.1em;
}

.board-counter strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    color: var(--pr-text-primary);
    font-weight: 600;
}

.table-responsive-frame {
    width: 100%;
    overflow-x: auto;
    border-top: 2px solid var(--pr-point);
    border-bottom: 1px solid var(--pr-border-line);
}

.press-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--pr-bg-white);
}

.press-table th {
    padding: 18px 16px;
    font-family: 'Noto Serif KR', serif;
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--pr-text-primary);
    background: var(--pr-bg-light);
    border-bottom: 1px solid var(--pr-border-line);
    text-align: center;
    white-space: nowrap;
}

.press-table td {
    padding: 20px 16px;
    font-size: 0.95rem;
    color: var(--pr-text-secondary);
    border-bottom: 1px solid var(--pr-border-line);
    text-align: center;
    transition: background-color var(--pr-transition);
}

.press-table tbody tr {
    transition: background-color var(--pr-transition);
}

.press-table tbody tr:hover {
    background-color: var(--pr-bg-card-hover);
}

.td-subject {
    text-align: left !important;
    padding-left: 25px !important;
}

.td-subject a {
    color: var(--pr-text-primary);
    text-decoration: none;
    font-weight: 500;
    line-height: 1.5;
    word-break: keep-all;
    transition: color var(--pr-transition);
}

.td-subject a:hover {
    color: var(--pr-point);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.press-company-tag {
    color: var(--pr-point);
    font-weight: 600;
    margin-right: 6px;
}

.td-date {
    font-size: 0.88rem;
    color: var(--pr-text-muted);
}

.btn-press-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--pr-text-primary);
    text-decoration: none;
    border: 1px solid var(--pr-border-strong);
    padding: 6px 14px;
    border-radius: 2px;
    background-color: #ffffff;
    transition: all var(--pr-transition);
}

.btn-press-link .btn-arrow {
    font-style: normal;
    font-size: 0.9rem;
    color: var(--pr-text-muted);
    transition: transform var(--pr-transition), color var(--pr-transition);
}

.btn-press-link:hover {
    background-color: var(--pr-point);
    border-color: var(--pr-point);
    color: #ffffff;
}

.btn-press-link:hover .btn-arrow {
    color: #ffffff;
    transform: translate(2px, -2px);
}

.td-empty {
    text-align: center;
    padding: 60px 0;
    color: var(--pr-text-muted);
}

/* ==========================================================================
   3. BOARD PAGINATION COMPONENT
   ========================================================================== */
.board-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}

.btn-page {
    width: 40px;
    height: 40px;
    background: var(--pr-bg-white);
    border: 1px solid var(--pr-border-strong);
    color: var(--pr-text-secondary);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--pr-transition);
    user-select: none;
}

.btn-page:hover:not(.disabled) {
    background: var(--pr-point);
    border-color: var(--pr-point);
    color: #ffffff;
}

.btn-page.active {
    background: var(--pr-point);
    border-color: var(--pr-point);
    color: #ffffff;
    font-weight: 600;
}

.btn-page.arrow {
    font-size: 1.2rem;
}

.btn-page.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    border-color: var(--pr-border-line);
    background: var(--pr-bg-light);
    color: var(--pr-text-muted);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (min-width: 1440px) {
    .max-layout-width {
        padding: 0 3.5rem;
    }
    .press-board-section {
        padding: 130px 0 150px;
    }
}

@media (max-width: 1439px) and (min-width: 1024px) {
    .max-layout-width {
        padding: 0 2.5rem;
    }
    .press-hero {
        min-height: 420px;
    }
    .press-board-section {
        padding: 95px 0 110px;
    }
    .section-lead-header {
        margin-bottom: 40px;
    }
    .press-table th {
        padding: 16px 14px;
        font-size: 0.9rem;
    }
    .press-table td {
        padding: 18px 14px;
        font-size: 0.92rem;
    }
    .board-pagination {
        margin-top: 45px;
    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    .max-layout-width {
        padding: 0 2rem;
    }
    .press-hero {
        height: 48vh;
        min-height: 380px;
    }
    .press-hero-inner {
        padding-top: 3rem;
    }
    .press-board-section {
        padding: 80px 0 95px;
    }
    .section-lead-header {
        margin-bottom: 35px;
    }
    .section-lead-title {
        font-size: 2.1rem;
    }
    .press-table th {
        padding: 14px 10px;
        font-size: 0.88rem;
    }
    .press-table td {
        padding: 16px 10px;
        font-size: 0.9rem;
    }
    .td-subject {
        padding-left: 18px !important;
    }
    .board-pagination {
        margin-top: 40px;
        gap: 6px;
    }
    .btn-page {
        width: 36px;
        height: 36px;
        font-size: 0.86rem;
    }
}

@media (max-width: 767px) {
    .max-layout-width {
        padding: 0 1.5rem;
    }
    .press-hero {
        height: 44vh;
        min-height: 340px;
    }
    .press-hero-inner {
        padding-top: 2rem;
    }
    .eng-sub-badge {
        font-size: 0.74rem;
        letter-spacing: 0.22em;
        margin-bottom: 0.8rem;
        white-space: normal;
    }
    .press-hero-title {
        font-size: 2.4rem;
        white-space: normal;
    }
    .press-hero-desc {
        font-size: 0.94rem;
        line-height: 1.65;
        margin-bottom: 1rem;
    }
    .hero-watermark-code {
        font-size: 0.68rem;
        letter-spacing: 0.18em;
        white-space: normal;
    }
    .press-board-section {
        padding: 70px 0 80px;
    }
    .section-lead-header {
        margin-bottom: 30px;
        padding-left: 1.2rem;
        border-left-width: 2px;
    }
    .section-lead-tag {
        font-size: 0.72rem;
        margin-bottom: 6px;
    }
    .section-lead-title {
        font-size: 1.7rem;
        line-height: 1.3;
    }
    .section-lead-sub-desc {
        font-size: 0.92rem;
    }
    .board-top-meta {
        margin-bottom: 12px;
    }
    .board-counter {
        font-size: 0.85rem;
    }

    /* 모바일 환경: 번호 및 원문보기 컬럼 간소화 */
    .press-table colgroup col:nth-child(1),
    .press-table th:nth-child(1),
    .press-table td:nth-child(1),
    .press-table colgroup col:nth-child(4),
    .press-table th:nth-child(4),
    .press-table td:nth-child(4) {
        display: none !important;
    }

    .press-table colgroup col:nth-child(2) {
        width: 72% !important;
    }
    .press-table colgroup col:nth-child(3) {
        width: 28% !important;
    }

    .press-table th {
        padding: 12px 8px;
        font-size: 0.84rem;
    }
    .press-table td {
        padding: 14px 8px;
        font-size: 0.88rem;
    }
    .td-subject {
        padding-left: 10px !important;
    }
    .td-subject a {
        font-size: 0.9rem;
        line-height: 1.45;
    }
    .td-date {
        font-size: 0.8rem;
    }
    .board-pagination {
        margin-top: 35px;
        gap: 6px;
    }
    .btn-page {
        width: 34px;
        height: 34px;
        font-size: 0.82rem;
    }
    .btn-page.arrow {
        font-size: 1rem;
    }
}

@media (max-width: 479px) {
    .max-layout-width {
        padding: 0 1.25rem;
    }
    .press-hero {
        min-height: 300px;
    }
    .press-hero-inner {
        padding-top: 1.5rem;
    }
    .press-hero-title {
        font-size: 2rem;
    }
    .press-board-section {
        padding: 55px 0 65px;
    }
    .section-lead-header {
        margin-bottom: 24px;
        padding-left: 1rem;
    }
    .section-lead-title {
        font-size: 1.45rem;
    }
    .section-lead-sub-desc {
        font-size: 0.85rem;
    }
    .press-table colgroup col:nth-child(2) {
        width: 68% !important;
    }
    .press-table colgroup col:nth-child(3) {
        width: 32% !important;
    }
    .press-table th {
        padding: 10px 6px;
        font-size: 0.8rem;
    }
    .press-table td {
        padding: 12px 6px;
        font-size: 0.84rem;
    }
    .td-subject {
        padding-left: 6px !important;
    }
    .td-subject a {
        font-size: 0.85rem;
    }
    .td-date {
        font-size: 0.75rem;
    }
    .board-pagination {
        margin-top: 30px;
        gap: 4px;
    }
    .btn-page {
        width: 30px;
        height: 30px;
        font-size: 0.78rem;
    }
}