@charset "UTF-8";

/* ==========================================================================
   (주)두웰이엔지 - 공지사항 상세 (Clean Pure White & Monochrome / Max Weight 600)
   ========================================================================== */

:root {
    --nd-bg-white: #ffffff;
    --nd-bg-light: #f8f9fa;
    --nd-bg-card-hover: #f1f3f5;

    --nd-text-primary: #373a3c;
    --nd-text-secondary: #636c72;
    --nd-text-muted: #959da5;

    --nd-border-line: #dee2e6;
    --nd-border-strong: #373a3c;

    --nd-transition: 0.22s cubic-bezier(0.2, 0, 0, 1);
}

.notice-detail-page {
    background-color: var(--nd-bg-white) !important;
    color: var(--nd-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;
}

.notice-detail-main-container {
    background-color: var(--nd-bg-white);
}

.max-layout-width {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
    box-sizing: border-box;
}

.font-mono {
    font-family: 'Montserrat', sans-serif;
}

.reveal-element {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-element.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   1. HERO BANNER ZONE
   ========================================================================== */
.notice-hero {
    position: relative;
    height: 55vh;
    min-height: 460px;
    width: 100%;
    background-color: #000000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--nd-border-line);
    overflow: hidden;
}

.notice-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/img/community/notice_hero.png');
    background-size: cover;
    background-position: center;
    filter: none !important;
}

.hero-overlay-filter {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.90) 100%);
    pointer-events: none;
}

.notice-hero-inner {
    position: relative;
    z-index: 5;
    padding-top: 4rem;
}

.eng-sub-badge {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    color: rgba(255, 255, 255, 0.85);
    display: block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.notice-hero-title {
    font-size: clamp(3rem, 5.5vw, 4.8rem);
    font-weight: 600;
    margin: 0 0 1rem 0;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #ffffff;
    white-space: nowrap;
}

.solid-white {
    color: #ffffff;
}

.notice-hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 800px;
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    word-break: keep-all;
}

.hero-watermark-code {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

/* ==========================================================================
   2. NOTICE DETAIL CONTENT SECTION
   ========================================================================== */
.notice-detail-content-section {
    padding: 100px 0 140px;
    background-color: var(--nd-bg-white);
}

.notice-detail-card {
    background: var(--nd-bg-white);
    border: 1px solid var(--nd-border-line);
    border-top: 2px solid var(--nd-border-strong);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
}

.detail-header-block {
    padding: 3rem 3.5rem;
    background: var(--nd-bg-light);
    border-bottom: 1px solid var(--nd-border-line);
}

.detail-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.fixed-badge {
    background: var(--nd-border-strong);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 8px;
    letter-spacing: 0.05em;
    display: inline-block;
    flex-shrink: 0;
    border-radius: 2px;
}

.detail-headline {
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 600;
    color: var(--nd-text-primary);
    line-height: 1.4;
    margin: 0;
    letter-spacing: -0.02em;
    word-break: keep-all;
}

.detail-meta-matrix {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.9rem;
    color: var(--nd-text-secondary);
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item .lbl {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--nd-text-muted);
    letter-spacing: 0.05em;
}

.meta-item .val {
    color: var(--nd-text-primary);
    font-weight: 600;
}

.meta-dot {
    color: var(--nd-border-line);
    font-size: 0.8rem;
}

.detail-body-block {
    padding: 3.5rem;
    font-size: 1.02rem;
    color: var(--nd-text-secondary);
    line-height: 1.85;
    min-height: 280px;
    word-break: keep-all;
}

.detail-body-block strong {
    color: var(--nd-text-primary);
    font-weight: 600;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    border-left: 2px solid var(--nd-border-strong);
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-list li {
    position: relative;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--nd-text-secondary);
}

.detail-list li strong {
    color: var(--nd-text-primary);
    font-weight: 600;
}

/* ==========================================================================
   3. NOTICE PREV / NEXT NAVIGATION
   ========================================================================== */
.notice-navigation-matrix {
    margin-top: 30px;
    border-top: 1px solid var(--nd-border-line);
    border-bottom: 1px solid var(--nd-border-line);
    background: var(--nd-bg-white);
}

.nav-row {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    border-bottom: 1px solid var(--nd-border-line);
}

.nav-row:last-child {
    border-bottom: none;
}

.nav-direction {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--nd-text-muted);
    letter-spacing: 0.1em;
    width: 80px;
    flex-shrink: 0;
}

