/* 1. 기본 설정 및 폰트 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    word-break: keep-all; 
    line-height: 1.7;
    color: #1f2937;
    background-color: #fff;
    padding-top: 80px; 
    letter-spacing: -0.02em;
}

/* 2. 상단 네비게이션 (점 제거 및 간격 조정) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #f3f4f6;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 45px;
    width: auto;
}

/* 메뉴 리스트 설정 */
.nav-links {
    display: flex;         /* 가로로 나열 */
    list-style: none;      /* 중요: 리스트 앞의 점(•)을 지워줍니다 */
    gap: 50px;             /* 중요: 메뉴 사이 간격을 50px로 넓혔습니다 (기존 32px) */
    padding: 0;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #4b5563;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #007bff;
}

/* 3. 섹션 및 카드 레이아웃 */
.hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
    padding: 60px 20px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 24px;
}

.btn-main {
    display: inline-block;
    padding: 16px 32px;
    background-color: #007bff;
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
}

.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
}

footer {
    padding: 48px 20px;
    background-color: #f9fafb;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    color: #9ca3af;
}

/* 4. 반응형 디자인 */
@media (max-width: 768px) {
    body { padding-top: 130px; }
    .navbar { flex-direction: column; gap: 15px; }
    .nav-links { gap: 25px; } /* 모바일에서는 간격을 다시 적절히 조절 */
}

/* 서비스 카드 전용 스타일 */
.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 내용과 로고를 위아래로 분리 */
    min-height: 350px; /* 카드의 최소 높이를 맞춰 정렬을 깔끔하게 함 */
}

/* 카드 하단 로고 영역 */
.card-footer-logo {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6; /* 로고 위쪽 구분선 */
    text-align: right; /* 로고를 오른쪽으로 정렬 (참고 사이트 스타일) */
}

.card-footer-logo img {
    height: 30px; /* 카트 내 로고는 작고 깔끔하게 */
    width: auto;
    filter: grayscale(100%); /* 로고를 회색조로 처리하여 전문성 강조 */
    opacity: 0.6;
    transition: 0.3s;
}

/* 마우스 올렸을 때 로고 색상 복원 */
.card:hover .card-footer-logo img {
    filter: grayscale(0%);
    opacity: 1;
}

/* 파트너 섹션 스타일 */
/* 파트너 섹션 - 한 줄에 5개 고정 */
.partners-section {
    padding: 100px 20px;
    background-color: #ffffff;
}

.partners-grid {
    display: grid;
    /* 중요: 1fr(비율)을 5번 반복하여 무조건 5열로 만듦 */
    grid-template-columns: repeat(5, 1fr); 
    gap: 40px; /* 로고 사이 간격 */
    max-width: 1200px;
    margin: 0 auto;
}

.partner-item {
    display: flex;
    justify-content: center;
    align-items: center;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 0.3s ease;
    padding: 20px; /* 로고 주변 여백 */
}

.partner-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-5px);
}

.partner-item img {
    max-width: 100%; /* 칸 너비에 맞게 조절 */
    height: auto;
    max-height: 40px; /* 로고가 너무 커지지 않게 높이 제한 */
}

/* 모바일에서도 5개를 유지하면 너무 작아지므로, 모바일에서만 2~3개로 조절 */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr); /* 모바일에선 2개씩 */
        gap: 20px;
    }
}

/* 뉴스 페이지 전용 스타일 */
.news-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-card {
    display: flex; /* 가로 배치 */
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* 왼쪽 이미지 공간 */
.news-image {
    width: 300px;
    min-width: 300px;
    background-color: #f0f0f0;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 이미지가 찌그러지지 않게 꽉 채움 */
}

/* 오른쪽 본문 영역 */
.news-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: relative; /* 작성자 배치를 위해 */
    width: 100%;
}

.news-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111;
}

.news-excerpt {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px; /* 작성자 공간 확보 */
}

