/* Global Settings */
body {
    background-color: #f0f0f0;
    color: #333;
    font-family: "MS PGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    font-size: 13px;
}

#container {
    width: 1000px;
    margin: 0 auto;
    background-color: #ffffff;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Header */
#header {
    background-color: #fa6400;
    /* Based on the image's dark header */
    color: #ffffff;
    padding: 30px 40px;
    border-bottom: 5px solid #c85000;
}

#header h1 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

#header h1 a {
    color: #ffffff;
    text-decoration: none;
}

#header .description {
    font-size: 11px;
    color: #ffcea8;
    margin-top: 8px;
}

/* Layout Wrapper - 3 Columns */
#wrapper {
    display: flex;
    padding: 20px 10px;
}

/* Sidebars */
.sidebar {
    width: 200px;
    flex-shrink: 0;
}

.sidebar-left {
    margin-right: 15px;
}

.sidebar-right {
    margin-left: 15px;
}

.sidebar-item {
    margin-bottom: 25px;
    border: 1px solid #dcdcdc;
    background-color: #f9f9f9;
}

.sidebar-title {
    background: linear-gradient(to bottom, #ff8033, #fa6400);
    color: #ffffff;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 12px;
}

.sidebar-content {
    padding: 10px;
    font-size: 12px;
}

.sidebar-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-content li {
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1px dotted #ccc;
    word-break: break-all;
}

.sidebar-content a {
    color: #e65c00;
    text-decoration: none;
}

.sidebar-content a:hover {
    text-decoration: underline;
}

/* Main Content */
#main {
    flex-grow: 1;
    min-width: 0;
    /* Prevents flex items from overflowing */
    padding: 0 10px;
}

/* Entries */
.entry {
    margin-bottom: 50px;
}

.entry-header {
    margin-bottom: 20px;
    position: relative;
    border-bottom: 2px solid #fa6400;
    padding-bottom: 5px;
}

.entry-title {
    font-size: 18px;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
}

/* Decoration before title like in the image */
.entry-title::before {
    content: "＊";
    color: #fa6400;
    font-size: 24px;
    margin-right: 8px;
    line-height: 1;
}

.entry-title a {
    color: #333;
    text-decoration: none;
}

.entry-date {
    font-size: 11px;
    color: #999;
    position: absolute;
    right: 0;
    bottom: 5px;
}

.entry-body {
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

.entry-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5em auto;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.entry-footer {
    font-size: 11px;
    color: #777;
    text-align: right;
    padding: 5px 0;
    border-top: 1px dashed #ccc;
}

/* Footer */
#footer {
    background-color: #fa6400;
    color: #ffffff;
    padding: 20px;
    text-align: center;
    font-size: 11px;
}

#footer a {
    color: #ffffff;
    text-decoration: underline;
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 30px;
}

.pagination a {
    display: inline-block;
    padding: 3px 8px;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #e65c00;
    text-decoration: none;
    margin: 0 2px;
}

.pagination a:hover {
    background-color: #f0f0f0;
}

/* Profile Image Mockup */
.profile-img {
    width: 100%;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    padding: 3px;
    background-color: #fff;
}