/*
Theme Name: 지윤이앤씨 IT LAB
Author: 지윤이앤씨
Description: 지윤이앤씨 IT LAB 제품 사이트 테마
Version: 1.0
*/

/* ── 컬러 변수 ── */
:root {
    --green:       #72B830;
    --green-light: #8FCC4A;
    --green-dark:  #1C4F00;
    --green-pale:  #F2FAE8;
    --white:       #FFFFFF;
    --gray-50:     #F9FAFB;
    --gray-100:    #F3F4F6;
    --gray-200:    #E5E7EB;
    --gray-500:    #6B7280;
    --gray-700:    #374151;
    --gray-900:    #111827;
}

/* ── 리셋 & 기본 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans KR', sans-serif; color: var(--gray-700); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ════════════════════════════════
   HEADER
════════════════════════════════ */
.topbar {
    background: var(--green-dark);
    color: rgba(255,255,255,0.7);
    font-size: 12.5px;
    padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: rgba(255,255,255,0.7); transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; gap: 20px; }

#header-placeholder {
    position: sticky;
    top: 0;
    z-index: 999;
}
.site-header {
    background: #fff;
    border-bottom: 3px solid var(--gray-200);
    transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.1); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.logo { display: flex; align-items: center; }
.logo img { height: 60px; width: auto; object-fit: contain; }

.main-nav { display: flex; align-items: center; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 18px;
    font-size: 17px;
    font-weight: 500;
    color: var(--gray-700);
    transition: color .2s;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}
.nav-link:hover, .nav-link.active { color: var(--green); border-bottom-color: var(--green); }

.dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: #fff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 24px 48px -12px rgba(17,24,39,.22), 0 4px 12px rgba(17,24,39,.06);
    min-width: 220px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s, transform .22s, visibility .22s;
    z-index: 100;
}
.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown a {
    display: block;
    padding: 13px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-700);
    white-space: nowrap;
    border-radius: 10px;
    transition: color .15s, background .15s, transform .15s;
}
.dropdown a:hover {
    color: var(--green);
    background: var(--green-pale);
    transform: translateX(4px);
}
.dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 2px;
}

.nav-arrow { display: none; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: .3s;
}

/* ════════════════════════════════
   PAGE BANNER (내부 페이지 공통)
════════════════════════════════ */
.page-banner {
    background: #7ec832;
    padding: 0;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(114,184,48,.15) 0%, transparent 60%);
}
.page-banner .container { position: relative; }
.page-banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}
.page-banner-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--green-dark);
    letter-spacing: -0.5px;
}
.page-banner h1 {
    font-size: 35px;
    font-weight: 500;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 16px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    color: rgba(255,255,255,.5);
}
.breadcrumb a { color: rgba(255,255,255,.5); transition: color .2s; }
.breadcrumb a:hover { color: rgba(255,255,255,.9); }
.breadcrumb-sep { color: rgba(255,255,255,.3); font-size: 17px; }
.breadcrumb span { color: rgba(255,255,255,.9); font-size: 17px; }

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
    position: relative;
    min-height: 550px;
    width: 60%;
    min-width: 1200px;
    overflow: hidden;
    margin: 32px auto 0;
    border-radius: 20px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity .9s ease;
    pointer-events: none;
}
.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    min-height: 550px;
}
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.52) 30%,
        rgba(0, 0, 0, 0.18) 60%,
        rgba(0, 0, 0, 0.0)  85%
    );
}
.hero-slide > .container { width: 100%; display: flex; justify-content: flex-start; position: relative; z-index: 2; }
.hero-content { max-width: 580px; }

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    transition: transform 0.8s ease;
    z-index: 0;
}
.hero:hover .slide-bg { transform: scale(1.06); }

.hero-slide.right > .container { justify-content: flex-end; }
.hero-slide.right .hero-content { text-align: right; }
.hero-slide.right .hero-badge { flex-direction: row-reverse; }
.hero-slide.right .hero-sub { justify-content: flex-end; }
.hero-slide.right::before {
    background: linear-gradient(
        to left,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.52) 30%,
        rgba(0, 0, 0, 0.18) 60%,
        rgba(0, 0, 0, 0.0)  85%
    );
}

