/* Archive Page Specific Styles */

/* Archive Hero Section */
.archive-hero {
    width: 100%;
    position: relative;
    display: block;
    overflow: hidden;
    margin-top: 80px;
}

.archive-hero .hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-text-box {
    padding: 0px;
    border-radius: 8px;
    animation: slideInLeft 1.2s ease-out;
    min-width: 400px;
    max-width: 600px;
    flex-shrink: 0;
}

.hero-title {
    font-size: 60px;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.desktop-title {
    display: block;
}

.mobile-title {
    display: none;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: white;
    opacity: 0.9;
    letter-spacing: 2px;
    margin: 0;
}

.hero-slanted-lines {
    position: relative;
    animation: slideInRight 1.5s ease-out 0.3s both;
}

.slanted-line {
    width: auto;
    height: 250px;
    opacity: 0.8;
    margin-top: -100px;
    margin-left: -250px;
    animation: float 3s ease-in-out infinite;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Tab Navigation - 기존 company.css 스타일 상속 */

/* Archive Content Section */
.archive-content-section {
    padding: 80px 0;
    background: white;
}

.archive-table-container {
    background: white;
    border: 1px solid #e5e5e5;
    margin-bottom: 40px;
}

.archive-table {
    width: 100%;
    border-collapse: collapse;
}

.archive-table thead {
    background: #f8f9fa;
}

.archive-table th {
    padding: 15px 20px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
}

.archive-table th:last-child {
    border-right: none;
}

.col-no {
    width: 8%;
}

.col-title {
    width: 50%;
    text-align: left !important;
}

.col-date {
    width: 15%;
}

.col-count {
    width: 12%;
}

.col-file {
    width: 15%;
}

.archive-table tbody tr {
    border-bottom: 1px solid #e5e5e5;
    transition: background-color 0.2s ease;
}

.archive-table tbody tr:hover {
    background-color: #f8f9fa;
}

.archive-table tbody tr:last-child {
    border-bottom: none;
}

.archive-table td {
    padding: 15px 20px;
    text-align: center;
    font-size: 14px;
    color: #333;
    vertical-align: middle;
    border-right: 1px solid #e5e5e5;
}

.archive-table td:last-child {
    border-right: none;
}

.archive-table td.col-title {
    text-align: left;
    font-weight: 400;
    color: #333;
    cursor: pointer;
}

.archive-table td.col-title:hover {
    color: #2E86AB;
}

.archive-table td.col-no {
    font-weight: 400;
    color: #666;
}

.archive-table td.col-date {
    color: #666;
    font-size: 14px;
}

.archive-table td.col-count {
    color: #666;
    font-weight: 400;
}

.file-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #666;
    transition: all 0.2s ease;
    text-decoration: none;
}

.file-link:hover {
    color: #2E86AB;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 30px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: white;
    border: 1px solid #e5e5e5;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.page-btn:hover {
    background: #f8f9fa;
    color: #333;
}

.page-btn.active {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .archive-content-section {
        padding: 60px 0;
    }
    
    .archive-table th {
        padding: 15px 10px;
        font-size: 14px;
    }
    
    .archive-table td {
        padding: 15px 10px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .archive-content-section {
        padding: 50px 0;
    }
    
    .archive-table-container {
        overflow-x: auto;
    }
    
    .archive-table {
        min-width: 600px;
        font-size: 14px;
    }

    .hero-overlay {
        padding: 0px;
    }

    .hero-content {
        flex-direction: column;
        gap: 0px;
        text-align: center;
    }

    .hero-slanted-lines {
        display: none;
    }

    .desktop-title {
        display: none;
    }

    .mobile-title {
        display: block;
    }

    .hero-text-box {
        padding: 0px;
        min-width: 350px;
        max-width: 600px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .archive-table th {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .archive-table td {
        padding: 12px 8px;
        font-size: 12px;
    }
    
    .col-no {
        width: 10%;
    }
    
    .col-title {
        width: 45%;
    }
    
    .col-date {
        width: 18%;
    }
    
    .col-count {
        width: 12%;
    }
    
    .col-file {
        width: 15%;
    }
    
    .file-link {
        width: 28px;
        height: 28px;
    }
    
    .file-link svg {
        width: 14px;
        height: 14px;
    }
    
    .page-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .archive-content-section {
        padding: 40px 0;
    }
    
    .archive-table {
        min-width: 500px;
    }
    
    .archive-table th {
        padding: 10px 6px;
        font-size: 12px;
    }
    
    .archive-table td {
        padding: 10px 6px;
        font-size: 11px;
    }
    
    .file-link {
        width: 24px;
        height: 24px;
    }
    
    .file-link svg {
        width: 12px;
        height: 12px;
    }
    
    .page-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .pagination {
        gap: 6px;
    }
}