.nav-subject-wrap {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-link {
    color: var(--nd-text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--nd-transition);
}

.nav-link:hover {
    color: #000000;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.nav-empty {
    font-size: 0.9rem;
    color: var(--nd-text-muted);
}

/* ==========================================================================
   4. ACTION BUTTON CONTROLLER
   ========================================================================== */
.detail-action-wrap {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.btn-notice-back {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 45px;
    background: var(--nd-border-strong);
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid var(--nd-border-strong);
    text-decoration: none;
    transition: all var(--nd-transition);
}

.btn-notice-back .btn-arrow {
    font-style: normal;
    font-size: 1.1rem;
    transition: transform var(--nd-transition);
}

.btn-notice-back:hover {
    background: #ffffff;
    color: #000000;
}

.btn-notice-back:hover .btn-arrow {
    transform: translateX(-4px);
}

/* ==========================================================================
   반응형 미디어 쿼리
   ========================================================================== */
@media (min-width: 1440px) {
    .max-layout-width {
        padding: 0 3.5rem;
    }
    .notice-detail-content-section {
        padding: 120px 0 160px;
    }
}

@media (max-width: 1439px) and (min-width: 1024px) {
    .max-layout-width {
        padding: 0 2.5rem;
    }
    .notice-hero {
        min-height: 420px;
    }
    .notice-detail-content-section {
        padding: 90px 0 120px;
    }
    .detail-header-block {
        padding: 2.6rem 2.8rem;
    }
    .detail-body-block {
        padding: 3rem 2.8rem;
    }
    .detail-action-wrap {
        margin-top: 45px;
    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    .max-layout-width {
        padding: 0 2rem;
    }
    .notice-hero {
        height: 48vh;
        min-height: 380px;
    }
    .notice-hero-inner {
        padding-top: 3rem;
    }
    .notice-detail-content-section {
        padding: 75px 0 100px;
    }
    .detail-header-block {
        padding: 2.2rem 2.2rem;
    }
    .detail-headline {
        font-size: 1.55rem;
    }
    .detail-body-block {
        padding: 2.5rem 2.2rem;
        font-size: 0.98rem;
        min-height: 240px;
    }
    .nav-row {
        padding: 16px 20px;
    }
    .detail-action-wrap {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .max-layout-width {
        padding: 0 1.5rem;
    }
    .notice-hero {
        height: 42vh;
        min-height: 330px;
    }
    .notice-hero-inner {
        padding-top: 2rem;
    }
    .eng-sub-badge {
        font-size: 0.72rem;
        letter-spacing: 0.25em;
        margin-bottom: 0.7rem;
        white-space: normal;
    }
    .notice-hero-title {
        font-size: 2.4rem;
        white-space: normal;
    }
    .notice-hero-desc {
        font-size: 0.92rem;
        line-height: 1.65;
        margin-bottom: 1rem;
    }
    .hero-watermark-code {
        font-size: 0.65rem;
        letter-spacing: 0.15em;
        white-space: normal;
    }
    .notice-detail-content-section {
        padding: 55px 0 80px;
    }
    .detail-header-block {
        padding: 1.8rem 1.4rem;
    }
    .detail-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 14px;
    }
    .fixed-badge {
        font-size: 0.7rem;
        padding: 2px 7px;
    }
    .detail-headline {
        font-size: 1.35rem;
        line-height: 1.35;
    }
    .detail-meta-matrix {
        gap: 10px 14px;
        font-size: 0.84rem;
    }
    .meta-item .lbl {
        font-size: 0.72rem;
    }
    .detail-body-block {
        padding: 2rem 1.4rem;
        font-size: 0.94rem;
        line-height: 1.75;
        min-height: 200px;
    }
    .detail-list {
        margin: 1.2rem 0;
        padding-left: 1.2rem;
        gap: 10px;
    }
    .detail-list li {
        font-size: 0.9rem;
    }
    .notice-navigation-matrix {
        margin-top: 24px;
    }
    .nav-row {
        padding: 14px 16px;
        gap: 10px;
    }
    .nav-direction {
        width: 65px;
        font-size: 0.74rem;
    }
    .nav-link {
        font-size: 0.88rem;
    }
    .nav-empty {
        font-size: 0.85rem;
    }
    .detail-action-wrap {
        margin-top: 35px;
    }
    .btn-notice-back {
        width: 100%;
        justify-content: center;
        padding: 14px 0;
        font-size: 0.9rem;
        box-sizing: border-box;
    }
}

@media (max-width: 479px) {
    .max-layout-width {
        padding: 0 1rem;
    }
    .notice-hero {
        min-height: 290px;
    }
    .notice-hero-inner {
        padding-top: 1.5rem;
    }
    .notice-hero-title {
        font-size: 2rem;
    }
    .notice-detail-content-section {
        padding: 45px 0 65px;
    }
    .detail-header-block {
        padding: 1.5rem 1.15rem;
    }
    .detail-headline {
        font-size: 1.22rem;
    }
    .detail-meta-matrix {
        gap: 6px 10px;
        font-size: 0.8rem;
    }
    .detail-body-block {
        padding: 1.6rem 1.15rem;
        font-size: 0.9rem;
        line-height: 1.7;
    }
    .detail-list {
        padding-left: 1rem;
    }
    .detail-list li {
        font-size: 0.86rem;
    }
    .nav-row {
        padding: 12px 14px;
    }
    .nav-direction {
        width: 55px;
        font-size: 0.7rem;
    }
    .nav-link {
        font-size: 0.84rem;
    }
    .detail-action-wrap {
        margin-top: 28px;
    }
    .btn-notice-back {
        padding: 13px 0;
        font-size: 0.86rem;
    }
}