.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    border: none;
    cursor: pointer;
    transition: all .3s;
    padding: 0;
}
.hero-dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    color: rgba(255,255,255,.9);
    font-size: 12.5px;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}
.hero-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green-light);
    flex-shrink: 0;
}
.hero h1 {
    font-size: 50px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -1px;
}
.hero h1 em { color: var(--green-light); font-style: normal; }
.hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,.75);
    margin-bottom: 12px;
    line-height: 1.7;
}
.hero-sub {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.hero-sub span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    color: rgba(255,255,255,.65);
}
.hero-sub span::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green-light);
    flex-shrink: 0;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
    background: var(--green-light);
    color: var(--green-dark);
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.btn-outline {
    border: 2px solid rgba(255,255,255,.4);
    color: rgba(255,255,255,.9);
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ════════════════════════════════
   SERVICES
════════════════════════════════ */
.services { padding: 88px 0; background: #fff; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.section-desc { font-size: 15px; color: var(--gray-500); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    border: 1.5px solid #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    transition: all .3s;
    cursor: pointer;
    display: block;
    color: inherit;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(114,184,48,.16);
    border-color: var(--green-light);
}
.service-thumb {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 96px;
    position: relative;
    overflow: hidden;
}
.service-thumb-tunnel,
.service-thumb-blast,
.service-thumb-tbm {
    background-size: cover;
    background-position: center;
}
.service-thumb-label {
    position: absolute;
    bottom: 12px;
    right: 14px;
    color: rgba(255,255,255,.5);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.service-body { padding: 28px; }
.service-number {
    font-size: 11px;
    font-weight: 700;
    color: var(--green-light);
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}
.service-card p {
    font-size: 13.5px;
    color: #3d4250;
    line-height: 1.75;
    margin-bottom: 20px;
}
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.service-tag {
    background: var(--green-pale);
    color: var(--green-dark);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
}

/* ════════════════════════════════
   STATS
════════════════════════════════ */
.stats {
    background: linear-gradient(135deg, var(--green-dark) 0%, #2d7200 100%);
    padding: 64px 0;
    margin: 0 500px;
    border-radius: 20px;
    overflow: hidden;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-item {
    text-align: center;
    padding: 24px 16px;
    border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 48px; font-weight: 900; color: #fff; line-height: 1; margin-bottom: 6px; }
.stat-number em { color: var(--green-light); font-style: normal; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.6); letter-spacing: .3px; }

/* ════════════════════════════════
   ABOUT (메인 홈 섹션)
════════════════════════════════ */
.about { padding: 88px 0; background: var(--green-pale); width: 60%; margin: 0 auto; border-radius: 20px; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--green);
    color: #fff;
    padding: 20px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(114,184,48,.4);
}
.about-img-badge strong { display: block; font-size: 28px; font-weight: 900; }
.about-img-badge span { font-size: 12px; opacity: .85; }
.about-content .section-tag { text-align: left; display: block; }
.about-content h2 { font-size: 32px; font-weight: 700; color: var(--gray-900); margin-bottom: 16px; letter-spacing: -.5px; }
.about-content > p { font-size: 14.5px; color: var(--gray-500); line-height: 1.85; margin-bottom: 28px; }
.about-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.about-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--gray-700); }
.check-icon {
    width: 22px;
    height: 22px;
    background: var(--green);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.check-icon::after {
    content: '';
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translate(1px, -1px);
    display: block;
}
.btn-green {
    background: var(--green);
    color: #fff;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .2s;
}
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); }

