/* Works Single Page Base Styles */

.works-single {
    padding: 80px 0;
}

.works-single .container {
    max-width: 900px;
}

/* Work Header */
.work-header {
    margin-bottom: 60px;
    text-align: center;
}

.work-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1a1a1a;
    line-height: 1.4;
}

.work-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    color: #666;
    font-size: 14px;
}

.work-category,
.work-date {
    display: inline-block;
}

/* Work Featured Image */
.work-featured-image {
    margin-bottom: 60px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.work-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Work Content */
.work-content {
    margin-bottom: 60px;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.work-content h2 {
    font-size: 32px;
    margin: 60px 0 30px;
    color: #1a1a1a;
    font-weight: bold;
}

.work-content h3 {
    font-size: 24px;
    margin: 40px 0 20px;
    color: #333;
    font-weight: bold;
}

.work-content p {
    margin-bottom: 20px;
}

.work-content img {
    width: 100%;
    height: auto;
    margin: 40px 0;
    border-radius: 8px;
}

.work-content ul,
.work-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.work-content li {
    margin-bottom: 10px;
}

/* Work Info Box */
.work-info-box {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 60px;
}

.work-info-box h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.work-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.work-info-list li {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.work-info-list li:last-child {
    border-bottom: none;
}

.work-info-label {
    font-weight: bold;
    min-width: 120px;
    color: #333;
}

.work-info-value {
    color: #666;
}

/* Work Navigation */
.work-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.work-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.work-nav-link:hover {
    color: #fb6767;
}

.work-nav-prev::before {
    content: '←';
}

.work-nav-next::after {
    content: '→';
}

/* Back to Works Link */
.back-to-works {
    text-align: center;
    margin: 60px 0;
}

.back-to-works a {
    display: inline-block;
    padding: 12px 30px;
    background-color: #fff;
    color: #333;
    border: 2px solid #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.back-to-works a:hover {
    background-color: #333;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .works-single {
        padding: 60px 0;
    }

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

    .work-meta {
        flex-direction: column;
        gap: 10px;
    }

    .work-content h2 {
        font-size: 26px;
        margin: 40px 0 20px;
    }

    .work-content h3 {
        font-size: 20px;
        margin: 30px 0 15px;
    }

    .work-info-box {
        padding: 30px 20px;
    }

    .work-info-list li {
        flex-direction: column;
    }

    .work-info-label {
        margin-bottom: 5px;
    }

    .work-navigation {
        flex-direction: column;
        gap: 15px;
    }
}
