html, body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    display: flex;
}

.sidebar {
    width: 220px;
    background-color: #f0f0f0;
    padding: 30px 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
    min-height: 100vh;
}

.sidebar h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: left;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.sidebar li {
    margin: 10px 0;
}

.sidebar a {
    display: inline-block;
    padding: 10px 16px;
    background: #c9c9c9;
    color: #000000;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: background 0.3s ease;
}

.sidebar a:hover {
    background: #8f8f8f;
}

.content {
    flex: 1;
    padding: 60px;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

footer {
    margin-top: 80px;
    font-size: 0.85rem;
    color: #aaa;
}
/* Container */
.article-preview {
    max-width: 60%;      /* or 100% */
    margin: 12px auto;
    font-family: Arial, sans-serif;
}

/* Link resets */
.preview-link {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
}

/* Thumbnail */
.preview-thumb {
    flex: 0 0 120px;       /* fixed width */
    width: 120px;
    height: auto;          /* keep aspect ratio */
    aspect-ratio: 1/1;    /* ensure uniform frame */
    object-fit: cover;
    border-radius: 4px;
}

/* Text block */
.preview-text {
    flex: 1;
    padding-left: 12px;
}

/* Title */
.preview-title {
    font-size: 1.2rem;
    margin: 0 0 6px;
    line-height: 1.3;
}

/* Excerpt */
.preview-excerpt {
    font-size: 0.95rem;
    margin: 0;
    color: #555;
    line-height: 1.4;
}
.chapter-link {
    display: flex;
    align-items: center; /* vertical centering */
    text-decoration: none;
}

.chapter-label {
    margin-left: 12px; /* horizontal spacing */
    font-size: 16px;
    color: #333;
}