/* ════════════════════════════════
   NEWS
════════════════════════════════ */
.news { padding: 88px 0; background: #fff; }
.news-header-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.news-header-row .section-header { text-align: left; margin-bottom: 0; }
.view-all {
    color: var(--green);
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: gap .2s;
}
.view-all:hover { gap: 10px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { border: 1px solid var(--gray-200); border-radius: 14px; overflow: hidden; transition: all .25s; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.09); }
.news-card-top {
    background: var(--gray-50);
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.news-type {
    background: var(--green-pale);
    color: var(--green-dark);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: .5px;
}
.news-date { font-size: 12px; color: var(--gray-500); }
.news-body { padding: 22px 24px; }
.news-body h4 { font-size: 15px; font-weight: 600; color: var(--gray-900); margin-bottom: 8px; line-height: 1.5; }
.news-body p { font-size: 13px; color: var(--gray-500); line-height: 1.7; }

/* ════════════════════════════════
   CTA
════════════════════════════════ */
.cta-section {
    background: var(--gray-900);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0 500px;
    border-radius: 20px;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(114,184,48,.12) 0%, transparent 70%);
}
.cta-section > .container { position: relative; }
.cta-section h2 { font-size: 36px; font-weight: 700; color: #fff; margin-bottom: 12px; letter-spacing: -.5px; }
.cta-section p { font-size: 16px; color: var(--gray-500); margin-bottom: 36px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-cta-primary {
    background: var(--green);
    color: #fff;
    padding: 15px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    transition: all .2s;
}
.btn-cta-primary:hover { background: var(--green-light); color: var(--green-dark); }
.btn-cta-outline {
    border: 2px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.8);
    padding: 15px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all .2s;
}
.btn-cta-outline:hover { border-color: rgba(255,255,255,.5); color: #fff; }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
footer { width: 60%; margin: 0 auto; border-radius: 20px 20px 0 0; overflow: hidden; }
.footer-top { background: #f3f4f6; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; }
.footer-links-grid { display: contents; }
.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-brand p { font-size: 13px; color: var(--gray-500); line-height: 1.9; white-space: nowrap; }
.footer-col h5 {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--green-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13px; color: var(--gray-500); transition: color .2s; }
.footer-col ul li a:hover { color: var(--green); }
.footer-divider { border: none; border-top: 1px solid var(--gray-200); margin: 0; }
.footer-bottom { background: #f3f4f6; padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 12px; color: var(--gray-500); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: var(--gray-500); transition: color .2s; }
.footer-links a:hover { color: var(--gray-900); }

/* ════════════════════════════════
   스크롤 버튼
════════════════════════════════ */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: max(16px, min(calc((100vw - 1200px) / 2 - 62px), calc(20vw - 62px)));
    width: 46px;
    height: 46px;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .3s;
    z-index: 999;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--green-dark); transform: translateY(-2px); }
.scroll-top svg { width: 20px; height: 20px; }

/* ════════════════════════════════
   ABOUT US 페이지
════════════════════════════════ */
/* 회사 개요 */
.overview-section { padding: 88px 0; background: #fff; }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.overview-img {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: var(--gray-500);
    font-size: 15px;
    font-weight: 500;
}
.overview-img span:first-child { font-size: 48px; }
.overview-content .section-tag { text-align: left; display: block; }
.overview-content h2 { font-size: 32px; font-weight: 700; color: var(--gray-900); margin-bottom: 20px; letter-spacing: -.5px; }
.overview-content p { font-size: 14.5px; color: var(--gray-500); line-height: 1.9; margin-bottom: 16px; }
.overview-content p:last-of-type { margin-bottom: 0; }
.overview-points { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.overview-point h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.overview-point h4::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: var(--green);
    border-radius: 2px;
    flex-shrink: 0;
}
.overview-point p { font-size: 13.5px; color: var(--gray-500); line-height: 1.85; margin-bottom: 0; }

/* 핵심 가치 */
.values-section { padding: 88px 0; background: var(--green-pale); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 24px;
    text-align: center;
    border: 1px solid rgba(114,184,48,.2);
    transition: all .3s;
}
.value-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(114,184,48,.12); }
.value-icon {
    width: 64px;
    height: 64px;
    background: var(--green);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}
.value-card h3 { font-size: 17px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.value-card p { font-size: 13px; color: var(--gray-500); line-height: 1.75; }

/* CONTACTS 페이지 */
.contacts-section { padding: 72px 0 88px; background: #fff; }
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 56px;
    align-items: stretch;
}
.contacts-map-link {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    position: relative;
    cursor: pointer;
}
.contacts-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    display: block;
    min-height: 480px;
}
.contacts-map-overlay {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
    transition: background .2s;
}
.contacts-map-link:hover .contacts-map-overlay { background: var(--green-dark); }
.contacts-info { display: flex; flex-direction: column; }
.contacts-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
    letter-spacing: -.5px;
}
.contacts-list { display: flex; flex-direction: column; gap: 0; }
.contacts-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-200);
}
.contacts-item:first-child { border-top: 1px solid var(--gray-200); }
.contacts-icon {
    width: 40px;
    height: 40px;
    background: var(--green-pale);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    flex-shrink: 0;
    position: relative;
}
.contacts-icon.copyable { cursor: pointer; transition: background .2s; }
.contacts-icon.copyable:hover { background: var(--green); color: #fff; }
.contacts-icon.copied { background: var(--green-dark) !important; color: #fff !important; }
.copy-toast {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-900);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s;
}
.copy-toast.show { opacity: 1; }
.contacts-detail { display: flex; flex-direction: column; gap: 4px; }
.contacts-label { font-size: 11px; font-weight: 700; color: var(--green); letter-spacing: 1.5px; text-transform: uppercase; }
.contacts-value { font-size: 15px; color: var(--gray-700); line-height: 1.7; }
.contacts-sub { font-size: 14px; color: var(--gray-500); margin-bottom: 25px; }
.contacts-copy-hint {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 0;
    margin-top: -16px;
}

@media (max-width: 768px) {
    .contacts-grid { grid-template-columns: 1fr; }
    .contacts-map-img { min-height: 240px; }
}

/* CEO 인사말 페이지 */
.ceo-page-section { padding: 80px 0; background: #fff; }
.ceo-page-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 72px;
    align-items: start;
}
.ceo-page-photo {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 14px;
}
.ceo-page-content { display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }
.ceo-page-content p {
    font-size: 16px;
    color: var(--gray-700);
    line-height: 2;
}
.ceo-thanks {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    padding-bottom: 10px;
}
.ceo-page-signature {
    margin-top: 0;
    padding-top: 15px;
    border-top: 2px solid var(--green);
    display: flex;
    align-items: center;
    gap: 12px;
}
.ceo-page-title { font-size: 14px; color: var(--gray-500); }
.ceo-page-name { font-size: 22px; font-weight: 700; color: var(--gray-900); }

@media (max-width: 768px) {
    .ceo-page-grid { grid-template-columns: 1fr; }
    .ceo-page-content br { display: none; }
    .service-body br { display: none; }
}

/* 기업 비전 */
.vision-section { padding: 88px 0; background: #fff; }
.vision-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 80px; }
.vision-card {
    display: flex;
    align-items: center;
    gap: 24px;
}
.vision-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vision-text {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.vision-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--green);
}
.vision-sub {
    font-size: 18px;
    font-weight: 500;
    color: var(--gray-700);
}

