body {
    font-family: Tahoma, Arial, sans-serif;
    background: #b2d1ff;
    color: #000;
    margin: 0;
    padding: 0;
}

a {
    color: #0000c0;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header, footer {
    background: #fff;
    border: 2px solid #000;
    padding: 14px;
}

.top-banner {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin: 16px 0;
    padding: 0;
    background: transparent;
    border: none;
}

.top-banner .banner-list {
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
    width: auto;
    background: transparent;
    border: none;
}

.sidebar-left, .sidebar-right {
    width: 260px;
    min-width: 220px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.card {
    background: #fff;
    border: 2px outset #ccc;
    padding: 14px;
}

.sidebar {
    flex: 0 0 260px;
    min-width: 220px;
}

.main {
    flex: 1;
    min-width: 320px;
}

.post-summary {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #000;
}

.post-summary h2 {
    margin: 0 0 10px;
    font-size: 1.45rem;
}

.post-summary small {
    color: #333;
}

.post-thumb {
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border: 2px solid #000;
    margin-bottom: 12px;
    background: #eee;
}

.post-thumb img,
.post-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-featured {
    width: 100%;
    max-height: 360px;
    overflow: hidden;
    border: 2px solid #000;
    background: #eee;
    margin-bottom: 16px;
}

button, input[type="submit"], .button {
    background: #f2f2f2;
    color: #000;
    border: 2px inset #999;
    padding: 8px 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-right: 8px;
}

button:hover, input[type="submit"]:hover, .button:hover {
    background: #e2e2e2;
}

.dislike-button {
    background: #ffd5d5;
    border-color: #d00;
}

input[type="text"], textarea, select {
    width: 100%;
    padding: 8px;
    border: 1px solid #000;
    margin-bottom: 12px;
    box-sizing: border-box;
    background: #fff;
}

textarea {
    min-height: 180px;
}

label {
    font-weight: bold;
}

.banner-card {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 0;
}

.comment-card, .admin-card {
    background: #ededed;
    border: 2px groove #ededed;
    padding: 12px;
    margin-bottom: 14px;
}

.nav-bar {
    margin-bottom: 18px;
}

.nav-bar a {
    margin-right: 16px;
}

.logo img {
    max-height: 54px;
}

.footer-note {
    color: #333;
    font-size: 0.95rem;
}

.post-images img,
.post-content img {
    width: 100%;
    max-width: 100%;
    margin-bottom: 10px;
    border: 2px solid #000;
}

.editor-toolbar {
    border: 1px solid #999;
    background: #f7f7f7;
    padding: 8px;
    margin-bottom: 10px;
}

.editor-toolbar button {
    background: #fff;
    border: 1px solid #999;
    margin-right: 4px;
    padding: 6px 10px;
    cursor: pointer;
}

.editor-toolbar button:hover {
    background: #e8e8e8;
}

.wysiwyg-editor {
    min-height: 260px;
    border: 1px solid #999;
    padding: 12px;
    background: #fff;
    overflow-y: auto;
}

.editor-tip {
    background: #ffffe0;
    border: 1px solid #ccc;
    padding: 10px;
    margin: 12px 0 18px;
    font-size: 0.95rem;
    color: #333;
}

.post-content-image {
    margin: 16px 0;
}

.comment-card p {
    margin: 8px 0 0;
}

.small-text {
    font-size: 0.9rem;
    color: #333;
}

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

.table-list th, .table-list td {
    border: 1px solid #000;
    padding: 8px;
    text-align: left;
}

.table-list th {
    background: #d7dfe9;
}

.notice {
    background: #ffffcc;
    border: 1px solid #999900;
    padding: 12px;
    margin-bottom: 14px;
}

.banner-list img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    border: none;
}
