.contents-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    gap: 30px;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 280px;
    position: sticky;
    top: var(--header-height);
    height: fit-content;
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 0.75rem;
}

/* Current Issue Information Section */
.issue-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid #dee2e6;
}

.issue-title {
    text-align: center;
    color: #007bff;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.issue-cover {
    width: 33.33333333%;
    margin: 0 auto;
}

.cover-image-wrap {
    position: relative;
    padding-top: 135.71%;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.cover-image {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.issue-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.info-card {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.info-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.info-value {
    font-size: 1rem;
    color: #333;
    font-weight: 600;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.sidebar-info {
    margin-bottom: 15px;
}

.sidebar-info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.sidebar-info-item:last-child {
    border-bottom: none;
}

.sidebar-info-label {
    color: #666;
    font-weight: 500;
}

.sidebar-info-value {
    color: #333;
    font-weight: 600;
}

/* Table of Contents Section */
.contents-title {
    text-align: center;
    color: #333;
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 400;
    position: relative;
}

.contents-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #007bff;
    border-radius: 2px;
}

.section-title {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 15px 25px;
    margin: 35px 0 20px 0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(0,123,255,0.2);
}

.section-title::after {
    content: "";
    display: none;
}

.article-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    margin-bottom: 12px;
    background-color: #ffffff;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #f0f0f0;
}

.article-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-color: #007bff;
}

.article-content {
    flex: 1;
    margin-right: 25px;
}

.article-title {
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 6px;
    font-weight: 500;
}

.article-author {
    color: #666;
    font-size: 0.9rem;
    font-weight: 400;
}

.article-pages {
    color: #007bff;
    font-size: 0.95rem;
    white-space: nowrap;
    font-weight: 600;
    background-color: #e3f2fd;
    padding: 4px 12px;
    border-radius: 15px;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .contents-container {
        flex-direction: column;
        gap: 20px;
    }

    .sidebar {
        width: 100%;
        position: static;
    }

    .article-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-content {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
    }

    .article-pages {
        align-self: flex-end;
    }
}