/* 기업연혁 */
.timeline-section { padding: 0 0 88px; background: #fff; }
.timeline-section .section-header { text-align: left; }
.timeline {
    position: relative;
    padding-left: 48px;
    margin-top: 56px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}
.timeline-item { position: relative; padding-bottom: 10px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
    position: absolute;
    left: -55px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--green);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--green);
}
.timeline-year { font-size: 13px; font-weight: 700; color: var(--green); letter-spacing: 1px; margin-bottom: 6px; }
.timeline-item h3 { font-size: 18px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.timeline-item p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* ════════════════════════════════
   조직도
════════════════════════════════ */
.section-divider {
    border: none;
    border-top: 2px solid var(--gray-200);
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}

.org-section { padding: 88px 0; background: #fff; }

.org-tree { display: flex; flex-direction: column; align-items: center; }

/* 경영기획실 (대표) 노드 */
.org-ceo-box {
    background: var(--green-dark);
    color: #fff;
    border-radius: 14px;
    padding: 18px 52px;
    text-align: center;
}
.org-ceo-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: .7;
    margin-bottom: 6px;
}
.org-ceo-name { font-size: 22px; font-weight: 700; }

/* CEO → 수평바 수직선 */
.org-v-line {
    width: 2px;
    height: 36px;
    background: var(--gray-200);
}

/* 수평 연결바 — 첫째~넷째 컬럼 중심 사이만 표시 */
.org-h-bar {
    width: 100%;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent calc(12.5% - 8.5px),
        var(--gray-200) calc(12.5% - 8.5px),
        var(--gray-200) calc(87.5% + 8.5px),
        transparent calc(87.5% + 8.5px)
    );
}