/* 오른쪽 하단 작성자 */
.news-author {
    position: absolute;
    bottom: 25px;
    right: 30px;
    font-size: 14px;
    color: #888;
    font-weight: 500;
}

/* 모바일 대응: 가로에서 세로로 변경 */
@media (max-width: 768px) {
    .news-card {
        flex-direction: column;
    }
    .news-image {
        width: 100%;
        height: 200px;
    }
    .news-author {
        position: static;
        text-align: right;
        margin-top: 10px;
    }
}

/* Contact 페이지 전용 스타일 */
.contact-hero {
    height: 450px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-brand-logo {
    margin-bottom: 30px;
}

.contact-brand-logo img {
    height: 60px;
    width: auto;
}

/* 지도 영역 */
.map-section {
    width: 100%;
    background-color: #fff;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.map-container iframe {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* 연락처 및 폼 그리드 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    margin-top: 40px;
}

.contact-info h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 40px;
}

.info-item {
    margin-bottom: 30px;
}

.info-item strong {
    display: block;
    font-size: 14px;
    color: #007bff;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.info-item p {
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

/* 문의 폼 스타일 */
.contact-form-container {
    background: #fdfdfd;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #eee;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 16px;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* Contact 페이지 전용 스타일 */
.contact-hero {
    height: 450px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-brand-logo {
    margin-bottom: 30px;
}

.contact-brand-logo img {
    height: 60px;
    width: auto;
}

/* 지도 영역 */
.map-section {
    width: 100%;
    background-color: #fff;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.map-container iframe {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* 연락처 및 폼 그리드 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    margin-top: 40px;
}

.contact-info h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 40px;
}

.info-item {
    margin-bottom: 30px;
}

.info-item strong {
    display: block;
    font-size: 14px;
    color: #007bff;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.info-item p {
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

/* 문의 폼 스타일 */
.contact-form-container {
    background: #fdfdfd;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #eee;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 16px;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* 미션 & 비전 전용 스타일 */
.mission-vision-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 가로로 2개 배치 */
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.mv-card {
    padding: 50px 40px;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.mv-card.highlight {
    background-color: #007bff; /* 비전 카드는 브랜드 컬러로 강조 */
    border-color: #007bff;
}

.mv-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.mv-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #111;
}

.mv-card.highlight h3, 
.mv-card.highlight p {
    color: #ffffff; /* 강조된 카드 내 글씨는 흰색으로 */
}

.mv-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* 모바일 대응: 세로로 배치 */
@media (max-width: 768px) {
    .mission-vision-container {
        grid-template-columns: 1fr;
    }
    .mv-card {
        padding: 40px 20px;
    }
}

/* Home 화면 지표 섹션 스타일 */
.stats-bar {
    background-color: #f8fafc;
    padding: 60px 0;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-size: 42px; /* 숫자를 더 크게 강조 */
    font-weight: 800;
    color: #007bff;
}

.stat-suffix {
    font-size: 24px;
    font-weight: 700;
    color: #007bff;
    margin-left: 2px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 숫자가 가로로 배치되도록 컨테이너 추가 (필요 시) */
.stat-item > div {
    display: flex;
    align-items: baseline;
}


.stat-label {
    font-size: 16px;
    color: #64748b;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background-color: #e2e8f0;
}

/* 히어로 섹션 뱃지 스타일 */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: 40px;
    }
    .stat-divider {
        display: none;
    }
}

/* 히어로 섹션 내 버튼 박스 위치 조정 */
.hero-btns {
    margin-top: 45px; /* 기존보다 15px~20px 정도 더 내려서 여유를 주었습니다 */
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* (선택 사항) 버튼 자체를 조금 더 강조하고 싶을 때 */
.btn-main {
    padding: 18px 38px; /* 버튼의 크기도 살짝 키워 전문성을 높였습니다 */
    font-size: 17px;
    letter-spacing: -0.01em;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-main:hover {
    transform: translateY(-2px); /* 마우스 올렸을 때 살짝 떠오르는 효과 */
}

/* VCRoute 상세 기능 섹션 */
.vc-detail-section {
    background-color: #fcfdfe;
    padding: 120px 0;
}

.vc-feature-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.vc-feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-tag {
    color: #007bff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.feature-text h3 {
    font-size: 32px;
    line-height: 1.4;
    margin-bottom: 25px;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li::before {
    content: "✓";
    color: #007bff;
    margin-right: 10px;
    font-weight: bold;
}

/* UI Mockup 디자인 (슬라이드 느낌 재현) */
.ui-mockup {
    background: #111827; /* 다크 테마 반영 */
    border-radius: 20px;
    padding: 30px;
    width: 450px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    color: white;
}

.matching-card {
    background: #1f2937;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

.percent { color: #3b82f6; font-weight: bold; }

.funnel-box .bar {
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    height: 35px;
    margin-bottom: 15px;
    border-radius: 5px;
    padding-left: 15px;
    font-size: 12px;
    line-height: 35px;
}

@media (max-width: 768px) {
    .vc-feature-row, .vc-feature-row.reverse {
        flex-direction: column;
        gap: 40px;
    }
    .ui-mockup { width: 100%; }
}

/* VC 상세 섹션 공통 */
.vc-feature-row { display: flex; align-items: center; gap: 80px; margin-bottom: 100px; }
.vc-feature-row.reverse { flex-direction: row-reverse; }

.ui-mockup {
    background: #111827;
    border-radius: 20px;
    padding: 25px;
    width: 400px;
    color: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.mockup-header { font-size: 14px; color: #94a3b8; margin-bottom: 20px; border-bottom: 1px solid #334155; padding-bottom: 10px; }

/* 펀드/투자자/히스토리 공통 아이템 스타일 */
.matching-card, .investor-item, .history-item {
    background: #1f2937; padding: 12px 15px; border-radius: 10px; margin-bottom: 10px; font-size: 14px;
    display: flex; justify-content: space-between; align-items: center;
}
.h-tag { font-size: 11px; padding: 3px 8px; border-radius: 4px; background: #059669; }
.h-tag.blue { background: #2563eb; }

/* 퍼널 디자인 (글자 빠져나옴 해결) */
.funnel-container { display: flex; flex-direction: column; gap: 15px; }
.funnel-row { display: flex; align-items: center; gap: 15px; } /* 막대와 글자를 가로로 배치 */
.funnel-bar { height: 25px; border-radius: 4px; background: linear-gradient(90deg, #3b82f6, #6366f1); }
.funnel-row span { font-size: 13px; color: #f8fafc; white-space: nowrap; } /* 글자 줄바꿈 방지 */

/* 막대 너비 설정 */
.b1 { width: 180px; }
.b2 { width: 60px; }
.b3 { width: 22px; }
.b4 { width: 8px; background: #ec4899; } /* 투자확정은 핑크색으로 강조 */

@media (max-width: 768px) {
    .vc-feature-row, .vc-feature-row.reverse { flex-direction: column; gap: 30px; }
    .ui-mockup { width: 100%; }
}

/* VCRoute 상세 섹션 스타일 */
.vc-detail-section {
    background-color: #fcfdfe;
    padding: 100px 0;
}

.vc-feature-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.vc-feature-row.reverse { flex-direction: row-reverse; }

.feature-tag {
    color: #007bff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.feature-text h3 {
    font-size: 32px;
    line-height: 1.4;
    margin-bottom: 25px;
    color: #111;
}

.ui-mockup {
    background: #111827;
    border-radius: 20px;
    padding: 30px;
    width: 420px;
    color: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.mockup-header { font-size: 14px; color: #94a3b8; margin-bottom: 20px; border-bottom: 1px solid #334155; padding-bottom: 10px; }

/* 데이터 아이템 스타일 */
.matching-card, .investor-item, .history-item {
    background: #1f2937; padding: 12px 15px; border-radius: 10px; margin-bottom: 10px; font-size: 14px;
    display: flex; justify-content: space-between; align-items: center;
}
.h-tag { font-size: 11px; padding: 3px 8px; border-radius: 4px; background: #059669; }
.h-tag.blue { background: #2563eb; }
.percent { color: #3b82f6; font-weight: bold; }

/* 퍼널 분석 (글자 배치 수정) */
.funnel-container { display: flex; flex-direction: column; gap: 20px; }
.funnel-row { display: flex; align-items: center; gap: 15px; }
.funnel-bar { height: 28px; border-radius: 4px; background: linear-gradient(90deg, #3b82f6, #6366f1); }
.funnel-row span { font-size: 14px; color: #f8fafc; white-space: nowrap; }

.b1 { width: 200px; }
.b2 { width: 66px; }
.b3 { width: 24px; }
.b4 { width: 10px; background: #ec4899; } /* 투자 확정 포인트 컬러 */

@media (max-width: 768px) {
    .vc-feature-row, .vc-feature-row.reverse { flex-direction: column; gap: 40px; text-align: center; }
    .ui-mockup { width: 100%; }
    .funnel-row { justify-content: center; }
}

/* 파트너 섹션 스타일 */
.partners-section {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.partner-grid {
    display: grid;
    /* 한 줄에 4개씩 배치 (모바일에서는 자동으로 조절됨) */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
    margin-top: 40px;
}

.partner-item img {
    max-width: 160px; /* 로고 크기 조절 */
    height: auto;
    filter: grayscale(100%); /* 모든 로고를 회색조로 통일 (고급스러운 느낌) */
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-item img:hover {
    filter: grayscale(0%); /* 마우스 올리면 컬러로 변경 */
    opacity: 1;
    transform: scale(1.05); /* 약간 커지는 효과 */
}

.news-item {
    display: flex;
    gap: 30px;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.news-image {
    flex: 0 0 250px; /* 이미지 너비 고정 */
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 이미지 비율 유지하며 채우기 */
    padding: 10px;
}

.news-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #111;
    word-break: keep-all;
}

.news-excerpt {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 3. 원문 보기 버튼 위치 조정 */
.btn-more {
    margin-top: auto; /* 내용이 짧아도 버튼을 아래로 밀어냄 */
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    padding-bottom: 5px;
}

/* 모바일 화면 대응 */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .news-image {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
    }
}

/* 1. 부모 박스에 기준점 설정 */
.news-content {
    position: relative; /* 자식 요소인 author의 기준점이 됩니다 */
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 160px; /* 이미지 높이와 비슷하게 유지 */
    padding-bottom: 30px; /* 하단 출처가 들어갈 최소 공간 확보 */
}

/* 하단 영역 (링크와 출처) */
.news-footer {
    display: flex;
    justify-content: space-between; /* 양 끝으로 벌림 */
    align-items: flex-end; /* 바닥에 붙임 */
    margin-top: auto; /* 위쪽 여백을 최대로 하여 바닥으로 밀어냄 */
    padding-top: 15px;
}

/* 2. 출처를 오른쪽 하단에 절대 좌표로 고정 */
.news-author {
    position: absolute; /* 부모인 news-content를 기준으로 움직임 */
    right: 0;           /* 오른쪽 끝에서 0 */
    bottom: 0;          /* 바닥에서 0 */
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
    background-color: white; /* 혹시 겹칠 경우를 대비해 배경색 지정 */
    padding-left: 10px;      /* 왼쪽 여백 */
}

.news-date {
    font-size: 0.9rem;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 8px;
}

/* 뉴스 섹션 전체 배경 */
.news-section {
    padding: 100px 0; /* 위아래 여백을 더 넉넉히 */
    background-color: #fcfcfc;
}

/* 뉴스 리스트 컨테이너 (너비 확장) */
.news-list {
    max-width: 1200px;    /* 기존 1000px에서 1200px로 확장 */
    margin: 0 auto;
    padding: 0 40px;
}

/* 개별 뉴스 항목 카드 (크기 및 여백 확장) */
.news-item {
    position: relative;
    display: flex;
    gap: 50px;            /* 이미지와 본문 사이 간격 키움 */
    padding: 50px;        /* 박스 내부 여백을 더 크게 */
    margin-bottom: 40px;  /* 항목 간 간격 키움 */
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* 이미지 박스 크기 키움 */
.news-image {
    flex: 0 0 320px;      /* 이미지 가로 크기를 320px로 확장 */
    height: 200px;        /* 높이도 200px로 확장 */
    border-radius: 10px;
    background-color: #f9f9f9;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 로고 형태이므로 짤리지 않게 설정 */
    padding: 15px;
}

/* 뉴스 본문 영역 */
.news-content {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-bottom: 30px; /* 하단 출처 공간 확보 */
}

/* 뉴스 제목 폰트 키움 */
.news-title {
    font-size: 1.5rem;    /* 폰트 크기 확대 */
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #111;
    word-break: keep-all;
}

/* 뉴스 요약 폰트 키움 */
.news-excerpt {
    font-size: 1.1rem;    /* 폰트 크기 확대 */
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* 출처:관리자 오른쪽 하단 고정 */
.news-author {
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 0.95rem;   /* 글자 크기 살짝 키움 */
    color: #aaa;
    white-space: nowrap;
}

/* 원문 보기 버튼 스타일 */
.btn-more {
    font-size: 1rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    margin-top: auto;
}

/* 모바일 대응 */
@media (max-width: 992px) {
    .news-list {
        max-width: 100%;
    }
    .news-item {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
    }
    .news-image {
        flex: 0 0 auto;
        width: 100%;
        height: 240px;
    }
}

.footer {
    padding: 60px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
    color: #666;
}

/* 푸터의 중앙 정렬과 여백을 담당하는 컨테이너 */
.footer .container {
    max-width: 1200px;    /* 뉴스 박스와 동일한 너비로 설정하여 통일감 부여 */
    margin: 0 auto;       /* 중앙 정렬 */
    padding: 0 40px;      /* 좌우 기본 여백 추가 */
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    display: block;       /* 로고가 한 줄을 다 차지하도록 설정 */
}

.footer-info p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 8px;   /* 줄 간격 살짝 넓힘 */
    color: #777;
    word-break: keep-all; /* 한글 줄바꿈을 단어 단위로 깔끔하게 */
}

.footer-info span {
    display: inline-block;
    padding: 0 10px;      /* 정보 사이의 간격을 넓힘 */
    position: relative;
}

/* 세로 바(|) 스타일링 */
.footer-info span:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background-color: #ccc;
}

.footer-info span:first-child {
    padding-left: 0;      /* 첫 번째 요소는 왼쪽 여백 제거 */
}

.copyright {
    margin-top: 40px;
    font-size: 0.85rem;
    color: #999;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .footer .container {
        padding: 0 25px;  /* 모바일에서는 여백을 약간 줄임 */
    }
    .footer-info span::after {
        display: none;    /* 모바일에서는 세로 바 제거 (줄바꿈 대비) */
    }
    .footer-info span {
        padding: 0 5px 0 0;
        display: block;   /* 모바일에서는 한 줄씩 나오게 설정 */
    }
}

/* 내비게이션 링크 기본 스타일 */
.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

/* 마우스를 올렸을 때나 활성화된 페이지 스타일 */
.nav-links li a:hover,
.nav-links li a.active {
    color: #2563eb; /* 벤처플랫폼 포인트 컬러 */
    font-weight: 700;
}