/* 부서 그리드 */
.org-section .container { max-width: 1250px; }
.org-depts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.org-dept { display: flex; flex-direction: column; align-items: center; }

/* 수평바 → 각 부서 수직선 */
.org-dept-v {
    width: 2px;
    height: 28px;
    background: var(--gray-200);
}

/* 부서 카드 */
.org-dept-card {
    background: var(--green-pale);
    border: 1px solid rgba(114,184,48,.3);
    border-radius: 14px;
    padding: 22px 20px;
    width: 100%;
}
.org-dept-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--green-dark);
    text-align: center;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(114,184,48,.25);
}
.org-dept-tasks { display: flex; flex-direction: column; gap: 8px; }
.org-dept-tasks li {
    font-size: 13px;
    color: var(--gray-700);
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.org-dept-tasks li::before {
    content: '·';
    color: var(--green);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.1;
    flex-shrink: 0;
}

/* ════════════════════════════════
   반응형
════════════════════════════════ */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-img-wrap { order: -1; }
    .about-img-badge { right: 0; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .overview-grid { grid-template-columns: 1fr; }
    /* 태블릿: 고정 margin으로 섹션이 사라지는 문제 해결 */
    .hero { width: auto; min-width: 0; margin: 16px; }
    .stats { margin: 0 32px; }
    .cta-section { margin: 0 32px; }
    .about { width: auto; }
    footer { width: auto; }
}
@media (max-width: 768px) {
    .hero, .stats, .about, .cta-section, footer { margin: 0 12px; }
    .topbar { display: none; }
    .main-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 12px;
        box-shadow: 0 8px 24px rgba(0,0,0,.12);
        gap: 2px;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        z-index: 999;
    }
    .main-nav.open { display: flex; }
    .menu-toggle { display: flex; }
    /* 모바일 nav-item: 링크+화살표 가로, 드롭다운은 아래 */
    .nav-item { height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; }
    .nav-link {
        flex: 1;
        height: auto;
        padding: 13px 16px;
        border-radius: 8px;
        border-bottom: none;
        font-size: 15px;
        justify-content: flex-start;
    }
    .nav-link:hover, .nav-link.active {
        background: var(--green-pale);
        border-bottom-color: transparent;
    }
    /* 드롭다운 토글 전용 버튼 */
    .nav-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        font-size: 22px;
        color: var(--gray-500);
        cursor: pointer;
        padding: 13px 14px;
        transition: transform 0.2s, color 0.2s;
        line-height: 1;
        flex-shrink: 0;
    }
    .nav-arrow:hover { color: var(--green); }
    .nav-item.open > .nav-arrow { transform: rotate(90deg); color: var(--green); }
    /* 드롭다운은 전체 너비로 다음 줄에 */
    .nav-item .dropdown { flex-basis: 100%; }
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 8px;
        background: #fff;
        display: none;
        margin: 2px 0 6px;
        padding: 4px 8px;
        transition: none; /* display 전환 지연 방지 */
    }
    .dropdown::before { display: none; }
    .dropdown a { padding: 12px 16px 12px 28px; font-size: 16px; border-radius: 8px; }
    .dropdown a:hover { transform: none; }
    .nav-item.open .dropdown { display: block; }
    /* 데스크탑 :hover의 transform이 모바일에서 드롭다운을 화면 밖으로 밀어내는 문제 방지 */
    .nav-item:hover .dropdown { transform: none; }
    /* 오버레이 */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        top: 90px;
        background: rgba(0,0,0,.35);
        z-index: 998;
    }
    .nav-overlay.show { display: block; }
    /* 햄버거 → X 애니메이션 */
    .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    /* 히어로: min-width 1200px 제거 — 모바일 가로 스크롤의 핵심 원인 */
    .hero { min-width: 0; width: auto; min-height: 360px; padding: 0; }
    .hero-slide.active { min-height: 360px; }
    .hero h1 { font-size: 28px; }
    .hero-desc { font-size: 14px; }
    .hero-btns { flex-direction: column; gap: 10px; }
    .btn-primary, .btn-outline { width: 100%; justify-content: center; }
    .section-title { font-size: 26px; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
    .news-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-top { padding: 25px 0 0; }

    .cta-section h2 { font-size: 26px; }
    .page-banner h1 { font-size: 26px; }
    .page-banner-inner { flex-direction: column; align-items: stretch; padding: 16px 0; gap: 4px; }
    .page-banner-inner .breadcrumb { justify-content: flex-end; }
    .breadcrumb, .breadcrumb span, .breadcrumb-sep { font-size: 13px; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .vision-grid { grid-template-columns: 1fr; }
    .org-depts { grid-template-columns: repeat(2, 1fr); }
    .org-h-bar { display: none; }
    .org-v-line { display: none; }
    .org-dept-v { display: none; }
    .org-depts { margin-top: 20px; }
    .org-dept-name { font-size: 11.5px; white-space: nowrap; }
    .board-header { flex-direction: column; align-items: stretch; gap: 10px; }
    .board-search { max-width: 100%; width: 100%; }
    .board-search-select { flex: 0 0 auto; font-size: 13px; }
    .board-header-right { justify-content: space-between; }
    .view-header-top { flex-direction: column; gap: 4px; }
    .view-header-date { padding-top: 0; align-self: flex-end; }
    .view-actions { flex-direction: column; gap: 10px; }
    .view-actions-right { justify-content: flex-end; }
    .view-comment-avatar { display: none; }
    .view-comment-top { flex-direction: column; }
    .board-table thead th { font-size: 13px; }
    .board-table td { font-size: 14px; }
    .col-author, .col-date { display: none; }
    .col-title { width: auto; }
    /* 스크롤-탑 버튼: right 430px → 화면 안으로 */
    .scroll-top { right: 16px; bottom: 20px; }
    /* 사업 페이지 제목+문의하기 버튼 한 줄 유지 */
    .tb-detail-title { font-size: clamp(14px, 4.2vw, 20px); min-width: 0; }
    .tb-title-row .btn-green { padding: 9px 14px; font-size: 13px; white-space: nowrap; flex-shrink: 0; }
}

/* ════════════════════════════════
   NEWS 게시판
════════════════════════════════ */
.board-section { padding: 72px 0 88px; background: #fff; }

.board-search {
    display: flex;
    gap: 0;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    max-width: 560px;
    margin-left: 0;
    margin-right: auto;
}
.board-search-select {
    padding: 0 14px;
    font-size: 14px;
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--gray-700);
    background: var(--gray-50);
    border: none;
    border-right: 1px solid var(--gray-200);
    outline: none;
    cursor: pointer;
    min-width: 130px;
    appearance: auto;
}
.board-search-input {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
    font-size: 14px;
    font-family: 'Noto Sans KR', sans-serif;
    border: none;
    outline: none;
    color: var(--gray-900);
}
.board-search-input::placeholder { color: var(--gray-500); }
.board-search-btn {
    width: 44px;
    flex: 0 0 44px;
    background: var(--green);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    transition: background .2s;
}
.board-search-btn:hover { background: var(--green-dark); }

.board-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.board-header-right { display: flex; align-items: center; gap: 16px; }
.board-total { font-size: 14px; color: var(--gray-500); }
.board-total strong { color: var(--gray-900); font-weight: 700; }
.board-write-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--green);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    transition: background .2s;
}
.board-write-btn:hover { background: var(--green-dark); }

.board-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid var(--gray-900);
}
.board-table thead th {
    padding: 14px 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gray-700);
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    text-align: center;
}
.board-table tbody td {
    padding: 15px 12px;
    font-size: 15px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-200);
    text-align: center;
    vertical-align: middle;
}
.board-table tbody tr:hover { background: var(--green-pale); }
.notice-row { background: rgba(114,184,48,.07); }
.notice-row:hover { background: rgba(114,184,48,.13); }
.notice-badge {
    display: inline-block;
    background: var(--green);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    letter-spacing: .03em;
    white-space: nowrap;
}
.board-table .col-title { text-align: left; }
.board-table .col-title a {
    color: var(--gray-900);
    transition: color .2s;
}
.board-table .col-title a:hover { color: var(--green); }

.col-num   { width: 72px; }
.col-title { width: auto; }
.col-author { width: 150px; }
.col-date  { width: 110px; }
.col-views { width: 72px; text-align: center; }


/* ════════════════════════════════
   글쓰기 폼
════════════════════════════════ */
.write-section { padding: 72px 0 88px; background: #fff; }

.write-form {
    border-top: 2px solid var(--gray-900);
    margin-bottom: 0;
}
.write-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    border-bottom: 1px solid var(--gray-200);
}
.write-label {
    padding: 18px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    background: var(--gray-50);
    display: flex;
    align-items: center;
    gap: 4px;
}
.required { color: var(--green); font-size: 16px; line-height: 1; }
.write-field {
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}
.write-input {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    font-family: 'Noto Sans KR', sans-serif;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    outline: none;
    color: var(--gray-900);
    transition: border-color .2s;
}
.write-input:focus { border-color: var(--green); }
.write-input::placeholder { color: var(--gray-500); }
.write-input-sm { max-width: 320px; }

.write-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-700);
    cursor: pointer;
    user-select: none;
}
.write-checkbox { display: none; }
.write-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--gray-200);
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s;
}
.write-checkbox:checked + .write-checkbox-custom {
    background: var(--green);
    border-color: var(--green);
}
.write-checkbox:checked + .write-checkbox-custom::after {
    content: '';
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
    display: block;
}

.write-hint { font-size: 12.5px; color: var(--gray-500); margin: 0; }
.write-notice { font-size: 12px; color: var(--gray-500); margin-top: 4px; }

.write-tag-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.write-tag-label { font-size: 12.5px; color: var(--gray-500); white-space: nowrap; }
.write-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.write-tag-chip {
    padding: 4px 12px;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    font-size: 12.5px;
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--gray-700);
    background: #fff;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
}
.write-tag-chip:hover { background: var(--green-pale); border-color: var(--green); color: var(--green); }

.write-file-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.write-file-input { display: none; }
.write-file-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    font-size: 13.5px;
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--gray-700);
    cursor: pointer;
    transition: background .2s, border-color .2s;
    white-space: nowrap;
}
.write-file-btn:hover { background: var(--gray-100); border-color: var(--gray-500); }
.write-file-name { font-size: 13px; color: var(--gray-500); }
.write-file-remove {
    background: none;
    border: none;
    font-size: 13px;
    color: var(--gray-500);
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: color .2s;
}
.write-file-remove:hover { color: #e53e3e; }

.write-add-attach {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    background: none;
    border: 1px dashed var(--gray-200);
    border-radius: 6px;
    font-size: 13px;
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--gray-500);
    cursor: pointer;
    transition: border-color .2s, color .2s;
    margin-top: 4px;
}
.write-add-attach:hover { border-color: var(--green); color: var(--green); }

.write-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}
.write-btn-back {
    display: inline-flex;
    align-items: center;
    padding: 12px 32px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
    background: #fff;
    transition: background .2s, border-color .2s;
}
.write-btn-back:hover { background: var(--gray-50); border-color: var(--gray-500); }
.write-btn-save {
    padding: 12px 32px;
    background: var(--green);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
    color: #fff;
    cursor: pointer;
    transition: background .2s;
}
.write-btn-save:hover { background: var(--green-dark); }

.write-textarea {
    width: 100%;
    height: 320px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--gray-900);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    outline: none;
    resize: none;
    overflow-y: auto;
    line-height: 1.7;
    transition: border-color .2s;
}
.write-textarea:focus { border-color: var(--green); }
.write-textarea::placeholder { color: var(--gray-500); }

/* ════════════════════════════════
   글 보기 (view)
════════════════════════════════ */
.view-section { padding: 72px 0 88px; background: #fff; }

.view-header {
    border-top: 2px solid var(--gray-900);
}
.view-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0 14px;
}
.view-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.5;
}
.view-header-date {
    font-size: 13px;
    color: var(--gray-500);
    white-space: nowrap;
    flex-shrink: 0;
    padding-top: 4px;
}
.view-header-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--gray-200);
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}
.view-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13.5px;
    color: var(--gray-500);
}
.view-meta-sep { color: var(--gray-200); font-size: 13px; }

.view-body {
    min-height: 70px;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 15px;
    color: var(--gray-700);
    line-height: 2;
}

.view-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-200);
}
.view-tag {
    font-size: 13px;
    color: var(--green);
    background: var(--green-pale);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.view-actions {
    display: flex;
    justify-content: space-between;
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-200);
}
.view-actions-left, .view-actions-right {
    display: flex;
    gap: 8px;
}
.view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    font-size: 14px;
    color: var(--gray-700);
    background: #fff;
    transition: background .2s, border-color .2s;
}
.view-btn:hover { background: var(--gray-50); border-color: var(--gray-500); }
.view-btn-reply {
    margin-left: auto;
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}
.view-btn-reply:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.view-btn-delete { border-color: #e53e3e; color: #e53e3e; }
.view-btn-delete:hover { background: #e53e3e; color: #fff; }

/* 댓글 */
.view-comment-section { margin-top: 48px; }
.view-comment-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
}
.view-comment-title span { color: var(--green); }

.view-comment-form {
    display: flex;
    gap: 14px;
    padding: 20px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    margin-bottom: 20px;
}
.view-comment-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gray-200);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
}
.view-comment-inputs { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.view-comment-top { display: flex; gap: 8px; }
.view-comment-input {
    flex: 1;
    padding: 9px 12px;
    font-size: 13.5px;
    font-family: 'Noto Sans KR', sans-serif;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    outline: none;
    background: #fff;
    color: var(--gray-900);
    transition: border-color .2s;
}
.view-comment-input:focus { border-color: var(--green); }
.view-comment-input::placeholder { color: var(--gray-500); }
.view-comment-textarea {
    width: 100%;
    height: 90px;
    padding: 10px 12px;
    font-size: 13.5px;
    font-family: 'Noto Sans KR', sans-serif;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    outline: none;
    resize: none;
    background: #fff;
    color: var(--gray-900);
    line-height: 1.7;
    transition: border-color .2s;
}
.view-comment-textarea:focus { border-color: var(--green); }
.view-comment-textarea::placeholder { color: var(--gray-500); }
.view-comment-bottom { display: flex; justify-content: flex-end; }
.view-comment-submit {
    padding: 9px 22px;
    background: var(--green);
    border: none;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
    color: #fff;
    cursor: pointer;
    transition: background .2s;
}
.view-comment-submit:hover { background: var(--green-dark); }

.view-comment-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 48px 0;
    color: var(--gray-500);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
}
.view-comment-empty p { font-size: 14px; }

